Skip to content

Commit 07b67ec

Browse files
Version Packages (#2707)
1 parent b09b1af commit 07b67ec

File tree

4 files changed

+20
-21
lines changed

4 files changed

+20
-21
lines changed

.changeset/kind-maps-hope.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/nice-dancers-grab.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

packages/ui/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# @lion/ui
22

3+
## 0.16.0
4+
5+
### Minor Changes
6+
7+
- b09b1af: [overlays] update trapskeyboardfocus feature to use native dialog
8+
9+
[trapskeyboardfocus](https://lion.js.org/fundamentals/systems/overlays/configuration/#trapskeyboardfocus) feature is updated to use native Dialog for trapping focus. It bring some breaking changes:
10+
- Endpoints removed: `containFocus`, `rotateFocus` from `@lion/ui/overlays.js`
11+
- Undocumented protected configuration property for Overlays `_noDialogEl` is removed. It allowed to use `div` element instead of `dialog` for rendering dialogs
12+
- `OverlayController#enableTrapsKeyboardFocus`, `OverlayController#disableTrapsKeyboardFocus` have been removed
13+
- `OverlaysManager#disableTrapsKeyboardFocusForAll`, `OverlaysManager#informTrapsKeyboardFocusGotEnabled`, `OverlaysManager#informTrapsKeyboardFocusGotDisabled` have been removed
14+
15+
The change in the behaviour from UX point of view:
16+
The main difference is that the navite modal dialog does not trap the focus inside the dialog entirely. It allows to switch from the dialog to the browser's panels. It's done by design to improve a11y expirience and let users switch browser's tab as example if they want so.
17+
18+
### Patch Changes
19+
20+
- d39c6b7: [overlays] improve hide behavior after teardown and registration check
21+
322
## 0.15.5
423

524
### Patch Changes

packages/ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lion/ui",
3-
"version": "0.15.5",
3+
"version": "0.16.0",
44
"description": "A package of extendable web components",
55
"license": "MIT",
66
"author": "ing-bank",

0 commit comments

Comments
 (0)