@public-ui/components 4.3.0-rc.0 → 4.3.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/kolicons/kolicons.eot +0 -0
- package/assets/kolicons/kolicons.ttf +0 -0
- package/assets/kolicons/kolicons.woff +0 -0
- package/assets/kolicons/kolicons.woff2 +0 -0
- package/assets/kolicons/style.css +6 -6
- package/copy-assets.mjs +93 -0
- package/custom-elements.json +86 -2
- package/dist/cjs/{Alert-CVPzTxE7.js → Alert-sCyOqN4Y.js} +7 -7
- package/dist/cjs/{Alert-CVPzTxE7.js.map → Alert-sCyOqN4Y.js.map} +1 -1
- package/dist/cjs/{Collapsible-DgZrS8sE.js → Collapsible-CXL7ivPf.js} +5 -5
- package/dist/cjs/{Collapsible-DgZrS8sE.js.map → Collapsible-CXL7ivPf.js.map} +1 -1
- package/dist/cjs/{CustomSuggestionsOptionsGroup-Cu-DKRH_.js → CustomSuggestionsOptionsGroup-IZUE2a0s.js} +3 -3
- package/dist/cjs/{CustomSuggestionsOptionsGroup-Cu-DKRH_.js.map → CustomSuggestionsOptionsGroup-IZUE2a0s.js.map} +1 -1
- package/dist/cjs/{FieldControlStateWrapper-CElQn7sN.js → FieldControlStateWrapper-BO2aCnw8.js} +10 -10
- package/dist/cjs/{FieldControlStateWrapper-CElQn7sN.js.map → FieldControlStateWrapper-BO2aCnw8.js.map} +1 -1
- package/dist/cjs/{FormFieldStateWrapper-C93KLp60.js → FormFieldStateWrapper-6k6Tq8hj.js} +37 -26
- package/dist/cjs/FormFieldStateWrapper-6k6Tq8hj.js.map +1 -0
- package/dist/cjs/{Heading-Cswcjs5-.js → Heading-B6Xi_fyv.js} +3 -3
- package/dist/cjs/{Heading-Cswcjs5-.js.map → Heading-B6Xi_fyv.js.map} +1 -1
- package/dist/cjs/{Input-BmS5OT6F.js → Input-C1rCVtkO.js} +5 -5
- package/dist/cjs/{Input-BmS5OT6F.js.map → Input-C1rCVtkO.js.map} +1 -1
- package/dist/cjs/{InputStateWrapper-79jr7rz8.js → InputStateWrapper-CpejkP8n.js} +6 -6
- package/dist/cjs/{InputStateWrapper-79jr7rz8.js.map → InputStateWrapper-CpejkP8n.js.map} +1 -1
- package/dist/cjs/{app-globals-x09whKfp.js → app-globals-DY0OQlRq.js} +4 -4
- package/dist/cjs/{app-globals-x09whKfp.js.map → app-globals-DY0OQlRq.js.map} +1 -1
- package/dist/cjs/aria-details-BmkDULud.js +26 -0
- package/dist/cjs/aria-details-BmkDULud.js.map +1 -0
- package/dist/cjs/{aria-labelledby-BhnM3OnL.js → aria-labelledby-B9XsjpBQ.js} +3 -19
- package/dist/cjs/aria-labelledby-B9XsjpBQ.js.map +1 -0
- package/dist/cjs/aria-labelledby-BcORen6I.js +26 -0
- package/dist/cjs/aria-labelledby-BcORen6I.js.map +1 -0
- package/dist/cjs/{associated.controller-CUvZCmFF.js → associated.controller-CszW50pZ.js} +9 -3
- package/dist/cjs/associated.controller-CszW50pZ.js.map +1 -0
- package/dist/cjs/{variant-quote-DUWZtljE.js → base-web-component-BJNHmpIo.js} +10 -10
- package/dist/cjs/base-web-component-BJNHmpIo.js.map +1 -0
- package/dist/cjs/{bem-registry-D9uDM1GJ.js → bem-registry-bkUwdl0m.js} +5 -2
- package/dist/cjs/bem-registry-bkUwdl0m.js.map +1 -0
- package/dist/cjs/{bootstrap-De2npoa_.js → bootstrap-C8choj80.js} +3 -3
- package/dist/cjs/{bootstrap-De2npoa_.js.map → bootstrap-C8choj80.js.map} +1 -1
- package/dist/cjs/{component-C1vBQDN-.js → component-D25hbRHL.js} +4 -4
- package/dist/cjs/{component-C1vBQDN-.js.map → component-D25hbRHL.js.map} +1 -1
- package/dist/cjs/{component-4yrnT9ww.js → component-D40K1uIa.js} +5 -5
- package/dist/cjs/{component-4yrnT9ww.js.map → component-D40K1uIa.js.map} +1 -1
- package/dist/cjs/{component-CYZTV5r0.js → component-DprxeWfH.js} +4 -4
- package/dist/cjs/{component-CYZTV5r0.js.map → component-DprxeWfH.js.map} +1 -1
- package/dist/cjs/{component-EJOcQRXl.js → component-b-BmClT0.js} +4 -4
- package/dist/cjs/{component-EJOcQRXl.js.map → component-b-BmClT0.js.map} +1 -1
- package/dist/cjs/{controller-P5D-ZKaP.js → controller-DZKfoc-4.js} +3 -3
- package/dist/cjs/{controller-P5D-ZKaP.js.map → controller-DZKfoc-4.js.map} +1 -1
- package/dist/cjs/{controller-DHsc-8t1.js → controller-Dkyvgyzl.js} +15 -15
- package/dist/cjs/controller-Dkyvgyzl.js.map +1 -0
- package/dist/cjs/{controller-3DispTOw.js → controller-DmyMo0CO.js} +3 -3
- package/dist/cjs/{controller-3DispTOw.js.map → controller-DmyMo0CO.js.map} +1 -1
- package/dist/cjs/{controller-CShnVKSd.js → controller-MC2o6IAB.js} +3 -3
- package/dist/cjs/{controller-CShnVKSd.js.map → controller-MC2o6IAB.js.map} +1 -1
- package/dist/cjs/{controller-icon-BfIYzDZs.js → controller-icon-DyQbzU-v.js} +6 -6
- package/dist/cjs/{controller-icon-BfIYzDZs.js.map → controller-icon-DyQbzU-v.js.map} +1 -1
- package/dist/cjs/{dev.utils-Cdn-EtYb.js → dev.utils-DvNz4B2G.js} +3 -3
- package/dist/cjs/{dev.utils-Cdn-EtYb.js.map → dev.utils-DvNz4B2G.js.map} +1 -1
- package/dist/cjs/{devtools-BQj_-O6G.js → devtools-DpjUkBF_.js} +4 -4
- package/dist/cjs/{devtools-BQj_-O6G.js.map → devtools-DpjUkBF_.js.map} +1 -1
- package/dist/cjs/element-focus-B4BhAkh_.js.map +1 -1
- package/dist/cjs/{i18n-DL7vJXNn.js → i18n-BVrSOH9l.js} +3 -3
- package/dist/cjs/{i18n-DL7vJXNn.js.map → i18n-BVrSOH9l.js.map} +1 -1
- package/dist/cjs/{i18n-CgUN6lev.js → i18n-D1iTbPTC.js} +4 -2
- package/dist/cjs/i18n-D1iTbPTC.js.map +1 -0
- package/dist/cjs/{index-DBbl8tEq.js → index-Bo9_lDIt.js} +3 -3
- package/dist/cjs/{index-DBbl8tEq.js.map → index-Bo9_lDIt.js.map} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/kol-abbr.cjs.entry.js +45 -26
- package/dist/cjs/kol-abbr.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-accordion.cjs.entry.js +6 -6
- package/dist/cjs/kol-accordion.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-alert-wc.cjs.entry.js +8 -8
- package/dist/cjs/kol-alert.cjs.entry.js +3 -3
- package/dist/cjs/kol-alert.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-avatar.cjs.entry.js +8 -8
- package/dist/cjs/kol-avatar.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-badge.cjs.entry.js +8 -8
- package/dist/cjs/kol-badge.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +5 -5
- package/dist/cjs/kol-breadcrumb.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-button-link.cjs.entry.js +3 -3
- package/dist/cjs/kol-button-link.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-button-wc.cjs.entry.js +15 -13
- package/dist/cjs/kol-button-wc.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-button.cjs.entry.js +3 -3
- package/dist/cjs/kol-button.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-card-wc.cjs.entry.js +11 -11
- package/dist/cjs/kol-card.cjs.entry.js +3 -3
- package/dist/cjs/kol-card.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-click-button.cjs.entry.js +7 -7
- package/dist/cjs/kol-click-button.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-combobox.cjs.entry.js +53 -44
- package/dist/cjs/kol-combobox.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-details.cjs.entry.js +6 -6
- package/dist/cjs/kol-details.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-dialog-wc.cjs.entry.js +4 -4
- package/dist/cjs/kol-dialog.cjs.entry.js +3 -3
- package/dist/cjs/kol-dialog.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-drawer.cjs.entry.js +4 -4
- package/dist/cjs/kol-drawer.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-form.cjs.entry.js +20 -22
- package/dist/cjs/kol-form.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-heading.cjs.entry.js +5 -5
- package/dist/cjs/kol-heading.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-icon.cjs.entry.js +7 -7
- package/dist/cjs/kol-icon.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-image.cjs.entry.js +7 -7
- package/dist/cjs/kol-image.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +27 -20
- package/dist/cjs/kol-input-checkbox.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-color.cjs.entry.js +27 -20
- package/dist/cjs/kol-input-color.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-date.cjs.entry.js +27 -20
- package/dist/cjs/kol-input-date.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-email.cjs.entry.js +29 -22
- package/dist/cjs/kol-input-email.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-file.cjs.entry.js +27 -20
- package/dist/cjs/kol-input-file.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-number.cjs.entry.js +27 -20
- package/dist/cjs/kol-input-number.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-password.cjs.entry.js +28 -21
- package/dist/cjs/kol-input-password.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-radio.cjs.entry.js +27 -20
- package/dist/cjs/kol-input-radio.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-range.cjs.entry.js +29 -21
- package/dist/cjs/kol-input-range.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-text.cjs.entry.js +29 -22
- package/dist/cjs/kol-input-text.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-kolibri.cjs.entry.js +5 -5
- package/dist/cjs/kol-kolibri.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-link-button.cjs.entry.js +3 -3
- package/dist/cjs/kol-link-button.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-link-wc.cjs.entry.js +12 -12
- package/dist/cjs/kol-link-wc.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-link.cjs.entry.js +3 -3
- package/dist/cjs/kol-link.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-meter.cjs.entry.js +13 -9
- package/dist/cjs/kol-meter.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-modal.cjs.entry.js +3 -3
- package/dist/cjs/kol-modal.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-nav.cjs.entry.js +7 -7
- package/dist/cjs/kol-nav.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-pagination-wc.cjs.entry.js +4 -4
- package/dist/cjs/kol-pagination.cjs.entry.js +3 -3
- package/dist/cjs/kol-pagination.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-popover-button-wc.cjs.entry.js +4 -4
- package/dist/cjs/kol-popover-button-wc.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-popover-button.cjs.entry.js +3 -3
- package/dist/cjs/kol-popover-button.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-progress.cjs.entry.js +7 -7
- package/dist/cjs/kol-progress.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-quote.cjs.entry.js +8 -8
- package/dist/cjs/kol-quote.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-select-wc.cjs.entry.js +27 -20
- package/dist/cjs/kol-select-wc.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-select.cjs.entry.js +11 -3
- package/dist/cjs/kol-select.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-single-select.cjs.entry.js +31 -24
- package/dist/cjs/kol-single-select.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-skeleton.cjs.entry.js +6 -6
- package/dist/cjs/kol-skeleton.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-skip-nav.cjs.entry.js +3 -3
- package/dist/cjs/kol-skip-nav.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-spin.cjs.entry.js +9 -17
- package/dist/cjs/kol-spin.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-split-button.cjs.entry.js +6 -6
- package/dist/cjs/kol-split-button.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-table-settings-wc.cjs.entry.js +6 -5
- package/dist/cjs/kol-table-settings-wc.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-table-stateful.cjs.entry.js +8 -7
- package/dist/cjs/kol-table-stateful.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +14 -14
- package/dist/cjs/kol-table-stateless-wc.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-table-stateless.cjs.entry.js +6 -5
- package/dist/cjs/kol-table-stateless.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-tabs.cjs.entry.js +6 -6
- package/dist/cjs/kol-tabs.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-textarea.cjs.entry.js +25 -18
- package/dist/cjs/kol-textarea.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-toast-container.cjs.entry.js +12 -12
- package/dist/cjs/kol-toast-container.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-toolbar.cjs.entry.js +3 -3
- package/dist/cjs/kol-toolbar.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-tooltip-wc.cjs.entry.js +9 -9
- package/dist/cjs/kol-tooltip-wc.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-tree-item-wc.cjs.entry.js +7 -7
- package/dist/cjs/kol-tree-item.cjs.entry.js +3 -3
- package/dist/cjs/kol-tree-item.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-tree-wc.cjs.entry.js +2 -2
- package/dist/cjs/kol-tree-wc.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-tree.cjs.entry.js +3 -3
- package/dist/cjs/kol-tree.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-version.cjs.entry.js +5 -5
- package/dist/cjs/kol-version.entry.cjs.js.map +1 -1
- package/dist/cjs/kolibri.cjs.js +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/test-component.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/@deprecated/input/controller.js +25 -14
- package/dist/collection/components/@deprecated/input/controller.js.map +1 -1
- package/dist/collection/components/_skeleton/web-components/click-button/component.js +2 -2
- package/dist/collection/components/_skeleton/web-components/click-button/component.js.map +1 -1
- package/dist/collection/components/_skeleton/web-components/skeleton/component.js +1 -1
- package/dist/collection/components/abbr/{shadow.js → component.js} +15 -21
- package/dist/collection/components/abbr/component.js.map +1 -0
- package/dist/collection/components/abbr/style.css +11 -5
- package/dist/collection/components/accordion/shadow.js +1 -1
- package/dist/collection/components/accordion/shadow.js.map +1 -1
- package/dist/collection/components/accordion/style.css +11 -5
- package/dist/collection/components/alert/component.js +1 -1
- package/dist/collection/components/alert/shadow.js +1 -1
- package/dist/collection/components/alert/style.css +10 -5
- package/dist/collection/components/avatar/component.js +1 -1
- package/dist/collection/components/avatar/style.css +9 -3
- package/dist/collection/components/badge/shadow.js +2 -2
- package/dist/collection/components/badge/style.css +11 -5
- package/dist/collection/components/breadcrumb/shadow.js +1 -1
- package/dist/collection/components/breadcrumb/style.css +11 -5
- package/dist/collection/components/button/component.js +2 -2
- package/dist/collection/components/button/component.js.map +1 -1
- package/dist/collection/components/button/shadow.js +1 -1
- package/dist/collection/components/button/shadow.js.map +1 -1
- package/dist/collection/components/button/style.css +10 -5
- package/dist/collection/components/button-link/shadow.js +1 -1
- package/dist/collection/components/button-link/shadow.js.map +1 -1
- package/dist/collection/components/button-link/style.css +11 -5
- package/dist/collection/components/card/component.js +1 -1
- package/dist/collection/components/card/shadow.js +1 -1
- package/dist/collection/components/card/style.css +10 -5
- package/dist/collection/components/combobox/shadow.js +58 -24
- package/dist/collection/components/combobox/shadow.js.map +1 -1
- package/dist/collection/components/combobox/style.css +11 -6
- package/dist/collection/components/component-list.js +1 -1
- package/dist/collection/components/component-list.js.map +1 -1
- package/dist/collection/components/details/shadow.js +1 -1
- package/dist/collection/components/details/shadow.js.map +1 -1
- package/dist/collection/components/details/style.css +10 -5
- package/dist/collection/components/dialog/component.js +2 -2
- package/dist/collection/components/dialog/shadow.js +1 -1
- package/dist/collection/components/dialog/style.css +10 -5
- package/dist/collection/components/drawer/shadow.js +1 -1
- package/dist/collection/components/drawer/style.css +10 -5
- package/dist/collection/components/form/shadow.js +23 -16
- package/dist/collection/components/form/shadow.js.map +1 -1
- package/dist/collection/components/form/style.css +10 -5
- package/dist/collection/components/heading/component.js +1 -1
- package/dist/collection/components/heading/style.css +9 -3
- package/dist/collection/components/icon/component.js +1 -1
- package/dist/collection/components/icon/style.css +2 -2
- package/dist/collection/components/image/component.js +1 -1
- package/dist/collection/components/image/style.css +9 -3
- package/dist/collection/components/input-adapter-leanup/associated.controller.js +6 -0
- package/dist/collection/components/input-adapter-leanup/associated.controller.js.map +1 -1
- package/dist/collection/components/input-checkbox/shadow.js +33 -1
- package/dist/collection/components/input-checkbox/shadow.js.map +1 -1
- package/dist/collection/components/input-checkbox/style.css +13 -10
- package/dist/collection/components/input-color/shadow.js +33 -1
- package/dist/collection/components/input-color/shadow.js.map +1 -1
- package/dist/collection/components/input-color/style.css +11 -6
- package/dist/collection/components/input-date/controller.js.map +1 -1
- package/dist/collection/components/input-date/shadow.js +33 -1
- package/dist/collection/components/input-date/shadow.js.map +1 -1
- package/dist/collection/components/input-date/style.css +11 -6
- package/dist/collection/components/input-email/shadow.js +33 -1
- package/dist/collection/components/input-email/shadow.js.map +1 -1
- package/dist/collection/components/input-email/style.css +11 -6
- package/dist/collection/components/input-file/shadow.js +33 -1
- package/dist/collection/components/input-file/shadow.js.map +1 -1
- package/dist/collection/components/input-file/style.css +11 -6
- package/dist/collection/components/input-number/shadow.js +33 -1
- package/dist/collection/components/input-number/shadow.js.map +1 -1
- package/dist/collection/components/input-number/style.css +11 -6
- package/dist/collection/components/input-password/shadow.js +33 -1
- package/dist/collection/components/input-password/shadow.js.map +1 -1
- package/dist/collection/components/input-password/style.css +11 -6
- package/dist/collection/components/input-radio/shadow.js +33 -1
- package/dist/collection/components/input-radio/shadow.js.map +1 -1
- package/dist/collection/components/input-radio/style.css +13 -10
- package/dist/collection/components/input-range/shadow.js +35 -2
- package/dist/collection/components/input-range/shadow.js.map +1 -1
- package/dist/collection/components/input-range/style.css +14 -6
- package/dist/collection/components/input-text/shadow.js +33 -1
- package/dist/collection/components/input-text/shadow.js.map +1 -1
- package/dist/collection/components/input-text/style.css +11 -6
- package/dist/collection/components/kolibri/shadow.js +1 -1
- package/dist/collection/components/kolibri/style.css +9 -3
- package/dist/collection/components/link/component.js +2 -2
- package/dist/collection/components/link/component.js.map +1 -1
- package/dist/collection/components/link/shadow.js +1 -1
- package/dist/collection/components/link/shadow.js.map +1 -1
- package/dist/collection/components/link/style.css +11 -5
- package/dist/collection/components/link-button/shadow.js +1 -1
- package/dist/collection/components/link-button/shadow.js.map +1 -1
- package/dist/collection/components/link-button/style.css +10 -5
- package/dist/collection/components/meter/component.js +2 -2
- package/dist/collection/components/meter/component.js.map +1 -1
- package/dist/collection/components/meter/style.css +9 -3
- package/dist/collection/components/modal/shadow.js +1 -1
- package/dist/collection/components/modal/style.css +10 -5
- package/dist/collection/components/nav/shadow.js +2 -2
- package/dist/collection/components/nav/style.css +11 -5
- package/dist/collection/components/pagination/shadow.js +1 -1
- package/dist/collection/components/pagination/style.css +11 -6
- package/dist/collection/components/popover-button/component.js +2 -2
- package/dist/collection/components/popover-button/component.js.map +1 -1
- package/dist/collection/components/popover-button/shadow.js +1 -1
- package/dist/collection/components/popover-button/shadow.js.map +1 -1
- package/dist/collection/components/popover-button/style.css +10 -5
- package/dist/collection/components/progress/component.js +1 -1
- package/dist/collection/components/progress/style.css +9 -3
- package/dist/collection/components/quote/component.js +1 -1
- package/dist/collection/components/quote/style.css +8 -3
- package/dist/collection/components/select/component.js +34 -2
- package/dist/collection/components/select/component.js.map +1 -1
- package/dist/collection/components/select/shadow.js +36 -1
- package/dist/collection/components/select/shadow.js.map +1 -1
- package/dist/collection/components/select/style.css +11 -6
- package/dist/collection/components/single-select/shadow.js +35 -3
- package/dist/collection/components/single-select/shadow.js.map +1 -1
- package/dist/collection/components/single-select/style.css +11 -6
- package/dist/collection/components/skip-nav/shadow.js +1 -1
- package/dist/collection/components/skip-nav/shadow.js.map +1 -1
- package/dist/collection/components/skip-nav/style.css +11 -5
- package/dist/collection/components/spin/component.js +1 -1
- package/dist/collection/components/spin/component.js.map +1 -1
- package/dist/collection/components/spin/style.css +9 -3
- package/dist/collection/components/split-button/shadow.js +2 -2
- package/dist/collection/components/split-button/shadow.js.map +1 -1
- package/dist/collection/components/split-button/style.css +11 -5
- package/dist/collection/components/table-stateful/shadow.js +1 -1
- package/dist/collection/components/table-stateful/style.css +11 -6
- package/dist/collection/components/table-stateless/component.js +6 -6
- package/dist/collection/components/table-stateless/component.js.map +1 -1
- package/dist/collection/components/table-stateless/shadow.js +1 -1
- package/dist/collection/components/table-stateless/style.css +10 -5
- package/dist/collection/components/table-stateless/table-settings.js +3 -2
- package/dist/collection/components/table-stateless/table-settings.js.map +1 -1
- package/dist/collection/components/tabs/shadow.js +2 -2
- package/dist/collection/components/tabs/shadow.js.map +1 -1
- package/dist/collection/components/tabs/style.css +11 -5
- package/dist/collection/components/textarea/shadow.js +33 -1
- package/dist/collection/components/textarea/shadow.js.map +1 -1
- package/dist/collection/components/textarea/style.css +11 -6
- package/dist/collection/components/toaster/shadow.js +1 -1
- package/dist/collection/components/toaster/style.css +10 -5
- package/dist/collection/components/toolbar/shadow.js +1 -1
- package/dist/collection/components/toolbar/shadow.js.map +1 -1
- package/dist/collection/components/toolbar/style.css +10 -5
- package/dist/collection/components/tooltip/component.js +1 -1
- package/dist/collection/components/tree/component.js +1 -1
- package/dist/collection/components/tree/component.js.map +1 -1
- package/dist/collection/components/tree/shadow.js +1 -1
- package/dist/collection/components/tree/shadow.js.map +1 -1
- package/dist/collection/components/tree/style.css +9 -3
- package/dist/collection/components/tree-item/component.js +3 -3
- package/dist/collection/components/tree-item/shadow.js +1 -1
- package/dist/collection/components/tree-item/style.css +11 -5
- package/dist/collection/components/version/shadow.js +1 -1
- package/dist/collection/components/version/style.css +9 -3
- package/dist/collection/e2e/index.js +0 -1
- package/dist/collection/e2e/index.js.map +1 -1
- package/dist/collection/functional-component-wrappers/SelectStateWrapper/SelectStateWrapper.js +1 -1
- package/dist/collection/functional-component-wrappers/SelectStateWrapper/SelectStateWrapper.js.map +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/internal/functional-components/abbr/api.js +8 -0
- package/dist/collection/internal/functional-components/abbr/api.js.map +1 -0
- package/dist/collection/internal/functional-components/abbr/component.js +9 -0
- package/dist/collection/internal/functional-components/abbr/component.js.map +1 -0
- package/dist/collection/internal/functional-components/abbr/controller.js +20 -0
- package/dist/collection/internal/functional-components/abbr/controller.js.map +1 -0
- package/dist/collection/internal/functional-components/meter/component.js +5 -1
- package/dist/collection/internal/functional-components/meter/component.js.map +1 -1
- package/dist/collection/internal/functional-components/meter/controller.js.map +1 -1
- package/dist/collection/internal/functional-components/progress/controller.js.map +1 -1
- package/dist/collection/internal/functional-components/spin/api.js.map +1 -1
- package/dist/collection/internal/functional-components/spin/component.js +3 -2
- package/dist/collection/internal/functional-components/spin/component.js.map +1 -1
- package/dist/collection/internal/functional-components/spin/controller.js +0 -9
- package/dist/collection/internal/functional-components/spin/controller.js.map +1 -1
- package/dist/collection/locales/de.js +1 -0
- package/dist/collection/locales/de.js.map +1 -1
- package/dist/collection/locales/en.js +1 -0
- package/dist/collection/locales/en.js.map +1 -1
- package/dist/collection/schema/bem-registry.js +3 -0
- package/dist/collection/schema/bem-registry.js.map +1 -1
- package/dist/collection/schema/components/combobox.js.map +1 -1
- package/dist/collection/schema/components/input-checkbox.js.map +1 -1
- package/dist/collection/schema/components/input-color.js.map +1 -1
- package/dist/collection/schema/components/input-date.js.map +1 -1
- package/dist/collection/schema/components/input-email.js.map +1 -1
- package/dist/collection/schema/components/input-file.js.map +1 -1
- package/dist/collection/schema/components/input-number.js.map +1 -1
- package/dist/collection/schema/components/input-password.js.map +1 -1
- package/dist/collection/schema/components/input-radio.js.map +1 -1
- package/dist/collection/schema/components/input-range.js.map +1 -1
- package/dist/collection/schema/components/input-text.js.map +1 -1
- package/dist/collection/schema/components/select.js.map +1 -1
- package/dist/collection/schema/components/single-select.js.map +1 -1
- package/dist/collection/schema/components/textarea.js.map +1 -1
- package/dist/collection/schema/interfaces/ClickableElement.js +2 -0
- package/dist/collection/schema/interfaces/ClickableElement.js.map +1 -0
- package/dist/collection/schema/interfaces/index.js +1 -0
- package/dist/collection/schema/interfaces/index.js.map +1 -1
- package/dist/collection/schema/props/aria-details.js +19 -0
- package/dist/collection/schema/props/aria-details.js.map +1 -0
- package/dist/collection/schema/props/error-list.js.map +1 -1
- package/dist/collection/schema/props/index.js +1 -0
- package/dist/collection/schema/props/index.js.map +1 -1
- package/dist/collection/utils/aria-labelledby.js.map +1 -1
- package/dist/collection/utils/element-click.js.map +1 -1
- package/dist/components/FieldControlStateWrapper.js +1 -1
- package/dist/components/access-and-short-key.js +1 -1
- package/dist/components/align-floating-elements.js +1 -1
- package/dist/components/aria-details.js +24 -0
- package/dist/components/aria-details.js.map +1 -0
- package/dist/components/aria-labelledby.js +1 -17
- package/dist/components/aria-labelledby.js.map +1 -1
- package/dist/components/aria-labelledby2.js +24 -0
- package/dist/components/aria-labelledby2.js.map +1 -0
- package/dist/components/associated.controller.js +6 -0
- package/dist/components/associated.controller.js.map +1 -1
- package/dist/components/{variant-quote.js → base-web-component.js} +11 -11
- package/dist/components/base-web-component.js.map +1 -0
- package/dist/components/bem-registry.js +3 -0
- package/dist/components/bem-registry.js.map +1 -1
- package/dist/components/color.js +1 -1
- package/dist/components/controller.js +14 -14
- package/dist/components/controller.js.map +1 -1
- package/dist/components/controller3.js +28 -17
- package/dist/components/controller3.js.map +1 -1
- package/dist/components/controller4.js +2 -2
- package/dist/components/dev.utils.js +1 -1
- package/dist/components/disabled.js +1 -1
- package/dist/components/element-focus.js.map +1 -1
- package/dist/components/i18n.js +1 -1
- package/dist/components/i18n2.js +2 -0
- package/dist/components/i18n2.js.map +1 -1
- package/dist/components/kol-abbr.js +45 -25
- package/dist/components/kol-abbr.js.map +1 -1
- package/dist/components/kol-accordion.js +3 -3
- package/dist/components/kol-accordion.js.map +1 -1
- package/dist/components/kol-alert-wc.js +2 -2
- package/dist/components/kol-alert.js +2 -2
- package/dist/components/kol-alert.js.map +1 -1
- package/dist/components/kol-avatar.js +4 -4
- package/dist/components/kol-avatar.js.map +1 -1
- package/dist/components/kol-badge.js +3 -3
- package/dist/components/kol-badge.js.map +1 -1
- package/dist/components/kol-breadcrumb.js +3 -3
- package/dist/components/kol-breadcrumb.js.map +1 -1
- package/dist/components/kol-button-link.js +2 -2
- package/dist/components/kol-button-link.js.map +1 -1
- package/dist/components/kol-button-wc.js +4 -4
- package/dist/components/kol-button-wc.js.map +1 -1
- package/dist/components/kol-button.js +2 -2
- package/dist/components/kol-button.js.map +1 -1
- package/dist/components/kol-card-wc.js +3 -3
- package/dist/components/kol-card.js +2 -2
- package/dist/components/kol-card.js.map +1 -1
- package/dist/components/kol-click-button.js +4 -4
- package/dist/components/kol-click-button.js.map +1 -1
- package/dist/components/kol-combobox.js +34 -25
- package/dist/components/kol-combobox.js.map +1 -1
- package/dist/components/kol-details.js +3 -3
- package/dist/components/kol-details.js.map +1 -1
- package/dist/components/kol-dialog-wc.js +3 -3
- package/dist/components/kol-dialog.js +2 -2
- package/dist/components/kol-dialog.js.map +1 -1
- package/dist/components/kol-drawer.js +3 -3
- package/dist/components/kol-drawer.js.map +1 -1
- package/dist/components/kol-form.js +13 -15
- package/dist/components/kol-form.js.map +1 -1
- package/dist/components/kol-heading.js +3 -3
- package/dist/components/kol-heading.js.map +1 -1
- package/dist/components/kol-icon.js +4 -4
- package/dist/components/kol-image.js +3 -3
- package/dist/components/kol-image.js.map +1 -1
- package/dist/components/kol-input-checkbox.js +9 -2
- package/dist/components/kol-input-checkbox.js.map +1 -1
- package/dist/components/kol-input-color.js +9 -2
- package/dist/components/kol-input-color.js.map +1 -1
- package/dist/components/kol-input-date.js +9 -2
- package/dist/components/kol-input-date.js.map +1 -1
- package/dist/components/kol-input-email.js +9 -2
- package/dist/components/kol-input-email.js.map +1 -1
- package/dist/components/kol-input-file.js +9 -2
- package/dist/components/kol-input-file.js.map +1 -1
- package/dist/components/kol-input-number.js +9 -2
- package/dist/components/kol-input-number.js.map +1 -1
- package/dist/components/kol-input-password.js +9 -2
- package/dist/components/kol-input-password.js.map +1 -1
- package/dist/components/kol-input-radio.js +9 -2
- package/dist/components/kol-input-radio.js.map +1 -1
- package/dist/components/kol-input-range.js +11 -3
- package/dist/components/kol-input-range.js.map +1 -1
- package/dist/components/kol-input-text.js +9 -2
- package/dist/components/kol-input-text.js.map +1 -1
- package/dist/components/kol-kolibri.js +2 -2
- package/dist/components/kol-kolibri.js.map +1 -1
- package/dist/components/kol-link-button.js +2 -2
- package/dist/components/kol-link-button.js.map +1 -1
- package/dist/components/kol-link-wc.js +4 -4
- package/dist/components/kol-link-wc.js.map +1 -1
- package/dist/components/kol-link.js +2 -2
- package/dist/components/kol-link.js.map +1 -1
- package/dist/components/kol-meter.js +10 -6
- package/dist/components/kol-meter.js.map +1 -1
- package/dist/components/kol-modal.js +2 -2
- package/dist/components/kol-modal.js.map +1 -1
- package/dist/components/kol-nav.js +4 -4
- package/dist/components/kol-nav.js.map +1 -1
- package/dist/components/kol-pagination-wc.js +1 -1
- package/dist/components/kol-pagination.js +2 -2
- package/dist/components/kol-pagination.js.map +1 -1
- package/dist/components/kol-popover-button-wc.js +2 -2
- package/dist/components/kol-popover-button-wc.js.map +1 -1
- package/dist/components/kol-popover-button.js +2 -2
- package/dist/components/kol-popover-button.js.map +1 -1
- package/dist/components/kol-progress.js +4 -4
- package/dist/components/kol-progress.js.map +1 -1
- package/dist/components/kol-quote.js +4 -4
- package/dist/components/kol-quote.js.map +1 -1
- package/dist/components/kol-select-wc.js +10 -3
- package/dist/components/kol-select-wc.js.map +1 -1
- package/dist/components/kol-select.js +12 -2
- package/dist/components/kol-select.js.map +1 -1
- package/dist/components/kol-single-select.js +11 -4
- package/dist/components/kol-single-select.js.map +1 -1
- package/dist/components/kol-skeleton.js +2 -2
- package/dist/components/kol-skip-nav.js +3 -3
- package/dist/components/kol-skip-nav.js.map +1 -1
- package/dist/components/kol-spin.js +6 -14
- package/dist/components/kol-spin.js.map +1 -1
- package/dist/components/kol-split-button.js +3 -3
- package/dist/components/kol-split-button.js.map +1 -1
- package/dist/components/kol-table-settings-wc.js +3 -2
- package/dist/components/kol-table-settings-wc.js.map +1 -1
- package/dist/components/kol-table-stateful.js +5 -4
- package/dist/components/kol-table-stateful.js.map +1 -1
- package/dist/components/kol-table-stateless-wc.js +7 -7
- package/dist/components/kol-table-stateless-wc.js.map +1 -1
- package/dist/components/kol-table-stateless.js +4 -3
- package/dist/components/kol-table-stateless.js.map +1 -1
- package/dist/components/kol-tabs.js +4 -4
- package/dist/components/kol-tabs.js.map +1 -1
- package/dist/components/kol-textarea.js +9 -2
- package/dist/components/kol-textarea.js.map +1 -1
- package/dist/components/kol-toast-container.js +3 -3
- package/dist/components/kol-toast-container.js.map +1 -1
- package/dist/components/kol-toolbar.js +3 -3
- package/dist/components/kol-toolbar.js.map +1 -1
- package/dist/components/kol-tooltip-wc.js +2 -2
- package/dist/components/kol-tree-item-wc.js +4 -4
- package/dist/components/kol-tree-item.js +2 -2
- package/dist/components/kol-tree-item.js.map +1 -1
- package/dist/components/kol-tree-wc.js +2 -2
- package/dist/components/kol-tree-wc.js.map +1 -1
- package/dist/components/kol-tree.js +2 -2
- package/dist/components/kol-tree.js.map +1 -1
- package/dist/components/kol-version.js +3 -3
- package/dist/components/kol-version.js.map +1 -1
- package/dist/components/label.js +3 -37
- package/dist/components/label.js.map +1 -1
- package/dist/components/label2.js +37 -3
- package/dist/components/label2.js.map +1 -1
- package/dist/components/prop.validators.js +1 -1
- package/dist/components/suggestions.js +1 -1
- package/dist/esm/{Alert-COvq80W3.js → Alert-LeFfZ8Oj.js} +7 -7
- package/dist/{kolibri/Alert-COvq80W3.js.map → esm/Alert-LeFfZ8Oj.js.map} +1 -1
- package/dist/esm/{Collapsible-7IQAII4d.js → Collapsible-BG8kZny4.js} +5 -5
- package/dist/{kolibri/Collapsible-7IQAII4d.js.map → esm/Collapsible-BG8kZny4.js.map} +1 -1
- package/dist/esm/{CustomSuggestionsOptionsGroup-CUxWnoxh.js → CustomSuggestionsOptionsGroup--3PdjAdp.js} +3 -3
- package/dist/{kolibri/CustomSuggestionsOptionsGroup-CUxWnoxh.js.map → esm/CustomSuggestionsOptionsGroup--3PdjAdp.js.map} +1 -1
- package/dist/esm/{FieldControlStateWrapper-CCrS0kX3.js → FieldControlStateWrapper-BJghqA8K.js} +10 -10
- package/dist/{kolibri/FieldControlStateWrapper-CCrS0kX3.js.map → esm/FieldControlStateWrapper-BJghqA8K.js.map} +1 -1
- package/dist/esm/{FormFieldStateWrapper-DCXQnRBu.js → FormFieldStateWrapper-D1Q6Lpff.js} +43 -32
- package/dist/esm/FormFieldStateWrapper-D1Q6Lpff.js.map +1 -0
- package/dist/esm/{Heading-Hh3eykel.js → Heading-uCdB_mbH.js} +3 -3
- package/dist/esm/{Heading-Hh3eykel.js.map → Heading-uCdB_mbH.js.map} +1 -1
- package/dist/esm/{Input-Chj5JCQv.js → Input-Cu811opH.js} +6 -6
- package/dist/{kolibri/Input-Chj5JCQv.js.map → esm/Input-Cu811opH.js.map} +1 -1
- package/dist/esm/{InputStateWrapper-DA1rfFPc.js → InputStateWrapper-Cl_V9Vuo.js} +6 -6
- package/dist/esm/{InputStateWrapper-DA1rfFPc.js.map → InputStateWrapper-Cl_V9Vuo.js.map} +1 -1
- package/dist/esm/{access-and-short-key-CnWGdP5U.js → access-and-short-key-C7QS_Tel.js} +3 -3
- package/dist/esm/{access-and-short-key-CnWGdP5U.js.map → access-and-short-key-C7QS_Tel.js.map} +1 -1
- package/dist/esm/{align-ChLoh-Dq.js → align-DdWzcKWR.js} +3 -3
- package/dist/esm/{align-ChLoh-Dq.js.map → align-DdWzcKWR.js.map} +1 -1
- package/dist/esm/{align-floating-elements-DTTpkCAK.js → align-floating-elements-CqZdcuwL.js} +3 -3
- package/dist/{kolibri/align-floating-elements-DTTpkCAK.js.map → esm/align-floating-elements-CqZdcuwL.js.map} +1 -1
- package/dist/esm/{app-globals-CpkHeTen.js → app-globals-DMlUA9Gw.js} +5 -5
- package/dist/esm/{app-globals-CpkHeTen.js.map → app-globals-DMlUA9Gw.js.map} +1 -1
- package/dist/esm/aria-details-CG4GFq8t.js +24 -0
- package/dist/esm/aria-details-CG4GFq8t.js.map +1 -0
- package/dist/esm/{aria-expanded--y6Ce39-.js → aria-expanded-BwKOdsiZ.js} +3 -3
- package/dist/{kolibri/aria-expanded--y6Ce39-.js.map → esm/aria-expanded-BwKOdsiZ.js.map} +1 -1
- package/dist/esm/{aria-labelledby-BUOJRaGL.js → aria-labelledby-6-ki3akM.js} +3 -19
- package/dist/esm/aria-labelledby-6-ki3akM.js.map +1 -0
- package/dist/esm/aria-labelledby-BuvPnlu7.js +24 -0
- package/dist/esm/aria-labelledby-BuvPnlu7.js.map +1 -0
- package/dist/esm/{associated.controller-D55JWKjs.js → associated.controller-Da2zylzp.js} +10 -4
- package/dist/esm/associated.controller-Da2zylzp.js.map +1 -0
- package/dist/esm/{auto-complete-CrQJr3SH.js → auto-complete-p-8iouPy.js} +3 -3
- package/dist/esm/{auto-complete-CrQJr3SH.js.map → auto-complete-p-8iouPy.js.map} +1 -1
- package/dist/esm/{variant-quote-BMV8GZX8.js → base-web-component-CArCAUxk.js} +11 -11
- package/dist/esm/base-web-component-CArCAUxk.js.map +1 -0
- package/dist/esm/{bem-registry-B9CzNnO1.js → bem-registry-CqAKWtWY.js} +6 -3
- package/dist/esm/bem-registry-CqAKWtWY.js.map +1 -0
- package/dist/esm/{bootstrap-UOb6OarC.js → bootstrap-C2nJoN6K.js} +4 -4
- package/dist/{kolibri/bootstrap-UOb6OarC.js.map → esm/bootstrap-C2nJoN6K.js.map} +1 -1
- package/dist/esm/{color-Df2awjVY.js → color-CftCtla8.js} +4 -4
- package/dist/{kolibri/color-Df2awjVY.js.map → esm/color-CftCtla8.js.map} +1 -1
- package/dist/esm/{common-DEEjER7G.js → common-DyILLof-.js} +3 -3
- package/dist/esm/{common-DEEjER7G.js.map → common-DyILLof-.js.map} +1 -1
- package/dist/esm/{component-DohIJBPw.js → component-2ImIjrdm.js} +4 -4
- package/dist/{kolibri/component-DohIJBPw.js.map → esm/component-2ImIjrdm.js.map} +1 -1
- package/dist/esm/{component-DHo2YdSx.js → component-DI3pO3QY.js} +4 -4
- package/dist/esm/{component-DHo2YdSx.js.map → component-DI3pO3QY.js.map} +1 -1
- package/dist/esm/{component-CQaxTS4u.js → component-DbrY6RW_.js} +6 -6
- package/dist/{kolibri/component-CQaxTS4u.js.map → esm/component-DbrY6RW_.js.map} +1 -1
- package/dist/esm/{component-DTx6ZVqq.js → component-fsnfw59D.js} +4 -4
- package/dist/esm/{component-DTx6ZVqq.js.map → component-fsnfw59D.js.map} +1 -1
- package/dist/esm/{contrast-C0oqtcfU.js → contrast-D1msrkD4.js} +3 -3
- package/dist/esm/{contrast-C0oqtcfU.js.map → contrast-D1msrkD4.js.map} +1 -1
- package/dist/esm/{controller-D0y9uwX0.js → controller-B21n_zqt.js} +3 -3
- package/dist/esm/{controller-D0y9uwX0.js.map → controller-B21n_zqt.js.map} +1 -1
- package/dist/esm/{controller-DNx_ULdZ.js → controller-B2Qb2oqz.js} +7 -7
- package/dist/{kolibri/controller-DNx_ULdZ.js.map → esm/controller-B2Qb2oqz.js.map} +1 -1
- package/dist/esm/{controller-DR9zGh9W.js → controller-BuikHDKh.js} +6 -6
- package/dist/{kolibri/controller-DR9zGh9W.js.map → esm/controller-BuikHDKh.js.map} +1 -1
- package/dist/esm/{controller-oT8Y98Yc.js → controller-CJs4fTO0.js} +20 -20
- package/dist/esm/controller-CJs4fTO0.js.map +1 -0
- package/dist/esm/{controller-eoW_d0fK.js → controller-DiWO-Gw_.js} +10 -10
- package/dist/{kolibri/controller-eoW_d0fK.js.map → esm/controller-DiWO-Gw_.js.map} +1 -1
- package/dist/esm/{controller-icon-ClFIXmW5.js → controller-icon-DaBPXypo.js} +8 -8
- package/dist/esm/{controller-icon-ClFIXmW5.js.map → controller-icon-DaBPXypo.js.map} +1 -1
- package/dist/esm/{custom-class-RTVG26D_.js → custom-class-DRA8ZYTU.js} +3 -3
- package/dist/esm/{custom-class-RTVG26D_.js.map → custom-class-DRA8ZYTU.js.map} +1 -1
- package/dist/esm/{dev.utils-HhhlYW_9.js → dev.utils-Ce_5C3Pe.js} +4 -4
- package/dist/{kolibri/dev.utils-HhhlYW_9.js.map → esm/dev.utils-Ce_5C3Pe.js.map} +1 -1
- package/dist/esm/{devtools-CnPiO1UI.js → devtools-yLGw7QsN.js} +5 -5
- package/dist/{kolibri/devtools-CnPiO1UI.js.map → esm/devtools-yLGw7QsN.js.map} +1 -1
- package/dist/esm/{disabled-CtaJsBT2.js → disabled-DzYBnXfG.js} +3 -3
- package/dist/esm/{disabled-CtaJsBT2.js.map → disabled-DzYBnXfG.js.map} +1 -1
- package/dist/esm/element-focus-BQXzaLL9.js.map +1 -1
- package/dist/esm/{has-closer-GBI76y-L.js → has-closer-COzVY-FT.js} +3 -3
- package/dist/esm/{has-closer-GBI76y-L.js.map → has-closer-COzVY-FT.js.map} +1 -1
- package/dist/esm/{hide-label-CWFMK5Iz.js → hide-label-jbOZNqJV.js} +3 -3
- package/dist/esm/{hide-label-CWFMK5Iz.js.map → hide-label-jbOZNqJV.js.map} +1 -1
- package/dist/esm/{href-yQN98Z4F.js → href-CMm8l_Io.js} +3 -3
- package/dist/esm/{href-yQN98Z4F.js.map → href-CMm8l_Io.js.map} +1 -1
- package/dist/esm/{i18n-CaL2ODdQ.js → i18n-BkwRYsvE.js} +4 -4
- package/dist/esm/{i18n-CaL2ODdQ.js.map → i18n-BkwRYsvE.js.map} +1 -1
- package/dist/esm/{i18n-B2d_exHc.js → i18n-CMA39edx.js} +4 -2
- package/dist/esm/i18n-CMA39edx.js.map +1 -0
- package/dist/esm/{icons-DOGnS2Iv.js → icons-BfxrxChI.js} +3 -3
- package/dist/esm/{icons-DOGnS2Iv.js.map → icons-BfxrxChI.js.map} +1 -1
- package/dist/esm/{index-Brmny3Vg.js → index-CwtGN7ID.js} +4 -4
- package/dist/esm/{index-Brmny3Vg.js.map → index-CwtGN7ID.js.map} +1 -1
- package/dist/esm/index.js +6 -6
- package/dist/esm/{inline-D3v7pifU.js → inline-CIEtzpMz.js} +3 -3
- package/dist/esm/{inline-D3v7pifU.js.map → inline-CIEtzpMz.js.map} +1 -1
- package/dist/esm/kol-abbr.entry.js +48 -29
- package/dist/esm/kol-abbr.entry.js.map +1 -1
- package/dist/esm/kol-accordion.entry.js +13 -13
- package/dist/esm/kol-accordion.entry.js.map +1 -1
- package/dist/esm/kol-alert-wc.entry.js +14 -14
- package/dist/esm/kol-alert.entry.js +4 -4
- package/dist/esm/kol-alert.entry.js.map +1 -1
- package/dist/esm/kol-avatar.entry.js +12 -12
- package/dist/esm/kol-avatar.entry.js.map +1 -1
- package/dist/esm/kol-badge.entry.js +12 -12
- package/dist/esm/kol-badge.entry.js.map +1 -1
- package/dist/esm/kol-breadcrumb.entry.js +9 -9
- package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
- package/dist/esm/kol-button-link.entry.js +4 -4
- package/dist/esm/kol-button-link.entry.js.map +1 -1
- package/dist/esm/kol-button-wc.entry.js +30 -28
- package/dist/esm/kol-button-wc.entry.js.map +1 -1
- package/dist/esm/kol-button.entry.js +4 -4
- package/dist/esm/kol-button.entry.js.map +1 -1
- package/dist/esm/kol-card-wc.entry.js +17 -17
- package/dist/esm/kol-card.entry.js +4 -4
- package/dist/esm/kol-card.entry.js.map +1 -1
- package/dist/esm/kol-click-button.entry.js +9 -9
- package/dist/esm/kol-click-button.entry.js.map +1 -1
- package/dist/esm/kol-combobox.entry.js +68 -59
- package/dist/esm/kol-combobox.entry.js.map +1 -1
- package/dist/esm/kol-details.entry.js +13 -13
- package/dist/esm/kol-details.entry.js.map +1 -1
- package/dist/esm/kol-dialog-wc.entry.js +9 -9
- package/dist/esm/kol-dialog.entry.js +4 -4
- package/dist/esm/kol-dialog.entry.js.map +1 -1
- package/dist/esm/kol-drawer.entry.js +12 -12
- package/dist/esm/kol-drawer.entry.js.map +1 -1
- package/dist/esm/kol-form.entry.js +21 -23
- package/dist/esm/kol-form.entry.js.map +1 -1
- package/dist/esm/kol-heading.entry.js +7 -7
- package/dist/esm/kol-heading.entry.js.map +1 -1
- package/dist/esm/kol-icon.entry.js +9 -9
- package/dist/esm/kol-image.entry.js +7 -7
- package/dist/esm/kol-image.entry.js.map +1 -1
- package/dist/esm/kol-input-checkbox.entry.js +41 -34
- package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
- package/dist/esm/kol-input-color.entry.js +41 -34
- package/dist/esm/kol-input-color.entry.js.map +1 -1
- package/dist/esm/kol-input-date.entry.js +44 -37
- package/dist/esm/kol-input-date.entry.js.map +1 -1
- package/dist/esm/kol-input-email.entry.js +50 -43
- package/dist/esm/kol-input-email.entry.js.map +1 -1
- package/dist/esm/kol-input-file.entry.js +41 -34
- package/dist/esm/kol-input-file.entry.js.map +1 -1
- package/dist/esm/kol-input-number.entry.js +45 -38
- package/dist/esm/kol-input-number.entry.js.map +1 -1
- package/dist/esm/kol-input-password.entry.js +46 -39
- package/dist/esm/kol-input-password.entry.js.map +1 -1
- package/dist/esm/kol-input-radio.entry.js +41 -34
- package/dist/esm/kol-input-radio.entry.js.map +1 -1
- package/dist/esm/kol-input-range.entry.js +44 -36
- package/dist/esm/kol-input-range.entry.js.map +1 -1
- package/dist/esm/kol-input-text.entry.js +49 -42
- package/dist/esm/kol-input-text.entry.js.map +1 -1
- package/dist/esm/kol-kolibri.entry.js +8 -8
- package/dist/esm/kol-kolibri.entry.js.map +1 -1
- package/dist/esm/kol-link-button.entry.js +4 -4
- package/dist/esm/kol-link-button.entry.js.map +1 -1
- package/dist/esm/kol-link-wc.entry.js +27 -27
- package/dist/esm/kol-link-wc.entry.js.map +1 -1
- package/dist/esm/kol-link.entry.js +4 -4
- package/dist/esm/kol-link.entry.js.map +1 -1
- package/dist/esm/kol-meter.entry.js +16 -12
- package/dist/esm/kol-meter.entry.js.map +1 -1
- package/dist/esm/kol-modal.entry.js +4 -4
- package/dist/esm/kol-modal.entry.js.map +1 -1
- package/dist/esm/kol-nav.entry.js +12 -12
- package/dist/esm/kol-nav.entry.js.map +1 -1
- package/dist/esm/kol-pagination-wc.entry.js +10 -10
- package/dist/esm/kol-pagination.entry.js +4 -4
- package/dist/esm/kol-pagination.entry.js.map +1 -1
- package/dist/esm/kol-popover-button-wc.entry.js +8 -8
- package/dist/esm/kol-popover-button-wc.entry.js.map +1 -1
- package/dist/esm/kol-popover-button.entry.js +4 -4
- package/dist/esm/kol-popover-button.entry.js.map +1 -1
- package/dist/esm/kol-progress.entry.js +10 -10
- package/dist/esm/kol-progress.entry.js.map +1 -1
- package/dist/esm/kol-quote.entry.js +8 -8
- package/dist/esm/kol-quote.entry.js.map +1 -1
- package/dist/esm/kol-select-wc.entry.js +44 -37
- package/dist/esm/kol-select-wc.entry.js.map +1 -1
- package/dist/esm/kol-select.entry.js +12 -4
- package/dist/esm/kol-select.entry.js.map +1 -1
- package/dist/esm/kol-single-select.entry.js +46 -39
- package/dist/esm/kol-single-select.entry.js.map +1 -1
- package/dist/esm/kol-skeleton.entry.js +7 -7
- package/dist/esm/kol-skip-nav.entry.js +7 -7
- package/dist/esm/kol-skip-nav.entry.js.map +1 -1
- package/dist/esm/kol-spin.entry.js +11 -19
- package/dist/esm/kol-spin.entry.js.map +1 -1
- package/dist/esm/kol-split-button.entry.js +7 -7
- package/dist/esm/kol-split-button.entry.js.map +1 -1
- package/dist/esm/kol-table-settings-wc.entry.js +7 -6
- package/dist/esm/kol-table-settings-wc.entry.js.map +1 -1
- package/dist/esm/kol-table-stateful.entry.js +10 -9
- package/dist/esm/kol-table-stateful.entry.js.map +1 -1
- package/dist/esm/kol-table-stateless-wc.entry.js +18 -18
- package/dist/esm/kol-table-stateless-wc.entry.js.map +1 -1
- package/dist/esm/kol-table-stateless.entry.js +6 -5
- package/dist/esm/kol-table-stateless.entry.js.map +1 -1
- package/dist/esm/kol-tabs.entry.js +9 -9
- package/dist/esm/kol-tabs.entry.js.map +1 -1
- package/dist/esm/kol-textarea.entry.js +43 -36
- package/dist/esm/kol-textarea.entry.js.map +1 -1
- package/dist/esm/kol-toast-container.entry.js +14 -14
- package/dist/esm/kol-toast-container.entry.js.map +1 -1
- package/dist/esm/kol-toolbar.entry.js +6 -6
- package/dist/esm/kol-toolbar.entry.js.map +1 -1
- package/dist/esm/kol-tooltip-wc.entry.js +13 -13
- package/dist/esm/kol-tree-item-wc.entry.js +11 -11
- package/dist/esm/kol-tree-item.entry.js +4 -4
- package/dist/esm/kol-tree-item.entry.js.map +1 -1
- package/dist/esm/kol-tree-wc.entry.js +4 -4
- package/dist/esm/kol-tree-wc.entry.js.map +1 -1
- package/dist/esm/kol-tree.entry.js +4 -4
- package/dist/esm/kol-tree.entry.js.map +1 -1
- package/dist/esm/kol-version.entry.js +7 -7
- package/dist/esm/kol-version.entry.js.map +1 -1
- package/dist/esm/kolibri.js +5 -5
- package/dist/esm/{label-DPd4-fag.js → label-BT-6lb8r.js} +3 -3
- package/dist/esm/{label-DPd4-fag.js.map → label-BT-6lb8r.js.map} +1 -1
- package/dist/esm/{label-Cg7TG_7b.js → label-BiOix5de.js} +3 -3
- package/dist/{kolibri/label-Cg7TG_7b.js.map → esm/label-BiOix5de.js.map} +1 -1
- package/dist/esm/{level-CfQolHx4.js → level-Kr0RFikR.js} +3 -3
- package/dist/esm/{level-CfQolHx4.js.map → level-Kr0RFikR.js.map} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{max-length-behavior-426q5CU6.js → max-length-behavior-CRJOkECl.js} +3 -3
- package/dist/esm/{max-length-behavior-426q5CU6.js.map → max-length-behavior-CRJOkECl.js.map} +1 -1
- package/dist/esm/{multiple-LEiooHN4.js → multiple-hxH51udE.js} +3 -3
- package/dist/esm/{multiple-LEiooHN4.js.map → multiple-hxH51udE.js.map} +1 -1
- package/dist/esm/{normalizers-pgU77mXp.js → normalizers-B5NKuJgN.js} +3 -3
- package/dist/esm/{normalizers-pgU77mXp.js.map → normalizers-B5NKuJgN.js.map} +1 -1
- package/dist/esm/{open-Djbpz6kg.js → open-DZ2Z5a7z.js} +3 -3
- package/dist/esm/{open-Djbpz6kg.js.map → open-DZ2Z5a7z.js.map} +1 -1
- package/dist/esm/{orientation-BzQXB0-V.js → orientation-BptN6AOK.js} +3 -3
- package/dist/esm/{orientation-BzQXB0-V.js.map → orientation-BptN6AOK.js.map} +1 -1
- package/dist/esm/{placeholder-CSgrK1Zh.js → placeholder-B4wceSsL.js} +3 -3
- package/dist/esm/{placeholder-CSgrK1Zh.js.map → placeholder-B4wceSsL.js.map} +1 -1
- package/dist/esm/{read-only-DyuIPHMt.js → read-only-DIC7Vhiy.js} +3 -3
- package/dist/esm/{read-only-DyuIPHMt.js.map → read-only-DIC7Vhiy.js.map} +1 -1
- package/dist/esm/{required-DAsW5lI1.js → required-By197yB9.js} +3 -3
- package/dist/esm/{required-DAsW5lI1.js.map → required-By197yB9.js.map} +1 -1
- package/dist/esm/{rows-Bdp885AQ.js → rows-BwZCT-gJ.js} +3 -3
- package/dist/esm/{rows-Bdp885AQ.js.map → rows-BwZCT-gJ.js.map} +1 -1
- package/dist/esm/{spell-check-CSnDB95u.js → spell-check-CKvoSTJE.js} +3 -3
- package/dist/esm/{spell-check-CSnDB95u.js.map → spell-check-CKvoSTJE.js.map} +1 -1
- package/dist/esm/{src-C8dP-FLK.js → src-DH5c0A9H.js} +3 -3
- package/dist/esm/{src-C8dP-FLK.js.map → src-DH5c0A9H.js.map} +1 -1
- package/dist/esm/{suggestions-Cnn1r8zc.js → suggestions-C2o-U3UR.js} +3 -3
- package/dist/esm/{suggestions-Cnn1r8zc.js.map → suggestions-C2o-U3UR.js.map} +1 -1
- package/dist/esm/{table-selection-DlaNrAWM.js → table-selection-G45AEZGP.js} +3 -3
- package/dist/esm/{table-selection-DlaNrAWM.js.map → table-selection-G45AEZGP.js.map} +1 -1
- package/dist/esm/test-component.entry.js +2 -2
- package/dist/esm/{tooltip-align-DzHPWEpv.js → tooltip-align-BZrIplzz.js} +4 -4
- package/dist/esm/{tooltip-align-DzHPWEpv.js.map → tooltip-align-BZrIplzz.js.map} +1 -1
- package/dist/esm/{unique-nav-labels-7ifGcuBZ.js → unique-nav-labels-OKhw3uEq.js} +3 -3
- package/dist/esm/{unique-nav-labels-7ifGcuBZ.js.map → unique-nav-labels-OKhw3uEq.js.map} +1 -1
- package/dist/esm/{validation-B8MhupBp.js → validation-DFynMQYA.js} +3 -3
- package/dist/esm/{validation-B8MhupBp.js.map → validation-DFynMQYA.js.map} +1 -1
- package/dist/esm/{validation-VhuthteS.js → validation-D_PYegRV.js} +4 -4
- package/dist/esm/{validation-VhuthteS.js.map → validation-D_PYegRV.js.map} +1 -1
- package/dist/esm/{value-number-clamped-BQ9jw4HR.js → value-number-clamped-eznLHU11.js} +3 -3
- package/dist/esm/{value-number-clamped-BQ9jw4HR.js.map → value-number-clamped-eznLHU11.js.map} +1 -1
- package/dist/esm/{variant-class-name-CkfE8oGZ.js → variant-class-name-B1jsQGPM.js} +3 -3
- package/dist/esm/{variant-class-name-CkfE8oGZ.js.map → variant-class-name-B1jsQGPM.js.map} +1 -1
- package/dist/kolibri/Alert-LeFfZ8Oj.js +5 -0
- package/dist/{esm/Alert-COvq80W3.js.map → kolibri/Alert-LeFfZ8Oj.js.map} +1 -1
- package/dist/kolibri/Collapsible-BG8kZny4.js +5 -0
- package/dist/{esm/Collapsible-7IQAII4d.js.map → kolibri/Collapsible-BG8kZny4.js.map} +1 -1
- package/dist/kolibri/CustomSuggestionsOptionsGroup--3PdjAdp.js +5 -0
- package/dist/{esm/CustomSuggestionsOptionsGroup-CUxWnoxh.js.map → kolibri/CustomSuggestionsOptionsGroup--3PdjAdp.js.map} +1 -1
- package/dist/kolibri/FieldControlStateWrapper-BJghqA8K.js +5 -0
- package/dist/{esm/FieldControlStateWrapper-CCrS0kX3.js.map → kolibri/FieldControlStateWrapper-BJghqA8K.js.map} +1 -1
- package/dist/kolibri/FormFieldStateWrapper-D1Q6Lpff.js +5 -0
- package/dist/kolibri/FormFieldStateWrapper-D1Q6Lpff.js.map +1 -0
- package/dist/kolibri/Heading-uCdB_mbH.js +5 -0
- package/dist/kolibri/{Heading-Hh3eykel.js.map → Heading-uCdB_mbH.js.map} +1 -1
- package/dist/kolibri/Input-Cu811opH.js +5 -0
- package/dist/{esm/Input-Chj5JCQv.js.map → kolibri/Input-Cu811opH.js.map} +1 -1
- package/dist/kolibri/InputStateWrapper-Cl_V9Vuo.js +5 -0
- package/dist/kolibri/{InputStateWrapper-DA1rfFPc.js.map → InputStateWrapper-Cl_V9Vuo.js.map} +1 -1
- package/dist/kolibri/{access-and-short-key-CnWGdP5U.js → access-and-short-key-C7QS_Tel.js} +2 -2
- package/dist/kolibri/{access-and-short-key-CnWGdP5U.js.map → access-and-short-key-C7QS_Tel.js.map} +1 -1
- package/dist/kolibri/{align-ChLoh-Dq.js → align-DdWzcKWR.js} +2 -2
- package/dist/kolibri/{align-ChLoh-Dq.js.map → align-DdWzcKWR.js.map} +1 -1
- package/dist/kolibri/{align-floating-elements-DTTpkCAK.js → align-floating-elements-CqZdcuwL.js} +2 -2
- package/dist/{esm/align-floating-elements-DTTpkCAK.js.map → kolibri/align-floating-elements-CqZdcuwL.js.map} +1 -1
- package/dist/kolibri/app-globals-DMlUA9Gw.js +5 -0
- package/dist/kolibri/{app-globals-CpkHeTen.js.map → app-globals-DMlUA9Gw.js.map} +1 -1
- package/dist/kolibri/aria-details-CG4GFq8t.js +5 -0
- package/dist/kolibri/aria-details-CG4GFq8t.js.map +1 -0
- package/dist/kolibri/aria-expanded-BwKOdsiZ.js +5 -0
- package/dist/{esm/aria-expanded--y6Ce39-.js.map → kolibri/aria-expanded-BwKOdsiZ.js.map} +1 -1
- package/dist/kolibri/aria-labelledby-6-ki3akM.js +5 -0
- package/dist/kolibri/aria-labelledby-6-ki3akM.js.map +1 -0
- package/dist/kolibri/aria-labelledby-BuvPnlu7.js +5 -0
- package/dist/kolibri/aria-labelledby-BuvPnlu7.js.map +1 -0
- package/dist/kolibri/associated.controller-Da2zylzp.js +5 -0
- package/dist/kolibri/associated.controller-Da2zylzp.js.map +1 -0
- package/dist/kolibri/{auto-complete-CrQJr3SH.js → auto-complete-p-8iouPy.js} +2 -2
- package/dist/kolibri/{auto-complete-CrQJr3SH.js.map → auto-complete-p-8iouPy.js.map} +1 -1
- package/dist/kolibri/base-web-component-CArCAUxk.js +5 -0
- package/dist/kolibri/base-web-component-CArCAUxk.js.map +1 -0
- package/dist/kolibri/bem-registry-CqAKWtWY.js +5 -0
- package/dist/kolibri/bem-registry-CqAKWtWY.js.map +1 -0
- package/dist/kolibri/{bootstrap-UOb6OarC.js → bootstrap-C2nJoN6K.js} +2 -2
- package/dist/{esm/bootstrap-UOb6OarC.js.map → kolibri/bootstrap-C2nJoN6K.js.map} +1 -1
- package/dist/kolibri/{color-Df2awjVY.js → color-CftCtla8.js} +2 -2
- package/dist/{esm/color-Df2awjVY.js.map → kolibri/color-CftCtla8.js.map} +1 -1
- package/dist/kolibri/{common-DEEjER7G.js → common-DyILLof-.js} +2 -2
- package/dist/kolibri/{common-DEEjER7G.js.map → common-DyILLof-.js.map} +1 -1
- package/dist/kolibri/component-2ImIjrdm.js +5 -0
- package/dist/{esm/component-DohIJBPw.js.map → kolibri/component-2ImIjrdm.js.map} +1 -1
- package/dist/kolibri/component-DI3pO3QY.js +5 -0
- package/dist/kolibri/{component-DHo2YdSx.js.map → component-DI3pO3QY.js.map} +1 -1
- package/dist/kolibri/{component-CQaxTS4u.js → component-DbrY6RW_.js} +2 -2
- package/dist/{esm/component-CQaxTS4u.js.map → kolibri/component-DbrY6RW_.js.map} +1 -1
- package/dist/kolibri/{component-DTx6ZVqq.js → component-fsnfw59D.js} +2 -2
- package/dist/kolibri/{component-DTx6ZVqq.js.map → component-fsnfw59D.js.map} +1 -1
- package/dist/kolibri/{contrast-C0oqtcfU.js → contrast-D1msrkD4.js} +2 -2
- package/dist/kolibri/{contrast-C0oqtcfU.js.map → contrast-D1msrkD4.js.map} +1 -1
- package/dist/kolibri/{controller-D0y9uwX0.js → controller-B21n_zqt.js} +2 -2
- package/dist/kolibri/{controller-D0y9uwX0.js.map → controller-B21n_zqt.js.map} +1 -1
- package/dist/kolibri/controller-B2Qb2oqz.js +5 -0
- package/dist/{esm/controller-DNx_ULdZ.js.map → kolibri/controller-B2Qb2oqz.js.map} +1 -1
- package/dist/kolibri/controller-BuikHDKh.js +5 -0
- package/dist/{esm/controller-DR9zGh9W.js.map → kolibri/controller-BuikHDKh.js.map} +1 -1
- package/dist/kolibri/controller-CJs4fTO0.js +5 -0
- package/dist/kolibri/controller-CJs4fTO0.js.map +1 -0
- package/dist/kolibri/{controller-eoW_d0fK.js → controller-DiWO-Gw_.js} +2 -2
- package/dist/{esm/controller-eoW_d0fK.js.map → kolibri/controller-DiWO-Gw_.js.map} +1 -1
- package/dist/kolibri/{controller-icon-ClFIXmW5.js → controller-icon-DaBPXypo.js} +2 -2
- package/dist/kolibri/{controller-icon-ClFIXmW5.js.map → controller-icon-DaBPXypo.js.map} +1 -1
- package/dist/kolibri/custom-class-DRA8ZYTU.js +5 -0
- package/dist/kolibri/{custom-class-RTVG26D_.js.map → custom-class-DRA8ZYTU.js.map} +1 -1
- package/dist/kolibri/dev.utils-Ce_5C3Pe.js +5 -0
- package/dist/{esm/dev.utils-HhhlYW_9.js.map → kolibri/dev.utils-Ce_5C3Pe.js.map} +1 -1
- package/dist/kolibri/devtools-yLGw7QsN.js +5 -0
- package/dist/{esm/devtools-CnPiO1UI.js.map → kolibri/devtools-yLGw7QsN.js.map} +1 -1
- package/dist/kolibri/{disabled-CtaJsBT2.js → disabled-DzYBnXfG.js} +2 -2
- package/dist/kolibri/{disabled-CtaJsBT2.js.map → disabled-DzYBnXfG.js.map} +1 -1
- package/dist/kolibri/element-focus-BQXzaLL9.js.map +1 -1
- package/dist/kolibri/has-closer-COzVY-FT.js +5 -0
- package/dist/kolibri/{has-closer-GBI76y-L.js.map → has-closer-COzVY-FT.js.map} +1 -1
- package/dist/kolibri/hide-label-jbOZNqJV.js +5 -0
- package/dist/kolibri/{hide-label-CWFMK5Iz.js.map → hide-label-jbOZNqJV.js.map} +1 -1
- package/dist/kolibri/href-CMm8l_Io.js +5 -0
- package/dist/kolibri/{href-yQN98Z4F.js.map → href-CMm8l_Io.js.map} +1 -1
- package/dist/kolibri/i18n-BkwRYsvE.js +5 -0
- package/dist/kolibri/{i18n-CaL2ODdQ.js.map → i18n-BkwRYsvE.js.map} +1 -1
- package/dist/kolibri/i18n-CMA39edx.js +5 -0
- package/dist/kolibri/i18n-CMA39edx.js.map +1 -0
- package/dist/kolibri/{icons-DOGnS2Iv.js → icons-BfxrxChI.js} +2 -2
- package/dist/kolibri/{icons-DOGnS2Iv.js.map → icons-BfxrxChI.js.map} +1 -1
- package/dist/kolibri/{index-Brmny3Vg.js → index-CwtGN7ID.js} +3 -3
- package/dist/kolibri/{index-Brmny3Vg.js.map → index-CwtGN7ID.js.map} +1 -1
- package/dist/kolibri/index.esm.js +1 -1
- package/dist/kolibri/inline-CIEtzpMz.js +5 -0
- package/dist/kolibri/{inline-D3v7pifU.js.map → inline-CIEtzpMz.js.map} +1 -1
- package/dist/kolibri/kol-abbr.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-abbr.entry.js +1 -1
- package/dist/kolibri/kol-abbr.entry.js.map +1 -1
- package/dist/kolibri/kol-accordion.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-accordion.entry.js +1 -1
- package/dist/kolibri/kol-accordion.entry.js.map +1 -1
- package/dist/kolibri/kol-alert-wc.entry.js +1 -1
- package/dist/kolibri/kol-alert.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-alert.entry.js +1 -1
- package/dist/kolibri/kol-alert.entry.js.map +1 -1
- package/dist/kolibri/kol-avatar.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-avatar.entry.js +1 -1
- package/dist/kolibri/kol-avatar.entry.js.map +1 -1
- package/dist/kolibri/kol-badge.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-badge.entry.js +1 -1
- package/dist/kolibri/kol-badge.entry.js.map +1 -1
- package/dist/kolibri/kol-breadcrumb.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
- package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
- package/dist/kolibri/kol-button-link.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-button-link.entry.js +1 -1
- package/dist/kolibri/kol-button-link.entry.js.map +1 -1
- package/dist/kolibri/kol-button-wc.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-button-wc.entry.js +1 -1
- package/dist/kolibri/kol-button-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-button.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-button.entry.js +1 -1
- package/dist/kolibri/kol-button.entry.js.map +1 -1
- package/dist/kolibri/kol-card-wc.entry.js +1 -1
- package/dist/kolibri/kol-card-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-card.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-card.entry.js +1 -1
- package/dist/kolibri/kol-card.entry.js.map +1 -1
- package/dist/kolibri/kol-click-button.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-click-button.entry.js +1 -1
- package/dist/kolibri/kol-click-button.entry.js.map +1 -1
- package/dist/kolibri/kol-combobox.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-combobox.entry.js +1 -1
- package/dist/kolibri/kol-combobox.entry.js.map +1 -1
- package/dist/kolibri/kol-details.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-details.entry.js +1 -1
- package/dist/kolibri/kol-details.entry.js.map +1 -1
- package/dist/kolibri/kol-dialog-wc.entry.js +1 -1
- package/dist/kolibri/kol-dialog.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-dialog.entry.js +1 -1
- package/dist/kolibri/kol-dialog.entry.js.map +1 -1
- package/dist/kolibri/kol-drawer.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-drawer.entry.js +1 -1
- package/dist/kolibri/kol-drawer.entry.js.map +1 -1
- package/dist/kolibri/kol-form.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-form.entry.js +1 -1
- package/dist/kolibri/kol-form.entry.js.map +1 -1
- package/dist/kolibri/kol-heading.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-heading.entry.js +1 -1
- package/dist/kolibri/kol-heading.entry.js.map +1 -1
- package/dist/kolibri/kol-icon.entry.js +1 -1
- package/dist/kolibri/kol-icon.entry.js.map +1 -1
- package/dist/kolibri/kol-image.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-image.entry.js +1 -1
- package/dist/kolibri/kol-image.entry.js.map +1 -1
- package/dist/kolibri/kol-input-checkbox.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
- package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
- package/dist/kolibri/kol-input-color.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-color.entry.js +1 -1
- package/dist/kolibri/kol-input-color.entry.js.map +1 -1
- package/dist/kolibri/kol-input-date.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-date.entry.js +1 -1
- package/dist/kolibri/kol-input-date.entry.js.map +1 -1
- package/dist/kolibri/kol-input-email.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-email.entry.js +1 -1
- package/dist/kolibri/kol-input-email.entry.js.map +1 -1
- package/dist/kolibri/kol-input-file.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-file.entry.js +1 -1
- package/dist/kolibri/kol-input-file.entry.js.map +1 -1
- package/dist/kolibri/kol-input-number.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-number.entry.js +1 -1
- package/dist/kolibri/kol-input-number.entry.js.map +1 -1
- package/dist/kolibri/kol-input-password.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-password.entry.js +1 -1
- package/dist/kolibri/kol-input-password.entry.js.map +1 -1
- package/dist/kolibri/kol-input-radio.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-radio.entry.js +1 -1
- package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
- package/dist/kolibri/kol-input-range.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-range.entry.js +1 -1
- package/dist/kolibri/kol-input-range.entry.js.map +1 -1
- package/dist/kolibri/kol-input-text.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-text.entry.js +1 -1
- package/dist/kolibri/kol-input-text.entry.js.map +1 -1
- package/dist/kolibri/kol-kolibri.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-kolibri.entry.js +1 -1
- package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
- package/dist/kolibri/kol-link-button.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-link-button.entry.js +1 -1
- package/dist/kolibri/kol-link-button.entry.js.map +1 -1
- package/dist/kolibri/kol-link-wc.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-link-wc.entry.js +1 -1
- package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-link.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-link.entry.js +1 -1
- package/dist/kolibri/kol-link.entry.js.map +1 -1
- package/dist/kolibri/kol-meter.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-meter.entry.js +1 -1
- package/dist/kolibri/kol-meter.entry.js.map +1 -1
- package/dist/kolibri/kol-modal.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-modal.entry.js +1 -1
- package/dist/kolibri/kol-modal.entry.js.map +1 -1
- package/dist/kolibri/kol-nav.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-nav.entry.js +1 -1
- package/dist/kolibri/kol-nav.entry.js.map +1 -1
- package/dist/kolibri/kol-pagination-wc.entry.js +1 -1
- package/dist/kolibri/kol-pagination.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-pagination.entry.js +1 -1
- package/dist/kolibri/kol-pagination.entry.js.map +1 -1
- package/dist/kolibri/kol-popover-button-wc.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-popover-button-wc.entry.js +1 -1
- package/dist/kolibri/kol-popover-button-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-popover-button.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-popover-button.entry.js +1 -1
- package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
- package/dist/kolibri/kol-progress.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-progress.entry.js +1 -1
- package/dist/kolibri/kol-progress.entry.js.map +1 -1
- package/dist/kolibri/kol-quote.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-quote.entry.js +1 -1
- package/dist/kolibri/kol-quote.entry.js.map +1 -1
- package/dist/kolibri/kol-select-wc.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-select-wc.entry.js +1 -1
- package/dist/kolibri/kol-select-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-select.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-select.entry.js +1 -1
- package/dist/kolibri/kol-select.entry.js.map +1 -1
- package/dist/kolibri/kol-single-select.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-single-select.entry.js +1 -1
- package/dist/kolibri/kol-single-select.entry.js.map +1 -1
- package/dist/kolibri/kol-skeleton.entry.js +1 -1
- package/dist/kolibri/kol-skeleton.entry.js.map +1 -1
- package/dist/kolibri/kol-skip-nav.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-skip-nav.entry.js +1 -1
- package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
- package/dist/kolibri/kol-spin.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-spin.entry.js +1 -1
- package/dist/kolibri/kol-spin.entry.js.map +1 -1
- package/dist/kolibri/kol-split-button.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-split-button.entry.js +1 -1
- package/dist/kolibri/kol-split-button.entry.js.map +1 -1
- package/dist/kolibri/kol-table-settings-wc.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-table-settings-wc.entry.js +1 -1
- package/dist/kolibri/kol-table-settings-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-table-stateful.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-table-stateful.entry.js +1 -1
- package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
- package/dist/kolibri/kol-table-stateless-wc.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
- package/dist/kolibri/kol-table-stateless-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-table-stateless.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-table-stateless.entry.js +1 -1
- package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
- package/dist/kolibri/kol-tabs.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-tabs.entry.js +1 -1
- package/dist/kolibri/kol-tabs.entry.js.map +1 -1
- package/dist/kolibri/kol-textarea.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-textarea.entry.js +1 -1
- package/dist/kolibri/kol-textarea.entry.js.map +1 -1
- package/dist/kolibri/kol-toast-container.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-toast-container.entry.js +1 -1
- package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
- package/dist/kolibri/kol-toolbar.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-toolbar.entry.js +1 -1
- package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
- package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
- package/dist/kolibri/kol-tooltip-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
- package/dist/kolibri/kol-tree-item.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-tree-item.entry.js +1 -1
- package/dist/kolibri/kol-tree-item.entry.js.map +1 -1
- package/dist/kolibri/kol-tree-wc.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-tree-wc.entry.js +1 -1
- package/dist/kolibri/kol-tree.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-tree.entry.js +1 -1
- package/dist/kolibri/kol-tree.entry.js.map +1 -1
- package/dist/kolibri/kol-version.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-version.entry.js +1 -1
- package/dist/kolibri/kol-version.entry.js.map +1 -1
- package/dist/kolibri/kolibri.esm.js +1 -1
- package/dist/kolibri/{label-DPd4-fag.js → label-BT-6lb8r.js} +2 -2
- package/dist/kolibri/{label-DPd4-fag.js.map → label-BT-6lb8r.js.map} +1 -1
- package/dist/kolibri/label-BiOix5de.js +5 -0
- package/dist/{esm/label-Cg7TG_7b.js.map → kolibri/label-BiOix5de.js.map} +1 -1
- package/dist/kolibri/{level-CfQolHx4.js → level-Kr0RFikR.js} +2 -2
- package/dist/kolibri/{level-CfQolHx4.js.map → level-Kr0RFikR.js.map} +1 -1
- package/dist/kolibri/max-length-behavior-CRJOkECl.js +5 -0
- package/dist/kolibri/{max-length-behavior-426q5CU6.js.map → max-length-behavior-CRJOkECl.js.map} +1 -1
- package/dist/kolibri/multiple-hxH51udE.js +5 -0
- package/dist/kolibri/{multiple-LEiooHN4.js.map → multiple-hxH51udE.js.map} +1 -1
- package/dist/kolibri/{normalizers-pgU77mXp.js → normalizers-B5NKuJgN.js} +2 -2
- package/dist/kolibri/{normalizers-pgU77mXp.js.map → normalizers-B5NKuJgN.js.map} +1 -1
- package/dist/kolibri/open-DZ2Z5a7z.js +5 -0
- package/dist/kolibri/{open-Djbpz6kg.js.map → open-DZ2Z5a7z.js.map} +1 -1
- package/dist/kolibri/{orientation-BzQXB0-V.js → orientation-BptN6AOK.js} +2 -2
- package/dist/kolibri/{orientation-BzQXB0-V.js.map → orientation-BptN6AOK.js.map} +1 -1
- package/dist/kolibri/placeholder-B4wceSsL.js +5 -0
- package/dist/kolibri/{placeholder-CSgrK1Zh.js.map → placeholder-B4wceSsL.js.map} +1 -1
- package/dist/kolibri/read-only-DIC7Vhiy.js +5 -0
- package/dist/kolibri/{read-only-DyuIPHMt.js.map → read-only-DIC7Vhiy.js.map} +1 -1
- package/dist/kolibri/required-By197yB9.js +5 -0
- package/dist/kolibri/{required-DAsW5lI1.js.map → required-By197yB9.js.map} +1 -1
- package/dist/kolibri/rows-BwZCT-gJ.js +5 -0
- package/dist/kolibri/{rows-Bdp885AQ.js.map → rows-BwZCT-gJ.js.map} +1 -1
- package/dist/kolibri/spell-check-CKvoSTJE.js +5 -0
- package/dist/kolibri/{spell-check-CSnDB95u.js.map → spell-check-CKvoSTJE.js.map} +1 -1
- package/dist/kolibri/src-DH5c0A9H.js +5 -0
- package/dist/kolibri/{src-C8dP-FLK.js.map → src-DH5c0A9H.js.map} +1 -1
- package/dist/kolibri/suggestions-C2o-U3UR.js +5 -0
- package/dist/kolibri/{suggestions-Cnn1r8zc.js.map → suggestions-C2o-U3UR.js.map} +1 -1
- package/dist/kolibri/{table-selection-DlaNrAWM.js → table-selection-G45AEZGP.js} +2 -2
- package/dist/kolibri/{table-selection-DlaNrAWM.js.map → table-selection-G45AEZGP.js.map} +1 -1
- package/dist/kolibri/test-component.entry.js +1 -1
- package/dist/kolibri/tooltip-align-BZrIplzz.js +5 -0
- package/dist/kolibri/{tooltip-align-DzHPWEpv.js.map → tooltip-align-BZrIplzz.js.map} +1 -1
- package/dist/kolibri/unique-nav-labels-OKhw3uEq.js +5 -0
- package/dist/kolibri/{unique-nav-labels-7ifGcuBZ.js.map → unique-nav-labels-OKhw3uEq.js.map} +1 -1
- package/dist/kolibri/validation-DFynMQYA.js +5 -0
- package/dist/kolibri/{validation-B8MhupBp.js.map → validation-DFynMQYA.js.map} +1 -1
- package/dist/kolibri/validation-D_PYegRV.js +5 -0
- package/dist/kolibri/{validation-VhuthteS.js.map → validation-D_PYegRV.js.map} +1 -1
- package/dist/kolibri/value-number-clamped-eznLHU11.js +5 -0
- package/dist/kolibri/{value-number-clamped-BQ9jw4HR.js.map → value-number-clamped-eznLHU11.js.map} +1 -1
- package/dist/kolibri/{variant-class-name-CkfE8oGZ.js → variant-class-name-B1jsQGPM.js} +2 -2
- package/dist/kolibri/{variant-class-name-CkfE8oGZ.js.map → variant-class-name-B1jsQGPM.js.map} +1 -1
- package/dist/types/components/@deprecated/input/controller.d.ts +5 -4
- package/dist/types/components/abbr/component.d.ts +17 -0
- package/dist/types/components/accordion/shadow.d.ts +2 -2
- package/dist/types/components/button/component.d.ts +2 -2
- package/dist/types/components/button/shadow.d.ts +2 -2
- package/dist/types/components/button-link/shadow.d.ts +2 -2
- package/dist/types/components/combobox/shadow.d.ts +4 -2
- package/dist/types/components/component-list.d.ts +1 -1
- package/dist/types/components/details/shadow.d.ts +2 -2
- package/dist/types/components/form/shadow.d.ts +3 -2
- package/dist/types/components/input-adapter-leanup/associated.controller.d.ts +3 -0
- package/dist/types/components/input-checkbox/shadow.d.ts +4 -2
- package/dist/types/components/input-color/shadow.d.ts +4 -2
- package/dist/types/components/input-date/controller.d.ts +1 -1
- package/dist/types/components/input-date/shadow.d.ts +4 -2
- package/dist/types/components/input-email/shadow.d.ts +4 -2
- package/dist/types/components/input-file/shadow.d.ts +4 -2
- package/dist/types/components/input-number/shadow.d.ts +4 -2
- package/dist/types/components/input-password/shadow.d.ts +4 -2
- package/dist/types/components/input-radio/shadow.d.ts +4 -2
- package/dist/types/components/input-range/shadow.d.ts +4 -2
- package/dist/types/components/input-text/shadow.d.ts +4 -2
- package/dist/types/components/link/component.d.ts +2 -2
- package/dist/types/components/link/shadow.d.ts +1 -1
- package/dist/types/components/link-button/shadow.d.ts +2 -2
- package/dist/types/components/popover-button/component.d.ts +2 -2
- package/dist/types/components/popover-button/shadow.d.ts +2 -2
- package/dist/types/components/select/component.d.ts +4 -2
- package/dist/types/components/select/shadow.d.ts +4 -2
- package/dist/types/components/single-select/shadow.d.ts +4 -2
- package/dist/types/components/skip-nav/shadow.d.ts +1 -1
- package/dist/types/components/split-button/shadow.d.ts +2 -2
- package/dist/types/components/tabs/shadow.d.ts +2 -2
- package/dist/types/components/textarea/shadow.d.ts +4 -2
- package/dist/types/components/toolbar/shadow.d.ts +2 -2
- package/dist/types/components/tree/component.d.ts +1 -1
- package/dist/types/components/tree/shadow.d.ts +1 -1
- package/dist/types/components.d.ts +123 -3
- package/dist/types/e2e/index.d.ts +0 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/internal/functional-components/abbr/api.d.ts +9 -0
- package/dist/types/internal/functional-components/abbr/component.d.ts +4 -0
- package/dist/types/internal/functional-components/abbr/controller.d.ts +8 -0
- package/dist/types/internal/functional-components/meter/controller.d.ts +2 -1
- package/dist/types/internal/functional-components/progress/controller.d.ts +2 -1
- package/dist/types/internal/functional-components/spin/api.d.ts +0 -4
- package/dist/types/internal/functional-components/spin/controller.d.ts +2 -5
- package/dist/types/locales/de.d.ts +1 -0
- package/dist/types/locales/en.d.ts +1 -0
- package/dist/types/schema/bem-registry.d.ts +3 -0
- package/dist/types/schema/components/combobox.d.ts +2 -2
- package/dist/types/schema/components/input-checkbox.d.ts +2 -2
- package/dist/types/schema/components/input-color.d.ts +2 -2
- package/dist/types/schema/components/input-date.d.ts +2 -2
- package/dist/types/schema/components/input-email.d.ts +2 -2
- package/dist/types/schema/components/input-file.d.ts +2 -2
- package/dist/types/schema/components/input-number.d.ts +2 -2
- package/dist/types/schema/components/input-password.d.ts +2 -2
- package/dist/types/schema/components/input-radio.d.ts +2 -2
- package/dist/types/schema/components/input-range.d.ts +2 -2
- package/dist/types/schema/components/input-text.d.ts +3 -3
- package/dist/types/schema/components/select.d.ts +3 -3
- package/dist/types/schema/components/single-select.d.ts +2 -2
- package/dist/types/schema/components/textarea.d.ts +2 -2
- package/dist/types/schema/interfaces/ClickableElement.d.ts +3 -0
- package/dist/types/schema/interfaces/index.d.ts +1 -0
- package/dist/types/schema/props/aria-details.d.ts +6 -0
- package/dist/types/schema/props/error-list.d.ts +2 -0
- package/dist/types/schema/props/index.d.ts +1 -0
- package/dist/types/utils/aria-labelledby.d.ts +3 -2
- package/dist/types/utils/element-click.d.ts +0 -3
- package/doc/combobox.md +1 -0
- package/doc/form.md +7 -1
- package/doc/input-checkbox.md +22 -21
- package/doc/input-color.md +21 -20
- package/doc/input-date.md +27 -26
- package/doc/input-email.md +29 -28
- package/doc/input-file.md +21 -20
- package/doc/input-number.md +27 -26
- package/doc/input-password.md +28 -27
- package/doc/input-radio.md +18 -17
- package/doc/input-range.md +23 -22
- package/doc/input-text.md +1 -0
- package/doc/select.md +1 -0
- package/doc/single-select.md +23 -22
- package/doc/textarea.md +1 -0
- package/package.json +12 -14
- package/vscode-custom-data.json +56 -0
- package/dist/cjs/FormFieldStateWrapper-C93KLp60.js.map +0 -1
- package/dist/cjs/aria-labelledby-BhnM3OnL.js.map +0 -1
- package/dist/cjs/associated.controller-CUvZCmFF.js.map +0 -1
- package/dist/cjs/bem-registry-D9uDM1GJ.js.map +0 -1
- package/dist/cjs/controller-DHsc-8t1.js.map +0 -1
- package/dist/cjs/i18n-CgUN6lev.js.map +0 -1
- package/dist/cjs/variant-quote-DUWZtljE.js.map +0 -1
- package/dist/collection/components/abbr/shadow.js.map +0 -1
- package/dist/collection/e2e/input-callbacks-and-events.js +0 -56
- package/dist/collection/e2e/input-callbacks-and-events.js.map +0 -1
- package/dist/components/variant-quote.js.map +0 -1
- package/dist/esm/FormFieldStateWrapper-DCXQnRBu.js.map +0 -1
- package/dist/esm/aria-labelledby-BUOJRaGL.js.map +0 -1
- package/dist/esm/associated.controller-D55JWKjs.js.map +0 -1
- package/dist/esm/bem-registry-B9CzNnO1.js.map +0 -1
- package/dist/esm/controller-oT8Y98Yc.js.map +0 -1
- package/dist/esm/i18n-B2d_exHc.js.map +0 -1
- package/dist/esm/variant-quote-BMV8GZX8.js.map +0 -1
- package/dist/kolibri/Alert-COvq80W3.js +0 -5
- package/dist/kolibri/Collapsible-7IQAII4d.js +0 -5
- package/dist/kolibri/CustomSuggestionsOptionsGroup-CUxWnoxh.js +0 -5
- package/dist/kolibri/FieldControlStateWrapper-CCrS0kX3.js +0 -5
- package/dist/kolibri/FormFieldStateWrapper-DCXQnRBu.js +0 -5
- package/dist/kolibri/FormFieldStateWrapper-DCXQnRBu.js.map +0 -1
- package/dist/kolibri/Heading-Hh3eykel.js +0 -5
- package/dist/kolibri/Input-Chj5JCQv.js +0 -5
- package/dist/kolibri/InputStateWrapper-DA1rfFPc.js +0 -5
- package/dist/kolibri/app-globals-CpkHeTen.js +0 -5
- package/dist/kolibri/aria-expanded--y6Ce39-.js +0 -5
- package/dist/kolibri/aria-labelledby-BUOJRaGL.js +0 -5
- package/dist/kolibri/aria-labelledby-BUOJRaGL.js.map +0 -1
- package/dist/kolibri/associated.controller-D55JWKjs.js +0 -5
- package/dist/kolibri/associated.controller-D55JWKjs.js.map +0 -1
- package/dist/kolibri/bem-registry-B9CzNnO1.js +0 -5
- package/dist/kolibri/bem-registry-B9CzNnO1.js.map +0 -1
- package/dist/kolibri/component-DHo2YdSx.js +0 -5
- package/dist/kolibri/component-DohIJBPw.js +0 -5
- package/dist/kolibri/controller-DNx_ULdZ.js +0 -5
- package/dist/kolibri/controller-DR9zGh9W.js +0 -5
- package/dist/kolibri/controller-oT8Y98Yc.js +0 -5
- package/dist/kolibri/controller-oT8Y98Yc.js.map +0 -1
- package/dist/kolibri/custom-class-RTVG26D_.js +0 -5
- package/dist/kolibri/dev.utils-HhhlYW_9.js +0 -5
- package/dist/kolibri/devtools-CnPiO1UI.js +0 -5
- package/dist/kolibri/has-closer-GBI76y-L.js +0 -5
- package/dist/kolibri/hide-label-CWFMK5Iz.js +0 -5
- package/dist/kolibri/href-yQN98Z4F.js +0 -5
- package/dist/kolibri/i18n-B2d_exHc.js +0 -5
- package/dist/kolibri/i18n-B2d_exHc.js.map +0 -1
- package/dist/kolibri/i18n-CaL2ODdQ.js +0 -5
- package/dist/kolibri/inline-D3v7pifU.js +0 -5
- package/dist/kolibri/label-Cg7TG_7b.js +0 -5
- package/dist/kolibri/max-length-behavior-426q5CU6.js +0 -5
- package/dist/kolibri/multiple-LEiooHN4.js +0 -5
- package/dist/kolibri/open-Djbpz6kg.js +0 -5
- package/dist/kolibri/placeholder-CSgrK1Zh.js +0 -5
- package/dist/kolibri/read-only-DyuIPHMt.js +0 -5
- package/dist/kolibri/required-DAsW5lI1.js +0 -5
- package/dist/kolibri/rows-Bdp885AQ.js +0 -5
- package/dist/kolibri/spell-check-CSnDB95u.js +0 -5
- package/dist/kolibri/src-C8dP-FLK.js +0 -5
- package/dist/kolibri/suggestions-Cnn1r8zc.js +0 -5
- package/dist/kolibri/tooltip-align-DzHPWEpv.js +0 -5
- package/dist/kolibri/unique-nav-labels-7ifGcuBZ.js +0 -5
- package/dist/kolibri/validation-B8MhupBp.js +0 -5
- package/dist/kolibri/validation-VhuthteS.js +0 -5
- package/dist/kolibri/value-number-clamped-BQ9jw4HR.js +0 -5
- package/dist/kolibri/variant-quote-BMV8GZX8.js +0 -5
- package/dist/kolibri/variant-quote-BMV8GZX8.js.map +0 -1
- package/dist/types/components/abbr/shadow.d.ts +0 -14
- package/dist/types/e2e/input-callbacks-and-events.d.ts +0 -19
|
@@ -18,9 +18,14 @@
|
|
|
18
18
|
@layer kol-a11y {
|
|
19
19
|
:host {
|
|
20
20
|
/*
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
* Minimum size of interactive elements.
|
|
22
|
+
*
|
|
23
|
+
* The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:
|
|
24
|
+
* `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose
|
|
25
|
+
* sub-pixel precision and resolve to e.g. 43.99px depending on the browser's
|
|
26
|
+
* rounding, dropping just below the required minimum.
|
|
27
|
+
*/
|
|
28
|
+
--a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);
|
|
24
29
|
/*
|
|
25
30
|
* No element should be used without verifying the contrast ratio of its background and font colors.
|
|
26
31
|
* By initially setting the background color to white and the font color to black,
|
|
@@ -202,8 +207,8 @@
|
|
|
202
207
|
}
|
|
203
208
|
@font-face {
|
|
204
209
|
font-family: "kolicons";
|
|
205
|
-
src: url("kolicons.eot?t=
|
|
206
|
-
src: url("kolicons.eot?t=
|
|
210
|
+
src: url("kolicons.eot?t=1782311579243"); /* IE9*/
|
|
211
|
+
src: url("kolicons.eot?t=1782311579243#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1782311579243") format("woff2"), url("kolicons.woff?t=1782311579243") format("woff"), url("kolicons.ttf?t=1782311579243") format("truetype"), url("kolicons.svg?t=1782311579243#kolicons") format("svg"); /* iOS 4.1- */
|
|
207
212
|
}
|
|
208
213
|
@layer kol-component {
|
|
209
214
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -49,7 +49,7 @@ export class KolTooltipWc {
|
|
|
49
49
|
(_a = this.controller) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: 'a53a016bddcefab710ae6f44221a0e4ffe44b84a', class: "kol-tooltip" }, h(TooltipFC, { key: 'edd70a17cc202deae7ecbbc9b8ba9ebf63c1db6f', label: this.controller.getRenderProp('label'), badgeText: this._badgeText, id: this.controller.getRenderProp('id'), refFloating: (el) => { var _a; return (_a = this.controller) === null || _a === void 0 ? void 0 : _a.setTooltipElementRef(el); } })));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "kol-tooltip-wc"; }
|
|
55
55
|
static get properties() {
|
|
@@ -23,7 +23,7 @@ export class KolTreeWc {
|
|
|
23
23
|
await Promise.resolve((this.cacheValid = false));
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: 'ee07abb3b748443010336d2d6b2cf99e6ad10d64', onSlotchange: this.handleSlotchange.bind(this) }, h("nav", { key: 'aeb88ca3da07336fa1aa164723246bd7b69da7f3', class: "kol-tree", "aria-label": this.state._label }, h("ul", { key: '108e2ede70e08f5e77ada9961b47e57fcad50a3a', class: "kol-tree__treeview-navigation", role: "tree", "aria-label": this.state._label }, h("slot", { key: '0b67541fbb1e2f5eab04837fe1478296256baed2' })))));
|
|
27
27
|
}
|
|
28
28
|
static isTreeItem(element) {
|
|
29
29
|
return (element === null || element === void 0 ? void 0 : element.tagName) === KolTreeItemTag.toUpperCase();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/components/tree/component.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEhG,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExE,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAS7C,MAAM,OAAO,SAAS;IAJtB;QAOiB,UAAK,GAAe;YACnC,MAAM,EAAE,EAAE;SACV,CAAC;QAIM,eAAU,GAAG,KAAK,CAAC;KAwR3B;IAhRiB,aAAa,CAAC,KAAqB;QACnD,aAAa,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;IAMM,KAAK,CAAC,KAAK,CAAC,OAAyB;;QAC3C,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,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AAI,SAAS,CAAC,UAAU,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,CAAC;gBACjD,KAAK,OAAO,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC;gBACpC,oBAAoB,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;YAC7C,CAAC;QACF,CAAC,CAAC;QAEF,MAAM,MAAM,GAAG,cAAc,EAAE,CAAC;QAChC,IAAI,MAAM,EAAE,CAAC;YACZ,oBAAoB,CAAC,MAAM,CAAC,CAAC;QAC9B,CAAC;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Host, Listen, Method, Prop, State, Watch } from '@stencil/core';\n\nimport { KolTreeItemTag, KolTreeTag } from '../../core/component-names';\nimport type { FocusableElement, KolFocusOptions, LabelPropType, TreeAPI, TreeStates } from '../../schema';\nimport { validateLabel } from '../../schema';\n\n/**\n * @internal\n */\n@Component({\n\ttag: 'kol-tree-wc',\n\tshadow: false,\n})\nexport class KolTreeWc implements TreeAPI, FocusableElement {\n\t@Element() private readonly host?: HTMLKolTreeWcElement;\n\n\t@State() public state: TreeStates = {\n\t\t_label: '',\n\t};\n\tprivate observer?: MutationObserver;\n\tprivate treeItemElements?: HTMLKolTreeItemElement[];\n\tprivate cachedOpenItems?: HTMLKolTreeItemElement[] | undefined;\n\tprivate cacheValid = false;\n\tprivate rafHandle?: number;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() _label!: LabelPropType;\n\n\t@Watch('_label') validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value);\n\t}\n\n\t/**\n\t * Sets focus on the first focusable tree item.\n\t */\n\t@Method()\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {\n\t\tconst openItems = await this.getOpenTreeItemElements();\n\t\tawait openItems?.[0]?.focus(options);\n\t}\n\n\t/**\n\t * Invalidates the cache for open tree items.\n\t * Called by tree-item when expand/collapse occurs.\n\t * @internal\n\t */\n\t@Method()\n\tpublic async invalidateOpenItemsCache(): Promise<void> {\n\t\tawait Promise.resolve((this.cacheValid = false));\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host onSlotchange={this.handleSlotchange.bind(this)}>\n\t\t\t\t<nav class=\"kol-tree\" aria-label={this.state._label}>\n\t\t\t\t\t<ul class=\"kol-tree__treeview-navigation\" role=\"tree\" aria-label={this.state._label}>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</ul>\n\t\t\t\t</nav>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate static isTreeItem(this: void, element?: HTMLElement | null): element is HTMLKolTreeItemElement {\n\t\treturn element?.tagName === KolTreeItemTag.toUpperCase();\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateLabel(this._label);\n\n\t\tthis.handleTreeChange();\n\t\tthis.observeChildListMutations();\n\t}\n\n\tpublic disconnectedCallback(): void {\n\t\tthis.observer?.disconnect();\n\t\tif (this.rafHandle !== undefined) {\n\t\t\tcancelAnimationFrame(this.rafHandle);\n\t\t\tthis.rafHandle = undefined;\n\t\t}\n\t}\n\n\tprivate observeChildListMutations() {\n\t\tthis.observer = new MutationObserver(() => this.scheduleTreeChange());\n\t\tthis.observeTopLevelItems();\n\t}\n\n\tprivate handleSlotchange() {\n\t\tthis.observeTopLevelItems();\n\t\tthis.scheduleTreeChange();\n\t}\n\n\tprivate observeTopLevelItems() {\n\t\tthis.getTopLevelTreeItems()?.forEach((treeItem) => {\n\t\t\tthis.observer?.observe(treeItem, { childList: true, subtree: true });\n\t\t});\n\t}\n\n\tprivate scheduleTreeChange() {\n\t\tif (this.rafHandle) cancelAnimationFrame(this.rafHandle);\n\t\tthis.rafHandle = requestAnimationFrame(() => {\n\t\t\tthis.handleTreeChange();\n\t\t});\n\t}\n\n\tprivate getTopLevelTreeItems(): HTMLKolTreeItemElement[] {\n\t\treturn (this.host?.querySelector('slot')?.assignedNodes?.() as HTMLElement[])?.filter(KolTreeWc.isTreeItem);\n\t}\n\n\tprivate handleTreeChange(): void {\n\t\tthis.treeItemElements = this.getTreeItemElements();\n\t\tthis.cacheValid = false;\n\t\tvoid this.ensureActiveItemVisibility();\n\t}\n\n\t/**\n\t * Returns array of all TreeItem elements in the order they appear\n\t */\n\tprivate getTreeItemElements(): HTMLKolTreeItemElement[] {\n\t\treturn this.getTopLevelTreeItems()?.reduce((accumulator: HTMLKolTreeItemElement[], currentValue: HTMLKolTreeItemElement) => {\n\t\t\tconst children = currentValue.querySelectorAll(KolTreeItemTag);\n\n\t\t\treturn [...accumulator, currentValue, ...children];\n\t\t}, []);\n\t}\n\n\tprivate async getOpenTreeItemElements(): Promise<HTMLKolTreeItemElement[] | undefined> {\n\t\tif (!this.treeItemElements) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Cache-Hit: Return cached result\n\t\tif (this.cacheValid && this.cachedOpenItems) {\n\t\t\treturn this.cachedOpenItems;\n\t\t}\n\n\t\tconst areAllParentsOpen = async (element: HTMLKolTreeItemElement): Promise<boolean> => {\n\t\t\tlet parent = element.parentElement as HTMLKolTreeItemElement | null;\n\t\t\twhile (parent && KolTreeWc.isTreeItem(parent)) {\n\t\t\t\tif (!(await parent.isOpen())) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tparent = parent.parentElement as HTMLKolTreeItemElement | null;\n\t\t\t}\n\t\t\treturn true;\n\t\t};\n\n\t\t// Cache the result\n\t\tthis.cachedOpenItems = await Promise.all(\n\t\t\tthis.treeItemElements.map(async (item) => ({\n\t\t\t\titem,\n\t\t\t\tisOpen: await areAllParentsOpen(item),\n\t\t\t})),\n\t\t).then((results) => results.filter(({ isOpen }) => isOpen).map(({ item }) => item));\n\t\tthis.cacheValid = true;\n\n\t\treturn this.cachedOpenItems;\n\t}\n\n\t@Listen('keydown')\n\tpublic async handleKeyDown(event: KeyboardEvent) {\n\t\tconst openItems = await this.getOpenTreeItemElements();\n\t\tconst currentTreeItem: HTMLKolTreeItemElement | undefined | null = document.activeElement?.closest(KolTreeItemTag);\n\t\tconst hasModifierKeyPressed = event.metaKey || event.altKey || event.ctrlKey || event.shiftKey;\n\n\t\tif (!openItems || !currentTreeItem) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst currentIndex = openItems?.findIndex((elem) => elem === currentTreeItem);\n\n\t\tswitch (event.key) {\n\t\t\tcase 'ArrowDown': {\n\t\t\t\tawait openItems[currentIndex + 1]?.focus();\n\t\t\t\tevent.preventDefault();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'ArrowUp': {\n\t\t\t\tawait openItems[currentIndex - 1]?.focus();\n\t\t\t\tevent.preventDefault();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'Right':\n\t\t\tcase 'ArrowRight': {\n\t\t\t\tevent.preventDefault();\n\t\t\t\tif (await currentTreeItem.isOpen()) {\n\t\t\t\t\tawait openItems[currentIndex + 1]?.focus();\n\t\t\t\t} else {\n\t\t\t\t\tawait currentTreeItem.expand();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'Left':\n\t\t\tcase 'ArrowLeft': {\n\t\t\t\tevent.preventDefault();\n\t\t\t\tif (await currentTreeItem.isOpen()) {\n\t\t\t\t\tawait currentTreeItem.collapse();\n\t\t\t\t} else {\n\t\t\t\t\tconst parentItem = currentTreeItem.parentElement as HTMLKolTreeItemElement | null;\n\t\t\t\t\tconst parentIndex = parentItem ? openItems.indexOf(parentItem) : -1;\n\t\t\t\t\tif (parentIndex !== -1) {\n\t\t\t\t\t\tawait openItems[parentIndex]?.focus();\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'Home': {\n\t\t\t\tawait openItems[0]?.focus();\n\t\t\t\tevent.preventDefault();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'End': {\n\t\t\t\tawait openItems[openItems.length - 1]?.focus();\n\t\t\t\tevent.preventDefault();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase event.key.match(/^[a-zA-Z0-9]$/)?.input: {\n\t\t\t\t/* Ignore events with any modifier key to avoid breaking native browser or OS shortcuts such as ⌘+L */\n\t\t\t\tif (!hasModifierKeyPressed) {\n\t\t\t\t\tconst char = event.key.toLowerCase();\n\t\t\t\t\tconst startIndex = openItems.indexOf(currentTreeItem) + 1;\n\n\t\t\t\t\t// Search from startIndex to end\n\t\t\t\t\tlet matchIndex = openItems.slice(startIndex).findIndex((item) => item.getAttribute('_label')?.trim().toLowerCase().startsWith(char));\n\n\t\t\t\t\t// If not found, wrap around to beginning\n\t\t\t\t\tif (matchIndex === -1) {\n\t\t\t\t\t\tmatchIndex = openItems.slice(0, startIndex).findIndex((item) => item.getAttribute('_label')?.trim().toLowerCase().startsWith(char));\n\t\t\t\t\t\t// Adjust matchIndex if found in wrap-around\n\t\t\t\t\t\tif (matchIndex !== -1) {\n\t\t\t\t\t\t\t// matchIndex is already correct (0-based from slice(0, startIndex))\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// matchIndex is from slice(startIndex), so add startIndex to get actual index\n\t\t\t\t\t\tmatchIndex += startIndex;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (matchIndex !== -1) {\n\t\t\t\t\t\tawait openItems[matchIndex]?.focus();\n\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase '*': {\n\t\t\t\tconst siblings = currentTreeItem.parentElement?.querySelectorAll(KolTreeItemTag);\n\t\t\t\tsiblings?.forEach((element) => {\n\t\t\t\t\tvoid element.expand();\n\t\t\t\t});\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\t@Listen('focusin')\n\tpublic handleFocusIn(event: FocusEvent) {\n\t\t// Only delegate if no tree item is already focused\n\t\tif (event.target === this.host && !document.activeElement?.closest(KolTreeItemTag)) {\n\t\t\t// Defer to next frame to ensure tree is fully ready\n\t\t\trequestAnimationFrame(() => {\n\t\t\t\tvoid this.focus();\n\t\t\t});\n\t\t}\n\t}\n\n\t@Listen('focusout')\n\tpublic handleFocusOut(event: FocusEvent) {\n\t\tif (event.relatedTarget && !(event.relatedTarget as Element).closest(KolTreeTag)) {\n\t\t\t/* Tree lost focus */\n\t\t\tthis.ensureActiveItemVisibility();\n\t\t}\n\t}\n\n\tprivate ensureActiveItemVisibility() {\n\t\tconst findActiveItem = (): HTMLKolTreeItemElement | undefined => {\n\t\t\tconst rootNodes = (this.host?.querySelector('slot')?.assignedNodes?.() as HTMLElement[])?.filter(KolTreeWc.isTreeItem) ?? [];\n\t\t\tfor (const rootNode of rootNodes) {\n\t\t\t\tif (rootNode._active) {\n\t\t\t\t\treturn rootNode;\n\t\t\t\t}\n\t\t\t\tconst childMatch = rootNode.querySelector(`${KolTreeItemTag}[_active=\"true\"]`);\n\t\t\t\tif (childMatch && (childMatch as HTMLKolTreeItemElement)._active) {\n\t\t\t\t\treturn childMatch as HTMLKolTreeItemElement;\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\tconst expandParentElements = (element: HTMLKolTreeItemElement) => {\n\t\t\tif (KolTreeWc.isTreeItem(element.parentElement)) {\n\t\t\t\tvoid element.parentElement.expand();\n\t\t\t\texpandParentElements(element.parentElement);\n\t\t\t}\n\t\t};\n\n\t\tconst target = findActiveItem();\n\t\tif (target) {\n\t\t\texpandParentElements(target);\n\t\t}\n\t}\n}\n"]}
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/components/tree/component.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,K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AC,SAAS,CAAC,UAAU,CAAC,mCAAI,EAAE,CAAC;YAC7H,KAAK,MAAM,QAAQ,IAAI,SAAS,EAAE,CAAC;gBAClC,IAAI,QAAQ,CAAC,OAAO,EAAE,CAAC;oBACtB,OAAO,QAAQ,CAAC;gBACjB,CAAC;gBACD,MAAM,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC,GAAG,cAAc,kBAAkB,CAAC,CAAC;gBAC/E,IAAI,UAAU,IAAK,UAAqC,CAAC,OAAO,EAAE,CAAC;oBAClE,OAAO,UAAoC,CAAC;gBAC7C,CAAC;YACF,CAAC;QACF,CAAC,CAAC;QAEF,MAAM,oBAAoB,GAAG,CAAC,OAA+B,EAAE,EAAE;YAChE,IAAI,SAAS,CAAC,UAAU,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,CAAC;gBACjD,KAAK,OAAO,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC;gBACpC,oBAAoB,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;YAC7C,CAAC;QACF,CAAC,CAAC;QAEF,MAAM,MAAM,GAAG,cAAc,EAAE,CAAC;QAChC,IAAI,MAAM,EAAE,CAAC;YACZ,oBAAoB,CAAC,MAAM,CAAC,CAAC;QAC9B,CAAC;IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Host, Listen, Method, Prop, State, Watch } from '@stencil/core';\n\nimport { KolTreeItemTag, KolTreeTag } from '../../core/component-names';\nimport type { FocusableElement, KolFocusOptions, LabelPropType, TreeAPI, TreeStates } from '../../schema';\nimport { validateLabel } from '../../schema';\n\n/**\n * @internal\n */\n@Component({\n\ttag: 'kol-tree-wc',\n\tshadow: false,\n})\nexport class KolTreeWc implements FocusableElement, TreeAPI {\n\t@Element() private readonly host?: HTMLKolTreeWcElement;\n\n\t@State() public state: TreeStates = {\n\t\t_label: '',\n\t};\n\tprivate observer?: MutationObserver;\n\tprivate treeItemElements?: HTMLKolTreeItemElement[];\n\tprivate cachedOpenItems?: HTMLKolTreeItemElement[] | undefined;\n\tprivate cacheValid = false;\n\tprivate rafHandle?: number;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() _label!: LabelPropType;\n\n\t@Watch('_label') validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value);\n\t}\n\n\t/**\n\t * Sets focus on the first focusable tree item.\n\t */\n\t@Method()\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {\n\t\tconst openItems = await this.getOpenTreeItemElements();\n\t\tawait openItems?.[0]?.focus(options);\n\t}\n\n\t/**\n\t * Invalidates the cache for open tree items.\n\t * Called by tree-item when expand/collapse occurs.\n\t * @internal\n\t */\n\t@Method()\n\tpublic async invalidateOpenItemsCache(): Promise<void> {\n\t\tawait Promise.resolve((this.cacheValid = false));\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host onSlotchange={this.handleSlotchange.bind(this)}>\n\t\t\t\t<nav class=\"kol-tree\" aria-label={this.state._label}>\n\t\t\t\t\t<ul class=\"kol-tree__treeview-navigation\" role=\"tree\" aria-label={this.state._label}>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</ul>\n\t\t\t\t</nav>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate static isTreeItem(this: void, element?: HTMLElement | null): element is HTMLKolTreeItemElement {\n\t\treturn element?.tagName === KolTreeItemTag.toUpperCase();\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateLabel(this._label);\n\n\t\tthis.handleTreeChange();\n\t\tthis.observeChildListMutations();\n\t}\n\n\tpublic disconnectedCallback(): void {\n\t\tthis.observer?.disconnect();\n\t\tif (this.rafHandle !== undefined) {\n\t\t\tcancelAnimationFrame(this.rafHandle);\n\t\t\tthis.rafHandle = undefined;\n\t\t}\n\t}\n\n\tprivate observeChildListMutations() {\n\t\tthis.observer = new MutationObserver(() => this.scheduleTreeChange());\n\t\tthis.observeTopLevelItems();\n\t}\n\n\tprivate handleSlotchange() {\n\t\tthis.observeTopLevelItems();\n\t\tthis.scheduleTreeChange();\n\t}\n\n\tprivate observeTopLevelItems() {\n\t\tthis.getTopLevelTreeItems()?.forEach((treeItem) => {\n\t\t\tthis.observer?.observe(treeItem, { childList: true, subtree: true });\n\t\t});\n\t}\n\n\tprivate scheduleTreeChange() {\n\t\tif (this.rafHandle) cancelAnimationFrame(this.rafHandle);\n\t\tthis.rafHandle = requestAnimationFrame(() => {\n\t\t\tthis.handleTreeChange();\n\t\t});\n\t}\n\n\tprivate getTopLevelTreeItems(): HTMLKolTreeItemElement[] {\n\t\treturn (this.host?.querySelector('slot')?.assignedNodes?.() as HTMLElement[])?.filter(KolTreeWc.isTreeItem);\n\t}\n\n\tprivate handleTreeChange(): void {\n\t\tthis.treeItemElements = this.getTreeItemElements();\n\t\tthis.cacheValid = false;\n\t\tvoid this.ensureActiveItemVisibility();\n\t}\n\n\t/**\n\t * Returns array of all TreeItem elements in the order they appear\n\t */\n\tprivate getTreeItemElements(): HTMLKolTreeItemElement[] {\n\t\treturn this.getTopLevelTreeItems()?.reduce((accumulator: HTMLKolTreeItemElement[], currentValue: HTMLKolTreeItemElement) => {\n\t\t\tconst children = currentValue.querySelectorAll(KolTreeItemTag);\n\n\t\t\treturn [...accumulator, currentValue, ...children];\n\t\t}, []);\n\t}\n\n\tprivate async getOpenTreeItemElements(): Promise<HTMLKolTreeItemElement[] | undefined> {\n\t\tif (!this.treeItemElements) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Cache-Hit: Return cached result\n\t\tif (this.cacheValid && this.cachedOpenItems) {\n\t\t\treturn this.cachedOpenItems;\n\t\t}\n\n\t\tconst areAllParentsOpen = async (element: HTMLKolTreeItemElement): Promise<boolean> => {\n\t\t\tlet parent = element.parentElement as HTMLKolTreeItemElement | null;\n\t\t\twhile (parent && KolTreeWc.isTreeItem(parent)) {\n\t\t\t\tif (!(await parent.isOpen())) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tparent = parent.parentElement as HTMLKolTreeItemElement | null;\n\t\t\t}\n\t\t\treturn true;\n\t\t};\n\n\t\t// Cache the result\n\t\tthis.cachedOpenItems = await Promise.all(\n\t\t\tthis.treeItemElements.map(async (item) => ({\n\t\t\t\titem,\n\t\t\t\tisOpen: await areAllParentsOpen(item),\n\t\t\t})),\n\t\t).then((results) => results.filter(({ isOpen }) => isOpen).map(({ item }) => item));\n\t\tthis.cacheValid = true;\n\n\t\treturn this.cachedOpenItems;\n\t}\n\n\t@Listen('keydown')\n\tpublic async handleKeyDown(event: KeyboardEvent) {\n\t\tconst openItems = await this.getOpenTreeItemElements();\n\t\tconst currentTreeItem: HTMLKolTreeItemElement | undefined | null = document.activeElement?.closest(KolTreeItemTag);\n\t\tconst hasModifierKeyPressed = event.metaKey || event.altKey || event.ctrlKey || event.shiftKey;\n\n\t\tif (!openItems || !currentTreeItem) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst currentIndex = openItems?.findIndex((elem) => elem === currentTreeItem);\n\n\t\tswitch (event.key) {\n\t\t\tcase 'ArrowDown': {\n\t\t\t\tawait openItems[currentIndex + 1]?.focus();\n\t\t\t\tevent.preventDefault();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'ArrowUp': {\n\t\t\t\tawait openItems[currentIndex - 1]?.focus();\n\t\t\t\tevent.preventDefault();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'Right':\n\t\t\tcase 'ArrowRight': {\n\t\t\t\tevent.preventDefault();\n\t\t\t\tif (await currentTreeItem.isOpen()) {\n\t\t\t\t\tawait openItems[currentIndex + 1]?.focus();\n\t\t\t\t} else {\n\t\t\t\t\tawait currentTreeItem.expand();\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'Left':\n\t\t\tcase 'ArrowLeft': {\n\t\t\t\tevent.preventDefault();\n\t\t\t\tif (await currentTreeItem.isOpen()) {\n\t\t\t\t\tawait currentTreeItem.collapse();\n\t\t\t\t} else {\n\t\t\t\t\tconst parentItem = currentTreeItem.parentElement as HTMLKolTreeItemElement | null;\n\t\t\t\t\tconst parentIndex = parentItem ? openItems.indexOf(parentItem) : -1;\n\t\t\t\t\tif (parentIndex !== -1) {\n\t\t\t\t\t\tawait openItems[parentIndex]?.focus();\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'Home': {\n\t\t\t\tawait openItems[0]?.focus();\n\t\t\t\tevent.preventDefault();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase 'End': {\n\t\t\t\tawait openItems[openItems.length - 1]?.focus();\n\t\t\t\tevent.preventDefault();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase event.key.match(/^[a-zA-Z0-9]$/)?.input: {\n\t\t\t\t/* Ignore events with any modifier key to avoid breaking native browser or OS shortcuts such as ⌘+L */\n\t\t\t\tif (!hasModifierKeyPressed) {\n\t\t\t\t\tconst char = event.key.toLowerCase();\n\t\t\t\t\tconst startIndex = openItems.indexOf(currentTreeItem) + 1;\n\n\t\t\t\t\t// Search from startIndex to end\n\t\t\t\t\tlet matchIndex = openItems.slice(startIndex).findIndex((item) => item.getAttribute('_label')?.trim().toLowerCase().startsWith(char));\n\n\t\t\t\t\t// If not found, wrap around to beginning\n\t\t\t\t\tif (matchIndex === -1) {\n\t\t\t\t\t\tmatchIndex = openItems.slice(0, startIndex).findIndex((item) => item.getAttribute('_label')?.trim().toLowerCase().startsWith(char));\n\t\t\t\t\t\t// Adjust matchIndex if found in wrap-around\n\t\t\t\t\t\tif (matchIndex !== -1) {\n\t\t\t\t\t\t\t// matchIndex is already correct (0-based from slice(0, startIndex))\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// matchIndex is from slice(startIndex), so add startIndex to get actual index\n\t\t\t\t\t\tmatchIndex += startIndex;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (matchIndex !== -1) {\n\t\t\t\t\t\tawait openItems[matchIndex]?.focus();\n\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcase '*': {\n\t\t\t\tconst siblings = currentTreeItem.parentElement?.querySelectorAll(KolTreeItemTag);\n\t\t\t\tsiblings?.forEach((element) => {\n\t\t\t\t\tvoid element.expand();\n\t\t\t\t});\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\t@Listen('focusin')\n\tpublic handleFocusIn(event: FocusEvent) {\n\t\t// Only delegate if no tree item is already focused\n\t\tif (event.target === this.host && !document.activeElement?.closest(KolTreeItemTag)) {\n\t\t\t// Defer to next frame to ensure tree is fully ready\n\t\t\trequestAnimationFrame(() => {\n\t\t\t\tvoid this.focus();\n\t\t\t});\n\t\t}\n\t}\n\n\t@Listen('focusout')\n\tpublic handleFocusOut(event: FocusEvent) {\n\t\tif (event.relatedTarget && !(event.relatedTarget as Element).closest(KolTreeTag)) {\n\t\t\t/* Tree lost focus */\n\t\t\tthis.ensureActiveItemVisibility();\n\t\t}\n\t}\n\n\tprivate ensureActiveItemVisibility() {\n\t\tconst findActiveItem = (): HTMLKolTreeItemElement | undefined => {\n\t\t\tconst rootNodes = (this.host?.querySelector('slot')?.assignedNodes?.() as HTMLElement[])?.filter(KolTreeWc.isTreeItem) ?? [];\n\t\t\tfor (const rootNode of rootNodes) {\n\t\t\t\tif (rootNode._active) {\n\t\t\t\t\treturn rootNode;\n\t\t\t\t}\n\t\t\t\tconst childMatch = rootNode.querySelector(`${KolTreeItemTag}[_active=\"true\"]`);\n\t\t\t\tif (childMatch && (childMatch as HTMLKolTreeItemElement)._active) {\n\t\t\t\t\treturn childMatch as HTMLKolTreeItemElement;\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\tconst expandParentElements = (element: HTMLKolTreeItemElement) => {\n\t\t\tif (KolTreeWc.isTreeItem(element.parentElement)) {\n\t\t\t\tvoid element.parentElement.expand();\n\t\t\t\texpandParentElements(element.parentElement);\n\t\t\t}\n\t\t};\n\n\t\tconst target = findActiveItem();\n\t\tif (target) {\n\t\t\texpandParentElements(target);\n\t\t}\n\t}\n}\n"]}
|
|
@@ -11,7 +11,7 @@ export class KolTree {
|
|
|
11
11
|
}
|
|
12
12
|
async focus(options) { }
|
|
13
13
|
render() {
|
|
14
|
-
return (h(KolTreeWcTag, { key: '
|
|
14
|
+
return (h(KolTreeWcTag, { key: 'c3c1ea08961facbed8b660b2b5a9af5dd6662e3a', _label: this._label, ref: this.ctaRef }, h("slot", { key: '24592c12e290cbd9be0ea4825dcf651494c0ea1a' })));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "kol-tree"; }
|
|
17
17
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shadow.js","sourceRoot":"","sources":["../../../src/components/tree/shadow.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEpE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAS9E,MAAM,OAAO,OAAO;IAPpB;QASoB,WAAM,GAAG,YAAY,EAAwB,CAAC;KAuBjE;IATa,AAAN,KAAK,CAAC,KAAK,CAAC,OAAyB,IAAkB,CAAC;IAExD,MAAM;QACZ,OAAO,CACN,EAAC,YAAY,qDAAC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,MAAM;YAClD,8DAAQ,CACM,CACf,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD;AATa;IAHZ,aAAa,CAAC,QAAQ,CAAC;oCAGuC","sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop } from '@stencil/core';\n\nimport { KolTreeWcTag } from '../../core/component-names';\nimport type { FocusableElement, KolFocusOptions, LabelPropType, TreeProps } from '../../schema';\nimport { createCtaRef, delegateFocus } from '../../utils/element-interaction';\n\n@Component({\n\ttag: 'kol-tree',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolTree implements
|
|
1
|
+
{"version":3,"file":"shadow.js","sourceRoot":"","sources":["../../../src/components/tree/shadow.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEpE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAS9E,MAAM,OAAO,OAAO;IAPpB;QASoB,WAAM,GAAG,YAAY,EAAwB,CAAC;KAuBjE;IATa,AAAN,KAAK,CAAC,KAAK,CAAC,OAAyB,IAAkB,CAAC;IAExD,MAAM;QACZ,OAAO,CACN,EAAC,YAAY,qDAAC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,IAAI,CAAC,MAAM;YAClD,8DAAQ,CACM,CACf,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD;AATa;IAHZ,aAAa,CAAC,QAAQ,CAAC;oCAGuC","sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop } from '@stencil/core';\n\nimport { KolTreeWcTag } from '../../core/component-names';\nimport type { FocusableElement, KolFocusOptions, LabelPropType, TreeProps } from '../../schema';\nimport { createCtaRef, delegateFocus } from '../../utils/element-interaction';\n\n@Component({\n\ttag: 'kol-tree',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolTree implements FocusableElement, TreeProps {\n\t@Element() protected readonly host?: HTMLKolTreeElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLKolTreeWcElement>();\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() _label!: LabelPropType;\n\n\t/**\n\t * Sets focus on the first focusable tree item.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolTreeWcTag _label={this._label} ref={this.ctaRef}>\n\t\t\t\t<slot />\n\t\t\t</KolTreeWcTag>\n\t\t);\n\t}\n}\n"]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
1
2
|
/* forward the rem function */
|
|
2
3
|
/*
|
|
3
4
|
* This file defines the layer order for all CSS layers used in KoliBri.
|
|
@@ -17,9 +18,14 @@
|
|
|
17
18
|
@layer kol-a11y {
|
|
18
19
|
:host {
|
|
19
20
|
/*
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
* Minimum size of interactive elements.
|
|
22
|
+
*
|
|
23
|
+
* The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:
|
|
24
|
+
* `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose
|
|
25
|
+
* sub-pixel precision and resolve to e.g. 43.99px depending on the browser's
|
|
26
|
+
* rounding, dropping just below the required minimum.
|
|
27
|
+
*/
|
|
28
|
+
--a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);
|
|
23
29
|
/*
|
|
24
30
|
* No element should be used without verifying the contrast ratio of its background and font colors.
|
|
25
31
|
* By initially setting the background color to white and the font color to black,
|
|
@@ -20,12 +20,12 @@ export class KolTreeItemWc {
|
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
22
|
const { _href, _active, _hasChildren, _open, _label } = this.state;
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '033b9e4fa4869b03c27a23e26d682040f8d15029', onSlotchange: this.handleSlotchange.bind(this) }, h("li", { key: '4627c891d1bd05d9b0d4151b54e90a3efe38b37b', class: "kol-tree-item", style: {
|
|
24
24
|
'--level': `${this.level}`,
|
|
25
|
-
} }, h(KolLinkWcTag, { key: '
|
|
25
|
+
} }, h(KolLinkWcTag, { key: 'aef7f99136e1edd49155ca2520d0c036159cfdf2', class: clsx('kol-tree-item__link', {
|
|
26
26
|
'kol-tree-item__link--first-level': this.level === 0,
|
|
27
27
|
'kol-tree-item__link--active': _active,
|
|
28
|
-
}), _href: _href, _label: "", _role: "treeitem", _tabIndex: _active ? 0 : -1, _ariaExpanded: _hasChildren ? _open : undefined, _ariaOwns: _hasChildren ? this.groupId : undefined, ref: (element) => (this.linkElement = element) }, h("span", { key: '
|
|
28
|
+
}), _href: _href, _label: "", _role: "treeitem", _tabIndex: _active ? 0 : -1, _ariaExpanded: _hasChildren ? _open : undefined, _ariaOwns: _hasChildren ? this.groupId : undefined, ref: (element) => (this.linkElement = element) }, h("span", { key: 'f2fc1f85b52708c6792283a59d29954b6f4622ca', class: "kol-tree-item__link-inner", slot: "expert" }, _hasChildren ? (h("span", { class: "kol-tree-item__toggle-button", onClick: (event) => (_open ? void this.handleCollapseClick(event) : void this.handleExpandClick(event)) }, h(IconFC, { class: "kol-tree-item__toggle-button-icon", icons: `kolicon kolicon-${_open ? 'chevron-down' : 'chevron-right'}`, label: '' }))) : (h("span", { class: "kol-tree-item__toggle-button-placeholder" })), h("span", { key: '83cdee0ee9ff9ddff20e4d1ad9714ad80c1c6eb3', class: "kol-tree-item__text" }, _label))), h("ul", { key: 'dde87b4cbbab2833af27a1530842561fd376bd63', class: "kol-tree-item__children", hidden: !_hasChildren || !_open, role: "group", id: this.groupId }, h("slot", { key: '36e347147c5c8a8f733a9aa8076d05d84f08c26b' })))));
|
|
29
29
|
}
|
|
30
30
|
validateActive(value) {
|
|
31
31
|
validateActive(this, value || false);
|
|
@@ -21,7 +21,7 @@ export class KolTreeItem {
|
|
|
21
21
|
return (_b = (await ((_a = this.element) === null || _a === void 0 ? void 0 : _a.isOpen()))) !== null && _b !== void 0 ? _b : false;
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (h(KolTreeItemWcTag, { key: '
|
|
24
|
+
return (h(KolTreeItemWcTag, { key: '85b09f7121a7deda9d342ee60a8e8bdb4fec7465', _active: this._active, _label: this._label, _open: this._open, _href: this._href, ref: (element) => (this.element = element) }, h("slot", { key: '87390d0ee5088434546b925b9d3381a04eeed0b9' })));
|
|
25
25
|
}
|
|
26
26
|
static get is() { return "kol-tree-item"; }
|
|
27
27
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
1
2
|
/* forward the rem function */
|
|
2
3
|
/*
|
|
3
4
|
* This file defines the layer order for all CSS layers used in KoliBri.
|
|
@@ -17,9 +18,14 @@
|
|
|
17
18
|
@layer kol-a11y {
|
|
18
19
|
:host {
|
|
19
20
|
/*
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
* Minimum size of interactive elements.
|
|
22
|
+
*
|
|
23
|
+
* The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:
|
|
24
|
+
* `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose
|
|
25
|
+
* sub-pixel precision and resolve to e.g. 43.99px depending on the browser's
|
|
26
|
+
* rounding, dropping just below the required minimum.
|
|
27
|
+
*/
|
|
28
|
+
--a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);
|
|
23
29
|
/*
|
|
24
30
|
* No element should be used without verifying the contrast ratio of its background and font colors.
|
|
25
31
|
* By initially setting the background color to white and the font color to black,
|
|
@@ -201,8 +207,8 @@
|
|
|
201
207
|
}
|
|
202
208
|
@font-face {
|
|
203
209
|
font-family: "kolicons";
|
|
204
|
-
src: url("kolicons.eot?t=
|
|
205
|
-
src: url("kolicons.eot?t=
|
|
210
|
+
src: url("kolicons.eot?t=1782311579243"); /* IE9*/
|
|
211
|
+
src: url("kolicons.eot?t=1782311579243#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1782311579243") format("woff2"), url("kolicons.woff?t=1782311579243") format("woff"), url("kolicons.ttf?t=1782311579243") format("truetype"), url("kolicons.svg?t=1782311579243#kolicons") format("svg"); /* iOS 4.1- */
|
|
206
212
|
}
|
|
207
213
|
@layer kol-component {
|
|
208
214
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -13,7 +13,7 @@ export class KolVersion {
|
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '46d6c57fec1c2bb63e60341538135f5423c4f681', class: "kol-version" }, h(KolBadgeTag, { key: '8f174591a26459975f1be7c602499bd3dd586b53', _color: "#bec5c9", _icons: {
|
|
17
17
|
left: { icon: 'kolicon-version', label: this.translateVersion },
|
|
18
18
|
}, _label: this.state._label })));
|
|
19
19
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
1
2
|
/*
|
|
2
3
|
* This file defines the layer order for all CSS layers used in KoliBri.
|
|
3
4
|
* The order is important as it determines the cascade priority.
|
|
@@ -17,9 +18,14 @@
|
|
|
17
18
|
@layer kol-a11y {
|
|
18
19
|
:host {
|
|
19
20
|
/*
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
* Minimum size of interactive elements.
|
|
22
|
+
*
|
|
23
|
+
* The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:
|
|
24
|
+
* `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose
|
|
25
|
+
* sub-pixel precision and resolve to e.g. 43.99px depending on the browser's
|
|
26
|
+
* rounding, dropping just below the required minimum.
|
|
27
|
+
*/
|
|
28
|
+
--a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);
|
|
23
29
|
/*
|
|
24
30
|
* No element should be used without verifying the contrast ratio of its background and font colors.
|
|
25
31
|
* By initially setting the background color to white and the font color to black,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/e2e/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/e2e/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC","sourcesContent":["export * from './input-character-limit';\nexport * from './input-value-reflection';\n"]}
|
package/dist/collection/functional-component-wrappers/SelectStateWrapper/SelectStateWrapper.js
CHANGED
|
@@ -17,7 +17,7 @@ function getSelectProps(state) {
|
|
|
17
17
|
disabled: state._disabled,
|
|
18
18
|
name: state._name,
|
|
19
19
|
ariaDescribedBy: ariaDescribedBy,
|
|
20
|
-
size: state._rows,
|
|
20
|
+
size: state._multiple ? state._rows : undefined,
|
|
21
21
|
multiple: state._multiple,
|
|
22
22
|
required: state._required,
|
|
23
23
|
touched: state._touched,
|
package/dist/collection/functional-component-wrappers/SelectStateWrapper/SelectStateWrapper.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectStateWrapper.js","sourceRoot":"","sources":["../../../src/functional-component-wrappers/SelectStateWrapper/SelectStateWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,CAAC,EAAkC,MAAM,eAAe,CAAC;AAClE,OAAO,WAAiC,MAAM,iDAAiD,CAAC;AAGhG,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAM9D,SAAS,cAAc,CAAC,KAAmB;IAC1C,MAAM,EAAE,eAAe,EAAE,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC;IAEnD,MAAM,KAAK,GAAgB;QAC1B,EAAE,EAAE,KAAK,CAAC,GAAG;QACb,SAAS,EAAE,KAAK,CAAC,UAAU;QAC3B,KAAK,EAAE,KAAK,CAAC,MAAM;QACnB,KAAK,EAAE,KAAK,CAAC,MAAM;QACnB,OAAO,EAAE,KAAK,CAAC,QAAQ;QACvB,SAAS,EAAE,KAAK,CAAC,UAAU;QAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS;QACzB,IAAI,EAAE,KAAK,CAAC,KAAK;QACjB,eAAe,EAAE,eAAe;QAChC,IAAI,EAAE,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"SelectStateWrapper.js","sourceRoot":"","sources":["../../../src/functional-component-wrappers/SelectStateWrapper/SelectStateWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,CAAC,EAAkC,MAAM,eAAe,CAAC;AAClE,OAAO,WAAiC,MAAM,iDAAiD,CAAC;AAGhG,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAM9D,SAAS,cAAc,CAAC,KAAmB;IAC1C,MAAM,EAAE,eAAe,EAAE,GAAG,eAAe,CAAC,KAAK,CAAC,CAAC;IAEnD,MAAM,KAAK,GAAgB;QAC1B,EAAE,EAAE,KAAK,CAAC,GAAG;QACb,SAAS,EAAE,KAAK,CAAC,UAAU;QAC3B,KAAK,EAAE,KAAK,CAAC,MAAM;QACnB,KAAK,EAAE,KAAK,CAAC,MAAM;QACnB,OAAO,EAAE,KAAK,CAAC,QAAQ;QACvB,SAAS,EAAE,KAAK,CAAC,UAAU;QAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS;QACzB,IAAI,EAAE,KAAK,CAAC,KAAK;QACjB,eAAe,EAAE,eAAe;QAChC,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS;QAC/C,QAAQ,EAAE,KAAK,CAAC,SAAS;QACzB,QAAQ,EAAE,KAAK,CAAC,SAAS;QACzB,OAAO,EAAE,KAAK,CAAC,QAAQ;QACvB,GAAG,EAAE,KAAK,CAAC,IAAmB;KAC9B,CAAC;IAEF,IAAI,WAAW,IAAI,KAAK;QAAE,KAAK,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC;IAEvE,OAAO,KAAK,CAAC;AACd,CAAC;AAED,MAAM,kBAAkB,GAAgC,CAAC,EAAmB,EAAE,EAAE;QAAvB,EAAE,KAAK,OAAY,EAAP,KAAK,cAAjB,SAAmB,CAAF;IACzE,OAAO,EAAC,WAAW,oBAAK,cAAc,CAAC,KAAK,CAAC,EAAM,KAAK,EAAI,CAAC;AAC9D,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC","sourcesContent":["import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport KolSelectFc, { type SelectProps } from '../../functional-components/inputs/NativeSelect';\n\nimport { type MsgPropType, type SelectStates } from '../../schema';\nimport { getRenderStates } from '../_helpers/getRenderStates';\n\nexport type SelectStateWrapperProps = Partial<SelectProps> & {\n\tstate: SelectStates;\n};\n\nfunction getSelectProps(state: SelectStates): SelectProps {\n\tconst { ariaDescribedBy } = getRenderStates(state);\n\n\tconst props: SelectProps = {\n\t\tid: state._id,\n\t\thideLabel: state._hideLabel,\n\t\tlabel: state._label,\n\t\tvalue: state._value,\n\t\toptions: state._options,\n\t\taccessKey: state._accessKey,\n\t\tdisabled: state._disabled,\n\t\tname: state._name,\n\t\tariaDescribedBy: ariaDescribedBy,\n\t\tsize: state._multiple ? state._rows : undefined,\n\t\tmultiple: state._multiple,\n\t\trequired: state._required,\n\t\ttouched: state._touched,\n\t\tmsg: state._msg as MsgPropType,\n\t};\n\n\tif ('_shortKey' in state) props['aria-keyshortcuts'] = state._shortKey;\n\n\treturn props;\n}\n\nconst SelectStateWrapper: FC<SelectStateWrapperProps> = ({ state, ...other }) => {\n\treturn <KolSelectFc {...getSelectProps(state)} {...other} />;\n};\n\nexport default SelectStateWrapper;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACtE,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACtE,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAiBrD,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC","sourcesContent":["export { getDefaultThemeName } from 'adopted-style-sheets';\nexport * from './components.d';\nexport { setCurrentLocation } from './components/link/ariaCurrentService';\nexport { ToasterService } from './components/toaster/toaster';\nexport { bootstrap, isInitialized, register } from './core/bootstrap';\nexport * from './enums/bund';\nexport * from './kolibri';\nexport { KoliBri, KoliBriDevHelper } from './schema';\nexport type {\n\tClickableElement,\n\tEventValueOrEventCallback,\n\tFocusableElement,\n\tKoliBriTableCell,\n\tKoliBriTableHeaderCell,\n\tKoliBriTableHeaderCellWithLogic,\n\tKoliBriTableSelection,\n\tOptgroup,\n\tOption,\n\tRadioOption,\n\tSelectOption,\n\tToast,\n\tToasterOptions,\n\tW3CInputValue,\n} from './schema';\nexport { BEM } from './schema/bem-registry';\nexport { KolEvent } from './utils/events';\nexport { isTooltipOpen } from './utils/tooltip-open-tracking';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../../src/internal/functional-components/abbr/api.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,MAAM,CAAC,MAAM,eAAe,GAAG;IAC9B,QAAQ,EAAE,CAAC,SAAS,CAAC;CACe,CAAC","sourcesContent":["import { labelProp } from '../../props';\nimport type { ApiFromConfig, PropsConfigShape } from '../generic-types';\n\nexport const abbrPropsConfig = {\n\toptional: [labelProp],\n} as const satisfies PropsConfigShape;\n\nexport type AbbrApi = ApiFromConfig<\n\ttypeof abbrPropsConfig,\n\t{\n\t\tRefs: {\n\t\t\tabbr: HTMLElement;\n\t\t};\n\t}\n>;\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import { h } from "@stencil/core";
|
|
5
|
+
import { bem } from "../../../schema/bem-registry";
|
|
6
|
+
const abbrBem = bem.forBlock('kol-abbr');
|
|
7
|
+
const BEM_CLASS_ABBR = abbrBem();
|
|
8
|
+
export const AbbrFC = ({ label, refAbbr }) => (h("abbr", { class: BEM_CLASS_ABBR, ref: refAbbr, tabIndex: label ? 0 : undefined }, h("slot", null)));
|
|
9
|
+
//# sourceMappingURL=component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/internal/functional-components/abbr/component.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAElC,OAAO,EAAE,GAAG,EAAE,MAAM,8BAA8B,CAAC;AAInD,MAAM,OAAO,GAAG,GAAG,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;AACzC,MAAM,cAAc,GAAG,OAAO,EAAE,CAAC;AAEjC,MAAM,CAAC,MAAM,MAAM,GAA0C,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAEpF,YAAM,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;IACzE,eAAQ,CACF,CACP,CAAC","sourcesContent":["import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport { bem } from '../../../schema/bem-registry';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { AbbrApi } from './api';\n\nconst abbrBem = bem.forBlock('kol-abbr');\nconst BEM_CLASS_ABBR = abbrBem();\n\nexport const AbbrFC: FC<FunctionalComponentProps<AbbrApi>> = ({ label, refAbbr }) => (\n\t// eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex\n\t<abbr class={BEM_CLASS_ABBR} ref={refAbbr} tabIndex={label ? 0 : undefined}>\n\t\t<slot />\n\t</abbr>\n);\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import { labelProp } from "../../props";
|
|
5
|
+
import { BaseController } from "../base-controller";
|
|
6
|
+
import { abbrPropsConfig } from "./api";
|
|
7
|
+
export class AbbrController extends BaseController {
|
|
8
|
+
constructor(stateAccess) {
|
|
9
|
+
super(stateAccess, abbrPropsConfig);
|
|
10
|
+
}
|
|
11
|
+
componentWillLoad(props) {
|
|
12
|
+
this.watchLabel(props.label);
|
|
13
|
+
}
|
|
14
|
+
watchLabel(value) {
|
|
15
|
+
labelProp.apply(value, (v) => {
|
|
16
|
+
this.setRenderProp('label', v);
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"controller.js","sourceRoot":"","sources":["../../../../src/internal/functional-components/abbr/controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,OAAO,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AAExC,MAAM,OAAO,cAAe,SAAQ,cAAuB;IAC1D,YAAmB,WAAiC;QACnD,KAAK,CAAC,WAAW,EAAE,eAAe,CAAC,CAAC;IACrC,CAAC;IAEM,iBAAiB,CAAC,KAAkC;QAC1D,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAC9B,CAAC;IAEM,UAAU,CAAC,KAAc;QAC/B,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE,EAAE;YAC5B,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;QAChC,CAAC,CAAC,CAAC;IACJ,CAAC;CACD","sourcesContent":["import { labelProp } from '../../props';\nimport { BaseController } from '../base-controller';\nimport type { ControllerInterface, ResolvedInputProps, StateAccess } from '../generic-types';\nimport type { AbbrApi } from './api';\nimport { abbrPropsConfig } from './api';\n\nexport class AbbrController extends BaseController<AbbrApi> implements ControllerInterface<AbbrApi> {\n\tpublic constructor(stateAccess: StateAccess<AbbrApi>) {\n\t\tsuper(stateAccess, abbrPropsConfig);\n\t}\n\n\tpublic componentWillLoad(props: ResolvedInputProps<AbbrApi>): void {\n\t\tthis.watchLabel(props.label);\n\t}\n\n\tpublic watchLabel(value?: string): void {\n\t\tlabelProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('label', v);\n\t\t});\n\t}\n}\n"]}
|
|
@@ -43,7 +43,11 @@ export const MeterFC = (props) => {
|
|
|
43
43
|
const state = getMeterState(value, min, max, low, high, optimum);
|
|
44
44
|
const hasStateClassification = low !== undefined || high !== undefined;
|
|
45
45
|
const stateLabel = hasStateClassification ? translate(`kol-meter-state-${state}`) : '';
|
|
46
|
+
const staticValueText = isPercentage
|
|
47
|
+
? translate('kol-live-value', { placeholders: { value: String(displayValue), unit } })
|
|
48
|
+
: translate('kol-live-value-bounded', { placeholders: { value: String(displayValue), max: String(max), unit } });
|
|
49
|
+
const staticValueWithState = hasStateClassification ? `${staticValueText} – ${stateLabel}` : staticValueText;
|
|
46
50
|
const charCount = max.toString().length > min.toString().length ? max.toString().length + 'ch' : min.toString().length + 'ch';
|
|
47
|
-
return (h("div", { class: { 'kol-meter': true, 'kol-meter--vertical': isVertical } }, h("div", { class: "kol-meter__bar" }, h("div", { class: "kol-meter__bar-label" }, label, hasStateClassification && (h("span", { class: `kol-meter__bar-state kol-meter__bar-state--${state}` }, ' – ', stateLabel))), h("div", { class: "kol-meter__bar-track" }, h("meter", { "aria-label": label, high: high, low: low, max: max, min: min, optimum: optimum, value: value })), h("span", { class: "kol-meter__value-unit" }, h("span", { class: "kol-meter__value", style: { 'min-width': charCount } }, displayValue), h("span", { class: "kol-meter__unit" }, unit)))));
|
|
51
|
+
return (h("div", { class: { 'kol-meter': true, 'kol-meter--vertical': isVertical } }, h("div", { class: "kol-meter__bar" }, h("div", { class: "kol-meter__bar-label" }, label, hasStateClassification && (h("span", { class: `kol-meter__bar-state kol-meter__bar-state--${state}` }, ' – ', stateLabel))), h("div", { class: "kol-meter__bar-track" }, h("meter", { "aria-label": label, "aria-valuetext": staticValueWithState, high: high, low: low, max: max, min: min, optimum: optimum, value: value })), h("span", { class: "kol-meter__value-unit" }, h("span", { class: "kol-meter__value", style: { 'min-width': charCount } }, displayValue), h("span", { class: "kol-meter__unit" }, unit)))));
|
|
48
52
|
};
|
|
49
53
|
//# sourceMappingURL=component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/internal/functional-components/meter/component.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAElC,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAO1C,SAAS,aAAa,CAAC,KAAa,EAAE,GAAW,EAAE,GAAW,EAAE,GAAuB,EAAE,IAAwB,EAAE,OAA2B;IAC7I,MAAM,YAAY,GAAG,GAAG,aAAH,GAAG,cAAH,GAAG,GAAI,GAAG,CAAC;IAChC,MAAM,aAAa,GAAG,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,GAAG,CAAC;IAElC,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAC3B,MAAM,WAAW,GAAG,KAAK,IAAI,YAAY,IAAI,KAAK,IAAI,aAAa,CAAC;QACpE,OAAO,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC;IAC/C,CAAC;IAED,MAAM,WAAW,GAAG,KAAK,GAAG,YAAY,CAAC;IACzC,MAAM,YAAY,GAAG,KAAK,GAAG,aAAa,CAAC;IAC3C,MAAM,WAAW,GAAG,CAAC,WAAW,IAAI,CAAC,YAAY,CAAC;IAElD,MAAM,YAAY,GAAG,OAAO,GAAG,YAAY,CAAC;IAC5C,MAAM,aAAa,GAAG,OAAO,GAAG,aAA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B,KAAK;gBACL,sBAAsB,IAAI,CAC1B,YAAM,KAAK,EAAE,8CAA8C,KAAK,EAAE;oBAChE,KAAK;oBACL,UAAU,CACL,CACP,CACI;YAEN,WAAK,KAAK,EAAC,sBAAsB;gBAChC,2BAAmB,KAAK,oBAAkB,oBAAoB,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,GAAU,CAC7I;YACN,YAAM,KAAK,EAAC,uBAAuB;gBAClC,YAAM,KAAK,EAAC,kBAAkB,EAAC,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,IAC9D,YAAY,CACP;gBACP,YAAM,KAAK,EAAC,iBAAiB,IAAE,IAAI,CAAQ,CACrC,CACF,CACD,CACN,CAAC;AACH,CAAC,CAAC","sourcesContent":["import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\nimport type { TranslationKey } from '../../../i18n';\nimport { translate } from '../../../i18n';\n\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { MeterApi } from './api';\n\ntype MeterState = 'optimum' | 'suboptimal' | 'critical';\n\nfunction getMeterState(value: number, min: number, max: number, low: number | undefined, high: number | undefined, optimum: number | undefined): MeterState {\n\tconst effectiveLow = low ?? min;\n\tconst effectiveHigh = high ?? max;\n\n\tif (optimum === undefined) {\n\t\tconst inMidRegion = value >= effectiveLow && value <= effectiveHigh;\n\t\treturn inMidRegion ? 'optimum' : 'suboptimal';\n\t}\n\n\tconst inLowRegion = value < effectiveLow;\n\tconst inHighRegion = value > effectiveHigh;\n\tconst inMidRegion = !inLowRegion && !inHighRegion;\n\n\tconst optimumInLow = optimum < effectiveLow;\n\tconst optimumInHigh = optimum > effectiveHigh;\n\n\tif (optimumInLow) {\n\t\tif (inLowRegion) return 'optimum';\n\t\tif (inMidRegion) return 'suboptimal';\n\t\treturn 'critical';\n\t} else if (optimumInHigh) {\n\t\tif (inHighRegion) return 'optimum';\n\t\tif (inMidRegion) return 'suboptimal';\n\t\treturn 'critical';\n\t} else {\n\t\tif (inMidRegion) return 'optimum';\n\t\treturn 'suboptimal';\n\t}\n}\n\ntype MeterFCProps = Omit<FunctionalComponentProps<MeterApi>, 'high' | 'low' | 'optimum'> & {\n\thigh: number | undefined;\n\tlow: number | undefined;\n\toptimum: number | undefined;\n};\n\nexport const MeterFC: FC<MeterFCProps> = (props) => {\n\tconst { high, label, low, max, min, optimum, orientation, unit, value } = props;\n\n\tconst isVertical = orientation === 'vertical';\n\tconst isPercentage = unit === '%';\n\tconst displayValue = isPercentage ? Math.round(((value - min) / (max - min)) * 100) : value;\n\tconst state = getMeterState(value, min, max, low, high, optimum);\n\n\t// State classification is only meaningful when low or high boundaries are defined\n\tconst hasStateClassification = low !== undefined || high !== undefined;\n\tconst stateLabel = hasStateClassification ? translate(`kol-meter-state-${state}` as TranslationKey) : '';\n\n\tconst staticValueText = isPercentage\n\t\t? translate('kol-live-value', { placeholders: { value: String(displayValue), unit } })\n\t\t: translate('kol-live-value-bounded', { placeholders: { value: String(displayValue), max: String(max), unit } });\n\tconst staticValueWithState = hasStateClassification ? `${staticValueText} – ${stateLabel}` : staticValueText;\n\n\tconst charCount = max.toString().length > min.toString().length ? max.toString().length + 'ch' : min.toString().length + 'ch';\n\n\treturn (\n\t\t<div class={{ 'kol-meter': true, 'kol-meter--vertical': isVertical }}>\n\t\t\t<div class=\"kol-meter__bar\">\n\t\t\t\t<div class=\"kol-meter__bar-label\">\n\t\t\t\t\t{label}\n\t\t\t\t\t{hasStateClassification && (\n\t\t\t\t\t\t<span class={`kol-meter__bar-state kol-meter__bar-state--${state}`}>\n\t\t\t\t\t\t\t{' – '}\n\t\t\t\t\t\t\t{stateLabel}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"kol-meter__bar-track\">\n\t\t\t\t\t<meter aria-label={label} aria-valuetext={staticValueWithState} high={high} low={low} max={max} min={min} optimum={optimum} value={value}></meter>\n\t\t\t\t</div>\n\t\t\t\t<span class=\"kol-meter__value-unit\">\n\t\t\t\t\t<span class=\"kol-meter__value\" style={{ 'min-width': charCount }}>\n\t\t\t\t\t\t{displayValue}\n\t\t\t\t\t</span>\n\t\t\t\t\t<span class=\"kol-meter__unit\">{unit}</span>\n\t\t\t\t</span>\n\t\t\t</div>\n\t\t</div>\n\t);\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controller.js","sourceRoot":"","sources":["../../../../src/internal/functional-components/meter/controller.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"controller.js","sourceRoot":"","sources":["../../../../src/internal/functional-components/meter/controller.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC7I,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAQzC,MAAM,OAAO,eAAgB,SAAQ,cAAwB;IAG5D,YAAmB,WAAkC;QACpD,KAAK,CAAC,WAAW,EAAE,gBAAgB,CAAC,CAAC;QAH9B,cAAS,GAAc,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC;IAIvF,CAAC;IAEM,iBAAiB,CAAC,KAAmC;QAC3D,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,WAAW,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;QAChF,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;QACrB,IAAI,CAAC,UAAU,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B,CAAC,CAAC,CAAC;IACJ,CAAC;IAEM,UAAU,CAAC,KAAc;QAC/B,IAAI,CAAC,UAAU,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;QAChC,sBAAsB,CAAC,KAAK,CAC3B,KAAK,EACL,CAAC,CAAC,EAAE,EAAE;YACL,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;QAChC,CAAC,EACD,EAAE,GAAG,EAAE,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAClE,CAAC;IACH,CAAC;CACD","sourcesContent":["import type { OrientationPropType } from '../../props';\nimport { clampedNumberValueProp, highProp, labelProp, lowProp, maxProp, minProp, optimumProp, orientationProp, unitProp } from '../../props';\nimport { BaseController } from '../base-controller';\nimport type { ControllerInterface, ResolvedInputProps, StateAccess } from '../generic-types';\nimport type { MeterApi } from './api';\nimport { meterPropsConfig } from './api';\n\ntype MeterData = {\n\thigh: number | undefined;\n\tlow: number | undefined;\n\toptimum: number | undefined;\n};\n\nexport class MeterController extends BaseController<MeterApi> implements ControllerInterface<MeterApi> {\n\tprivate meterData: MeterData = { high: undefined, low: undefined, optimum: undefined };\n\n\tpublic constructor(stateAccess: StateAccess<MeterApi>) {\n\t\tsuper(stateAccess, meterPropsConfig);\n\t}\n\n\tpublic componentWillLoad(props: ResolvedInputProps<MeterApi>): void {\n\t\tconst { high, label, low, max, min, optimum, orientation, unit, value } = props;\n\t\tthis.watchHigh(high);\n\t\tthis.watchLabel(label);\n\t\tthis.watchLow(low);\n\t\tthis.watchMax(max);\n\t\tthis.watchMin(min);\n\t\tthis.watchOptimum(optimum);\n\t\tthis.watchOrientation(orientation);\n\t\tthis.watchUnit(unit);\n\t\tthis.watchValue(value);\n\t}\n\n\tpublic getMeterData(): MeterData {\n\t\treturn this.meterData;\n\t}\n\n\tpublic watchHigh(value?: number): void {\n\t\tif (value === undefined) {\n\t\t\tthis.meterData.high = undefined;\n\t\t} else {\n\t\t\thighProp.apply(value, (v) => {\n\t\t\t\tthis.meterData.high = v;\n\t\t\t});\n\t\t}\n\t}\n\n\tpublic watchLabel(value?: string): void {\n\t\tlabelProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('label', v);\n\t\t});\n\t}\n\n\tpublic watchLow(value?: number): void {\n\t\tif (value === undefined) {\n\t\t\tthis.meterData.low = undefined;\n\t\t} else {\n\t\t\tlowProp.apply(value, (v) => {\n\t\t\t\tthis.meterData.low = v;\n\t\t\t});\n\t\t}\n\t}\n\n\tpublic watchMax(value?: number): void {\n\t\tmaxProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('max', v);\n\t\t\tthis.watchValue(this.getRawProp('value'));\n\t\t});\n\t}\n\n\tpublic watchMin(value?: number): void {\n\t\tminProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('min', v);\n\t\t\tthis.watchValue(this.getRawProp('value'));\n\t\t});\n\t}\n\n\tpublic watchOptimum(value?: number): void {\n\t\tif (value === undefined) {\n\t\t\tthis.meterData.optimum = undefined;\n\t\t} else {\n\t\t\toptimumProp.apply(value, (v) => {\n\t\t\t\tthis.meterData.optimum = v;\n\t\t\t});\n\t\t}\n\t}\n\n\tpublic watchOrientation(value?: OrientationPropType): void {\n\t\torientationProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('orientation', v);\n\t\t});\n\t}\n\n\tpublic watchUnit(value?: string): void {\n\t\tunitProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('unit', v);\n\t\t});\n\t}\n\n\tpublic watchValue(value?: number): void {\n\t\tthis.setRawProp('value', value);\n\t\tclampedNumberValueProp.apply(\n\t\t\tvalue,\n\t\t\t(v) => {\n\t\t\t\tthis.setRenderProp('value', v);\n\t\t\t},\n\t\t\t{ min: this.getRenderProp('min'), max: this.getRenderProp('max') },\n\t\t);\n\t}\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"controller.js","sourceRoot":"","sources":["../../../../src/internal/functional-components/progress/controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"controller.js","sourceRoot":"","sources":["../../../../src/internal/functional-components/progress/controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAA4B,MAAM,aAAa,CAAC;AAClI,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,OAAO,kBAAmB,SAAQ,cAA2B;IAGlE,YAAmB,WAAqC;QACvD,KAAK,CAAC,WAAW,EAAE,mBAAmB,CAAC,CAAC;IACzC,CAAC;IAEM,iBAAiB,CAAC,KAAsC;QAC9D,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;QACnD,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QACvB,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QACnB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;QACrB,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QACvB,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;QAE3B,IAAI,CAAC,QAAQ,CAAC,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,CAAC;QACxD,IAAI,CAAC,sBAAsB,EAAE,CAAC;IAC/B,CAAC;IAEM,UAAU,CAAC,KAAc;QAC/B,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE,EAAE;YAC5B,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;QAChC,C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EAAE,IAAI,CAAC,CAAC;IACV,CAAC;IAEM,OAAO;QACb,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YACnB,aAAa,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YAC7B,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC;QAC3B,CAAC;IACF,CAAC;CACD","sourcesContent":["import { clampedNumberValueProp, labelProp, maxProp, unitProp, variantProgressProp, type ProgressVariantType } from '../../props';\nimport { BaseController } from '../base-controller';\nimport type { ControllerInterface, ResolvedInputProps, StateAccess } from '../generic-types';\nimport type { ProgressApi } from './api';\nimport { progressPropsConfig } from './api';\n\nexport class ProgressController extends BaseController<ProgressApi> implements ControllerInterface<ProgressApi> {\n\tprivate interval?: ReturnType<typeof setInterval>;\n\n\tpublic constructor(stateAccess: StateAccess<ProgressApi>) {\n\t\tsuper(stateAccess, progressPropsConfig);\n\t}\n\n\tpublic componentWillLoad(props: ResolvedInputProps<ProgressApi>): void {\n\t\tconst { label, max, unit, value, variant } = props;\n\t\tthis.watchLabel(label);\n\t\tthis.watchMax(max);\n\t\tthis.watchUnit(unit);\n\t\tthis.watchValue(value);\n\t\tthis.watchVariant(variant);\n\n\t\tthis.setState('liveValue', this.getRenderProp('value'));\n\t\tthis.startLiveValueInterval();\n\t}\n\n\tpublic watchLabel(value?: string): void {\n\t\tlabelProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('label', v);\n\t\t});\n\t}\n\n\tpublic watchMax(value?: number): void {\n\t\tmaxProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('max', v);\n\t\t\tthis.watchValue(this.getRawProp('value'));\n\t\t});\n\t}\n\n\tpublic watchUnit(value?: string): void {\n\t\tunitProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('unit', v);\n\t\t});\n\t}\n\n\tpublic watchValue(value?: number): void {\n\t\tthis.setRawProp('value', value);\n\t\tclampedNumberValueProp.apply(\n\t\t\tvalue,\n\t\t\t(v) => {\n\t\t\t\tthis.setRenderProp('value', v);\n\t\t\t},\n\t\t\t{ min: 0, max: this.getRenderProp('max') },\n\t\t);\n\t}\n\n\tpublic watchVariant(value?: ProgressVariantType): void {\n\t\tvariantProgressProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('variant', v);\n\t\t});\n\t}\n\n\t// a11y: says the value of the component every 5s\n\tprivate startLiveValueInterval(): void {\n\t\tthis.interval = setInterval(() => {\n\t\t\tconst value = this.getRenderProp('value');\n\t\t\tthis.setState('liveValue', value);\n\t\t}, 5000);\n\t}\n\n\tpublic destroy(): void {\n\t\tif (this.interval) {\n\t\t\tclearInterval(this.interval);\n\t\t\tthis.interval = undefined;\n\t\t}\n\t}\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../../src/internal/functional-components/spin/api.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnE,MAAM,CAAC,MAAM,eAAe,GAAG;IAC9B,QAAQ,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,eAAe,CAAC;CACZ,CAAC","sourcesContent":["import { labelProp, showProp, variantSpinProp } from '../../props';\nimport type { ApiFromConfig, PropsConfigShape } from '../generic-types';\n\nexport const spinPropsConfig = {\n\toptional: [labelProp, showProp, variantSpinProp],\n} as const satisfies PropsConfigShape;\n\nexport type SpinApi = ApiFromConfig<\n\ttypeof spinPropsConfig,\n\t{\n\t\tStates: {\n\t\t\tshowToggled: boolean;\n\t\t};\n\t
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../../src/internal/functional-components/spin/api.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAGnE,MAAM,CAAC,MAAM,eAAe,GAAG;IAC9B,QAAQ,EAAE,CAAC,SAAS,EAAE,QAAQ,EAAE,eAAe,CAAC;CACZ,CAAC","sourcesContent":["import { labelProp, showProp, variantSpinProp } from '../../props';\nimport type { ApiFromConfig, PropsConfigShape } from '../generic-types';\n\nexport const spinPropsConfig = {\n\toptional: [labelProp, showProp, variantSpinProp],\n} as const satisfies PropsConfigShape;\n\nexport type SpinApi = ApiFromConfig<\n\ttypeof spinPropsConfig,\n\t{\n\t\tStates: {\n\t\t\tshowToggled: boolean;\n\t\t};\n\t}\n>;\n"]}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
4
|
import { Fragment, h } from "@stencil/core";
|
|
5
|
+
import { translate } from "../../../i18n";
|
|
5
6
|
function renderSpinVariant(variant) {
|
|
6
7
|
switch (variant) {
|
|
7
8
|
case 'cycle':
|
|
@@ -25,7 +26,7 @@ function renderSpinVariant(variant) {
|
|
|
25
26
|
}
|
|
26
27
|
}
|
|
27
28
|
export const SpinFC = (props) => {
|
|
28
|
-
const { show, label, variant, showToggled
|
|
29
|
-
return (h(Fragment, null, show ? (h(Fragment, null, h("span", { class: `kol-spin__spinner kol-spin__spinner--${variant}` }, renderSpinVariant(variant)), h("span", { "aria-busy": "true", class: "visually-hidden", role: "alert" }, label ||
|
|
29
|
+
const { show, label, variant, showToggled } = props;
|
|
30
|
+
return (h(Fragment, null, show ? (h(Fragment, null, h("span", { class: `kol-spin__spinner kol-spin__spinner--${variant}` }, renderSpinVariant(variant)), h("span", { "aria-busy": "true", class: "visually-hidden", role: "alert" }, label || translate('kol-action-running')))) : (showToggled && (h("span", { "aria-busy": "false", class: "visually-hidden", role: "alert" }, label || translate('kol-action-done'))))));
|
|
30
31
|
};
|
|
31
32
|
//# sourceMappingURL=component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/internal/functional-components/spin/component.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/internal/functional-components/spin/component.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI1C,SAAS,iBAAiB,CAAC,OAAe;IACzC,QAAQ,OAAO,EAAE,CAAC;QACjB,KAAK,OAAO;YACX,OAAO,YAAM,KAAK,EAAE,uCAAuC,OAAO,WAAW,GAAS,CAAC;QACxF,KAAK,MAAM;YACV,OAAO,YAAM,IAAI,EAAC,QAAQ,GAAQ,CAAC;QACpC;YACC,OAAO,CACN;gBACC,YACC,KAAK,EAAE;;4BAEe,OAAO;4BACP,OAAO,cAAc,GACpC;gBACR,YACC,KAAK,EAAE;;4BAEe,OAAO;4BACP,OAAO,cAAc,GACpC;gBACR,YACC,KAAK,EAAE;;4BAEe,OAAO;4BACP,OAAO,cAAc,GACpC;gBACR,YACC,KAAK,EAAE;;4BAEe,OAAO;4BACP,OAAO,cAAc,GACpC,CACN,CACH,CAAC;IACJ,CAAC;AACF,CAAC;AAED,MAAM,CAAC,MAAM,MAAM,GAA0C,CAAC,KAAK,EAAE,EAAE;IACtE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAEpD,OAAO,CACN,EAAC,QAAQ,QACP,IAAI,CAAC,CAAC,CAAC,CACP,EAAC,QAAQ;QACR,YAAM,KAAK,EAAE,wCAAwC,OAAO,EAAE,IAAG,iBAAiB,CAAC,OAAO,CAAC,CAAQ;QACnG,yBAAgB,MAAM,EAAC,KAAK,EAAC,iBAAiB,EAAC,IAAI,EAAC,OAAO,IACzD,KAAK,IAAI,SAAS,CAAC,oBAAoB,CAAC,CACnC,CACG,CACX,CAAC,CAAC,CAAC,CACH,WAAW,IAAI,CACd,yBAAgB,OAAO,EAAC,KAAK,EAAC,iBAAiB,EAAC,IAAI,EAAC,OAAO,IAC1D,KAAK,IAAI,SAAS,CAAC,iBAAiB,CAAC,CAChC,CACP,CACD,CACS,CACX,CAAC;AACH,CAAC,CAAC","sourcesContent":["import type { FunctionalComponent as FC } from '@stencil/core';\nimport { Fragment, h } from '@stencil/core';\n\nimport { translate } from '../../../i18n';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { SpinApi } from './api';\n\nfunction renderSpinVariant(variant: string): unknown {\n\tswitch (variant) {\n\t\tcase 'cycle':\n\t\t\treturn <span class={`kol-spin__loader kol-spin__spinner--${variant}__element`}></span>;\n\t\tcase 'none':\n\t\t\treturn <slot name=\"expert\"></slot>;\n\t\tdefault:\n\t\t\treturn (\n\t\t\t\t<>\n\t\t\t\t\t<span\n\t\t\t\t\t\tclass={`kol-spin__spinner-element \n\t\t\t\t\t\t\tkol-spin__spinner-element--1 \n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element \n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element--1`}\n\t\t\t\t\t></span>\n\t\t\t\t\t<span\n\t\t\t\t\t\tclass={`kol-spin__spinner-element \n\t\t\t\t\t\t\tkol-spin__spinner-element--2 \n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element \n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element--2`}\n\t\t\t\t\t></span>\n\t\t\t\t\t<span\n\t\t\t\t\t\tclass={`kol-spin__spinner-element \n\t\t\t\t\t\t\tkol-spin__spinner-element--3 \n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element \n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element--3`}\n\t\t\t\t\t></span>\n\t\t\t\t\t<span\n\t\t\t\t\t\tclass={`kol-spin__spinner-element \n\t\t\t\t\t\t\tkol-spin__spinner-element--neutral \n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element \n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element--4`}\n\t\t\t\t\t></span>\n\t\t\t\t</>\n\t\t\t);\n\t}\n}\n\nexport const SpinFC: FC<FunctionalComponentProps<SpinApi>> = (props) => {\n\tconst { show, label, variant, showToggled } = props;\n\n\treturn (\n\t\t<Fragment>\n\t\t\t{show ? (\n\t\t\t\t<Fragment>\n\t\t\t\t\t<span class={`kol-spin__spinner kol-spin__spinner--${variant}`}>{renderSpinVariant(variant)}</span>\n\t\t\t\t\t<span aria-busy=\"true\" class=\"visually-hidden\" role=\"alert\">\n\t\t\t\t\t\t{label || translate('kol-action-running')}\n\t\t\t\t\t</span>\n\t\t\t\t</Fragment>\n\t\t\t) : (\n\t\t\t\tshowToggled && (\n\t\t\t\t\t<span aria-busy=\"false\" class=\"visually-hidden\" role=\"alert\">\n\t\t\t\t\t\t{label || translate('kol-action-done')}\n\t\t\t\t\t</span>\n\t\t\t\t)\n\t\t\t)}\n\t\t</Fragment>\n\t);\n};\n"]}
|
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { translate } from "../../../i18n";
|
|
5
4
|
import { labelProp, showProp, variantSpinProp } from "../../props";
|
|
6
5
|
import { BaseController } from "../base-controller";
|
|
7
6
|
import { spinPropsConfig } from "./api";
|
|
8
7
|
export class SpinController extends BaseController {
|
|
9
8
|
constructor(stateAccess) {
|
|
10
9
|
super(stateAccess, spinPropsConfig);
|
|
11
|
-
this.translateActionRunning = translate('kol-action-running');
|
|
12
|
-
this.translateActionDone = translate('kol-action-done');
|
|
13
|
-
this.handleGetTranslateActionRunning = () => {
|
|
14
|
-
return this.translateActionRunning;
|
|
15
|
-
};
|
|
16
|
-
this.handleGetTranslateActionDone = () => {
|
|
17
|
-
return this.translateActionDone;
|
|
18
|
-
};
|
|
19
10
|
}
|
|
20
11
|
componentWillLoad(props) {
|
|
21
12
|
const { show, label, variant } = props;
|