Repository navigation
@lion/ui@0.23.0
Minor Changes
-
392201c: Add the menu system to
@lion/ui:<lion-menu>,<lion-item>and<lion-menuitem>, built on the
sharedInteractiveListMixin, plus theMultiLevelListMixinandMoreButtonMenuMixinbuilding
blocks. Menus, listboxes, toolbars and trees now share one keyboard-navigable interactive-list
implementation (roving tabindex, activedescendant, type-ahead, wrap-around, multi-level lists and
the "more" button pattern).Consumers get
LionMenu,LionItemandLionMenuitemfrom@lion/ui/exports/menu.js, the
lion-menu/lion-item/lion-menuitemelement definitions, andrunInteractiveListMixinSuite,
runMultiLevelListMixinSuiteandrunLionMenuInteractionsSuitefor their own test suites.Overlays gained the pieces the menu builds on:
OverlayConfigacceptsplacementMode: 'custom',syncChildrenCloseState,
elementToFocusOnShow,isActivatedandrequireConnectedNodes; the unused internal
_noDialogElflag is gone.withClickInteractionandwithHoverInteractionare exported from
@lion/ui/exports/overlays.js(they were internal visibility-trigger partials).
The interactive-list api speaks the focusgroup
vocabulary, so implementations that follow the platform proposal recognise the names:axis
('block'default /'inline') replacesorientation(vertical/horizontal),
wrapreplacesrotateKeyboardNavigationandmultiplereplacesmultipleChoice.
hasNoDefaultSelected(the initial selectedness the platform calls "default selected", and the same
propertyListboxMixinexposes) replacesnoPreselect;selectionFollowsFocusstays, it is the
ARIA APG term for exactly that behaviour.
Patch Changes
- fb55824: [input-amount] add option to set currencyLabel as a symbol
- 23610da: OverlayController: fix
TypeError(appendChildargument is not a Node) when acontentWrapperNodethat is not connected yet (e.g. in a host that is not attached to the document) wraps a projected slot and the controller is re-initialized viaupdateConfig. The relocated slot is now captured before the DOM is mutated and restored at its original position on cleanup. - 163e149: Update phone-number validation metadata to libphonenumber v9.0.41, including French Guiana premium-rate numbers, using a temporary bundled awesome-phonenumber build until an upstream release includes the metadata.
- 0996264: [combobox] sync the checked option label to the textbox on overlay close while the input is focused (autocomplete list/none)
- 6611298: Prevent closed select-rich options from scrolling the page during element upgrade or type-ahead selection.