Slab

Changelog

Releases

Every release of Slab, newest first, with what's changed in each. It's the package's CHANGELOG.md, and the bigger releases have a page of their own, with live examples.

  1. 0.1.3 Upcoming

    What's new in 0.1.3 Nine new components, from Menubar to Color Picker, and ranges of days in Calendar.
  2. 0.1.2

    • 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. #11
    • 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. #9
  3. 0.1.1

    • The package now includes its custom elements manifest. Tools that read "customElements" from package.json, such as IDE plugins, Storybook and linters, can find every component's attributes, properties, events, slots, CSS parts and custom properties. It's at slab-elements/custom-elements.json. #5
  4. 0.1.0

    • The first release: 32 headless Web Components, each built on a native element, with keyboard and focus handling, ARIA, form participation and events, and no visual styles. Style them with ::part() and :state(), or subclass them and set styles. See slab-elements.dev to get started.