@public-ui/components 5.0.0-beta.0 → 5.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- 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 +349 -137
- package/dist/cjs/{Heading-gKYGJ1tV.js → Heading-o_m1bQbh.js} +7 -7
- package/dist/cjs/{access-and-short-key-D40HWCJe.js → access-and-short-key-BrLP4fF_.js} +2 -0
- package/dist/cjs/{api-DyRC0E3C.js → api-SFTkHR9W.js} +75 -50
- package/dist/cjs/{app-globals-C-QndvUR.js → app-globals-BVGzsN2O.js} +6 -5
- package/dist/cjs/{aria-labelledby-ny809Vdx.js → aria-labelledby-CgJJS0K5.js} +4 -15
- package/dist/cjs/ariaCurrentService-aysGX58T.js +30 -0
- package/dist/cjs/{base-C9jeVqnN.js → base-4xLnw9ep.js} +37 -38
- package/dist/cjs/{base-DjGWfEqB.js → base-DGpJZOXm.js} +104 -104
- package/dist/cjs/{base-zeK_arau.js → base-DJhwvwdo.js} +27 -28
- package/dist/cjs/{base-Cau7nZZw.js → base-DoujJ-Xz.js} +36 -36
- package/dist/cjs/{base-web-component-r0Jr01kf.js → base-web-component-BgX5i_fc.js} +27 -35
- package/dist/cjs/base-web-component-DSCg1arP.js +66 -0
- package/dist/cjs/{base-web-component-BOQatEb9.js → base-web-component-nGb9E-GX.js} +24 -25
- package/dist/cjs/{behavior-Djs9V7Si.js → behavior-CBwUdaXu.js} +18 -19
- package/dist/cjs/{behavior-P_MOoqmo.js → behavior-DhfuU2HF.js} +10 -10
- package/dist/cjs/{behavior-APmbiQTR.js → behavior-S2U8skNd.js} +34 -44
- package/dist/cjs/{bem-registry-Q82FjrSD.js → bem-registry-CMf1T2kb.js} +100 -15
- package/dist/cjs/bootstrap-C4GRmpTI.js +59 -0
- package/dist/cjs/{color-CbCW4wyr.js → color-BWamMCyw.js} +15 -5
- package/dist/cjs/{component-w4DHKGRj.js → component-BGIFlgKu.js} +11 -12
- package/dist/cjs/component-BM6eWMuC.js +177 -0
- package/dist/cjs/component-CKc_-O64.js +91 -0
- package/dist/cjs/{component-DTToXqth.js → component-CweSM_ze.js} +6 -5
- package/dist/cjs/{component-hiip9BeX.js → component-DPCpVWBj.js} +13 -12
- package/dist/cjs/component-DSlW2KVw.js +48 -0
- package/dist/cjs/component-DTC3WbHR.js +52 -0
- package/dist/cjs/component-DUvRV4FE.js +99 -0
- package/dist/cjs/component-SeQac11p.js +19 -0
- package/dist/cjs/component-names-CyEXMjv9.js +121 -0
- package/dist/cjs/component-t6Upgw7f.js +140 -0
- package/dist/cjs/{contrast-BTU5ne8E.js → contrast-CXinV5ii.js} +8 -8
- package/dist/cjs/{controller-ncy0x4Nz.js → controller-D4usgPg-.js} +29 -29
- package/dist/cjs/{dev.utils-r-OFnYmI.js → dev.utils-glOxiW4E.js} +9 -10
- package/dist/cjs/{devtools-BjCHvsaO.js → devtools-VDx5moKY.js} +24 -25
- package/dist/cjs/disabled-CZJO6fbW.js +11 -0
- package/dist/cjs/{element-focus-D5g3xQN4.js → element-focus-IBv4yiNw.js} +25 -0
- package/dist/cjs/{element-interaction-7FI_z19L.js → element-interaction-CvCJFwUh.js} +2 -1
- package/dist/cjs/{events-BJC5JJcU.js → events-fafEzzml.js} +2 -0
- package/dist/cjs/{field-control-B2MocM-9.js → field-control-xEw1WZFL.js} +12 -13
- package/dist/cjs/{group-DUgI6ORW.js → group-CMns8Vns.js} +9 -10
- package/dist/cjs/has-closer-Cs7BCj4r.js +11 -0
- package/dist/cjs/href-C93ktLo4.js +11 -0
- package/dist/cjs/{i18n-BSWM5nea.js → i18n-DXYL9rIn.js} +11 -6
- package/dist/cjs/{i18n-BPfGxCna.js → i18n-YdI7_XKo.js} +3 -3
- package/dist/cjs/id-CtES_I0D.js +11 -0
- package/dist/cjs/{index-1NUYc4bH.js → index-B65pR1Ir.js} +1807 -65
- package/dist/cjs/index.cjs.js +20 -14
- package/dist/cjs/input-Bi8Zo8Bv.js +18 -0
- package/dist/cjs/{input-container-Ce6tEgzv.js → input-container-BErSDYvG.js} +18 -21
- package/dist/cjs/{item-CU9y10V3.js → item-BHQRF4Sp.js} +9 -9
- package/dist/cjs/{item-BDJC0QKy.js → item-BLhkAIub.js} +9 -9
- package/dist/cjs/{item-CdalyKjL.js → item-BVHbqXo2.js} +70 -58
- package/dist/cjs/{item-do7gGebG.js → item-N9AmF46D.js} +43 -42
- package/dist/cjs/{item-pool-CY0WyGOL.js → item-pool-ecjkEvCG.js} +2 -0
- package/dist/cjs/{keyboard-Ca1I5RM2.js → keyboard-DHPlsLs0.js} +2 -0
- package/dist/cjs/kol-abbr.cjs.entry.js +16 -18
- package/dist/cjs/kol-accordion.cjs.entry.js +32 -28
- package/dist/cjs/kol-alert.cjs.entry.js +46 -42
- package/dist/cjs/kol-avatar.cjs.entry.js +31 -25
- package/dist/cjs/kol-badge.cjs.entry.js +43 -43
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +59 -60
- package/dist/cjs/kol-button-link.cjs.entry.js +55 -42
- package/dist/cjs/kol-button.cjs.entry.js +56 -42
- package/dist/cjs/kol-card.cjs.entry.js +50 -54
- package/dist/cjs/kol-combobox.cjs.entry.js +83 -72
- package/dist/cjs/kol-details.cjs.entry.js +32 -28
- package/dist/cjs/kol-dialog.cjs.entry.js +45 -42
- package/dist/cjs/kol-drawer.cjs.entry.js +51 -55
- package/dist/cjs/kol-form.cjs.entry.js +43 -42
- package/dist/cjs/kol-heading.cjs.entry.js +24 -20
- package/dist/cjs/kol-icon.cjs.entry.js +21 -17
- package/dist/cjs/kol-image.cjs.entry.js +24 -19
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +89 -77
- package/dist/cjs/kol-input-color.cjs.entry.js +79 -70
- package/dist/cjs/kol-input-date.cjs.entry.js +106 -76
- package/dist/cjs/kol-input-email.cjs.entry.js +79 -61
- package/dist/cjs/kol-input-file.cjs.entry.js +79 -64
- package/dist/cjs/kol-input-number.cjs.entry.js +89 -70
- package/dist/cjs/kol-input-password.cjs.entry.js +86 -66
- package/dist/cjs/kol-input-radio.cjs.entry.js +63 -59
- package/dist/cjs/kol-input-range.cjs.entry.js +77 -62
- package/dist/cjs/kol-input-text.cjs.entry.js +97 -72
- package/dist/cjs/kol-kolibri.cjs.entry.js +19 -21
- package/dist/cjs/kol-link-button.cjs.entry.js +53 -39
- package/dist/cjs/kol-link.cjs.entry.js +49 -37
- package/dist/cjs/kol-meter.cjs.entry.js +44 -34
- package/dist/cjs/kol-modal.cjs.entry.js +44 -42
- package/dist/cjs/kol-nav.cjs.entry.js +70 -70
- package/dist/cjs/kol-pagination.cjs.entry.js +57 -58
- package/dist/cjs/kol-popover-button.cjs.entry.js +57 -45
- package/dist/cjs/kol-progress.cjs.entry.js +38 -28
- package/dist/cjs/kol-quote.cjs.entry.js +24 -24
- package/dist/cjs/kol-select.cjs.entry.js +66 -54
- package/dist/cjs/kol-single-select.cjs.entry.js +86 -72
- package/dist/cjs/kol-skip-nav.cjs.entry.js +57 -57
- package/dist/cjs/kol-spin.cjs.entry.js +26 -39
- package/dist/cjs/kol-split-button.cjs.entry.js +63 -49
- package/dist/cjs/kol-table-stateful.cjs.entry.js +95 -85
- package/dist/cjs/kol-table-stateless.cjs.entry.js +62 -64
- package/dist/cjs/kol-tabs.cjs.entry.js +68 -68
- package/dist/cjs/kol-textarea.cjs.entry.js +89 -71
- package/dist/cjs/kol-toast-container.cjs.entry.js +29 -27
- package/dist/cjs/kol-toolbar.cjs.entry.js +62 -60
- package/dist/cjs/kol-tree-item.cjs.entry.js +56 -50
- package/dist/cjs/kol-tree.cjs.entry.js +38 -26
- package/dist/cjs/kol-version.cjs.entry.js +28 -26
- package/dist/cjs/kolibri.cjs.js +6 -5
- package/dist/cjs/label-0j3-2J3C.js +15 -0
- package/dist/cjs/label-hints-DEiM49uy.js +22 -0
- package/dist/cjs/label-lang-segment-BBCLeyBy.js +14 -0
- package/dist/cjs/label-with-expert-slot-D0wokf7-.js +15 -0
- package/dist/cjs/level-xVivGv7t.js +12 -0
- package/dist/cjs/link-target-D9qpCovV.js +11 -0
- package/dist/cjs/links-DlW9up_d.js +15 -0
- package/dist/cjs/loader.cjs.js +5 -4
- package/dist/cjs/multiple-DO-asa_4.js +11 -0
- package/dist/cjs/{number-value-aLzn0dDO.js → number-value-BUKMKQvN.js} +6 -5
- package/dist/cjs/open-BVqlpoxd.js +11 -0
- package/dist/cjs/{open-items-cache-B6hP2Aqy.js → open-items-cache-DuXVixiW.js} +2 -0
- package/dist/cjs/{options-z7FKffHh.js → options-Dg3zz7Wo.js} +2 -0
- package/dist/cjs/{options-BRwmqi8M.js → options-vneqbPL0.js} +4 -4
- package/dist/cjs/{orientation-BcqEqZ3D.js → orientation-DL6G4K4r.js} +4 -3
- package/dist/cjs/placeholder-C-ecB96f.js +11 -0
- package/dist/cjs/{base-web-component-DPBaBA5x.js → props-from-config-Bm6Pf2tK.js} +355 -85
- package/dist/cjs/read-only-D__auxXg.js +11 -0
- package/dist/cjs/required-DqW-WueJ.js +11 -0
- package/dist/cjs/resolve-props-CjhxUwj-.js +60 -0
- package/dist/cjs/resolve-props-DKYD6i56.js +57 -0
- package/dist/cjs/rows-Z8UDqY9u.js +11 -0
- package/dist/cjs/{scroll-lock-Bs5vb-ss.js → scroll-lock-DgqKifg3.js} +8 -7
- package/dist/cjs/shared-state-C2e8sL5f.js +16 -0
- package/dist/cjs/smart-button-C_S63qaB.js +18 -0
- package/dist/cjs/spell-check-CT0WE9tq.js +11 -0
- package/dist/cjs/src-Bwu1rJi2.js +11 -0
- package/dist/cjs/step-W8T4AA1l.js +11 -0
- package/dist/cjs/suggestions-C-tM7INY.js +24 -0
- package/dist/cjs/{suggestions-B4X9HMr-.js → suggestions-DvPhi4lP.js} +4 -4
- package/dist/cjs/test-component.cjs.entry.js +3 -3
- package/dist/cjs/theme-store-CHGfvYB-.js +13 -0
- package/dist/cjs/{toggle-handler-AgDdplvI.js → toggle-handler-DHEfrMM0.js} +15 -18
- package/dist/cjs/{tooltip-open-tracking-Ba0udJRU.js → tooltip-open-tracking-DaQFzT-b.js} +8 -5
- package/dist/cjs/unique-nav-labels-CpJcPNBO.js +25 -0
- package/dist/cjs/unit-CNVBdvOH.js +14 -0
- package/dist/cjs/validators-BM9XrnzJ.js +18 -0
- package/dist/cjs/value-string-DXRes-dR.js +11 -0
- package/dist/cjs/{width-DF6eLXIz.js → width-BAwXHART.js} +8 -4
- package/dist/collection/collection-manifest.json +12 -23
- package/dist/collection/components/abbr/component.js +13 -11
- package/dist/collection/components/abbr/style.css +21 -3
- package/dist/collection/components/accordion/component.js +39 -21
- package/dist/collection/components/accordion/style.css +23 -5
- package/dist/collection/components/alert/component.js +40 -23
- package/dist/collection/components/alert/style.css +23 -5
- package/dist/collection/components/avatar/component.js +33 -13
- package/dist/collection/components/avatar/style.css +21 -3
- package/dist/collection/components/badge/component.js +20 -13
- package/dist/collection/components/badge/style.css +23 -5
- package/dist/collection/components/breadcrumb/component.js +8 -7
- package/dist/collection/components/breadcrumb/style.css +23 -5
- package/dist/collection/components/button/base.js +4 -4
- package/dist/collection/components/button/component.js +110 -38
- package/dist/collection/components/button/style.css +23 -5
- package/dist/collection/components/button-link/component.js +101 -47
- package/dist/collection/components/button-link/style.css +23 -5
- package/dist/collection/components/card/base.js +5 -5
- package/dist/collection/components/card/component.js +35 -20
- package/dist/collection/components/card/style.css +26 -5
- package/dist/collection/components/combobox/component.js +152 -66
- package/dist/collection/components/combobox/style.css +24 -7
- package/dist/collection/components/details/component.js +39 -21
- package/dist/collection/components/details/style.css +23 -5
- package/dist/collection/components/dialog/base.js +15 -15
- package/dist/collection/components/dialog/component.js +25 -13
- package/dist/collection/components/dialog/style.css +26 -5
- package/dist/collection/components/drawer/component.js +34 -29
- package/dist/collection/components/drawer/style.css +26 -5
- package/dist/collection/components/form/component.js +11 -6
- package/dist/collection/components/form/controller.js +17 -16
- package/dist/collection/components/form/style.css +23 -5
- package/dist/collection/components/heading/component.js +19 -10
- package/dist/collection/components/heading/style.css +21 -3
- package/dist/collection/components/icon/component.js +15 -8
- package/dist/collection/components/icon/style.css +2 -2
- package/dist/collection/components/image/component.js +51 -15
- package/dist/collection/components/image/style.css +21 -3
- package/dist/collection/components/input-checkbox/component.js +145 -76
- package/dist/collection/components/input-checkbox/style.css +25 -8
- package/dist/collection/components/input-color/component.js +127 -63
- package/dist/collection/components/input-color/style.css +24 -7
- package/dist/collection/components/input-date/component.js +153 -74
- package/dist/collection/components/input-date/style.css +24 -7
- package/dist/collection/components/input-email/component.js +200 -83
- package/dist/collection/components/input-email/style.css +24 -7
- package/dist/collection/components/input-file/component.js +146 -68
- package/dist/collection/components/input-file/style.css +24 -7
- package/dist/collection/components/input-number/component.js +160 -74
- package/dist/collection/components/input-number/style.css +24 -7
- package/dist/collection/components/input-password/component.js +193 -79
- package/dist/collection/components/input-password/style.css +24 -7
- package/dist/collection/components/input-radio/component.js +92 -50
- package/dist/collection/components/input-radio/style.css +25 -8
- package/dist/collection/components/input-range/component.js +114 -52
- package/dist/collection/components/input-range/style.css +24 -7
- package/dist/collection/components/input-text/component.js +194 -81
- package/dist/collection/components/input-text/style.css +24 -7
- package/dist/collection/components/kolibri/component.js +12 -5
- package/dist/collection/components/kolibri/style.css +21 -3
- package/dist/collection/components/link/ariaCurrentService.js +9 -9
- package/dist/collection/components/link/base.js +4 -4
- package/dist/collection/components/link/component.js +89 -42
- package/dist/collection/components/link/style.css +23 -5
- package/dist/collection/components/link-button/component.js +81 -36
- package/dist/collection/components/link-button/style.css +23 -5
- package/dist/collection/components/meter/component.js +88 -26
- package/dist/collection/components/meter/style.css +21 -3
- package/dist/collection/components/modal/component.js +24 -13
- package/dist/collection/components/modal/style.css +26 -5
- package/dist/collection/components/nav/component.js +43 -21
- package/dist/collection/components/nav/style.css +23 -5
- package/dist/collection/components/pagination/component.js +40 -17
- package/dist/collection/components/pagination/style.css +24 -7
- package/dist/collection/components/popover-button/base.js +2 -2
- package/dist/collection/components/popover-button/component.js +82 -30
- package/dist/collection/components/popover-button/style.css +23 -5
- package/dist/collection/components/progress/component.js +56 -19
- package/dist/collection/components/progress/style.css +21 -3
- package/dist/collection/components/{_skeleton/public-api → public-api}/contract.js +8 -8
- package/dist/collection/components/quote/component.js +40 -17
- package/dist/collection/components/quote/style.css +21 -3
- package/dist/collection/components/select/component.js +138 -64
- package/dist/collection/components/select/style.css +24 -7
- package/dist/collection/components/single-select/component.js +145 -64
- package/dist/collection/components/single-select/style.css +24 -7
- package/dist/collection/components/skip-nav/component.js +9 -6
- package/dist/collection/components/skip-nav/style.css +23 -5
- package/dist/collection/components/spin/component.js +32 -12
- package/dist/collection/components/spin/style.css +21 -3
- package/dist/collection/components/split-button/component.js +108 -37
- package/dist/collection/components/split-button/style.css +23 -5
- package/dist/collection/components/table-stateful/component.js +86 -63
- package/dist/collection/components/table-stateful/style.css +27 -7
- package/dist/collection/components/table-stateless/base.js +16 -8
- package/dist/collection/components/table-stateless/component.js +52 -60
- package/dist/collection/components/table-stateless/style.css +26 -5
- package/dist/collection/components/tabs/component.js +34 -27
- package/dist/collection/components/tabs/style.css +23 -5
- package/dist/collection/components/textarea/component.js +187 -77
- package/dist/collection/components/textarea/style.css +24 -7
- package/dist/collection/components/toaster/shadow.js +6 -6
- package/dist/collection/components/toaster/style.css +23 -5
- package/dist/collection/components/toaster/toaster.js +2 -1
- package/dist/collection/components/toolbar/component.js +29 -16
- package/dist/collection/components/toolbar/style.css +23 -5
- package/dist/collection/components/tree/component.js +25 -14
- package/dist/collection/components/tree/style.css +21 -3
- package/dist/collection/components/tree-item/component.js +34 -22
- package/dist/collection/components/tree-item/style.css +23 -5
- package/dist/collection/components/version/component.js +5 -5
- package/dist/collection/components/version/style.css +23 -5
- package/dist/collection/core/bootstrap.js +8 -5
- package/dist/collection/core/component-names.js +52 -108
- package/dist/collection/core/i18n.js +8 -7
- 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/e2e/aria-details.js +9 -0
- package/dist/collection/e2e/input-character-limit.js +18 -18
- package/dist/collection/functional-components/index.js +0 -1
- package/dist/collection/global/script.js +2 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/internal/functional-components/abbr/api.js +2 -2
- package/dist/collection/internal/functional-components/alert/api.js +2 -2
- package/dist/collection/internal/functional-components/alert/component.js +6 -3
- package/dist/collection/internal/functional-components/avatar/component.js +9 -5
- package/dist/collection/internal/functional-components/badge/component.js +2 -1
- package/dist/collection/internal/functional-components/base-web-component.js +20 -8
- package/dist/collection/internal/functional-components/bem-root-node/component.js +16 -6
- package/dist/collection/internal/functional-components/breadcrumb/api.js +2 -2
- package/dist/collection/internal/functional-components/breadcrumb/component.js +5 -3
- package/dist/collection/internal/functional-components/breadcrumb/link-item.js +1 -1
- package/dist/collection/internal/functional-components/button/component.js +6 -4
- package/dist/collection/internal/functional-components/card/api.js +3 -3
- package/dist/collection/internal/functional-components/card/close-button.js +1 -1
- package/dist/collection/internal/functional-components/card/component.js +8 -3
- package/dist/collection/internal/functional-components/collapsible/api.js +2 -2
- package/dist/collection/internal/functional-components/collapsible/component.js +3 -2
- package/dist/collection/internal/functional-components/dialog/api.js +2 -2
- package/dist/collection/internal/functional-components/dialog/component.js +6 -3
- package/dist/collection/internal/functional-components/dialog/item.js +6 -12
- package/dist/collection/internal/functional-components/drawer/api.js +2 -2
- package/dist/collection/internal/functional-components/drawer/component.js +4 -2
- package/dist/collection/internal/functional-components/form-association/api.js +2 -2
- package/dist/collection/internal/functional-components/form-association/behavior.js +19 -26
- package/dist/collection/internal/functional-components/form-field/base-web-component.js +32 -5
- package/dist/collection/internal/functional-components/form-field/component.js +1 -1
- package/dist/collection/internal/functional-components/form-field/custom-suggestions.js +1 -1
- package/dist/collection/internal/functional-components/form-field/date-value.js +12 -1
- package/dist/collection/internal/functional-components/form-field/default-input-props.js +3 -2
- package/dist/collection/internal/functional-components/form-field/select.js +0 -4
- package/dist/collection/internal/functional-components/heading/component.js +7 -5
- 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 -1
- package/dist/collection/internal/functional-components/kolibri/component.js +4 -1
- package/dist/collection/internal/functional-components/link/component.js +6 -4
- package/dist/collection/internal/functional-components/meter/api.js +2 -2
- package/dist/collection/internal/functional-components/meter/component.js +17 -12
- package/dist/collection/internal/functional-components/nav/api.js +2 -2
- package/dist/collection/internal/functional-components/nav/component.js +14 -9
- package/dist/collection/internal/functional-components/pagination/api.js +3 -12
- package/dist/collection/internal/functional-components/pagination/component.js +7 -4
- package/dist/collection/internal/functional-components/pagination/item.js +27 -12
- package/dist/collection/internal/functional-components/pagination/page-size-select.js +9 -1
- package/dist/collection/internal/functional-components/popover/component.js +3 -1
- package/dist/collection/internal/functional-components/progress/api.js +2 -2
- package/dist/collection/internal/functional-components/progress/component.js +11 -7
- package/dist/collection/internal/functional-components/props-from-config.js +3 -0
- package/dist/collection/internal/functional-components/quote/api.js +2 -2
- package/dist/collection/internal/functional-components/quote/component.js +5 -4
- package/dist/collection/internal/functional-components/single-select/component.js +2 -1
- package/dist/collection/internal/functional-components/skip-nav/api.js +2 -2
- package/dist/collection/internal/functional-components/skip-nav/component.js +2 -2
- package/dist/collection/internal/functional-components/skip-nav/link-item.js +1 -1
- package/dist/collection/internal/functional-components/span/api.js +2 -4
- package/dist/collection/internal/functional-components/span/component.js +21 -8
- package/dist/collection/internal/functional-components/spin/component.js +3 -1
- package/dist/collection/internal/functional-components/table-stateful/api.js +2 -2
- package/dist/collection/internal/functional-components/table-stateless/api.js +3 -3
- package/dist/collection/internal/functional-components/table-stateless/component.js +24 -10
- package/dist/collection/internal/functional-components/table-stateless/settings.js +13 -10
- package/dist/collection/internal/functional-components/table-stateless/table-model.js +5 -9
- package/dist/collection/internal/functional-components/tabs/api.js +2 -2
- package/dist/collection/internal/functional-components/tabs/component.js +7 -1
- package/dist/collection/internal/functional-components/toolbar/api.js +2 -2
- package/dist/collection/internal/functional-components/tooltip/api.js +2 -2
- package/dist/collection/internal/functional-components/tooltip/behavior.js +3 -2
- package/dist/collection/internal/functional-components/tooltip/component.js +3 -1
- package/dist/collection/internal/functional-components/tree/api.js +2 -2
- package/dist/collection/internal/functional-components/tree/component.js +2 -2
- package/dist/collection/internal/functional-components/tree-item/api.js +2 -2
- package/dist/collection/internal/functional-components/tree-item/component.js +3 -2
- package/dist/collection/internal/props/color.js +10 -0
- package/dist/collection/internal/props/dialog-callbacks.js +4 -1
- package/dist/collection/internal/props/helpers/factory.js +11 -3
- package/dist/collection/internal/props/helpers/normalizers.js +13 -1
- package/dist/collection/internal/props/helpers/validators.js +5 -0
- package/dist/collection/internal/props/hints/label-hints.js +10 -8
- package/dist/collection/internal/props/href.js +1 -2
- package/dist/collection/internal/props/index.js +2 -1
- package/dist/collection/internal/props/label-decorative.js +10 -0
- package/dist/collection/internal/props/label-lang-segment.js +10 -0
- package/dist/collection/internal/props/label-with-expert-slot.js +6 -2
- package/dist/collection/internal/props/label.js +2 -1
- package/dist/collection/internal/props/max-length.js +1 -1
- package/dist/collection/internal/props/rows.js +1 -1
- package/dist/collection/internal/props/tabs.js +1 -1
- package/dist/collection/locales/de.js +1 -0
- package/dist/collection/locales/en.js +1 -0
- package/dist/collection/schema/bem-registry.js +98 -13
- package/dist/collection/schema/i18n-keys.js +29 -28
- package/dist/collection/schema/props/aria-details.js +1 -22
- package/dist/collection/schema/props/aria-labelledby.js +3 -12
- package/dist/collection/schema/props/index.js +20 -3
- package/dist/collection/schema/props/label.js +54 -5
- package/dist/collection/schema/props/page-size.js +1 -0
- package/dist/collection/schema/props/page.js +1 -0
- package/dist/collection/schema/props/quote.js +1 -9
- package/dist/collection/schema/props/secondary-headline.js +1 -0
- package/dist/collection/schema/props/selected.js +1 -0
- package/dist/collection/schema/props/sibling-count.js +1 -0
- package/dist/collection/schema/props/sizes.js +1 -0
- package/dist/collection/schema/props/src.js +1 -0
- package/dist/collection/schema/props/srcset.js +1 -0
- package/dist/collection/schema/props/table-headers.js +1 -0
- package/dist/collection/schema/props/table-loading.js +1 -0
- package/dist/collection/schema/props/value-number-clamped.js +1 -0
- package/dist/collection/schema/props/value-string.js +1 -0
- package/dist/collection/schema/utils/dev.utils.js +8 -6
- package/dist/collection/schema/utils/prop.validators.js +16 -3
- package/dist/collection/utils/aria-labelledby.js +2 -14
- package/dist/collection/utils/dev.utils.js +0 -1
- package/dist/collection/utils/element-focus.js +23 -0
- package/dist/collection/utils/element-interaction.js +0 -7
- package/dist/collection/utils/element-themed.js +1 -1
- package/dist/collection/utils/markdown.js +49 -3
- package/dist/collection/utils/testing/snapshot-input-testing.js +1 -0
- package/dist/collection/utils/testing/snapshot-testing.js +17 -0
- package/dist/collection/utils/tooltip-open-tracking.js +6 -5
- package/dist/collection/utils/unique-nav-labels.js +7 -5
- package/dist/components/Heading.js +1 -1
- package/dist/components/access-and-short-key.js +1 -1
- package/dist/components/ariaCurrentService.js +1 -1
- 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/common.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 +4 -0
- 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 +4 -0
- package/dist/components/label-lang-segment.js +4 -0
- 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/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 +4 -0
- package/dist/components/value-string.js +1 -1
- package/dist/components/width.js +1 -1
- package/dist/esm/{Heading-0teSdkFq.js → Heading-Cynkalqu.js} +2 -2
- package/dist/esm/{access-and-short-key-ijzCZfHm.js → access-and-short-key-CW0oxi_q.js} +2 -0
- package/dist/esm/{api-hAvZrw9X.js → api-B76-Osk1.js} +54 -29
- package/dist/esm/{app-globals-Dff_iJYF.js → app-globals-Dtu1AIr1.js} +4 -3
- package/dist/esm/{aria-labelledby-BRToXqsQ.js → aria-labelledby-DQov9uSv.js} +5 -15
- package/dist/esm/ariaCurrentService-B9TgWLEw.js +27 -0
- package/dist/esm/{base-COT79ELt.js → base-BZCFxul4.js} +17 -17
- package/dist/esm/{base-Df1bwC8d.js → base-BpgzOuy3.js} +25 -26
- package/dist/esm/{base-CsJWjTJl.js → base-CAiOx0qs.js} +82 -82
- package/dist/esm/{base-7FEvBJ3L.js → base-DJ3lTPYp.js} +18 -19
- package/dist/esm/base-web-component-D16FuHFf.js +64 -0
- package/dist/esm/{base-web-component-cTyj95G-.js → base-web-component-E9cH8tf8.js} +16 -17
- package/dist/esm/{base-web-component-C1XSz7ML.js → base-web-component-aOhHFXxF.js} +10 -18
- package/dist/esm/{behavior-BMW-_4Oy.js → behavior-ByyBa-o8.js} +6 -6
- package/dist/esm/{behavior-BlS6DO8T.js → behavior-DJQFXyfi.js} +10 -10
- package/dist/esm/{behavior-Zr6qAX7F.js → behavior-DnTJtQBK.js} +29 -38
- package/dist/esm/{bem-registry-BlJAUViA.js → bem-registry-CK2s_XZ4.js} +99 -14
- package/dist/esm/bootstrap-DUmk0ILT.js +52 -0
- package/dist/esm/{color-9CMp_pOq.js → color-CEoIhjJR.js} +13 -3
- package/dist/esm/{variant-PJN56KWi.js → component-BPL1Mikq.js} +37 -7
- package/dist/esm/{component-BmJGOcby.js → component-C0ijstyp.js} +12 -11
- package/dist/esm/component-C58IwTEf.js +47 -0
- package/dist/esm/{component-C_Te18y_.js → component-CAEpgoSo.js} +6 -5
- package/dist/esm/component-CDyoNoJe.js +17 -0
- package/dist/esm/{component-DHl33p9J.js → component-CiTw4ODP.js} +8 -9
- package/dist/esm/component-DTV1Kuf1.js +172 -0
- package/dist/esm/component-DeFANBua.js +43 -0
- package/dist/esm/{api-B9mpTRGa.js → component-S6ib3O8N.js} +40 -45
- package/dist/esm/component-XbTjo2nm.js +91 -0
- package/dist/esm/component-names-Ur_UbEzI.js +115 -0
- package/dist/esm/{contrast-BK5uVXeb.js → contrast-Ujnfz49m.js} +2 -2
- package/dist/esm/{controller-Bf-CAo4Q.js → controller-BdPVgWDs.js} +18 -18
- package/dist/esm/{dev.utils-BgjegQC8.js → dev.utils--eVyQ4zr.js} +1 -2
- package/dist/esm/{devtools-4nOArEGl.js → devtools-CosbyboJ.js} +4 -5
- package/dist/esm/{disabled-BaPgTuFO.js → disabled-Cu0e92-b.js} +2 -1
- package/dist/esm/{element-focus-Cp994Rrk.js → element-focus-BYLFG-oz.js} +25 -1
- package/dist/esm/{element-interaction-Cy9tx3Sx.js → element-interaction-C2pgnQ6t.js} +2 -1
- package/dist/esm/{events-BIT-JUP2.js → events-B2UzbUT7.js} +2 -0
- package/dist/esm/{field-control-Brx62dJV.js → field-control-DbmtKHc1.js} +7 -8
- package/dist/esm/{group-Ce5pMiZJ.js → group-CqAFhkgE.js} +6 -7
- package/dist/esm/{has-closer-C9L79ect.js → has-closer-DOs1CXhp.js} +2 -1
- package/dist/esm/href-DQbHtp6T.js +9 -0
- package/dist/esm/{i18n-Dl6Jjofb.js → i18n-Bcb0tuyF.js} +11 -6
- package/dist/esm/{i18n-DRQl0u--.js → i18n-Cf0DhAke.js} +2 -2
- package/dist/esm/id-BXwy9iRy.js +9 -0
- package/dist/esm/{index-D5UV99lE.js → index-Bsx5X6jK.js} +1745 -50
- package/dist/esm/index.js +14 -12
- package/dist/esm/{input-DjQorwQ5.js → input-RvLnUp6C.js} +4 -6
- package/dist/esm/{input-container-RSmfcRgK.js → input-container-BpG3WHug.js} +6 -9
- package/dist/esm/{item-Bfk2xd-D.js → item-Cw_jdgc6.js} +14 -13
- package/dist/esm/{item-D9_O5WAR.js → item-DMttg5uX.js} +54 -42
- package/dist/esm/{item-DMWn_IlJ.js → item-DibV9jD7.js} +8 -8
- package/dist/esm/{item-2cprk9ut.js → item-KqTsA-5a.js} +8 -8
- package/dist/esm/{item-pool-BOxAYePG.js → item-pool-C_4Isquh.js} +2 -0
- package/dist/esm/{keyboard-Cnv7zP3N.js → keyboard-Cc1-_wSt.js} +2 -0
- package/dist/esm/kol-abbr.entry.js +15 -17
- package/dist/esm/kol-accordion.entry.js +31 -27
- package/dist/esm/kol-alert.entry.js +40 -36
- package/dist/esm/kol-avatar.entry.js +31 -25
- package/dist/esm/kol-badge.entry.js +38 -38
- package/dist/esm/kol-breadcrumb.entry.js +43 -44
- package/dist/esm/kol-button-link.entry.js +55 -42
- package/dist/esm/kol-button.entry.js +56 -42
- package/dist/esm/kol-card.entry.js +49 -53
- package/dist/esm/kol-combobox.entry.js +75 -64
- package/dist/esm/kol-details.entry.js +31 -27
- package/dist/esm/kol-dialog.entry.js +45 -42
- package/dist/esm/kol-drawer.entry.js +50 -54
- package/dist/esm/kol-form.entry.js +35 -34
- package/dist/esm/kol-heading.entry.js +23 -19
- package/dist/esm/kol-icon.entry.js +20 -16
- package/dist/esm/kol-image.entry.js +17 -12
- package/dist/esm/kol-input-checkbox.entry.js +76 -64
- package/dist/esm/kol-input-color.entry.js +73 -64
- package/dist/esm/kol-input-date.entry.js +93 -63
- package/dist/esm/kol-input-email.entry.js +79 -61
- package/dist/esm/kol-input-file.entry.js +72 -57
- package/dist/esm/kol-input-number.entry.js +82 -63
- package/dist/esm/kol-input-password.entry.js +81 -61
- package/dist/esm/kol-input-radio.entry.js +58 -54
- package/dist/esm/kol-input-range.entry.js +71 -56
- package/dist/esm/kol-input-text.entry.js +91 -66
- package/dist/esm/kol-kolibri.entry.js +15 -17
- package/dist/esm/kol-link-button.entry.js +52 -38
- package/dist/esm/kol-link.entry.js +49 -37
- package/dist/esm/kol-meter.entry.js +39 -29
- package/dist/esm/kol-modal.entry.js +44 -42
- package/dist/esm/kol-nav.entry.js +58 -58
- package/dist/esm/kol-pagination.entry.js +57 -58
- package/dist/esm/kol-popover-button.entry.js +57 -45
- package/dist/esm/kol-progress.entry.js +34 -24
- package/dist/esm/kol-quote.entry.js +21 -21
- package/dist/esm/kol-select.entry.js +66 -54
- package/dist/esm/kol-single-select.entry.js +78 -64
- package/dist/esm/kol-skip-nav.entry.js +42 -42
- package/dist/esm/kol-spin.entry.js +22 -35
- package/dist/esm/kol-split-button.entry.js +61 -47
- package/dist/esm/kol-table-stateful.entry.js +85 -75
- package/dist/esm/kol-table-stateless.entry.js +62 -64
- package/dist/esm/kol-tabs.entry.js +59 -59
- package/dist/esm/kol-textarea.entry.js +77 -59
- package/dist/esm/kol-toast-container.entry.js +27 -25
- package/dist/esm/kol-toolbar.entry.js +56 -54
- package/dist/esm/kol-tree-item.entry.js +53 -47
- package/dist/esm/kol-tree.entry.js +38 -26
- package/dist/esm/kol-version.entry.js +27 -25
- package/dist/esm/kolibri.js +7 -6
- package/dist/esm/label-DEZIsnKw.js +13 -0
- package/dist/esm/label-hints-C--ftrg_.js +20 -0
- package/dist/esm/label-lang-segment-B8ayoizG.js +12 -0
- package/dist/esm/label-with-expert-slot-DXi27J4o.js +13 -0
- package/dist/esm/{level-Df663c7y.js → level-BV6M_zmM.js} +2 -1
- package/dist/esm/{link-target-C7_smSbV.js → link-target-C9qzQAQg.js} +2 -1
- package/dist/esm/{links-B0xbzBwU.js → links-Dt0OhMXb.js} +2 -2
- package/dist/esm/loader.js +6 -5
- package/dist/esm/{multiple-CYHm7rd3.js → multiple-DQdOCIyW.js} +2 -1
- package/dist/esm/{number-value-CMedWR58.js → number-value-DtZloH4P.js} +2 -1
- package/dist/esm/{open-DCGNTmvC.js → open-DaO7wXMr.js} +2 -1
- package/dist/esm/{open-items-cache-D-kml1h6.js → open-items-cache-C98FzYQ9.js} +2 -0
- package/dist/esm/{options-CR431ims.js → options-C8BsBGBl.js} +2 -2
- package/dist/esm/{options-B0rBHetL.js → options-CKAHQbcF.js} +2 -0
- package/dist/esm/{orientation-C9FRNmPD.js → orientation-VvJMCd9m.js} +2 -1
- package/dist/esm/{placeholder-Bwzvbwhh.js → placeholder-7pbjAn-x.js} +2 -1
- package/dist/esm/{base-web-component-Bcoukts3.js → props-from-config-DVxNB2Lx.js} +313 -55
- package/dist/esm/{read-only-C5fDsZVK.js → read-only-3XuQIAB8.js} +2 -1
- package/dist/esm/{required-CC0212MQ.js → required-CNgdXJ8H.js} +2 -1
- package/dist/esm/{resolve-props-47S-r31C.js → resolve-props-B1DQKjTD.js} +7 -8
- package/dist/esm/{resolve-props-CnHCiXuG.js → resolve-props-DOaJCd7Y.js} +9 -9
- package/dist/esm/rows-DL1whQNh.js +9 -0
- package/dist/esm/{scroll-lock-DQGTnLvW.js → scroll-lock-CF_Z7MzO.js} +9 -7
- package/dist/esm/shared-state-sWI1upS8.js +14 -0
- package/dist/esm/{smart-button-BHM06d-t.js → smart-button-BdA5-cUG.js} +2 -2
- package/dist/esm/{spell-check-DiSedaOR.js → spell-check-B7J-eU5K.js} +2 -1
- package/dist/esm/{src-CsLEg--w.js → src-C2baLPDp.js} +2 -1
- package/dist/esm/{step-BxSThOke.js → step-DmzcVFZB.js} +2 -1
- package/dist/esm/{suggestions-B79TOsF_.js → suggestions-BJxNFtkL.js} +2 -2
- package/dist/esm/{suggestions-C38q-5JU.js → suggestions-BXp8OhOi.js} +3 -3
- package/dist/esm/test-component.entry.js +3 -3
- package/dist/esm/theme-store-CEu5d_EK.js +11 -0
- package/dist/esm/{toggle-handler-CQ0FhBmD.js → toggle-handler-D7oFDKvq.js} +14 -17
- package/dist/esm/tooltip-open-tracking-DXhnfmA2.js +21 -0
- package/dist/esm/unique-nav-labels-BOqpcYk4.js +22 -0
- package/dist/esm/{unit-BgjPEae-.js → unit-BFYz7QfA.js} +2 -1
- package/dist/esm/validators-DPSQyOeQ.js +13 -0
- package/dist/esm/{value-string-BDfywbme.js → value-string-Cmozozek.js} +2 -1
- package/dist/esm/{width-CAS8lhOU.js → width-D5-Licpp.js} +6 -2
- package/dist/kolibri/Heading-Cynkalqu.js +4 -0
- package/dist/kolibri/access-and-short-key-CW0oxi_q.js +4 -0
- package/dist/kolibri/api-B76-Osk1.js +4 -0
- package/dist/kolibri/app-globals-Dtu1AIr1.js +4 -0
- package/dist/kolibri/aria-labelledby-DQov9uSv.js +4 -0
- package/dist/kolibri/ariaCurrentService-B9TgWLEw.js +4 -0
- package/dist/kolibri/base-BZCFxul4.js +4 -0
- package/dist/kolibri/base-BpgzOuy3.js +4 -0
- package/dist/kolibri/base-CAiOx0qs.js +4 -0
- package/dist/kolibri/base-DJ3lTPYp.js +4 -0
- package/dist/kolibri/base-web-component-D16FuHFf.js +4 -0
- package/dist/kolibri/base-web-component-E9cH8tf8.js +4 -0
- package/dist/kolibri/base-web-component-aOhHFXxF.js +4 -0
- package/dist/kolibri/behavior-ByyBa-o8.js +4 -0
- package/dist/kolibri/behavior-DJQFXyfi.js +4 -0
- package/dist/kolibri/behavior-DnTJtQBK.js +4 -0
- package/dist/kolibri/bem-registry-CK2s_XZ4.js +4 -0
- package/dist/kolibri/bootstrap-DUmk0ILT.js +4 -0
- package/dist/kolibri/color-CEoIhjJR.js +4 -0
- package/dist/kolibri/component-BPL1Mikq.js +4 -0
- package/dist/kolibri/component-C0ijstyp.js +4 -0
- package/dist/kolibri/component-C58IwTEf.js +4 -0
- package/dist/kolibri/component-CAEpgoSo.js +4 -0
- package/dist/kolibri/component-CDyoNoJe.js +4 -0
- package/dist/kolibri/component-CiTw4ODP.js +4 -0
- package/dist/kolibri/component-DTV1Kuf1.js +4 -0
- package/dist/kolibri/component-DeFANBua.js +4 -0
- package/dist/kolibri/component-S6ib3O8N.js +4 -0
- package/dist/kolibri/component-XbTjo2nm.js +4 -0
- package/dist/kolibri/component-names-Ur_UbEzI.js +4 -0
- package/dist/kolibri/contrast-Ujnfz49m.js +4 -0
- package/dist/kolibri/controller-BdPVgWDs.js +4 -0
- package/dist/kolibri/dev.utils--eVyQ4zr.js +4 -0
- package/dist/kolibri/devtools-CosbyboJ.js +4 -0
- package/dist/kolibri/disabled-Cu0e92-b.js +4 -0
- package/dist/kolibri/element-focus-BYLFG-oz.js +4 -0
- package/dist/kolibri/element-interaction-C2pgnQ6t.js +4 -0
- package/dist/kolibri/events-B2UzbUT7.js +4 -0
- package/dist/kolibri/field-control-DbmtKHc1.js +4 -0
- package/dist/kolibri/group-CqAFhkgE.js +4 -0
- package/dist/kolibri/has-closer-DOs1CXhp.js +4 -0
- package/dist/kolibri/href-DQbHtp6T.js +4 -0
- package/dist/kolibri/i18n-Bcb0tuyF.js +4 -0
- package/dist/kolibri/i18n-Cf0DhAke.js +4 -0
- package/dist/kolibri/id-BXwy9iRy.js +4 -0
- package/dist/kolibri/index-Bsx5X6jK.js +6 -0
- package/dist/kolibri/index.esm.js +1 -1
- package/dist/kolibri/input-RvLnUp6C.js +4 -0
- package/dist/kolibri/input-container-BpG3WHug.js +4 -0
- package/dist/kolibri/item-Cw_jdgc6.js +4 -0
- package/dist/kolibri/item-DMttg5uX.js +4 -0
- package/dist/kolibri/item-DibV9jD7.js +4 -0
- package/dist/kolibri/item-KqTsA-5a.js +4 -0
- package/dist/kolibri/item-pool-C_4Isquh.js +4 -0
- package/dist/kolibri/keyboard-Cc1-_wSt.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-DEZIsnKw.js +4 -0
- package/dist/kolibri/label-hints-C--ftrg_.js +4 -0
- package/dist/kolibri/label-lang-segment-B8ayoizG.js +4 -0
- package/dist/kolibri/label-with-expert-slot-DXi27J4o.js +4 -0
- package/dist/kolibri/level-BV6M_zmM.js +4 -0
- package/dist/kolibri/link-target-C9qzQAQg.js +4 -0
- package/dist/kolibri/links-Dt0OhMXb.js +4 -0
- package/dist/kolibri/multiple-DQdOCIyW.js +4 -0
- package/dist/kolibri/number-value-DtZloH4P.js +4 -0
- package/dist/kolibri/open-DaO7wXMr.js +4 -0
- package/dist/kolibri/open-items-cache-C98FzYQ9.js +4 -0
- package/dist/kolibri/options-C8BsBGBl.js +4 -0
- package/dist/kolibri/options-CKAHQbcF.js +4 -0
- package/dist/kolibri/orientation-VvJMCd9m.js +4 -0
- package/dist/kolibri/placeholder-7pbjAn-x.js +4 -0
- package/dist/kolibri/props-from-config-DVxNB2Lx.js +4 -0
- package/dist/kolibri/read-only-3XuQIAB8.js +4 -0
- package/dist/kolibri/required-CNgdXJ8H.js +4 -0
- package/dist/kolibri/resolve-props-B1DQKjTD.js +4 -0
- package/dist/kolibri/resolve-props-DOaJCd7Y.js +4 -0
- package/dist/kolibri/rows-DL1whQNh.js +4 -0
- package/dist/kolibri/scroll-lock-CF_Z7MzO.js +4 -0
- package/dist/kolibri/shared-state-sWI1upS8.js +4 -0
- package/dist/kolibri/smart-button-BdA5-cUG.js +4 -0
- package/dist/kolibri/spell-check-B7J-eU5K.js +4 -0
- package/dist/kolibri/src-C2baLPDp.js +4 -0
- package/dist/kolibri/step-DmzcVFZB.js +4 -0
- package/dist/kolibri/suggestions-BJxNFtkL.js +4 -0
- package/dist/kolibri/suggestions-BXp8OhOi.js +4 -0
- package/dist/kolibri/test-component.entry.js +1 -1
- package/dist/kolibri/theme-store-CEu5d_EK.js +4 -0
- package/dist/kolibri/toggle-handler-D7oFDKvq.js +4 -0
- package/dist/kolibri/tooltip-open-tracking-DXhnfmA2.js +4 -0
- package/dist/kolibri/unique-nav-labels-BOqpcYk4.js +4 -0
- package/dist/kolibri/unit-BFYz7QfA.js +4 -0
- package/dist/kolibri/validators-DPSQyOeQ.js +4 -0
- package/dist/kolibri/value-string-Cmozozek.js +4 -0
- package/dist/kolibri/width-D5-Licpp.js +4 -0
- package/dist/types/components/abbr/component.d.ts +5 -4
- package/dist/types/components/accordion/component.d.ts +9 -8
- package/dist/types/components/alert/component.d.ts +10 -8
- package/dist/types/components/avatar/component.d.ts +7 -6
- package/dist/types/components/badge/component.d.ts +5 -4
- package/dist/types/components/breadcrumb/component.d.ts +2 -1
- package/dist/types/components/button/base.d.ts +9 -8
- package/dist/types/components/button/component.d.ts +13 -13
- package/dist/types/components/button-link/component.d.ts +11 -11
- package/dist/types/components/card/base.d.ts +6 -4
- package/dist/types/components/card/component.d.ts +5 -5
- package/dist/types/components/combobox/component.d.ts +23 -22
- package/dist/types/components/details/component.d.ts +9 -8
- package/dist/types/components/dialog/base.d.ts +6 -4
- package/dist/types/components/dialog/component.d.ts +5 -5
- package/dist/types/components/drawer/component.d.ts +7 -6
- package/dist/types/components/form/component.d.ts +2 -1
- package/dist/types/components/heading/component.d.ts +5 -4
- package/dist/types/components/icon/component.d.ts +5 -3
- package/dist/types/components/image/component.d.ts +11 -9
- package/dist/types/components/input-checkbox/component.d.ts +21 -20
- package/dist/types/components/input-color/component.d.ts +17 -17
- package/dist/types/components/input-date/component.d.ts +20 -19
- package/dist/types/components/input-email/component.d.ts +31 -30
- package/dist/types/components/input-file/component.d.ts +18 -17
- package/dist/types/components/input-number/component.d.ts +21 -20
- package/dist/types/components/input-password/component.d.ts +30 -28
- package/dist/types/components/input-radio/component.d.ts +15 -14
- package/dist/types/components/input-range/component.d.ts +15 -14
- package/dist/types/components/input-text/component.d.ts +28 -26
- package/dist/types/components/kolibri/component.d.ts +5 -4
- package/dist/types/components/link/base.d.ts +8 -6
- package/dist/types/components/link/component.d.ts +11 -13
- package/dist/types/components/link-button/component.d.ts +9 -11
- package/dist/types/components/meter/component.d.ts +19 -17
- package/dist/types/components/modal/component.d.ts +5 -5
- package/dist/types/components/nav/component.d.ts +9 -8
- package/dist/types/components/pagination/component.d.ts +11 -10
- package/dist/types/components/popover-button/base.d.ts +1 -1
- package/dist/types/components/popover-button/component.d.ts +9 -9
- package/dist/types/components/progress/component.d.ts +12 -9
- package/dist/types/components/{_skeleton/public-api → public-api}/contract.d.ts +1 -6
- package/dist/types/components/quote/component.d.ts +9 -7
- package/dist/types/components/select/component.d.ts +21 -20
- package/dist/types/components/single-select/component.d.ts +22 -20
- package/dist/types/components/skip-nav/component.d.ts +2 -1
- package/dist/types/components/spin/component.d.ts +7 -5
- package/dist/types/components/split-button/component.d.ts +13 -13
- package/dist/types/components/table-stateful/component.d.ts +11 -12
- package/dist/types/components/table-stateless/base.d.ts +7 -5
- package/dist/types/components/table-stateless/component.d.ts +7 -10
- package/dist/types/components/tabs/component.d.ts +6 -6
- package/dist/types/components/textarea/component.d.ts +29 -28
- package/dist/types/components/toolbar/component.d.ts +5 -4
- package/dist/types/components/tree/component.d.ts +3 -1
- package/dist/types/components/tree-item/component.d.ts +5 -4
- package/dist/types/components/version/component.d.ts +2 -1
- package/dist/types/components.d.ts +1424 -1154
- package/dist/types/core/component-names.d.ts +52 -54
- package/dist/types/core/i18n.d.ts +2 -2
- 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/e2e/aria-details.d.ts +2 -0
- package/dist/types/e2e/input-behavior-contract.d.ts +0 -1
- package/dist/types/functional-components/index.d.ts +0 -1
- package/dist/types/index.d.ts +3 -1
- 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 +1 -1
- package/dist/types/internal/functional-components/avatar/component.d.ts +1 -1
- package/dist/types/internal/functional-components/badge/api.d.ts +4 -4
- package/dist/types/internal/functional-components/badge/component.d.ts +3 -2
- package/dist/types/internal/functional-components/base-web-component.d.ts +5 -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/component.d.ts +1 -1
- package/dist/types/internal/functional-components/button/item.d.ts +1 -3
- package/dist/types/internal/functional-components/card/api.d.ts +2 -2
- package/dist/types/internal/functional-components/card/component.d.ts +5 -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 +7 -3
- package/dist/types/internal/functional-components/dialog/item.d.ts +2 -2
- package/dist/types/internal/functional-components/drawer/api.d.ts +2 -2
- package/dist/types/internal/functional-components/drawer/component.d.ts +1 -1
- 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 -5
- 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 +5 -0
- package/dist/types/internal/functional-components/form-field/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/default-input-props.d.ts +4 -3
- package/dist/types/internal/functional-components/form-field/field-control.d.ts +2 -2
- package/dist/types/internal/functional-components/form-field/label.d.ts +2 -1
- package/dist/types/internal/functional-components/generic-types.d.ts +6 -5
- package/dist/types/internal/functional-components/heading/api.d.ts +2 -2
- package/dist/types/internal/functional-components/heading/component.d.ts +1 -1
- 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 +6 -6
- package/dist/types/internal/functional-components/input-date/api.d.ts +6 -6
- package/dist/types/internal/functional-components/input-email/api.d.ts +6 -6
- package/dist/types/internal/functional-components/input-file/api.d.ts +6 -6
- package/dist/types/internal/functional-components/input-number/api.d.ts +6 -6
- package/dist/types/internal/functional-components/input-password/api.d.ts +6 -6
- 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 +6 -6
- package/dist/types/internal/functional-components/kolibri/api.d.ts +1 -1
- package/dist/types/internal/functional-components/kolibri/component.d.ts +1 -1
- package/dist/types/internal/functional-components/link/api.d.ts +2 -2
- package/dist/types/internal/functional-components/link/component.d.ts +1 -1
- package/dist/types/internal/functional-components/link/item.d.ts +2 -1
- package/dist/types/internal/functional-components/meter/api.d.ts +11 -2
- package/dist/types/internal/functional-components/meter/component.d.ts +4 -1
- package/dist/types/internal/functional-components/nav/api.d.ts +2 -2
- package/dist/types/internal/functional-components/nav/component.d.ts +1 -1
- package/dist/types/internal/functional-components/pagination/api.d.ts +2 -2
- package/dist/types/internal/functional-components/pagination/component.d.ts +2 -2
- package/dist/types/internal/functional-components/pagination/item.d.ts +10 -6
- package/dist/types/internal/functional-components/pagination/page-size-select.d.ts +3 -0
- package/dist/types/internal/functional-components/popover-button/api.d.ts +2 -2
- package/dist/types/internal/functional-components/progress/api.d.ts +11 -2
- package/dist/types/internal/functional-components/progress/component.d.ts +1 -1
- package/dist/types/internal/functional-components/props-from-config.d.ts +4 -1
- package/dist/types/internal/functional-components/quote/api.d.ts +2 -2
- package/dist/types/internal/functional-components/quote/component.d.ts +1 -1
- 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/span/api.d.ts +2 -2
- package/dist/types/internal/functional-components/span/component.d.ts +2 -1
- package/dist/types/internal/functional-components/spin/api.d.ts +1 -1
- package/dist/types/internal/functional-components/spin/component.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/model.d.ts +2 -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 -1
- package/dist/types/internal/functional-components/table-stateless/table-model.d.ts +4 -7
- package/dist/types/internal/functional-components/tabs/api.d.ts +2 -2
- package/dist/types/internal/functional-components/text-input/api.d.ts +6 -6
- package/dist/types/internal/functional-components/textarea/api.d.ts +4 -4
- package/dist/types/internal/functional-components/toolbar/api.d.ts +2 -2
- package/dist/types/internal/functional-components/tooltip/api.d.ts +2 -2
- package/dist/types/internal/functional-components/tooltip/behavior.d.ts +2 -1
- 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/props/accept.d.ts +2 -1
- package/dist/types/internal/props/access-key.d.ts +3 -2
- package/dist/types/internal/props/active.d.ts +3 -2
- package/dist/types/internal/props/adjust-height.d.ts +3 -2
- package/dist/types/internal/props/alert-callbacks.d.ts +1 -3
- package/dist/types/internal/props/alert-type.d.ts +1 -1
- package/dist/types/internal/props/alert-variant.d.ts +1 -1
- package/dist/types/internal/props/alert.d.ts +3 -2
- package/dist/types/internal/props/allow-markdown.d.ts +3 -2
- package/dist/types/internal/props/allow-multi-sort.d.ts +3 -2
- package/dist/types/internal/props/alt.d.ts +3 -2
- package/dist/types/internal/props/aria-controls.d.ts +3 -2
- package/dist/types/internal/props/aria-current-value.d.ts +1 -1
- package/dist/types/internal/props/aria-description.d.ts +3 -2
- package/dist/types/internal/props/aria-details.d.ts +3 -2
- package/dist/types/internal/props/aria-expanded.d.ts +1 -1
- package/dist/types/internal/props/aria-has-popup.d.ts +1 -1
- package/dist/types/internal/props/aria-owns.d.ts +3 -2
- package/dist/types/internal/props/aria-selected.d.ts +1 -1
- package/dist/types/internal/props/auto-complete.d.ts +1 -1
- package/dist/types/internal/props/badge-text.d.ts +3 -2
- package/dist/types/internal/props/boundary-count.d.ts +3 -2
- package/dist/types/internal/props/breadcrumb-links.d.ts +1 -4
- package/dist/types/internal/props/button-callbacks.d.ts +1 -3
- package/dist/types/internal/props/button-type.d.ts +1 -1
- package/dist/types/internal/props/card-callbacks.d.ts +1 -3
- package/dist/types/internal/props/checkbox-value.d.ts +1 -1
- package/dist/types/internal/props/checked.d.ts +3 -2
- package/dist/types/internal/props/collapsible-callbacks.d.ts +1 -3
- package/dist/types/internal/props/collapsible.d.ts +3 -2
- package/dist/types/internal/props/color.d.ts +1 -1
- package/dist/types/internal/props/custom-class.d.ts +3 -2
- package/dist/types/internal/props/dialog-callbacks.d.ts +1 -1
- package/dist/types/internal/props/disabled.d.ts +3 -2
- package/dist/types/internal/props/download.d.ts +2 -1
- package/dist/types/internal/props/drawer-callbacks.d.ts +1 -1
- package/dist/types/internal/props/error-list.d.ts +1 -1
- package/dist/types/internal/props/fixed-cols.d.ts +1 -1
- package/dist/types/internal/props/form-callbacks.d.ts +1 -3
- package/dist/types/internal/props/has-clear-button.d.ts +3 -2
- package/dist/types/internal/props/has-closer.d.ts +3 -2
- package/dist/types/internal/props/has-compact-button.d.ts +3 -2
- package/dist/types/internal/props/has-counter.d.ts +3 -2
- package/dist/types/internal/props/has-create-button.d.ts +3 -2
- package/dist/types/internal/props/has-icons-when-expanded.d.ts +3 -2
- package/dist/types/internal/props/has-settings-menu.d.ts +3 -2
- package/dist/types/internal/props/helpers/factory.d.ts +13 -6
- package/dist/types/internal/props/helpers/normalizers.d.ts +2 -1
- package/dist/types/internal/props/helpers/validators.d.ts +5 -0
- package/dist/types/internal/props/hide-label.d.ts +3 -2
- package/dist/types/internal/props/hide-msg.d.ts +3 -2
- package/dist/types/internal/props/high.d.ts +3 -2
- package/dist/types/internal/props/hint.d.ts +3 -2
- package/dist/types/internal/props/hints/label-hints.d.ts +2 -1
- package/dist/types/internal/props/horizontal-icons.d.ts +1 -1
- package/dist/types/internal/props/href.d.ts +3 -3
- package/dist/types/internal/props/icons-input-checkbox.d.ts +1 -1
- package/dist/types/internal/props/icons.d.ts +1 -1
- package/dist/types/internal/props/id.d.ts +3 -2
- package/dist/types/internal/props/image-callbacks.d.ts +1 -3
- package/dist/types/internal/props/indeterminate.d.ts +3 -2
- package/dist/types/internal/props/index.d.ts +2 -1
- package/dist/types/internal/props/inline.d.ts +3 -2
- package/dist/types/internal/props/input-date-type.d.ts +1 -1
- package/dist/types/internal/props/input-text-type.d.ts +1 -1
- package/dist/types/internal/props/kolibri-color.d.ts +1 -1
- package/dist/types/internal/props/label-align.d.ts +1 -1
- package/dist/types/internal/props/label-decorative.d.ts +4 -0
- package/dist/types/internal/props/label-lang-segment.d.ts +4 -0
- package/dist/types/internal/props/label-with-expert-slot.d.ts +3 -2
- package/dist/types/internal/props/label.d.ts +2 -1
- package/dist/types/internal/props/labeled.d.ts +3 -2
- package/dist/types/internal/props/level.d.ts +1 -1
- package/dist/types/internal/props/link-callbacks.d.ts +1 -3
- package/dist/types/internal/props/link-role.d.ts +1 -1
- package/dist/types/internal/props/link-target.d.ts +3 -2
- package/dist/types/internal/props/loading.d.ts +1 -1
- package/dist/types/internal/props/low.d.ts +3 -2
- package/dist/types/internal/props/max-length-behavior.d.ts +1 -1
- package/dist/types/internal/props/max-length.d.ts +2 -1
- package/dist/types/internal/props/max.d.ts +3 -2
- package/dist/types/internal/props/min.d.ts +3 -2
- package/dist/types/internal/props/multiple.d.ts +3 -2
- package/dist/types/internal/props/name.d.ts +3 -2
- package/dist/types/internal/props/nav-links.d.ts +1 -3
- package/dist/types/internal/props/open.d.ts +3 -2
- package/dist/types/internal/props/optimum.d.ts +3 -2
- package/dist/types/internal/props/options-with-optgroup.d.ts +1 -1
- package/dist/types/internal/props/orientation.d.ts +1 -1
- package/dist/types/internal/props/page-size-options.d.ts +1 -1
- package/dist/types/internal/props/page-size.d.ts +3 -2
- package/dist/types/internal/props/page.d.ts +3 -2
- package/dist/types/internal/props/pagination-callbacks.d.ts +1 -3
- package/dist/types/internal/props/pagination-has-buttons.d.ts +1 -1
- package/dist/types/internal/props/pagination-max.d.ts +3 -2
- package/dist/types/internal/props/pagination-position.d.ts +1 -1
- package/dist/types/internal/props/pattern.d.ts +2 -1
- package/dist/types/internal/props/placeholder.d.ts +2 -1
- package/dist/types/internal/props/quote.d.ts +3 -2
- package/dist/types/internal/props/radio-orientation.d.ts +1 -1
- package/dist/types/internal/props/radio-value.d.ts +1 -1
- package/dist/types/internal/props/read-only.d.ts +3 -2
- package/dist/types/internal/props/required-text.d.ts +1 -1
- package/dist/types/internal/props/required.d.ts +3 -2
- package/dist/types/internal/props/resize.d.ts +1 -1
- package/dist/types/internal/props/rows.d.ts +2 -1
- package/dist/types/internal/props/secondary-headline.d.ts +3 -2
- package/dist/types/internal/props/select-value.d.ts +1 -1
- package/dist/types/internal/props/selected.d.ts +3 -2
- package/dist/types/internal/props/short-key.d.ts +3 -2
- package/dist/types/internal/props/show.d.ts +3 -2
- package/dist/types/internal/props/sibling-count.d.ts +3 -2
- package/dist/types/internal/props/sizes.d.ts +3 -2
- package/dist/types/internal/props/skip-nav-links.d.ts +1 -3
- package/dist/types/internal/props/smart-button.d.ts +2 -2
- package/dist/types/internal/props/span-icons.d.ts +1 -1
- package/dist/types/internal/props/spell-check.d.ts +2 -1
- package/dist/types/internal/props/src.d.ts +3 -2
- package/dist/types/internal/props/srcset.d.ts +3 -2
- package/dist/types/internal/props/suggestions.d.ts +1 -1
- package/dist/types/internal/props/sync-value-by-selector.d.ts +2 -1
- package/dist/types/internal/props/tab-behavior.d.ts +1 -1
- package/dist/types/internal/props/tab-index.d.ts +3 -2
- package/dist/types/internal/props/table-data-foot.d.ts +1 -1
- package/dist/types/internal/props/table-data.d.ts +1 -1
- package/dist/types/internal/props/table-headers.d.ts +3 -3
- package/dist/types/internal/props/table-loading.d.ts +3 -2
- package/dist/types/internal/props/table-pagination.d.ts +1 -1
- package/dist/types/internal/props/table-selection.d.ts +1 -1
- package/dist/types/internal/props/table-stateful-headers.d.ts +3 -3
- package/dist/types/internal/props/tabs-callbacks.d.ts +1 -1
- package/dist/types/internal/props/tabs.d.ts +1 -1
- package/dist/types/internal/props/toolbar-items.d.ts +1 -1
- package/dist/types/internal/props/touched.d.ts +3 -2
- package/dist/types/internal/props/unit.d.ts +3 -2
- package/dist/types/internal/props/value-number-clamped.d.ts +4 -3
- package/dist/types/internal/props/value-string.d.ts +2 -1
- package/dist/types/internal/props/variant-dialog.d.ts +1 -1
- package/dist/types/internal/props/variant-input-checkbox.d.ts +1 -1
- package/dist/types/internal/props/variant-progress.d.ts +1 -1
- package/dist/types/internal/props/variant-quote.d.ts +1 -1
- package/dist/types/internal/props/variant-spin.d.ts +1 -1
- package/dist/types/internal/props/variant.d.ts +1 -1
- package/dist/types/internal/props/visibility-toggle.d.ts +3 -2
- package/dist/types/internal/props/width.d.ts +3 -2
- 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 +162 -23
- package/dist/types/schema/components/alert.d.ts +2 -2
- package/dist/types/schema/components/badge.d.ts +2 -2
- package/dist/types/schema/components/breadcrumb.d.ts +2 -2
- package/dist/types/schema/components/card.d.ts +2 -2
- package/dist/types/schema/components/collapsible.d.ts +3 -3
- package/dist/types/schema/components/dialog.d.ts +3 -3
- package/dist/types/schema/components/drawer.d.ts +3 -3
- package/dist/types/schema/components/pagination.d.ts +2 -2
- package/dist/types/schema/components/split-button.d.ts +2 -2
- package/dist/types/schema/components/table.d.ts +4 -5
- package/dist/types/schema/components/tableStateless.d.ts +6 -5
- package/dist/types/schema/components/tabs.d.ts +2 -2
- package/dist/types/schema/components/tree-item.d.ts +2 -2
- package/dist/types/schema/i18n-keys.d.ts +29 -28
- package/dist/types/schema/index.d.ts +1 -1
- package/dist/types/schema/props/allow-markdown.d.ts +1 -0
- package/dist/types/schema/props/aria-controls.d.ts +1 -2
- package/dist/types/schema/props/aria-details.d.ts +0 -2
- package/dist/types/schema/props/aria-labelledby.d.ts +1 -2
- package/dist/types/schema/props/boundary-count.d.ts +1 -0
- package/dist/types/schema/props/has-clear-button.d.ts +1 -0
- package/dist/types/schema/props/has-compact-button.d.ts +1 -2
- package/dist/types/schema/props/high.d.ts +1 -0
- package/dist/types/schema/props/index.d.ts +20 -3
- package/dist/types/schema/props/label.d.ts +17 -2
- package/dist/types/schema/props/labeled.d.ts +1 -0
- package/dist/types/schema/props/low.d.ts +1 -0
- package/dist/types/schema/props/min.d.ts +1 -0
- package/dist/types/schema/props/optimum.d.ts +1 -0
- package/dist/types/schema/props/page-size.d.ts +1 -0
- package/dist/types/schema/props/page.d.ts +1 -0
- package/dist/types/schema/props/quote.d.ts +0 -5
- package/dist/types/schema/props/secondary-headline.d.ts +1 -0
- package/dist/types/schema/props/selected.d.ts +1 -0
- package/dist/types/schema/props/sibling-count.d.ts +1 -0
- package/dist/types/schema/props/sizes.d.ts +1 -0
- package/dist/types/schema/props/src.d.ts +1 -0
- package/dist/types/schema/props/srcset.d.ts +1 -0
- package/dist/types/schema/props/table-callbacks.d.ts +3 -3
- package/dist/types/schema/props/table-headers.d.ts +3 -0
- package/dist/types/schema/props/table-loading.d.ts +1 -0
- package/dist/types/schema/props/value-number-clamped.d.ts +1 -0
- package/dist/types/schema/props/value-string.d.ts +1 -0
- package/dist/types/schema/types/button-link-text.d.ts +4 -4
- package/dist/types/schema/utils/dev.utils.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1 -1
- package/dist/types/utils/aria-labelledby.d.ts +0 -6
- package/dist/types/utils/dev.utils.d.ts +0 -2
- package/dist/types/utils/element-focus.d.ts +1 -0
- package/dist/types/utils/element-interaction.d.ts +0 -1
- package/dist/types/utils/element-themed.d.ts +1 -2
- package/dist/types/utils/unique-nav-labels.d.ts +3 -2
- package/doc/abbr.md +3 -3
- package/doc/accordion.md +1 -1
- package/doc/alert.md +1 -1
- package/doc/badge.md +21 -6
- package/doc/breadcrumb.md +4 -4
- package/doc/button-link.md +2 -2
- package/doc/button.md +14 -1
- package/doc/card.md +2 -2
- package/doc/combobox.md +23 -23
- package/doc/details.md +1 -1
- package/doc/dialog.md +1 -1
- package/doc/drawer.md +1 -1
- package/doc/heading.md +5 -5
- package/doc/input-checkbox.md +38 -23
- 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-button.md +5 -5
- package/doc/link.md +19 -6
- package/doc/meter.md +1 -1
- package/doc/modal.md +1 -1
- package/doc/pagination.md +13 -13
- package/doc/popover-button.md +18 -18
- package/doc/progress.md +7 -7
- package/doc/quote.md +19 -6
- package/doc/select.md +24 -24
- package/doc/single-select.md +24 -24
- package/doc/split-button.md +1 -1
- package/doc/table-stateful.md +33 -16
- package/doc/table-stateless.md +31 -15
- package/doc/textarea.md +3 -3
- package/doc/tree-item.md +6 -6
- package/package.json +24 -23
- package/vscode-custom-data.json +41 -58
- package/dist/cjs/align-NV74hwT0.js +0 -22
- package/dist/cjs/api-BBdhCCKv.js +0 -73
- package/dist/cjs/api-BlwpFlt1.js +0 -96
- package/dist/cjs/ariaCurrentService-3051l6MI.js +0 -28
- package/dist/cjs/block-bem-CNP2_qFi.js +0 -18
- package/dist/cjs/bootstrap-BbvuwOW2.js +0 -33
- package/dist/cjs/clsx-Bm_HQUnh.js +0 -54
- package/dist/cjs/common-DRvysX2o.js +0 -1741
- package/dist/cjs/component-B_EvGSM0.js +0 -22
- package/dist/cjs/component-Byx8Sl1k.js +0 -20
- package/dist/cjs/component-C-jt8Zgv.js +0 -36
- package/dist/cjs/component-CyFwKqlx.js +0 -9287
- package/dist/cjs/component-DK-qYG29.js +0 -29
- package/dist/cjs/component-DMaPKMLG.js +0 -14
- package/dist/cjs/component-kxdSa2S4.js +0 -36
- package/dist/cjs/component-names-EMVnNhTP.js +0 -115
- package/dist/cjs/component-plNY-StC.js +0 -13
- package/dist/cjs/component-x3LvOAC0.js +0 -18
- package/dist/cjs/disabled-wIEbt0Gz.js +0 -10
- package/dist/cjs/has-closer-4Czygcsx.js +0 -10
- package/dist/cjs/href-B2aqb6-P.js +0 -12
- package/dist/cjs/input-tgqPNmdz.js +0 -20
- package/dist/cjs/isArray-BOIOdEQh.js +0 -163
- package/dist/cjs/kol-click-button.cjs.entry.js +0 -51
- package/dist/cjs/kol-skeleton.cjs.entry.js +0 -105
- package/dist/cjs/kol-tooltip-wc.cjs.entry.js +0 -82
- package/dist/cjs/label-DeUoiK6M.js +0 -39
- package/dist/cjs/label-with-expert-slot-B1k6ppMF.js +0 -10
- package/dist/cjs/level-DGDM1aXl.js +0 -11
- package/dist/cjs/link-target-PjKWXgno.js +0 -10
- package/dist/cjs/links-0QyGYlHz.js +0 -15
- package/dist/cjs/multiple-BoCGiGxR.js +0 -10
- package/dist/cjs/name-BZcwC1Zd.js +0 -10
- package/dist/cjs/open-ui_yY8GH.js +0 -10
- package/dist/cjs/placeholder-CCYSgsip.js +0 -10
- package/dist/cjs/read-only-KKKbZyk5.js +0 -10
- package/dist/cjs/required-CeiUcxrv.js +0 -10
- package/dist/cjs/resolve-props-BcGzqFFR.js +0 -58
- package/dist/cjs/resolve-props-Cv67cUZA.js +0 -60
- package/dist/cjs/rows-BWBG8nDk.js +0 -10
- package/dist/cjs/smart-button-DQryZ9gX.js +0 -18
- package/dist/cjs/spell-check-DHRle7ui.js +0 -10
- package/dist/cjs/src-B6CU1zD0.js +0 -10
- package/dist/cjs/step-kuREYDVE.js +0 -10
- package/dist/cjs/suggestions-b21ak6-A.js +0 -24
- package/dist/cjs/unique-nav-labels-CuHbVHx9.js +0 -22
- package/dist/cjs/unit-DHpzrXY7.js +0 -13
- package/dist/cjs/value-string-BtfdnGIb.js +0 -10
- package/dist/cjs/variant-CxQO5qFu.js +0 -106
- package/dist/collection/components/@else/all/component.js +0 -17
- package/dist/collection/components/@else/counter/component.js +0 -29
- package/dist/collection/components/_skeleton/web-components/click-button/component.js +0 -95
- package/dist/collection/components/_skeleton/web-components/skeleton/component.js +0 -205
- package/dist/collection/components/component-list.js +0 -105
- package/dist/collection/components/heading/validation.js +0 -11
- package/dist/collection/components/tooltip/component.js +0 -204
- package/dist/collection/functional-components/Heading/index.js +0 -5
- 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/form-field/custom-suggestions.test.js +0 -55
- package/dist/collection/internal/functional-components/form-field/field-control.test.js +0 -57
- package/dist/collection/internal/functional-components/form-field/input-shell.test.js +0 -43
- package/dist/collection/internal/functional-components/form-field/select.test.js +0 -140
- package/dist/collection/internal/functional-components/form-field/snapshot.test.js +0 -43
- package/dist/collection/internal/functional-components/form-field/textarea.test.js +0 -18
- package/dist/collection/internal/functional-components/popover/snapshot.test.js +0 -15
- 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/internal/functional-components/span/snapshot.test.js +0 -70
- package/dist/collection/internal/props/hints/index.js +0 -4
- package/dist/collection/internal/props/pagination-label.js +0 -6
- package/dist/collection/schema/components/input.js +0 -4
- package/dist/collection/schema/props/table-header-cells.js +0 -36
- package/dist/collection/schema/props/variant/spin.js +0 -8
- package/dist/collection/schema/props/variant-quote.js +0 -11
- package/dist/collection/schema/validators/window.js +0 -4
- package/dist/components/align.js +0 -4
- package/dist/components/api.js +0 -4
- package/dist/components/api2.js +0 -4
- package/dist/components/aria-labelledby.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/isArray.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/kol-tooltip-wc.d.ts +0 -11
- package/dist/components/kol-tooltip-wc.js +0 -4
- package/dist/components/name.js +0 -4
- package/dist/components/variant.js +0 -4
- package/dist/esm/align-DsFuqEf5.js +0 -20
- package/dist/esm/api-CvPkoAAG.js +0 -67
- package/dist/esm/ariaCurrentService-YoLNpD5S.js +0 -25
- package/dist/esm/block-bem-DXqmf3Te.js +0 -16
- package/dist/esm/bootstrap-DTVsVq0w.js +0 -28
- package/dist/esm/clsx-COFh-Vc8.js +0 -52
- package/dist/esm/common-D03JQJgy.js +0 -1695
- package/dist/esm/component-BkjWlzLc.js +0 -33
- package/dist/esm/component-C9mkZ63L.js +0 -18
- package/dist/esm/component-CySyXSru.js +0 -19
- package/dist/esm/component-DeWynlzi.js +0 -12
- package/dist/esm/component-DqHI-AwD.js +0 -27
- package/dist/esm/component-DxddScWx.js +0 -34
- package/dist/esm/component-DzVHCXnG.js +0 -16
- package/dist/esm/component-Ik_-HAMT.js +0 -9283
- package/dist/esm/component-YhEwg1LK.js +0 -11
- package/dist/esm/component-names-Dhbtt0mX.js +0 -113
- package/dist/esm/href-OaK1sDT5.js +0 -9
- package/dist/esm/isArray-CcrBs4JM.js +0 -156
- package/dist/esm/kol-click-button.entry.js +0 -49
- package/dist/esm/kol-skeleton.entry.js +0 -103
- package/dist/esm/kol-tooltip-wc.entry.js +0 -80
- package/dist/esm/label-BNtqGdMQ.js +0 -35
- package/dist/esm/label-with-expert-slot-aAOUzLo3.js +0 -8
- package/dist/esm/name-m3owaZxH.js +0 -8
- package/dist/esm/rows-CUHDEUm9.js +0 -8
- package/dist/esm/tooltip-open-tracking-D3tCiiGP.js +0 -18
- package/dist/esm/unique-nav-labels-Bh3w7dCH.js +0 -19
- package/dist/kolibri/Heading-0teSdkFq.js +0 -4
- package/dist/kolibri/access-and-short-key-ijzCZfHm.js +0 -4
- package/dist/kolibri/align-DsFuqEf5.js +0 -4
- package/dist/kolibri/api-B9mpTRGa.js +0 -4
- package/dist/kolibri/api-CvPkoAAG.js +0 -4
- package/dist/kolibri/api-hAvZrw9X.js +0 -4
- package/dist/kolibri/app-globals-Dff_iJYF.js +0 -4
- package/dist/kolibri/aria-labelledby-BRToXqsQ.js +0 -4
- package/dist/kolibri/ariaCurrentService-YoLNpD5S.js +0 -4
- package/dist/kolibri/base-7FEvBJ3L.js +0 -4
- package/dist/kolibri/base-COT79ELt.js +0 -4
- package/dist/kolibri/base-CsJWjTJl.js +0 -4
- package/dist/kolibri/base-Df1bwC8d.js +0 -4
- package/dist/kolibri/base-web-component-Bcoukts3.js +0 -4
- package/dist/kolibri/base-web-component-C1XSz7ML.js +0 -4
- package/dist/kolibri/base-web-component-cTyj95G-.js +0 -4
- package/dist/kolibri/behavior-BMW-_4Oy.js +0 -4
- package/dist/kolibri/behavior-BlS6DO8T.js +0 -4
- package/dist/kolibri/behavior-Zr6qAX7F.js +0 -4
- package/dist/kolibri/bem-registry-BlJAUViA.js +0 -4
- package/dist/kolibri/block-bem-DXqmf3Te.js +0 -4
- package/dist/kolibri/bootstrap-DTVsVq0w.js +0 -4
- package/dist/kolibri/clsx-COFh-Vc8.js +0 -4
- package/dist/kolibri/color-9CMp_pOq.js +0 -4
- package/dist/kolibri/common-D03JQJgy.js +0 -4
- package/dist/kolibri/component-BkjWlzLc.js +0 -4
- package/dist/kolibri/component-BmJGOcby.js +0 -4
- package/dist/kolibri/component-C9mkZ63L.js +0 -4
- package/dist/kolibri/component-C_Te18y_.js +0 -4
- package/dist/kolibri/component-CySyXSru.js +0 -4
- package/dist/kolibri/component-DHl33p9J.js +0 -4
- package/dist/kolibri/component-DeWynlzi.js +0 -4
- package/dist/kolibri/component-DqHI-AwD.js +0 -4
- package/dist/kolibri/component-DxddScWx.js +0 -4
- package/dist/kolibri/component-DzVHCXnG.js +0 -4
- package/dist/kolibri/component-Ik_-HAMT.js +0 -4
- package/dist/kolibri/component-YhEwg1LK.js +0 -4
- package/dist/kolibri/component-names-Dhbtt0mX.js +0 -4
- package/dist/kolibri/contrast-BK5uVXeb.js +0 -4
- package/dist/kolibri/controller-Bf-CAo4Q.js +0 -4
- package/dist/kolibri/dev.utils-BgjegQC8.js +0 -4
- package/dist/kolibri/devtools-4nOArEGl.js +0 -4
- package/dist/kolibri/disabled-BaPgTuFO.js +0 -4
- package/dist/kolibri/element-focus-Cp994Rrk.js +0 -4
- package/dist/kolibri/element-interaction-Cy9tx3Sx.js +0 -4
- package/dist/kolibri/events-BIT-JUP2.js +0 -4
- package/dist/kolibri/field-control-Brx62dJV.js +0 -4
- package/dist/kolibri/group-Ce5pMiZJ.js +0 -4
- package/dist/kolibri/has-closer-C9L79ect.js +0 -4
- package/dist/kolibri/href-OaK1sDT5.js +0 -4
- package/dist/kolibri/i18n-DRQl0u--.js +0 -4
- package/dist/kolibri/i18n-Dl6Jjofb.js +0 -4
- package/dist/kolibri/index-D5UV99lE.js +0 -6
- package/dist/kolibri/input-DjQorwQ5.js +0 -4
- package/dist/kolibri/input-container-RSmfcRgK.js +0 -4
- package/dist/kolibri/isArray-CcrBs4JM.js +0 -4
- package/dist/kolibri/item-2cprk9ut.js +0 -4
- package/dist/kolibri/item-Bfk2xd-D.js +0 -4
- package/dist/kolibri/item-D9_O5WAR.js +0 -4
- package/dist/kolibri/item-DMWn_IlJ.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/kol-tooltip-wc.entry.js +0 -4
- package/dist/kolibri/label-BNtqGdMQ.js +0 -4
- package/dist/kolibri/label-with-expert-slot-aAOUzLo3.js +0 -4
- package/dist/kolibri/level-Df663c7y.js +0 -4
- package/dist/kolibri/link-target-C7_smSbV.js +0 -4
- package/dist/kolibri/links-B0xbzBwU.js +0 -4
- package/dist/kolibri/multiple-CYHm7rd3.js +0 -4
- package/dist/kolibri/name-m3owaZxH.js +0 -4
- package/dist/kolibri/number-value-CMedWR58.js +0 -4
- package/dist/kolibri/open-DCGNTmvC.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-CR431ims.js +0 -4
- package/dist/kolibri/orientation-C9FRNmPD.js +0 -4
- package/dist/kolibri/placeholder-Bwzvbwhh.js +0 -4
- package/dist/kolibri/read-only-C5fDsZVK.js +0 -4
- package/dist/kolibri/required-CC0212MQ.js +0 -4
- package/dist/kolibri/resolve-props-47S-r31C.js +0 -4
- package/dist/kolibri/resolve-props-CnHCiXuG.js +0 -4
- package/dist/kolibri/rows-CUHDEUm9.js +0 -4
- package/dist/kolibri/scroll-lock-DQGTnLvW.js +0 -4
- package/dist/kolibri/smart-button-BHM06d-t.js +0 -4
- package/dist/kolibri/spell-check-DiSedaOR.js +0 -4
- package/dist/kolibri/src-CsLEg--w.js +0 -4
- package/dist/kolibri/step-BxSThOke.js +0 -4
- package/dist/kolibri/suggestions-B79TOsF_.js +0 -4
- package/dist/kolibri/suggestions-C38q-5JU.js +0 -4
- package/dist/kolibri/toggle-handler-CQ0FhBmD.js +0 -4
- package/dist/kolibri/tooltip-open-tracking-D3tCiiGP.js +0 -4
- package/dist/kolibri/unique-nav-labels-Bh3w7dCH.js +0 -4
- package/dist/kolibri/unit-BgjPEae-.js +0 -4
- package/dist/kolibri/value-string-BDfywbme.js +0 -4
- package/dist/kolibri/variant-PJN56KWi.js +0 -4
- package/dist/kolibri/width-CAS8lhOU.js +0 -4
- package/dist/types/components/@else/all/component.d.ts +0 -12
- package/dist/types/components/@else/counter/component.d.ts +0 -9
- package/dist/types/components/_skeleton/web-components/click-button/component.d.ts +0 -14
- package/dist/types/components/_skeleton/web-components/skeleton/component.d.ts +0 -25
- package/dist/types/components/component-list.d.ts +0 -7
- package/dist/types/components/heading/validation.d.ts +0 -3
- package/dist/types/components/tooltip/component.d.ts +0 -19
- package/dist/types/functional-components/Heading/index.d.ts +0 -2
- 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/internal/props/hints/index.d.ts +0 -1
- package/dist/types/internal/props/pagination-label.d.ts +0 -3
- package/dist/types/schema/components/input.d.ts +0 -0
- package/dist/types/schema/props/table-header-cells.d.ts +0 -11
- package/dist/types/schema/props/variant/spin.d.ts +0 -8
- package/dist/types/schema/props/variant-quote.d.ts +0 -7
- package/dist/types/schema/validators/window.d.ts +0 -0
- package/doc/_skeleton.md +0 -79
- package/doc/skeleton.md +0 -54
- /package/dist/{types/internal/functional-components/form-field/custom-suggestions.test.d.ts → collection/schema/props/allow-markdown.js} +0 -0
- /package/dist/{types/internal/functional-components/form-field/field-control.test.d.ts → collection/schema/props/boundary-count.js} +0 -0
- /package/dist/{types/internal/functional-components/form-field/input-shell.test.d.ts → collection/schema/props/has-clear-button.js} +0 -0
- /package/dist/{types/internal/functional-components/form-field/select.test.d.ts → collection/schema/props/high.js} +0 -0
- /package/dist/{types/internal/functional-components/form-field/snapshot.test.d.ts → collection/schema/props/labeled.js} +0 -0
- /package/dist/{types/internal/functional-components/form-field/textarea.test.d.ts → collection/schema/props/low.js} +0 -0
- /package/dist/{types/internal/functional-components/popover/snapshot.test.d.ts → collection/schema/props/min.js} +0 -0
- /package/dist/{types/internal/functional-components/span/snapshot.test.d.ts → collection/schema/props/optimum.js} +0 -0
|
@@ -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 t,n,r,o={exports:{}},a=(t||(t=1,n=o.exports,r=function(){var e=function(){},t="undefined",n=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),r=["trace","debug","info","warn","error"],o={},a=null;function i(e,t){var n=e[t];if("function"==typeof n.bind)return n.bind(e);try{return Function.prototype.bind.call(n,e)}catch(t){return function(){return Function.prototype.apply.apply(n,[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 l(){for(var n=this.getLevel(),o=0;o<r.length;o++){var a=r[o];this[a]=o<n?e:this.methodFactory(a,n,this.name)}if(this.log=this.debug,typeof console===t&&n<this.levels.SILENT)return"No console available for logging"}function c(e){return function(){typeof console!==t&&(l.call(this),this[e].apply(this,arguments))}}function u(r,o,a){return function(r){return"debug"===r&&(r="log"),typeof console!==t&&("trace"===r&&n?s:void 0!==console[r]?i(console,r):void 0!==console.log?i(console,"log"):e)}(r)||c.apply(this,arguments)}function f(e,n){var i,s,c,f=this,d="loglevel";function p(){var e;if(typeof window!==t&&d){try{e=window.localStorage[d]}catch(e){}if(typeof e===t)try{var n=window.document.cookie,r=encodeURIComponent(d),o=n.indexOf(r+"=");-1!==o&&(e=/^([^;]+)/.exec(n.slice(o+r.length+1))[1])}catch(e){}return void 0===f.levels[e]&&(e=void 0),e}}function g(e){var t=e;if("string"==typeof t&&void 0!==f.levels[t.toUpperCase()]&&(t=f.levels[t.toUpperCase()]),"number"==typeof t&&t>=0&&t<=f.levels.SILENT)return t;throw new TypeError("log.setLevel() called with invalid level: "+e)}"string"==typeof e?d+=":"+e:"symbol"==typeof e&&(d=void 0),f.name=e,f.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},f.methodFactory=n||u,f.getLevel=function(){return null!=c?c:null!=s?s:i},f.setLevel=function(e,n){return c=g(e),!1!==n&&function(e){var n=(r[e]||"silent").toUpperCase();if(typeof window!==t&&d){try{return void(window.localStorage[d]=n)}catch(e){}try{window.document.cookie=encodeURIComponent(d)+"="+n+";"}catch(e){}}}(c),l.call(f)},f.setDefaultLevel=function(e){s=g(e),p()||f.setLevel(e,!1)},f.resetLevel=function(){c=null,function(){if(typeof window!==t&&d){try{window.localStorage.removeItem(d)}catch(e){}try{window.document.cookie=encodeURIComponent(d)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(e){}}}(),l.call(f)},f.enableAll=function(e){f.setLevel(f.levels.TRACE,e)},f.disableAll=function(e){f.setLevel(f.levels.SILENT,e)},f.rebuild=function(){if(a!==f&&(i=g(a.getLevel())),l.call(f),a===f)for(var e in o)o[e].rebuild()},i=g(a?a.getLevel():"WARN");var b=p();null!=b&&(c=g(b)),l.call(f)}(a=new f).getLogger=function(e){if("symbol"!=typeof e&&"string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var t=o[e];return t||(t=o[e]=new f(e,a.methodFactory)),t};var d=typeof window!==t?window.log:void 0;return a.noConflict=function(){return typeof window!==t&&window.log===a&&(window.log=d),a},a.getLoggers=function(){return o},a.default=a,a},o.exports?o.exports=r():n.log=r()),o.exports),i=e(a);const s={A11yUi:{CSS_STYLE_CACHE:new Map,FEATURES:{},IS_TEST_ENVIRONMENT:(()=>{const e=typeof process<"u"&&process.env?process.env:{},t="test"===e.NODE_ENV,n="VITEST"in e,r="JEST_WORKER_ID"in e,o="PLAYWRIGHT_TEST_BASE_URL"in e,a="true"===e.CI,i="true"===e.TEST||"true"===e.IS_TEST,s=typeof navigator<"u"&&!0===navigator.webdriver,l=typeof navigator<"u"&&/playwright|puppeteer|webdriver|selenium|testcafe/i.test(navigator.userAgent);return t||n||r||o||a||i||s||l})(),PERFORMANCE_MEASURES:new Map,STYLING_TASK_QUEUE:new Map,THEMES:new Map,THEME_FEATURES:{},showAverageTimes:()=>{const e={};for(const[t,n]of s.A11yUi.PERFORMANCE_MEASURES.entries())e[t]=[n.totalTime/n.count,n.count];const t=Object.entries(e).sort(((e,t)=>t[1][0]-e[1][0]));return console.table(Object.fromEntries(t.map((([e,[t,n]])=>[e,{"avg (ms)":parseFloat(t.toFixed(2)),count:n}])))),e}}};let l=!0,c=!1;const u=/^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/,f=e=>{if(!(e=>"string"==typeof e&&u.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]+)?$/`)},d=e=>e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\s*([{},;])\s*/g,"$1").replace(/:\s+/g,":").replace(/\s+/g," ").replace(/;\}/g,"}").trim(),p=(e,t,n,r)=>{(r=r??{}).append=r.append??!1,f(e),l&&!c&&(c=!0,i.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)),r.append&&o.has(t)){const e=o.get(t);o.set(t,d(`${e}${n}`))}else o.set(t,d(n))},g=(e,t,n,r)=>(f(e),"object"==typeof t&&null!==t&&Object.getOwnPropertyNames(t).forEach((o=>{const a=t[o],i=o.toLowerCase(),s="function"!=typeof r?.transformTagName||["GLOBAL","PROPERTIES"].includes(o)?o:r.transformTagName(i);"string"==typeof a&&a.length>0&&p(e,s.toUpperCase(),a,n)})),e),b=e=>{if(e instanceof HTMLElement){if("string"==typeof e.dataset.theme)return e;{let t=e.parentNode;for(;typeof ShadowRoot<"u"&&t instanceof ShadowRoot;)t=t.host;return b(t)}}return null},h=(e={})=>"false"!==e.themeEncroachCss&&"true"!==e.themeReset&&{mode:"after"===e.themeEncroachCssMode||"before"===e.themeEncroachCssMode?e.themeEncroachCssMode:"before"},m=()=>"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,y=e=>{if(m())return s.A11yUi.Theme;{const t={cache:!0,encroachCss:h(),loglevel:"silent",mode:"csr",name:null},n=b(e);return n instanceof HTMLElement&&(t.cache="false"!==n.dataset.themeCache,t.encroachCss=h(n.dataset),t.loglevel="debug"===n.dataset.themeLoglevel?n.dataset.themeLoglevel:"silent",t.mode="ssr"===n.dataset.themeMode?n.dataset.themeMode:"csr",t.name=n.dataset.theme||null),t}},v=()=>m()?s.A11yUi.Theme.name:null,w=(...e)=>{const t={};for(const n of e)n&&Object.assign(t,n);return t},k=(e,t)=>{const n=s.A11yUi.FEATURES[e];if(void 0!==n)return n;const r=(e=>y(e).name)(t??null)??v();if(null!==r){const t=s.A11yUi.THEME_FEATURES[r];if(t&&void 0!==t[e])return t[e]}};let S=!1;const E=(e,t,n={})=>{S||(S=!0,l=!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,t)=>{!1===m()&&("object"!=typeof s.A11yUi.Theme||null===s.A11yUi.Theme||"default"!==s.A11yUi.Theme.name)&&"object"==typeof t&&null!==t&&(t=((e,t)=>({cache:!1!==t.cache,detect:"auto"===t.detect?"auto":"fixed",encroachCss:!1!==t.encroachCss&&("object"!=typeof t.encroachCss||null==t.encroachCss||"after"!==t.encroachCss.mode&&"before"!==t.encroachCss.mode?{mode:"before"}:t.encroachCss),loglevel:"debug"===t.loglevel?t.loglevel:"silent",mode:"ssr"===t.mode?t.mode:"csr",name:"string"==typeof t.name?t.name:e}))(e,t),"fixed"===t.detect?(null===t.name&&"string"==typeof e&&(t.name=e),e===t.name&&(s.A11yUi.Theme=t,i.info(`[Theming] Theme "${e}" was set as default theme.`))):c||(c=!0,i.warn("[Theming] The presetting of theme options is only relevant by using 'fixed' detection mode.")))})(e(((e,t,r,o)=>(o&&(s.A11yUi.THEME_FEATURES[e]=w(s.A11yUi.THEME_FEATURES[e],o)),g(e,t,r,n)))),{cache:n.theme?.cache,detect:n.theme?.detect,encroachCss:n.theme?.encroachCss,mode:n.theme?.mode,name:n.theme?.name}):i.error("[Theming] An attempt was made to load an incompatible theme.")})),l=!0,n.features&&(s.A11yUi.FEATURES=w(s.A11yUi.FEATURES,n.features)),"function"==typeof t?t=new Set([t]):Array.isArray(t)&&(t=new Set(t));const r=[];return t.forEach((e=>{const t=e();t instanceof Promise&&r.push(t)})),Promise.all(r)},T=new Set,M=new Map,A=/--[^;]+/g,N=/:/,O=typeof MutationObserver<"u";let L=25,x=()=>{L=Math.min(25+20*Math.log2(s.A11yUi.STYLING_TASK_QUEUE.size+1),250)};const I=(e,t)=>{const n=s.A11yUi.THEMES.get(e);if(n instanceof Map){const e=n.get(t);if(void 0!==e)return e}return""},R=(e,t,n,r)=>{const o="debug"===s.A11yUi.Theme?.loglevel,a=o?performance.now():0;if((e=>{const t=e.firstChild;if(t instanceof HTMLStyleElement&&void 0===t.dataset.themingFallback)for(const t of Array.from(e.childNodes)){if(!(t instanceof HTMLStyleElement&&"STYLE"===t.tagName&&void 0===t.dataset.themingFallback))break;e.removeChild(t)}})(t),((e,t)=>{try{if("ssr"===s.A11yUi.Theme?.mode)throw new Error("SSR");const n=t.filter((e=>"string"==typeof e&&e.length>0)).map((e=>{let t=M.get(e);return t||(t=new CSSStyleSheet,t.replaceSync(e),M.set(e,t)),t}));e.adoptedStyleSheets=n}catch{for(let n=t.length-1;n>=0;n--){const r=t[n];if("string"!=typeof r||0===r.length)continue;const o=t.length-1-n,a=document.createElement("style");switch(a.dataset.themingFallback="",o){case 4:a.dataset.themingBaseA11y="";break;case 3:a.dataset.themingBaseGlobal="";break;case 2:a.dataset.themingBaseComponent="";break;case 1:a.dataset.themingCustomGlobal="";break;case 0:a.dataset.themingCustomComponent="";break;default:a.dataset.themingUnknown=""}a.innerHTML=r,e.insertBefore(a,e.firstChild)}}})(t,n),q(e),requestAnimationFrame(r),o){const t=performance.now()-a,n=s.A11yUi.PERFORMANCE_MEASURES.get(e.tagName);n?(n.count+=1,n.totalTime+=t):s.A11yUi.PERFORMANCE_MEASURES.set(e.tagName,{count:1,totalTime:t})}},C=e=>{const t=s.A11yUi.STYLING_TASK_QUEUE.get(e);if(t){const{resetCss:n,themeDetails:r}=t;((e,t,n)=>{const r=t.name||"default";let o;try{if(null===e.shadowRoot)throw new Error("ShadowRoot is null");o=e.shadowRoot}catch{o=e}const a=s.A11yUi.CSS_STYLE_CACHE.get(r)?.get(e.tagName);if(a)R(e,o,a,n);else{const a=I(r,"PROPERTIES"),i=I(r,"GLOBAL"),l=I(r,e.tagName);!1===T.has(r)&&((e,t)=>{let n=t.match(A);if(Array.isArray(n)){n=n.filter((e=>N.test(e)));const t=document.createElement("style");t.innerHTML=`.${e} {${n.join(";")}}`,document.querySelector("head")?.appendChild(t)}T.add(e)})(r,i);const c=[a,i,l];if(((e,t,n)=>{if(!1===n||"before"!==n?.mode&&"after"!==n?.mode)return;const r=Array.from(e.childNodes).filter((e=>e instanceof HTMLStyleElement&&"STYLE"===e.tagName));let o;try{o=Array.from(e.adoptedStyleSheets)}catch{o=[]}if(0!==r.length||0!==o.length)if("before"===n.mode){const e=[...o.map((e=>Array.from(e.cssRules).map((e=>e.cssText)).join(""))),...r.map((e=>e.innerHTML))];t.unshift(...e)}else r.forEach((e=>t.push(e.innerHTML))),o.forEach((e=>t.push(Array.from(e.cssRules).map((e=>e.cssText)).join(""))))})(o,c,t.encroachCss),!0===t.cache){let t=s.A11yUi.CSS_STYLE_CACHE.get(r);t||(t=new Map,s.A11yUi.CSS_STYLE_CACHE.set(r,t)),t.set(e.tagName,c)}R(e,o,c,n)}})(e,r,n)}};let j=(e,t=0)=>{if(t>=100)return;const n=setTimeout((()=>{clearTimeout(n),e.classList.contains("hydrated")?C(e):j(e,t+1)}),L)};const $={attributes:!0,attributeFilter:["class"],childList:!1,subtree:!1},F={attributes:!0,attributeFilter:[],childList:!1,subtree:!1},_=O?new MutationObserver(((e,t)=>{const n=[];for(const t of e){const e=t.target;e.classList.contains("hydrated")&&s.A11yUi.STYLING_TASK_QUEUE.has(e)&&(C(e),n.push(e))}for(const e of n)t.observe(e,F)})):null;_&&(j=e=>_.observe(e,$),x=()=>{});const H=new Map;let P=(e,t)=>{if(t){const e=H.get(t);if(void 0!==e)return e}const n=getComputedStyle(e).getPropertyValue("--theme-visibility-delay").trim();let r;if(n.endsWith("ms"))r=parseFloat(n);else if(n.endsWith("s"))r=1e3*parseFloat(n);else{const e=parseFloat(n);r=isNaN(e)?0:e}return t&&H.set(t,r),r};s.A11yUi.IS_TEST_ENVIRONMENT&&(P=()=>0);const U=(e,t)=>{e.style.setProperty("visibility",t),e.dataset.themed=""},q=e=>{s.A11yUi.STYLING_TASK_QUEUE.delete(e),x()},z=(e,t)=>{((e,t)=>{const n=e.style.visibility||null,r=t.name||"default";s.A11yUi.STYLING_TASK_QUEUE.set(e,{resetCss:()=>{const t=P(e,r);t>0?setTimeout((()=>{U(e,n)}),t):U(e,n)},themeDetails:t}),e.style.setProperty("visibility","hidden","important"),j(e)})(e,{...s.A11yUi.Theme,...t})};class J{Prefix;Key;Tag;createTheme=(e,t,n)=>((e,t,n)=>r=>r(e,t,{append:!1},n))(e,t,n);createTranslation=(e,t)=>((e,t)=>n=>n(e,t))(e,t);constructor(e,t,n){this.Prefix=e,this.Key=Object.getOwnPropertyNames(t),this.Tag=Object.getOwnPropertyNames(n)}}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"}};V((()=>{try{const e="undefined"!=typeof process&&process.env?process.env.NODE_ENV:void 0;if(e&&G.includes(e))return e}catch(e){}return"production"})());let Q=!1,X=!1;const Z=()=>"development"===Y,ee=()=>"test"===Y,te=()=>!0===Q,ne=e=>{Q=!0===e},re=()=>!0===X,oe=e=>{X=!0===e},ae=e=>Array.isArray(e)?e:[e],ie=e=>`%c${e}`,se=(e,t)=>"string"==typeof t&&t.length>0?`${ie(e)} | ${t}`:ie(e),le=(e,t)=>[se(e,null==t?void 0:t.classifier),`color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000;${(null==t?void 0:t.overwriteStyle)||""}`],ce=e=>Z()||!0===e,ue=new class{constructor(e){this.label=e}debug(e,t){ce(null==t?void 0:t.forceLog)&&console.debug(...le(this.label,t),...ae(e))}info(e,t){ce(null==t?void 0:t.forceLog)&&console.info(...le(this.label,t),...ae(e))}trace(e,t){ce(null==t?void 0:t.forceLog)&&console.trace(...le(this.label,t),...ae(e))}warn(e,t){ce(null==t?void 0:t.forceLog)&&console.warn(...le(this.label,t),...ae(e))}error(e,t){console.error(...le(this.label,t),...ae(e))}throw(e,t){if(ce(null==t?void 0:t.forceLog))throw new Error(...le(this.label,t),...ae(e))}}("KoliBri"),fe=new Set,de=e=>{!1===fe.has(e)&&(fe.add(e),ue.debug([e].concat([]),{classifier:"✋ a11y",forceLog:!1,overwriteStyle:"; background-color: #09f"}))},pe=new Set,ge=e=>{!1===pe.has(e)&&(pe.add(e),ue.warn([e].concat([]),{classifier:"🔥 deprecated",forceLog:!1,overwriteStyle:"; background-color: #f00"}))},be=new Set,he=(e,t)=>{(!1===be.has(e)||(null==t?void 0:t.force))&&(be.add(e),ue.debug([e].concat((null==t?void 0:t.details)||[]),{classifier:"💻 dev",forceLog:!!(null==t?void 0:t.force),overwriteStyle:"; background-color: #f09"}))},me=e=>{!1===be.has(e)&&(be.add(e),ue.warn([e].concat([]),{classifier:"⚠️ dev",forceLog:!1,overwriteStyle:"; background-color: #f09"}))},ye=new Set,ve=(e,t=!1)=>{!1===ye.has(e)&&(ye.add(e),ue.debug([e+=!0===t?" ✅":""].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 we=new Set,ke=e=>{!1===we.has(e)&&(we.add(e),ue.debug([e].concat([]),{classifier:"📑 ui/ux",forceLog:!1,overwriteStyle:"; background-color: #060;"}))},Se=e=>{"string"==typeof e&&""!==e||de("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")},Ee=(e,t=8)=>{t>7&&ke(`[${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 Te,Me,Ae,Ne,Oe=1/12.92;function Le(e){return Math.pow((e+.055)/1.055,2.4)}function xe(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return.2126*(t<=.03928?t*Oe:Le(t))+.7152*(n<=.03928?n*Oe:Le(n))+.0722*(r<=.03928?r*Oe:Le(r))}function Ie(e){var t=255;8===(e=e.replace(/^#/,"")).length&&(t=parseInt(e.slice(6,8),16),e=e.substring(0,6)),4===e.length&&(t=parseInt(e.slice(3,4).repeat(2),16),e=e.substring(0,3)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var n=parseInt(e,16);return[n>>16,n>>8&255,255&n,t]}function Re(e,t){return function(e,t){return function(e,t){return(Math.max(e,t)+.05)/(Math.min(e,t)+.05)}(xe(e),xe(t))}(Ie(e),Ie(t))}var Ce=function(){if(Ne)return Ae;Ne=1;var e=Me?Te:(Me=1,Te={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]});Ae=function(n){var r,o,a=[],i=1;if("string"==typeof n)if(n=n.toLowerCase(),e[n])a=e[n].slice(),o="rgb";else if("transparent"===n)i=0,o="rgb",a=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(n)){var s=n.slice(1);i=1,(u=s.length)<=4?(a=[parseInt(s[0]+s[0],16),parseInt(s[1]+s[1],16),parseInt(s[2]+s[2],16)],4===u&&(i=parseInt(s[3]+s[3],16)/255)):(a=[parseInt(s[0]+s[1],16),parseInt(s[2]+s[3],16),parseInt(s[4]+s[5],16)],8===u&&(i=parseInt(s[6]+s[7],16)/255)),a[0]||(a[0]=0),a[1]||(a[1]=0),a[2]||(a[2]=0),o="rgb"}else if(r=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(n)){var l=r[1],c="rgb"===l;o=s=l.replace(/a$/,"");var u="cmyk"===s?4:"gray"===s?1:3;a=r[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(e,n){if(/%$/.test(e))return n===u?parseFloat(e)/100:"rgb"===s?255*parseFloat(e)/100:parseFloat(e);if("h"===s[n]){if(/deg$/.test(e))return parseFloat(e);if(void 0!==t[e])return t[e]}return parseFloat(e)})),l===s&&a.push(1),i=c||void 0===a[u]?1:a[u],a=a.slice(0,u)}else n.length>10&&/[0-9](?:\s|\/)/.test(n)&&(a=n.match(/([0-9]+)/g).map((function(e){return parseFloat(e)})),o=n.match(/([a-z])/gi).join("").toLowerCase());else isNaN(n)?Array.isArray(n)||n.length?(a=[n[0],n[1],n[2]],o="rgb",i=4===n.length?n[3]:1):n instanceof Object&&(null!=n.r||null!=n.red||null!=n.R?(o="rgb",a=[n.r||n.red||n.R||0,n.g||n.green||n.G||0,n.b||n.blue||n.B||0]):(o="hsl",a=[n.h||n.hue||n.H||0,n.s||n.saturation||n.S||0,n.l||n.lightness||n.L||n.b||n.brightness]),i=n.a||n.alpha||n.opacity||1,null!=n.opacity&&(i/=100)):(o="rgb",a=[n>>>16,(65280&n)>>>8,255&n]);return{space:o,values:a,alpha:i}};var t={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};return Ae}(),je=e(Ce);const $e={min:[0,0,0],max:[255,255,255]};var Fe={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(e){var t,n,r,o,a,i=e[0]/360,s=e[1]/100,l=e[2]/100,c=0;if(0===s)return[a=255*l,a,a];for(t=2*l-(n=l<.5?l*(1+s):l+s-l*s),o=[0,0,0];c<3;)(r=i+1/3*-(c-1))<0?r++:r>1&&r--,o[c++]=255*(a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t);return o}};$e.hsl=function(e){var t,n,r=e[0]/255,o=e[1]/255,a=e[2]/255,i=Math.min(r,o,a),s=Math.max(r,o,a),l=s-i;return s===i?t=0:r===s?t=(o-a)/l:o===s?t=2+(a-r)/l:a===s&&(t=4+(r-o)/l),(t=Math.min(60*t,360))<0&&(t+=360),n=(i+s)/2,[t,100*(s===i?0:n<=.5?l/(s+i):l/(2-s-i)),100*n]};var _e,He={exports:{}},Pe=function(){if(_e)return He.exports;function e(e){var n=t(e);return 3==n.length?n.concat(255):(n[3]=Math.round(n[3]),n)}function t(e){return"string"==typeof e?("red"==(t=e=e.toLowerCase())?[255,0,0]:"green"==t?[0,255,0]:"blue"==t?[0,0,255]:"black"==t?[0,0,0]:"white"==t?[255,255,255]:"cyan"==t?[0,255,255]:"gray"==t||"grey"==t?[128,128,128]:"magenta"==t||"pink"==t?[255,0,255]:"yellow"==t?[255,255,0]:void 0)||function(e){var t=e.replace(/^#/,""),n=t.length;if(3==n||4==n){var o=r(t[0]),a=r(t[1]),i=r(t[2]),s=3==n?255:r(t[3]);if(isNaN(o)||isNaN(a)||isNaN(i)||isNaN(s))return;return[o,a,i,s]}}(e)||function(e){var t=e.replace(/^#/,""),n=t.length;if(6==n||8==n){var o=r(t.slice(0,2)),a=r(t.slice(2,4)),i=r(t.slice(4,6)),s=6==n?255:r(t.slice(6,8));if(isNaN(o)||isNaN(a)||isNaN(i)||isNaN(s))return;return[o,a,i,s]}}(e)||function(e){if("rgb("==e.substr(0,4)){var t=(e=e.match(/^rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number),n=o(t[0],!0),r=o(t[1],!0),a=o(t[2],!0);if(-1!=n&&-1!=r&&-1!=a)return[n,r,a,255]}}(e)||function(e){if("rgba("==e.substr(0,5)){var t=(e=e.match(/^rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number),n=o(t[0],!0),r=o(t[1],!0),a=o(t[2],!0),i=o(255*t[3]);if(-1!=n&&-1!=r&&-1!=a&&-1!=i)return[n,r,a,i]}}(e)||[0,0,0,255]:function(e){if("[object Object]"===Object.prototype.toString.call(e)&&Object.getPrototypeOf(e)===Object.getPrototypeOf({})){var t=o(null!=e.r?e.r:null!=e.red?e.red:0,!0),n=o(null!=e.g?e.g:null!=e.green?e.green:0,!0),r=o(null!=e.b?e.b:null!=e.blue?e.blue:0,!0),a=o(null!=e.a?e.a:null!=e.alpha?e.alpha:255,!0);if(-1!=t&&-1!=n&&-1!=r&&-1!=a)return[t,n,r,a]}}(e)||function(e){if(Array.isArray(e)&&(3==e.length||4==e.length)){var t=o(e[0],!0),n=o(e[1],!0),r=o(e[2],!0),a=o(null!=e[3]?e[3]:255,!0);if(-1!=t&&-1!=n&&-1!=r&&-1!=a)return[t,n,r,a]}}(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 t}function n(e){var t=e.toString(16);return 1==t.length?"0"+t:t}function r(e){return 1==e.length?parseInt(e+e,16):parseInt(e,16)}function o(e,t){return"number"!=typeof e||!0===t&&Math.floor(e)!==e?-1:e>=0&&e<=255?e:-1}return _e=1,He.exports=e,He.exports.arr=e,He.exports.obj=function(e){var n=t(e);return{r:n[0],g:n[1],b:n[2],a:3==n.length?255:Math.round(n[3])}},He.exports.css=function(e){var n=t(e);return 3==n.length&&n.push(255),255==n[3]?"rgb("+n[0]+", "+n[1]+", "+n[2]+")":0==n[3]?"rgba("+n[0]+", "+n[1]+", "+n[2]+", 0)":"rgba("+n[0]+", "+n[1]+", "+n[2]+", "+String(n[3]/255).substr(1)+")"},He.exports.hex=function(e){var r=t(e);3==r.length&&r.push(255);var o=255==r[3],a=n(r[0]),i=n(r[1]),s=n(r[2]),l=function(e,t,n,r){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(t)&&-1!=o.indexOf(n)&&-1!=o.indexOf(r)}(a,i,s,r=n(Math.round(r[3])));return o?l?"#"+a.charAt(0)+i.charAt(0)+s.charAt(0):"#"+a+i+s:l?"#"+a.charAt(0)+i.charAt(0)+s.charAt(0)+r.charAt(0):"#"+a+i+s+r},He.exports.num=function(e){var n=t(e);return 3==n.length?n.push(255):n[3]=Math.round(n[3]),(n[3]<<24>>>0|n[0]<<16|n[1]<<8|n[2])>>>0},He.exports}(),Ue=e(Pe);const qe=/\[object Object\]/,ze=(e,t)=>{"string"==typeof e&&qe.test(e)||t()},Je=(e,t)=>{te()&&(ue.debug([e,t]),ue.debug("↑ We propagate the (submit) event to this target.")),Object.defineProperty(e,"target",{value:t,writable:!1})},Be=(e,t,n,r={})=>{var o,a;void 0===e.nextHooks&&(e.nextHooks=new Map),void 0===e.nextState&&(e.nextState=new Map),e.nextHooks.get(t)instanceof Map==0&&e.nextHooks.set(t,new Map),"function"==typeof r.afterPatch&&(null===(o=e.nextHooks.get(t))||void 0===o||o.set("afterPatch",r.afterPatch)),"function"==typeof r.beforePatch&&(null===(a=e.nextHooks.get(t))||void 0===a||a.set("beforePatch",r.beforePatch)),e.nextState.set(t,n),(e=>{var t,n,r;null===(t=e.nextHooks)||void 0===t||t.forEach(((t,n)=>{var r;const o=t.get("beforePatch");"function"==typeof o&&o(null===(r=e.nextState)||void 0===r?void 0:r.get(n),e.nextState,e,n)})),(null===(n=e.nextState)||void 0===n?void 0:n.size)>0&&(e.state=Object.assign(Object.assign({},e.state),Object.fromEntries(e.nextState)),delete e.nextState,null===(r=e.nextHooks)||void 0===r||r.forEach(((t,n)=>{const r=t.get("afterPatch");"function"==typeof r&&r(e.state[n],e.state,e,n)}))),delete e.nextHooks})(e)};function Ke(e,t,n,r,o,a={}){if(n(o))Be(e,t,o,a.hooks);else if(void 0===o&&!0!==a.required&&n(a.defaultValue))Be(e,t,a.defaultValue,a.hooks);else{const n=new Set(r);a.required||n.add(null),((e,t,n,r)=>{he(`[${e.constructor.name}] The property value: (${n}) for '${t}' is not valid. Allowed values are: ${Array.from(r).join(", ")}`)})(e,t,o,n)}}const We=e=>{try{return JSON.stringify(e).replace(/"/g,"'")}catch(t){throw ue.warn(["stringifyJson",e]),ue.error("↑ The JSON could not be converted to a string. A stringifiable JSON is expected."),new Error}},De=/^[{[]/,Ge=e=>{if("string"==typeof e)try{return JSON.parse(e)}catch(t){if(De.test(e))try{return JSON.parse(e.replace(/'/g,'"'))}catch(t){ue.warn(["parseJson",e]),ue.error("↑ The JSON string could not be parsed. Make sure that single quotes in the text are escaped (‘).")}}throw new Error},Ye=(e,t)=>{if(!e)return;const n=new Set,r=[e];let o=0;for(;o<r.length;){const e=r[o++];if(n.has(e))continue;if(n.add(e),t(e))return;const a=Array.from(e.children||[]);for(let e=0;e<a.length;e++)r.push(a[e]);if(e instanceof HTMLElement&&e.shadowRoot&&r.push(e.shadowRoot),e instanceof HTMLSlotElement){const t=e.assignedNodes({flatten:!0});for(let e=0;e<t.length;e++)t[e]instanceof Element&&r.push(t[e])}}},Ve=(e,t)=>((e,t)=>{let n=null;return Ye(t,(t=>!!(t instanceof Element&&t.matches(e))&&(n=t,!0))),n})(e,t||D()),Qe=(e,t)=>((e,t)=>{const n=[];return Ye(t,(t=>(t instanceof Element&&t.matches(e)&&n.push(t),!1))),n})(e,t||D());let Xe=null;const Ze=()=>(Xe=Xe||{backgroundColor:"#00000000",color:"#00000000",domNode:D().body,level:"Fail",score:1},Xe),et=/(\d+, ){3}0\)/,tt=(e,t=Ze())=>{const n=getComputedStyle(e),r=et.test(n.backgroundColor)?t.backgroundColor:Ue.hex(n.backgroundColor),o=et.test(n.color)?t.color:Ue.hex(n.color),a=Re(r,o),i={backgroundColor:r,color:o,domNode:e,level:(s=a,s>=7?"AAA":s>=4.5?"AA":s>=3?"AA Large":"Fail"),score:a};var s;return a<4.5&&ue.error(["Color-Contrast-Error",{backgroundColor:i.backgroundColor,color:i.color,level:i.level,score:i.score},i.domNode]),i},nt=(e,t=Ze())=>{t.domNode instanceof HTMLElement&&(t=tt(t.domNode,t));const n=t.domNode.querySelector(e);if(null===n){const n=t.domNode.querySelectorAll('[class="hydrated"]');for(let r=0;r<n.length&&(t.domNode=n[r],null===(t=nt(e,t)).domNode);r++);return t}return tt(n,t)};class rt{static queryHtmlElementColors(e,t,n=!1,r=!0){let o=null;if(!0===n||!1===rt.executionLock)if(!1===n&&(rt.cache.clear(),rt.cache.set(t.domNode,t),rt.executionLock=!0,!0===r&&ue.debug("[KoliBriUtils] Color contrast analysis started...")),e===t.domNode)o=t;else{const n=new Set;if(t.domNode.shadowRoot){const e=t.domNode.shadowRoot.children;for(let t=0;t<e.length;t++)n.add(e[t])}const r=t.domNode;if("function"==typeof r.assignedNodes){const e=r.assignedNodes();for(let t=0;t<e.length;t++)e[t]instanceof HTMLElement&&n.add(e[t])}const a=t.domNode.children;for(let e=0;e<a.length;e++)n.add(a[e]);const i=Array.from(n);for(let n=0;n<i.length;n++){let r=rt.cache.get(i[n]);void 0===r&&(r=tt(i[n],t)),rt.cache.set(i[n],r);const a=rt.queryHtmlElementColors(e,r,!0,!1);if(null!==a){o=a;break}}}else ue.debug("[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.");return!1===n&&(!0===r&&ue.debug(`[KoliBriUtils] Color contrast analysis finished (${rt.cache.size} DOM elements are analysed).`),rt.executionLock=!1,rt.cache.clear()),o}}rt.executionLock=!1,rt.cache=new Map;class ot{}ot.getCssStyle=I,ot.patchTheme=(e,t,n,r)=>g(e,t,n,r),ot.patchThemeTag=(e,t,n,r)=>p(e,t,n,r),ot.querySelector=Ve,ot.querySelectorAll=Qe,ot.stringifyJson=We;const at=e=>"object"==typeof e&&null!==e,it=(e,t=0)=>"string"==typeof e&&e.length>=t,st=e=>{if("object"!=typeof e||null===e)return it(e,1);for(const t in e)if(!1===it(t,1))return!1;return!0},lt=new Event("StateChange");export{Re as A,Ee as B,te as C,st as D,J as E,it as F,Ke as G,Ve as H,Z as I,tt as J,B as K,ue as L,Qe as M,nt as N,rt as O,We as P,re as Q,v as R,lt as S,K as T,k as X,ot as a,Se as b,ge as c,z as d,he as e,ve as f,de as g,V as h,E as i,e as j,at as k,me as l,je as m,Fe as n,ze as o,Ge as p,D as q,$e as r,Je as s,ne as t,ke as u,oe as v,y as w,W as x,ee as y,Ue as z}
|
|
4
|
+
const e="hydrated",t={kolibriVersion:"5.0.0-beta.2"};var n=(e=>(e.Undefined="undefined",e.Null="null",e.String="string",e.Number="number",e.SpecialNumber="number",e.Boolean="boolean",e.BigInt="bigint",e))(n||{}),o=(e=>(e.Array="array",e.Date="date",e.Map="map",e.Object="object",e.RegularExpression="regexp",e.Set="set",e.Channel="channel",e.Symbol="symbol",e))(o||{}),r="type",i="value",l="serialized:";function s(e,t,n){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;e&&e!==o;){const o=Object.getOwnPropertyDescriptor(e,t);if(o&&(!n||o.get))return o;e=Object.getPrototypeOf(e)}}var a,c=(e,t)=>{var n;Object.entries(null!=(n=t.o.t)?n:{}).map((([n,[o]])=>{if(31&o||32&o){const o=e[n],r=s(Object.getPrototypeOf(e),n,!0)||Object.getOwnPropertyDescriptor(e,n);r&&Object.defineProperty(e,n,{get(){return r.get.call(this)},set(e){r.set.call(this,e)},configurable:!0,enumerable:!0}),t.i.has(n)?e[n]=t.i.get(n):void 0!==o&&(e[n]=o)}}))},u=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},f=(e,t)=>t in e,d=(e,t)=>(0,console.error)(e,t),p=new Map,h=[],g="s-id",b="sty-id",y="c-id",v="http://www.w3.org/1999/xlink",m="undefined"!=typeof window?window:{},w=m.HTMLElement||class{},$={u:0,p:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},S=(()=>{var e;let t=!1;try{null==(e=m.document)||e.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch(e){}return t})(),k=(()=>{try{return!!m.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(e){}return!1})(),E=!!k&&(()=>!!m.document&&Object.getOwnPropertyDescriptor(m.document.adoptedStyleSheets,"length").writable)(),T=!1,O=[],j=[],M=()=>{var e;return(null==(e=m.document)?void 0:e.hidden)?setTimeout(x,16):$.raf(x)},N=(e,t)=>n=>{e.push(n),T||(T=!0,t&&4&$.u?I(x):M())},A=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){d(e)}e.length=0},x=()=>{A(O),A(j),(T=O.length>0)&&M()},I=e=>Promise.resolve(void 0).then(e),L=N(j,!0),C=e=>{const t=new URL(e,$.p);return t.origin!==m.location.origin?t.href:t.pathname},R=e=>$.p=e;function _(){const e=this.attachShadow({mode:"open"});void 0===a&&(a=null),a&&(E?e.adoptedStyleSheets.push(a):e.adoptedStyleSheets=[...e.adoptedStyleSheets,a])}var F=(e,t,n,o)=>{if(e["s-ol"]&&e["s-ol"].isConnected)return;const r=document.createTextNode("");if(r["s-nr"]=e,!t["s-cr"]||!t["s-cr"].parentNode)return;const i=t["s-cr"].parentNode,l=U(i,"appendChild");if(void 0!==o){r["s-oo"]=o;const e=U(i,"childNodes"),t=[r];e.forEach((e=>{e["s-nr"]&&t.push(e)})),t.sort(((e,t)=>!e["s-oo"]||e["s-oo"]<(t["s-oo"]||0)?-1:!t["s-oo"]||t["s-oo"]<e["s-oo"]?1:0)),t.forEach((e=>l.call(i,e)))}else l.call(i,r);e["s-ol"]=r,e["s-sh"]=t["s-hn"]};function U(e,t){if("__"+t in e){const n=e["__"+t];return"function"!=typeof n?n:n.bind(e)}return"function"!=typeof e[t]?e[t]:e[t].bind(e)}var H=new WeakMap,P=(e,t,n)=>{let o=p.get(e);k&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,p.set(e,o)},z=(e,t,n)=>{var o,r,i;const l=q(t,n),s=p.get(l);if(!m.document)return l;if(e=11===e.nodeType?e:m.document,s)if("string"==typeof s){let n,i=H.get(e=e.head||e);if(i||H.set(e,i=new Set),e.querySelector(`[${b}="${l}"]`))i.add(l);else if(!i.has(l)){n=m.document.createElement("style"),n.textContent=s;const a=null!=(o=$.v)?o:function(){var e,t,n;return null!=(n=null==(t=null==(e=m.document.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:t.getAttribute("content"))?n:void 0}();if(null!=a&&n.setAttribute("nonce",a),!(1&t.u))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),o=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(n,(null==o?void 0:o.parentNode)===e?o:null)}else if("host"in e)if(k){const t=new(null!=(r=e.defaultView)?r:e.ownerDocument.defaultView).CSSStyleSheet;t.replaceSync(s),E?e.adoptedStyleSheets.unshift(t):e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.textContent=s+t.textContent:e.prepend(n)}else e.append(n);1&t.u&&e.insertBefore(n,null),4&t.u&&(n.textContent+="slot-fb{display:contents}slot-fb[hidden]{display:none}"),i&&i.add(l)}}else{let t=H.get(e);if(t||H.set(e,t=new Set),!t.has(l)){const n=null!=(i=e.defaultView)?i:e.ownerDocument.defaultView;let o;if(s.constructor===n.CSSStyleSheet)o=s;else{o=new n.CSSStyleSheet;for(let e=0;e<s.cssRules.length;e++)o.insertRule(s.cssRules[e].cssText,e)}if(E?e.adoptedStyleSheets.push(o):e.adoptedStyleSheets=[...e.adoptedStyleSheets,o],t.add(l),"host"in e){const t=e.querySelector(`[${b}="${l}"]`);t&&L((()=>t.remove()))}}}return l},q=(e,t)=>"sc-"+(t&&32&e.u?e.m+"-"+t:e.m),D=e=>"object"==(e=typeof e)||"function"===e,W=(e,t,...n)=>{"string"==typeof e&&(e=tt(e));let o=null,r=null,i=!1,l=!1;const s=[],a=t=>{for(let n=0;n<t.length;n++)if(o=t[n],Array.isArray(o))a(o);else if(null!=o&&"boolean"!=typeof o){if(i="function"!=typeof e&&!D(o))o=String(o);else if("function"!=typeof e&&void 0===o.u){d("Invalid vNode child");continue}i&&l?s[s.length-1].$+=o:s.push(i?B(null,o):o),l=i}};if(a(n),t){t.key&&(r=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,s,V);const c=B(e,null);return c.k=t,s.length>0&&(c.T=s),c.O=r,c},B=(e,t)=>({u:0,j:e,$:null!=t?t:null,M:null,T:null,k:null,O:null}),J={},V={forEach:(e,t)=>e.map(K).forEach(t),map:(e,t)=>e.map(K).map(t).map(Y)},K=e=>({vattrs:e.k,vchildren:e.T,vkey:e.O,vname:e.N,vtag:e.j,vtext:e.$}),Y=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),W(e.vtag,t,...e.vchildren||[])}const t=B(e.vtag,e.vtext);return t.k=e.vattrs,t.T=e.vchildren,t.O=e.vkey,t.N=e.vname,t},G=(e,t,n,o,r,i,l,s=[])=>{let a,c,u,f;if(1===i.nodeType){if(a=i.getAttribute(y),a&&i!==r&&(c=a.split("."),c[0]===l||"0"===c[0])){u=Z({u:0,A:c[0],I:c[1],C:c[2],_:c[3],j:i.tagName.toLowerCase(),M:i,k:{class:i.className||""}}),t.push(u),i.removeAttribute(y),e.T||(e.T=[]);const r=u.M.getAttribute("s-sn");"string"==typeof r&&("slot-fb"===u.j&&X(r,c[2],u,i,e,t,n,o,s),u.M["s-sn"]=r,u.M.removeAttribute("s-sn")),void 0!==u._&&(e.T[u._]=u),e=u,o&&"0"===u.C&&(o[u._]=u.M)}if(i.shadowRoot)for(f=i.shadowRoot.childNodes.length-1;f>=0;f--)G(e,t,n,o,r,i.shadowRoot.childNodes[f],l,s);const d=i.__childNodes||i.childNodes;for(f=d.length-1;f>=0;f--)G(e,t,n,o,r,d[f],l,s)}else if(8===i.nodeType)c=i.nodeValue.split("."),(c[1]===l||"0"===c[1])&&(a=c[0],u=Z({A:c[1],I:c[2],C:c[3],_:c[4]||"0",M:i,k:null,T:null,O:null,N:null,j:null,$:null}),"t"===a?(u.M=te(i,3),u.M&&3===u.M.nodeType&&(u.$=u.M.textContent,t.push(u),i.remove(),l===u.A&&(e.T||(e.T=[]),e.T[u._]=u),o&&"0"===u.C&&(o[u._]=u.M))):"c"===a?(u.M=te(i,8),u.M&&8===u.M.nodeType&&(t.push(u),i.remove())):u.A===l&&("s"===a?X(i["s-sn"]=c[5]||"",c[2],u,i,e,t,n,o,s):"r"===a&&o&&i.remove()));else if(e&&"style"===e.j){const t=B(null,i.textContent);t.M=i,t._="0",e.T=[t]}return e},Q=(e,t)=>{if(1===e.nodeType){const n=e[g]||e.getAttribute(g);n&&t.set(n,e);let o=0;if(e.shadowRoot)for(;o<e.shadowRoot.childNodes.length;o++)Q(e.shadowRoot.childNodes[o],t);const r=e.__childNodes||e.childNodes;for(o=0;o<r.length;o++)Q(r[o],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},Z=e=>({u:0,A:null,I:null,C:null,_:"0",M:null,k:null,T:null,O:null,N:null,j:null,$:null,...e});function X(e,t,n,o,r,i,l,s,a){o["s-sr"]=!0,n.N=e||null,n.j="slot";const c=(null==r?void 0:r.M)?r.M["s-id"]||r.M.getAttribute("s-id"):"";if(s&&m.document){const i=n.M=m.document.createElement(n.j);n.N&&n.M.setAttribute("name",e),r.M.shadowRoot&&c&&c!==n.A?U(r.M,"insertBefore")(i,U(r.M,"children")[0]):U(U(o,"parentNode"),"insertBefore")(i,o),ee(a,t,e,o,n.A),o.remove(),"0"===n.C&&(s[n._]=n.M)}else{const i=n.M,l=c&&c!==n.A&&r.M.shadowRoot;ee(a,t,e,o,l?c:n.A),function(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const t=t=>function(e){const n=[],o=this["s-sn"];(null==e?void 0:e.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const r=this["s-cr"].parentElement;return(r.__childNodes?r.childNodes:(e=>{const t=[];for(let n=0;n<e.length;n++){const o=e[n]["s-nr"]||void 0;o&&o.isConnected&&t.push(o)}return t})(r.childNodes)).forEach((e=>{o===(e=>"string"==typeof e["s-sn"]?e["s-sn"]:1===e.nodeType&&e.getAttribute("slot")||void 0)(e)&&n.push(e)})),t?n.filter((e=>1===e.nodeType)):n}.bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}(o),l&&r.M.insertBefore(i,r.M.children[0])}i.push(n),l.push(n),r.T||(r.T=[]),r.T[n._]=n}var ee=(e,t,n,o,r)=>{var i,l;let s=o.nextSibling;if(e[t]=e[t]||[],s&&!(null==(i=s.nodeValue)?void 0:i.startsWith("s.")))do{!s||(s.getAttribute&&s.getAttribute("slot")||s["s-sn"])!==n&&(""!==n||s["s-sn"]||s.getAttribute&&s.getAttribute("slot")||8!==s.nodeType&&3!==s.nodeType)||(s["s-sn"]=n,e[t].push({slot:o,node:s,hostId:r})),s=null==s?void 0:s.nextSibling}while(s&&!(null==(l=s.nodeValue)?void 0:l.startsWith("s.")))},te=(e,t)=>{let n=e;do{n=n.nextSibling}while(n&&(n.nodeType!==t||!n.nodeValue));return n},ne=e=>{h.length=0,h.push(e)},oe=e=>{if(!e)return;const t=Object.keys(e);if(0===t.length)return;let n=!1;for(const o of t){if(n)break;for(const t of e[o])if("string"==typeof t){n=!0;break}}if(!n)return e;const o={};for(const n of t)o[n]=e[n].map((e=>"string"==typeof e?{[e]:0}:e));return o},re=class e{static fromLocalValue(t){const n=t[r],o=i in t?t[i]:void 0;switch(n){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((t=>e.fromLocalValue(t)));case"date":return new Date(o);case"map":const t=new Map;for(const[n,r]of o){const o="object"==typeof n&&null!==n?e.fromLocalValue(n):n,i=e.fromLocalValue(r);t.set(o,i)}return t;case"object":const r={};for(const[t,n]of o)r[t]=e.fromLocalValue(n);return r;case"regexp":const{pattern:i,flags:l}=o;return new RegExp(i,l);case"set":const s=new Set;for(const t of o)s.add(e.fromLocalValue(t));return s;case"symbol":return Symbol(o);default:throw new Error(`Unsupported type: ${n}`)}}static fromLocalValueArray(t){return t.map((t=>e.fromLocalValue(t)))}static isLocalValueObject(e){if("object"!=typeof e||null===e)return!1;if(!e.hasOwnProperty(r))return!1;const t=e[r];return!!Object.values({...n,...o}).includes(t)&&("null"===t||"undefined"===t||e.hasOwnProperty(i))}};var ie,le=(e,t)=>{return"string"==typeof e&&e.startsWith(l)?e="string"==typeof(n=e)&&n.startsWith(l)?re.fromLocalValue(JSON.parse(function(e){const t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return(new TextDecoder).decode(n)}(n.slice(11)))):n:null==e||D(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?"string"==typeof e?parseFloat(e):"number"==typeof e?e:NaN:1&t?String(e):e;var n},se=(e,t,n,o,r,i,l)=>{if(n===o)return;let s=f(e,t),a=t.toLowerCase();if("class"===t){const t=e.classList,r=de(n);let s=de(o);if((e["s-si"]||e["s-sc"])&&l){const n=e["s-sc"]||e["s-si"];s.push(n),r.forEach((e=>{e.startsWith(n)&&s.push(e)})),s=[...new Set(s)].filter((e=>e)),t.add(...s)}else{let n=r.filter((e=>e&&!s.includes(e)));if(l&&!(4&i)){const t=fe(e);n=n.filter((e=>!t.includes(e)))}t.remove(...n),t.add(...s.filter((e=>e&&!r.includes(e))))}}else if("style"===t){for(const t in n)o&&null!=o[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in o)n&&o[t]===n[t]||(t.includes("-")?e.style.setProperty(t,o[t]):e.style[t]=o[t])}else if("key"===t);else if("ref"===t)o&&je(o,e);else if(e.__lookupSetter__(t)||"o"!==t[0]||"n"!==t[1]){if("a"===t[0]&&t.startsWith("attr:")){const n=t.slice(5);let r;{const t=u(e);if(t&&t.o&&t.o.t){const e=t.o.t[n];e&&e[1]&&(r=e[1])}}return r||(r=n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==o||!1===o?!1===o&&""!==e.getAttribute(r)||e.removeAttribute(r):e.setAttribute(r,!0===o?"":o))}if("p"===t[0]&&t.startsWith("prop:")){const n=t.slice(5);try{e[n]=o}catch(e){}return}{const l=D(o);if((s||l&&null!==o)&&!r)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const r=null==o?"":o;"list"===t?s=!1:null!=n&&e[t]===r||("function"==typeof e.__lookupSetter__(t)?e[t]=r:e.setAttribute(t,r))}}catch(e){}let c=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(t=a,c=!0),null==o||!1===o?(!1!==o||""===e.getAttribute(t)||4&i&&!ce(t))&&(c?e.removeAttributeNS(v,t):e.removeAttribute(t)):(!s||4&i||r)&&!l&&1===e.nodeType&&(o=!0===o?"":o,c?e.setAttributeNS(v,t,o):e.setAttribute(t,o))}}else if(t="-"===t[2]?t.slice(3):f(m,a)?a.slice(2):a[2]+t.slice(3),n||o){const r=t.endsWith(pe);t=t.replace(he,""),n&&$.rel(e,t,n,r),o&&$.ael(e,t,o,r)}},ae=new Set(["draggable","contenteditable","spellcheck"]),ce=e=>ae.has(e)||e.startsWith("aria-"),ue=/\s/,fe=t=>{var n,o,r;const i=u(t);if(!(i&&2&i.u))return[];const l=de(null==(o=null==(n=i.F)?void 0:n.k)?void 0:o.class);return l.push(null!=(r=e)?r:"hydrated"),l},de=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(ue):[]),pe="Capture",he=new RegExp(pe+"$"),ge=(e,t,n,o)=>{const r=11===t.M.nodeType&&t.M.host?t.M.host:t.M,i=e&&e.k||{},l=t.k||{};for(const e of be(Object.keys(i)))e in l||se(r,e,i[e],void 0,n,t.u,o);for(const e of be(Object.keys(l)))se(r,e,i[e],l[e],n,t.u,o)};function be(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var ye=!1,ve=!1,me=[],we=[],$e=(e,t,n)=>{const o=t.T[n];let r,i,l=0;if(null!=o.$)r=o.M=m.document.createTextNode(o.$);else{if(ve||(ve="svg"===o.j),!m.document)throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(r=o.M=m.document.createElementNS(ve?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.j),ve&&"foreignObject"===o.j&&(ve=!1),ge(null,o,ve),o.T){const t="template"===o.j?r.content:r;for(l=0;l<o.T.length;++l)i=$e(e,o,l),i&&t.appendChild(i)}"svg"===o.j?ve=!1:"foreignObject"===r.tagName&&(ve=!0)}return r["s-hn"]=ie,r},Se=(e,t,n,o,r,i)=>{let l,s=e;for(s.shadowRoot&&s.tagName===ie&&(s=s.shadowRoot),"template"===n.j&&(s=s.content);r<=i;++r)o[r]&&(l=$e(null,n,r),l&&(o[r].M=l,Me(s,l,t)))},ke=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.M;Oe(t),e&&e.remove()}}},Ee=(e,t,n=!1)=>e.j===t.j&&(n?(n&&!e.O&&t.O&&(e.O=t.O),!0):e.O===t.O),Te=(e,t,n=!1)=>{const o=t.M=e.M,r=e.T,i=t.T,l=t.j,s=t.$;null==s?(ve="svg"===l||"foreignObject"!==l&&ve,"slot"!==l||ye||e.N!==t.N&&(t.M["s-sn"]=t.N||"",(e=>{$.u|=1;const t=e.closest(ie.toLowerCase());if(null!=t){const n=Array.from(t.__childNodes||t.childNodes).find((e=>e["s-cr"])),o=Array.from(e.__childNodes||e.childNodes);for(const e of n?o.reverse():o)null!=e["s-sh"]&&(Me(t,e,null!=n?n:null),e["s-sh"]=void 0)}$.u&=-2})(t.M.parentElement)),ge(e,t,ve,n),null!==r&&null!==i?((e,t,n,o,r=!1)=>{let i,l,s=0,a=0,c=0,u=0,f=t.length-1,d=t[0],p=t[f],h=o.length-1,g=o[0],b=o[h];const y="template"===n.j?e.content:e;for(;s<=f&&a<=h;)if(null==d)d=t[++s];else if(null==p)p=t[--f];else if(null==g)g=o[++a];else if(null==b)b=o[--h];else if(Ee(d,g,r))Te(d,g,r),d=t[++s],g=o[++a];else if(Ee(p,b,r))Te(p,b,r),p=t[--f],b=o[--h];else if(Ee(d,b,r))Te(d,b,r),Me(y,d.M,p.M.nextSibling),d=t[++s],b=o[--h];else if(Ee(p,g,r))Te(p,g,r),Me(y,p.M,d.M),p=t[--f],g=o[++a];else{for(c=-1,u=s;u<=f;++u)if(t[u]&&null!==t[u].O&&t[u].O===g.O){c=u;break}c>=0?(l=t[c],l.j!==g.j?i=$e(t&&t[a],n,a):(Te(l,g,r),t[c]=void 0,i=l.M),g=o[++a]):(i=$e(t&&t[a],n,a),g=o[++a]),i&&Me(d.M.parentNode,i,d.M)}s>f?Se(e,null==o[h+1]?null:o[h+1].M,n,o,a,h):a>h&&ke(t,s,f)})(o,r,t,i,n):null!==i?(null!==e.$&&(o.textContent=""),Se(o,null,t,i,0,i.length-1)):n||null===r?n&&null!==r&&null===i&&(t.T=r):ke(r,0,r.length-1),ve&&"svg"===l&&(ve=!1)):e.$!==s&&(o.data=s)},Oe=e=>{e.k&&e.k.ref&&me.push((()=>e.k.ref(null))),e.T&&e.T.map(Oe)},je=(e,t)=>{we.push((()=>e(t)))},Me=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),Ne=(e,t,n=!1)=>{const o=e.$hostElement$,r=e.o,i=e.F||B(null,null);var l;const s=(l=t)&&l.j===J?t:W(null,null,t);if(ie=o.tagName,r.U&&(s.k=s.k||{},r.U.forEach((([e,t])=>{s.k[t]=o[e]}))),n&&s.k)for(const e of Object.keys(s.k))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(s.k[e]=o[e]);s.j=null,s.u|=4,e.F=s,s.M=i.M=o.shadowRoot||o,ye=!(!(1&r.u)||128&r.u),Te(i,s,n),me.forEach((e=>e())),me.length=0,we.forEach((e=>e())),we.length=0},Ae=(e,t)=>{if(t&&!e.P&&t["s-p"]){const n=t["s-p"].push(new Promise((o=>e.P=()=>{t["s-p"].splice(n-1,1),o()})))}},xe=(e,t)=>{if(e.u|=16,4&e.u)return void(e.u|=512);Ae(e,e.q);const n=()=>Ie(e,t);if(!t)return n();queueMicrotask((()=>{n()}))},Ie=(e,t)=>{const n=e.$hostElement$,o=n;if(!o)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let r;return r=Pe(o,t?"componentWillLoad":"componentWillUpdate",void 0,n),r=Le(r,(()=>Pe(o,"componentWillRender",void 0,n))),Le(r,(()=>Re(e,o,t)))},Le=(e,t)=>Ce(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),Ce=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Re=async(e,t,n)=>{var o;const r=e.$hostElement$,i=r["s-rc"];n&&(e=>{const t=e.o,n=e.$hostElement$,o=t.u,r=z(n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.D);10&o&&(n["s-sc"]=r,n.classList.add(r+"-h"))})(e);_e(e,t,r,n),i&&(i.map((e=>e())),r["s-rc"]=void 0);{const t=null!=(o=r["s-p"])?o:[],n=()=>Fe(e);0===t.length?n():(Promise.all(t).then(n).catch(n),e.u|=4,t.length=0)}},_e=(e,t,n,o)=>{try{t=t.render&&t.render(),e.u&=-17,e.u|=2,Ne(e,t,o)}catch(t){d(t,e.$hostElement$)}return null},Fe=e=>{const t=e.$hostElement$,n=t,o=e.q;Pe(n,"componentDidRender",void 0,t),64&e.u?Pe(n,"componentDidUpdate",void 0,t):(e.u|=64,ze(t),Pe(n,"componentDidLoad",void 0,t),e.W(t),o||He()),e.P&&(e.P(),e.P=void 0),512&e.u&&I((()=>xe(e,!1))),e.u&=-517},Ue=e=>{var t;{const n=u(e),o=null==(t=null==n?void 0:n.$hostElement$)?void 0:t.isConnected;return o&&2==(18&n.u)&&xe(n,!1),o}},He=()=>{var e;I((()=>(e=>{const t=$.ce("appload",{detail:{namespace:"kolibri"}});return e.dispatchEvent(t),t})(m))),(null==(e=$.J)?void 0:e.size)&&$.J.clear()},Pe=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){d(e,o)}},ze=t=>{var n;return t.classList.add(null!=(n=e)?n:"hydrated")},qe=(e,t,n,o)=>{const r=u(e);if(!r)return;const i=e,l=r.i.get(t),s=r.u,a=i;n=le(n,o.t[t][0]);const c=Number.isNaN(l)&&Number.isNaN(n);if(n!==l&&!c){if(r.i.set(t,n),o.V){const e=o.V[t];e&&e.map((e=>{try{const[[o,i]]=Object.entries(e);(128&s||1&i)&&(a?a[o](n,l,t):r.K.push((()=>{r.Y[o](n,l,t)})))}catch(e){d(e,i)}}))}if(2&s){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(n,l,t)&&!(16&s))return;16&s||xe(r,!1)}}},De=(e,t)=>{var n,o;const r=e.prototype;{e.watchers&&!t.V&&(t.V=oe(e.watchers)),e.deserializers&&!t.Z&&(t.Z=e.deserializers),e.serializers&&!t.X&&(t.X=e.serializers);const i=Object.entries(null!=(n=t.t)?n:{});i.map((([e,[n]])=>{if(31&n||32&n){const{get:o,set:i}=s(r,e)||{};o&&(t.t[e][0]|=2048),i&&(t.t[e][0]|=4096),Object.defineProperty(r,e,{get(){return o?o.apply(this):(t=e,u(this).i.get(t));var t},configurable:!0,enumerable:!0}),Object.defineProperty(r,e,{set(o){const r=u(this);if(r){if(i)return void 0===(32&n?this[e]:r.$hostElement$[e])&&r.i.get(e)&&(o=r.i.get(e)),i.apply(this,[le(o,n)]),void qe(this,e,o=32&n?this[e]:r.$hostElement$[e],t);qe(this,e,o,t)}}})}}));{const n=new Map;r.attributeChangedCallback=function(e,o,l){$.jmp((()=>{var s;const a=n.get(e),c=u(this);if(this.hasOwnProperty(a),r.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==l)return;if(null==a){const n=null==c?void 0:c.u;if(c&&n&&!(8&n)&&l!==o){const r=this,i=null==(s=t.V)?void 0:s[e];null==i||i.forEach((t=>{const[[i,s]]=Object.entries(t);null!=(null==r?void 0:r[i])&&(128&n||1&s)&&r[i].call(r,l,o,e)}))}return}const f=i.find((([e])=>e===a)),d=f?f[1][0]:0,p=4&d;if(512&d&&8&d&&!D(this[a])&&(null==(h=this[a])||!1===h?null:!0===h?"":String(h))===l)return;var h;const g=p&&null===l&&void 0===this[a];p&&(l=null!==l&&"false"!==l);const b=Object.getOwnPropertyDescriptor(r,a);g||l===this[a]||null==l&&null==this[a]||b.get&&!b.set||(this[a]=l)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(o=t.V)?o:{}),...i.filter((([e,t])=>31&t[0])).map((([e,o])=>{var r;const i=o[1]||e;return n.set(i,e),512&o[0]&&(null==(r=t.U)||r.push([e,i])),i}))]))}}return e},We=async(e,t,n)=>{let o;try{if(!(32&t.u)&&(t.u|=32,t.u&=-1025,o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.u|=128)),o&&o.style)){let r;"string"==typeof o.style?r=o.style:"string"!=typeof o.style&&(t.D=(e=>h.map((t=>t(e))).find((e=>!!e)))(e),t.D&&(r=o.style[t.D]));const i=q(n,t.D);if(!p.has(i)){const e=()=>{};P(i,r,!!(1&n.u)),e()}}const r=t.q,i=()=>xe(t,!0);r&&r["s-rc"]?r["s-rc"].push(i):i()}catch(n){d(n,e),t.P&&(t.P(),t.P=void 0),!t.W||1024&t.u||t.W(e)}},Be=(e,t)=>{const n={u:t[0],m:t[1]};try{n.t=t[2],n.ee=t[3],n.V=oe(e.V),n.Z=e.Z,n.X=e.X,n.U=[],(e=>{if(!m.document)return;const t=m.document.querySelectorAll(`[${b}]`);let n=0;for(;n<t.length;n++){const o=t[n].getAttribute(b);e.some((e=>{const t="sc-"+e.m;return 1&e.u&&(o===t||32&e.u&&o.startsWith(t+"-"))}))&&P(o,t[n].innerHTML.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),!0)}})([n]);const o=e.prototype.connectedCallback,r=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){((e,t)=>{const n={u:0,$hostElement$:e,o:t,i:new Map,te:new Map};n.ne=new Promise((e=>n.W=e)),e["s-p"]=[],e["s-rc"]=[];const o=n;e.__stencil__getHostRef=()=>o,512&t.u&&c(e,n)})(this,n)},connectedCallback(){if(!this.__hasHostListenerAttached){const e=u(this);if(!e)return;Ve(this,e,n.ee),this.__hasHostListenerAttached=!0}(e=>{if(!(1&$.u)){const t=u(e);if(!t)return;const n=t.o,o=()=>{};if(1&t.u)Ve(e,t,n.ee),(null==t?void 0:t.Y)||(1024&t.u?setTimeout((()=>We(e,t,n)),1e3):(null==t?void 0:t.ne)&&t.ne.then((()=>{})));else{let o;if(t.u|=1,o=e.getAttribute(g),o){if(1&n.u){const t=z(e.shadowRoot,n,e.getAttribute("s-mode"));e.classList.remove(t+"-h",t+"-s")}((e,t,n,o)=>{var r,i,l,s;const a=e.shadowRoot,c=[],f=[],d=a?[]:null,p=B(t,null);p.M=e,!m.document||$.J&&$.J.size||Q(m.document.body,$.J=new Map),e[g]=n,e.removeAttribute(g),o.F=G(p,c,[],d,e,e,n,f);let h=0;const b=c.length;let y;for(;h<b;h++){y=c[h];const n=y.A+"."+y.I,o=$.J.get(n),i=y.M;if(a){if((null==(r=y.j)?void 0:r.toString().includes("-"))&&"slot-fb"!==y.j&&!y.M.shadowRoot){const e=u(y.M);if(e){const t=q(e.o,y.M.getAttribute("s-mode")),n=m.document.querySelector(`style[sty-id="${t}"]`);n&&d.unshift(n.cloneNode(!0))}}}else i["s-hn"]=tt(t).toUpperCase(),"slot"===y.j&&(i["s-cr"]=e["s-cr"]);"slot"===y.j&&(y.N=y.M["s-sn"]||y.M.name||null,y.T?(y.u|=2,y.M.childNodes.length||y.T.forEach((e=>{y.M.appendChild(e.M)}))):y.u|=1),o&&o.isConnected&&(o.parentElement.shadowRoot&&""===o["s-en"]&&o.parentNode.insertBefore(i,o.nextSibling),o.parentNode.removeChild(o),a||(i["s-oo"]=parseInt(y.I))),o&&!o["s-id"]&&$.J.delete(n)}const v=[],w=f.length;let S,k,E,T,O=0,j=0;for(;O<w;O++)if(S=f[O],S&&S.length)for(E=S.length,k=0;k<E;k++){if(T=S[k],v[T.hostId]||(v[T.hostId]=$.J.get(T.hostId)),!v[T.hostId])continue;const e=v[T.hostId];e.shadowRoot&&T.node.parentElement!==e&&e.insertBefore(T.node,null==(l=null==(i=S[k-1])?void 0:i.node)?void 0:l.nextSibling),e.shadowRoot&&a||(T.slot["s-cr"]||(T.slot["s-cr"]=e["s-cr"],T.slot["s-cr"]=!T.slot["s-cr"]&&e.shadowRoot?e:(e.__childNodes||e.childNodes)[0]),F(T.node,T.slot,0,T.node["s-oo"]||j),(null==(s=T.node.parentElement)?void 0:s.shadowRoot)&&T.node.getAttribute&&T.node.getAttribute("slot")&&T.node.removeAttribute("slot")),j=(T.node["s-oo"]||j)+1}if(a&&!a.childNodes.length){let t=0;const n=d.length;if(n){for(;t<n;t++){const e=d[t];e&&a.appendChild(e)}Array.from(e.childNodes).forEach((e=>{"string"!=typeof e["s-en"]&&"string"!=typeof e["s-sn"]&&(1===e.nodeType&&e.slot&&e.hidden?e.removeAttribute("hidden"):8!==e.nodeType||e.nodeValue||e.parentNode.removeChild(e))}))}}o.$hostElement$=e})(e,n.m,o,t)}{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Ae(t,t.q=n);break}}n.t&&Object.entries(n.t).map((([t,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];delete e[t],e[t]=n}})),We(e,t,n)}o()}})(this),o&&o.call(this)},disconnectedCallback(){(async e=>{if(!(1&$.u)){const t=u(e);(null==t?void 0:t.oe)&&(t.oe.map((e=>e())),t.oe=void 0)}H.has(e)&&H.delete(e),e.shadowRoot&&H.has(e.shadowRoot)&&H.delete(e.shadowRoot)})(this),r&&r.call(this)},__attachShadow(){if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw new Error(`Unable to re-use existing shadow root for ${n.m}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else _.call(this,n)}}),Object.defineProperty(e,"is",{value:n.m,configurable:!0}),De(e,n)}catch(t){return d(t),e}},Je=(e,t)=>t,Ve=(e,t,n)=>{n&&m.document&&n.map((([n,o,r])=>{const i=e,l=Ke(t,r),s=Ye(n);$.ael(i,o,l,s),(t.oe=t.oe||[]).push((()=>$.rel(i,o,l,s)))}))},Ke=(e,t)=>n=>{try{e.$hostElement$[t](n)}catch(t){d(t,e.$hostElement$)}},Ye=e=>S?{passive:!!(1&e),capture:!!(2&e)}:!!(2&e),Ge=e=>$.v=e,Qe=e=>Object.assign($,e),Ze=new WeakMap;function Xe(e,t){let n=Ze.get(t);n||(n={u:0,o:{u:0,m:t.tagName},$hostElement$:t},Ze.set(t,n)),Ne(n,e)}var et=void 0;function tt(e){return et?et(e):e}function nt(e){et&&console.warn("\n A tagTransformer has already been set. \n Overwriting it may lead to error and unexpected results if your components have already been defined.\n "),et=e}function ot(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var rt,it,lt,st={exports:{}},at=(rt||(rt=1,it=st.exports,lt=function(){var e=function(){},t="undefined",n=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),o=["trace","debug","info","warn","error"],r={},i=null;function l(e,t){var n=e[t];if("function"==typeof n.bind)return n.bind(e);try{return Function.prototype.bind.call(n,e)}catch(t){return function(){return Function.prototype.apply.apply(n,[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 n=this.getLevel(),r=0;r<o.length;r++){var i=o[r];this[i]=r<n?e:this.methodFactory(i,n,this.name)}if(this.log=this.debug,typeof console===t&&n<this.levels.SILENT)return"No console available for logging"}function c(e){return function(){typeof console!==t&&(a.call(this),this[e].apply(this,arguments))}}function u(o,r,i){return function(o){return"debug"===o&&(o="log"),typeof console!==t&&("trace"===o&&n?s:void 0!==console[o]?l(console,o):void 0!==console.log?l(console,"log"):e)}(o)||c.apply(this,arguments)}function f(e,n){var l,s,c,f=this,d="loglevel";function p(){var e;if(typeof window!==t&&d){try{e=window.localStorage[d]}catch(e){}if(typeof e===t)try{var n=window.document.cookie,o=encodeURIComponent(d),r=n.indexOf(o+"=");-1!==r&&(e=/^([^;]+)/.exec(n.slice(r+o.length+1))[1])}catch(e){}return void 0===f.levels[e]&&(e=void 0),e}}function h(e){var t=e;if("string"==typeof t&&void 0!==f.levels[t.toUpperCase()]&&(t=f.levels[t.toUpperCase()]),"number"==typeof t&&t>=0&&t<=f.levels.SILENT)return t;throw new TypeError("log.setLevel() called with invalid level: "+e)}"string"==typeof e?d+=":"+e:"symbol"==typeof e&&(d=void 0),f.name=e,f.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},f.methodFactory=n||u,f.getLevel=function(){return null!=c?c:null!=s?s:l},f.setLevel=function(e,n){return c=h(e),!1!==n&&function(e){var n=(o[e]||"silent").toUpperCase();if(typeof window!==t&&d){try{return void(window.localStorage[d]=n)}catch(e){}try{window.document.cookie=encodeURIComponent(d)+"="+n+";"}catch(e){}}}(c),a.call(f)},f.setDefaultLevel=function(e){s=h(e),p()||f.setLevel(e,!1)},f.resetLevel=function(){c=null,function(){if(typeof window!==t&&d){try{window.localStorage.removeItem(d)}catch(e){}try{window.document.cookie=encodeURIComponent(d)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(e){}}}(),a.call(f)},f.enableAll=function(e){f.setLevel(f.levels.TRACE,e)},f.disableAll=function(e){f.setLevel(f.levels.SILENT,e)},f.rebuild=function(){if(i!==f&&(l=h(i.getLevel())),a.call(f),i===f)for(var e in r)r[e].rebuild()},l=h(i?i.getLevel():"WARN");var g=p();null!=g&&(c=h(g)),a.call(f)}(i=new f).getLogger=function(e){if("symbol"!=typeof e&&"string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var t=r[e];return t||(t=r[e]=new f(e,i.methodFactory)),t};var d=typeof window!==t?window.log:void 0;return i.noConflict=function(){return typeof window!==t&&window.log===i&&(window.log=d),i},i.getLoggers=function(){return r},i.default=i,i},st.exports?st.exports=lt():it.log=lt()),st.exports),ct=ot(at);const ut={A11yUi:{CSS_STYLE_CACHE:new Map,FEATURES:{},IS_TEST_ENVIRONMENT:(()=>{const e=typeof process<"u"&&process.env?process.env:{},t="test"===e.NODE_ENV,n="VITEST"in e,o="JEST_WORKER_ID"in e,r="PLAYWRIGHT_TEST_BASE_URL"in e,i="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 t||n||o||r||i||l||s||a})(),PERFORMANCE_MEASURES:new Map,STYLING_TASK_QUEUE:new Map,THEMES:new Map,THEME_FEATURES:{},showAverageTimes:()=>{const e={};for(const[t,n]of ut.A11yUi.PERFORMANCE_MEASURES.entries())e[t]=[n.totalTime/n.count,n.count];const t=Object.entries(e).sort(((e,t)=>t[1][0]-e[1][0]));return console.table(Object.fromEntries(t.map((([e,[t,n]])=>[e,{"avg (ms)":parseFloat(t.toFixed(2)),count:n}])))),e}}};let ft=!0,dt=!1;const pt=/^[a-z][a-z0-9]{1,}(-[a-z0-9]+)?$/,ht=e=>{if(!(e=>"string"==typeof e&&pt.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]+)?$/`)},gt=e=>e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\s*([{},;])\s*/g,"$1").replace(/:\s+/g,":").replace(/\s+/g," ").replace(/;\}/g,"}").trim(),bt=(e,t,n,o)=>{(o=o??{}).append=o.append??!1,ht(e),ft&&!dt&&(dt=!0,ct.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 r=ut.A11yUi.THEMES.get(e);if(r||(r=new Map,ut.A11yUi.THEMES.set(e,r)),o.append&&r.has(t)){const e=r.get(t);r.set(t,gt(`${e}${n}`))}else r.set(t,gt(n))},yt=(e,t,n,o)=>(ht(e),"object"==typeof t&&null!==t&&Object.getOwnPropertyNames(t).forEach((r=>{const i=t[r],l=r.toLowerCase(),s="function"!=typeof o?.transformTagName||["GLOBAL","PROPERTIES"].includes(r)?r:o.transformTagName(l);"string"==typeof i&&i.length>0&&bt(e,s.toUpperCase(),i,n)})),e),vt=e=>{if(e instanceof HTMLElement){if("string"==typeof e.dataset.theme)return e;{let t=e.parentNode;for(;typeof ShadowRoot<"u"&&t instanceof ShadowRoot;)t=t.host;return vt(t)}}return null},mt=(e={})=>"false"!==e.themeEncroachCss&&"true"!==e.themeReset&&{mode:"after"===e.themeEncroachCssMode||"before"===e.themeEncroachCssMode?e.themeEncroachCssMode:"before"},wt=()=>"object"==typeof ut.A11yUi.Theme&&null!==ut.A11yUi.Theme&&"boolean"==typeof ut.A11yUi.Theme.cache&&"object"==typeof ut.A11yUi.Theme.encroachCss&&null!==ut.A11yUi.Theme.encroachCss&&"string"==typeof ut.A11yUi.Theme.encroachCss.mode&&"string"==typeof ut.A11yUi.Theme.name,$t=e=>{if(wt())return ut.A11yUi.Theme;{const t={cache:!0,encroachCss:mt(),loglevel:"silent",mode:"csr",name:null},n=vt(e);return n instanceof HTMLElement&&(t.cache="false"!==n.dataset.themeCache,t.encroachCss=mt(n.dataset),t.loglevel="debug"===n.dataset.themeLoglevel?n.dataset.themeLoglevel:"silent",t.mode="ssr"===n.dataset.themeMode?n.dataset.themeMode:"csr",t.name=n.dataset.theme||null),t}},St=()=>wt()?ut.A11yUi.Theme.name:null,kt=(...e)=>{const t={};for(const n of e)n&&Object.assign(t,n);return t},Et=(e,t)=>{const n=ut.A11yUi.FEATURES[e];if(void 0!==n)return n;const o=(e=>$t(e).name)(t??null)??St();if(null!==o){const t=ut.A11yUi.THEME_FEATURES[o];if(t&&void 0!==t[e])return t[e]}};let Tt=!1;const Ot=(e,t,n={})=>{Tt||(Tt=!0,ft=!1,typeof window<"u"&&(window.A11yUi=ut.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,t)=>{!1===wt()&&("object"!=typeof ut.A11yUi.Theme||null===ut.A11yUi.Theme||"default"!==ut.A11yUi.Theme.name)&&"object"==typeof t&&null!==t&&(t=((e,t)=>({cache:!1!==t.cache,detect:"auto"===t.detect?"auto":"fixed",encroachCss:!1!==t.encroachCss&&("object"!=typeof t.encroachCss||null==t.encroachCss||"after"!==t.encroachCss.mode&&"before"!==t.encroachCss.mode?{mode:"before"}:t.encroachCss),loglevel:"debug"===t.loglevel?t.loglevel:"silent",mode:"ssr"===t.mode?t.mode:"csr",name:"string"==typeof t.name?t.name:e}))(e,t),"fixed"===t.detect?(null===t.name&&"string"==typeof e&&(t.name=e),e===t.name&&(ut.A11yUi.Theme=t,ct.info(`[Theming] Theme "${e}" was set as default theme.`))):dt||(dt=!0,ct.warn("[Theming] The presetting of theme options is only relevant by using 'fixed' detection mode.")))})(e(((e,t,o,r)=>(r&&(ut.A11yUi.THEME_FEATURES[e]=kt(ut.A11yUi.THEME_FEATURES[e],r)),yt(e,t,o,n)))),{cache:n.theme?.cache,detect:n.theme?.detect,encroachCss:n.theme?.encroachCss,mode:n.theme?.mode,name:n.theme?.name}):ct.error("[Theming] An attempt was made to load an incompatible theme.")})),ft=!0,n.features&&(ut.A11yUi.FEATURES=kt(ut.A11yUi.FEATURES,n.features)),"function"==typeof t?t=new Set([t]):Array.isArray(t)&&(t=new Set(t));const o=[];return t.forEach((e=>{const t=e();t instanceof Promise&&o.push(t)})),Promise.all(o)},jt=new Set,Mt=new Map,Nt=/--[^;]+/g,At=/:/,xt=typeof MutationObserver<"u";let It=25,Lt=()=>{It=Math.min(25+20*Math.log2(ut.A11yUi.STYLING_TASK_QUEUE.size+1),250)};const Ct=(e,t)=>{const n=ut.A11yUi.THEMES.get(e);if(n instanceof Map){const e=n.get(t);if(void 0!==e)return e}return""},Rt=(e,t,n,o)=>{const r="debug"===ut.A11yUi.Theme?.loglevel,i=r?performance.now():0;if((e=>{const t=e.firstChild;if(t instanceof HTMLStyleElement&&void 0===t.dataset.themingFallback)for(const t of Array.from(e.childNodes)){if(!(t instanceof HTMLStyleElement&&"STYLE"===t.tagName&&void 0===t.dataset.themingFallback))break;e.removeChild(t)}})(t),((e,t)=>{try{if("ssr"===ut.A11yUi.Theme?.mode)throw new Error("SSR");const n=t.filter((e=>"string"==typeof e&&e.length>0)).map((e=>{let t=Mt.get(e);return t||(t=new CSSStyleSheet,t.replaceSync(e),Mt.set(e,t)),t}));e.adoptedStyleSheets=n}catch{for(let n=t.length-1;n>=0;n--){const o=t[n];if("string"!=typeof o||0===o.length)continue;const r=t.length-1-n,i=document.createElement("style");switch(i.dataset.themingFallback="",r){case 4:i.dataset.themingBaseA11y="";break;case 3:i.dataset.themingBaseGlobal="";break;case 2:i.dataset.themingBaseComponent="";break;case 1:i.dataset.themingCustomGlobal="";break;case 0:i.dataset.themingCustomComponent="";break;default:i.dataset.themingUnknown=""}i.innerHTML=o,e.insertBefore(i,e.firstChild)}}})(t,n),Wt(e),requestAnimationFrame(o),r){const t=performance.now()-i,n=ut.A11yUi.PERFORMANCE_MEASURES.get(e.tagName);n?(n.count+=1,n.totalTime+=t):ut.A11yUi.PERFORMANCE_MEASURES.set(e.tagName,{count:1,totalTime:t})}},_t=e=>{const t=ut.A11yUi.STYLING_TASK_QUEUE.get(e);if(t){const{resetCss:n,themeDetails:o}=t;((e,t,n)=>{const o=t.name||"default";let r;try{if(null===e.shadowRoot)throw new Error("ShadowRoot is null");r=e.shadowRoot}catch{r=e}const i=ut.A11yUi.CSS_STYLE_CACHE.get(o)?.get(e.tagName);if(i)Rt(e,r,i,n);else{const i=Ct(o,"PROPERTIES"),l=Ct(o,"GLOBAL"),s=Ct(o,e.tagName);!1===jt.has(o)&&((e,t)=>{let n=t.match(Nt);if(Array.isArray(n)){n=n.filter((e=>At.test(e)));const t=document.createElement("style");t.innerHTML=`.${e} {${n.join(";")}}`,document.querySelector("head")?.appendChild(t)}jt.add(e)})(o,l);const a=[i,l,s];if(((e,t,n)=>{if(!1===n||"before"!==n?.mode&&"after"!==n?.mode)return;const o=Array.from(e.childNodes).filter((e=>e instanceof HTMLStyleElement&&"STYLE"===e.tagName));let r;try{r=Array.from(e.adoptedStyleSheets)}catch{r=[]}if(0!==o.length||0!==r.length)if("before"===n.mode){const e=[...r.map((e=>Array.from(e.cssRules).map((e=>e.cssText)).join(""))),...o.map((e=>e.innerHTML))];t.unshift(...e)}else o.forEach((e=>t.push(e.innerHTML))),r.forEach((e=>t.push(Array.from(e.cssRules).map((e=>e.cssText)).join(""))))})(r,a,t.encroachCss),!0===t.cache){let t=ut.A11yUi.CSS_STYLE_CACHE.get(o);t||(t=new Map,ut.A11yUi.CSS_STYLE_CACHE.set(o,t)),t.set(e.tagName,a)}Rt(e,r,a,n)}})(e,o,n)}};let Ft=(e,t=0)=>{if(t>=100)return;const n=setTimeout((()=>{clearTimeout(n),e.classList.contains("hydrated")?_t(e):Ft(e,t+1)}),It)};const Ut={attributes:!0,attributeFilter:["class"],childList:!1,subtree:!1},Ht={attributes:!0,attributeFilter:[],childList:!1,subtree:!1},Pt=xt?new MutationObserver(((e,t)=>{const n=[];for(const t of e){const e=t.target;e.classList.contains("hydrated")&&ut.A11yUi.STYLING_TASK_QUEUE.has(e)&&(_t(e),n.push(e))}for(const e of n)t.observe(e,Ht)})):null;Pt&&(Ft=e=>Pt.observe(e,Ut),Lt=()=>{});const zt=new Map;let qt=(e,t)=>{if(t){const e=zt.get(t);if(void 0!==e)return e}const n=getComputedStyle(e).getPropertyValue("--theme-visibility-delay").trim();let o;if(n.endsWith("ms"))o=parseFloat(n);else if(n.endsWith("s"))o=1e3*parseFloat(n);else{const e=parseFloat(n);o=isNaN(e)?0:e}return t&&zt.set(t,o),o};ut.A11yUi.IS_TEST_ENVIRONMENT&&(qt=()=>0);const Dt=(e,t)=>{e.style.setProperty("visibility",t),e.dataset.themed=""},Wt=e=>{ut.A11yUi.STYLING_TASK_QUEUE.delete(e),Lt()},Bt=(e,t)=>{((e,t)=>{const n=e.style.visibility||null,o=t.name||"default";ut.A11yUi.STYLING_TASK_QUEUE.set(e,{resetCss:()=>{const t=qt(e,o);t>0?setTimeout((()=>{Dt(e,n)}),t):Dt(e,n)},themeDetails:t}),"ssr"!==t.mode&&e.style.setProperty("visibility","hidden","important"),Ft(e)})(e,{...ut.A11yUi.Theme,...t})};class Jt{Prefix;Key;Tag;createTheme=(e,t,n)=>((e,t,n)=>o=>o(e,t,{append:!1},n))(e,t,n);createTranslation=(e,t)=>((e,t)=>n=>n(e,t))(e,t);constructor(e,t,n){this.Prefix=e,this.Key=Object.getOwnPropertyNames(t),this.Tag=Object.getOwnPropertyNames(n)}}var Vt,Kt;!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.progress=44]="progress",e[e.readonly=45]="readonly",e[e["show-password"]=46]="show-password",e[e["show-suggestions"]=47]="show-suggestions",e[e.sort=48]="sort",e[e["split-button-dropdown-label-open"]=49]="split-button-dropdown-label-open",e[e.success=50]="success",e[e["table-data-loading"]=51]="table-data-loading",e[e["table-data-loaded"]=52]="table-data-loaded",e[e["table-pagination-label"]=53]="table-pagination-label",e[e["table-selection"]=54]="table-selection",e[e["table-selection-all"]=55]="table-selection-all",e[e["table-selection-indeterminate"]=56]="table-selection-indeterminate",e[e["table-selection-none"]=57]="table-selection-none",e[e["table-settings"]=58]="table-settings",e[e["table-settings-apply"]=59]="table-settings-apply",e[e["table-settings-cancel"]=60]="table-settings-cancel",e[e["table-settings-column-hidable"]=61]="table-settings-column-hidable",e[e["table-settings-column-not-hidable"]=62]="table-settings-column-not-hidable",e[e["table-settings-column-width"]=63]="table-settings-column-width",e[e["table-settings-error-all-invisible"]=64]="table-settings-error-all-invisible",e[e["table-settings-move-down"]=65]="table-settings-move-down",e[e["table-settings-move-up"]=66]="table-settings-move-up",e[e["table-settings-not-move"]=67]="table-settings-not-move",e[e["table-sort-order"]=68]="table-sort-order",e[e["table-visible-range"]=69]="table-visible-range",e[e["toast-close-all"]=70]="toast-close-all",e[e.version=71]="version",e[e.warning=72]="warning"}(Vt||(Vt={})),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"}(Kt||(Kt={}));const Yt=()=>"undefined"!=typeof window?window:{},Gt=()=>{const e=Yt();return e&&void 0!==e.document?e.document:{}},Qt=["development","production","test"];let Zt="production";const Xt=e=>{try{if(!Qt.includes(e))throw new Error(`Invalid NODE_ENV value: ${e}. Expected one of ${Qt.join(", ")}.`);Zt=e}catch(e){Zt="production"}},en=()=>{try{return"undefined"!=typeof process&&process.env?process.env.NODE_ENV:void 0}catch(e){return}};Xt((()=>{const e=en();return e&&Qt.includes(e)?e:"production"})());let tn=!1,nn=!1;const on=()=>"development"===Zt,rn=()=>"test"===Zt,ln=()=>!0===tn,sn=e=>{tn=!0===e},an=()=>!0===nn,cn=e=>{nn=!0===e},un=e=>Array.isArray(e)?e:[e],fn=e=>`%c${e}`,dn=(e,t)=>"string"==typeof t&&t.length>0?`${fn(e)} | ${t}`:fn(e),pn=(e,t)=>[dn(e,null==t?void 0:t.classifier),`color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000;${(null==t?void 0:t.overwriteStyle)||""}`],hn=e=>on()||!0===e,gn=new class{constructor(e){this.label=e}debug(e,t){hn(null==t?void 0:t.forceLog)&&console.debug(...pn(this.label,t),...un(e))}info(e,t){hn(null==t?void 0:t.forceLog)&&console.info(...pn(this.label,t),...un(e))}trace(e,t){hn(null==t?void 0:t.forceLog)&&console.trace(...pn(this.label,t),...un(e))}warn(e,t){hn(null==t?void 0:t.forceLog)&&console.warn(...pn(this.label,t),...un(e))}error(e,t){console.error(...pn(this.label,t),...un(e))}throw(e,t){if(hn(null==t?void 0:t.forceLog))throw new Error(...pn(this.label,t),...un(e))}}("KoliBri"),bn=new Set,yn=e=>{!1===bn.has(e)&&(bn.add(e),gn.debug([e].concat([]),{classifier:"✋ a11y",forceLog:!1,overwriteStyle:"; background-color: #09f"}))},vn=new Set,mn=e=>{!1===vn.has(e)&&(vn.add(e),gn.warn([e].concat([]),{classifier:"🔥 deprecated",forceLog:!1,overwriteStyle:"; background-color: #f00"}))},wn=new Set,$n=(e,t)=>{(!1===wn.has(e)||(null==t?void 0:t.force))&&(wn.add(e),gn.debug([e].concat((null==t?void 0:t.details)||[]),{classifier:"💻 dev",forceLog:!!(null==t?void 0:t.force),overwriteStyle:"; background-color: #f09"}))},Sn=e=>{!1===wn.has(e)&&(wn.add(e),gn.warn([e].concat([]),{classifier:"⚠️ dev",forceLog:!1,overwriteStyle:"; background-color: #f09"}))},kn=new Set,En=(e,t=!1)=>{!1===kn.has(e)&&(kn.add(e),gn.debug([e+=!0===t?" ✅":""].concat([]),{classifier:"🌟 feature",forceLog:!1,overwriteStyle:"; background-color: #309"}))};$n("We appreciate any feedback, comments, screenshots, or demo links of an application based on KoliBri (kolibri@itzbund.de). Thank you!");const Tn=new Set,On=e=>{!1===Tn.has(e)&&(Tn.add(e),gn.debug([e].concat([]),{classifier:"📑 ui/ux",forceLog:!1,overwriteStyle:"; background-color: #060;"}))},jn=e=>{"string"==typeof e&&""!==e||yn("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")},Mn=(e,t=8)=>{t>7&&On(`[${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 Nn,An,xn,In,Ln=1/12.92;function Cn(e){return Math.pow((e+.055)/1.055,2.4)}function Rn(e){var t=e[0]/255,n=e[1]/255,o=e[2]/255;return.2126*(t<=.03928?t*Ln:Cn(t))+.7152*(n<=.03928?n*Ln:Cn(n))+.0722*(o<=.03928?o*Ln:Cn(o))}function _n(e){var t=255;8===(e=e.replace(/^#/,"")).length&&(t=parseInt(e.slice(6,8),16),e=e.substring(0,6)),4===e.length&&(t=parseInt(e.slice(3,4).repeat(2),16),e=e.substring(0,3)),3===e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);var n=parseInt(e,16);return[n>>16,n>>8&255,255&n,t]}function Fn(e,t){return function(e,t){return function(e,t){return(Math.max(e,t)+.05)/(Math.min(e,t)+.05)}(Rn(e),Rn(t))}(_n(e),_n(t))}var Un=function(){if(In)return xn;In=1;var e=An?Nn:(An=1,Nn={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]});xn=function(n){var o,r,i=[],l=1;if("string"==typeof n)if(n=n.toLowerCase(),e[n])i=e[n].slice(),r="rgb";else if("transparent"===n)l=0,r="rgb",i=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(n)){var s=n.slice(1);l=1,(u=s.length)<=4?(i=[parseInt(s[0]+s[0],16),parseInt(s[1]+s[1],16),parseInt(s[2]+s[2],16)],4===u&&(l=parseInt(s[3]+s[3],16)/255)):(i=[parseInt(s[0]+s[1],16),parseInt(s[2]+s[3],16),parseInt(s[4]+s[5],16)],8===u&&(l=parseInt(s[6]+s[7],16)/255)),i[0]||(i[0]=0),i[1]||(i[1]=0),i[2]||(i[2]=0),r="rgb"}else if(o=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(n)){var a=o[1],c="rgb"===a;r=s=a.replace(/a$/,"");var u="cmyk"===s?4:"gray"===s?1:3;i=o[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(e,n){if(/%$/.test(e))return n===u?parseFloat(e)/100:"rgb"===s?255*parseFloat(e)/100:parseFloat(e);if("h"===s[n]){if(/deg$/.test(e))return parseFloat(e);if(void 0!==t[e])return t[e]}return parseFloat(e)})),a===s&&i.push(1),l=c||void 0===i[u]?1:i[u],i=i.slice(0,u)}else n.length>10&&/[0-9](?:\s|\/)/.test(n)&&(i=n.match(/([0-9]+)/g).map((function(e){return parseFloat(e)})),r=n.match(/([a-z])/gi).join("").toLowerCase());else isNaN(n)?Array.isArray(n)||n.length?(i=[n[0],n[1],n[2]],r="rgb",l=4===n.length?n[3]:1):n instanceof Object&&(null!=n.r||null!=n.red||null!=n.R?(r="rgb",i=[n.r||n.red||n.R||0,n.g||n.green||n.G||0,n.b||n.blue||n.B||0]):(r="hsl",i=[n.h||n.hue||n.H||0,n.s||n.saturation||n.S||0,n.l||n.lightness||n.L||n.b||n.brightness]),l=n.a||n.alpha||n.opacity||1,null!=n.opacity&&(l/=100)):(r="rgb",i=[n>>>16,(65280&n)>>>8,255&n]);return{space:r,values:i,alpha:l}};var t={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};return xn}(),Hn=ot(Un);const Pn={min:[0,0,0],max:[255,255,255]};var zn={name:"hsl",min:[0,0,0],max:[360,100,100],channel:["hue","saturation","lightness"],alias:["HSL"],rgb:function(e){var t,n,o,r,i,l=e[0]/360,s=e[1]/100,a=e[2]/100,c=0;if(0===s)return[i=255*a,i,i];for(t=2*a-(n=a<.5?a*(1+s):a+s-a*s),r=[0,0,0];c<3;)(o=l+1/3*-(c-1))<0?o++:o>1&&o--,r[c++]=255*(i=6*o<1?t+6*(n-t)*o:2*o<1?n:3*o<2?t+(n-t)*(2/3-o)*6:t);return r}};Pn.hsl=function(e){var t,n,o=e[0]/255,r=e[1]/255,i=e[2]/255,l=Math.min(o,r,i),s=Math.max(o,r,i),a=s-l;return s===l?t=0:o===s?t=(r-i)/a:r===s?t=2+(i-o)/a:i===s&&(t=4+(o-r)/a),(t=Math.min(60*t,360))<0&&(t+=360),n=(l+s)/2,[t,100*(s===l?0:n<=.5?a/(s+l):a/(2-s-l)),100*n]};var qn,Dn={exports:{}},Wn=function(){if(qn)return Dn.exports;function e(e){var n=t(e);return 3==n.length?n.concat(255):(n[3]=Math.round(n[3]),n)}function t(e){return"string"==typeof e?("red"==(t=e=e.toLowerCase())?[255,0,0]:"green"==t?[0,255,0]:"blue"==t?[0,0,255]:"black"==t?[0,0,0]:"white"==t?[255,255,255]:"cyan"==t?[0,255,255]:"gray"==t||"grey"==t?[128,128,128]:"magenta"==t||"pink"==t?[255,0,255]:"yellow"==t?[255,255,0]:void 0)||function(e){var t=e.replace(/^#/,""),n=t.length;if(3==n||4==n){var r=o(t[0]),i=o(t[1]),l=o(t[2]),s=3==n?255:o(t[3]);if(isNaN(r)||isNaN(i)||isNaN(l)||isNaN(s))return;return[r,i,l,s]}}(e)||function(e){var t=e.replace(/^#/,""),n=t.length;if(6==n||8==n){var r=o(t.slice(0,2)),i=o(t.slice(2,4)),l=o(t.slice(4,6)),s=6==n?255:o(t.slice(6,8));if(isNaN(r)||isNaN(i)||isNaN(l)||isNaN(s))return;return[r,i,l,s]}}(e)||function(e){if("rgb("==e.substr(0,4)){var t=(e=e.match(/^rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number),n=r(t[0],!0),o=r(t[1],!0),i=r(t[2],!0);if(-1!=n&&-1!=o&&-1!=i)return[n,o,i,255]}}(e)||function(e){if("rgba("==e.substr(0,5)){var t=(e=e.match(/^rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number),n=r(t[0],!0),o=r(t[1],!0),i=r(t[2],!0),l=r(255*t[3]);if(-1!=n&&-1!=o&&-1!=i&&-1!=l)return[n,o,i,l]}}(e)||[0,0,0,255]:function(e){if("[object Object]"===Object.prototype.toString.call(e)&&Object.getPrototypeOf(e)===Object.getPrototypeOf({})){var t=r(null!=e.r?e.r:null!=e.red?e.red:0,!0),n=r(null!=e.g?e.g:null!=e.green?e.green:0,!0),o=r(null!=e.b?e.b:null!=e.blue?e.blue:0,!0),i=r(null!=e.a?e.a:null!=e.alpha?e.alpha:255,!0);if(-1!=t&&-1!=n&&-1!=o&&-1!=i)return[t,n,o,i]}}(e)||function(e){if(Array.isArray(e)&&(3==e.length||4==e.length)){var t=r(e[0],!0),n=r(e[1],!0),o=r(e[2],!0),i=r(null!=e[3]?e[3]:255,!0);if(-1!=t&&-1!=n&&-1!=o&&-1!=i)return[t,n,o,i]}}(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 t}function n(e){var t=e.toString(16);return 1==t.length?"0"+t:t}function o(e){return 1==e.length?parseInt(e+e,16):parseInt(e,16)}function r(e,t){return"number"!=typeof e||!0===t&&Math.floor(e)!==e?-1:e>=0&&e<=255?e:-1}return qn=1,Dn.exports=e,Dn.exports.arr=e,Dn.exports.obj=function(e){var n=t(e);return{r:n[0],g:n[1],b:n[2],a:3==n.length?255:Math.round(n[3])}},Dn.exports.css=function(e){var n=t(e);return 3==n.length&&n.push(255),255==n[3]?"rgb("+n[0]+", "+n[1]+", "+n[2]+")":0==n[3]?"rgba("+n[0]+", "+n[1]+", "+n[2]+", 0)":"rgba("+n[0]+", "+n[1]+", "+n[2]+", "+String(n[3]/255).substr(1)+")"},Dn.exports.hex=function(e){var o=t(e);3==o.length&&o.push(255);var r=255==o[3],i=n(o[0]),l=n(o[1]),s=n(o[2]),a=function(e,t,n,o){var r=["ff","00","11","22","33","44","55","66","77","88","99","aa","bb","cc","dd","ee"];return-1!=r.indexOf(e)&&-1!=r.indexOf(t)&&-1!=r.indexOf(n)&&-1!=r.indexOf(o)}(i,l,s,o=n(Math.round(o[3])));return r?a?"#"+i.charAt(0)+l.charAt(0)+s.charAt(0):"#"+i+l+s:a?"#"+i.charAt(0)+l.charAt(0)+s.charAt(0)+o.charAt(0):"#"+i+l+s+o},Dn.exports.num=function(e){var n=t(e);return 3==n.length?n.push(255):n[3]=Math.round(n[3]),(n[3]<<24>>>0|n[0]<<16|n[1]<<8|n[2])>>>0},Dn.exports}(),Bn=ot(Wn);const Jn=/\[object Object\]/,Vn=(e,t)=>{"string"==typeof e&&Jn.test(e)||t()},Kn=(e,t)=>{ln()&&(gn.debug([e,t]),gn.debug("↑ We propagate the (submit) event to this target.")),Object.defineProperty(e,"target",{value:t,writable:!1})},Yn=(e,t,n,o={})=>{var r,i;void 0===e.nextHooks&&(e.nextHooks=new Map),void 0===e.nextState&&(e.nextState=new Map),e.nextHooks.get(t)instanceof Map==0&&e.nextHooks.set(t,new Map),"function"==typeof o.afterPatch&&(null===(r=e.nextHooks.get(t))||void 0===r||r.set("afterPatch",o.afterPatch)),"function"==typeof o.beforePatch&&(null===(i=e.nextHooks.get(t))||void 0===i||i.set("beforePatch",o.beforePatch)),e.nextState.set(t,n),(e=>{var t,n,o;null===(t=e.nextHooks)||void 0===t||t.forEach(((t,n)=>{var o;const r=t.get("beforePatch");"function"==typeof r&&r(null===(o=e.nextState)||void 0===o?void 0:o.get(n),e.nextState,e,n)})),(null===(n=e.nextState)||void 0===n?void 0:n.size)>0&&(e.state=Object.assign(Object.assign({},e.state),Object.fromEntries(e.nextState)),delete e.nextState,null===(o=e.nextHooks)||void 0===o||o.forEach(((t,n)=>{const o=t.get("afterPatch");"function"==typeof o&&o(e.state[n],e.state,e,n)}))),delete e.nextHooks})(e)};function Gn(e,t,n,o,r,i={}){if("production"!==Zt||"production"!==en())if(n(r))Yn(e,t,r,i.hooks);else if(void 0===r&&!0!==i.required&&n(i.defaultValue))Yn(e,t,i.defaultValue,i.hooks);else{const n=new Set(o);i.required||n.add(null),((e,t,n,o)=>{$n(`[${e.constructor.name}] The property value: (${n}) for '${t}' is not valid. Allowed values are: ${Array.from(o).join(", ")}`)})(e,t,r,n)}else void 0!==r?Yn(e,t,r,i.hooks):n(void 0)?Yn(e,t,void 0,i.hooks):!0!==i.required&&n(i.defaultValue)&&Yn(e,t,i.defaultValue,i.hooks)}const Qn=e=>{try{return JSON.stringify(e).replace(/"/g,"'")}catch(t){throw gn.warn(["stringifyJson",e]),gn.error("↑ The JSON could not be converted to a string. A stringifiable JSON is expected."),new Error}},Zn=/^[{[]/,Xn=e=>{if("string"==typeof e)try{return JSON.parse(e)}catch(t){if(Zn.test(e))try{return JSON.parse(e.replace(/'/g,'"'))}catch(t){gn.warn(["parseJson",e]),gn.error("↑ The JSON string could not be parsed. Make sure that single quotes in the text are escaped (‘).")}}throw new Error},eo=(e,t)=>{if(!e)return;const n=new Set,o=[e];let r=0;for(;r<o.length;){const e=o[r++];if(n.has(e))continue;if(n.add(e),t(e))return;const i=Array.from(e.children||[]);for(let e=0;e<i.length;e++)o.push(i[e]);if(e instanceof HTMLElement&&e.shadowRoot&&o.push(e.shadowRoot),e instanceof HTMLSlotElement){const t=e.assignedNodes({flatten:!0});for(let e=0;e<t.length;e++)t[e]instanceof Element&&o.push(t[e])}}},to=(e,t)=>((e,t)=>{let n=null;return eo(t,(t=>!!(t instanceof Element&&t.matches(e))&&(n=t,!0))),n})(e,t||Gt()),no=(e,t)=>((e,t)=>{const n=[];return eo(t,(t=>(t instanceof Element&&t.matches(e)&&n.push(t),!1))),n})(e,t||Gt());let oo=null;const ro=()=>(oo=oo||{backgroundColor:"#00000000",color:"#00000000",domNode:Gt().body,level:"Fail",score:1},oo),io=/(\d+, ){3}0\)/,lo=(e,t=ro())=>{const n=getComputedStyle(e),o=io.test(n.backgroundColor)?t.backgroundColor:Bn.hex(n.backgroundColor),r=io.test(n.color)?t.color:Bn.hex(n.color),i=Fn(o,r),l={backgroundColor:o,color:r,domNode:e,level:(s=i,s>=7?"AAA":s>=4.5?"AA":s>=3?"AA Large":"Fail"),score:i};var s;return i<4.5&&gn.error(["Color-Contrast-Error",{backgroundColor:l.backgroundColor,color:l.color,level:l.level,score:l.score},l.domNode]),l},so=(e,t=ro())=>{t.domNode instanceof HTMLElement&&(t=lo(t.domNode,t));const n=t.domNode.querySelector(e);if(null===n){const n=t.domNode.querySelectorAll('[class="hydrated"]');for(let o=0;o<n.length&&(t.domNode=n[o],null===(t=so(e,t)).domNode);o++);return t}return lo(n,t)};class ao{static queryHtmlElementColors(e,t,n=!1,o=!0){let r=null;if(!0===n||!1===ao.executionLock)if(!1===n&&(ao.cache.clear(),ao.cache.set(t.domNode,t),ao.executionLock=!0,!0===o&&gn.debug("[KoliBriUtils] Color contrast analysis started...")),e===t.domNode)r=t;else{const n=new Set;if(t.domNode.shadowRoot){const e=t.domNode.shadowRoot.children;for(let t=0;t<e.length;t++)n.add(e[t])}const o=t.domNode;if("function"==typeof o.assignedNodes){const e=o.assignedNodes();for(let t=0;t<e.length;t++)e[t]instanceof HTMLElement&&n.add(e[t])}const i=t.domNode.children;for(let e=0;e<i.length;e++)n.add(i[e]);const l=Array.from(n);for(let n=0;n<l.length;n++){let o=ao.cache.get(l[n]);void 0===o&&(o=lo(l[n],t)),ao.cache.set(l[n],o);const i=ao.queryHtmlElementColors(e,o,!0,!1);if(null!==i){r=i;break}}}else gn.debug("[KoliBriUtils] Call aborted because a color contrast analysis is currently being executed.");return!1===n&&(!0===o&&gn.debug(`[KoliBriUtils] Color contrast analysis finished (${ao.cache.size} DOM elements are analysed).`),ao.executionLock=!1,ao.cache.clear()),r}}ao.executionLock=!1,ao.cache=new Map;class co{}co.getCssStyle=Ct,co.patchTheme=(e,t,n,o)=>yt(e,t,n,o),co.patchThemeTag=(e,t,n,o)=>bt(e,t,n,o),co.querySelector=to,co.querySelectorAll=no,co.stringifyJson=Qn;const uo=e=>"object"==typeof e&&null!==e,fo=(e,t=0)=>"string"==typeof e&&e.length>=t,po=e=>{if("object"!=typeof e||null===e)return fo(e,1);for(const t in e)if(!1===fo(t,1))return!1;return!0},ho=new Event("StateChange");export{ho as $,w as A,yn as B,On as C,t as D,Jt as E,Je as F,Gt as G,J as H,sn as I,cn as J,Vt as K,gn as L,Yt as M,rn as N,Xn as O,Bn as P,Fn as Q,St as R,En as S,Kt as T,Vn as U,Mn as V,ln as W,Et as X,po as Y,fo as Z,Ue as _,R as a,Gn as a0,to as a1,on as a2,lo as a3,no as a4,so as a5,ao as a6,Qn as a7,an as a8,Ge as b,Qe as c,Bt as d,nt as e,co as f,C as g,W as h,Kn as i,jn as j,mn as k,$n as l,Xt as m,ut as n,Ot as o,Be as p,ot as q,Xe as r,ne as s,tt as t,uo as u,Sn as v,$t as w,Hn as x,zn as y,Pn as z}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
|
|
4
|
+
import"./common.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"./common.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"),C=t.forBlock("kol-close-button")(),v=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:v,ariaHasPopup:"",ariaSelected:v,class:r(u,C),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:v,shortKey:"",tabIndex:v,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"./common.js";import{h as i}from"@stencil/core/internal/client";const n=(i,n)=>{let r="";return Array.isArray(i)&&i.forEach((i=>{r+="kol-"+n+"--"+i+" "})),r},r=({description:n,descriptionId:r})=>n?i("span",{class:"visually-hidden",id:r},n):null;export{r as A,n as c}
|
|
4
|
+
import{h as e,p as t,H as o,t as i}from"./common.js";import{a as l,_ as n}from"./tslib.es6.js";import{b as a}from"./bem-registry.js";import{v as r}from"./access-and-short-key.js";import{c as s,n as c,d as h,f as d,B as k}from"./base-web-component.js";import{i as b,g as f,f as m,B as u,F as p}from"./base-web-component2.js";import{I as _}from"./component3.js";import{I as g}from"./input.js";import{F as w}from"./field-control.js";import{a as y,d as v}from"./component6.js";import{r as x}from"./required.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=s("value",!0,(e=>e)),I=s("checked",!1,c),L=["checked","indeterminate","unchecked"],V=s("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=s("indeterminate",!1,c),D=["left","right"],H=s("labelAlign","right",(e=>{const t=h(e);if(D.includes(t))return t;throw new Error(`Invalid label alignment: ${t}`)})),S=s("variant","default",(e=>{const t=h(e);if(B.includes(t))return t;throw new Error(`Invalid checkbox variant: ${t}`)})),C=a.forBlock("kol-checkbox"),M=t=>{var{class:o,variant:i="default",icon:n,inputProps:a}=t,r=l(t,["class","variant","icon","inputProps"]);const{class:s}=a,c=l(a,["class"]);return e(k,Object.assign({component:"label",block:"kol-checkbox",modifiers:Object.assign({"variant-button":"button"===i,"variant-default":"default"===i,"variant-switch":"switch"===i,checked:Boolean(a.checked),indeterminate:Boolean(a.indeterminate),disabled:Boolean(a.disabled),required:Boolean(a.required),touched:Boolean(a.touched)},b(a.msg,a.touched)?{[f(a.msg)]:!0}:{}),class:o},r),e(_,{label:"",icons:n,class:C("icon")}),e(g,Object.assign({class:d(C("input"),s)},c,{type:"checkbox"})))},O={required:[...m.required],optional:[...m.optional,y,q,I,V,P,H,x,v,S]},E=a.forBlock("kol-input-checkbox"),F=t(class extends u{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._checked=!1,this._hideMsg=!1,this._disabled=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._infoPopover=void 0,this._indeterminate=void 0,this._labelAlign="right",this._msg=void 0,this._name=void 0,this._on=void 0,this._required=!1,this._ariaDetails=void 0,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){y.apply(e,(e=>this.setRenderProp("accessKey",e))),r(e,this._shortKey)}watchChecked(e){I.apply(e,(e=>this.setRenderProp("checked",e))),this.syncFormAssociatedValue()}watchHideMsg(e){this.applyHideMsg(e)}watchDisabled(e){this.applyDisabled(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHint(e){this.applyHint(e)}watchIcons(e){V.apply(e,(e=>this.setRenderProp("icons",Object.assign(Object.assign({},this.getRenderProp("icons")),e))))}watchInfoPopover(e){this.applyInfoPopover(e)}watchIndeterminate(e){P.apply(e,(e=>this.setRenderProp("indeterminate",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){x.apply(e,(e=>this.setRenderProp("required",e)))}watchAriaDetails(e){this.applyAriaDetails(e)}watchShortKey(e){v.apply(e,(e=>this.setRenderProp("shortKey",e))),r(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.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchRequired(this._required),this.watchChecked(this._checked),this.watchIcons(this._icons),this.watchIndeterminate(this._indeterminate),this.watchValue(this._value),this.watchVariant(this._variant),this.watchLabelAlign(this._labelAlign)}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:d({"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:"e82322103c0c95fa1981f66a78fcae9067886c1c"},e(p,Object.assign({key:"7ce46b16bf5847afd13de39a9c1dbad32a5a31a5"},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(w,Object.assign({key:"a7cf31d1677ee8e05a2893d3edc78d3223f1b656",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:"36176dff046e7c4470f1414265875878a54554df",variant:l,icon:this.getIcon(),onMouseDown:this.handleCheckboxMouseDown,inputProps:this.getInputProps()}))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_checked:[{watchChecked:0}],_hideMsg:[{watchHideMsg:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_indeterminate:[{watchIndeterminate:0}],_label:[{watchLabel:0}],_labelAlign:[{watchLabelAlign:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_required:[{watchRequired:0}],_ariaDetails:[{watchAriaDetails: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=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#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"],_checked:[1540],_hideMsg:[4,"_hide-msg"],_disabled:[4],_hideLabel:[4,"_hide-label"],_hint:[1],_icons:[1],_infoPopover:[16],_indeterminate:[1540],_label:[1],_labelAlign:[1,"_label-align"],_msg:[1],_name:[1],_on:[16],_required:[4],_ariaDetails:[1,"_aria-details"],_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}],_checked:[{watchChecked:0}],_hideMsg:[{watchHideMsg:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_indeterminate:[{watchIndeterminate:0}],_label:[{watchLabel:0}],_labelAlign:[{watchLabelAlign:0}],_msg:[{watchMsg:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_required:[{watchRequired:0}],_ariaDetails:[{watchAriaDetails: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 n,Fragment as s}from"@stencil/core/internal/client";import{t as e}from"./i18n.js";import{b as a}from"./bem-registry.js";import{B as r}from"./component.js";const l=a.forBlock("kol-spin"),t=l("loader"),o=["1","2","3","neutral"],i=a=>{const{show:i,label:c,variant:p}=a;return n(r,{block:"kol-spin"},i?n(s,null,n("span",{class:l("spinner",{[p]:!0})},function(s){switch(s){case"cycle":return n("span",{class:t});case"none":return n("slot",{name:"expert"});default:return o.map((s=>n("span",{class:l("spinner-element",{[s]:!0})})))}}(p)),n("span",{"aria-busy":"true",class:"visually-hidden",role:"alert"},c||e("kol-action-running"))):n("span",{"aria-busy":"false",class:"visually-hidden",role:"alert"},c||e("kol-action-done")))};export{i as S}
|
|
4
|
+
import{p as t,X as e,h as o,H as i,t as n}from"./common.js";import{_ as a}from"./tslib.es6.js";import{b as l}from"./bem-registry.js";import{v as s}from"./access-and-short-key.js";import{h as r,g as c,I as h}from"./input-container.js";import{f as d,B as u,F as m}from"./base-web-component2.js";import{I as p}from"./input.js";import{i as k,a as b,b as f,g as _,r as g,p as y}from"./number-value.js";import{a as w,S as v}from"./suggestions2.js";import{I as x}from"./component3.js";import{a as j,d as B,v as z}from"./component6.js";import{f as S}from"./base-web-component.js";import{p as T}from"./placeholder.js";import{r as K}from"./read-only.js";import{r as O}from"./required.js";import{s as A}from"./smart-button.js";import{s as C}from"./step.js";import{s as V}from"./suggestions.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:[...d.required],optional:[...d.optional,j,w,r,k,b,f,T,K,O,B,A,C,V,z]},L=l.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 u{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._hideMsg=!1,this._hideLabel=!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._suggestions=void 0,this._step=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){j.apply(t,(t=>this.setRenderProp("accessKey",t))),s(t,this._shortKey)}watchAriaDetails(t){this.applyAriaDetails(t)}watchAutoComplete(t){w.apply(t,(t=>this.setRenderProp("autoComplete",t)))}watchDisabled(t){this.applyDisabled(t)}watchHideMsg(t){this.applyHideMsg(t)}watchHideLabel(t){this.applyHideLabel(t)}watchHint(t){this.applyHint(t)}watchIcons(t){r.apply(t,(t=>this.setRenderProp("icons",t)))}watchInfoPopover(t){this.applyInfoPopover(t)}watchLabel(t){this.applyLabel(t)}watchMax(t){k.apply(t,(t=>this.setRenderProp("max",t)))}watchMin(t){b.apply(t,(t=>this.setRenderProp("min",t)))}watchMsg(t){this.applyMsg(t)}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchPlaceholder(t){T.apply(t,(t=>this.setRenderProp("placeholder",t)))}watchReadOnly(t){K.apply(t,(t=>this.setRenderProp("readOnly",t)))}watchRequired(t){O.apply(t,(t=>this.setRenderProp("required",t)))}watchShortKey(t){B.apply(t,(t=>this.setRenderProp("shortKey",t))),s(this._accessKey,t)}watchSmartButton(t){null==t?this.unsetRenderProp("smartButton"):A.apply(t,(t=>this.setRenderProp("smartButton",t)))}watchSuggestions(t){V.apply(t,(t=>this.setRenderProp("suggestions",t)))}watchStep(t){C.apply(t,(t=>this.setRenderProp("step",t)))}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchTouched(t){this.applyTouched(t)}watchValue(t){var e;f.apply(t,(t=>this.setRenderProp("value",t))),this.formAssociation.setFormAssociatedValue(null!==(e=this.getRenderProp("value"))&&void 0!==e?e:null),null!=t&&(this.valueType=_(t))}watchVariant(t){z.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.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchSmartButton(this._smartButton),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchIcons(this._icons),this.watchAutoComplete(this._autoComplete),this.watchMax(this._max),this.watchMin(this._min),this.watchSuggestions(this._suggestions),this.watchPlaceholder(this._placeholder),this.watchReadOnly(this._readOnly),this.watchRequired(this._required),this.watchStep(this._step),this.watchValue(this._value),this.hasValue=Boolean(this.getRenderProp("value"))}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}remapValue(t){return g(t,this.valueType)}readInputValue(){var t;return this.remapValue(y(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(x,{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(v,{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}=c({icons:this.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.getRenderProp("smartButton"),t),startAdornment:this.renderStepButton("down"),endAdornment:this.renderStepButton("up")});return o(i,{key:"0849bfffbcc7feded63cdaa975893371c5a8c124"},o(m,Object.assign({key:"f54e0c074667aa3950e007ae58ca00c979d44867"},this.getFormFieldProps({class:S(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(h,{key:"dad7a40cc08a4152125d0403b99b8111e9bdba54",disabled:t,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:e,endAdornment:n},o(p,Object.assign({key:"99a86baff9b0ca3d989147ebc36e7c73cfa4a35c"},this.getInputProps())))))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_autoComplete:[{watchAutoComplete:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel: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}],_suggestions:[{watchSuggestions:0}],_step:[{watchStep: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=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#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],_hideMsg:[4,"_hide-msg"],_hideLabel:[4,"_hide-label"],_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"],_suggestions:[1],_step:[8],_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}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel: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}],_suggestions:[{watchSuggestions:0}],_step:[{watchStep: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"./common.js";import{_ as a}from"./tslib.es6.js";import{v as n}from"./access-and-short-key.js";import{n 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(),this.expertSlot=!1,this._accessKey=void 0,this._ariaCurrentValue=void 0,this._ariaControls=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)}watchAriaCurrentValue(e){this.applyAriaCurrentValue(e)}watchAriaControls(e){this.applyAriaControls(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:"ef8f0e44d0d0da1220dbc927ec89454f9a00be94"},this.renderLinkFC())}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaCurrentValue:[{watchAriaCurrentValue:0}],_ariaControls:[{watchAriaControls: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=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#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"],_ariaCurrentValue:[1,"_aria-current-value"],_ariaControls:[1,"_aria-controls"],_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}],_ariaCurrentValue:[{watchAriaCurrentValue:0}],_ariaControls:[{watchAriaControls: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 h(){"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,h as d}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{h as o}from"./common.js";import{b as l}from"./bem-registry.js";import{B as r}from"./base-web-component.js";import{B as s}from"./component9.js";import{S as a}from"./component5.js";const t=l.forBlock("kol-badge"),e=t("label"),n=t("smart-button"),m=({color:l,icons:t,label:m,smartButton:i})=>o(r,{block:"kol-badge",modifiers:{"has-smart-button":void 0!==i},style:{backgroundColor:l.backgroundColor,color:l.foregroundColor}},o(a,{class:e,id:null==i?void 0:i.labelId,allowMarkdown:!0,icons:t,label:m}),i&&o(s,Object.assign({},i.resolvedButton,{class:n,ariaDescriptionId:i.ariaDescriptionId,handleBlur:i.handleBlur,handleClick:i.handleClick,handleFocus:i.handleFocus,handleMouseDown:i.handleMouseDown,refButton:i.refSmartButton,refTooltip:i.refTooltip})),o("br",null));export{m as B}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{h as s,F as a}from"./common.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),m=["dot","cycle","none"],u=o("variant","dot",(s=>{const a=t(s);if(m.includes(a))return a;throw new Error(`Invalid spin variant: ${a}`)}),(()=>!0)),d={optional:[c,p,u]},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,u as v}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{a as e}from"./tslib.es6.js";import{h as o,Fragment as l}from"@stencil/core/internal/client";import{g as a}from"./Heading.js";import{t as r}from"./i18n.js";import{b as s}from"./bem-registry.js";import{c as i}from"./clsx.js";import{B as n}from"./component.js";import{B as t}from"./component7.js";import{I as c}from"./component4.js";const d=s.forBlock("kol-alert")("icon"),p={error:{label:r("kol-error"),icon:"kolicon-alert-error"},info:{label:r("kol-info"),icon:"kolicon-alert-info"},warning:{label:r("kol-warning"),icon:"kolicon-alert-warning"},success:{label:r("kol-success"),icon:"kolicon-alert-success"},default:{label:r("kol-message"),icon:"kolicon-alert-info"}},m=({type:e="default"})=>{const a=p[e||"default"];return o(l,null,o("span",{class:"visually-hidden"},a.label),o(c,{class:d,label:"",icons:a.icon}))},f=s.forBlock("kol-alert"),k=f("closer"),b=f("content"),u=void 0,h=(l,s)=>{const{alert:c,class:d,closerAriaDescriptionId:p,handleCloserClick:h,hasCloser:C,headingId:g,label:v,level:y,refCloserButton:j,refCloserTooltip:I,type:B,variant:D}=l,w=e(l,["alert","class","closerAriaDescriptionId","handleCloserClick","hasCloser","headingId","label","level","refCloserButton","refCloserTooltip","type","variant"]),x=r("kol-close-alert"),A=a(y);return o(n,Object.assign({block:"kol-alert",class:d,modifiers:{hasCloser:!0===C,[`type-${B}`]:!0,[`variant-${D}`]:!0},role:c?"alert":void 0},w),o(m,{type:B}),v.length>0&&o(A,{class:i("kol-headline",`kol-headline--${A}`,f("heading",{[`h${y}`]:!0}),"kol-headline--single"),id:g},v),C&&o(t,{accessKey:"",ariaControls:"",ariaDescription:v.trim(),ariaDescriptionId:p,ariaExpanded:u,ariaHasPopup:"",ariaSelected:u,class:i(k,"kol-close-button"),customClass:"",disabled:!1,handleBlur:()=>{},handleClick:h,handleFocus:()=>{},handleMouseDown:()=>{},hideLabel:!0,icons:{left:{icon:"kolicon-cross"}},id:"",inline:!1,label:x,name:"",on:{},refButton:j,refTooltip:I,role:u,shortKey:"",tabIndex:u,tooltipAlign:"left",type:"button",variant:["normal"]}),o("div",{"aria-describedby":v.length>0?g:void 0,class:b},s))};export{h as A}
|
|
4
|
+
import{S as o,p as t,i as e,U as i,h as n,H as a,t as l}from"./common.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,n as p}from"./dev.utils.js";import{c as g,d as v}from"./element-interaction.js";import{d as _,K as y}from"./events.js";const w={required:[d],optional:[s,h,b]};o("[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).");const x=t(class extends c{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.labelId=f("badge-label"),this.ariaDescriptionId=p(),this.ctaRef=g(),this.tooltipBehavior=new u(this.stateAccess),this.propsConfig=w,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&&_(this.host,y.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&&_(this.host,y.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&&_(this.host,y.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&&_(this.host,y.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:"ade712d3a4e96f74674d1a743152bf8f041ae53d"},n(k,{key:"42cd4c0cc0ce507bdea1c16fb3f3c53c95ba74f7",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=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#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 B(){"undefined"!=typeof customElements&&["kol-badge"].forEach((o=>{"kol-badge"===o&&(customElements.get(l(o))||customElements.define(l(o),x))}))}r([v("ctaRef")],x.prototype,"focus",null);export{x as K,B as d}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as o}from"
|
|
4
|
+
import{h as o}from"./common.js";import{a as s}from"./tslib.es6.js";import{b as i}from"./bem-registry.js";import{f as a,B as r}from"./base-web-component.js";const e=i.forBlock("kol-icon")("icon"),n=i=>{var{class:n,icons:l,label:t}=i,c=s(i,["class","icons","label"]);const m=(null==t?void 0:t.length)>0;return o(r,Object.assign({component:"i"},c,{"aria-hidden":m?void 0:"true","aria-label":m?t:void 0,block:"kol-icon",class:a(e,l,n),role:m?"img":"presentation"}))};export{n as I}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{a as
|
|
4
|
+
import{l as a,h as e}from"./common.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,s as k,i as h,l as g,d 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,h,$,F,g,O,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}
|