@enonic/ui 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist/enonic-ui.cjs +1 -1
- package/dist/enonic-ui.es.js +131 -128
- package/dist/style.cjs +1 -1
- package/dist/style.es.js +1 -1
- package/dist/styles/style.css +1 -1
- package/dist/types/components/combobox/combobox.d.ts +3 -2
- package/dist/types/components/dialog/dialog-actions.d.ts +15 -0
- package/dist/types/components/icon-button/icon-button.d.ts +4 -1
- package/dist/types/components/search-field/search-field.d.ts +4 -2
- package/dist/types/components/stepper/index.d.ts +1 -1
- package/dist/types/components/stepper/stepper.d.ts +12 -0
- package/dist/types/components/tab/tab.d.ts +4 -0
- package/dist/types/components/tab/tab.phrases.d.ts +4 -0
- package/dist/types/components/tag/tag.d.ts +2 -6
- package/dist/types/components/toast/toast.d.ts +2 -1
- package/dist/types/components/tree-list/tree-list.d.ts +2 -2
- package/dist/types/components/virtualized-tree-list/virtualized-tree-list.d.ts +3 -2
- package/dist/types/hooks/use-focus-outside.d.ts +9 -0
- package/dist/types/hooks/use-portal-focus-container.d.ts +6 -2
- package/dist/types/i18n/phrases.d.ts +3 -0
- package/dist/types/providers/context-menu-content-provider.d.ts +1 -0
- package/dist/types/providers/dialog-provider.d.ts +6 -5
- package/dist/types/providers/focus-container-provider.d.ts +3 -1
- package/dist/types/providers/menu-provider.d.ts +1 -0
- package/dist/types/providers/stepper-provider.d.ts +2 -0
- package/dist/types/utils/dom.d.ts +8 -0
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -225,6 +225,14 @@ If two actions use the same shortcut, the first registered action wins until it
|
|
|
225
225
|
development builds warn.
|
|
226
226
|
Buttons keep their ordinary focus, Enter, and Space behavior.
|
|
227
227
|
|
|
228
|
+
Built-in widgets yield Cmd/Ctrl+Enter and Cmd/Ctrl+Shift+Enter to the topmost dialog when it owns
|
|
229
|
+
the event. Open selectors, date and time pickers, menus, context menus, menubar menus, and staged comboboxes keep Enter
|
|
230
|
+
local to select or apply values. Their closed controls yield to the dialog. Other widgets yield
|
|
231
|
+
before changing selection, opening popups, or activating items.
|
|
232
|
+
The dialog reserves these chords even when its action is missing, disabled, or pending. Outside
|
|
233
|
+
the dialog's content and registered portals, widget keyboard behavior stays unchanged. Plain
|
|
234
|
+
Enter, Shift+Enter, and modifier combinations the dialog does not own retain their existing behavior.
|
|
235
|
+
|
|
228
236
|
Use `shortcutEnabled={false}` to unregister a mounted action without disabling its button; set
|
|
229
237
|
it on inactive views when they share a shortcut. A disabled `Dialog.Shortcut` can render outside
|
|
230
238
|
`Dialog.Content`; enabled registration requires content. For platform-specific hints,
|