From 4c8a50c3d39e3231013ff3ae11a7ccacd5048787 Mon Sep 17 00:00:00 2001 From: sra1kumar-NULL Date: Tue, 24 Dec 2024 13:07:39 +0530 Subject: [PATCH 1/2] fix: added latest for the npm create --- .../nativewind/quick-start-components/Card1.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/storybook-nativewind/src/extra-components/nativewind/quick-start-components/Card1.tsx b/example/storybook-nativewind/src/extra-components/nativewind/quick-start-components/Card1.tsx index 1439d35e3..91564a8c1 100644 --- a/example/storybook-nativewind/src/extra-components/nativewind/quick-start-components/Card1.tsx +++ b/example/storybook-nativewind/src/extra-components/nativewind/quick-start-components/Card1.tsx @@ -22,7 +22,7 @@ function Card1() { const [showCopy, setShowCopy] = useState(false); const copyToClipboard = async () => { - const text = 'npm create gluestack'; + const text = 'npm create gluestack@latest'; await navigator.clipboard.writeText(text); setCopied(true); setTimeout(() => { @@ -55,7 +55,7 @@ function Card1() { npm create{' '} - gluestack + gluestack@latest {showCopy ? ( From a60b404c0387ed3382ce7266f1a76269fefdc94d Mon Sep 17 00:00:00 2001 From: rajat693 Date: Thu, 2 Jan 2025 12:44:16 +0530 Subject: [PATCH 2/2] fix: inputfield styling in android --- .../src/core-components/nativewind/input/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/storybook-nativewind/src/core-components/nativewind/input/index.tsx b/example/storybook-nativewind/src/core-components/nativewind/input/index.tsx index 0186496e3..aaed09767 100644 --- a/example/storybook-nativewind/src/core-components/nativewind/input/index.tsx +++ b/example/storybook-nativewind/src/core-components/nativewind/input/index.tsx @@ -76,7 +76,7 @@ const inputSlotStyle = tva({ }); const inputFieldStyle = tva({ - base: 'flex-1 text-typography-900 py-auto px-3 placeholder:text-typography-500 h-full ios:leading-[0px] web:cursor-text web:data-[disabled=true]:cursor-not-allowed', + base: 'flex-1 text-typography-900 py-0 px-3 placeholder:text-typography-500 h-full ios:leading-[0px] web:cursor-text web:data-[disabled=true]:cursor-not-allowed', parentVariants: { variant: {