All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
3.47.0 (2022-02-23)
Note: Version bump only for package @clayui/shared
3.45.0 (2022-02-01)
- @clayui/shared: fix focus control collision when having FocusScope nested (58bd27f)
3.40.0 (2021-11-17)
- @clayui/provider: removes dependency from ClayModal to avoid circular dependency issues (0b8eade)
- @clayui/shared: fixes error when considering an element with negative tabIndex (da143f0)
3.39.0 (2021-10-29)
Note: Version bump only for package @clayui/shared
3.38.0 (2021-10-22)
Note: Version bump only for package @clayui/shared
3.37.0 (2021-10-06)
- @clayui/shared: fix error when controlling internal state using external value and internal controller (d17eba5)
3.36.0 (2021-09-23)
Note: Version bump only for package @clayui/shared
3.35.3 (2021-09-09)
Note: Version bump only for package @clayui/shared
3.35.2 (2021-08-30)
- @clayui/shared: fix error export type from root in package distribution (121e3cc)
3.35.1 (2021-08-30)
- @clayui/shared: fixes error when importing the type that is not available in the module (3108383)
3.35.0 (2021-08-30)
Note: Version bump only for package @clayui/shared
3.32.0 (2021-07-28)
- @clayui/shared: fixes error when getting stuck in an input masked as hidden (4c0c5cb)
3.29.0 (2021-05-28)
- @clayui/shared: Add MouseSafeArea to the contextual menu (7824f16)
3.28.0 (2021-05-19)
- @clayui/drop-down: Add the new ContainerProps API (b106420)
- @clayui/shared: add delegate event utility (f46b6ef)
- @clayui/shared: Allow to pass className and/or id to the portal root element (132ab1e)
- @clayui/shared: Extract to a function so the div is created with all its attributes (b7445bc)
- @clayui/shared: simplify function (d326ace)
3.27.0 (2021-05-05)
- @clayui/shared: add unit test for FocusScope (f84332f)
- @clayui/shared: update and simplify logic for focus management when focus moves in and out of the react tree (e3a100f)
- @clayui/multi-select: add async functionality for source items (548aa2d)
3.5.1 (2021-02-11)
Note: Version bump only for package @clayui/shared
3.5.0 (2021-01-27)
- @clayui/drop-down: add api for controlling the active state of the menu (28e5191)
3.4.0 (2021-01-13)
- @clayui/shared: remove useTransitionHeight in favor of react-transition-group (d2311f9)
- @clayui/shared: update types so that storybook build doesn't complain (38903aa)
- @clayui/shared: add custom hook for using an internal state if an external control isn't provided (a34ccd9)
3.3.2 (2020-12-16)
- shared: avoid race condition with Senna.js (f0754ea), closes /github.com/liferay-frontend/liferay-portal/pull/565#issuecomment-736854056
3.3.1 (2020-12-02)
- shared: avoid race condition with Senna.js (f0754ea), closes /github.com/liferay-frontend/liferay-portal/pull/565#issuecomment-736854056
3.3.0 (2020-10-01)
- @clayui/shared: removes the onTransitionEnd listener from elements by setTimeout (4cf740a)
- @clayui/shared: useTransitionHeight should still expand and collapse if transitions aren't supported (bb1a858), closes #3637
- add displayName for all components (cc3211d)
3.2.3 (2020-08-28)
- @clayui/shared: ignores elements within the scope with tabindex="-1" from the focus manager (167b11a)
3.2.2 (2020-08-26)
- @clayui/shared: fixes side effect of focusing on the first element when the active element does not exist in the scope (4a136da)
3.2.1 (2020-07-28)
Note: Version bump only for package @clayui/shared
3.1.3 (2020-07-07)
- @clayui/link: pass onClick to ClayLink (1018420)
3.1.2 (2020-06-18)
- @clayui/shared: only preventDefault if next/previous node exists in the focusManager (6317e69)
3.1.1 (2020-04-24)
Note: Version bump only for package @clayui/shared
- @clayui/shared: add focus control by left and right arrow keys (e314419)
- @clayui/shared: add reference to children ref (38896b6)
- @clayui/shared: collects focusable elements within a focusable element (3ce4e8e)
- @clayui/shared: get the Fiber from the ref (9980545)
- @clayui/shared: use another method to create a new array from an HTMLCollection (6d98c43)
- panel: collapsing doesn't work well when there is more than one child element (f16fd86)
- portal: automatically nest portals if they are inside one another (dee9d69)
- shared: Remove weird initialization on
getEllipsisItems
(bd7c621) - shared: When having one item, should only render one item (e3645a2)
- useDebounce: stop update the value every time when the object loses reference (e840edc)
- useFocusManagement: check elements in focusManager list before controlling out-of-scope elements (1236be3)
- normalize names of components (3a0abea)
- ref callbacks are first calling with null. https://reactjs.org/docs/refs-and-the-dom.html#caveats-with-callback-refs (fec52cb)
- update components to include 'types' and 'ts:main' package keys (9e24b59)
- useFocusManagement: fixes last position for cases when it was not reset (3f48cb7)
- useFocusManagement: remove reset from last position when any list item is deleted (bfb78f5)
- useFocusManagement: sets the last position when one does not exist, with the active element index if it exists in the list (29e1494)
- Move useDebounce to clay-shared (fcf1ceb)
- @clayui/shared: add experimental useFocusManagement hook (6e7190b)
- @clayui/shared: add forwardRef to LinkOrButton component (92317ef)
- @clayui/shared: add LinkOrButton component for use internal (63371b0)
- @clayui/shared: create FocusScope component (9772e5c)
- clay-form: create high-level InputWithAutocomplete component (692610a)
- clay-shared: add keyboard hooks for lists and add demo under autocomplete (3622453)
3.0.7 (2020-01-31)
Note: Version bump only for package @clayui/shared
3.0.6 (2020-01-20)
Note: Version bump only for package @clayui/shared
3.0.5 (2019-12-05)
Note: Version bump only for package @clayui/shared
3.0.4 (2019-11-07)
Note: Version bump only for package @clayui/shared
3.0.3 (2019-11-01)
- @clayui/shared: collects focusable elements within a focusable element (3ce4e8e)
3.0.2 (2019-10-28)
- ref callbacks are first calling with null. https://reactjs.org/docs/refs-and-the-dom.html#caveats-with-callback-refs (fec52cb)
- @clayui/shared: use another method to create a new array from an HTMLCollection (6d98c43)