@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
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{L as o,d as t,w as s}from"./common-DyILLof-.js";import{a}from"./index-CwtGN7ID.js";var f=()=>{a((o=>{try{if(o.shadowRoot instanceof ShadowRoot){t(o,s(o))}}catch(o){}return"default"}));import("./devtools-yLGw7QsN.js").then((o=>{if(typeof o==="object"&&o!==null&&typeof o.initialize==="function"){o.initialize()}})).catch((t=>{o.error(t)}))};const r=f;export{r as g};
|
|
5
|
+
//# sourceMappingURL=app-globals-DMlUA9Gw.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-globals-
|
|
1
|
+
{"version":3,"file":"app-globals-DMlUA9Gw.js","sources":["src/global/script.ts","@stencil/core/internal/app-globals"],"sourcesContent":["import { getThemeDetails, setThemeStyle } from 'adopted-style-sheets';\n\nimport { setMode } from '@stencil/core';\nimport { Log } from '../schema';\n\nexport default () => {\n\tsetMode((elm) => {\n\t\ttry {\n\t\t\tif (elm.shadowRoot instanceof ShadowRoot) {\n\t\t\t\tsetThemeStyle(elm, getThemeDetails(elm));\n\t\t\t}\n\t\t} catch {\n\t\t\t/**\n\t\t\t * Try is needed for SSR.\n\t\t\t * - no HTMLElement is available\n\t\t\t * - no ShadowRoot is available\n\t\t\t */\n\t\t}\n\t\treturn 'default';\n\t});\n\n\timport('./devtools')\n\t\t.then((devTools) => {\n\t\t\tif (typeof devTools === 'object' && devTools !== null && typeof devTools.initialize === 'function') {\n\t\t\t\tdevTools.initialize();\n\t\t\t}\n\t\t})\n\t\t.catch((error) => {\n\t\t\tLog.error(error);\n\t\t});\n};\n","import appGlobalScript from '/home/runner/work/kolibri/kolibri/packages/components/src/global/script.ts';\nexport const globalScripts = appGlobalScript;\nexport const globalStyles = \"\";\n"],"names":["setThemeStyle","getThemeDetails"],"mappings":";;;;;;AAKA,sBAAe,MAAK;AACnB,IAAA,OAAO,CAAC,CAAC,GAAG,KAAI;AACf,QAAA,IAAI;AACH,YAAA,IAAI,GAAG,CAAC,UAAU,YAAY,UAAU,EAAE;gBACzCA,EAAa,CAAC,GAAG,EAAEC,CAAe,CAAC,GAAG,CAAC,CAAC;;;QAExC,OAAA,EAAA,EAAM;;AAOR,QAAA,OAAO,SAAS;AACjB,KAAC,CAAC;IAEF,OAAO,wBAAY;AACjB,SAAA,IAAI,CAAC,CAAC,QAAQ,KAAI;AAClB,QAAA,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,QAAQ,KAAK,IAAI,IAAI,OAAO,QAAQ,CAAC,UAAU,KAAK,UAAU,EAAE;YACnG,QAAQ,CAAC,UAAU,EAAE;;AAEvB,KAAC;AACA,SAAA,KAAK,CAAC,CAAC,KAAK,KAAI;AAChB,QAAA,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC;AACjB,KAAC,CAAC;AACJ,CAAC;;AC7BW,MAAC,aAAa,GAAG;;;;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{r as t}from"./aria-labelledby-6-ki3akM.js";import{b as e,L as o}from"./common-DyILLof-.js";const r=(r,a,n,s)=>{e(r,"_ariaDetails",(t=>typeof t==="string"||typeof t==="undefined"),new Set(["string"]),s);const i=t(a,s);if(n){try{n.ariaDetailsElements=i}catch(t){}o.debug(["WebComponent internals",n])}return i};export{r as v};
|
|
5
|
+
//# sourceMappingURL=aria-details-CG4GFq8t.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aria-details-CG4GFq8t.js","sources":["src/schema/props/aria-details.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport type { HostInternals } from '../../utils/aria-labelledby';\nimport { resolveTargets } from '../../utils/aria-labelledby';\nimport { Log, watchValidator } from '../utils';\n\n/* types */\n/**\n * An IDREF (space-separated) identifying external element(s) that provide accessible details for this component.\n * Resolves the IDREF to element references and sets them via ElementInternals.ariaDetailsElements\n * to cross the Shadow DOM boundary.\n * Desktop screen readers (NVDA + Chrome, JAWS + Chrome) follow the reference;\n * mobile screen readers (TalkBack, VoiceOver iOS) may have limited support.\n */\nexport type AriaDetailsPropType = string;\n\nexport type PropAriaDetails = {\n\tariaDetails: AriaDetailsPropType;\n};\n\n/* validator */\nexport const validateAriaDetails = (\n\tcomponent: unknown,\n\thost: HTMLElement | Element | undefined,\n\tinternals: HostInternals | undefined,\n\tvalue?: AriaDetailsPropType,\n): HTMLElement[] => {\n\twatchValidator(\n\t\tcomponent as Generic.Element.Component,\n\t\t'_ariaDetails',\n\t\t(value): boolean => typeof value === 'string' || typeof value === 'undefined',\n\t\tnew Set(['string']),\n\t\tvalue,\n\t);\n\n\tconst elements = resolveTargets(host, value);\n\tif (internals) {\n\t\ttry {\n\t\t\tinternals.ariaDetailsElements = elements;\n\t\t} catch {\n\t\t\t// ariaDetailsElements is not supported in this environment — silently skip.\n\t\t}\n\t\tLog.debug(['WebComponent internals', internals]);\n\t}\n\treturn elements;\n};\n"],"names":[],"mappings":";;;;;;AAqBO,MAAM,mBAAmB,GAAG,CAClC,SAAkB,EAClB,IAAuC,EACvC,SAAoC,EACpC,KAA2B,KACT;AAClB,IAAA,cAAc,CACb,SAAsC,EACtC,cAAc,EACd,CAAC,KAAK,KAAc,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,KAAK,KAAK,WAAW,EAC7E,IAAI,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,EACnB,KAAK,CACL;IAED,MAAM,QAAQ,GAAG,cAAc,CAAC,IAAI,EAAE,KAAK,CAAC;IAC5C,IAAI,SAAS,EAAE;AACd,QAAA,IAAI;AACH,YAAA,SAAS,CAAC,mBAAmB,GAAG,QAAQ;;QACvC,OAAA,EAAA,EAAM;;QAGR,GAAG,CAAC,KAAK,CAAC,CAAC,wBAAwB,EAAE,SAAS,CAAC,CAAC;;AAEjD,IAAA,OAAO,QAAQ;AAChB;;;;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{b as o,g as t,e as a}from"./common-DyILLof-.js";const s=["tab","treeitem"];const e=(t,a)=>{o(t,`_role`,(o=>typeof o==="string"&&s.includes(o)),new Set([`KoliBriAlternativeButtonLinkRole {${s.join(", ")}`]),a)};const n=(o,a)=>{t(o,"_ariaControls",a)};const r=(o,a)=>{t(o,"_ariaDescription",a)};const i=(o,t)=>{a(o,"_ariaExpanded",t)};export{r as a,i as b,e as c,n as v};
|
|
5
|
+
//# sourceMappingURL=aria-expanded-BwKOdsiZ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aria-expanded
|
|
1
|
+
{"version":3,"file":"aria-expanded-BwKOdsiZ.js","sources":["src/schema/props/alternative-button-link-role.ts","src/schema/props/aria-controls.ts","src/schema/props/aria-description.ts","src/schema/props/aria-expanded.ts"],"sourcesContent":["/* types */\nimport type { Generic } from 'adopted-style-sheets';\nimport { watchValidator } from '../utils';\n\nconst alternativeButtonLinkRolePropTypeOptions = ['tab', 'treeitem'] as const;\nexport type AlternativeButtonLinkRolePropType = (typeof alternativeButtonLinkRolePropTypeOptions)[number];\n\n/**\n * Defines the role of the components primary element.\n */\nexport type PropAlternativeButtonLinkRole = {\n\trole: AlternativeButtonLinkRolePropType;\n};\n\n/* validator */\nexport const validateAlternativeButtonLinkRole = (component: Generic.Element.Component, value?: AlternativeButtonLinkRolePropType) => {\n\twatchValidator(\n\t\tcomponent,\n\t\t`_role`,\n\t\t(value) => typeof value === 'string' && alternativeButtonLinkRolePropTypeOptions.includes(value),\n\t\tnew Set([`KoliBriAlternativeButtonLinkRole {${alternativeButtonLinkRolePropTypeOptions.join(', ')}`]),\n\t\tvalue,\n\t);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { watchString } from '../utils';\n\n/* types */\n/**\n * Defines which elements are being controlled. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls)\n */\ntype AriaControlsPropType = string;\n\nexport type PropAriaControls = {\n\tariaControls: AriaControlsPropType;\n};\n\n/* validator */\nexport const validateAriaControls = (component: Generic.Element.Component, value?: AriaControlsPropType): void => {\n\twatchString(component, '_ariaControls', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\nimport { watchString } from '../utils';\n\n/* types */\nexport type AriaDescriptionPropType = string;\n\n/**\n * Defines the value for the aria-description attribute.\n */\nexport type PropAriaDescription = {\n\tariaDescription: AriaDescriptionPropType;\n};\n\n/* validator */\nexport const validateAriaDescription = (component: Generic.Element.Component, value?: AriaDescriptionPropType): void => {\n\twatchString(component, '_ariaDescription', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type AriaExpandedPropType = boolean;\n\n/**\n * Marks this element as open/expanded, or that the connected element (aria-controls/aria-owns) is open/expanded.\n * (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded)\n */\nexport type PropAriaExpanded = {\n\tariaExpanded: AriaExpandedPropType;\n};\n\n/* validator */\nexport const validateAriaExpanded = (component: Generic.Element.Component, value?: AriaExpandedPropType): void => {\n\twatchBoolean(component, '_ariaExpanded', value);\n};\n"],"names":[],"mappings":";;;;;AAIA,MAAM,wCAAwC,GAAG,CAAC,KAAK,EAAE,UAAU,CAAU;MAWhE,iCAAiC,GAAG,CAAC,SAAoC,EAAE,KAAyC,KAAI;AACpI,IAAA,cAAc,CACb,SAAS,EACT,CAAO,KAAA,CAAA,EACP,CAAC,KAAK,KAAK,OAAO,KAAK,KAAK,QAAQ,IAAI,wCAAwC,CAAC,QAAQ,CAAC,KAAK,CAAC,EAChG,IAAI,GAAG,CAAC,CAAC,CAAA,kCAAA,EAAqC,wCAAwC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAE,CAAA,CAAC,CAAC,EACrG,KAAK,CACL;AACF;;MCRa,oBAAoB,GAAG,CAAC,SAAoC,EAAE,KAA4B,KAAU;AAChH,IAAA,WAAW,CAAC,SAAS,EAAE,eAAe,EAAE,KAAK,CAAC;AAC/C;;MCHa,uBAAuB,GAAG,CAAC,SAAoC,EAAE,KAA+B,KAAU;AACtH,IAAA,WAAW,CAAC,SAAS,EAAE,kBAAkB,EAAE,KAAK,CAAC;AAClD;;MCAa,oBAAoB,GAAG,CAAC,SAAoC,EAAE,KAA4B,KAAU;AAChH,IAAA,YAAY,CAAC,SAAS,EAAE,eAAe,EAAE,KAAK,CAAC;AAChD;;;;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
const n=n=>{var t;if((t=globalThis.CSS)===null||t===void 0?void 0:t.escape){return globalThis.CSS.escape(n)}return n.replace(/[^a-zA-Z0-9_-]/g,"\\$&")};const t=(t,o)=>{const e=(o!==null&&o!==void 0?o:"").trim().split(/\s+/).filter(Boolean);if(!e.length)return[];const r=t===null||t===void 0?void 0:t.getRootNode();const u=t=>{if(r instanceof Document)return r.getElementById(t);if(r instanceof ShadowRoot)return r.querySelector(`#${n(t)}`);return typeof document!=="undefined"?document.getElementById(t):null};return e.map(u).filter((n=>!!n))};const o=n=>{const t=n.attachInternals;if(!t)return undefined;try{const o=t.call(n);return o}catch(n){return undefined}};export{o as a,t as r};
|
|
5
|
+
//# sourceMappingURL=aria-labelledby-6-ki3akM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aria-labelledby-6-ki3akM.js","sources":["src/utils/aria-labelledby.ts"],"sourcesContent":["/**\n * Minimal ElementInternals subset for ariaLabelledByElements.\n *\n * Browser support note (as of 2025):\n * ElementInternals.ariaLabelledByElements is part of the Accessible Object Model (AOM) spec.\n * It resolves cross-shadow-boundary accessible names that plain aria-labelledby IDREFs cannot\n * express. Desktop screen readers (NVDA + Chrome, JAWS + Chrome) follow the reference chain\n * correctly. Mobile screen readers (TalkBack on Android, VoiceOver on iOS) do not yet\n * propagate element references through the Android/iOS accessibility APIs — they see the\n * table without a label. This is a Chrome/TalkBack limitation, not a bug in this code.\n * Users who require TalkBack support today should fall back to the `_label` prop.\n */\nexport type HostInternals = {\n\trole: string | null;\n\tariaLabelledByElements: HTMLElement[];\n\tariaDetailsElements?: HTMLElement[];\n};\n\nconst escapeCssIdentifier = (value: string): string => {\n\tif (globalThis.CSS?.escape) {\n\t\treturn globalThis.CSS.escape(value);\n\t}\n\n\treturn value.replace(/[^a-zA-Z0-9_-]/g, '\\\\$&');\n};\n\nexport const resolveTargets = (host: HTMLElement | Element | undefined, value?: string): HTMLElement[] => {\n\tconst ids = (value ?? '').trim().split(/\\s+/).filter(Boolean);\n\tif (!ids.length) return [];\n\t// Scope the lookup to the host's current tree.\n\tconst root = host?.getRootNode() as Document | ShadowRoot | undefined;\n\tconst getById = (id: string): HTMLElement | null => {\n\t\tif (root instanceof Document) return root.getElementById(id);\n\t\tif (root instanceof ShadowRoot) return root.querySelector(`#${escapeCssIdentifier(id)}`);\n\t\t// Fallback for detached / SSR contexts — guard avoids ReferenceError outside browsers.\n\t\treturn typeof document !== 'undefined' ? document.getElementById(id) : null;\n\t};\n\treturn ids.map(getById).filter((el): el is HTMLElement => !!el);\n};\n\nexport const attachInternals = (host: HTMLElement | Element | undefined): HostInternals | undefined => {\n\t// Stencil's HTMLElement typing does not expose attachInternals here.\n\tconst attach = (host as unknown as { attachInternals?: () => HostInternals }).attachInternals;\n\tif (!attach) return undefined;\n\ttry {\n\t\tconst internals = attach.call(host);\n\t\t// WARNING: Do not set `internals.role` on the host.\n\t\t// It can prevent screen readers from resolving and reading the inner shadow DOM content.\n\t\t// Keep semantics on the native inner element instead.\n\t\t// internals.role = 'table';\n\t\treturn internals;\n\t} catch {\n\t\treturn undefined;\n\t}\n};\n"],"names":[],"mappings":";;;AAkBA,MAAM,mBAAmB,GAAG,CAAC,KAAa,KAAY;;IACrD,IAAI,MAAA,UAAU,CAAC,GAAG,MAAE,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAA,MAAM,EAAE;QAC3B,OAAO,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC;;IAGpC,OAAO,KAAK,CAAC,OAAO,CAAC,iBAAiB,EAAE,MAAM,CAAC;AAChD,CAAC;MAEY,cAAc,GAAG,CAAC,IAAuC,EAAE,KAAc,KAAmB;AACxG,IAAA,MAAM,GAAG,GAAG,CAAC,KAAK,KAAA,IAAA,IAAL,KAAK,KAAL,MAAA,GAAA,KAAK,GAAI,EAAE,EAAE,IAAI,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC;IAC7D,IAAI,CAAC,GAAG,CAAC,MAAM;AAAE,QAAA,OAAO,EAAE;IAE1B,MAAM,IAAI,GAAG,IAAI,KAAJ,IAAA,IAAA,IAAI,uBAAJ,IAAI,CAAE,WAAW,EAAuC;AACrE,IAAA,MAAM,OAAO,GAAG,CAAC,EAAU,KAAwB;QAClD,IAAI,IAAI,YAAY,QAAQ;AAAE,YAAA,OAAO,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC;QAC5D,IAAI,IAAI,YAAY,UAAU;YAAE,OAAO,IAAI,CAAC,aAAa,CAAC,CAAA,CAAA,EAAI,mBAAmB,CAAC,EAAE,CAAC,CAAE,CAAA,CAAC;AAExF,QAAA,OAAO,OAAO,QAAQ,KAAK,WAAW,GAAG,QAAQ,CAAC,cAAc,CAAC,EAAE,CAAC,GAAG,IAAI;AAC5E,KAAC;AACD,IAAA,OAAO,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,KAAwB,CAAC,CAAC,EAAE,CAAC;AAChE;AAEa,MAAA,eAAe,GAAG,CAAC,IAAuC,KAA+B;AAErG,IAAA,MAAM,MAAM,GAAI,IAA6D,CAAC,eAAe;AAC7F,IAAA,IAAI,CAAC,MAAM;AAAE,QAAA,OAAO,SAAS;AAC7B,IAAA,IAAI;QACH,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;AAKnC,QAAA,OAAO,SAAS;;IACf,OAAA,EAAA,EAAM;AACP,QAAA,OAAO,SAAS;;AAElB;;;;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{r as e}from"./aria-labelledby-6-ki3akM.js";import{b as t,L as o}from"./common-DyILLof-.js";const r=(r,a,n,s)=>{t(r,"_ariaLabelledby",(e=>typeof e==="string"||typeof e==="undefined"),new Set(["string"]),s);const i=e(a,s);if(n){try{n.ariaLabelledByElements=i}catch(e){}o.debug(["WebComponent internals",n])}return i};export{r as v};
|
|
5
|
+
//# sourceMappingURL=aria-labelledby-BuvPnlu7.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aria-labelledby-BuvPnlu7.js","sources":["src/schema/props/aria-labelledby.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport type { HostInternals } from '../../utils/aria-labelledby';\nimport { resolveTargets } from '../../utils/aria-labelledby';\nimport { Log, watchValidator } from '../utils';\n\n/* types */\n/**\n * An IDREF (space-separated) identifying external element(s) that label this component.\n *\n * Internally the component resolves the IDREF to an element reference and sets it via\n * ElementInternals.ariaLabelledByElements so the accessible name crosses the Shadow DOM\n * boundary. Desktop screen readers (NVDA + Chrome, JAWS + Chrome) follow this chain;\n * mobile screen readers (TalkBack, VoiceOver iOS) do not yet support element references\n * across shadow boundaries — use `_label` when TalkBack support is required.\n */\nexport type AriaLabelledbyPropType = string;\n\nexport type PropAriaLabelledby = {\n\tariaLabelledby: AriaLabelledbyPropType;\n};\n\n/* validator */\nexport const validateAriaLabelledby = (\n\tcomponent: unknown,\n\thost: HTMLElement | undefined,\n\tinternals: HostInternals | undefined,\n\tvalue?: AriaLabelledbyPropType,\n): HTMLElement[] => {\n\twatchValidator(\n\t\tcomponent as Generic.Element.Component,\n\t\t'_ariaLabelledby',\n\t\t(value): boolean => typeof value === 'string' || typeof value === 'undefined',\n\t\tnew Set(['string']),\n\t\tvalue,\n\t);\n\n\tconst elements = resolveTargets(host, value);\n\tif (internals) {\n\t\ttry {\n\t\t\tinternals.ariaLabelledByElements = elements;\n\t\t} catch {\n\t\t\t// ariaLabelledByElements is not supported in this environment — silently skip.\n\t\t}\n\t\tLog.debug(['WebComponent internals', internals]);\n\t}\n\treturn elements;\n};\n"],"names":[],"mappings":";;;;;;AAuBO,MAAM,sBAAsB,GAAG,CACrC,SAAkB,EAClB,IAA6B,EAC7B,SAAoC,EACpC,KAA8B,KACZ;AAClB,IAAA,cAAc,CACb,SAAsC,EACtC,iBAAiB,EACjB,CAAC,KAAK,KAAc,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,KAAK,KAAK,WAAW,EAC7E,IAAI,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,EACnB,KAAK,CACL;IAED,MAAM,QAAQ,GAAG,cAAc,CAAC,IAAI,EAAE,KAAK,CAAC;IAC5C,IAAI,SAAS,EAAE;AACd,QAAA,IAAI;AACH,YAAA,SAAS,CAAC,sBAAsB,GAAG,QAAQ;;QAC1C,OAAA,EAAA,EAAM;;QAGR,GAAG,CAAC,KAAK,CAAC,CAAC,wBAAwB,EAAE,SAAS,CAAC,CAAC;;AAEjD,IAAA,OAAO,QAAQ;AAChB;;;;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{g as t,J as e,j as i,O as s}from"./common-DyILLof-.js";import{v as o}from"./aria-details-CG4GFq8t.js";import{a}from"./aria-labelledby-6-ki3akM.js";import{g as n}from"./bootstrap-C2nJoN6K.js";const l=(e,i,s)=>{t(e,"_name",i,s)};const r=t=>t==="KOL-BUTTON"||t==="KOL-COMBOBOX"||t==="KOL-INPUT-CHECKBOX"||t==="KOL-INPUT-COLOR"||t==="KOL-INPUT-DATE"||t==="KOL-INPUT-EMAIL"||t==="KOL-INPUT-FILE"||t==="KOL-INPUT-NUMBER"||t==="KOL-INPUT-PASSWORD"||t==="KOL-INPUT-RADIO"||t==="KOL-INPUT-RANGE"||t==="KOL-INPUT-TEXT"||t==="KOL-SELECT"||t==="KOL-SINGLE-SELECT"||t==="KOL-TEXTAREA";class c{constructor(t,s,o){var l,c,h,d;this.experimentalMode=e();this.setFormAssociatedValue=t=>{var e;const s=(e=this.formAssociated)===null||e===void 0?void 0:e.getAttribute("name");if(s===null||s===""){i(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`)}const o=this.tryToStringifyValue(t);this.syncValue(t,o,this.formAssociated);this.syncValue(t,o,this.syncToOwnInput)};this.component=t;this.host=this.findHostWithShadowRoot(o);this.type=s;this.internals=a(this.host);if(((l=n())===null||l===void 0?void 0:l.reflectInputValues)&&r((c=this.host)===null||c===void 0?void 0:c.tagName)&&t._name){(h=this.host)===null||h===void 0?void 0:h.querySelectorAll("input,select,textarea").forEach((t=>{var e;(e=this.host)===null||e===void 0?void 0:e.removeChild(t)}));switch(this.type){case"button":case"color":case"date":case"email":case"file":case"number":case"password":case"radio":case"range":case"text":this.formAssociated=document.createElement("input");this.formAssociated.setAttribute("type",this.type);break;case"select":this.formAssociated=document.createElement("select");this.formAssociated.setAttribute("multiple","");break;case"textarea":this.formAssociated=document.createElement("textarea");break;case"checkbox":case"single-select":case"combobox":default:this.formAssociated=document.createElement("input");this.formAssociated.setAttribute("type","hidden")}this.formAssociated.setAttribute("data-form-associated","");this.formAssociated.setAttribute("hidden","");(d=this.host)===null||d===void 0?void 0:d.appendChild(this.formAssociated)}}findHostWithShadowRoot(t){while((t===null||t===void 0?void 0:t.shadowRoot)===null&&t!==document.body){const e=t===null||t===void 0?void 0:t.parentNode;if(e instanceof ShadowRoot){t=e.host}else{t=e instanceof Element?e:undefined}}return t}setAttribute(t,e,i){if(this.experimentalMode){try{i=typeof i==="object"&&i!==null?JSON.stringify(i):i;if(typeof i==="boolean"||typeof i==="number"||typeof i==="string"){e===null||e===void 0?void 0:e.setAttribute(t,`${i}`)}else{throw new Error(`Invalid value type: ${typeof i}`)}}catch(i){e===null||e===void 0?void 0:e.removeAttribute(t)}}}tryToStringifyValue(t){try{return typeof t==="object"&&t!==null?JSON.stringify(t).toString():t===null||t===undefined?null:t.toString()}catch(t){s(`The form field raw value is not able to stringify! ${t}`);return""}}syncValue(t,e,i){if(i){switch(this.type){case"file":i.files=t;break;case"select":i.querySelectorAll("option").forEach((t=>{i.removeChild(t)}));if(Array.isArray(t)){t.forEach((t=>{const e=this.tryToStringifyValue(t);if(typeof e==="string"){const t=document.createElement("option");t.setAttribute("value",e);t.setAttribute("selected","");i.appendChild(t)}}))}break;case"radio":if(typeof e==="string"){i.setAttribute("value",e);i.setAttribute("checked","");i.value=e}break;default:if(typeof e==="string"){i.setAttribute("value",e);i.value=e}else{i.removeAttribute("value");i.value=""}}}}validateName(t){l(this.component,t,{hooks:{afterPatch:()=>{this.setAttribute("name",this.formAssociated,this.component.state._name)}}});if(typeof t==="undefined"){i(`A name on input fields or switches is not strictly required, but it might be relevant for the autocomplete function and for the static submission of the input field.`)}}validateSyncValueBySelector(t){if(this.experimentalMode&&typeof t==="string"){const e=document.querySelector(t);if(e){this.syncToOwnInput=e}}}validateAriaDetails(t){o(this.component,this.host,this.internals,t)}componentWillLoad(){this.validateName(this.component._name);this.validateSyncValueBySelector(this.component._syncValueBySelector)}}export{c as A};
|
|
5
|
+
//# sourceMappingURL=associated.controller-Da2zylzp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"associated.controller-Da2zylzp.js","sources":["src/schema/props/name.ts","src/components/input-adapter-leanup/associated.controller.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport type { WatchStringOptions } from '../utils';\nimport { watchString } from '../utils';\n\n/* types */\nexport type NamePropType = string;\n\n/**\n * Defines the technical name of an input field.\n */\nexport type PropName = {\n\tname: NamePropType;\n};\n\n/* validator */\nexport const validateName = (component: Generic.Element.Component, value?: NamePropType, options?: WatchStringOptions): void => {\n\twatchString(component, '_name', value, options);\n};\n","import type { NamePropType, PropSyncValueBySelector, StencilUnknown, SyncValueBySelectorPropType } from '../../schema';\nimport { devHint, devWarning, getExperimentalMode, validateName } from '../../schema';\n\nimport type { Generic } from 'adopted-style-sheets';\nimport { getOptions } from '../../core/bootstrap';\nimport { validateAriaDetails } from '../../schema/props/aria-details';\nimport { attachInternals, type HostInternals } from '../../utils/aria-labelledby';\n\ntype RequiredProps = NonNullable<unknown>;\ntype OptionalProps = {\n\tname: string;\n} & PropSyncValueBySelector;\ntype Props = Generic.Element.Members<RequiredProps, OptionalProps>;\ntype Watches = Generic.Element.Watchers<RequiredProps, OptionalProps>;\n\ntype HTMLInputFileElement = HTMLInputElement & {\n\tfiles: FileList;\n};\n\nconst isAssociatedTagName = (name?: string): boolean =>\n\tname === 'KOL-BUTTON' ||\n\tname === 'KOL-COMBOBOX' ||\n\tname === 'KOL-INPUT-CHECKBOX' ||\n\tname === 'KOL-INPUT-COLOR' ||\n\tname === 'KOL-INPUT-DATE' ||\n\tname === 'KOL-INPUT-EMAIL' ||\n\tname === 'KOL-INPUT-FILE' ||\n\tname === 'KOL-INPUT-NUMBER' ||\n\tname === 'KOL-INPUT-PASSWORD' ||\n\tname === 'KOL-INPUT-RADIO' ||\n\tname === 'KOL-INPUT-RANGE' ||\n\tname === 'KOL-INPUT-TEXT' ||\n\tname === 'KOL-SELECT' ||\n\tname === 'KOL-SINGLE-SELECT' ||\n\tname === 'KOL-TEXTAREA';\n\nexport class AssociatedInputController implements Watches {\n\tprivate readonly experimentalMode = getExperimentalMode();\n\n\tprotected readonly component: Generic.Element.Component & Props;\n\tprotected readonly type: string;\n\tprotected readonly host?: Element;\n\tpublic internals?: HostInternals;\n\n\tpublic readonly formAssociated?: HTMLButtonElement | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;\n\tpublic syncToOwnInput?: HTMLButtonElement | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;\n\n\tpublic constructor(component: Generic.Element.Component & Props, type: string, host?: Element) {\n\t\tthis.component = component;\n\t\tthis.host = this.findHostWithShadowRoot(host);\n\t\tthis.type = type;\n\t\tthis.internals = attachInternals(this.host);\n\n\t\tif (getOptions()?.reflectInputValues && isAssociatedTagName(this.host?.tagName) && component._name) {\n\t\t\tthis.host?.querySelectorAll('input,select,textarea').forEach((el) => {\n\t\t\t\tthis.host?.removeChild(el);\n\t\t\t});\n\t\t\tswitch (this.type) {\n\t\t\t\tcase 'button':\n\t\t\t\tcase 'color':\n\t\t\t\tcase 'date':\n\t\t\t\tcase 'email':\n\t\t\t\tcase 'file':\n\t\t\t\tcase 'number':\n\t\t\t\tcase 'password':\n\t\t\t\tcase 'radio':\n\t\t\t\tcase 'range':\n\t\t\t\tcase 'text':\n\t\t\t\t\tthis.formAssociated = document.createElement('input');\n\t\t\t\t\tthis.formAssociated.setAttribute('type', this.type);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'select':\n\t\t\t\t\tthis.formAssociated = document.createElement('select');\n\t\t\t\t\tthis.formAssociated.setAttribute('multiple', '');\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'textarea':\n\t\t\t\t\tthis.formAssociated = document.createElement('textarea');\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'checkbox': // Checkbox uses default case\n\t\t\t\tcase 'single-select': // SingleSelect uses default case\n\t\t\t\tcase 'combobox': // Combobox uses default case\n\t\t\t\tdefault:\n\t\t\t\t\tthis.formAssociated = document.createElement('input');\n\t\t\t\t\tthis.formAssociated.setAttribute('type', 'hidden');\n\t\t\t}\n\t\t\tthis.formAssociated.setAttribute('data-form-associated', '');\n\t\t\tthis.formAssociated.setAttribute('hidden', '');\n\t\t\tthis.host?.appendChild(this.formAssociated);\n\t\t}\n\t}\n\n\t/**\n\t * The associated elements must not reside within the ShadowRoot and must\n\t * reside as children in the host to be recognized by native forms.\n\t */\n\tprivate findHostWithShadowRoot(host?: Element): Element | undefined {\n\t\twhile (host?.shadowRoot === null && host !== document.body) {\n\t\t\tconst parent = host?.parentNode;\n\t\t\tif (parent instanceof ShadowRoot) {\n\t\t\t\thost = parent.host;\n\t\t\t} else {\n\t\t\t\thost = parent instanceof Element ? parent : undefined;\n\t\t\t}\n\t\t}\n\t\treturn host;\n\t}\n\n\tprotected setAttribute(qualifiedName: string, element?: HTMLElement, value?: string | number | boolean) {\n\t\tif (this.experimentalMode) {\n\t\t\ttry {\n\t\t\t\tvalue = typeof value === 'object' && value !== null ? JSON.stringify(value) : value;\n\t\t\t\tif (typeof value === 'boolean' || typeof value === 'number' || typeof value === 'string') {\n\t\t\t\t\telement?.setAttribute(qualifiedName, `${value as string}`);\n\t\t\t\t} else {\n\t\t\t\t\tthrow new Error(`Invalid value type: ${typeof value}`);\n\t\t\t\t}\n\t\t\t} catch {\n\t\t\t\telement?.removeAttribute(qualifiedName);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * We need to stringify the value, for the setAttribute method.\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes#value\n\t *\n\t * TODO: It is possible that the value are a cyclic object value. So we need a custom\n\t * JSON.stringify method from outside to convert it to string.\n\t */\n\tprivate tryToStringifyValue(value: StencilUnknown): string | null {\n\t\ttry {\n\t\t\treturn typeof value === 'object' && value !== null ? JSON.stringify(value).toString() : value === null || value === undefined ? null : value.toString();\n\t\t} catch (e) {\n\t\t\tdevWarning(`The form field raw value is not able to stringify! ${e as string}`);\n\t\t\treturn '';\n\t\t}\n\t}\n\n\t/**\n\t * We try to support native form-associated custom elements.\n\t *\n\t * @see https://github.com/public-ui/kolibri/discussions/2821\n\t */\n\tpublic readonly setFormAssociatedValue = (rawValue: StencilUnknown) => {\n\t\tconst name = this.formAssociated?.getAttribute('name');\n\t\tif (name === null || name === '') {\n\t\t\tdevHint(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);\n\t\t}\n\t\tconst strValue = this.tryToStringifyValue(rawValue);\n\t\tthis.syncValue(rawValue, strValue, this.formAssociated);\n\t\tthis.syncValue(rawValue, strValue, this.syncToOwnInput);\n\t};\n\n\tprivate syncValue(\n\t\trawValue: StencilUnknown,\n\t\tstrValue: string | null,\n\t\tassociatedElement?: HTMLButtonElement | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement,\n\t) {\n\t\tif (associatedElement) {\n\t\t\tswitch (this.type) {\n\t\t\t\tcase 'file':\n\t\t\t\t\t(associatedElement as HTMLInputFileElement).files = rawValue as FileList;\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'select':\n\t\t\t\t\t(associatedElement as HTMLSelectElement).querySelectorAll('option').forEach((el) => {\n\t\t\t\t\t\t(associatedElement as HTMLSelectElement).removeChild(el);\n\t\t\t\t\t});\n\t\t\t\t\tif (Array.isArray(rawValue)) {\n\t\t\t\t\t\trawValue.forEach((rawValueItem) => {\n\t\t\t\t\t\t\tconst strValueItem = this.tryToStringifyValue(rawValueItem as string);\n\t\t\t\t\t\t\tif (typeof strValueItem === 'string') {\n\t\t\t\t\t\t\t\tconst option = document.createElement('option');\n\t\t\t\t\t\t\t\toption.setAttribute('value', strValueItem);\n\t\t\t\t\t\t\t\toption.setAttribute('selected', '');\n\t\t\t\t\t\t\t\t(associatedElement as HTMLSelectElement).appendChild(option);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'radio':\n\t\t\t\t\tif (typeof strValue === 'string') {\n\t\t\t\t\t\tassociatedElement.setAttribute('value', strValue);\n\t\t\t\t\t\tassociatedElement.setAttribute('checked', '');\n\t\t\t\t\t\tassociatedElement.value = strValue;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tif (typeof strValue === 'string') {\n\t\t\t\t\t\tassociatedElement.setAttribute('value', strValue);\n\t\t\t\t\t\tassociatedElement.value = strValue;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tassociatedElement.removeAttribute('value');\n\t\t\t\t\t\tassociatedElement.value = '';\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic validateName(value?: NamePropType): void {\n\t\tvalidateName(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tthis.setAttribute('name', this.formAssociated, this.component.state._name as string);\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t\tif (typeof value === 'undefined') {\n\t\t\tdevHint(\n\t\t\t\t`A name on input fields or switches is not strictly required, but it might be relevant for the autocomplete function and for the static submission of the input field.`,\n\t\t\t);\n\t\t}\n\t}\n\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tif (this.experimentalMode && typeof value === 'string') {\n\t\t\tconst input = document.querySelector(value) as HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;\n\t\t\tif (input /* SSR instanceof HTMLInputElement */) {\n\t\t\t\tthis.syncToOwnInput = input;\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic validateAriaDetails(value?: string): void {\n\t\tvalidateAriaDetails(this.component, this.host, this.internals, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateName(this.component._name);\n\t\tthis.validateSyncValueBySelector(this.component._syncValueBySelector);\n\t}\n}\n"],"names":[],"mappings":"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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{b as o}from"./common-
|
|
5
|
-
//# sourceMappingURL=auto-complete-
|
|
4
|
+
import{b as o}from"./common-DyILLof-.js";const t=["on","off"];const e=(e,f)=>{o(e,"_autoComplete",(o=>t.includes(o)||typeof o==="string"&&o.length>0),new Set(t),f,{defaultValue:"off"})};export{e as v};
|
|
5
|
+
//# sourceMappingURL=auto-complete-p-8iouPy.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auto-complete-
|
|
1
|
+
{"version":3,"file":"auto-complete-p-8iouPy.js","sources":["src/schema/props/auto-complete.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { watchValidator } from '../utils';\n\n/* types */\nexport const autoCompleteOptions = ['on', 'off'] as const;\nexport type AutoCompletePropType = (typeof autoCompleteOptions)[number] | string;\n\n/**\n * Defines the auto-complete behavior for an element.\n */\nexport type PropAutoComplete = {\n\tautoComplete: AutoCompletePropType;\n};\n\n/* validator */\nexport const validateAutoComplete = (component: Generic.Element.Component, value?: AutoCompletePropType): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t'_autoComplete',\n\t\t(value): boolean => autoCompleteOptions.includes(value as (typeof autoCompleteOptions)[number]) || (typeof value === 'string' && value.length > 0),\n\t\tnew Set(autoCompleteOptions),\n\t\tvalue,\n\t\t{\n\t\t\tdefaultValue: 'off',\n\t\t},\n\t);\n};\n"],"names":[],"mappings":";;;;;AAKO,MAAM,mBAAmB,GAAG,CAAC,IAAI,EAAE,KAAK,CAAU;MAW5C,oBAAoB,GAAG,CAAC,SAAoC,EAAE,KAA4B,KAAU;AAChH,IAAA,cAAc,CACb,SAAS,EACT,eAAe,EACf,CAAC,KAAK,KAAc,mBAAmB,CAAC,QAAQ,CAAC,KAA6C,CAAC,KAAK,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,EAClJ,IAAI,GAAG,CAAC,mBAAmB,CAAC,EAC5B,KAAK,EACL;AACC,QAAA,YAAY,EAAE,KAAK;AACnB,KAAA,CACD;AACF;;;;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{c as t,n as e}from"./normalizers-B5NKuJgN.js";const s=["eager","lazy"];const n=new Set(s);const o=t("loading","lazy",(t=>e(t)),(t=>n.has(t)));const a=["block","inline"];const c=new Set(a);const r=t("variant","inline",(t=>e(t)),(t=>c.has(t)));function i(){throw new Error("This controller does not use component state.")}class l{constructor(){this.stateAccess={setState:(t,e)=>{this[t]=e},getState:t=>this[t]}}}l.stateLess=Object.freeze({setState:i,getState:i});export{l as B,o as l,r as v};
|
|
5
|
+
//# sourceMappingURL=base-web-component-CArCAUxk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-web-component-CArCAUxk.js","sources":["src/internal/props/loading.ts","src/internal/props/variant-quote.ts","src/internal/functional-components/base-web-component.ts"],"sourcesContent":["import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\n/**\n * Loading prop for lazy-loading behavior of embedded content\n *\n * Description:\n * The loading attribute controls when the browser should start fetching the resource.\n * Lazy loading defers loading of off-screen content until it is near the viewport,\n * improving initial page load performance.\n *\n * Usage (according to W3C HTML specification):\n * - \"lazy\": Defers loading until the element approaches the viewport\n * - \"eager\": Loads the resource immediately regardless of viewport position\n * - Default is \"lazy\" to optimize performance\n *\n * Accessibility:\n * - Lazy loading must not interfere with assistive technology access to content\n * - Content must be available when focused or navigated to via keyboard (WCAG 2.1.1 Keyboard)\n * - Ensure lazy-loaded content does not cause unexpected layout shifts (WCAG 2.3.3 Animation from Interactions)\n *\n * @see https://html.spec.whatwg.org/multipage/urls-and-fetching.html#lazy-loading-attributes\n * @see https://www.w3.org/WAI/WCAG21/Understanding/keyboard.html\n */\nconst LOADING_OPTIONS = ['eager', 'lazy'] as const;\nexport type LoadingType = (typeof LOADING_OPTIONS)[number];\nexport type LoadingProp = SimpleProp<'loading', LoadingType>;\n\nconst LOADING_SET: ReadonlySet<string> = new Set(LOADING_OPTIONS);\n\nexport const loadingProp = createPropDefinition<LoadingProp>(\n\t'loading',\n\t'lazy',\n\t(value: unknown) => normalizeString(value) as LoadingType,\n\t(v) => LOADING_SET.has(v),\n);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\n/**\n * Variant prop for quotation display style\n *\n * Description:\n * Determines whether the quotation is rendered as a block-level (<blockquote>) or\n * inline (<q>) element. The choice affects both visual layout and semantic HTML structure.\n *\n * Usage (according to W3C HTML specification):\n * - \"block\": Renders as <blockquote> — for extended, standalone quotations from an external source\n * - \"inline\": Renders as <q> — for short inline quotations within flowing text (default)\n * - The browser automatically adds appropriate quotation marks around <q> elements\n * - Both elements support the cite attribute to reference the quotation source\n *\n * Accessibility:\n * - Semantic HTML elements (<blockquote>, <q>) help assistive technologies convey content structure\n * - The quotation structure must be programmatically determinable (WCAG 1.3.1 Info and Relationships)\n * - Block quotes are announced as distinct sections by screen readers\n *\n * @see https://html.spec.whatwg.org/multipage/grouping-content.html#the-blockquote-element\n * @see https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-q-element\n * @see https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships.html\n */\nconst QUOTE_VARIANT_OPTIONS = ['block', 'inline'] as const;\nexport type QuoteVariantType = (typeof QUOTE_VARIANT_OPTIONS)[number];\nexport type VariantQuoteProp = SimpleProp<'variant', QuoteVariantType>;\n\nconst QUOTE_VARIANT_SET: ReadonlySet<string> = new Set(QUOTE_VARIANT_OPTIONS);\n\nexport const variantQuoteProp = createPropDefinition<VariantQuoteProp>(\n\t'variant',\n\t'inline',\n\t(value: unknown) => normalizeString(value) as QuoteVariantType,\n\t(v) => QUOTE_VARIANT_SET.has(v),\n);\n","import type { ComponentApi, InternalOf, StateAccess } from './generic-types';\n\n/**\n * Throws when a stateless controller accidentally attempts to read or write state.\n * Used as the implementation behind {@link BaseWebComponent.stateLess}.\n */\nfunction throwNoStateAccess(): never {\n\tthrow new Error('This controller does not use component state.');\n}\n\n/**\n * Base class for web components that provides type-safe state access.\n * Subclasses pass `this.stateAccess` to their controller constructors, ensuring\n * that all state reads and writes are validated against Api['States'] at compile time.\n */\nexport abstract class BaseWebComponent<Api extends ComponentApi> {\n\t/**\n\t * Frozen sentinel for controllers that do not need component state.\n\t * Both `setState` and `getState` throw if called, catching accidental\n\t * state access at runtime.\n\t *\n\t * Pass this to the controller constructor in web components whose\n\t * controller only uses render props (no `@State` fields).\n\t */\n\tpublic static readonly stateLess: StateAccess<never> = Object.freeze({\n\t\tsetState: throwNoStateAccess,\n\t\tgetState: throwNoStateAccess,\n\t});\n\n\t/**\n\t * Bundled state access for passing to controllers.\n\t * Writes trigger a Stencil re-render via the @State decorator on the subclass.\n\t */\n\tprotected readonly stateAccess: StateAccess<Api> = {\n\t\tsetState: <K extends keyof InternalOf<NonNullable<Api['States']>>>(key: K, value: InternalOf<NonNullable<Api['States']>>[K]): void => {\n\t\t\t(this as Record<string, unknown>)[key as string] = value;\n\t\t},\n\t\tgetState: <K extends keyof InternalOf<NonNullable<Api['States']>>>(key: K): InternalOf<NonNullable<Api['States']>>[K] => {\n\t\t\treturn (this as Record<string, unknown>)[key as string] as InternalOf<NonNullable<Api['States']>>[K];\n\t\t},\n\t};\n}\n"],"names":[],"mappings":";;;;;AAyBA,MAAM,eAAe,GAAG,CAAC,OAAO,EAAE,MAAM,CAAU;AAIlD,MAAM,WAAW,GAAwB,IAAI,GAAG,CAAC,eAAe,CAAC;AAE1D,MAAM,WAAW,GAAG,oBAAoB,CAC9C,SAAS,EACT,MAAM,EACN,CAAC,KAAc,KAAK,eAAe,CAAC,KAAK,CAAgB,EACzD,CAAC,CAAC,KAAK,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC;;ACT1B,MAAM,qBAAqB,GAAG,CAAC,OAAO,EAAE,QAAQ,CAAU;AAI1D,MAAM,iBAAiB,GAAwB,IAAI,GAAG,CAAC,qBAAqB,CAAC;AAEtE,MAAM,gBAAgB,GAAG,oBAAoB,CACnD,SAAS,EACT,QAAQ,EACR,CAAC,KAAc,KAAK,eAAe,CAAC,KAAK,CAAqB,EAC9D,CAAC,CAAC,KAAK,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC;;AC9BhC,SAAS,kBAAkB,GAAA;AAC1B,IAAA,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC;AACjE;MAOsB,gBAAgB,CAAA;AAAtC,IAAA,WAAA,GAAA;QAkBoB,IAAA,CAAA,WAAW,GAAqB;AAClD,YAAA,QAAQ,EAAE,CAAyD,GAAM,EAAE,KAAgD,KAAU;AACnI,gBAAA,IAAgC,CAAC,GAAa,CAAC,GAAG,KAAK;aACxD;AACD,YAAA,QAAQ,EAAE,CAAyD,GAAM,KAA+C;AACvH,gBAAA,OAAQ,IAAgC,CAAC,GAAa,CAA8C;aACpG;SACD;;;AAhBsB,gBAAA,CAAA,SAAS,GAAuB,MAAM,CAAC,MAAM,CAAC;AACpE,IAAA,QAAQ,EAAE,kBAAkB;AAC5B,IAAA,QAAQ,EAAE,kBAAkB;AAC5B,CAAA,CAAC;;;;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{u as e}from"./common-DyILLof-.js";var i;var n;function l(){if(n)return i;n=1;i=function e(i){return function(e,n){if(!e){return i}var l;if(typeof e==="string"){l=e}else{n=e}var r=i;if(l){r+="__"+l}return r+(n?Object.keys(n).reduce((function(e,i){var l=n[i];if(l){e+=" "+(typeof l==="boolean"?r+"--"+i:r+"--"+i+"_"+l)}return e}),""):"")}};return i}var r=l();var o=e(r);function t(){const e=new Map,i=(i,n,l)=>{try{return e.get(i)(n,l)}catch{return e.set(i,o(i)).get(i)(n,l)}};return i.forBlock=e=>{const n=(n,l)=>i(e,n,l);return n.forElement=n=>l=>i(e,n,l),n},i}const s=t();const m={"kol-abbr":{modifiers:null},"kol-alert":{elements:{closer:{modifiers:null},heading:{modifiers:new Set(["h0","h1","h2","h3","h4","h5","h6"])},icon:{modifiers:null},content:{modifiers:null},container:{modifiers:null}},modifiers:new Set(["hasCloser","type-default","type-error","type-info","type-success","type-warning","variant-card","variant-msg"])},"kol-avatar":{elements:{image:{modifiers:null},initials:{modifiers:null}},modifiers:null},"kol-icon":{elements:{icon:{modifiers:null}},modifiers:null},"kol-meter":{elements:{bar:{modifiers:null},"bar-background":{modifiers:null},"bar-border":{modifiers:null},"bar-fill":{modifiers:new Set(["critical","optimum","suboptimal"])},"bar-label":{modifiers:null},"bar-state":{modifiers:new Set(["critical","optimum","suboptimal"])},"bar-track":{modifiers:null},unit:{modifiers:null},value:{modifiers:null},"value-unit":{modifiers:null}},modifiers:new Set(["vertical"])},"kol-quote":{elements:{blockquote:{modifiers:null},cite:{modifiers:null},figcaption:{modifiers:null},quote:{modifiers:null}},modifiers:new Set(["block","inline"])},"kol-skeleton":{elements:{actions:{modifiers:null},container:{modifiers:null},counter:{modifiers:null},name:{modifiers:null}},modifiers:new Set(["has-name","is-hidden"])},"kol-click-button":{elements:{label:{modifiers:null}},modifiers:null},"kol-span":{elements:{container:{modifiers:null},icon:{modifiers:new Set(["bottom","left","right","top"])},label:{modifiers:null},slot:{modifiers:null}},modifiers:new Set(["has-badge","hide-label"])},"kol-spin":{elements:{loader:{modifiers:null},spinner:{modifiers:new Set(["cycle","dot","none"])},"spinner-element":{modifiers:new Set(["1","2","3","neutral"])}},modifiers:null}};export{m as B,s as b};
|
|
5
|
+
//# sourceMappingURL=bem-registry-CqAKWtWY.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bem-registry-CqAKWtWY.js","sources":["../../node_modules/.pnpm/easy-bem@1.1.1/node_modules/easy-bem/index.js","../../node_modules/.pnpm/typed-bem@1.0.2/node_modules/typed-bem/dist/browser.mjs","src/schema/bem-registry.ts"],"sourcesContent":["'use strict';\r\n\r\n/**\r\n * BEM class name factory.\r\n *\r\n * @typedef {Function} Bem\r\n * @param {String|Object} [elementOrMods] Element name or hash object with mods\r\n * @param {Object} [mods] Hash object with mods\r\n * @returns {String}\r\n */\r\n\r\n/**\r\n * Returns BEM class name factory.\r\n *\r\n * @param {String} componentName Block name\r\n * @returns {Bem}\r\n */\r\nmodule.exports = function bem(componentName) {\r\n return function (elementOrMods, mods) {\r\n if (!elementOrMods) {\r\n return componentName;\r\n }\r\n\r\n var element;\r\n\r\n if (typeof elementOrMods === 'string') {\r\n element = elementOrMods;\r\n } else {\r\n mods = elementOrMods;\r\n }\r\n\r\n var base = componentName;\r\n if (element) {\r\n base += '__' + element;\r\n }\r\n\r\n return base + (\r\n mods\r\n ? Object.keys(mods).reduce(function (result, name) {\r\n var value = mods[name];\r\n\r\n if (value) {\r\n result += ' ' + (\r\n typeof value === 'boolean'\r\n ? (base + '--' + name)\r\n : (base + '--' + name + '_' + value)\r\n );\r\n }\r\n\r\n return result;\r\n }, '')\r\n : ''\r\n );\r\n };\r\n}\r\n","import a from\"easy-bem\";function c(){const e=new Map,n=(t,o,r)=>{try{return e.get(t)(o,r)}catch{return e.set(t,a(t)).get(t)(o,r)}};return n.forBlock=t=>{const o=(r,s)=>n(t,r,s);return o.forElement=r=>s=>n(t,r,s),o},n}function f(...e){const n=new Set;for(const t of e)if(t)for(const o of t.split(/\\s+/))n.add(o);return[...n].join(\" \")}export{c as generateBemClassNames,f as uniqueClassNames};\n//# sourceMappingURL=browser.mjs.map\n","import { generateBemClassNames } from 'typed-bem';\n\n/**\n * Central BEM Schema Registry for all KoliBri Components\n *\n * This file serves as the single source of truth for all BEM class name structures\n * across the entire KoliBri component library. By centralizing component schemas here,\n * we ensure consistency, prevent duplication, and enable powerful tooling.\n *\n * Benefits:\n * - Type safety across all components\n * - Consistent BEM structure\n * - Single point of maintenance\n * - Automatic SCSS generation\n * - Better IDE support and autocomplete\n * - forBlock integration for component-specific generators\n */\n\n/**\n * Complete schema definition for all KoliBri components\n */\ntype KoliBriComponentsBemSchema = {\n\t'kol-abbr': {\n\t\tmodifiers: null;\n\t};\n\t'kol-alert': {\n\t\t/**\n\t\t * Here we define the elements we needed\n\t\t * to realize a minimal full featured alert\n\t\t * component (DOM).\n\t\t */\n\t\telements: {\n\t\t\tcontainer: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\ticon: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\theading: {\n\t\t\t\t/**\n\t\t\t\t * Some elements needs modifiers to\n\t\t\t\t * style them properly.\n\t\t\t\t */\n\t\t\t\tmodifiers: Set<'h0' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'>;\n\t\t\t};\n\t\t\tcontent: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\tcloser: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t};\n\t\t/**\n\t\t * Here we define the modifiers related to the\n\t\t * kol-alert component properties.\n\t\t */\n\t\tmodifiers: Set<'hasCloser' | 'type-default' | 'type-error' | 'type-info' | 'type-success' | 'type-warning' | 'variant-card' | 'variant-msg'>;\n\t};\n\t'kol-avatar': {\n\t\telements: {\n\t\t\timage: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\tinitials: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t};\n\t\tmodifiers: null;\n\t};\n\t'kol-icon': {\n\t\telements: {\n\t\t\ticon: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t};\n\t\tmodifiers: null;\n\t};\n\t'kol-meter': {\n\t\telements: {\n\t\t\tbar: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\t'bar-label': {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\t'bar-state': {\n\t\t\t\tmodifiers: Set<'optimum' | 'suboptimal' | 'critical'>;\n\t\t\t};\n\t\t\t'bar-track': {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\t'bar-fill': {\n\t\t\t\tmodifiers: Set<'optimum' | 'suboptimal' | 'critical'>;\n\t\t\t};\n\t\t\t'bar-background': {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\t'bar-border': {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\t'value-unit': {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\tvalue: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\tunit: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t};\n\t\tmodifiers: Set<'vertical'>;\n\t};\n\t'kol-quote': {\n\t\telements: {\n\t\t\tblockquote: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\tcite: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\tfigcaption: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\tquote: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t};\n\t\tmodifiers: Set<'block' | 'inline'>;\n\t};\n\t'kol-skeleton': {\n\t\telements: {\n\t\t\tcontainer: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\tname: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\tcounter: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\tactions: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t};\n\t\tmodifiers: Set<'has-name' | 'is-hidden'>;\n\t};\n\t'kol-click-button': {\n\t\telements: {\n\t\t\tlabel: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t};\n\t\tmodifiers: null;\n\t};\n\t'kol-span': {\n\t\telements: {\n\t\t\tcontainer: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\ticon: {\n\t\t\t\tmodifiers: Set<'bottom' | 'left' | 'right' | 'top'>;\n\t\t\t};\n\t\t\tlabel: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t\tslot: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t};\n\t\tmodifiers: Set<'has-badge' | 'hide-label'>;\n\t};\n\t'kol-spin': {\n\t\telements: {\n\t\t\tspinner: {\n\t\t\t\tmodifiers: Set<'cycle' | 'dot' | 'none'>;\n\t\t\t};\n\t\t\t'spinner-element': {\n\t\t\t\tmodifiers: Set<'1' | '2' | '3' | 'neutral'>;\n\t\t\t};\n\t\t\tloader: {\n\t\t\t\tmodifiers: null;\n\t\t\t};\n\t\t};\n\t\tmodifiers: null;\n\t};\n};\n\n/**\n * Create the central BEM generator instance\n * This single instance is used across all components\n */\nexport const bem = generateBemClassNames<KoliBriComponentsBemSchema>();\n\n/**\n * Export the complete BEM schema for reuse\n * to generate SCSS files in themes.\n */\nconst BEM: KoliBriComponentsBemSchema = {\n\t'kol-abbr': {\n\t\tmodifiers: null,\n\t},\n\t'kol-alert': {\n\t\telements: {\n\t\t\tcloser: { modifiers: null },\n\t\t\theading: { modifiers: new Set(['h0', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6']) },\n\t\t\ticon: { modifiers: null },\n\t\t\tcontent: { modifiers: null },\n\t\t\tcontainer: { modifiers: null },\n\t\t},\n\t\tmodifiers: new Set(['hasCloser', 'type-default', 'type-error', 'type-info', 'type-success', 'type-warning', 'variant-card', 'variant-msg']),\n\t},\n\t'kol-avatar': {\n\t\telements: {\n\t\t\timage: { modifiers: null },\n\t\t\tinitials: { modifiers: null },\n\t\t},\n\t\tmodifiers: null,\n\t},\n\t'kol-icon': {\n\t\telements: {\n\t\t\ticon: { modifiers: null },\n\t\t},\n\t\tmodifiers: null,\n\t},\n\t'kol-meter': {\n\t\telements: {\n\t\t\tbar: { modifiers: null },\n\t\t\t'bar-background': { modifiers: null },\n\t\t\t'bar-border': { modifiers: null },\n\t\t\t'bar-fill': { modifiers: new Set(['critical', 'optimum', 'suboptimal']) },\n\t\t\t'bar-label': { modifiers: null },\n\t\t\t'bar-state': { modifiers: new Set(['critical', 'optimum', 'suboptimal']) },\n\t\t\t'bar-track': { modifiers: null },\n\t\t\tunit: { modifiers: null },\n\t\t\tvalue: { modifiers: null },\n\t\t\t'value-unit': { modifiers: null },\n\t\t},\n\t\tmodifiers: new Set(['vertical']),\n\t},\n\t'kol-quote': {\n\t\telements: {\n\t\t\tblockquote: { modifiers: null },\n\t\t\tcite: { modifiers: null },\n\t\t\tfigcaption: { modifiers: null },\n\t\t\tquote: { modifiers: null },\n\t\t},\n\t\tmodifiers: new Set(['block', 'inline']),\n\t},\n\t'kol-skeleton': {\n\t\telements: {\n\t\t\tactions: { modifiers: null },\n\t\t\tcontainer: { modifiers: null },\n\t\t\tcounter: { modifiers: null },\n\t\t\tname: { modifiers: null },\n\t\t},\n\t\tmodifiers: new Set(['has-name', 'is-hidden']),\n\t},\n\t'kol-click-button': {\n\t\telements: {\n\t\t\tlabel: { modifiers: null },\n\t\t},\n\t\tmodifiers: null,\n\t},\n\t'kol-span': {\n\t\telements: {\n\t\t\tcontainer: { modifiers: null },\n\t\t\ticon: { modifiers: new Set(['bottom', 'left', 'right', 'top']) },\n\t\t\tlabel: { modifiers: null },\n\t\t\tslot: { modifiers: null },\n\t\t},\n\t\tmodifiers: new Set(['has-badge', 'hide-label']),\n\t},\n\t'kol-spin': {\n\t\telements: {\n\t\t\tloader: { modifiers: null },\n\t\t\tspinner: { modifiers: new Set(['cycle', 'dot', 'none']) },\n\t\t\t'spinner-element': { modifiers: new Set(['1', '2', '3', 'neutral']) },\n\t\t},\n\t\tmodifiers: null,\n\t},\n};\n\nexport { BEM };\n"],"names":["generateBemClassNames"],"mappings":"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","x_google_ignoreList":[0,1]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{t as o,Z as n,L as i}from"./common-
|
|
5
|
-
//# sourceMappingURL=bootstrap-
|
|
4
|
+
import{t as o,Z as n,L as i}from"./common-DyILLof-.js";import{s as e}from"./component-names-Dy77vq43.js";import{i as s}from"./i18n-CMA39edx.js";let d=false;let t;const a=async(a,l,v)=>{var r,c;const u=typeof process!=="undefined"&&process.env?"production":undefined;o((v===null||v===void 0?void 0:v.environment)||u||"production");s((c=(r=v===null||v===void 0?void 0:v.translation)===null||r===void 0?void 0:r.name)!==null&&c!==void 0?c:"de",v===null||v===void 0?void 0:v.translations);if(v===null||v===void 0?void 0:v.transformTagName){e(v===null||v===void 0?void 0:v.transformTagName)}const m=await n(a,l,v);d=true;t=v;i.info("Development mode active - Enhanced debugging features available");return m};const l=a;const v=()=>d;const r=()=>t;export{a as b,r as g,v as i,l as r};
|
|
5
|
+
//# sourceMappingURL=bootstrap-C2nJoN6K.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bootstrap-
|
|
1
|
+
{"version":3,"file":"bootstrap-C2nJoN6K.js","sources":["src/core/bootstrap.ts"],"sourcesContent":["import type { Generic, LoaderCallback, RegisterOptions } from 'adopted-style-sheets';\nimport { register as coreRegister } from 'adopted-style-sheets';\nimport type { Mode } from '../schema';\nimport { Log, setRuntimeMode } from '../schema';\nimport { setCustomTagNames } from './component-names';\nimport { initializeI18n } from './i18n';\n\ntype KoliBriOptions = RegisterOptions & {\n\t/**\n\t * The environment in which the application is running.\n\t */\n\tenvironment?: Mode;\n\t/**\n\t * This option allows you to transform the component tag names.\n\t */\n\ttransformTagName?: (tagName: string) => string;\n\n\t/**\n\t * When enabled, all input fields will reflect their current value to the host element, making it accessible outside the shadow DOM.\n\t */\n\treflectInputValues?: boolean;\n};\n\nlet initialized = false;\nlet options: KoliBriOptions | undefined;\n\nexport const bootstrap = async (\n\tthemes:\n\t\t| Generic.Theming.RegisterPatch<string, string, string>\n\t\t| Generic.Theming.RegisterPatch<string, string, string>[]\n\t\t| Set<Generic.Theming.RegisterPatch<string, string, string>>,\n\tloaders: LoaderCallback | LoaderCallback[] | Set<LoaderCallback>,\n\tkoliBriOptions?: KoliBriOptions,\n): Promise<void[]> => {\n\tconst nodeEnv = typeof process !== 'undefined' && process.env ? (process.env.NODE_ENV as Mode) : undefined;\n\tsetRuntimeMode(koliBriOptions?.environment || nodeEnv || 'production');\n\n\tinitializeI18n(koliBriOptions?.translation?.name ?? 'de', koliBriOptions?.translations);\n\tif (koliBriOptions?.transformTagName) {\n\t\tsetCustomTagNames(koliBriOptions?.transformTagName);\n\t}\n\tconst coreRegisterReturnValue = await coreRegister(themes, loaders, koliBriOptions);\n\tinitialized = true;\n\toptions = koliBriOptions;\n\n\t// Only log development message when actually in development mode\n\tLog.info('Development mode active - Enhanced debugging features available');\n\n\treturn coreRegisterReturnValue;\n};\n\nexport const register = bootstrap;\nexport const isInitialized = () => initialized;\nexport const getOptions = () => options;\n"],"names":["coreRegister"],"mappings":";;;;;;;AAuBA,IAAI,WAAW,GAAG,KAAK;AACvB,IAAI,OAAmC;AAEhC,MAAM,SAAS,GAAG,OACxB,MAG6D,EAC7D,OAAgE,EAChE,cAA+B,KACX;;IACpB,MAAM,OAAO,GAAG,OAAO,OAAO,KAAK,WAAW,IAAI,OAAO,CAAC,GAAG,GAAI,YAA6B,GAAG,SAAS;IAC1G,cAAc,CAAC,CAAA,cAAc,KAAA,IAAA,IAAd,cAAc,KAAd,MAAA,GAAA,MAAA,GAAA,cAAc,CAAE,WAAW,KAAI,OAAO,IAAI,YAAY,CAAC;AAEtE,IAAA,cAAc,CAAC,MAAA,CAAA,EAAA,GAAA,cAAc,aAAd,cAAc,KAAA,MAAA,GAAA,MAAA,GAAd,cAAc,CAAE,WAAW,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAE,IAAI,MAAI,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,EAAA,GAAA,IAAI,EAAE,cAAc,KAAd,IAAA,IAAA,cAAc,uBAAd,cAAc,CAAE,YAAY,CAAC;IACvF,IAAI,cAAc,aAAd,cAAc,KAAA,MAAA,GAAA,MAAA,GAAd,cAAc,CAAE,gBAAgB,EAAE;QACrC,iBAAiB,CAAC,cAAc,KAAd,IAAA,IAAA,cAAc,uBAAd,cAAc,CAAE,gBAAgB,CAAC;;IAEpD,MAAM,uBAAuB,GAAG,MAAMA,CAAY,CAAC,MAAM,EAAE,OAAO,EAAE,cAAc,CAAC;IACnF,WAAW,GAAG,IAAI;IAClB,OAAO,GAAG,cAAc;AAGxB,IAAA,GAAG,CAAC,IAAI,CAAC,iEAAiE,CAAC;AAE3E,IAAA,OAAO,uBAAuB;AAC/B;AAEO,MAAM,QAAQ,GAAG;MACX,aAAa,GAAG,MAAM;MACtB,UAAU,GAAG,MAAM;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{L as r,k as t,b as e}from"./common-
|
|
5
|
-
//# sourceMappingURL=color-
|
|
4
|
+
import{L as r,k as t,b as e}from"./common-DyILLof-.js";import{c as o}from"./contrast-D1msrkD4.js";const n=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i;function a(r){return n.test(r)}function l(r){if(r.startsWith("{")){try{const t=JSON.parse(r);if(s(t))return{type:"ColorPair",value:t}}catch(r){return{type:null,value:null}}}return{type:null,value:null}}function i(r){if(r){if(typeof r==="string"){if(a(r))return{type:"string",valid:true,value:r};else{const t=l(r);if(t.value)return{type:t.type,valid:true,value:t.value}}}else{const t=r;if(s(t))return{type:"ColorPair",valid:true,value:t}}}return{type:null,valid:false,value:""}}function s(r){return!!(typeof r==="object"&&r&&typeof r.backgroundColor==="string"&&typeof r.foregroundColor==="string")}function u(r){const t=i(r);switch(t.type){case null:return false;case"string":case"ColorPair":return t.valid}}const f=(r,t,o)=>{e(r,"_color",u,new Set(["rgb in hex","ColorPair"]),t,o)};const c=e=>{let n;const a=i(e);switch(a.type){case"string":n=o(a.value);break;case"ColorPair":{const r=a.value;let t="";if(typeof r.foregroundColor==="string")t=r.foregroundColor;if(!t||typeof t!=="string")t="#fff";n=o({background:r.backgroundColor,foreground:t});break}case null:r.warn(`_color was empty or invalid (${JSON.stringify(e)})`);n=o({background:"#000",foreground:"#000"})}if(n.contrast<7){t(`[KolBadge] The contrast of ${n.contrast} (≥7, AAA) is to low, between the color pair ${n.background} and ${n.foreground}.`)}return{backgroundColor:n.background,foregroundColor:n.foreground}};export{c as h,f as v};
|
|
5
|
+
//# sourceMappingURL=color-CftCtla8.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color-
|
|
1
|
+
{"version":3,"file":"color-CftCtla8.js","sources":["src/schema/props/color.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport type { Stringified } from '../types';\nimport type { ColorContrast, WatchOptions } from '../utils';\nimport { a11yHint, createContrastColorPair, Log, watchValidator } from '../utils';\n\n/**\n * Defines the backgroundColor and foregroundColor.\n */\nexport type ColorPair = {\n\tbackgroundColor: string;\n\tforegroundColor: string;\n};\n\nexport type PropColor = ColorPair;\n\ntype typeOfColorType = 'string' | 'ColorPair' | null;\n\nconst HEX_REGEX = /^#((\\d|[a-f]){8}|(\\d|[a-f]){6}|(\\d|[a-f]){3,4})$/i;\nfunction isHexString(value: string): boolean {\n\treturn HEX_REGEX.test(value);\n}\n/* checks if the string is valid JSON and if the resulting object is a valid ColorPair and returns it, or null if invalid. */\nfunction isColorObjectString(value: string): { type: typeOfColorType; value: PropColor | null } {\n\tif (value.startsWith('{')) {\n\t\ttry {\n\t\t\tconst parsed = JSON.parse(value) as unknown;\n\t\t\tif (isValidColorPair(parsed as ColorPair)) return { type: 'ColorPair', value: parsed as ColorPair };\n\t\t} catch {\n\t\t\treturn { type: null, value: null };\n\t\t}\n\t}\n\treturn { type: null, value: null };\n}\n\nfunction typeOfColor(value?: unknown): { type: typeOfColorType; valid: boolean; value: PropColor | string } {\n\tif (value) {\n\t\tif (typeof value === 'string') {\n\t\t\tif (isHexString(value)) return { type: 'string', valid: true, value: value };\n\t\t\telse {\n\t\t\t\tconst colorObject = isColorObjectString(value);\n\t\t\t\tif (colorObject.value) return { type: colorObject.type, valid: true, value: colorObject.value };\n\t\t\t}\n\t\t} else {\n\t\t\tconst asColorPair = value as ColorPair;\n\t\t\tif (isValidColorPair(asColorPair)) return { type: 'ColorPair', valid: true, value: asColorPair };\n\t\t}\n\t}\n\treturn { type: null, valid: false, value: '' };\n}\n\n/* validate different color options */\nfunction isValidColorPair(value: ColorPair): boolean {\n\treturn !!(typeof value === 'object' && value && typeof value.backgroundColor === 'string' && typeof value.foregroundColor === 'string');\n}\n\nfunction validatorFunction(value?: Stringified<PropColor>): boolean {\n\tconst valueType = typeOfColor(value);\n\tswitch (valueType.type) {\n\t\tcase null:\n\t\t\treturn false;\n\t\tcase 'string':\n\t\tcase 'ColorPair':\n\t\t\treturn valueType.valid;\n\t}\n}\n\nexport const validateColor = (component: Generic.Element.Component, value?: Stringified<PropColor>, options?: WatchOptions): void => {\n\twatchValidator(component, '_color', validatorFunction, new Set(['rgb in hex', 'ColorPair']), value, options);\n};\n\nexport const handleColorChange = (value: unknown): ColorPair => {\n\tlet colorContrast: ColorContrast<string>;\n\tconst valueType = typeOfColor(value);\n\tswitch (valueType.type) {\n\t\tcase 'string':\n\t\t\tcolorContrast = createContrastColorPair(valueType.value as string);\n\t\t\tbreak;\n\t\tcase 'ColorPair': {\n\t\t\tconst asColorPair = valueType.value as ColorPair;\n\t\t\tlet foreground = '';\n\t\t\tif (typeof asColorPair.foregroundColor === 'string') foreground = asColorPair.foregroundColor;\n\t\t\tif (!foreground || typeof foreground !== 'string') foreground = '#fff';\n\t\t\tcolorContrast = createContrastColorPair({\n\t\t\t\tbackground: asColorPair.backgroundColor,\n\t\t\t\tforeground,\n\t\t\t});\n\t\t\tbreak;\n\t\t}\n\t\tcase null:\n\t\t\tLog.warn(`_color was empty or invalid (${JSON.stringify(value)})`);\n\t\t\tcolorContrast = createContrastColorPair({\n\t\t\t\tbackground: '#000',\n\t\t\t\tforeground: '#000',\n\t\t\t});\n\t}\n\n\tif (colorContrast.contrast < 7) {\n\t\ta11yHint(\n\t\t\t`[KolBadge] The contrast of ${colorContrast.contrast} (≥7, AAA) is to low, between the color pair ${colorContrast.background} and ${colorContrast.foreground}.`,\n\t\t);\n\t}\n\treturn {\n\t\tbackgroundColor: colorContrast.background,\n\t\tforegroundColor: colorContrast.foreground,\n\t};\n};\n"],"names":[],"mappings":"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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e["default"]:e}var t={exports:{}};var n=t.exports;var r;function o(){if(r)return t.exports;r=1;(function(e){(function(t,n){if(e.exports){e.exports=n()}else{t.log=n()}})(n,(function(){var e=function(){};var t="undefined";var n=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent);var r=["trace","debug","info","warn","error"];var o={};var i=null;function a(e,t){var n=e[t];if(typeof n.bind==="function"){return n.bind(e)}else{try{return Function.prototype.bind.call(n,e)}catch(t){return function(){return Function.prototype.apply.apply(n,[e,arguments])}}}}function s(){if(console.log){if(console.log.apply){console.log.apply(console,arguments)}else{Function.prototype.apply.apply(console.log,[console,arguments])}}if(console.trace)console.trace()}function l(r){if(r==="debug"){r="log"}if(typeof console===t){return false}else if(r==="trace"&&n){return s}else if(console[r]!==undefined){return a(console,r)}else if(console.log!==undefined){return a(console,"log")}else{return e}}function f(){var n=this.getLevel();for(var o=0;o<r.length;o++){var i=r[o];this[i]=o<n?e:this.methodFactory(i,n,this.name)}this.log=this.debug;if(typeof console===t&&n<this.levels.SILENT){return"No console available for logging"}}function u(e){return function(){if(typeof console!==t){f.call(this);this[e].apply(this,arguments)}}}function c(e,t,n){return l(e)||u.apply(this,arguments)}function d(e,n){var a=this;var s;var l;var u;var d="loglevel";if(typeof e==="string"){d+=":"+e}else if(typeof e==="symbol"){d=undefined}function p(e){var n=(r[e]||"silent").toUpperCase();if(typeof window===t||!d)return;try{window.localStorage[d]=n;return}catch(e){}try{window.document.cookie=encodeURIComponent(d)+"="+n+";"}catch(e){}}function v(){var e;if(typeof window===t||!d)return;try{e=window.localStorage[d]}catch(e){}if(typeof e===t){try{var n=window.document.cookie;var r=encodeURIComponent(d);var o=n.indexOf(r+"=");if(o!==-1){e=/^([^;]+)/.exec(n.slice(o+r.length+1))[1]}}catch(e){}}if(a.levels[e]===undefined){e=undefined}return e}function g(){if(typeof window===t||!d)return;try{window.localStorage.removeItem(d)}catch(e){}try{window.document.cookie=encodeURIComponent(d)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(e){}}function y(e){var t=e;if(typeof t==="string"&&a.levels[t.toUpperCase()]!==undefined){t=a.levels[t.toUpperCase()]}if(typeof t==="number"&&t>=0&&t<=a.levels.SILENT){return t}else{throw new TypeError("log.setLevel() called with invalid level: "+e)}}a.name=e;a.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5};a.methodFactory=n||c;a.getLevel=function(){if(u!=null){return u}else if(l!=null){return l}else{return s}};a.setLevel=function(e,t){u=y(e);if(t!==false){p(u)}return f.call(a)};a.setDefaultLevel=function(e){l=y(e);if(!v()){a.setLevel(e,false)}};a.resetLevel=function(){u=null;g();f.call(a)};a.enableAll=function(e){a.setLevel(a.levels.TRACE,e)};a.disableAll=function(e){a.setLevel(a.levels.SILENT,e)};a.rebuild=function(){if(i!==a){s=y(i.getLevel())}f.call(a);if(i===a){for(var e in o){o[e].rebuild()}}};s=y(i?i.getLevel():"WARN");var b=v();if(b!=null){u=y(b)}f.call(a)}i=new d;i.getLogger=function e(t){if(typeof t!=="symbol"&&typeof t!=="string"||t===""){throw new TypeError("You must supply a name when creating a logger.")}var n=o[t];if(!n){n=o[t]=new d(t,i.methodFactory)}return n};var p=typeof window!==t?window.log:undefined;i.noConflict=function(){if(typeof window!==t&&window.log===i){window.log=p}return i};i.getLoggers=function e(){return o};i["default"]=i;return i}))})(t);return t.exports}var i=o();var a=e(i);const s=(e,t)=>n=>n(e,t),l=(e,t)=>n=>n(e,t,{append:false}),f=()=>{const e=typeof process<"u"&&process.env?process.env:{},t=e.NODE_ENV==="test",n="VITEST"in e,r="JEST_WORKER_ID"in e,o="PLAYWRIGHT_TEST_BASE_URL"in e,i=e.CI==="true",a=e.TEST==="true"||e.IS_TEST==="true",s=typeof navigator<"u"&&navigator.webdriver===true,l=typeof navigator<"u"&&/playwright|puppeteer|webdriver|selenium|testcafe/i.test(navigator.userAgent);return t||n||r||o||i||a||s||l},u={A11yUi:{CSS_STYLE_CACHE:new Map,IS_TEST_ENVIRONMENT:f(),PERFORMANCE_MEASURES:new Map,STYLING_TASK_QUEUE:new Map,THEMES:new Map,showAverageTimes:()=>{const e={};for(const[t,n]of u.A11yUi.PERFORMANCE_MEASURES.entries())e[t]=[n.totalTime/n.count,n.count];const t=Object.entries(e).sort(((e,t)=>t[1][0]-e[1][0]));return console.table(Object.fromEntries(t.map((([e,[t,n]])=>[e,{"avg (ms)":parseFloat(t.toFixed(2)),count:n}])))),e}}};let c=true,d=false;const p=/^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/,v=e=>typeof e=="string"&&p.test(e),g=e=>{if(!v(e))throw new Error(`[Theming] The theme identifier "${typeof e=="string"?e:""}" (Type: ${typeof e}) is not valid. Please use only follow this pattern: /^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/`)},y=e=>e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\s*([{},;])\s*/g,"$1").replace(/:\s+/g,":").replace(/\s+/g," ").replace(/;\}/g,"}").trim(),b=(e,t,n,r)=>h(e,t,n,r),h=(e,t,n,r)=>{r=r??{},r.append=r.append??false,g(e),c&&!d&&(d=true,a.warn(`[Theming] The theme process is locked. This means that the theme "${e}" should not be patched.\n\n import { register } from 'adopted-style-sheets';\n import { defineCustomElements } from '...';\n import { THEME } from '...';\n\n register(THEME, defineCustomElements)\n .then(() => {\n // run your app or website\n })\n .catch(console.warn);`));let o=u.A11yUi.THEMES.get(e);if(o||(o=new Map,u.A11yUi.THEMES.set(e,o)),r.append&&o.has(t)){const e=o.get(t);o.set(t,y(`${e}${n}`))}else o.set(t,y(n))},m=(e,t,n,r)=>w(e,t,n,r),w=(e,t,n,r)=>(g(e),typeof t=="object"&&t!==null&&Object.getOwnPropertyNames(t).forEach((o=>{const i=t[o],a=o.toLowerCase(),s=typeof r?.transformTagName=="function"&&!["GLOBAL","PROPERTIES"].includes(o)?r.transformTagName(a):o;typeof i=="string"&&i.length>0&&h(e,s.toUpperCase(),i,n)})),e),k=e=>{if(e instanceof HTMLElement){if(typeof e.dataset.theme=="string")return e;{let t=e.parentNode;for(;t instanceof ShadowRoot;)t=t.host;return k(t)}}else return null},S=(e={})=>e.themeEncroachCss==="false"||e.themeReset==="true"?false:{mode:e.themeEncroachCssMode==="after"||e.themeEncroachCssMode==="before"?e.themeEncroachCssMode:"before"},T=()=>typeof u.A11yUi.Theme=="object"&&u.A11yUi.Theme!==null&&typeof u.A11yUi.Theme.cache=="boolean"&&typeof u.A11yUi.Theme.encroachCss=="object"&&u.A11yUi.Theme.encroachCss!==null&&typeof u.A11yUi.Theme.encroachCss.mode=="string"&&typeof u.A11yUi.Theme.name=="string",E=()=>!(typeof u.A11yUi.Theme=="object"&&u.A11yUi.Theme!==null)||u.A11yUi.Theme.name!=="default",M=e=>{if(T())return u.A11yUi.Theme;{const t={cache:true,encroachCss:S(),loglevel:"silent",mode:"csr",name:null},n=k(e);return n instanceof HTMLElement&&(t.cache=n.dataset.themeCache!=="false",t.encroachCss=S(n.dataset),t.loglevel=n.dataset.themeLoglevel==="debug"?n.dataset.themeLoglevel:"silent",t.mode=n.dataset.themeMode==="ssr"?n.dataset.themeMode:"csr",t.name=n.dataset.theme||null),t}},A=()=>T()?u.A11yUi.Theme.name:null,N=(e,t)=>({cache:t.cache!==false,detect:t.detect==="auto"?"auto":"fixed",encroachCss:t.encroachCss===false?false:typeof t.encroachCss=="object"&&t.encroachCss!=null&&(t.encroachCss.mode==="after"||t.encroachCss.mode==="before")?t.encroachCss:{mode:"before"},loglevel:t.loglevel==="debug"?t.loglevel:"silent",mode:t.mode==="ssr"?t.mode:"csr",name:typeof t.name=="string"?t.name:e}),O=(e,t)=>{T()===false&&E()&&typeof t=="object"&&t!==null&&(t=N(e,t),t.detect==="fixed"?(t.name===null&&typeof e=="string"&&(t.name=e),e===t.name&&(u.A11yUi.Theme=t,a.info(`[Theming] Theme "${e}" was set as default theme.`))):d||(d=true,a.warn("[Theming] The presetting of theme options is only relevant by using 'fixed' detection mode.")))};let L=false;const I=(e,t,n={})=>{L||(L=true,c=false,typeof window<"u"&&(window.A11yUi=u.A11yUi)),typeof e=="function"?e=new Set([e]):Array.isArray(e)&&(e=new Set(e)),e instanceof Set&&e.forEach((e=>{typeof e=="function"&&e.length===1?O(e(((e,t,r)=>w(e,t,r,n))),{cache:n.theme?.cache,detect:n.theme?.detect,encroachCss:n.theme?.encroachCss,mode:n.theme?.mode,name:n.theme?.name}):a.error("[Theming] An attempt was made to load an incompatible theme.")})),c=true,typeof t=="function"?t=new Set([t]):Array.isArray(t)&&(t=new Set(t));const r=[];return t.forEach((e=>{const t=e();t instanceof Promise&&r.push(t)})),Promise.all(r)};const C=new Set,R=new Map,$=/--[^;]+/g,j=/:/,x=typeof MutationObserver<"u";let _=25,F=()=>{_=Math.min(25+Math.log2(u.A11yUi.STYLING_TASK_QUEUE.size+1)*20,250)};const H=(e,t)=>{let n=t.match($);if(Array.isArray(n)){n=n.filter((e=>j.test(e)));const t=document.createElement("style");t.innerHTML=`.${e} {${n.join(";")}}`,document.querySelector("head")?.appendChild(t)}C.add(e)},P=(e,t)=>{const n=u.A11yUi.THEMES.get(e);if(n instanceof Map){const e=n.get(t);if(e!==void 0)return e}return""},U=e=>{const t=e.firstChild;if(!(!(t instanceof HTMLStyleElement)||t.dataset.themingFallback!==void 0))for(const t of Array.from(e.childNodes))if(t instanceof HTMLStyleElement&&t.tagName==="STYLE"&&t.dataset.themingFallback===void 0)e.removeChild(t);else break},q=(e,t)=>{try{if(u.A11yUi.Theme?.mode==="ssr")throw new Error("SSR");const n=t.filter((e=>typeof e=="string"&&e.length>0)).map((e=>{let t=R.get(e);return t||(t=new CSSStyleSheet,t.replaceSync(e),R.set(e,t)),t}));e.adoptedStyleSheets=n}catch{for(let n=t.length-1;n>=0;n--){const r=t[n];if(typeof r!="string"||r.length===0)continue;const o=t.length-1-n,i=document.createElement("style");switch(i.dataset.themingFallback="",o){case 4:i.dataset.themingBaseA11y="";break;case 3:i.dataset.themingBaseGlobal="";break;case 2:i.dataset.themingBaseComponent="";break;case 1:i.dataset.themingCustomGlobal="";break;case 0:i.dataset.themingCustomComponent="";break;default:i.dataset.themingUnknown="";break}i.innerHTML=r,e.insertBefore(i,e.firstChild)}}},z=(e,t,n)=>{if(n===false||n?.mode!=="before"&&n?.mode!=="after")return;const r=Array.from(e.childNodes).filter((e=>e instanceof HTMLStyleElement&&e.tagName==="STYLE"));let o;try{o=Array.from(e.adoptedStyleSheets)}catch{o=[]}if(!(r.length===0&&o.length===0))if(n.mode==="before"){const e=[...o.map((e=>Array.from(e.cssRules).map((e=>e.cssText)).join(""))),...r.map((e=>e.innerHTML))];t.unshift(...e)}else r.forEach((e=>t.push(e.innerHTML))),o.forEach((e=>t.push(Array.from(e.cssRules).map((e=>e.cssText)).join(""))))},B=(e,t,n)=>{const r=t.name||"default";let o;try{if(e.shadowRoot===null)throw new Error("ShadowRoot is null");o=e.shadowRoot}catch{o=e}const i=u.A11yUi.CSS_STYLE_CACHE.get(r)?.get(e.tagName);if(i)J(e,o,i,n);else{const i=P(r,"PROPERTIES"),a=P(r,"GLOBAL"),s=P(r,e.tagName);C.has(r)===false&&H(r,a);const l=[i,a,s];if(z(o,l,t.encroachCss),t.cache===true){let t=u.A11yUi.CSS_STYLE_CACHE.get(r);t||(t=new Map,u.A11yUi.CSS_STYLE_CACHE.set(r,t)),t.set(e.tagName,l)}J(e,o,l,n)}},J=(e,t,n,r)=>{const o=u.A11yUi.Theme?.loglevel==="debug",i=o?performance.now():0;if(U(t),q(t,n),te(e),requestAnimationFrame(r),o){const t=performance.now()-i,n=u.A11yUi.PERFORMANCE_MEASURES.get(e.tagName);n?(n.count+=1,n.totalTime+=t):u.A11yUi.PERFORMANCE_MEASURES.set(e.tagName,{count:1,totalTime:t})}},K=e=>{const t=u.A11yUi.STYLING_TASK_QUEUE.get(e);if(t){const{resetCss:n,themeDetails:r}=t;B(e,r,n)}},W=100;let D=(e,t=0)=>{if(t>=W)return;const n=setTimeout((()=>{clearTimeout(n),e.classList.contains("hydrated")?K(e):D(e,t+1)}),_)};const Y={attributes:true,attributeFilter:["class"],childList:false,subtree:false},G={attributes:true,attributeFilter:[],childList:false,subtree:false},V=x?new MutationObserver(((e,t)=>{const n=[];for(const t of e){const e=t.target;e.classList.contains("hydrated")&&u.A11yUi.STYLING_TASK_QUEUE.has(e)&&(K(e),n.push(e))}for(const e of n)t.observe(e,G)})):null;V&&(D=e=>V.observe(e,Y),F=()=>{});const Q=new Map;let X=(e,t)=>{if(t){const e=Q.get(t);if(e!==void 0)return e}const n=getComputedStyle(e).getPropertyValue("--theme-visibility-delay").trim();let r;if(n.endsWith("ms"))r=parseFloat(n);else if(n.endsWith("s"))r=parseFloat(n)*1e3;else{const e=parseFloat(n);r=isNaN(e)?0:e}return t&&Q.set(t,r),r};u.A11yUi.IS_TEST_ENVIRONMENT&&(X=()=>0);const Z=(e,t)=>{e.style.setProperty("visibility",t),e.dataset.themed=""},ee=(e,t)=>{const n=e.style.visibility||null,r=t.name||"default";u.A11yUi.STYLING_TASK_QUEUE.set(e,{resetCss:()=>{const t=X(e,r);t>0?setTimeout((()=>{Z(e,n)}),t):Z(e,n)},themeDetails:t}),e.style.setProperty("visibility","hidden","important"),D(e)},te=e=>{u.A11yUi.STYLING_TASK_QUEUE.delete(e),F()},ne=(e,t)=>{ee(e,{...u.A11yUi.Theme,...t})};class re{Prefix;Key;Tag;createTheme=(e,t)=>l(e,t);createTranslation=(e,t)=>s(e,t);constructor(e,t,n){this.Prefix=e,this.Key=Object.getOwnPropertyNames(t),this.Tag=Object.getOwnPropertyNames(n)}}var oe;(function(e){e[e["error"]=0]="error";e[e["warning"]=1]="warning";e[e["info"]=2]="info";e[e["success"]=3]="success";e[e["message"]=4]="message";e[e["close"]=5]="close";e[e["form-description"]=6]="form-description";e[e["of"]=7]="of";e[e["characters"]=8]="characters";e[e["new"]=9]="new";e[e["no-entries"]=10]="no-entries";e[e["change-order"]=11]="change-order";e[e["action-running"]=12]="action-running";e[e["action-done"]=13]="action-done";e[e["page-first"]=14]="page-first";e[e["page-back"]=15]="page-back";e[e["page-next"]=16]="page-next";e[e["page-last"]=17]="page-last";e[e["entries-per-site"]=18]="entries-per-site";e[e["page-current"]=19]="page-current";e[e["page-selected"]=20]="page-selected";e[e["page-per-site"]=21]="page-per-site";e[e["logo-description"]=22]="logo-description";e[e["live-value-bounded"]=23]="live-value-bounded";e[e["live-value"]=24]="live-value";e[e["open-link-in-tab"]=25]="open-link-in-tab";e[e["kolibri-logo"]=26]="kolibri-logo"})(oe||(oe={}));var ie;(function(e){e[e["abbr"]=0]="abbr";e[e["accordion"]=1]="accordion";e[e["alert"]=2]="alert";e[e["avatar"]=3]="avatar";e[e["badge"]=4]="badge";e[e["breadcrumb"]=5]="breadcrumb";e[e["button"]=6]="button";e[e["button-link"]=7]="button-link";e[e["card"]=8]="card";e[e["combobox"]=9]="combobox";e[e["details"]=10]="details";e[e["dialog"]=11]="dialog";e[e["drawer"]=12]="drawer";e[e["form"]=13]="form";e[e["heading"]=14]="heading";e[e["icon"]=15]="icon";e[e["image"]=16]="image";e[e["input-checkbox"]=17]="input-checkbox";e[e["input-color"]=18]="input-color";e[e["input-date"]=19]="input-date";e[e["input-email"]=20]="input-email";e[e["input-file"]=21]="input-file";e[e["input-number"]=22]="input-number";e[e["input-password"]=23]="input-password";e[e["input-radio"]=24]="input-radio";e[e["input-range"]=25]="input-range";e[e["input-text"]=26]="input-text";e[e["kolibri"]=27]="kolibri";e[e["link"]=28]="link";e[e["link-button"]=29]="link-button";e[e["logo"]=30]="logo";e[e["meter"]=31]="meter";e[e["modal"]=32]="modal";e[e["nav"]=33]="nav";e[e["pagination"]=34]="pagination";e[e["popover-button"]=35]="popover-button";e[e["progress"]=36]="progress";e[e["quote"]=37]="quote";e[e["select"]=38]="select";e[e["single-select"]=39]="single-select";e[e["skip-nav"]=40]="skip-nav";e[e["spin"]=41]="spin";e[e["split-button"]=42]="split-button";e[e["symbol"]=43]="symbol";e[e["table"]=44]="table";e[e["table-stateful"]=45]="table-stateful";e[e["table-stateless"]=46]="table-stateless";e[e["tabs"]=47]="tabs";e[e["textarea"]=48]="textarea";e[e["toast-container"]=49]="toast-container";e[e["toolbar"]=50]="toolbar";e[e["tooltip"]=51]="tooltip";e[e["tree"]=52]="tree";e[e["tree-item"]=53]="tree-item"})(ie||(ie={}));const ae=()=>{if(typeof window!=="undefined")return window;return{}};const se=()=>{const e=ae();if(e&&typeof e.document!=="undefined")return e.document;return{}};const le=["development","production","test"];let fe="production";const ue=e=>{try{if(le.includes(e)){fe=e}else{throw new Error(`Invalid NODE_ENV value: ${e}. Expected one of ${le.join(", ")}.`)}}catch(e){fe="production"}};const ce=()=>{try{const e=typeof process!=="undefined"&&process.env?process.env["NODE_ENV"]:undefined;if(e&&le.includes(e)){return e}}catch(e){}return"production"};ue(ce());let de=false;let pe=false;const ve=()=>fe==="development";const ge=()=>fe==="test";const ye=()=>de===true;const be=e=>{de=e===true};const he=()=>pe===true;const me=e=>{pe=e===true};const we="color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000";const ke=e=>Array.isArray(e)?e:[e];const Se=e=>`%c${e}`;const Te=(e,t)=>{if(typeof t==="string"&&t.length>0){return`${Se(e)} | ${t}`}else{return Se(e)}};const Ee=(e,t)=>[Te(e,t===null||t===void 0?void 0:t.classifier),`${we};${(t===null||t===void 0?void 0:t.overwriteStyle)||""}`];const Me=e=>ve()||e===true;class Ae{constructor(e){this.label=e}debug(e,t){if(Me(t===null||t===void 0?void 0:t.forceLog)){console.debug(...Ee(this.label,t),...ke(e))}}info(e,t){if(Me(t===null||t===void 0?void 0:t.forceLog)){console.info(...Ee(this.label,t),...ke(e))}}trace(e,t){if(Me(t===null||t===void 0?void 0:t.forceLog)){console.trace(...Ee(this.label,t),...ke(e))}}warn(e,t){if(Me(t===null||t===void 0?void 0:t.forceLog)){console.warn(...Ee(this.label,t),...ke(e))}}error(e,t){console.error(...Ee(this.label,t),...ke(e))}throw(e,t){if(Me(t===null||t===void 0?void 0:t.forceLog)){throw new Error(...Ee(this.label,t),...ke(e))}}}const Ne=new Ae("KoliBri");const Oe=new Set;const Le=(e,t)=>{if(Oe.has(e)===false||false){Oe.add(e);Ne.debug([e].concat([]),{classifier:`✋ a11y`,forceLog:false,overwriteStyle:"; background-color: #09f"})}};const Ie=new Set;const Ce=(e,t)=>{if(Ie.has(e)===false||false){Ie.add(e);Ne.warn([e].concat([]),{classifier:`🔥 deprecated`,forceLog:false,overwriteStyle:"; background-color: #f00"})}};const Re=new Set;const $e=(e,t)=>{if(Re.has(e)===false||!!(t===null||t===void 0?void 0:t.force)){Re.add(e);Ne.debug([e].concat((t===null||t===void 0?void 0:t.details)||[]),{classifier:`💻 dev`,forceLog:!!(t===null||t===void 0?void 0:t.force),overwriteStyle:"; background-color: #f09"})}};const je=(e,t)=>{if(Re.has(e)===false||false){Re.add(e);Ne.warn([e].concat([]),{classifier:`⚠️ dev`,forceLog:false,overwriteStyle:"; background-color: #f09"})}};const xe=new Set;const _e=(e,t=false,n)=>{if(xe.has(e)===false||false){xe.add(e);e+=t===true?" ✅":"";Ne.debug([e].concat([]),{classifier:`🌟 feature`,forceLog:false,overwriteStyle:"; background-color: #309"})}};$e(`We appreciate any feedback, comments, screenshots, or demo links of an application based on KoliBri (kolibri@itzbund.de). Thank you!`);const Fe=new Set;const He=(e,t)=>{if(Fe.has(e)===false||false){Fe.add(e);Ne.debug([e].concat([]),{classifier:`📑 ui/ux`,forceLog:false,overwriteStyle:"; background-color: #060;"})}};const Pe=()=>{Le(`"Disabled" limits accessibility and visibility. From an accessibility perspective, we recommend using the readonly attribute instead of disabled.\n- https://uxdesign.cc/is-it-ok-to-grey-out-disabled-buttons-8afa74a0fae`)};const Ue=e=>{if(typeof e!=="string"||e===""){Le(`Some structural elements, such as the nav tag, can be used multiple times on a webpage. To distinguish between similarly named structural elements, it is necessary to set an ARIA label.\n- https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role#accessibility_concerns`)}};const qe=(e,t=8)=>{if(t>7){He(`[${e}] Within navigation structures, it is recommended to use no more than 7 menu items.\n\nLink:\n- https://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two`)}};var ze=.2126,Be=.7152,Je=.0722,Ke=1/12.92;function We(e){return Math.pow((e+.055)/1.055,2.4)}function De(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,o=t<=.03928?t*Ke:We(t),i=n<=.03928?n*Ke:We(n),a=r<=.03928?r*Ke:We(r);return o*ze+i*Be+a*Je}function Ye(e){var t=255;8===(e=e.replace(/^#/,"")).length&&(t=parseInt(e.slice(6,8),16),e=e.substring(0,6)),4===e.length&&(t=parseInt(e.slice(3,4).repeat(2),16),e=e.substring(0,3)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var n=parseInt(e,16);return[n>>16,n>>8&255,255&n,t]}function Ge(e,t){return(Math.max(e,t)+.05)/(Math.min(e,t)+.05)}function Ve(e,t){return Ge(De(e),De(t))}function Qe(e,t){return Ve(Ye(e),Ye(t))}function Xe(e){return e>=7?"AAA":e>=4.5?"AA":e>=3?"AA Large":"Fail"}var Ze;var et;function tt(){if(et)return Ze;et=1;Ze={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};return Ze}var nt;var rt;function ot(){if(rt)return nt;rt=1;var e=tt();nt=n;var t={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function n(n){var r,o=[],i=1,a;if(typeof n==="string"){n=n.toLowerCase();if(e[n]){o=e[n].slice();a="rgb"}else if(n==="transparent"){i=0;a="rgb";o=[0,0,0]}else if(/^#[A-Fa-f0-9]+$/.test(n)){var s=n.slice(1);var l=s.length;var f=l<=4;i=1;if(f){o=[parseInt(s[0]+s[0],16),parseInt(s[1]+s[1],16),parseInt(s[2]+s[2],16)];if(l===4){i=parseInt(s[3]+s[3],16)/255}}else{o=[parseInt(s[0]+s[1],16),parseInt(s[2]+s[3],16),parseInt(s[4]+s[5],16)];if(l===8){i=parseInt(s[6]+s[7],16)/255}}if(!o[0])o[0]=0;if(!o[1])o[1]=0;if(!o[2])o[2]=0;a="rgb"}else if(r=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(n)){var u=r[1];var c=u==="rgb";var s=u.replace(/a$/,"");a=s;var l=s==="cmyk"?4:s==="gray"?1:3;o=r[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(e,n){if(/%$/.test(e)){if(n===l)return parseFloat(e)/100;if(s==="rgb")return parseFloat(e)*255/100;return parseFloat(e)}else if(s[n]==="h"){if(/deg$/.test(e)){return parseFloat(e)}else if(t[e]!==undefined){return t[e]}}return parseFloat(e)}));if(u===s)o.push(1);i=c?1:o[l]===undefined?1:o[l];o=o.slice(0,l)}else if(n.length>10&&/[0-9](?:\s|\/)/.test(n)){o=n.match(/([0-9]+)/g).map((function(e){return parseFloat(e)}));a=n.match(/([a-z])/gi).join("").toLowerCase()}}else if(!isNaN(n)){a="rgb";o=[n>>>16,(n&65280)>>>8,n&255]}else if(Array.isArray(n)||n.length){o=[n[0],n[1],n[2]];a="rgb";i=n.length===4?n[3]:1}else if(n instanceof Object){if(n.r!=null||n.red!=null||n.R!=null){a="rgb";o=[n.r||n.red||n.R||0,n.g||n.green||n.G||0,n.b||n.blue||n.B||0]}else{a="hsl";o=[n.h||n.hue||n.H||0,n.s||n.saturation||n.S||0,n.l||n.lightness||n.L||n.b||n.brightness]}i=n.a||n.alpha||n.opacity||1;if(n.opacity!=null)i/=100}return{space:a,values:o,alpha:i}}return nt}var it=ot();var at=e(it);const st={min:[0,0,0],max:[255,255,255]};var lt={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100,o,i,a,s,l,f=0;if(n===0)return l=r*255,[l,l,l];i=r<.5?r*(1+n):r+n-r*n;o=2*r-i;s=[0,0,0];for(;f<3;){a=t+1/3*-(f-1);a<0?a++:a>1&&a--;l=6*a<1?o+(i-o)*6*a:2*a<1?i:3*a<2?o+(i-o)*(2/3-a)*6:o;s[f++]=l*255}return s}};st.hsl=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=i-o,s,l,f;if(i===o){s=0}else if(t===i){s=(n-r)/a}else if(n===i){s=2+(r-t)/a}else if(r===i){s=4+(t-n)/a}s=Math.min(s*60,360);if(s<0){s+=360}f=(o+i)/2;if(i===o){l=0}else if(f<=.5){l=a/(i+o)}else{l=a/(2-i-o)}return[s,l*100,f*100]};var ft={exports:{}};var ut;function ct(){if(ut)return ft.exports;ut=1;ft.exports=e;ft.exports.arr=e;ft.exports.obj=t;ft.exports.css=n;ft.exports.hex=r;ft.exports.num=o;function e(e){var t=i(e);if(t.length==3){return t.concat(255)}else{t[3]=Math.round(t[3]);return t}}function t(e){var t=i(e);return{r:t[0],g:t[1],b:t[2],a:t.length==3?255:Math.round(t[3])}}function n(e){var t=i(e);if(t.length==3)t.push(255);return t[3]==255?"rgb("+t[0]+", "+t[1]+", "+t[2]+")":t[3]==0?"rgba("+t[0]+", "+t[1]+", "+t[2]+", 0)":"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+String(t[3]/255).substr(1)+")"}function r(e){var t=i(e);if(t.length==3)t.push(255);var n=t[3]==255;var r=a(t[0]);var o=a(t[1]);var l=a(t[2]);var t=a(Math.round(t[3]));var f=s(r,o,l,t);if(n){return f?"#"+r.charAt(0)+o.charAt(0)+l.charAt(0):"#"+r+o+l}return f?"#"+r.charAt(0)+o.charAt(0)+l.charAt(0)+t.charAt(0):"#"+r+o+l+t}function o(e){var t=i(e);if(t.length==3)t.push(255);else t[3]=Math.round(t[3]);return(t[3]<<24>>>0|t[0]<<16|t[1]<<8|t[2])>>>0}function i(e){if(typeof e=="string"){e=e.toLowerCase();return l(e)||u(e)||c(e)||y(e)||b(e)||[0,0,0,255]}return p(e)||v(e)||g(e)||[0,0,0,255]}function a(e){var t=e.toString(16);return t.length==1?"0"+t:t}function s(e,t,n,r){var o=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return o.indexOf(e)!=-1&&o.indexOf(t)!=-1&&o.indexOf(n)!=-1&&o.indexOf(r)!=-1}function l(e){if(e=="red")return[255,0,0];if(e=="green")return[0,255,0];if(e=="blue")return[0,0,255];if(e=="black")return[0,0,0];if(e=="white")return[255,255,255];if(e=="cyan")return[0,255,255];if(e=="gray")return[128,128,128];if(e=="grey")return[128,128,128];if(e=="magenta")return[255,0,255];if(e=="pink")return[255,0,255];if(e=="yellow")return[255,255,0]}function f(e){return e.length==1?parseInt(e+e,16):parseInt(e,16)}function u(e){var t=e.replace(/^#/,"");var n=t.length;if(n==3||n==4){var r=f(t[0]);var o=f(t[1]);var i=f(t[2]);var a=n==3?255:f(t[3]);if(isNaN(r)||isNaN(o)||isNaN(i)||isNaN(a))return;return[r,o,i,a]}}function c(e){var t=e.replace(/^#/,"");var n=t.length;if(n==6||n==8){var r=f(t.slice(0,2));var o=f(t.slice(2,4));var i=f(t.slice(4,6));var a=n==6?255:f(t.slice(6,8));if(isNaN(r)||isNaN(o)||isNaN(i)||isNaN(a))return;return[r,o,i,a]}}function d(e,t){if(typeof e!="number")return-1;if(t===true&&Math.floor(e)!==e)return-1;return e>=0&&e<=255?e:-1}function p(e){if(Object.prototype.toString.call(e)==="[object Object]"&&Object.getPrototypeOf(e)===Object.getPrototypeOf({})){var t=d(e.r!=undefined?e.r:e.red!=undefined?e.red:0,true);var n=d(e.g!=undefined?e.g:e.green!=undefined?e.green:0,true);var r=d(e.b!=undefined?e.b:e.blue!=undefined?e.blue:0,true);var o=d(e.a!=undefined?e.a:e.alpha!=undefined?e.alpha:255,true);if(t!=-1&&n!=-1&&r!=-1&&o!=-1){return[t,n,r,o]}}}function v(e){if(Array.isArray(e)&&(e.length==3||e.length==4)){var t=d(e[0],true);var n=d(e[1],true);var r=d(e[2],true);var o=d(e[3]!=undefined?e[3]:255,true);if(t!=-1&&n!=-1&&r!=-1&&o!=-1){return[t,n,r,o]}}}function g(e){if(typeof e=="number"&&Math.floor(e)==e&&e<=4294967295&&e>=0){var t=e>>24&255;var n=e>>16&255;var r=e>>8&255;var o=e&255;return[n,r,o,t]}}function y(e){if(e.substr(0,4)=="rgb("){e=e.match(/^rgb\(([^)]+)\)/)[1];var t=e.split(/ *, */).map(Number);var n=d(t[0],true);var r=d(t[1],true);var o=d(t[2],true);if(n!=-1&&r!=-1&&o!=-1){return[n,r,o,255]}}}function b(e){if(e.substr(0,5)=="rgba("){e=e.match(/^rgba\(([^)]+)\)/)[1];var t=e.split(/ *, */).map(Number);var n=d(t[0],true);var r=d(t[1],true);var o=d(t[2],true);var i=d(t[3]*255);if(n!=-1&&r!=-1&&o!=-1&&i!=-1){return[n,r,o,i]}}}return ft.exports}var dt=ct();var pt=e(dt);const vt=/\[object Object\]/;const gt=(e,t)=>{if(typeof e==="string"&&vt.test(e)){return}t()};const yt=(e,t)=>{if(typeof e==="string"&&e===""){return}t()};const bt=(e,t)=>{if(ye()){Ne.debug([e,t]);Ne.debug(`↑ We propagate the (submit) event to this target.`)}Object.defineProperty(e,"target",{value:t,writable:false})};const ht=e=>{var t,n,r;(t=e.nextHooks)===null||t===void 0?void 0:t.forEach(((t,n)=>{var r;const o=t.get("beforePatch");if(typeof o==="function"){o((r=e.nextState)===null||r===void 0?void 0:r.get(n),e.nextState,e,n)}}));if(((n=e.nextState)===null||n===void 0?void 0:n.size)>0){e.state=Object.assign(Object.assign({},e.state),Object.fromEntries(e.nextState));delete e.nextState;(r=e.nextHooks)===null||r===void 0?void 0:r.forEach(((t,n)=>{const r=t.get("afterPatch");if(typeof r==="function"){r(e.state[n],e.state,e,n)}}))}delete e.nextHooks};const mt=(e,t,n,r={})=>{var o,i;if(e.nextHooks===undefined){e.nextHooks=new Map}if(e.nextState===undefined){e.nextState=new Map}const a=e.nextHooks.get(t);if(a instanceof Map===false){e.nextHooks.set(t,new Map)}if(typeof r.afterPatch==="function"){(o=e.nextHooks.get(t))===null||o===void 0?void 0:o.set("afterPatch",r.afterPatch)}if(typeof r.beforePatch==="function"){(i=e.nextHooks.get(t))===null||i===void 0?void 0:i.set("beforePatch",r.beforePatch)}e.nextState.set(t,n);ht(e)};const wt=(e,t,n,r)=>{$e(`[${e.constructor.name}] The property value: (${n}) for '${t}' is not valid. Allowed values are: ${Array.from(r).join(", ")}`)};function kt(e,t,n,r,o,i={}){if(n(o)){mt(e,t,o,i.hooks)}else if(o===undefined&&i.required!==true&&n(i.defaultValue)){mt(e,t,i.defaultValue,i.hooks)}else{if(!i.required){r.add(null)}wt(e,t,o,r)}}const St=(e,t,n,r)=>{kt(e,t,(e=>typeof e==="boolean"),new Set(["Boolean {true, false}"]),n,r)};const Tt=(e,t,n,r={})=>{const o=typeof r.minLength==="number"?r===null||r===void 0?void 0:r.minLength:0;kt(e,t,(e=>typeof e==="string"&&e.length>=o&&(typeof(r===null||r===void 0?void 0:r.maxLength)==="undefined"||e.length<=r.maxLength)),new Set([`String`]),n,r)};const Et=(e,t,n,r)=>{kt(e,t,(e=>typeof e==="number"&&(typeof(r===null||r===void 0?void 0:r.min)==="undefined"||typeof(r===null||r===void 0?void 0:r.min)==="number"&&e>=r.min)&&(typeof(r===null||r===void 0?void 0:r.max)==="undefined"||typeof(r===null||r===void 0?void 0:r.max)==="number"&&e<=r.max)),new Set(["Number"]),n,r)};const Mt=(e,t,n,r,o=e=>e===e,i={})=>{yt(r,(()=>{gt(r,(()=>{if(typeof r==="undefined"){r=[]}try{try{r=Ot(r)}catch(e){}if(Array.isArray(r)){const a=r.find((e=>!n(e)));if(a===undefined&&o(r)){mt(e,t,r,i.hooks)}else{gt(a,(()=>{Ne.debug(a);throw new Error(`↑ The schema for the property (_options) is not valid. The value will not be changed.`)}))}}else{gt(r,(()=>{Ne.debug(r);throw new Error(`↑ The schema for the property (_options) is not valid. The value will not be changed.`)}))}}catch(e){Ne.debug(e)}}))}))};const At=e=>{try{return JSON.stringify(e).replace(/"/g,"'")}catch(t){Ne.warn(["stringifyJson",e]);Ne.error(`↑ The JSON could not be converted to a string. A stringifiable JSON is expected.`);throw new Error}};const Nt=/^[{[]/;const Ot=e=>{if(typeof e==="string"){try{return JSON.parse(e)}catch(t){if(Nt.test(e)){try{return JSON.parse(e.replace(/'/g,'"'))}catch(t){Ne.warn(["parseJson",e]);Ne.error(`↑ The JSON string could not be parsed. Make sure that single quotes in the text are escaped (‘).`)}}}}throw new Error};const Lt=e=>typeof e==="boolean"?e===true?"true":"false":undefined;const It=e=>typeof e==="string"?e:Lt(e);const Ct=(e,t)=>{if(!e){return}const n=new Set;const r=[e];let o=0;while(o<r.length){const e=r[o++];if(n.has(e)){continue}n.add(e);if(t(e)){return}const i=Array.from(e.children||[]);for(let e=0;e<i.length;e++){r.push(i[e])}if(e instanceof HTMLElement&&e.shadowRoot){r.push(e.shadowRoot)}if(e instanceof HTMLSlotElement){const t=e.assignedNodes({flatten:true});for(let e=0;e<t.length;e++){if(t[e]instanceof Element){r.push(t[e])}}}}};const Rt=(e,t)=>{let n=null;Ct(t,(t=>{if(t instanceof Element&&t.matches(e)){n=t;return true}return false}));return n};const $t=(e,t)=>{const n=[];Ct(t,(t=>{if(t instanceof Element&&t.matches(e)){n.push(t)}return false}));return n};const jt=(e,t)=>Rt(e,t||se());const xt=(e,t)=>$t(e,t||se());let _t=null;const Ft=()=>{_t=_t||{backgroundColor:"#00000000",color:"#00000000",domNode:se().body,level:"Fail",score:1};return _t};const Ht=/(\d+, ){3}0\)/;const Pt=(e,t=Ft())=>{const n=getComputedStyle(e);const r=Ht.test(n.backgroundColor)?t.backgroundColor:pt.hex(n.backgroundColor);const o=Ht.test(n.color)?t.color:pt.hex(n.color);const i=Qe(r,o);const a={backgroundColor:r,color:o,domNode:e,level:Xe(i),score:i};if(i<4.5){Ne.error(["Color-Contrast-Error",{backgroundColor:a.backgroundColor,color:a.color,level:a.level,score:a.score},a.domNode])}return a};const Ut=(e,t=Ft())=>{if(t.domNode instanceof HTMLElement){t=Pt(t.domNode,t)}const n=t.domNode.querySelector(e);if(n===null){const n=t.domNode.querySelectorAll('[class="hydrated"]');for(let r=0;r<n.length;r++){t.domNode=n[r];t=Ut(e,t);if(t.domNode!==null){break}}return t}else{return Pt(n,t)}};class qt{static queryHtmlElementColors(e,t,n=false,r=true){let o=null;if(n===true||qt.executionLock===false){if(n===false){qt.cache.clear();qt.cache.set(t.domNode,t);qt.executionLock=true;if(r===true){Ne.debug(`[KoliBriUtils] Color contrast analysis started...`)}}if(e===t.domNode){o=t}else{const n=new Set;if(t.domNode.shadowRoot){const e=t.domNode.shadowRoot.children;for(let t=0;t<e.length;t++){n.add(e[t])}}const r=t.domNode;if(typeof r.assignedNodes==="function"){const e=r.assignedNodes();for(let t=0;t<e.length;t++){if(e[t]instanceof HTMLElement){n.add(e[t])}}}const i=t.domNode.children;for(let e=0;e<i.length;e++){n.add(i[e])}const a=Array.from(n);for(let n=0;n<a.length;n++){let r=qt.cache.get(a[n]);if(r===undefined){r=Pt(a[n],t)}qt.cache.set(a[n],r);const i=qt.queryHtmlElementColors(e,r,true,false);if(i!==null){o=i;break}}}}else{Ne.debug(`[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.`)}if(n===false){if(r===true){Ne.debug(`[KoliBriUtils] Color contrast analysis finished (${qt.cache.size} DOM elements are analysed).`)}qt.executionLock=false;qt.cache.clear()}return o}}qt.executionLock=false;qt.cache=new Map;class zt{}zt.getCssStyle=P;zt.patchTheme=m;zt.patchThemeTag=b;zt.querySelector=jt;zt.querySelectorAll=xt;zt.stringifyJson=At;const Bt=e=>typeof e==="object"&&e!==null;const Jt=(e,t=0)=>typeof e==="string"&&e.length>=t;const Kt=e=>{if(typeof e==="object"&&e!==null){for(const t in e){if(Jt(t,1)===false){return false}}}else{return Jt(e,1)}return true};const Wt=new Event("StateChange");export{At as $,ge as A,Pe as B,be as C,me as D,ae as E,Kt as F,Bt as G,Mt as H,qe as I,ye as J,oe as K,Ne as L,bt as M,Et as N,je as O,yt as P,jt as Q,It as R,Lt as S,ie as T,Wt as U,ve as V,Pt as W,xt as X,Ut as Y,I as Z,qt as _,zt as a,he as a0,kt as b,Ue as c,ne as d,St as e,_e as f,Tt as g,Ce as h,Jt as i,$e as j,Le as k,at as l,lt as m,pt as n,gt as o,Ot as p,Qe as q,st as r,mt as s,ue as t,e as u,se as v,M as w,He as x,re as y,A as z};
|
|
5
|
-
//# sourceMappingURL=common-
|
|
4
|
+
function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e["default"]:e}var t={exports:{}};var n=t.exports;var r;function o(){if(r)return t.exports;r=1;(function(e){(function(t,n){if(e.exports){e.exports=n()}else{t.log=n()}})(n,(function(){var e=function(){};var t="undefined";var n=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent);var r=["trace","debug","info","warn","error"];var o={};var i=null;function a(e,t){var n=e[t];if(typeof n.bind==="function"){return n.bind(e)}else{try{return Function.prototype.bind.call(n,e)}catch(t){return function(){return Function.prototype.apply.apply(n,[e,arguments])}}}}function s(){if(console.log){if(console.log.apply){console.log.apply(console,arguments)}else{Function.prototype.apply.apply(console.log,[console,arguments])}}if(console.trace)console.trace()}function l(r){if(r==="debug"){r="log"}if(typeof console===t){return false}else if(r==="trace"&&n){return s}else if(console[r]!==undefined){return a(console,r)}else if(console.log!==undefined){return a(console,"log")}else{return e}}function f(){var n=this.getLevel();for(var o=0;o<r.length;o++){var i=r[o];this[i]=o<n?e:this.methodFactory(i,n,this.name)}this.log=this.debug;if(typeof console===t&&n<this.levels.SILENT){return"No console available for logging"}}function u(e){return function(){if(typeof console!==t){f.call(this);this[e].apply(this,arguments)}}}function c(e,t,n){return l(e)||u.apply(this,arguments)}function d(e,n){var a=this;var s;var l;var u;var d="loglevel";if(typeof e==="string"){d+=":"+e}else if(typeof e==="symbol"){d=undefined}function p(e){var n=(r[e]||"silent").toUpperCase();if(typeof window===t||!d)return;try{window.localStorage[d]=n;return}catch(e){}try{window.document.cookie=encodeURIComponent(d)+"="+n+";"}catch(e){}}function v(){var e;if(typeof window===t||!d)return;try{e=window.localStorage[d]}catch(e){}if(typeof e===t){try{var n=window.document.cookie;var r=encodeURIComponent(d);var o=n.indexOf(r+"=");if(o!==-1){e=/^([^;]+)/.exec(n.slice(o+r.length+1))[1]}}catch(e){}}if(a.levels[e]===undefined){e=undefined}return e}function g(){if(typeof window===t||!d)return;try{window.localStorage.removeItem(d)}catch(e){}try{window.document.cookie=encodeURIComponent(d)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(e){}}function y(e){var t=e;if(typeof t==="string"&&a.levels[t.toUpperCase()]!==undefined){t=a.levels[t.toUpperCase()]}if(typeof t==="number"&&t>=0&&t<=a.levels.SILENT){return t}else{throw new TypeError("log.setLevel() called with invalid level: "+e)}}a.name=e;a.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5};a.methodFactory=n||c;a.getLevel=function(){if(u!=null){return u}else if(l!=null){return l}else{return s}};a.setLevel=function(e,t){u=y(e);if(t!==false){p(u)}return f.call(a)};a.setDefaultLevel=function(e){l=y(e);if(!v()){a.setLevel(e,false)}};a.resetLevel=function(){u=null;g();f.call(a)};a.enableAll=function(e){a.setLevel(a.levels.TRACE,e)};a.disableAll=function(e){a.setLevel(a.levels.SILENT,e)};a.rebuild=function(){if(i!==a){s=y(i.getLevel())}f.call(a);if(i===a){for(var e in o){o[e].rebuild()}}};s=y(i?i.getLevel():"WARN");var b=v();if(b!=null){u=y(b)}f.call(a)}i=new d;i.getLogger=function e(t){if(typeof t!=="symbol"&&typeof t!=="string"||t===""){throw new TypeError("You must supply a name when creating a logger.")}var n=o[t];if(!n){n=o[t]=new d(t,i.methodFactory)}return n};var p=typeof window!==t?window.log:undefined;i.noConflict=function(){if(typeof window!==t&&window.log===i){window.log=p}return i};i.getLoggers=function e(){return o};i["default"]=i;return i}))})(t);return t.exports}var i=o();var a=e(i);const s=(e,t)=>n=>n(e,t),l=(e,t)=>n=>n(e,t,{append:false}),f=()=>{const e=typeof process<"u"&&process.env?process.env:{},t=e.NODE_ENV==="test",n="VITEST"in e,r="JEST_WORKER_ID"in e,o="PLAYWRIGHT_TEST_BASE_URL"in e,i=e.CI==="true",a=e.TEST==="true"||e.IS_TEST==="true",s=typeof navigator<"u"&&navigator.webdriver===true,l=typeof navigator<"u"&&/playwright|puppeteer|webdriver|selenium|testcafe/i.test(navigator.userAgent);return t||n||r||o||i||a||s||l},u={A11yUi:{CSS_STYLE_CACHE:new Map,IS_TEST_ENVIRONMENT:f(),PERFORMANCE_MEASURES:new Map,STYLING_TASK_QUEUE:new Map,THEMES:new Map,showAverageTimes:()=>{const e={};for(const[t,n]of u.A11yUi.PERFORMANCE_MEASURES.entries())e[t]=[n.totalTime/n.count,n.count];const t=Object.entries(e).sort(((e,t)=>t[1][0]-e[1][0]));return console.table(Object.fromEntries(t.map((([e,[t,n]])=>[e,{"avg (ms)":parseFloat(t.toFixed(2)),count:n}])))),e}}};let c=true,d=false;const p=/^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/,v=e=>typeof e=="string"&&p.test(e),g=e=>{if(!v(e))throw new Error(`[Theming] The theme identifier "${typeof e=="string"?e:""}" (Type: ${typeof e}) is not valid. Please use only follow this pattern: /^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/`)},y=e=>e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\s*([{},;])\s*/g,"$1").replace(/:\s+/g,":").replace(/\s+/g," ").replace(/;\}/g,"}").trim(),b=(e,t,n,r)=>h(e,t,n,r),h=(e,t,n,r)=>{r=r??{},r.append=r.append??false,g(e),c&&!d&&(d=true,a.warn(`[Theming] The theme process is locked. This means that the theme "${e}" should not be patched.\n\n import { register } from 'adopted-style-sheets';\n import { defineCustomElements } from '...';\n import { THEME } from '...';\n\n register(THEME, defineCustomElements)\n .then(() => {\n // run your app or website\n })\n .catch(console.warn);`));let o=u.A11yUi.THEMES.get(e);if(o||(o=new Map,u.A11yUi.THEMES.set(e,o)),r.append&&o.has(t)){const e=o.get(t);o.set(t,y(`${e}${n}`))}else o.set(t,y(n))},m=(e,t,n,r)=>w(e,t,n,r),w=(e,t,n,r)=>(g(e),typeof t=="object"&&t!==null&&Object.getOwnPropertyNames(t).forEach((o=>{const i=t[o],a=o.toLowerCase(),s=typeof r?.transformTagName=="function"&&!["GLOBAL","PROPERTIES"].includes(o)?r.transformTagName(a):o;typeof i=="string"&&i.length>0&&h(e,s.toUpperCase(),i,n)})),e),k=e=>{if(e instanceof HTMLElement){if(typeof e.dataset.theme=="string")return e;{let t=e.parentNode;for(;t instanceof ShadowRoot;)t=t.host;return k(t)}}else return null},S=(e={})=>e.themeEncroachCss==="false"||e.themeReset==="true"?false:{mode:e.themeEncroachCssMode==="after"||e.themeEncroachCssMode==="before"?e.themeEncroachCssMode:"before"},T=()=>typeof u.A11yUi.Theme=="object"&&u.A11yUi.Theme!==null&&typeof u.A11yUi.Theme.cache=="boolean"&&typeof u.A11yUi.Theme.encroachCss=="object"&&u.A11yUi.Theme.encroachCss!==null&&typeof u.A11yUi.Theme.encroachCss.mode=="string"&&typeof u.A11yUi.Theme.name=="string",E=()=>!(typeof u.A11yUi.Theme=="object"&&u.A11yUi.Theme!==null)||u.A11yUi.Theme.name!=="default",M=e=>{if(T())return u.A11yUi.Theme;{const t={cache:true,encroachCss:S(),loglevel:"silent",mode:"csr",name:null},n=k(e);return n instanceof HTMLElement&&(t.cache=n.dataset.themeCache!=="false",t.encroachCss=S(n.dataset),t.loglevel=n.dataset.themeLoglevel==="debug"?n.dataset.themeLoglevel:"silent",t.mode=n.dataset.themeMode==="ssr"?n.dataset.themeMode:"csr",t.name=n.dataset.theme||null),t}},A=()=>T()?u.A11yUi.Theme.name:null,N=(e,t)=>({cache:t.cache!==false,detect:t.detect==="auto"?"auto":"fixed",encroachCss:t.encroachCss===false?false:typeof t.encroachCss=="object"&&t.encroachCss!=null&&(t.encroachCss.mode==="after"||t.encroachCss.mode==="before")?t.encroachCss:{mode:"before"},loglevel:t.loglevel==="debug"?t.loglevel:"silent",mode:t.mode==="ssr"?t.mode:"csr",name:typeof t.name=="string"?t.name:e}),O=(e,t)=>{T()===false&&E()&&typeof t=="object"&&t!==null&&(t=N(e,t),t.detect==="fixed"?(t.name===null&&typeof e=="string"&&(t.name=e),e===t.name&&(u.A11yUi.Theme=t,a.info(`[Theming] Theme "${e}" was set as default theme.`))):d||(d=true,a.warn("[Theming] The presetting of theme options is only relevant by using 'fixed' detection mode.")))};let L=false;const I=(e,t,n={})=>{L||(L=true,c=false,typeof window<"u"&&(window.A11yUi=u.A11yUi)),typeof e=="function"?e=new Set([e]):Array.isArray(e)&&(e=new Set(e)),e instanceof Set&&e.forEach((e=>{typeof e=="function"&&e.length===1?O(e(((e,t,r)=>w(e,t,r,n))),{cache:n.theme?.cache,detect:n.theme?.detect,encroachCss:n.theme?.encroachCss,mode:n.theme?.mode,name:n.theme?.name}):a.error("[Theming] An attempt was made to load an incompatible theme.")})),c=true,typeof t=="function"?t=new Set([t]):Array.isArray(t)&&(t=new Set(t));const r=[];return t.forEach((e=>{const t=e();t instanceof Promise&&r.push(t)})),Promise.all(r)};const C=new Set,R=new Map,$=/--[^;]+/g,j=/:/,x=typeof MutationObserver<"u";let _=25,F=()=>{_=Math.min(25+Math.log2(u.A11yUi.STYLING_TASK_QUEUE.size+1)*20,250)};const H=(e,t)=>{let n=t.match($);if(Array.isArray(n)){n=n.filter((e=>j.test(e)));const t=document.createElement("style");t.innerHTML=`.${e} {${n.join(";")}}`,document.querySelector("head")?.appendChild(t)}C.add(e)},P=(e,t)=>{const n=u.A11yUi.THEMES.get(e);if(n instanceof Map){const e=n.get(t);if(e!==void 0)return e}return""},U=e=>{const t=e.firstChild;if(!(!(t instanceof HTMLStyleElement)||t.dataset.themingFallback!==void 0))for(const t of Array.from(e.childNodes))if(t instanceof HTMLStyleElement&&t.tagName==="STYLE"&&t.dataset.themingFallback===void 0)e.removeChild(t);else break},q=(e,t)=>{try{if(u.A11yUi.Theme?.mode==="ssr")throw new Error("SSR");const n=t.filter((e=>typeof e=="string"&&e.length>0)).map((e=>{let t=R.get(e);return t||(t=new CSSStyleSheet,t.replaceSync(e),R.set(e,t)),t}));e.adoptedStyleSheets=n}catch{for(let n=t.length-1;n>=0;n--){const r=t[n];if(typeof r!="string"||r.length===0)continue;const o=t.length-1-n,i=document.createElement("style");switch(i.dataset.themingFallback="",o){case 4:i.dataset.themingBaseA11y="";break;case 3:i.dataset.themingBaseGlobal="";break;case 2:i.dataset.themingBaseComponent="";break;case 1:i.dataset.themingCustomGlobal="";break;case 0:i.dataset.themingCustomComponent="";break;default:i.dataset.themingUnknown="";break}i.innerHTML=r,e.insertBefore(i,e.firstChild)}}},z=(e,t,n)=>{if(n===false||n?.mode!=="before"&&n?.mode!=="after")return;const r=Array.from(e.childNodes).filter((e=>e instanceof HTMLStyleElement&&e.tagName==="STYLE"));let o;try{o=Array.from(e.adoptedStyleSheets)}catch{o=[]}if(!(r.length===0&&o.length===0))if(n.mode==="before"){const e=[...o.map((e=>Array.from(e.cssRules).map((e=>e.cssText)).join(""))),...r.map((e=>e.innerHTML))];t.unshift(...e)}else r.forEach((e=>t.push(e.innerHTML))),o.forEach((e=>t.push(Array.from(e.cssRules).map((e=>e.cssText)).join(""))))},B=(e,t,n)=>{const r=t.name||"default";let o;try{if(e.shadowRoot===null)throw new Error("ShadowRoot is null");o=e.shadowRoot}catch{o=e}const i=u.A11yUi.CSS_STYLE_CACHE.get(r)?.get(e.tagName);if(i)J(e,o,i,n);else{const i=P(r,"PROPERTIES"),a=P(r,"GLOBAL"),s=P(r,e.tagName);C.has(r)===false&&H(r,a);const l=[i,a,s];if(z(o,l,t.encroachCss),t.cache===true){let t=u.A11yUi.CSS_STYLE_CACHE.get(r);t||(t=new Map,u.A11yUi.CSS_STYLE_CACHE.set(r,t)),t.set(e.tagName,l)}J(e,o,l,n)}},J=(e,t,n,r)=>{const o=u.A11yUi.Theme?.loglevel==="debug",i=o?performance.now():0;if(U(t),q(t,n),te(e),requestAnimationFrame(r),o){const t=performance.now()-i,n=u.A11yUi.PERFORMANCE_MEASURES.get(e.tagName);n?(n.count+=1,n.totalTime+=t):u.A11yUi.PERFORMANCE_MEASURES.set(e.tagName,{count:1,totalTime:t})}},K=e=>{const t=u.A11yUi.STYLING_TASK_QUEUE.get(e);if(t){const{resetCss:n,themeDetails:r}=t;B(e,r,n)}},W=100;let D=(e,t=0)=>{if(t>=W)return;const n=setTimeout((()=>{clearTimeout(n),e.classList.contains("hydrated")?K(e):D(e,t+1)}),_)};const Y={attributes:true,attributeFilter:["class"],childList:false,subtree:false},G={attributes:true,attributeFilter:[],childList:false,subtree:false},V=x?new MutationObserver(((e,t)=>{const n=[];for(const t of e){const e=t.target;e.classList.contains("hydrated")&&u.A11yUi.STYLING_TASK_QUEUE.has(e)&&(K(e),n.push(e))}for(const e of n)t.observe(e,G)})):null;V&&(D=e=>V.observe(e,Y),F=()=>{});const Q=new Map;let X=(e,t)=>{if(t){const e=Q.get(t);if(e!==void 0)return e}const n=getComputedStyle(e).getPropertyValue("--theme-visibility-delay").trim();let r;if(n.endsWith("ms"))r=parseFloat(n);else if(n.endsWith("s"))r=parseFloat(n)*1e3;else{const e=parseFloat(n);r=isNaN(e)?0:e}return t&&Q.set(t,r),r};u.A11yUi.IS_TEST_ENVIRONMENT&&(X=()=>0);const Z=(e,t)=>{e.style.setProperty("visibility",t),e.dataset.themed=""},ee=(e,t)=>{const n=e.style.visibility||null,r=t.name||"default";u.A11yUi.STYLING_TASK_QUEUE.set(e,{resetCss:()=>{const t=X(e,r);t>0?setTimeout((()=>{Z(e,n)}),t):Z(e,n)},themeDetails:t}),e.style.setProperty("visibility","hidden","important"),D(e)},te=e=>{u.A11yUi.STYLING_TASK_QUEUE.delete(e),F()},ne=(e,t)=>{ee(e,{...u.A11yUi.Theme,...t})};class re{Prefix;Key;Tag;createTheme=(e,t)=>l(e,t);createTranslation=(e,t)=>s(e,t);constructor(e,t,n){this.Prefix=e,this.Key=Object.getOwnPropertyNames(t),this.Tag=Object.getOwnPropertyNames(n)}}var oe;(function(e){e[e["error"]=0]="error";e[e["warning"]=1]="warning";e[e["info"]=2]="info";e[e["success"]=3]="success";e[e["message"]=4]="message";e[e["close"]=5]="close";e[e["form-description"]=6]="form-description";e[e["of"]=7]="of";e[e["characters"]=8]="characters";e[e["new"]=9]="new";e[e["no-entries"]=10]="no-entries";e[e["change-order"]=11]="change-order";e[e["action-running"]=12]="action-running";e[e["action-done"]=13]="action-done";e[e["page-first"]=14]="page-first";e[e["page-back"]=15]="page-back";e[e["page-next"]=16]="page-next";e[e["page-last"]=17]="page-last";e[e["entries-per-site"]=18]="entries-per-site";e[e["page-current"]=19]="page-current";e[e["page-selected"]=20]="page-selected";e[e["page-per-site"]=21]="page-per-site";e[e["logo-description"]=22]="logo-description";e[e["live-value-bounded"]=23]="live-value-bounded";e[e["live-value"]=24]="live-value";e[e["open-link-in-tab"]=25]="open-link-in-tab";e[e["kolibri-logo"]=26]="kolibri-logo"})(oe||(oe={}));var ie;(function(e){e[e["abbr"]=0]="abbr";e[e["accordion"]=1]="accordion";e[e["alert"]=2]="alert";e[e["avatar"]=3]="avatar";e[e["badge"]=4]="badge";e[e["breadcrumb"]=5]="breadcrumb";e[e["button"]=6]="button";e[e["button-link"]=7]="button-link";e[e["card"]=8]="card";e[e["combobox"]=9]="combobox";e[e["details"]=10]="details";e[e["dialog"]=11]="dialog";e[e["drawer"]=12]="drawer";e[e["form"]=13]="form";e[e["heading"]=14]="heading";e[e["icon"]=15]="icon";e[e["image"]=16]="image";e[e["input-checkbox"]=17]="input-checkbox";e[e["input-color"]=18]="input-color";e[e["input-date"]=19]="input-date";e[e["input-email"]=20]="input-email";e[e["input-file"]=21]="input-file";e[e["input-number"]=22]="input-number";e[e["input-password"]=23]="input-password";e[e["input-radio"]=24]="input-radio";e[e["input-range"]=25]="input-range";e[e["input-text"]=26]="input-text";e[e["kolibri"]=27]="kolibri";e[e["link"]=28]="link";e[e["link-button"]=29]="link-button";e[e["logo"]=30]="logo";e[e["meter"]=31]="meter";e[e["modal"]=32]="modal";e[e["nav"]=33]="nav";e[e["pagination"]=34]="pagination";e[e["popover-button"]=35]="popover-button";e[e["progress"]=36]="progress";e[e["quote"]=37]="quote";e[e["select"]=38]="select";e[e["single-select"]=39]="single-select";e[e["skip-nav"]=40]="skip-nav";e[e["spin"]=41]="spin";e[e["split-button"]=42]="split-button";e[e["symbol"]=43]="symbol";e[e["table"]=44]="table";e[e["table-stateful"]=45]="table-stateful";e[e["table-stateless"]=46]="table-stateless";e[e["tabs"]=47]="tabs";e[e["textarea"]=48]="textarea";e[e["toast-container"]=49]="toast-container";e[e["toolbar"]=50]="toolbar";e[e["tooltip"]=51]="tooltip";e[e["tree"]=52]="tree";e[e["tree-item"]=53]="tree-item"})(ie||(ie={}));const ae=()=>{if(typeof window!=="undefined")return window;return{}};const se=()=>{const e=ae();if(e&&typeof e.document!=="undefined")return e.document;return{}};const le=["development","production","test"];let fe="production";const ue=e=>{try{if(le.includes(e)){fe=e}else{throw new Error(`Invalid NODE_ENV value: ${e}. Expected one of ${le.join(", ")}.`)}}catch(e){fe="production"}};const ce=()=>{try{const e=typeof process!=="undefined"&&process.env?process.env["NODE_ENV"]:undefined;if(e&&le.includes(e)){return e}}catch(e){}return"production"};ue(ce());let de=false;let pe=false;const ve=()=>fe==="development";const ge=()=>fe==="test";const ye=()=>de===true;const be=e=>{de=e===true};const he=()=>pe===true;const me=e=>{pe=e===true};const we="color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000";const ke=e=>Array.isArray(e)?e:[e];const Se=e=>`%c${e}`;const Te=(e,t)=>{if(typeof t==="string"&&t.length>0){return`${Se(e)} | ${t}`}else{return Se(e)}};const Ee=(e,t)=>[Te(e,t===null||t===void 0?void 0:t.classifier),`${we};${(t===null||t===void 0?void 0:t.overwriteStyle)||""}`];const Me=e=>ve()||e===true;class Ae{constructor(e){this.label=e}debug(e,t){if(Me(t===null||t===void 0?void 0:t.forceLog)){console.debug(...Ee(this.label,t),...ke(e))}}info(e,t){if(Me(t===null||t===void 0?void 0:t.forceLog)){console.info(...Ee(this.label,t),...ke(e))}}trace(e,t){if(Me(t===null||t===void 0?void 0:t.forceLog)){console.trace(...Ee(this.label,t),...ke(e))}}warn(e,t){if(Me(t===null||t===void 0?void 0:t.forceLog)){console.warn(...Ee(this.label,t),...ke(e))}}error(e,t){console.error(...Ee(this.label,t),...ke(e))}throw(e,t){if(Me(t===null||t===void 0?void 0:t.forceLog)){throw new Error(...Ee(this.label,t),...ke(e))}}}const Ne=new Ae("KoliBri");const Oe=new Set;const Le=(e,t)=>{if(Oe.has(e)===false||false){Oe.add(e);Ne.debug([e].concat([]),{classifier:`✋ a11y`,forceLog:false,overwriteStyle:"; background-color: #09f"})}};const Ie=new Set;const Ce=(e,t)=>{if(Ie.has(e)===false||false){Ie.add(e);Ne.warn([e].concat([]),{classifier:`🔥 deprecated`,forceLog:false,overwriteStyle:"; background-color: #f00"})}};const Re=new Set;const $e=(e,t)=>{if(Re.has(e)===false||!!(t===null||t===void 0?void 0:t.force)){Re.add(e);Ne.debug([e].concat((t===null||t===void 0?void 0:t.details)||[]),{classifier:`💻 dev`,forceLog:!!(t===null||t===void 0?void 0:t.force),overwriteStyle:"; background-color: #f09"})}};const je=(e,t)=>{if(Re.has(e)===false||false){Re.add(e);Ne.warn([e].concat([]),{classifier:`⚠️ dev`,forceLog:false,overwriteStyle:"; background-color: #f09"})}};const xe=new Set;const _e=(e,t=false,n)=>{if(xe.has(e)===false||false){xe.add(e);e+=t===true?" ✅":"";Ne.debug([e].concat([]),{classifier:`🌟 feature`,forceLog:false,overwriteStyle:"; background-color: #309"})}};$e(`We appreciate any feedback, comments, screenshots, or demo links of an application based on KoliBri (kolibri@itzbund.de). Thank you!`);const Fe=new Set;const He=(e,t)=>{if(Fe.has(e)===false||false){Fe.add(e);Ne.debug([e].concat([]),{classifier:`📑 ui/ux`,forceLog:false,overwriteStyle:"; background-color: #060;"})}};const Pe=()=>{Le(`"Disabled" limits accessibility and visibility. From an accessibility perspective, we recommend using the readonly attribute instead of disabled.\n- https://uxdesign.cc/is-it-ok-to-grey-out-disabled-buttons-8afa74a0fae`)};const Ue=e=>{if(typeof e!=="string"||e===""){Le(`Some structural elements, such as the nav tag, can be used multiple times on a webpage. To distinguish between similarly named structural elements, it is necessary to set an ARIA label.\n- https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role#accessibility_concerns`)}};const qe=(e,t=8)=>{if(t>7){He(`[${e}] Within navigation structures, it is recommended to use no more than 7 menu items.\n\nLink:\n- https://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two`)}};var ze=.2126,Be=.7152,Je=.0722,Ke=1/12.92;function We(e){return Math.pow((e+.055)/1.055,2.4)}function De(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,o=t<=.03928?t*Ke:We(t),i=n<=.03928?n*Ke:We(n),a=r<=.03928?r*Ke:We(r);return o*ze+i*Be+a*Je}function Ye(e){var t=255;8===(e=e.replace(/^#/,"")).length&&(t=parseInt(e.slice(6,8),16),e=e.substring(0,6)),4===e.length&&(t=parseInt(e.slice(3,4).repeat(2),16),e=e.substring(0,3)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var n=parseInt(e,16);return[n>>16,n>>8&255,255&n,t]}function Ge(e,t){return(Math.max(e,t)+.05)/(Math.min(e,t)+.05)}function Ve(e,t){return Ge(De(e),De(t))}function Qe(e,t){return Ve(Ye(e),Ye(t))}function Xe(e){return e>=7?"AAA":e>=4.5?"AA":e>=3?"AA Large":"Fail"}var Ze;var et;function tt(){if(et)return Ze;et=1;Ze={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};return Ze}var nt;var rt;function ot(){if(rt)return nt;rt=1;var e=tt();nt=n;var t={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function n(n){var r,o=[],i=1,a;if(typeof n==="string"){n=n.toLowerCase();if(e[n]){o=e[n].slice();a="rgb"}else if(n==="transparent"){i=0;a="rgb";o=[0,0,0]}else if(/^#[A-Fa-f0-9]+$/.test(n)){var s=n.slice(1);var l=s.length;var f=l<=4;i=1;if(f){o=[parseInt(s[0]+s[0],16),parseInt(s[1]+s[1],16),parseInt(s[2]+s[2],16)];if(l===4){i=parseInt(s[3]+s[3],16)/255}}else{o=[parseInt(s[0]+s[1],16),parseInt(s[2]+s[3],16),parseInt(s[4]+s[5],16)];if(l===8){i=parseInt(s[6]+s[7],16)/255}}if(!o[0])o[0]=0;if(!o[1])o[1]=0;if(!o[2])o[2]=0;a="rgb"}else if(r=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(n)){var u=r[1];var c=u==="rgb";var s=u.replace(/a$/,"");a=s;var l=s==="cmyk"?4:s==="gray"?1:3;o=r[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(e,n){if(/%$/.test(e)){if(n===l)return parseFloat(e)/100;if(s==="rgb")return parseFloat(e)*255/100;return parseFloat(e)}else if(s[n]==="h"){if(/deg$/.test(e)){return parseFloat(e)}else if(t[e]!==undefined){return t[e]}}return parseFloat(e)}));if(u===s)o.push(1);i=c?1:o[l]===undefined?1:o[l];o=o.slice(0,l)}else if(n.length>10&&/[0-9](?:\s|\/)/.test(n)){o=n.match(/([0-9]+)/g).map((function(e){return parseFloat(e)}));a=n.match(/([a-z])/gi).join("").toLowerCase()}}else if(!isNaN(n)){a="rgb";o=[n>>>16,(n&65280)>>>8,n&255]}else if(Array.isArray(n)||n.length){o=[n[0],n[1],n[2]];a="rgb";i=n.length===4?n[3]:1}else if(n instanceof Object){if(n.r!=null||n.red!=null||n.R!=null){a="rgb";o=[n.r||n.red||n.R||0,n.g||n.green||n.G||0,n.b||n.blue||n.B||0]}else{a="hsl";o=[n.h||n.hue||n.H||0,n.s||n.saturation||n.S||0,n.l||n.lightness||n.L||n.b||n.brightness]}i=n.a||n.alpha||n.opacity||1;if(n.opacity!=null)i/=100}return{space:a,values:o,alpha:i}}return nt}var it=ot();var at=e(it);const st={min:[0,0,0],max:[255,255,255]};var lt={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100,o,i,a,s,l,f=0;if(n===0)return l=r*255,[l,l,l];i=r<.5?r*(1+n):r+n-r*n;o=2*r-i;s=[0,0,0];for(;f<3;){a=t+1/3*-(f-1);a<0?a++:a>1&&a--;l=6*a<1?o+(i-o)*6*a:2*a<1?i:3*a<2?o+(i-o)*(2/3-a)*6:o;s[f++]=l*255}return s}};st.hsl=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=i-o,s,l,f;if(i===o){s=0}else if(t===i){s=(n-r)/a}else if(n===i){s=2+(r-t)/a}else if(r===i){s=4+(t-n)/a}s=Math.min(s*60,360);if(s<0){s+=360}f=(o+i)/2;if(i===o){l=0}else if(f<=.5){l=a/(i+o)}else{l=a/(2-i-o)}return[s,l*100,f*100]};var ft={exports:{}};var ut;function ct(){if(ut)return ft.exports;ut=1;ft.exports=e;ft.exports.arr=e;ft.exports.obj=t;ft.exports.css=n;ft.exports.hex=r;ft.exports.num=o;function e(e){var t=i(e);if(t.length==3){return t.concat(255)}else{t[3]=Math.round(t[3]);return t}}function t(e){var t=i(e);return{r:t[0],g:t[1],b:t[2],a:t.length==3?255:Math.round(t[3])}}function n(e){var t=i(e);if(t.length==3)t.push(255);return t[3]==255?"rgb("+t[0]+", "+t[1]+", "+t[2]+")":t[3]==0?"rgba("+t[0]+", "+t[1]+", "+t[2]+", 0)":"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+String(t[3]/255).substr(1)+")"}function r(e){var t=i(e);if(t.length==3)t.push(255);var n=t[3]==255;var r=a(t[0]);var o=a(t[1]);var l=a(t[2]);var t=a(Math.round(t[3]));var f=s(r,o,l,t);if(n){return f?"#"+r.charAt(0)+o.charAt(0)+l.charAt(0):"#"+r+o+l}return f?"#"+r.charAt(0)+o.charAt(0)+l.charAt(0)+t.charAt(0):"#"+r+o+l+t}function o(e){var t=i(e);if(t.length==3)t.push(255);else t[3]=Math.round(t[3]);return(t[3]<<24>>>0|t[0]<<16|t[1]<<8|t[2])>>>0}function i(e){if(typeof e=="string"){e=e.toLowerCase();return l(e)||u(e)||c(e)||y(e)||b(e)||[0,0,0,255]}return p(e)||v(e)||g(e)||[0,0,0,255]}function a(e){var t=e.toString(16);return t.length==1?"0"+t:t}function s(e,t,n,r){var o=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return o.indexOf(e)!=-1&&o.indexOf(t)!=-1&&o.indexOf(n)!=-1&&o.indexOf(r)!=-1}function l(e){if(e=="red")return[255,0,0];if(e=="green")return[0,255,0];if(e=="blue")return[0,0,255];if(e=="black")return[0,0,0];if(e=="white")return[255,255,255];if(e=="cyan")return[0,255,255];if(e=="gray")return[128,128,128];if(e=="grey")return[128,128,128];if(e=="magenta")return[255,0,255];if(e=="pink")return[255,0,255];if(e=="yellow")return[255,255,0]}function f(e){return e.length==1?parseInt(e+e,16):parseInt(e,16)}function u(e){var t=e.replace(/^#/,"");var n=t.length;if(n==3||n==4){var r=f(t[0]);var o=f(t[1]);var i=f(t[2]);var a=n==3?255:f(t[3]);if(isNaN(r)||isNaN(o)||isNaN(i)||isNaN(a))return;return[r,o,i,a]}}function c(e){var t=e.replace(/^#/,"");var n=t.length;if(n==6||n==8){var r=f(t.slice(0,2));var o=f(t.slice(2,4));var i=f(t.slice(4,6));var a=n==6?255:f(t.slice(6,8));if(isNaN(r)||isNaN(o)||isNaN(i)||isNaN(a))return;return[r,o,i,a]}}function d(e,t){if(typeof e!="number")return-1;if(t===true&&Math.floor(e)!==e)return-1;return e>=0&&e<=255?e:-1}function p(e){if(Object.prototype.toString.call(e)==="[object Object]"&&Object.getPrototypeOf(e)===Object.getPrototypeOf({})){var t=d(e.r!=undefined?e.r:e.red!=undefined?e.red:0,true);var n=d(e.g!=undefined?e.g:e.green!=undefined?e.green:0,true);var r=d(e.b!=undefined?e.b:e.blue!=undefined?e.blue:0,true);var o=d(e.a!=undefined?e.a:e.alpha!=undefined?e.alpha:255,true);if(t!=-1&&n!=-1&&r!=-1&&o!=-1){return[t,n,r,o]}}}function v(e){if(Array.isArray(e)&&(e.length==3||e.length==4)){var t=d(e[0],true);var n=d(e[1],true);var r=d(e[2],true);var o=d(e[3]!=undefined?e[3]:255,true);if(t!=-1&&n!=-1&&r!=-1&&o!=-1){return[t,n,r,o]}}}function g(e){if(typeof e=="number"&&Math.floor(e)==e&&e<=4294967295&&e>=0){var t=e>>24&255;var n=e>>16&255;var r=e>>8&255;var o=e&255;return[n,r,o,t]}}function y(e){if(e.substr(0,4)=="rgb("){e=e.match(/^rgb\(([^)]+)\)/)[1];var t=e.split(/ *, */).map(Number);var n=d(t[0],true);var r=d(t[1],true);var o=d(t[2],true);if(n!=-1&&r!=-1&&o!=-1){return[n,r,o,255]}}}function b(e){if(e.substr(0,5)=="rgba("){e=e.match(/^rgba\(([^)]+)\)/)[1];var t=e.split(/ *, */).map(Number);var n=d(t[0],true);var r=d(t[1],true);var o=d(t[2],true);var i=d(t[3]*255);if(n!=-1&&r!=-1&&o!=-1&&i!=-1){return[n,r,o,i]}}}return ft.exports}var dt=ct();var pt=e(dt);const vt=/\[object Object\]/;const gt=(e,t)=>{if(typeof e==="string"&&vt.test(e)){return}t()};const yt=(e,t)=>{if(typeof e==="string"&&e===""){return}t()};const bt=(e,t)=>{if(ye()){Ne.debug([e,t]);Ne.debug(`↑ We propagate the (submit) event to this target.`)}Object.defineProperty(e,"target",{value:t,writable:false})};const ht=e=>{var t,n,r;(t=e.nextHooks)===null||t===void 0?void 0:t.forEach(((t,n)=>{var r;const o=t.get("beforePatch");if(typeof o==="function"){o((r=e.nextState)===null||r===void 0?void 0:r.get(n),e.nextState,e,n)}}));if(((n=e.nextState)===null||n===void 0?void 0:n.size)>0){e.state=Object.assign(Object.assign({},e.state),Object.fromEntries(e.nextState));delete e.nextState;(r=e.nextHooks)===null||r===void 0?void 0:r.forEach(((t,n)=>{const r=t.get("afterPatch");if(typeof r==="function"){r(e.state[n],e.state,e,n)}}))}delete e.nextHooks};const mt=(e,t,n,r={})=>{var o,i;if(e.nextHooks===undefined){e.nextHooks=new Map}if(e.nextState===undefined){e.nextState=new Map}const a=e.nextHooks.get(t);if(a instanceof Map===false){e.nextHooks.set(t,new Map)}if(typeof r.afterPatch==="function"){(o=e.nextHooks.get(t))===null||o===void 0?void 0:o.set("afterPatch",r.afterPatch)}if(typeof r.beforePatch==="function"){(i=e.nextHooks.get(t))===null||i===void 0?void 0:i.set("beforePatch",r.beforePatch)}e.nextState.set(t,n);ht(e)};const wt=(e,t,n,r)=>{$e(`[${e.constructor.name}] The property value: (${n}) for '${t}' is not valid. Allowed values are: ${Array.from(r).join(", ")}`)};function kt(e,t,n,r,o,i={}){if(n(o)){mt(e,t,o,i.hooks)}else if(o===undefined&&i.required!==true&&n(i.defaultValue)){mt(e,t,i.defaultValue,i.hooks)}else{if(!i.required){r.add(null)}wt(e,t,o,r)}}const St=(e,t,n,r)=>{kt(e,t,(e=>typeof e==="boolean"),new Set(["Boolean {true, false}"]),n,r)};const Tt=(e,t,n,r={})=>{const o=typeof r.minLength==="number"?r===null||r===void 0?void 0:r.minLength:0;kt(e,t,(e=>typeof e==="string"&&e.length>=o&&(typeof(r===null||r===void 0?void 0:r.maxLength)==="undefined"||e.length<=r.maxLength)),new Set([`String`]),n,r)};const Et=(e,t,n,r)=>{kt(e,t,(e=>typeof e==="number"&&(typeof(r===null||r===void 0?void 0:r.min)==="undefined"||typeof(r===null||r===void 0?void 0:r.min)==="number"&&e>=r.min)&&(typeof(r===null||r===void 0?void 0:r.max)==="undefined"||typeof(r===null||r===void 0?void 0:r.max)==="number"&&e<=r.max)),new Set(["Number"]),n,r)};const Mt=(e,t,n,r,o=e=>e===e,i={})=>{yt(r,(()=>{gt(r,(()=>{if(typeof r==="undefined"){r=[]}try{try{r=Ot(r)}catch(e){}if(Array.isArray(r)){const a=r.find((e=>!n(e)));if(a===undefined&&o(r)){mt(e,t,r,i.hooks)}else{gt(a,(()=>{Ne.debug(a);throw new Error(`↑ The schema for the property (_options) is not valid. The value will not be changed.`)}))}}else{gt(r,(()=>{Ne.debug(r);throw new Error(`↑ The schema for the property (_options) is not valid. The value will not be changed.`)}))}}catch(e){Ne.debug(e)}}))}))};const At=e=>{try{return JSON.stringify(e).replace(/"/g,"'")}catch(t){Ne.warn(["stringifyJson",e]);Ne.error(`↑ The JSON could not be converted to a string. A stringifiable JSON is expected.`);throw new Error}};const Nt=/^[{[]/;const Ot=e=>{if(typeof e==="string"){try{return JSON.parse(e)}catch(t){if(Nt.test(e)){try{return JSON.parse(e.replace(/'/g,'"'))}catch(t){Ne.warn(["parseJson",e]);Ne.error(`↑ The JSON string could not be parsed. Make sure that single quotes in the text are escaped (‘).`)}}}}throw new Error};const Lt=e=>typeof e==="boolean"?e===true?"true":"false":undefined;const It=e=>typeof e==="string"?e:Lt(e);const Ct=(e,t)=>{if(!e){return}const n=new Set;const r=[e];let o=0;while(o<r.length){const e=r[o++];if(n.has(e)){continue}n.add(e);if(t(e)){return}const i=Array.from(e.children||[]);for(let e=0;e<i.length;e++){r.push(i[e])}if(e instanceof HTMLElement&&e.shadowRoot){r.push(e.shadowRoot)}if(e instanceof HTMLSlotElement){const t=e.assignedNodes({flatten:true});for(let e=0;e<t.length;e++){if(t[e]instanceof Element){r.push(t[e])}}}}};const Rt=(e,t)=>{let n=null;Ct(t,(t=>{if(t instanceof Element&&t.matches(e)){n=t;return true}return false}));return n};const $t=(e,t)=>{const n=[];Ct(t,(t=>{if(t instanceof Element&&t.matches(e)){n.push(t)}return false}));return n};const jt=(e,t)=>Rt(e,t||se());const xt=(e,t)=>$t(e,t||se());let _t=null;const Ft=()=>{_t=_t||{backgroundColor:"#00000000",color:"#00000000",domNode:se().body,level:"Fail",score:1};return _t};const Ht=/(\d+, ){3}0\)/;const Pt=(e,t=Ft())=>{const n=getComputedStyle(e);const r=Ht.test(n.backgroundColor)?t.backgroundColor:pt.hex(n.backgroundColor);const o=Ht.test(n.color)?t.color:pt.hex(n.color);const i=Qe(r,o);const a={backgroundColor:r,color:o,domNode:e,level:Xe(i),score:i};if(i<4.5){Ne.error(["Color-Contrast-Error",{backgroundColor:a.backgroundColor,color:a.color,level:a.level,score:a.score},a.domNode])}return a};const Ut=(e,t=Ft())=>{if(t.domNode instanceof HTMLElement){t=Pt(t.domNode,t)}const n=t.domNode.querySelector(e);if(n===null){const n=t.domNode.querySelectorAll('[class="hydrated"]');for(let r=0;r<n.length;r++){t.domNode=n[r];t=Ut(e,t);if(t.domNode!==null){break}}return t}else{return Pt(n,t)}};class qt{static queryHtmlElementColors(e,t,n=false,r=true){let o=null;if(n===true||qt.executionLock===false){if(n===false){qt.cache.clear();qt.cache.set(t.domNode,t);qt.executionLock=true;if(r===true){Ne.debug(`[KoliBriUtils] Color contrast analysis started...`)}}if(e===t.domNode){o=t}else{const n=new Set;if(t.domNode.shadowRoot){const e=t.domNode.shadowRoot.children;for(let t=0;t<e.length;t++){n.add(e[t])}}const r=t.domNode;if(typeof r.assignedNodes==="function"){const e=r.assignedNodes();for(let t=0;t<e.length;t++){if(e[t]instanceof HTMLElement){n.add(e[t])}}}const i=t.domNode.children;for(let e=0;e<i.length;e++){n.add(i[e])}const a=Array.from(n);for(let n=0;n<a.length;n++){let r=qt.cache.get(a[n]);if(r===undefined){r=Pt(a[n],t)}qt.cache.set(a[n],r);const i=qt.queryHtmlElementColors(e,r,true,false);if(i!==null){o=i;break}}}}else{Ne.debug(`[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.`)}if(n===false){if(r===true){Ne.debug(`[KoliBriUtils] Color contrast analysis finished (${qt.cache.size} DOM elements are analysed).`)}qt.executionLock=false;qt.cache.clear()}return o}}qt.executionLock=false;qt.cache=new Map;class zt{}zt.getCssStyle=P;zt.patchTheme=m;zt.patchThemeTag=b;zt.querySelector=jt;zt.querySelectorAll=xt;zt.stringifyJson=At;const Bt=e=>typeof e==="object"&&e!==null;const Jt=(e,t=0)=>typeof e==="string"&&e.length>=t;const Kt=e=>{if(typeof e==="object"&&e!==null){for(const t in e){if(Jt(t,1)===false){return false}}}else{return Jt(e,1)}return true};const Wt=new Event("StateChange");export{At as $,Pe as A,He as B,be as C,me as D,ae as E,Kt as F,Bt as G,Mt as H,qe as I,ye as J,oe as K,Ne as L,bt as M,Et as N,je as O,yt as P,jt as Q,It as R,Lt as S,ie as T,Wt as U,ve as V,Pt as W,xt as X,Ut as Y,I as Z,qt as _,zt as a,he as a0,kt as b,Ue as c,ne as d,St as e,_e as f,Tt as g,Ce as h,Jt as i,$e as j,Le as k,at as l,lt as m,pt as n,gt as o,Ot as p,Qe as q,st as r,mt as s,ue as t,e as u,se as v,M as w,ge as x,re as y,A as z};
|
|
5
|
+
//# sourceMappingURL=common-DyILLof-.js.map
|