From cc60774658bc70b38ecf248b086b7a5f3a1d417f Mon Sep 17 00:00:00 2001 From: Rajat Chaudhary Date: Fri, 3 May 2024 10:24:48 +0530 Subject: [PATCH 01/31] fix: heading component size issue in native devices --- .gitignore | 1 + .../src/core-components/nativewind/heading/index.tsx | 11 ++++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 2eab209390..97d6927f66 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ # dependencies node_modules +patches .pnp .pnp.js .env diff --git a/example/storybook-nativewind/src/core-components/nativewind/heading/index.tsx b/example/storybook-nativewind/src/core-components/nativewind/heading/index.tsx index 027beba6ce..5ca7bcc978 100644 --- a/example/storybook-nativewind/src/core-components/nativewind/heading/index.tsx +++ b/example/storybook-nativewind/src/core-components/nativewind/heading/index.tsx @@ -1,10 +1,8 @@ import React, { useCallback } from 'react'; import { H1, H2, H3, H4, H5, H6 } from '@expo/html-elements'; -import { cssInterop } from '@gluestack-ui/nativewind-utils/cssInterop'; +import { cssInterop } from 'nativewind'; import { headingStyle } from './styles'; -cssInterop(H4, { className: 'style' }); - const Heading = ({ className, size = 'lg', as: AsComp, ...props }: any) => { const MappedHeading = useCallback( () => { @@ -12,6 +10,7 @@ const Heading = ({ className, size = 'lg', as: AsComp, ...props }: any) => { case '5xl': case '4xl': case '3xl': + cssInterop(H1, { className: 'style' }); return (

{ /> ); case '2xl': + cssInterop(H2, { className: 'style' }); return (

{ /> ); case 'xl': + cssInterop(H3, { className: 'style' }); return (

{ /> ); case 'lg': + cssInterop(H4, { className: 'style' }); return (

{ /> ); case 'md': + cssInterop(H5, { className: 'style' }); return (

{ ); case 'sm': case 'xs': + cssInterop(H6, { className: 'style' }); return (
{ /> ); default: + cssInterop(H4, { className: 'style' }); return (

Date: Tue, 7 May 2024 19:08:21 +0530 Subject: [PATCH 02/31] v1.0.14-alpha.1 --- packages/nativewind/utils/package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/nativewind/utils/package.json b/packages/nativewind/utils/package.json index e86b85ac0c..85e63d6526 100644 --- a/packages/nativewind/utils/package.json +++ b/packages/nativewind/utils/package.json @@ -17,11 +17,10 @@ "main": "index.js", "module": "index.js", "types": "index.d.ts", - "version": "1.0.14-alpha.0", + "version": "1.0.14-alpha.1", "react-native": "src/index", "source": "src/index", "scripts": { - "prepare": "tsc", "build": "tsc", "remove": "rm -rf ../../../node_modules/react-native-css-interop", "clean": "rm -rf lib", From b584915fc10f52dab7219bbb599623ca5868d5b1 Mon Sep 17 00:00:00 2001 From: Akash Gautam Date: Tue, 7 May 2024 19:12:46 +0530 Subject: [PATCH 03/31] v1.0.14 --- packages/nativewind/utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nativewind/utils/package.json b/packages/nativewind/utils/package.json index 85e63d6526..3c4582cca1 100644 --- a/packages/nativewind/utils/package.json +++ b/packages/nativewind/utils/package.json @@ -17,7 +17,7 @@ "main": "index.js", "module": "index.js", "types": "index.d.ts", - "version": "1.0.14-alpha.1", + "version": "1.0.14", "react-native": "src/index", "source": "src/index", "scripts": { From 575a344fcb4c785c5859cd6d7e8957582bcf6cf7 Mon Sep 17 00:00:00 2001 From: Akash Gautam Date: Wed, 8 May 2024 12:04:05 +0530 Subject: [PATCH 04/31] v1.0.14-alpha.2 --- packages/nativewind/utils/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/nativewind/utils/package.json b/packages/nativewind/utils/package.json index 3c4582cca1..290c55e8f8 100644 --- a/packages/nativewind/utils/package.json +++ b/packages/nativewind/utils/package.json @@ -17,7 +17,7 @@ "main": "index.js", "module": "index.js", "types": "index.d.ts", - "version": "1.0.14", + "version": "1.0.14-alpha.2", "react-native": "src/index", "source": "src/index", "scripts": { @@ -39,6 +39,7 @@ "dependencies": { "find-yarn-workspace-root": "^2.0.0", "patch-package": "8.0.0", + "react-native-css-interop": "0.0.36", "tailwind-variants": "0.1.20" }, "peerDependencies": { From aee274bd4f05d4b22af223c183243cbd2e377c4a Mon Sep 17 00:00:00 2001 From: Akash Gautam Date: Wed, 8 May 2024 12:14:45 +0530 Subject: [PATCH 05/31] v1.0.14-alpha.3 --- packages/nativewind/utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nativewind/utils/package.json b/packages/nativewind/utils/package.json index 290c55e8f8..09316a2ea9 100644 --- a/packages/nativewind/utils/package.json +++ b/packages/nativewind/utils/package.json @@ -17,7 +17,7 @@ "main": "index.js", "module": "index.js", "types": "index.d.ts", - "version": "1.0.14-alpha.2", + "version": "1.0.14-alpha.3", "react-native": "src/index", "source": "src/index", "scripts": { From 3466fc424a33b28914cd4abcda3b7e19a2329fcf Mon Sep 17 00:00:00 2001 From: Akash Gautam Date: Wed, 8 May 2024 12:22:37 +0530 Subject: [PATCH 06/31] v1.0.14-alpha.4 --- packages/nativewind/utils/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nativewind/utils/package.json b/packages/nativewind/utils/package.json index 09316a2ea9..ef58de3a15 100644 --- a/packages/nativewind/utils/package.json +++ b/packages/nativewind/utils/package.json @@ -17,7 +17,7 @@ "main": "index.js", "module": "index.js", "types": "index.d.ts", - "version": "1.0.14-alpha.3", + "version": "1.0.14-alpha.4", "react-native": "src/index", "source": "src/index", "scripts": { @@ -26,7 +26,7 @@ "clean": "rm -rf lib", "dev:web": "cd example/native && yarn web --clear", "storybook": "cd example/native/storybook && yarn web", - "postinstall": "node ./scripts/post-install-script.js" + "postinstall": "node ./scripts/post-install-script.js && echo 'The package has been installed!'" }, "devDependencies": { "@types/react": "^18.0.22", From 169dd7e561fa16999a27d9516387280bd3d8a6fd Mon Sep 17 00:00:00 2001 From: Akash Gautam Date: Wed, 8 May 2024 12:26:19 +0530 Subject: [PATCH 07/31] v1.0.14-alpha.5 --- packages/nativewind/utils/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nativewind/utils/package.json b/packages/nativewind/utils/package.json index ef58de3a15..4b5d800ad0 100644 --- a/packages/nativewind/utils/package.json +++ b/packages/nativewind/utils/package.json @@ -17,7 +17,7 @@ "main": "index.js", "module": "index.js", "types": "index.d.ts", - "version": "1.0.14-alpha.4", + "version": "1.0.14-alpha.5", "react-native": "src/index", "source": "src/index", "scripts": { @@ -26,7 +26,7 @@ "clean": "rm -rf lib", "dev:web": "cd example/native && yarn web --clear", "storybook": "cd example/native/storybook && yarn web", - "postinstall": "node ./scripts/post-install-script.js && echo 'The package has been installed!'" + "postinstall": "node ./scripts/post-install-script.js" }, "devDependencies": { "@types/react": "^18.0.22", From 957a2f6b9a79e223ea41151a2d2c30063f129734 Mon Sep 17 00:00:00 2001 From: Akash Gautam Date: Wed, 8 May 2024 15:07:31 +0530 Subject: [PATCH 08/31] v1.0.14-alpha.6 --- packages/nativewind/utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nativewind/utils/package.json b/packages/nativewind/utils/package.json index 4b5d800ad0..cb2c1b2abd 100644 --- a/packages/nativewind/utils/package.json +++ b/packages/nativewind/utils/package.json @@ -17,7 +17,7 @@ "main": "index.js", "module": "index.js", "types": "index.d.ts", - "version": "1.0.14-alpha.5", + "version": "1.0.14-alpha.6", "react-native": "src/index", "source": "src/index", "scripts": { From 8d0cae2f6915d411c173febe644addac066bab86 Mon Sep 17 00:00:00 2001 From: Akash Gautam Date: Wed, 8 May 2024 15:19:26 +0530 Subject: [PATCH 09/31] v1.0.14-alpha.7 --- packages/nativewind/utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nativewind/utils/package.json b/packages/nativewind/utils/package.json index cb2c1b2abd..3375a6e389 100644 --- a/packages/nativewind/utils/package.json +++ b/packages/nativewind/utils/package.json @@ -17,7 +17,7 @@ "main": "index.js", "module": "index.js", "types": "index.d.ts", - "version": "1.0.14-alpha.6", + "version": "1.0.14-alpha.7", "react-native": "src/index", "source": "src/index", "scripts": { From 3ddf481f6253c74dcab8cfc970179ea76bd95470 Mon Sep 17 00:00:00 2001 From: Akash Gautam Date: Wed, 8 May 2024 15:45:23 +0530 Subject: [PATCH 10/31] v1.0.14-alpha.8 --- packages/nativewind/utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nativewind/utils/package.json b/packages/nativewind/utils/package.json index 3375a6e389..862c50c64a 100644 --- a/packages/nativewind/utils/package.json +++ b/packages/nativewind/utils/package.json @@ -17,7 +17,7 @@ "main": "index.js", "module": "index.js", "types": "index.d.ts", - "version": "1.0.14-alpha.7", + "version": "1.0.14-alpha.8", "react-native": "src/index", "source": "src/index", "scripts": { From 3c7b65c23d815bc28cea5bc12b123ab5fc6e6ace Mon Sep 17 00:00:00 2001 From: Akash Gautam Date: Wed, 8 May 2024 15:50:02 +0530 Subject: [PATCH 11/31] v1.0.14-alpha.9 --- packages/nativewind/utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nativewind/utils/package.json b/packages/nativewind/utils/package.json index 862c50c64a..2cbca3628d 100644 --- a/packages/nativewind/utils/package.json +++ b/packages/nativewind/utils/package.json @@ -17,7 +17,7 @@ "main": "index.js", "module": "index.js", "types": "index.d.ts", - "version": "1.0.14-alpha.8", + "version": "1.0.14-alpha.9", "react-native": "src/index", "source": "src/index", "scripts": { From 22514e464d639b614a9d0c76472887e156e4e090 Mon Sep 17 00:00:00 2001 From: Akash Gautam Date: Wed, 8 May 2024 15:55:14 +0530 Subject: [PATCH 12/31] v1.0.15 --- packages/nativewind/utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nativewind/utils/package.json b/packages/nativewind/utils/package.json index 2cbca3628d..9677f21930 100644 --- a/packages/nativewind/utils/package.json +++ b/packages/nativewind/utils/package.json @@ -17,7 +17,7 @@ "main": "index.js", "module": "index.js", "types": "index.d.ts", - "version": "1.0.14-alpha.9", + "version": "1.0.15", "react-native": "src/index", "source": "src/index", "scripts": { From 93607e87bc8a3e472b6c41ef770fbaccd3cad4b2 Mon Sep 17 00:00:00 2001 From: Akash Gautam Date: Wed, 8 May 2024 15:56:53 +0530 Subject: [PATCH 13/31] fix: post install command --- .../utils/scripts/post-install-script.js | 60 +++++++++---------- 1 file changed, 27 insertions(+), 33 deletions(-) diff --git a/packages/nativewind/utils/scripts/post-install-script.js b/packages/nativewind/utils/scripts/post-install-script.js index 7ae7c06e4b..9207b16ccc 100644 --- a/packages/nativewind/utils/scripts/post-install-script.js +++ b/packages/nativewind/utils/scripts/post-install-script.js @@ -1,23 +1,25 @@ const fs = require('fs'); const path = require('path'); var finder = require('./find-package-json'); -const { spawnSync } = require('child_process'); +const { exec } = require('child_process'); const findWorkspaceRoot = require('find-yarn-workspace-root'); const processPath = process.cwd(); const workspaceRoot = findWorkspaceRoot(processPath); const f = finder(path.join(processPath, '..')); -const userDirectory = f.next().filename.replace('package.json', ''); +const filename = f.next().filename; +const userDirectory = filename.replace('package.json', ''); + function CopyDirectory(src, dest) { if (!fs.existsSync(dest)) { fs.mkdirSync(dest); } - let entries = fs.readdirSync(src, { withFileTypes: true }); + const entries = fs.readdirSync(src, { withFileTypes: true }); - for (let entry of entries) { - let srcPath = path.join(src, entry.name); - let destPath = path.join(dest, entry.name); + for (const entry of entries) { + const srcPath = path.join(src, entry.name); + const destPath = path.join(dest, entry.name); if (entry.isDirectory()) { CopyDirectory(srcPath, destPath); @@ -27,41 +29,33 @@ function CopyDirectory(src, dest) { } } -function main() { - CopyDirectory( - path.join(processPath, 'scripts', 'patches'), - path.join(userDirectory, 'patches') - ); +function installPatch(cwd) { // use npm if user is using npm or yarn if user is using yarn - try { - const packageManager = fs.existsSync(path.join(userDirectory, 'yarn.lock')) - ? 'yarn' - : 'npm'; - - spawnSync(packageManager, ['patch-package'], { - cwd: userDirectory, - stdio: 'inherit', - }); - } catch (error) {} + const packageManager = fs.existsSync(path.join(cwd, 'yarn.lock')) + ? 'yarn' + : 'npx'; + + const command = packageManager + ' patch-package'; + exec(command, { + cwd: cwd, + stdio: 'inherit', + }); +} +function main() { if (workspaceRoot && workspaceRoot !== userDirectory) { CopyDirectory( path.join(processPath, 'scripts', 'patches'), path.join(workspaceRoot, 'patches') ); - try { - const packageManager = fs.existsSync( - path.join(workspaceRoot, 'yarn.lock') - ) - ? 'yarn' - : 'npm'; - - spawnSync(packageManager, ['patch-package'], { - cwd: workspaceRoot, - stdio: 'inherit', - }); - } catch (error) {} + installPatch(workspaceRoot); + } else { + CopyDirectory( + path.join(processPath, 'scripts', 'patches'), + path.join(userDirectory, 'patches') + ); + installPatch(userDirectory); } } From 1f02605e48267fb23231b8121db4c677b9ee7aeb Mon Sep 17 00:00:00 2001 From: Akash Gautam Date: Wed, 8 May 2024 16:00:26 +0530 Subject: [PATCH 14/31] v1.0.15-alpha.1 --- packages/nativewind/utils/package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/nativewind/utils/package.json b/packages/nativewind/utils/package.json index 9677f21930..4d62eeed73 100644 --- a/packages/nativewind/utils/package.json +++ b/packages/nativewind/utils/package.json @@ -17,7 +17,7 @@ "main": "index.js", "module": "index.js", "types": "index.d.ts", - "version": "1.0.15", + "version": "1.0.15-alpha.1", "react-native": "src/index", "source": "src/index", "scripts": { @@ -39,7 +39,6 @@ "dependencies": { "find-yarn-workspace-root": "^2.0.0", "patch-package": "8.0.0", - "react-native-css-interop": "0.0.36", "tailwind-variants": "0.1.20" }, "peerDependencies": { From aa0153b77bb6fcd7e43a163cbc13e0006d581127 Mon Sep 17 00:00:00 2001 From: Akash Gautam Date: Wed, 8 May 2024 16:04:32 +0530 Subject: [PATCH 15/31] v1.0.16 --- packages/nativewind/utils/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nativewind/utils/package.json b/packages/nativewind/utils/package.json index 4d62eeed73..4f6bb1b74c 100644 --- a/packages/nativewind/utils/package.json +++ b/packages/nativewind/utils/package.json @@ -17,7 +17,7 @@ "main": "index.js", "module": "index.js", "types": "index.d.ts", - "version": "1.0.15-alpha.1", + "version": "1.0.16", "react-native": "src/index", "source": "src/index", "scripts": { From 5788025df75377c7d267449d431654d577626be9 Mon Sep 17 00:00:00 2001 From: Akash Gautam Date: Wed, 8 May 2024 16:05:05 +0530 Subject: [PATCH 16/31] chore: version up --- packages/nativewind/utils/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/nativewind/utils/package.json b/packages/nativewind/utils/package.json index 4f6bb1b74c..48da880f96 100644 --- a/packages/nativewind/utils/package.json +++ b/packages/nativewind/utils/package.json @@ -21,6 +21,7 @@ "react-native": "src/index", "source": "src/index", "scripts": { + "prepare": "tsc", "build": "tsc", "remove": "rm -rf ../../../node_modules/react-native-css-interop", "clean": "rm -rf lib", From 8e66e522c67d1eb1e60b24988e8cc3c461851749 Mon Sep 17 00:00:00 2001 From: Damini Date: Thu, 9 May 2024 13:53:24 +0530 Subject: [PATCH 17/31] fix: alertText component typing --- packages/unstyled/alert/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/unstyled/alert/src/types.ts b/packages/unstyled/alert/src/types.ts index 3dda080817..d42c654199 100644 --- a/packages/unstyled/alert/src/types.ts +++ b/packages/unstyled/alert/src/types.ts @@ -9,7 +9,7 @@ export type IAlertComponentType = React.RefAttributes & StyledAlert & InterfaceAlertProps > & { Text: React.ForwardRefExoticComponent< - React.RefAttributes + React.RefAttributes & StyledAlertText >; Icon: React.ForwardRefExoticComponent< React.RefAttributes & StyledAlertIcon From 5be6de9a15b0cbc5337eae23b12bf65ed19efb5b Mon Sep 17 00:00:00 2001 From: Damini Date: Thu, 9 May 2024 14:42:44 +0530 Subject: [PATCH 18/31] chore: @gluestack-ui/alert version bump to 0.1.29 --- example/storybook-nativewind/package.json | 2 +- packages/config/package.json | 6 +++--- packages/themed/CHANGELOG.md | 7 +++++++ packages/themed/package.json | 4 ++-- packages/unstyled/alert/CHANGELOG.md | 6 ++++++ packages/unstyled/alert/package.json | 2 +- 6 files changed, 20 insertions(+), 7 deletions(-) diff --git a/example/storybook-nativewind/package.json b/example/storybook-nativewind/package.json index 891da40cea..479bc4f868 100644 --- a/example/storybook-nativewind/package.json +++ b/example/storybook-nativewind/package.json @@ -29,7 +29,7 @@ "@geometricpanda/storybook-addon-iframe": "^0.2.2", "@gluestack-style/react": "^1.0.56", "@gluestack-ui/config": "^1.1.18", - "@gluestack-ui/themed": "^1.1.25", + "@gluestack-ui/themed": "^1.1.26", "@gluestack/design-system": "^0.5.36", "@legendapp/motion": "^2.2.0", "@react-aria/button": "^3.7.0", diff --git a/packages/config/package.json b/packages/config/package.json index f9c538370f..1660268309 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -40,7 +40,7 @@ "@gluestack-style/react": "1.0.56", "@gluestack-ui/accordion": "1.0.4", "@gluestack-ui/actionsheet": "0.2.41", - "@gluestack-ui/alert": "0.1.13", + "@gluestack-ui/alert": "0.1.14", "@gluestack-ui/alert-dialog": "0.1.28", "@gluestack-ui/avatar": "0.1.16", "@gluestack-ui/button": "1.0.4", @@ -66,14 +66,14 @@ "@gluestack-ui/switch": "0.1.21", "@gluestack-ui/tabs": "0.1.16", "@gluestack-ui/textarea": "0.1.21", - "@gluestack-ui/themed": "1.1.25", + "@gluestack-ui/themed": "1.1.26", "@gluestack-ui/toast": "1.0.4", "@gluestack-ui/tooltip": "0.1.30", "@legendapp/motion": "latest" }, "peerDependencies": { "@gluestack-style/react": ">=1.0.56", - "@gluestack-ui/themed": ">=1.1.25" + "@gluestack-ui/themed": ">=1.1.26" }, "release-it": { "git": { diff --git a/packages/themed/CHANGELOG.md b/packages/themed/CHANGELOG.md index 75f45c3636..3a1e30fe10 100644 --- a/packages/themed/CHANGELOG.md +++ b/packages/themed/CHANGELOG.md @@ -1,5 +1,12 @@ # @gluestack-ui/themed +## 1.1.26 + +### Patch Changes + +- Updated dependencies + - @gluestack-ui/alert@0.1.14 + ## 1.1.25 ### Patch Changes diff --git a/packages/themed/package.json b/packages/themed/package.json index 00cad0c5bb..592875beee 100644 --- a/packages/themed/package.json +++ b/packages/themed/package.json @@ -1,6 +1,6 @@ { "name": "@gluestack-ui/themed", - "version": "1.1.25", + "version": "1.1.26", "main": "build/index.js", "types": "build/index.d.ts", "module": "build/index", @@ -39,7 +39,7 @@ "@gluestack-style/legend-motion-animation-driver": "1.0.3", "@gluestack-ui/accordion": "1.0.4", "@gluestack-ui/actionsheet": "0.2.41", - "@gluestack-ui/alert": "0.1.13", + "@gluestack-ui/alert": "0.1.14", "@gluestack-ui/alert-dialog": "0.1.28", "@gluestack-ui/avatar": "0.1.16", "@gluestack-ui/button": "1.0.4", diff --git a/packages/unstyled/alert/CHANGELOG.md b/packages/unstyled/alert/CHANGELOG.md index 4aec899666..b8fb06ddac 100644 --- a/packages/unstyled/alert/CHANGELOG.md +++ b/packages/unstyled/alert/CHANGELOG.md @@ -1,5 +1,11 @@ # @gluestack-ui/alert +## 0.1.14 + +### Patch Changes + +- fix alerttext component typing + ## 0.1.13 ### Patch Changes diff --git a/packages/unstyled/alert/package.json b/packages/unstyled/alert/package.json index 3f706e9cb3..0751dca5c8 100644 --- a/packages/unstyled/alert/package.json +++ b/packages/unstyled/alert/package.json @@ -1,6 +1,6 @@ { "name": "@gluestack-ui/alert", - "version": "0.1.13", + "version": "0.1.14", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/index.d.ts", From e2ecd144eb06239d709eb4831d142a5f208af674 Mon Sep 17 00:00:00 2001 From: Suraj Ahmed Choudhury Date: Thu, 9 May 2024 17:22:37 +0530 Subject: [PATCH 19/31] Update index.nw.stories.mdx --- .../home/getting-started/Installation/index.nw.stories.mdx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/example/storybook-nativewind/src/home/getting-started/Installation/index.nw.stories.mdx b/example/storybook-nativewind/src/home/getting-started/Installation/index.nw.stories.mdx index 2ae8406078..dd0a7d41c6 100644 --- a/example/storybook-nativewind/src/home/getting-started/Installation/index.nw.stories.mdx +++ b/example/storybook-nativewind/src/home/getting-started/Installation/index.nw.stories.mdx @@ -454,4 +454,9 @@ export default Document; - \ No newline at end of file + + +## Common issues +### Expo app stuck in `tailwindcss(ios) rebuilding...` while running `expo start` command + +In this case, you may have your app stored in a directory with a name containing spaces, such as 'Expo App', renaming it to just 'Expo-App' will resolve the issue. From f40a0e8a2d7a072a7b345de365674d932df13642 Mon Sep 17 00:00:00 2001 From: Damini Date: Thu, 9 May 2024 19:33:58 +0530 Subject: [PATCH 20/31] fix: themed docs links --- .../src/components/Actionsheet/index.stories.mdx | 2 +- .../src/components/Pressable/index.stories.mdx | 2 +- .../src/components/Select/index.stories.mdx | 2 +- .../src/components/Text/index.stories.mdx | 2 +- .../src/components/Textarea/index.stories.mdx | 2 +- .../src/ui/components/DataDisplay/Badge/index.stories.mdx | 2 +- .../src/ui/components/DataDisplay/Card/index.stories.mdx | 2 +- .../src/ui/components/DataDisplay/Divider/index.stories.mdx | 2 +- .../ui/components/Disclosure/Actionsheet/index.stories.mdx | 2 +- .../src/ui/components/Feedback/Alert/index.stories.mdx | 2 +- .../src/ui/components/Feedback/Progress/index.stories.mdx | 2 +- .../src/ui/components/Feedback/Spinner/index.stories.mdx | 2 +- .../src/ui/components/Feedback/Toast/index.stories.mdx | 2 +- .../src/ui/components/Forms/Button/index.stories.mdx | 2 +- .../src/ui/components/Forms/Checkbox/index.stories.mdx | 2 +- .../src/ui/components/Forms/FormControl/index.stories.mdx | 2 +- .../storybook/src/ui/components/Forms/Input/index.stories.mdx | 2 +- .../storybook/src/ui/components/Forms/Link/index.stories.mdx | 2 +- .../src/ui/components/Forms/Pressable/index.stories.mdx | 2 +- .../storybook/src/ui/components/Forms/Radio/index.stories.mdx | 2 +- .../src/ui/components/Forms/Select/index.stories.mdx | 2 +- .../src/ui/components/Forms/Slider/index.stories.mdx | 2 +- .../src/ui/components/Forms/Textarea/index.stories.mdx | 2 +- .../storybook/src/ui/components/Layout/Box/index.stories.mdx | 2 +- .../src/ui/components/Layout/Center/index.stories.mdx | 2 +- .../src/ui/components/Layout/VStack/index.stories.mdx | 2 +- .../src/ui/components/MediaAndIcons/Avatar/index.stories.mdx | 2 +- .../src/ui/components/MediaAndIcons/Icon/index.stories.mdx | 2 +- .../src/ui/components/MediaAndIcons/Image/index.stories.mdx | 2 +- .../src/ui/components/Overlay/AlertDialog/index.stories.mdx | 2 +- .../src/ui/components/Overlay/Menu/index.stories.mdx | 2 +- .../src/ui/components/Overlay/Modal/index.stories.mdx | 2 +- .../src/ui/components/Overlay/Popover/index.stories.mdx | 2 +- .../src/ui/components/Overlay/Tooltip/index.stories.mdx | 2 +- .../src/ui/components/Typography/Heading/index.stories.mdx | 2 +- .../src/ui/components/Typography/Text/index.stories.mdx | 2 +- .../src/ui/home/core-concepts/ThemedLibrary/index.stories.mdx | 4 ++-- .../getting-started/incremental-adoption/index.stories.mdx | 2 +- 38 files changed, 39 insertions(+), 39 deletions(-) diff --git a/example/storybook-nativewind/src/components/Actionsheet/index.stories.mdx b/example/storybook-nativewind/src/components/Actionsheet/index.stories.mdx index ab786f53ee..61f0aa55f7 100644 --- a/example/storybook-nativewind/src/components/Actionsheet/index.stories.mdx +++ b/example/storybook-nativewind/src/components/Actionsheet/index.stories.mdx @@ -1103,7 +1103,7 @@ Default styling of the component can be found in the `components/actionsheet` fi ## Unstyled -All the components in `gluestack-ui` are unstyled by default. To customize your UI using the extendedTheme, please refer to this [link](https://gluestack.io/ui/docs/theme-configuration/customizing-theme). The import names of components serve as keys to customize each component. +All the components in `gluestack-ui` are unstyled by default. To customize your UI using the extendedTheme, please refer to this [link](https://gluestack.io/ui/docs/theme-configuration/customizing-theme/eject-library). The import names of components serve as keys to customize each component. ### Examples diff --git a/example/storybook-nativewind/src/components/Pressable/index.stories.mdx b/example/storybook-nativewind/src/components/Pressable/index.stories.mdx index 61f03cbda8..15d498280d 100644 --- a/example/storybook-nativewind/src/components/Pressable/index.stories.mdx +++ b/example/storybook-nativewind/src/components/Pressable/index.stories.mdx @@ -112,7 +112,7 @@ component and i.e. `focus` , `hover` , `pressed` , `disabled` and `focusVisible` ## Unstyled -All the components in `gluestack-ui` are unstyled by default. To customize your UI using the extendedTheme, please refer to this [link](https://gluestack.io/ui/docs/theme-configuration/customizing-theme). The import names of components serve as keys to customize each component. +All the components in `gluestack-ui` are unstyled by default. To customize your UI using the extendedTheme, please refer to this [link](https://gluestack.io/ui/docs/theme-configuration/customizing-theme/eject-library). The import names of components serve as keys to customize each component.