From b467848d34362043180081ca74f0ab04aa3ffc2e Mon Sep 17 00:00:00 2001 From: Alice Clausen <42611957+alicemacl@users.noreply.github.com> Date: Thu, 4 Jul 2024 14:08:33 +0200 Subject: [PATCH 1/2] remove isChecked prop --- package-lock.json | 6 +++--- packages/spor-react/src/input/ChoiceChip.tsx | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 99e050303..af43b6142 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,7 +26,7 @@ }, "apps/docs": { "name": "@vygruppen/docs", - "version": "0.0.43", + "version": "0.0.44", "license": "MIT", "dependencies": { "@chakra-ui/react": "^2.8.2", @@ -43,7 +43,7 @@ "@vygruppen/spor-design-tokens": "^3.8.1", "@vygruppen/spor-icon": "^2.9.0", "@vygruppen/spor-icon-react": "^3.9.0", - "@vygruppen/spor-react": "^9.16.0", + "@vygruppen/spor-react": "^10.0.0", "archiver": "^5.3.2", "deepmerge": "^4.3.1", "framer-motion": "^8.5.5", @@ -32967,7 +32967,7 @@ }, "packages/spor-react": { "name": "@vygruppen/spor-react", - "version": "9.16.0", + "version": "10.0.0", "license": "MIT", "dependencies": { "@chakra-ui/react": "^2.8.2", diff --git a/packages/spor-react/src/input/ChoiceChip.tsx b/packages/spor-react/src/input/ChoiceChip.tsx index b6373fafd..c3338b8a9 100644 --- a/packages/spor-react/src/input/ChoiceChip.tsx +++ b/packages/spor-react/src/input/ChoiceChip.tsx @@ -59,7 +59,6 @@ export const ChoiceChip = forwardRef( { children, icon, - isChecked, isDisabled, size = "sm", chipType = "choice", From d63e3c6f874a964aca92d021bbc8774a85b9ed5e Mon Sep 17 00:00:00 2001 From: Alice Clausen <42611957+alicemacl@users.noreply.github.com> Date: Thu, 4 Jul 2024 14:10:22 +0200 Subject: [PATCH 2/2] Add changeset --- .changeset/violet-pigs-allow.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/violet-pigs-allow.md diff --git a/.changeset/violet-pigs-allow.md b/.changeset/violet-pigs-allow.md new file mode 100644 index 000000000..e76057838 --- /dev/null +++ b/.changeset/violet-pigs-allow.md @@ -0,0 +1,5 @@ +--- +"@vygruppen/spor-react": minor +--- + +ChoiceChip: Fix isChecked bug