Svelecte Versions Save

Flexible autocomplete/select component written in Svelte,

v5.0.0-next.4

4 days ago

Fixes:

  • set undefined as initial value for optional snippets

v5.0.0-next.3

4 days ago

Fixes

  • update internal logic to prevent infinite loop

v5.0.0-next.2

6 days ago

Breaking:

  • replace slots with snippets

v5.0.0-next.1

1 week ago

Make library compatible with upcoming svelte v5. Mostly internal changes.

Breaking changes 💥

  • Drop dispatching custom events through createEventDispatcher. Callback methods are expected instead. Previous event names has now added prefix on and are properly capitalized. This is a list of event to callback mapping:
    • change changed to onChange
    • focus changed to onFocus
    • blur changed to onBlur
    • createoption changed to onCreateOption
    • createFail changed to onCreateFail
    • enterKey changed to onEnterKey
    • fetch changed to onFetch
    • fetchError changed to onFetchError
    • invalidValue changed to onInvalidValue
  • Drop support for svelte-use-form validation library.

v4.1.0

2 weeks ago

New

  • extend search props (#221)
  • add listener to wrapping form reset event (#156)
  • added option slot example to docs (#223)
  • update inner logic for custom element
  • add standalone build for custom-element version (available in /bundle folder)

Fixes

  • ensure dropdown is valid before trying to show aria message on dropdown open (#224)

v4.0.1

1 month ago

Fixes:

  • ensure initial selection is reflected on internal <select> correctly (#220, #168)

v4.0.0

2 months ago

Complete component overhaul 🥳

And this means some breaking changes, unfortunately.

Breaking changes 💥

What's new? 🤩

  • add parentValue prop to control state of given component
  • add strictMode to toggle, whether accept or not any passed value
  • add keepSelectionInList to allow control of 'disappearing items' in multiselect (#205)
  • add re-fetching intial value in 'query' mode (#212)
  • add optionResolver to allow solve complex and dependently served option list (#199)
  • add CSS variables for complete and easy theming control (#141)
  • add tests (#37)
  • add aria support (#13, #186)
  • allow async in createTransform (#209)
  • tweaks to custom element to drop usage of setTImeout in onConnectedCallback (#124)
  • full typescript support (#80)
  • moved to sveltekit (#49)

Fixes 🩹

  • allow dnd with collapsedSelection (#200)
  • fix text overflow (#188)
  • fix a11y warnings (#185)
  • proper focus-related behavior when clicking clear icon (#182)
  • some fetch related issue (#181)
  • and many more...

v3.17.3

3 months ago

Fixes:

  • set unique id for input to prevent collision with <select> element (match v4-dev behaviour)

v3.17.1

8 months ago

Fixes:

  • fix virtual list redrawing issue in some browsers (#194)

v3.17.0

8 months ago

New:

  • add fetchDebounceTime to customize debounce time (#192)

Fixes:

  • fix mac detection (#191)