Layering
Layering provides consistent and accessible layered experience
yarn add @atlaskit/layering
2.0.1
Patch Changes
- #119066
dfea81db22b81
- Removed setTimeout from layering useEffect cleanup to avoid race condition
Layering provides consistent and accessible layered experience
yarn add @atlaskit/layering
dfea81db22b81
-
Removed setTimeout from layering useEffect cleanup to avoid race conditiondfea81db22b81
-
Removed setTimeout from layering useEffect cleanup to avoid race condition#117363
10a0f7f6c2027
-
This package's peerDependencies
have been adjusted for react
and/or react-dom
to reflect the
status of only supporting React 18 going forward. No explicit breaking change to React support has
been made in this release, but this is to signify going forward, breaking changes for React 16 or
React 17 may come via non-major semver releases.
Please refer this community post for more details: https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026
521b94c157089
-
Use setTimeout to correctly set top layer when closing multiple layers4660ec858a305
-
Update React
from v16 to v186e2a886fe4874
-
Launch the first major version of the layering package and make it official on atlassian.design
website.2e47aa97dd435
-
Re-releasing this as a minor update to address an issue with the incorrect version (^0.7.0) of
@atlaskit/layering
being included in dependent packages.962b5e77810fb
-
Adds side-effect config to support Compiled css extraction in third-party appsd2e5e5ce0053d
-
Use Layering and useLayering API and remove setTimeout when updating layer context.3d03c4f1002ab
-
Bind key event listeners on window instead of document for useCloseOnEscapePress#151707
a2a509ab13335
-
The useOpenLayerCount
hook has been removed.
It has been replaced by a new useOpenLayerObserver
hook, which returns an object with the
functions:
getCount
: returns the curent count of open layers under the observeronChange
: allows you to subscribe to changes in the layer count.#147187
f3fc0c5bb919d
-
Adds a new experimental open-layer-observer entrypoint. It contains:
OpenLayerObserver
s.
OpenLayerObserver
, that will return the layer
count ref.The use case for this entrypoint is enabling wrapper components to determine if there are any open layering components contained within them. For example, the nav4 side nav will need to know if there are any popups or dropdown menus currently open within the side nav, so that if it is in flyout mode, it will stay locked open until the layered components are hidden or unmounted.
#127511
db30e29344013
-
Widening range of react
and react-dom
peer dependencies from ^16.8.0 || ^17.0.0 || ~18.2.0
to the wider range of ``^16.8.0 || ^17.0.0 || ^18.0.0` (where applicable).
This change has been done to enable usage of react@18.3
as well as to have a consistent peer
dependency range for react
and react-dom
for /platform
packages.
35fd5ed8e1d7
-
Upgrading internal dependency bind-event-listener
to @^3.0.0
6d9ac32e548
- Use
disabled props to toggle layering instead of feature flagf355884a4aa
- [ux]
Support to press escape key and only close the top layer