What's Changed
New components
- KMultiSelect: A searchable select component that supports single and multiple selections, flat arrays, and deeply nested hierarchical trees with cascading selection behavior. By @Prashant-thakur77 in #1272, #1273, #1274, #1289, #1293 and #1296.
KListbox
- Updates KListbox
messagesprop to accept both plain strings and string functions. By @Prashant-thakur77 in #1291. - Adds support for new single-select mode for KSelect. For that, a new
multipleprop is added, defaulting totrueto switch between multi-select and single-select modes of the listbox component. By @Prashant-thakur77 in #1289 and #1293.
KThemePlugin
- Adds new theme CSS variables (
--tokens-*,--brand-*, and--palette-*) emitted into a<style id="k-theme-css-variables">head tag, initialized viaKThemePluginand synchronized withglobalThemeStateat runtime. By @LianaHarris360 in #1303.- Guidance: Note that version keys now map to a
vNformat (e.g.,palette.grey.v_400becomes--palette-grey-v400), while token names retain their original naming (e.g.,--theme-primary).
- Guidance: Note that version keys now map to a
List of supporting PRs
- Implement the useMultiSelectList composable and its tests for KMultiSelect by @Prashant-thakur77 in #1272
- Implement the useMultiSelectCascade composable and its tests for KMultiSelect by @Prashant-thakur77 in #1273
- Implement the useMultiSelectDropdown composable for KMultiSelect by @Prashant-thakur77 in #1274
- KListbox: Support functions (in addition to strings) for the messages prop by @Prashant-thakur77 in #1291
- Implement the KMultiSelectNode and KMultiSelectInput component for KMultiSelect by @Prashant-thakur77 in #1289
- Migrate KIconButton visual tests by @LianaHarris360 in #1294
- [KListbox] Add comprehensive Single-Select mode support by @Prashant-thakur77 in #1293
- Expose theme values as CSS variables by @LianaHarris360 in #1303
- Implement the KMultiSelect wrapper and Dropdown components for KMultiSelect by @Prashant-thakur77 in #1296
Full Changelog: v5.8.0...v5.9.0