Releases: janosh/svelte-multiselect
v8.0.1
v8.0.0
What's Changed
-
Rename prop
noOptionsMsg
->noMatchingOptionsMsg
by @janosh in #133 -
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 inselected
(ornull
ifselected
is empty). IfmaxSelect != 1
,maxSelect
andselected
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
v7.1.0
v7.0.2
v7.0.1
What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #124
- Add SCSS preprocessing by @janosh in #126
- Fix single select with arrow and enter keys by @janosh in #128
- 1adbc99 more unit tests
- fd8b377 test required but empty MultiSelect fails form validity check (i.e. causes unsubmittable form) and filled one passes it
Full Changelog: v7.0.0...v7.0.1
v7.0.0
v6.1.0
What's Changed
- Fix top option not selectable with enter key by @janosh in #113
- docs: remove
userInputAs
prop reference by @oskar-gmerek in #115 - Add props
inputmode
andpattern
by @oskar-gmerek in #116 - Forward input DOM events by @janosh in #120
New Contributors
- @oskar-gmerek made their first contribution in #115
Full Changelog: v6.0.3...v6.1.0
v6.0.3
What's Changed
- Fix using arrow keys to control active option in dropdown list by @janosh in #111
- c688773
.eslintrc.yml
set@typescript-eslint/no-inferrable-types: off
+ simplify readme props testing intests/unit/readme.test.ts
Full Changelog: v6.0.2...v6.0.3
v6.0.2
v6.0.1
What's Changed
- Better format for documenting component props in readme with better testing for QA,
i.e. making sure readme and component stay in sync by @janosh in #105
81a80a1 only publish to NPM in CI on Linux runner
d105502 document minor breaking changes in v6.0.1
9aaee2e sort MultiSelect props alphabetically
af388a2 use more readable numbered list with code fences to document props in readme
e91c191 test readme lists correct type and default value for primitive-type props
e239668 drop tests action strategy matrix due to annoying RegExp() inconsistencies on windows
Full Changelog: v6.0.0...v6.0.1