multiple-select-vanilla

This lib allows you to select multiple elements with checkboxes

MIT License

Downloads
12.4K
Stars
12

Bot releases are visible (Hide)

multiple-select-vanilla - v3.2.2 Latest Release

Published by github-actions[bot] 5 months ago

3.2.2 (2024-05-23)

Bug Fixes

  • use composedPath instead of target to support ShadowDOM, fixes #278 (#279) (3f473c3) - by @silvester-pari
multiple-select-vanilla - v3.2.1

Published by github-actions[bot] 6 months ago

3.2.1 (2024-05-11)

Bug Fixes

  • only open drop when exists after open delay (#277) (866ee53) - by @ghiscoding
multiple-select-vanilla - v3.2.0

Published by github-actions[bot] 6 months ago

3.2.0 (2024-05-08)

Features

  • add reason param to onClose(reason) (#273) (b3ae32f) - by @ghiscoding
multiple-select-vanilla - v3.1.4

Published by github-actions[bot] 6 months ago

3.1.4 (2024-05-07)

Bug Fixes

  • Escape key should always close drop (#271) (84e317b) - by @ghiscoding
multiple-select-vanilla - v3.1.3

Published by github-actions[bot] 6 months ago

3.1.3 (2024-05-02)

Bug Fixes

  • remove column gap and leave it to be customizable by user (#270) (9db3fd4) - by @ghiscoding
multiple-select-vanilla - v3.1.2

Published by github-actions[bot] 6 months ago

3.1.2 (2024-05-01)

Bug Fixes

  • better flex alignment of label span (55ce09a) - by @ghiscoding
  • better flex alignment of label span (48c6fe9) - by @ghiscoding
multiple-select-vanilla - v3.1.0

Published by github-actions[bot] 7 months ago

3.1.0 (2024-03-23)

Features

  • add new event onFilterClear missing (#260) (cb8923c) - by @ghiscoding

Bug Fixes

  • add missing CSS/SASS variables for SVG icons (cc11a8b) - by @ghiscoding
  • select drop should equal same width as select button (#259) (6f854a1) - by @ghiscoding
  • tweak CSS and use same border color for both drop & button (1f774d0) - by @ghiscoding
  • vscroll event mem leak causing unexpected behavior after filtering (#261) (74fed35) - by @ghiscoding
multiple-select-vanilla - v3.0.0

Published by github-actions[bot] 7 months ago

3.0.0 (2024-03-22)

Quick Info

This release brings a completely revamped UI using SVG icons, improved UI overall and add/replace some more CSS/SASS variables. Please note that because the lib is now using SVG icons which indirectly dropped support for Font icons, there are also more use of CSS flexbox to align SVG icons and texts. Another breaking change was to remove some methods and options that were previously deprecated and removed in this release as shown below

option or method name alternative
addTitle option use displayTitle instead
styler method use cssStyler instead

⚠ BREAKING CHANGES

  • remove deprecated options (#251)
  • new Modern Look by using SVG icons (#247)

Features

  • add new labelId option for accessibility (#254) (f66852f) - by @ghiscoding
  • new Modern Look by using SVG icons (#247) (a89059f) - by @ghiscoding
  • remove deprecated options (#251) (a25882f) - by @ghiscoding
  • replace caret & clear icons by SVG icons (#238) (a5bc462) - by @ghiscoding

Bug Fixes

  • add classNameToList() function to remove extra spaces in classes (#244) (a0adf0c) - by @ghiscoding
  • clicking Tab key should focus on OK btn or Shift+Tab to inverse (1b06a99) - by @ghiscoding
  • don't show pointer cursor when hovering disabled element (#248) (15caab9) - by @ghiscoding
  • flip icon vertically when select drop is open (#240) (1d74e26) - by @ghiscoding
  • infinite scroll with arrow navigation should work with short list (#256) (57f8d6a) - by @ghiscoding
  • nav highlight shouldn't follow mouse pos when using nav arrows (#257) (3c4950d) - by @ghiscoding
  • only add icon container element when actually used (#250) (7406bd3) - by @ghiscoding
  • select drop caret icon not flipping vertically when opened (#243) (42c87f7) - by @ghiscoding
  • when using showClear, don't show btn unless having selection (#245) (28ad6b4) - by @ghiscoding
multiple-select-vanilla - v2.2.1

Published by github-actions[bot] 8 months ago

2.2.1 (2024-03-08)

Bug Fixes

  • query DOM element without role for cross-platform compatibility (#237) (1a71fe4) - by @ghiscoding
multiple-select-vanilla - v2.2.0

Published by github-actions[bot] 8 months ago

2.2.0 (2024-03-05)

Features

  • add navigationHighlight to optionally disable built-in feature (#235) (9da0baa) - by @ghiscoding
multiple-select-vanilla - v2.1.0

Published by github-actions[bot] 8 months ago

2.1.0 (2024-02-24)

Features

  • add Dark Mode option (#232) (d0f20e2) - by @ghiscoding
multiple-select-vanilla - v2.0.2

Published by github-actions[bot] 8 months ago

2.0.2 (2024-02-22)

Bug Fixes

  • opening drop should focus on next available option only initially (#229) (a268e80) - by @ghiscoding
multiple-select-vanilla - v2.0.1

Published by github-actions[bot] 8 months ago

2.0.1 (2024-02-22)

Bug Fixes

  • add SASS/CSS variable to remove drop outline (#228) (bf4fa0f) - by @ghiscoding
multiple-select-vanilla - v2.0.0

Published by github-actions[bot] 8 months ago

2.0.0 (2024-02-21)

Quick Info

This new release brings some small breaking changes, as shown below, the biggest change is mostly a UX change that switches from tabIndex to arrow navigation highlight. This change is much better for user experience since it allows the user to use both the filter (when enabled) and the arrow navigation at the same time (the previous implementation didn't allow this). The other change is where the distribution are located, this shouldn't be a problem for most users but you might want to take a look at the new dist folder structure displayed on the readme. There's also a new Infinite Scroll not to be confused with Virtual Scroll

The lib should a lot more UX friendly and also all Aria attributes were revisited and some fixes were applied too.

⚠ BREAKING CHANGES

  • export Locale as named exports (#219)
  • change TS Types exports location (#218)
  • replace arrow navigation tabIndex by arrow navigation highlight, fix #206 (#213)

Features

  • add virtualScroll option that could be disabled (#225) (d9f9fdb) - by @ghiscoding
  • add new option infiniteScroll auto-scroll back to top (#224) (fb74e74) - by @ghiscoding
  • change TS Types exports location (#218) (38d3142) - by @ghiscoding
  • export Locale as named exports (#219) (6eb57ce) - by @ghiscoding
  • replace arrow navigation tabIndex by arrow navigation highlight, fixes #206 (#213) (50be59c) - by @ghiscoding

Bug Fixes

  • use ariaMultiSelectable only with multiple select (a39c535) - by @ghiscoding
multiple-select-vanilla - v1.2.5

Published by github-actions[bot] 9 months ago

1.2.5 (2024-01-31)

Bug Fixes

  • Virtual Scroll not working on large dataset w/HTML render enabled, fixes #203 (#204) (0f32e65) - by @ghiscoding
multiple-select-vanilla - v1.2.4

Published by github-actions[bot] 9 months ago

1.2.4 (2024-01-30)

Bug Fixes

  • npm: remove some files from npm publish (c5f273e) - by @ghiscoding
multiple-select-vanilla - v1.2.3

Published by github-actions[bot] 9 months ago

1.2.3 (2024-01-30)

Bug Fixes

  • npm: do not npm publish tsconfig.tsbuildinfo (6b3ab02) - by @ghiscoding
multiple-select-vanilla - v1.2.2

Published by github-actions[bot] 9 months ago

1.2.2 (2024-01-30)

Bug Fixes

  • npm: do not npm publish tsconfig.tsbuildinfo (2871d00) - by @ghiscoding
multiple-select-vanilla - v1.2.1

Published by github-actions[bot] 9 months ago

1.2.1 (2024-01-30)

Bug Fixes

  • npm: publish src folder for source maps (#202) (a09d98a) - by @ghiscoding
multiple-select-vanilla - v1.2.0

Published by github-actions[bot] 10 months ago

1.2.0 (2024-01-13)

Quick Info

This is removing previous diacritic fallback and only keep the normalize() function which is supported by all modern browsers. The fallback implementation was using a long list of unicode mapping with string replacement, by removing this unnecessary fallback we actually decrease our library size by quite a lot (see below). If for whatever reason removing this causes any issues, users could add their own custom implementation via the diacriticParser option (see new Example).

Size Difference

file on disk, not compressed or gzip (final size should be much smaller)

before after diff
956Kb (979,219) 882Kb (903,442) 74Kb (or 7.74% smaller)

Features

  • remove previous diacritic unicodes and add diacriticParser (#190) (aaa9d92) - by @ghiscoding