@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,12 +1,12 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { r as registerInstance } from './index-
|
|
5
|
-
import './common-D03JQJgy.js';
|
|
4
|
+
import { r as registerInstance } from './index-Bsx5X6jK.js';
|
|
6
5
|
|
|
7
6
|
const TestComponent = class {
|
|
8
7
|
constructor(hostRef) {
|
|
9
|
-
|
|
8
|
+
if (new.target === TestComponent)
|
|
9
|
+
registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import { n } from './index-Bsx5X6jK.js';
|
|
5
|
+
import { g as getSharedState } from './shared-state-sWI1upS8.js';
|
|
6
|
+
|
|
7
|
+
const shareThemeStore = () => {
|
|
8
|
+
n.A11yUi = getSharedState('themes', () => n.A11yUi);
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export { shareThemeStore as s };
|
|
@@ -1,33 +1,30 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import './
|
|
5
|
-
import { l as levelProp } from './level-
|
|
6
|
-
import { a as createCallbacksPropDefinition } from './
|
|
7
|
-
import { d as disabledProp } from './disabled-
|
|
8
|
-
import { l as
|
|
9
|
-
import { o as openProp } from './open-
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import { g as getBlockBem } from './block-bem-DXqmf3Te.js';
|
|
15
|
-
import { S as SpanFC } from './component-Ik_-HAMT.js';
|
|
16
|
-
import { d as dispatchDomEvent, K as KolEvent } from './events-BIT-JUP2.js';
|
|
4
|
+
import { h } from './index-Bsx5X6jK.js';
|
|
5
|
+
import { l as levelProp } from './level-BV6M_zmM.js';
|
|
6
|
+
import { a as createCallbacksPropDefinition, g as getBlockBem, e as clsx, B as BemRootNodeFC } from './props-from-config-DVxNB2Lx.js';
|
|
7
|
+
import { d as disabledProp } from './disabled-Cu0e92-b.js';
|
|
8
|
+
import { l as labelLangSegmentsProp } from './label-lang-segment-B8ayoizG.js';
|
|
9
|
+
import { o as openProp } from './open-DaO7wXMr.js';
|
|
10
|
+
import { K as KolHeadingFc } from './Heading-Cynkalqu.js';
|
|
11
|
+
import { p as preventFocus } from './element-interaction-C2pgnQ6t.js';
|
|
12
|
+
import { S as SpanFC } from './component-DTV1Kuf1.js';
|
|
13
|
+
import { d as dispatchDomEvent, K as KolEvent } from './events-B2UzbUT7.js';
|
|
17
14
|
|
|
18
15
|
const collapsibleCallbacksProp = createCallbacksPropDefinition();
|
|
19
16
|
|
|
20
17
|
const collapsiblePropsConfig = {
|
|
21
18
|
optional: [collapsibleCallbacksProp, disabledProp, levelProp, openProp],
|
|
22
|
-
required: [
|
|
19
|
+
required: [labelLangSegmentsProp],
|
|
23
20
|
};
|
|
24
21
|
|
|
25
22
|
const CollapsibleFC = ({ block, contentClass, controlId, detailsOpen, disabled, expanded, handleToggle, headingId, icons, label, level, refHeadingButton, transitionMs }, children) => {
|
|
26
23
|
const blockBem = getBlockBem(block);
|
|
27
|
-
return (h("details",
|
|
24
|
+
return (h(BemRootNodeFC, { component: "details", block: block, modifiers: {
|
|
28
25
|
disabled: disabled === true,
|
|
29
26
|
open: expanded === true,
|
|
30
|
-
}
|
|
27
|
+
}, open: detailsOpen === true, style: { '--collapsible-transition-duration': `${transitionMs}ms` } }, h("summary", { "aria-controls": controlId, "aria-disabled": disabled === true ? 'true' : undefined, class: blockBem('heading'), id: headingId, onClick: handleToggle, onMouseDown: disabled === true ? preventFocus : undefined, ref: refHeadingButton, tabIndex: disabled === true ? -1 : undefined }, h(KolHeadingFc, { level: level !== null && level !== void 0 ? level : 0 }, h(SpanFC, { icons: icons, label: label }))), h("div", { class: blockBem('wrapper') }, h("div", { class: blockBem('wrapper-animation') }, h("div", { "aria-hidden": expanded === false ? 'true' : undefined, "aria-labelledby": headingId, class: clsx(blockBem('content'), contentClass), id: controlId, role: "region" }, children)))));
|
|
31
28
|
};
|
|
32
29
|
|
|
33
30
|
const DEFAULT_COLLAPSIBLE_TRANSITION_MS = 300;
|
|
@@ -96,4 +93,4 @@ function createCollapsibleToggleHandler({ getHost, getOn, isDisabled, isOpen, se
|
|
|
96
93
|
};
|
|
97
94
|
}
|
|
98
95
|
|
|
99
|
-
export { CollapsibleFC as C, DEFAULT_COLLAPSIBLE_TRANSITION_MS as D, createCollapsibleToggleHandler as a,
|
|
96
|
+
export { CollapsibleFC as C, DEFAULT_COLLAPSIBLE_TRANSITION_MS as D, createCollapsibleToggleHandler as a, collapsiblePropsConfig as b, createCollapsibleOpenAnimation as c, collapsibleCallbacksProp as d };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import { g as getSharedState } from './shared-state-sWI1upS8.js';
|
|
5
|
+
import './index-Bsx5X6jK.js';
|
|
6
|
+
|
|
7
|
+
const shared = getSharedState('tooltips', () => ({ open: 0 }));
|
|
8
|
+
const tooltipOpened = () => {
|
|
9
|
+
shared.open++;
|
|
10
|
+
};
|
|
11
|
+
const tooltipClosed = () => {
|
|
12
|
+
shared.open = Math.max(0, shared.open - 1);
|
|
13
|
+
};
|
|
14
|
+
const handleCancelOverlay = (event) => {
|
|
15
|
+
if (shared.open > 0) {
|
|
16
|
+
event.preventDefault();
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
const isTooltipOpen = () => shared.open > 0;
|
|
20
|
+
|
|
21
|
+
export { tooltipOpened as a, handleCancelOverlay as h, isTooltipOpen as i, tooltipClosed as t };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import { L as Log } from './index-Bsx5X6jK.js';
|
|
5
|
+
import { t as trimLabel } from './props-from-config-DVxNB2Lx.js';
|
|
6
|
+
|
|
7
|
+
const UNIQUE_LABELS = new Set();
|
|
8
|
+
function addNavLabel(ariaLabel) {
|
|
9
|
+
const trimmedLabel = trimLabel(ariaLabel);
|
|
10
|
+
if (UNIQUE_LABELS.has(trimmedLabel)) {
|
|
11
|
+
Log.warn(`There already is a nav element with the label "${trimmedLabel}"`);
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
UNIQUE_LABELS.add(trimmedLabel);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
function removeNavLabel(ariaLabel) {
|
|
18
|
+
const trimmedLabel = trimLabel(ariaLabel);
|
|
19
|
+
UNIQUE_LABELS.delete(trimmedLabel);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { addNavLabel as a, removeNavLabel as r };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import
|
|
4
|
+
import './index-Bsx5X6jK.js';
|
|
5
|
+
import { c as createPropDefinition, D as normalizeNumber, b as normalizeString } from './props-from-config-DVxNB2Lx.js';
|
|
5
6
|
|
|
6
7
|
const maxProp = createPropDefinition('max', 100, normalizeNumber, (v) => v > 0);
|
|
7
8
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import './index-Bsx5X6jK.js';
|
|
5
|
+
import { j as isValidLabelSegments, z as isValidLabelString } from './props-from-config-DVxNB2Lx.js';
|
|
6
|
+
|
|
7
|
+
const SAFE_CLASS_NAME_RE = /^[a-zA-Z][a-zA-Z0-9_-]{0,60}$/;
|
|
8
|
+
const isSafeClassName = (value) => typeof value === 'string' && SAFE_CLASS_NAME_RE.test(value);
|
|
9
|
+
const isValidLabel = isValidLabelString;
|
|
10
|
+
const isValidLabelWithExpertSlot = (value) => value === '' || isValidLabelSegments(value);
|
|
11
|
+
const isValidLabelDecorative = (value) => value === '' || isValidLabel(value);
|
|
12
|
+
|
|
13
|
+
export { isSafeClassName as a, isValidLabelWithExpertSlot as b, isValidLabel as c, isValidLabelDecorative as i };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import
|
|
4
|
+
import './index-Bsx5X6jK.js';
|
|
5
|
+
import { c as createPropDefinition, b as normalizeString } from './props-from-config-DVxNB2Lx.js';
|
|
5
6
|
|
|
6
7
|
const stringValueProp = createPropDefinition('value', undefined, normalizeString);
|
|
7
8
|
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import
|
|
4
|
+
import './index-Bsx5X6jK.js';
|
|
5
|
+
import { c as createPropDefinition, b as normalizeString } from './props-from-config-DVxNB2Lx.js';
|
|
5
6
|
|
|
6
7
|
function normalizeDialogCallbacks(value) {
|
|
7
8
|
if (typeof value !== 'object' || value === null) {
|
|
8
9
|
throw new Error(`Invalid on callbacks: expected object, got ${typeof value}`);
|
|
9
10
|
}
|
|
10
|
-
const { onCancel, onClose } = value;
|
|
11
|
+
const { onCancel, onClose, onToggle } = value;
|
|
11
12
|
const callbacks = {};
|
|
12
13
|
if (typeof onCancel === 'function') {
|
|
13
14
|
callbacks.onCancel = onCancel;
|
|
@@ -15,6 +16,9 @@ function normalizeDialogCallbacks(value) {
|
|
|
15
16
|
if (typeof onClose === 'function') {
|
|
16
17
|
callbacks.onClose = onClose;
|
|
17
18
|
}
|
|
19
|
+
if (typeof onToggle === 'function') {
|
|
20
|
+
callbacks.onToggle = onToggle;
|
|
21
|
+
}
|
|
18
22
|
return callbacks;
|
|
19
23
|
}
|
|
20
24
|
const dialogCallbacksProp = createPropDefinition('on', {}, normalizeDialogCallbacks);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{h as e}from"./index-Bsx5X6jK.js";import{a as s}from"./tslib.es6-QNbPBOk5.js";import{e as l}from"./props-from-config-DVxNB2Lx.js";const a=1;function o(e){return function(e){return e>=a&&e<=6}(e)?`h${e}`:"strong"}const r=(r,n)=>{var{class:c,level:t=a}=r,i=s(r,["class","level"]);const d=o(t);return e(d,Object.assign({class:l("kol-headline",`kol-headline--${d}`,c)},i),n)},n=(a,o)=>{var{class:r}=a,n=s(a,["class"]);return e("p",Object.assign({class:l("kol-headline kol-headline--group kol-headline--secondary",r)},n),o)},c=(o,c)=>{var{secondaryHeadline:t,level:i=a,class:d,HeadingGroupProps:p={},SecondaryHeadlineProps:u={}}=o,j=s(o,["secondaryHeadline","level","class","HeadingGroupProps","SecondaryHeadlineProps"]);const g=Object.assign({level:i},j);if(!t)return e(r,Object.assign({class:l(d,"kol-headline--single")},g),c);const{class:h}=p,b=s(p,["class"]),k=Object.assign({class:l("kol-heading-group",h)},b);return e("hgroup",Object.assign({},k),e(r,Object.assign({class:l(d,"kol-headline--group","kol-headline--primary")},g),c),e(n,Object.assign({},u),t))};export{c as K,o as g}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{j as e,x as i,V as t,h as o}from"./index-Bsx5X6jK.js";import{S as s,b as l,s as a}from"./component-DTV1Kuf1.js";import{r}from"./aria-labelledby-DQov9uSv.js";import{c as n,b as d,n as h,a as c,e as p,B as u,t as b}from"./props-from-config-DVxNB2Lx.js";import{a as m}from"./tslib.es6-QNbPBOk5.js";import{a as v,c as f,n as y}from"./dev.utils--eVyQ4zr.js";import{K as g,d as j}from"./events-B2UzbUT7.js";import{d as B}from"./disabled-Cu0e92-b.js";import{T as _,k as L,h as T,e as O}from"./component-BPL1Mikq.js";import{l as D}from"./label-with-expert-slot-DXi27J4o.js";import{n as x}from"./component-XbTjo2nm.js";import{B as F}from"./base-web-component-D16FuHFf.js";import{c as K}from"./item-KqTsA-5a.js";import{F as N}from"./behavior-DnTJtQBK.js";import{c as C}from"./item-Cw_jdgc6.js";import{T as k}from"./behavior-DJQFXyfi.js";import{t as P}from"./i18n-Cf0DhAke.js";import{b as w}from"./bem-registry-CK2s_XZ4.js";import{P as A}from"./component-CiTw4ODP.js";import{A as H}from"./component-C0ijstyp.js";function M(e,i){return Boolean(e)&&!0===i}function I(e){var i;return"string"==typeof e?"error":null!==(i=null==e?void 0:e._type)&&void 0!==i?i:"error"}const S=n("ariaDetails","",d),q=n("hideMsg",!1,h),E=n("hint","",d),z=n("infoPopover",void 0,(function(e){if("object"==typeof e&&null!==e)return e;throw new Error("Invalid info popover: "+typeof e)})),Q=c(),V=n("msg",void 0,(function(i){if("string"==typeof i)try{return e(i)}catch(e){return i}return i}),(function(e){return void 0===e||("string"==typeof e?e.length>0:i(e)&&t(e._description,1))})),X=n("touched",!1,h),$=e=>{var{id:i,class:t,hint:s,baseClassName:l="kol-form-field"}=e,a=m(e,["id","class","hint","baseClassName"]);return s?o("span",Object.assign({class:p(`${l}__hint`,t),id:v(i||"","hint")},a),s):null},J=e=>{var{component:i="label",id:t,baseClassName:a="kol-form-field",class:r,accessKey:n,shortKey:d,label:h,hideLabel:c,hasExpertSlot:u,omitId:b,showBadge:f=!0,readOnly:y,infoPopover:g}=e,j=m(e,["component","id","baseClassName","class","accessKey","shortKey","label","hideLabel","hasExpertSlot","omitId","showBadge","readOnly","infoPopover"]);const B=!u&&c,_=!1===f?void 0:l(n,d);return o(i,Object.assign({},j,{class:p(`${a}__label`,r),id:B||b?void 0:v(t,"label"),hidden:B,htmlFor:"legend"===i?void 0:t}),o(s,{class:`${a}__label-text`,label:u?"":null!=h?h:"",badgeText:_},o("slot",{name:"expert"})),!u&&y&&o("span",{class:`${a}__label__read-only`,"aria-hidden":"true"},"(",P("kol-readonly"),")"),!u&&g&&o("span",null,o(A,Object.assign({},g.popoverButton),o("div",{class:"kol-popover-button__popover--styled"},g.content))))},U=i=>{var t,s,{alert:l,hideMsg:a,msg:r,id:n,class:d}=i,h=m(i,["alert","hideMsg","msg","id","class"]);const c=function(i){if("string"==typeof i)try{return e(i)}catch(e){return{_description:i,_type:"error"}}return i&&"object"==typeof i&&!("_type"in i)?Object.assign(Object.assign({},i),{_type:"error"}):i}(r);return o(H,Object.assign({alert:!a&&(null!==(t=null==c?void 0:c._alert)&&void 0!==t?t:!0===l),class:p("kol-form-field__msg",a&&"visually-hidden",d),closerAriaDescriptionId:y(),handleCloserClick:()=>{},hasCloser:!1,headingId:f("alert-heading"),id:v(n,"msg"),label:"",level:0,refCloserButton:()=>{},refCloserTooltip:()=>{},type:null!==(s=null==c?void 0:c._type)&&void 0!==s?s:"error",variant:"msg"},h),(null==c?void 0:c._description)||void 0)},R=w.forBlock("kol-form-field"),Z=({hideLabel:e,label:i,renderNoTooltip:t})=>!t&&!a(i)&&!0===e,G=e=>{const i=I(e);return{[i]:!0,[`msg-type-${i}`]:!0}},W=(e,i)=>{const{renderNoLabel:t,renderNoTooltip:s,renderNoHint:r,id:n,required:d,alert:h,disabled:c,class:b,msg:f,hideMsg:y,hideLabel:g,label:j,infoPopover:B,hint:T,accessKey:O,shortKey:D,counter:x,readOnly:F,touched:K,maxLength:N,ariaDescribedBy:C,showBadge:k,tooltipAlign:w,variant:A,component:H="div",orientation:I,refInput:S,refTooltip:q}=e,E=m(e,["renderNoLabel","renderNoTooltip","renderNoHint","id","required","alert","disabled","class","msg","hideMsg","hideLabel","label","infoPopover","hint","accessKey","shortKey","counter","readOnly","touched","maxLength","ariaDescribedBy","showBadge","tooltipAlign","variant","component","orientation","refInput","refTooltip"]),z=a(j),Q=M(f,K),V=l(O,D),X=Z({hideLabel:g,label:j,renderNoTooltip:s}),W="fieldset"===H;return o(u,Object.assign({component:H,block:"kol-form-field",modifiers:Object.assign({disabled:Boolean(c),required:Boolean(d),touched:Boolean(K),"hide-label":Boolean(g),"read-only":Boolean(F),"hidden-msg":Boolean(y)},Q?G(f):{}),class:p(A&&L(A,"form-field"),b),disabled:!(!W||!c)||void 0,"aria-describedby":C},E),!t&&o(J,{component:W?"legend":"label",class:W?"kol-form-field__label--legend":void 0,id:n,hasExpertSlot:z,hideLabel:g,label:j,accessKey:O,shortKey:D,readOnly:F,showBadge:k,infoPopover:B}),o("div",{class:R("input",{"orientation-horizontal":"horizontal"===I,"orientation-vertical":"vertical"===I}),ref:S},i,X&&o("div",{class:R("tooltip")},o(_,{badgeText:V||"",label:j,align:w,id:v(n,"label"),refFloating:q}))),x&&!("soft"===x.maxLengthBehavior&&"number"!=typeof x.maxLength)&&o("div",{class:R("counter")},o("span",{"aria-hidden":"true",class:R("counter"),ref:x.visualRef}),o("span",{"aria-live":"polite",class:"visually-hidden",id:v(n,"counter"),ref:x.ariaRef})),Q&&o(U,{id:n,alert:h,hideMsg:y,msg:f}),!r&&o($,{id:n,hint:T}),"number"==typeof N&&!x&&o("span",{id:v(n,"character-limit-hint"),class:"visually-hidden"},P("kol-character-limit-hint",{placeholders:{limit:String(N)}})))};class Y extends F{constructor(){super(...arguments),this.tooltipBehavior=new k(F.stateLess),this.smartButton=K((()=>this.host)),this.infoPopover=C({getFlagHost:()=>this.host,getOpen:()=>!0===this.infoPopoverOpen,setOpen:e=>{this.infoPopoverOpen=e}}),this.focusEventSent=!1,this.handleChange=(e,i)=>{var t,o;e.stopPropagation(),void 0===i&&(i=e.target.value),this.emit(g.change,i),null===(o=null===(t=this._on)||void 0===t?void 0:t.onChange)||void 0===o||o.call(t,e,i)},this.handleInput=(e,i)=>{var t,o;e.stopPropagation(),void 0===i&&(i=e.target.value),this.emit(g.input,i),this.formAssociation.setFormAssociatedValue(i),null===(o=null===(t=this._on)||void 0===t?void 0:t.onInput)||void 0===o||o.call(t,e,i)},this.handleClick=e=>{var i,t;this.emit(g.click),null===(t=null===(i=this._on)||void 0===i?void 0:i.onClick)||void 0===t||t.call(i,e)},this.handleFocus=e=>{var i,t;this.focusEventSent||(this.emit(g.focus),null===(t=null===(i=this._on)||void 0===i?void 0:i.onFocus)||void 0===t||t.call(i,e),this.focusEventSent=!0),this.shared.setState("inputHasFocus",!0)},this.handleBlur=e=>{this.handleFocusLeave(e),this.shared.setState("inputHasFocus",!1)},this.handleKeyDown=e=>{var i,t;this.emit(g.keydown),null===(t=null===(i=this._on)||void 0===i?void 0:i.onKeyDown)||void 0===t||t.call(i,e)},this.setInputRef=e=>{this.tooltipAnchor=e,e&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(e),this.tooltipBehavior.syncListeners(void 0,e,!0))},this.setTooltipRef=e=>{this.tooltipBehavior.setTooltipElementRef(e)}}get shared(){return this}initFormAssociation(e,i){this.formAssociation=new N(F.stateLess,{host:this.host,type:e,name:i})}syncFormField(){this.smartButton.syncListeners(),this.infoPopover.syncListeners(),this.syncAriaDetails()}destroyFormField(){this.tooltipBehavior.destroy(),this.smartButton.destroy(),this.infoPopover.destroy()}connectedCallback(){this.syncFormField(),this.tooltipAnchor&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(this.tooltipAnchor),this.tooltipBehavior.syncListeners(void 0,this.tooltipAnchor,!0))}getInfoPopover(){const e=this.shared.getRenderProp("infoPopover");if(!e)return;const{_content:i}=e,t=m(e,["_content"]);return{popoverButton:this.infoPopover.getFcProps(Object.assign(Object.assign({_variant:"ghost"},t),{_hideLabel:!0,_inline:!0})),content:i}}getSmartButtonFcProps(e,i){if("object"==typeof e&&null!==e)return this.smartButton.getFcProps(Object.assign({_hideLabel:!0,_disabled:i},e),{class:"kol-input-container__smart-button"})}applyAriaDetails(e){S.apply(e,(e=>this.shared.setRenderProp("ariaDetails",e))),this.syncAriaDetails()}syncAriaDetails(){var e,i,t,o;const s=null===(i=null===(e=this.host)||void 0===e?void 0:e.shadowRoot)||void 0===i?void 0:i.querySelector("input, select, textarea");if(!s||!("ariaDetailsElements"in s))return;const l=r(this.host,this.shared.getRenderProp("ariaDetails")),a=this.pushedDetailsElements;(s!==this.ariaDetailsTarget||(null!==(t=null==a?void 0:a.length)&&void 0!==t?t:0)!==l.length||null!==(o=null==a?void 0:a.some(((e,i)=>e!==l[i])))&&void 0!==o&&o)&&(this.ariaDetailsTarget=s,this.pushedDetailsElements=l,s.ariaDetailsElements=l.length?l:null)}applyDisabled(e){B.apply(e,(e=>this.shared.setRenderProp("disabled",e)))}applyHideLabel(e){T.apply(e,(e=>this.shared.setRenderProp("hideLabel",e)))}applyHideMsg(e){q.apply(e,(e=>this.shared.setRenderProp("hideMsg",e)))}applyHint(e){E.apply(e,(e=>this.shared.setRenderProp("hint",e)))}applyInfoPopover(e){z.apply(e,(e=>this.shared.setRenderProp("infoPopover",e)))}applyLabel(e){D.apply(e,(e=>this.shared.setRenderProp("label",e)),this.isRequired("label"))}applyMsg(e){V.apply(e,(e=>this.shared.setRenderProp("msg",e)))}applyName(e){x.apply(e,(e=>this.shared.setRenderProp("name",e))),this.formAssociation.watchName(e)}applyOn(e){Q.apply(e,(e=>this.shared.setRenderProp("on",e)))}applySyncValueBySelector(e){this.formAssociation.watchSyncValueBySelector(e)}applyTooltipAlign(e){O.apply(null!=e?e:"top",(e=>this.shared.setRenderProp("tooltipAlign",e)))}applyTouched(e){X.apply(e,(e=>this.shared.setRenderProp("touched",e)))}get eventHost(){var e,i;return null!==(i=null===(e=this.formAssociation)||void 0===e?void 0:e.host)&&void 0!==i?i:this.host}emit(e,i){this.eventHost&&j(this.eventHost,e,i)}handleFocusLeave(e){var i,t;if(this._disabled)return;const o=this.eventHost,s=(null==o?void 0:o.shadowRoot)||o,l=(null==s?void 0:s.contains(e.relatedTarget))||o===e.relatedTarget;this.focusEventSent&&!l&&(this._touched=!0,this.emit(g.blur),null===(t=null===(i=this._on)||void 0===i?void 0:i.onBlur)||void 0===t||t.call(i,e),this.focusEventSent=!1)}getAria(){const e=this.shared;return(({id:e,msg:i,hint:t,touched:o})=>{const s="string"==typeof i?i:null==i?void 0:i._description,l=Boolean(s&&s.length>0),a="error"===I(i)&&l&&!0===o,r="string"==typeof t&&t.length>0,n=[];return l&&!0===o&&n.push(v(e,"msg")),r&&n.push(v(e,"hint")),{hasError:a,hasHint:r,ariaDescribedBy:n}})({id:e.getState("id"),msg:e.getRenderProp("msg"),hint:e.getRenderProp("hint"),touched:e.getRenderProp("touched")})}showAsAlert(){return Boolean(this.shared.getRenderProp("touched"))&&!this.shared.getState("inputHasFocus")}isTooltipShown(){const e=this.shared;return Z({hideLabel:e.getRenderProp("hideLabel"),label:b(e.getRenderProp("label"))})}getLabelTooltipRefs(){return{refInput:this.setInputRef,refTooltip:this.setTooltipRef}}getFormFieldProps({class:e,accessKey:i,shortKey:t,variant:o,counter:s,maxLength:a,readOnly:r,renderNoLabel:n,renderNoTooltip:d,required:h}){const c=this.shared,p=c.getState("id"),u=c.getRenderProp("label"),b=c.getRenderProp("tooltipAlign");return this.isTooltipShown()?(this.tooltipBehavior.watchAlign(b),this.tooltipBehavior.watchBadgeText(l(i,t)||""),this.tooltipBehavior.watchId(v(p,"label")),this.tooltipBehavior.watchLabel(u)):this.tooltipBehavior.destroy(),{id:p,disabled:c.getRenderProp("disabled"),msg:c.getRenderProp("msg"),hint:c.getRenderProp("hint"),label:u,hideLabel:c.getRenderProp("hideLabel"),hideMsg:c.getRenderProp("hideMsg"),touched:c.getRenderProp("touched"),showBadge:Boolean(i)||Boolean(t),required:h,readOnly:r,accessKey:i,shortKey:t,maxLength:a,counter:s,variant:o,class:e,tooltipAlign:b,alert:this.showAsAlert(),infoPopover:this.getInfoPopover(),renderNoLabel:n,renderNoTooltip:d,refInput:d?void 0:this.setInputRef,refTooltip:this.setTooltipRef}}}function ee({ariaDescribedBy:e,hideLabel:i,label:t}){return{title:"",autoCapitalize:"off",autoCorrect:"off","aria-describedby":(null==e?void 0:e.length)?e.join(" "):void 0,"aria-label":i&&t?b(t):void 0}}const ie={required:[D],optional:[S,B,T,q,E,z,Q,V,x,O,X]};export{Y as B,W as F,$ as a,J as b,ee as c,ie as f,I as g,M as i}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{L as o,a as t,d as s,w as e}from"./index-Bsx5X6jK.js";import{s as a}from"./theme-store-CEu5d_EK.js";const r=(()=>{a(),t((o=>{try{o.shadowRoot instanceof ShadowRoot&&s(o,e(o))}catch(o){}return"default"})),import("./devtools-CosbyboJ.js").then((o=>{"object"==typeof o&&null!==o&&"function"==typeof o.initialize&&o.initialize()})).catch((t=>{o.error(t)}))})||(()=>{});export{r as g}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import"./index-Bsx5X6jK.js";const o=(o,n)=>{const e=(null!=n?n:"").trim().split(/\s+/).filter(Boolean);if(!e.length)return[];const t=null==o?void 0:o.getRootNode();return e.map((o=>"undefined"!=typeof Document&&t instanceof Document?t.getElementById(o):"undefined"!=typeof ShadowRoot&&t instanceof ShadowRoot?t.querySelector(`#${(o=>{var n;return(null===(n=globalThis.CSS)||void 0===n?void 0:n.escape)?globalThis.CSS.escape(o):o.replace(/[^a-zA-Z0-9_-]/g,"\\$&")})(o)}`):"undefined"!=typeof document?document.getElementById(o):null)).filter((o=>!!o))};export{o as r}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{g as s}from"./shared-state-sWI1upS8.js";import"./index-Bsx5X6jK.js";const o=s("location",(()=>({subscribers:[]}))),t=s=>{o.current=s,o.subscribers.forEach((o=>{o(s)}))},r=(s,t=!0)=>(t&&"string"==typeof o.current&&s(o.current),o.subscribers.push(s),()=>{const t=o.subscribers.indexOf(s);t>=0&&o.subscribers.splice(t,1)});export{r as o,t as s}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{i,h as s}from"./index-Bsx5X6jK.js";import{B as t}from"./base-web-component-D16FuHFf.js";import{l as a,a as r,c as e,d as o,b as h,L as n}from"./component-S6ib3O8N.js";import{T as l}from"./behavior-DJQFXyfi.js";import{a as p,b as d,c,f as b,g as y,h as f,s as m,i as u,l as C,d as x,t as g,e as L,v as j}from"./component-BPL1Mikq.js";import{d as A}from"./disabled-Cu0e92-b.js";import{h as v}from"./href-DQbHtp6T.js";import"./props-from-config-DVxNB2Lx.js";import{l as D}from"./label-with-expert-slot-DXi27J4o.js";import{l as w}from"./link-target-C9qzQAQg.js";import{c as I}from"./element-interaction-C2pgnQ6t.js";import{d as T,K}from"./events-B2UzbUT7.js";import{o as B}from"./ariaCurrentService-B9TgWLEw.js";class k extends t{constructor(){super(...arguments),this.ctaRef=I((()=>!0===this.getRenderProp("disabled"))),this.tooltipBehavior=new l(this.stateAccess),this.propsConfig=a,this.handleAnchorClick=s=>{if(this.tooltipBehavior.hideTooltip(),!0===this.getRenderProp("disabled"))return void s.preventDefault();const t=this.getRenderProp("href"),a=this.getRenderProp("on");"function"==typeof(null==a?void 0:a.onClick)&&(i(s,this.ctaRef.el),a.onClick(s,t)),this.host&&T(this.host,K.click,t)},this.setAnchorRef=i=>{this.ctaRef(i)}}unsetLinkTabIndex(){this.unsetRenderProp("tabIndex")}initLinkBehaviors(){this.unsubscribeOnLocationChange=B((i=>{const s=this.getRenderProp("href"),t=this.getRenderProp("ariaCurrentValue"),a=i===s?t:"";this.getState("ariaCurrent")!==a&&this.setState("ariaCurrent",a)})),this.tooltipBehavior.componentWillLoad({label:this.getTooltipLabel(),align:this.getRenderProp("tooltipAlign")})}syncTooltipListeners(){this.ctaRef.el&&this.tooltipBehavior.syncListeners(void 0,this.ctaRef.el,!0)}destroyLinkBehaviors(){this.unsubscribeOnLocationChange&&(this.unsubscribeOnLocationChange(),this.unsubscribeOnLocationChange=void 0),this.tooltipBehavior.destroy()}getTooltipLabel(){const i=this.getRenderProp("label");if("string"==typeof i&&i.length>0)return i;const s=this.getRenderProp("href");return"string"==typeof s?s:""}applyAccessKey(i){p.apply(i,(i=>this.setRenderProp("accessKey",i)))}applyAriaControls(i){d.apply(i,(i=>this.setRenderProp("ariaControls",i)))}applyAriaCurrentValue(i){r.apply(i,(i=>this.setRenderProp("ariaCurrentValue",i)))}applyAriaDescription(i){c.apply(i,(i=>this.setRenderProp("ariaDescription",i)))}applyAriaExpanded(i){b.apply(i,(i=>this.setRenderProp("ariaExpanded",i)))}applyAriaOwns(i){e.apply(i,(i=>this.setRenderProp("ariaOwns",i)))}applyCustomClass(i){y.apply(i,(i=>this.setRenderProp("customClass",i)))}applyDisabled(i){A.apply(i,(i=>this.setRenderProp("disabled",i)))}applyDownload(i){o.apply(i,(i=>this.setRenderProp("download",i)))}applyHideLabel(i){f.apply(i,(i=>this.setRenderProp("hideLabel",i)))}applyHref(i){v.apply(i,(i=>this.setRenderProp("href",i)),this.isRequired("href"))}applyIcons(i){m.apply(i,(i=>this.setRenderProp("icons",i)))}applyInline(i){u.apply(i,(i=>this.setRenderProp("inline",i)))}applyLabel(i){D.apply(i,(s=>{this.setRenderProp("label",s),this.setState("expertSlot",""===i),this.tooltipBehavior.watchLabel(this.getTooltipLabel())}),this.isRequired("label"))}applyOn(i){h.apply(i,(i=>this.setRenderProp("on",i)))}applyRole(i){C.apply(i,(i=>this.setRenderProp("role",i)))}applyShortKey(i){x.apply(i,(i=>this.setRenderProp("shortKey",i)))}applyTabIndex(i){"number"==typeof i?g.apply(i,(i=>this.setRenderProp("tabIndex",i))):this.unsetRenderProp("tabIndex")}applyTarget(i){w.apply(i,(i=>this.setRenderProp("target",i)))}applyTooltipAlign(i){L.apply(i,(i=>{this.setRenderProp("tooltipAlign",i),this.tooltipBehavior.watchAlign(i)}))}applyVariant(i){j.apply(i,(i=>this.setRenderProp("variant",i)))}renderLinkFC(){return s(n,{accessKey:this.getRenderProp("accessKey"),ariaControls:this.getRenderProp("ariaControls"),ariaCurrent:this.getState("ariaCurrent"),ariaCurrentValue:this.getRenderProp("ariaCurrentValue"),ariaDescription:this.getRenderProp("ariaDescription"),ariaDescriptionId:this.getState("ariaDescriptionId"),ariaExpanded:this.getRenderProp("ariaExpanded"),ariaOwns:this.getRenderProp("ariaOwns"),customClass:this.getRenderProp("customClass"),disabled:this.getRenderProp("disabled"),download:this.getRenderProp("download"),handleAnchorClick:this.handleAnchorClick,hideLabel:this.getRenderProp("hideLabel"),href:this.getRenderProp("href"),icons:this.getRenderProp("icons"),inline:this.getRenderProp("inline"),label:this.getRenderProp("label"),on:this.getRenderProp("on"),refAnchor:this.setAnchorRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,role:this.getRenderProp("role"),shortKey:this.getRenderProp("shortKey"),tabIndex:this.getRenderProp("tabIndex"),target:this.getRenderProp("target"),tooltipAlign:this.getRenderProp("tooltipAlign"),variant:this.getRenderProp("variant"),expertSlot:this.getState("expertSlot")})}}export{k as B}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{h as i}from"./index-Bsx5X6jK.js";import{B as s}from"./base-web-component-D16FuHFf.js";import{r as t,C as o}from"./component-C58IwTEf.js";import{l}from"./level-BV6M_zmM.js";import{d as h,w as a}from"./width-D5-Licpp.js";import{v as e,t as r}from"./props-from-config-DVxNB2Lx.js";import{l as n}from"./label-lang-segment-B8ayoizG.js";import{u as d,l as p,D as m}from"./scroll-lock-CF_Z7MzO.js";import{T as v}from"./behavior-DJQFXyfi.js";import{c}from"./element-interaction-C2pgnQ6t.js";import{d as u,K as f}from"./events-B2UzbUT7.js";import{h as b}from"./tooltip-open-tracking-DXhnfmA2.js";const C={required:[n],optional:[h,l,e,a]};class g extends s{constructor(){super(...arguments),this.dialogRef=c(),this.cardCloseButtonRef=c(),this.cardCloseTooltipBehavior=new v(this.stateAccess),this.propsConfig=C,this.handleCancel=i=>{var s,t;b(i),i.defaultPrevented||(null===(t=(s=this.getRenderProp("on")).onCancel)||void 0===t||t.call(s,i),i.defaultPrevented||this.host&&!u(this.host,f.cancel)&&i.preventDefault())},this.handleClose=i=>{var s,t,o,l;i.target===this.dialogRef.el&&(d(this),null===(t=(s=this.getRenderProp("on")).onClose)||void 0===t||t.call(s),null===(l=(o=this.getRenderProp("on")).onToggle)||void 0===l||l.call(o,!1),this.host&&(u(this.host,f.close),u(this.host,f.toggle)))},this.handleCardClose=()=>{this.cardCloseTooltipBehavior.hideTooltip(),this.closeDialog(),this.host&&u(this.host,f.close)}}initCardCloseButton(){this.cardCloseButtonProps=t(this.host),this.cardCloseTooltipBehavior.componentWillLoad({label:this.cardCloseButtonProps.label,align:this.cardCloseButtonProps.tooltipAlign})}syncCardCloseTooltipListeners(){this.cardCloseButtonRef.el&&this.cardCloseTooltipBehavior.syncListeners(void 0,this.cardCloseButtonRef.el,!0)}teardownDialog(){this.closeDialog(),d(this),this.cardCloseTooltipBehavior.destroy()}applyLabel(i){n.apply(i,(i=>this.setRenderProp("label",i)),this.isRequired("label"))}applyLevel(i){l.apply(i,(i=>this.setRenderProp("level",i)))}applyOn(i){h.apply(i,(i=>this.setRenderProp("on",i)))}applyVariant(i){e.apply(i,(i=>this.setRenderProp("variant",i)))}applyWidth(i){a.apply(i,(i=>this.setRenderProp("width",i)))}showDialog(i){var s,t,o,l;const h=this.dialogRef.el;(null==h?void 0:h.open)||(this.setState("modal",i),i?(null===(s=null==h?void 0:h.showModal)||void 0===s||s.call(h),h&&p(this)):null===(t=null==h?void 0:h.show)||void 0===t||t.call(h),null===(l=(o=this.getRenderProp("on")).onToggle)||void 0===l||l.call(o,!0),this.host&&u(this.host,f.toggle))}closeDialog(){var i,s;null===(s=null===(i=this.dialogRef.el)||void 0===i?void 0:i.close)||void 0===s||s.call(i)}buildCardProps(){return{ariaDescriptionId:this.getState("ariaDescriptionId"),closeButtonProps:this.cardCloseButtonProps,handleClose:this.handleCardClose,hasCloser:!0,headingId:this.getState("headingId"),label:this.getRenderProp("label"),level:this.getRenderProp("level"),refCloseButton:this.cardCloseButtonRef,refTooltip:this.cardCloseTooltipBehavior.setTooltipElementRef}}renderDialogFC(){const s=this.getRenderProp("variant"),t="card"===s;return i(m,{handleCancel:this.handleCancel,handleClose:this.handleClose,label:r(this.getRenderProp("label")),labelledBy:t?this.getState("headingId"):void 0,modal:this.getState("modal"),refDialog:this.dialogRef,variant:s,width:this.getRenderProp("width")},t?i(o,Object.assign({},this.buildCardProps()),this.renderSlot()):this.renderSlot())}}export{g as B}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{_ as t,j as e,h as o,F as l,L as i,Y as s}from"./index-Bsx5X6jK.js";import{r as n}from"./aria-labelledby-DQov9uSv.js";import{B as a}from"./base-web-component-D16FuHFf.js";import{c as r}from"./item-KqTsA-5a.js";import{c}from"./item-pool-C_4Isquh.js";import{c as d}from"./item-DibV9jD7.js";import{c as h,f as u,n as b,a as v,r as p,t as f,B as m,v as y}from"./props-from-config-DVxNB2Lx.js";import{l as g}from"./label-lang-segment-B8ayoizG.js";import{v as k,k as j,T as C}from"./component-BPL1Mikq.js";import{t as S}from"./i18n-Cf0DhAke.js";import{b as w}from"./bem-registry-CK2s_XZ4.js";import{B as _}from"./component-XbTjo2nm.js";import{I as x}from"./component-CDyoNoJe.js";import{L as O}from"./component-S6ib3O8N.js";import{r as $}from"./component-DTV1Kuf1.js";import{S as D}from"./component-DeFANBua.js";import{a as F}from"./tslib.es6-QNbPBOk5.js";import{n as L,c as T}from"./dev.utils--eVyQ4zr.js";import{d as z,K as B}from"./events-B2UzbUT7.js";import{A}from"./component-C0ijstyp.js";import{l as I}from"./level-BV6M_zmM.js";import{c as M}from"./element-interaction-C2pgnQ6t.js";import{u as E,l as K,D as H}from"./scroll-lock-CF_Z7MzO.js";import{h as N}from"./tooltip-open-tracking-DXhnfmA2.js";import{d as P,w as V}from"./width-D5-Licpp.js";import{r as Q,C as X}from"./component-C58IwTEf.js";import{T as q}from"./behavior-DJQFXyfi.js";import{C as R}from"./keyboard-Cc1-_wSt.js";const W=(e,o,l)=>{const i=t=>"string"==typeof t||void 0===t;return t(e,"_ariaLabelledby",i,new Set(["string"]),l),i(l)?n(o,l):[]},U=t=>"number"==typeof t&&Number.isInteger(t)&&t>=0,J=h("fixedCols",[0,0],(t=>u(t)),(t=>2===t.length&&t.every(U))),Z=h("hasSettingsMenu",!1,b),G=v();function Y(t){const o="string"==typeof t?e(t):t;if(Array.isArray(o))return o;throw new Error("Invalid table data: expected an array of row objects.")}function tt(t){return t.every((t=>"object"==typeof t&&null!==t))}const et=h("data",[],Y,tt),ot=h("dataFoot",[],Y,tt),lt=t=>Array.isArray(t)&&t.every((t=>Array.isArray(t))),it=h("headers",{horizontal:[],vertical:[]},(function(t){const o="string"==typeof t?e(t):t;if("object"!=typeof o||null===o)throw new Error("Invalid table headers: expected an object.");const{horizontal:l=[],vertical:i=[]}=o;if(!lt(l)||!lt(i))throw new Error("Invalid table headers: horizontal and vertical must be arrays of header rows.");return{horizontal:l,vertical:i}}),(function({horizontal:t,vertical:e}){return[...t,...e].every((t=>t.every((t=>void 0===t.width||"number"==typeof t.width))))})),st=h("loading",!1,b),nt=h("selection",!1,(function(t){const o="string"==typeof t?e(t):t;if("object"==typeof o&&null!==o)return o;throw new Error("Invalid table selection: expected an object.")}),(function(t){return!1===t||"function"==typeof t.label&&(!t.selectedKeys||Array.isArray(t.selectedKeys))})),at={required:[g,et,it],optional:[J,Z,G,ot,st,nt,k]},rt=t=>t.flatMap((t=>t.filter((t=>"string"==typeof t.key||"function"==typeof t.render)))),ct=t=>{const e=rt(t.horizontal);if(e.length>0)return{cells:e,horizontal:!0};const o=rt(t.vertical);return{cells:o,horizontal:0===o.length}},dt=(t,e)=>{let o=0;return Array.isArray(t)&&t.forEach((t=>{var l;o+=null!==(l=t[e])&&void 0!==l?l:1})),o},ht=(t,e)=>{const o=Math.max(0,...t.map((t=>dt(t,"colSpan"))));return 0===o?e.length:o},ut=t=>{var e;return null!==(e=null==t?void 0:t.reduce(((t,e)=>"visible"in e&&!1===e.visible?t:t+(e.colSpan||1)),0))&&void 0!==e?e:0},bt=(t,e,o,l)=>{if(void 0!==l&&!e)return l<t[0]?"left":t[1]>0&&l>=o-t[1]?"right":void 0},vt=(t,e,o,l)=>{var i,s,n,a,r,c;const d=[];for(let a=0;a<e;a++)"left"===bt(o,l,e,a)&&(d[a]=(null!==(i=d[a-1])&&void 0!==i?i:0)+(null!==(n=null===(s=t[a-1])||void 0===s?void 0:s.width)&&void 0!==n?n:0));for(let i=e-1;i>=0;i--)"right"===bt(o,l,e,i)&&(d[i]=(null!==(a=d[i+1])&&void 0!==a?a:0)+(null!==(c=null===(r=t[i+1])||void 0===r?void 0:r.width)&&void 0!==c?c:0));return d},pt=(t,e,o,l)=>{const i=void 0===e?void 0:t[e];return o&&l?`calc( var(--kol-table-selection-col-width) + ${i}px)`:`${i}px`},ft=({data:t,dataFoot:e,headers:o,isFoot:l,noEntriesLabel:i,primaryHeaders:s})=>{const n=ht(o.horizontal,t),a=s.cells;let r=((t,e,o)=>{const l=Math.max(0,...t.map((t=>dt(t,"rowSpan"))));return 0===l?e.length:l-o})(o.vertical,t,e.length),c=0;l&&(c=r,r+=e.length);const d=[],h=[],u=[];o.vertical.forEach(((t,e)=>{h[e]=0,u[e]=[]}));for(let i=c;i<r;i++){const r=[];o.vertical.forEach(((t,e)=>{let o=0;if(u[e].forEach((t=>o+=t)),o<=i){const l=t[i-o+h[e]];if("object"==typeof l){r.push(Object.assign(Object.assign({},l),{headerCell:!0,data:{}}));let t=1;if("number"==typeof l.rowSpan&&l.rowSpan>1&&(t=l.rowSpan),u[e].push(t),"number"==typeof l.colSpan&&l.colSpan>1)for(let o=1;o<l.colSpan;o++)u[e+o].push(t);h[e]++}}}));for(let o=0;o<n;o++)if(s.horizontal){const s=l?e[i-c]:t[i],n=a[o];"object"==typeof n&&null!==n&&"object"==typeof s&&null!==s&&r.push(Object.assign(Object.assign({},n),{colIndex:o,colSpan:void 0,rowSpan:void 0,data:s,label:s[n.key]}))}else{const e=a[i];"object"==typeof e&&null!==e&&"object"==typeof t[o]&&null!==t[o]&&r.push(Object.assign(Object.assign({},e),{colIndex:o,colSpan:void 0,rowSpan:void 0,data:t[o],label:t[o][e.key]}))}d.push(r)}if(0===t.length){let t=ut(o.horizontal[0]),e=0;o.vertical.length>0&&(t-=o.vertical.length,o.vertical[0].forEach((t=>{e+=t.rowSpan||1})));const l={colSpan:t,label:i,render:void 0,rowSpan:Math.max(e,1)};0===d.length?d.push([l]):d[0].push(l)}return d},mt=({horizontal:t,vertical:e})=>{const o=t.flatMap((t=>t.filter((t=>!1!==t.visible&&void 0!==t.width&&t.width>0)).map((t=>t.width)))),l=[...e.flatMap((t=>t.filter((t=>void 0!==t.width&&t.width>0)).map((t=>t.width)))),...o];return 0===l.length?"0px":1===l.length?`${l[0]}px`:`calc(${l.map((t=>`${t}px`)).join(" + ")})`},yt=t=>void 0===t?[]:Array.isArray(t)?t:[t],gt=t=>{var e;return null!==(e=t?t.keyPropertyName:void 0)&&void 0!==e?e:"id"},kt=t=>{const e=t?yt(t.selectedKeys):[];return{disabledKeys:new Set((t?yt(t.disabledKeys):[]).map(String)),keyPropertyName:gt(t),selectedKeys:e,selectedKeysSet:new Set(e.map(String))}},jt=(t,e)=>t.filter((t=>!e.disabledKeys.has(String(t[e.keyPropertyName])))),Ct=w.forBlock("kol-table"),St=Ct("body"),wt=Ct("cell-actions"),_t=Ct("cell-states"),xt=Ct("footer"),Ot=Ct("head"),$t=Ct("head-row"),Dt=Ct("scroll-container"),Ft=Ct("selection-icon"),Lt=Ct("selection-input-tooltip"),Tt=Ct("sort"),zt=Ct("sort-button"),Bt=Ct("sort-order"),At=Ct("table"),It=`${Ct("focus-element")} ${Ct("caption")}`,Mt="caption",Et=(t,e)=>bt(t.fixedCols,t.stickyColsDisabled,t.maxCols,e),Kt=(t,e,o)=>({left:"left"===e?pt(t.fixedOffsets,o,!0,!1!==t.selection):void 0,right:"right"===e?pt(t.fixedOffsets,o,!1,!1!==t.selection):void 0}),Ht=(t,e,o)=>{var l,i;return null!==(i=t.primaryHeaders.horizontal&&(null===(l=e[0])||void 0===l?void 0:l.data)?t.rowKeys.get(e[0].data):void 0)&&void 0!==i?i:String(o)},Nt=t=>{const e=S("kol-sort");return"number"==typeof t&&t>0?`${e} – ${S("kol-table-sort-order").replace("{{order}}",`${t}`)}`:e},Pt=(t,e,l,i,s)=>{if(!1===e.visible)return"";const n=!1!==(null==e?void 0:e.sortable)&&"string"==typeof e.sortDirection;let a="none",r="kolicon-sort-neutral";if(n&&e.sortDirection)switch(e.sortDirection){case"ASC":r="kolicon-sort-asc",a="ascending";break;case"DESC":r="kolicon-sort-desc",a="descending";break;default:a="none"}const c=s?"row":"number"==typeof e.colSpan&&e.colSpan>1?"colgroup":"col",d="number"==typeof e.sortOrder&&e.sortOrder>0?e.sortOrder:void 0,h=void 0!==e.width?`${e.width}px`:void 0,u=Et(t,i),{left:b,right:v}=Kt(t,u,i),p=e.textAlign,f=n?e.sortDirection:void 0;return o("th",{key:`${l}-${i}-${e.label}`,class:Ct("cell",{[a]:!0,"align-center":"center"===p,"align-justify":"justify"===p,"align-left":"left"===p,"align-right":"right"===p,header:!0,"sticky-left":"left"===u,"sticky-right":"right"===u}),scope:c,colSpan:e.colSpan,rowSpan:e.rowSpan,style:{width:h,left:b,right:v},"aria-sort":a,"data-sort":f?`sort-${f}`:void 0},f?o("span",{class:Tt},o(_,Object.assign({},t.getButtonFcProps(`sort-${s?"vertical":"horizontal"}-${l}-${i}`,{_icons:{right:r},_label:e.label,_ariaDescription:Nt(d),_on:{onClick:o=>{t.handleSort(o,{key:e.key,currentSortDirection:f})}}},{class:zt}))),d&&o("span",{"aria-hidden":"true",class:Bt},d)):e.label)},Vt=(t,e,l,i,s=!1)=>o("tr",{class:Ct("row",{body:!s,footer:s}),key:`row-${Ht(t,e,l)}`},((t,e,l)=>{var i;const{handleSelectionChange:s,selection:n,selectionModel:a}=t;if(!n)return"";const r=null===(i=e[0])||void 0===i?void 0:i.data;if(!r)return"";const c=r[a.keyPropertyName],d=n.multiple||void 0===n.multiple,h=String(c),u=a.selectedKeysSet.has(h),b=a.disabledKeys.has(h),v=n.label(r),p={name:"selection",checked:u,disabled:b,id:String(c),"aria-label":v};return o("td",{key:`tbody-${l}-selection`,class:Ct("cell",{selection:!0})},o("div",{class:Ct("selection",{checked:u})},d?o("label",{class:Ct("selection-label",{disabled:b})},o(x,{class:Ft,icons:"kolicon "+(u?"kolicon-check":""),label:""}),o("input",Object.assign({class:Ct("selection-input",{checkbox:!0})},p,{type:"checkbox",onInput:t=>{const e=u?a.selectedKeys.filter((t=>String(t)!==h)):[...a.selectedKeys,c];s(t,e)}}))):o("label",{class:Ct("selection-label")},o("input",Object.assign({class:Ct("selection-input",{radio:!0})},p,{type:"radio",onInput:t=>{s(t,[c])}}))),o("div",{class:Lt},o(C,{label:v,badgeText:"",id:`${c}-label`,refFloating:()=>{}}))))})(t,e,l),e.map(((e,s)=>((t,e,l,i,s)=>{if(!1===e.visible)return"";let n=`${l}-${i}-${e.label}`;if(e.data){const o=t.rowKeys.get(e.data);n=o?`${o}-${t.primaryHeaders.horizontal?i:l}`:n}if(e.headerCell)return Pt(t,e,l,i,s);const a="function"!=typeof e.render&&e.label===t.translateNoEntries,r=((t,e,o)=>{if(0!==(e.horizontal?t.horizontal:t.vertical).length)return e.cells[o]})(t.headers,t.primaryHeaders,i),c="action"===(null==r?void 0:r.type)?r:void 0,d=Boolean(c&&e.data),h="state"===(null==r?void 0:r.type)?r:void 0,u=Boolean(h&&e.data),b=Et(t,i),{left:v,right:p}=Kt(t,b,e.colIndex),f="function"==typeof e.render,m=e.textAlign;return o("td",{key:`cell-${n}-${t.settingsChangedCounter}`,class:Ct("cell",{actions:d,"align-center":"center"===m,"align-justify":"justify"===m,"align-left":"left"===m,"align-right":"right"===m,body:!0,states:u,"sticky-left":"left"===b,"sticky-right":"right"===b}),"aria-atomic":a?"false":void 0,"aria-live":a?"polite":void 0,"aria-relevant":a?"text":void 0,colSpan:e.colSpan,rowSpan:e.rowSpan,style:{textAlign:m,left:v,right:p},ref:f?o=>t.handleRenderCell(e,o):void 0},d&&c&&e.data?((t,e,l,i)=>o("div",{class:wt},e.actions(l).map(((e,l)=>{const s=`action-${i}-${l}`;return"button"===e.type?o("span",{key:s},o(_,Object.assign({},t.getButtonFcProps(s,e)))):"link"===e.type?o("span",{key:s},o(O,Object.assign({},t.getLinkFcProps(s,e)))):null}))))(t,c,e.data,n):u&&h&&e.data?((t,e,l)=>{const i=t.key;if(!i)return"";const s=e[i];return s?o("div",{class:_t},s.map(((t,e)=>"badge"===t.type?o("kol-badge",Object.assign({key:`state-${l}-${e}`},t)):null))):""})(h,e.data,n):f?"":e.label)})(t,e,l,s,i)))),Qt=(t,e,l)=>{const i=t.headers.vertical.length+ut(null==l?void 0:l[0])+(t.selection?1:0);return o("tr",{"aria-hidden":"true",class:Ct("spacer",{[e]:!0})},o("td",{class:Ct("spacer-line",{[e]:!0}),colSpan:i}))},Xt=t=>{const e=p(at,t),{data:i,dataFoot:s,externalLabelElements:n,fixedCols:a,hasScrollbar:r,hasSettingsMenu:c,headers:d,label:h,loading:u,refScrollContainer:b,refTable:v,selection:y,stickyColsDisabled:g,variant:k}=e,w=S("kol-no-entries"),_=ct(d),O=ht(d.horizontal,i),F=Object.assign(Object.assign({},e),{fixedOffsets:vt(_.cells,O,a,g),maxCols:O,primaryHeaders:_,selectionModel:kt(y),translateNoEntries:w}),L=ft({data:i,dataFoot:s,headers:d,isFoot:!1,noEntriesLabel:w,primaryHeaders:_}),T=0===n.length;return o(m,{block:"kol-table",class:j(k,"table")},c&&t.renderSettings(d.horizontal),o("div",{ref:b,class:Dt,tabindex:r?T?"-1":"0":void 0},o("table",{ref:v,"aria-labelledby":T?Mt:void 0,class:At,style:{minWidth:mt(d)}},T&&o("caption",{class:It,id:Mt,ref:t=>{t&&(r?t.tabIndex=0:t.removeAttribute("tabindex"))}},$(h)),o("thead",{class:Ot},[d.horizontal.map(((t,e)=>o("tr",{class:$t,key:`thead-${e}`},y&&(t=>{const{data:e,handleSelectionChange:l,selection:i,selectionModel:s}=t;if(!i)return o("td",{class:Ct("cell",{header:!0}),key:"thead-0"});if(!1===i.multiple)return o("th",{scope:"col",key:"thead-0-selection",class:Ct("cell",{header:!0,selection:!0})},o("span",{class:"visually-hidden"},S("kol-table-selection")));const n=s.selectedKeys.filter((t=>!s.disabledKeys.has(String(t)))).length,a=n===jt(e,s).length,r=0!==n&&!a;let c;return c=S(0===n?"kol-table-selection-all":a&&!r?"kol-table-selection-none":"kol-table-selection-indeterminate"),o("th",{scope:"col",key:"thead-0-selection",class:Ct("cell",{header:!0,selection:!0})},o("span",{class:"visually-hidden"},S("kol-table-selection")),o("div",{class:Ct("selection",{checked:a,indeterminate:r})},o("label",{class:Ct("selection-label")},o(x,{class:Ft,icons:"kolicon "+(r?"kolicon-minus":a?"kolicon-check":""),label:""}),o("input",{class:Ct("selection-input",{checkbox:!0}),name:"selection",checked:a&&!r,indeterminate:r,"aria-label":c,type:"checkbox",onInput:t=>{l(t,((t,e,o)=>{const l=e.selectedKeys.filter((t=>e.disabledKeys.has(String(t))));return o&&l.push(...jt(t,e).map((t=>null==t?void 0:t[e.keyPropertyName]))),l})(e,s,!a))}})),o("div",{class:Lt},o(C,{label:c,badgeText:"",refFloating:()=>{}}))))})(F),0===e&&(({headers:t})=>{const{horizontal:e,vertical:i}=t;if(0===e.length||0===i.length)return o(l,null);const s=i.reduce(((t,e)=>{var o,l;return t+(null!==(l=null===(o=null==e?void 0:e[0])||void 0===o?void 0:o.width)&&void 0!==l?l:0)}),0);return o("td",{"aria-hidden":"true",colSpan:i.length,rowSpan:e.length,style:s>0?{width:`${s}px`}:void 0})})(F),Array.isArray(t)&&t.map(((t,o)=>Pt(F,t,e,o,!1)))))),Qt(F,"head",d.horizontal)]),o("tbody",{class:St},o("div",{class:Ct("loader",{shown:u})},o(D,{label:S(u?"kol-table-data-loading":"kol-table-data-loaded").replace("{{caption}}",f(h)),show:u,variant:"cycle"})),L.map(((t,e)=>Vt(F,t,e,!0)))),(t=>{const{dataFoot:e,headers:l,primaryHeaders:i,translateNoEntries:s}=t;if(0===e.length)return null;const n=ft({data:e,dataFoot:e,headers:l,isFoot:!0,noEntriesLabel:s,primaryHeaders:i}),a=ht(l.horizontal,e),r=Object.assign(Object.assign({},t),{fixedOffsets:vt(i.cells,a,t.fixedCols,t.stickyColsDisabled),maxCols:a});return o("tfoot",{class:xt},[Qt(t,"foot",n),n.map(((t,e)=>Vt(r,t,e,!0,!0)))])})(F))))},qt=({dialog:t,card:e},l)=>o(H,Object.assign({},t),e?o(X,Object.assign({},e),l):l),Rt=w.forBlock("kol-table")("settings"),Wt=w.forBlock("kol-table-settings"),Ut=Wt(),Jt=Wt("actions"),Zt=Wt("columns"),Gt=Wt("content"),Yt=Wt("error-message"),te=t=>Number.isFinite(t)&&void 0!==t&&t>0?t:void 0,ee=()=>{},oe=(t,e)=>{const l=S("kol-table-settings"),i=S("kol-table-settings-cancel"),s=S("kol-table-settings-apply"),n=S("kol-table-settings-error-all-invisible");let d,h=!1,u=!1;const b=()=>{h=!0,e()},v=c((()=>r(t)),(t=>t.syncListeners()),(t=>t.destroy())),p=((t,e)=>{const o=M(),l=M(),i=new q(a.stateLess),s=L(),n=T("dialog-heading"),r={};let c,h=!0,u={};const b=t=>!d||z(d,t),v=()=>{var t,e;null===(e=null===(t=o.el)||void 0===t?void 0:t.close)||void 0===e||e.call(t)},p=t=>{var e;N(t),t.defaultPrevented||(null===(e=u.onCancel)||void 0===e||e.call(u,t),t.defaultPrevented||b(B.cancel)||t.preventDefault())},m=t=>{var e;t.target===o.el&&(E(r),null===(e=u.onClose)||void 0===e||e.call(u),b(B.close))},k=()=>{i.hideTooltip(),v(),b(B.close)};return{getFcProps:e=>{var a,r,d;let b="",v=0,j="blank",C="100%";g.apply(e.label,(t=>{b=t})),I.apply(null!==(a=e.level)&&void 0!==a?a:0,(t=>{v=t})),P.apply(e.on,(t=>{u=t})),y.apply(null!==(r=e.variant)&&void 0!==r?r:"blank",(t=>{j=t})),V.apply(null!==(d=e.width)&&void 0!==d?d:"100%",(t=>{C=t}));const S="card"===j;return S&&!c&&(c=Q(t()),i.componentWillLoad({label:c.label,align:c.tooltipAlign})),{dialog:{handleCancel:p,handleClose:m,label:f(b),labelledBy:S?n:void 0,modal:h,refDialog:o,variant:j,width:C},card:S&&c?{ariaDescriptionId:s,closeButtonProps:c,handleClose:k,hasCloser:!0,headingId:n,label:b,level:v,refCloseButton:l,refTooltip:i.setTooltipElementRef}:void 0}},show:t=>{var l,i;const s=o.el;(null==s?void 0:s.open)||(h!==t&&(h=t,e()),t?(null===(l=null==s?void 0:s.showModal)||void 0===l||l.call(s),s&&K(r)):null===(i=null==s?void 0:s.show)||void 0===i||i.call(s))},close:v,syncListeners:()=>{l.el&&i.syncListeners(void 0,l.el,!0)},destroy:()=>{v(),E(r),i.destroy()}}})(t,b),m=T("alert-heading"),k=L();let j,C=[],w=[],x=null;const O=()=>{var t;return null!==(t=w[w.length-1])&&void 0!==t?t:[]},$=t=>{w=w.map(((e,o,l)=>o===l.length-1?t:e)),b()},D=(t,e)=>{const o=[...O()],l=o.findIndex((e=>e.key===t));if(-1===l)return;let i;if("up"===e){if(0===l)return;i=l-1}else{if(l===o.length-1)return;i=l+1}const[s]=o.splice(l,1);o.splice(i,0,s),$(o)},H=t=>{if(t.preventDefault(),!O().some((t=>!1!==t.visible)))return x=n,void b();if(d){x=null,C=w.map((t=>t.map((t=>Object.assign({},t))))),b();const t=w.map((t=>t.map((t=>{const e=t,{hidable:o,resizable:l,sortable:i,visible:s,width:n}=e,a=F(e,["hidable","resizable","sortable","visible","width"]),r=Object.assign({},a);return void 0!==s&&(r.visible=s),void 0!==o&&(r.hidable=o),void 0!==i&&(r.sortable=i),void 0!==l&&(r.resizable=l),null!=n&&(r.width=n),r}))));z(d,B.changeHeaderCells,t),p.close()}},X=t=>{t&&(d=t)};return{beginRender:()=>{v.beginRender(),u=h,h=!1},render:t=>{var e;u||t===j||(j=t,C=(e=t).map((t=>[...t])),w=e.map((t=>t.map((t=>Object.assign({},t))))));const n=O();return o("div",{class:Rt,ref:X},o("div",{class:Ut},o(_,Object.assign({},v.get("toggle").getFcProps({_icons:"kolicon-settings",_label:l,_hideLabel:!0,_on:{onClick:()=>p.show(!0)}})))),o(qt,Object.assign({},p.getFcProps({label:l,variant:"card",width:"fit-content"})),o("div",{class:Gt},x&&o("div",{class:Yt},o(A,{alert:!1,closerAriaDescriptionId:k,handleCloserClick:ee,hasCloser:!1,headingId:m,label:x,level:0,refCloserButton:ee,refCloserTooltip:ee,type:"error",variant:"msg"})),o("form",{onSubmit:H},o("div",{class:Zt},n.map(((t,e)=>((t,e,l)=>o("div",{key:t.key,class:"kol-table-settings__column"},o("kol-input-checkbox",{_checked:!1!==t.visible,_label:S(t.hidable?"kol-table-settings-column-hidable":"kol-table-settings-column-not-hidable",{placeholders:{column:t.label}}),_value:!0,_hideLabel:!0,_disabled:!1===t.hidable,_on:{onInput:(e,o)=>{var l;return((t,e)=>{const o=O().map((o=>o.key===t&&!1!==o.hidable?Object.assign(Object.assign({},o),{visible:Boolean(e)}):o));$(o)})(null!==(l=t.key)&&void 0!==l?l:"",o)}}}),o("span",{class:"kol-table-settings__column-label"},t.label),o("kol-input-number",{_hideLabel:!0,_value:te(t.width),_label:S("kol-table-settings-column-width",{placeholders:{column:t.label}}),_min:1,_disabled:!1===t.resizable,_on:{onInput:(e,o)=>{var l;return((t,e)=>{const o=te(Number(e)),l=O().map((e=>e.key===t&&!1!==e.resizable?Object.assign(Object.assign({},e),{width:o}):e));$(l)})(null!==(l=t.key)&&void 0!==l?l:"",o)}}}),o(_,Object.assign({},v.get(`move-up-${t.key}`).getFcProps({_icons:"kolicon-chevron-up",_label:S(!1===t.sortable||0===e?"kol-table-settings-not-move":"kol-table-settings-move-up",{placeholders:{column:t.label}}),_hideLabel:!0,_variant:"ghost",_on:{onClick:()=>{var e;return D(null!==(e=t.key)&&void 0!==e?e:"","up")}},_disabled:!1===t.sortable||0===e}))),o(_,Object.assign({},v.get(`move-down-${t.key}`).getFcProps({_icons:"kolicon-chevron-down",_label:S(!1===t.sortable||e===l.length-1?"kol-table-settings-not-move":"kol-table-settings-move-down",{placeholders:{column:t.label}}),_hideLabel:!0,_variant:"ghost",_on:{onClick:()=>{var e;return D(null!==(e=t.key)&&void 0!==e?e:"","down")}},_disabled:!1===t.sortable||e===l.length-1})))))(t,e,n)))),o("div",{class:Jt},o(_,Object.assign({},v.get("cancel").getFcProps({_label:i,_variant:"secondary",_on:{onClick:()=>(w=C.map((t=>[...t])),x=null,b(),void p.close())}}))),o(_,Object.assign({},v.get("apply").getFcProps({_label:s,_variant:"primary",_type:"submit"}))))))))},sync:()=>{v.endRender(),p.syncListeners()},destroy:()=>{v.destroy(),p.destroy()}}};class le extends a{constructor(){super(...arguments),this.hasExternalTableLabelRefs=!1,this.cellRenderTimeouts=new Map,this.buttonItems=c((()=>r((()=>this.host))),(t=>t.syncListeners()),(t=>t.destroy())),this.settings=oe((()=>this.host),(()=>s(this))),this.linkItems=c((()=>d((()=>s(this)))),(t=>t.syncListeners()),(t=>t.destroy())),this.propsConfig=at,this.handleResize=()=>{this.updateScrollbarState(),clearTimeout(this.resizeDebounceTimeout),this.resizeDebounceTimeout=setTimeout((()=>{this.updateStickyColsDisabled()}),150)},this.handleSelectionChange=(t,e)=>{this.emitSelectionChange(t,e)},this.handleSort=(t,e)=>{this.emitSort(t,e)},this.handleRenderCell=(t,e)=>{e&&(clearTimeout(this.cellRenderTimeouts.get(e)),this.cellRenderTimeouts.set(e,setTimeout((()=>{if(this.cellRenderTimeouts.delete(e),"function"==typeof t.render){const o=t.render(e,t,t.data,this.getRenderProp("data"));"string"==typeof o&&(e.textContent=o)}}))))},this.refScrollContainer=t=>{this.scrollContainerElement=t},this.refTable=t=>{this.tableElement=t,this.syncTableLabel(this.getState("externalLabelElements"))},this.getButtonFcProps=(t,e,o)=>this.buttonItems.get(t).getFcProps(e,o),this.renderSettings=t=>this.settings.render(t),this.getLinkFcProps=(t,e)=>this.linkItems.get(t).getFcProps(e)}observeScrollContainer(){this.scrollContainerElement&&ResizeObserver&&(this.resizeObserver=new ResizeObserver(this.handleResize),this.resizeObserver.observe(this.scrollContainerElement)),this.updateStickyColsDisabled()}teardownTable(){var t;null===(t=this.resizeObserver)||void 0===t||t.disconnect(),clearTimeout(this.resizeDebounceTimeout),this.cellRenderTimeouts.forEach((t=>clearTimeout(t))),this.cellRenderTimeouts.clear(),this.buttonItems.destroy(),this.linkItems.destroy(),this.settings.destroy()}syncTableItems(){this.buttonItems.endRender(),this.linkItems.endRender(),this.settings.sync()}applyData(t){et.apply(t,(t=>{this.setRenderProp("data",t),this.setState("rowKeys",((t,e)=>new Map(t.map((t=>{var o;return[t,null!==(o=e.get(t))&&void 0!==o?o:L()]}))))(t,this.getState("rowKeys")))}))}applyDataFoot(t){ot.apply(t,(t=>this.setRenderProp("dataFoot",t)))}applyFixedCols(t){J.apply(t,(t=>this.setRenderProp("fixedCols",t))),this.updateStickyColsDisabled()}applyHasSettingsMenu(t){Z.apply(t,(t=>this.setRenderProp("hasSettingsMenu",t)))}applyHeaders(t){it.apply(t,(t=>this.setRenderProp("headers",(t=>0===t.horizontal.length?t:Object.assign(Object.assign({},t),{horizontal:t.horizontal.map((t=>t.map((t=>Object.assign(Object.assign({},t),{visible:"boolean"!=typeof t.visible||t.visible,hidable:"boolean"!=typeof t.hidable||t.hidable})))))}))(t))),this.isRequired("headers"))}applyLabel(t){g.apply(t,(t=>this.setRenderProp("label",t)),this.isRequired("label"))}applyLoading(t){st.apply(t,(t=>this.setRenderProp("loading",t)))}applyOn(t){G.apply(t,(t=>this.setRenderProp("on",t)))}applySelection(t){nt.apply(t,(t=>this.setRenderProp("selection",t))),this.updateStickyColsDisabled()}applyVariant(t){k.apply(t,(t=>this.setRenderProp("variant",t)))}syncTableLabel(t){this.tableElement&&"ariaLabelledByElements"in this.tableElement&&((null==t?void 0:t.length)?(this.tableElement.ariaLabelledByElements=t,this.hasExternalTableLabelRefs=!0,i.debug([this.tableElement,t,this.tableElement.ariaLabelledByElements])):this.hasExternalTableLabelRefs&&(this.hasExternalTableLabelRefs=!1,this.tableElement.ariaLabelledByElements=null,this.tableElement.setAttribute("aria-labelledby",Mt)))}moveCheckboxFocus(t){var e,o,l;if("ArrowUp"!==t.key&&"ArrowDown"!==t.key)return;const i=Array.from(null!==(o=null===(e=this.scrollContainerElement)||void 0===e?void 0:e.querySelectorAll(".kol-table__selection-input--checkbox"))&&void 0!==o?o:[]),s=null===(l=this.scrollContainerElement)||void 0===l?void 0:l.querySelector(":focus");let n=i.indexOf(s);n>-1&&(t.preventDefault(),n=(n+("ArrowDown"===t.key?1:i.length-1))%i.length,i[n].focus())}applyChangedHeaderCells(t){const e=Object.assign(Object.assign({},this.getRenderProp("headers")),{horizontal:t.detail});this.setRenderProp("headers",e),this.setState("settingsChangedCounter",this.getState("settingsChangedCounter")+1);const o=this.getRenderProp("on")[R.onChangeHeaderCells];"function"==typeof o&&o(t,e)}updateScrollbarState(){if(this.scrollContainerElement){const{clientHeight:t,clientWidth:e,scrollHeight:o,scrollWidth:l}=this.scrollContainerElement;this.setState("hasScrollbar",l>e||o>t&&["auto","scroll"].includes(getComputedStyle(this.scrollContainerElement).overflowY))}}calculateFixedColsWidth(){var t,e,o,l,i,s;const[n,a]=this.getRenderProp("fixedCols"),r=this.getRenderProp("headers"),c=ct(r).cells,d=ht(r.horizontal,this.getRenderProp("data"));let h=0;for(let o=0;o<n&&o<c.length;o++)h+=null!==(e=null===(t=c[o])||void 0===t?void 0:t.width)&&void 0!==e?e:0;for(let t=d-a;t<d&&t<c.length;t++)h+=null!==(l=null===(o=c[t])||void 0===o?void 0:o.width)&&void 0!==l?l:0;if(this.getRenderProp("selection")){const t=null===(i=this.scrollContainerElement)||void 0===i?void 0:i.querySelector(".kol-table__cell--selection");h+=null!==(s=null==t?void 0:t.offsetWidth)&&void 0!==s?s:0}return h}updateStickyColsDisabled(){if(!this.scrollContainerElement)return void this.setState("stickyColsDisabled",!1);const t=this.calculateFixedColsWidth();this.setState("stickyColsDisabled",t>0&&t>=this.scrollContainerElement.clientWidth)}emitSelectionChange(t,e){const o=this.getRenderProp("on")[R.onSelectionChange];"function"==typeof o&&o(t,e),this.host&&z(this.host,B.selectionChange,e)}emitSort(t,e){const o=this.getRenderProp("on")[R.onSort];"function"==typeof o&&e.key&&o(t,e),this.host&&z(this.host,B.sort,e)}renderTableStatelessFC(){return this.buttonItems.beginRender(),this.linkItems.beginRender(),this.settings.beginRender(),o(Xt,{data:this.getRenderProp("data"),dataFoot:this.getRenderProp("dataFoot"),externalLabelElements:this.getState("externalLabelElements"),fixedCols:this.getRenderProp("fixedCols"),getButtonFcProps:this.getButtonFcProps,getLinkFcProps:this.getLinkFcProps,renderSettings:this.renderSettings,handleRenderCell:this.handleRenderCell,handleSelectionChange:this.handleSelectionChange,handleSort:this.handleSort,hasScrollbar:this.getState("hasScrollbar"),hasSettingsMenu:this.getRenderProp("hasSettingsMenu"),headers:this.getRenderProp("headers"),label:this.getRenderProp("label"),loading:this.getRenderProp("loading"),on:this.getRenderProp("on"),refScrollContainer:this.refScrollContainer,refTable:this.refTable,rowKeys:this.getState("rowKeys"),selection:this.getRenderProp("selection"),settingsChangedCounter:this.getState("settingsChangedCounter"),stickyColsDisabled:this.getState("stickyColsDisabled"),variant:this.getRenderProp("variant")})}}export{le as B,ot as a,et as t,W as v}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{i as s,X as i,h as t}from"./index-Bsx5X6jK.js";import{B as a}from"./base-web-component-D16FuHFf.js";import{b as e,e as o,a as h,n as l,c as n,d as r,B as p}from"./component-XbTjo2nm.js";import{F as d}from"./behavior-DnTJtQBK.js";import{T as c}from"./behavior-DJQFXyfi.js";import{a as m,b as y,c as b,f as u,g as f,h as v,s as x,i as B,l as j,d as C,t as D,e as A,v as I}from"./component-BPL1Mikq.js";import{d as T}from"./disabled-Cu0e92-b.js";import{i as g}from"./id-BXwy9iRy.js";import"./props-from-config-DVxNB2Lx.js";import{l as K}from"./label-with-expert-slot-DXi27J4o.js";import{v as F}from"./access-and-short-key-CW0oxi_q.js";import{c as L}from"./element-interaction-C2pgnQ6t.js";import{d as P,K as S}from"./events-B2UzbUT7.js";import{p as w,a as H}from"./controller-BdPVgWDs.js";class V extends a{constructor(){super(...arguments),this.ctaRef=L(),this.propsConfig=e,this.tooltipBehavior=new c(this.stateAccess),this.handleClick=i=>{i.stopPropagation(),this.tooltipBehavior.hideTooltip();const t=this.getRenderProp("type");if("submit"===t)w({form:this.host});else if("reset"===t)H({form:this.host});else{this.formAssociation.setFormAssociatedValue(this.formValue);const t=this.getRenderProp("on").onClick;"function"==typeof t&&(s(i,this.ctaRef.el),t(i,this.formValue))}this.host&&P(this.host,S.click,this.formValue)},this.handleMouseDown=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onMouseDown)||void 0===t||t.call(i,s),this.host&&P(this.host,S.mousedown)},this.handleFocus=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onFocus)||void 0===t||t.call(i,s),this.host&&P(this.host,S.focus)},this.handleBlur=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onBlur)||void 0===t||t.call(i,s),this.host&&P(this.host,S.blur)}}initFormAssociation(){this.formAssociation=new d(a.stateLess,{host:this.host,type:"button"})}unsetButtonTabIndex(){this.unsetRenderProp("tabIndex")}initTooltipBehavior(){this.tooltipBehavior.componentWillLoad({label:this.getRenderProp("label"),align:this.getRenderProp("tooltipAlign")})}syncTooltipListeners(){this.ctaRef.el&&this.tooltipBehavior.syncListeners(void 0,this.ctaRef.el,!0)}destroyTooltipBehavior(){this.tooltipBehavior.destroy()}applyAccessKey(s,i){m.apply(s,(s=>this.setRenderProp("accessKey",s))),F(s,i)}applyAriaControls(s){y.apply(s,(s=>this.setRenderProp("ariaControls",s)))}applyAriaDescription(s){b.apply(s,(s=>this.setRenderProp("ariaDescription",s)))}applyAriaExpanded(s){u.apply(s,(s=>this.setRenderProp("ariaExpanded",s)))}applyAriaHasPopup(s){o.apply(s,(s=>this.setRenderProp("ariaHasPopup",s)))}applyAriaSelected(s){h.apply(s,(s=>this.setRenderProp("ariaSelected",s)))}applyCustomClass(s){f.apply(s,(s=>this.setRenderProp("customClass",s)))}applyDisabled(s){T.apply(s,(s=>this.setRenderProp("disabled",s)))}applyHideLabel(s){v.apply(s,(s=>this.setRenderProp("hideLabel",s)))}applyIcons(s){x.apply(s,(s=>this.setRenderProp("icons",s)))}applyId(s){g.apply(s,(s=>this.setRenderProp("id",s)))}applyInline(s){B.apply(s,(s=>this.setRenderProp("inline",s)))}applyLabel(s){K.apply(s,(s=>{this.setRenderProp("label",s),this.tooltipBehavior.watchLabel(s)}),this.isRequired("label"))}applyName(s){l.apply(s,(s=>this.setRenderProp("name",s))),this.formAssociation.watchName(s)}applyOn(s){n.apply(s,(s=>this.setRenderProp("on",s)))}applyRole(s){j.apply(s,(s=>this.setRenderProp("role",s)))}applyShortKey(s,i){C.apply(s,(s=>this.setRenderProp("shortKey",s))),F(i,s)}applySyncValueBySelector(s){this.formAssociation.watchSyncValueBySelector(s)}applyTabIndex(s){"number"==typeof s?D.apply(s,(s=>this.setRenderProp("tabIndex",s))):this.unsetRenderProp("tabIndex")}applyTooltipAlign(s){A.apply(null!=s?s:"top",(s=>{this.setRenderProp("tooltipAlign",s),this.tooltipBehavior.watchAlign(s)}))}applyType(s){r.apply(s,(s=>this.setRenderProp("type",s)))}applyValue(s){this.formValue=s,this.formAssociation.setFormAssociatedValue(s)}applyVariant(s){var t;I.apply(null!==(t=null!=s?s:i("buttonVariantDefault",this.host))&&void 0!==t?t:"normal",(s=>this.setRenderProp("variant",s)))}getButtonFCProps(){return{accessKey:this.getRenderProp("accessKey"),ariaControls:this.getRenderProp("ariaControls"),ariaDescription:this.getRenderProp("ariaDescription"),ariaDescriptionId:this.getState("ariaDescriptionId"),ariaExpanded:this.getRenderProp("ariaExpanded"),ariaHasPopup:this.getRenderProp("ariaHasPopup"),ariaSelected:this.getRenderProp("ariaSelected"),customClass:this.getRenderProp("customClass"),disabled:this.getRenderProp("disabled"),handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,hideLabel:this.getRenderProp("hideLabel"),icons:this.getRenderProp("icons"),id:this.getRenderProp("id"),inline:this.getRenderProp("inline"),label:this.getRenderProp("label"),name:this.getRenderProp("name"),on:this.getRenderProp("on"),refButton:this.ctaRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,role:this.getRenderProp("role"),shortKey:this.getRenderProp("shortKey"),tabIndex:this.getRenderProp("tabIndex"),tooltipAlign:this.getRenderProp("tooltipAlign"),type:this.getRenderProp("type"),variant:this.getRenderProp("variant")}}renderButtonFC(){return t(p,Object.assign({},this.getButtonFCProps()))}}export{V as B}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import"./index-Bsx5X6jK.js";import{d as t}from"./props-from-config-DVxNB2Lx.js";function s(){throw new Error("This behavior does not use component state.")}class e{constructor(){this.rawProps={},this.renderProps={},this.requiredPropNames=new Set,this.renderPropsSeeded=!1,this.setState=(t,s)=>{this[t]=s},this.getState=t=>this[t],this.stateAccess={setState:this.setState,getState:this.getState}}seedRenderProps(){var s;this.renderPropsSeeded||(this.renderPropsSeeded=!0,this.renderProps=t(this.propsConfig),this.requiredPropNames=new Set((null!==(s=this.propsConfig.required)&&void 0!==s?s:[]).map((t=>t.propName))))}isRequired(t){return this.seedRenderProps(),this.requiredPropNames.has(t)}setRawProp(t,s){this.rawProps[t]=s}getRawProp(t){return this.rawProps[t]}setRenderProp(t,s){this.seedRenderProps(),this.renderProps[t]=s}unsetRenderProp(t){this.seedRenderProps(),this.renderProps[t]=void 0}getRenderProp(t){return this.seedRenderProps(),this.renderProps[t]}}e.stateLess=Object.freeze({setState:s,getState:s});export{e as B}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{h as t}from"./index-Bsx5X6jK.js";import{a as s,d as i,v as e}from"./component-BPL1Mikq.js";import{a as o,S as a}from"./suggestions-BXp8OhOi.js";import{h as r,g as h}from"./input-container-BpG3WHug.js";import{c as n,b as l,e as p}from"./props-from-config-DVxNB2Lx.js";import{p as d}from"./placeholder-7pbjAn-x.js";import{r as u}from"./read-only-3XuQIAB8.js";import{r as c}from"./required-CNgdXJ8H.js";import{s as m}from"./smart-button-BdA5-cUG.js";import{s as v}from"./value-string-Cmozozek.js";import{f as y,B as j}from"./api-B76-Osk1.js";import{s as b}from"./controller-BdPVgWDs.js";import{v as g}from"./access-and-short-key-CW0oxi_q.js";import{c as f}from"./element-interaction-C2pgnQ6t.js";import{B}from"./base-web-component-D16FuHFf.js";import{C as O}from"./behavior-ByyBa-o8.js";const x=n("pattern",void 0,l),K={required:[...y.required],optional:[...y.optional,s,o,r,x,d,u,c,i,m,v,e]};class C extends j{constructor(){super(...arguments),this.ctaRef=f(),this.counter=new O(B.stateLess),this.needsImmediateCounterUpdate=!1,this.hasValue=!1,this.handleTextInput=t=>{this._value=t.target.value,this.handleInput(t)},this.handleTextChange=(t,s)=>{this.handleChange(t,s)},this.handleTextFocus=t=>{var s,i;this.handleFocus(t),this.counter.retriggerAria(null!==(i=null===(s=this._value)||void 0===s?void 0:s.length)&&void 0!==i?i:0)},this.handleTextKeyDown=t=>{var s,i;this.handleKeyDown(t),this.counter.handleKeyDown(t,null!==(i=null===(s=this.ctaRef.el)||void 0===s?void 0:s.value.length)&&void 0!==i?i:0),b(t,{form:this.host,ref:this.ctaRef.el})}}get textShared(){return this}initHasValue(){this.hasValue=Boolean(this.textShared.getRenderProp("value"))}didLoadTextInput(){var t,s;this.needsImmediateCounterUpdate=!1,(this.counter.hasCounter()||this.counter.hasSoftLimit())&&this.counter.updateImmediate(null!==(s=null===(t=this._value)||void 0===t?void 0:t.length)&&void 0!==s?s:0)}didUpdateTextInput(){var t,s;this.needsImmediateCounterUpdate&&(this.needsImmediateCounterUpdate=!1,(this.counter.hasCounter()||this.counter.hasSoftLimit())&&this.counter.updateImmediate(null!==(s=null===(t=this._value)||void 0===t?void 0:t.length)&&void 0!==s?s:0))}destroyTextInput(){this.destroyFormField(),this.counter.destroy()}applyAccessKey(t){s.apply(t,(t=>this.textShared.setRenderProp("accessKey",t))),g(t,this._shortKey)}applyAutoComplete(t){o.apply(t,(t=>this.textShared.setRenderProp("autoComplete",t)))}applyIcons(t){r.apply(t,(t=>this.textShared.setRenderProp("icons",t)))}applyPattern(t){x.apply(t,(t=>this.textShared.setRenderProp("pattern",t)))}applyPlaceholder(t){d.apply(t,(t=>this.textShared.setRenderProp("placeholder",t)))}applyReadOnly(t){u.apply(t,(t=>this.textShared.setRenderProp("readOnly",t)))}applyRequired(t){c.apply(t,(t=>this.textShared.setRenderProp("required",t)))}applyShortKey(t){i.apply(t,(t=>this.textShared.setRenderProp("shortKey",t))),g(this._accessKey,t)}applySmartButton(t){null==t?this.textShared.unsetRenderProp("smartButton"):m.apply(t,(t=>this.textShared.setRenderProp("smartButton",t)))}applyValue(t){var s;this.initValue(t),this.hasValue=Boolean(this.textShared.getRenderProp("value")),this.counter.update(null!==(s=null==t?void 0:t.length)&&void 0!==s?s:0)}initValue(t){v.apply(t,(t=>this.textShared.setRenderProp("value",t))),this.formAssociation.setFormAssociatedValue(this.textShared.getRenderProp("value"))}initMaxLength(t){this.counter.watchMaxLength(t)}applyVariant(t){e.apply(t,(t=>this.textShared.setRenderProp("variant",t)))}applyHasCounter(t){this.counter.watchHasCounter(t),this.needsImmediateCounterUpdate=!0}applyMaxLength(t){var s,i;this.counter.watchMaxLength(t),this.counter.updateImmediate(null!==(i=null===(s=this._value)||void 0===s?void 0:s.length)&&void 0!==i?i:0)}applyMaxLengthBehavior(t){this.counter.watchMaxLengthBehavior(t),this.needsImmediateCounterUpdate=!0}getTextFormFieldProps(t){const s=this.textShared;return this.getFormFieldProps({class:p(t,{"has-value":this.hasValue,"kol-form-field--has-counter":this.counter.hasSoftLimit()||this.counter.hasCounter()}),accessKey:s.getRenderProp("accessKey")||void 0,shortKey:s.getRenderProp("shortKey")||void 0,variant:s.getRenderProp("variant"),required:s.getRenderProp("required"),readOnly:s.getRenderProp("readOnly"),maxLength:this.counter.getRenderProp("maxLength"),counter:this.counter.getCounterProps()})}getTextInputAdornments(t){return h({icons:this.textShared.getRenderProp("icons"),smartButton:this.getSmartButtonFcProps(this.textShared.getRenderProp("smartButton"),this.textShared.getRenderProp("disabled")),endAdornment:t})}getTextInputProps({type:s,spellcheck:i,multiple:e,suggestions:o},r={}){const h=this.textShared,n=h.getState("id"),l=h.getRenderProp("accessKey"),p=h.getRenderProp("shortKey"),d=h.getRenderProp("placeholder"),u=h.getRenderProp("pattern"),c=this.counter.getMaxLengthAttribute(),m=this.counter.getCharacterLimitHintId(n),{ariaDescribedBy:v,hasError:y}=this.getAria();return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:n,hideLabel:h.getRenderProp("hideLabel"),label:h.getRenderProp("label"),disabled:h.getRenderProp("disabled"),name:h.getRenderProp("name")||void 0},l?{accessKey:l}:{}),void 0!==s?{type:s}:{}),{value:h.getRenderProp("value"),required:h.getRenderProp("required")}),void 0!==c?{maxlength:c}:{}),void 0!==d?{placeholder:d}:{}),{autoComplete:h.getRenderProp("autoComplete")}),void 0!==i?{spellcheck:i}:{}),void 0!==u?{pattern:u}:{}),{readonly:h.getRenderProp("readOnly")}),void 0!==e?{multiple:e}:{}),{touched:h.getRenderProp("touched"),msg:h.getRenderProp("msg")}),p?{"aria-keyshortcuts":p}:{}),o&&o.length>0?{suggestions:t(a,{id:n,suggestions:o})}:{}),{ref:this.ctaRef,onBlur:this.handleBlur,onChange:this.handleTextChange,onClick:this.handleClick,onFocus:this.handleTextFocus,onInput:this.handleTextInput,onKeyDown:this.handleTextKeyDown}),r),{ariaDescribedBy:m?[...v,m]:v,"aria-invalid":y?"true":void 0})}}export{C as B,K as t}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{C as e,j as s,h as i,F as t}from"./index-Bsx5X6jK.js";import{a as o,d as r,t as a,v as l}from"./component-BPL1Mikq.js";import{h as n,g as d,I as h}from"./input-container-BpG3WHug.js";import{o as c,p,c as u,g as b,e as v}from"./props-from-config-DVxNB2Lx.js";import{m}from"./multiple-DQdOCIyW.js";import{r as y}from"./required-CNgdXJ8H.js";import{r as f}from"./rows-DL1whQNh.js";import{f as O,i as j,g,c as B,B as A,F as K}from"./api-B76-Osk1.js";import{v as w}from"./access-and-short-key-CW0oxi_q.js";import{f as q}from"./options-CKAHQbcF.js";import{a as x}from"./tslib.es6-QNbPBOk5.js";const P=s=>{if("object"==typeof s&&null!==s){if("string"==typeof s.label&&s.label.length>0)return s.disabled=!0===s.disabled,s.label=`${s.label}`.trim(),!1===c(s.label,3)&&!1===p(s.label)&&e(`A differing Aria-Label (${s.label}) is inaccessible. A differing Aria-Label should consist of at least three readable characters.`),!Array.isArray(s.options)||void 0===s.options.find((e=>!1===P(e)));if("number"==typeof s.label)return!0}return!1},k=u("options",[],(function(e){const i="string"==typeof e?s(e):e;if(Array.isArray(i)&&i.every((e=>P(e))))return i;throw new Error("Invalid select options")})),L=u("value",[],(e=>Array.isArray(e)?e:[e])),D={required:[...O.required],optional:[...O.optional,o,n,m,k,y,f,L,r,a,l]},C=b("kol-select"),I=e=>{var{class:s,index:t,selectedValue:o,selected:r,value:a,label:l,disabled:n}=e,d=x(e,["class","index","selectedValue","selected","value","label","disabled"]);const h=void 0===o?[]:Array.isArray(o)?o:[o],c=r||h.includes(a);return i("option",Object.assign({class:v(C("option",{selected:Boolean(c),disabled:Boolean(n)}),s),selected:c,disabled:n,value:t},d),l)},V=({preKey:e,options:s,disabled:o,value:r,OptionProps:a={},OptionGroupProps:l={}})=>(null==s?void 0:s.length)?i(t,null,s.map(((s,t)=>{const n=[e,`-${t}`].join("");if("options"in s){const e=Boolean(o||s.disabled),{label:t}=s,d=x(s,["label"]);return i("optgroup",Object.assign({class:C("optgroup",{disabled:e}),key:n},l,{label:null==t?void 0:t.toString(),disabled:e}),i(V,Object.assign({OptionGroupProps:l,OptionProps:a,value:r,preKey:n},d,{disabled:e})))}return"value"in s?i(I,Object.assign({key:n},a,{index:n,selectedValue:r},s,{disabled:Boolean(o||s.disabled)})):null}))):null,$=e=>{const{class:s,msg:t,touched:o,disabled:r,required:a,options:l,value:n,OptionProps:d,OptionGroupProps:h,ariaDescribedBy:c,hideLabel:p,label:u}=e,b=x(e,["class","msg","touched","disabled","required","options","value","OptionProps","OptionGroupProps","ariaDescribedBy","hideLabel","label"]),m=Object.assign(Object.assign({class:v(C(Object.assign({disabled:Boolean(r),required:Boolean(a),touched:Boolean(o)},j(t,o)?{[g(t)]:!0}:{})),s),required:a,disabled:r},B({ariaDescribedBy:c,hideLabel:p,label:u})),b);return i("select",Object.assign({},m),i(V,{OptionGroupProps:h,OptionProps:d,disabled:r,options:l,value:n}))},E=(e,s,i)=>{const t=Array.isArray(e);if(s){if(void 0!==e&&!t)throw new Error(`↑ The schema for the property (_value) is not valid for multiple mode. Expected an array. The value will not be changed. (${i} = ${JSON.stringify(e)})`)}else if(t)throw new Error(`↑ The schema for the property (_value) is not valid for single mode. Expected a single value. The value will not be changed. (${i} = ${JSON.stringify(e)})`)},G=(e,s=!1)=>e.flatMap((e=>"options"in e&&Array.isArray(e.options)?G(e.options,Boolean(s||e.disabled)):[Object.assign(Object.assign({},e),{disabled:Boolean(s||e.disabled)})])),N=(e,s,i)=>{if(0===s.length)return e;const t=G(s),o=t.map((e=>e.value)),r=e.every((e=>o.includes(e)))?e:e.filter((e=>o.includes(e)));if(!1===i&&0===r.length){const e=t.find((e=>!0!==e.disabled));return e?[e.value]:r}return r};class F extends A{constructor(){super(...arguments),this.keyOptionMap=new Map,this.hasValue=!0,this.handleSelectInput=e=>{var s;const i=Array.from((null===(s=this.ctaRef.el)||void 0===s?void 0:s.options)||[]).filter((e=>e.selected)).map((e=>{var s;return null===(s=this.keyOptionMap.get(e.value))||void 0===s?void 0:s.value}));if(this._multiple)this._value=i,this.handleInput(e,i);else{const s=i.length>0?i[0]:void 0;this._value=s,this.handleInput(e,s)}},this.handleSelectChange=e=>{const s=this._value;this.handleChange(e,s),this.hasValue=!!s}}applyAccessKey(e){o.apply(e,(e=>this.setRenderProp("accessKey",e))),w(e,this.getShortKeyProp())}applyShortKey(e){r.apply(e,(e=>this.setRenderProp("shortKey",e))),w(this.getAccessKeyProp(),e)}applyIcons(e){n.apply(e,(e=>this.setRenderProp("icons",e)))}applyMultiple(e){E(this._value,!0===e,"current"),m.apply(e,(e=>{this.setRenderProp("multiple",e),this.setRenderProp("value",N(this.getRenderProp("value"),this.getRenderProp("options"),this._multiple))}))}applyOptions(e){k.apply(e,(e=>{this.setRenderProp("options",e),e.length>0&&(this.keyOptionMap.clear(),q(this.keyOptionMap,e),this.setRenderProp("value",N(this.getRenderProp("value"),e,this._multiple)))}))}applyRequired(e){y.apply(e,(e=>this.setRenderProp("required",e)))}applyRows(e){f.apply(e,(e=>this.setRenderProp("rows",e)))}applyTabIndex(e){a.apply(e,(e=>this.setRenderProp("tabIndex",e)))}applyValue(e){E(e,!0===this._multiple,"received");const s=e=>{const s=N(e,this.getRenderProp("options"),this._multiple);this.setRenderProp("value",s),this.formAssociation.setFormAssociatedValue(this.getModelValue())};null===e?s([null]):L.apply(e,s)}applyVariant(e){l.apply(e,(e=>this.setRenderProp("variant",e)))}getModelValue(){const e=this.getRenderProp("value");return this._multiple?e:Array.isArray(e)&&e.length>0?e[0]:e}getSelectProps(){const{ariaDescribedBy:e,hasError:s}=this.getAria(),i=this.getRenderProp("multiple"),t=this.getRenderProp("shortKey");return Object.assign(Object.assign({id:this.getState("id"),hideLabel:this.getRenderProp("hideLabel"),label:this.getRenderProp("label"),value:this.getRenderProp("value"),options:this.getRenderProp("options"),accessKey:this.getRenderProp("accessKey")||void 0,disabled:this.getRenderProp("disabled"),name:this.getRenderProp("name")||void 0,"aria-invalid":s?"true":void 0,ariaDescribedBy:e,size:i?this.getRenderProp("rows"):void 0,multiple:i,required:this.getRenderProp("required"),touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")},t?{"aria-keyshortcuts":t}:{}),{ref:this.ctaRef,onBlur:this.handleBlur,onChange:this.handleSelectChange,onClick:this.handleClick,onFocus:this.handleFocus,onInput:this.handleSelectInput,onKeyDown:this.handleKeyDown})}renderSelectField(){const e=this.getRenderProp("disabled"),{startAdornment:s,endAdornment:t}=d({icons:this.getRenderProp("icons")});return i(K,Object.assign({},this.getFormFieldProps({class:v("kol-form-field-select",{"kol-form-field--has-value":this.hasValue}),accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,required:this.getRenderProp("required"),variant:this.getRenderProp("variant")}),{onClick:()=>{var e;return null===(e=this.ctaRef.el)||void 0===e?void 0:e.focus()}}),i(h,{disabled:e,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:s,endAdornment:t},i($,Object.assign({},this.getSelectProps()))))}}export{F as B,D as s}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import"./index-Bsx5X6jK.js";import{a as t}from"./dev.utils--eVyQ4zr.js";import{c as e,n as r,D as i,b as a,i as h}from"./props-from-config-DVxNB2Lx.js";import{B as n}from"./behavior-DJQFXyfi.js";import{t as o}from"./i18n-Cf0DhAke.js";const s=e("hasCounter",!1,r),c=e("maxLength",void 0,i,(t=>t>=0)),m=["hard","soft"],u=e("maxLengthBehavior","hard",(function(t){const e=a(t);if(h(e,m))return e;throw new Error(`Invalid max length behavior: ${e}`)})),g={optional:[s,c,u]},l=(t,e,r)=>{if("number"!=typeof e)return o("kol-character-counter-current",{placeholders:{current:String(r)}});if("soft"===t){const t=e-r;return t<0?o("kol-character-limit-exceeded",{placeholders:{over:String(Math.abs(t))}}):o("kol-character-limit-remaining",{placeholders:{remaining:String(t)}})}return o("kol-character-counter-current-of-max-aria",{placeholders:{current:String(r),max:String(e)}})},x=(t,e,r)=>"hard"===t&&"number"==typeof e&&r>=e?o("kol-character-counter-max-aria"):"";class f extends n{constructor(t){super(t,g),this.reannounceToggle=!1,this.setVisualRef=t=>{this.visualSpan=t},this.setAriaRef=t=>{this.ariaSpan=t},this.handleKeyDown=(t,e)=>{const{maxLength:r,maxLengthBehavior:i}=this.getLimit();"hard"!==i||"number"!=typeof r||e<r||(t=>1===t.key.length&&!t.ctrlKey&&!t.metaKey&&!t.altKey)(t)&&this.retriggerAria(e)}}componentWillLoad(t){this.watchHasCounter(t.hasCounter),this.watchMaxLength(t.maxLength),this.watchMaxLengthBehavior(t.maxLengthBehavior)}watchHasCounter(t){s.apply(t,(t=>this.setRenderProp("hasCounter",t)))}watchMaxLength(t){c.apply(t,(t=>this.setRenderProp("maxLength",t)))}watchMaxLengthBehavior(t){u.apply(t,(t=>this.setRenderProp("maxLengthBehavior",t)))}hasCounter(){return!0===this.getRenderProp("hasCounter")}hasSoftLimit(){const{maxLength:t,maxLengthBehavior:e}=this.getLimit();return"number"==typeof t&&"soft"===e}getMaxLengthAttribute(){const{maxLength:t,maxLengthBehavior:e}=this.getLimit();return"hard"===e?t:void 0}getCounterProps(){if(!this.hasCounter())return;const{maxLength:t,maxLengthBehavior:e}=this.getLimit();return{maxLength:t,maxLengthBehavior:e,visualRef:this.setVisualRef,ariaRef:this.setAriaRef}}getCharacterLimitHintId(e){return"number"!=typeof this.getRenderProp("maxLength")||this.hasCounter()?void 0:t(e,"character-limit-hint")}update(t){const e=this.getLimit();this.updateVisual(t,e),clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout((()=>this.updateAria(t,e)),1e3)}updateImmediate(t){const e=this.getLimit();this.updateVisual(t,e),clearTimeout(this.debounceTimer),this.updateAria(t,e)}retriggerAria(t){if(!this.ariaSpan)return;const e=this.getLimit();clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout((()=>this.updateAria(t,e,!0)),1e3)}destroy(){clearTimeout(this.debounceTimer)}getLimit(){return{maxLength:this.getRenderProp("maxLength"),maxLengthBehavior:this.getRenderProp("maxLengthBehavior")}}updateVisual(t,{maxLength:e,maxLengthBehavior:r}){this.visualSpan&&(this.visualSpan.innerText=((t,e,r)=>{if("number"!=typeof e)return o("kol-character-counter-current",{placeholders:{current:String(r)}});if("soft"===t){const t=e-r;return t<0?o("kol-character-limit-exceeded",{placeholders:{over:String(Math.abs(t))}}):o("kol-character-limit-remaining",{placeholders:{remaining:String(t)}})}return o("kol-character-counter-current-of-max",{placeholders:{current:String(r),max:String(e)}})})(r,e,t),this.visualSpan.classList.toggle("kol-form-field__counter--exceeded","soft"===r&&"number"==typeof e&&t>e))}updateAria(t,{maxLength:e,maxLengthBehavior:r},i=!1){if(!this.ariaSpan)return;let a=[l(r,e,t),x(r,e,t)].filter(Boolean).join(" ");i&&(this.reannounceToggle=!this.reannounceToggle,this.reannounceToggle&&(a+=" ")),this.ariaSpan.innerText=a}}export{f as C}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{O as t,I as e}from"./index-Bsx5X6jK.js";import{t as n,a as i}from"./tooltip-open-tracking-DXhnfmA2.js";import{j as o}from"./component-BPL1Mikq.js";import{c as r,b as s,d as l}from"./props-from-config-DVxNB2Lx.js";import{i as a}from"./id-BXwy9iRy.js";import{l as c}from"./label-lang-segment-B8ayoizG.js";const u=o("align","top"),f=r("badgeText","",s),h=Math.min,d=Math.max,m=Math.round,p=Math.floor,y=t=>({x:t,y:t}),w={left:"right",right:"left",bottom:"top",top:"bottom"};function x(t,e,n){return d(t,h(e,n))}function g(t,e){return"function"==typeof t?t(e):t}function v(t){return t.split("-")[0]}function b(t){return t.split("-")[1]}function A(t){return"x"===t?"y":"x"}function T(t){return"y"===t?"height":"width"}function S(t){const e=t[0];return"t"===e||"b"===e?"y":"x"}function k(t){return A(S(t))}function R(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const O=["left","right"],F=["right","left"],L=["top","bottom"],j=["bottom","top"];function E(t){const e=v(t);return w[e]+t.slice(e.length)}function z(t){return"number"!=typeof t?function(t){var e,n,i,o;return{top:null!=(e=t.top)?e:0,right:null!=(n=t.right)?n:0,bottom:null!=(i=t.bottom)?i:0,left:null!=(o=t.left)?o:0}}(t):{top:t,right:t,bottom:t,left:t}}function B(t){const{x:e,y:n,width:i,height:o}=t;return{width:i,height:o,top:n,left:e,right:e+i,bottom:n+o,x:e,y:n}}function C(t,e,n){let{reference:i,floating:o}=t;const r=S(e),s=k(e),l=T(s),a=v(e),c="y"===r,u=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,h=i[l]/2-o[l]/2;let d;switch(a){case"top":d={x:u,y:i.y-o.height};break;case"bottom":d={x:u,y:i.y+i.height};break;case"right":d={x:i.x+i.width,y:f};break;case"left":d={x:i.x-o.width,y:f};break;default:d={x:i.x,y:i.y}}const m=b(e);return m&&(d[s]+=h*("end"===m?1:-1)*(n&&c?-1:1)),d}async function D(t,e){var n;void 0===e&&(e={});const{x:i,y:o,platform:r,rects:s,elements:l,strategy:a}=t,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:h=!1,padding:d=0}=g(e,t),m=z(d),p=l[h?"floating"===f?"reference":"floating":f],y=B(await r.getClippingRect({element:null==(n=await(null==r.isElement?void 0:r.isElement(p)))||n?p:p.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(l.floating)),boundary:c,rootBoundary:u,strategy:a})),w="floating"===f?{x:i,y:o,width:s.floating.width,height:s.floating.height}:s.reference,x=await(null==r.getOffsetParent?void 0:r.getOffsetParent(l.floating)),v=await(null==r.isElement?void 0:r.isElement(x))&&await(null==r.getScale?void 0:r.getScale(x))||{x:1,y:1},b=B(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:x,strategy:a}):w);return{top:(y.top-b.top+m.top)/v.y,bottom:(b.bottom-y.bottom+m.bottom)/v.y,left:(y.left-b.left+m.left)/v.x,right:(b.right-y.right+m.right)/v.x}}const P=new Set(["left","top"]);function M(){return"undefined"!=typeof window}function $(t){return V(t)?(t.nodeName||"").toLowerCase():"#document"}function I(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function N(t){var e;return null==(e=(V(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function V(t){return!!M()&&(t instanceof Node||t instanceof I(t).Node)}function q(t){return!!M()&&(t instanceof Element||t instanceof I(t).Element)}function H(t){return!!M()&&(t instanceof HTMLElement||t instanceof I(t).HTMLElement)}function X(t){return!(!M()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof I(t).ShadowRoot)}function _(t){const{overflow:e,overflowX:n,overflowY:i,display:o}=et(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&"inline"!==o&&"contents"!==o}function W(t){return/^(table|td|th)$/.test($(t))}function G(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}const K=/transform|translate|scale|rotate|perspective|filter/,Y=/paint|layout|strict|content/,J=t=>!!t&&"none"!==t;let Q;function U(t){const e=q(t)?et(t):t;return J(e.transform)||J(e.translate)||J(e.scale)||J(e.rotate)||J(e.perspective)||!Z()&&(J(e.backdropFilter)||J(e.filter))||K.test(e.willChange||"")||Y.test(e.contain||"")}function Z(){return null==Q&&(Q="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Q}function tt(t){return/^(html|body|#document)$/.test($(t))}function et(t){return I(t).getComputedStyle(t)}function nt(t){return q(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function it(t){if("html"===$(t))return t;const e=t.assignedSlot||t.parentNode||X(t)&&t.host||N(t);return X(e)?e.host:e}function ot(t){const e=it(t);return tt(e)?(t.ownerDocument||t).body:H(e)&&_(e)?e:ot(e)}function rt(t,e,n){var i;void 0===e&&(e=[]),void 0===n&&(n=!0);const o=ot(t),r=o===(null==(i=t.ownerDocument)?void 0:i.body),s=I(o);if(r){const t=st(s);return e.concat(s,s.visualViewport||[],_(o)?o:[],t&&n?rt(t):[])}return e.concat(o,rt(o,[],n))}function st(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function lt(t){const e=et(t);let n=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const o=H(t),r=o?t.offsetWidth:n,s=o?t.offsetHeight:i,l=m(n)!==r||m(i)!==s;return l&&(n=r,i=s),{width:n,height:i,$:l}}function at(t){return q(t)?t:t.contextElement}function ct(t){const e=at(t);if(!H(e))return y(1);const n=e.getBoundingClientRect(),{width:i,height:o,$:r}=lt(e);let s=(r?m(n.width):n.width)/i,l=(r?m(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}const ut=y(0);function ft(t){const e=I(t);return Z()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:ut}function ht(t,e,n,i){void 0===e&&(e=!1),void 0===n&&(n=!1);const o=t.getBoundingClientRect(),r=at(t);let s=y(1);e&&(i?q(i)&&(s=ct(i)):s=ct(t));const l=function(t,e,n){return void 0===e&&(e=!1),!!n&&e&&n===I(t)}(r,n,i)?ft(r):y(0);let a=(o.left+l.x)/s.x,c=(o.top+l.y)/s.y,u=o.width/s.x,f=o.height/s.y;if(r&&i){const t=I(r),e=q(i)?I(i):i;let n=t,o=st(n);for(;o&&e!==n;){const t=ct(o),e=o.getBoundingClientRect(),i=et(o),r=e.left+(o.clientLeft+parseFloat(i.paddingLeft))*t.x,s=e.top+(o.clientTop+parseFloat(i.paddingTop))*t.y;a*=t.x,c*=t.y,u*=t.x,f*=t.y,a+=r,c+=s,n=I(o),o=st(n)}}return B({width:u,height:f,x:a,y:c})}function dt(t,e){const n=nt(t).scrollLeft;return e?e.left+n:ht(N(t)).left+n}function mt(t,e){const n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-dt(t,n),y:n.top+e.scrollTop}}function pt(t,e,n){let i;if("viewport"===e||"layoutViewport"===e)i=function(t,e,n){void 0===n&&(n="viewport");const i="layoutViewport"===n,o=I(t),r=N(t),s=o.visualViewport;let l=r.clientWidth,a=r.clientHeight,c=0,u=0;if(s){const t=!Z()||"fixed"===e;i?t||(c=-s.offsetLeft,u=-s.offsetTop):(l=s.width,a=s.height,t&&(c=s.offsetLeft,u=s.offsetTop))}if(dt(r)<=0){const t=r.ownerDocument,e=t.body,n=getComputedStyle(e),i="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-e.clientWidth-i),s="stable both-edges"===getComputedStyle(r).scrollbarGutter?o/2:o;s<=25&&(l-=s)}return{width:l,height:a,x:c,y:u}}(t,n,e);else if("document"===e)i=function(t){const e=nt(t),n=t.ownerDocument.body,i=d(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=d(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let r=-e.scrollLeft+dt(t);const s=-e.scrollTop;return"rtl"===et(n).direction&&(r+=d(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:r,y:s}}(N(t));else if(q(e))i=function(t,e){const n=ht(t,!0,"fixed"===e),i=n.top+t.clientTop,o=n.left+t.clientLeft,r=ct(t);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:o*r.x,y:i*r.y}}(e,n);else{const n=ft(t);i={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return B(i)}function yt(t,e,n){const i=H(e),o=N(e),r="fixed"===n,s=ht(t,!0,r,e);let l={scrollLeft:0,scrollTop:0};const a=y(0);if((i||!r)&&(("body"!==$(e)||_(o))&&(l=nt(e)),i)){const t=ht(e,!0,r,e);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}!i&&o&&(a.x=dt(o));const c=!o||i||r?y(0):mt(o,l);return{x:s.left+l.scrollLeft-a.x-c.x,y:s.top+l.scrollTop-a.y-c.y,width:s.width,height:s.height}}function wt(t){return"static"===et(t).position}function xt(t,e){if(!H(t)||"fixed"===et(t).position)return null;if(e)return e(t);let n=t.offsetParent;return N(t)===n&&(n=n.ownerDocument.body),n}function gt(t,e){const n=I(t);if(G(t))return n;if(!H(t)){let e=it(t);for(;e&&!tt(e);){if(q(e)&&!wt(e))return e;e=it(e)}return n}let i=xt(t,e);for(;i&&W(i)&&wt(i);)i=xt(i,e);return i&&tt(i)&&wt(i)&&!U(i)?n:i||function(t){let e=it(t);for(;H(e)&&!tt(e);){if(U(e))return e;if(G(e))return null;e=it(e)}return null}(t)||n}const vt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t;const r="fixed"===o,s=N(i),l=!!e&&G(e.floating);if(i===s||l&&r)return n;let a={scrollLeft:0,scrollTop:0},c=y(1);const u=y(0),f=H(i);if((f||!r)&&(("body"!==$(i)||_(s))&&(a=nt(i)),f)){const t=ht(i);c=ct(i),u.x=t.x+i.clientLeft,u.y=t.y+i.clientTop}const h=!s||f||r?y(0):mt(s,a);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-a.scrollLeft*c.x+u.x+h.x,y:n.y*c.y-a.scrollTop*c.y+u.y+h.y}},getDocumentElement:N,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t;const r=[..."clippingAncestors"===n?G(e)?[]:function(t,e){const n=e.get(t);if(n)return n;let i=rt(t,[],!1).filter((t=>q(t)&&"body"!==$(t))),o=null;const r="fixed"===et(t).position;let s=r?it(t):t;for(;q(s)&&!tt(s);){const t=et(s),e=U(s),n=o?o.position:r?"fixed":"";e||"fixed"!==n&&("absolute"!==n||"static"!==t.position)?o=t:i=i.filter((t=>t!==s)),s=it(s)}return e.set(t,i),i}(e,this._c):[].concat(n),i],s=pt(e,r[0],o);let l=s.top,a=s.right,c=s.bottom,u=s.left;for(let t=1;t<r.length;t++){const n=pt(e,r[t],o);l=d(n.top,l),a=h(n.right,a),c=h(n.bottom,c),u=d(n.left,u)}return{width:a-u,height:c-l,x:u,y:l}},getOffsetParent:gt,getElementRects:async function(t){const e=this.getOffsetParent||gt,n=this.getDimensions,i=await n(t.floating);return{reference:yt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}},getClientRects:function(t){return t.getClientRects?Array.from(t.getClientRects()):[]},getDimensions:function(t){const{width:e,height:n}=lt(t);return{width:e,height:n}},getScale:ct,isElement:q,isRTL:function(t){return"rtl"===et(t).direction}};function bt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function At(t,e,n,i){void 0===i&&(i={});const{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:a=!1}=i,c=at(t),u=o||r?[...c?rt(c):[],...e?rt(e):[]]:[];u.forEach((t=>{o&&t.addEventListener("scroll",n),r&&t.addEventListener("resize",n)}));const f=c&&l?function(t,e,n){let i,o=null;const r=N(t);function s(){var t;clearTimeout(i),null==(t=o)||t.disconnect(),o=null}function l(n,a){void 0===n&&(n=!1),void 0===a&&(a=1),s();const c=t.getBoundingClientRect(),{left:u,top:f,width:m,height:y}=c;if(n||e(),!m||!y)return;const w={rootMargin:-p(f)+"px "+-p(r.clientWidth-(u+m))+"px "+-p(r.clientHeight-(f+y))+"px "+-p(u)+"px",threshold:d(0,h(1,a))||1};let x=!0;function g(e){const n=e[0].intersectionRatio;if(!bt(c,t.getBoundingClientRect()))return l();if(n!==a){if(!x)return l();n?l(!1,n):i=setTimeout((()=>{l(!1,1e-7)}),1e3)}x=!1}try{o=new IntersectionObserver(g,{...w,root:r.ownerDocument})}catch(t){o=new IntersectionObserver(g,w)}o.observe(t)}const a=I(t),c=()=>l(n);return a.addEventListener("resize",c),l(!0),()=>{a.removeEventListener("resize",c),s()}}(c,n,r):null;let m,y=-1,w=null;s&&(w=new ResizeObserver((t=>{let[i]=t;i&&i.target===c&&w&&e&&(w.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame((()=>{var t;null==(t=w)||t.observe(e)}))),n()})),c&&!a&&w.observe(c),e&&w.observe(e));let x=a?ht(t):null;return a&&function e(){const i=ht(t);x&&!bt(x,i)&&n(),x=i,m=requestAnimationFrame(e)}(),n(),()=>{var t;u.forEach((t=>{o&&t.removeEventListener("scroll",n),r&&t.removeEventListener("resize",n)})),null==f||f(),null==(t=w)||t.disconnect(),w=null,a&&cancelAnimationFrame(m)}}const Tt=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:i,placement:o,platform:r}=e,{mainAxis:s=!0,crossAxis:l=!1,limiter:a={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...c}=g(t,e),u={x:n,y:i},f=await r.detectOverflow(e,c),h=S(o),d=A(h);let m=u[d],p=u[h];const y=(t,e)=>x(e+f["y"===t?"top":"left"],e,e-f["y"===t?"bottom":"right"]);s&&(m=y(d,m)),l&&(p=y(h,p));const w=a.fn({...e,[d]:m,[h]:p});return{...w,data:{x:w.x-n,y:w.y-i,enabled:{[d]:s,[h]:l}}}}}},St=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,i;const{placement:o,middlewareData:r,rects:s,initialPlacement:l,platform:a,elements:c}=e,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:p=!0,...y}=g(t,e);if(null!=(n=r.arrow)&&n.alignmentOffset)return{};const w=v(o),x=S(l),A=v(l)===l,z=await(null==a.isRTL?void 0:a.isRTL(c.floating)),B=h||(A||!p?[E(l)]:function(t){const e=E(t);return[R(t),e,R(e)]}(l)),C="none"!==m;!h&&C&&B.push(...function(t,e,n,i){const o=b(t);let r=function(t,e,n){switch(t){case"top":case"bottom":return n?e?F:O:e?O:F;case"left":case"right":return e?L:j;default:return[]}}(v(t),"start"===n,i);return o&&(r=r.map((t=>t+"-"+o)),e&&(r=r.concat(r.map(R)))),r}(l,p,m,z));const D=[l,...B],P=await a.detectOverflow(e,y),M=[];let $=(null==(i=r.flip)?void 0:i.overflows)||[];if(u&&M.push(P[w]),f){const t=function(t,e,n){void 0===n&&(n=!1);const i=b(t),o=k(t),r=T(o);let s="x"===o?i===(n?"end":"start")?"right":"left":"start"===i?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=E(s)),[s,E(s)]}(o,s,z);M.push(P[t[0]],P[t[1]])}if($=[...$,{placement:o,overflows:M}],!M.every((t=>t<=0))){var I,N;const t=((null==(I=r.flip)?void 0:I.index)||0)+1,e=D[t];if(e&&("alignment"!==f||x===S(e)||$.every((t=>S(t.placement)!==x||t.overflows[0]>0))))return{data:{index:t,overflows:$},reset:{placement:e}};let n=null==(N=$.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:N.placement;if(!n)switch(d){case"bestFit":{var V;const t=null==(V=$.filter((t=>{if(C){const e=S(t.placement);return e===x||"y"===e}return!0})).map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:V[0];t&&(n=t);break}case"initialPlacement":n=l}if(o!==n)return{reset:{placement:n}}}return{}}}},kt=async({floatingElement:e,referenceElement:n,arrowElement:i,align:o="top"})=>{var r,s,l;if(!t()){const t=[(l=(null==i?void 0:i.offsetHeight)||10,void 0===l&&(l=0),{name:"offset",options:l,async fn(t){var e,n;const{x:i,y:o,placement:r,middlewareData:s}=t,a=await async function(t,e){const{placement:n,platform:i,elements:o}=t,r=await(null==i.isRTL?void 0:i.isRTL(o.floating)),s=v(n),l=b(n),a="y"===S(n),c=P.has(s)?-1:1,u=r&&a?-1:1,f=g(e,t);let{mainAxis:h,crossAxis:d,alignmentAxis:m}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&"number"==typeof m&&(d="end"===l?-1*m:m),a?{x:d*u,y:h*c}:{x:h*c,y:d*u}}(t,l);return r===(null==(e=s.offset)?void 0:e.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:i+a.x,y:o+a.y,data:{...a,placement:r}}}}),St(),Tt()];i&&t.push((t=>({name:"arrow",options:t,async fn(e){const{x:n,y:i,placement:o,rects:r,platform:s,elements:l,middlewareData:a}=e,{element:c,padding:u=0}=g(t,e)||{};if(null==c)return{};const f=z(u),d={x:n,y:i},m=k(o),p=T(m),y=await s.getDimensions(c),w="y"===m,v=w?"top":"left",A=w?"bottom":"right",S=w?"clientHeight":"clientWidth",R=r.reference[p]+r.reference[m]-d[m]-r.floating[p],O=d[m]-r.reference[m],F=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let L=F?F[S]:0;L&&await(null==s.isElement?void 0:s.isElement(F))||(L=l.floating[S]||r.floating[p]);const j=R/2-O/2,E=L/2-y[p]/2-1,B=h(f[v],E),C=h(f[A],E),D=L-y[p]-C,P=L/2-y[p]/2+j,M=x(B,P,D),$=!a.arrow&&null!=b(o)&&P!==M&&r.reference[p]/2-(P<B?B:C)-y[p]/2<0,I=$?P<B?P-B:P-D:0;return{[m]:d[m]+I,data:{[m]:M,centerOffset:P-M-I,...$&&{alignmentOffset:I}},reset:$}}}))({element:i}));const{x:a,y:c,middlewareData:u,placement:f}=await((t,e,n)=>{const i=new Map,o=null!=n?n:{},r={...vt,...o.platform,_c:i};return(async(t,e,n)=>{const{placement:i="bottom",strategy:o="absolute",middleware:r=[],platform:s}=n,l=s.detectOverflow?s:{...s,detectOverflow:D},a=await(null==s.isRTL?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:f}=C(c,i,a),h=i,d=0;const m={};for(let n=0;n<r.length;n++){const p=r[n];if(!p)continue;const{name:y,fn:w}=p,{x,y:g,data:v,reset:b}=await w({x:u,y:f,initialPlacement:i,placement:h,strategy:o,middlewareData:m,rects:c,platform:l,elements:{reference:t,floating:e}});u=null!=x?x:u,f=null!=g?g:f,m[y]={...m[y],...v},b&&d<50&&(d++,"object"==typeof b&&(b.placement&&(h=b.placement),b.rects&&(c=!0===b.rects?await s.getElementRects({reference:t,floating:e,strategy:o}):b.rects),({x:u,y:f}=C(c,h,a))),n=-1)}return{x:u,y:f,placement:h,strategy:o,middlewareData:m}})(t,e,{...o,platform:r})})(n,e,{placement:o,middleware:t,strategy:"fixed"});Object.assign(e.style,{left:`${a}px`,top:`${c}px`,visibility:"visible"}),i&&((null===(r=u.arrow)||void 0===r?void 0:r.x)?Object.assign(i.style,{left:`${u.arrow.x}px`,top:"bottom"===f?-i.offsetHeight/2+"px":"",bottom:"top"===f?-i.offsetHeight/2+"px":""}):(null===(s=u.arrow)||void 0===s?void 0:s.y)&&Object.assign(i.style,{left:"right"===f?-i.offsetWidth/2+"px":"",right:"left"===f?-i.offsetWidth/2+"px":"",top:`${u.arrow.y}px`}))}},Rt=new Set;let Ot=null;class Ft{constructor(t,e){this.setState=t.setState,this.getState=t.getState,this.renderProps=l(e)}setRenderProp(t,e){this.renderProps[t]=e}getRenderProp(t){return this.renderProps[t]}}const Lt={required:[c],optional:[u,f,a]};class jt extends Ft{constructor(t){super(t,Lt),this.hasFocusIn=!1,this.hasMouseIn=!1,this.isHiddenForCurrentVisit=!1,this.setTooltipElementRef=t=>{this.tooltipElement=t,this.tooltipElement&&this.addListeners(this.tooltipElement)},this.hideTooltipByEscape=t=>{"Escape"===t.key&&(t.stopPropagation(),t.preventDefault(),this.hideTooltip())},this.handleMouseEnter=()=>{const t=this.isNewVisit();this.hasMouseIn=!0,t&&(this.isHiddenForCurrentVisit=!1),this.showOrHideTooltip()},this.handleMouseLeave=()=>{this.hasMouseIn=!1,this.resetHideFlag(),this.showOrHideTooltip()},this.handleFocusIn=()=>{const t=this.isNewVisit();this.hasFocusIn=!0,t&&(this.isHiddenForCurrentVisit=!1),this.showOrHideTooltip()},this.handleFocusOut=()=>{this.hasFocusIn=!1,this.resetHideFlag(),this.showOrHideTooltip()}}componentWillLoad(t){this.watchLabel(t.label),this.watchAlign(t.align),this.watchBadgeText(t.badgeText),this.watchId(t.id)}watchLabel(t){c.apply(t||void 0,(t=>{this.setRenderProp("label",t)}))}watchAlign(t){u.apply(t,(t=>{this.setRenderProp("align",t)}))}watchBadgeText(t){f.apply(t,(t=>{this.setRenderProp("badgeText",t)}))}watchId(t){a.apply(t,(t=>{this.setRenderProp("id",t)}))}initContext(t){this.previousSibling=t}syncListeners(t,e,n=!1){t&&this.removeListeners(t),e&&(n&&(this.previousSibling=e),this.removeListeners(e),this.addListeners(e))}handleEventListeners(t){this.syncListeners(this.previousSibling,t.previousElementSibling,!0)}hideTooltip(){this.isHiddenForCurrentVisit=!0,this.tooltipElement&&(function(t){if(Rt.delete(t)&&Ot===t){Ot=null;for(const t of Rt)Ot=t;Ot&&Ot.style.setProperty("z-index","1000")}}(this.tooltipElement),n(),this.tooltipElement.classList.remove("show"),this.tooltipElement.classList.add("hide"),this.tooltipElement.addEventListener("animationend",(()=>{var t;(null===(t=this.tooltipElement)||void 0===t?void 0:t.classList.contains("hide"))&&this.tooltipElement.style.removeProperty("display")}),{once:!0}),this.cleanupAutoPositioning&&(this.cleanupAutoPositioning(),this.cleanupAutoPositioning=void 0)),e().removeEventListener("keydown",this.hideTooltipByEscape)}destroy(){clearTimeout(this.overFocusTimeout),this.previousSibling&&(this.removeListeners(this.previousSibling),this.previousSibling=void 0),this.tooltipElement&&this.removeListeners(this.tooltipElement),this.cleanupAutoPositioning&&(this.cleanupAutoPositioning(),this.cleanupAutoPositioning=void 0),e().removeEventListener("keydown",this.hideTooltipByEscape)}isNewVisit(){return!this.hasMouseIn&&!this.hasFocusIn}resetHideFlag(){this.isNewVisit()&&(this.isHiddenForCurrentVisit=!1)}async alignTooltip(){this.tooltipElement&&this.previousSibling&&await kt({align:this.getRenderProp("align"),arrowElement:this.tooltipElement.querySelector(".kol-tooltip__arrow"),floatingElement:this.tooltipElement,referenceElement:this.previousSibling})}showTooltip(){var t;!this.isHiddenForCurrentVisit&&this.previousSibling&&this.tooltipElement&&(Ot!==(t=this.tooltipElement)&&(Ot&&Ot.style.setProperty("z-index","999"),Rt.delete(t),Rt.add(t),t.style.setProperty("z-index","1000"),Ot=t),i(),this.tooltipElement.classList.remove("hide"),this.tooltipElement.classList.add("show"),this.tooltipElement.style.setProperty("display","block"),e().addEventListener("keydown",this.hideTooltipByEscape),this.cleanupAutoPositioning=At(this.previousSibling,this.tooltipElement,(()=>{this.alignTooltip()})))}showOrHideTooltip(){clearTimeout(this.overFocusTimeout),this.overFocusTimeout=setTimeout((()=>{this.hasMouseIn||this.hasFocusIn?this.showTooltip():this.hideTooltip()}),300)}addListeners(t){t.addEventListener("mouseover",this.handleMouseEnter),t.addEventListener("mouseout",this.handleMouseLeave),t.addEventListener("focusin",this.handleFocusIn),t.addEventListener("focusout",this.handleFocusOut)}removeListeners(t){t.removeEventListener("mouseover",this.handleMouseEnter),t.removeEventListener("mouseout",this.handleMouseLeave),t.removeEventListener("focusin",this.handleFocusIn),t.removeEventListener("focusout",this.handleFocusOut)}}export{Ft as B,jt as T,u as a,kt as b,At as c}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{U as t,m as e,t as s,y as i}from"./index-Bsx5X6jK.js";import{c as o}from"./bootstrap-DUmk0ILT.js";import{c as n,b as a}from"./props-from-config-DVxNB2Lx.js";import{n as r}from"./component-XbTjo2nm.js";import{B as l}from"./behavior-DJQFXyfi.js";const c=n("syncValueBySelector",void 0,a),u={optional:[r,c]},h=new Set(["KOL-COMBOBOX","KOL-INPUT-CHECKBOX","KOL-INPUT-COLOR","KOL-INPUT-DATE","KOL-INPUT-EMAIL","KOL-INPUT-FILE","KOL-INPUT-NUMBER","KOL-INPUT-PASSWORD","KOL-INPUT-RADIO","KOL-INPUT-RANGE","KOL-INPUT-TEXT","KOL-SELECT","KOL-SINGLE-SELECT","KOL-TEXTAREA"]);class d extends l{constructor(s,{host:i,type:o,name:n}){super(s,u),this.experimentalMode=t(),this.setFormAssociatedValue=t=>{var s;const i=null===(s=this.formAssociated)||void 0===s?void 0:s.getAttribute("name");null!==i&&""!==i||e(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);const o=this.tryToStringifyValue(t);this.syncValue(t,o,this.formAssociated),this.syncValue(t,o,this.syncToOwnInput)},this.host=this.findHostWithShadowRoot(i),this.type=o,this.ensureFormAssociatedElement(n)}ensureFormAssociatedElement(t){var e,s,i,n,a;!this.formAssociated&&(null===(e=o())||void 0===e?void 0:e.reflectInputValues)&&h.has(null!==(i=null===(s=this.host)||void 0===s?void 0:s.tagName)&&void 0!==i?i:"")&&t&&(null===(n=this.host)||void 0===n||n.querySelectorAll("input,select,textarea").forEach((t=>{var e;null===(e=this.host)||void 0===e||e.removeChild(t)})),this.formAssociated=this.createFormAssociatedElement(),this.formAssociated.setAttribute("data-form-associated",""),this.formAssociated.setAttribute("hidden",""),this.setNameAttribute(t),null===(a=this.host)||void 0===a||a.appendChild(this.formAssociated))}componentWillLoad(t){this.watchName(t.name),this.watchSyncValueBySelector(t.syncValueBySelector)}watchName(t){r.apply(t,(t=>{this.setRenderProp("name",t),this.setNameAttribute(t)})),void 0!==t?this.ensureFormAssociatedElement(t):e("A name on input fields or switches is not strictly required, but it might be relevant for the autocomplete function and for the static submission of the input field.")}watchSyncValueBySelector(t){if(this.experimentalMode&&"string"==typeof t){this.setRenderProp("syncValueBySelector",t);const e=document.querySelector(t);e&&(this.syncToOwnInput=e)}}setNameAttribute(t){this.setAttribute("name",this.formAssociated,t)}createFormAssociatedElement(){switch(this.type){case"color":case"date":case"email":case"file":case"number":case"password":case"radio":case"range":case"text":{const t=document.createElement(s("input"));return t.setAttribute("type",this.type),t}case"select":{const t=document.createElement(s("select"));return t.setAttribute("multiple",""),t}case"textarea":return document.createElement(s("textarea"));default:{const t=document.createElement(s("input"));return t.setAttribute("type","hidden"),t}}}findHostWithShadowRoot(t){for(;null===(null==t?void 0:t.shadowRoot)&&t!==document.body;){const e=t.parentNode;t=11===(null==e?void 0:e.nodeType)&&"host"in e?e.host:1===(null==e?void 0:e.nodeType)?e:void 0}return t}setAttribute(t,e,s){if(this.experimentalMode)try{if("boolean"!=typeof(s="object"==typeof s&&null!==s?JSON.stringify(s):s)&&"number"!=typeof s&&"string"!=typeof s)throw new Error("Invalid value type: "+typeof s);null==e||e.setAttribute(t,`${s}`)}catch(s){null==e||e.removeAttribute(t)}}tryToStringifyValue(t){try{return"object"==typeof t&&null!==t?JSON.stringify(t).toString():null==t?null:t.toString()}catch(t){return i(`The form field raw value is not able to stringify! ${t}`),""}}syncValue(t,e,s){if(s)switch(this.type){case"file":"undefined"!=typeof FileList&&t instanceof FileList?s.files=t:s.value="";break;case"select":"SELECT"===s.tagName?this.syncSelectOptions(t,s):this.syncValueAttribute(e,s);break;case"radio":"string"==typeof e&&(s.setAttribute("value",e),s.setAttribute("checked",""),s.value=e);break;default:this.syncValueAttribute(e,s)}}syncSelectOptions(t,e){e.querySelectorAll("option").forEach((t=>{e.removeChild(t)})),(Array.isArray(t)?t:null==t?[]:[t]).forEach((t=>{const i=this.tryToStringifyValue(t);if("string"==typeof i){const t=document.createElement(s("option"));t.setAttribute("value",i),t.setAttribute("selected",""),e.appendChild(t)}}))}syncValueAttribute(t,e){"string"==typeof t?(e.setAttribute("value",t),e.value=t):(e.removeAttribute("value"),e.value="")}}export{d as F}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{v as e}from"./index-Bsx5X6jK.js";var i,l,n=e(l?i:(l=1,i=function(e){return function(i,l){if(!i)return e;var n;"string"==typeof i?n=i:l=i;var o=e;return n&&(o+="__"+n),o+(l?Object.keys(l).reduce((function(e,i){var n=l[i];return n&&(e+=" "+("boolean"==typeof n?o+"--"+i:o+"--"+i+"_"+n)),e}),""):"")}}));const o=function(){const e=new Map,i=(i,l,o)=>{try{return e.get(i)(l,o)}catch{return e.set(i,n(i)).get(i)(l,o)}};return i.forBlock=e=>{const l=(l,n)=>i(e,l,n);return l.forElement=l=>n=>i(e,l,n),l},i}(),r={"kol-abbr":{modifiers:null},"kol-alert":{elements:{closer:{modifiers:null},heading:{modifiers:new Set(["h0","h1","h2","h3","h4","h5","h6"])},icon:{modifiers:null},content:{modifiers:null},container:{modifiers:null}},modifiers:new Set(["hasCloser","type-default","type-error","type-info","type-success","type-warning","variant-card","variant-msg"])},"kol-badge":{elements:{label:{modifiers:null},"smart-button":{modifiers:null}},modifiers:new Set(["has-smart-button"])},"kol-version":{modifiers:null},"kol-accordion":{elements:{content:{modifiers:null},heading:{modifiers:null},wrapper:{modifiers:null},"wrapper-animation":{modifiers:null}},modifiers:new Set(["disabled","open"])},"kol-avatar":{elements:{image:{modifiers:null},initials:{modifiers:null}},modifiers:null},"kol-card":{elements:{"close-button":{modifiers:null},content:{modifiers:null},header:{modifiers:null},link:{modifiers:null}},modifiers:null},"kol-dialog":{elements:{blank:{modifiers:null},card:{modifiers:null}},modifiers:null},"kol-modal":{elements:{blank:{modifiers:null},card:{modifiers:null}},modifiers:null},"kol-button":{elements:{"interactive-element":{modifiers:null},text:{modifiers:null},tooltip:{modifiers:null}},modifiers:new Set(["disabled","hide-label","inline","standalone"])},"kol-breadcrumb":{elements:{icon:{modifiers:null},link:{modifiers:null},list:{modifiers:null},"list-element":{modifiers:null},"list-element-span":{modifiers:null},separator:{modifiers:null}},modifiers:null},"kol-nav":{elements:{compact:{modifiers:null},entry:{modifiers:new Set(["button","collapsible","link"])},"entry-wrapper":{modifiers:null},list:{modifiers:new Set(["nested","vertical"])},"list-item":{modifiers:new Set(["active","expanded","has-children"])},navigation:{modifiers:null},"toggle-button":{modifiers:null}},modifiers:new Set(["is-compact"])},"kol-kolibri":{elements:{text:{modifiers:null}},modifiers:null},"kol-popover-button":{elements:{popover:{modifiers:null}},modifiers:new Set(["inline","open"])},"kol-details":{elements:{content:{modifiers:null},heading:{modifiers:null},wrapper:{modifiers:null},"wrapper-animation":{modifiers:null}},modifiers:new Set(["disabled","open"])},"kol-drawer":{elements:{content:{modifiers:null},dialog:{modifiers:null},wrapper:{modifiers:new Set(["bottom","is-closing","left","open","right","top"])}},modifiers:null},"kol-heading":{modifiers:new Set(["group"])},"kol-headline":{modifiers:new Set(["group","h1","h2","h3","h4","h5","h6","primary","secondary","single","strong"])},"kol-icon":{elements:{icon:{modifiers:null}},modifiers:null},"kol-meter":{elements:{bar:{modifiers:null},"bar-background":{modifiers:null},"bar-border":{modifiers:null},"bar-fill":{modifiers:new Set(["critical","optimum","suboptimal"])},"bar-label":{modifiers:null},"bar-state":{modifiers:new Set(["critical","optimum","suboptimal"])},"bar-track":{modifiers:null},unit:{modifiers:null},value:{modifiers:null},"value-unit":{modifiers:null}},modifiers:new Set(["vertical"])},"kol-quote":{elements:{blockquote:{modifiers:null},cite:{modifiers:null},figcaption:{modifiers:null},quote:{modifiers:null}},modifiers:new Set(["block","inline"])},"kol-skip-nav":{elements:{list:{modifiers:null},"list-item":{modifiers:null}},modifiers:null},"kol-close-button":{modifiers:null},"kol-span":{elements:{container:{modifiers:null},icon:{modifiers:new Set(["bottom","left","right","top"])},label:{modifiers:null},slot:{modifiers:null}},modifiers:new Set(["has-badge","hide-label"])},"kol-link":{elements:{"interactive-element":{modifiers:null},icon:{modifiers:null},text:{modifiers:null},tooltip:{modifiers:null}},modifiers:new Set(["disabled","external-link","hide-label","inline","standalone"])},"kol-form":{elements:{alert:{modifiers:null},form:{modifiers:null},link:{modifiers:null},"mandatory-fields-hint":{modifiers:null}},modifiers:null},"kol-form-field":{elements:{counter:{modifiers:null},hint:{modifiers:null},input:{modifiers:new Set(["orientation-horizontal","orientation-vertical"])},label:{modifiers:new Set(["legend"])},"label-text":{modifiers:null},msg:{modifiers:null},tooltip:{modifiers:null}},modifiers:new Set(["default","disabled","error","hidden-msg","hide-label","info","msg-type-default","msg-type-error","msg-type-info","msg-type-success","msg-type-warning","radio","read-only","required","success","touched","warning"])},"kol-input":{modifiers:new Set(["default","disabled","error","info","readonly","required","success","touched","warning"])},"kol-input-container":{elements:{adornment:{modifiers:new Set(["end","start"])},button:{modifiers:null},container:{modifiers:null},filename:{modifiers:new Set(["has-file"])},icon:{modifiers:null},"smart-button":{modifiers:null}},modifiers:new Set(["default","disabled","error","info","is-dragover","success","warning"])},"kol-field-control":{elements:{hint:{modifiers:null},input:{modifiers:null},label:{modifiers:new Set(["visually-hidden"])},"label-text":{modifiers:null}},modifiers:new Set(["default","disabled","error","hide-label","info","label-align-left","label-align-right","read-only","required","success","touched","warning"])},"kol-checkbox":{elements:{icon:{modifiers:null},input:{modifiers:null}},modifiers:new Set(["checked","default","disabled","error","indeterminate","info","required","success","touched","variant-button","variant-default","variant-switch","warning"])},"kol-input-checkbox":{elements:{"field-control":{modifiers:new Set(["checked","indeterminate","variant-button","variant-default","variant-switch"])}},modifiers:new Set(["checked","indeterminate","label-align-left","label-align-right","variant-button","variant-default","variant-switch"])},"kol-input-color":{elements:{input:{modifiers:new Set(["color"])}},modifiers:null},"kol-input-date":{modifiers:null},"kol-input-email":{modifiers:null},"kol-input-file":{modifiers:null},"kol-input-number":{elements:{"step-button":{modifiers:null}},modifiers:null},"kol-input-password":{elements:{"password-toggle-button":{modifiers:null}},modifiers:null},"kol-input-radio":{elements:{input:{modifiers:null}},modifiers:new Set(["checked","default","disabled","error","info","required","success","touched","warning"])},"kol-select":{elements:{optgroup:{modifiers:new Set(["disabled"])},option:{modifiers:new Set(["disabled","selected"])}},modifiers:new Set(["default","disabled","error","info","required","success","touched","warning"])},"kol-pagination":{elements:{button:{modifiers:new Set(["first","last","next","numbers","previous","selected"])},entries:{modifiers:null},navigation:{modifiers:null},"navigation-list":{modifiers:null},"page-size-select":{modifiers:null},separator:{modifiers:null}},modifiers:null},"kol-custom-suggestions-option":{modifiers:new Set(["disabled"])},"kol-custom-suggestions-options-group":{modifiers:new Set(["cursor-hidden","open"])},"kol-custom-suggestions-toggle":{modifiers:new Set(["disabled"])},"kol-combobox":{elements:{delete:{modifiers:null},group:{modifiers:null}},modifiers:new Set(["open"])},"kol-combobox-toggle":{modifiers:null},"kol-single-select":{elements:{delete:{modifiers:null},group:{modifiers:null},"no-results-message":{modifiers:null}},modifiers:new Set(["open"])},"kol-input-range":{elements:{input:{modifiers:new Set(["number","range"])},"inputs-wrapper":{modifiers:null}},modifiers:null},"kol-input-text":{elements:{"clear-button":{modifiers:new Set(["hidden"])}},modifiers:null},"kol-split-button":{elements:{button:{modifiers:null},"horizontal-line":{modifiers:null},root:{modifiers:null},"secondary-button":{modifiers:null}},modifiers:null},"kol-spin":{elements:{loader:{modifiers:null},spinner:{modifiers:new Set(["cycle","dot","none"])},"spinner-element":{modifiers:new Set(["1","2","3","neutral"])}},modifiers:null},"kol-table":{elements:{body:{modifiers:null},caption:{modifiers:null},cell:{modifiers:new Set(["actions","align-center","align-justify","align-left","align-right","ascending","body","descending","header","none","other","selection","states","sticky-left","sticky-right"])},"cell-actions":{modifiers:null},"cell-states":{modifiers:null},"focus-element":{modifiers:null},footer:{modifiers:null},head:{modifiers:null},"head-row":{modifiers:null},loader:{modifiers:new Set(["shown"])},row:{modifiers:new Set(["body","footer"])},"scroll-container":{modifiers:null},selection:{modifiers:new Set(["checked","indeterminate"])},"selection-icon":{modifiers:null},"selection-input":{modifiers:new Set(["checkbox","radio"])},"selection-input-tooltip":{modifiers:null},"selection-label":{modifiers:new Set(["disabled"])},settings:{modifiers:null},sort:{modifiers:null},"sort-button":{modifiers:null},"sort-order":{modifiers:null},spacer:{modifiers:new Set(["foot","head"])},"spacer-line":{modifiers:new Set(["foot","head"])},table:{modifiers:null}},modifiers:null},"kol-table-settings":{elements:{actions:{modifiers:null},column:{modifiers:null},"column-label":{modifiers:null},columns:{modifiers:null},content:{modifiers:null},"error-message":{modifiers:null}},modifiers:null},"kol-table-stateful":{elements:{pagination:{modifiers:new Set(["both","bottom","top"])},"pagination-wrapper":{modifiers:null}},modifiers:null},"kol-tabs":{elements:{"button-create":{modifiers:null},"button-group":{modifiers:null},content:{modifiers:null},tab:{modifiers:null},tablist:{modifiers:null}},modifiers:new Set(["align-bottom","align-left","align-right","align-top"])},"kol-textarea":{modifiers:new Set(["default","disabled","error","info","readonly","required","success","touched","warning"])},"kol-toolbar":{elements:{item:{modifiers:null}},modifiers:new Set(["orientation-horizontal","orientation-vertical"])},"kol-tree":{elements:{"treeview-navigation":{modifiers:null}},modifiers:null},"kol-tree-item":{elements:{children:{modifiers:null},link:{modifiers:new Set(["active","first-level"])},"link-inner":{modifiers:null},text:{modifiers:null},"toggle-button":{modifiers:null},"toggle-button-icon":{modifiers:null},"toggle-button-placeholder":{modifiers:null}},modifiers:null},"kol-image":{modifiers:null},"kol-popover":{elements:{arrow:{modifiers:new Set(["top","right","bottom","left"])}},modifiers:null},"kol-progress":{elements:{bar:{modifiers:null},"bar-background":{modifiers:null},"bar-border":{modifiers:null},"bar-label":{modifiers:null},"bar-progress":{modifiers:null},"bar-unit":{modifiers:null},"bar-value":{modifiers:null},cycle:{modifiers:null},"cycle-background":{modifiers:null},"cycle-border":{modifiers:null},"cycle-label":{modifiers:null},"cycle-progress":{modifiers:null},"cycle-text":{modifiers:null},"cycle-value":{modifiers:null},"cycle-whitespace":{modifiers:null}},modifiers:null},"kol-tooltip":{elements:{arrow:{modifiers:null},content:{modifiers:null},floating:{modifiers:null}},modifiers:null}};export{r as B,o as b}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{L as e,c as o,t,q as r,u as s}from"./index-Bsx5X6jK.js";import{s as n}from"./theme-store-CEu5d_EK.js";import{i as a}from"./i18n-Bcb0tuyF.js";import{g as d}from"./shared-state-sWI1upS8.js";import{a as i}from"./component-names-Ur_UbEzI.js";const l=d("tag-transformer",(()=>({}))),m=e=>"undefined"!=typeof customElements&&void 0!==customElements.get(t(e)),u=t=>{l.transformer&&e.warn("The tag name transformer was already registered. Components already defined keep their current tag and will not resolve under the new one.",{forceLog:!0}),Object.values(i).some((e=>m(e)||m(t(e))))&&e.warn("Components are already defined while the tag name transformer is registered. They keep their current tag and will not resolve under the transformed one.",{forceLog:!0});const r=e=>e.startsWith("kol-")?t(e):e;return o(r),l.transformer=r,r},c=()=>l.transformer,p=d("bootstrap",(()=>({})));let f=!1;n();const v=async(o,t,n)=>{var d,i;const l="undefined"!=typeof process&&process.env?"production":void 0;r((null==n?void 0:n.environment)||l||"production"),a(null!==(i=null===(d=null==n?void 0:n.translation)||void 0===d?void 0:d.name)&&void 0!==i?i:"de",null==n?void 0:n.translations),(null==n?void 0:n.transformTagName)&&u(n.transformTagName);const m=await s(o,t,n);return f=!0,p.options=n,e.info("Development mode active - Enhanced debugging features available"),m},g=v,h=()=>f,y=()=>p.options;export{u as a,v as b,y as c,c as g,h as i,g as r}
|