@public-ui/components 5.0.0-beta.1 → 5.0.0-beta.3
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/custom-elements.json +31 -77
- package/dist/cjs/{Heading-C9osvqjY.js → Heading-D1EJem-Q.js} +7 -7
- package/dist/cjs/{access-and-short-key-D40HWCJe.js → access-and-short-key-BCyKbrgd.js} +2 -0
- package/dist/cjs/{api-U7I3XBPI.js → api-DU50b7pU.js} +39 -41
- package/dist/cjs/{app-globals-DsADKGEe.js → app-globals-Cshxaw1i.js} +6 -5
- package/dist/cjs/aria-current-service-XKodxE3I.js +30 -0
- package/dist/cjs/{aria-labelledby-BRMgWRVp.js → aria-labelledby-Du7FNBK5.js} +2 -13
- package/dist/cjs/{base-CyqDmoZZ.js → base-2k8L5Z0t.js} +14 -15
- package/dist/cjs/{base-l99dGLYo.js → base-CrH3N2Zu.js} +108 -80
- package/dist/cjs/{base-DcN_YC72.js → base-DXysZJF0.js} +13 -14
- package/dist/cjs/{base-DCxbMk0f.js → base-lY3OV-WH.js} +17 -19
- package/dist/cjs/{base-web-component-DxJ0hQ9u.js → base-web-component-CB32nH5g.js} +17 -19
- package/dist/cjs/{base-web-component-BnaxS2Z3.js → base-web-component-CnTCSVmC.js} +16 -19
- package/dist/cjs/{base-web-component-B6mwGD0m.js → base-web-component-vlBTFoc9.js} +2 -1
- package/dist/cjs/{behavior-CTaw4dj3.js → behavior-BonfWPFJ.js} +6 -6
- package/dist/cjs/{behavior-BNyFQ_B5.js → behavior-DdUDpqCO.js} +10 -10
- package/dist/cjs/{behavior-DrFJy0QC.js → behavior-Dznxy-IT.js} +33 -33
- package/dist/cjs/{bem-registry-CyxrH26c.js → bem-registry-CGf0w2u7.js} +61 -15
- package/dist/cjs/bootstrap-W0pDCbwR.js +59 -0
- package/dist/cjs/{color-BW4t1Cif.js → color-gGnOnvt7.js} +4 -4
- package/dist/cjs/component-B6wRTFBN.js +19 -0
- package/dist/cjs/component-B7ixbeft.js +52 -0
- package/dist/cjs/{component-4OErV1Bg.js → component-BaHA5GQ0.js} +11 -13
- package/dist/cjs/{component-Cty_HlJR.js → component-BeAWp-m9.js} +6 -5
- package/dist/cjs/component-Bnj9veMz.js +177 -0
- package/dist/cjs/{component-Cvjqbxf4.js → component-C9dVa2_4.js} +16 -19
- package/dist/cjs/{component-DF5q9ssd.js → component-D680TPaU.js} +13 -14
- package/dist/cjs/{component-DtxKrISb.js → component-DNRlsQ2M.js} +6 -7
- package/dist/cjs/{component-lmJOXuD6.js → component-WkG3-M2X.js} +8 -11
- package/dist/cjs/component-names-B-xDXf8U.js +121 -0
- package/dist/cjs/{component-DAQ1XSNA.js → component-vjLswij7.js} +6 -8
- package/dist/cjs/{contrast-4mAdSLs0.js → contrast-B6L84xFP.js} +5 -5
- package/dist/cjs/{controller-tEyAFJN9.js → controller-BcC7oIkq.js} +20 -20
- package/dist/cjs/{dev.utils-D5qh-RLT.js → dev.utils-Bk_hA4qQ.js} +9 -10
- package/dist/cjs/{devtools-Dtv-Apvj.js → devtools-CJixr1wI.js} +24 -25
- package/dist/cjs/{disabled-jYcvcwjv.js → disabled-BoM7lglH.js} +2 -1
- package/dist/cjs/{element-focus-CzkKMwtn.js → element-focus-BL2fXDD1.js} +1 -0
- package/dist/cjs/{element-interaction-BtYQAbhu.js → element-interaction-CKiHuPu0.js} +2 -1
- package/dist/cjs/{events-BJC5JJcU.js → events-Ce8f_epW.js} +2 -0
- package/dist/cjs/{field-control-Btb5zapE.js → field-control-Bn_hd-6N.js} +12 -13
- package/dist/cjs/{group-Dg2gJze5.js → group-TVkuA3Dx.js} +8 -9
- package/dist/cjs/{has-closer-CvNa5gqv.js → has-closer-CKT_frM5.js} +2 -1
- package/dist/cjs/{href-BBhiVyPb.js → href-yo_BPSR1.js} +2 -1
- package/dist/cjs/{i18n-BSWM5nea.js → i18n-DOGd0sdR.js} +15 -10
- package/dist/cjs/{i18n-BnOWw1MQ.js → i18n-DdWdytnt.js} +3 -3
- package/dist/cjs/{id-D1VZsLkg.js → id-C7_ak25l.js} +2 -1
- package/dist/cjs/{index-BacpU-d0.js → index-DLwNpyJ5.js} +1740 -61
- package/dist/cjs/index.cjs.js +21 -15
- package/dist/cjs/{input-container-PaL4ZNf3.js → input-container-CvDde8uk.js} +17 -20
- package/dist/cjs/input-uZRNVUsq.js +18 -0
- package/dist/cjs/{item-CLnIJY4J.js → item-D23h7gmK.js} +10 -10
- package/dist/cjs/{item-CPxmIcoq.js → item-D5hmTqf_.js} +17 -18
- package/dist/cjs/{item-Cckqxc6T.js → item-DimqWDZ7.js} +65 -44
- package/dist/cjs/{item-CErU-EPA.js → item-FYvfrXLj.js} +10 -10
- package/dist/cjs/{item-pool-CY0WyGOL.js → item-pool-BJcplkbh.js} +2 -0
- package/dist/cjs/{keyboard-Ca1I5RM2.js → keyboard-21hAUDzL.js} +2 -0
- package/dist/cjs/kol-abbr.cjs.entry.js +12 -16
- package/dist/cjs/kol-accordion.cjs.entry.js +23 -25
- package/dist/cjs/kol-alert.cjs.entry.js +35 -37
- package/dist/cjs/kol-avatar.cjs.entry.js +22 -25
- package/dist/cjs/kol-badge.cjs.entry.js +35 -38
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +41 -44
- package/dist/cjs/kol-button-link.cjs.entry.js +34 -36
- package/dist/cjs/kol-button.cjs.entry.js +34 -36
- package/dist/cjs/kol-card.cjs.entry.js +59 -101
- package/dist/cjs/kol-combobox.cjs.entry.js +88 -90
- package/dist/cjs/kol-details.cjs.entry.js +23 -25
- package/dist/cjs/kol-dialog.cjs.entry.js +39 -42
- package/dist/cjs/kol-drawer.cjs.entry.js +39 -42
- package/dist/cjs/kol-form.cjs.entry.js +34 -37
- package/dist/cjs/kol-heading.cjs.entry.js +20 -22
- package/dist/cjs/kol-icon.cjs.entry.js +20 -18
- package/dist/cjs/kol-image.cjs.entry.js +25 -27
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +95 -96
- package/dist/cjs/kol-input-color.cjs.entry.js +69 -70
- package/dist/cjs/kol-input-date.cjs.entry.js +82 -84
- package/dist/cjs/kol-input-email.cjs.entry.js +85 -86
- package/dist/cjs/kol-input-file.cjs.entry.js +62 -63
- package/dist/cjs/kol-input-number.cjs.entry.js +84 -85
- package/dist/cjs/kol-input-password.cjs.entry.js +84 -85
- package/dist/cjs/kol-input-radio.cjs.entry.js +66 -69
- package/dist/cjs/kol-input-range.cjs.entry.js +67 -69
- package/dist/cjs/kol-input-text.cjs.entry.js +98 -99
- package/dist/cjs/kol-kolibri.cjs.entry.js +13 -16
- package/dist/cjs/kol-link-button.cjs.entry.js +43 -45
- package/dist/cjs/kol-link.cjs.entry.js +41 -43
- package/dist/cjs/kol-meter.cjs.entry.js +27 -36
- package/dist/cjs/kol-modal.cjs.entry.js +39 -42
- package/dist/cjs/kol-nav.cjs.entry.js +51 -54
- package/dist/cjs/kol-pagination.cjs.entry.js +70 -73
- package/dist/cjs/kol-popover-button.cjs.entry.js +67 -104
- package/dist/cjs/kol-progress.cjs.entry.js +27 -27
- package/dist/cjs/kol-quote.cjs.entry.js +17 -19
- package/dist/cjs/kol-select.cjs.entry.js +73 -75
- package/dist/cjs/kol-single-select.cjs.entry.js +96 -93
- package/dist/cjs/kol-skip-nav.cjs.entry.js +40 -43
- package/dist/cjs/kol-spin.cjs.entry.js +26 -29
- package/dist/cjs/kol-split-button.cjs.entry.js +40 -42
- package/dist/cjs/kol-table-stateful.cjs.entry.js +140 -113
- package/dist/cjs/kol-table-stateless.cjs.entry.js +62 -74
- package/dist/cjs/kol-tabs.cjs.entry.js +58 -64
- package/dist/cjs/kol-textarea.cjs.entry.js +84 -84
- package/dist/cjs/kol-toast-container.cjs.entry.js +24 -28
- package/dist/cjs/kol-toolbar.cjs.entry.js +68 -67
- package/dist/cjs/kol-tree-item.cjs.entry.js +44 -44
- package/dist/cjs/kol-tree.cjs.entry.js +35 -25
- package/dist/cjs/kol-version.cjs.entry.js +26 -29
- package/dist/cjs/kolibri.cjs.js +6 -5
- package/dist/cjs/{label-vVOiX4dC.js → label-CCqNq5tW.js} +4 -3
- package/dist/cjs/{label-hints-D6EBRW9T.js → label-hints-qecpxRCt.js} +4 -4
- package/dist/cjs/{label-lang-segment-CYlAqtUl.js → label-lang-segment-BGLGUvz3.js} +3 -2
- package/dist/cjs/{label-with-expert-slot-B9z4nqW1.js → label-with-expert-slot-VcIxokIa.js} +4 -3
- package/dist/cjs/{level-BAiEYu4U.js → level-CVJUatGG.js} +2 -1
- package/dist/cjs/{link-target-4AzB3I84.js → link-target-BchnvpO8.js} +2 -1
- package/dist/cjs/{links-CPNK7VZo.js → links-B1TspXWw.js} +3 -3
- package/dist/cjs/loader.cjs.js +5 -4
- package/dist/cjs/{multiple-B3ZpkzWu.js → multiple-DO-7DpoM.js} +2 -1
- package/dist/cjs/{number-value-B2yoKlvx.js → number-value-C4kXarZR.js} +3 -2
- package/dist/cjs/{open-CvoX_qxD.js → open-Cmz8IDwx.js} +2 -1
- package/dist/cjs/{open-items-cache-B6hP2Aqy.js → open-items-cache-C162W-_D.js} +2 -0
- package/dist/cjs/{options-z7FKffHh.js → options-B5TaPd9X.js} +2 -0
- package/dist/cjs/{options-B2pQC9w2.js → options-CYbRA9bk.js} +3 -3
- package/dist/cjs/{orientation-u2cvwgBc.js → orientation-qw5D2TnY.js} +2 -1
- package/dist/cjs/{placeholder-C9Ngp2tQ.js → placeholder-BKqOq75d.js} +2 -1
- package/dist/cjs/{props-from-config-BQ2SOZlz.js → props-from-config-utp9cExR.js} +149 -74
- package/dist/cjs/{read-only-DfWF-Coi.js → read-only-BA_w8-u1.js} +2 -1
- package/dist/cjs/{required-CdXn16dq.js → required-CxAjKjbz.js} +2 -1
- package/dist/cjs/{resolve-props-B8kPPEMw.js → resolve-props--Nci0LhR.js} +9 -9
- package/dist/cjs/{resolve-props-B5MED90T.js → resolve-props-Dj6sEqG7.js} +9 -10
- package/dist/cjs/{rows-Ca5ya9tG.js → rows-DIswNtTH.js} +2 -1
- package/dist/cjs/{scroll-lock-jojYHBR3.js → scroll-lock-DCG-yvr9.js} +8 -7
- package/dist/cjs/shared-state-DgRutURI.js +16 -0
- package/dist/cjs/{smart-button-CB8qIzgQ.js → smart-button-DseYlks-.js} +3 -3
- package/dist/cjs/{spell-check-DKRC8xbW.js → spell-check-dk8U8oOc.js} +2 -1
- package/dist/cjs/{src-C3NG0rLO.js → src-CtFQUaCM.js} +2 -1
- package/dist/cjs/{step-CZNyTb2h.js → step-CvPxSo00.js} +2 -1
- package/dist/cjs/{suggestions-BRclldK2.js → suggestions-DUxsRVmB.js} +4 -4
- package/dist/cjs/{suggestions-CRyB_YCX.js → suggestions-DgLZZdei.js} +3 -3
- package/dist/cjs/test-component.cjs.entry.js +3 -3
- package/dist/cjs/theme-store-CLf_JZmz.js +13 -0
- package/dist/cjs/{toggle-handler-DRPltZqQ.js → toggle-handler-B-_ojZ0I.js} +13 -16
- package/dist/cjs/{tooltip-open-tracking-Ba0udJRU.js → tooltip-open-tracking-CewIRZOe.js} +8 -5
- package/dist/cjs/{unique-nav-labels-CIAwid5V.js → unique-nav-labels-CFCBdBmd.js} +3 -3
- package/dist/cjs/{unit-bsoemclF.js → unit-DexLlB8H.js} +2 -1
- package/dist/cjs/{validators-DuLdbf2D.js → validators-CxXwm4f6.js} +4 -1
- package/dist/cjs/{value-string-DZ_FFaUt.js → value-string-Ct7kzFWf.js} +2 -1
- package/dist/cjs/{width-BklaRCqt.js → width-BXrduM1f.js} +2 -1
- package/dist/collection/collection-manifest.json +1 -8
- package/dist/collection/components/abbr/component.js +2 -2
- package/dist/collection/components/abbr/style.css +21 -0
- package/dist/collection/components/accordion/component.js +2 -2
- package/dist/collection/components/accordion/style.css +23 -2
- package/dist/collection/components/alert/component.js +8 -6
- package/dist/collection/components/alert/style.css +23 -2
- package/dist/collection/components/avatar/component.js +5 -8
- package/dist/collection/components/avatar/style.css +21 -0
- package/dist/collection/components/badge/component.js +5 -5
- package/dist/collection/components/badge/style.css +23 -2
- package/dist/collection/components/breadcrumb/component.js +4 -4
- package/dist/collection/components/breadcrumb/style.css +23 -2
- package/dist/collection/components/button/component.js +3 -3
- package/dist/collection/components/button/style.css +23 -2
- package/dist/collection/components/button-link/component.js +3 -3
- package/dist/collection/components/button-link/style.css +23 -2
- package/dist/collection/components/card/component.js +54 -19
- package/dist/collection/components/card/style.css +26 -2
- package/dist/collection/components/combobox/component.js +116 -116
- package/dist/collection/components/combobox/style.css +23 -2
- package/dist/collection/components/details/component.js +2 -2
- package/dist/collection/components/details/style.css +23 -2
- package/dist/collection/components/dialog/base.js +2 -2
- package/dist/collection/components/dialog/component.js +6 -6
- package/dist/collection/components/dialog/style.css +26 -2
- package/dist/collection/components/drawer/component.js +4 -4
- package/dist/collection/components/drawer/style.css +26 -2
- package/dist/collection/components/form/component.js +4 -4
- package/dist/collection/components/form/controller.js +4 -3
- package/dist/collection/components/form/style.css +23 -2
- package/dist/collection/components/heading/component.js +5 -5
- package/dist/collection/components/heading/style.css +21 -0
- package/dist/collection/components/icon/component.js +6 -6
- package/dist/collection/components/icon/style.css +2 -2
- package/dist/collection/components/image/component.js +40 -40
- package/dist/collection/components/image/style.css +21 -0
- package/dist/collection/components/input-checkbox/component.js +119 -117
- package/dist/collection/components/input-checkbox/style.css +23 -2
- package/dist/collection/components/input-color/component.js +42 -40
- package/dist/collection/components/input-color/style.css +23 -2
- package/dist/collection/components/input-date/component.js +83 -81
- package/dist/collection/components/input-date/style.css +23 -2
- package/dist/collection/components/input-email/component.js +89 -86
- package/dist/collection/components/input-email/style.css +23 -2
- package/dist/collection/components/input-file/component.js +37 -34
- package/dist/collection/components/input-file/style.css +23 -2
- package/dist/collection/components/input-number/component.js +70 -68
- package/dist/collection/components/input-number/style.css +23 -2
- package/dist/collection/components/input-password/component.js +90 -87
- package/dist/collection/components/input-password/style.css +23 -2
- package/dist/collection/components/input-radio/component.js +36 -37
- package/dist/collection/components/input-radio/style.css +23 -2
- package/dist/collection/components/input-range/component.js +38 -38
- package/dist/collection/components/input-range/style.css +23 -2
- package/dist/collection/components/input-text/component.js +148 -146
- package/dist/collection/components/input-text/style.css +23 -2
- package/dist/collection/components/kolibri/component.js +2 -2
- package/dist/collection/components/kolibri/style.css +21 -0
- package/dist/collection/components/link/base.js +1 -1
- package/dist/collection/components/link/component.js +27 -27
- package/dist/collection/components/link/style.css +23 -2
- package/dist/collection/components/link-button/component.js +28 -28
- package/dist/collection/components/link-button/style.css +23 -2
- package/dist/collection/components/meter/component.js +7 -13
- package/dist/collection/components/meter/style.css +21 -0
- package/dist/collection/components/modal/component.js +6 -6
- package/dist/collection/components/modal/style.css +26 -2
- package/dist/collection/components/nav/component.js +3 -3
- package/dist/collection/components/nav/style.css +23 -2
- package/dist/collection/components/pagination/component.js +92 -94
- package/dist/collection/components/pagination/style.css +23 -2
- package/dist/collection/components/popover-button/component.js +40 -11
- package/dist/collection/components/popover-button/style.css +23 -2
- package/dist/collection/components/progress/component.js +10 -10
- package/dist/collection/components/progress/style.css +21 -0
- package/dist/collection/components/public-api/contract.js +46 -6
- package/dist/collection/components/quote/component.js +6 -6
- package/dist/collection/components/quote/style.css +21 -0
- package/dist/collection/components/select/component.js +61 -61
- package/dist/collection/components/select/style.css +23 -2
- package/dist/collection/components/single-select/component.js +141 -137
- package/dist/collection/components/single-select/style.css +23 -2
- package/dist/collection/components/skip-nav/component.js +3 -3
- package/dist/collection/components/skip-nav/style.css +23 -2
- package/dist/collection/components/spin/component.js +30 -30
- package/dist/collection/components/spin/style.css +29 -1
- package/dist/collection/components/split-button/component.js +5 -5
- package/dist/collection/components/split-button/style.css +23 -2
- package/dist/collection/components/table-stateful/component.js +118 -122
- package/dist/collection/components/table-stateful/style.css +35 -4
- package/dist/collection/components/table-stateless/base.js +11 -2
- package/dist/collection/components/table-stateless/component.js +34 -75
- package/dist/collection/components/table-stateless/style.css +35 -4
- package/dist/collection/components/tabs/component.js +19 -28
- package/dist/collection/components/tabs/style.css +24 -3
- package/dist/collection/components/textarea/component.js +91 -89
- package/dist/collection/components/textarea/style.css +23 -2
- package/dist/collection/components/toaster/shadow.js +3 -4
- package/dist/collection/components/toaster/style.css +23 -2
- package/dist/collection/components/toaster/toaster.js +2 -1
- package/dist/collection/components/toolbar/component.js +46 -42
- package/dist/collection/components/toolbar/style.css +23 -2
- package/dist/collection/components/tree/component.js +23 -12
- package/dist/collection/components/tree/style.css +21 -0
- package/dist/collection/components/tree-item/component.js +43 -40
- package/dist/collection/components/tree-item/style.css +23 -2
- package/dist/collection/components/version/component.js +3 -3
- package/dist/collection/components/version/style.css +23 -2
- package/dist/collection/core/bootstrap.js +8 -5
- package/dist/collection/core/component-names.js +52 -106
- package/dist/collection/core/i18n.js +7 -6
- package/dist/collection/core/shared-state.js +10 -0
- package/dist/collection/core/tag-transformer.js +27 -0
- package/dist/collection/core/theme-store.js +8 -0
- package/dist/collection/global/script.js +3 -1
- package/dist/collection/index.js +3 -1
- package/dist/collection/internal/functional-components/alert/component.js +2 -1
- package/dist/collection/internal/functional-components/avatar/component.js +2 -2
- package/dist/collection/internal/functional-components/badge/component.js +2 -1
- package/dist/collection/internal/functional-components/bem-root-node/component.js +16 -6
- package/dist/collection/internal/functional-components/breadcrumb/component.js +2 -2
- package/dist/collection/internal/functional-components/breadcrumb/link-item.js +2 -2
- package/dist/collection/internal/functional-components/button/item.js +2 -2
- package/dist/collection/internal/functional-components/card/component.js +3 -1
- package/dist/collection/internal/functional-components/collapsible/component.js +3 -2
- package/dist/collection/internal/functional-components/counter/api.js +1 -1
- package/dist/collection/internal/functional-components/dialog/component.js +6 -3
- package/dist/collection/internal/functional-components/dialog/item.js +4 -4
- package/dist/collection/internal/functional-components/drawer/component.js +1 -1
- package/dist/collection/internal/functional-components/form/error-link-item.js +2 -2
- package/dist/collection/internal/functional-components/form-association/api.js +2 -2
- package/dist/collection/internal/functional-components/form-association/behavior.js +18 -15
- package/dist/collection/internal/functional-components/form-field/base-web-component.js +7 -8
- package/dist/collection/internal/functional-components/form-field/custom-suggestions.js +1 -1
- package/dist/collection/internal/functional-components/form-field/msg.js +2 -2
- package/dist/collection/internal/functional-components/form-field/number-value.js +1 -1
- package/dist/collection/internal/functional-components/heading/component.js +3 -4
- package/dist/collection/internal/functional-components/icon/api.js +2 -2
- package/dist/collection/internal/functional-components/icon/component.js +2 -2
- package/dist/collection/internal/functional-components/image/component.js +2 -4
- package/dist/collection/internal/functional-components/link/api.js +1 -1
- package/dist/collection/internal/functional-components/link/aria-current-service.js +23 -0
- package/dist/collection/internal/functional-components/link/component.js +2 -2
- package/dist/collection/internal/functional-components/link/item.js +3 -3
- package/dist/collection/internal/functional-components/meter/component.js +5 -7
- package/dist/collection/internal/functional-components/pagination/api.js +2 -2
- package/dist/collection/internal/functional-components/pagination/component.js +2 -3
- package/dist/collection/internal/functional-components/pagination/item.js +26 -11
- package/dist/collection/internal/functional-components/pagination/page-size-select.js +17 -9
- package/dist/collection/internal/functional-components/popover-button/item.js +2 -2
- package/dist/collection/internal/functional-components/progress/api.js +1 -1
- package/dist/collection/internal/functional-components/progress/component.js +2 -1
- package/dist/collection/internal/functional-components/quote/component.js +2 -3
- package/dist/collection/internal/functional-components/single-select/component.js +2 -1
- package/dist/collection/internal/functional-components/skip-nav/api.js +1 -1
- package/dist/collection/internal/functional-components/skip-nav/component.js +2 -2
- package/dist/collection/internal/functional-components/skip-nav/link-item.js +2 -2
- package/dist/collection/internal/functional-components/span/component.js +3 -2
- package/dist/collection/internal/functional-components/table-stateful/component.js +17 -0
- package/dist/collection/internal/functional-components/table-stateful/model.js +21 -7
- package/dist/collection/internal/functional-components/table-stateless/api.js +2 -2
- package/dist/collection/internal/functional-components/table-stateless/component.js +11 -8
- package/dist/collection/internal/functional-components/table-stateless/selection-tooltip-item.js +29 -0
- package/dist/collection/internal/functional-components/table-stateless/settings.js +12 -7
- package/dist/collection/internal/functional-components/table-stateless/table-model.js +2 -6
- package/dist/collection/internal/functional-components/tabs/button-item.js +2 -2
- package/dist/collection/internal/functional-components/tabs/component.js +7 -1
- package/dist/collection/internal/functional-components/toolbar/{item.js → entry-item.js} +4 -4
- package/dist/collection/internal/functional-components/tree/component.js +2 -2
- package/dist/collection/internal/functional-components/tree-item/component.js +2 -2
- package/dist/collection/internal/props/helpers/factory.js +1 -1
- package/dist/collection/internal/props/helpers/normalizers.js +2 -5
- package/dist/collection/internal/props/helpers/validators.js +1 -0
- package/dist/collection/internal/props/index.js +1 -1
- package/dist/collection/internal/props/label-decorative.js +10 -0
- package/dist/collection/locales/de.js +3 -2
- package/dist/collection/locales/en.js +3 -2
- package/dist/collection/schema/bem-registry.js +59 -13
- package/dist/collection/schema/components/index.js +0 -29
- package/dist/collection/schema/i18n-keys.js +29 -28
- package/dist/collection/schema/props/accept.js +1 -7
- package/dist/collection/schema/props/access-key.js +1 -7
- package/dist/collection/schema/props/active.js +1 -7
- package/dist/collection/schema/props/adjust-height.js +1 -7
- package/dist/collection/schema/props/alert-type.js +0 -7
- package/dist/collection/schema/props/align.js +0 -4
- package/dist/collection/schema/props/allow-multi-sort.js +1 -7
- package/dist/collection/schema/props/alt.js +1 -7
- package/dist/collection/schema/props/alternative-button-link-role.js +1 -8
- package/dist/collection/schema/props/aria-controls.js +1 -7
- package/dist/collection/schema/props/aria-current-value.js +1 -10
- package/dist/collection/schema/props/aria-description.js +1 -7
- package/dist/collection/schema/props/aria-details.js +1 -22
- package/dist/collection/schema/props/aria-expanded.js +1 -7
- package/dist/collection/schema/props/aria-labelledby.js +8 -15
- package/dist/collection/schema/props/aria-owns.js +1 -9
- package/dist/collection/schema/props/aria-selected.js +1 -7
- package/dist/collection/schema/props/auto-complete.js +0 -6
- package/dist/collection/schema/props/badge-text.js +1 -7
- package/dist/collection/schema/props/button-callbacks.js +1 -7
- package/dist/collection/schema/props/button-type.js +1 -8
- package/dist/collection/schema/props/button-variant.js +1 -10
- package/dist/collection/schema/props/checked.js +1 -7
- package/dist/collection/schema/props/collapsible.js +1 -7
- package/dist/collection/schema/props/color.js +1 -14
- package/dist/collection/schema/props/current-length.js +1 -7
- package/dist/collection/schema/props/custom-class.js +1 -9
- package/dist/collection/schema/props/disabled.js +1 -15
- package/dist/collection/schema/props/download.js +1 -7
- package/dist/collection/schema/props/error-list.js +1 -14
- package/dist/collection/schema/props/has-closer.js +1 -7
- package/dist/collection/schema/props/has-compact-button.js +1 -7
- package/dist/collection/schema/props/has-counter.js +1 -7
- package/dist/collection/schema/props/has-create-button.js +1 -7
- package/dist/collection/schema/props/has-icons-when-expanded.js +1 -7
- package/dist/collection/schema/props/has-settings-menu.js +1 -7
- package/dist/collection/schema/props/has-value.js +1 -7
- package/dist/collection/schema/props/hide-label.js +1 -7
- package/dist/collection/schema/props/hide-msg.js +1 -7
- package/dist/collection/schema/props/hint.js +1 -7
- package/dist/collection/schema/props/href.js +1 -7
- package/dist/collection/schema/props/icons-input-checkbox.js +1 -18
- package/dist/collection/schema/props/icons.js +0 -43
- package/dist/collection/schema/props/id.js +1 -7
- package/dist/collection/schema/props/image-sizes.js +1 -7
- package/dist/collection/schema/props/image-source.js +1 -7
- package/dist/collection/schema/props/image-srcset.js +1 -7
- package/dist/collection/schema/props/indeterminate.js +1 -7
- package/dist/collection/schema/props/index.js +5 -1
- package/dist/collection/schema/props/inline.js +1 -7
- package/dist/collection/schema/props/label-align.js +1 -8
- package/dist/collection/schema/props/label.js +0 -35
- package/dist/collection/schema/props/link-on-callbacks.js +1 -8
- package/dist/collection/schema/props/link-target.js +1 -7
- package/dist/collection/schema/props/loading.js +1 -8
- package/dist/collection/schema/props/max-length-behavior.js +1 -8
- package/dist/collection/schema/props/max-length.js +1 -7
- package/dist/collection/schema/props/max.js +1 -7
- package/dist/collection/schema/props/modal.js +1 -7
- package/dist/collection/schema/props/msg.js +1 -24
- package/dist/collection/schema/props/multiple.js +1 -7
- package/dist/collection/schema/props/name.js +1 -7
- package/dist/collection/schema/props/open.js +1 -7
- package/dist/collection/schema/props/options.js +1 -11
- package/dist/collection/schema/props/orientation.js +1 -10
- package/dist/collection/schema/props/pagination-position.js +1 -10
- package/dist/collection/schema/props/pattern.js +1 -7
- package/dist/collection/schema/props/placeholder.js +1 -7
- package/dist/collection/schema/props/popover-align.js +1 -7
- package/dist/collection/schema/props/read-only.js +1 -7
- package/dist/collection/schema/props/required.js +1 -7
- package/dist/collection/schema/props/resize-textarea.js +0 -9
- package/dist/collection/schema/props/rows.js +1 -7
- package/dist/collection/schema/props/short-key.js +1 -7
- package/dist/collection/schema/props/show.js +1 -7
- package/dist/collection/schema/props/spell-check.js +1 -9
- package/dist/collection/schema/props/suggestions.js +1 -16
- package/dist/collection/schema/props/tab-behavior.js +1 -8
- package/dist/collection/schema/props/tab-index.js +1 -16
- package/dist/collection/schema/props/table-data-foot.js +1 -21
- package/dist/collection/schema/props/table-data.js +1 -21
- package/dist/collection/schema/props/table-fixed-cols.js +1 -14
- package/dist/collection/schema/props/table-selection.js +1 -22
- package/dist/collection/schema/props/toolbar-items.js +1 -21
- package/dist/collection/schema/props/tooltip-align.js +1 -7
- package/dist/collection/schema/props/touched.js +1 -7
- package/dist/collection/schema/props/type-input-date.js +0 -7
- package/dist/collection/schema/props/type-input-text.js +0 -7
- package/dist/collection/schema/props/unit.js +1 -7
- package/dist/collection/schema/props/variant/dialog.js +1 -8
- package/dist/collection/schema/props/variant/modal.js +1 -4
- package/dist/collection/schema/props/variant/password-variant.js +1 -8
- package/dist/collection/schema/props/variant-alert.js +0 -7
- package/dist/collection/schema/props/variant-class-name.js +0 -33
- package/dist/collection/schema/props/variant-input-checkbox.js +0 -7
- package/dist/collection/schema/props/variant-progress.js +0 -7
- package/dist/collection/schema/props/visibility-toggle.js +1 -7
- package/dist/collection/schema/props/width.js +1 -7
- package/dist/collection/schema/utils/contrast.js +1 -1
- package/dist/collection/schema/utils/prop.validators.js +1 -1
- package/dist/collection/schema/validators/common.js +4 -0
- package/dist/collection/schema/validators/index.js +0 -1
- package/dist/collection/utils/aria-labelledby.js +0 -12
- package/dist/collection/utils/dev.utils.js +1 -2
- package/dist/collection/utils/markdown.js +49 -3
- package/dist/collection/utils/testing/logged-messages.js +4 -0
- package/dist/collection/utils/testing/snapshot-input-testing.js +1 -1
- package/dist/collection/utils/testing/snapshot-testing.js +2 -1
- package/dist/collection/utils/tooltip-open-tracking.js +6 -5
- package/dist/components/Heading.js +1 -1
- package/dist/components/access-and-short-key.js +1 -1
- package/dist/components/aria-current-service.js +4 -0
- package/dist/components/base-web-component.js +1 -1
- package/dist/components/base-web-component2.js +1 -1
- package/dist/components/base-web-component3.js +1 -1
- package/dist/components/base-web-component4.js +1 -1
- package/dist/components/base.js +1 -1
- package/dist/components/base2.js +1 -1
- package/dist/components/base3.js +1 -1
- package/dist/components/base4.js +1 -1
- package/dist/components/behavior.js +1 -1
- package/dist/components/behavior2.js +1 -1
- package/dist/components/behavior3.js +1 -1
- package/dist/components/behavior4.js +1 -1
- package/dist/components/bem-registry.js +1 -1
- package/dist/components/bootstrap.js +1 -1
- package/dist/components/color.js +1 -1
- package/dist/components/component-names.js +1 -1
- package/dist/components/component.js +1 -1
- package/dist/components/component10.js +1 -1
- package/dist/components/component11.js +1 -1
- package/dist/components/component12.js +4 -0
- package/dist/components/component13.js +4 -0
- package/dist/components/component14.js +4 -0
- package/dist/components/component2.js +1 -1
- package/dist/components/component3.js +1 -1
- package/dist/components/component4.js +1 -1
- package/dist/components/component5.js +1 -1
- package/dist/components/component6.js +1 -1
- package/dist/components/component7.js +1 -1
- package/dist/components/component8.js +1 -1
- package/dist/components/component9.js +1 -1
- package/dist/components/contrast.js +1 -1
- package/dist/components/controller.js +1 -1
- package/dist/components/dev.utils.js +1 -1
- package/dist/components/devtools.js +1 -1
- package/dist/components/disabled.js +1 -1
- package/dist/components/element-focus.js +1 -1
- package/dist/components/element-interaction.js +1 -1
- package/dist/components/events.js +1 -1
- package/dist/components/field-control.js +1 -1
- package/dist/components/group.js +1 -1
- package/dist/components/has-closer.js +1 -1
- package/dist/components/i18n.js +1 -1
- package/dist/components/i18n2.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input-container.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/item-pool.js +1 -1
- package/dist/components/item.js +1 -1
- package/dist/components/item2.js +1 -1
- package/dist/components/item3.js +1 -1
- package/dist/components/item4.js +1 -1
- package/dist/components/keyboard.js +1 -1
- package/dist/components/kol-abbr.js +1 -1
- package/dist/components/kol-accordion.js +1 -1
- package/dist/components/kol-alert.js +1 -1
- package/dist/components/kol-avatar.js +1 -1
- package/dist/components/kol-badge.js +1 -1
- package/dist/components/kol-breadcrumb.js +1 -1
- package/dist/components/kol-button-link.js +1 -1
- package/dist/components/kol-button.js +1 -1
- package/dist/components/kol-card.js +1 -1
- package/dist/components/kol-combobox.js +1 -1
- package/dist/components/kol-details.js +1 -1
- package/dist/components/kol-dialog.js +1 -1
- package/dist/components/kol-drawer.js +1 -1
- package/dist/components/kol-form.js +1 -1
- package/dist/components/kol-heading.js +1 -1
- package/dist/components/kol-icon.js +1 -1
- package/dist/components/kol-image.js +1 -1
- package/dist/components/kol-input-checkbox.js +1 -1
- package/dist/components/kol-input-color.js +1 -1
- package/dist/components/kol-input-date.js +1 -1
- package/dist/components/kol-input-email.js +1 -1
- package/dist/components/kol-input-file.js +1 -1
- package/dist/components/kol-input-number.js +1 -1
- package/dist/components/kol-input-password.js +1 -1
- package/dist/components/kol-input-radio.js +1 -1
- package/dist/components/kol-input-range.js +1 -1
- package/dist/components/kol-input-text.js +1 -1
- package/dist/components/kol-kolibri.js +1 -1
- package/dist/components/kol-link-button.js +1 -1
- package/dist/components/kol-link.js +1 -1
- package/dist/components/kol-meter.js +1 -1
- package/dist/components/kol-modal.js +1 -1
- package/dist/components/kol-nav.js +1 -1
- package/dist/components/kol-pagination.js +1 -1
- package/dist/components/kol-popover-button.js +1 -1
- package/dist/components/kol-progress.js +1 -1
- package/dist/components/kol-quote.js +1 -1
- package/dist/components/kol-select.js +1 -1
- package/dist/components/kol-single-select.js +1 -1
- package/dist/components/kol-skip-nav.js +1 -1
- package/dist/components/kol-spin.js +1 -1
- package/dist/components/kol-split-button.js +1 -1
- package/dist/components/kol-table-stateful.js +1 -1
- package/dist/components/kol-table-stateless.js +1 -1
- package/dist/components/kol-tabs.js +1 -1
- package/dist/components/kol-textarea.js +1 -1
- package/dist/components/kol-toast-container.js +1 -1
- package/dist/components/kol-toolbar.js +1 -1
- package/dist/components/kol-tree-item.js +1 -1
- package/dist/components/kol-tree.js +1 -1
- package/dist/components/kol-version.js +1 -1
- package/dist/components/label-hints.js +1 -1
- package/dist/components/label-lang-segment.js +1 -1
- package/dist/components/label-with-expert-slot.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/level.js +1 -1
- package/dist/components/link-target.js +1 -1
- package/dist/components/links.js +1 -1
- package/dist/components/multiple.js +1 -1
- package/dist/components/number-value.js +1 -1
- package/dist/components/open-items-cache.js +1 -1
- package/dist/components/open.js +1 -1
- package/dist/components/options.js +1 -1
- package/dist/components/options2.js +1 -1
- package/dist/components/orientation.js +1 -1
- package/dist/components/placeholder.js +1 -1
- package/dist/components/prop.validators.js +4 -0
- package/dist/components/read-only.js +1 -1
- package/dist/components/required.js +1 -1
- package/dist/components/resolve-props.js +1 -1
- package/dist/components/resolve-props2.js +1 -1
- package/dist/components/rows.js +1 -1
- package/dist/components/scroll-lock.js +1 -1
- package/dist/components/shared-state.js +4 -0
- package/dist/components/smart-button.js +1 -1
- package/dist/components/spell-check.js +1 -1
- package/dist/components/src.js +1 -1
- package/dist/components/step.js +1 -1
- package/dist/components/suggestions.js +1 -1
- package/dist/components/suggestions2.js +1 -1
- package/dist/components/test-component.js +1 -1
- package/dist/components/toggle-handler.js +1 -1
- package/dist/components/tooltip-open-tracking.js +1 -1
- package/dist/components/unique-nav-labels.js +1 -1
- package/dist/components/unit.js +1 -1
- package/dist/components/validators.js +1 -1
- package/dist/components/value-string.js +1 -1
- package/dist/components/width.js +1 -1
- package/dist/esm/{Heading-BVhjT9av.js → Heading-foerLIu9.js} +2 -2
- package/dist/esm/{access-and-short-key-ijzCZfHm.js → access-and-short-key-BTEwnScd.js} +2 -0
- package/dist/esm/{api-D92_O-0H.js → api-Ba9FNPRn.js} +29 -31
- package/dist/esm/{app-globals-CBGjgNge.js → app-globals-CqYpXngl.js} +4 -3
- package/dist/esm/aria-current-service-4eUMzpeO.js +27 -0
- package/dist/esm/{aria-labelledby-CLehu03h.js → aria-labelledby-C4wUnR-v.js} +3 -13
- package/dist/esm/{base-BLBSJu_1.js → base-AKIr0rpk.js} +13 -14
- package/dist/esm/{base-qvPPg-dn.js → base-C7nTPc7u.js} +95 -67
- package/dist/esm/{base-DIcqHqMz.js → base-CpUNedp9.js} +13 -14
- package/dist/esm/{base-CHmdLgoO.js → base-D7qItqyf.js} +14 -16
- package/dist/esm/{base-web-component-XgI4wUyN.js → base-web-component-B3wi5eWH.js} +2 -1
- package/dist/esm/{base-web-component-CaAexWy_.js → base-web-component-BpL_hXcg.js} +16 -18
- package/dist/esm/{base-web-component-DbagnM7m.js → base-web-component-DorOeD_U.js} +10 -13
- package/dist/esm/{behavior-B08CXmI4.js → behavior-D9BHiFnH.js} +29 -28
- package/dist/esm/{behavior-CwUUkdaP.js → behavior-DDo87iUM.js} +6 -6
- package/dist/esm/{behavior-DW7_5Wxp.js → behavior-XAV9GSxI.js} +6 -6
- package/dist/esm/{bem-registry-CWN7_O1L.js → bem-registry-CrZZQahR.js} +60 -14
- package/dist/esm/bootstrap-Cz7Iq2I2.js +52 -0
- package/dist/esm/{color-eAL9I7Wq.js → color-CnVBqZd5.js} +3 -3
- package/dist/esm/{component-8ALsFV4i.js → component-0npqUhj2.js} +5 -6
- package/dist/esm/{component-nR5Bf9G5.js → component-BCKsZOoB.js} +6 -5
- package/dist/esm/component-BZjDp_Lf.js +17 -0
- package/dist/esm/component-CjdTbGlP.js +172 -0
- package/dist/esm/component-Cn693XeT.js +47 -0
- package/dist/esm/{component-D0mBOGjS.js → component-Cvd5HXbX.js} +10 -12
- package/dist/esm/{component-DCw1ZAE5.js → component-CvdxCpjC.js} +5 -7
- package/dist/esm/{component-CdKSiR5P.js → component-DFhRTaqb.js} +6 -9
- package/dist/esm/{component-BTMWoACz.js → component-DP_p5few.js} +11 -13
- package/dist/esm/{component-DBAicJ2u.js → component-DlROeCCe.js} +14 -17
- package/dist/esm/component-names-DzmdvSkQ.js +115 -0
- package/dist/esm/{contrast-D78VGPFR.js → contrast-BHjNzQvB.js} +2 -2
- package/dist/esm/{controller-C3O9ohSP.js → controller-DYkXzFqc.js} +5 -5
- package/dist/esm/{dev.utils-wYkYn08d.js → dev.utils-BgFDROtc.js} +1 -2
- package/dist/esm/{devtools-DrBkkLdP.js → devtools-B6h2bVMJ.js} +4 -5
- package/dist/esm/{disabled-Cqhc40CU.js → disabled-BZIZZ6wy.js} +2 -1
- package/dist/esm/{element-focus-BIRmGg5W.js → element-focus-C0L8NWU8.js} +1 -0
- package/dist/esm/{element-interaction-sGYdEpmv.js → element-interaction-B3GEli6r.js} +2 -1
- package/dist/esm/{events-BIT-JUP2.js → events-DdfMb1U7.js} +2 -0
- package/dist/esm/{field-control-Cs5VvsYo.js → field-control-QF0yTcyb.js} +7 -8
- package/dist/esm/{group-uNo1CfbK.js → group-8Me6YSO8.js} +6 -7
- package/dist/esm/{has-closer-B9NQY7BK.js → has-closer-B-uYNNCw.js} +2 -1
- package/dist/esm/{href-JqLbNBsW.js → href-DKPJq0Rh.js} +2 -1
- package/dist/esm/{i18n-Dl6Jjofb.js → i18n-TlIXBsgS.js} +15 -10
- package/dist/esm/{i18n-DtLKn3Xt.js → i18n-Uze_l4Ts.js} +2 -2
- package/dist/esm/{id-CIYvVaNr.js → id-CkUYl2hO.js} +2 -1
- package/dist/esm/{index-BKEJuyFi.js → index-D1fZ9xFt.js} +1677 -46
- package/dist/esm/index.js +14 -12
- package/dist/esm/{input-Dja5Qioc.js → input-DwlolkOG.js} +4 -6
- package/dist/esm/{input-container-C2Am7LEP.js → input-container-DC3x4oGg.js} +6 -9
- package/dist/esm/{item-DIAFIFSy.js → item-DThxrTZc.js} +60 -39
- package/dist/esm/{item-C4AmpdVD.js → item-cArH2C6l.js} +9 -9
- package/dist/esm/{item-pool-BOxAYePG.js → item-pool-D4qvvY-S.js} +2 -0
- package/dist/esm/{item-D627ShRd.js → item-uC3h4pj3.js} +15 -16
- package/dist/esm/{item-ConW1c81.js → item-zPmzbSvE.js} +9 -9
- package/dist/esm/{keyboard-Cnv7zP3N.js → keyboard-DzlBdECG.js} +2 -0
- package/dist/esm/kol-abbr.entry.js +11 -15
- package/dist/esm/kol-accordion.entry.js +22 -24
- package/dist/esm/kol-alert.entry.js +35 -37
- package/dist/esm/kol-avatar.entry.js +22 -25
- package/dist/esm/kol-badge.entry.js +32 -35
- package/dist/esm/kol-breadcrumb.entry.js +38 -41
- package/dist/esm/kol-button-link.entry.js +34 -36
- package/dist/esm/kol-button.entry.js +34 -36
- package/dist/esm/kol-card.entry.js +59 -101
- package/dist/esm/kol-combobox.entry.js +87 -89
- package/dist/esm/kol-details.entry.js +22 -24
- package/dist/esm/kol-dialog.entry.js +39 -42
- package/dist/esm/kol-drawer.entry.js +39 -42
- package/dist/esm/kol-form.entry.js +32 -35
- package/dist/esm/kol-heading.entry.js +20 -22
- package/dist/esm/kol-icon.entry.js +20 -18
- package/dist/esm/kol-image.entry.js +25 -27
- package/dist/esm/kol-input-checkbox.entry.js +90 -91
- package/dist/esm/kol-input-color.entry.js +69 -70
- package/dist/esm/kol-input-date.entry.js +81 -83
- package/dist/esm/kol-input-email.entry.js +85 -86
- package/dist/esm/kol-input-file.entry.js +62 -63
- package/dist/esm/kol-input-number.entry.js +83 -84
- package/dist/esm/kol-input-password.entry.js +83 -84
- package/dist/esm/kol-input-radio.entry.js +63 -66
- package/dist/esm/kol-input-range.entry.js +67 -69
- package/dist/esm/kol-input-text.entry.js +98 -99
- package/dist/esm/kol-kolibri.entry.js +12 -15
- package/dist/esm/kol-link-button.entry.js +42 -44
- package/dist/esm/kol-link.entry.js +41 -43
- package/dist/esm/kol-meter.entry.js +27 -36
- package/dist/esm/kol-modal.entry.js +39 -42
- package/dist/esm/kol-nav.entry.js +44 -47
- package/dist/esm/kol-pagination.entry.js +70 -73
- package/dist/esm/kol-popover-button.entry.js +67 -104
- package/dist/esm/kol-progress.entry.js +27 -27
- package/dist/esm/kol-quote.entry.js +17 -19
- package/dist/esm/kol-select.entry.js +73 -75
- package/dist/esm/kol-single-select.entry.js +95 -92
- package/dist/esm/kol-skip-nav.entry.js +38 -41
- package/dist/esm/kol-spin.entry.js +26 -29
- package/dist/esm/kol-split-button.entry.js +38 -40
- package/dist/esm/kol-table-stateful.entry.js +136 -109
- package/dist/esm/kol-table-stateless.entry.js +62 -74
- package/dist/esm/kol-tabs.entry.js +54 -60
- package/dist/esm/kol-textarea.entry.js +82 -82
- package/dist/esm/kol-toast-container.entry.js +22 -26
- package/dist/esm/kol-toolbar.entry.js +63 -62
- package/dist/esm/kol-tree-item.entry.js +44 -44
- package/dist/esm/kol-tree.entry.js +35 -25
- package/dist/esm/kol-version.entry.js +25 -28
- package/dist/esm/kolibri.js +7 -6
- package/dist/esm/{label-BRosRgdX.js → label-G82W4YoW.js} +4 -3
- package/dist/esm/{label-hints-Jn18RUT-.js → label-hints-DiRb_zIZ.js} +2 -2
- package/dist/esm/{label-lang-segment-2_GnxjFp.js → label-lang-segment-BSVexfSR.js} +3 -2
- package/dist/esm/label-with-expert-slot-C1i0atAL.js +13 -0
- package/dist/esm/{level-CA1s1_Mf.js → level-CWkPM-CS.js} +2 -1
- package/dist/esm/{link-target-FX94oqMo.js → link-target-B2OC2sZU.js} +2 -1
- package/dist/esm/{links-DwucTqcR.js → links-CiNHSAYH.js} +2 -2
- package/dist/esm/loader.js +6 -5
- package/dist/esm/{multiple-DqrZxybx.js → multiple-CuU2AuEM.js} +2 -1
- package/dist/esm/{number-value-B-SJ1dRo.js → number-value-adUq1zr1.js} +2 -1
- package/dist/esm/{open-DRRv1KFK.js → open-DR8Z7RtS.js} +2 -1
- package/dist/esm/{open-items-cache-D-kml1h6.js → open-items-cache-CS2mDRNB.js} +2 -0
- package/dist/esm/{options-B0rBHetL.js → options-BDTJtk6H.js} +2 -0
- package/dist/esm/{options-DCaUcfAu.js → options-BPwcDIDO.js} +2 -2
- package/dist/esm/{orientation-XNOCaPwy.js → orientation-BUPO9LJU.js} +2 -1
- package/dist/esm/{placeholder-BeLIzdJv.js → placeholder-BTFnryTd.js} +2 -1
- package/dist/esm/{props-from-config-Ci0dILpz.js → props-from-config-DqFgiUwD.js} +136 -63
- package/dist/esm/{read-only-Bby9r6ZX.js → read-only-DRmmHb2G.js} +2 -1
- package/dist/esm/{required-hoaT7UmZ.js → required-D4CdAA4s.js} +2 -1
- package/dist/esm/{resolve-props-D2KiItuv.js → resolve-props-BAambGug.js} +9 -9
- package/dist/esm/{resolve-props-BLZxWC3j.js → resolve-props-Dpl38Wpe.js} +7 -8
- package/dist/esm/{rows-B0x8CR7K.js → rows-DRKSoawJ.js} +2 -1
- package/dist/esm/{scroll-lock-Y2hf47KW.js → scroll-lock-C66lpb8L.js} +9 -7
- package/dist/esm/shared-state-Dn94ivRg.js +14 -0
- package/dist/esm/{smart-button-CS_ZriPt.js → smart-button-BYEk3DzS.js} +2 -2
- package/dist/esm/{spell-check-DzgftyqL.js → spell-check-DlQ_d2GL.js} +2 -1
- package/dist/esm/{src-DaGhmCL1.js → src-Cikg9qhP.js} +2 -1
- package/dist/esm/{step-Bdj89bGO.js → step-C7WPZrUp.js} +2 -1
- package/dist/esm/{suggestions-Dy1X-Pc3.js → suggestions-CotfxJG1.js} +2 -2
- package/dist/esm/{suggestions-DuqzGDve.js → suggestions-qW9OdwO3.js} +3 -3
- package/dist/esm/test-component.entry.js +3 -3
- package/dist/esm/theme-store-DroJsU6S.js +11 -0
- package/dist/esm/{toggle-handler-BRLmxe1J.js → toggle-handler-BB_SIgS1.js} +12 -15
- package/dist/esm/tooltip-open-tracking-CxHWKk8f.js +21 -0
- package/dist/esm/{unique-nav-labels-h2KOu5Qy.js → unique-nav-labels-CQgKoOXd.js} +2 -2
- package/dist/esm/{unit-BUhhJbhT.js → unit-D2lG-lEM.js} +2 -1
- package/dist/esm/{validators-BVM40IEr.js → validators-yh10eyXe.js} +4 -2
- package/dist/esm/{value-string-e9pwLcS-.js → value-string-DwEIOG1f.js} +2 -1
- package/dist/esm/{width-CgYY17tL.js → width-xawzWTVW.js} +2 -1
- package/dist/kolibri/Heading-foerLIu9.js +4 -0
- package/dist/kolibri/access-and-short-key-BTEwnScd.js +4 -0
- package/dist/kolibri/api-Ba9FNPRn.js +4 -0
- package/dist/kolibri/app-globals-CqYpXngl.js +4 -0
- package/dist/kolibri/aria-current-service-4eUMzpeO.js +4 -0
- package/dist/kolibri/aria-labelledby-C4wUnR-v.js +4 -0
- package/dist/kolibri/base-AKIr0rpk.js +4 -0
- package/dist/kolibri/base-C7nTPc7u.js +4 -0
- package/dist/kolibri/base-CpUNedp9.js +4 -0
- package/dist/kolibri/base-D7qItqyf.js +4 -0
- package/dist/kolibri/base-web-component-B3wi5eWH.js +4 -0
- package/dist/kolibri/base-web-component-BpL_hXcg.js +4 -0
- package/dist/kolibri/base-web-component-DorOeD_U.js +4 -0
- package/dist/kolibri/behavior-D9BHiFnH.js +4 -0
- package/dist/kolibri/behavior-DDo87iUM.js +4 -0
- package/dist/kolibri/behavior-XAV9GSxI.js +4 -0
- package/dist/kolibri/bem-registry-CrZZQahR.js +4 -0
- package/dist/kolibri/bootstrap-Cz7Iq2I2.js +4 -0
- package/dist/kolibri/color-CnVBqZd5.js +4 -0
- package/dist/kolibri/component-0npqUhj2.js +4 -0
- package/dist/kolibri/component-BCKsZOoB.js +4 -0
- package/dist/kolibri/component-BZjDp_Lf.js +4 -0
- package/dist/kolibri/component-CjdTbGlP.js +4 -0
- package/dist/kolibri/component-Cn693XeT.js +4 -0
- package/dist/kolibri/component-Cvd5HXbX.js +4 -0
- package/dist/kolibri/component-CvdxCpjC.js +4 -0
- package/dist/kolibri/component-DFhRTaqb.js +4 -0
- package/dist/kolibri/component-DP_p5few.js +4 -0
- package/dist/kolibri/component-DlROeCCe.js +4 -0
- package/dist/kolibri/component-names-DzmdvSkQ.js +4 -0
- package/dist/kolibri/contrast-BHjNzQvB.js +4 -0
- package/dist/kolibri/controller-DYkXzFqc.js +4 -0
- package/dist/kolibri/dev.utils-BgFDROtc.js +4 -0
- package/dist/kolibri/devtools-B6h2bVMJ.js +4 -0
- package/dist/kolibri/disabled-BZIZZ6wy.js +4 -0
- package/dist/kolibri/element-focus-C0L8NWU8.js +4 -0
- package/dist/kolibri/element-interaction-B3GEli6r.js +4 -0
- package/dist/kolibri/events-DdfMb1U7.js +4 -0
- package/dist/kolibri/field-control-QF0yTcyb.js +4 -0
- package/dist/kolibri/group-8Me6YSO8.js +4 -0
- package/dist/kolibri/has-closer-B-uYNNCw.js +4 -0
- package/dist/kolibri/href-DKPJq0Rh.js +4 -0
- package/dist/kolibri/i18n-TlIXBsgS.js +4 -0
- package/dist/kolibri/i18n-Uze_l4Ts.js +4 -0
- package/dist/kolibri/id-CkUYl2hO.js +4 -0
- package/dist/kolibri/index-D1fZ9xFt.js +6 -0
- package/dist/kolibri/index.esm.js +1 -1
- package/dist/kolibri/input-DwlolkOG.js +4 -0
- package/dist/kolibri/input-container-DC3x4oGg.js +4 -0
- package/dist/kolibri/item-DThxrTZc.js +4 -0
- package/dist/kolibri/item-cArH2C6l.js +4 -0
- package/dist/kolibri/item-pool-D4qvvY-S.js +4 -0
- package/dist/kolibri/item-uC3h4pj3.js +4 -0
- package/dist/kolibri/item-zPmzbSvE.js +4 -0
- package/dist/kolibri/keyboard-DzlBdECG.js +4 -0
- package/dist/kolibri/kol-abbr.entry.js +1 -1
- package/dist/kolibri/kol-accordion.entry.js +1 -1
- package/dist/kolibri/kol-alert.entry.js +1 -1
- package/dist/kolibri/kol-avatar.entry.js +1 -1
- package/dist/kolibri/kol-badge.entry.js +1 -1
- package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
- package/dist/kolibri/kol-button-link.entry.js +1 -1
- package/dist/kolibri/kol-button.entry.js +1 -1
- package/dist/kolibri/kol-card.entry.js +1 -1
- package/dist/kolibri/kol-combobox.entry.js +1 -1
- package/dist/kolibri/kol-details.entry.js +1 -1
- package/dist/kolibri/kol-dialog.entry.js +1 -1
- package/dist/kolibri/kol-drawer.entry.js +1 -1
- package/dist/kolibri/kol-form.entry.js +1 -1
- package/dist/kolibri/kol-heading.entry.js +1 -1
- package/dist/kolibri/kol-icon.entry.js +1 -1
- package/dist/kolibri/kol-image.entry.js +1 -1
- package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
- package/dist/kolibri/kol-input-color.entry.js +1 -1
- package/dist/kolibri/kol-input-date.entry.js +1 -1
- package/dist/kolibri/kol-input-email.entry.js +1 -1
- package/dist/kolibri/kol-input-file.entry.js +1 -1
- package/dist/kolibri/kol-input-number.entry.js +1 -1
- package/dist/kolibri/kol-input-password.entry.js +1 -1
- package/dist/kolibri/kol-input-radio.entry.js +1 -1
- package/dist/kolibri/kol-input-range.entry.js +1 -1
- package/dist/kolibri/kol-input-text.entry.js +1 -1
- package/dist/kolibri/kol-kolibri.entry.js +1 -1
- package/dist/kolibri/kol-link-button.entry.js +1 -1
- package/dist/kolibri/kol-link.entry.js +1 -1
- package/dist/kolibri/kol-meter.entry.js +1 -1
- package/dist/kolibri/kol-modal.entry.js +1 -1
- package/dist/kolibri/kol-nav.entry.js +1 -1
- package/dist/kolibri/kol-pagination.entry.js +1 -1
- package/dist/kolibri/kol-popover-button.entry.js +1 -1
- package/dist/kolibri/kol-progress.entry.js +1 -1
- package/dist/kolibri/kol-quote.entry.js +1 -1
- package/dist/kolibri/kol-select.entry.js +1 -1
- package/dist/kolibri/kol-single-select.entry.js +1 -1
- package/dist/kolibri/kol-skip-nav.entry.js +1 -1
- package/dist/kolibri/kol-spin.entry.js +1 -1
- package/dist/kolibri/kol-split-button.entry.js +1 -1
- package/dist/kolibri/kol-table-stateful.entry.js +1 -1
- package/dist/kolibri/kol-table-stateless.entry.js +1 -1
- package/dist/kolibri/kol-tabs.entry.js +1 -1
- package/dist/kolibri/kol-textarea.entry.js +1 -1
- package/dist/kolibri/kol-toast-container.entry.js +1 -1
- package/dist/kolibri/kol-toolbar.entry.js +1 -1
- package/dist/kolibri/kol-tree-item.entry.js +1 -1
- package/dist/kolibri/kol-tree.entry.js +1 -1
- package/dist/kolibri/kol-version.entry.js +1 -1
- package/dist/kolibri/kolibri.esm.js +1 -1
- package/dist/kolibri/label-G82W4YoW.js +4 -0
- package/dist/kolibri/label-hints-DiRb_zIZ.js +4 -0
- package/dist/kolibri/label-lang-segment-BSVexfSR.js +4 -0
- package/dist/kolibri/label-with-expert-slot-C1i0atAL.js +4 -0
- package/dist/kolibri/level-CWkPM-CS.js +4 -0
- package/dist/kolibri/link-target-B2OC2sZU.js +4 -0
- package/dist/kolibri/links-CiNHSAYH.js +4 -0
- package/dist/kolibri/multiple-CuU2AuEM.js +4 -0
- package/dist/kolibri/number-value-adUq1zr1.js +4 -0
- package/dist/kolibri/open-DR8Z7RtS.js +4 -0
- package/dist/kolibri/open-items-cache-CS2mDRNB.js +4 -0
- package/dist/kolibri/options-BDTJtk6H.js +4 -0
- package/dist/kolibri/options-BPwcDIDO.js +4 -0
- package/dist/kolibri/orientation-BUPO9LJU.js +4 -0
- package/dist/kolibri/placeholder-BTFnryTd.js +4 -0
- package/dist/kolibri/props-from-config-DqFgiUwD.js +4 -0
- package/dist/kolibri/read-only-DRmmHb2G.js +4 -0
- package/dist/kolibri/required-D4CdAA4s.js +4 -0
- package/dist/kolibri/resolve-props-BAambGug.js +4 -0
- package/dist/kolibri/resolve-props-Dpl38Wpe.js +4 -0
- package/dist/kolibri/rows-DRKSoawJ.js +4 -0
- package/dist/kolibri/scroll-lock-C66lpb8L.js +4 -0
- package/dist/kolibri/shared-state-Dn94ivRg.js +4 -0
- package/dist/kolibri/smart-button-BYEk3DzS.js +4 -0
- package/dist/kolibri/spell-check-DlQ_d2GL.js +4 -0
- package/dist/kolibri/src-Cikg9qhP.js +4 -0
- package/dist/kolibri/step-C7WPZrUp.js +4 -0
- package/dist/kolibri/suggestions-CotfxJG1.js +4 -0
- package/dist/kolibri/suggestions-qW9OdwO3.js +4 -0
- package/dist/kolibri/test-component.entry.js +1 -1
- package/dist/kolibri/theme-store-DroJsU6S.js +4 -0
- package/dist/kolibri/toggle-handler-BB_SIgS1.js +4 -0
- package/dist/kolibri/tooltip-open-tracking-CxHWKk8f.js +4 -0
- package/dist/kolibri/unique-nav-labels-CQgKoOXd.js +4 -0
- package/dist/kolibri/unit-D2lG-lEM.js +4 -0
- package/dist/kolibri/validators-yh10eyXe.js +4 -0
- package/dist/kolibri/value-string-DwEIOG1f.js +4 -0
- package/dist/kolibri/width-xawzWTVW.js +4 -0
- package/dist/types/components/accordion/component.d.ts +2 -2
- package/dist/types/components/alert/component.d.ts +3 -2
- package/dist/types/components/badge/component.d.ts +2 -2
- package/dist/types/components/breadcrumb/component.d.ts +2 -2
- package/dist/types/components/button/base.d.ts +1 -1
- package/dist/types/components/button/component.d.ts +2 -2
- package/dist/types/components/button-link/component.d.ts +2 -2
- package/dist/types/components/card/component.d.ts +12 -5
- package/dist/types/components/combobox/component.d.ts +10 -10
- package/dist/types/components/details/component.d.ts +2 -2
- package/dist/types/components/dialog/base.d.ts +1 -1
- package/dist/types/components/dialog/component.d.ts +3 -3
- package/dist/types/components/drawer/component.d.ts +2 -2
- package/dist/types/components/form/component.d.ts +2 -2
- package/dist/types/components/heading/component.d.ts +2 -2
- package/dist/types/components/image/component.d.ts +2 -2
- package/dist/types/components/input-checkbox/component.d.ts +9 -9
- package/dist/types/components/input-color/component.d.ts +4 -4
- package/dist/types/components/input-date/component.d.ts +7 -7
- package/dist/types/components/input-email/component.d.ts +8 -8
- package/dist/types/components/input-file/component.d.ts +4 -4
- package/dist/types/components/input-number/component.d.ts +6 -6
- package/dist/types/components/input-password/component.d.ts +8 -8
- package/dist/types/components/input-radio/component.d.ts +5 -5
- package/dist/types/components/input-range/component.d.ts +4 -4
- package/dist/types/components/input-text/component.d.ts +12 -12
- package/dist/types/components/kolibri/component.d.ts +2 -2
- package/dist/types/components/link/component.d.ts +4 -4
- package/dist/types/components/link-button/component.d.ts +4 -4
- package/dist/types/components/modal/component.d.ts +3 -3
- package/dist/types/components/nav/component.d.ts +2 -2
- package/dist/types/components/pagination/component.d.ts +8 -8
- package/dist/types/components/popover-button/component.d.ts +10 -3
- package/dist/types/components/progress/component.d.ts +1 -0
- package/dist/types/components/public-api/contract.d.ts +7 -2
- package/dist/types/components/select/component.d.ts +6 -6
- package/dist/types/components/single-select/component.d.ts +11 -10
- package/dist/types/components/skip-nav/component.d.ts +2 -2
- package/dist/types/components/spin/component.d.ts +2 -2
- package/dist/types/components/split-button/component.d.ts +2 -2
- package/dist/types/components/table-stateful/component.d.ts +10 -11
- package/dist/types/components/table-stateless/base.d.ts +4 -2
- package/dist/types/components/table-stateless/component.d.ts +5 -8
- package/dist/types/components/tabs/component.d.ts +4 -5
- package/dist/types/components/textarea/component.d.ts +8 -8
- package/dist/types/components/toolbar/component.d.ts +6 -6
- package/dist/types/components/tree/component.d.ts +3 -2
- package/dist/types/components/tree-item/component.d.ts +4 -4
- package/dist/types/components/version/component.d.ts +2 -2
- package/dist/types/components.d.ts +64 -177
- package/dist/types/core/component-names.d.ts +52 -53
- package/dist/types/core/i18n.d.ts +1 -1
- package/dist/types/core/shared-state.d.ts +1 -0
- package/dist/types/core/tag-transformer.d.ts +4 -0
- package/dist/types/core/theme-store.d.ts +1 -0
- package/dist/types/index.d.ts +4 -2
- package/dist/types/internal/functional-components/abbr/api.d.ts +1 -1
- package/dist/types/internal/functional-components/alert/api.d.ts +1 -1
- package/dist/types/internal/functional-components/avatar/api.d.ts +2 -2
- package/dist/types/internal/functional-components/badge/api.d.ts +2 -26
- package/dist/types/internal/functional-components/base-web-component.d.ts +1 -1
- package/dist/types/internal/functional-components/bem-root-node/component.d.ts +8 -4
- package/dist/types/internal/functional-components/breadcrumb/api.d.ts +1 -1
- package/dist/types/internal/functional-components/button/api.d.ts +2 -2
- package/dist/types/internal/functional-components/button/item.d.ts +1 -1
- package/dist/types/internal/functional-components/card/api.d.ts +2 -2
- package/dist/types/internal/functional-components/collapsible/api.d.ts +2 -2
- package/dist/types/internal/functional-components/combobox/api.d.ts +4 -4
- package/dist/types/internal/functional-components/counter/api.d.ts +1 -1
- package/dist/types/internal/functional-components/dialog/api.d.ts +2 -2
- package/dist/types/internal/functional-components/dialog/component.d.ts +8 -4
- package/dist/types/internal/functional-components/dialog/item.d.ts +1 -1
- package/dist/types/internal/functional-components/drawer/api.d.ts +2 -2
- package/dist/types/internal/functional-components/form/api.d.ts +1 -1
- package/dist/types/internal/functional-components/form-association/api.d.ts +1 -1
- package/dist/types/internal/functional-components/form-association/behavior.d.ts +2 -2
- package/dist/types/internal/functional-components/form-field/api.d.ts +3 -3
- package/dist/types/internal/functional-components/form-field/base-web-component.d.ts +2 -2
- package/dist/types/internal/functional-components/form-field/custom-suggestions.d.ts +1 -0
- package/dist/types/internal/functional-components/form-field/number-value.d.ts +1 -1
- package/dist/types/internal/functional-components/form-field/select-value.d.ts +1 -1
- package/dist/types/internal/functional-components/generic-types.d.ts +2 -2
- package/dist/types/internal/functional-components/heading/api.d.ts +2 -2
- package/dist/types/internal/functional-components/icon/api.d.ts +1 -1
- package/dist/types/internal/functional-components/image/api.d.ts +2 -2
- package/dist/types/internal/functional-components/input-checkbox/api.d.ts +3 -3
- package/dist/types/internal/functional-components/input-color/api.d.ts +4 -28
- package/dist/types/internal/functional-components/input-date/api.d.ts +4 -28
- package/dist/types/internal/functional-components/input-email/api.d.ts +4 -28
- package/dist/types/internal/functional-components/input-file/api.d.ts +4 -28
- package/dist/types/internal/functional-components/input-number/api.d.ts +4 -28
- package/dist/types/internal/functional-components/input-password/api.d.ts +4 -28
- package/dist/types/internal/functional-components/input-radio/api.d.ts +3 -3
- package/dist/types/internal/functional-components/input-range/api.d.ts +4 -4
- package/dist/types/internal/functional-components/input-text/api.d.ts +4 -28
- package/dist/types/internal/functional-components/kolibri/api.d.ts +1 -1
- package/dist/types/internal/functional-components/link/api.d.ts +2 -2
- package/dist/types/internal/functional-components/meter/api.d.ts +3 -3
- package/dist/types/internal/functional-components/nav/api.d.ts +2 -2
- package/dist/types/internal/functional-components/pagination/api.d.ts +2 -2
- package/dist/types/internal/functional-components/pagination/item.d.ts +5 -3
- package/dist/types/internal/functional-components/pagination/page-size-select.d.ts +2 -1
- package/dist/types/internal/functional-components/popover/api.d.ts +1 -1
- package/dist/types/internal/functional-components/popover-button/api.d.ts +2 -2
- package/dist/types/internal/functional-components/progress/api.d.ts +3 -3
- package/dist/types/internal/functional-components/quote/api.d.ts +2 -2
- package/dist/types/internal/functional-components/select/api.d.ts +4 -4
- package/dist/types/internal/functional-components/single-select/api.d.ts +4 -4
- package/dist/types/internal/functional-components/single-select/component.d.ts +3 -0
- package/dist/types/internal/functional-components/skip-nav/api.d.ts +1 -1
- package/dist/types/internal/functional-components/spin/api.d.ts +1 -1
- package/dist/types/internal/functional-components/split-button/api.d.ts +1 -1
- package/dist/types/internal/functional-components/table-stateful/api.d.ts +2 -2
- package/dist/types/internal/functional-components/table-stateful/component.d.ts +10 -0
- package/dist/types/internal/functional-components/table-stateful/model.d.ts +4 -2
- package/dist/types/internal/functional-components/table-stateless/api.d.ts +2 -2
- package/dist/types/internal/functional-components/table-stateless/component.d.ts +2 -0
- package/dist/types/internal/functional-components/table-stateless/selection-tooltip-item.d.ts +10 -0
- package/dist/types/internal/functional-components/table-stateless/table-model.d.ts +5 -5
- package/dist/types/internal/functional-components/tabs/api.d.ts +2 -2
- package/dist/types/internal/functional-components/text-input/api.d.ts +4 -28
- package/dist/types/internal/functional-components/textarea/api.d.ts +4 -4
- package/dist/types/internal/functional-components/toolbar/api.d.ts +3 -3
- package/dist/types/internal/functional-components/toolbar/{item.d.ts → entry-item.d.ts} +1 -1
- package/dist/types/internal/functional-components/tooltip/api.d.ts +2 -2
- package/dist/types/internal/functional-components/tree/api.d.ts +1 -1
- package/dist/types/internal/functional-components/tree-item/api.d.ts +2 -2
- package/dist/types/internal/functional-components/version/api.d.ts +1 -1
- package/dist/types/internal/props/breadcrumb-links.d.ts +1 -1
- package/dist/types/internal/props/helpers/iso-date.d.ts +1 -5
- package/dist/types/internal/props/helpers/normalizers.d.ts +1 -2
- package/dist/types/internal/props/helpers/validators.d.ts +2 -1
- package/dist/types/internal/props/index.d.ts +2 -1
- package/dist/types/internal/props/info-popover.d.ts +1 -1
- package/dist/types/internal/props/input-date-max.d.ts +1 -1
- package/dist/types/internal/props/input-date-min.d.ts +1 -1
- package/dist/types/internal/props/label-decorative.d.ts +4 -0
- package/dist/types/internal/props/nav-links.d.ts +1 -1
- package/dist/types/internal/props/skip-nav-links.d.ts +1 -1
- package/dist/types/internal/props/smart-button.d.ts +1 -25
- package/dist/types/internal/props/table-headers.d.ts +2 -2
- package/dist/types/internal/props/table-stateful-headers.d.ts +2 -2
- package/dist/types/internal/props/value-input-date.d.ts +1 -1
- 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 +87 -23
- package/dist/types/schema/components/alert.d.ts +2 -8
- package/dist/types/schema/components/badge.d.ts +3 -16
- package/dist/types/schema/components/breadcrumb.d.ts +0 -15
- package/dist/types/schema/components/button.d.ts +3 -3
- package/dist/types/schema/components/card.d.ts +0 -9
- package/dist/types/schema/components/form.d.ts +0 -13
- package/dist/types/schema/components/index.d.ts +0 -29
- package/dist/types/schema/components/link.d.ts +2 -2
- package/dist/types/schema/components/pagination.d.ts +3 -17
- package/dist/types/schema/components/popover-button.d.ts +3 -6
- package/dist/types/schema/components/table.d.ts +2 -3
- package/dist/types/schema/components/tableStateless.d.ts +5 -4
- package/dist/types/schema/components/tabs.d.ts +3 -21
- package/dist/types/schema/components/textarea.d.ts +0 -28
- package/dist/types/schema/i18n-keys.d.ts +29 -28
- package/dist/types/schema/index.d.ts +1 -1
- package/dist/types/schema/props/accept.d.ts +0 -3
- package/dist/types/schema/props/access-key.d.ts +0 -2
- package/dist/types/schema/props/active.d.ts +0 -3
- package/dist/types/schema/props/adjust-height.d.ts +0 -2
- package/dist/types/schema/props/alert-type.d.ts +0 -2
- package/dist/types/schema/props/align.d.ts +0 -2
- package/dist/types/schema/props/allow-multi-sort.d.ts +0 -3
- package/dist/types/schema/props/alt.d.ts +0 -3
- package/dist/types/schema/props/alternative-button-link-role.d.ts +1 -5
- package/dist/types/schema/props/aria-controls.d.ts +0 -2
- package/dist/types/schema/props/aria-current-value.d.ts +1 -5
- package/dist/types/schema/props/aria-description.d.ts +0 -2
- package/dist/types/schema/props/aria-details.d.ts +0 -2
- package/dist/types/schema/props/aria-expanded.d.ts +0 -2
- package/dist/types/schema/props/aria-labelledby.d.ts +1 -2
- package/dist/types/schema/props/aria-owns.d.ts +0 -2
- package/dist/types/schema/props/aria-selected.d.ts +0 -2
- package/dist/types/schema/props/auto-complete.d.ts +0 -2
- package/dist/types/schema/props/badge-text.d.ts +0 -2
- package/dist/types/schema/props/button-callbacks.d.ts +0 -3
- package/dist/types/schema/props/button-type.d.ts +1 -5
- package/dist/types/schema/props/button-variant.d.ts +1 -5
- package/dist/types/schema/props/checked.d.ts +0 -2
- package/dist/types/schema/props/collapsible.d.ts +0 -2
- package/dist/types/schema/props/color.d.ts +0 -4
- package/dist/types/schema/props/current-length.d.ts +0 -3
- package/dist/types/schema/props/custom-class.d.ts +0 -2
- package/dist/types/schema/props/disabled.d.ts +0 -2
- package/dist/types/schema/props/download.d.ts +0 -2
- package/dist/types/schema/props/error-list.d.ts +0 -2
- package/dist/types/schema/props/has-closer.d.ts +0 -2
- package/dist/types/schema/props/has-compact-button.d.ts +0 -2
- package/dist/types/schema/props/has-counter.d.ts +0 -3
- package/dist/types/schema/props/has-create-button.d.ts +0 -2
- package/dist/types/schema/props/has-icons-when-expanded.d.ts +0 -2
- package/dist/types/schema/props/has-settings-menu.d.ts +0 -2
- package/dist/types/schema/props/has-value.d.ts +0 -3
- package/dist/types/schema/props/hide-label.d.ts +0 -3
- package/dist/types/schema/props/hide-msg.d.ts +0 -3
- package/dist/types/schema/props/hint.d.ts +0 -2
- package/dist/types/schema/props/href.d.ts +2 -4
- package/dist/types/schema/props/icons-input-checkbox.d.ts +0 -2
- package/dist/types/schema/props/icons.d.ts +0 -3
- package/dist/types/schema/props/id.d.ts +0 -2
- package/dist/types/schema/props/image-sizes.d.ts +0 -3
- package/dist/types/schema/props/image-source.d.ts +0 -3
- package/dist/types/schema/props/image-srcset.d.ts +0 -3
- package/dist/types/schema/props/indeterminate.d.ts +0 -2
- package/dist/types/schema/props/index.d.ts +5 -1
- package/dist/types/schema/props/inline.d.ts +0 -3
- package/dist/types/schema/props/label-align.d.ts +1 -5
- package/dist/types/schema/props/label.d.ts +4 -7
- package/dist/types/schema/props/link-on-callbacks.d.ts +0 -2
- package/dist/types/schema/props/link-target.d.ts +0 -2
- package/dist/types/schema/props/loading.d.ts +1 -5
- package/dist/types/schema/props/max-length-behavior.d.ts +1 -5
- package/dist/types/schema/props/max-length.d.ts +0 -3
- package/dist/types/schema/props/max.d.ts +0 -4
- package/dist/types/schema/props/modal.d.ts +0 -2
- package/dist/types/schema/props/msg.d.ts +0 -2
- package/dist/types/schema/props/multiple.d.ts +0 -3
- package/dist/types/schema/props/name.d.ts +0 -3
- package/dist/types/schema/props/open.d.ts +0 -3
- package/dist/types/schema/props/options.d.ts +0 -4
- package/dist/types/schema/props/orientation.d.ts +1 -5
- package/dist/types/schema/props/pagination-position.d.ts +1 -5
- package/dist/types/schema/props/pattern.d.ts +0 -3
- package/dist/types/schema/props/placeholder.d.ts +0 -3
- package/dist/types/schema/props/popover-align.d.ts +0 -2
- package/dist/types/schema/props/read-only.d.ts +0 -2
- package/dist/types/schema/props/required.d.ts +0 -2
- package/dist/types/schema/props/resize-textarea.d.ts +0 -2
- package/dist/types/schema/props/rows.d.ts +0 -2
- package/dist/types/schema/props/short-key.d.ts +0 -2
- package/dist/types/schema/props/show.d.ts +0 -3
- package/dist/types/schema/props/spell-check.d.ts +0 -2
- package/dist/types/schema/props/suggestions.d.ts +0 -2
- package/dist/types/schema/props/tab-behavior.d.ts +1 -5
- package/dist/types/schema/props/tab-index.d.ts +0 -2
- package/dist/types/schema/props/table-callbacks.d.ts +5 -5
- package/dist/types/schema/props/table-data-foot.d.ts +0 -3
- package/dist/types/schema/props/table-data.d.ts +0 -3
- package/dist/types/schema/props/table-fixed-cols.d.ts +0 -2
- package/dist/types/schema/props/table-headers.d.ts +3 -0
- package/dist/types/schema/props/table-selection.d.ts +0 -2
- package/dist/types/schema/props/toolbar-items.d.ts +0 -2
- package/dist/types/schema/props/tooltip-align.d.ts +0 -2
- package/dist/types/schema/props/touched.d.ts +0 -2
- package/dist/types/schema/props/type-input-date.d.ts +4 -2
- package/dist/types/schema/props/type-input-text.d.ts +0 -2
- package/dist/types/schema/props/unit.d.ts +0 -2
- package/dist/types/schema/props/variant/dialog.d.ts +1 -5
- package/dist/types/schema/props/variant/modal.d.ts +0 -1
- package/dist/types/schema/props/variant/password-variant.d.ts +1 -5
- package/dist/types/schema/props/variant-alert.d.ts +0 -2
- package/dist/types/schema/props/variant-class-name.d.ts +0 -3
- package/dist/types/schema/props/variant-input-checkbox.d.ts +0 -2
- package/dist/types/schema/props/variant-progress.d.ts +0 -2
- package/dist/types/schema/props/visibility-toggle.d.ts +0 -3
- package/dist/types/schema/props/width.d.ts +0 -3
- package/dist/types/schema/types/button-link-text.d.ts +4 -4
- package/dist/types/schema/validators/common.d.ts +2 -0
- package/dist/types/schema/validators/index.d.ts +0 -1
- package/dist/types/stencil-public-runtime.d.ts +1 -1
- package/dist/types/utils/aria-labelledby.d.ts +0 -6
- package/dist/types/utils/testing/logged-messages.d.ts +1 -0
- package/dist/types/utils/testing/snapshot-input-testing.d.ts +2 -1
- package/dist/types/utils/testing/snapshot-testing.d.ts +4 -1
- package/doc/badge.md +21 -6
- package/doc/button.md +13 -0
- package/doc/combobox.md +23 -23
- package/doc/input-checkbox.md +17 -2
- package/doc/input-color.md +22 -22
- package/doc/input-date.md +28 -28
- package/doc/input-email.md +30 -30
- package/doc/input-file.md +22 -22
- package/doc/input-number.md +43 -28
- package/doc/input-password.md +29 -29
- package/doc/input-radio.md +19 -19
- package/doc/input-range.md +24 -24
- package/doc/input-text.md +31 -31
- package/doc/link.md +13 -0
- package/doc/pagination.md +13 -13
- package/doc/quote.md +13 -0
- package/doc/select.md +24 -24
- package/doc/single-select.md +24 -24
- package/doc/table-stateful.md +33 -16
- package/doc/table-stateless.md +31 -15
- package/doc/tabs.md +1 -1
- package/doc/textarea.md +29 -29
- package/package.json +25 -17
- package/vscode-custom-data.json +53 -158
- package/dist/cjs/ariaCurrentService-3051l6MI.js +0 -28
- package/dist/cjs/block-bem-BI7yfoFU.js +0 -18
- package/dist/cjs/bootstrap-DkgMbRSL.js +0 -33
- package/dist/cjs/clsx-Bm_HQUnh.js +0 -54
- package/dist/cjs/common-C-hcIfzh.js +0 -1755
- package/dist/cjs/component-BEzksV1U.js +0 -9300
- package/dist/cjs/component-BQUKg-qY.js +0 -53
- package/dist/cjs/component-BlAPlTfV.js +0 -20
- package/dist/cjs/component-DMfcX1br.js +0 -14
- package/dist/cjs/component-Dkx5Zyhq.js +0 -18
- package/dist/cjs/component-names-BMpML1sX.js +0 -113
- package/dist/cjs/input-CgTL2oH6.js +0 -20
- package/dist/cjs/kol-click-button.cjs.entry.js +0 -55
- package/dist/cjs/kol-skeleton.cjs.entry.js +0 -107
- package/dist/cjs/name-D4qpL1m-.js +0 -10
- package/dist/collection/components/card/base.js +0 -79
- package/dist/collection/components/click-button/component.js +0 -105
- package/dist/collection/components/link/ariaCurrentService.js +0 -23
- package/dist/collection/components/popover-button/base.js +0 -69
- package/dist/collection/components/skeleton/component.js +0 -215
- package/dist/collection/internal/functional-components/click-button/api.js +0 -7
- package/dist/collection/internal/functional-components/click-button/component.js +0 -9
- package/dist/collection/internal/functional-components/skeleton/api.js +0 -7
- package/dist/collection/internal/functional-components/skeleton/component.js +0 -20
- package/dist/collection/schema/components/button-link.js +0 -1
- package/dist/collection/schema/components/collapsible.js +0 -1
- package/dist/collection/schema/components/combobox.js +0 -1
- package/dist/collection/schema/components/details.js +0 -1
- package/dist/collection/schema/components/dialog.js +0 -1
- package/dist/collection/schema/components/drawer.js +0 -1
- package/dist/collection/schema/components/heading.js +0 -1
- package/dist/collection/schema/components/input-checkbox.js +0 -1
- package/dist/collection/schema/components/input-color.js +0 -1
- package/dist/collection/schema/components/input-date.js +0 -1
- package/dist/collection/schema/components/input-email.js +0 -1
- package/dist/collection/schema/components/input-file.js +0 -1
- package/dist/collection/schema/components/input-number.js +0 -1
- package/dist/collection/schema/components/input-password.js +0 -1
- package/dist/collection/schema/components/input-radio.js +0 -1
- package/dist/collection/schema/components/input-range.js +0 -1
- package/dist/collection/schema/components/input-text.js +0 -1
- package/dist/collection/schema/components/kolibri.js +0 -1
- package/dist/collection/schema/components/link-button.js +0 -1
- package/dist/collection/schema/components/modal.js +0 -1
- package/dist/collection/schema/components/nav.js +0 -1
- package/dist/collection/schema/components/select.js +0 -1
- package/dist/collection/schema/components/single-select.js +0 -1
- package/dist/collection/schema/components/skip-nav.js +0 -1
- package/dist/collection/schema/components/split-button.js +0 -1
- package/dist/collection/schema/components/toolbar.js +0 -1
- package/dist/collection/schema/components/tree-item.js +0 -1
- package/dist/collection/schema/components/tree.js +0 -1
- package/dist/collection/schema/components/version.js +0 -1
- package/dist/collection/schema/props/table-header-cells.js +0 -36
- package/dist/collection/schema/validators/alignment.js +0 -10
- package/dist/collection/utils/testing/legacy-component.js +0 -16
- package/dist/components/aria-labelledby.js +0 -4
- package/dist/components/ariaCurrentService.js +0 -4
- package/dist/components/block-bem.js +0 -4
- package/dist/components/clsx.js +0 -4
- package/dist/components/href.js +0 -4
- package/dist/components/kol-click-button.d.ts +0 -11
- package/dist/components/kol-click-button.js +0 -4
- package/dist/components/kol-skeleton.d.ts +0 -11
- package/dist/components/kol-skeleton.js +0 -4
- package/dist/components/name.js +0 -4
- package/dist/components/props-from-config.js +0 -4
- package/dist/esm/ariaCurrentService-YoLNpD5S.js +0 -25
- package/dist/esm/block-bem-BpQSY04L.js +0 -16
- package/dist/esm/bootstrap-B9DtStuh.js +0 -28
- package/dist/esm/clsx-COFh-Vc8.js +0 -52
- package/dist/esm/common-OzsC_6kt.js +0 -1709
- package/dist/esm/component-Bc1n82Y8.js +0 -16
- package/dist/esm/component-CZZNha2e.js +0 -9295
- package/dist/esm/component-Cdnq5GYF.js +0 -18
- package/dist/esm/component-DLSlbWg8.js +0 -12
- package/dist/esm/component-DeMf195P.js +0 -48
- package/dist/esm/component-names-CrfBV37S.js +0 -111
- package/dist/esm/kol-click-button.entry.js +0 -53
- package/dist/esm/kol-skeleton.entry.js +0 -105
- package/dist/esm/label-with-expert-slot-CicRes-W.js +0 -12
- package/dist/esm/name-B2Yf3EpX.js +0 -8
- package/dist/esm/tooltip-open-tracking-D3tCiiGP.js +0 -18
- package/dist/kolibri/Heading-BVhjT9av.js +0 -4
- package/dist/kolibri/access-and-short-key-ijzCZfHm.js +0 -4
- package/dist/kolibri/api-D92_O-0H.js +0 -4
- package/dist/kolibri/app-globals-CBGjgNge.js +0 -4
- package/dist/kolibri/aria-labelledby-CLehu03h.js +0 -4
- package/dist/kolibri/ariaCurrentService-YoLNpD5S.js +0 -4
- package/dist/kolibri/base-BLBSJu_1.js +0 -4
- package/dist/kolibri/base-CHmdLgoO.js +0 -4
- package/dist/kolibri/base-DIcqHqMz.js +0 -4
- package/dist/kolibri/base-qvPPg-dn.js +0 -4
- package/dist/kolibri/base-web-component-CaAexWy_.js +0 -4
- package/dist/kolibri/base-web-component-DbagnM7m.js +0 -4
- package/dist/kolibri/base-web-component-XgI4wUyN.js +0 -4
- package/dist/kolibri/behavior-B08CXmI4.js +0 -4
- package/dist/kolibri/behavior-CwUUkdaP.js +0 -4
- package/dist/kolibri/behavior-DW7_5Wxp.js +0 -4
- package/dist/kolibri/bem-registry-CWN7_O1L.js +0 -4
- package/dist/kolibri/block-bem-BpQSY04L.js +0 -4
- package/dist/kolibri/bootstrap-B9DtStuh.js +0 -4
- package/dist/kolibri/clsx-COFh-Vc8.js +0 -4
- package/dist/kolibri/color-eAL9I7Wq.js +0 -4
- package/dist/kolibri/common-OzsC_6kt.js +0 -4
- package/dist/kolibri/component-8ALsFV4i.js +0 -4
- package/dist/kolibri/component-BTMWoACz.js +0 -4
- package/dist/kolibri/component-Bc1n82Y8.js +0 -4
- package/dist/kolibri/component-CZZNha2e.js +0 -4
- package/dist/kolibri/component-CdKSiR5P.js +0 -4
- package/dist/kolibri/component-Cdnq5GYF.js +0 -4
- package/dist/kolibri/component-D0mBOGjS.js +0 -4
- package/dist/kolibri/component-DBAicJ2u.js +0 -4
- package/dist/kolibri/component-DCw1ZAE5.js +0 -4
- package/dist/kolibri/component-DLSlbWg8.js +0 -4
- package/dist/kolibri/component-DeMf195P.js +0 -4
- package/dist/kolibri/component-nR5Bf9G5.js +0 -4
- package/dist/kolibri/component-names-CrfBV37S.js +0 -4
- package/dist/kolibri/contrast-D78VGPFR.js +0 -4
- package/dist/kolibri/controller-C3O9ohSP.js +0 -4
- package/dist/kolibri/dev.utils-wYkYn08d.js +0 -4
- package/dist/kolibri/devtools-DrBkkLdP.js +0 -4
- package/dist/kolibri/disabled-Cqhc40CU.js +0 -4
- package/dist/kolibri/element-focus-BIRmGg5W.js +0 -4
- package/dist/kolibri/element-interaction-sGYdEpmv.js +0 -4
- package/dist/kolibri/events-BIT-JUP2.js +0 -4
- package/dist/kolibri/field-control-Cs5VvsYo.js +0 -4
- package/dist/kolibri/group-uNo1CfbK.js +0 -4
- package/dist/kolibri/has-closer-B9NQY7BK.js +0 -4
- package/dist/kolibri/href-JqLbNBsW.js +0 -4
- package/dist/kolibri/i18n-Dl6Jjofb.js +0 -4
- package/dist/kolibri/i18n-DtLKn3Xt.js +0 -4
- package/dist/kolibri/id-CIYvVaNr.js +0 -4
- package/dist/kolibri/index-BKEJuyFi.js +0 -6
- package/dist/kolibri/input-Dja5Qioc.js +0 -4
- package/dist/kolibri/input-container-C2Am7LEP.js +0 -4
- package/dist/kolibri/item-C4AmpdVD.js +0 -4
- package/dist/kolibri/item-ConW1c81.js +0 -4
- package/dist/kolibri/item-D627ShRd.js +0 -4
- package/dist/kolibri/item-DIAFIFSy.js +0 -4
- package/dist/kolibri/item-pool-BOxAYePG.js +0 -4
- package/dist/kolibri/keyboard-Cnv7zP3N.js +0 -4
- package/dist/kolibri/kol-click-button.entry.js +0 -4
- package/dist/kolibri/kol-skeleton.entry.js +0 -4
- package/dist/kolibri/label-BRosRgdX.js +0 -4
- package/dist/kolibri/label-hints-Jn18RUT-.js +0 -4
- package/dist/kolibri/label-lang-segment-2_GnxjFp.js +0 -4
- package/dist/kolibri/label-with-expert-slot-CicRes-W.js +0 -4
- package/dist/kolibri/level-CA1s1_Mf.js +0 -4
- package/dist/kolibri/link-target-FX94oqMo.js +0 -4
- package/dist/kolibri/links-DwucTqcR.js +0 -4
- package/dist/kolibri/multiple-DqrZxybx.js +0 -4
- package/dist/kolibri/name-B2Yf3EpX.js +0 -4
- package/dist/kolibri/number-value-B-SJ1dRo.js +0 -4
- package/dist/kolibri/open-DRRv1KFK.js +0 -4
- package/dist/kolibri/open-items-cache-D-kml1h6.js +0 -4
- package/dist/kolibri/options-B0rBHetL.js +0 -4
- package/dist/kolibri/options-DCaUcfAu.js +0 -4
- package/dist/kolibri/orientation-XNOCaPwy.js +0 -4
- package/dist/kolibri/placeholder-BeLIzdJv.js +0 -4
- package/dist/kolibri/props-from-config-Ci0dILpz.js +0 -4
- package/dist/kolibri/read-only-Bby9r6ZX.js +0 -4
- package/dist/kolibri/required-hoaT7UmZ.js +0 -4
- package/dist/kolibri/resolve-props-BLZxWC3j.js +0 -4
- package/dist/kolibri/resolve-props-D2KiItuv.js +0 -4
- package/dist/kolibri/rows-B0x8CR7K.js +0 -4
- package/dist/kolibri/scroll-lock-Y2hf47KW.js +0 -4
- package/dist/kolibri/smart-button-CS_ZriPt.js +0 -4
- package/dist/kolibri/spell-check-DzgftyqL.js +0 -4
- package/dist/kolibri/src-DaGhmCL1.js +0 -4
- package/dist/kolibri/step-Bdj89bGO.js +0 -4
- package/dist/kolibri/suggestions-DuqzGDve.js +0 -4
- package/dist/kolibri/suggestions-Dy1X-Pc3.js +0 -4
- package/dist/kolibri/toggle-handler-BRLmxe1J.js +0 -4
- package/dist/kolibri/tooltip-open-tracking-D3tCiiGP.js +0 -4
- package/dist/kolibri/unique-nav-labels-h2KOu5Qy.js +0 -4
- package/dist/kolibri/unit-BUhhJbhT.js +0 -4
- package/dist/kolibri/validators-BVM40IEr.js +0 -4
- package/dist/kolibri/value-string-e9pwLcS-.js +0 -4
- package/dist/kolibri/width-CgYY17tL.js +0 -4
- package/dist/types/components/card/base.d.ts +0 -27
- package/dist/types/components/click-button/component.d.ts +0 -15
- package/dist/types/components/popover-button/base.d.ts +0 -21
- package/dist/types/components/skeleton/component.d.ts +0 -26
- package/dist/types/internal/functional-components/click-button/api.d.ts +0 -15
- package/dist/types/internal/functional-components/click-button/component.d.ts +0 -4
- package/dist/types/internal/functional-components/skeleton/api.d.ts +0 -29
- package/dist/types/internal/functional-components/skeleton/component.d.ts +0 -4
- package/dist/types/schema/components/accordion.d.ts +0 -11
- package/dist/types/schema/components/button-link.d.ts +0 -7
- package/dist/types/schema/components/collapsible.d.ts +0 -7
- package/dist/types/schema/components/combobox.d.ts +0 -26
- package/dist/types/schema/components/details.d.ts +0 -11
- package/dist/types/schema/components/dialog.d.ts +0 -21
- package/dist/types/schema/components/drawer.d.ts +0 -17
- package/dist/types/schema/components/heading.d.ts +0 -17
- package/dist/types/schema/components/input-checkbox.d.ts +0 -25
- package/dist/types/schema/components/input-color.d.ts +0 -25
- package/dist/types/schema/components/input-date.d.ts +0 -34
- package/dist/types/schema/components/input-email.d.ts +0 -31
- package/dist/types/schema/components/input-file.d.ts +0 -22
- package/dist/types/schema/components/input-number.d.ts +0 -33
- package/dist/types/schema/components/input-password.d.ts +0 -31
- package/dist/types/schema/components/input-radio.d.ts +0 -22
- package/dist/types/schema/components/input-range.d.ts +0 -27
- package/dist/types/schema/components/input-text.d.ts +0 -33
- package/dist/types/schema/components/kolibri.d.ts +0 -21
- package/dist/types/schema/components/link-button.d.ts +0 -7
- package/dist/types/schema/components/modal.d.ts +0 -4
- package/dist/types/schema/components/nav.d.ts +0 -16
- package/dist/types/schema/components/select.d.ts +0 -24
- package/dist/types/schema/components/single-select.d.ts +0 -24
- package/dist/types/schema/components/skip-nav.d.ts +0 -16
- package/dist/types/schema/components/split-button.d.ts +0 -9
- package/dist/types/schema/components/toolbar.d.ts +0 -11
- package/dist/types/schema/components/tree-item.d.ts +0 -12
- package/dist/types/schema/components/tree.d.ts +0 -10
- package/dist/types/schema/components/version.d.ts +0 -10
- package/dist/types/schema/props/table-header-cells.d.ts +0 -11
- package/dist/types/schema/validators/alignment.d.ts +0 -3
- package/dist/types/utils/testing/legacy-component.d.ts +0 -4
- package/doc/skeleton.md +0 -54
- /package/dist/collection/{components → internal/functional-components}/tree/open-items-cache.js +0 -0
- /package/dist/collection/schema/{components/accordion.js → props/table-headers.js} +0 -0
- /package/dist/types/{components/link/ariaCurrentService.d.ts → internal/functional-components/link/aria-current-service.d.ts} +0 -0
- /package/dist/types/{components → internal/functional-components}/tree/open-items-cache.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{
|
|
4
|
+
import{Y as t,l as e,t as s,x as i}from"./prop.validators.js";import{c as o}from"./bootstrap.js";import{c as n,d as a}from"./base-web-component.js";import{n as r}from"./component9.js";import{B as l}from"./behavior.js";const c=n("syncValueBySelector",void 0,a),u={optional:[r,c]},h=new Set(["KOL-COMBOBOX","KOL-INPUT-CHECKBOX","KOL-INPUT-COLOR","KOL-INPUT-DATE","KOL-INPUT-EMAIL","KOL-INPUT-FILE","KOL-INPUT-NUMBER","KOL-INPUT-PASSWORD","KOL-INPUT-RADIO","KOL-INPUT-RANGE","KOL-INPUT-TEXT","KOL-SELECT","KOL-SINGLE-SELECT","KOL-TEXTAREA"]);class d extends l{constructor(s,{host:i,type:o,name:n}){super(s,u),this.experimentalMode=t(),this.setFormAssociatedValue=t=>{var s;const i=null===(s=this.formAssociated)||void 0===s?void 0:s.getAttribute("name");null!==i&&""!==i||e(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);const o=this.tryToStringifyValue(t);this.syncValue(t,o,this.formAssociated),this.syncValue(t,o,this.syncToOwnInput)},this.host=this.findHostWithShadowRoot(i),this.type=o,this.ensureFormAssociatedElement(n)}ensureFormAssociatedElement(t){var e,s,i,n,a;!this.formAssociated&&(null===(e=o())||void 0===e?void 0:e.reflectInputValues)&&h.has(null!==(i=null===(s=this.host)||void 0===s?void 0:s.tagName)&&void 0!==i?i:"")&&t&&(null===(n=this.host)||void 0===n||n.querySelectorAll("input,select,textarea").forEach((t=>{var e;null===(e=this.host)||void 0===e||e.removeChild(t)})),this.formAssociated=this.createFormAssociatedElement(),this.formAssociated.setAttribute("data-form-associated",""),this.formAssociated.setAttribute("hidden",""),this.setNameAttribute(t),null===(a=this.host)||void 0===a||a.appendChild(this.formAssociated))}componentWillLoad(t){this.watchName(t.name),this.watchSyncValueBySelector(t.syncValueBySelector)}watchName(t){r.apply(t,(t=>{this.setRenderProp("name",t),this.setNameAttribute(t)})),void 0!==t?this.ensureFormAssociatedElement(t):e("A name on input fields or switches is not strictly required, but it might be relevant for the autocomplete function and for the static submission of the input field.")}watchSyncValueBySelector(t){if(this.experimentalMode&&"string"==typeof t){this.setRenderProp("syncValueBySelector",t);const e=document.querySelector(t);e&&(this.syncToOwnInput=e)}}setNameAttribute(t){this.setAttribute("name",this.formAssociated,t)}createFormAssociatedElement(){switch(this.type){case"color":case"date":case"email":case"file":case"number":case"password":case"radio":case"range":case"text":{const t=document.createElement(s("input"));return t.setAttribute("type",this.type),t}case"select":{const t=document.createElement(s("select"));return t.setAttribute("multiple",""),t}case"textarea":return document.createElement(s("textarea"));default:{const t=document.createElement(s("input"));return t.setAttribute("type","hidden"),t}}}findHostWithShadowRoot(t){for(;null===(null==t?void 0:t.shadowRoot)&&t!==document.body;){const e=t.parentNode;t=11===(null==e?void 0:e.nodeType)&&"host"in e?e.host:1===(null==e?void 0:e.nodeType)?e:void 0}return t}setAttribute(t,e,s){if(this.experimentalMode)try{if("boolean"!=typeof(s="object"==typeof s&&null!==s?JSON.stringify(s):s)&&"number"!=typeof s&&"string"!=typeof s)throw new Error("Invalid value type: "+typeof s);null==e||e.setAttribute(t,`${s}`)}catch(s){null==e||e.removeAttribute(t)}}tryToStringifyValue(t){try{return"object"==typeof t&&null!==t?JSON.stringify(t).toString():null==t?null:t.toString()}catch(t){return i(`The form field raw value is not able to stringify! ${t}`),""}}syncValue(t,e,s){if(s)switch(this.type){case"file":"undefined"!=typeof FileList&&t instanceof FileList?s.files=t:s.value="";break;case"select":"SELECT"===s.tagName?this.syncSelectOptions(t,s):this.syncValueAttribute(e,s);break;case"radio":"string"==typeof e&&(s.setAttribute("value",e),s.setAttribute("checked",""),s.value=e);break;default:this.syncValueAttribute(e,s)}}syncSelectOptions(t,e){e.querySelectorAll("option").forEach((t=>{e.removeChild(t)})),(Array.isArray(t)?t:null==t?[]:[t]).forEach((t=>{const i=this.tryToStringifyValue(t);if("string"==typeof i){const t=document.createElement(s("option"));t.setAttribute("value",i),t.setAttribute("selected",""),e.appendChild(t)}}))}syncValueAttribute(t,e){"string"==typeof t?(e.setAttribute("value",t),e.value=t):(e.removeAttribute("value"),e.value="")}}export{d as F}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{
|
|
4
|
+
import{h as o}from"./prop.validators.js";import{f as i}from"./component6.js";import{f as s,B as t}from"./base-web-component.js";import{B as e}from"./component9.js";import{a}from"./tslib.es6.js";import{b as r}from"./bem-registry.js";import{a as n,B as l,b as p,c as h}from"./behavior.js";const c=i("popoverAlign","bottom"),d=r.forBlock("kol-popover"),f=(i,t)=>{const{align:e="bottom",popoverRef:r,arrowRef:n,class:l}=i,p=a(i,["align","popoverRef","arrowRef","class"]);return o("div",Object.assign({},p,{class:s(d(),l),ref:r,popover:"auto"}),o("div",{class:s(d("arrow"),d("arrow",{[e]:!0})),ref:n}),t.length>0?t:o("slot",null))},m=(i,s)=>{const{accessKey:a,ariaDescription:r,ariaDescriptionId:n,ariaHasPopup:l,ariaSelected:p,customClass:h,disabled:c,handleBlur:d,handleClick:m,handleFocus:v,handleMouseDown:u,hideLabel:b,icons:g,id:w,inline:y,label:j,name:k,on:B,popoverAlign:A,popoverOpen:D,popoverId:x,ref:C,refButton:I,refPopover:R,refTooltip:E,role:K,shortKey:P,tabIndex:_,tooltipAlign:F,type:L,variant:S}=i;return o(t,{block:"kol-popover-button",class:i.class,ref:C,modifiers:{open:D,inline:!0===y}},o(e,{accessKey:a,ariaControls:x,ariaDescription:r,ariaDescriptionId:n,ariaExpanded:D?"true":"false",ariaHasPopup:l,ariaSelected:p,customClass:h,disabled:c,handleBlur:d,handleClick:m,handleFocus:v,handleMouseDown:u,hideLabel:b,icons:g,id:w,inline:y,label:j,name:k,on:B,refButton:I,refTooltip:E,role:K,shortKey:P,tabIndex:_,tooltipAlign:F,type:L,variant:S}),o(f,{align:A,class:"kol-popover-button__popover",id:x,popoverRef:R},s))},v={optional:[n]};class u extends l{constructor(o){super(o,v),this.show=!1,this.setPopoverElementRef=o=>{this.popoverElement=o,this.arrowElement=null==o?void 0:o.querySelector(".kol-popover__arrow")},this.setTriggerElement=o=>{this.triggerElement=o},this.alignPopover=async()=>{this.popoverElement&&this.triggerElement&&await p({align:this.getRenderProp("align"),referenceElement:this.triggerElement,arrowElement:this.arrowElement,floatingElement:this.popoverElement})},this.setupAutoUpdate=()=>{this.popoverElement&&this.triggerElement&&!this.cleanupAutoUpdate&&(this.cleanupAutoUpdate=h(this.triggerElement,this.popoverElement,(()=>{this.alignPopover()})))}}componentWillLoad(o){this.watchAlign(o.align)}watchAlign(o){n.apply(o,(o=>{this.setRenderProp("align",o)}))}setShow(o){this.show=o,this.popoverElement&&(this.popoverElement.isConnected?this.toggleVisibility():requestAnimationFrame((()=>{this.toggleVisibility()})))}destroy(){var o;null===(o=this.cleanupAutoUpdate)||void 0===o||o.call(this),this.cleanupAutoUpdate=void 0,this.popoverElement=void 0,this.arrowElement=void 0,this.triggerElement=void 0}toggleVisibility(){var o;if(!this.popoverElement)return;const i=this.popoverElement.matches(":popover-open");if(this.show){if(!i)try{this.popoverElement.showPopover(),this.setupAutoUpdate(),this.alignPopover()}catch(o){}}else if(i)try{this.popoverElement.hidePopover(),null===(o=this.cleanupAutoUpdate)||void 0===o||o.call(this),this.cleanupAutoUpdate=void 0}catch(o){}}}export{m as P,u as a,c as p}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var n,t,i,o={exports:{}},r=(n||(n=1,t=o.exports,i=function(){var e=function(){},n="undefined",t=typeof window!==n&&typeof window.navigator!==n&&/Trident\/|MSIE /.test(window.navigator.userAgent),i=["trace","debug","info","warn","error"],o={},r=null;function l(e,n){var t=e[n];if("function"==typeof t.bind)return t.bind(e);try{return Function.prototype.bind.call(t,e)}catch(n){return function(){return Function.prototype.apply.apply(t,[e,arguments])}}}function s(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function a(){for(var t=this.getLevel(),o=0;o<i.length;o++){var r=i[o];this[r]=o<t?e:this.methodFactory(r,t,this.name)}if(this.log=this.debug,typeof console===n&&t<this.levels.SILENT)return"No console available for logging"}function u(e){return function(){typeof console!==n&&(a.call(this),this[e].apply(this,arguments))}}function d(i,o,r){return function(i){return"debug"===i&&(i="log"),typeof console!==n&&("trace"===i&&t?s:void 0!==console[i]?l(console,i):void 0!==console.log?l(console,"log"):e)}(i)||u.apply(this,arguments)}function c(e,t){var l,s,u,c=this,f="loglevel";function m(){var e;if(typeof window!==n&&f){try{e=window.localStorage[f]}catch(e){}if(typeof e===n)try{var t=window.document.cookie,i=encodeURIComponent(f),o=t.indexOf(i+"=");-1!==o&&(e=/^([^;]+)/.exec(t.slice(o+i.length+1))[1])}catch(e){}return void 0===c.levels[e]&&(e=void 0),e}}function p(e){var n=e;if("string"==typeof n&&void 0!==c.levels[n.toUpperCase()]&&(n=c.levels[n.toUpperCase()]),"number"==typeof n&&n>=0&&n<=c.levels.SILENT)return n;throw new TypeError("log.setLevel() called with invalid level: "+e)}"string"==typeof e?f+=":"+e:"symbol"==typeof e&&(f=void 0),c.name=e,c.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},c.methodFactory=t||d,c.getLevel=function(){return null!=u?u:null!=s?s:l},c.setLevel=function(e,t){return u=p(e),!1!==t&&function(e){var t=(i[e]||"silent").toUpperCase();if(typeof window!==n&&f){try{return void(window.localStorage[f]=t)}catch(e){}try{window.document.cookie=encodeURIComponent(f)+"="+t+";"}catch(e){}}}(u),a.call(c)},c.setDefaultLevel=function(e){s=p(e),m()||c.setLevel(e,!1)},c.resetLevel=function(){u=null,function(){if(typeof window!==n&&f){try{window.localStorage.removeItem(f)}catch(e){}try{window.document.cookie=encodeURIComponent(f)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(e){}}}(),a.call(c)},c.enableAll=function(e){c.setLevel(c.levels.TRACE,e)},c.disableAll=function(e){c.setLevel(c.levels.SILENT,e)},c.rebuild=function(){if(r!==c&&(l=p(r.getLevel())),a.call(c),r===c)for(var e in o)o[e].rebuild()},l=p(r?r.getLevel():"WARN");var b=m();null!=b&&(u=p(b)),a.call(c)}(r=new c).getLogger=function(e){if("symbol"!=typeof e&&"string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var n=o[e];return n||(n=o[e]=new c(e,r.methodFactory)),n};var f=typeof window!==n?window.log:void 0;return r.noConflict=function(){return typeof window!==n&&window.log===r&&(window.log=f),r},r.getLoggers=function(){return o},r.default=r,r},o.exports?o.exports=i():t.log=i()),o.exports),l=e(r);const s={A11yUi:{CSS_STYLE_CACHE:new Map,FEATURES:{},IS_TEST_ENVIRONMENT:(()=>{const e=typeof process<"u"&&process.env?process.env:{},n="test"===e.NODE_ENV,t="VITEST"in e,i="JEST_WORKER_ID"in e,o="PLAYWRIGHT_TEST_BASE_URL"in e,r="true"===e.CI,l="true"===e.TEST||"true"===e.IS_TEST,s=typeof navigator<"u"&&!0===navigator.webdriver,a=typeof navigator<"u"&&/playwright|puppeteer|webdriver|selenium|testcafe/i.test(navigator.userAgent);return n||t||i||o||r||l||s||a})(),PERFORMANCE_MEASURES:new Map,STYLING_TASK_QUEUE:new Map,THEMES:new Map,THEME_FEATURES:{},showAverageTimes:()=>{const e={};for(const[n,t]of s.A11yUi.PERFORMANCE_MEASURES.entries())e[n]=[t.totalTime/t.count,t.count];const n=Object.entries(e).sort(((e,n)=>n[1][0]-e[1][0]));return console.table(Object.fromEntries(n.map((([e,[n,t]])=>[e,{"avg (ms)":parseFloat(n.toFixed(2)),count:t}])))),e}}};let a=!0,u=!1;const d=/^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/,c=e=>{if(!(e=>"string"==typeof e&&d.test(e))(e))throw new Error(`[Theming] The theme identifier "${"string"==typeof e?e:""}" (Type: ${typeof e}) is not valid. Please use only follow this pattern: /^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/`)},f=e=>e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\s*([{},;])\s*/g,"$1").replace(/:\s+/g,":").replace(/\s+/g," ").replace(/;\}/g,"}").trim(),m=(e,n,t,i)=>{(i=i??{}).append=i.append??!1,c(e),a&&!u&&(u=!0,l.warn(`[Theming] The theme process is locked. This means that the theme "${e}" should not be patched.\n\n import { register } from 'adopted-style-sheets';\n import { defineCustomElements } from '...';\n import { THEME } from '...';\n\n register(THEME, defineCustomElements)\n .then(() => {\n // run your app or website\n })\n .catch(console.warn);`));let o=s.A11yUi.THEMES.get(e);if(o||(o=new Map,s.A11yUi.THEMES.set(e,o)),i.append&&o.has(n)){const e=o.get(n);o.set(n,f(`${e}${t}`))}else o.set(n,f(t))},p=(e,n,t,i)=>(c(e),"object"==typeof n&&null!==n&&Object.getOwnPropertyNames(n).forEach((o=>{const r=n[o],l=o.toLowerCase(),s="function"!=typeof i?.transformTagName||["GLOBAL","PROPERTIES"].includes(o)?o:i.transformTagName(l);"string"==typeof r&&r.length>0&&m(e,s.toUpperCase(),r,t)})),e),b=e=>{if(e instanceof HTMLElement){if("string"==typeof e.dataset.theme)return e;{let n=e.parentNode;for(;typeof ShadowRoot<"u"&&n instanceof ShadowRoot;)n=n.host;return b(n)}}return null},g=(e={})=>"false"!==e.themeEncroachCss&&"true"!==e.themeReset&&{mode:"after"===e.themeEncroachCssMode||"before"===e.themeEncroachCssMode?e.themeEncroachCssMode:"before"},h=()=>"object"==typeof s.A11yUi.Theme&&null!==s.A11yUi.Theme&&"boolean"==typeof s.A11yUi.Theme.cache&&"object"==typeof s.A11yUi.Theme.encroachCss&&null!==s.A11yUi.Theme.encroachCss&&"string"==typeof s.A11yUi.Theme.encroachCss.mode&&"string"==typeof s.A11yUi.Theme.name,w=e=>{if(h())return s.A11yUi.Theme;{const n={cache:!0,encroachCss:g(),loglevel:"silent",mode:"csr",name:null},t=b(e);return t instanceof HTMLElement&&(n.cache="false"!==t.dataset.themeCache,n.encroachCss=g(t.dataset),n.loglevel="debug"===t.dataset.themeLoglevel?t.dataset.themeLoglevel:"silent",n.mode="ssr"===t.dataset.themeMode?t.dataset.themeMode:"csr",n.name=t.dataset.theme||null),n}},y=()=>h()?s.A11yUi.Theme.name:null,v=(...e)=>{const n={};for(const t of e)t&&Object.assign(n,t);return n},k=(e,n)=>{const t=s.A11yUi.FEATURES[e];if(void 0!==t)return t;const i=(e=>w(e).name)(n??null)??y();if(null!==i){const n=s.A11yUi.THEME_FEATURES[i];if(n&&void 0!==n[e])return n[e]}};let S=!1;const E=(e,n,t={})=>{S||(S=!0,a=!1,typeof window<"u"&&(window.A11yUi=s.A11yUi)),"function"==typeof e?e=new Set([e]):Array.isArray(e)&&(e=new Set(e)),e instanceof Set&&e.forEach((e=>{"function"==typeof e&&1===e.length?((e,n)=>{!1===h()&&("object"!=typeof s.A11yUi.Theme||null===s.A11yUi.Theme||"default"!==s.A11yUi.Theme.name)&&"object"==typeof n&&null!==n&&(n=((e,n)=>({cache:!1!==n.cache,detect:"auto"===n.detect?"auto":"fixed",encroachCss:!1!==n.encroachCss&&("object"!=typeof n.encroachCss||null==n.encroachCss||"after"!==n.encroachCss.mode&&"before"!==n.encroachCss.mode?{mode:"before"}:n.encroachCss),loglevel:"debug"===n.loglevel?n.loglevel:"silent",mode:"ssr"===n.mode?n.mode:"csr",name:"string"==typeof n.name?n.name:e}))(e,n),"fixed"===n.detect?(null===n.name&&"string"==typeof e&&(n.name=e),e===n.name&&(s.A11yUi.Theme=n,l.info(`[Theming] Theme "${e}" was set as default theme.`))):u||(u=!0,l.warn("[Theming] The presetting of theme options is only relevant by using 'fixed' detection mode.")))})(e(((e,n,i,o)=>(o&&(s.A11yUi.THEME_FEATURES[e]=v(s.A11yUi.THEME_FEATURES[e],o)),p(e,n,i,t)))),{cache:t.theme?.cache,detect:t.theme?.detect,encroachCss:t.theme?.encroachCss,mode:t.theme?.mode,name:t.theme?.name}):l.error("[Theming] An attempt was made to load an incompatible theme.")})),a=!0,t.features&&(s.A11yUi.FEATURES=v(s.A11yUi.FEATURES,t.features)),"function"==typeof n?n=new Set([n]):Array.isArray(n)&&(n=new Set(n));const i=[];return n.forEach((e=>{const n=e();n instanceof Promise&&i.push(n)})),Promise.all(i)},T=new Set,M=new Map,A=/--[^;]+/g,x=/:/,N=typeof MutationObserver<"u";let O=25,L=()=>{O=Math.min(25+20*Math.log2(s.A11yUi.STYLING_TASK_QUEUE.size+1),250)};const j=(e,n)=>{const t=s.A11yUi.THEMES.get(e);if(t instanceof Map){const e=t.get(n);if(void 0!==e)return e}return""},C=(e,n,t,i)=>{const o="debug"===s.A11yUi.Theme?.loglevel,r=o?performance.now():0;if((e=>{const n=e.firstChild;if(n instanceof HTMLStyleElement&&void 0===n.dataset.themingFallback)for(const n of Array.from(e.childNodes)){if(!(n instanceof HTMLStyleElement&&"STYLE"===n.tagName&&void 0===n.dataset.themingFallback))break;e.removeChild(n)}})(n),((e,n)=>{try{if("ssr"===s.A11yUi.Theme?.mode)throw new Error("SSR");const t=n.filter((e=>"string"==typeof e&&e.length>0)).map((e=>{let n=M.get(e);return n||(n=new CSSStyleSheet,n.replaceSync(e),M.set(e,n)),n}));e.adoptedStyleSheets=t}catch{for(let t=n.length-1;t>=0;t--){const i=n[t];if("string"!=typeof i||0===i.length)continue;const o=n.length-1-t,r=document.createElement("style");switch(r.dataset.themingFallback="",o){case 4:r.dataset.themingBaseA11y="";break;case 3:r.dataset.themingBaseGlobal="";break;case 2:r.dataset.themingBaseComponent="";break;case 1:r.dataset.themingCustomGlobal="";break;case 0:r.dataset.themingCustomComponent="";break;default:r.dataset.themingUnknown=""}r.innerHTML=i,e.insertBefore(r,e.firstChild)}}})(n,t),U(e),requestAnimationFrame(i),o){const n=performance.now()-r,t=s.A11yUi.PERFORMANCE_MEASURES.get(e.tagName);t?(t.count+=1,t.totalTime+=n):s.A11yUi.PERFORMANCE_MEASURES.set(e.tagName,{count:1,totalTime:n})}},I=e=>{const n=s.A11yUi.STYLING_TASK_QUEUE.get(e);if(n){const{resetCss:t,themeDetails:i}=n;((e,n,t)=>{const i=n.name||"default";let o;try{if(null===e.shadowRoot)throw new Error("ShadowRoot is null");o=e.shadowRoot}catch{o=e}const r=s.A11yUi.CSS_STYLE_CACHE.get(i)?.get(e.tagName);if(r)C(e,o,r,t);else{const r=j(i,"PROPERTIES"),l=j(i,"GLOBAL"),a=j(i,e.tagName);!1===T.has(i)&&((e,n)=>{let t=n.match(A);if(Array.isArray(t)){t=t.filter((e=>x.test(e)));const n=document.createElement("style");n.innerHTML=`.${e} {${t.join(";")}}`,document.querySelector("head")?.appendChild(n)}T.add(e)})(i,l);const u=[r,l,a];if(((e,n,t)=>{if(!1===t||"before"!==t?.mode&&"after"!==t?.mode)return;const i=Array.from(e.childNodes).filter((e=>e instanceof HTMLStyleElement&&"STYLE"===e.tagName));let o;try{o=Array.from(e.adoptedStyleSheets)}catch{o=[]}if(0!==i.length||0!==o.length)if("before"===t.mode){const e=[...o.map((e=>Array.from(e.cssRules).map((e=>e.cssText)).join(""))),...i.map((e=>e.innerHTML))];n.unshift(...e)}else i.forEach((e=>n.push(e.innerHTML))),o.forEach((e=>n.push(Array.from(e.cssRules).map((e=>e.cssText)).join(""))))})(o,u,n.encroachCss),!0===n.cache){let n=s.A11yUi.CSS_STYLE_CACHE.get(i);n||(n=new Map,s.A11yUi.CSS_STYLE_CACHE.set(i,n)),n.set(e.tagName,u)}C(e,o,u,t)}})(e,i,t)}};let R=(e,n=0)=>{if(n>=100)return;const t=setTimeout((()=>{clearTimeout(t),e.classList.contains("hydrated")?I(e):R(e,n+1)}),O)};const $={attributes:!0,attributeFilter:["class"],childList:!1,subtree:!1},_={attributes:!0,attributeFilter:[],childList:!1,subtree:!1},q=N?new MutationObserver(((e,n)=>{const t=[];for(const n of e){const e=n.target;e.classList.contains("hydrated")&&s.A11yUi.STYLING_TASK_QUEUE.has(e)&&(I(e),t.push(e))}for(const e of t)n.observe(e,_)})):null;q&&(R=e=>q.observe(e,$),L=()=>{});const F=new Map;let z=(e,n)=>{if(n){const e=F.get(n);if(void 0!==e)return e}const t=getComputedStyle(e).getPropertyValue("--theme-visibility-delay").trim();let i;if(t.endsWith("ms"))i=parseFloat(t);else if(t.endsWith("s"))i=1e3*parseFloat(t);else{const e=parseFloat(t);i=isNaN(e)?0:e}return n&&F.set(n,i),i};s.A11yUi.IS_TEST_ENVIRONMENT&&(z=()=>0);const H=(e,n)=>{e.style.setProperty("visibility",n),e.dataset.themed=""},U=e=>{s.A11yUi.STYLING_TASK_QUEUE.delete(e),L()},P=(e,n)=>{((e,n)=>{const t=e.style.visibility||null,i=n.name||"default";s.A11yUi.STYLING_TASK_QUEUE.set(e,{resetCss:()=>{const n=z(e,i);n>0?setTimeout((()=>{H(e,t)}),n):H(e,t)},themeDetails:n}),e.style.setProperty("visibility","hidden","important"),R(e)})(e,{...s.A11yUi.Theme,...n})};class J{Prefix;Key;Tag;createTheme=(e,n,t)=>((e,n,t)=>i=>i(e,n,{append:!1},t))(e,n,t);createTranslation=(e,n)=>((e,n)=>t=>t(e,n))(e,n);constructor(e,n,t){this.Prefix=e,this.Key=Object.getOwnPropertyNames(n),this.Tag=Object.getOwnPropertyNames(t)}}var B,K;!function(e){e[e["action-done"]=0]="action-done",e[e["action-running"]=1]="action-running",e[e["avatar-alt"]=2]="avatar-alt",e[e["character-counter-current"]=3]="character-counter-current",e[e["character-counter-current-of-max"]=4]="character-counter-current-of-max",e[e["character-counter-current-of-max-aria"]=5]="character-counter-current-of-max-aria",e[e["character-counter-max-aria"]=6]="character-counter-max-aria",e[e["character-limit-exceeded"]=7]="character-limit-exceeded",e[e["character-limit-hint"]=8]="character-limit-hint",e[e["character-limit-remaining"]=9]="character-limit-remaining",e[e["clear-search"]=10]="clear-search",e[e.close=11]="close",e[e["close-alert"]=12]="close-alert",e[e["data-browse-text"]=13]="data-browse-text",e[e["delete-selection"]=14]="delete-selection",e[e["entries-per-site"]=15]="entries-per-site",e[e.error=16]="error",e[e["error-list"]=17]="error-list",e[e["error-list-message"]=18]="error-list-message",e[e["filename-text"]=19]="filename-text",e[e["form-description"]=20]="form-description",e[e["hide-password"]=21]="hide-password",e[e.info=22]="info",e[e["kolibri-logo"]=23]="kolibri-logo",e[e["live-value"]=24]="live-value",e[e["live-value-bounded"]=25]="live-value-bounded",e[e.message=26]="message",e[e["meter-state-critical"]=27]="meter-state-critical",e[e["meter-state-optimum"]=28]="meter-state-optimum",e[e["meter-state-suboptimal"]=29]="meter-state-suboptimal",e[e["nav-maximize"]=30]="nav-maximize",e[e["nav-minimize"]=31]="nav-minimize",e[e.new=32]="new",e[e["no-entries"]=33]="no-entries",e[e["no-results-message"]=34]="no-results-message",e[e["open-link-in-tab"]=35]="open-link-in-tab",e[e.page=36]="page",e[e["page-back"]=37]="page-back",e[e["page-first"]=38]="page-first",e[e["page-last"]=39]="page-last",e[e["page-next"]=40]="page-next",e[e.pagination=41]="pagination",e[e["pagination-position-bottom"]=42]="pagination-position-bottom",e[e["pagination-position-top"]=43]="pagination-position-top",e[e.readonly=44]="readonly",e[e["show-password"]=45]="show-password",e[e["show-suggestions"]=46]="show-suggestions",e[e.sort=47]="sort",e[e["split-button-dropdown-label-open"]=48]="split-button-dropdown-label-open",e[e.success=49]="success",e[e["table-data-loading"]=50]="table-data-loading",e[e["table-data-loaded"]=51]="table-data-loaded",e[e["table-pagination-label"]=52]="table-pagination-label",e[e["table-selection"]=53]="table-selection",e[e["table-selection-all"]=54]="table-selection-all",e[e["table-selection-indeterminate"]=55]="table-selection-indeterminate",e[e["table-selection-none"]=56]="table-selection-none",e[e["table-settings"]=57]="table-settings",e[e["table-settings-apply"]=58]="table-settings-apply",e[e["table-settings-cancel"]=59]="table-settings-cancel",e[e["table-settings-column-hidable"]=60]="table-settings-column-hidable",e[e["table-settings-column-not-hidable"]=61]="table-settings-column-not-hidable",e[e["table-settings-column-width"]=62]="table-settings-column-width",e[e["table-settings-error-all-invisible"]=63]="table-settings-error-all-invisible",e[e["table-settings-move-down"]=64]="table-settings-move-down",e[e["table-settings-move-up"]=65]="table-settings-move-up",e[e["table-settings-not-move"]=66]="table-settings-not-move",e[e["table-sort-order"]=67]="table-sort-order",e[e["table-visible-range"]=68]="table-visible-range",e[e["toast-close-all"]=69]="toast-close-all",e[e.version=70]="version",e[e.warning=71]="warning"}(B||(B={})),function(e){e[e.abbr=0]="abbr",e[e.accordion=1]="accordion",e[e.alert=2]="alert",e[e.avatar=3]="avatar",e[e.badge=4]="badge",e[e.breadcrumb=5]="breadcrumb",e[e.button=6]="button",e[e["button-link"]=7]="button-link",e[e.card=8]="card",e[e.combobox=9]="combobox",e[e.details=10]="details",e[e.dialog=11]="dialog",e[e.drawer=12]="drawer",e[e.form=13]="form",e[e.heading=14]="heading",e[e.icon=15]="icon",e[e.image=16]="image",e[e["input-checkbox"]=17]="input-checkbox",e[e["input-color"]=18]="input-color",e[e["input-date"]=19]="input-date",e[e["input-email"]=20]="input-email",e[e["input-file"]=21]="input-file",e[e["input-number"]=22]="input-number",e[e["input-password"]=23]="input-password",e[e["input-radio"]=24]="input-radio",e[e["input-range"]=25]="input-range",e[e["input-text"]=26]="input-text",e[e.kolibri=27]="kolibri",e[e.link=28]="link",e[e["link-button"]=29]="link-button",e[e.logo=30]="logo",e[e.meter=31]="meter",e[e.modal=32]="modal",e[e.nav=33]="nav",e[e.pagination=34]="pagination",e[e["popover-button"]=35]="popover-button",e[e.progress=36]="progress",e[e.quote=37]="quote",e[e.select=38]="select",e[e["single-select"]=39]="single-select",e[e["skip-nav"]=40]="skip-nav",e[e.spin=41]="spin",e[e["split-button"]=42]="split-button",e[e.symbol=43]="symbol",e[e.table=44]="table",e[e["table-stateful"]=45]="table-stateful",e[e["table-stateless"]=46]="table-stateless",e[e.tabs=47]="tabs",e[e.textarea=48]="textarea",e[e["toast-container"]=49]="toast-container",e[e.toolbar=50]="toolbar",e[e.tooltip=51]="tooltip",e[e.tree=52]="tree",e[e["tree-item"]=53]="tree-item",e[e.version=54]="version"}(K||(K={}));const W=()=>"undefined"!=typeof window?window:{},D=()=>{const e=W();return e&&void 0!==e.document?e.document:{}},G=["development","production","test"];let Y="production";const V=e=>{try{if(!G.includes(e))throw new Error(`Invalid NODE_ENV value: ${e}. Expected one of ${G.join(", ")}.`);Y=e}catch(e){Y="production"}},Q=()=>{try{return"undefined"!=typeof process&&process.env?process.env.NODE_ENV:void 0}catch(e){return}};V((()=>{const e=Q();return e&&G.includes(e)?e:"production"})());let X=!1,Z=!1;const ee=()=>"development"===Y,ne=()=>"test"===Y,te=()=>!0===X,ie=e=>{X=!0===e},oe=()=>!0===Z,re=e=>{Z=!0===e},le=e=>Array.isArray(e)?e:[e],se=e=>`%c${e}`,ae=(e,n)=>"string"==typeof n&&n.length>0?`${se(e)} | ${n}`:se(e),ue=(e,n)=>[ae(e,null==n?void 0:n.classifier),`color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000;${(null==n?void 0:n.overwriteStyle)||""}`],de=e=>ee()||!0===e,ce=new class{constructor(e){this.label=e}debug(e,n){de(null==n?void 0:n.forceLog)&&console.debug(...ue(this.label,n),...le(e))}info(e,n){de(null==n?void 0:n.forceLog)&&console.info(...ue(this.label,n),...le(e))}trace(e,n){de(null==n?void 0:n.forceLog)&&console.trace(...ue(this.label,n),...le(e))}warn(e,n){de(null==n?void 0:n.forceLog)&&console.warn(...ue(this.label,n),...le(e))}error(e,n){console.error(...ue(this.label,n),...le(e))}throw(e,n){if(de(null==n?void 0:n.forceLog))throw new Error(...ue(this.label,n),...le(e))}}("KoliBri"),fe=new Set,me=e=>{!1===fe.has(e)&&(fe.add(e),ce.debug([e].concat([]),{classifier:"✋ a11y",forceLog:!1,overwriteStyle:"; background-color: #09f"}))},pe=new Set,be=e=>{!1===pe.has(e)&&(pe.add(e),ce.warn([e].concat([]),{classifier:"🔥 deprecated",forceLog:!1,overwriteStyle:"; background-color: #f00"}))},ge=new Set,he=(e,n)=>{(!1===ge.has(e)||(null==n?void 0:n.force))&&(ge.add(e),ce.debug([e].concat((null==n?void 0:n.details)||[]),{classifier:"💻 dev",forceLog:!!(null==n?void 0:n.force),overwriteStyle:"; background-color: #f09"}))},we=e=>{!1===ge.has(e)&&(ge.add(e),ce.warn([e].concat([]),{classifier:"⚠️ dev",forceLog:!1,overwriteStyle:"; background-color: #f09"}))},ye=new Set,ve=(e,n=!1)=>{!1===ye.has(e)&&(ye.add(e),ce.debug([e+=!0===n?" ✅":""].concat([]),{classifier:"🌟 feature",forceLog:!1,overwriteStyle:"; background-color: #309"}))};he("We appreciate any feedback, comments, screenshots, or demo links of an application based on KoliBri (kolibri@itzbund.de). Thank you!");const ke=new Set,Se=e=>{!1===ke.has(e)&&(ke.add(e),ce.debug([e].concat([]),{classifier:"📑 ui/ux",forceLog:!1,overwriteStyle:"; background-color: #060;"}))},Ee=e=>{"string"==typeof e&&""!==e||me("Some structural elements, such as the nav tag, can be used multiple times on a webpage. To distinguish between similarly named structural elements, it is necessary to set an ARIA label.\n- https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role#accessibility_concerns")},Te=(e,n=8)=>{n>7&&Se(`[${e}] Within navigation structures, it is recommended to use no more than 7 menu items.\n\nLink:\n- https://en.wikipedia.org/wiki/The_Magical_Number_Seven,_Plus_or_Minus_Two`)};var Me,Ae,xe,Ne,Oe=1/12.92;function Le(e){return Math.pow((e+.055)/1.055,2.4)}function je(e){var n=e[0]/255,t=e[1]/255,i=e[2]/255;return.2126*(n<=.03928?n*Oe:Le(n))+.7152*(t<=.03928?t*Oe:Le(t))+.0722*(i<=.03928?i*Oe:Le(i))}function Ce(e){var n=255;8===(e=e.replace(/^#/,"")).length&&(n=parseInt(e.slice(6,8),16),e=e.substring(0,6)),4===e.length&&(n=parseInt(e.slice(3,4).repeat(2),16),e=e.substring(0,3)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var t=parseInt(e,16);return[t>>16,t>>8&255,255&t,n]}function Ie(e,n){return function(e,n){return function(e,n){return(Math.max(e,n)+.05)/(Math.min(e,n)+.05)}(je(e),je(n))}(Ce(e),Ce(n))}var Re=function(){if(Ne)return xe;Ne=1;var e=Ae?Me:(Ae=1,Me={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]});xe=function(t){var i,o,r=[],l=1;if("string"==typeof t)if(t=t.toLowerCase(),e[t])r=e[t].slice(),o="rgb";else if("transparent"===t)l=0,o="rgb",r=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(t)){var s=t.slice(1);l=1,(d=s.length)<=4?(r=[parseInt(s[0]+s[0],16),parseInt(s[1]+s[1],16),parseInt(s[2]+s[2],16)],4===d&&(l=parseInt(s[3]+s[3],16)/255)):(r=[parseInt(s[0]+s[1],16),parseInt(s[2]+s[3],16),parseInt(s[4]+s[5],16)],8===d&&(l=parseInt(s[6]+s[7],16)/255)),r[0]||(r[0]=0),r[1]||(r[1]=0),r[2]||(r[2]=0),o="rgb"}else if(i=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(t)){var a=i[1],u="rgb"===a;o=s=a.replace(/a$/,"");var d="cmyk"===s?4:"gray"===s?1:3;r=i[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(e,t){if(/%$/.test(e))return t===d?parseFloat(e)/100:"rgb"===s?255*parseFloat(e)/100:parseFloat(e);if("h"===s[t]){if(/deg$/.test(e))return parseFloat(e);if(void 0!==n[e])return n[e]}return parseFloat(e)})),a===s&&r.push(1),l=u||void 0===r[d]?1:r[d],r=r.slice(0,d)}else t.length>10&&/[0-9](?:\s|\/)/.test(t)&&(r=t.match(/([0-9]+)/g).map((function(e){return parseFloat(e)})),o=t.match(/([a-z])/gi).join("").toLowerCase());else isNaN(t)?Array.isArray(t)||t.length?(r=[t[0],t[1],t[2]],o="rgb",l=4===t.length?t[3]:1):t instanceof Object&&(null!=t.r||null!=t.red||null!=t.R?(o="rgb",r=[t.r||t.red||t.R||0,t.g||t.green||t.G||0,t.b||t.blue||t.B||0]):(o="hsl",r=[t.h||t.hue||t.H||0,t.s||t.saturation||t.S||0,t.l||t.lightness||t.L||t.b||t.brightness]),l=t.a||t.alpha||t.opacity||1,null!=t.opacity&&(l/=100)):(o="rgb",r=[t>>>16,(65280&t)>>>8,255&t]);return{space:o,values:r,alpha:l}};var n={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};return xe}(),$e=e(Re);const _e={min:[0,0,0],max:[255,255,255]};var qe={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(e){var n,t,i,o,r,l=e[0]/360,s=e[1]/100,a=e[2]/100,u=0;if(0===s)return[r=255*a,r,r];for(n=2*a-(t=a<.5?a*(1+s):a+s-a*s),o=[0,0,0];u<3;)(i=l+1/3*-(u-1))<0?i++:i>1&&i--,o[u++]=255*(r=6*i<1?n+6*(t-n)*i:2*i<1?t:3*i<2?n+(t-n)*(2/3-i)*6:n);return o}};_e.hsl=function(e){var n,t,i=e[0]/255,o=e[1]/255,r=e[2]/255,l=Math.min(i,o,r),s=Math.max(i,o,r),a=s-l;return s===l?n=0:i===s?n=(o-r)/a:o===s?n=2+(r-i)/a:r===s&&(n=4+(i-o)/a),(n=Math.min(60*n,360))<0&&(n+=360),t=(l+s)/2,[n,100*(s===l?0:t<=.5?a/(s+l):a/(2-s-l)),100*t]};var Fe,ze={exports:{}},He=function(){if(Fe)return ze.exports;function e(e){var t=n(e);return 3==t.length?t.concat(255):(t[3]=Math.round(t[3]),t)}function n(e){return"string"==typeof e?("red"==(n=e=e.toLowerCase())?[255,0,0]:"green"==n?[0,255,0]:"blue"==n?[0,0,255]:"black"==n?[0,0,0]:"white"==n?[255,255,255]:"cyan"==n?[0,255,255]:"gray"==n||"grey"==n?[128,128,128]:"magenta"==n||"pink"==n?[255,0,255]:"yellow"==n?[255,255,0]:void 0)||function(e){var n=e.replace(/^#/,""),t=n.length;if(3==t||4==t){var o=i(n[0]),r=i(n[1]),l=i(n[2]),s=3==t?255:i(n[3]);if(isNaN(o)||isNaN(r)||isNaN(l)||isNaN(s))return;return[o,r,l,s]}}(e)||function(e){var n=e.replace(/^#/,""),t=n.length;if(6==t||8==t){var o=i(n.slice(0,2)),r=i(n.slice(2,4)),l=i(n.slice(4,6)),s=6==t?255:i(n.slice(6,8));if(isNaN(o)||isNaN(r)||isNaN(l)||isNaN(s))return;return[o,r,l,s]}}(e)||function(e){if("rgb("==e.substr(0,4)){var n=(e=e.match(/^rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number),t=o(n[0],!0),i=o(n[1],!0),r=o(n[2],!0);if(-1!=t&&-1!=i&&-1!=r)return[t,i,r,255]}}(e)||function(e){if("rgba("==e.substr(0,5)){var n=(e=e.match(/^rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number),t=o(n[0],!0),i=o(n[1],!0),r=o(n[2],!0),l=o(255*n[3]);if(-1!=t&&-1!=i&&-1!=r&&-1!=l)return[t,i,r,l]}}(e)||[0,0,0,255]:function(e){if("[object Object]"===Object.prototype.toString.call(e)&&Object.getPrototypeOf(e)===Object.getPrototypeOf({})){var n=o(null!=e.r?e.r:null!=e.red?e.red:0,!0),t=o(null!=e.g?e.g:null!=e.green?e.green:0,!0),i=o(null!=e.b?e.b:null!=e.blue?e.blue:0,!0),r=o(null!=e.a?e.a:null!=e.alpha?e.alpha:255,!0);if(-1!=n&&-1!=t&&-1!=i&&-1!=r)return[n,t,i,r]}}(e)||function(e){if(Array.isArray(e)&&(3==e.length||4==e.length)){var n=o(e[0],!0),t=o(e[1],!0),i=o(e[2],!0),r=o(null!=e[3]?e[3]:255,!0);if(-1!=n&&-1!=t&&-1!=i&&-1!=r)return[n,t,i,r]}}(e)||function(e){if("number"==typeof e&&Math.floor(e)==e&&e<=4294967295&&e>=0)return[e>>16&255,e>>8&255,255&e,e>>24&255]}(e)||[0,0,0,255];var n}function t(e){var n=e.toString(16);return 1==n.length?"0"+n:n}function i(e){return 1==e.length?parseInt(e+e,16):parseInt(e,16)}function o(e,n){return"number"!=typeof e||!0===n&&Math.floor(e)!==e?-1:e>=0&&e<=255?e:-1}return Fe=1,ze.exports=e,ze.exports.arr=e,ze.exports.obj=function(e){var t=n(e);return{r:t[0],g:t[1],b:t[2],a:3==t.length?255:Math.round(t[3])}},ze.exports.css=function(e){var t=n(e);return 3==t.length&&t.push(255),255==t[3]?"rgb("+t[0]+", "+t[1]+", "+t[2]+")":0==t[3]?"rgba("+t[0]+", "+t[1]+", "+t[2]+", 0)":"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+String(t[3]/255).substr(1)+")"},ze.exports.hex=function(e){var i=n(e);3==i.length&&i.push(255);var o=255==i[3],r=t(i[0]),l=t(i[1]),s=t(i[2]),a=function(e,n,t,i){var o=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return-1!=o.indexOf(e)&&-1!=o.indexOf(n)&&-1!=o.indexOf(t)&&-1!=o.indexOf(i)}(r,l,s,i=t(Math.round(i[3])));return o?a?"#"+r.charAt(0)+l.charAt(0)+s.charAt(0):"#"+r+l+s:a?"#"+r.charAt(0)+l.charAt(0)+s.charAt(0)+i.charAt(0):"#"+r+l+s+i},ze.exports.num=function(e){var t=n(e);return 3==t.length?t.push(255):t[3]=Math.round(t[3]),(t[3]<<24>>>0|t[0]<<16|t[1]<<8|t[2])>>>0},ze.exports}(),Ue=e(He);const Pe=/\[object Object\]/,Je=(e,n)=>{"string"==typeof e&&Pe.test(e)||n()},Be=(e,n)=>{te()&&(ce.debug([e,n]),ce.debug("↑ We propagate the (submit) event to this target.")),Object.defineProperty(e,"target",{value:n,writable:!1})},Ke=(e,n,t,i={})=>{var o,r;void 0===e.nextHooks&&(e.nextHooks=new Map),void 0===e.nextState&&(e.nextState=new Map),e.nextHooks.get(n)instanceof Map==0&&e.nextHooks.set(n,new Map),"function"==typeof i.afterPatch&&(null===(o=e.nextHooks.get(n))||void 0===o||o.set("afterPatch",i.afterPatch)),"function"==typeof i.beforePatch&&(null===(r=e.nextHooks.get(n))||void 0===r||r.set("beforePatch",i.beforePatch)),e.nextState.set(n,t),(e=>{var n,t,i;null===(n=e.nextHooks)||void 0===n||n.forEach(((n,t)=>{var i;const o=n.get("beforePatch");"function"==typeof o&&o(null===(i=e.nextState)||void 0===i?void 0:i.get(t),e.nextState,e,t)})),(null===(t=e.nextState)||void 0===t?void 0:t.size)>0&&(e.state=Object.assign(Object.assign({},e.state),Object.fromEntries(e.nextState)),delete e.nextState,null===(i=e.nextHooks)||void 0===i||i.forEach(((n,t)=>{const i=n.get("afterPatch");"function"==typeof i&&i(e.state[t],e.state,e,t)}))),delete e.nextHooks})(e)};function We(e,n,t,i,o,r={}){if("production"!==Y||"production"!==Q())if(t(o))Ke(e,n,o,r.hooks);else if(void 0===o&&!0!==r.required&&t(r.defaultValue))Ke(e,n,r.defaultValue,r.hooks);else{const t=new Set(i);r.required||t.add(null),((e,n,t,i)=>{he(`[${e.constructor.name}] The property value: (${t}) for '${n}' is not valid. Allowed values are: ${Array.from(i).join(", ")}`)})(e,n,o,t)}else void 0!==o?Ke(e,n,o,r.hooks):t(void 0)?Ke(e,n,void 0,r.hooks):!0!==r.required&&t(r.defaultValue)&&Ke(e,n,r.defaultValue,r.hooks)}const De=e=>{try{return JSON.stringify(e).replace(/"/g,"'")}catch(n){throw ce.warn(["stringifyJson",e]),ce.error("↑ The JSON could not be converted to a string. A stringifiable JSON is expected."),new Error}},Ge=/^[{[]/,Ye=e=>{if("string"==typeof e)try{return JSON.parse(e)}catch(n){if(Ge.test(e))try{return JSON.parse(e.replace(/'/g,'"'))}catch(n){ce.warn(["parseJson",e]),ce.error("↑ The JSON string could not be parsed. Make sure that single quotes in the text are escaped (‘).")}}throw new Error},Ve=(e,n)=>{if(!e)return;const t=new Set,i=[e];let o=0;for(;o<i.length;){const e=i[o++];if(t.has(e))continue;if(t.add(e),n(e))return;const r=Array.from(e.children||[]);for(let e=0;e<r.length;e++)i.push(r[e]);if(e instanceof HTMLElement&&e.shadowRoot&&i.push(e.shadowRoot),e instanceof HTMLSlotElement){const n=e.assignedNodes({flatten:!0});for(let e=0;e<n.length;e++)n[e]instanceof Element&&i.push(n[e])}}},Qe=(e,n)=>((e,n)=>{let t=null;return Ve(n,(n=>!!(n instanceof Element&&n.matches(e))&&(t=n,!0))),t})(e,n||D()),Xe=(e,n)=>((e,n)=>{const t=[];return Ve(n,(n=>(n instanceof Element&&n.matches(e)&&t.push(n),!1))),t})(e,n||D());let Ze=null;const en=()=>(Ze=Ze||{backgroundColor:"#00000000",color:"#00000000",domNode:D().body,level:"Fail",score:1},Ze),nn=/(\d+, ){3}0\)/,tn=(e,n=en())=>{const t=getComputedStyle(e),i=nn.test(t.backgroundColor)?n.backgroundColor:Ue.hex(t.backgroundColor),o=nn.test(t.color)?n.color:Ue.hex(t.color),r=Ie(i,o),l={backgroundColor:i,color:o,domNode:e,level:(s=r,s>=7?"AAA":s>=4.5?"AA":s>=3?"AA Large":"Fail"),score:r};var s;return r<4.5&&ce.error(["Color-Contrast-Error",{backgroundColor:l.backgroundColor,color:l.color,level:l.level,score:l.score},l.domNode]),l},on=(e,n=en())=>{n.domNode instanceof HTMLElement&&(n=tn(n.domNode,n));const t=n.domNode.querySelector(e);if(null===t){const t=n.domNode.querySelectorAll('[class="hydrated"]');for(let i=0;i<t.length&&(n.domNode=t[i],null===(n=on(e,n)).domNode);i++);return n}return tn(t,n)};class rn{static queryHtmlElementColors(e,n,t=!1,i=!0){let o=null;if(!0===t||!1===rn.executionLock)if(!1===t&&(rn.cache.clear(),rn.cache.set(n.domNode,n),rn.executionLock=!0,!0===i&&ce.debug("[KoliBriUtils] Color contrast analysis started...")),e===n.domNode)o=n;else{const t=new Set;if(n.domNode.shadowRoot){const e=n.domNode.shadowRoot.children;for(let n=0;n<e.length;n++)t.add(e[n])}const i=n.domNode;if("function"==typeof i.assignedNodes){const e=i.assignedNodes();for(let n=0;n<e.length;n++)e[n]instanceof HTMLElement&&t.add(e[n])}const r=n.domNode.children;for(let e=0;e<r.length;e++)t.add(r[e]);const l=Array.from(t);for(let t=0;t<l.length;t++){let i=rn.cache.get(l[t]);void 0===i&&(i=tn(l[t],n)),rn.cache.set(l[t],i);const r=rn.queryHtmlElementColors(e,i,!0,!1);if(null!==r){o=r;break}}}else ce.debug("[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.");return!1===t&&(!0===i&&ce.debug(`[KoliBriUtils] Color contrast analysis finished (${rn.cache.size} DOM elements are analysed).`),rn.executionLock=!1,rn.cache.clear()),o}}rn.executionLock=!1,rn.cache=new Map;class ln{}ln.getCssStyle=j,ln.patchTheme=(e,n,t,i)=>p(e,n,t,i),ln.patchThemeTag=(e,n,t,i)=>m(e,n,t,i),ln.querySelector=Qe,ln.querySelectorAll=Xe,ln.stringifyJson=De;const sn=e=>"object"==typeof e&&null!==e,an=(e,n=0)=>"string"==typeof e&&e.length>=n,un=e=>{if("object"!=typeof e||null===e)return an(e,1);for(const n in e)if(!1===an(n,1))return!1;return!0},dn=new Event("StateChange");var cn,fn,mn=e(fn?cn:(fn=1,cn=function(e){return function(n,t){if(!n)return e;var i;"string"==typeof n?i=n:t=n;var o=e;return i&&(o+="__"+i),o+(t?Object.keys(t).reduce((function(e,n){var i=t[n];return i&&(e+=" "+("boolean"==typeof i?o+"--"+n:o+"--"+n+"_"+i)),e}),""):"")}}));const pn=function(){const e=new Map,n=(n,t,i)=>{try{return e.get(n)(t,i)}catch{return e.set(n,mn(n)).get(n)(t,i)}};return n.forBlock=e=>{const t=(t,i)=>n(e,t,i);return t.forElement=t=>i=>n(e,t,i),t},n}(),bn={"kol-abbr":{modifiers:null},"kol-alert":{elements:{closer:{modifiers:null},heading:{modifiers:new Set(["h0","h1","h2","h3","h4","h5","h6"])},icon:{modifiers:null},content:{modifiers:null},container:{modifiers:null}},modifiers:new Set(["hasCloser","type-default","type-error","type-info","type-success","type-warning","variant-card","variant-msg"])},"kol-badge":{elements:{label:{modifiers:null},"smart-button":{modifiers:null}},modifiers:new Set(["has-smart-button"])},"kol-version":{modifiers:null},"kol-accordion":{elements:{content:{modifiers:null},heading:{modifiers:null},wrapper:{modifiers:null},"wrapper-animation":{modifiers:null}},modifiers:new Set(["disabled","open"])},"kol-avatar":{elements:{image:{modifiers:null},initials:{modifiers:null}},modifiers:null},"kol-card":{elements:{"close-button":{modifiers:null},content:{modifiers:null},header:{modifiers:null},link:{modifiers:null}},modifiers:null},"kol-dialog":{elements:{blank:{modifiers:null},card:{modifiers:null}},modifiers:null},"kol-modal":{elements:{blank:{modifiers:null},card:{modifiers:null}},modifiers:null},"kol-button":{elements:{"interactive-element":{modifiers:null},text:{modifiers:null},tooltip:{modifiers:null}},modifiers:new Set(["disabled","hide-label","inline","standalone"])},"kol-breadcrumb":{elements:{icon:{modifiers:null},link:{modifiers:null},list:{modifiers:null},"list-element":{modifiers:null},"list-element-span":{modifiers:null},separator:{modifiers:null}},modifiers:null},"kol-nav":{elements:{compact:{modifiers:null},entry:{modifiers:new Set(["button","collapsible","link"])},"entry-wrapper":{modifiers:null},list:{modifiers:new Set(["nested","vertical"])},"list-item":{modifiers:new Set(["active","expanded","has-children"])},navigation:{modifiers:null},"toggle-button":{modifiers:null}},modifiers:new Set(["is-compact"])},"kol-kolibri":{elements:{text:{modifiers:null}},modifiers:null},"kol-popover-button":{elements:{popover:{modifiers:null}},modifiers:new Set(["inline","open"])},"kol-details":{elements:{content:{modifiers:null},heading:{modifiers:null},wrapper:{modifiers:null},"wrapper-animation":{modifiers:null}},modifiers:new Set(["disabled","open"])},"kol-drawer":{elements:{content:{modifiers:null},dialog:{modifiers:null},wrapper:{modifiers:new Set(["bottom","is-closing","left","open","right","top"])}},modifiers:null},"kol-heading":{modifiers:new Set(["group"])},"kol-headline":{modifiers:new Set(["group","h1","h2","h3","h4","h5","h6","primary","secondary","single","strong"])},"kol-icon":{elements:{icon:{modifiers:null}},modifiers:null},"kol-meter":{elements:{bar:{modifiers:null},"bar-background":{modifiers:null},"bar-border":{modifiers:null},"bar-fill":{modifiers:new Set(["critical","optimum","suboptimal"])},"bar-label":{modifiers:null},"bar-state":{modifiers:new Set(["critical","optimum","suboptimal"])},"bar-track":{modifiers:null},unit:{modifiers:null},value:{modifiers:null},"value-unit":{modifiers:null}},modifiers:new Set(["vertical"])},"kol-quote":{elements:{blockquote:{modifiers:null},cite:{modifiers:null},figcaption:{modifiers:null},quote:{modifiers:null}},modifiers:new Set(["block","inline"])},"kol-skip-nav":{elements:{list:{modifiers:null},"list-item":{modifiers:null}},modifiers:null},"kol-skeleton":{elements:{actions:{modifiers:null},container:{modifiers:null},counter:{modifiers:null},name:{modifiers:null}},modifiers:new Set(["has-name","is-hidden"])},"kol-click-button":{elements:{label:{modifiers:null}},modifiers:null},"kol-span":{elements:{container:{modifiers:null},icon:{modifiers:new Set(["bottom","left","right","top"])},label:{modifiers:null},slot:{modifiers:null}},modifiers:new Set(["has-badge","hide-label"])},"kol-link":{elements:{"interactive-element":{modifiers:null},icon:{modifiers:null},text:{modifiers:null}},modifiers:new Set(["disabled","external-link","hide-label","inline","standalone"])},"kol-form":{elements:{alert:{modifiers:null},form:{modifiers:null},link:{modifiers:null},"mandatory-fields-hint":{modifiers:null}},modifiers:null},"kol-form-field":{elements:{counter:{modifiers:null},hint:{modifiers:null},input:{modifiers:new Set(["orientation-horizontal","orientation-vertical"])},label:{modifiers:new Set(["legend"])},"label-text":{modifiers:null},msg:{modifiers:null},tooltip:{modifiers:null}},modifiers:new Set(["default","disabled","error","hidden-msg","hide-label","info","msg-type-default","msg-type-error","msg-type-info","msg-type-success","msg-type-warning","radio","read-only","required","success","touched","warning"])},"kol-input":{modifiers:new Set(["default","disabled","error","info","readonly","required","success","touched","warning"])},"kol-input-container":{elements:{adornment:{modifiers:new Set(["end","start"])},button:{modifiers:null},container:{modifiers:null},filename:{modifiers:new Set(["has-file"])},icon:{modifiers:null},"smart-button":{modifiers:null}},modifiers:new Set(["default","disabled","error","info","is-dragover","success","warning"])},"kol-field-control":{elements:{hint:{modifiers:null},input:{modifiers:null},label:{modifiers:new Set(["visually-hidden"])},"label-text":{modifiers:null}},modifiers:new Set(["default","disabled","error","hide-label","info","label-align-left","label-align-right","read-only","required","success","touched","warning"])},"kol-checkbox":{elements:{icon:{modifiers:null},input:{modifiers:null}},modifiers:new Set(["checked","default","disabled","error","indeterminate","info","required","success","touched","variant-button","variant-default","variant-switch","warning"])},"kol-input-radio":{elements:{input:{modifiers:null}},modifiers:new Set(["checked","default","disabled","error","info","required","success","touched","warning"])},"kol-select":{elements:{optgroup:{modifiers:new Set(["disabled"])},option:{modifiers:new Set(["disabled","selected"])}},modifiers:new Set(["default","disabled","error","info","required","success","touched","warning"])},"kol-pagination":{elements:{button:{modifiers:new Set(["first","last","next","numbers","previous","selected"])},entries:{modifiers:null},navigation:{modifiers:null},"navigation-list":{modifiers:null},"page-size-select":{modifiers:null},separator:{modifiers:null}},modifiers:null},"kol-custom-suggestions-option":{modifiers:new Set(["disabled"])},"kol-custom-suggestions-options-group":{modifiers:new Set(["cursor-hidden","open"])},"kol-custom-suggestions-toggle":{modifiers:new Set(["disabled"])},"kol-combobox":{elements:{delete:{modifiers:null},group:{modifiers:null}},modifiers:new Set(["open"])},"kol-combobox-toggle":{modifiers:null},"kol-single-select":{elements:{delete:{modifiers:null},group:{modifiers:null},"no-results-message":{modifiers:null}},modifiers:new Set(["open"])},"kol-input-range":{elements:{input:{modifiers:new Set(["number","range"])},"inputs-wrapper":{modifiers:null}},modifiers:null},"kol-split-button":{elements:{button:{modifiers:null},"horizontal-line":{modifiers:null},root:{modifiers:null},"secondary-button":{modifiers:null}},modifiers:null},"kol-spin":{elements:{loader:{modifiers:null},spinner:{modifiers:new Set(["cycle","dot","none"])},"spinner-element":{modifiers:new Set(["1","2","3","neutral"])}},modifiers:null},"kol-table":{elements:{body:{modifiers:null},caption:{modifiers:null},cell:{modifiers:new Set(["actions","align-center","align-justify","align-left","align-right","ascending","body","descending","header","none","other","selection","states","sticky-left","sticky-right"])},"cell-actions":{modifiers:null},"cell-states":{modifiers:null},"focus-element":{modifiers:null},footer:{modifiers:null},head:{modifiers:null},"head-row":{modifiers:null},loader:{modifiers:new Set(["shown"])},row:{modifiers:new Set(["body","footer"])},"scroll-container":{modifiers:null},selection:{modifiers:new Set(["checked","indeterminate"])},"selection-icon":{modifiers:null},"selection-input":{modifiers:new Set(["checkbox","radio"])},"selection-input-tooltip":{modifiers:null},"selection-label":{modifiers:new Set(["disabled"])},settings:{modifiers:null},sort:{modifiers:null},"sort-button":{modifiers:null},"sort-order":{modifiers:null},spacer:{modifiers:new Set(["foot","head"])},"spacer-line":{modifiers:new Set(["foot","head"])},table:{modifiers:null}},modifiers:null},"kol-tabs":{elements:{"button-create":{modifiers:null},"button-group":{modifiers:null},content:{modifiers:null},tab:{modifiers:null},tablist:{modifiers:null}},modifiers:new Set(["align-bottom","align-left","align-right","align-top"])},"kol-textarea":{modifiers:new Set(["default","disabled","error","info","readonly","required","success","touched","warning"])},"kol-toolbar":{elements:{item:{modifiers:null}},modifiers:new Set(["orientation-horizontal","orientation-vertical"])},"kol-tree":{elements:{"treeview-navigation":{modifiers:null}},modifiers:null},"kol-tree-item":{elements:{children:{modifiers:null},link:{modifiers:new Set(["active","first-level"])},"link-inner":{modifiers:null},text:{modifiers:null},"toggle-button":{modifiers:null},"toggle-button-icon":{modifiers:null},"toggle-button-placeholder":{modifiers:null}},modifiers:null},"kol-image":{modifiers:null},"kol-popover":{elements:{arrow:{modifiers:new Set(["top","right","bottom","left"])}},modifiers:null},"kol-progress":{elements:{bar:{modifiers:null},"bar-background":{modifiers:null},"bar-border":{modifiers:null},"bar-label":{modifiers:null},"bar-progress":{modifiers:null},"bar-unit":{modifiers:null},"bar-value":{modifiers:null},cycle:{modifiers:null},"cycle-background":{modifiers:null},"cycle-border":{modifiers:null},"cycle-label":{modifiers:null},"cycle-progress":{modifiers:null},"cycle-text":{modifiers:null},"cycle-value":{modifiers:null},"cycle-whitespace":{modifiers:null}},modifiers:null},"kol-tooltip":{elements:{arrow:{modifiers:null},content:{modifiers:null},floating:{modifiers:null}},modifiers:null}};export{Ue as A,bn as B,Ie as C,Te as D,J as E,te as F,un as G,an as H,We as I,Qe as J,B as K,ce as L,ee as M,tn as N,Xe as O,on as P,rn as Q,y as R,dn as S,K as T,De as U,oe as V,k as X,ln as a,pn as b,Ee as c,P as d,be as e,ve as f,he as g,me as h,V as i,E as j,sn as k,we as l,$e as m,qe as n,Je as o,Ye as p,D as q,_e as r,Be as s,ie as t,Se as u,re as v,w,W as x,ne as y,e as z}
|
|
4
|
+
import{q as e}from"./prop.validators.js";var i,l,n=e(l?i:(l=1,i=function(e){return function(i,l){if(!i)return e;var n;"string"==typeof i?n=i:l=i;var o=e;return n&&(o+="__"+n),o+(l?Object.keys(l).reduce((function(e,i){var n=l[i];return n&&(e+=" "+("boolean"==typeof n?o+"--"+i:o+"--"+i+"_"+n)),e}),""):"")}}));const o=function(){const e=new Map,i=(i,l,o)=>{try{return e.get(i)(l,o)}catch{return e.set(i,n(i)).get(i)(l,o)}};return i.forBlock=e=>{const l=(l,n)=>i(e,l,n);return l.forElement=l=>n=>i(e,l,n),l},i}(),r={"kol-abbr":{modifiers:null},"kol-alert":{elements:{closer:{modifiers:null},heading:{modifiers:new Set(["h0","h1","h2","h3","h4","h5","h6"])},icon:{modifiers:null},content:{modifiers:null},container:{modifiers:null}},modifiers:new Set(["hasCloser","type-default","type-error","type-info","type-success","type-warning","variant-card","variant-msg"])},"kol-badge":{elements:{label:{modifiers:null},"smart-button":{modifiers:null}},modifiers:new Set(["has-smart-button"])},"kol-version":{modifiers:null},"kol-accordion":{elements:{content:{modifiers:null},heading:{modifiers:null},wrapper:{modifiers:null},"wrapper-animation":{modifiers:null}},modifiers:new Set(["disabled","open"])},"kol-avatar":{elements:{image:{modifiers:null},initials:{modifiers:null}},modifiers:null},"kol-card":{elements:{"close-button":{modifiers:null},content:{modifiers:null},header:{modifiers:null},link:{modifiers:null}},modifiers:null},"kol-dialog":{elements:{blank:{modifiers:null},card:{modifiers:null}},modifiers:null},"kol-modal":{elements:{blank:{modifiers:null},card:{modifiers:null}},modifiers:null},"kol-button":{elements:{"interactive-element":{modifiers:null},text:{modifiers:null},tooltip:{modifiers:null}},modifiers:new Set(["disabled","hide-label","inline","standalone"])},"kol-breadcrumb":{elements:{icon:{modifiers:null},link:{modifiers:null},list:{modifiers:null},"list-element":{modifiers:null},"list-element-span":{modifiers:null},separator:{modifiers:null}},modifiers:null},"kol-nav":{elements:{compact:{modifiers:null},entry:{modifiers:new Set(["button","collapsible","link"])},"entry-wrapper":{modifiers:null},list:{modifiers:new Set(["nested","vertical"])},"list-item":{modifiers:new Set(["active","expanded","has-children"])},navigation:{modifiers:null},"toggle-button":{modifiers:null}},modifiers:new Set(["is-compact"])},"kol-kolibri":{elements:{text:{modifiers:null}},modifiers:null},"kol-popover-button":{elements:{popover:{modifiers:null}},modifiers:new Set(["inline","open"])},"kol-details":{elements:{content:{modifiers:null},heading:{modifiers:null},wrapper:{modifiers:null},"wrapper-animation":{modifiers:null}},modifiers:new Set(["disabled","open"])},"kol-drawer":{elements:{content:{modifiers:null},dialog:{modifiers:null},wrapper:{modifiers:new Set(["bottom","is-closing","left","open","right","top"])}},modifiers:null},"kol-heading":{modifiers:new Set(["group"])},"kol-headline":{modifiers:new Set(["group","h1","h2","h3","h4","h5","h6","primary","secondary","single","strong"])},"kol-icon":{elements:{icon:{modifiers:null}},modifiers:null},"kol-meter":{elements:{bar:{modifiers:null},"bar-background":{modifiers:null},"bar-border":{modifiers:null},"bar-fill":{modifiers:new Set(["critical","optimum","suboptimal"])},"bar-label":{modifiers:null},"bar-state":{modifiers:new Set(["critical","optimum","suboptimal"])},"bar-track":{modifiers:null},unit:{modifiers:null},value:{modifiers:null},"value-unit":{modifiers:null}},modifiers:new Set(["vertical"])},"kol-quote":{elements:{blockquote:{modifiers:null},cite:{modifiers:null},figcaption:{modifiers:null},quote:{modifiers:null}},modifiers:new Set(["block","inline"])},"kol-skip-nav":{elements:{list:{modifiers:null},"list-item":{modifiers:null}},modifiers:null},"kol-close-button":{modifiers:null},"kol-span":{elements:{container:{modifiers:null},icon:{modifiers:new Set(["bottom","left","right","top"])},label:{modifiers:null},slot:{modifiers:null}},modifiers:new Set(["has-badge","hide-label"])},"kol-link":{elements:{"interactive-element":{modifiers:null},icon:{modifiers:null},text:{modifiers:null},tooltip:{modifiers:null}},modifiers:new Set(["disabled","external-link","hide-label","inline","standalone"])},"kol-form":{elements:{alert:{modifiers:null},form:{modifiers:null},link:{modifiers:null},"mandatory-fields-hint":{modifiers:null}},modifiers:null},"kol-form-field":{elements:{counter:{modifiers:null},hint:{modifiers:null},input:{modifiers:new Set(["orientation-horizontal","orientation-vertical"])},label:{modifiers:new Set(["legend"])},"label-text":{modifiers:null},msg:{modifiers:null},tooltip:{modifiers:null}},modifiers:new Set(["default","disabled","error","hidden-msg","hide-label","info","msg-type-default","msg-type-error","msg-type-info","msg-type-success","msg-type-warning","radio","read-only","required","success","touched","warning"])},"kol-input":{modifiers:new Set(["default","disabled","error","info","readonly","required","success","touched","warning"])},"kol-input-container":{elements:{adornment:{modifiers:new Set(["end","start"])},button:{modifiers:null},container:{modifiers:null},filename:{modifiers:new Set(["has-file"])},icon:{modifiers:null},"smart-button":{modifiers:null}},modifiers:new Set(["default","disabled","error","info","is-dragover","success","warning"])},"kol-field-control":{elements:{hint:{modifiers:null},input:{modifiers:null},label:{modifiers:new Set(["visually-hidden"])},"label-text":{modifiers:null}},modifiers:new Set(["default","disabled","error","hide-label","info","label-align-left","label-align-right","read-only","required","success","touched","warning"])},"kol-checkbox":{elements:{icon:{modifiers:null},input:{modifiers:null}},modifiers:new Set(["checked","default","disabled","error","indeterminate","info","required","success","touched","variant-button","variant-default","variant-switch","warning"])},"kol-input-checkbox":{elements:{"field-control":{modifiers:new Set(["checked","indeterminate","variant-button","variant-default","variant-switch"])}},modifiers:new Set(["checked","indeterminate","label-align-left","label-align-right","variant-button","variant-default","variant-switch"])},"kol-input-color":{elements:{input:{modifiers:new Set(["color"])}},modifiers:null},"kol-input-date":{modifiers:null},"kol-input-email":{modifiers:null},"kol-input-file":{modifiers:null},"kol-input-number":{elements:{"step-button":{modifiers:null}},modifiers:null},"kol-input-password":{elements:{"password-toggle-button":{modifiers:null}},modifiers:null},"kol-input-radio":{elements:{input:{modifiers:null}},modifiers:new Set(["checked","default","disabled","error","info","required","success","touched","warning"])},"kol-select":{elements:{optgroup:{modifiers:new Set(["disabled"])},option:{modifiers:new Set(["disabled","selected"])}},modifiers:new Set(["default","disabled","error","info","required","success","touched","warning"])},"kol-pagination":{elements:{button:{modifiers:new Set(["first","last","next","numbers","previous","selected"])},entries:{modifiers:null},navigation:{modifiers:null},"navigation-list":{modifiers:null},"page-size-select":{modifiers:null},separator:{modifiers:null}},modifiers:null},"kol-custom-suggestions-option":{modifiers:new Set(["disabled"])},"kol-custom-suggestions-options-group":{modifiers:new Set(["cursor-hidden","open"])},"kol-custom-suggestions-toggle":{modifiers:new Set(["disabled"])},"kol-combobox":{elements:{delete:{modifiers:null},group:{modifiers:null}},modifiers:new Set(["open"])},"kol-combobox-toggle":{modifiers:null},"kol-single-select":{elements:{delete:{modifiers:null},group:{modifiers:null},"no-results-message":{modifiers:null}},modifiers:new Set(["open"])},"kol-input-range":{elements:{input:{modifiers:new Set(["number","range"])},"inputs-wrapper":{modifiers:null}},modifiers:null},"kol-input-text":{elements:{"clear-button":{modifiers:new Set(["hidden"])}},modifiers:null},"kol-split-button":{elements:{button:{modifiers:null},"horizontal-line":{modifiers:null},root:{modifiers:null},"secondary-button":{modifiers:null}},modifiers:null},"kol-spin":{elements:{loader:{modifiers:null},spinner:{modifiers:new Set(["cycle","dot","none"])},"spinner-element":{modifiers:new Set(["1","2","3","neutral"])}},modifiers:null},"kol-table":{elements:{body:{modifiers:null},caption:{modifiers:null},cell:{modifiers:new Set(["actions","align-center","align-justify","align-left","align-right","ascending","body","descending","header","none","other","selection","states","sticky-left","sticky-right"])},"cell-actions":{modifiers:null},"cell-states":{modifiers:null},"focus-element":{modifiers:null},footer:{modifiers:null},head:{modifiers:null},"head-row":{modifiers:null},loader:{modifiers:new Set(["shown"])},row:{modifiers:new Set(["body","footer"])},"scroll-container":{modifiers:null},selection:{modifiers:new Set(["checked","indeterminate"])},"selection-icon":{modifiers:null},"selection-input":{modifiers:new Set(["checkbox","radio"])},"selection-input-tooltip":{modifiers:null},"selection-label":{modifiers:new Set(["disabled"])},settings:{modifiers:null},sort:{modifiers:null},"sort-button":{modifiers:null},"sort-order":{modifiers:null},spacer:{modifiers:new Set(["foot","head"])},"spacer-line":{modifiers:new Set(["foot","head"])},table:{modifiers:null}},modifiers:null},"kol-table-settings":{elements:{actions:{modifiers:null},column:{modifiers:null},"column-label":{modifiers:null},columns:{modifiers:null},content:{modifiers:null},"error-message":{modifiers:null}},modifiers:null},"kol-table-stateful":{elements:{pagination:{modifiers:new Set(["both","bottom","top"])},"pagination-wrapper":{modifiers:null}},modifiers:null},"kol-tabs":{elements:{"button-create":{modifiers:null},"button-group":{modifiers:null},content:{modifiers:null},tab:{modifiers:null},tablist:{modifiers:null}},modifiers:new Set(["align-bottom","align-left","align-right","align-top"])},"kol-textarea":{modifiers:new Set(["default","disabled","error","info","readonly","required","success","touched","warning"])},"kol-toolbar":{elements:{item:{modifiers:null}},modifiers:new Set(["orientation-horizontal","orientation-vertical"])},"kol-tree":{elements:{"treeview-navigation":{modifiers:null}},modifiers:null},"kol-tree-item":{elements:{children:{modifiers:null},link:{modifiers:new Set(["active","first-level"])},"link-inner":{modifiers:null},text:{modifiers:null},"toggle-button":{modifiers:null},"toggle-button-icon":{modifiers:null},"toggle-button-placeholder":{modifiers:null}},modifiers:null},"kol-image":{modifiers:null},"kol-popover":{elements:{arrow:{modifiers:new Set(["top","right","bottom","left"])}},modifiers:null},"kol-progress":{elements:{bar:{modifiers:null},"bar-background":{modifiers:null},"bar-border":{modifiers:null},"bar-label":{modifiers:null},"bar-progress":{modifiers:null},"bar-unit":{modifiers:null},"bar-value":{modifiers:null},cycle:{modifiers:null},"cycle-background":{modifiers:null},"cycle-border":{modifiers:null},"cycle-label":{modifiers:null},"cycle-progress":{modifiers:null},"cycle-text":{modifiers:null},"cycle-value":{modifiers:null},"cycle-whitespace":{modifiers:null}},modifiers:null},"kol-tooltip":{elements:{arrow:{modifiers:null},content:{modifiers:null},floating:{modifiers:null}},modifiers:null}};export{r as B,o as b}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{
|
|
4
|
+
import{n as e,L as o,e as t,t as r,m as a,o as n}from"./prop.validators.js";import{g as s}from"./shared-state.js";import{i as d}from"./i18n2.js";import{a as i}from"./component-names.js";const l=()=>{e.A11yUi=s("themes",(()=>e.A11yUi))},m=s("tag-transformer",(()=>({}))),c=e=>"undefined"!=typeof customElements&&void 0!==customElements.get(r(e)),p=e=>{m.transformer&&o.warn("The tag name transformer was already registered. Components already defined keep their current tag and will not resolve under the new one.",{forceLog:!0}),Object.values(i).some((o=>c(o)||c(e(o))))&&o.warn("Components are already defined while the tag name transformer is registered. They keep their current tag and will not resolve under the transformed one.",{forceLog:!0});const r=o=>o.startsWith("kol-")?e(o):o;return t(r),m.transformer=r,r},u=()=>m.transformer,f=s("bootstrap",(()=>({})));let v=!1;l();const g=async(e,t,r)=>{var s,i;const l="undefined"!=typeof process&&process.env?"production":void 0;a((null==r?void 0:r.environment)||l||"production"),d(null!==(i=null===(s=null==r?void 0:r.translation)||void 0===s?void 0:s.name)&&void 0!==i?i:"de",null==r?void 0:r.translations),(null==r?void 0:r.transformTagName)&&p(r.transformTagName);const m=await n(e,t,r);return v=!0,f.options=r,o.info("Development mode active - Enhanced debugging features available"),m},h=g,y=()=>v,w=()=>f.options;export{p as a,g as b,w as c,u as g,y as i,h as r,l as s}
|
package/dist/components/color.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{
|
|
4
|
+
import{P as o}from"./prop.validators.js";import{c as r}from"./base-web-component.js";import{c as n}from"./contrast.js";const t=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i;function f(o){return t.test(o)}const c=r("color",{backgroundColor:"#d3d3d3",foregroundColor:"#3f3f3f"},(function(r){if("string"==typeof r&&f(r)){const o=n(r);return{backgroundColor:o.background,foregroundColor:o.foreground}}const t="string"==typeof r?o(r):r;if(Array.isArray(t)){const[o,r]=t;if("string"==typeof o&&"string"==typeof r&&f(o)&&f(r)){const t=n({background:o,foreground:r});return{backgroundColor:t.background,foregroundColor:t.foreground}}}if("object"==typeof t&&t){const o=t;if("string"==typeof o.backgroundColor&&"string"==typeof o.foregroundColor&&f(o.backgroundColor)&&f(o.foregroundColor)){const r=n({background:o.backgroundColor,foreground:o.foregroundColor});return{backgroundColor:r.background,foregroundColor:r.foreground}}}throw new Error(`Invalid color ${r}`)}),(function(o){return f(o.foregroundColor)&&f(o.backgroundColor)}));export{c}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
|
|
4
|
+
import"./prop.validators.js";const o="kol-form",l="kol-toast-container",a="kol-tree-item",t="kol-tree";var e=Object.freeze({__proto__:null,KolAbbrTag:"kol-abbr",KolAccordionTag:"kol-accordion",KolAlertTag:"kol-alert",KolAvatarTag:"kol-avatar",KolBadgeTag:"kol-badge",KolBreadcrumbTag:"kol-breadcrumb",KolButtonLinkTag:"kol-button-link",KolButtonTag:"kol-button",KolCardTag:"kol-card",KolComboboxTag:"kol-combobox",KolDetailsTag:"kol-details",KolDialogTag:"kol-dialog",KolDrawerTag:"kol-drawer",KolFormTag:o,KolHeadingTag:"kol-heading",KolIconTag:"kol-icon",KolImageTag:"kol-image",KolInputCheckboxTag:"kol-input-checkbox",KolInputColorTag:"kol-input-color",KolInputDateTag:"kol-input-date",KolInputEmailTag:"kol-input-email",KolInputFileTag:"kol-input-file",KolInputNumberTag:"kol-input-number",KolInputPasswordTag:"kol-input-password",KolInputRadioTag:"kol-input-radio",KolInputRangeTag:"kol-input-range",KolInputTag:"kol-input",KolInputTextTag:"kol-input-text",KolKolibriTag:"kol-kolibri",KolLinkButtonTag:"kol-link-button",KolLinkTag:"kol-link",KolMeterTag:"kol-meter",KolModalTag:"kol-modal",KolNavTag:"kol-nav",KolPaginationTag:"kol-pagination",KolPopoverButtonTag:"kol-popover-button",KolProgressTag:"kol-progress",KolQuoteTag:"kol-quote",KolSelectTag:"kol-select",KolSingleSelectTag:"kol-single-select",KolSkipNavTag:"kol-skip-nav",KolSpinTag:"kol-spin",KolSplitButtonTag:"kol-split-button",KolTableStatefulTag:"kol-table-stateful",KolTableStatelessTag:"kol-table-stateless",KolTabsTag:"kol-tabs",KolTextareaTag:"kol-textarea",KolToastContainerTag:l,KolToolbarTag:"kol-toolbar",KolTreeItemTag:a,KolTreeTag:t,KolVersionTag:"kol-version"});export{l as K,e as a,o as b,a as c,t as d}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{
|
|
4
|
+
import{h as o,F as l}from"./prop.validators.js";import{a as e}from"./tslib.es6.js";import{g as a}from"./Heading.js";import{t as s}from"./i18n.js";import{f as r,t as i,B as n}from"./base-web-component.js";import{b as t}from"./bem-registry.js";import{B as c}from"./component9.js";import{r as d}from"./component5.js";import{I as p}from"./component3.js";const m=t.forBlock("kol-alert")("icon"),f={error:{label:s("kol-error"),icon:"kolicon-alert-error"},info:{label:s("kol-info"),icon:"kolicon-alert-info"},warning:{label:s("kol-warning"),icon:"kolicon-alert-warning"},success:{label:s("kol-success"),icon:"kolicon-alert-success"},default:{label:s("kol-message"),icon:"kolicon-alert-info"}},b=({type:e="default"})=>{const a=f[e||"default"];return o(l,null,o("span",{class:"visually-hidden"},a.label),o(p,{class:m,label:"",icons:a.icon}))},k=t.forBlock("kol-alert"),u=k("closer"),h=k("content"),v=t.forBlock("kol-close-button")(),C=void 0,g=(l,t)=>{const{alert:p,class:m,closerAriaDescriptionId:f,handleCloserClick:g,hasCloser:y,headingId:j,label:I,level:B,refCloserButton:w,refCloserTooltip:D,type:A,variant:$}=l,x=e(l,["alert","class","closerAriaDescriptionId","handleCloserClick","hasCloser","headingId","label","level","refCloserButton","refCloserTooltip","type","variant"]),T=s("kol-close-alert"),F=a(null!=B?B:0);return o(n,Object.assign({block:"kol-alert",class:m,modifiers:{hasCloser:!0===y,[`type-${A}`]:!0,[`variant-${$}`]:!0},role:p?"alert":void 0},x),o(b,{type:A}),!!(null==I?void 0:I.length)&&o(F,{class:r("kol-headline",`kol-headline--${F}`,k("heading",{[`h${B}`]:!0}),"kol-headline--single"),id:j},d(I)),y&&o(c,{accessKey:"",ariaControls:"",ariaDescription:i(I),ariaDescriptionId:f,ariaExpanded:C,ariaHasPopup:"",ariaSelected:C,class:r(u,v),customClass:"",disabled:!1,handleBlur:()=>{},handleClick:g,handleFocus:()=>{},handleMouseDown:()=>{},hideLabel:!0,icons:{left:{icon:"kolicon-cross"}},id:"",inline:!1,label:T,name:"",on:{},refButton:w,refTooltip:D,role:C,shortKey:"",tabIndex:C,tooltipAlign:"top",type:"button",variant:["normal"]}),o("div",{"aria-describedby":(null==I?void 0:I.length)?j:void 0,class:h},t))};export{g as A}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{a}from"./tslib.es6.js";import{h as e}from"@stencil/core/internal/client";import{b as o}from"./bem-registry.js";import{c as s,i,w as t,a as r,b as n,r as l,t as d}from"./props-from-config.js";import{a as c,b as p,c as m,f as b,g as u,h as f,i as h,l as v,d as x,s as y,t as j,e as g,v as w,k,T as I,A as B}from"./component3.js";import{c as C}from"./clsx.js";import{B as D}from"./component.js";import{S as K}from"./component7.js";import{d as S}from"./disabled.js";import{i as T}from"./id.js";import{l as E}from"./label-with-expert-slot.js";import{n as F}from"./name.js";const H=["dialog","false","grid","listbox","menu","tree","true"],L=s("ariaHasPopup","",(function(a){if(""===a)return"";if(i(a,H))return a;throw new Error(`Invalid aria-haspopup value: expected one of ${H.join(", ")}, got ${JSON.stringify(a)}`)})),M=s("ariaSelected","",(function(a){return t(a,"aria-selected")})),P=r(),$=["button","reset","submit"],A=s("type","button",(function(a){const e=n(a);if(i(e,$))return e;throw new Error(`Invalid button type: ${e}`)}),(a=>$.includes(a))),O={required:[E],optional:[c,p,m,b,L,M,P,A,u,S,f,T,h,v,F,x,y,j,g,w]},q=o.forBlock("kol-button"),J=q("interactive-element"),N=q("text"),z=q("tooltip"),G=o=>{const s=l(O,o),{accessKey:i,ariaControls:t,ariaDescription:r,ariaDescriptionId:n,ariaExpanded:c,ariaHasPopup:p,ariaSelected:m,class:b,customClass:u,disabled:f,handleBlur:h,handleClick:v,handleFocus:x,handleMouseDown:y,hideLabel:j,icons:g,id:w,inline:S,label:T,name:E,refButton:F,refTooltip:H,role:L,shortKey:M,tabIndex:P,type:$,variant:A}=s,q=a(s,["accessKey","ariaControls","ariaDescription","ariaDescriptionId","ariaExpanded","ariaHasPopup","ariaSelected","class","customClass","disabled","handleBlur","handleClick","handleFocus","handleMouseDown","hideLabel","icons","id","inline","label","name","refButton","refTooltip","role","shortKey","tabIndex","type","variant","on","tooltipAlign"]),G=i||M,Q=d(T).length>0,R=r.trim().length>0;return e(D,Object.assign({block:"kol-button",class:C(b,{[k(A,"button")]:A.length>0,[u]:u.length>0}),modifiers:{disabled:f,"hide-label":j,inline:!0===S,standalone:!1===S}},q),e("button",{ref:F,accessKey:i||void 0,"aria-controls":t||void 0,"aria-describedby":R?n:void 0,"aria-expanded":c||void 0,"aria-haspopup":p||void 0,"aria-keyshortcuts":M||void 0,"aria-label":j&&Q?d(T):void 0,"aria-selected":m||void 0,class:J,disabled:f,id:w||void 0,name:E||void 0,onBlur:h,onClick:v,onFocus:x,onMouseDown:y,role:L||void 0,tabIndex:P,type:$},e(K,{class:N,badgeText:G,icons:g,hideLabel:j,label:T},e("slot",{name:"expert",slot:"expert"}))),j&&Q&&e("div",{class:z},e(I,{badgeText:G,label:T,refFloating:H})),R&&e(B,{description:r,descriptionId:n}))};export{G as B,M as a,O as b,P as c,A as d,L as e}
|
|
4
|
+
import{h as e,p as t,H as o,t as i}from"./prop.validators.js";import{a as l,_ as n}from"./tslib.es6.js";import{i as a,g as r,f as s,B as c,F as h}from"./base-web-component2.js";import{b as d}from"./bem-registry.js";import{c as k,n as b,d as f,f as m,B as u}from"./base-web-component.js";import{I as p}from"./component3.js";import{I as _}from"./input.js";import{F as g}from"./field-control.js";import{a as w,d as y}from"./component6.js";import{r as v}from"./required.js";import{v as x}from"./access-and-short-key.js";import{c as z}from"./dev.utils.js";import{c as j,d as A,a as T}from"./element-interaction.js";import{s as K}from"./controller.js";const B=["button","default","switch"],q=k("value",!0,(e=>e)),I=k("checked",!1,b),L=["checked","indeterminate","unchecked"],V=k("icons",{checked:"kolicon-check",indeterminate:"kolicon-minus",unchecked:"kolicon-cross"},(e=>{if("object"==typeof e&&null!==e&&L.some((t=>(e=>"string"==typeof e&&e.length>0)(e[t]))))return e;throw new Error("Expected an object with at least one icon class of checked, indeterminate or unchecked")})),P=k("indeterminate",!1,b),D=["left","right"],H=k("labelAlign","right",(e=>{const t=f(e);if(D.includes(t))return t;throw new Error(`Invalid label alignment: ${t}`)})),S=k("variant","default",(e=>{const t=f(e);if(B.includes(t))return t;throw new Error(`Invalid checkbox variant: ${t}`)})),C=d.forBlock("kol-checkbox"),M=t=>{var{class:o,variant:i="default",icon:n,inputProps:s}=t,c=l(t,["class","variant","icon","inputProps"]);const{class:h}=s,d=l(s,["class"]);return e(u,Object.assign({component:"label",block:"kol-checkbox",modifiers:Object.assign({"variant-button":"button"===i,"variant-default":"default"===i,"variant-switch":"switch"===i,checked:Boolean(s.checked),indeterminate:Boolean(s.indeterminate),disabled:Boolean(s.disabled),required:Boolean(s.required),touched:Boolean(s.touched)},a(s.msg,s.touched)?{[r(s.msg)]:!0}:{}),class:o},c),e(p,{label:"",icons:n,class:C("icon")}),e(_,Object.assign({class:m(C("input"),h)},d,{type:"checkbox"})))},O={required:[...s.required],optional:[...s.optional,w,q,I,V,P,H,v,y,S]},E=d.forBlock("kol-input-checkbox"),F=t(class extends c{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=z("input-checkbox"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=j(),this.propsConfig=O,this._accessKey=void 0,this._ariaDetails=void 0,this._checked=!1,this._disabled=!1,this._hideLabel=!1,this._hideMsg=!1,this._hint="",this._icons=void 0,this._indeterminate=void 0,this._infoPopover=void 0,this._labelAlign="right",this._msg=void 0,this._name=void 0,this._on=void 0,this._required=!1,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._touched=!1,this._value=!0,this._variant="default",this.handleCheckboxInput=e=>{this._checked=!this._checked,this._indeterminate=!1,this.handleInput(e,this.getModelValue())},this.handleCheckboxChange=e=>{this.handleChange(e,this.getModelValue())},this.handleCheckboxKeyDown=e=>{this.handleKeyDown(e),K(e,{form:this.host,ref:this.ctaRef.el})},this.handleCheckboxBlur=e=>{this._disabled||this.handleBlur(e)},this.handleLabelMouseDown=e=>{this.inputHasFocus&&e.preventDefault()},this.handleCheckboxMouseDown=e=>{!this.inputHasFocus||e.target instanceof HTMLInputElement||e.preventDefault()},this.initFormAssociation("checkbox",this._name)}watchAccessKey(e){w.apply(e,(e=>this.setRenderProp("accessKey",e))),x(e,this._shortKey)}watchAriaDetails(e){this.applyAriaDetails(e)}watchChecked(e){I.apply(e,(e=>this.setRenderProp("checked",e))),this.syncFormAssociatedValue()}watchDisabled(e){this.applyDisabled(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHint(e){this.applyHint(e)}watchIcons(e){V.apply(e,(e=>this.setRenderProp("icons",Object.assign(Object.assign({},this.getRenderProp("icons")),e))))}watchIndeterminate(e){P.apply(e,(e=>this.setRenderProp("indeterminate",e)))}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchLabelAlign(e){H.apply(e,(e=>this.setRenderProp("labelAlign",e)))}watchMsg(e){this.applyMsg(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchRequired(e){v.apply(e,(e=>this.setRenderProp("required",e)))}watchShortKey(e){y.apply(e,(e=>this.setRenderProp("shortKey",e))),x(this._accessKey,e)}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){null==e?this.setRenderProp("value",e):q.apply(e,(e=>this.setRenderProp("value",e))),this.syncFormAssociatedValue()}watchVariant(e){S.apply(e,(e=>this.setRenderProp("variant",e)))}getValue(){return Promise.resolve(this.getModelValue())}focus(e){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this._touched=!0===this._touched,this.watchAccessKey(this._accessKey),this.watchAriaDetails(this._ariaDetails),this.watchChecked(this._checked),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchHideMsg(this._hideMsg),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchIndeterminate(this._indeterminate),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchLabelAlign(this._labelAlign),this.watchMsg(this._msg),this.watchName(this._name),this.watchOn(this._on),this.watchRequired(this._required),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchTouched(this._touched),this.watchValue(this._value),this.watchVariant(this._variant)}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}getModelValue(){return this._checked?this.getRenderProp("value"):null}syncFormAssociatedValue(){this.formAssociation.setFormAssociatedValue(this.getModelValue())}getIcon(){const e=this.getRenderProp("icons");return this.getRenderProp("indeterminate")?e.indeterminate:this.getRenderProp("checked")?e.checked:e.unchecked}getInputProps(){const e=this.getRenderProp("shortKey"),{ariaDescribedBy:t,hasError:o}=this.getAria();return Object.assign(Object.assign({id:this.id,hideLabel:this.getRenderProp("hideLabel"),label:this.getRenderProp("label"),value:this.getRenderProp("value"),accessKey:this.getRenderProp("accessKey")||void 0,disabled:this.getRenderProp("disabled"),name:null==this._name?void 0:this.getRenderProp("name"),ariaDescribedBy:t,required:this.getRenderProp("required"),checked:this.getRenderProp("checked"),indeterminate:this.getRenderProp("indeterminate"),touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")},e?{"aria-keyshortcuts":e}:{}),{class:m({"visually-hidden":"button"===this.getRenderProp("variant")}),ref:this.ctaRef,onBlur:this.handleCheckboxBlur,onChange:this.handleCheckboxChange,onFocus:this.handleFocus,onInput:this.handleCheckboxInput,onKeyDown:this.handleCheckboxKeyDown,"aria-invalid":o?"true":void 0})}render(){const t=this.getRenderProp("checked"),i=this.getRenderProp("indeterminate"),l=this.getRenderProp("variant"),n=this.getRenderProp("accessKey")||void 0,a=this.getRenderProp("shortKey")||void 0,r=this.getRenderProp("required");return e(o,{key:"8be2935826092ab2d8d0d5ba147a20c6c1e85e7b"},e(h,Object.assign({key:"7e2565420223800ff51290462a973c226088d8cc"},this.getFormFieldProps({class:E({checked:t,indeterminate:i,[`variant-${l}`]:!0,[`label-align-${this.getRenderProp("labelAlign")}`]:!0}),accessKey:n,shortKey:a,required:r,renderNoLabel:!0,renderNoTooltip:!0})),e(g,Object.assign({key:"02076338fff19fe0f4a5fd281ef67e7c07530059",class:E("field-control",{checked:t,indeterminate:i,[`variant-${l}`]:!0}),id:this.id,label:this.getRenderProp("label"),hint:this.getRenderProp("hint"),hideLabel:this.getRenderProp("hideLabel"),labelAlign:this.getRenderProp("labelAlign"),infoPopover:this.getInfoPopover(),accessKey:n,shortKey:a,tooltipAlign:this.getRenderProp("tooltipAlign"),disabled:this.getRenderProp("disabled"),msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),required:r,renderNoHint:!0,labelProps:{onMouseDown:this.handleLabelMouseDown}},this.getLabelTooltipRefs()),e(M,{key:"1ea5fb708e39e38bf80ce06a83e04269afb13ef3",variant:l,icon:this.getIcon(),onMouseDown:this.handleCheckboxMouseDown,inputProps:this.getInputProps()}))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_checked:[{watchChecked:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_indeterminate:[{watchIndeterminate:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_labelAlign:[{watchLabelAlign:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: ""; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-field-control { display: grid; min-height: var(--a11y-min-size); align-items: center; justify-content: left; grid-template-areas: "input label"; grid-template-columns: auto 1fr; grid-template-rows: auto; } .kol-field-control:has(.kol-field-control__hint) { grid-template-areas: "input label" "hint hint"; grid-template-columns: auto 1fr; grid-template-rows: auto auto; } .kol-field-control--label-align-left:not(.kol-field-control--hide-label) { grid-template-areas: "label input"; grid-template-columns: 1fr auto; grid-template-rows: auto; } .kol-field-control--label-align-left:not(.kol-field-control--hide-label):has(.kol-field-control__hint) { grid-template-areas: "label input" "hint hint"; grid-template-columns: 1fr auto; grid-template-rows: auto auto; } .kol-field-control__input { display: flex; min-height: var(--a11y-min-size); align-items: center; grid-area: input; } .kol-field-control__label { display: flex; min-height: var(--a11y-min-size); flex-grow: 1; align-items: center; cursor: pointer; grid-area: label; } .kol-field-control__label--visually-hidden { display: none; height: 0; margin: 0; padding: 0; visibility: hidden; } .kol-field-control__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-field-control__hint { grid-area: hint; } .kol-field-control--disabled .kol-field-control__label { cursor: not-allowed; } .kol-field-control--required .kol-field-control__label-text:has(.kol-span__slot[hidden])::after, .kol-field-control--required .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-form-field { display: grid; } .kol-form-field__label-text { display: ruby; } .kol-checkbox { display: flex; position: relative; align-items: center; cursor: pointer; } .kol-checkbox--disabled { cursor: not-allowed; } .kol-checkbox .kol-input { background-color: white; border-style: solid; margin: 0; border-width: 2px; appearance: none; cursor: inherit; } .kol-checkbox .kol-input:before { content: ""; } .kol-checkbox--variant-default { position: relative; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); justify-content: center; } .kol-checkbox--variant-default .kol-icon { display: none; position: absolute; inset: auto; z-index: 1; pointer-events: none; } .kol-checkbox--variant-default .kol-input { width: calc(22 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(22 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-checkbox--variant-default.kol-checkbox--checked .kol-icon, .kol-checkbox--variant-default.kol-checkbox--indeterminate .kol-icon { display: block; } .kol-checkbox--variant-switch { position: relative; } .kol-checkbox--variant-switch .kol-input { display: inline-block; position: relative; width: 3.2em; min-width: 3.2em; height: 1.7em; } .kol-checkbox--variant-switch .kol-input::before { background-color: black; position: absolute; top: calc(0.25em - 2 * 1rem / var(--kolibri-root-font-size, 16)); left: calc(0.25em - 2 * 1rem / var(--kolibri-root-font-size, 16)); width: 1.2em; height: 1.2em; transition: 0.5s; } .kol-checkbox--variant-switch .kol-input:checked::before { transform: translateX(1.5em); } .kol-checkbox--variant-switch .kol-input:indeterminate::before { transform: translateX(0.75em); } .kol-checkbox--variant-switch .kol-icon { transform: translate(0, -50%); color: black; display: flex; position: absolute; top: 50%; left: calc(4 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; width: 1.2em; height: 1.2em; align-items: center; justify-content: center; transition: 0.5s; } .kol-checkbox--variant-switch.kol-checkbox--checked .kol-icon { transform: translate(1.5em, -50%); } .kol-checkbox--variant-switch.kol-checkbox--indeterminate .kol-icon { transform: translate(0.75em, -50%); } .kol-checkbox--variant-button { min-width: var(--a11y-min-size); } .kol-checkbox--variant-button .kol-icon { display: flex; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; } }'}}},[545,"kol-input-checkbox",{_accessKey:[1,"_access-key"],_ariaDetails:[1,"_aria-details"],_checked:[1540],_disabled:[4],_hideLabel:[4,"_hide-label"],_hideMsg:[4,"_hide-msg"],_hint:[1],_icons:[1],_indeterminate:[1540],_infoPopover:[16],_label:[1],_labelAlign:[1,"_label-align"],_msg:[1],_name:[1],_on:[16],_required:[4],_shortKey:[1,"_short-key"],_syncValueBySelector:[1,"_sync-value-by-selector"],_tooltipAlign:[1,"_tooltip-align"],_touched:[1540],_value:[8],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_checked:[{watchChecked:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_indeterminate:[{watchIndeterminate:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_labelAlign:[{watchLabelAlign:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);function G(){"undefined"!=typeof customElements&&["kol-input-checkbox"].forEach((e=>{"kol-input-checkbox"===e&&(customElements.get(i(e))||customElements.define(i(e),F))}))}n([A("ctaRef")],F.prototype,"focus",null),n([T("ctaRef")],F.prototype,"click",null);export{F as K,G as d}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as s,Fragment as n}from"@stencil/core/internal/client";import{t as a}from"./i18n.js";import{b as r}from"./bem-registry.js";import{B as o}from"./component.js";import{c as e,n as t,b as l,r as i}from"./props-from-config.js";import{l as c}from"./label.js";const p=e("show",!1,t),m=["dot","cycle","none"],u=e("variant","dot",(s=>{const n=l(s);if(m.includes(n))return n;throw new Error(`Invalid spin variant: ${n}`)}),(()=>!0)),f={optional:[c,p,u]},d=r.forBlock("kol-spin"),b=d("loader"),v=["1","2","3","neutral"],y=r=>{const{show:e,label:t,variant:l}=i(f,r);return s(o,{block:"kol-spin"},e?s(n,null,s("span",{class:d("spinner",{[l]:!0})},function(n){switch(n){case"cycle":return s("span",{class:b});case"none":return s("slot",{name:"expert"});default:return v.map((n=>s("span",{class:d("spinner-element",{[n]:!0})})))}}(l)),s("span",{"aria-busy":"true",class:"visually-hidden",role:"alert"},t||a("kol-action-running"))):s("span",{"aria-busy":"false",class:"visually-hidden",role:"alert"},t||a("kol-action-done")))};export{y as S,p as a,f as s,u as v}
|
|
4
|
+
import{p as t,X as e,h as o,H as i,t as n}from"./prop.validators.js";import{_ as a}from"./tslib.es6.js";import{h as l,g as s,I as r}from"./input-container.js";import{f as c,B as h,F as d}from"./base-web-component2.js";import{I as u}from"./input.js";import{i as m,a as p,b as k,g as b,r as f,p as _}from"./number-value.js";import{a as g,S as y}from"./suggestions2.js";import{I as w}from"./component3.js";import{a as v,d as x,v as j}from"./component6.js";import{f as B}from"./base-web-component.js";import{p as z}from"./placeholder.js";import{r as S}from"./read-only.js";import{r as T}from"./required.js";import{s as K}from"./smart-button.js";import{s as O}from"./step.js";import{s as A}from"./suggestions.js";import{b as C}from"./bem-registry.js";import{v as V}from"./access-and-short-key.js";import{c as q}from"./dev.utils.js";import{c as I,d as M,a as P}from"./element-interaction.js";import{s as D}from"./controller.js";const H={required:[...c.required],optional:[...c.optional,v,g,l,m,p,k,z,S,T,x,K,O,A,j]},L=C.forBlock("kol-input-number"),R=L("step-button"),G=t=>{var e;return!0===(null===(e=null==t?void 0:t.classList)||void 0===e?void 0:e.contains(R))},F=t(class extends h{constructor(t){super(!1),!1!==t&&this.__registerHost(),this.__attachShadow(),this.id=q("input-number"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=I(),this.valueType="null",this.hasValue=!1,this.propsConfig=H,this._accessKey=void 0,this._ariaDetails=void 0,this._autoComplete="off",this._disabled=!1,this._hideLabel=!1,this._hideMsg=!1,this._hint="",this._icons=void 0,this._infoPopover=void 0,this._max=void 0,this._min=void 0,this._msg=void 0,this._name=void 0,this._on=void 0,this._placeholder=void 0,this._readOnly=!1,this._required=!1,this._shortKey=void 0,this._smartButton=void 0,this._step=void 0,this._suggestions=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._touched=!1,this._value=void 0,this._variant=void 0,this.handleNumberInput=t=>{this._value=this.readInputValue(),this.handleInput(t,this._value)},this.handleNumberChange=t=>{const e=this.readInputValue();this.handleChange(t,e),this.hasValue=Boolean(e)},this.handleNumberFocus=t=>{G(t.relatedTarget)||this.handleFocus(t)},this.handleNumberBlur=t=>{G(t.relatedTarget)||this.handleBlur(t)},this.handleNumberKeyDown=t=>{this.handleKeyDown(t),D(t,{form:this.host,ref:this.ctaRef.el})},this.handleStepDown=t=>{this.step(t,"down")},this.handleStepUp=t=>{this.step(t,"up")},this.initFormAssociation("number",this._name)}watchAccessKey(t){v.apply(t,(t=>this.setRenderProp("accessKey",t))),V(t,this._shortKey)}watchAriaDetails(t){this.applyAriaDetails(t)}watchAutoComplete(t){g.apply(t,(t=>this.setRenderProp("autoComplete",t)))}watchDisabled(t){this.applyDisabled(t)}watchHideLabel(t){this.applyHideLabel(t)}watchHideMsg(t){this.applyHideMsg(t)}watchHint(t){this.applyHint(t)}watchIcons(t){l.apply(t,(t=>this.setRenderProp("icons",t)))}watchInfoPopover(t){this.applyInfoPopover(t)}watchLabel(t){this.applyLabel(t)}watchMax(t){m.apply(t,(t=>this.setRenderProp("max",t)))}watchMin(t){p.apply(t,(t=>this.setRenderProp("min",t)))}watchMsg(t){this.applyMsg(t)}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchPlaceholder(t){z.apply(t,(t=>this.setRenderProp("placeholder",t)))}watchReadOnly(t){S.apply(t,(t=>this.setRenderProp("readOnly",t)))}watchRequired(t){T.apply(t,(t=>this.setRenderProp("required",t)))}watchShortKey(t){x.apply(t,(t=>this.setRenderProp("shortKey",t))),V(this._accessKey,t)}watchSmartButton(t){null==t?this.unsetRenderProp("smartButton"):K.apply(t,(t=>this.setRenderProp("smartButton",t)))}watchStep(t){O.apply(t,(t=>this.setRenderProp("step",t)))}watchSuggestions(t){A.apply(t,(t=>this.setRenderProp("suggestions",t)))}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchTouched(t){this.applyTouched(t)}watchValue(t){var e;k.apply(t,(t=>this.setRenderProp("value",t))),this.formAssociation.setFormAssociatedValue(null!==(e=this.getRenderProp("value"))&&void 0!==e?e:null),null!=t&&(this.valueType=b(t))}watchVariant(t){j.apply(t,(t=>this.setRenderProp("variant",t)))}getValue(){return Promise.resolve(this.remapValue(this.getRenderProp("value")))}focus(t){return Promise.resolve()}async click(){return Promise.resolve()}componentWillLoad(){this.unsetRenderProp("smartButton"),this._touched=!0===this._touched,this.watchAccessKey(this._accessKey),this.watchAriaDetails(this._ariaDetails),this.watchAutoComplete(this._autoComplete),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchHideMsg(this._hideMsg),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchMax(this._max),this.watchMin(this._min),this.watchMsg(this._msg),this.watchName(this._name),this.watchOn(this._on),this.watchPlaceholder(this._placeholder),this.watchReadOnly(this._readOnly),this.watchRequired(this._required),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchStep(this._step),this.watchSuggestions(this._suggestions),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchTouched(this._touched),this.watchValue(this._value),this.watchVariant(this._variant),this.hasValue=Boolean(this.getRenderProp("value"))}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}remapValue(t){return f(t,this.valueType)}readInputValue(){var t;return this.remapValue(_(null===(t=this.ctaRef.el)||void 0===t?void 0:t.value))}step(t,e){var o,i,n;"up"===e?null===(o=this.ctaRef.el)||void 0===o||o.stepUp():null===(i=this.ctaRef.el)||void 0===i||i.stepDown(),this._value=this.readInputValue(),this.handleInput(t,this._value),this.handleChange(t,this._value),this.hasValue=Boolean(this._value),null===(n=this.ctaRef.el)||void 0===n||n.focus()}renderStepButton(t){return this._disabled||this._readOnly||"hide"===e("inputNumberButtons",this.host)?null:o("button",{type:"button","aria-hidden":"true",tabIndex:-1,class:`${R} ${R}-${t} kol-input-container__smart-button`,onClick:"up"===t?this.handleStepUp:this.handleStepDown,disabled:this._disabled||this._readOnly},o(w,{icons:"up"===t?"kolicon-plus":"kolicon-minus",label:""}))}getInputProps(){var t,e,i,n;const a=this.id,l=this.getRenderProp("accessKey"),s=this.getRenderProp("placeholder"),r=this.getRenderProp("shortKey"),c=this.getRenderProp("suggestions"),{ariaDescribedBy:h,hasError:d}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:a,hideLabel:this.getRenderProp("hideLabel"),label:this.getRenderProp("label"),disabled:this.getRenderProp("disabled"),name:this.getRenderProp("name")||void 0},l?{accessKey:l}:{}),{value:null!==(t=this.getRenderProp("value"))&&void 0!==t?t:null,required:this.getRenderProp("required")}),void 0!==s?{placeholder:s}:{}),{autoComplete:this.getRenderProp("autoComplete"),readonly:this.getRenderProp("readOnly"),min:null!==(e=this.getRenderProp("min"))&&void 0!==e?e:null,max:null!==(i=this.getRenderProp("max"))&&void 0!==i?i:null,step:null!==(n=this.getRenderProp("step"))&&void 0!==n?n:null,touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")}),r?{"aria-keyshortcuts":r}:{}),c.length>0?{suggestions:o(y,{id:a,suggestions:c})}:{}),{ref:this.ctaRef,type:"number",onBlur:this.handleNumberBlur,onChange:this.handleNumberChange,onClick:this.handleClick,onFocus:this.handleNumberFocus,onInput:this.handleNumberInput,onKeyDown:this.handleNumberKeyDown,ariaDescribedBy:h,"aria-invalid":d?"true":void 0})}render(){const t=this.getRenderProp("disabled"),{startAdornment:e,endAdornment:n}=s({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),t),startAdornment:this.renderStepButton("down"),endAdornment:this.renderStepButton("up")});return o(i,{key:"689dc63dc93d7b56ada8e0ee46b73486b6f9eef7"},o(d,Object.assign({key:"459f33bba406670ce669e344bcc841d24f6dc44d"},this.getFormFieldProps({class:B(L(),"number",{"has-value":this.hasValue}),accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,variant:this.getRenderProp("variant"),required:this.getRenderProp("required"),readOnly:this.getRenderProp("readOnly")})),o(r,{key:"505059c2ebf483115497b1b304a58669be470b84",disabled:t,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:e,endAdornment:n},o(u,Object.assign({key:"ac7a39324e3f05b62800f236c58f222ed0cac1c1"},this.getInputProps())))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_step:[{watchStep:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: ""; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-input-number input { appearance: textfield; text-align: right; } .kol-input-number input::-webkit-inner-spin-button { display: none; } }'}}},[545,"kol-input-number",{_accessKey:[1,"_access-key"],_ariaDetails:[1,"_aria-details"],_autoComplete:[1,"_auto-complete"],_disabled:[4],_hideLabel:[4,"_hide-label"],_hideMsg:[4,"_hide-msg"],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_max:[8],_min:[8],_msg:[1],_name:[1],_on:[16],_placeholder:[1],_readOnly:[4,"_read-only"],_required:[4],_shortKey:[1,"_short-key"],_smartButton:[1,"_smart-button"],_step:[8],_suggestions:[1],_syncValueBySelector:[1,"_sync-value-by-selector"],_tooltipAlign:[1,"_tooltip-align"],_touched:[1540],_value:[1544],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64],click:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_placeholder:[{watchPlaceholder:0}],_readOnly:[{watchReadOnly:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_smartButton:[{watchSmartButton:0}],_step:[{watchStep:0}],_suggestions:[{watchSuggestions:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);function E(){"undefined"!=typeof customElements&&["kol-input-number"].forEach((t=>{"kol-input-number"===t&&(customElements.get(n(t))||customElements.define(n(t),F))}))}a([M("ctaRef")],F.prototype,"focus",null),a([P("ctaRef")],F.prototype,"click",null);export{F as K,E as d}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{p as e,h as o,H as t,t as i}from"./prop.validators.js";import{_ as a}from"./tslib.es6.js";import{v as n}from"./access-and-short-key.js";import{c as l}from"./dev.utils.js";import{d as r}from"./element-interaction.js";import{B as s}from"./base3.js";const c=e(class extends s{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaCurrent="",this.ariaDescriptionId=l("aria-description"),this.expertSlot=!1,this._accessKey=void 0,this._ariaControls=void 0,this._ariaCurrentValue=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._disabled=!1,this._download=void 0,this._hideLabel=!1,this._icons=void 0,this._inline=!0,this._label=void 0,this._on=void 0,this._shortKey=void 0,this._target=void 0,this._tooltipAlign="right",this._variant=void 0}watchAccessKey(e){this.applyAccessKey(e)}watchAriaControls(e){this.applyAriaControls(e)}watchAriaCurrentValue(e){this.applyAriaCurrentValue(e)}watchAriaDescription(e){this.applyAriaDescription(e)}watchAriaExpanded(e){this.applyAriaExpanded(e)}watchDisabled(e){this.applyDisabled(e)}watchDownload(e){this.applyDownload(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHref(e){this.applyHref(e)}watchIcons(e){this.applyIcons(e)}watchInline(e){this.applyInline(e)}watchLabel(e){this.applyLabel(e)}watchOn(e){this.applyOn(e)}watchShortKey(e){this.applyShortKey(e)}watchTarget(e){this.applyTarget(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchVariant(e){this.applyVariant(e)}focus(e){return Promise.resolve()}componentWillLoad(){this.unsetLinkTabIndex(),this.watchAccessKey(this._accessKey),this.watchAriaControls(this._ariaControls),this.watchAriaCurrentValue(this._ariaCurrentValue),this.watchAriaDescription(this._ariaDescription),this.watchAriaExpanded(this._ariaExpanded),this.watchDisabled(this._disabled),this.watchDownload(this._download),this.watchHideLabel(this._hideLabel),this.watchHref(this._href),this.watchIcons(this._icons),this.watchInline(this._inline),this.watchLabel(this._label),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchTarget(this._target),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),n(this._accessKey,this._shortKey),this.initLinkBehaviors()}componentDidRender(){this.syncTooltipListeners()}disconnectedCallback(){this.destroyLinkBehaviors()}render(){return o(t,{key:"4d94db04f7f945025819c95aed8feb2b73911a73"},this.renderLinkFC())}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaCurrentValue:[{watchAriaCurrentValue:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_disabled:[{watchDisabled:0}],_download:[{watchDownload:0}],_hideLabel:[{watchHideLabel:0}],_href:[{watchHref:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_on:[{watchOn:0}],_shortKey:[{watchShortKey:0}],_target:[{watchTarget:0}],_tooltipAlign:[{watchTooltipAlign:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-link { display: inline-flex; max-width: fit-content; } .kol-link--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-link--standalone .kol-link__interactive-element { align-items: stretch; } .kol-link--standalone .kol-link__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-link__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-link__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-link__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-link .kol-span__label { text-decoration-line: underline; } .kol-link__icon { display: inline-flex; } }'}}},[545,"kol-link",{_accessKey:[1,"_access-key"],_ariaControls:[1,"_aria-controls"],_ariaCurrentValue:[1,"_aria-current-value"],_ariaDescription:[1,"_aria-description"],_ariaExpanded:[4,"_aria-expanded"],_disabled:[4],_download:[1],_hideLabel:[4,"_hide-label"],_href:[1],_icons:[1],_inline:[4],_label:[1],_on:[16],_shortKey:[1,"_short-key"],_target:[1],_tooltipAlign:[1,"_tooltip-align"],_variant:[1],ariaCurrent:[32],ariaDescriptionId:[32],expertSlot:[32],focus:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaCurrentValue:[{watchAriaCurrentValue:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_disabled:[{watchDisabled:0}],_download:[{watchDownload:0}],_hideLabel:[{watchHideLabel:0}],_href:[{watchHref:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_on:[{watchOn:0}],_shortKey:[{watchShortKey:0}],_target:[{watchTarget:0}],_tooltipAlign:[{watchTooltipAlign:0}],_variant:[{watchVariant:0}]}]);function d(){"undefined"!=typeof customElements&&["kol-link"].forEach((e=>{"kol-link"===e&&(customElements.get(i(e))||customElements.define(i(e),c))}))}a([r("ctaRef")],c.prototype,"focus",null);export{c as K,d}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{h as o}from"./prop.validators.js";import{b as r}from"./bem-registry.js";import{B as l}from"./base-web-component.js";import{B as s}from"./component9.js";import{S as a}from"./component5.js";const t=r.forBlock("kol-badge"),e=t("label"),n=t("smart-button"),i=({color:r,icons:t,label:i,smartButton:m})=>o(l,{block:"kol-badge",modifiers:{"has-smart-button":void 0!==m},style:{backgroundColor:r.backgroundColor,color:r.foregroundColor}},o(a,{class:e,id:null==m?void 0:m.labelId,allowMarkdown:!0,icons:t,label:i}),m&&o(s,Object.assign({},m.resolvedButton,{class:n,ariaDescriptionId:m.ariaDescriptionId,handleBlur:m.handleBlur,handleClick:m.handleClick,handleFocus:m.handleFocus,handleMouseDown:m.handleMouseDown,refButton:m.refSmartButton,refTooltip:m.refTooltip})),o("br",null));export{i as B}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{h as s,F as a}from"./prop.validators.js";import{t as n}from"./i18n.js";import{b as r}from"./bem-registry.js";import{c as o,n as e,d as t,r as l,B as i}from"./base-web-component.js";import{l as c}from"./label.js";const p=o("show",!1,e),u=["dot","cycle","none"],m=o("variant","dot",(s=>{const a=t(s);if(u.includes(a))return a;throw new Error(`Invalid spin variant: ${a}`)}),(()=>!0)),d={optional:[c,p,m]},b=r.forBlock("kol-spin"),f=b("loader"),v=["1","2","3","neutral"],y=r=>{const{show:o,label:e,variant:t}=l(d,r);return s(i,{block:"kol-spin"},o?s(a,null,s("span",{class:b("spinner",{[t]:!0})},function(a){switch(a){case"cycle":return s("span",{class:f});case"none":return s("slot",{name:"expert"});default:return v.map((a=>s("span",{class:b("spinner-element",{[a]:!0})})))}}(t)),s("span",{"aria-busy":"true",class:"visually-hidden",role:"alert"},e||n("kol-action-running"))):s("span",{"aria-busy":"false",class:"visually-hidden",role:"alert"},e||n("kol-action-done")))};export{y as S,p as a,d as s,m as v}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{a as o}from"./tslib.es6.js";import{h as l,Fragment as e}from"@stencil/core/internal/client";import{g as r}from"./Heading.js";import{t as a}from"./i18n.js";import{b as s}from"./bem-registry.js";import{t as i}from"./props-from-config.js";import{c as n}from"./clsx.js";import{B as t}from"./component.js";import{B as c}from"./component10.js";import{r as d}from"./component7.js";import{I as p}from"./component5.js";const m=s.forBlock("kol-alert")("icon"),f={error:{label:a("kol-error"),icon:"kolicon-alert-error"},info:{label:a("kol-info"),icon:"kolicon-alert-info"},warning:{label:a("kol-warning"),icon:"kolicon-alert-warning"},success:{label:a("kol-success"),icon:"kolicon-alert-success"},default:{label:a("kol-message"),icon:"kolicon-alert-info"}},k=({type:o="default"})=>{const r=f[o||"default"];return l(e,null,l("span",{class:"visually-hidden"},r.label),l(p,{class:m,label:"",icons:r.icon}))},u=s.forBlock("kol-alert"),b=u("closer"),h=u("content"),C=void 0,g=(e,s)=>{const{alert:p,class:m,closerAriaDescriptionId:f,handleCloserClick:g,hasCloser:v,headingId:j,label:y,level:I,refCloserButton:B,refCloserTooltip:D,type:w,variant:x}=e,A=o(e,["alert","class","closerAriaDescriptionId","handleCloserClick","hasCloser","headingId","label","level","refCloserButton","refCloserTooltip","type","variant"]),$=a("kol-close-alert"),T=r(null!=I?I:0);return l(t,Object.assign({block:"kol-alert",class:m,modifiers:{hasCloser:!0===v,[`type-${w}`]:!0,[`variant-${x}`]:!0},role:p?"alert":void 0},A),l(k,{type:w}),!!(null==y?void 0:y.length)&&l(T,{class:n("kol-headline",`kol-headline--${T}`,u("heading",{[`h${I}`]:!0}),"kol-headline--single"),id:j},d(y)),v&&l(c,{accessKey:"",ariaControls:"",ariaDescription:i(y),ariaDescriptionId:f,ariaExpanded:C,ariaHasPopup:"",ariaSelected:C,class:n(b,"kol-close-button"),customClass:"",disabled:!1,handleBlur:()=>{},handleClick:g,handleFocus:()=>{},handleMouseDown:()=>{},hideLabel:!0,icons:{left:{icon:"kolicon-cross"}},id:"",inline:!1,label:$,name:"",on:{},refButton:B,refTooltip:D,role:C,shortKey:"",tabIndex:C,tooltipAlign:"top",type:"button",variant:["normal"]}),l("div",{"aria-describedby":(null==y?void 0:y.length)?j:void 0,class:h},s))};export{g as A}
|
|
4
|
+
import{U as o,p as t,i as e,V as i,h as n,H as a,t as l}from"./prop.validators.js";import{_ as r}from"./tslib.es6.js";import{c as s}from"./color.js";import{a as c}from"./base-web-component.js";import{l as d}from"./label-with-expert-slot.js";import{s as h}from"./smart-button.js";import{s as b}from"./component6.js";import{B as k}from"./component13.js";import{r as m}from"./resolve-props.js";import{T as u}from"./behavior.js";import{c as f}from"./dev.utils.js";import{c as p,d as g}from"./element-interaction.js";import{d as v,K as _}from"./events.js";const y={required:[d],optional:[s,h,b]};o("[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).");const w=t(class extends c{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.labelId=f("badge-label"),this.ariaDescriptionId=f("aria-description"),this.ctaRef=p(),this.tooltipBehavior=new u(this.stateAccess),this.propsConfig=y,this._color="#000",this._icons=void 0,this._smartButton=void 0,this.handleClick=o=>{var t;o.stopPropagation(),this.tooltipBehavior.hideTooltip();const i=null===(t=this.smartButtonProps)||void 0===t?void 0:t.on.onClick;"function"==typeof i&&(e(o,this.ctaRef.el),i(o,void 0)),this.host&&v(this.host,_.click)},this.handleMouseDown=o=>{var t,e,i;null===(i=null===(t=this.smartButtonProps)||void 0===t?void 0:(e=t.on).onMouseDown)||void 0===i||i.call(e,o),this.host&&v(this.host,_.mousedown)},this.handleFocus=o=>{var t,e,i;null===(i=null===(t=this.smartButtonProps)||void 0===t?void 0:(e=t.on).onFocus)||void 0===i||i.call(e,o),this.host&&v(this.host,_.focus)},this.handleBlur=o=>{var t,e,i;null===(i=null===(t=this.smartButtonProps)||void 0===t?void 0:(e=t.on).onBlur)||void 0===i||i.call(e,o),this.host&&v(this.host,_.blur)}}watchColor(o){s.apply(o,(o=>this.setRenderProp("color",o)))}watchIcons(o){b.apply(o,(o=>this.setRenderProp("icons",o)))}watchLabel(o){d.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}watchSmartButton(o){this.applySmartButton(o)}focus(o){return Promise.resolve()}componentWillLoad(){this.unsetRenderProp("smartButton"),this.watchColor(this._color),this.watchIcons(this._icons),this.watchLabel(this._label),this.watchSmartButton(this._smartButton)}componentDidRender(){this.ctaRef.el&&this.tooltipBehavior.syncListeners(void 0,this.ctaRef.el,!0)}disconnectedCallback(){this.tooltipBehavior.destroy()}applySmartButton(o){i(o,(()=>{this.unsetRenderProp("smartButton"),this.smartButtonProps=void 0,null!=o&&h.apply(o,(o=>{this.setRenderProp("smartButton",o),this.smartButtonProps=m(Object.assign(Object.assign({},o),{_hideLabel:!0,_ariaControls:this.labelId}),this.host),this.tooltipBehavior.componentWillLoad({label:this.smartButtonProps.label,align:this.smartButtonProps.tooltipAlign})}))}))}render(){const o=this.getRenderProp("smartButton"),t=this.smartButtonProps;return n(a,{key:"10b32c486634e6f991181d31ca6b3896c4d5958a"},n(k,{key:"e0af2cd96456972a7c9725b4f8704453373c986b",color:this.getRenderProp("color"),icons:this.getRenderProp("icons"),label:this.getRenderProp("label"),smartButton:"object"==typeof o&&null!==o&&void 0!==t?{ariaDescriptionId:this.ariaDescriptionId,handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,labelId:this.labelId,refSmartButton:this.ctaRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,resolvedButton:t}:void 0}))}get host(){return this}static get watchers(){return{_color:[{watchColor:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_smartButton:[{watchSmartButton:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-badge { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: flex; align-items: center; justify-content: space-between; } .kol-badge > br { user-select: none; } .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-badge .kol-badge__smart-button { width: auto; order: 3; } }'}}},[545,"kol-badge",{_color:[1],_icons:[1],_label:[1],_smartButton:[1,"_smart-button"],labelId:[32],ariaDescriptionId:[32],focus:[64]},void 0,{_color:[{watchColor:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_smartButton:[{watchSmartButton:0}]}]);function x(){"undefined"!=typeof customElements&&["kol-badge"].forEach((o=>{"kol-badge"===o&&(customElements.get(l(o))||customElements.define(l(o),w))}))}r([g("ctaRef")],w.prototype,"focus",null);export{w as K,x as d}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as
|
|
4
|
+
import{h as o}from"./prop.validators.js";import{a as s}from"./tslib.es6.js";import{b as a}from"./bem-registry.js";import{f as i,B as r}from"./base-web-component.js";const e=a.forBlock("kol-icon")("icon"),l=a=>{var{class:l,icons:t,label:n}=a,c=s(a,["class","icons","label"]);const m=(null==n?void 0:n.length)>0;return o(r,Object.assign({component:"i"},c,{"aria-hidden":m?void 0:"true","aria-label":m?n:void 0,block:"kol-icon",class:i(e,t,l),role:m?"img":"presentation"}))};export{l as I}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as o}from"
|
|
4
|
+
import{l as a,h as e}from"./prop.validators.js";import{t as o}from"./i18n.js";import{c as s,d as i,b as r,r as t,t as n,f as l,B as d}from"./base-web-component.js";import{a as c,b as p,c as m,g as b,j as f,h as v,i as k,l as h,d as g,s as u,t as j,e as x,v as y,A as w,T as C,k as _}from"./component6.js";import{b as I}from"./bem-registry.js";import{p as A}from"./element-interaction.js";import{I as K}from"./component3.js";import{S as L}from"./component5.js";import{d as T}from"./disabled.js";import{h as D,l as O}from"./link-target.js";import{l as $}from"./label-with-expert-slot.js";const S=["date","location","page","step","time","true","false"],q=s("ariaCurrentValue","page",(function(a){const e=i(a);return S.includes(e)?e:"page"})),B=s("ariaOwns","",i),E=s("download",void 0,i),F=r(),M={required:[D],optional:[c,p,q,m,b,B,f,T,E,v,k,$,F,h,O,g,u,j,x,y]},V=I.forBlock("kol-link"),z=(s,i)=>{const{accessKey:r,ariaControls:c,ariaCurrent:p,ariaDescription:m,ariaDescriptionId:b,ariaExpanded:f,ariaOwns:v,class:k,customClass:h,disabled:g,download:u,handleAnchorClick:j,hideLabel:x,href:y,icons:I,inline:T,label:D,on:O,ref:$,refAnchor:S,refTooltip:q,role:B,shortKey:E,tabIndex:F,target:z,variant:G,expertSlot:H}=t(M,s),J=o("kol-open-link-in-tab"),N="string"==typeof z&&z.length>0&&"_self"!==z,P={href:"string"==typeof y&&y.length>0?y:"javascript:void(0);",target:"string"==typeof z&&z.length>0?z:void 0,rel:N?"noopener":void 0,download:"string"==typeof u?u:void 0};!0===x&&""===n(D)&&a("[KolLink] An aria-label must be set when _hide-label is set.");const Q=null==m?void 0:m.trim(),R=B||void 0;return e(d,{block:"kol-link",ref:$,class:l(k,{[h]:G.includes("custom")&&h.length>0,[_(G,"link")]:G.length>0}),modifiers:{disabled:!0===g,"external-link":N,"hide-label":!0===x,inline:!0===T,standalone:!1===T}},e("a",Object.assign({ref:S},P,{href:P.href,accessKey:r||void 0,"aria-current":p||void 0,"aria-controls":c||void 0,"aria-describedby":Q?b:void 0,"aria-disabled":g?"true":void 0,"aria-expanded":""===f?void 0:f,"aria-owns":v||void 0,"aria-label":x&&""!==n(D)?`${n(D)}${N?` (${J})`:""}`:void 0,"aria-keyshortcuts":E||void 0,class:V("interactive-element")},O,{onClick:j,onMouseDown:g?A:void 0,role:R,tabIndex:g?-1:F}),e(L,{class:"kol-link__text",badgeText:r||E,icons:I,hideLabel:x,label:H?"":D||y},i.length>0?i:e("slot",{name:"expert",slot:"expert"})),N&&e(K,{class:"kol-link__icon",label:x?"":J,icons:"kolicon-link-external","aria-hidden":x})),!0===x&&!H&&e("div",{class:V("tooltip")},e(C,{badgeText:r||E||"",label:""!==n(D)?D:"string"==typeof y?y:"",refFloating:q})),Q&&e(w,{description:Q,descriptionId:b}))};export{z as L,q as a,F as b,B as c,E as d,M as l}
|