Repository navigation
0.1.0-alpha.1
Pre-release
Pre-release
What's Changed
Features
- Add the
Popovercomponent:<dialog popover="auto">driven by invoker commands (commandfor), with CSS anchor positioning, browser-owned light dismiss, andPopover.Closerunning an action before closing. - Add the
Menucomponent, an APG menu button on the Popover API:Item,CheckboxItem,RadioGroup/RadioItem,Group/GroupLabel,Separatorand submenus (SubmenuTrigger). Item actions run in a transition and the menu closes after the action settles. Includes keyboard navigation, typeahead, RTL-aware submenu keys and hover intent. - Add the
CheckboxGroupcomponent: a<fieldset>group withvalueAction, nativerequiredwhile nothing is checked, and a tri-stateParentcheckbox. Popover.Close,Dialog.CloseandMenu.Itemshare one action trigger. A rejection from a superseded action now reaches the Error Boundary, and a close whose action settles after the user re-opened the surface is dropped.
Fixes
Tabs: the experimentalfocusgroupprop now detects support through thefocusGroupIDL attribute and uses the browser's native arrow-key handling (#43).Dialog: a pendingDialog.Closeno longer closes a dialog that was dismissed and re-opened in the meantime, including JS-free/native opens.
Full Changelog: 0.1.0-alpha.0...0.1.0-alpha.1