diff --git a/.changeset/forty-coins-wait.md b/.changeset/forty-coins-wait.md deleted file mode 100644 index 2a4786d0467..00000000000 --- a/.changeset/forty-coins-wait.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'braid-design-system': patch ---- - ---- -updated: - - Autosuggest ---- - -**Autosuggest**: Improve handling of `suggestionHighlight` prop when set to `remaining` - -Fixes a bug in `Autosuggest` when using `suggestionHighlight` prop set to `remaining`. -If the input contained multiple words, the highlighted portion would be appended to the end of matching suggestions. diff --git a/.changeset/smart-needles-cross.md b/.changeset/smart-needles-cross.md deleted file mode 100644 index 31d1642e72b..00000000000 --- a/.changeset/smart-needles-cross.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'braid-design-system': minor ---- - ---- -updated: - - Autosuggest ---- - -**Autosuggest**: Optimise automatic scrolling to selected suggestion by using native browser methods. \ No newline at end of file diff --git a/packages/braid-design-system/CHANGELOG.md b/packages/braid-design-system/CHANGELOG.md index 37cfb3a8010..8bb2b5be6ac 100644 --- a/packages/braid-design-system/CHANGELOG.md +++ b/packages/braid-design-system/CHANGELOG.md @@ -1,5 +1,18 @@ # braid-design-system +## 32.24.0 + +### Minor Changes + +- **Autosuggest**: Optimise automatic scrolling to selected suggestion by using native browser methods. ([#1571](https://github.com/seek-oss/braid-design-system/pull/1571)) + +### Patch Changes + +- **Autosuggest**: Improve handling of `suggestionHighlight` prop when set to `remaining` ([#1572](https://github.com/seek-oss/braid-design-system/pull/1572)) + + Fixes a bug in `Autosuggest` when using `suggestionHighlight` prop set to `remaining`. + If the input contained multiple words, the highlighted portion would be appended to the end of matching suggestions. + ## 32.23.1 ### Patch Changes diff --git a/packages/braid-design-system/package.json b/packages/braid-design-system/package.json index 4aa9e825413..664de61fbf4 100644 --- a/packages/braid-design-system/package.json +++ b/packages/braid-design-system/package.json @@ -1,6 +1,6 @@ { "name": "braid-design-system", - "version": "32.23.1", + "version": "32.24.0", "description": "Themeable design system for the SEEK Group", "homepage": "https://seek-oss.github.io/braid-design-system/", "bugs": { diff --git a/site/src/componentUpdates.json b/site/src/componentUpdates.json index 27502da2dc9..f756677cf1a 100644 --- a/site/src/componentUpdates.json +++ b/site/src/componentUpdates.json @@ -4112,5 +4112,22 @@ "summary": "Standardise `disabled` & `critical` state across form fields\n\nImproves the consistency of form fields when combining both `disabled` and `critical` tone, which includes:\n- Hiding `critical` borders\n- Hiding `message` and not reserving space for it unless explicitly providing the `reserveMessageSpace` prop." } ] + }, + { + "version": "32.24.0", + "updates": [ + { + "updated": [ + "Autosuggest" + ], + "summary": "**Autosuggest**: Improve handling of `suggestionHighlight` prop when set to `remaining`\n\nFixes a bug in `Autosuggest` when using `suggestionHighlight` prop set to `remaining`.\nIf the input contained multiple words, the highlighted portion would be appended to the end of matching suggestions." + }, + { + "updated": [ + "Autosuggest" + ], + "summary": "**Autosuggest**: Optimise automatic scrolling to selected suggestion by using native browser methods." + } + ] } ]