From 3b433c0fa5c417d520d1ef25c1dd906ad9f3c32c Mon Sep 17 00:00:00 2001 From: rajat693 Date: Tue, 3 Sep 2024 17:45:36 +0530 Subject: [PATCH 1/2] fix: radio component aria-label warning --- packages/unstyled/radio/src/RadioGroup.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/unstyled/radio/src/RadioGroup.tsx b/packages/unstyled/radio/src/RadioGroup.tsx index 5acc9e9dbb..d4cca45182 100644 --- a/packages/unstyled/radio/src/RadioGroup.tsx +++ b/packages/unstyled/radio/src/RadioGroup.tsx @@ -16,7 +16,7 @@ export const RadioGroup = (StyledRadioGroup: any) => { ...formControlContext, ...props, - 'aria-label': props['aria-label'], + 'aria-label': props['aria-label'] || 'RadioGroup', }, state ); From 5d494c83676b35b77f7afd43a874a404bf60f59a Mon Sep 17 00:00:00 2001 From: rajat693 Date: Tue, 3 Sep 2024 18:01:45 +0530 Subject: [PATCH 2/2] chore: added forceMount prop to radio and checkbox --- example/storybook-nativewind/package.json | 2 +- packages/config/package.json | 8 ++++---- packages/themed/CHANGELOG.md | 8 ++++++++ packages/themed/package.json | 6 +++--- packages/unstyled/checkbox/CHANGELOG.md | 6 ++++++ packages/unstyled/checkbox/package.json | 2 +- packages/unstyled/radio/CHANGELOG.md | 6 ++++++ packages/unstyled/radio/package.json | 2 +- 8 files changed, 30 insertions(+), 10 deletions(-) diff --git a/example/storybook-nativewind/package.json b/example/storybook-nativewind/package.json index 6da6e6ede0..d13cbc71ea 100644 --- a/example/storybook-nativewind/package.json +++ b/example/storybook-nativewind/package.json @@ -32,7 +32,7 @@ "@gluestack-style/animation-resolver": "^1.0.4", "@gluestack-style/react": "^1.0.57", "@gluestack-ui/config": "^1.1.19", - "@gluestack-ui/themed": "^1.1.49", + "@gluestack-ui/themed": "^1.1.50", "@gluestack/design-system": "^0.5.36", "@gorhom/bottom-sheet": "^5.0.0-alpha.10", "@legendapp/motion": "^2.2.0", diff --git a/packages/config/package.json b/packages/config/package.json index 5b861b4a21..61550cd7e9 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -44,7 +44,7 @@ "@gluestack-ui/alert-dialog": "0.1.30", "@gluestack-ui/avatar": "0.1.17", "@gluestack-ui/button": "1.0.7", - "@gluestack-ui/checkbox": "0.1.31", + "@gluestack-ui/checkbox": "0.1.32", "@gluestack-ui/divider": "0.1.9", "@gluestack-ui/fab": "0.1.21", "@gluestack-ui/form-control": "0.1.18", @@ -59,21 +59,21 @@ "@gluestack-ui/pressable": "0.1.16", "@gluestack-ui/progress": "0.1.16", "@gluestack-ui/provider": "0.1.12", - "@gluestack-ui/radio": "0.1.32", + "@gluestack-ui/radio": "0.1.33", "@gluestack-ui/select": "0.1.29", "@gluestack-ui/slider": "0.1.25", "@gluestack-ui/spinner": "0.1.14", "@gluestack-ui/switch": "0.1.22", "@gluestack-ui/tabs": "0.1.17", "@gluestack-ui/textarea": "0.1.23", - "@gluestack-ui/themed": "1.1.49", + "@gluestack-ui/themed": "1.1.50", "@gluestack-ui/toast": "1.0.7", "@gluestack-ui/tooltip": "0.1.32", "@legendapp/motion": "latest" }, "peerDependencies": { "@gluestack-style/react": ">=1.0.57", - "@gluestack-ui/themed": ">=1.1.49" + "@gluestack-ui/themed": ">=1.1.50" }, "release-it": { "git": { diff --git a/packages/themed/CHANGELOG.md b/packages/themed/CHANGELOG.md index d5db8dd3b7..0d513c1a41 100644 --- a/packages/themed/CHANGELOG.md +++ b/packages/themed/CHANGELOG.md @@ -1,5 +1,13 @@ # @gluestack-ui/themed +## 1.1.50 + +### Patch Changes + +- Updated dependencies + - @gluestack-ui/checkbox@0.1.32 + - @gluestack-ui/radio@0.1.33 + ## 1.1.49 ### Patch Changes diff --git a/packages/themed/package.json b/packages/themed/package.json index 62cf03ea97..39c34e8de1 100644 --- a/packages/themed/package.json +++ b/packages/themed/package.json @@ -1,6 +1,6 @@ { "name": "@gluestack-ui/themed", - "version": "1.1.49", + "version": "1.1.50", "main": "build/index.js", "types": "build/index.d.ts", "module": "build/index", @@ -43,7 +43,7 @@ "@gluestack-ui/alert-dialog": "0.1.30", "@gluestack-ui/avatar": "0.1.17", "@gluestack-ui/button": "1.0.7", - "@gluestack-ui/checkbox": "0.1.31", + "@gluestack-ui/checkbox": "0.1.32", "@gluestack-ui/divider": "0.1.9", "@gluestack-ui/fab": "0.1.21", "@gluestack-ui/form-control": "0.1.18", @@ -58,7 +58,7 @@ "@gluestack-ui/pressable": "0.1.16", "@gluestack-ui/progress": "0.1.16", "@gluestack-ui/provider": "0.1.12", - "@gluestack-ui/radio": "0.1.32", + "@gluestack-ui/radio": "0.1.33", "@gluestack-ui/select": "0.1.29", "@gluestack-ui/slider": "0.1.25", "@gluestack-ui/spinner": "0.1.14", diff --git a/packages/unstyled/checkbox/CHANGELOG.md b/packages/unstyled/checkbox/CHANGELOG.md index 02b2baf3b3..fdc2b52e0a 100644 --- a/packages/unstyled/checkbox/CHANGELOG.md +++ b/packages/unstyled/checkbox/CHANGELOG.md @@ -1,5 +1,11 @@ # @gluestack-ui/checkbox +## 0.1.32 + +### Patch Changes + +- feat: added forceMount prop + ## 0.1.31 ### Patch Changes diff --git a/packages/unstyled/checkbox/package.json b/packages/unstyled/checkbox/package.json index 18ed572946..b7921242e8 100644 --- a/packages/unstyled/checkbox/package.json +++ b/packages/unstyled/checkbox/package.json @@ -1,6 +1,6 @@ { "name": "@gluestack-ui/checkbox", - "version": "0.1.31", + "version": "0.1.32", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/index.d.ts", diff --git a/packages/unstyled/radio/CHANGELOG.md b/packages/unstyled/radio/CHANGELOG.md index e37c488fb8..41c5f0f543 100644 --- a/packages/unstyled/radio/CHANGELOG.md +++ b/packages/unstyled/radio/CHANGELOG.md @@ -1,5 +1,11 @@ # @gluestack-ui/radio +## 0.1.33 + +### Patch Changes + +- feat: added forceMount prop + ## 0.1.32 ### Patch Changes diff --git a/packages/unstyled/radio/package.json b/packages/unstyled/radio/package.json index e5df87f76c..4b28928286 100644 --- a/packages/unstyled/radio/package.json +++ b/packages/unstyled/radio/package.json @@ -1,6 +1,6 @@ { "name": "@gluestack-ui/radio", - "version": "0.1.32", + "version": "0.1.33", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/index.d.ts",