This lib allows you to select multiple elements with checkboxes
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] 7 months ago
Published by github-actions[bot] 7 months ago
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 |
labelId
option for accessibility (#254) (f66852f) - by @ghiscodingclassNameToList()
function to remove extra spaces in classes (#244) (a0adf0c) - by @ghiscodingshowClear
, don't show btn unless having selection (#245) (28ad6b4) - by @ghiscodingPublished by github-actions[bot] 8 months ago
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.
tabIndex
by arrow navigation highlight, fix #206 (#213)virtualScroll
option that could be disabled (#225) (d9f9fdb) - by @ghiscodinginfiniteScroll
auto-scroll back to top (#224) (fb74e74) - by @ghiscodingtabIndex
by arrow navigation highlight, fixes #206 (#213) (50be59c) - by @ghiscodingariaMultiSelectable
only with multiple select (a39c535) - by @ghiscodingPublished by github-actions[bot] 10 months ago
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).
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) |