Keyboard-friendly, accessible and highly customizable multi-select component
MIT License
Published by janosh almost 2 years ago
activeIndex
and activeOption
by @janosh in https://github.com/janosh/svelte-multiselect/pull/139
Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v8.0.0...v8.0.1
Published by janosh about 2 years ago
Rename prop noOptionsMsg
->noMatchingOptionsMsg
by @janosh in https://github.com/janosh/svelte-multiselect/pull/133
yarn
to pnpm
by @janosh in https://github.com/janosh/svelte-multiselect/pull/134
New prop resetFilterOnAdd by @janosh in https://github.com/janosh/svelte-multiselect/pull/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 https://github.com/janosh/svelte-multiselect/pull/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: https://github.com/janosh/svelte-multiselect/compare/v7.1.0...v8.0.0
Published by janosh about 2 years ago
Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v7.0.2...v7.1.0
Published by janosh about 2 years ago
Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v7.0.1...v7.0.2
Published by janosh about 2 years ago
Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v7.0.0...v7.0.1
Published by janosh about 2 years ago
Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v6.1.0...v7.0.0
Published by janosh about 2 years ago
userInputAs
prop reference by @oskar-gmerek in https://github.com/janosh/svelte-multiselect/pull/115
inputmode
and pattern
by @oskar-gmerek in https://github.com/janosh/svelte-multiselect/pull/116
Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v6.0.3...v6.1.0
Published by janosh about 2 years ago
.eslintrc.yml
set @typescript-eslint/no-inferrable-types: off
+ simplify readme props testing in tests/unit/readme.test.ts
Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v6.0.2...v6.0.3
Published by janosh about 2 years ago
Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v6.0.1...v6.0.2
Published by janosh about 2 years ago
Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v6.0.0...v6.0.1
Published by janosh about 2 years ago
Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v5.0.6...v6.0.0
Published by janosh about 2 years ago
scroll-into-view-if-needed
' by @janosh in https://github.com/janosh/svelte-multiselect/pull/99, reported by @davipon in #98Published by janosh about 2 years ago
scroll-into-view-if-needed
ponyfill by @janosh in https://github.com/janosh/svelte-multiselect/pull/97 (fixes auto-scrolling the dropdown list of options when using arrow keys)Published by janosh over 2 years ago
'remove-icon'
by @janosh in https://github.com/janosh/svelte-multiselect/pull/93
vitest
to @playwright/test
by @janosh in https://github.com/janosh/svelte-multiselect/pull/95
Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v5.0.3...v5.0.4
Published by janosh over 2 years ago
activeOption
to null
if not in matchingOptions
in https://github.com/janosh/svelte-multiselect/pull/90
Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v5.0.2...v5.0.3
Published by janosh over 2 years ago
li.scrollIntoViewIfNeeded()
with standardized li.scrollIntoView()
in https://github.com/janosh/svelte-multiselect/pull/88 (issue #87)Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v5.0.1...v5.0.2
Published by janosh over 2 years ago
strongly type custom events like add, remove, etc.
was previously typed with createEventDispatcher against internal misuse but will now also type guard in external usage
package.json add field "main": "index.js"
follows best packaging practices recommended in https://github.com/janosh/svicons/issues/4
revert value key on type ObjectOption to optional and change type to unknown
option values can now e.g. be objects and default to option labels if undefined
fix function add() using get_value() where it should be get_label()
update rows for options,selectedLabels,selectedValues in readme props table
Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v5.0.0...v5.0.1
Published by janosh over 2 years ago
sortSelected
in https://github.com/janosh/svelte-multiselect/pull/76 (see #57 for details)Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v4.0.6...v5.0.0
Published by janosh over 2 years ago
allowUserOptions
in https://github.com/janosh/svelte-multiselect/pull/69
Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v4.0.5...v4.0.6
Published by janosh over 2 years ago
localStorage
binding in https://github.com/janosh/svelte-multiselect/pull/66
Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v4.0.4...v4.0.5