Skip to content

slab-elements@0.1.2

Choose a tag to compare

@github-actions github-actions released this 19 Oct 16:57
· 130 commits to main since this release
eb83764

Patch Changes

  • #11 e5b3ee2 Thanks @ynotdraw! - Combobox takes multiple. Each selected Option is shown before the input as a tag, a button that removes it, and choosing an Option toggles it and leaves the listbox open. Backspace in an empty input removes the last tag, and Left at the start of the input moves to the tags. values reads and sets every selected value, in the order they were chosen, and each is submitted as its own entry, as a <select multiple> submits them. Style the tags with ::part(tag) and ::part(tags), and name their buttons with removeLabel.

  • #9 7c4e2c7 Thanks @ynotdraw! - Adds Toggle Group, slab-toggle-group, and its slab-toggle-group-button: a row of toggle buttons that Tab reaches once and the arrow keys move between. One button is pressed at a time, or several with multiple. Set pressed on a button that starts out pressed; the group handles aria-pressed. value and values read and set which are pressed.