v2.1.0 - Slider Range Filter is back
2.1.0 (2022-11-17)
Quick Summary
- This new version brings back the Slider Range Filter (see Example 14 and Example 16), that was dropped in 5.0.0 because of the jQueryUI removal and this new Filter got rewritten in pure JS. That required a lot of code change and while at it, I decided to improve the styling and also merge all Slider Filters into 1 class (compound, range & single) to help build size. I also decided to merge all other Compound & Regular Filters into their own single classes for the same reason. Also all options related Slider were moved inside
filterOptions
and/oreditorOptions
- Some other great enhancements were done on the Custom Tooltip addon to help with Slider Filters/Editors, Tooltips will now receive the Slider value instantly while dragging the slider and with that you could even use the Slider without always showing the side numbers (see Example 16)
- Another great feature was to add Sorting in each group by column of Draggable Grouping (see Example 3)
- Lastly target elements were added to search events & Grid State allowing the user to know if a Compound Filter got updated by its compound operator dropdown or by its input value.
Bug Fixes
- build: upgrading to TypeScript 4.9 brought new build issue (#816) (4d46d8a) - by @ghiscoding
- common: changing Slider value(s) should update Tooltip instantly (#800) (9c6be27) - by @ghiscoding
- common: Slider Range should update both number addons (#803) (3cfd84e) - by @ghiscoding
- deps: update dependency autocompleter to v7 (#804) (c298646) - by @renovate-bot
- deps: update dependency dompurify to ^2.4.1 (#806) (a33d8fb) - by @renovate-bot
- editors: disable browser autofill on the Editors.autocompleter (#776) (fd2cf53) - by @ghiscoding
- editors: Slider editor track not showing after Slider filter change (#792) (2ad02d2) - by @ghiscoding
- filters: changing Slider value should update tooltip value (#788) (509a31d) - by @ghiscoding
- filters: Slider default operator should be greater or equal (>=) (#793) (b895864) - by @ghiscoding
- styling: new Slider not flexed correctly (#799) (83a86d0) - by @ghiscoding
- toolip: left & right align were inverted (#797) (91c4a5c) - by @ghiscoding
Features
- addon: add group by sorting to SlickDraggableGrouping (#814) (962a756) - by @ghiscoding
- common: add "targetSelector" to onFilterChanged & Grid State (#813) (a25791a) - by @ghiscoding
- common: use editorOptions/filterOptions instead of params (#798) (a3c8b6e) - by @ghiscoding
- core: expose EventPubSub Service on SlickerGridInstance (#780) (8ad54b5) - by @ghiscoding
- filters: add "target" prop to
onBeforeSearchChange
(#796) (c4606fd) - by @ghiscoding - filters: add back Slider Range filter in pure JS (#784) (b84525c) - by @ghiscoding
- filters: add grid option
skipCompoundOperatorFilterWithNullInput
(#794) (617c88d) - by @ghiscoding - filters: add Slider filter track filled track color (#795) (5fbd9c9) - by @ghiscoding
- plugins: sync column definitions to user after plugin adds column (#781) (0755b65) - by @ghiscoding
- tooltip: add a new "center" position option to SlickCustomTooltip (#787) (b019de5) - by @ghiscoding
Performance Improvements
- filters: merge all date range & compound filters into one class (#812) (ca9adfa) - by @ghiscoding
- filters: merge all input & compound filters into one class (#809) (6d08f4d) - by @ghiscoding
- filters: merge all Slider filters into one class (#791) (fc4304b) - by @ghiscoding