Skip to content

v8.0.0

Compare
Choose a tag to compare
@janosh janosh released this 22 Oct 23:47
· 119 commits to main since this release

What's Changed

  • Rename prop noOptionsMsg->noMatchingOptionsMsg by @janosh in #133

  • yarn to pnpm by @janosh in #134

  • New prop resetFilterOnAdd by @janosh in #137

    • clean up components {Repo,Color}Slot.svelte

    • unskip test 'parseLabelsAsHtml+allowUserOptions gives errors'

    • set playwright test mode to parallel, now uses 5 workers instead of 1

    • add IconifySlot.svelte used in Examples.svelte with new octicon options, pnpm add -D @iconify/svelte

    • refactor maxSelectMsg prop and invalid reset handling when new selected options change

    • assert aria-invalid attribute is removed on selecting a new option

    • add prop resetFilterOnAdd: Whether text entered into the input to filter options in the dropdown list is reset to empty string when user selects an option.

    • add test 'resetFilterOnAdd handles input value correctly after adding an option'

  • Add new prop value by @janosh in #138

    • If maxSelect={1}, value will be the single item in selected (or null if selected is empty). If maxSelect != 1, maxSelect and selected are equal.

    • improve test 'required but empty MultiSelect makes form not pass validity check'

    • add tests for '2-way bind selected' and '1-way bind value'

    • shorten document query selectors and tweak unit test titles

Full Changelog: v7.1.0...v8.0.0