svelte-multiselect

Keyboard-friendly, accessible and highly customizable multi-select component

MIT License

Downloads
39.5K
Stars
281
Committers
13
svelte-multiselect - v8.0.1

Published by janosh almost 2 years ago

What's Changed

Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v8.0.0...v8.0.1

svelte-multiselect - v8.0.0

Published by janosh about 2 years ago

What's Changed

  • 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

svelte-multiselect - v7.1.0

Published by janosh about 2 years ago

What's Changed

Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v7.0.2...v7.1.0

svelte-multiselect - v7.0.2

Published by janosh about 2 years ago

What's Changed

Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v7.0.1...v7.0.2

svelte-multiselect - v7.0.1

Published by janosh about 2 years ago

What's Changed

Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v7.0.0...v7.0.1

svelte-multiselect - v7.0.0

Published by janosh about 2 years ago

What's Changed

Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v6.1.0...v7.0.0

svelte-multiselect - v6.1.0

Published by janosh about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v6.0.3...v6.1.0

svelte-multiselect - v6.0.3

Published by janosh about 2 years ago

What's Changed

Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v6.0.2...v6.0.3

svelte-multiselect - v6.0.2

Published by janosh about 2 years ago

What's Changed

Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v6.0.1...v6.0.2

svelte-multiselect - v6.0.1

Published by janosh about 2 years ago

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 https://github.com/janosh/svelte-multiselect/pull/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: https://github.com/janosh/svelte-multiselect/compare/v6.0.0...v6.0.1

svelte-multiselect - v6.0.0

Published by janosh about 2 years ago

What's Changed

  • SvelteKit routes auto migration by @janosh in https://github.com/janosh/svelte-multiselect/pull/101
  • Better on mobile and better about which option is active by @janosh in https://github.com/janosh/svelte-multiselect/pull/103
    509b2c5 set vite dev and preview ports to 3000
    b90c073 sveltekit '$app/env' renamed to '$app/environment'
    06973fd determine active option not by label but by index in array of matchingOptions
    ce493f5 document new props activeIndex, focusInputOnSelect, breakpoint in readme
    f74bd4d document showOptions -> open rename in readme under recent breaking changes
    9640f5b improve description of Slot Components example
    6f536a8 change web server command for testing to yarn dev (from server)
    f7c84ed fix 2 broken tests using page.goto({ waitUntil: 'networkidle' })
    be2f817 switch to adapter-netlify for time being and use edge

Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v5.0.6...v6.0.0

svelte-multiselect - v5.0.6

Published by janosh about 2 years ago

What's Changed

svelte-multiselect - v5.0.5

Published by janosh about 2 years ago

What's Changed

svelte-multiselect - v5.0.4

Published by janosh over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v5.0.3...v5.0.4

svelte-multiselect - v5.0.3

Published by janosh over 2 years ago

What's Changed

Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v5.0.2...v5.0.3

svelte-multiselect - v5.0.2

Published by janosh over 2 years ago

What's Changed

Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v5.0.1...v5.0.2

svelte-multiselect - v5.0.1

Published by janosh over 2 years ago

What's Changed

  • 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

svelte-multiselect - v5.0.0

Published by janosh over 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v4.0.6...v5.0.0

svelte-multiselect - v4.0.6

Published by janosh over 2 years ago

What's Changed

Full Changelog: https://github.com/janosh/svelte-multiselect/compare/v4.0.5...v4.0.6

svelte-multiselect - v4.0.5

Published by janosh over 2 years ago