From 7fe9d7568ca14da701abc79badcfa5bfc923b97a Mon Sep 17 00:00:00 2001 From: Khan Actions Bot <56267880+khan-actions-bot@users.noreply.github.com> Date: Tue, 10 Dec 2024 17:56:10 -0500 Subject: [PATCH] Version Packages (#2384) Co-authored-by: github-actions[bot] --- .changeset/breezy-bears-teach.md | 9 ------- .changeset/cuddly-fireants-cheat.md | 5 ---- .changeset/mean-ligers-relax.md | 10 -------- .changeset/mean-sheep-shout.md | 5 ---- .changeset/smooth-poems-buy.md | 5 ---- .changeset/thin-gifts-tickle.md | 9 ------- .../CHANGELOG.md | 10 ++++++++ .../package.json | 4 +-- packages/wonder-blocks-dropdown/CHANGELOG.md | 25 +++++++++++++++++++ packages/wonder-blocks-dropdown/package.json | 4 +-- .../wonder-blocks-search-field/CHANGELOG.md | 14 +++++++++++ .../wonder-blocks-search-field/package.json | 2 +- 12 files changed, 54 insertions(+), 48 deletions(-) delete mode 100644 .changeset/breezy-bears-teach.md delete mode 100644 .changeset/cuddly-fireants-cheat.md delete mode 100644 .changeset/mean-ligers-relax.md delete mode 100644 .changeset/mean-sheep-shout.md delete mode 100644 .changeset/smooth-poems-buy.md delete mode 100644 .changeset/thin-gifts-tickle.md diff --git a/.changeset/breezy-bears-teach.md b/.changeset/breezy-bears-teach.md deleted file mode 100644 index 501c08ac6..000000000 --- a/.changeset/breezy-bears-teach.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@khanacademy/wonder-blocks-search-field": minor ---- - -# SearchField - -- Adds `error`, `instantValidation`, `validate`, and `onValidate` props to be consistent with form components. -- Refine magnifying glass icon styling to make it match Figma more (smaller, bold icon, spacing, update disabled state) -- Hide the clear button if the SearchField is disabled diff --git a/.changeset/cuddly-fireants-cheat.md b/.changeset/cuddly-fireants-cheat.md deleted file mode 100644 index 58c645e32..000000000 --- a/.changeset/cuddly-fireants-cheat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@khanacademy/wonder-blocks-search-field": patch ---- - -SearchField: Remove "-field" that was automatically appended to the id. diff --git a/.changeset/mean-ligers-relax.md b/.changeset/mean-ligers-relax.md deleted file mode 100644 index 8c5b716bd..000000000 --- a/.changeset/mean-ligers-relax.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@khanacademy/wonder-blocks-dropdown": minor ---- - -# SingleSelect - -- Add `required`, `validate`, and `onValidate` props to support validation. -- DropdownOpener and SelectOpener: - - Add `onBlur` prop - - Set `aria-invalid` if it is in an error state. diff --git a/.changeset/mean-sheep-shout.md b/.changeset/mean-sheep-shout.md deleted file mode 100644 index 21c9ff72c..000000000 --- a/.changeset/mean-sheep-shout.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@khanacademy/wonder-blocks-dropdown": patch ---- - -Update SingleSelect and MultiSelect to functional components diff --git a/.changeset/smooth-poems-buy.md b/.changeset/smooth-poems-buy.md deleted file mode 100644 index 6028d4881..000000000 --- a/.changeset/smooth-poems-buy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@khanacademy/wonder-blocks-dropdown": patch ---- - -Update `DropdownCore` to check for key presses using `event.key` instead of `event.which` or `event.keyCode` (which are both deprecated now) diff --git a/.changeset/thin-gifts-tickle.md b/.changeset/thin-gifts-tickle.md deleted file mode 100644 index b6dc73ddd..000000000 --- a/.changeset/thin-gifts-tickle.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@khanacademy/wonder-blocks-dropdown": minor ---- - -# MultiSelect - -- Add `required`, `validate`, and `onValidate` props to support validation. -- Set `aria-invalid` on the opener if it is in an error state -- Share validation logic with SingleSelect diff --git a/packages/wonder-blocks-birthday-picker/CHANGELOG.md b/packages/wonder-blocks-birthday-picker/CHANGELOG.md index 673b974cd..38a8a4098 100644 --- a/packages/wonder-blocks-birthday-picker/CHANGELOG.md +++ b/packages/wonder-blocks-birthday-picker/CHANGELOG.md @@ -1,5 +1,15 @@ # @khanacademy/wonder-blocks-birthday-picker +## 3.0.1 + +### Patch Changes + +- Updated dependencies [71e70869] +- Updated dependencies [c7178e13] +- Updated dependencies [71e70869] +- Updated dependencies [bc4da9ec] + - @khanacademy/wonder-blocks-dropdown@6.1.0 + ## 3.0.0 ### Major Changes diff --git a/packages/wonder-blocks-birthday-picker/package.json b/packages/wonder-blocks-birthday-picker/package.json index 2bd64599c..46ef841e5 100644 --- a/packages/wonder-blocks-birthday-picker/package.json +++ b/packages/wonder-blocks-birthday-picker/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-birthday-picker", - "version": "3.0.0", + "version": "3.0.1", "design": "v1", "publishConfig": { "access": "public" @@ -15,7 +15,7 @@ "dependencies": { "@babel/runtime": "^7.18.6", "@khanacademy/wonder-blocks-core": "^8.0.0", - "@khanacademy/wonder-blocks-dropdown": "^6.0.0", + "@khanacademy/wonder-blocks-dropdown": "^6.1.0", "@khanacademy/wonder-blocks-icon": "^5.0.0", "@khanacademy/wonder-blocks-layout": "^3.0.0", "@khanacademy/wonder-blocks-tokens": "^3.0.0", diff --git a/packages/wonder-blocks-dropdown/CHANGELOG.md b/packages/wonder-blocks-dropdown/CHANGELOG.md index 69617468f..b7563fda1 100644 --- a/packages/wonder-blocks-dropdown/CHANGELOG.md +++ b/packages/wonder-blocks-dropdown/CHANGELOG.md @@ -1,5 +1,30 @@ # @khanacademy/wonder-blocks-dropdown +## 6.1.0 + +### Minor Changes + +- 71e70869: # SingleSelect + + - Add `required`, `validate`, and `onValidate` props to support validation. + - DropdownOpener and SelectOpener: + - Add `onBlur` prop + - Set `aria-invalid` if it is in an error state. + +- bc4da9ec: # MultiSelect + + - Add `required`, `validate`, and `onValidate` props to support validation. + - Set `aria-invalid` on the opener if it is in an error state + - Share validation logic with SingleSelect + +### Patch Changes + +- c7178e13: Update SingleSelect and MultiSelect to functional components +- 71e70869: Update `DropdownCore` to check for key presses using `event.key` instead of `event.which` or `event.keyCode` (which are both deprecated now) +- Updated dependencies [e9a119a8] +- Updated dependencies [257b6bc3] + - @khanacademy/wonder-blocks-search-field@3.1.0 + ## 6.0.0 ### Major Changes diff --git a/packages/wonder-blocks-dropdown/package.json b/packages/wonder-blocks-dropdown/package.json index 01dda1235..d0024363e 100644 --- a/packages/wonder-blocks-dropdown/package.json +++ b/packages/wonder-blocks-dropdown/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-dropdown", - "version": "6.0.0", + "version": "6.1.0", "design": "v1", "description": "Dropdown variants for Wonder Blocks.", "main": "dist/index.js", @@ -23,7 +23,7 @@ "@khanacademy/wonder-blocks-layout": "^3.0.0", "@khanacademy/wonder-blocks-modal": "^6.0.0", "@khanacademy/wonder-blocks-pill": "^3.0.0", - "@khanacademy/wonder-blocks-search-field": "^3.0.0", + "@khanacademy/wonder-blocks-search-field": "^3.1.0", "@khanacademy/wonder-blocks-timing": "^6.0.0", "@khanacademy/wonder-blocks-tokens": "^3.0.0", "@khanacademy/wonder-blocks-typography": "^3.0.0" diff --git a/packages/wonder-blocks-search-field/CHANGELOG.md b/packages/wonder-blocks-search-field/CHANGELOG.md index 1d42d12b2..94be62d37 100644 --- a/packages/wonder-blocks-search-field/CHANGELOG.md +++ b/packages/wonder-blocks-search-field/CHANGELOG.md @@ -1,5 +1,19 @@ # @khanacademy/wonder-blocks-search-field +## 3.1.0 + +### Minor Changes + +- e9a119a8: # SearchField + + - Adds `error`, `instantValidation`, `validate`, and `onValidate` props to be consistent with form components. + - Refine magnifying glass icon styling to make it match Figma more (smaller, bold icon, spacing, update disabled state) + - Hide the clear button if the SearchField is disabled + +### Patch Changes + +- 257b6bc3: SearchField: Remove "-field" that was automatically appended to the id. + ## 3.0.0 ### Major Changes diff --git a/packages/wonder-blocks-search-field/package.json b/packages/wonder-blocks-search-field/package.json index e2a675037..e55d905b8 100644 --- a/packages/wonder-blocks-search-field/package.json +++ b/packages/wonder-blocks-search-field/package.json @@ -1,6 +1,6 @@ { "name": "@khanacademy/wonder-blocks-search-field", - "version": "3.0.0", + "version": "3.1.0", "design": "v1", "description": "Search Field components for Wonder Blocks.", "main": "dist/index.js",