@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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormFieldStateWrapper-C93KLp60.js","sources":["../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js","../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_trimmedEndIndex.js","../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js","../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js","../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/now.js","../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/debounce.js","src/schema/props/adjust-height.ts","src/schema/props/hide-msg.ts","src/schema/props/hint.ts","src/schema/props/msg.ts","src/schema/props/touched.ts","src/components/input-adapter-leanup/controller.ts","src/components/@deprecated/input/controller.ts","src/functional-components/inputs/_helpers/getDefaultProps.ts","src/functional-component-wrappers/_helpers/getRenderStates.ts","src/functional-components/FormFieldHint/FormFieldHint.tsx","src/functional-components/FormFieldLabel/FormFieldLabel.tsx","src/functional-components/FormFieldCharacterLimitHint/FormFieldCharacterLimitHint.tsx","src/functional-components/FormFieldCounter/FormFieldCounter.tsx","src/functional-components/FormFieldMsg/FormFieldMsg.tsx","src/functional-components/FormField/FormField.tsx","src/functional-component-wrappers/FormFieldStateWrapper/FormFieldStateWrapper.tsx"],"sourcesContent":["import baseGetTag from './_baseGetTag.js';\nimport isObjectLike from './isObjectLike.js';\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nexport default isSymbol;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nexport default trimmedEndIndex;\n","import trimmedEndIndex from './_trimmedEndIndex.js';\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nexport default baseTrim;\n","import baseTrim from './_baseTrim.js';\nimport isObject from './isObject.js';\nimport isSymbol from './isSymbol.js';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nexport default toNumber;\n","import root from './_root.js';\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nexport default now;\n","import isObject from './isObject.js';\nimport now from './now.js';\nimport toNumber from './toNumber.js';\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nexport default debounce;\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type AdjustHeightPropType = boolean;\n\n/**\n * Adjusts the height of the element to its content.\n */\nexport type PropAdjustHeight = {\n\tadjustHeight: AdjustHeightPropType;\n};\n\n/* validator */\nexport const validateAdjustHeight = (component: Generic.Element.Component, value?: AdjustHeightPropType): void => {\n\twatchBoolean(component, '_adjustHeight', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { WatchBooleanOptions } from '../utils';\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type HideMsgPropType = boolean;\n\n/**\n * Hides the message but leaves it in the DOM for the input's aria-describedby.\n */\nexport type PropHideMsg = {\n\thideMsg: HideMsgPropType;\n};\n\n/* validator */\nexport const validateHideMsg = (component: Generic.Element.Component, value?: HideMsgPropType, options?: WatchBooleanOptions): void => {\n\twatchBoolean(component, '_hideMsg', value, options);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { watchString } from '../utils';\n\n/* types */\nexport type HintPropType = string;\n\n/**\n * Provides additional guidance below the form field.\n */\nexport type PropHint = {\n\thint: HintPropType;\n};\n\n/* validator */\nexport const validateHint = (component: Generic.Element.Component, value?: HintPropType): void => {\n\twatchString(component, '_hint', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\nimport type { AlertProps } from '../components';\nimport type { Stringified } from '../types';\nimport { objectObjectHandler, parseJson, watchValidator } from '../utils';\nimport { isObject, isString } from '../validators';\n\n/* types */\nexport type MsgPropType = Omit<AlertProps, '_level' | '_on' | '_label' | '_hasCloser' | '_variant'> & { _description: string };\n\n/**\n * Defines the properties for a message rendered as Alert component.\n */\nexport type PropMsg = {\n\tmsg: Stringified<MsgPropType>;\n};\n\n/* validator */\nexport const validateMsg = (component: Generic.Element.Component, value?: Stringified<MsgPropType>): void => {\n\tobjectObjectHandler(value, () => {\n\t\ttry {\n\t\t\tvalue = parseJson<MsgPropType>(value);\n\t\t} catch {\n\t\t\t// value keeps original value\n\t\t}\n\t\twatchValidator<Stringified<MsgPropType>>(\n\t\t\tcomponent,\n\t\t\t`_msg`,\n\t\t\t(value) => {\n\t\t\t\tif (value === undefined) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (typeof value === 'string' && value.length > 0) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\tif (isObject(value) && value !== null) {\n\t\t\t\t\tconst desc = (value as { _description?: unknown })._description;\n\t\t\t\t\treturn isString(desc, 1);\n\t\t\t\t}\n\n\t\t\t\treturn false;\n\t\t\t},\n\t\t\tnew Set(['MsgPropType', 'string']),\n\t\t\tvalue as Stringified<MsgPropType>,\n\t\t);\n\t});\n};\n\nexport function isMsgDefinedAndInputTouched(msg?: Stringified<MsgPropType>, touched?: boolean): boolean {\n\t/**\n\t * We support 5 types of messages:\n\t * - default\n\t * - info\n\t * - success\n\t * - warning\n\t * - error\n\t *\n\t * Messages on inputs are only rendered after the field has been touched,\n\t * regardless of the message type.\n\t */\n\treturn Boolean(msg) && touched === true;\n}\n\nexport const checkHasMsg = isMsgDefinedAndInputTouched;\n\nexport function normalizeMsg(msg?: Stringified<MsgPropType>): MsgPropType | undefined {\n\tif (typeof msg === 'string') {\n\t\ttry {\n\t\t\treturn parseJson<MsgPropType>(msg);\n\t\t} catch {\n\t\t\treturn { _description: msg, _type: 'error' };\n\t\t}\n\t}\n\tif (msg && typeof msg === 'object' && !('_type' in msg)) {\n\t\treturn { ...msg, _type: 'error' };\n\t}\n\treturn msg;\n}\n\nexport function getMsgType(msg?: Stringified<MsgPropType>): MsgPropType['_type'] | 'error' {\n\tif (typeof msg === 'string') {\n\t\treturn 'error';\n\t}\n\n\treturn msg?._type ?? 'error';\n}\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../utils';\n\n/* types */\nexport type TouchedPropType = boolean;\n\n/**\n * Shows if the input was touched by a user.\n */\nexport type PropTouched = {\n\ttouched: TouchedPropType;\n};\n\n/* validator */\nexport const validateTouched = (component: Generic.Element.Component, value?: TouchedPropType): void => {\n\twatchBoolean(component, '_touched', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport { validateTouched } from '../../schema';\n\nimport { AssociatedInputController } from './associated.controller';\n\nimport type { Props, Watches } from './types';\n\nexport class ControlledInputController extends AssociatedInputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props;\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateTouched(value?: boolean): void {\n\t\tvalidateTouched(this.component, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateTouched(this.component._touched);\n\t}\n}\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type {\n\tAccessKeyPropType,\n\tAdjustHeightPropType,\n\tDisabledPropType,\n\tHideLabelPropType,\n\tHideMsgPropType,\n\tHintPropType,\n\tInputTypeOnDefault,\n\tInternalButtonProps,\n\tLabelWithExpertSlotPropType,\n\tMsgPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tStringified,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../../schema';\nimport {\n\ta11yHint,\n\tobjectObjectHandler,\n\tparseJson,\n\tsetState,\n\tvalidateAccessKey,\n\tvalidateAdjustHeight,\n\tvalidateDisabled,\n\tvalidateHideLabel,\n\tvalidateHideMsg,\n\tvalidateHint,\n\tvalidateLabelWithExpertSlot,\n\tvalidateMsg,\n\tvalidateShortKey,\n\tvalidateTooltipAlign,\n\tvalidateVariantClassName,\n} from '../../../schema';\nimport { validateTabIndex } from '../../../schema/props/tab-index';\n\nimport { dispatchDomEvent, KolEvent } from '../../../utils/events';\nimport { ControlledInputController } from '../../input-adapter-leanup/controller';\n\nimport { debounce } from 'lodash-es';\nimport { validateAccessAndShortKey } from '../../../schema/validators/access-and-short-key';\nimport type { Props as AdapterProps } from '../../input-adapter-leanup/types';\nimport type { Props, Watches } from './types';\n\ntype ValueChangeListener = (value: StencilUnknown) => void;\n\nexport class InputController extends ControlledInputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props & AdapterProps;\n\n\tprivate readonly valueChangeListeners: ValueChangeListener[] = [];\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateAccessKey(value?: AccessKeyPropType): void {\n\t\tvalidateAccessKey(this.component, value);\n\t\tvalidateAccessAndShortKey(value, this.component._shortKey);\n\t}\n\n\tpublic validateAdjustHeight(value?: AdjustHeightPropType): void {\n\t\tvalidateAdjustHeight(this.component, value);\n\t}\n\n\tpublic validateDisabled(value?: DisabledPropType): void {\n\t\tvalidateDisabled(this.component, value);\n\t}\n\tpublic validateTooltipAlign(value?: TooltipAlignPropType): void {\n\t\tvalidateTooltipAlign(this.component, value);\n\t}\n\n\tpublic validateHideMsg(value?: HideMsgPropType): void {\n\t\tvalidateHideMsg(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tif (this.component.state._hideMsg) {\n\t\t\t\t\t\ta11yHint('Property _hideMsg for inputs: Only use when the error message is shown outside of the input component.');\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t}\n\n\tpublic validateHideLabel(value?: HideLabelPropType): void {\n\t\tvalidateHideLabel(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tif (this.component.state._hideLabel) {\n\t\t\t\t\t\ta11yHint('Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.');\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t}\n\n\tpublic validateHint(value?: HintPropType): void {\n\t\tvalidateHint(this.component, value);\n\t}\n\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tvalidateLabelWithExpertSlot(this.component, value, {\n\t\t\trequired: true,\n\t\t});\n\t}\n\n\tpublic validateMsg(value?: Stringified<MsgPropType>): void {\n\t\tvalidateMsg(this.component, value);\n\t}\n\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tif (typeof value === 'object') {\n\t\t\tsetState(this.component, '_on', value);\n\t\t}\n\t}\n\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tvalidateShortKey(this.component, value);\n\t\tvalidateAccessAndShortKey(this.component._accessKey, value);\n\t}\n\n\tpublic validateSmartButton(value?: InternalButtonProps | string): void {\n\t\tobjectObjectHandler(value, () => {\n\t\t\ttry {\n\t\t\t\tvalue = parseJson<InternalButtonProps>(value as string);\n\t\t\t} catch {\n\t\t\t\t// value behält den ursprünglichen Wert\n\t\t\t}\n\t\t\tsetState(this.component, '_smartButton', value);\n\t\t});\n\t}\n\n\tpublic validateTabIndex(value?: number): void {\n\t\tvalidateTabIndex(this.component, value);\n\t}\n\n\tpublic validateVariant(value?: VariantClassNamePropType): void {\n\t\tvalidateVariantClassName(this.component, value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateAccessKey(this.component._accessKey);\n\t\tthis.validateAdjustHeight(this.component._adjustHeight);\n\t\tthis.validateMsg(this.component._msg);\n\t\tthis.validateDisabled(this.component._disabled);\n\t\tthis.validateHideMsg(this.component._hideMsg);\n\t\tthis.validateHideLabel(this.component._hideLabel);\n\t\tthis.validateHint(this.component._hint);\n\t\tthis.validateLabel(this.component._label);\n\t\tthis.validateShortKey(this.component._shortKey);\n\t\tthis.validateSmartButton(this.component._smartButton);\n\t\tthis.validateOn(this.component._on);\n\t\tthis.validateTabIndex(this.component._tabIndex);\n\t\tthis.validateVariant(this.component._variant);\n\t\tvalidateAccessAndShortKey(this.component._accessKey, this.component._shortKey);\n\t}\n\n\tprivate emitEvent(type: KolEvent, value?: unknown): void {\n\t\tif (this.host) {\n\t\t\tdispatchDomEvent(this.host, type, value);\n\t\t}\n\t}\n\n\tprotected onBlur(event: Event): void {\n\t\tif (this.component._disabled) {\n\t\t\treturn;\n\t\t}\n\t\tthis.component._touched = true;\n\n\t\t// Event handling\n\t\tthis.emitEvent(KolEvent.blur);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onBlur === 'function') {\n\t\t\tthis.component._on.onBlur(event);\n\t\t}\n\t}\n\n\t/**\n\t * @param event - The original event object\n\t * @param value - Optional value. Taken from event if not defined.\n\t */\n\tprotected onChange(event: Event, value?: StencilUnknown): void {\n\t\tif (typeof value === 'undefined') {\n\t\t\tvalue = (event.target as HTMLInputElement).value;\n\t\t}\n\n\t\t// Event handling\n\t\tthis.emitEvent(KolEvent.change, value);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onChange === 'function') {\n\t\t\t/**\n\t\t\t * TODO\n\t\t\t * Value-Handling muss für InputDate und InputNumber optimiert werden\n\t\t\t * - value\n\t\t\t * - valueAsNumber\n\t\t\t * - valueAsDate\n\t\t\t */\n\t\t\tthis.component._on.onChange(event, value);\n\t\t}\n\n\t\t/**\n\t\t * TODO: Was ist das?\n\t\t */\n\t\tthis.valueChangeListeners.forEach((listener) => listener(value));\n\t}\n\n\t/**\n\t * @param event - The original event object\n\t * @param shouldSetFormAssociatedValue - Set to false when setting form associated value is not desired.\n\t * @param value - Optional value. Taken from event if not defined.\n\t */\n\tprotected onInput(event: Event, shouldSetFormAssociatedValue = true, value?: StencilUnknown): void {\n\t\tif (typeof value === 'undefined') {\n\t\t\tvalue = (event.target as HTMLInputElement).value;\n\t\t}\n\n\t\t// Event handling\n\t\tthis.emitEvent(KolEvent.input, value);\n\n\t\t// Static form handling\n\t\tif (shouldSetFormAssociatedValue) {\n\t\t\tthis.setFormAssociatedValue(value);\n\t\t}\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onInput === 'function') {\n\t\t\tthis.component._on.onInput(event, value);\n\t\t}\n\t}\n\n\tprotected onClick(event: Event): void {\n\t\t// Event handling\n\t\tthis.emitEvent(KolEvent.click);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onClick === 'function') {\n\t\t\tthis.component._on.onClick(event);\n\t\t}\n\t}\n\n\tprotected onFocus(event: Event): void {\n\t\t// Event handling\n\t\tthis.emitEvent(KolEvent.focus);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onFocus === 'function') {\n\t\t\tthis.component._on.onFocus(event);\n\t\t}\n\t}\n\n\tprotected onKeyDown(event: KeyboardEvent): void {\n\t\t// Event handling\n\t\tthis.emitEvent(KolEvent.keydown);\n\n\t\t// Callback\n\t\tif (typeof this.component._on?.onKeyDown === 'function') {\n\t\t\tthis.component._on.onKeyDown(event);\n\t\t}\n\t}\n\n\tpublic addValueChangeListener(listener: ValueChangeListener) {\n\t\tthis.valueChangeListeners.push(listener);\n\t}\n\n\t/**\n\t * Hinweis: In der Subklasse 'InputPasswordController'\n\t * werden die Methoden onBlur und onFocus\n\t * überschrieben.\n\t * Es werden somit zunächst die Methoden der\n\t * Subklasse ausgeführt und danach die der\n\t * Oberklassen.\n\t */\n\tpublic readonly onFacade = {\n\t\tonBlur: this.onBlur.bind(this),\n\t\tonChange: this.onChange.bind(this),\n\t\tonClick: this.onClick.bind(this),\n\t\tonFocus: this.onFocus.bind(this),\n\t\tonInput: this.onInput.bind(this),\n\t\tonKeyDown: this.onKeyDown.bind(this),\n\t};\n\n\tpublic readonly updateCurrentLengthDebounced = debounce((length: number) => {\n\t\tsetState(this.component, '_currentLengthDebounced', length);\n\t}, 500);\n\n\tpublic hasSoftCharacterLimit() {\n\t\treturn typeof this.component.state._maxLength === 'number' && this.component.state._maxLengthBehavior === 'soft';\n\t}\n\n\tpublic hasCounter() {\n\t\treturn this.component.state._hasCounter === true;\n\t}\n}\n","export function getDefaultProps({ ariaDescribedBy, hideLabel, label }: { ariaDescribedBy?: string[]; hideLabel?: boolean; label?: string }): {\n\ttitle: string;\n\tautoCapitalize: string;\n\tautoCorrect: string;\n\t'aria-describedby'?: string;\n\t'aria-label'?: string;\n} {\n\treturn {\n\t\ttitle: '',\n\t\tautoCapitalize: 'off',\n\t\tautoCorrect: 'off',\n\t\t'aria-describedby': ariaDescribedBy?.length ? ariaDescribedBy.join(' ') : undefined,\n\t\t'aria-label': hideLabel && label ? label : undefined,\n\t};\n}\n","import { getMsgType, type MsgPropType, type Stringified, type TouchedPropType } from '../../schema';\nimport { createRelatedUniqueId } from '../../utils/dev.utils';\n\n/**\n * Berechnet in Abhängigkeit des Component-State, wie die\n * aria-describedby-Attributs gesetzt werden sollen.\n *\n * @param state State der Component\n * @returns Render-States\n */\nexport const getRenderStates = (state: {\n\t_msg?: Stringified<MsgPropType>;\n\t_hint?: string;\n\t_id: string;\n\t_touched?: TouchedPropType;\n\t_hideMsg?: boolean;\n\t_hasCounter?: boolean;\n}): {\n\thasError: boolean;\n\thasHint: boolean;\n\tariaDescribedBy: string[];\n} => {\n\tconst msg = state._msg;\n\tconst description = typeof msg === 'string' ? msg : msg?._description;\n\tconst type = getMsgType(msg);\n\tconst hasMessage = Boolean(description && description.length > 0);\n\tconst isMessageValidError = type === 'error' && hasMessage;\n\tconst hasError = isMessageValidError && state._touched === true;\n\tconst hasHint = typeof state._hint === 'string' && state._hint.length > 0;\n\n\tconst ariaDescribedBy: string[] = [];\n\tif (hasMessage && !state._hideMsg) {\n\t\tariaDescribedBy.push(createRelatedUniqueId(state._id, 'msg'));\n\t}\n\tif (hasHint === true) {\n\t\tariaDescribedBy.push(createRelatedUniqueId(state._id, 'hint'));\n\t}\n\n\tif (state._hasCounter) {\n\t\tariaDescribedBy.push(createRelatedUniqueId(state._id, 'counter'));\n\t}\n\n\tif (hasError === true) {\n\t\tariaDescribedBy.push(createRelatedUniqueId(state._id, 'error'));\n\t}\n\treturn { hasError, hasHint, ariaDescribedBy };\n};\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from '../../utils/clsx';\nimport { createRelatedUniqueId } from '../../utils/dev.utils';\n\ntype FormFieldHintProps = JSXBase.HTMLAttributes<HTMLSpanElement> & {\n\thint?: string;\n\tbaseClassName?: string;\n};\n\nconst KolFormFieldHintFc: FC<FormFieldHintProps> = ({ id, class: classNames, hint, baseClassName = 'kol-form-field', ...other }) => {\n\tif (!hint) {\n\t\treturn null;\n\t}\n\n\treturn (\n\t\t<span class={clsx(`${baseClassName}__hint`, classNames)} id={createRelatedUniqueId(id || '', 'hint')} {...other}>\n\t\t\t{hint}\n\t\t</span>\n\t);\n};\n\nexport default KolFormFieldHintFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport { translate } from '../../i18n';\nimport { SpanFC } from '../../internal/functional-components/span/component';\nimport { buildBadgeTextString } from '../../schema';\nimport clsx from '../../utils/clsx';\nimport { createRelatedUniqueId } from '../../utils/dev.utils';\n\ntype FormFieldLabelProps = JSXBase.HTMLAttributes<Omit<HTMLLabelElement | HTMLLegendElement, 'id' | 'hidden' | 'htmlFor'>> & {\n\tcomponent?: 'label' | 'legend';\n\tid: string;\n\tlabel?: string;\n\taccessKey?: string;\n\tshortKey?: string;\n\thasExpertSlot?: boolean;\n\thideLabel?: boolean;\n\tbaseClassName?: string;\n\tshowBadge?: boolean;\n\treadOnly?: boolean;\n};\n\nconst KolFormFieldLabelFc: FC<FormFieldLabelProps> = ({\n\tcomponent: Component = 'label',\n\tid,\n\tbaseClassName = 'kol-form-field',\n\tclass: classNames,\n\taccessKey,\n\tshortKey,\n\tlabel,\n\thideLabel,\n\thasExpertSlot,\n\tshowBadge = true,\n\treadOnly,\n\t...other\n}) => {\n\tconst useTooltipInsteadOfLabel = !hasExpertSlot && hideLabel;\n\tconst translateReadOnly = translate('kol-readonly');\n\tconst badgeText = showBadge === false ? undefined : buildBadgeTextString(accessKey, shortKey);\n\n\treturn (\n\t\t<Component\n\t\t\t{...other}\n\t\t\tclass={clsx(`${baseClassName}__label`, classNames)}\n\t\t\tid={!useTooltipInsteadOfLabel ? createRelatedUniqueId(id, 'label') : undefined}\n\t\t\thidden={useTooltipInsteadOfLabel}\n\t\t\thtmlFor={id}\n\t\t>\n\t\t\t<SpanFC class={`${baseClassName}__label-text`} label={hasExpertSlot ? '' : (label ?? '')} badgeText={badgeText}>\n\t\t\t\t<slot name=\"expert\"></slot>\n\t\t\t</SpanFC>\n\t\t\t{!hasExpertSlot && readOnly ? (\n\t\t\t\t<span class={`${baseClassName}__label__read-only`} aria-hidden=\"true\">\n\t\t\t\t\t({translateReadOnly})\n\t\t\t\t</span>\n\t\t\t) : null}\n\t\t</Component>\n\t);\n};\n\nexport default KolFormFieldLabelFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport { translate } from '../../i18n';\nimport { createRelatedUniqueId } from '../../utils/dev.utils';\n\ntype FormFieldCharacterLimitHintProps = JSXBase.HTMLAttributes<HTMLSpanElement> & {\n\tid: string;\n\tmaxLength: number;\n};\n\nconst KolFormFieldCharacterLimitHintFc: FC<FormFieldCharacterLimitHintProps> = ({ id, maxLength }) => {\n\treturn (\n\t\t<span id={createRelatedUniqueId(id, 'character-limit-hint')} class=\"visually-hidden\">\n\t\t\t{translate('kol-character-limit-hint', { placeholders: { limit: String(maxLength) } })}\n\t\t</span>\n\t);\n};\n\nexport default KolFormFieldCharacterLimitHintFc;\n","import { Fragment, h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport { translate } from '../../i18n';\nimport type { MaxLengthBehaviorPropType } from '../../schema';\nimport clsx from '../../utils/clsx';\nimport { createRelatedUniqueId } from '../../utils/dev.utils';\n\ntype FormFieldCounterProps = JSXBase.HTMLAttributes<HTMLSpanElement> & {\n\tcurrentLength: number;\n\tcurrentLengthDebounced: number;\n\tmaxLengthBehavior: MaxLengthBehaviorPropType;\n\tmaxLength?: number;\n\tid?: string;\n};\n\nconst KolFormFieldCounterFc: FC<FormFieldCounterProps> = ({ currentLength, currentLengthDebounced, maxLength, maxLengthBehavior, id }) => {\n\tlet visualText: string | undefined;\n\tlet ariaText: string | undefined;\n\tconst counterClasses = ['kol-form-field__counter'];\n\n\tif (maxLengthBehavior === 'hard') {\n\t\tvisualText =\n\t\t\ttypeof maxLength === 'number'\n\t\t\t\t? translate('kol-character-counter-current-of-max', { placeholders: { current: String(currentLength), max: String(maxLength) } })\n\t\t\t\t: translate('kol-character-counter-current', { placeholders: { current: String(currentLength) } });\n\n\t\tariaText =\n\t\t\ttypeof maxLength === 'number'\n\t\t\t\t? translate('kol-character-counter-current-of-max-aria', { placeholders: { current: String(currentLengthDebounced), max: String(maxLength) } })\n\t\t\t\t: translate('kol-character-counter-current', { placeholders: { current: String(currentLengthDebounced) } });\n\t} else if (typeof maxLength === 'number') {\n\t\tconst remainingLive = maxLength - currentLength;\n\t\tconst exceededLive = remainingLive < 0;\n\t\tconst remainingDebounced = maxLength - currentLengthDebounced;\n\t\tconst exceededDebounced = remainingDebounced < 0;\n\n\t\tvisualText = exceededLive\n\t\t\t? translate('kol-character-limit-exceeded', { placeholders: { over: String(Math.abs(remainingLive)) } })\n\t\t\t: translate('kol-character-limit-remaining', { placeholders: { remaining: String(remainingLive) } });\n\n\t\tariaText = exceededDebounced\n\t\t\t? translate('kol-character-limit-exceeded', { placeholders: { over: String(Math.abs(remainingDebounced)) } })\n\t\t\t: translate('kol-character-limit-remaining', { placeholders: { remaining: String(remainingDebounced) } });\n\n\t\tif (exceededLive) {\n\t\t\tcounterClasses.push('kol-form-field__counter--exceeded');\n\t\t}\n\t} else {\n\t\treturn null;\n\t}\n\n\treturn (\n\t\t<>\n\t\t\t<span class={clsx(counterClasses)} aria-hidden=\"true\" data-testid=\"input-counter\">\n\t\t\t\t{visualText}\n\t\t\t</span>\n\t\t\t<span id={createRelatedUniqueId(id || '', 'counter')} aria-live=\"polite\" class=\"visually-hidden\" data-testid=\"input-counter-aria\">\n\t\t\t\t{ariaText}\n\t\t\t</span>\n\t\t</>\n\t);\n};\n\nexport default KolFormFieldCounterFc;\n","import { type FunctionalComponent, h } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from '../../utils/clsx';\nimport { createRelatedUniqueId } from '../../utils/dev.utils';\n\nimport { type AlertPropType, type IdPropType, type MsgPropType, normalizeMsg, type Stringified } from '../../schema';\nimport KolAlertFc from '../Alert';\n\ntype FormFieldMsgProps = JSXBase.HTMLAttributes<HTMLDivElement> & {\n\talert?: AlertPropType;\n\tmsg?: Stringified<MsgPropType>;\n\tid: IdPropType;\n};\n\nconst FormFieldMsgFc: FunctionalComponent<FormFieldMsgProps> = ({ alert, msg, id, class: classNames, ...other }) => {\n\tconst message = normalizeMsg(msg);\n\n\treturn (\n\t\t<KolAlertFc\n\t\t\tid={createRelatedUniqueId(id, 'msg')}\n\t\t\talert={message?._alert ?? alert}\n\t\t\thasCloser={false}\n\t\t\tlevel={0}\n\t\t\ttype={message?._type ?? 'error'}\n\t\t\tvariant=\"msg\"\n\t\t\tclass={clsx('kol-form-field__msg', classNames)}\n\t\t\t{...other}\n\t\t>\n\t\t\t{message?._description || undefined}\n\t\t</KolAlertFc>\n\t);\n};\n\nexport default FormFieldMsgFc;\n","import type { JSX } from '@stencil/core';\nimport { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport { BaseWebComponent } from '../../internal/functional-components/base-web-component';\nimport { TooltipFC } from '../../internal/functional-components/tooltip/component';\nimport { TooltipController } from '../../internal/functional-components/tooltip/controller';\nimport type { MaxLengthBehaviorPropType, MsgPropType, Stringified, TooltipAlignPropType, VariantClassNamePropType } from '../../schema';\nimport { buildBadgeTextString, getMsgType, isMsgDefinedAndInputTouched, showExpertSlot } from '../../schema';\nimport clsx from '../../utils/clsx';\nimport { createRelatedUniqueId } from '../../utils/dev.utils';\nimport KolFormFieldCharacterLimitHintFc from '../FormFieldCharacterLimitHint/FormFieldCharacterLimitHint';\nimport KolFormFieldCounterFc from '../FormFieldCounter';\nimport KolFormFieldHintFc from '../FormFieldHint/FormFieldHint';\nimport KolFormFieldLabelFc from '../FormFieldLabel';\nimport KolFormFieldMsgFc from '../FormFieldMsg';\n\nconst formFieldTooltipControllerById = new Map<string, TooltipController>();\n\nconst getFormFieldTooltipController = (id: string): TooltipController => {\n\tconst tooltipController = formFieldTooltipControllerById.get(id);\n\tif (tooltipController) {\n\t\treturn tooltipController;\n\t}\n\n\tconst nextTooltipController = new TooltipController(BaseWebComponent.stateLess);\n\tnextTooltipController.componentWillLoad({ label: '' });\n\tformFieldTooltipControllerById.set(id, nextTooltipController);\n\treturn nextTooltipController;\n};\n\nconst destroyFormFieldTooltipController = (id: string): void => {\n\tconst tooltipController = formFieldTooltipControllerById.get(id);\n\tif (tooltipController) {\n\t\ttooltipController.destroy();\n\t\tformFieldTooltipControllerById.delete(id);\n\t}\n};\n\nfunction getModifierClassNameByMsgType(msg?: { type?: string }): string {\n\tif (msg?.type) {\n\t\treturn (\n\t\t\t{\n\t\t\t\tdefault: 'msg-type-default',\n\t\t\t\tinfo: 'msg-type-info',\n\t\t\t\tsuccess: 'msg-type-success',\n\t\t\t\twarning: 'msg-type-warning',\n\t\t\t\terror: 'msg-type-error',\n\t\t\t}[msg?.type] || ''\n\t\t);\n\t}\n\n\treturn '';\n}\n\nexport type FormFieldProps = JSXBase.HTMLAttributes<HTMLElement> & {\n\tcomponent?: 'div' | 'fieldset';\n\tid: string;\n\talert?: boolean;\n\tdisabled?: boolean;\n\tmsg?: Stringified<MsgPropType>;\n\thint?: string;\n\tlabel: string;\n\thideLabel?: boolean;\n\thideMsg?: boolean;\n\taccessKey?: string;\n\tshortKey?: string;\n\tcounter?: { currentLength: number; currentLengthDebounced: number; maxLengthBehavior: MaxLengthBehaviorPropType; maxLength?: number; id?: string };\n\treadOnly?: boolean;\n\ttouched?: boolean;\n\trequired?: boolean;\n\trenderNoLabel?: boolean;\n\trenderNoTooltip?: boolean;\n\trenderNoHint?: boolean;\n\tanotherChildren?: JSX.Element | JSX.Element[];\n\tmaxLength?: number;\n\tshowBadge?: boolean;\n\ttooltipAlign?: TooltipAlignPropType;\n\ttooltipFloatingRef?: (el?: HTMLDivElement) => void;\n\ttooltipArrowRef?: (el?: HTMLDivElement) => void;\n\tvariant?: VariantClassNamePropType;\n\n\tformFieldLabelProps?: JSXBase.HTMLAttributes<Omit<HTMLLabelElement | HTMLLegendElement, 'id' | 'hidden' | 'htmlFor'>> & { component?: 'label' | 'legend' };\n\tformFieldHintProps?: JSXBase.HTMLAttributes<HTMLElement>;\n\tformFieldTooltipProps?: Pick<JSXBase.HTMLAttributes<HTMLElement>, 'class'>;\n\tformFieldMsgProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n\tformFieldInputProps?: JSXBase.HTMLAttributes<HTMLDivElement>;\n};\n\nconst InputContainer: FC<JSXBase.HTMLAttributes<HTMLDivElement>> = ({ class: classNames, ...other }, children) => {\n\treturn (\n\t\t<div class={clsx('kol-form-field__input', classNames)} {...other}>\n\t\t\t{children}\n\t\t</div>\n\t);\n};\n\nconst KolFormFieldFc: FC<FormFieldProps> = (props, children) => {\n\tconst {\n\t\tcomponent: Component = 'div',\n\t\trenderNoLabel,\n\t\trenderNoTooltip,\n\t\trenderNoHint,\n\t\tanotherChildren,\n\t\tid,\n\t\trequired,\n\t\talert,\n\t\tdisabled,\n\t\tclass: classNames,\n\t\tmsg,\n\t\thideMsg,\n\t\thideLabel,\n\t\tlabel,\n\t\thint,\n\t\taccessKey,\n\t\tshortKey,\n\t\tcounter,\n\t\treadOnly,\n\t\ttouched,\n\t\tmaxLength,\n\t\tariaDescribedBy,\n\t\tshowBadge,\n\t\ttooltipAlign,\n\t\ttooltipFloatingRef,\n\t\tvariant,\n\t\tformFieldLabelProps,\n\t\tformFieldHintProps,\n\t\tformFieldTooltipProps,\n\t\tformFieldMsgProps,\n\t\tformFieldInputProps,\n\t\t...other\n\t} = props;\n\n\tconst showLabel = !renderNoLabel;\n\tconst showHint = !renderNoHint;\n\tconst showTooltip = !renderNoTooltip;\n\tconst hasExpertSlot = showExpertSlot(label);\n\tconst showMsg = isMsgDefinedAndInputTouched(msg, touched);\n\tconst badgeText = buildBadgeTextString(accessKey, shortKey);\n\tconst useTooltipInsteadOfLabel = showTooltip && !hasExpertSlot && hideLabel;\n\tconst labelId = createRelatedUniqueId(id, 'label');\n\tconst tooltipController = useTooltipInsteadOfLabel ? getFormFieldTooltipController(id) : undefined;\n\n\tif (tooltipController) {\n\t\ttooltipController.watchAlign(tooltipAlign);\n\t\ttooltipController.watchBadgeText(badgeText || '');\n\t\ttooltipController.watchId(labelId);\n\t\ttooltipController.watchLabel(label);\n\t} else {\n\t\tdestroyFormFieldTooltipController(id);\n\t}\n\n\tconst forwardedInputRef = formFieldInputProps?.ref as ((el?: HTMLDivElement) => void) | undefined;\n\tconst setInputContainerRef = (el?: HTMLDivElement): void => {\n\t\tforwardedInputRef?.(el);\n\t\tif (tooltipController && el) {\n\t\t\ttooltipController.initContext(el);\n\t\t\ttooltipController.syncListeners(undefined, el, true);\n\t\t}\n\t};\n\n\tlet stateCssClasses = {\n\t\t['kol-form-field--disabled']: Boolean(disabled),\n\t\t['kol-form-field--required']: Boolean(required),\n\t\t['kol-form-field--touched']: Boolean(touched),\n\t\t['kol-form-field--hide-label']: Boolean(hideLabel),\n\t\t['kol-form-field--read-only']: Boolean(readOnly),\n\t\t['kol-form-field--hidden-msg']: Boolean(hideMsg),\n\t};\n\n\tif (variant) {\n\t\tstateCssClasses = {\n\t\t\t...stateCssClasses,\n\t\t\t[`kol-form-field--${variant}`]: true,\n\t\t};\n\t}\n\n\tif (showMsg) {\n\t\tconst msgType = getMsgType(msg);\n\n\t\tstateCssClasses = {\n\t\t\t...stateCssClasses,\n\t\t\t[`kol-form-field--${msgType}`]: true,\n\t\t\t[`kol-form-field--${getModifierClassNameByMsgType({ type: msgType })}`]: true,\n\t\t};\n\t}\n\n\treturn (\n\t\t<Component class={clsx('kol-form-field', stateCssClasses, classNames)} aria-describedby={ariaDescribedBy} {...other}>\n\t\t\t{showLabel && (\n\t\t\t\t<KolFormFieldLabelFc\n\t\t\t\t\t{...(formFieldLabelProps || {})}\n\t\t\t\t\tid={id}\n\t\t\t\t\thasExpertSlot={hasExpertSlot}\n\t\t\t\t\thideLabel={hideLabel}\n\t\t\t\t\tlabel={label}\n\t\t\t\t\taccessKey={accessKey}\n\t\t\t\t\tshortKey={shortKey}\n\t\t\t\t\treadOnly={readOnly}\n\t\t\t\t\tshowBadge={showBadge}\n\t\t\t\t/>\n\t\t\t)}\n\t\t\t<InputContainer {...formFieldInputProps} ref={setInputContainerRef}>\n\t\t\t\t{children}\n\t\t\t\t{useTooltipInsteadOfLabel && hideLabel === true && (\n\t\t\t\t\t<div class={clsx('kol-form-field__tooltip', formFieldTooltipProps?.class)}>\n\t\t\t\t\t\t<TooltipFC\n\t\t\t\t\t\t\tbadgeText={badgeText || ''}\n\t\t\t\t\t\t\tlabel={label}\n\t\t\t\t\t\t\talign={tooltipAlign}\n\t\t\t\t\t\t\tid={labelId}\n\t\t\t\t\t\t\trefFloating={\n\t\t\t\t\t\t\t\ttooltipFloatingRef ??\n\t\t\t\t\t\t\t\t((el?: HTMLDivElement) => {\n\t\t\t\t\t\t\t\t\ttooltipController?.setTooltipElementRef(el);\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</InputContainer>\n\t\t\t{counter ? <KolFormFieldCounterFc id={id} {...counter} /> : null}\n\t\t\t{maxLength ? <KolFormFieldCharacterLimitHintFc id={id} maxLength={maxLength} /> : null}\n\t\t\t{showMsg && !hideMsg && <KolFormFieldMsgFc {...(formFieldMsgProps || {})} id={id} alert={alert} msg={msg} />}\n\t\t\t{showHint && <KolFormFieldHintFc {...(formFieldHintProps || {})} id={id} hint={hint} />}\n\t\t\t{anotherChildren}\n\t\t</Component>\n\t);\n};\n\nexport default KolFormFieldFc;\n","import { type FunctionalComponent as FC, h } from '@stencil/core';\nimport KolFormFieldFc, { type FormFieldProps } from '../../functional-components/FormField';\nimport type { TextareaStates } from '../../schema';\nimport {\n\ttype InputCheckboxStates,\n\ttype InputColorStates,\n\ttype InputEmailStates,\n\ttype InputFileStates,\n\ttype InputNumberStates,\n\ttype InputPasswordStates,\n\ttype InputRadioStates,\n\ttype InputRangeStates,\n\ttype InputTextStates,\n\ttype MsgPropType,\n\ttype SelectStates,\n} from '../../schema';\nimport { getRenderStates } from '../_helpers/getRenderStates';\n\ntype InputState =\n\t| InputTextStates\n\t| InputEmailStates\n\t| InputPasswordStates\n\t| InputNumberStates\n\t| InputColorStates\n\t| InputFileStates\n\t| InputRangeStates\n\t| InputCheckboxStates\n\t| InputRadioStates\n\t| SelectStates\n\t| TextareaStates;\n\nexport type FormFieldStateWrapperProps = Partial<FormFieldProps> & {\n\tstate: InputState;\n};\n\nfunction getFormFieldProps(state: InputState): FormFieldProps {\n\tconst props: FormFieldProps = {\n\t\tid: state._id,\n\t\tdisabled: state._disabled,\n\t\tmsg: state._msg as MsgPropType,\n\t\thint: state._hint,\n\t\tlabel: state._label,\n\t\thideLabel: state._hideLabel,\n\t\thideMsg: state._hideMsg,\n\t\ttouched: state._touched,\n\t\tshowBadge: ('_accessKey' in state && Boolean(state._accessKey)) || ('_shortKey' in state && Boolean(state._shortKey)),\n\t};\n\n\tif ('_required' in state) {\n\t\tprops.required = state._required;\n\t}\n\n\tif ('_readOnly' in state) {\n\t\tprops.readOnly = state._readOnly;\n\t}\n\n\tif ('_accessKey' in state) {\n\t\tprops.accessKey = state._accessKey;\n\t}\n\n\tif ('_shortKey' in state) {\n\t\tprops.shortKey = state._shortKey;\n\t}\n\n\tif ('_maxLength' in state) {\n\t\tprops.maxLength = state._maxLength;\n\t}\n\n\tif (\n\t\t'_currentLength' in state &&\n\t\ttypeof state._currentLength === 'number' &&\n\t\t'_currentLengthDebounced' in state &&\n\t\ttypeof state._currentLengthDebounced === 'number'\n\t) {\n\t\tif ('_hasCounter' in state && state._hasCounter === true) {\n\t\t\tprops.counter = {\n\t\t\t\tcurrentLength: state._currentLength,\n\t\t\t\tcurrentLengthDebounced: state._currentLengthDebounced,\n\t\t\t\tmaxLength: state._maxLength,\n\t\t\t\tmaxLengthBehavior: state._maxLengthBehavior || 'hard',\n\t\t\t};\n\t\t}\n\t}\n\n\tif ('_variant' in state) {\n\t\tprops.variant = state._variant;\n\t}\n\n\treturn props;\n}\n\nconst FormFieldStateWrapper: FC<FormFieldStateWrapperProps> = ({ state, ...other }, children) => {\n\tconst { ariaDescribedBy: ariaDescribedByArray } = getRenderStates(state);\n\tconst isRadioVariant = other.component === 'fieldset' || ('_options' in state && '_orientation' in state);\n\tconst ariaDescribedBy = isRadioVariant && ariaDescribedByArray.length > 0 ? ariaDescribedByArray.join(' ') : undefined;\n\tconst baseProps = getFormFieldProps(state);\n\n\treturn (\n\t\t<KolFormFieldFc {...baseProps} {...other} ariaDescribedBy={ariaDescribedBy}>\n\t\t\t{children}\n\t\t</KolFormFieldFc>\n\t);\n};\n\nexport default FormFieldStateWrapper;\n"],"names":["isObjectLike","baseGetTag","isObject","root","watchBoolean","watchString","objectObjectHandler","parseJson","watchValidator","isString","AssociatedInputController","setState","validateAccessKey","validateAccessAndShortKey","validateDisabled","validateTooltipAlign","a11yHint","validateHideLabel","validateLabelWithExpertSlot","validateShortKey","validateTabIndex","validateVariantClassName","dispatchDomEvent","KolEvent","createRelatedUniqueId","__rest","h","clsx","translate","buildBadgeTextString","SpanFC","Fragment","KolAlertFc","TooltipController","BaseWebComponent","showExpertSlot","TooltipFC","KolFormFieldMsgFc"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA;AACA,IAAI,SAAS,GAAG,iBAAiB;;AAEjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,QAAQ,CAAC,KAAK,EAAE;AACzB,EAAE,OAAO,OAAO,KAAK,IAAI,QAAQ;AACjC,KAAKA,oBAAY,CAAC,KAAK,CAAC,IAAIC,kBAAU,CAAC,KAAK,CAAC,IAAI,SAAS,CAAC;AAC3D;;AC1BA;AACA,IAAI,YAAY,GAAG,IAAI;;AAEvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,eAAe,CAAC,MAAM,EAAE;AACjC,EAAE,IAAI,KAAK,GAAG,MAAM,CAAC,MAAM;;AAE3B,EAAE,OAAO,KAAK,EAAE,IAAI,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK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K,EAAE;AACxB,QAAA,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,QAAQ;;AAG/B,IAAA,OAAO,KAAK;AACb;AAEA,MAAM,qBAAqB,GAAmC,CAAC,EAAmB,EAAE,QAAQ,KAAI;AAAjC,IAAA,IAAA,EAAE,KAAK,EAAY,GAAA,EAAA,EAAP,KAAK,GAAAD,gBAAA,CAAA,EAAA,EAAjB,SAAmB,CAAF;IAC/E,MAAM,EAAE,eAAe,EAAE,oBAAoB,EAAE,GAAG,eAAe,CAAC,KAAK,CAAC;AACxE,IAAA,MAAM,cAAc,GAAG,KAAK,CAAC,SAAS,KAAK,UAAU,KAAK,UAAU,IAAI,KAAK,IAAI,cAAc,IAAI,KAAK,CAAC;IACzG,MAAM,eAAe,GAAG,cAAc,IAAI,oBAAoB,CAAC,MAAM,GAAG,CAAC,GAAG,oBAAoB,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,SAAS;AACtH,IAAA,MAAM,SAAS,GAAG,iBAAiB,CAAC,KAAK,CAAC;IAE1C,QACCC,OAAA,CAAC,cAAc,EAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,EAAM,KAAK,EAAE,EAAA,eAAe,EAAE,eAAe,EAAA,CAAA,EACxE,QAAQ,CACO;AAEnB;;;;;;;;;;;","x_google_ignoreList":[0,1,2,3,4,5]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"aria-labelledby-BhnM3OnL.js","sources":["src/utils/aria-labelledby.ts","src/schema/props/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};\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 | 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 | 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","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":["watchValidator","Log"],"mappings":";;;;;;;AAiBA,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;AAEM,MAAM,cAAc,GAAG,CAAC,IAA6B,EAAE,KAAc,KAAmB;AAC9F,IAAA,MAAM,GAAG,GAAG,CAAC,KAAK,KAAA,IAAA,IAAL,KAAK,KAAL,MAAA,GAAA,KAAK,GAAI,EAAE,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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;;QAGRC,UAAG,CAAC,KAAK,CAAC,CAAC,wBAAwB,EAAE,SAAS,CAAC,CAAC;;AAEjD,IAAA,OAAO,QAAQ;AAChB;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"associated.controller-CUvZCmFF.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';\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\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\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 componentWillLoad(): void {\n\t\tthis.validateName(this.component._name);\n\t\tthis.validateSyncValueBySelector(this.component._syncValueBySelector);\n\t}\n}\n"],"names":["watchString","getExperimentalMode","devHint","getOptions","devWarning"],"mappings":";;;;;;;;AAgBO,MAAM,YAAY,GAAG,CAAC,SAAoC,EAAE,KAAoB,EAAE,OAA4B,KAAU;IAC9HA,kBAAW,CAAC,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,CAAC;AAChD,CAAC;;ACDD,MAAM,mBAAmB,GAAG,CAAC,IAAa,KACzC,IAAI,KAAK,YAAY;AACrB,IAAA,IAAI,KAAK,cAAc;AACvB,IAAA,IAAI,KAAK,oBAAoB;AAC7B,IAAA,IAAI,KAAK,iBAAiB;AAC1B,IAAA,IAAI,KAAK,gBAAgB;AACzB,IAAA,IAAI,KAAK,iBAAiB;AAC1B,IAAA,IAAI,KAAK,gBAAgB;AACzB,IAAA,IAAI,KAAK,kBAAkB;AAC3B,IAAA,IAAI,KAAK,oBAAoB;AAC7B,IAAA,IAAI,KAAK,iBAAiB;AAC1B,IAAA,IAAI,KAAK,iBAAiB;AAC1B,IAAA,IAAI,KAAK,gBAAgB;AACzB,IAAA,IAAI,KAAK,YAAY;AACrB,IAAA,IAAI,KAAK,mBAAmB;IAC5B,IAAI,KAAK,cAAc;MAEX,yBAAyB,CAAA;AAUrC,IAAA,WAAA,CAAmB,SAA4C,EAAE,IAAY,EAAE,IAAc,EAAA;;AAT5E,QAAA,IAAgB,CAAA,gBAAA,GAAGC,0BAAmB,EAAE;AA0GzC,QAAA,IAAA,CAAA,sBAAsB,GAAG,CAAC,QAAwB,KAAI;;AACrE,YAAA,MAAM,IAAI,GAAG,CAAA,EAAA,GAAA,IAAI,CAAC,cAAc,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAE,YAAY,CAAC,MAAM,CAAC;Y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0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bem-registry-D9uDM1GJ.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-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-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":";;;;;;;;;;;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAA,OAAc,GAAG,SAAS,GAAG,CAAC,aAAa,EAAE;AAC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AO,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC,EAAE;AACzD,YAAA,iBAAiB,EAAE,EAAE,SAAS,EAAE,IAAI,GAAG,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,CAAC,EAAE;AACrE,SAAA;AACD,QAAA,SAAS,EAAE,IAAI;AACf,KAAA;;;;;;","x_google_ignoreList":[0,1]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"controller-DHsc-8t1.js","sources":["src/utils/overlay.ts","src/internal/props/align.ts","src/internal/props/badge-text.ts","src/internal/props/id.ts","src/internal/functional-components/tooltip/api.tsx","src/internal/functional-components/tooltip/controller.ts"],"sourcesContent":["/**\n * This file contains the functions used to manage the visible overlays.\n */\n\n/**\n * This set contains all the visible overlays.\n */\nconst VISIBLE_OVERLAYS: Set<HTMLElement> = new Set();\n\n/**\n * Cached reference to the top-most overlay (z-index 1000).\n * Maintained by showOverlay and hideOverlay to avoid repeated set iterations.\n */\nlet lastOverlay: HTMLElement | null = null;\n\n/**\n * This function is used to add an overlay to the visible overlay list.\n * All overlays in the list will have a z-index of 999, except the last\n * one, which will have a z-index of 1000.\n *\n * @param overlay Get the overlay element reference\n */\nexport function showOverlay(overlay: HTMLElement): void {\n\t// Ensure the overlay is at the end of the set to maintain the invariant:\n\t// all overlays have z-index 999 except the last one (z-index 1000).\n\tif (lastOverlay !== overlay) {\n\t\tif (lastOverlay) {\n\t\t\tlastOverlay.style.setProperty('z-index', '999');\n\t\t}\n\t\tVISIBLE_OVERLAYS.delete(overlay);\n\t\tVISIBLE_OVERLAYS.add(overlay);\n\t\toverlay.style.setProperty('z-index', '1000');\n\t\tlastOverlay = overlay;\n\t}\n}\n\n/**\n * This function is used to remove an overlay from the visible overlay list.\n * All overlays in the list will have a z-index of 999, except the last\n * one, which will have a z-index of 1000.\n *\n * @param overlay Get the overlay element reference\n */\nexport function hideOverlay(overlay: HTMLElement): void {\n\tif (!VISIBLE_OVERLAYS.delete(overlay)) {\n\t\treturn;\n\t}\n\n\tif (lastOverlay === overlay) {\n\t\t// Find the new last overlay\n\t\tlastOverlay = null;\n\t\tfor (const el of VISIBLE_OVERLAYS) {\n\t\t\tlastOverlay = el;\n\t\t}\n\t\tif (lastOverlay) {\n\t\t\tlastOverlay.style.setProperty('z-index', '1000');\n\t\t}\n\t}\n}\n","import type { AlignPropType } from '../../schema';\nimport { alignPropTypeOptions } from '../../schema';\nimport type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\n/**\n * Align prop for positioning floating elements\n *\n * Description:\n * Controls the alignment of floating elements (tooltips, popovers, tabs) relative to their\n * reference element. The alignment affects how the floating element is positioned and which\n * side the arrow points from.\n *\n * Valid values: 'top' | 'right' | 'bottom' | 'left'\n * Default: 'top'\n *\n * Accessibility:\n * - Alignment should be chosen to ensure floating content is visible and does not obscure\n * important content for users with low vision or screen magnification\n */\nexport type AlignProp = SimpleProp<'align', AlignPropType>;\n\nexport const alignProp = createPropDefinition<AlignProp>(\n\t'align',\n\t'top',\n\t(value) => {\n\t\tconst str = normalizeString(value);\n\t\tif ((alignPropTypeOptions as readonly string[]).includes(str)) {\n\t\t\treturn str as AlignPropType;\n\t\t}\n\t\tthrow new Error(`Invalid align value: ${str}`);\n\t},\n\t(v) => (alignPropTypeOptions as readonly string[]).includes(v),\n);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\n/**\n * Badge Text prop for highlighting text in labels\n *\n * Description:\n * Specifies text to be underlined and highlighted as a badge within the label.\n * This is useful for highlighting keyboard shortcuts or other important text portions.\n *\n * Usage:\n * - Default: empty string (no badge highlighting)\n * - When set: the specified text will be underlined in the label\n * - Case-sensitive matching (tries uppercase/lowercase variations if exact match not found)\n *\n * Accessibility:\n * - Underlined text must have sufficient contrast (WCAG 1.4.11)\n * - Badge text should complement, not replace, other text alternatives\n */\nexport type BadgeTextProp = SimpleProp<'badgeText', string>;\nexport const badgeTextProp = createPropDefinition<BadgeTextProp>('badgeText', '', normalizeString);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type IdProp = SimpleProp<'id', string>;\n\nexport const idProp = createPropDefinition<IdProp>('id', '', normalizeString);\n","import { alignProp, badgeTextProp, idProp, labelProp } from '../../props';\nimport type { ApiFromConfig, PropsConfigShape } from '../generic-types';\n\nexport const tooltipPropsConfig = {\n\trequired: [labelProp],\n\toptional: [alignProp, badgeTextProp, idProp],\n} as const satisfies PropsConfigShape;\n\nexport type TooltipApi = ApiFromConfig<\n\ttypeof tooltipPropsConfig,\n\t{\n\t\tMethods: {\n\t\t\thideTooltip: () => void;\n\t\t};\n\t}\n>;\n","import { autoUpdate } from '@floating-ui/dom';\nimport { getDocument } from '../../../schema';\nimport { alignFloatingElements } from '../../../utils/align-floating-elements';\nimport { hideOverlay, showOverlay } from '../../../utils/overlay';\nimport { tooltipClosed, tooltipOpened } from '../../../utils/tooltip-open-tracking';\nimport { alignProp, badgeTextProp, idProp, labelProp } from '../../props';\nimport { BaseController } from '../base-controller';\nimport type { ControllerInterface, ResolvedInputProps, StateAccess } from '../generic-types';\nimport type { TooltipApi } from './api';\nimport { tooltipPropsConfig } from './api';\n\nexport class TooltipController extends BaseController<TooltipApi> implements ControllerInterface<TooltipApi> {\n\tprivate previousSibling?: HTMLElement;\n\tprivate tooltipElement?: HTMLElement;\n\n\tprivate hasFocusIn = false;\n\tprivate hasMouseIn = false;\n\tprivate isHiddenForCurrentVisit = false;\n\tprivate overFocusTimeout?: ReturnType<typeof setTimeout>;\n\tprivate cleanupAutoPositioning?: () => void;\n\n\tpublic constructor(stateAccess: StateAccess<TooltipApi>) {\n\t\tsuper(stateAccess, tooltipPropsConfig);\n\t}\n\n\tpublic componentWillLoad(props: ResolvedInputProps<TooltipApi>): void {\n\t\tthis.watchLabel(props.label);\n\t\tthis.watchAlign(props.align);\n\t\tthis.watchBadgeText(props.badgeText);\n\t\tthis.watchId(props.id);\n\t}\n\n\tpublic watchLabel(value?: string): void {\n\t\tlabelProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('label', v);\n\t\t});\n\t}\n\n\tpublic watchAlign(value?: string): void {\n\t\talignProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('align', v);\n\t\t});\n\t}\n\n\tpublic watchBadgeText(value?: string): void {\n\t\tbadgeTextProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('badgeText', v);\n\t\t});\n\t}\n\n\tpublic watchId(value?: string): void {\n\t\tidProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('id', v);\n\t\t});\n\t}\n\n\tpublic initContext(previousSibling: HTMLElement | undefined): void {\n\t\tthis.previousSibling = previousSibling;\n\t}\n\n\tpublic syncListeners(last?: HTMLElement | null, next?: HTMLElement | null, replacePreviousSibling = false): void {\n\t\tif (last) {\n\t\t\tthis.removeListeners(last);\n\t\t}\n\t\tif (next) {\n\t\t\tif (replacePreviousSibling) {\n\t\t\t\tthis.previousSibling = next;\n\t\t\t}\n\t\t\tthis.addListeners(next);\n\t\t}\n\t}\n\n\tpublic handleEventListeners(host: HTMLElement): void {\n\t\tconst nextSibling = host.previousElementSibling as HTMLElement | null;\n\t\tthis.syncListeners(this.previousSibling, nextSibling, true);\n\t}\n\n\tpublic hideTooltip(): void {\n\t\tthis.isHiddenForCurrentVisit = true;\n\n\t\tif (this.tooltipElement) {\n\t\t\thideOverlay(this.tooltipElement);\n\t\t\ttooltipClosed();\n\t\t\tthis.tooltipElement.classList.remove('show');\n\t\t\tthis.tooltipElement.classList.add('hide');\n\n\t\t\tif (this.cleanupAutoPositioning) {\n\t\t\t\tthis.cleanupAutoPositioning();\n\t\t\t\tthis.cleanupAutoPositioning = undefined;\n\t\t\t}\n\t\t}\n\t\tgetDocument().removeEventListener('keyup', this.hideTooltipByEscape);\n\t}\n\n\tpublic setTooltipElementRef = (el?: HTMLElement): void => {\n\t\tthis.tooltipElement = el;\n\t\tif (this.tooltipElement) {\n\t\t\tthis.addListeners(this.tooltipElement);\n\t\t}\n\t};\n\n\tpublic destroy(): void {\n\t\tclearTimeout(this.overFocusTimeout);\n\n\t\tif (this.previousSibling) {\n\t\t\tthis.removeListeners(this.previousSibling);\n\t\t\tthis.previousSibling = undefined;\n\t\t}\n\t\tif (this.tooltipElement) {\n\t\t\tthis.removeListeners(this.tooltipElement);\n\t\t}\n\t\tif (this.cleanupAutoPositioning) {\n\t\t\tthis.cleanupAutoPositioning();\n\t\t\tthis.cleanupAutoPositioning = undefined;\n\t\t}\n\t\tgetDocument().removeEventListener('keyup', this.hideTooltipByEscape);\n\t}\n\n\tprivate isNewVisit(): boolean {\n\t\treturn !this.hasMouseIn && !this.hasFocusIn;\n\t}\n\n\tprivate resetHideFlag(): void {\n\t\tif (this.isNewVisit()) {\n\t\t\tthis.isHiddenForCurrentVisit = false;\n\t\t}\n\t}\n\n\tprivate async alignTooltip(): Promise<void> {\n\t\tif (this.tooltipElement && this.previousSibling) {\n\t\t\tawait alignFloatingElements({\n\t\t\t\talign: this.getRenderProp('align'),\n\t\t\t\tarrowElement: this.tooltipElement.querySelector('.kol-tooltip__arrow') as HTMLElement,\n\t\t\t\tfloatingElement: this.tooltipElement,\n\t\t\t\treferenceElement: this.previousSibling,\n\t\t\t});\n\t\t}\n\t}\n\n\tprivate showTooltip(): void {\n\t\tif (this.isHiddenForCurrentVisit) {\n\t\t\treturn;\n\t\t}\n\t\tif (this.previousSibling && this.tooltipElement) {\n\t\t\tshowOverlay(this.tooltipElement);\n\t\t\ttooltipOpened();\n\t\t\tthis.tooltipElement.classList.remove('hide');\n\t\t\tthis.tooltipElement.classList.add('show');\n\t\t\tthis.tooltipElement.style.setProperty('display', 'block');\n\t\t\tgetDocument().addEventListener('keyup', this.hideTooltipByEscape, { once: true });\n\n\t\t\tconst target = this.previousSibling;\n\t\t\tconst tooltipEl = this.tooltipElement;\n\t\t\tthis.cleanupAutoPositioning = autoUpdate(target, tooltipEl, () => {\n\t\t\t\tvoid this.alignTooltip();\n\t\t\t});\n\t\t}\n\t}\n\n\tprivate showOrHideTooltip(): void {\n\t\tclearTimeout(this.overFocusTimeout);\n\t\tthis.overFocusTimeout = setTimeout(() => {\n\t\t\tif (this.hasMouseIn || this.hasFocusIn) {\n\t\t\t\tthis.showTooltip();\n\t\t\t} else {\n\t\t\t\tthis.hideTooltip();\n\t\t\t}\n\t\t}, 300);\n\t}\n\n\tprivate hideTooltipByEscape = (event: KeyboardEvent): void => {\n\t\tif (event.key === 'Escape') {\n\t\t\tthis.hideTooltip();\n\t\t}\n\t};\n\n\tprivate handleMouseEnter = (): void => {\n\t\tconst isNewVisit = this.isNewVisit();\n\t\tthis.hasMouseIn = true;\n\t\tif (isNewVisit) {\n\t\t\tthis.isHiddenForCurrentVisit = false;\n\t\t}\n\t\tthis.showOrHideTooltip();\n\t};\n\n\tprivate handleMouseLeave = (): void => {\n\t\tthis.hasMouseIn = false;\n\t\tthis.resetHideFlag();\n\t\tthis.showOrHideTooltip();\n\t};\n\n\tprivate handleFocusIn = (): void => {\n\t\tconst isNewVisit = this.isNewVisit();\n\t\tthis.hasFocusIn = true;\n\t\tif (isNewVisit) {\n\t\t\tthis.isHiddenForCurrentVisit = false;\n\t\t}\n\t\tthis.showOrHideTooltip();\n\t};\n\n\tprivate handleFocusOut = (): void => {\n\t\tthis.hasFocusIn = false;\n\t\tthis.resetHideFlag();\n\t\tthis.showOrHideTooltip();\n\t};\n\n\tprivate addListeners(el: HTMLElement): void {\n\t\tel.addEventListener('mouseover', this.handleMouseEnter);\n\t\tel.addEventListener('mouseout', this.handleMouseLeave);\n\t\tel.addEventListener('focusin', this.handleFocusIn);\n\t\tel.addEventListener('focusout', this.handleFocusOut);\n\t}\n\n\tprivate removeListeners(el: HTMLElement): void {\n\t\tel.removeEventListener('mouseover', this.handleMouseEnter);\n\t\tel.removeEventListener('mouseout', this.handleMouseLeave);\n\t\tel.removeEventListener('focusin', this.handleFocusIn);\n\t\tel.removeEventListener('focusout', this.handleFocusOut);\n\t}\n}\n"],"names":["createPropDefinition","normalizeString","alignPropTypeOptions","labelProp","BaseController","tooltipClosed","getDocument","alignFloatingElements","tooltipOpened","autoUpdate"],"mappings":";;;;;;;;;;;;;;AAOA,MAAM,gBAAgB,GAAqB,IAAI,GAAG,EAAE;AAMpD,IAAI,WAAW,GAAuB,IAAI;AASpC,SAAU,WAAW,CAAC,OAAoB,EAAA;AAG/C,IAAA,IAAI,WAAW,KAAK,OAAO,EAAE;QAC5B,IAAI,WAAW,EAAE;YAChB,WAAW,CAAC,KAAK,CAAC,WAAW,CAAC,SAAS,EAAE,KAAK,CAAC;;AAEhD,QAAA,gBAAgB,CAAC,MAAM,CAAC,OAAO,CAAC;AAChC,QAAA,gBAAgB,CAAC,GAAG,CAAC,OAAO,CAAC;QAC7B,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,SAAS,EAAE,MAAM,CAAC;QAC5C,WAAW,GAAG,OAAO;;AAEvB;AASM,SAAU,WAAW,CAAC,OAAoB,EAAA;IAC/C,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE;QACtC;;AAGD,IAAA,IAAI,WAAW,KAAK,OAAO,EAAE;QAE5B,WAAW,GAAG,IAAI;AAClB,QAAA,KAAK,MAAM,EAAE,IAAI,gBAAgB,EAAE;YAClC,WAAW,GAAG,EAAE;;QAEjB,IAAI,WAAW,EAAE;YAChB,WAAW,CAAC,KAAK,CAAC,WAAW,CAAC,SAAS,EAAE,MAAM,CAAC;;;AAGnD;;ACnCO,MAAM,SAAS,GAAGA,gCAAoB,CAC5C,OAAO,EACP,KAAK,EACL,CAAC,KAAK,KAAI;AACT,IAAA,MAAM,GAAG,GAAGC,2BAAe,CAAC,KAAK,CAAC;AAClC,IAAA,IAAKC,0BAA0C,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;AAC9D,QA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AC;;AAuCA,IAAA,YAAY,CAAC,EAAe,EAAA;QACnC,EAAE,CAAC,gBAAgB,CAAC,WAAW,EAAE,IAAI,CAAC,gBAAgB,CAAC;QACvD,EAAE,CAAC,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,gBAAgB,CAAC;QACtD,EAAE,CAAC,gBAAgB,CAAC,SAAS,EAAE,IAAI,CAAC,aAAa,CAAC;QAClD,EAAE,CAAC,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,cAAc,CAAC;;AAG7C,IAAA,eAAe,CAAC,EAAe,EAAA;QACtC,EAAE,CAAC,mBAAmB,CAAC,WAAW,EAAE,IAAI,CAAC,gBAAgB,CAAC;QAC1D,EAAE,CAAC,mBAAmB,CAAC,UAAU,EAAE,IAAI,CAAC,gBAAgB,CAAC;QACzD,EAAE,CAAC,mBAAmB,CAAC,SAAS,EAAE,IAAI,CAAC,aAAa,CAAC;QACrD,EAAE,CAAC,mBAAmB,CAAC,UAAU,EAAE,IAAI,CAAC,cAAc,CAAC;;AAExD;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"i18n-CgUN6lev.js","sources":["src/locales/de.ts","src/locales/en.ts","src/core/i18n.ts"],"sourcesContent":["export default {\n\terror: 'Fehler',\n\twarning: 'Warnung',\n\tinfo: 'Hinweis',\n\tsuccess: 'Erfolg',\n\tmessage: 'Nachricht',\n\tclose: 'Schließen',\n\t'form-description': 'Formular-Felder, die mit einem Sternchen (*) gekennzeichnet sind, sind Pflichtangaben.',\n\tnew: 'Neu',\n\t'no-entries': 'Es sind keine Einträge vorhanden.',\n\t'change-order': 'Sortierung von {{colLabel}} ändern',\n\t'action-running': 'Aktion wird ausgeführt...',\n\t'action-done': 'Aktion abgeschlossen',\n\tpagination: 'Paginierung',\n\t'page-first': 'Direkt zur ersten Seite',\n\t'page-back': 'Eine Seite zurück',\n\t'page-next': 'Eine Seite weiter',\n\t'page-last': 'Direkt zur letzten Seite',\n\t'entries-per-site': 'Einträge pro Seite',\n\tpage: 'Seite',\n\t'page-current': 'Seite {{page}}',\n\t'page-selected': 'Seite {{page}} ist ausgewählt',\n\t'page-per-site': 'Einträge pro Seite',\n\t'nav-maximize': 'Navigation maximieren',\n\t'nav-minimize': 'Navigation minimieren',\n\t'logo-description': 'Logo {{orgShort}}. Bundesadler mit Flaggenstab und Schriftzug {{orgLong}}',\n\t'open-link-in-tab': 'Öffnet in neuem Tab.',\n\t'kolibri-logo': 'Logo von KoliBri',\n\t'table-pagination-label': 'Paginierung für die Tabelle {{label}}',\n\t'table-sort-order': 'Priorität {{order}}',\n\t'avatar-alt': 'Avatar von {{name}}',\n\t'split-button-dropdown-label-open': 'Optionen anzeigen',\n\t'split-button-dropdown-label-close': 'Optionen schließen',\n\t'toast-close-all': 'Alle Benachrichtigungen schließen',\n\t'error-list': 'Fehlerliste',\n\t'error-list-message': 'Bitte korrigieren Sie folgende Fehler:',\n\tversion: 'Versionsnummer',\n\t'table-visible-range': 'Einträge {{start}} bis {{end}} von {{total}}',\n\t'table-selection-all': 'Alle auswählen',\n\t'table-selection-none': 'Alle abwählen',\n\t'table-selection-indeterminate': 'Alle auswählen bei teilweiser Auswahl',\n\t'table-settings': 'Tabellenkonfiguration',\n\t'table-settings-cancel': 'Abbrechen',\n\t'table-settings-apply': 'Übernehmen',\n\t'table-settings-show-column': 'Spalte {{column}} anzeigen',\n\t'table-settings-column-width': 'Breite von {{column}}',\n\t'table-settings-move-up': 'Spalte {{column}} nach oben verschieben',\n\t'table-settings-move-down': 'Spalte {{column}} nach unten verschieben',\n\t'table-settings-error-all-invisible': 'Mindestens eine Spalte muss sichtbar sein.',\n\t'table-settings-column-not-hidable': 'nicht ausblendbar',\n\tdropdown: 'Auswahlliste',\n\t'nav-label-open': 'Untermenü zu {{label}} öffnen',\n\t'nav-label-close': 'Untermenü zu {{label}} schließen',\n\t'close-alert': 'Benachrichtigung schließen',\n\t'show-password': 'einblenden',\n\t'hide-password': 'ausblenden',\n\t'no-results-message': 'Keine Ergebnisse gefunden.',\n\t'delete-selection': 'Auswahl entfernen',\n\t'filename-text': 'Datei auswählen oder hier ablegen...',\n\t'data-browse-text': 'Datei auswählen',\n\tsort: 'sortieren',\n\t'pagination-position-top': 'oben',\n\t'pagination-position-bottom': 'unten',\n\t'character-limit-hint': 'Es können bis zu {{limit}} Zeichen eingegeben werden.',\n\t'character-limit-remaining': 'Es sind noch {{remaining}} Zeichen verfügbar.',\n\t'character-limit-exceeded': 'Es sind {{over}} Zeichen zu viel.',\n\t'character-counter-current': '{{current}} Zeichen',\n\t'character-counter-current-of-max': '{{current}}/{{max}} Zeichen',\n\t'character-counter-current-of-max-aria': '{{current}} von {{max}} Zeichen',\n\t'live-value-bounded': '{{value}} von {{max}} {{unit}}',\n\t'live-value': '{{value}} {{unit}}',\n\treadonly: 'schreibgeschützt',\n\t'meter-state-optimum': 'Optimal',\n\t'meter-state-suboptimal': 'Suboptimal',\n\t'meter-state-critical': 'Kritisch',\n};\n","export default {\n\terror: 'Error',\n\twarning: 'Warning',\n\tinfo: 'Note',\n\tsuccess: 'Success',\n\tmessage: 'Message',\n\tclose: 'Close',\n\t'form-description': 'Form fields marked with an asterisk (*) are mandatory.',\n\tnew: 'New',\n\t'no-entries': 'No entries available.',\n\t'change-order': 'Change order of {{colLabel}}',\n\t'action-running': 'Action is running...',\n\t'action-done': 'Action done',\n\tpagination: 'Pagination',\n\t'page-first': 'Directly to the first page',\n\t'page-back': 'One page back',\n\t'page-next': 'One page further',\n\t'page-last': 'Directly to the last page',\n\t'entries-per-site': 'Entries per page',\n\tpage: 'Page',\n\t'page-current': 'Page {{page}}',\n\t'page-selected': 'Page {{page}} is selected',\n\t'page-per-site': 'Entries per page',\n\t'nav-maximize': 'Maximize navigation',\n\t'nav-minimize': 'Minimize navigation',\n\t'logo-description': 'Logo {{orgShort}}. Federal eagle with flag staff and lettering {{orgLong}}',\n\t'open-link-in-tab': 'Opens in new tab.',\n\t'kolibri-logo': 'KoliBri logo',\n\t'table-pagination-label': 'Pagination for table {{label}}',\n\t'table-sort-order': 'Priority {{order}}',\n\t'avatar-alt': 'Avatar of {{name}}',\n\t'split-button-dropdown-label-open': 'Show options',\n\t'split-button-dropdown-label-close': 'Hide options',\n\t'toast-close-all': 'Close all notifications',\n\t'error-list': 'Error list',\n\t'error-list-message': 'Please correct the following errors',\n\tversion: 'Version number',\n\t'table-visible-range': 'Entries {{start}} to {{end}} of {{total}}',\n\t'table-selection-all': 'Select all',\n\t'table-selection-none': 'Deselect all',\n\t'table-selection-indeterminate': 'Select all with partial selection',\n\t'table-settings': 'Table configuration',\n\t'table-settings-cancel': 'Cancel',\n\t'table-settings-apply': 'Apply',\n\t'table-settings-show-column': 'Show column {{column}}',\n\t'table-settings-column-width': '{{column}} width',\n\t'table-settings-move-up': 'Move {{column}} column up',\n\t'table-settings-move-down': 'Move {{column}} column down',\n\t'table-settings-error-all-invisible': 'At least one column must be visible.',\n\t'table-settings-column-not-hidable': 'cannot be hidden',\n\tdropdown: 'Dropdown',\n\t'nav-label-open': 'Submenu for {{label}} open',\n\t'nav-label-close': 'Submenu for {{label}} close',\n\t'close-alert': 'Close notification',\n\t'show-password': 'Show',\n\t'hide-password': 'Hide',\n\t'no-results-message': 'No results found.',\n\t'delete-selection': 'Delete selection',\n\t'filename-text': 'Choose a file or drop it here...',\n\t'data-browse-text': 'Browse',\n\tsort: 'sort',\n\t'pagination-position-top': 'top',\n\t'pagination-position-bottom': 'bottom',\n\t'character-limit-hint': 'You can enter up to {{limit}} characters',\n\t'character-limit-remaining': 'You have {{remaining}} characters remaining.',\n\t'character-limit-exceeded': 'You have {{over}} characters too many.',\n\t'character-counter-current': '{{current}} characters',\n\t'character-counter-current-of-max': '{{current}}/{{max}} characters',\n\t'character-counter-current-of-max-aria': '{{current}} of {{max}} characters',\n\t'live-value-bounded': '{{value}} of {{max}} {{unit}}',\n\t'live-value': '{{value}} {{unit}}',\n\treadonly: 'read-only',\n\t'meter-state-optimum': 'Optimum',\n\t'meter-state-suboptimal': 'Suboptimal',\n\t'meter-state-critical': 'Critical',\n};\n","import type { Generic } from 'adopted-style-sheets';\nimport locale_de from '../locales/de';\nimport locale_en from '../locales/en';\n\nexport type ResourcePrefix = 'Kol';\nexport type ComponentKeys = keyof typeof locale_de;\n\nconst mapLocaleKeys = (locale: { [K in ComponentKeys]: string }) =>\n\t(Object.keys(locale) as ComponentKeys[]).reduce((a, c) => ((a[`${'kol'}-${c}`] = locale[c]), a), {} as Generic.I18n.Map<ResourcePrefix, ComponentKeys>);\n\nconst TRANSLATIONS = new Set<Generic.I18n.RegisterPatch<Generic.I18n.Locale.ISO_639_1, ResourcePrefix, ComponentKeys>>([\n\t(t: (language: 'en', translationMap: Generic.I18n.Map<ResourcePrefix, ComponentKeys>) => Generic.I18n.Locale.ISO_639_1) => t('en', mapLocaleKeys(locale_en)),\n\t(t: (language: 'de', translationMap: Generic.I18n.Map<ResourcePrefix, ComponentKeys>) => Generic.I18n.Locale.ISO_639_1) => t('de', mapLocaleKeys(locale_de)),\n]);\n\ninterface ITranslationOptions {\n\t/**\n\t * Placeholders to insert into the text. Replacing {{key}} with the specified value if the \"key\".\n\t */\n\tplaceholders?: { [K: string]: string };\n}\n\n// String.replaceAll should be used but is only available with ECMAScript 2021.\nconst replaceAll = function (text: string, search: string, replacement: string) {\n\treturn text.split(search).join(replacement);\n};\n\ntype Resources = Map<string, string>;\n\nexport class I18nService {\n\tprivate resourceMap = new Map<Generic.I18n.Locale.ISO_639_1, Resources>();\n\tlanguage: Generic.I18n.Locale.ISO_639_1;\n\n\tpublic constructor(initialLanguage?: Generic.I18n.Locale.ISO_639_1) {\n\t\tthis.language = initialLanguage ?? 'de';\n\t}\n\n\t/**\n\t * Adds a resource bundle for the specified language.\n\t * @param lng the language the bundle is for\n\t * @param translationMap the translations of the given language\n\t */\n\tpublic addTranslations(\n\t\ttranslations?:\n\t\t\t| Generic.I18n.RegisterPatch<Generic.I18n.Locale.ISO_639_1, string, string>\n\t\t\t| Generic.I18n.RegisterPatch<Generic.I18n.Locale.ISO_639_1, string, string>[]\n\t\t\t| Set<Generic.I18n.RegisterPatch<Generic.I18n.Locale.ISO_639_1, string, string>>,\n\t) {\n\t\tif (Array.isArray(translations)) {\n\t\t\ttranslations = new Set(translations);\n\t\t} else if (typeof translations === 'function') {\n\t\t\ttranslations = new Set([translations]);\n\t\t}\n\n\t\tif (translations !== undefined) {\n\t\t\ttranslations.forEach((t) =>\n\t\t\t\tt((l, t) => {\n\t\t\t\t\tlet resources = this.resourceMap.get(l);\n\t\t\t\t\tif (!resources) {\n\t\t\t\t\t\tresources = new Map<string, string>();\n\t\t\t\t\t\tthis.resourceMap.set(l, resources);\n\t\t\t\t\t}\n\n\t\t\t\t\tObject.entries(t).forEach(([k, v]) => {\n\t\t\t\t\t\tif (v) {\n\t\t\t\t\t\t\tresources.set(k, v);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\treturn l;\n\t\t\t\t}),\n\t\t\t);\n\t\t}\n\t}\n\n\t/**\n\t * Set the current language.\n\t * @param lng the language the bundle is for\n\t */\n\tpublic setLanguage(lng: Generic.I18n.Locale.ISO_639_1) {\n\t\tthis.language = lng;\n\t}\n\n\t/**\n\t * Determines a human-readable translated text for the given resource key.\n\t * @param key the resource key\n\t * @param options optional translation parameters\n\t * @returns the translated text\n\t */\n\tpublic translate(key: string, options?: ITranslationOptions) {\n\t\tlet result = this.resourceMap.get(this.language)?.get(key);\n\t\tif (result) {\n\t\t\tif (options?.placeholders) {\n\t\t\t\tObject.entries(options.placeholders).forEach(([k, v]) => {\n\t\t\t\t\tresult = replaceAll(result!, `{{${k}}}`, v);\n\t\t\t\t});\n\t\t\t}\n\t\t} else {\n\t\t\tresult = key;\n\t\t}\n\t\treturn result;\n\t}\n}\n\nlet i18n: I18nService;\n\nexport const getI18nInstance = () => {\n\treturn i18n;\n};\n\nexport const initializeI18n = (\n\tlng: Generic.I18n.Locale.ISO_639_1,\n\ttranslations:\n\t\t| Generic.I18n.RegisterPatch<Generic.I18n.Locale.ISO_639_1, string, string>\n\t\t| Generic.I18n.RegisterPatch<Generic.I18n.Locale.ISO_639_1, string, string>[]\n\t\t| Set<Generic.I18n.RegisterPatch<Generic.I18n.Locale.ISO_639_1, string, string>> = TRANSLATIONS,\n) => {\n\ti18n = new I18nService(lng);\n\ti18n.addTranslations(translations);\n\treturn i18n;\n};\n"],"names":[],"mappings":";;;;;AAAA,gBAAe;AACd,IAAA,KAAK,EAAE,QAAQ;AACf,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,IAAI,EAAE,SAAS;AACf,IAAA,OAAO,EAAE,QAAQ;AACjB,IAAA,OAAO,EAAE,WAAW;AACpB,IAAA,KAAK,EAAE,WAAW;AAClB,IAAA,kBAAkB,EAAE,wFAAwF;AAC5G,IAAA,GAAG,EAAE,KAAK;AACV,IAAA,YAAY,EAAE,mCAAmC;AACjD,IAAA,cAAc,EAAE,oCAAoC;AACpD,IAAA,gBAAgB,EAAE,2BAA2B;AAC7C,IAAA,aAAa,EAAE,sBAAsB;AACrC,IAAA,UAAU,EAAE,aAAa;AACzB,IAAA,YAAY,EAAE,yBAAyB;AACvC,IAAA,WAAW,EAAE,mBAAmB;AAChC,IAAA,WAAW,EAAE,mBAAmB;AAChC,IAAA,WAAW,EAAE,0BAA0B;AACvC,IAAA,kBAAkB,EAAE,oBAAoB;AACxC,IAAA,IAAI,EAAE,OAAO;AACb,IAAA,cAAc,EAAE,gBAAgB;AAChC,IAAA,eAAe,EAAE,+BAA+B;AAChD,IAAA,eAAe,EAAE,oBAAoB;AACrC,IAAA,cAAc,EAAE,uBAAuB;AACvC,IAAA,cAAc,EAAE,uBAAuB;AACvC,IAAA,kBAAkB,EAAE,2EAA2E;AAC/F,IAAA,kBAAkB,EAAE,sBAAsB;AAC1C,IAAA,cAAc,EAAE,kBAAkB;AAClC,IAAA,wBAAwB,EAAE,uCAAuC;AACjE,IAAA,kBAAkB,EAAE,qBAAqB;AACzC,IAAA,YA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MAAA,GAAP,OAAO,CAAE,YAAY,EAAE;AAC1B,gBAAA,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAI;oBACvD,MAAM,GAAG,UAAU,CAAC,MAAO,EAAE,CAAK,EAAA,EAAA,CAAC,CAAI,EAAA,CAAA,EAAE,CAAC,CAAC;AAC5C,iBAAC,CAAC;;;aAEG;YACN,MAAM,GAAG,GAAG;;AAEb,QAAA,OAAO,MAAM;;AAEd;AAED,IAAI,IAAiB;AAEd,MAAM,eAAe,GAAG,MAAK;AACnC,IAAA,OAAO,IAAI;AACZ;AAEa,MAAA,cAAc,GAAG,CAC7B,GAAkC,EAClC,YAAA,GAGoF,YAAY,KAC7F;AACH,IAAA,IAAI,GAAG,IAAI,WAAW,CAAC,GAAG,CAAC;AAC3B,IAAA,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC;AAClC,IAAA,OAAO,IAAI;AACZ;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"variant-quote-DUWZtljE.js","sources":["src/internal/functional-components/base-web-component.ts","src/internal/props/loading.ts","src/internal/props/variant-quote.ts"],"sourcesContent":["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","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"],"names":["createPropDefinition","normalizeString"],"mappings":";;;;;;;AAMA,SAAS,kBAAkB,GAAA;AAC1B,IAAA,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC;AACjE;MAOsB,gBAAgB,CAAA;AAAtC,IAAA,WAAA,GAAA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,CAAC;IACpC,CAAC;IAEM,iBAAiB;QACvB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAChC,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC;YAClC,KAAK,EAAE,OAAO,IAAI,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE;SACzD,CAAC,CAAC;IACJ,CAAC;IAEM,kBAAkB;QACxB,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;YAClB,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,SAAS,EAAE,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;QAC/D,CAAC;IACF,CAAC;IAEM,oBAAoB;QAC1B,IAAI,CAAC,WAAW,CAAC,OAAO,EAAE,CAAC;IAC5B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Component, h, Host, Prop, State, Watch } from '@stencil/core';\nimport { BaseWebComponent } from '../../internal/functional-components/base-web-component';\nimport { TooltipFC } from '../../internal/functional-components/tooltip/component';\nimport { TooltipController } from '../../internal/functional-components/tooltip/controller';\nimport type { AbbrAPI, AbbrStates, LabelPropType } from '../../schema';\nimport { validateLabel } from '../../schema';\n\n/**\n * The **Abbr** component implements the HTML tag `abbr` with an accessible tooltip.\n * The tooltip for the description is displayed and read aloud when the **Abbr** component is focused or hovered.\n *\n * @slot - The abbreviation (short form).\n */\n@Component({\n\ttag: 'kol-abbr',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolAbbr implements AbbrAPI {\n\tprivate abbrRef?: HTMLElement;\n\n\tprivate readonly tooltipCtrl = new TooltipController(BaseWebComponent.stateLess);\n\n\tprivate readonly setAbbrRef = (ref?: HTMLElement) => {\n\t\tthis.abbrRef = ref;\n\t};\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host class=\"kol-abbr\">\n\t\t\t\t{/* eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex */}\n\t\t\t\t<abbr ref={this.setAbbrRef} tabIndex={this.state._label ? 0 : undefined}>\n\t\t\t\t\t<slot />\n\t\t\t\t</abbr>\n\t\t\t\t{this.state._label ? (\n\t\t\t\t\t<TooltipFC\n\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\tlabel={typeof this.state._label === 'string' ? this.state._label : ''}\n\t\t\t\t\t\tbadgeText={''}\n\t\t\t\t\t\tid={this.tooltipCtrl.getRenderProp('id')}\n\t\t\t\t\t\trefFloating={this.tooltipCtrl.setTooltipElementRef}\n\t\t\t\t\t/>\n\t\t\t\t) : null}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label?: LabelPropType;\n\n\t@State() public state: AbbrStates = {\n\t\t_label: '',\n\t};\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelPropType): void {\n\t\tvalidateLabel(this, value);\n\t\tthis.tooltipCtrl.watchLabel(value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateLabel(this._label);\n\t\tthis.tooltipCtrl.componentWillLoad({\n\t\t\tlabel: typeof this._label === 'string' ? this._label : '',\n\t\t});\n\t}\n\n\tpublic componentDidRender(): void {\n\t\tif (this.abbrRef) {\n\t\t\tthis.tooltipCtrl.syncListeners(undefined, this.abbrRef, true);\n\t\t}\n\t}\n\n\tpublic disconnectedCallback(): void {\n\t\tthis.tooltipCtrl.destroy();\n\t}\n}\n"]}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import { expect } from "@playwright/test";
|
|
5
|
-
import { test } from "@stencil/playwright";
|
|
6
|
-
import { Callback } from "../schema/enums";
|
|
7
|
-
import { KolEvent } from "../utils/events";
|
|
8
|
-
import { INPUTS_SELECTOR } from "./utils/inputsSelector";
|
|
9
|
-
const testInputCallbacksAndEvents = ({ additionalProperties = '', componentName, equalityCheck = 'toBe', expectedValue, fillAction, omittedEvents = [], selectInput, testValue = 'Test Input', }) => {
|
|
10
|
-
test.describe('Callbacks and DOM events', () => {
|
|
11
|
-
const EVENTS = [
|
|
12
|
-
['click', Callback.onClick, KolEvent.click],
|
|
13
|
-
['focus', Callback.onFocus, KolEvent.focus],
|
|
14
|
-
['blur', Callback.onBlur, KolEvent.blur],
|
|
15
|
-
['input', Callback.onInput, KolEvent.input, testValue, expectedValue !== null && expectedValue !== void 0 ? expectedValue : testValue],
|
|
16
|
-
['change', Callback.onChange, KolEvent.change, testValue, expectedValue !== null && expectedValue !== void 0 ? expectedValue : testValue],
|
|
17
|
-
];
|
|
18
|
-
EVENTS.filter(([eventName]) => !omittedEvents.includes(eventName)).forEach(([nativeEventName, callbackName, eventName, testValue, expectedValue]) => {
|
|
19
|
-
test(`should call ${callbackName} callback when internal input emits ${nativeEventName}`, async ({ page, browserName }) => {
|
|
20
|
-
test.skip(componentName === 'kol-input-color' && nativeEventName === 'click' && browserName === 'firefox', 'Clicking on an input[type=color] in Firefox currently makes the page close itself.');
|
|
21
|
-
await page.setContent(`<${componentName} _label="Input" ${additionalProperties}></${componentName}>`);
|
|
22
|
-
const component = page.locator(componentName);
|
|
23
|
-
const input = selectInput ? selectInput(page) : page.locator(INPUTS_SELECTOR);
|
|
24
|
-
const callbackPromise = component.evaluate((element, callbackName) => {
|
|
25
|
-
return new Promise((resolve) => {
|
|
26
|
-
element._on = {
|
|
27
|
-
[callbackName]: (_event, value) => {
|
|
28
|
-
resolve(value);
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
});
|
|
32
|
-
}, callbackName);
|
|
33
|
-
const eventPromise = component.evaluate((element, eventName) => {
|
|
34
|
-
return new Promise((resolve) => {
|
|
35
|
-
element.addEventListener(eventName, (event) => {
|
|
36
|
-
resolve(event.detail);
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
|
-
}, eventName);
|
|
40
|
-
await page.waitForChanges();
|
|
41
|
-
if (fillAction) {
|
|
42
|
-
await fillAction(page);
|
|
43
|
-
}
|
|
44
|
-
else if (typeof testValue === 'string') {
|
|
45
|
-
await page.locator(INPUTS_SELECTOR).fill(testValue);
|
|
46
|
-
}
|
|
47
|
-
await page.waitForChanges();
|
|
48
|
-
await input.dispatchEvent(nativeEventName);
|
|
49
|
-
await expect(callbackPromise).resolves[equalityCheck](expectedValue);
|
|
50
|
-
await expect(eventPromise).resolves[equalityCheck](expectedValue !== null && expectedValue !== void 0 ? expectedValue : null);
|
|
51
|
-
});
|
|
52
|
-
});
|
|
53
|
-
});
|
|
54
|
-
};
|
|
55
|
-
export { testInputCallbacksAndEvents };
|
|
56
|
-
//# sourceMappingURL=input-callbacks-and-events.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input-callbacks-and-events.js","sourceRoot":"","sources":["../../src/e2e/input-callbacks-and-events.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAa,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAgB,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAEzD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAazD,MAAM,2BAA2B,GAAG,CAAgF,EACnH,oBAAoB,GAAG,EAAE,EACzB,aAAa,EACb,aAAa,GAAG,MAAM,EACtB,aAAa,EACb,UAAU,EACV,aAAa,GAAG,EAAE,EAClB,WAAW,EACX,SAAS,GAAG,YAAY,GACY,EAAE,EAAE;IACxC,IAAI,CAAC,QAAQ,CAAC,0BAA0B,EAAE,GAAG,EAAE;QAC9C,MAAM,MAAM,GAAu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CAAC;gBACrE,MAAM,MAAM,CAAC,YAAY,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,aAAa,aAAb,aAAa,cAAb,aAAa,GAAI,IAAI,CAAC,CAAC;YAC3E,CAAC,CAAC,CAAC;QACJ,CAAC,CAAC,CAAC;IACJ,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,EAAE,2BAA2B,EAAE,CAAC","sourcesContent":["import type { Locator } from '@playwright/test';\nimport { expect, type Page } from '@playwright/test';\nimport { type E2EPage, test } from '@stencil/playwright';\nimport type { InputTypeOnDefault } from '../schema';\nimport { Callback } from '../schema/enums';\nimport { KolEvent } from '../utils/events';\nimport type { FillAction } from './utils/FillAction';\nimport { INPUTS_SELECTOR } from './utils/inputsSelector';\n\ntype TestInputCallbacksAndEventsOptions = {\n\tadditionalProperties?: string;\n\tcomponentName: string;\n\tequalityCheck?: 'toBe' | 'toEqual';\n\texpectedValue?: unknown;\n\tfillAction?: FillAction;\n\tomittedEvents?: string[];\n\tselectInput?: (page: Page & E2EPage) => Locator;\n\ttestValue?: unknown;\n};\n\nconst testInputCallbacksAndEvents = <ElementType extends { _on?: InputTypeOnDefault } & (HTMLElement | SVGElement)>({\n\tadditionalProperties = '',\n\tcomponentName,\n\tequalityCheck = 'toBe',\n\texpectedValue,\n\tfillAction,\n\tomittedEvents = [],\n\tselectInput,\n\ttestValue = 'Test Input',\n}: TestInputCallbacksAndEventsOptions) => {\n\ttest.describe('Callbacks and DOM events', () => {\n\t\tconst EVENTS: [string, Callback, KolEvent, unknown?, unknown?][] = [\n\t\t\t['click', Callback.onClick, KolEvent.click],\n\t\t\t['focus', Callback.onFocus, KolEvent.focus],\n\t\t\t['blur', Callback.onBlur, KolEvent.blur],\n\t\t\t['input', Callback.onInput, KolEvent.input, testValue, expectedValue ?? testValue],\n\t\t\t['change', Callback.onChange, KolEvent.change, testValue, expectedValue ?? testValue],\n\t\t];\n\n\t\tEVENTS.filter(([eventName]) => !omittedEvents.includes(eventName)).forEach(([nativeEventName, callbackName, eventName, testValue, expectedValue]) => {\n\t\t\ttest(`should call ${callbackName} callback when internal input emits ${nativeEventName}`, async ({ page, browserName }) => {\n\t\t\t\t/* See https://github.com/microsoft/playwright/issues/33864 */\n\t\t\t\ttest.skip(\n\t\t\t\t\tcomponentName === 'kol-input-color' && nativeEventName === 'click' && browserName === 'firefox',\n\t\t\t\t\t'Clicking on an input[type=color] in Firefox currently makes the page close itself.',\n\t\t\t\t);\n\n\t\t\t\tawait page.setContent(`<${componentName} _label=\"Input\" ${additionalProperties}></${componentName}>`);\n\t\t\t\tconst component = page.locator(componentName);\n\t\t\t\tconst input = selectInput ? selectInput(page) : page.locator(INPUTS_SELECTOR);\n\n\t\t\t\tconst callbackPromise = component.evaluate((element: ElementType, callbackName) => {\n\t\t\t\t\treturn new Promise<unknown>((resolve) => {\n\t\t\t\t\t\telement._on = {\n\t\t\t\t\t\t\t[callbackName]: (_event: InputEvent, value?: unknown) => {\n\t\t\t\t\t\t\t\tresolve(value);\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}, callbackName);\n\n\t\t\t\tconst eventPromise = component.evaluate((element: ElementType, eventName: string) => {\n\t\t\t\t\treturn new Promise<unknown>((resolve) => {\n\t\t\t\t\t\telement.addEventListener(eventName, (event: Event) => {\n\t\t\t\t\t\t\tresolve((event as CustomEvent).detail);\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t}, eventName);\n\n\t\t\t\tawait page.waitForChanges();\n\n\t\t\t\tif (fillAction) {\n\t\t\t\t\tawait fillAction(page);\n\t\t\t\t} else if (typeof testValue === 'string') {\n\t\t\t\t\tawait page.locator(INPUTS_SELECTOR).fill(testValue);\n\t\t\t\t}\n\t\t\t\tawait page.waitForChanges();\n\t\t\t\tawait input.dispatchEvent(nativeEventName);\n\n\t\t\t\tawait expect(callbackPromise).resolves[equalityCheck](expectedValue);\n\t\t\t\tawait expect(eventPromise).resolves[equalityCheck](expectedValue ?? null); // For no value, callbacks use `undefined`, the event detail is `null`.\n\t\t\t});\n\t\t});\n\t});\n};\n\nexport { testInputCallbacksAndEvents };\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"variant-quote.js","mappings":";;;;;;AAMA,SAAS,kBAAkB,GAAA;AAC1B,IAAA,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC;AACjE;MAOsB,gBAAgB,GAAA,cAAA,WAAA,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;AACD;;AAjBuB,gBAAA,CAAA,SAAS,GAAuB,MAAM,CAAC,MAAM,CAAC;AACpE,IAAA,QAAQ,EAAE,kBAAkB;AAC5B,IAAA,QAAQ,EAAE,kBAAkB;AAC5B,CAAA,CAAC;;ACFH,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;;;;","names":[],"sources":["src/internal/functional-components/base-web-component.ts","src/internal/props/loading.ts","src/internal/props/variant-quote.ts"],"sourcesContent":["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","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"],"version":3}
|