@public-ui/components 5.0.0-beta.1 → 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/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 +9 -55
- package/dist/cjs/{Heading-C9osvqjY.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-U7I3XBPI.js → api-SFTkHR9W.js} +32 -34
- package/dist/cjs/{app-globals-DsADKGEe.js → app-globals-BVGzsN2O.js} +6 -5
- package/dist/cjs/{aria-labelledby-BRMgWRVp.js → aria-labelledby-CgJJS0K5.js} +2 -13
- package/dist/cjs/ariaCurrentService-aysGX58T.js +30 -0
- package/dist/cjs/{base-DCxbMk0f.js → base-4xLnw9ep.js} +17 -19
- package/dist/cjs/{base-l99dGLYo.js → base-DGpJZOXm.js} +67 -73
- package/dist/cjs/{base-DcN_YC72.js → base-DJhwvwdo.js} +13 -14
- package/dist/cjs/{base-CyqDmoZZ.js → base-DoujJ-Xz.js} +14 -15
- package/dist/cjs/{base-web-component-BnaxS2Z3.js → base-web-component-BgX5i_fc.js} +16 -19
- package/dist/cjs/{base-web-component-B6mwGD0m.js → base-web-component-DSCg1arP.js} +2 -1
- package/dist/cjs/{base-web-component-DxJ0hQ9u.js → base-web-component-nGb9E-GX.js} +17 -19
- package/dist/cjs/{behavior-BNyFQ_B5.js → behavior-CBwUdaXu.js} +10 -10
- package/dist/cjs/{behavior-CTaw4dj3.js → behavior-DhfuU2HF.js} +5 -5
- package/dist/cjs/{behavior-DrFJy0QC.js → behavior-S2U8skNd.js} +33 -33
- package/dist/cjs/{bem-registry-CyxrH26c.js → bem-registry-CMf1T2kb.js} +61 -15
- package/dist/cjs/bootstrap-C4GRmpTI.js +59 -0
- package/dist/cjs/{color-BW4t1Cif.js → color-BWamMCyw.js} +4 -4
- package/dist/cjs/{component-lmJOXuD6.js → component-BGIFlgKu.js} +8 -11
- package/dist/cjs/component-BM6eWMuC.js +177 -0
- package/dist/cjs/{component-Cvjqbxf4.js → component-CKc_-O64.js} +15 -18
- package/dist/cjs/{component-Cty_HlJR.js → component-CweSM_ze.js} +6 -5
- package/dist/cjs/{component-4OErV1Bg.js → component-DPCpVWBj.js} +11 -13
- package/dist/cjs/{component-DAQ1XSNA.js → component-DSlW2KVw.js} +6 -8
- package/dist/cjs/component-DTC3WbHR.js +52 -0
- package/dist/cjs/{component-DF5q9ssd.js → component-DUvRV4FE.js} +13 -14
- package/dist/cjs/component-SeQac11p.js +19 -0
- package/dist/cjs/component-names-CyEXMjv9.js +121 -0
- package/dist/cjs/{component-DtxKrISb.js → component-t6Upgw7f.js} +6 -7
- package/dist/cjs/{contrast-4mAdSLs0.js → contrast-CXinV5ii.js} +5 -5
- package/dist/cjs/{controller-tEyAFJN9.js → controller-D4usgPg-.js} +20 -20
- package/dist/cjs/{dev.utils-D5qh-RLT.js → dev.utils-glOxiW4E.js} +9 -10
- package/dist/cjs/{devtools-Dtv-Apvj.js → devtools-VDx5moKY.js} +24 -25
- package/dist/cjs/{disabled-jYcvcwjv.js → disabled-CZJO6fbW.js} +2 -1
- package/dist/cjs/{element-focus-CzkKMwtn.js → element-focus-IBv4yiNw.js} +1 -0
- package/dist/cjs/{element-interaction-BtYQAbhu.js → element-interaction-CvCJFwUh.js} +2 -1
- package/dist/cjs/{events-BJC5JJcU.js → events-fafEzzml.js} +2 -0
- package/dist/cjs/{field-control-Btb5zapE.js → field-control-xEw1WZFL.js} +12 -13
- package/dist/cjs/{group-Dg2gJze5.js → group-CMns8Vns.js} +8 -9
- package/dist/cjs/{has-closer-CvNa5gqv.js → has-closer-Cs7BCj4r.js} +2 -1
- package/dist/cjs/{href-BBhiVyPb.js → href-C93ktLo4.js} +2 -1
- package/dist/cjs/{i18n-BSWM5nea.js → i18n-DXYL9rIn.js} +11 -6
- package/dist/cjs/{i18n-BnOWw1MQ.js → i18n-YdI7_XKo.js} +3 -3
- package/dist/cjs/{id-D1VZsLkg.js → id-CtES_I0D.js} +2 -1
- package/dist/cjs/{index-BacpU-d0.js → index-B65pR1Ir.js} +1807 -61
- package/dist/cjs/index.cjs.js +20 -14
- package/dist/cjs/input-Bi8Zo8Bv.js +18 -0
- package/dist/cjs/{input-container-PaL4ZNf3.js → input-container-BErSDYvG.js} +17 -20
- package/dist/cjs/{item-CLnIJY4J.js → item-BHQRF4Sp.js} +9 -9
- package/dist/cjs/{item-CErU-EPA.js → item-BLhkAIub.js} +9 -9
- package/dist/cjs/{item-Cckqxc6T.js → item-BVHbqXo2.js} +56 -35
- package/dist/cjs/{item-CPxmIcoq.js → item-N9AmF46D.js} +16 -17
- 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 +12 -16
- package/dist/cjs/kol-accordion.cjs.entry.js +23 -25
- package/dist/cjs/kol-alert.cjs.entry.js +34 -36
- package/dist/cjs/kol-avatar.cjs.entry.js +19 -19
- package/dist/cjs/kol-badge.cjs.entry.js +34 -37
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +39 -42
- package/dist/cjs/kol-button-link.cjs.entry.js +33 -35
- package/dist/cjs/kol-button.cjs.entry.js +33 -35
- package/dist/cjs/kol-card.cjs.entry.js +35 -38
- package/dist/cjs/kol-combobox.cjs.entry.js +52 -54
- package/dist/cjs/kol-details.cjs.entry.js +23 -25
- package/dist/cjs/kol-dialog.cjs.entry.js +38 -41
- package/dist/cjs/kol-drawer.cjs.entry.js +38 -41
- package/dist/cjs/kol-form.cjs.entry.js +32 -35
- package/dist/cjs/kol-heading.cjs.entry.js +17 -19
- package/dist/cjs/kol-icon.cjs.entry.js +19 -17
- package/dist/cjs/kol-image.cjs.entry.js +12 -14
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +62 -63
- package/dist/cjs/kol-input-color.cjs.entry.js +51 -52
- package/dist/cjs/kol-input-date.cjs.entry.js +54 -56
- package/dist/cjs/kol-input-email.cjs.entry.js +54 -55
- package/dist/cjs/kol-input-file.cjs.entry.js +49 -50
- package/dist/cjs/kol-input-number.cjs.entry.js +56 -57
- package/dist/cjs/kol-input-password.cjs.entry.js +54 -55
- package/dist/cjs/kol-input-radio.cjs.entry.js +50 -53
- package/dist/cjs/kol-input-range.cjs.entry.js +48 -50
- package/dist/cjs/kol-input-text.cjs.entry.js +55 -56
- package/dist/cjs/kol-kolibri.cjs.entry.js +13 -16
- package/dist/cjs/kol-link-button.cjs.entry.js +34 -36
- package/dist/cjs/kol-link.cjs.entry.js +33 -35
- package/dist/cjs/kol-meter.cjs.entry.js +22 -25
- package/dist/cjs/kol-modal.cjs.entry.js +38 -41
- package/dist/cjs/kol-nav.cjs.entry.js +50 -53
- package/dist/cjs/kol-pagination.cjs.entry.js +55 -58
- package/dist/cjs/kol-popover-button.cjs.entry.js +34 -36
- package/dist/cjs/kol-progress.cjs.entry.js +22 -19
- package/dist/cjs/kol-quote.cjs.entry.js +13 -15
- package/dist/cjs/kol-select.cjs.entry.js +47 -49
- package/dist/cjs/kol-single-select.cjs.entry.js +59 -56
- package/dist/cjs/kol-skip-nav.cjs.entry.js +37 -40
- package/dist/cjs/kol-spin.cjs.entry.js +16 -19
- package/dist/cjs/kol-split-button.cjs.entry.js +39 -41
- package/dist/cjs/kol-table-stateful.cjs.entry.js +74 -75
- package/dist/cjs/kol-table-stateless.cjs.entry.js +54 -66
- package/dist/cjs/kol-tabs.cjs.entry.js +50 -56
- package/dist/cjs/kol-textarea.cjs.entry.js +55 -55
- package/dist/cjs/kol-toast-container.cjs.entry.js +24 -28
- package/dist/cjs/kol-toolbar.cjs.entry.js +57 -56
- package/dist/cjs/kol-tree-item.cjs.entry.js +38 -38
- package/dist/cjs/kol-tree.cjs.entry.js +35 -25
- package/dist/cjs/kol-version.cjs.entry.js +25 -28
- package/dist/cjs/kolibri.cjs.js +6 -5
- package/dist/cjs/{label-vVOiX4dC.js → label-0j3-2J3C.js} +4 -3
- package/dist/cjs/{label-hints-D6EBRW9T.js → label-hints-DEiM49uy.js} +4 -4
- package/dist/cjs/{label-lang-segment-CYlAqtUl.js → label-lang-segment-BBCLeyBy.js} +3 -2
- package/dist/cjs/{label-with-expert-slot-B9z4nqW1.js → label-with-expert-slot-D0wokf7-.js} +4 -3
- package/dist/cjs/{level-BAiEYu4U.js → level-xVivGv7t.js} +2 -1
- package/dist/cjs/{link-target-4AzB3I84.js → link-target-D9qpCovV.js} +2 -1
- package/dist/cjs/{links-CPNK7VZo.js → links-DlW9up_d.js} +3 -3
- package/dist/cjs/loader.cjs.js +5 -4
- package/dist/cjs/{multiple-B3ZpkzWu.js → multiple-DO-asa_4.js} +2 -1
- package/dist/cjs/{number-value-B2yoKlvx.js → number-value-BUKMKQvN.js} +2 -1
- package/dist/cjs/{open-CvoX_qxD.js → open-BVqlpoxd.js} +2 -1
- 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-B2pQC9w2.js → options-vneqbPL0.js} +3 -3
- package/dist/cjs/{orientation-u2cvwgBc.js → orientation-DL6G4K4r.js} +2 -1
- package/dist/cjs/{placeholder-C9Ngp2tQ.js → placeholder-C-ecB96f.js} +2 -1
- package/dist/cjs/{props-from-config-BQ2SOZlz.js → props-from-config-Bm6Pf2tK.js} +96 -16
- package/dist/cjs/{read-only-DfWF-Coi.js → read-only-D__auxXg.js} +2 -1
- package/dist/cjs/{required-CdXn16dq.js → required-DqW-WueJ.js} +2 -1
- package/dist/cjs/{resolve-props-B8kPPEMw.js → resolve-props-CjhxUwj-.js} +9 -9
- package/dist/cjs/{resolve-props-B5MED90T.js → resolve-props-DKYD6i56.js} +9 -10
- package/dist/cjs/{rows-Ca5ya9tG.js → rows-Z8UDqY9u.js} +2 -1
- package/dist/cjs/{scroll-lock-jojYHBR3.js → scroll-lock-DgqKifg3.js} +8 -7
- package/dist/cjs/shared-state-C2e8sL5f.js +16 -0
- package/dist/cjs/{smart-button-CB8qIzgQ.js → smart-button-C_S63qaB.js} +3 -3
- package/dist/cjs/{spell-check-DKRC8xbW.js → spell-check-CT0WE9tq.js} +2 -1
- package/dist/cjs/{src-C3NG0rLO.js → src-Bwu1rJi2.js} +2 -1
- package/dist/cjs/{step-CZNyTb2h.js → step-W8T4AA1l.js} +2 -1
- package/dist/cjs/{suggestions-BRclldK2.js → suggestions-C-tM7INY.js} +4 -4
- package/dist/cjs/{suggestions-CRyB_YCX.js → suggestions-DvPhi4lP.js} +3 -3
- package/dist/cjs/test-component.cjs.entry.js +3 -3
- package/dist/cjs/theme-store-CHGfvYB-.js +13 -0
- package/dist/cjs/{toggle-handler-DRPltZqQ.js → toggle-handler-DHEfrMM0.js} +13 -16
- package/dist/cjs/{tooltip-open-tracking-Ba0udJRU.js → tooltip-open-tracking-DaQFzT-b.js} +8 -5
- package/dist/cjs/{unique-nav-labels-CIAwid5V.js → unique-nav-labels-CpJcPNBO.js} +3 -3
- package/dist/cjs/{unit-bsoemclF.js → unit-CNVBdvOH.js} +2 -1
- package/dist/cjs/{validators-DuLdbf2D.js → validators-BM9XrnzJ.js} +4 -1
- package/dist/cjs/{value-string-DZ_FFaUt.js → value-string-DXRes-dR.js} +2 -1
- package/dist/cjs/{width-BklaRCqt.js → width-BAwXHART.js} +2 -1
- package/dist/collection/collection-manifest.json +1 -8
- package/dist/collection/components/abbr/component.js +2 -2
- package/dist/collection/components/abbr/style.css +21 -0
- package/dist/collection/components/accordion/component.js +2 -2
- package/dist/collection/components/accordion/style.css +23 -2
- package/dist/collection/components/alert/component.js +6 -4
- package/dist/collection/components/alert/style.css +23 -2
- package/dist/collection/components/avatar/component.js +2 -2
- package/dist/collection/components/avatar/style.css +21 -0
- package/dist/collection/components/badge/component.js +2 -2
- package/dist/collection/components/badge/style.css +23 -2
- package/dist/collection/components/breadcrumb/component.js +2 -2
- package/dist/collection/components/breadcrumb/style.css +23 -2
- package/dist/collection/components/button/component.js +1 -1
- package/dist/collection/components/button/style.css +23 -2
- package/dist/collection/components/button-link/component.js +1 -1
- package/dist/collection/components/button-link/style.css +23 -2
- package/dist/collection/components/card/component.js +2 -2
- package/dist/collection/components/card/style.css +26 -2
- package/dist/collection/components/combobox/component.js +4 -4
- package/dist/collection/components/combobox/style.css +23 -2
- package/dist/collection/components/details/component.js +2 -2
- package/dist/collection/components/details/style.css +23 -2
- package/dist/collection/components/dialog/base.js +2 -2
- package/dist/collection/components/dialog/component.js +2 -2
- package/dist/collection/components/dialog/style.css +26 -2
- package/dist/collection/components/drawer/component.js +2 -2
- package/dist/collection/components/drawer/style.css +26 -2
- package/dist/collection/components/form/component.js +2 -2
- package/dist/collection/components/form/controller.js +4 -3
- package/dist/collection/components/form/style.css +23 -2
- package/dist/collection/components/heading/component.js +2 -2
- package/dist/collection/components/heading/style.css +21 -0
- package/dist/collection/components/icon/component.js +5 -5
- package/dist/collection/components/icon/style.css +2 -2
- package/dist/collection/components/image/component.js +2 -2
- package/dist/collection/components/image/style.css +21 -0
- package/dist/collection/components/input-checkbox/component.js +13 -11
- package/dist/collection/components/input-checkbox/style.css +23 -2
- package/dist/collection/components/input-color/component.js +6 -4
- package/dist/collection/components/input-color/style.css +23 -2
- package/dist/collection/components/input-date/component.js +9 -7
- package/dist/collection/components/input-date/style.css +23 -2
- package/dist/collection/components/input-email/component.js +4 -1
- package/dist/collection/components/input-email/style.css +23 -2
- package/dist/collection/components/input-file/component.js +6 -3
- package/dist/collection/components/input-file/style.css +23 -2
- package/dist/collection/components/input-number/component.js +6 -4
- package/dist/collection/components/input-number/style.css +23 -2
- package/dist/collection/components/input-password/component.js +5 -2
- package/dist/collection/components/input-password/style.css +23 -2
- package/dist/collection/components/input-radio/component.js +2 -3
- package/dist/collection/components/input-radio/style.css +23 -2
- package/dist/collection/components/input-range/component.js +2 -2
- package/dist/collection/components/input-range/style.css +23 -2
- package/dist/collection/components/input-text/component.js +4 -2
- package/dist/collection/components/input-text/style.css +23 -2
- package/dist/collection/components/kolibri/component.js +2 -2
- package/dist/collection/components/kolibri/style.css +21 -0
- package/dist/collection/components/link/ariaCurrentService.js +9 -9
- package/dist/collection/components/link/component.js +2 -2
- package/dist/collection/components/link/style.css +23 -2
- package/dist/collection/components/link-button/component.js +2 -2
- package/dist/collection/components/link-button/style.css +23 -2
- package/dist/collection/components/meter/component.js +2 -2
- package/dist/collection/components/meter/style.css +21 -0
- package/dist/collection/components/modal/component.js +2 -2
- package/dist/collection/components/modal/style.css +26 -2
- package/dist/collection/components/nav/component.js +2 -2
- package/dist/collection/components/nav/style.css +23 -2
- package/dist/collection/components/pagination/component.js +10 -12
- package/dist/collection/components/pagination/style.css +23 -2
- package/dist/collection/components/popover-button/component.js +1 -1
- package/dist/collection/components/popover-button/style.css +23 -2
- package/dist/collection/components/progress/component.js +6 -3
- package/dist/collection/components/progress/style.css +21 -0
- package/dist/collection/components/quote/component.js +2 -2
- package/dist/collection/components/quote/style.css +21 -0
- package/dist/collection/components/select/component.js +1 -1
- package/dist/collection/components/select/style.css +23 -2
- package/dist/collection/components/single-select/component.js +10 -6
- package/dist/collection/components/single-select/style.css +23 -2
- package/dist/collection/components/skip-nav/component.js +2 -2
- package/dist/collection/components/skip-nav/style.css +23 -2
- package/dist/collection/components/spin/component.js +2 -2
- package/dist/collection/components/spin/style.css +21 -0
- package/dist/collection/components/split-button/component.js +1 -1
- package/dist/collection/components/split-button/style.css +23 -2
- package/dist/collection/components/table-stateful/component.js +13 -18
- package/dist/collection/components/table-stateful/style.css +26 -2
- package/dist/collection/components/table-stateless/base.js +4 -1
- package/dist/collection/components/table-stateless/component.js +14 -55
- package/dist/collection/components/table-stateless/style.css +26 -2
- package/dist/collection/components/tabs/component.js +8 -17
- package/dist/collection/components/tabs/style.css +23 -2
- package/dist/collection/components/textarea/component.js +5 -3
- package/dist/collection/components/textarea/style.css +23 -2
- package/dist/collection/components/toaster/shadow.js +1 -2
- package/dist/collection/components/toaster/style.css +23 -2
- package/dist/collection/components/toaster/toaster.js +2 -1
- package/dist/collection/components/toolbar/component.js +14 -10
- package/dist/collection/components/toolbar/style.css +23 -2
- package/dist/collection/components/tree/component.js +22 -11
- package/dist/collection/components/tree/style.css +21 -0
- package/dist/collection/components/tree-item/component.js +9 -6
- package/dist/collection/components/tree-item/style.css +23 -2
- package/dist/collection/components/version/component.js +2 -2
- package/dist/collection/components/version/style.css +23 -2
- package/dist/collection/core/bootstrap.js +8 -5
- package/dist/collection/core/component-names.js +52 -106
- package/dist/collection/core/i18n.js +7 -6
- package/dist/collection/core/shared-state.js +10 -0
- package/dist/collection/core/tag-transformer.js +27 -0
- package/dist/collection/core/theme-store.js +8 -0
- package/dist/collection/global/script.js +2 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/internal/functional-components/alert/component.js +2 -1
- package/dist/collection/internal/functional-components/avatar/component.js +2 -2
- package/dist/collection/internal/functional-components/badge/component.js +2 -1
- package/dist/collection/internal/functional-components/bem-root-node/component.js +16 -6
- package/dist/collection/internal/functional-components/breadcrumb/component.js +2 -2
- package/dist/collection/internal/functional-components/card/component.js +3 -1
- package/dist/collection/internal/functional-components/collapsible/component.js +3 -2
- package/dist/collection/internal/functional-components/dialog/component.js +6 -3
- package/dist/collection/internal/functional-components/dialog/item.js +2 -2
- package/dist/collection/internal/functional-components/drawer/component.js +1 -1
- package/dist/collection/internal/functional-components/form-association/api.js +2 -2
- package/dist/collection/internal/functional-components/form-association/behavior.js +18 -15
- package/dist/collection/internal/functional-components/form-field/base-web-component.js +0 -1
- package/dist/collection/internal/functional-components/form-field/custom-suggestions.js +1 -1
- package/dist/collection/internal/functional-components/heading/component.js +3 -4
- package/dist/collection/internal/functional-components/icon/api.js +2 -2
- package/dist/collection/internal/functional-components/icon/component.js +2 -2
- package/dist/collection/internal/functional-components/image/component.js +2 -4
- package/dist/collection/internal/functional-components/link/component.js +1 -1
- package/dist/collection/internal/functional-components/meter/component.js +5 -7
- package/dist/collection/internal/functional-components/pagination/api.js +2 -2
- package/dist/collection/internal/functional-components/pagination/component.js +2 -3
- package/dist/collection/internal/functional-components/pagination/item.js +26 -11
- package/dist/collection/internal/functional-components/pagination/page-size-select.js +8 -0
- package/dist/collection/internal/functional-components/progress/component.js +2 -1
- package/dist/collection/internal/functional-components/quote/component.js +2 -3
- package/dist/collection/internal/functional-components/single-select/component.js +2 -1
- package/dist/collection/internal/functional-components/skip-nav/component.js +2 -2
- package/dist/collection/internal/functional-components/span/component.js +3 -2
- package/dist/collection/internal/functional-components/table-stateless/api.js +2 -2
- package/dist/collection/internal/functional-components/table-stateless/component.js +5 -5
- package/dist/collection/internal/functional-components/table-stateless/settings.js +10 -5
- package/dist/collection/internal/functional-components/table-stateless/table-model.js +2 -6
- package/dist/collection/internal/functional-components/tabs/component.js +7 -1
- package/dist/collection/internal/functional-components/tree/component.js +2 -2
- package/dist/collection/internal/functional-components/tree-item/component.js +2 -2
- package/dist/collection/internal/props/helpers/validators.js +1 -0
- package/dist/collection/internal/props/index.js +1 -0
- package/dist/collection/internal/props/label-decorative.js +10 -0
- package/dist/collection/locales/de.js +1 -0
- package/dist/collection/locales/en.js +1 -0
- package/dist/collection/schema/bem-registry.js +59 -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 +1 -1
- package/dist/collection/schema/props/table-headers.js +1 -0
- package/dist/collection/utils/aria-labelledby.js +0 -12
- package/dist/collection/utils/markdown.js +49 -3
- package/dist/collection/utils/tooltip-open-tracking.js +6 -5
- package/dist/components/Heading.js +1 -1
- package/dist/components/access-and-short-key.js +1 -1
- package/dist/components/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 +4 -0
- package/dist/components/component-names.js +1 -1
- package/dist/components/component.js +1 -1
- package/dist/components/component10.js +1 -1
- package/dist/components/component11.js +1 -1
- package/dist/components/component12.js +4 -0
- package/dist/components/component13.js +4 -0
- package/dist/components/component14.js +4 -0
- package/dist/components/component2.js +1 -1
- package/dist/components/component3.js +1 -1
- package/dist/components/component4.js +1 -1
- package/dist/components/component5.js +1 -1
- package/dist/components/component6.js +1 -1
- package/dist/components/component7.js +1 -1
- package/dist/components/component8.js +1 -1
- package/dist/components/component9.js +1 -1
- package/dist/components/contrast.js +1 -1
- package/dist/components/controller.js +1 -1
- package/dist/components/dev.utils.js +1 -1
- package/dist/components/devtools.js +1 -1
- package/dist/components/disabled.js +1 -1
- package/dist/components/element-focus.js +1 -1
- package/dist/components/element-interaction.js +1 -1
- package/dist/components/events.js +1 -1
- package/dist/components/field-control.js +1 -1
- package/dist/components/group.js +1 -1
- package/dist/components/has-closer.js +1 -1
- package/dist/components/i18n.js +1 -1
- package/dist/components/i18n2.js +1 -1
- package/dist/components/id.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/input-container.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/item-pool.js +1 -1
- package/dist/components/item.js +1 -1
- package/dist/components/item2.js +1 -1
- package/dist/components/item3.js +1 -1
- package/dist/components/item4.js +1 -1
- package/dist/components/keyboard.js +1 -1
- package/dist/components/kol-abbr.js +1 -1
- package/dist/components/kol-accordion.js +1 -1
- package/dist/components/kol-alert.js +1 -1
- package/dist/components/kol-avatar.js +1 -1
- package/dist/components/kol-badge.js +1 -1
- package/dist/components/kol-breadcrumb.js +1 -1
- package/dist/components/kol-button-link.js +1 -1
- package/dist/components/kol-button.js +1 -1
- package/dist/components/kol-card.js +1 -1
- package/dist/components/kol-combobox.js +1 -1
- package/dist/components/kol-details.js +1 -1
- package/dist/components/kol-dialog.js +1 -1
- package/dist/components/kol-drawer.js +1 -1
- package/dist/components/kol-form.js +1 -1
- package/dist/components/kol-heading.js +1 -1
- package/dist/components/kol-icon.js +1 -1
- package/dist/components/kol-image.js +1 -1
- package/dist/components/kol-input-checkbox.js +1 -1
- package/dist/components/kol-input-color.js +1 -1
- package/dist/components/kol-input-date.js +1 -1
- package/dist/components/kol-input-email.js +1 -1
- package/dist/components/kol-input-file.js +1 -1
- package/dist/components/kol-input-number.js +1 -1
- package/dist/components/kol-input-password.js +1 -1
- package/dist/components/kol-input-radio.js +1 -1
- package/dist/components/kol-input-range.js +1 -1
- package/dist/components/kol-input-text.js +1 -1
- package/dist/components/kol-kolibri.js +1 -1
- package/dist/components/kol-link-button.js +1 -1
- package/dist/components/kol-link.js +1 -1
- package/dist/components/kol-meter.js +1 -1
- package/dist/components/kol-modal.js +1 -1
- package/dist/components/kol-nav.js +1 -1
- package/dist/components/kol-pagination.js +1 -1
- package/dist/components/kol-popover-button.js +1 -1
- package/dist/components/kol-progress.js +1 -1
- package/dist/components/kol-quote.js +1 -1
- package/dist/components/kol-select.js +1 -1
- package/dist/components/kol-single-select.js +1 -1
- package/dist/components/kol-skip-nav.js +1 -1
- package/dist/components/kol-spin.js +1 -1
- package/dist/components/kol-split-button.js +1 -1
- package/dist/components/kol-table-stateful.js +1 -1
- package/dist/components/kol-table-stateless.js +1 -1
- package/dist/components/kol-tabs.js +1 -1
- package/dist/components/kol-textarea.js +1 -1
- package/dist/components/kol-toast-container.js +1 -1
- package/dist/components/kol-toolbar.js +1 -1
- package/dist/components/kol-tree-item.js +1 -1
- package/dist/components/kol-tree.js +1 -1
- package/dist/components/kol-version.js +1 -1
- package/dist/components/label-hints.js +1 -1
- package/dist/components/label-lang-segment.js +1 -1
- package/dist/components/label-with-expert-slot.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/level.js +1 -1
- package/dist/components/link-target.js +1 -1
- package/dist/components/links.js +1 -1
- package/dist/components/multiple.js +1 -1
- package/dist/components/number-value.js +1 -1
- package/dist/components/open-items-cache.js +1 -1
- package/dist/components/open.js +1 -1
- package/dist/components/options.js +1 -1
- package/dist/components/options2.js +1 -1
- package/dist/components/orientation.js +1 -1
- package/dist/components/placeholder.js +1 -1
- package/dist/components/read-only.js +1 -1
- package/dist/components/required.js +1 -1
- package/dist/components/resolve-props.js +1 -1
- package/dist/components/resolve-props2.js +1 -1
- package/dist/components/rows.js +1 -1
- package/dist/components/scroll-lock.js +1 -1
- package/dist/components/shared-state.js +4 -0
- package/dist/components/smart-button.js +1 -1
- package/dist/components/spell-check.js +1 -1
- package/dist/components/src.js +1 -1
- package/dist/components/step.js +1 -1
- package/dist/components/suggestions.js +1 -1
- package/dist/components/suggestions2.js +1 -1
- package/dist/components/test-component.js +1 -1
- package/dist/components/toggle-handler.js +1 -1
- package/dist/components/tooltip-open-tracking.js +1 -1
- package/dist/components/unique-nav-labels.js +1 -1
- package/dist/components/unit.js +1 -1
- package/dist/components/validators.js +1 -1
- package/dist/components/value-string.js +1 -1
- package/dist/components/width.js +1 -1
- package/dist/esm/{Heading-BVhjT9av.js → Heading-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-D92_O-0H.js → api-B76-Osk1.js} +21 -23
- package/dist/esm/{app-globals-CBGjgNge.js → app-globals-Dtu1AIr1.js} +4 -3
- package/dist/esm/{aria-labelledby-CLehu03h.js → aria-labelledby-DQov9uSv.js} +3 -13
- package/dist/esm/ariaCurrentService-B9TgWLEw.js +27 -0
- package/dist/esm/{base-DIcqHqMz.js → base-BZCFxul4.js} +13 -14
- package/dist/esm/{base-BLBSJu_1.js → base-BpgzOuy3.js} +13 -14
- package/dist/esm/{base-qvPPg-dn.js → base-CAiOx0qs.js} +52 -58
- package/dist/esm/{base-CHmdLgoO.js → base-DJ3lTPYp.js} +14 -16
- package/dist/esm/{base-web-component-XgI4wUyN.js → base-web-component-D16FuHFf.js} +2 -1
- package/dist/esm/{base-web-component-CaAexWy_.js → base-web-component-E9cH8tf8.js} +16 -18
- package/dist/esm/{base-web-component-DbagnM7m.js → base-web-component-aOhHFXxF.js} +10 -13
- package/dist/esm/{behavior-DW7_5Wxp.js → behavior-ByyBa-o8.js} +5 -5
- package/dist/esm/{behavior-CwUUkdaP.js → behavior-DJQFXyfi.js} +6 -6
- package/dist/esm/{behavior-B08CXmI4.js → behavior-DnTJtQBK.js} +29 -28
- package/dist/esm/{bem-registry-CWN7_O1L.js → bem-registry-CK2s_XZ4.js} +60 -14
- package/dist/esm/bootstrap-DUmk0ILT.js +52 -0
- package/dist/esm/{color-eAL9I7Wq.js → color-CEoIhjJR.js} +3 -3
- package/dist/esm/{component-8ALsFV4i.js → component-BPL1Mikq.js} +5 -6
- package/dist/esm/{component-D0mBOGjS.js → component-C0ijstyp.js} +10 -12
- package/dist/esm/component-C58IwTEf.js +47 -0
- package/dist/esm/{component-nR5Bf9G5.js → component-CAEpgoSo.js} +6 -5
- package/dist/esm/component-CDyoNoJe.js +17 -0
- package/dist/esm/{component-CdKSiR5P.js → component-CiTw4ODP.js} +6 -9
- package/dist/esm/component-DTV1Kuf1.js +172 -0
- package/dist/esm/{component-DCw1ZAE5.js → component-DeFANBua.js} +5 -7
- package/dist/esm/{component-DBAicJ2u.js → component-S6ib3O8N.js} +13 -16
- package/dist/esm/{component-BTMWoACz.js → component-XbTjo2nm.js} +11 -13
- package/dist/esm/component-names-Ur_UbEzI.js +115 -0
- package/dist/esm/{contrast-D78VGPFR.js → contrast-Ujnfz49m.js} +2 -2
- package/dist/esm/{controller-C3O9ohSP.js → controller-BdPVgWDs.js} +5 -5
- package/dist/esm/{dev.utils-wYkYn08d.js → dev.utils--eVyQ4zr.js} +1 -2
- package/dist/esm/{devtools-DrBkkLdP.js → devtools-CosbyboJ.js} +4 -5
- package/dist/esm/{disabled-Cqhc40CU.js → disabled-Cu0e92-b.js} +2 -1
- package/dist/esm/{element-focus-BIRmGg5W.js → element-focus-BYLFG-oz.js} +1 -0
- package/dist/esm/{element-interaction-sGYdEpmv.js → element-interaction-C2pgnQ6t.js} +2 -1
- package/dist/esm/{events-BIT-JUP2.js → events-B2UzbUT7.js} +2 -0
- package/dist/esm/{field-control-Cs5VvsYo.js → field-control-DbmtKHc1.js} +7 -8
- package/dist/esm/{group-uNo1CfbK.js → group-CqAFhkgE.js} +6 -7
- package/dist/esm/{has-closer-B9NQY7BK.js → has-closer-DOs1CXhp.js} +2 -1
- package/dist/esm/{href-JqLbNBsW.js → href-DQbHtp6T.js} +2 -1
- package/dist/esm/{i18n-Dl6Jjofb.js → i18n-Bcb0tuyF.js} +11 -6
- package/dist/esm/{i18n-DtLKn3Xt.js → i18n-Cf0DhAke.js} +2 -2
- package/dist/esm/{id-CIYvVaNr.js → id-BXwy9iRy.js} +2 -1
- package/dist/esm/{index-BKEJuyFi.js → index-Bsx5X6jK.js} +1745 -46
- package/dist/esm/index.js +14 -12
- package/dist/esm/{input-Dja5Qioc.js → input-RvLnUp6C.js} +4 -6
- package/dist/esm/{input-container-C2Am7LEP.js → input-container-BpG3WHug.js} +6 -9
- package/dist/esm/{item-D627ShRd.js → item-Cw_jdgc6.js} +14 -15
- package/dist/esm/{item-DIAFIFSy.js → item-DMttg5uX.js} +51 -30
- package/dist/esm/{item-ConW1c81.js → item-DibV9jD7.js} +8 -8
- package/dist/esm/{item-C4AmpdVD.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 +11 -15
- package/dist/esm/kol-accordion.entry.js +22 -24
- package/dist/esm/kol-alert.entry.js +34 -36
- package/dist/esm/kol-avatar.entry.js +19 -19
- package/dist/esm/kol-badge.entry.js +31 -34
- package/dist/esm/kol-breadcrumb.entry.js +36 -39
- package/dist/esm/kol-button-link.entry.js +33 -35
- package/dist/esm/kol-button.entry.js +33 -35
- package/dist/esm/kol-card.entry.js +35 -38
- package/dist/esm/kol-combobox.entry.js +51 -53
- package/dist/esm/kol-details.entry.js +22 -24
- package/dist/esm/kol-dialog.entry.js +38 -41
- package/dist/esm/kol-drawer.entry.js +38 -41
- package/dist/esm/kol-form.entry.js +30 -33
- package/dist/esm/kol-heading.entry.js +17 -19
- package/dist/esm/kol-icon.entry.js +19 -17
- package/dist/esm/kol-image.entry.js +12 -14
- package/dist/esm/kol-input-checkbox.entry.js +57 -58
- package/dist/esm/kol-input-color.entry.js +51 -52
- package/dist/esm/kol-input-date.entry.js +53 -55
- package/dist/esm/kol-input-email.entry.js +54 -55
- package/dist/esm/kol-input-file.entry.js +49 -50
- package/dist/esm/kol-input-number.entry.js +55 -56
- package/dist/esm/kol-input-password.entry.js +53 -54
- package/dist/esm/kol-input-radio.entry.js +47 -50
- package/dist/esm/kol-input-range.entry.js +48 -50
- package/dist/esm/kol-input-text.entry.js +55 -56
- package/dist/esm/kol-kolibri.entry.js +12 -15
- package/dist/esm/kol-link-button.entry.js +33 -35
- package/dist/esm/kol-link.entry.js +33 -35
- package/dist/esm/kol-meter.entry.js +22 -25
- package/dist/esm/kol-modal.entry.js +38 -41
- package/dist/esm/kol-nav.entry.js +43 -46
- package/dist/esm/kol-pagination.entry.js +55 -58
- package/dist/esm/kol-popover-button.entry.js +34 -36
- package/dist/esm/kol-progress.entry.js +22 -19
- package/dist/esm/kol-quote.entry.js +13 -15
- package/dist/esm/kol-select.entry.js +47 -49
- package/dist/esm/kol-single-select.entry.js +58 -55
- package/dist/esm/kol-skip-nav.entry.js +35 -38
- package/dist/esm/kol-spin.entry.js +16 -19
- package/dist/esm/kol-split-button.entry.js +37 -39
- package/dist/esm/kol-table-stateful.entry.js +70 -71
- package/dist/esm/kol-table-stateless.entry.js +54 -66
- package/dist/esm/kol-tabs.entry.js +46 -52
- package/dist/esm/kol-textarea.entry.js +53 -53
- package/dist/esm/kol-toast-container.entry.js +22 -26
- package/dist/esm/kol-toolbar.entry.js +52 -51
- package/dist/esm/kol-tree-item.entry.js +38 -38
- package/dist/esm/kol-tree.entry.js +35 -25
- package/dist/esm/kol-version.entry.js +24 -27
- package/dist/esm/kolibri.js +7 -6
- package/dist/esm/{label-BRosRgdX.js → label-DEZIsnKw.js} +4 -3
- package/dist/esm/{label-hints-Jn18RUT-.js → label-hints-C--ftrg_.js} +2 -2
- package/dist/esm/{label-lang-segment-2_GnxjFp.js → label-lang-segment-B8ayoizG.js} +3 -2
- package/dist/esm/label-with-expert-slot-DXi27J4o.js +13 -0
- package/dist/esm/{level-CA1s1_Mf.js → level-BV6M_zmM.js} +2 -1
- package/dist/esm/{link-target-FX94oqMo.js → link-target-C9qzQAQg.js} +2 -1
- package/dist/esm/{links-DwucTqcR.js → links-Dt0OhMXb.js} +2 -2
- package/dist/esm/loader.js +6 -5
- package/dist/esm/{multiple-DqrZxybx.js → multiple-DQdOCIyW.js} +2 -1
- package/dist/esm/{number-value-B-SJ1dRo.js → number-value-DtZloH4P.js} +2 -1
- package/dist/esm/{open-DRRv1KFK.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-DCaUcfAu.js → options-C8BsBGBl.js} +2 -2
- package/dist/esm/{options-B0rBHetL.js → options-CKAHQbcF.js} +2 -0
- package/dist/esm/{orientation-XNOCaPwy.js → orientation-VvJMCd9m.js} +2 -1
- package/dist/esm/{placeholder-BeLIzdJv.js → placeholder-7pbjAn-x.js} +2 -1
- package/dist/esm/{props-from-config-Ci0dILpz.js → props-from-config-DVxNB2Lx.js} +84 -7
- package/dist/esm/{read-only-Bby9r6ZX.js → read-only-3XuQIAB8.js} +2 -1
- package/dist/esm/{required-hoaT7UmZ.js → required-CNgdXJ8H.js} +2 -1
- package/dist/esm/{resolve-props-BLZxWC3j.js → resolve-props-B1DQKjTD.js} +7 -8
- package/dist/esm/{resolve-props-D2KiItuv.js → resolve-props-DOaJCd7Y.js} +9 -9
- package/dist/esm/{rows-B0x8CR7K.js → rows-DL1whQNh.js} +2 -1
- package/dist/esm/{scroll-lock-Y2hf47KW.js → scroll-lock-CF_Z7MzO.js} +9 -7
- package/dist/esm/shared-state-sWI1upS8.js +14 -0
- package/dist/esm/{smart-button-CS_ZriPt.js → smart-button-BdA5-cUG.js} +2 -2
- package/dist/esm/{spell-check-DzgftyqL.js → spell-check-B7J-eU5K.js} +2 -1
- package/dist/esm/{src-DaGhmCL1.js → src-C2baLPDp.js} +2 -1
- package/dist/esm/{step-Bdj89bGO.js → step-DmzcVFZB.js} +2 -1
- package/dist/esm/{suggestions-Dy1X-Pc3.js → suggestions-BJxNFtkL.js} +2 -2
- package/dist/esm/{suggestions-DuqzGDve.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-BRLmxe1J.js → toggle-handler-D7oFDKvq.js} +12 -15
- package/dist/esm/tooltip-open-tracking-DXhnfmA2.js +21 -0
- package/dist/esm/{unique-nav-labels-h2KOu5Qy.js → unique-nav-labels-BOqpcYk4.js} +2 -2
- package/dist/esm/{unit-BUhhJbhT.js → unit-BFYz7QfA.js} +2 -1
- package/dist/esm/{validators-BVM40IEr.js → validators-DPSQyOeQ.js} +4 -2
- package/dist/esm/{value-string-e9pwLcS-.js → value-string-Cmozozek.js} +2 -1
- package/dist/esm/{width-CgYY17tL.js → width-D5-Licpp.js} +2 -1
- 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/alert/component.d.ts +1 -0
- package/dist/types/components/input-date/component.d.ts +1 -1
- package/dist/types/components/pagination/component.d.ts +1 -1
- package/dist/types/components/progress/component.d.ts +1 -0
- package/dist/types/components/single-select/component.d.ts +1 -0
- package/dist/types/components/table-stateful/component.d.ts +3 -4
- package/dist/types/components/table-stateless/base.d.ts +2 -2
- package/dist/types/components/table-stateless/component.d.ts +3 -6
- package/dist/types/components/tabs/component.d.ts +1 -2
- package/dist/types/components/tree/component.d.ts +1 -0
- package/dist/types/components.d.ts +18 -125
- package/dist/types/core/component-names.d.ts +52 -53
- package/dist/types/core/i18n.d.ts +1 -1
- package/dist/types/core/shared-state.d.ts +1 -0
- package/dist/types/core/tag-transformer.d.ts +4 -0
- package/dist/types/core/theme-store.d.ts +1 -0
- package/dist/types/index.d.ts +3 -1
- package/dist/types/internal/functional-components/bem-root-node/component.d.ts +8 -4
- package/dist/types/internal/functional-components/button/item.d.ts +1 -1
- package/dist/types/internal/functional-components/dialog/component.d.ts +7 -3
- package/dist/types/internal/functional-components/form-association/api.d.ts +1 -1
- package/dist/types/internal/functional-components/form-association/behavior.d.ts +2 -2
- package/dist/types/internal/functional-components/form-field/custom-suggestions.d.ts +1 -0
- package/dist/types/internal/functional-components/icon/api.d.ts +1 -1
- package/dist/types/internal/functional-components/pagination/api.d.ts +2 -2
- package/dist/types/internal/functional-components/pagination/item.d.ts +5 -3
- package/dist/types/internal/functional-components/pagination/page-size-select.d.ts +1 -0
- package/dist/types/internal/functional-components/single-select/component.d.ts +3 -0
- 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/table-model.d.ts +4 -4
- package/dist/types/internal/props/helpers/validators.d.ts +2 -1
- package/dist/types/internal/props/index.d.ts +1 -0
- package/dist/types/internal/props/label-decorative.d.ts +4 -0
- package/dist/types/internal/props/table-headers.d.ts +2 -2
- package/dist/types/internal/props/table-stateful-headers.d.ts +2 -2
- package/dist/types/locales/de.d.ts +1 -0
- package/dist/types/locales/en.d.ts +1 -0
- package/dist/types/schema/bem-registry.d.ts +87 -23
- package/dist/types/schema/components/pagination.d.ts +2 -2
- package/dist/types/schema/components/table.d.ts +2 -3
- package/dist/types/schema/components/tableStateless.d.ts +5 -4
- package/dist/types/schema/i18n-keys.d.ts +29 -28
- package/dist/types/schema/index.d.ts +1 -1
- 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/index.d.ts +1 -1
- package/dist/types/schema/props/label.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/stencil-public-runtime.d.ts +1 -1
- package/dist/types/utils/aria-labelledby.d.ts +0 -6
- package/doc/badge.md +15 -0
- package/doc/button.md +13 -0
- package/doc/input-checkbox.md +15 -0
- package/doc/input-number.md +15 -0
- package/doc/link.md +13 -0
- package/doc/pagination.md +13 -13
- package/doc/quote.md +13 -0
- package/doc/table-stateful.md +33 -16
- package/doc/table-stateless.md +31 -15
- package/package.json +23 -15
- package/vscode-custom-data.json +3 -20
- package/dist/cjs/ariaCurrentService-3051l6MI.js +0 -28
- package/dist/cjs/block-bem-BI7yfoFU.js +0 -18
- package/dist/cjs/bootstrap-DkgMbRSL.js +0 -33
- package/dist/cjs/clsx-Bm_HQUnh.js +0 -54
- package/dist/cjs/common-C-hcIfzh.js +0 -1755
- package/dist/cjs/component-BEzksV1U.js +0 -9300
- package/dist/cjs/component-BQUKg-qY.js +0 -53
- package/dist/cjs/component-BlAPlTfV.js +0 -20
- package/dist/cjs/component-DMfcX1br.js +0 -14
- package/dist/cjs/component-Dkx5Zyhq.js +0 -18
- package/dist/cjs/component-names-BMpML1sX.js +0 -113
- package/dist/cjs/input-CgTL2oH6.js +0 -20
- package/dist/cjs/kol-click-button.cjs.entry.js +0 -55
- package/dist/cjs/kol-skeleton.cjs.entry.js +0 -107
- package/dist/cjs/name-D4qpL1m-.js +0 -10
- package/dist/collection/components/click-button/component.js +0 -105
- package/dist/collection/components/skeleton/component.js +0 -215
- package/dist/collection/internal/functional-components/click-button/api.js +0 -7
- package/dist/collection/internal/functional-components/click-button/component.js +0 -9
- package/dist/collection/internal/functional-components/skeleton/api.js +0 -7
- package/dist/collection/internal/functional-components/skeleton/component.js +0 -20
- package/dist/collection/schema/props/table-header-cells.js +0 -36
- 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/kol-click-button.d.ts +0 -11
- package/dist/components/kol-click-button.js +0 -4
- package/dist/components/kol-skeleton.d.ts +0 -11
- package/dist/components/kol-skeleton.js +0 -4
- package/dist/components/name.js +0 -4
- package/dist/components/props-from-config.js +0 -4
- package/dist/esm/ariaCurrentService-YoLNpD5S.js +0 -25
- package/dist/esm/block-bem-BpQSY04L.js +0 -16
- package/dist/esm/bootstrap-B9DtStuh.js +0 -28
- package/dist/esm/clsx-COFh-Vc8.js +0 -52
- package/dist/esm/common-OzsC_6kt.js +0 -1709
- package/dist/esm/component-Bc1n82Y8.js +0 -16
- package/dist/esm/component-CZZNha2e.js +0 -9295
- package/dist/esm/component-Cdnq5GYF.js +0 -18
- package/dist/esm/component-DLSlbWg8.js +0 -12
- package/dist/esm/component-DeMf195P.js +0 -48
- package/dist/esm/component-names-CrfBV37S.js +0 -111
- package/dist/esm/kol-click-button.entry.js +0 -53
- package/dist/esm/kol-skeleton.entry.js +0 -105
- package/dist/esm/label-with-expert-slot-CicRes-W.js +0 -12
- package/dist/esm/name-B2Yf3EpX.js +0 -8
- package/dist/esm/tooltip-open-tracking-D3tCiiGP.js +0 -18
- package/dist/kolibri/Heading-BVhjT9av.js +0 -4
- package/dist/kolibri/access-and-short-key-ijzCZfHm.js +0 -4
- package/dist/kolibri/api-D92_O-0H.js +0 -4
- package/dist/kolibri/app-globals-CBGjgNge.js +0 -4
- package/dist/kolibri/aria-labelledby-CLehu03h.js +0 -4
- package/dist/kolibri/ariaCurrentService-YoLNpD5S.js +0 -4
- package/dist/kolibri/base-BLBSJu_1.js +0 -4
- package/dist/kolibri/base-CHmdLgoO.js +0 -4
- package/dist/kolibri/base-DIcqHqMz.js +0 -4
- package/dist/kolibri/base-qvPPg-dn.js +0 -4
- package/dist/kolibri/base-web-component-CaAexWy_.js +0 -4
- package/dist/kolibri/base-web-component-DbagnM7m.js +0 -4
- package/dist/kolibri/base-web-component-XgI4wUyN.js +0 -4
- package/dist/kolibri/behavior-B08CXmI4.js +0 -4
- package/dist/kolibri/behavior-CwUUkdaP.js +0 -4
- package/dist/kolibri/behavior-DW7_5Wxp.js +0 -4
- package/dist/kolibri/bem-registry-CWN7_O1L.js +0 -4
- package/dist/kolibri/block-bem-BpQSY04L.js +0 -4
- package/dist/kolibri/bootstrap-B9DtStuh.js +0 -4
- package/dist/kolibri/clsx-COFh-Vc8.js +0 -4
- package/dist/kolibri/color-eAL9I7Wq.js +0 -4
- package/dist/kolibri/common-OzsC_6kt.js +0 -4
- package/dist/kolibri/component-8ALsFV4i.js +0 -4
- package/dist/kolibri/component-BTMWoACz.js +0 -4
- package/dist/kolibri/component-Bc1n82Y8.js +0 -4
- package/dist/kolibri/component-CZZNha2e.js +0 -4
- package/dist/kolibri/component-CdKSiR5P.js +0 -4
- package/dist/kolibri/component-Cdnq5GYF.js +0 -4
- package/dist/kolibri/component-D0mBOGjS.js +0 -4
- package/dist/kolibri/component-DBAicJ2u.js +0 -4
- package/dist/kolibri/component-DCw1ZAE5.js +0 -4
- package/dist/kolibri/component-DLSlbWg8.js +0 -4
- package/dist/kolibri/component-DeMf195P.js +0 -4
- package/dist/kolibri/component-nR5Bf9G5.js +0 -4
- package/dist/kolibri/component-names-CrfBV37S.js +0 -4
- package/dist/kolibri/contrast-D78VGPFR.js +0 -4
- package/dist/kolibri/controller-C3O9ohSP.js +0 -4
- package/dist/kolibri/dev.utils-wYkYn08d.js +0 -4
- package/dist/kolibri/devtools-DrBkkLdP.js +0 -4
- package/dist/kolibri/disabled-Cqhc40CU.js +0 -4
- package/dist/kolibri/element-focus-BIRmGg5W.js +0 -4
- package/dist/kolibri/element-interaction-sGYdEpmv.js +0 -4
- package/dist/kolibri/events-BIT-JUP2.js +0 -4
- package/dist/kolibri/field-control-Cs5VvsYo.js +0 -4
- package/dist/kolibri/group-uNo1CfbK.js +0 -4
- package/dist/kolibri/has-closer-B9NQY7BK.js +0 -4
- package/dist/kolibri/href-JqLbNBsW.js +0 -4
- package/dist/kolibri/i18n-Dl6Jjofb.js +0 -4
- package/dist/kolibri/i18n-DtLKn3Xt.js +0 -4
- package/dist/kolibri/id-CIYvVaNr.js +0 -4
- package/dist/kolibri/index-BKEJuyFi.js +0 -6
- package/dist/kolibri/input-Dja5Qioc.js +0 -4
- package/dist/kolibri/input-container-C2Am7LEP.js +0 -4
- package/dist/kolibri/item-C4AmpdVD.js +0 -4
- package/dist/kolibri/item-ConW1c81.js +0 -4
- package/dist/kolibri/item-D627ShRd.js +0 -4
- package/dist/kolibri/item-DIAFIFSy.js +0 -4
- package/dist/kolibri/item-pool-BOxAYePG.js +0 -4
- package/dist/kolibri/keyboard-Cnv7zP3N.js +0 -4
- package/dist/kolibri/kol-click-button.entry.js +0 -4
- package/dist/kolibri/kol-skeleton.entry.js +0 -4
- package/dist/kolibri/label-BRosRgdX.js +0 -4
- package/dist/kolibri/label-hints-Jn18RUT-.js +0 -4
- package/dist/kolibri/label-lang-segment-2_GnxjFp.js +0 -4
- package/dist/kolibri/label-with-expert-slot-CicRes-W.js +0 -4
- package/dist/kolibri/level-CA1s1_Mf.js +0 -4
- package/dist/kolibri/link-target-FX94oqMo.js +0 -4
- package/dist/kolibri/links-DwucTqcR.js +0 -4
- package/dist/kolibri/multiple-DqrZxybx.js +0 -4
- package/dist/kolibri/name-B2Yf3EpX.js +0 -4
- package/dist/kolibri/number-value-B-SJ1dRo.js +0 -4
- package/dist/kolibri/open-DRRv1KFK.js +0 -4
- package/dist/kolibri/open-items-cache-D-kml1h6.js +0 -4
- package/dist/kolibri/options-B0rBHetL.js +0 -4
- package/dist/kolibri/options-DCaUcfAu.js +0 -4
- package/dist/kolibri/orientation-XNOCaPwy.js +0 -4
- package/dist/kolibri/placeholder-BeLIzdJv.js +0 -4
- package/dist/kolibri/props-from-config-Ci0dILpz.js +0 -4
- package/dist/kolibri/read-only-Bby9r6ZX.js +0 -4
- package/dist/kolibri/required-hoaT7UmZ.js +0 -4
- package/dist/kolibri/resolve-props-BLZxWC3j.js +0 -4
- package/dist/kolibri/resolve-props-D2KiItuv.js +0 -4
- package/dist/kolibri/rows-B0x8CR7K.js +0 -4
- package/dist/kolibri/scroll-lock-Y2hf47KW.js +0 -4
- package/dist/kolibri/smart-button-CS_ZriPt.js +0 -4
- package/dist/kolibri/spell-check-DzgftyqL.js +0 -4
- package/dist/kolibri/src-DaGhmCL1.js +0 -4
- package/dist/kolibri/step-Bdj89bGO.js +0 -4
- package/dist/kolibri/suggestions-DuqzGDve.js +0 -4
- package/dist/kolibri/suggestions-Dy1X-Pc3.js +0 -4
- package/dist/kolibri/toggle-handler-BRLmxe1J.js +0 -4
- package/dist/kolibri/tooltip-open-tracking-D3tCiiGP.js +0 -4
- package/dist/kolibri/unique-nav-labels-h2KOu5Qy.js +0 -4
- package/dist/kolibri/unit-BUhhJbhT.js +0 -4
- package/dist/kolibri/validators-BVM40IEr.js +0 -4
- package/dist/kolibri/value-string-e9pwLcS-.js +0 -4
- package/dist/kolibri/width-CgYY17tL.js +0 -4
- package/dist/types/components/click-button/component.d.ts +0 -15
- package/dist/types/components/skeleton/component.d.ts +0 -26
- package/dist/types/internal/functional-components/click-button/api.d.ts +0 -15
- package/dist/types/internal/functional-components/click-button/component.d.ts +0 -4
- package/dist/types/internal/functional-components/skeleton/api.d.ts +0 -29
- package/dist/types/internal/functional-components/skeleton/component.d.ts +0 -4
- package/dist/types/schema/props/table-header-cells.d.ts +0 -11
- package/doc/skeleton.md +0 -54
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as e,proxyCustomElement as o,Host as t,transformTag as i}from"@stencil/core/internal/client";import{_ as n}from"./tslib.es6.js";import{h as l}from"./component-names.js";import{B as r}from"./base-web-component.js";import{b as a}from"./bem-registry.js";import{c as s,n as c,d as h}from"./props-from-config.js";import{h as d}from"./href.js";import{l as f}from"./label-lang-segment.js";import{I as k}from"./component5.js";import{l as b,L as m,a as p}from"./component6.js";import{r as u}from"./component7.js";import{o as g}from"./open.js";import{c as v}from"./dev.utils.js";import{c as _,e as y}from"./element-interaction.js";import{d as x,K as w}from"./events.js";import{o as j}from"./ariaCurrentService.js";import{i as C}from"./open-items-cache.js";const T=s("active",!1,c),z={required:[d,f],optional:[T]},A=a.forBlock("kol-tree-item"),I=A(),O=A("children"),B=A("link-inner"),S=A("text"),G=A("toggle-button"),L=A("toggle-button-icon"),E=A("toggle-button-placeholder"),H=Object.freeze(h(b)),P=()=>{},F=({active:o,ariaCurrent:t,groupId:i,handleAnchorClick:n,handleSlotchange:l,handleToggleClick:r,hasChildren:a,href:s,label:c,level:h,open:d,refAnchor:f})=>e("li",{class:I,role:"none",style:{"--level":""+h}},e("span",{class:A("link",{active:o,"first-level":0===h})},e(m,Object.assign({},H,{ariaCurrent:t,ariaDescriptionId:"",ariaExpanded:a?d?"true":"false":"",ariaOwns:a?i:"",expertSlot:!0,handleAnchorClick:n,href:s,label:"",refAnchor:f,refTooltip:P,role:"treeitem",tabIndex:o?0:-1}),e("span",{class:B},a?e("span",{class:G,onClick:r},e(k,{class:L,icons:"kolicon kolicon-"+(d?"chevron-down":"chevron-right"),label:""})):e("span",{class:E}),e("span",{class:S},u(c))))),e("ul",{class:O,hidden:!a||!d,role:"group",id:i},e("slot",{onSlotchange:l}))),D=o(class extends r{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaCurrent="",this.groupId=v("tree-group"),this.hasChildren=!1,this.level=0,this.open=!1,this.anchorRef=_(),this.propsConfig=z,this._active=void 0,this._open=void 0,this.handleAnchorClick=()=>{this.host&&x(this.host,w.click,this.getRenderProp("href"))},this.handleSlotchange=()=>{this.checkForChildren()},this.handleToggleClick=e=>{e.preventDefault();const o=this.open;this.focus().then((()=>this.setOpen(!o)))}}watchActive(e){T.apply(e,(e=>this.setRenderProp("active",e)))}watchLabel(e){f.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label"))}watchOpen(e){g.apply(e,(e=>this.open=e))}watchHref(e){d.apply(e,(e=>this.setRenderProp("href",e)),this.isRequired("href"))}focus(e){return Promise.resolve()}expand(){return this.setOpen(!0),Promise.resolve()}collapse(){return this.setOpen(!1),Promise.resolve()}isOpen(){return Promise.resolve(this.open)}componentWillLoad(){this.watchActive(this._active),this.watchHref(this._href),this.watchLabel(this._label),this.watchOpen(this._open),this.checkForChildren(),this.determineTreeItemDepth(),this.unsubscribeOnLocationChange=j((e=>{const o=e===this.getRenderProp("href")?p.getDefaultValue():"";this.ariaCurrent!==o&&(this.ariaCurrent=o)}))}disconnectedCallback(){this.unsubscribeOnLocationChange&&(this.unsubscribeOnLocationChange(),this.unsubscribeOnLocationChange=void 0)}determineTreeItemDepth(){var e,o;let t=0,i=null!==(o=null===(e=this.host)||void 0===e?void 0:e.parentElement)&&void 0!==o?o:null;for(;null!==i&&i.tagName.toLowerCase()!==l&&i!==document.body;)i=i.parentElement,t+=1;this.level=t}checkForChildren(){var e,o;this.hasChildren=Array.from(null!==(o=null===(e=this.host)||void 0===e?void 0:e.children)&&void 0!==o?o:[]).some((e=>!e.slot))}getTree(){var e;let o=this.host;for(;o;){const t=o.closest(l);if(t)return t;const i=null===(e=o.getRootNode())||void 0===e?void 0:e.host;if(!i||i===document.body)break;o=i}}setOpen(e){this.hasChildren&&(this.open=e,C(this.getTree()))}render(){return e(t,{key:"52b3ee0d7b7d593abeaf27e782a5e3ed384d710f"},e(F,{key:"8acfdb55c45f3245ca7df0839c734188dcaea5bd",active:this.getRenderProp("active"),ariaCurrent:this.ariaCurrent,groupId:this.groupId,handleAnchorClick:this.handleAnchorClick,handleSlotchange:this.handleSlotchange,handleToggleClick:this.handleToggleClick,hasChildren:this.hasChildren,href:this.getRenderProp("href"),label:this.getRenderProp("label"),level:this.level,open:this.open,refAnchor:this.anchorRef}))}get host(){return this}static get watchers(){return{_active:[{watchActive:0}],_label:[{watchLabel:0}],_open:[{watchOpen:0}],_href:[{watchHref:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794497133718"); src: url("kolicons.eot?t=1794497133718#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794497133718") format("woff2"), url("kolicons.woff?t=1794497133718") format("woff"), url("kolicons.ttf?t=1794497133718") format("truetype"), url("kolicons.svg?t=1794497133718#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tree-item__link .kol-link { display: inline-flex; width: 100%; min-height: var(--a11y-min-size); align-items: center; text-decoration: none; } .kol-tree-item__link .kol-link__interactive-element { flex: 1 1 auto; text-decoration: none; } .kol-tree-item__link-inner { display: flex; align-items: center; } .kol-tree-item__children { margin: 0; padding: 0; list-style: none; } .kol-tree-item .kol-span { place-items: unset; } .kol-tree-item__toggle-button, .kol-tree-item__toggle-button-placeholder { display: inline-flex; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; } .kol-tree-item__text { text-decoration: underline; } }'}}},[545,"kol-tree-item",{_active:[4],_label:[1],_open:[4],_href:[1],ariaCurrent:[32],groupId:[32],hasChildren:[32],level:[32],open:[32],focus:[64],expand:[64],collapse:[64],isOpen:[64]},void 0,{_active:[{watchActive:0}],_label:[{watchLabel:0}],_open:[{watchOpen:0}],_href:[{watchHref:0}]}]);n([y("anchorRef")],D.prototype,"focus",null);const q=D,K=function(){"undefined"!=typeof customElements&&["kol-tree-item"].forEach((e=>{"kol-tree-item"===e&&(customElements.get(i(e))||customElements.define(i(e),D))}))};export{q as KolTreeItem,K as defineCustomElement}
|
|
4
|
+
import{h as e,p as o,t,H as i}from"./common.js";import{_ as n}from"./tslib.es6.js";import{d as l}from"./component-names.js";import{c as r,n as a,e as s,B as c,a as h}from"./base-web-component.js";import{h as d}from"./link-target.js";import{l as k}from"./label-lang-segment.js";import{b as m}from"./bem-registry.js";import{I as b}from"./component3.js";import{l as f,L as u,a as p}from"./component4.js";import{r as g}from"./component5.js";import{o as v}from"./open.js";import{c as _}from"./dev.utils.js";import{c as y,e as x}from"./element-interaction.js";import{d as w,K as C}from"./events.js";import{o as j}from"./ariaCurrentService.js";import{i as T}from"./open-items-cache.js";const z=r("active",!1,a),A={required:[d,k],optional:[z]},I=m.forBlock("kol-tree-item"),O=I("children"),B=I("link-inner"),S=I("text"),G=I("toggle-button"),H=I("toggle-button-icon"),L=I("toggle-button-placeholder"),E=Object.freeze(s(f)),P=()=>{},F=({active:o,ariaCurrent:t,groupId:i,handleAnchorClick:n,handleSlotchange:l,handleToggleClick:r,hasChildren:a,href:s,label:h,level:d,open:k,refAnchor:m})=>e(c,{component:"li",block:"kol-tree-item",role:"none",style:{"--level":""+d}},e("span",{class:I("link",{active:o,"first-level":0===d})},e(u,Object.assign({},E,{ariaCurrent:t,ariaDescriptionId:"",ariaExpanded:a?k?"true":"false":"",ariaOwns:a?i:"",expertSlot:!0,handleAnchorClick:n,href:s,label:"",refAnchor:m,refTooltip:P,role:"treeitem",tabIndex:o?0:-1}),e("span",{class:B},a?e("span",{class:G,onClick:r},e(b,{class:H,icons:"kolicon kolicon-"+(k?"chevron-down":"chevron-right"),label:""})):e("span",{class:L}),e("span",{class:S},g(h))))),e("ul",{class:O,hidden:!a||!k,role:"group",id:i},e("slot",{onSlotchange:l}))),D=o(class extends h{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ariaCurrent="",this.groupId=_("tree-group"),this.hasChildren=!1,this.level=0,this.open=!1,this.anchorRef=y(),this.propsConfig=A,this._active=void 0,this._open=void 0,this.handleAnchorClick=()=>{this.host&&w(this.host,C.click,this.getRenderProp("href"))},this.handleSlotchange=()=>{this.checkForChildren()},this.handleToggleClick=e=>{e.preventDefault();const o=this.open;this.focus().then((()=>this.setOpen(!o)))}}watchActive(e){z.apply(e,(e=>this.setRenderProp("active",e)))}watchLabel(e){k.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label"))}watchOpen(e){v.apply(e,(e=>{this.open=e,T(this.getTree())}))}watchHref(e){d.apply(e,(e=>this.setRenderProp("href",e)),this.isRequired("href"))}focus(e){return Promise.resolve()}expand(){return this.setOpen(!0),Promise.resolve()}collapse(){return this.setOpen(!1),Promise.resolve()}isOpen(){return Promise.resolve(this.open)}componentWillLoad(){this.watchActive(this._active),this.watchHref(this._href),this.watchLabel(this._label),this.watchOpen(this._open),this.checkForChildren(),this.determineTreeItemDepth(),this.unsubscribeOnLocationChange=j((e=>{const o=e===this.getRenderProp("href")?p.getDefaultValue():"";this.ariaCurrent!==o&&(this.ariaCurrent=o)}))}disconnectedCallback(){this.unsubscribeOnLocationChange&&(this.unsubscribeOnLocationChange(),this.unsubscribeOnLocationChange=void 0)}determineTreeItemDepth(){var e,o;let i=0,n=null!==(o=null===(e=this.host)||void 0===e?void 0:e.parentElement)&&void 0!==o?o:null;for(;null!==n&&n.tagName.toLowerCase()!==t(l)&&n!==document.body;)n=n.parentElement,i+=1;this.level=i}checkForChildren(){var e,o;this.hasChildren=Array.from(null!==(o=null===(e=this.host)||void 0===e?void 0:e.children)&&void 0!==o?o:[]).some((e=>!e.slot))}getTree(){var e;let o=this.host;for(;o;){const i=o.closest(t(l));if(i)return i;const n=null===(e=o.getRootNode())||void 0===e?void 0:e.host;if(!n||n===document.body)break;o=n}}setOpen(e){this.hasChildren&&(this.open=e,T(this.getTree()))}render(){return e(i,{key:"31c2c0115e2844615bf49e218085aeb45482f080"},e(F,{key:"4116171168d0a9af8409866044eb70d3182d2dab",active:this.getRenderProp("active"),ariaCurrent:this.ariaCurrent,groupId:this.groupId,handleAnchorClick:this.handleAnchorClick,handleSlotchange:this.handleSlotchange,handleToggleClick:this.handleToggleClick,hasChildren:this.hasChildren,href:this.getRenderProp("href"),label:this.getRenderProp("label"),level:this.level,open:this.open,refAnchor:this.anchorRef}))}get host(){return this}static get watchers(){return{_active:[{watchActive:0}],_label:[{watchLabel:0}],_open:[{watchOpen:0}],_href:[{watchHref:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tree-item__link .kol-link { display: inline-flex; width: 100%; min-height: var(--a11y-min-size); align-items: center; text-decoration: none; } .kol-tree-item__link .kol-link__interactive-element { flex: 1 1 auto; text-decoration: none; } .kol-tree-item__link-inner { display: flex; align-items: center; } .kol-tree-item__children { margin: 0; padding: 0; list-style: none; } .kol-tree-item .kol-span { place-items: unset; } .kol-tree-item__toggle-button, .kol-tree-item__toggle-button-placeholder { display: inline-flex; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; } .kol-tree-item__text { text-decoration: underline; } }'}}},[545,"kol-tree-item",{_active:[4],_label:[1],_open:[4],_href:[1],ariaCurrent:[32],groupId:[32],hasChildren:[32],level:[32],open:[32],focus:[64],expand:[64],collapse:[64],isOpen:[64]},void 0,{_active:[{watchActive:0}],_label:[{watchLabel:0}],_open:[{watchOpen:0}],_href:[{watchHref:0}]}]);n([x("anchorRef")],D.prototype,"focus",null);const q=D,K=function(){"undefined"!=typeof customElements&&["kol-tree-item"].forEach((e=>{"kol-tree-item"===e&&(customElements.get(t(e))||customElements.define(t(e),D))}))};export{q as KolTreeItem,K as defineCustomElement}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as e,proxyCustomElement as t,Host as o,transformTag as i}from"@stencil/core/internal/client";import{g as a,h as l}from"./component-names.js";import{B as n}from"./base-web-component.js";import{b as r}from"./bem-registry.js";import"./props-from-config.js";import{l as s}from"./label.js";import{d}from"./element-focus.js";import{r as c,u as h}from"./open-items-cache.js";const u={required:[s]},b=r.forBlock("kol-tree"),m=b(),k=b("treeview-navigation"),f=({handleSlotchange:t,label:o})=>e("nav",{class:m,"aria-label":o},e("ul",{class:k,role:"tree","aria-label":o},e("slot",{onSlotchange:t}))),p=e=>(null==e?void 0:e.tagName)===a.toUpperCase(),v=t(class extends n{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.cacheValid=!1,this.propsConfig=u,this.invalidateOpenItemsCache=()=>{this.cacheValid=!1},this.handleSlotchange=()=>{this.observeTopLevelItems(),this.scheduleTreeChange()}}watchLabel(e){s.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label"))}async focus(e){this.host&&await d(this.host,(async()=>{var t;const o=await this.getOpenTreeItemElements();await(null===(t=null==o?void 0:o[0])||void 0===t?void 0:t.focus(e))}))}connectedCallback(){this.host&&c(this.host,this.invalidateOpenItemsCache)}componentWillLoad(){this.watchLabel(this._label),this.handleTreeChange(),this.observeChildListMutations()}disconnectedCallback(){var e;this.host&&h(this.host),null===(e=this.observer)||void 0===e||e.disconnect(),void 0!==this.rafHandle&&(cancelAnimationFrame(this.rafHandle),this.rafHandle=void 0)}async handleKeyDown(e){var t,o,i,l,n,r,s,d,c,h;const u=await this.getOpenTreeItemElements(),b=null===(t=document.activeElement)||void 0===t?void 0:t.closest(a),m=e.metaKey||e.altKey||e.ctrlKey||e.shiftKey;if(!u||!b)return;const k=u.findIndex((e=>e===b));switch(e.key){case"ArrowDown":await(null===(o=u[k+1])||void 0===o?void 0:o.focus()),e.preventDefault();break;case"ArrowUp":await(null===(i=u[k-1])||void 0===i?void 0:i.focus()),e.preventDefault();break;case"Right":case"ArrowRight":e.preventDefault(),await b.isOpen()?await(null===(l=u[k+1])||void 0===l?void 0:l.focus()):await b.expand();break;case"Left":case"ArrowLeft":if(e.preventDefault(),await b.isOpen())await b.collapse();else{const e=b.parentElement,t=e?u.indexOf(e):-1;-1!==t&&await(null===(n=u[t])||void 0===n?void 0:n.focus())}break;case"Home":await(null===(r=u[0])||void 0===r?void 0:r.focus()),e.preventDefault();break;case"End":await(null===(s=u[u.length-1])||void 0===s?void 0:s.focus()),e.preventDefault();break;case null===(d=e.key.match(/^[a-zA-Z0-9]$/))||void 0===d?void 0:d.input:if(!m){const t=e.key.toLowerCase(),o=k+1,i=e=>{var o,i;return null!==(i=null===(o=e.getAttribute("_label"))||void 0===o?void 0:o.trim().toLowerCase().startsWith(t))&&void 0!==i&&i};let a=u.slice(o).findIndex(i);-1===a?a=u.slice(0,o).findIndex(i):a+=o,-1!==a&&(await(null===(c=u[a])||void 0===c?void 0:c.focus()),e.preventDefault())}break;case"*":{const e=null===(h=b.parentElement)||void 0===h?void 0:h.querySelectorAll(a);null==e||e.forEach((e=>{e.expand()}));break}}}handleFocusIn(e){var t;e.target!==this.host||(null===(t=document.activeElement)||void 0===t?void 0:t.closest(a))||requestAnimationFrame((()=>{this.focus()}))}handleFocusOut(e){e.relatedTarget&&!e.relatedTarget.closest(l)&&this.ensureActiveItemVisibility()}observeChildListMutations(){this.observer=new MutationObserver((()=>this.scheduleTreeChange())),this.observeTopLevelItems()}observeTopLevelItems(){this.getTopLevelTreeItems().forEach((e=>{var t;null===(t=this.observer)||void 0===t||t.observe(e,{childList:!0,subtree:!0})}))}scheduleTreeChange(){this.rafHandle&&cancelAnimationFrame(this.rafHandle),this.rafHandle=requestAnimationFrame((()=>{this.handleTreeChange()}))}getTopLevelTreeItems(){var e,t;return Array.from(null!==(t=null===(e=this.host)||void 0===e?void 0:e.children)&&void 0!==t?t:[]).filter((e=>p(e)&&!e.slot))}handleTreeChange(){this.treeItemElements=this.getTreeItemElements(),this.cacheValid=!1,this.ensureActiveItemVisibility()}getTreeItemElements(){return this.getTopLevelTreeItems().reduce(((e,t)=>{const o=t.querySelectorAll(a);return[...e,t,...o]}),[])}async getOpenTreeItemElements(){if(!this.treeItemElements)return;if(this.cacheValid&&this.cachedOpenItems)return this.cachedOpenItems;const e=async e=>{let t=e.parentElement;for(;p(t);){if(!await t.isOpen())return!1;t=t.parentElement}return!0};return this.cachedOpenItems=await Promise.all(this.treeItemElements.map((async t=>({item:t,isOpen:await e(t)})))).then((e=>e.filter((({isOpen:e})=>e)).map((({item:e})=>e)))),this.cacheValid=!0,this.cachedOpenItems}ensureActiveItemVisibility(){const e=t=>{p(t.parentElement)&&(t.parentElement.expand(),e(t.parentElement))},t=(()=>{for(const e of this.getTopLevelTreeItems()){if(e._active)return e;const t=e.querySelector(a+'[_active="true"]');if(null==t?void 0:t._active)return t}})();t&&e(t)}render(){return e(o,{key:"46407a67efb548149a62e371713e0da8ec352863",tabindex:"0"},e(f,{key:"2725ae9400123f266b59b8c45b82eac3b83cf5f3",handleSlotchange:this.handleSlotchange,label:this.getRenderProp("label")}))}get host(){return this}static get watchers(){return{_label:[{watchLabel:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-tree__treeview-navigation { margin: 0; padding: 0; list-style: none; } .kol-tree:focus-within { outline: 1px solid; outline-offset: 2px; } }'}}},[545,"kol-tree",{_label:[1],focus:[64]},[[0,"keydown","handleKeyDown"],[0,"focusin","handleFocusIn"],[0,"focusout","handleFocusOut"]],{_label:[{watchLabel:0}]}]),g=v,w=function(){"undefined"!=typeof customElements&&["kol-tree"].forEach((e=>{"kol-tree"===e&&(customElements.get(i(e))||customElements.define(i(e),v))}))};export{g as KolTree,w as defineCustomElement}
|
|
4
|
+
import{h as e,p as t,t as o,H as i}from"./common.js";import{c as a,d as l}from"./component-names.js";import{B as r,a as n}from"./base-web-component.js";import{l as s}from"./label.js";import{b as d}from"./bem-registry.js";import{d as c}from"./element-focus.js";import{r as u,u as h}from"./open-items-cache.js";const b={required:[s]},m=d.forBlock("kol-tree")("treeview-navigation"),k=({handleSlotchange:t,label:o})=>e(r,{component:"nav",block:"kol-tree","aria-label":o},e("ul",{class:m,role:"tree","aria-label":o},e("slot",{onSlotchange:t}))),v=e=>(null==e?void 0:e.tagName)===o(a).toUpperCase(),p=t(class extends n{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.cacheValid=!1,this.propsConfig=b,this.invalidateOpenItemsCache=()=>{this.cacheValid=!1},this.handleSlotchange=()=>{this.observeTopLevelItems(),this.scheduleTreeChange()}}watchLabel(e){s.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label"))}async focus(e){this.host&&await c(this.host,(async()=>{var t;const o=await this.getOpenTreeItemElements();await(null===(t=null==o?void 0:o[0])||void 0===t?void 0:t.focus(e))}))}connectedCallback(){this.host&&u(this.host,this.invalidateOpenItemsCache)}componentWillLoad(){this.watchLabel(this._label),this.handleTreeChange(),this.observeChildListMutations()}disconnectedCallback(){var e;this.host&&h(this.host),null===(e=this.observer)||void 0===e||e.disconnect(),void 0!==this.rafHandle&&(cancelAnimationFrame(this.rafHandle),this.rafHandle=void 0)}async handleKeyDown(e){var t,i,l,r,n,s,d,c,u,h;if("Tab"===e.key&&e.shiftKey&&e.target!==this.host)return void(null===(t=this.host)||void 0===t||t.setAttribute("tabindex","-1"));const b=e.composedPath().find(v),m=await this.getOpenTreeItemElements(),k=e.metaKey||e.altKey||e.ctrlKey||e.shiftKey;if(!m||!b)return;const p=m.findIndex((e=>e===b));switch(e.key){case"ArrowDown":await(null===(i=m[p+1])||void 0===i?void 0:i.focus()),e.preventDefault();break;case"ArrowUp":await(null===(l=m[p-1])||void 0===l?void 0:l.focus()),e.preventDefault();break;case"Right":case"ArrowRight":e.preventDefault(),await b.isOpen()?await(null===(r=m[p+1])||void 0===r?void 0:r.focus()):await b.expand();break;case"Left":case"ArrowLeft":if(e.preventDefault(),await b.isOpen())await b.collapse();else{const e=b.parentElement,t=e?m.indexOf(e):-1;-1!==t&&await(null===(n=m[t])||void 0===n?void 0:n.focus())}break;case"Home":await(null===(s=m[0])||void 0===s?void 0:s.focus()),e.preventDefault();break;case"End":await(null===(d=m[m.length-1])||void 0===d?void 0:d.focus()),e.preventDefault();break;case null===(c=e.key.match(/^[a-zA-Z0-9]$/))||void 0===c?void 0:c.input:if(!k){const t=e.key.toLowerCase(),o=p+1,i=e=>{var o,i;return null!==(i=null===(o=e.getAttribute("_label"))||void 0===o?void 0:o.trim().toLowerCase().startsWith(t))&&void 0!==i&&i};let a=m.slice(o).findIndex(i);-1===a?a=m.slice(0,o).findIndex(i):a+=o,-1!==a&&(await(null===(u=m[a])||void 0===u?void 0:u.focus()),e.preventDefault())}break;case"*":{const e=null===(h=b.parentElement)||void 0===h?void 0:h.querySelectorAll(o(a));null==e||e.forEach((e=>{e.expand()}));break}}}handleFocusIn(e){e.target!==this.host||this.isWithinTree(e.relatedTarget)||requestAnimationFrame((()=>{this.focus()}))}handleFocusOut(e){var t;this.isWithinTree(e.relatedTarget)||null===(t=this.host)||void 0===t||t.setAttribute("tabindex","0"),e.relatedTarget&&!e.relatedTarget.closest(o(l))&&this.ensureActiveItemVisibility()}isWithinTree(e){var t,o;return e instanceof Node&&e!==this.host&&null!==(o=null===(t=this.host)||void 0===t?void 0:t.contains(e))&&void 0!==o&&o}observeChildListMutations(){this.observer=new MutationObserver((()=>this.scheduleTreeChange())),this.observeTopLevelItems()}observeTopLevelItems(){this.getTopLevelTreeItems().forEach((e=>{var t;null===(t=this.observer)||void 0===t||t.observe(e,{childList:!0,subtree:!0})}))}scheduleTreeChange(){this.rafHandle&&cancelAnimationFrame(this.rafHandle),this.rafHandle=requestAnimationFrame((()=>{this.handleTreeChange()}))}getTopLevelTreeItems(){var e,t;return Array.from(null!==(t=null===(e=this.host)||void 0===e?void 0:e.children)&&void 0!==t?t:[]).filter((e=>v(e)&&!e.slot))}handleTreeChange(){this.treeItemElements=this.getTreeItemElements(),this.cacheValid=!1,this.ensureActiveItemVisibility()}getTreeItemElements(){return this.getTopLevelTreeItems().reduce(((e,t)=>{const i=t.querySelectorAll(o(a));return[...e,t,...i]}),[])}async getOpenTreeItemElements(){if(!this.treeItemElements)return;if(this.cacheValid&&this.cachedOpenItems)return this.cachedOpenItems;const e=async e=>{let t=e.parentElement;for(;v(t);){if(!await t.isOpen())return!1;t=t.parentElement}return!0};return this.cachedOpenItems=await Promise.all(this.treeItemElements.map((async t=>({item:t,isOpen:await e(t)})))).then((e=>e.filter((({isOpen:e})=>e)).map((({item:e})=>e)))),this.cacheValid=!0,this.cachedOpenItems}ensureActiveItemVisibility(){const e=t=>{v(t.parentElement)&&(t.parentElement.expand(),e(t.parentElement))},t=(()=>{for(const e of this.getTopLevelTreeItems()){if(e._active)return e;const t=e.querySelector(o(a)+'[_active="true"]');if(null==t?void 0:t._active)return t}})();t&&e(t)}render(){return e(i,{key:"f8b8c1959715fb38cbb12d45aeae94df1ce5046d",tabindex:"0"},e(k,{key:"25e425d9e3b8d682cf1bd48693d6a3da4d2905c1",handleSlotchange:this.handleSlotchange,label:this.getRenderProp("label")}))}get host(){return this}static get watchers(){return{_label:[{watchLabel:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-tree__treeview-navigation { margin: 0; padding: 0; list-style: none; } .kol-tree:focus-within { outline: 1px solid; outline-offset: 2px; } }'}}},[545,"kol-tree",{_label:[1],focus:[64]},[[0,"keydown","handleKeyDown"],[0,"focusin","handleFocusIn"],[0,"focusout","handleFocusOut"]],{_label:[{watchLabel:0}]}]),f=p,g=function(){"undefined"!=typeof customElements&&["kol-tree"].forEach((e=>{"kol-tree"===e&&(customElements.get(o(e))||customElements.define(o(e),p))}))};export{f as KolTree,g as defineCustomElement}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as o,
|
|
4
|
+
import{h as o,p as e,H as t,t as n}from"./common.js";import{t as l}from"./i18n.js";import{B as a,a as r}from"./base-web-component.js";import{l as i}from"./label.js";import{B as c}from"./component13.js";import{c as s}from"./contrast.js";const d={required:[i]},b=({class:e,color:t,icons:n,label:l})=>o(a,{block:"kol-version",class:e},o(c,{color:t,icons:n,label:l})),k=s("#bec5c9"),f={backgroundColor:k.background,foregroundColor:k.foreground},u={left:{icon:"kolicon-version",label:l("kol-version")}},m=e(class extends r{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.propsConfig=d}watchLabel(o){i.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}componentWillLoad(){i.apply(this._label,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}render(){return o(t,{key:"dc73bdd05c397b0a19864b8914ad88e8328d03a1"},o(b,{key:"9fd2c1082e58750ada4e9df753abe6f2998947a1",color:f,icons:u,label:this.getRenderProp("label")}))}static get watchers(){return{_label:[{watchLabel:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-badge { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: flex; align-items: center; justify-content: space-between; } .kol-badge > br { user-select: none; } }'}}},[545,"kol-version",{_label:[1]},void 0,{_label:[{watchLabel:0}]}]),h=m,p=function(){"undefined"!=typeof customElements&&["kol-version"].forEach((o=>{"kol-version"===o&&(customElements.get(n(o))||customElements.define(n(o),m))}))};export{h as KolVersion,p as defineCustomElement}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{
|
|
4
|
+
import{B as a,C as e}from"./common.js";import{t as s,s as o,u as r}from"./base-web-component.js";function t(t,n){const l="string"==typeof n?n:Array.isArray(n)?s(n):"";""!==l&&(!1===o(l,3)&&!1===r(l)&&a(`The heading or label ("${l}") is inaccessible. A label should consist of at least three readable characters.`),l.length>80&&e("A heading or label should not be longer than 80 characters."))}export{t as l}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{c as
|
|
4
|
+
import"./common.js";import{c as o,p as s,q as a}from"./base-web-component.js";import{l as m}from"./label-hints.js";const t=o("label",void 0,a,s,{hints:m});export{t as l}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{c as
|
|
4
|
+
import"./common.js";import{c as o,q as s}from"./base-web-component.js";import{b as a}from"./validators.js";import{l as m}from"./label-hints.js";const t=o("label","",s,a,{hints:m});export{t as l}
|
package/dist/components/label.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{c as o,
|
|
4
|
+
import"./common.js";import{c as o,d as s}from"./base-web-component.js";import{c as a}from"./validators.js";import{l as m}from"./label-hints.js";const t=o("label",void 0,s,a,{hints:m});export{t as l}
|
package/dist/components/level.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{c as o,
|
|
4
|
+
import"./common.js";import{c as o,v as s}from"./base-web-component.js";const e=[0,1,2,3,4,5,6],m=o("level",0,(o=>s(o)),(o=>e.includes(o)));export{m as l}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{c as o,
|
|
4
|
+
import"./common.js";import{c as o,d as s}from"./base-web-component.js";const t=o("href","",s,(o=>"string"==typeof o)),e=o("target","",s);export{t as h,e as l}
|
package/dist/components/links.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{
|
|
4
|
+
import{V as o}from"./common.js";import{c as t,h as n}from"./base-web-component.js";function s(s){return t("links",[],(o=>n(o)),(o=>o.every((o=>"object"==typeof o&&null!==o&&("string"==typeof o._href||"string"==typeof o._label)))),{hints:(t,n)=>o(s,n.length)})}export{s as c}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{c as n,
|
|
4
|
+
import"./common.js";import{c as n,F as r,G as o}from"./base-web-component.js";const t=n("max",void 0,r),u=n("min",void 0,r),a=n("value",void 0,r);function s(n){return o(n)?"NumberString":"number"!=typeof n||isNaN(n)?"null":"number"}function e(n,r){return null==n?null:"NumberString"===r?String(n):n}function i(n){return""===n?null:Number(n)}function m(n,r,o){const t=parseFloat(n);return o&&t>o?o:r&&t<r?r:t}export{u as a,a as b,m as c,s as g,t as i,i as p,e as r}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
const a=new WeakMap,
|
|
4
|
+
import"./common.js";const a=new WeakMap,o=(o,s)=>{a.set(o,s)},s=o=>{a.delete(o)},n=o=>{var s;o&&(null===(s=a.get(o))||void 0===s||s())};export{n as i,o as r,s as u}
|
package/dist/components/open.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
const t=(e,
|
|
4
|
+
import"./common.js";const t=(o,e,n="")=>{e.forEach(((e,r)=>{const c=`${n}-${r}`;"object"==typeof e&&null!==e&&"string"==typeof e.label&&e.label.length>0&&(Array.isArray(e.options)?t(o,e.options,c):o.set(c,e))}))},o=t=>t.map((t=>{var o;return"object"==typeof t&&null!==t&&"string"==typeof t.label?Object.assign(Object.assign({},t),{value:null!==(o=t.value)&&void 0!==o?o:t.label}):t}));export{t as f,o as n}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{
|
|
4
|
+
import{O as o}from"./common.js";import{c as t}from"./base-web-component.js";const r=o=>{const t=(o=>"object"==typeof o&&null!==o?o.label:void 0)(o);return"string"==typeof t&&t.length>0||"number"==typeof t&&Number.isFinite(t)};function n(){return t("options",[],(t=>{const n="string"==typeof t?o(t):t;if(Array.isArray(n)&&n.every(r)){const o=n;return o.some((o=>"number"==typeof o.label))?o.map((o=>Object.assign(Object.assign({},o),{label:String(o.label)}))):o}throw new Error("Invalid options")}))}export{n as c}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{
|
|
4
|
+
import"./common.js";import{d as o,c as n}from"./base-web-component.js";const t=["horizontal","vertical"];function r(n){const r=o(n);if(t.includes(r))return r;throw new Error(`Invalid orientation: ${r}`)}const i=n("orientation","horizontal",r);export{r as n,i as o}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{c as o,
|
|
4
|
+
import"./common.js";import{c as o,d as s}from"./base-web-component.js";const e=o("placeholder",void 0,s);export{e as p}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{X as a}from"./
|
|
4
|
+
import{X as a}from"./common.js";import{a as o,b as s,c as i,g as t,j as n,h as e,i as l,l as r,d as m,s as d,e as p,t as c,v as u}from"./component6.js";import{b,a as v,c as f,d as j,n as h}from"./component9.js";import{d as x}from"./disabled.js";import{i as y}from"./id.js";import{e as g}from"./base-web-component.js";import{l as w}from"./label-with-expert-slot.js";function C(C,D){var K,A,E,I,L,S,V;const k=g(b),q=a=>o=>{k[a]=o};return w.apply(C._label,q("label")),o.apply(C._accessKey,q("accessKey")),s.apply(C._ariaControls,q("ariaControls")),i.apply(C._ariaDescription,q("ariaDescription")),t.apply(C._ariaExpanded,q("ariaExpanded")),v.apply(C._ariaSelected,q("ariaSelected")),f.apply(C._on,q("on")),j.apply(null!==(K=C._type)&&void 0!==K?K:"button",q("type")),n.apply(C._customClass,q("customClass")),x.apply(null!==(A=C._disabled)&&void 0!==A&&A,q("disabled")),e.apply(null!==(E=C._hideLabel)&&void 0!==E&&E,q("hideLabel")),y.apply(C._id,q("id")),l.apply(null!==(I=C._inline)&&void 0!==I&&I,q("inline")),r.apply(C._role,q("role")),h.apply(C._name,q("name")),m.apply(C._shortKey,q("shortKey")),d.apply(C._icons,q("icons")),p.apply(null!==(L=C._tooltipAlign)&&void 0!==L?L:"top",q("tooltipAlign")),"number"==typeof C._tabIndex?c.apply(C._tabIndex,q("tabIndex")):k.tabIndex=void 0,u.apply(null!==(V=null!==(S=C._variant)&&void 0!==S?S:a("buttonVariantDefault",D))&&void 0!==V?V:"normal",q("variant")),k}export{C as r}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{v as a}from"./access-and-short-key.js";import
|
|
4
|
+
import"./common.js";import{v as a}from"./access-and-short-key.js";import{a as s,b as o,c as r,g as t,j as e,h as i,s as n,i as l,l as m,d,e as p,v as c,t as b}from"./component6.js";import{l as f,a as u,c as j,d as v,b as h}from"./component4.js";import{d as g}from"./disabled.js";import{h as w,l as x}from"./link-target.js";import{e as y}from"./base-web-component.js";import{l as C}from"./label-with-expert-slot.js";function k(k){var K,A,D,E;const I=y(f),L=a=>s=>{I[a]=s};return w.apply(k._href,L("href")),s.apply(k._accessKey,L("accessKey")),o.apply(k._ariaControls,L("ariaControls")),u.apply(k._ariaCurrentValue,L("ariaCurrentValue")),r.apply(k._ariaDescription,L("ariaDescription")),t.apply(k._ariaExpanded,L("ariaExpanded")),j.apply(k._ariaOwns,L("ariaOwns")),e.apply(k._customClass,L("customClass")),g.apply(null!==(K=k._disabled)&&void 0!==K&&K,L("disabled")),v.apply(k._download,L("download")),i.apply(null!==(A=k._hideLabel)&&void 0!==A&&A,L("hideLabel")),n.apply(k._icons,L("icons")),l.apply(null===(D=k._inline)||void 0===D||D,L("inline")),C.apply(k._label,L("label")),h.apply(k._on,L("on")),m.apply(k._role,L("role")),d.apply(k._shortKey,L("shortKey")),x.apply(k._target,L("target")),p.apply(null!==(E=k._tooltipAlign)&&void 0!==E?E:"right",L("tooltipAlign")),c.apply(k._variant,L("variant")),"number"==typeof k._tabIndex?b.apply(k._tabIndex,L("tabIndex")):I.tabIndex=void 0,a(k._accessKey,k._shortKey),I}export{k as r}
|
package/dist/components/rows.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{c as o,
|
|
4
|
+
import"./common.js";import{c as o,m as s}from"./base-web-component.js";const m=o("rows",void 0,s,(o=>o>=1));export{m as r}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as o}from"
|
|
4
|
+
import{h as o}from"./common.js";import{b as e}from"./bem-registry.js";import{f as l,B as n}from"./base-web-component.js";const a=e.forBlock("kol-dialog"),d=e.forBlock("kol-modal"),i=(e,i)=>{const{class:t,elementClass:r,handleCancel:s,handleClose:f,label:c,labelledBy:m,modal:u,refDialog:w,variant:p,width:b}=e;return void 0!==p?o(n,{component:"dialog","aria-label":m?void 0:c,"aria-labelledby":m,"aria-modal":u?"true":"false",block:"kol-dialog",class:l(d(),a(p),d(p),t),onCancel:s,onClose:f,ref:w,style:b?{width:b}:void 0},i):o("dialog",{"aria-label":m?void 0:c,"aria-labelledby":m,"aria-modal":u?"true":"false",class:l(r,t),onCancel:s,onClose:f,ref:w,style:b?{width:b}:void 0},i)},t=new Set;let r=null,s=null;function f(o){if("undefined"!=typeof document&&"undefined"!=typeof window&&!t.has(o)){if(0===t.size){const o=document.documentElement;r=o.style.getPropertyValue("overflow"),s=o.style.getPropertyValue("padding-right");const e=window.innerWidth-o.clientWidth;if(e>0){const l=Number.parseFloat(window.getComputedStyle(o).paddingRight)||0;o.style.setProperty("padding-right",`${l+e}px`)}o.style.setProperty("overflow","hidden")}t.add(o)}}function c(o){if("undefined"!=typeof document&&"undefined"!=typeof window&&t.delete(o)&&0===t.size){const o=document.documentElement;r?o.style.setProperty("overflow",r):o.style.removeProperty("overflow"),s?o.style.setProperty("padding-right",s):o.style.removeProperty("padding-right"),r=null,s=null}}export{i as D,f as l,c as u}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{
|
|
4
|
+
import{O as o}from"./common.js";import{c as t}from"./base-web-component.js";const n=t("smartButton",{_label:""},(function(t){const n="string"==typeof t?o(t):t;if("object"==typeof n&&null!==n)return n;throw new Error("Invalid smart button: "+typeof t)}));export{n as s}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{c as o,n as s}from"./
|
|
4
|
+
import"./common.js";import{c as o,n as s}from"./base-web-component.js";const e=o("spellCheck",void 0,s);export{e as s}
|
package/dist/components/src.js
CHANGED
package/dist/components/step.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{
|
|
4
|
+
import{B as s,O as o}from"./common.js";import{c as e}from"./base-web-component.js";const t=e("suggestions",[],(function(s){const e="string"==typeof s?o(s):s;if(Array.isArray(e))return e;throw new Error("Invalid suggestions: "+typeof s)}),(s=>s.every((s=>"string"==typeof s||"number"==typeof s))),{hints:(o,e)=>{e.length>0&&s("Property suggestions: Options have accessibility issues in how browsers implemented them and should not be used for now.")}});export{t as s}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{
|
|
4
|
+
import{h as s}from"./common.js";import{c as o,d as t}from"./base-web-component.js";import{a}from"./tslib.es6.js";import{a as i}from"./dev.utils.js";const e=o("autoComplete","off",t,(s=>s.length>0)),m=o=>{var{id:t,suggestions:e}=o,m=a(o,["id","suggestions"]);return e?s("datalist",Object.assign({id:i(t,"list")},m),e.map((o=>s("option",{value:o})))):null};export{m as S,e as a}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{
|
|
4
|
+
import{p as t,A as s}from"./common.js";const o=t(class extends s{static get is(){return"test-component"}},[0,"test-component"]);export{o as TestComponent}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import"./
|
|
4
|
+
import{h as e}from"./common.js";import{l as o}from"./level.js";import{b as n,g as s,f as t,B as i}from"./base-web-component.js";import{d as a}from"./disabled.js";import{l as r}from"./label-lang-segment.js";import{o as l}from"./open.js";import{K as d}from"./Heading.js";import{p as m}from"./element-interaction.js";import{S as c}from"./component5.js";import{d as p,K as u}from"./events.js";const f=n(),b={optional:[f,a,o,l],required:[r]},v=({block:o,contentClass:n,controlId:a,detailsOpen:r,disabled:l,expanded:p,handleToggle:u,headingId:f,icons:b,label:v,level:g,refHeadingButton:j,transitionMs:T},O)=>{const y=s(o);return e(i,{component:"details",block:o,modifiers:{disabled:!0===l,open:!0===p},open:!0===r,style:{"--collapsible-transition-duration":`${T}ms`}},e("summary",{"aria-controls":a,"aria-disabled":!0===l?"true":void 0,class:y("heading"),id:f,onClick:u,onMouseDown:!0===l?m:void 0,ref:j,tabIndex:!0===l?-1:void 0},e(d,{level:null!=g?g:0},e(c,{icons:b,label:v}))),e("div",{class:y("wrapper")},e("div",{class:y("wrapper-animation")},e("div",{"aria-hidden":!1===p?"true":void 0,"aria-labelledby":f,class:t(y("content"),n),id:a,role:"region"},O))))},g=300;function j({getTransitionMs:e,setDetailsOpen:o,setExpanded:n}){let s,t;const i=()=>{null==s||s(),s=void 0,clearTimeout(t),t=void 0};return{syncOpen(a,r){if(i(),a)return o(!0),void(r?s=function(e){if("function"==typeof requestAnimationFrame){const o=requestAnimationFrame(e);return()=>cancelAnimationFrame(o)}const o=setTimeout(e,0);return()=>clearTimeout(o)}((()=>n(!0))):n(!0));n(!1),r?t=setTimeout((()=>o(!1)),e()):o(!1)},dispose:i}}function T({getHost:e,getOn:o,isDisabled:n,isOpen:s,setOpen:t}){return i=>{if(i.preventDefault(),n())return;const a=!s();t(a),setTimeout((()=>{var n,s;const t=e();t&&(p(t,u.click,a),p(t,u.toggle,a));const r=o();null===(n=r.onClick)||void 0===n||n.call(r,i,a),null===(s=r.onToggle)||void 0===s||s.call(r,i,a)}),25)}}export{v as C,g as D,T as a,b,j as c,f as d}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
|
|
4
|
+
import{g as s}from"./shared-state.js";import"./common.js";const o=s("tooltips",(()=>({open:0}))),t=()=>{o.open++},a=()=>{o.open=Math.max(0,o.open-1)},m=s=>{o.open>0&&s.preventDefault()},p=()=>o.open>0;export{t as a,m as h,p as i,a as t}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{L as
|
|
4
|
+
import{L as e}from"./common.js";import{t as o}from"./base-web-component.js";const t=new Set;function n(n){const a=o(n);t.has(a)?e.warn(`There already is a nav element with the label "${a}"`):t.add(a)}function a(e){const n=o(e);t.delete(n)}export{n as a,a as r}
|
package/dist/components/unit.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{c as
|
|
4
|
+
import"./common.js";import{c as m,m as o,d as s}from"./base-web-component.js";const a=m("max",100,o,(m=>m>0)),t=m("unit","%",s,(m=>m.length>0));export{a as m,t as u}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{
|
|
4
|
+
import"./common.js";import{p as s,C as a}from"./base-web-component.js";const o=/^[a-zA-Z][a-zA-Z0-9_-]{0,60}$/,t=s=>"string"==typeof s&&o.test(s),m=a,p=a=>""===a||s(a),e=s=>""===s||m(s);export{t as a,p as b,m as c,e as i}
|
package/dist/components/width.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{c as o,
|
|
4
|
+
import"./common.js";import{c as o,d as n}from"./base-web-component.js";const t=o("on",{},(function(o){if("object"!=typeof o||null===o)throw new Error("Invalid on callbacks: expected object, got "+typeof o);const{onCancel:n,onClose:t,onToggle:e}=o,c={};return"function"==typeof n&&(c.onCancel=n),"function"==typeof t&&(c.onClose=t),"function"==typeof e&&(c.onToggle=e),c})),e=o("width","100%",n);export{t as d,e as w}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
+
import { h } from './index-Bsx5X6jK.js';
|
|
4
5
|
import { a as __rest } from './tslib.es6-QNbPBOk5.js';
|
|
5
|
-
import {
|
|
6
|
-
import { c as clsx } from './clsx-COFh-Vc8.js';
|
|
6
|
+
import { e as clsx } from './props-from-config-DVxNB2Lx.js';
|
|
7
7
|
|
|
8
8
|
const MIN_HEADING_LEVEL = 1;
|
|
9
9
|
const MAX_HEADING_LEVEL = 6;
|