diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bb0bef9a..f00102117 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file. This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a CHANGELOG](https://keepachangelog.com/). +## [9.5.0] - 2024-02-21 + +### Updated +- Fixed block renaming (due to recent Gutenberg changes) +- `LinkInput` should now pop the suggestion panel only when focused into the input field +- Fixed typo in `MultiSelect` story + +## [9.4.2] - 2024-02-21 + +### Updated +- `LinkInput` should handle input debouncing better, and the delay is now configurable via the `inputDebounceDelay` prop + +## [9.4.1] - 2024-02-19 + +### Updated +- Dependency updates + ## [9.4.2] - 2024-02-21 ### Updated @@ -969,6 +986,7 @@ Follow this migration script in order for you project to work correctly with the [Unreleased]: https://github.com/infinum/eightshift-frontend-libs/compare/master...HEAD +[9.5.0]: https://github.com/infinum/eightshift-frontend-libs/compare/9.4.2...9.5.0 [9.4.2]: https://github.com/infinum/eightshift-frontend-libs/compare/9.4.1...9.4.2 [9.4.1]: https://github.com/infinum/eightshift-frontend-libs/compare/9.4.0...9.4.1 [9.4.0]: https://github.com/infinum/eightshift-frontend-libs/compare/9.3.1...9.4.0 diff --git a/package.json b/package.json index 039737e64..20a644e36 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@eightshift/frontend-libs", - "version": "9.4.2", + "version": "9.5.0", "description": "A collection of useful frontend utility modules. powered by Eightshift", "author": { "name": "Eightshift team", diff --git a/scripts/components/custom-select/docs/readme.mdx b/scripts/components/custom-select/docs/readme.mdx index 43eb01d6e..0541d602c 100644 --- a/scripts/components/custom-select/docs/readme.mdx +++ b/scripts/components/custom-select/docs/readme.mdx @@ -87,7 +87,7 @@ Your IDE will display all the properties, together with their descriptions. ### Synchronous multiple items ```jsx - { + if (document?.activeElement !== inputRef?.current) { + return; + } + if (!suggestionsVisible) { setSuggestionFocusMessageVisible(true); } @@ -353,9 +357,8 @@ export const LinkInput = ({
{suggestionFocusMessageVisible && Tab} + icon={Tab} label={__('Focus on suggestions', 'eightshift-frontend-libs')} additionalClasses='es-mb-1' standalone diff --git a/scripts/editor/registration.js b/scripts/editor/registration.js index c24337f25..8ee5c85b2 100644 --- a/scripts/editor/registration.js +++ b/scripts/editor/registration.js @@ -893,6 +893,9 @@ export const registerBlock = ( return customName; }, + supports: { + __experimentalMetadata: true, + }, }, }; };