svelecte

Flexible autocomplete/select component written in Svelte,

MIT License

Downloads
24.5K
Stars
459
Committers
11
svelecte -

Published by mskocik 7 months ago

Fixes:

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

Published by mskocik 8 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...
svelecte -

Published by mskocik 9 months ago

Fixes:

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

Published by mskocik about 1 year ago

Fixes:

  • fix virtual list redrawing issue in some browsers (#194)
svelecte - v3.17.0

Published by mskocik about 1 year ago

New:

  • add fetchDebounceTime to customize debounce time (#192)

Fixes:

  • fix mac detection (#191)
svelecte -

Published by mskocik over 1 year ago

Fixes:

  • fix Firefox-only bug not showing validation message #166
svelecte - v3.16.0

Published by mskocik over 1 year ago

New:

  • add prop highlightFirstItem (by @scoopandrun in #163)
svelecte -

Published by mskocik over 1 year ago

Fixes:

  • correctly expose hasDropdownOpened property for indicator-icon slot
  • focus input when opening dropdown by clicking on dropdown toggle
svelecte -

Published by mskocik over 1 year ago

Fixes

  • fix bug (#161) introduced in the latest release related to #9
svelecte - v3.15.3

Published by mskocik over 1 year ago

Fixes:

  • edit logic calling preventDefault on input element (#134)
  • require second tap on mobile to show virtual keyboard (#9)
svelecte -

Published by mskocik over 1 year ago

Fixes (tweak)

  • allow to set selectOnTab to select-navigate value to immediately move focus to the next element, ie. keep default Tab behaviour (#154)
svelecte -

Published by mskocik over 1 year ago

New:

  • add prop alwaysCollapsed to keep selection always collapsed. Selection is then shown in dropdown
svelecte - v3.14.0

Published by mskocik over 1 year ago

Changes

svelecte -

Published by mskocik almost 2 years ago

Fixes:

  • fix list message for init fetch with empty list (#147)
svelecte -

Published by mskocik almost 2 years ago

Fixes:

  • allow setting new value outside option list when creatable and valueAsObject is true and passed value object has $created: true (ref #145)
svelecte -

Published by mskocik almost 2 years ago

Fixes

  • fix case when max has been reached and bound value has been changed (which previously resulted in clearing the selection) (#145)
  • loose comparison for max if string has been passed (mentioned #145)
svelecte -

Published by mskocik almost 2 years ago

New:

  • added new slot named control-end (PR #143)
svelecte -

Published by mskocik about 2 years ago

New:

  • added property closeAfterSelect to control if dropdown should close after each selection when in multiple mode (#106) (PR #136)
svelecte -

Published by mskocik about 2 years ago

Fixes

  • respect groupItemsField prop in group items init (PR #135)
svelecte -

Published by mskocik about 2 years ago

New:

Custom element specific features:

  • added value-delimiter property to have it possible to have , chracter in values (#133)
  • enable (partially) to override i18n as stringified json property (#131)
Package Rankings
Top 2.59% on Npmjs.org
Badges
Extracted from project README
NPM version
Related Projects