@public-ui/components 4.3.0-rc.1 → 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-DGeuWGwx.js → Alert-sCyOqN4Y.js} +7 -7
- package/dist/cjs/{Alert-DGeuWGwx.js.map → Alert-sCyOqN4Y.js.map} +1 -1
- package/dist/cjs/{Collapsible-D5MJpSsb.js → Collapsible-CXL7ivPf.js} +5 -5
- package/dist/cjs/{Collapsible-D5MJpSsb.js.map → Collapsible-CXL7ivPf.js.map} +1 -1
- package/dist/cjs/{CustomSuggestionsOptionsGroup-CXqRxSlV.js → CustomSuggestionsOptionsGroup-IZUE2a0s.js} +3 -3
- package/dist/cjs/{CustomSuggestionsOptionsGroup-CXqRxSlV.js.map → CustomSuggestionsOptionsGroup-IZUE2a0s.js.map} +1 -1
- package/dist/cjs/{FieldControlStateWrapper-9AbnJdJw.js → FieldControlStateWrapper-BO2aCnw8.js} +10 -10
- package/dist/cjs/{FieldControlStateWrapper-9AbnJdJw.js.map → FieldControlStateWrapper-BO2aCnw8.js.map} +1 -1
- package/dist/cjs/{FormFieldStateWrapper-D8PA3SkL.js → FormFieldStateWrapper-6k6Tq8hj.js} +37 -26
- package/dist/cjs/FormFieldStateWrapper-6k6Tq8hj.js.map +1 -0
- package/dist/cjs/{Heading-D9SmGbfD.js → Heading-B6Xi_fyv.js} +3 -3
- package/dist/cjs/{Heading-D9SmGbfD.js.map → Heading-B6Xi_fyv.js.map} +1 -1
- package/dist/cjs/{Input-7dreufF0.js → Input-C1rCVtkO.js} +5 -5
- package/dist/cjs/{Input-7dreufF0.js.map → Input-C1rCVtkO.js.map} +1 -1
- package/dist/cjs/{InputStateWrapper-ntE05AJl.js → InputStateWrapper-CpejkP8n.js} +6 -6
- package/dist/cjs/{InputStateWrapper-ntE05AJl.js.map → InputStateWrapper-CpejkP8n.js.map} +1 -1
- package/dist/cjs/{app-globals-DS0A1y3l.js → app-globals-DY0OQlRq.js} +4 -4
- package/dist/cjs/{app-globals-DS0A1y3l.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-BpTg8PCv.js → component-D25hbRHL.js} +4 -4
- package/dist/cjs/{component-BpTg8PCv.js.map → component-D25hbRHL.js.map} +1 -1
- package/dist/cjs/{component-BEcrKHc2.js → component-D40K1uIa.js} +5 -5
- package/dist/cjs/{component-BEcrKHc2.js.map → component-D40K1uIa.js.map} +1 -1
- package/dist/cjs/{component-DA5ZXmFP.js → component-DprxeWfH.js} +4 -4
- package/dist/cjs/{component-DA5ZXmFP.js.map → component-DprxeWfH.js.map} +1 -1
- package/dist/cjs/{component-U7UWIKdR.js → component-b-BmClT0.js} +4 -4
- package/dist/cjs/{component-U7UWIKdR.js.map → component-b-BmClT0.js.map} +1 -1
- package/dist/cjs/{controller-DmoMYYzy.js → controller-DZKfoc-4.js} +3 -3
- package/dist/cjs/{controller-DmoMYYzy.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-CWTdHXvg.js → controller-DmyMo0CO.js} +3 -3
- package/dist/cjs/{controller-CWTdHXvg.js.map → controller-DmyMo0CO.js.map} +1 -1
- package/dist/cjs/{controller-Br37uto2.js → controller-MC2o6IAB.js} +3 -3
- package/dist/cjs/{controller-Br37uto2.js.map → controller-MC2o6IAB.js.map} +1 -1
- package/dist/cjs/{controller-icon-CdwPO8hD.js → controller-icon-DyQbzU-v.js} +6 -6
- package/dist/cjs/{controller-icon-CdwPO8hD.js.map → controller-icon-DyQbzU-v.js.map} +1 -1
- package/dist/cjs/{dev.utils-BaRzDChI.js → dev.utils-DvNz4B2G.js} +3 -3
- package/dist/cjs/{dev.utils-BaRzDChI.js.map → dev.utils-DvNz4B2G.js.map} +1 -1
- package/dist/cjs/{devtools-Ch90JQxx.js → devtools-DpjUkBF_.js} +4 -4
- package/dist/cjs/{devtools-Ch90JQxx.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-Dk00HcEs.js → index-Bo9_lDIt.js} +3 -3
- package/dist/cjs/{index-Dk00HcEs.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-2bYvhb8i.js → Alert-LeFfZ8Oj.js} +7 -7
- package/dist/{kolibri/Alert-2bYvhb8i.js.map → esm/Alert-LeFfZ8Oj.js.map} +1 -1
- package/dist/esm/{Collapsible-OjK6lDr2.js → Collapsible-BG8kZny4.js} +5 -5
- package/dist/{kolibri/Collapsible-OjK6lDr2.js.map → esm/Collapsible-BG8kZny4.js.map} +1 -1
- package/dist/esm/{CustomSuggestionsOptionsGroup-Cw_y_smw.js → CustomSuggestionsOptionsGroup--3PdjAdp.js} +3 -3
- package/dist/{kolibri/CustomSuggestionsOptionsGroup-Cw_y_smw.js.map → esm/CustomSuggestionsOptionsGroup--3PdjAdp.js.map} +1 -1
- package/dist/esm/{FieldControlStateWrapper-CU6OjlrU.js → FieldControlStateWrapper-BJghqA8K.js} +10 -10
- package/dist/{kolibri/FieldControlStateWrapper-CU6OjlrU.js.map → esm/FieldControlStateWrapper-BJghqA8K.js.map} +1 -1
- package/dist/esm/{FormFieldStateWrapper-C31luuWs.js → FormFieldStateWrapper-D1Q6Lpff.js} +43 -32
- package/dist/esm/FormFieldStateWrapper-D1Q6Lpff.js.map +1 -0
- package/dist/esm/{Heading-C9p_CRv4.js → Heading-uCdB_mbH.js} +3 -3
- package/dist/esm/{Heading-C9p_CRv4.js.map → Heading-uCdB_mbH.js.map} +1 -1
- package/dist/esm/{Input-CwcyFZhB.js → Input-Cu811opH.js} +6 -6
- package/dist/{kolibri/Input-CwcyFZhB.js.map → esm/Input-Cu811opH.js.map} +1 -1
- package/dist/esm/{InputStateWrapper-CcDZH7W5.js → InputStateWrapper-Cl_V9Vuo.js} +6 -6
- package/dist/esm/{InputStateWrapper-CcDZH7W5.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-Cwf240Bw.js → app-globals-DMlUA9Gw.js} +5 -5
- package/dist/esm/{app-globals-Cwf240Bw.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/esm/{bootstrap-UOb6OarC.js.map → 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-j5NhcleS.js → component-2ImIjrdm.js} +4 -4
- package/dist/{kolibri/component-j5NhcleS.js.map → esm/component-2ImIjrdm.js.map} +1 -1
- package/dist/esm/{component-ijX_kUom.js → component-DI3pO3QY.js} +4 -4
- package/dist/esm/{component-ijX_kUom.js.map → component-DI3pO3QY.js.map} +1 -1
- package/dist/esm/{component-4RtkhTfb.js → component-DbrY6RW_.js} +6 -6
- package/dist/{kolibri/component-4RtkhTfb.js.map → esm/component-DbrY6RW_.js.map} +1 -1
- package/dist/esm/{component-BFsdrctP.js → component-fsnfw59D.js} +4 -4
- package/dist/esm/{component-BFsdrctP.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-DvdfA2RR.js → controller-B2Qb2oqz.js} +7 -7
- package/dist/{kolibri/controller-DvdfA2RR.js.map → esm/controller-B2Qb2oqz.js.map} +1 -1
- package/dist/esm/{controller-B4DO-yV0.js → controller-BuikHDKh.js} +6 -6
- package/dist/{kolibri/controller-B4DO-yV0.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-CcrsrzWi.js → controller-DiWO-Gw_.js} +10 -10
- package/dist/esm/{controller-CcrsrzWi.js.map → controller-DiWO-Gw_.js.map} +1 -1
- package/dist/esm/{controller-icon-D3_aQk9W.js → controller-icon-DaBPXypo.js} +8 -8
- package/dist/esm/{controller-icon-D3_aQk9W.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-Cv9uCwkA.js → dev.utils-Ce_5C3Pe.js} +4 -4
- package/dist/{kolibri/dev.utils-Cv9uCwkA.js.map → esm/dev.utils-Ce_5C3Pe.js.map} +1 -1
- package/dist/esm/{devtools-BOWjtOAI.js → devtools-yLGw7QsN.js} +5 -5
- package/dist/esm/{devtools-BOWjtOAI.js.map → 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/{kolibri/icons-DOGnS2Iv.js.map → esm/icons-BfxrxChI.js.map} +1 -1
- package/dist/esm/{index-DqvPZ16l.js → index-CwtGN7ID.js} +4 -4
- package/dist/esm/{index-DqvPZ16l.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-2bYvhb8i.js.map → kolibri/Alert-LeFfZ8Oj.js.map} +1 -1
- package/dist/kolibri/{Collapsible-OjK6lDr2.js → Collapsible-BG8kZny4.js} +2 -2
- package/dist/{esm/Collapsible-OjK6lDr2.js.map → kolibri/Collapsible-BG8kZny4.js.map} +1 -1
- package/dist/kolibri/{CustomSuggestionsOptionsGroup-Cw_y_smw.js → CustomSuggestionsOptionsGroup--3PdjAdp.js} +2 -2
- package/dist/{esm/CustomSuggestionsOptionsGroup-Cw_y_smw.js.map → kolibri/CustomSuggestionsOptionsGroup--3PdjAdp.js.map} +1 -1
- package/dist/kolibri/FieldControlStateWrapper-BJghqA8K.js +5 -0
- package/dist/{esm/FieldControlStateWrapper-CU6OjlrU.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-C9p_CRv4.js → Heading-uCdB_mbH.js} +2 -2
- package/dist/kolibri/{Heading-C9p_CRv4.js.map → Heading-uCdB_mbH.js.map} +1 -1
- package/dist/kolibri/Input-Cu811opH.js +5 -0
- package/dist/{esm/Input-CwcyFZhB.js.map → kolibri/Input-Cu811opH.js.map} +1 -1
- package/dist/kolibri/{InputStateWrapper-CcDZH7W5.js → InputStateWrapper-Cl_V9Vuo.js} +2 -2
- package/dist/kolibri/{InputStateWrapper-CcDZH7W5.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-Cwf240Bw.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/kolibri/{bootstrap-UOb6OarC.js.map → 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-j5NhcleS.js.map → kolibri/component-2ImIjrdm.js.map} +1 -1
- package/dist/kolibri/component-DI3pO3QY.js +5 -0
- package/dist/kolibri/{component-ijX_kUom.js.map → component-DI3pO3QY.js.map} +1 -1
- package/dist/kolibri/{component-4RtkhTfb.js → component-DbrY6RW_.js} +2 -2
- package/dist/{esm/component-4RtkhTfb.js.map → kolibri/component-DbrY6RW_.js.map} +1 -1
- package/dist/kolibri/component-fsnfw59D.js +5 -0
- package/dist/kolibri/{component-BFsdrctP.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-DvdfA2RR.js.map → kolibri/controller-B2Qb2oqz.js.map} +1 -1
- package/dist/kolibri/controller-BuikHDKh.js +5 -0
- package/dist/{esm/controller-B4DO-yV0.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-CcrsrzWi.js → controller-DiWO-Gw_.js} +2 -2
- package/dist/kolibri/{controller-CcrsrzWi.js.map → controller-DiWO-Gw_.js.map} +1 -1
- package/dist/kolibri/{controller-icon-D3_aQk9W.js → controller-icon-DaBPXypo.js} +2 -2
- package/dist/kolibri/{controller-icon-D3_aQk9W.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-Cv9uCwkA.js.map → kolibri/dev.utils-Ce_5C3Pe.js.map} +1 -1
- package/dist/kolibri/devtools-yLGw7QsN.js +5 -0
- package/dist/kolibri/{devtools-BOWjtOAI.js.map → 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/{esm/icons-DOGnS2Iv.js.map → kolibri/icons-BfxrxChI.js.map} +1 -1
- package/dist/kolibri/{index-DqvPZ16l.js → index-CwtGN7ID.js} +3 -3
- package/dist/kolibri/{index-DqvPZ16l.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-D8PA3SkL.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-C31luuWs.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-2bYvhb8i.js +0 -5
- package/dist/kolibri/FieldControlStateWrapper-CU6OjlrU.js +0 -5
- package/dist/kolibri/FormFieldStateWrapper-C31luuWs.js +0 -5
- package/dist/kolibri/FormFieldStateWrapper-C31luuWs.js.map +0 -1
- package/dist/kolibri/Input-CwcyFZhB.js +0 -5
- package/dist/kolibri/app-globals-Cwf240Bw.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-BFsdrctP.js +0 -5
- package/dist/kolibri/component-ijX_kUom.js +0 -5
- package/dist/kolibri/component-j5NhcleS.js +0 -5
- package/dist/kolibri/controller-B4DO-yV0.js +0 -5
- package/dist/kolibri/controller-DvdfA2RR.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-Cv9uCwkA.js +0 -5
- package/dist/kolibri/devtools-BOWjtOAI.js +0 -5
- package/dist/kolibri/has-closer-GBI76y-L.js +0 -5
- package/dist/kolibri/hide-label-CWFMK5Iz.js +0 -5
- package/dist/kolibri/href-yQN98Z4F.js +0 -5
- package/dist/kolibri/i18n-B2d_exHc.js +0 -5
- package/dist/kolibri/i18n-B2d_exHc.js.map +0 -1
- package/dist/kolibri/i18n-CaL2ODdQ.js +0 -5
- package/dist/kolibri/inline-D3v7pifU.js +0 -5
- package/dist/kolibri/label-Cg7TG_7b.js +0 -5
- package/dist/kolibri/max-length-behavior-426q5CU6.js +0 -5
- package/dist/kolibri/multiple-LEiooHN4.js +0 -5
- package/dist/kolibri/open-Djbpz6kg.js +0 -5
- package/dist/kolibri/placeholder-CSgrK1Zh.js +0 -5
- package/dist/kolibri/read-only-DyuIPHMt.js +0 -5
- package/dist/kolibri/required-DAsW5lI1.js +0 -5
- package/dist/kolibri/rows-Bdp885AQ.js +0 -5
- package/dist/kolibri/spell-check-CSnDB95u.js +0 -5
- package/dist/kolibri/src-C8dP-FLK.js +0 -5
- package/dist/kolibri/suggestions-Cnn1r8zc.js +0 -5
- package/dist/kolibri/tooltip-align-DzHPWEpv.js +0 -5
- package/dist/kolibri/unique-nav-labels-7ifGcuBZ.js +0 -5
- package/dist/kolibri/validation-B8MhupBp.js +0 -5
- package/dist/kolibri/validation-VhuthteS.js +0 -5
- package/dist/kolibri/value-number-clamped-BQ9jw4HR.js +0 -5
- package/dist/kolibri/variant-quote-BMV8GZX8.js +0 -5
- package/dist/kolibri/variant-quote-BMV8GZX8.js.map +0 -1
- package/dist/types/components/abbr/shadow.d.ts +0 -14
- package/dist/types/e2e/input-callbacks-and-events.d.ts +0 -19
|
@@ -18,9 +18,14 @@
|
|
|
18
18
|
@layer kol-a11y {
|
|
19
19
|
:host {
|
|
20
20
|
/*
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
* Minimum size of interactive elements.
|
|
22
|
+
*
|
|
23
|
+
* The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:
|
|
24
|
+
* `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose
|
|
25
|
+
* sub-pixel precision and resolve to e.g. 43.99px depending on the browser's
|
|
26
|
+
* rounding, dropping just below the required minimum.
|
|
27
|
+
*/
|
|
28
|
+
--a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);
|
|
24
29
|
/*
|
|
25
30
|
* No element should be used without verifying the contrast ratio of its background and font colors.
|
|
26
31
|
* By initially setting the background color to white and the font color to black,
|
|
@@ -202,8 +207,8 @@
|
|
|
202
207
|
}
|
|
203
208
|
@font-face {
|
|
204
209
|
font-family: "kolicons";
|
|
205
|
-
src: url("kolicons.eot?t=
|
|
206
|
-
src: url("kolicons.eot?t=
|
|
210
|
+
src: url("kolicons.eot?t=1782311579243"); /* IE9*/
|
|
211
|
+
src: url("kolicons.eot?t=1782311579243#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1782311579243") format("woff2"), url("kolicons.woff?t=1782311579243") format("woff"), url("kolicons.ttf?t=1782311579243") format("truetype"), url("kolicons.svg?t=1782311579243#kolicons") format("svg"); /* iOS 4.1- */
|
|
207
212
|
}
|
|
208
213
|
@layer kol-component {
|
|
209
214
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -420,7 +425,7 @@
|
|
|
420
425
|
justify-content: flex-start;
|
|
421
426
|
}
|
|
422
427
|
.kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden])::after,
|
|
423
|
-
.kol-form-field--required .kol-tooltip__content .kol-span__label::after {
|
|
428
|
+
.kol-form-field--required .kol-form-field .kol-tooltip__content .kol-span__label::after {
|
|
424
429
|
content: "*"/"";
|
|
425
430
|
}
|
|
426
431
|
.kol-input-container {
|
|
@@ -56,11 +56,11 @@ export class KolPopoverButtonWc {
|
|
|
56
56
|
async focus(options) { }
|
|
57
57
|
async click() { }
|
|
58
58
|
render() {
|
|
59
|
-
return (h(Fragment, null, h(KolButtonWcTag, { key: '
|
|
59
|
+
return (h(Fragment, null, h(KolButtonWcTag, { key: '2d1b167c6ced479392dd8764e284e6e098803e17', class: clsx('kol-popover-button', {
|
|
60
60
|
'kol-popover-button--open': this.popoverOpen,
|
|
61
61
|
'kol-popover-button--inline': this.state._inline === true,
|
|
62
62
|
'kol-popover-button--standalone': this.state._inline === false,
|
|
63
|
-
}), _accessKey: this._accessKey, _ariaControls: this.popoverId, _ariaDescription: this._ariaDescription, _ariaExpanded: this.popoverOpen, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _id: this._id, _inline: this._inline, _label: this._label, _name: this._name, _on: this.on, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant, ref: this.setButtonElementRef }, h("slot", { key: '
|
|
63
|
+
}), _accessKey: this._accessKey, _ariaControls: this.popoverId, _ariaDescription: this._ariaDescription, _ariaExpanded: this.popoverOpen, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _id: this._id, _inline: this._inline, _label: this._label, _name: this._name, _on: this.on, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant, ref: this.setButtonElementRef }, h("slot", { key: '30edf43ae3c307ad352e2731d1a378bd3bf114af', name: "expert", slot: "expert" })), h(PopoverFC, { key: '939edeb43402a010d9a15ebfb98aaf4c07df3ff1', align: this.state._popoverAlign || 'bottom', popoverRef: this.setPopoverElementRef, class: "kol-popover-button__popover", id: this.popoverId }, h("slot", { key: '48827da834b0eddb7052fb6a4718d8c16a1d9089' }))));
|
|
64
64
|
}
|
|
65
65
|
validateInline(value) {
|
|
66
66
|
validateInline(this, value, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/components/popover-button/component.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD;AA1La;IAHZ,WAAW,CAAC,QAAQ,CAAC;+CAGyC;AAOlD;IADZ,WAAW,CAAC,QAAQ,CAAC;+CACgB","sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Component, Fragment, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { KolButtonWcTag } from '../../core/component-names';\nimport { PopoverFC } from '../../internal/functional-components/popover/component';\nimport { PopoverController } from '../../internal/functional-components/popover/controller';\nimport type {\n\tAccessKeyPropType,\n\tAriaDescriptionPropType,\n\tButtonCallbacksPropType,\n\tButtonTypePropType,\n\tButtonVariantPropType,\n\tCustomClassPropType,\n\tFocusableElement,\n\tIconsPropType,\n\tIdPropType,\n\tInlinePropType,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tPopoverAlignPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n} from '../../schema';\nimport { validateInline, validatePopoverAlign } from '../../schema';\nimport type { PopoverButtonProps, PopoverButtonStates } from '../../schema/components/popover-button';\nimport clsx from '../../utils/clsx';\nimport { createUniqueId } from '../../utils/dev.utils';\nimport { createCtaRef, directClick, directFocus } from '../../utils/element-interaction';\n\n/**\n * @internal\n * @slot - The popover content.\n *\n * **Note:** The `_on` button callback prop is not supported. The button's `onClick` is reserved for toggling the popover.\n * Manage the popover visibility state and coordinate with the internal popover element.\n */\n@Component({\n\ttag: 'kol-popover-button-wc',\n\tshadow: false,\n})\n// class implementing PopoverButtonProps and not API because we don't want to repeat the entire state and validation for button props\nexport class KolPopoverButtonWc implements PopoverButtonProps, FocusableElement {\n\tprotected readonly ctaRef = createCtaRef<HTMLKolButtonWcElement>();\n\tprivate readonly popoverCtrl = new PopoverController();\n\tprivate popoverElement?: HTMLDivElement;\n\tprivate readonly popoverId = createUniqueId('popover');\n\n\tprivate readonly setPopoverElementRef = (element?: HTMLDivElement) => {\n\t\tthis.popoverElement = element;\n\t\tthis.popoverCtrl.setPopoverElementRef(element);\n\t};\n\n\tprivate readonly setButtonElementRef = (element?: HTMLKolButtonWcElement) => {\n\t\tthis.ctaRef(element);\n\t\tif (element) {\n\t\t\tthis.popoverCtrl.setTriggerElement(element as HTMLElement);\n\t\t}\n\t};\n\n\tprivate on: ButtonCallbacksPropType<StencilUnknown> = {\n\t\tonClick: () => {\n\t\t\tthis.popoverCtrl.setShow(!this.popoverOpen);\n\t\t},\n\t};\n\n\t@State() public state: PopoverButtonStates = {\n\t\t_label: '',\n\t\t_popoverAlign: 'bottom',\n\t\t_inline: false,\n\t};\n\t@State() private popoverOpen = false;\n\n\t/**\n\t * Hides the popover programmatically by calling the PopoverController.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async hidePopover() {\n\t\tthis.popoverCtrl.setShow(false);\n\t}\n\n\t/**\n\t * Show the popover programmatically by calling the PopoverController.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async showPopover() {\n\t\tthis.popoverCtrl.setShow(true);\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@directFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@directClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\tprivate handleToggle = (event: Event): void => {\n\t\tthis.popoverOpen = (event as ToggleEvent).newState === 'open';\n\t};\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<>\n\t\t\t\t<KolButtonWcTag\n\t\t\t\t\tclass={clsx('kol-popover-button', {\n\t\t\t\t\t\t'kol-popover-button--open': this.popoverOpen,\n\t\t\t\t\t\t'kol-popover-button--inline': this.state._inline === true,\n\t\t\t\t\t\t'kol-popover-button--standalone': this.state._inline === false,\n\t\t\t\t\t})}\n\t\t\t\t\t_accessKey={this._accessKey}\n\t\t\t\t\t_ariaControls={this.popoverId}\n\t\t\t\t\t_ariaDescription={this._ariaDescription}\n\t\t\t\t\t_ariaExpanded={this.popoverOpen}\n\t\t\t\t\t_customClass={this._customClass}\n\t\t\t\t\t_disabled={this._disabled}\n\t\t\t\t\t_hideLabel={this._hideLabel}\n\t\t\t\t\t_icons={this._icons}\n\t\t\t\t\t_id={this._id}\n\t\t\t\t\t_inline={this._inline}\n\t\t\t\t\t_label={this._label}\n\t\t\t\t\t_name={this._name}\n\t\t\t\t\t_on={this.on}\n\t\t\t\t\t_shortKey={this._shortKey}\n\t\t\t\t\t_syncValueBySelector={this._syncValueBySelector}\n\t\t\t\t\t_tabIndex={this._tabIndex}\n\t\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t\t_type={this._type}\n\t\t\t\t\t_value={this._value}\n\t\t\t\t\t_variant={this._variant}\n\t\t\t\t\tref={this.setButtonElementRef}\n\t\t\t\t>\n\t\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t\t</KolButtonWcTag>\n\t\t\t\t<PopoverFC align={this.state._popoverAlign || 'bottom'} popoverRef={this.setPopoverElementRef} class=\"kol-popover-button__popover\" id={this.popoverId}>\n\t\t\t\t\t<slot />\n\t\t\t\t</PopoverFC>\n\t\t\t</>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\n\n\t/**\n\t * Defines the custom class attribute if _variant=\"custom\" is set.\n\t */\n\t@Prop() public _customClass?: CustomClassPropType;\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsPropType;\n\n\t/**\n\t * Defines the internal ID of the primary component element.\n\t * @internal\n\t */\n\t@Prop() public _id?: IdPropType;\n\n\t/**\n\t * Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.\n\t */\n\t@Prop() public _inline?: InlinePropType = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: string;\n\n\t/**\n\t * Defines where to show the Popover preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _popoverAlign?: PopoverAlignPropType = 'bottom';\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex)\n\t */\n\t@Prop() public _tabIndex?: number;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: ButtonTypePropType = 'button';\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop() public _value?: StencilUnknown;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: ButtonVariantPropType = 'normal';\n\n\t@Watch('_inline')\n\tpublic validateInline(value?: InlinePropType): void {\n\t\tvalidateInline(this, value, {\n\t\t\tdefaultValue: false,\n\t\t});\n\t}\n\n\t@Watch('_popoverAlign')\n\tpublic validatePopoverAlign(value?: PopoverAlignPropType): void {\n\t\tvalidatePopoverAlign(this, value);\n\t\tif (value) {\n\t\t\tthis.popoverCtrl.setAlign(value);\n\t\t}\n\t}\n\n\tpublic componentWillLoad() {\n\t\tthis.validateInline(this._inline);\n\t\tthis.validatePopoverAlign(this._popoverAlign);\n\t}\n\n\tpublic componentDidRender() {\n\t\t// The popoverElement is already set via popoverRef callback from PopoverFC.\n\t\t// Register the toggle listener once the popover element is available.\n\t\tif (this.popoverElement) {\n\t\t\tthis.popoverElement.addEventListener('toggle', this.handleToggle);\n\t\t}\n\t\t// Ensure align value is synced with controller\n\t\tif (this.state._popoverAlign) {\n\t\t\tthis.popoverCtrl.setAlign(this.state._popoverAlign);\n\t\t}\n\t}\n\n\tpublic disconnectedCallback() {\n\t\tif (this.popoverElement) {\n\t\t\tthis.popoverElement.removeEventListener('toggle', this.handleToggle);\n\t\t}\n\t\tthis.popoverCtrl.destroy();\n\t\tthis.popoverElement = undefined;\n\t}\n}\n"]}
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/components/popover-button/component.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACnF,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,wDAAwD,CAAC;AACnF,OAAO,EAAE,iBAAiB,EAAE,MAAM,yDAAyD,CAAC;AAqB5F,OAAO,EAAE,cAAc,EAAE,oBAAoB,EAAE,MA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from '../../core/component-names';\nimport { PopoverFC } from '../../internal/functional-components/popover/component';\nimport { PopoverController } from '../../internal/functional-components/popover/controller';\nimport type {\n\tAccessKeyPropType,\n\tAriaDescriptionPropType,\n\tButtonCallbacksPropType,\n\tButtonTypePropType,\n\tButtonVariantPropType,\n\tClickableElement,\n\tCustomClassPropType,\n\tFocusableElement,\n\tIconsPropType,\n\tIdPropType,\n\tInlinePropType,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tPopoverAlignPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n} from '../../schema';\nimport { validateInline, validatePopoverAlign } from '../../schema';\nimport type { PopoverButtonProps, PopoverButtonStates } from '../../schema/components/popover-button';\nimport clsx from '../../utils/clsx';\nimport { createUniqueId } from '../../utils/dev.utils';\nimport { createCtaRef, directClick, directFocus } from '../../utils/element-interaction';\n\n/**\n * @internal\n * @slot - The popover content.\n *\n * **Note:** The `_on` button callback prop is not supported. The button's `onClick` is reserved for toggling the popover.\n * Manage the popover visibility state and coordinate with the internal popover element.\n */\n@Component({\n\ttag: 'kol-popover-button-wc',\n\tshadow: false,\n})\n// class implementing PopoverButtonProps and not API because we don't want to repeat the entire state and validation for button props\nexport class KolPopoverButtonWc implements ClickableElement, FocusableElement, PopoverButtonProps {\n\tprotected readonly ctaRef = createCtaRef<HTMLKolButtonWcElement>();\n\tprivate readonly popoverCtrl = new PopoverController();\n\tprivate popoverElement?: HTMLDivElement;\n\tprivate readonly popoverId = createUniqueId('popover');\n\n\tprivate readonly setPopoverElementRef = (element?: HTMLDivElement) => {\n\t\tthis.popoverElement = element;\n\t\tthis.popoverCtrl.setPopoverElementRef(element);\n\t};\n\n\tprivate readonly setButtonElementRef = (element?: HTMLKolButtonWcElement) => {\n\t\tthis.ctaRef(element);\n\t\tif (element) {\n\t\t\tthis.popoverCtrl.setTriggerElement(element as HTMLElement);\n\t\t}\n\t};\n\n\tprivate on: ButtonCallbacksPropType<StencilUnknown> = {\n\t\tonClick: () => {\n\t\t\tthis.popoverCtrl.setShow(!this.popoverOpen);\n\t\t},\n\t};\n\n\t@State() public state: PopoverButtonStates = {\n\t\t_label: '',\n\t\t_popoverAlign: 'bottom',\n\t\t_inline: false,\n\t};\n\t@State() private popoverOpen = false;\n\n\t/**\n\t * Hides the popover programmatically by calling the PopoverController.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async hidePopover() {\n\t\tthis.popoverCtrl.setShow(false);\n\t}\n\n\t/**\n\t * Show the popover programmatically by calling the PopoverController.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async showPopover() {\n\t\tthis.popoverCtrl.setShow(true);\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@directFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@directClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\tprivate handleToggle = (event: Event): void => {\n\t\tthis.popoverOpen = (event as ToggleEvent).newState === 'open';\n\t};\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<>\n\t\t\t\t<KolButtonWcTag\n\t\t\t\t\tclass={clsx('kol-popover-button', {\n\t\t\t\t\t\t'kol-popover-button--open': this.popoverOpen,\n\t\t\t\t\t\t'kol-popover-button--inline': this.state._inline === true,\n\t\t\t\t\t\t'kol-popover-button--standalone': this.state._inline === false,\n\t\t\t\t\t})}\n\t\t\t\t\t_accessKey={this._accessKey}\n\t\t\t\t\t_ariaControls={this.popoverId}\n\t\t\t\t\t_ariaDescription={this._ariaDescription}\n\t\t\t\t\t_ariaExpanded={this.popoverOpen}\n\t\t\t\t\t_customClass={this._customClass}\n\t\t\t\t\t_disabled={this._disabled}\n\t\t\t\t\t_hideLabel={this._hideLabel}\n\t\t\t\t\t_icons={this._icons}\n\t\t\t\t\t_id={this._id}\n\t\t\t\t\t_inline={this._inline}\n\t\t\t\t\t_label={this._label}\n\t\t\t\t\t_name={this._name}\n\t\t\t\t\t_on={this.on}\n\t\t\t\t\t_shortKey={this._shortKey}\n\t\t\t\t\t_syncValueBySelector={this._syncValueBySelector}\n\t\t\t\t\t_tabIndex={this._tabIndex}\n\t\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t\t_type={this._type}\n\t\t\t\t\t_value={this._value}\n\t\t\t\t\t_variant={this._variant}\n\t\t\t\t\tref={this.setButtonElementRef}\n\t\t\t\t>\n\t\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t\t</KolButtonWcTag>\n\t\t\t\t<PopoverFC align={this.state._popoverAlign || 'bottom'} popoverRef={this.setPopoverElementRef} class=\"kol-popover-button__popover\" id={this.popoverId}>\n\t\t\t\t\t<slot />\n\t\t\t\t</PopoverFC>\n\t\t\t</>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\n\n\t/**\n\t * Defines the custom class attribute if _variant=\"custom\" is set.\n\t */\n\t@Prop() public _customClass?: CustomClassPropType;\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsPropType;\n\n\t/**\n\t * Defines the internal ID of the primary component element.\n\t * @internal\n\t */\n\t@Prop() public _id?: IdPropType;\n\n\t/**\n\t * Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.\n\t */\n\t@Prop() public _inline?: InlinePropType = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: string;\n\n\t/**\n\t * Defines where to show the Popover preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _popoverAlign?: PopoverAlignPropType = 'bottom';\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex)\n\t */\n\t@Prop() public _tabIndex?: number;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: ButtonTypePropType = 'button';\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop() public _value?: StencilUnknown;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: ButtonVariantPropType = 'normal';\n\n\t@Watch('_inline')\n\tpublic validateInline(value?: InlinePropType): void {\n\t\tvalidateInline(this, value, {\n\t\t\tdefaultValue: false,\n\t\t});\n\t}\n\n\t@Watch('_popoverAlign')\n\tpublic validatePopoverAlign(value?: PopoverAlignPropType): void {\n\t\tvalidatePopoverAlign(this, value);\n\t\tif (value) {\n\t\t\tthis.popoverCtrl.setAlign(value);\n\t\t}\n\t}\n\n\tpublic componentWillLoad() {\n\t\tthis.validateInline(this._inline);\n\t\tthis.validatePopoverAlign(this._popoverAlign);\n\t}\n\n\tpublic componentDidRender() {\n\t\t// The popoverElement is already set via popoverRef callback from PopoverFC.\n\t\t// Register the toggle listener once the popover element is available.\n\t\tif (this.popoverElement) {\n\t\t\tthis.popoverElement.addEventListener('toggle', this.handleToggle);\n\t\t}\n\t\t// Ensure align value is synced with controller\n\t\tif (this.state._popoverAlign) {\n\t\t\tthis.popoverCtrl.setAlign(this.state._popoverAlign);\n\t\t}\n\t}\n\n\tpublic disconnectedCallback() {\n\t\tif (this.popoverElement) {\n\t\t\tthis.popoverElement.removeEventListener('toggle', this.handleToggle);\n\t\t}\n\t\tthis.popoverCtrl.destroy();\n\t\tthis.popoverElement = undefined;\n\t}\n}\n"]}
|
|
@@ -27,7 +27,7 @@ export class KolPopoverButton {
|
|
|
27
27
|
async click() { }
|
|
28
28
|
async focus(options) { }
|
|
29
29
|
render() {
|
|
30
|
-
return (h(KolPopoverButtonWcTag, { key: '
|
|
30
|
+
return (h(KolPopoverButtonWcTag, { key: '31f3f10dd9eee8e1e3432b78f0fc1474476e8024', ref: this.ctaRef, _accessKey: this._accessKey, _ariaDescription: this._ariaDescription, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _inline: this._inline, _label: this._label, _name: this._name, _popoverAlign: this._popoverAlign, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }, h("slot", { key: 'dd9f7dddf8364233210c1674b9a64f32cbb50b7b', name: "expert", slot: "expert" }), h("slot", { key: '2e2fe5c0f3d3ec6b370e446dbcad0479d76b244d' })));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "kol-popover-button"; }
|
|
33
33
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shadow.js","sourceRoot":"","sources":["../../../src/components/popover-button/shadow.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"shadow.js","sourceRoot":"","sources":["../../../src/components/popover-button/shadow.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAoBnE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAgB7F,MAAM,OAAO,gBAAgB;IAP7B;QASoB,WAAM,GAAG,YAAY,EAAiC,CAAC;QAkF3D,cAAS,GAAa,KAAK,CAAC;QAO5B,eAAU,GAAa,KAAK,CAAC;QAU7B,YAAO,GAAoB,KAAK,CAAC;QAejC,kBAAa,GAA0B,QAAQ,CAAC;QAqBhD,kBAAa,GAA0B,KAAK,CAAC;QAK7C,UAAK,GAAwB,QAAQ,CAAC;QAUtC,aAAQ,GAA2B,QAAQ,CAAC;KAC3D;IAhJO,KAAK,CAAC,WAAW;;QACvB,KAAK,CAAA,MAAA,IAAI,CAAC,MAAM,CAAC,EAAE,0CAAE,WAAW,EAAE,CAAA,CAAC;IACpC,CAAC;IAOM,KAAK,CAAC,WAAW;;QACvB,KAAK,CAAA,MAAA,IAAI,CAAC,MAAM,CAAC,EAAE,0CAAE,WAAW,EAAE,CAAA,CAAC;IACpC,CAAC;IAOY,AAAN,KAAK,CAAC,KAAK,KAAmB,CAAC;IASzB,AAAN,KAAK,CAAC,KAAK,CAAC,OAAyB,IAAkB,CA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyFD;AA9Ha;IADZ,aAAa,CAAC,QAAQ,CAAC;6CACc;AASzB;IAHZ,aAAa,CAAC,QAAQ,CAAC;6CAGuC","sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop } from '@stencil/core';\nimport { KolPopoverButtonWcTag } from '../../core/component-names';\nimport type {\n\tAccessKeyPropType,\n\tAriaDescriptionPropType,\n\tButtonTypePropType,\n\tButtonVariantPropType,\n\tClickableElement,\n\tCustomClassPropType,\n\tFocusableElement,\n\tIconsPropType,\n\tInlinePropType,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tPopoverAlignPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n} from '../../schema';\nimport type { PopoverButtonProps } from '../../schema/components/popover-button';\nimport { createCtaRef, delegateClick, delegateFocus } from '../../utils/element-interaction';\n\n/**\n * A button that toggles the visibility of a popover overlay containing arbitrary content.\n * The popover uses the native HTML Popover API for lightweight, non-modal overlays.\n *\n * @slot - The popover content (displayed when the button is clicked).\n * @slot expert - Custom label content for the button (when `_label` is `false`).\n */\n@Component({\n\ttag: 'kol-popover-button',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolPopoverButton implements ClickableElement, FocusableElement, PopoverButtonProps {\n\t@Element() protected readonly host?: HTMLKolPopoverButtonElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLKolPopoverButtonWcElement>();\n\n\t/**\n\t * Hides the popover programmatically by forwarding the call to the web component.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async hidePopover() {\n\t\tvoid this.ctaRef.el?.hidePopover();\n\t}\n\n\t/**\n\t * Shows the popover programmatically by forwarding the call to the web component.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async showPopover() {\n\t\tvoid this.ctaRef.el?.showPopover();\n\t}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@delegateClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolPopoverButtonWcTag\n\t\t\t\tref={this.ctaRef}\n\t\t\t\t_accessKey={this._accessKey}\n\t\t\t\t_ariaDescription={this._ariaDescription}\n\t\t\t\t_customClass={this._customClass}\n\t\t\t\t_disabled={this._disabled}\n\t\t\t\t_hideLabel={this._hideLabel}\n\t\t\t\t_icons={this._icons}\n\t\t\t\t_inline={this._inline}\n\t\t\t\t_label={this._label}\n\t\t\t\t_name={this._name}\n\t\t\t\t_popoverAlign={this._popoverAlign}\n\t\t\t\t_shortKey={this._shortKey}\n\t\t\t\t_syncValueBySelector={this._syncValueBySelector}\n\t\t\t\t_tabIndex={this._tabIndex}\n\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t_type={this._type}\n\t\t\t\t_value={this._value}\n\t\t\t\t_variant={this._variant}\n\t\t\t>\n\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t\t<slot />\n\t\t\t</KolPopoverButtonWcTag>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\n\n\t/**\n\t * Defines the custom class attribute if _variant=\"custom\" is set.\n\t */\n\t@Prop() public _customClass?: CustomClassPropType;\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsPropType;\n\n\t/**\n\t * Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.\n\t */\n\t@Prop() public _inline?: InlinePropType = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: string;\n\n\t/**\n\t * Defines where to show the Popover preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _popoverAlign?: PopoverAlignPropType = 'bottom';\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex)\n\t */\n\t@Prop() public _tabIndex?: number;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: ButtonTypePropType = 'button';\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop() public _value?: StencilUnknown;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: ButtonVariantPropType = 'normal';\n}\n"]}
|
|
@@ -18,9 +18,14 @@
|
|
|
18
18
|
@layer kol-a11y {
|
|
19
19
|
:host {
|
|
20
20
|
/*
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
* Minimum size of interactive elements.
|
|
22
|
+
*
|
|
23
|
+
* The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:
|
|
24
|
+
* `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose
|
|
25
|
+
* sub-pixel precision and resolve to e.g. 43.99px depending on the browser's
|
|
26
|
+
* rounding, dropping just below the required minimum.
|
|
27
|
+
*/
|
|
28
|
+
--a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);
|
|
24
29
|
/*
|
|
25
30
|
* No element should be used without verifying the contrast ratio of its background and font colors.
|
|
26
31
|
* By initially setting the background color to white and the font color to black,
|
|
@@ -202,8 +207,8 @@
|
|
|
202
207
|
}
|
|
203
208
|
@font-face {
|
|
204
209
|
font-family: "kolicons";
|
|
205
|
-
src: url("kolicons.eot?t=
|
|
206
|
-
src: url("kolicons.eot?t=
|
|
210
|
+
src: url("kolicons.eot?t=1782311579243"); /* IE9*/
|
|
211
|
+
src: url("kolicons.eot?t=1782311579243#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1782311579243") format("woff2"), url("kolicons.woff?t=1782311579243") format("woff"), url("kolicons.ttf?t=1782311579243") format("truetype"), url("kolicons.svg?t=1782311579243#kolicons") format("svg"); /* iOS 4.1- */
|
|
207
212
|
}
|
|
208
213
|
@layer kol-component {
|
|
209
214
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -39,7 +39,7 @@ export class KolProgress extends BaseWebComponent {
|
|
|
39
39
|
this.ctrl.destroy();
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: '70710a5592ba3177b7d4e657c36ee496c92fb879' }, h(ProgressFC, { key: '19414781e2a8b8b4daa4df4ca0734afcc7507830', label: this.ctrl.getRenderProp('label'), max: this.ctrl.getRenderProp('max'), unit: this.ctrl.getRenderProp('unit'), value: this.ctrl.getRenderProp('value'), variant: this.ctrl.getRenderProp('variant'), liveValue: this.liveValue })));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "kol-progress"; }
|
|
45
45
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
1
2
|
/* forward the rem function */
|
|
2
3
|
/*
|
|
3
4
|
* This file defines the layer order for all CSS layers used in KoliBri.
|
|
@@ -17,9 +18,14 @@
|
|
|
17
18
|
@layer kol-a11y {
|
|
18
19
|
:host {
|
|
19
20
|
/*
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
* Minimum size of interactive elements.
|
|
22
|
+
*
|
|
23
|
+
* The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:
|
|
24
|
+
* `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose
|
|
25
|
+
* sub-pixel precision and resolve to e.g. 43.99px depending on the browser's
|
|
26
|
+
* rounding, dropping just below the required minimum.
|
|
27
|
+
*/
|
|
28
|
+
--a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);
|
|
23
29
|
/*
|
|
24
30
|
* No element should be used without verifying the contrast ratio of its background and font colors.
|
|
25
31
|
* By initially setting the background color to white and the font color to black,
|
|
@@ -31,7 +31,7 @@ export class KolQuote {
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: '0e6593206846694c7a999d1a00d1776c5507112c' }, h(QuoteFC, { key: '8e4b699204dd80e609632c82ab6e3db688d0c3ef', href: this.ctrl.getRenderProp('href'), label: this.ctrl.getRenderProp('label'), quote: this.ctrl.getRenderProp('quote'), variant: this.ctrl.getRenderProp('variant') })));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "kol-quote"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,9 +18,14 @@
|
|
|
18
18
|
@layer kol-a11y {
|
|
19
19
|
:host {
|
|
20
20
|
/*
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
* Minimum size of interactive elements.
|
|
22
|
+
*
|
|
23
|
+
* The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:
|
|
24
|
+
* `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose
|
|
25
|
+
* sub-pixel precision and resolve to e.g. 43.99px depending on the browser's
|
|
26
|
+
* rounding, dropping just below the required minimum.
|
|
27
|
+
*/
|
|
28
|
+
--a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);
|
|
24
29
|
/*
|
|
25
30
|
* No element should be used without verifying the contrast ratio of its background and font colors.
|
|
26
31
|
* By initially setting the background color to white and the font color to black,
|
|
@@ -43,13 +43,16 @@ export class KolSelectWc {
|
|
|
43
43
|
} });
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h(KolFormFieldStateWrapperFc, Object.assign({ key: '
|
|
46
|
+
return (h(KolFormFieldStateWrapperFc, Object.assign({ key: 'f4650685f51b81d569c58b83d9cb3e0fcbe1e3ac' }, this.getFormFieldProps()), h(KolInputContainerFc, { key: '8c667a237948d5a16fbfa7386cf2fa570b1aabda', state: this.state }, h("form", { key: '797df79691c959d00703ab3c4ed75f3ce184a8c0', onSubmit: (event) => {
|
|
47
47
|
event.preventDefault();
|
|
48
48
|
propagateSubmitEventToForm({
|
|
49
49
|
form: this.host,
|
|
50
50
|
ref: this.ctaRef.el,
|
|
51
51
|
});
|
|
52
|
-
} }, h("input", { key: '
|
|
52
|
+
} }, h("input", { key: 'e156192b09a158149fa310b2d81cbfad4657a875', type: "submit", hidden: true }), h(KolSelectStateWrapperFc, Object.assign({ key: 'dee324e9704157bc659671c582743eb4771509d6' }, this.getSelectProps()))))));
|
|
53
|
+
}
|
|
54
|
+
validateAriaDetails(value) {
|
|
55
|
+
this.controller.validateAriaDetails(value);
|
|
53
56
|
}
|
|
54
57
|
constructor() {
|
|
55
58
|
this.ctaRef = createCtaRef();
|
|
@@ -137,6 +140,7 @@ export class KolSelectWc {
|
|
|
137
140
|
this.controller.validateVariant(value);
|
|
138
141
|
}
|
|
139
142
|
componentWillLoad() {
|
|
143
|
+
this.validateAriaDetails(this._ariaDetails);
|
|
140
144
|
this._touched = this._touched === true;
|
|
141
145
|
this.controller.componentWillLoad();
|
|
142
146
|
this.state._hasValue = !!this.state._value;
|
|
@@ -187,6 +191,31 @@ export class KolSelectWc {
|
|
|
187
191
|
"reflect": false,
|
|
188
192
|
"attribute": "_access-key"
|
|
189
193
|
},
|
|
194
|
+
"_ariaDetails": {
|
|
195
|
+
"type": "string",
|
|
196
|
+
"mutable": false,
|
|
197
|
+
"complexType": {
|
|
198
|
+
"original": "AriaDetailsPropType",
|
|
199
|
+
"resolved": "string | undefined",
|
|
200
|
+
"references": {
|
|
201
|
+
"AriaDetailsPropType": {
|
|
202
|
+
"location": "import",
|
|
203
|
+
"path": "../../schema",
|
|
204
|
+
"id": "src/schema/index.ts::AriaDetailsPropType"
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"required": false,
|
|
209
|
+
"optional": true,
|
|
210
|
+
"docs": {
|
|
211
|
+
"tags": [],
|
|
212
|
+
"text": "References an external element by ID that provides accessible details for this select."
|
|
213
|
+
},
|
|
214
|
+
"getter": false,
|
|
215
|
+
"setter": false,
|
|
216
|
+
"reflect": false,
|
|
217
|
+
"attribute": "_aria-details"
|
|
218
|
+
},
|
|
190
219
|
"_disabled": {
|
|
191
220
|
"type": "boolean",
|
|
192
221
|
"mutable": false,
|
|
@@ -756,6 +785,9 @@ export class KolSelectWc {
|
|
|
756
785
|
static get elementRef() { return "host"; }
|
|
757
786
|
static get watchers() {
|
|
758
787
|
return [{
|
|
788
|
+
"propName": "_ariaDetails",
|
|
789
|
+
"methodName": "validateAriaDetails"
|
|
790
|
+
}, {
|
|
759
791
|
"propName": "_accessKey",
|
|
760
792
|
"methodName": "validateAccessKey"
|
|
761
793
|
}, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/components/select/component.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAClF,OAAO,IAAI,MAAM,kBAAkB,CAAC;AA4BpC,OAAO,0BAA+D,MAAM,iFAAiF,CAAC;AAC9J,OAAO,mBAAmB,MAAM,2FAA2F,CAAC;AAC5H,OAAO,uBAAyD,MAAM,2EAA2E,CAAC;AAClJ,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AACzF,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAUhD,MAAM,OAAO,WAAW;IAShB,KAAK,CAAC,QAAQ;QACpB,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YACpB,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC;QAC1B,CAAC;aAAM,CAAC;YACP,OAAO,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD;AArUa;IAHZ,WAAW,CAAC,QAAQ,CAAC;wCAGyC;AAOlD;IADZ,WAAW,CAAC,QAAQ,CAAC;wCACgB","sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop, State, Watch } from '@stencil/core';\nimport clsx from '../../utils/clsx';\n\nimport type {\n\tDisabledPropType,\n\tFocusableElement,\n\tHideLabelPropType,\n\tHideMsgPropType,\n\tHintPropType,\n\tIconsHorizontalPropType,\n\tInputTypeOnDefault,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tMsgPropType,\n\tMultiplePropType,\n\tNamePropType,\n\tOptionsWithOptgroupPropType,\n\tRequiredPropType,\n\tRowsPropType,\n\tSelectAPI,\n\tSelectStates,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tStringified,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\n\nimport KolFormFieldStateWrapperFc, { type FormFieldStateWrapperProps } from '../../functional-component-wrappers/FormFieldStateWrapper/FormFieldStateWrapper';\nimport KolInputContainerFc from '../../functional-component-wrappers/InputContainerStateWrapper/InputContainerStateWrapper';\nimport KolSelectStateWrapperFc, { type SelectStateWrapperProps } from '../../functional-component-wrappers/SelectStateWrapper/SelectStateWrapper';\nimport { createUniqueId } from '../../utils/dev.utils';\nimport { createCtaRef, directClick, directFocus } from '../../utils/element-interaction';\nimport { propagateSubmitEventToForm } from '../form/controller';\nimport { SelectController } from './controller';\n\n/**\n * @internal\n * @slot - The label of the input field.\n */\n@Component({\n\ttag: 'kol-select-wc',\n\tshadow: false,\n})\nexport class KolSelectWc implements SelectAPI, FocusableElement {\n\t@Element() private readonly host?: HTMLKolSelectWcElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLSelectElement>();\n\n\t/**\n\t * Returns the current value.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<StencilUnknown[] | StencilUnknown> {\n\t\tif (this._multiple) {\n\t\t\treturn this.state._value;\n\t\t} else {\n\t\t\treturn Array.isArray(this.state._value) && this.state._value.length > 0 ? this.state._value[0] : this.state._value;\n\t\t}\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@directFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@directClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\tprivate getFormFieldProps(): FormFieldStateWrapperProps {\n\t\treturn {\n\t\t\tstate: this.state,\n\t\t\tclass: clsx('kol-form-field-select', {\n\t\t\t\t'kol-form-field--has-value': this.state._hasValue,\n\t\t\t}),\n\t\t\ttooltipAlign: this._tooltipAlign,\n\t\t\tonClick: () => this.ctaRef.el?.focus(),\n\t\t\talert: this.showAsAlert(),\n\t\t};\n\t}\n\n\tprivate getSelectProps(): SelectStateWrapperProps {\n\t\treturn {\n\t\t\tref: this.ctaRef,\n\t\t\tstate: this.state,\n\t\t\t...this.controller.onFacade,\n\t\t\tonInput: this.onInput.bind(this),\n\t\t\tonChange: this.onChange.bind(this),\n\t\t\tonFocus: (event: Event) => {\n\t\t\t\tthis.controller.onFacade.onFocus(event);\n\t\t\t\tthis.inputHasFocus = true;\n\t\t\t},\n\t\t\tonBlur: (event: Event) => {\n\t\t\t\tthis.controller.onFacade.onBlur(event);\n\t\t\t\tthis.inputHasFocus = false;\n\t\t\t},\n\t\t};\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolFormFieldStateWrapperFc {...this.getFormFieldProps()}>\n\t\t\t\t<KolInputContainerFc state={this.state}>\n\t\t\t\t\t<form\n\t\t\t\t\t\tonSubmit={(event) => {\n\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\tpropagateSubmitEventToForm({\n\t\t\t\t\t\t\t\tform: this.host,\n\t\t\t\t\t\t\t\tref: this.ctaRef.el,\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\t\t<input type=\"submit\" hidden />\n\t\t\t\t\t\t<KolSelectStateWrapperFc {...this.getSelectProps()} />\n\t\t\t\t\t</form>\n\t\t\t\t</KolInputContainerFc>\n\t\t\t</KolFormFieldStateWrapperFc>\n\t\t);\n\t}\n\n\tprivate readonly controller: SelectController;\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component’s interactive element.\n\t */\n\t@Prop() public _accessKey?: string;\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t * @TODO: Change type back to `DisabledPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n\t * @TODO: Change type back to `HideMsgPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideMsg?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the hint text.\n\t */\n\t@Prop() public _hint?: string = '';\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsHorizontalPropType;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the properties for a message rendered as Alert component.\n\t */\n\t@Prop() public _msg?: Stringified<MsgPropType>;\n\n\t/**\n\t * Makes the input accept multiple inputs.\n\t * @TODO: Change type back to `MultiplePropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _multiple?: boolean = false;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\n\n\t/**\n\t * Options the user can choose from, also supporting Optgroup.\n\t */\n\t@Prop() public _options!: OptionsWithOptgroupPropType;\n\n\t/**\n\t * Makes the input element required.\n\t * @TODO: Change type back to `RequiredPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _required?: boolean = false;\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Defines how many rows of options should be visible at the same time.\n\t */\n\t@Prop() public _rows?: RowsPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex)\n\t */\n\t@Prop() public _tabIndex?: number;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Shows if the input was touched by a user.\n\t * @TODO: Change type back to `TouchedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _touched?: boolean = false;\n\n\t/**\n\t * Defines the value of the input.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _value?: Stringified<StencilUnknown[]> | Stringified<StencilUnknown>;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n\n\t@State() public state: SelectStates = {\n\t\t_hasValue: false,\n\t\t_hideMsg: false,\n\t\t_id: createUniqueId('select'),\n\t\t_label: '', // ⚠ required\n\t\t_multiple: false,\n\t\t_options: [],\n\t\t_value: [],\n\t};\n\n\t@State() private inputHasFocus = false;\n\n\tpublic constructor() {\n\t\tthis.controller = new SelectController(this, 'select', this.host);\n\t}\n\n\tprivate showAsAlert(): boolean {\n\t\treturn Boolean(this.state._touched) && !this.inputHasFocus;\n\t}\n\n\t@Watch('_accessKey')\n\tpublic validateAccessKey(value?: string): void {\n\t\tthis.controller.validateAccessKey(value);\n\t}\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: DisabledPropType): void {\n\t\tthis.controller.validateDisabled(value);\n\t}\n\n\t@Watch('_hideMsg')\n\tpublic validateHideMsg(value?: HideMsgPropType): void {\n\t\tthis.controller.validateHideMsg(value);\n\t}\n\n\t@Watch('_hideLabel')\n\tpublic validateHideLabel(value?: HideLabelPropType): void {\n\t\tthis.controller.validateHideLabel(value);\n\t}\n\n\t@Watch('_hint')\n\tpublic validateHint(value?: HintPropType): void {\n\t\tthis.controller.validateHint(value);\n\t}\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: IconsHorizontalPropType): void {\n\t\tthis.controller.validateIcons(value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.controller.validateLabel(value);\n\t}\n\n\t@Watch('_msg')\n\tpublic validateMsg(value?: Stringified<MsgPropType>): void {\n\t\tthis.controller.validateMsg(value);\n\t}\n\n\t@Watch('_multiple')\n\tpublic validateMultiple(value?: MultiplePropType): void {\n\t\tthis.controller.validateMultiple(value);\n\t}\n\n\t@Watch('_name')\n\tpublic validateName(value?: string): void {\n\t\tthis.controller.validateName(value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tthis.controller.validateOn(value);\n\t}\n\n\t@Watch('_options')\n\tpublic validateOptions(value?: OptionsWithOptgroupPropType): void {\n\t\tthis.controller.validateOptions(value);\n\t}\n\n\t@Watch('_required')\n\tpublic validateRequired(value?: RequiredPropType): void {\n\t\tthis.controller.validateRequired(value);\n\t}\n\n\t@Watch('_rows')\n\tpublic validateRows(value?: RowsPropType): void {\n\t\tthis.controller.validateRows(value);\n\t}\n\n\t@Watch('_shortKey')\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tthis.controller.validateShortKey(value);\n\t}\n\n\t@Watch('_syncValueBySelector')\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.controller.validateSyncValueBySelector(value);\n\t}\n\n\t@Watch('_tabIndex')\n\tpublic validateTabIndex(value?: number): void {\n\t\tthis.controller.validateTabIndex(value);\n\t}\n\n\t@Watch('_touched')\n\tpublic validateTouched(value?: boolean): void {\n\t\tthis.controller.validateTouched(value);\n\t}\n\n\t@Watch('_value')\n\tpublic validateValue(value?: Stringified<StencilUnknown[]> | Stringified<StencilUnknown>): void {\n\t\tthis.controller.validateValue(value);\n\t}\n\n\t@Watch('_variant')\n\tpublic validateVariant(value?: VariantClassNamePropType): void {\n\t\tthis.controller.validateVariant(value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis._touched = this._touched === true;\n\t\tthis.controller.componentWillLoad();\n\n\t\tthis.state._hasValue = !!this.state._value;\n\t\tthis.controller.addValueChangeListener((v) => (this.state._hasValue = !!v));\n\t}\n\n\tprivate onInput(event: Event): void {\n\t\tconst selectedValues = Array.from(this.ctaRef.el?.options || [])\n\t\t\t.filter((option) => option.selected)\n\t\t\t.map((option) => this.controller.getOptionByKey(option.value)?.value as string);\n\n\t\tif (this._multiple) {\n\t\t\tthis._value = selectedValues;\n\t\t\tthis.controller.onFacade.onInput(event, true, selectedValues);\n\t\t} else {\n\t\t\tconst singleValue: StencilUnknown = selectedValues.length > 0 ? selectedValues[0] : undefined;\n\t\t\tthis._value = singleValue;\n\t\t\tthis.controller.onFacade.onInput(event, true, singleValue);\n\t\t}\n\t}\n\n\tprivate onChange(event: Event): void {\n\t\tif (this._multiple) {\n\t\t\tthis.controller.onFacade.onChange(event, this._value as StencilUnknown[]);\n\t\t} else {\n\t\t\tthis.controller.onFacade.onChange(event, this._value as StencilUnknown);\n\t\t}\n\t}\n}\n"]}
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../src/components/select/component.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAClF,OAAO,IAAI,MAAM,kBAAkB,CAAC;AAEpC,OAAO,0BAA+D,MAAM,iFAAiF,CAAC;AAC9J,OAAO,mBAAmB,MAAM,2FAA2F,CAAC;AAC5H,OAAO,uBAAyD,MAAM,2EAA2E,CAAC;AA4BlJ,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD;AAjVa;IAHZ,WAAW,CAAC,QAAQ,CAAC;wCAGyC;AAOlD;IADZ,WAAW,CAAC,QAAQ,CAAC;wCACgB","sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop, State, Watch } from '@stencil/core';\nimport clsx from '../../utils/clsx';\n\nimport KolFormFieldStateWrapperFc, { type FormFieldStateWrapperProps } from '../../functional-component-wrappers/FormFieldStateWrapper/FormFieldStateWrapper';\nimport KolInputContainerFc from '../../functional-component-wrappers/InputContainerStateWrapper/InputContainerStateWrapper';\nimport KolSelectStateWrapperFc, { type SelectStateWrapperProps } from '../../functional-component-wrappers/SelectStateWrapper/SelectStateWrapper';\nimport type {\n\tAriaDetailsPropType,\n\tClickableElement,\n\tDisabledPropType,\n\tFocusableElement,\n\tHideLabelPropType,\n\tHideMsgPropType,\n\tHintPropType,\n\tIconsHorizontalPropType,\n\tInputTypeOnDefault,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tMsgPropType,\n\tMultiplePropType,\n\tNamePropType,\n\tOptionsWithOptgroupPropType,\n\tRequiredPropType,\n\tRowsPropType,\n\tSelectAPI,\n\tSelectStates,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tStringified,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\nimport { createUniqueId } from '../../utils/dev.utils';\nimport { createCtaRef, directClick, directFocus } from '../../utils/element-interaction';\nimport { propagateSubmitEventToForm } from '../form/controller';\nimport { SelectController } from './controller';\n\n/**\n * @internal\n * @slot - The label of the input field.\n */\n@Component({\n\ttag: 'kol-select-wc',\n\tshadow: false,\n})\nexport class KolSelectWc implements ClickableElement, FocusableElement, SelectAPI {\n\t@Element() private readonly host?: HTMLKolSelectWcElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLSelectElement>();\n\n\t/**\n\t * Returns the current value.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async getValue(): Promise<StencilUnknown[] | StencilUnknown> {\n\t\tif (this._multiple) {\n\t\t\treturn this.state._value;\n\t\t} else {\n\t\t\treturn Array.isArray(this.state._value) && this.state._value.length > 0 ? this.state._value[0] : this.state._value;\n\t\t}\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@directFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@directClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\tprivate getFormFieldProps(): FormFieldStateWrapperProps {\n\t\treturn {\n\t\t\tstate: this.state,\n\t\t\tclass: clsx('kol-form-field-select', {\n\t\t\t\t'kol-form-field--has-value': this.state._hasValue,\n\t\t\t}),\n\t\t\ttooltipAlign: this._tooltipAlign,\n\t\t\tonClick: () => this.ctaRef.el?.focus(),\n\t\t\talert: this.showAsAlert(),\n\t\t};\n\t}\n\n\tprivate getSelectProps(): SelectStateWrapperProps {\n\t\treturn {\n\t\t\tref: this.ctaRef,\n\t\t\tstate: this.state,\n\t\t\t...this.controller.onFacade,\n\t\t\tonInput: this.onInput.bind(this),\n\t\t\tonChange: this.onChange.bind(this),\n\t\t\tonFocus: (event: FocusEvent) => {\n\t\t\t\tthis.controller.onFacade.onFocus(event);\n\t\t\t\tthis.inputHasFocus = true;\n\t\t\t},\n\t\t\tonBlur: (event: FocusEvent) => {\n\t\t\t\tthis.controller.onFacade.onBlur(event);\n\t\t\t\tthis.inputHasFocus = false;\n\t\t\t},\n\t\t};\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolFormFieldStateWrapperFc {...this.getFormFieldProps()}>\n\t\t\t\t<KolInputContainerFc state={this.state}>\n\t\t\t\t\t<form\n\t\t\t\t\t\tonSubmit={(event) => {\n\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\tpropagateSubmitEventToForm({\n\t\t\t\t\t\t\t\tform: this.host,\n\t\t\t\t\t\t\t\tref: this.ctaRef.el,\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\t\t<input type=\"submit\" hidden />\n\t\t\t\t\t\t<KolSelectStateWrapperFc {...this.getSelectProps()} />\n\t\t\t\t\t</form>\n\t\t\t\t</KolInputContainerFc>\n\t\t\t</KolFormFieldStateWrapperFc>\n\t\t);\n\t}\n\n\tprivate readonly controller: SelectController;\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component’s interactive element.\n\t */\n\t@Prop() public _accessKey?: string;\n\n\t/**\n\t * References an external element by ID that provides accessible details for this select.\n\t */\n\t@Prop() public _ariaDetails?: AriaDetailsPropType;\n\n\t@Watch('_ariaDetails')\n\tpublic validateAriaDetails(value?: AriaDetailsPropType): void {\n\t\tthis.controller.validateAriaDetails(value);\n\t}\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t * @TODO: Change type back to `DisabledPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n\t * @TODO: Change type back to `HideMsgPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideMsg?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the hint text.\n\t */\n\t@Prop() public _hint?: string = '';\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsHorizontalPropType;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the properties for a message rendered as Alert component.\n\t */\n\t@Prop() public _msg?: Stringified<MsgPropType>;\n\n\t/**\n\t * Makes the input accept multiple inputs.\n\t * @TODO: Change type back to `MultiplePropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _multiple?: boolean = false;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\n\n\t/**\n\t * Options the user can choose from, also supporting Optgroup.\n\t */\n\t@Prop() public _options!: OptionsWithOptgroupPropType;\n\n\t/**\n\t * Makes the input element required.\n\t * @TODO: Change type back to `RequiredPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _required?: boolean = false;\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Defines how many rows of options should be visible at the same time.\n\t */\n\t@Prop() public _rows?: RowsPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex)\n\t */\n\t@Prop() public _tabIndex?: number;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Shows if the input was touched by a user.\n\t * @TODO: Change type back to `TouchedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _touched?: boolean = false;\n\n\t/**\n\t * Defines the value of the input.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _value?: Stringified<StencilUnknown[]> | Stringified<StencilUnknown>;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n\n\t@State() public state: SelectStates = {\n\t\t_hasValue: false,\n\t\t_hideMsg: false,\n\t\t_id: createUniqueId('select'),\n\t\t_label: '', // ⚠ required\n\t\t_multiple: false,\n\t\t_options: [],\n\t\t_value: [],\n\t};\n\n\t@State() private inputHasFocus = false;\n\n\tpublic constructor() {\n\t\tthis.controller = new SelectController(this, 'select', this.host);\n\t}\n\n\tprivate showAsAlert(): boolean {\n\t\treturn Boolean(this.state._touched) && !this.inputHasFocus;\n\t}\n\n\t@Watch('_accessKey')\n\tpublic validateAccessKey(value?: string): void {\n\t\tthis.controller.validateAccessKey(value);\n\t}\n\n\t@Watch('_disabled')\n\tpublic validateDisabled(value?: DisabledPropType): void {\n\t\tthis.controller.validateDisabled(value);\n\t}\n\n\t@Watch('_hideMsg')\n\tpublic validateHideMsg(value?: HideMsgPropType): void {\n\t\tthis.controller.validateHideMsg(value);\n\t}\n\n\t@Watch('_hideLabel')\n\tpublic validateHideLabel(value?: HideLabelPropType): void {\n\t\tthis.controller.validateHideLabel(value);\n\t}\n\n\t@Watch('_hint')\n\tpublic validateHint(value?: HintPropType): void {\n\t\tthis.controller.validateHint(value);\n\t}\n\n\t@Watch('_icons')\n\tpublic validateIcons(value?: IconsHorizontalPropType): void {\n\t\tthis.controller.validateIcons(value);\n\t}\n\n\t@Watch('_label')\n\tpublic validateLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.controller.validateLabel(value);\n\t}\n\n\t@Watch('_msg')\n\tpublic validateMsg(value?: Stringified<MsgPropType>): void {\n\t\tthis.controller.validateMsg(value);\n\t}\n\n\t@Watch('_multiple')\n\tpublic validateMultiple(value?: MultiplePropType): void {\n\t\tthis.controller.validateMultiple(value);\n\t}\n\n\t@Watch('_name')\n\tpublic validateName(value?: string): void {\n\t\tthis.controller.validateName(value);\n\t}\n\n\t@Watch('_on')\n\tpublic validateOn(value?: InputTypeOnDefault): void {\n\t\tthis.controller.validateOn(value);\n\t}\n\n\t@Watch('_options')\n\tpublic validateOptions(value?: OptionsWithOptgroupPropType): void {\n\t\tthis.controller.validateOptions(value);\n\t}\n\n\t@Watch('_required')\n\tpublic validateRequired(value?: RequiredPropType): void {\n\t\tthis.controller.validateRequired(value);\n\t}\n\n\t@Watch('_rows')\n\tpublic validateRows(value?: RowsPropType): void {\n\t\tthis.controller.validateRows(value);\n\t}\n\n\t@Watch('_shortKey')\n\tpublic validateShortKey(value?: ShortKeyPropType): void {\n\t\tthis.controller.validateShortKey(value);\n\t}\n\n\t@Watch('_syncValueBySelector')\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tthis.controller.validateSyncValueBySelector(value);\n\t}\n\n\t@Watch('_tabIndex')\n\tpublic validateTabIndex(value?: number): void {\n\t\tthis.controller.validateTabIndex(value);\n\t}\n\n\t@Watch('_touched')\n\tpublic validateTouched(value?: boolean): void {\n\t\tthis.controller.validateTouched(value);\n\t}\n\n\t@Watch('_value')\n\tpublic validateValue(value?: Stringified<StencilUnknown[]> | Stringified<StencilUnknown>): void {\n\t\tthis.controller.validateValue(value);\n\t}\n\n\t@Watch('_variant')\n\tpublic validateVariant(value?: VariantClassNamePropType): void {\n\t\tthis.controller.validateVariant(value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateAriaDetails(this._ariaDetails);\n\n\t\tthis._touched = this._touched === true;\n\t\tthis.controller.componentWillLoad();\n\n\t\tthis.state._hasValue = !!this.state._value;\n\t\tthis.controller.addValueChangeListener((v) => (this.state._hasValue = !!v));\n\t}\n\n\tprivate onInput(event: Event): void {\n\t\tconst selectedValues = Array.from(this.ctaRef.el?.options || [])\n\t\t\t.filter((option) => option.selected)\n\t\t\t.map((option) => this.controller.getOptionByKey(option.value)?.value as string);\n\n\t\tif (this._multiple) {\n\t\t\tthis._value = selectedValues;\n\t\t\tthis.controller.onFacade.onInput(event, true, selectedValues);\n\t\t} else {\n\t\t\tconst singleValue: StencilUnknown = selectedValues.length > 0 ? selectedValues[0] : undefined;\n\t\t\tthis._value = singleValue;\n\t\t\tthis.controller.onFacade.onInput(event, true, singleValue);\n\t\t}\n\t}\n\n\tprivate onChange(event: Event): void {\n\t\tif (this._multiple) {\n\t\t\tthis.controller.onFacade.onChange(event, this._value as StencilUnknown[]);\n\t\t} else {\n\t\t\tthis.controller.onFacade.onChange(event, this._value as StencilUnknown);\n\t\t}\n\t}\n}\n"]}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { __decorate } from "tslib";
|
|
5
5
|
import { h, Host } from "@stencil/core";
|
|
6
6
|
import { KolSelectWcTag } from "../../core/component-names";
|
|
7
|
+
import { validateAriaDetails } from "../../schema/props/aria-details";
|
|
7
8
|
import { createCtaRef, delegateFocus } from "../../utils/element-interaction";
|
|
8
9
|
export class KolSelect {
|
|
9
10
|
constructor() {
|
|
@@ -23,7 +24,10 @@ export class KolSelect {
|
|
|
23
24
|
}
|
|
24
25
|
async focus(options) { }
|
|
25
26
|
render() {
|
|
26
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '1897bb5236a23458febe9f69ef68049761e66796', class: "kol-select" }, h(KolSelectWcTag, { key: '1f872f486408c810333f789d09f2b4279066454a', ref: this.ctaRef, _accessKey: this._accessKey, _ariaDetails: this._ariaDetails, _disabled: this._disabled, _hideLabel: this._hideLabel, _hideMsg: this._hideMsg, _hint: this._hint, _icons: this._icons, _label: this._label, _msg: this._msg, _multiple: this._multiple, _name: this._name, _on: this._on, _options: this._options, _required: this._required, _rows: this._rows, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _touched: this._touched, _value: this._value, _variant: this._variant }, h("slot", { key: 'cd41fac1aad93f62978a711b80a9c755e676f257', name: "expert", slot: "expert" }))));
|
|
28
|
+
}
|
|
29
|
+
validateAriaDetails(value) {
|
|
30
|
+
validateAriaDetails(this, this.host, undefined, value);
|
|
27
31
|
}
|
|
28
32
|
static get is() { return "kol-select"; }
|
|
29
33
|
static get encapsulation() { return "shadow"; }
|
|
@@ -58,6 +62,31 @@ export class KolSelect {
|
|
|
58
62
|
"reflect": false,
|
|
59
63
|
"attribute": "_access-key"
|
|
60
64
|
},
|
|
65
|
+
"_ariaDetails": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"mutable": false,
|
|
68
|
+
"complexType": {
|
|
69
|
+
"original": "AriaDetailsPropType",
|
|
70
|
+
"resolved": "string | undefined",
|
|
71
|
+
"references": {
|
|
72
|
+
"AriaDetailsPropType": {
|
|
73
|
+
"location": "import",
|
|
74
|
+
"path": "../../schema",
|
|
75
|
+
"id": "src/schema/index.ts::AriaDetailsPropType"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"required": false,
|
|
80
|
+
"optional": true,
|
|
81
|
+
"docs": {
|
|
82
|
+
"tags": [],
|
|
83
|
+
"text": "References an external element by ID that provides accessible details for this select."
|
|
84
|
+
},
|
|
85
|
+
"getter": false,
|
|
86
|
+
"setter": false,
|
|
87
|
+
"reflect": false,
|
|
88
|
+
"attribute": "_aria-details"
|
|
89
|
+
},
|
|
61
90
|
"_disabled": {
|
|
62
91
|
"type": "boolean",
|
|
63
92
|
"mutable": false,
|
|
@@ -602,6 +631,12 @@ export class KolSelect {
|
|
|
602
631
|
};
|
|
603
632
|
}
|
|
604
633
|
static get elementRef() { return "host"; }
|
|
634
|
+
static get watchers() {
|
|
635
|
+
return [{
|
|
636
|
+
"propName": "_ariaDetails",
|
|
637
|
+
"methodName": "validateAriaDetails"
|
|
638
|
+
}];
|
|
639
|
+
}
|
|
605
640
|
}
|
|
606
641
|
__decorate([
|
|
607
642
|
delegateFocus('ctaRef')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shadow.js","sourceRoot":"","sources":["../../../src/components/select/shadow.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"shadow.js","sourceRoot":"","sources":["../../../src/components/select/shadow.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAsBjF,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAY9E,MAAM,OAAO,SAAS;IAPtB;QASoB,WAAM,GAAG,YAAY,EAA0B,CAAC;QAwEpD,cAAS,GAAa,KAAK,CAAC;QAM5B,aAAQ,GAAa,KAAK,CAAC;QAO3B,eAAU,GAAa,KAAK,CAAC;QAK7B,UAAK,GAAY,EAAE,CAAC;QAqBpB,cAAS,GAAa,KAAK,CAAC;QAqB5B,cAAS,GAAa,KAAK,CAAC;QA0B5B,kBAAa,GAA0B,KAAK,CAAC;QAMb,aAAQ,GAAa,KAAK,CAAC;KAW1E;IAzKO,KAAK,CAAC,QAAQ;;QACpB,OAAO,MAAA,IAAI,CAAC,MAAM,CAAC,EAAE,0CAAE,QAAQ,EAAE,CAAC;IACnC,CAAC;IASY,AAAN,KAAK,CAAC,KAAK,CAAC,OAAyB,IAAkB,CAAC;IAExD,MAAM;QACZ,OAAO,CACN,EAAC,IAAI,qDA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6GD;AA9Ja;IAHZ,aAAa,CAAC,QAAQ,CAAC;sCAGuC","sourcesContent":["import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Host, Method, Prop, Watch } from '@stencil/core';\n\nimport type {\n\tAriaDetailsPropType,\n\tFocusableElement,\n\tIconsHorizontalPropType,\n\tInputTypeOnDefault,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tMsgPropType,\n\tNamePropType,\n\tOptionsWithOptgroupPropType,\n\tRowsPropType,\n\tSelectProps,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tStringified,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n\tVariantClassNamePropType,\n} from '../../schema';\n\nimport { KolSelectWcTag } from '../../core/component-names';\nimport { validateAriaDetails } from '../../schema/props/aria-details';\nimport { createCtaRef, delegateFocus } from '../../utils/element-interaction';\n\n/**\n * @slot - The label of the input field.\n */\n@Component({\n\ttag: 'kol-select',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolSelect implements FocusableElement, SelectProps {\n\t@Element() protected readonly host?: HTMLKolSelectElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLKolSelectWcElement>();\n\n\t/**\n\t * Returns the selected values.\n\t */\n\t@Method()\n\tpublic async getValue(): Promise<StencilUnknown[] | StencilUnknown | undefined> {\n\t\treturn this.ctaRef.el?.getValue();\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host class=\"kol-select\">\n\t\t\t\t<KolSelectWcTag\n\t\t\t\t\tref={this.ctaRef}\n\t\t\t\t\t_accessKey={this._accessKey}\n\t\t\t\t\t_ariaDetails={this._ariaDetails}\n\t\t\t\t\t_disabled={this._disabled}\n\t\t\t\t\t_hideLabel={this._hideLabel}\n\t\t\t\t\t_hideMsg={this._hideMsg}\n\t\t\t\t\t_hint={this._hint}\n\t\t\t\t\t_icons={this._icons}\n\t\t\t\t\t_label={this._label}\n\t\t\t\t\t_msg={this._msg}\n\t\t\t\t\t_multiple={this._multiple}\n\t\t\t\t\t_name={this._name}\n\t\t\t\t\t_on={this._on}\n\t\t\t\t\t_options={this._options}\n\t\t\t\t\t_required={this._required}\n\t\t\t\t\t_rows={this._rows}\n\t\t\t\t\t_shortKey={this._shortKey}\n\t\t\t\t\t_syncValueBySelector={this._syncValueBySelector}\n\t\t\t\t\t_tabIndex={this._tabIndex}\n\t\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t\t_touched={this._touched}\n\t\t\t\t\t_value={this._value}\n\t\t\t\t\t_variant={this._variant}\n\t\t\t\t>\n\t\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t\t</KolSelectWcTag>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: string;\n\n\t/**\n\t * References an external element by ID that provides accessible details for this select.\n\t */\n\t@Prop() public _ariaDetails?: AriaDetailsPropType;\n\n\t@Watch('_ariaDetails')\n\tpublic validateAriaDetails(value?: AriaDetailsPropType): void {\n\t\tvalidateAriaDetails(this, this.host, undefined, value);\n\t}\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t * @TODO: Change type back to `DisabledPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the error message but leaves it in the DOM for the input's aria-describedby.\n\t * @TODO: Change type back to `HideMsgPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideMsg?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the hint text.\n\t */\n\t@Prop() public _hint?: string = '';\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsHorizontalPropType;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the properties for a message rendered as Alert component.\n\t */\n\t@Prop() public _msg?: Stringified<MsgPropType>;\n\n\t/**\n\t * Makes the input accept multiple inputs.\n\t * @TODO: Change type back to `MultiplePropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _multiple?: boolean = false;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: NamePropType;\n\n\t/**\n\t * Gibt die EventCallback-Funktionen für das Input-Event an.\n\t */\n\t@Prop() public _on?: InputTypeOnDefault;\n\n\t/**\n\t * Options the user can choose from.\n\t */\n\t@Prop() public _options!: OptionsWithOptgroupPropType;\n\n\t/**\n\t * Makes the input element required.\n\t * @TODO: Change type back to `RequiredPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _required?: boolean = false;\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Maximum number of visible rows of the element.\n\t */\n\t@Prop() public _rows?: RowsPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex)\n\t */\n\t@Prop() public _tabIndex?: number;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Shows if the input was touched by a user.\n\t * @TODO: Change type back to `TouchedPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _touched?: boolean = false;\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop({ mutable: true, reflect: true }) public _value?: Stringified<StencilUnknown[]> | Stringified<StencilUnknown>;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: VariantClassNamePropType;\n}\n"]}
|
|
@@ -18,9 +18,14 @@
|
|
|
18
18
|
@layer kol-a11y {
|
|
19
19
|
:host {
|
|
20
20
|
/*
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
* Minimum size of interactive elements.
|
|
22
|
+
*
|
|
23
|
+
* The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:
|
|
24
|
+
* `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose
|
|
25
|
+
* sub-pixel precision and resolve to e.g. 43.99px depending on the browser's
|
|
26
|
+
* rounding, dropping just below the required minimum.
|
|
27
|
+
*/
|
|
28
|
+
--a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);
|
|
24
29
|
/*
|
|
25
30
|
* No element should be used without verifying the contrast ratio of its background and font colors.
|
|
26
31
|
* By initially setting the background color to white and the font color to black,
|
|
@@ -207,8 +212,8 @@
|
|
|
207
212
|
}
|
|
208
213
|
@font-face {
|
|
209
214
|
font-family: "kolicons";
|
|
210
|
-
src: url("kolicons.eot?t=
|
|
211
|
-
src: url("kolicons.eot?t=
|
|
215
|
+
src: url("kolicons.eot?t=1782311579243"); /* IE9*/
|
|
216
|
+
src: url("kolicons.eot?t=1782311579243#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1782311579243") format("woff2"), url("kolicons.woff?t=1782311579243") format("woff"), url("kolicons.ttf?t=1782311579243") format("truetype"), url("kolicons.svg?t=1782311579243#kolicons") format("svg"); /* iOS 4.1- */
|
|
212
217
|
}
|
|
213
218
|
@layer kol-component {
|
|
214
219
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -420,7 +425,7 @@
|
|
|
420
425
|
justify-content: flex-start;
|
|
421
426
|
}
|
|
422
427
|
.kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden])::after,
|
|
423
|
-
.kol-form-field--required .kol-tooltip__content .kol-span__label::after {
|
|
428
|
+
.kol-form-field--required .kol-form-field .kol-tooltip__content .kol-span__label::after {
|
|
424
429
|
content: "*"/"";
|
|
425
430
|
}
|
|
426
431
|
.kol-input-container {
|