Releases: statistikZH/leu
Releases · statistikZH/leu
v0.12.2
v0.12.1
v0.12.0
v0.11.1
v0.11.0
v0.10.0
v0.9.0
0.9.0 (2024-07-24)
Features
- menu-item: add multipleSelection property to display a check icon (#227) (02358cc)
- spinner: implement spinner animation element (ba6257e)
- theme: add :host pseudo class so that the theme can be used in a shadow root (#221) (66e4676)
- use new zh web typeface inter (#224) (820deca)
Bug Fixes
- button: remove border to match sizes of the design system (#223) (9fa2cbb)
- checkbox: avoid 'undefined' values and fallback to an empty string (2f9f95f)
- dropdown: properly handle the document click events when the element is used in a shadow dom (0c6c5a9)
- radio: avoid 'undefined' values and fallback to an empty string (2f9f95f)
- select: properly handle the document click events when the element is used in a shadow dom (0c6c5a9)
v0.8.0
0.8.0 (2024-07-16)
Features
- chip: add getValue method that returns either the value or the text content of the chip (78eb332)
Bug Fixes
- checkbox-group: use lowercase values for orientation attribute (da68c5e)
- don't define dependencies in the constructor. add version variable for better comparison (14eda96)
- menu-item: apply correct active colors to match style guide and to be wcag compliant (#211) (1f8e957)
- menu-item: use textContent instead of innerText to avoid triggering a reflow (78eb332)
- radio-group: use lowercase values for orientation attribute (da68c5e)
v0.7.0
v0.6.0
0.6.0 (2024-07-01)
Features
- icon: create an icon element (0a8351c)
- icon: render a placeholder if the name of the icon is unknown or not set (a7dae7c)
- menu-item: implement getValue method (9846e87)
- menu-item: use hover and highlighted styling for focus too (78c3e68)
- menu: avoid captured key events from navigating the whole page (#191) (c40fc4e)
- menu: implement roving tab index (78c3e68)
- menu: move all focus handling to the menu component (9846e87)
- register dependency elements not before the dependent element (4dfddcd)
- select: always close the popup when focus leaves the element (9846e87)
- select: set max height of the menu (9846e87)
- select: use arrow buttons to navigate to listbox from the text input field (9846e87)
Bug Fixes
- buttons should inherit font-family (9846e87)
- button: set aria-expanded on the actual interactive element (78c3e68)
- dropdown: replace hardcoded icon with a slot (#189) (8954616)
- icon: mark icon as presentational so it won't be announced by screen readers (#186) (5d3d427)
- icon: remove faulty paths (0a8351c)
- input: avoid overlap by hiding the label (#182) (d4edc51)
- menu-item: allow disabled menu items to still be focusable (78c3e68)
- menu-item: apply tab-index to the actual interactive element (9846e87)
- menu-item: only add aria attribute to the button element (78c3e68)
- menu-item: remove deprecated properties before and after (78c3e68)
- menu-item: use colors that are WCAG AA compliant (5c59899)
- menu: only add role when no role was defined before (78c3e68)
- popup: define a z-index value for the popup content (#184) (72ec681)
- popup: reflect properties to attributes (#200) (44aec79)
- radio: remove label property as it is not used anymore (e105a6e)
- select: add background to apply button (9846e87)
- select: move leu-menu element into the shadow dom so the role is fully controlled (9846e87)
- select: only call focus if the element is available (5c59899)
- select: set correct aria attributes (9846e87)