@public-ui/components 5.0.0-beta.2 → 5.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/kolicons/kolicons.eot +0 -0
- package/assets/kolicons/kolicons.ttf +0 -0
- package/assets/kolicons/kolicons.woff +0 -0
- package/assets/kolicons/kolicons.woff2 +0 -0
- package/assets/kolicons/style.css +6 -6
- package/custom-elements.json +23 -23
- package/dist/cjs/{Heading-o_m1bQbh.js → Heading-D1EJem-Q.js} +2 -2
- package/dist/cjs/{access-and-short-key-BrLP4fF_.js → access-and-short-key-BCyKbrgd.js} +1 -1
- package/dist/cjs/{api-SFTkHR9W.js → api-DU50b7pU.js} +27 -27
- package/dist/cjs/{app-globals-BVGzsN2O.js → app-globals-Cshxaw1i.js} +3 -3
- package/dist/cjs/{ariaCurrentService-aysGX58T.js → aria-current-service-XKodxE3I.js} +2 -2
- package/dist/cjs/{aria-labelledby-CgJJS0K5.js → aria-labelledby-Du7FNBK5.js} +1 -1
- package/dist/cjs/{base-DoujJ-Xz.js → base-2k8L5Z0t.js} +13 -13
- package/dist/cjs/{base-DGpJZOXm.js → base-CrH3N2Zu.js} +70 -36
- package/dist/cjs/{base-DJhwvwdo.js → base-DXysZJF0.js} +12 -12
- package/dist/cjs/{base-4xLnw9ep.js → base-lY3OV-WH.js} +14 -14
- package/dist/cjs/{base-web-component-nGb9E-GX.js → base-web-component-CB32nH5g.js} +16 -16
- package/dist/cjs/{base-web-component-BgX5i_fc.js → base-web-component-CnTCSVmC.js} +10 -10
- package/dist/cjs/{base-web-component-DSCg1arP.js → base-web-component-vlBTFoc9.js} +2 -2
- package/dist/cjs/{behavior-DhfuU2HF.js → behavior-BonfWPFJ.js} +6 -6
- package/dist/cjs/{behavior-CBwUdaXu.js → behavior-DdUDpqCO.js} +6 -6
- package/dist/cjs/{behavior-S2U8skNd.js → behavior-Dznxy-IT.js} +5 -5
- package/dist/cjs/{bem-registry-CMf1T2kb.js → bem-registry-CGf0w2u7.js} +1 -1
- package/dist/cjs/{bootstrap-C4GRmpTI.js → bootstrap-W0pDCbwR.js} +5 -5
- package/dist/cjs/{color-BWamMCyw.js → color-gGnOnvt7.js} +3 -3
- package/dist/cjs/{component-SeQac11p.js → component-B6wRTFBN.js} +3 -3
- package/dist/cjs/{component-DTC3WbHR.js → component-B7ixbeft.js} +13 -13
- package/dist/cjs/{component-DPCpVWBj.js → component-BaHA5GQ0.js} +8 -8
- package/dist/cjs/{component-CweSM_ze.js → component-BeAWp-m9.js} +5 -5
- package/dist/cjs/{component-BM6eWMuC.js → component-Bnj9veMz.js} +4 -4
- package/dist/cjs/{component-CKc_-O64.js → component-C9dVa2_4.js} +13 -13
- package/dist/cjs/{component-DUvRV4FE.js → component-D680TPaU.js} +8 -8
- package/dist/cjs/{component-t6Upgw7f.js → component-DNRlsQ2M.js} +5 -5
- package/dist/cjs/{component-BGIFlgKu.js → component-WkG3-M2X.js} +6 -6
- package/dist/cjs/{component-names-CyEXMjv9.js → component-names-B-xDXf8U.js} +1 -1
- package/dist/cjs/{component-DSlW2KVw.js → component-vjLswij7.js} +5 -5
- package/dist/cjs/{contrast-CXinV5ii.js → contrast-B6L84xFP.js} +2 -2
- package/dist/cjs/{controller-D4usgPg-.js → controller-BcC7oIkq.js} +2 -2
- package/dist/cjs/{dev.utils-glOxiW4E.js → dev.utils-Bk_hA4qQ.js} +1 -1
- package/dist/cjs/{devtools-VDx5moKY.js → devtools-CJixr1wI.js} +2 -2
- package/dist/cjs/{disabled-CZJO6fbW.js → disabled-BoM7lglH.js} +2 -2
- package/dist/cjs/{element-focus-IBv4yiNw.js → element-focus-BL2fXDD1.js} +1 -1
- package/dist/cjs/{element-interaction-CvCJFwUh.js → element-interaction-CKiHuPu0.js} +2 -2
- package/dist/cjs/{events-fafEzzml.js → events-Ce8f_epW.js} +1 -1
- package/dist/cjs/{field-control-xEw1WZFL.js → field-control-Bn_hd-6N.js} +7 -7
- package/dist/cjs/{group-CMns8Vns.js → group-TVkuA3Dx.js} +5 -5
- package/dist/cjs/{has-closer-Cs7BCj4r.js → has-closer-CKT_frM5.js} +2 -2
- package/dist/cjs/{href-C93ktLo4.js → href-yo_BPSR1.js} +2 -2
- package/dist/cjs/{i18n-DXYL9rIn.js → i18n-DOGd0sdR.js} +6 -6
- package/dist/cjs/{i18n-YdI7_XKo.js → i18n-DdWdytnt.js} +2 -2
- package/dist/cjs/{id-CtES_I0D.js → id-C7_ak25l.js} +2 -2
- package/dist/cjs/{index-B65pR1Ir.js → index-DLwNpyJ5.js} +25 -92
- package/dist/cjs/index.cjs.js +11 -11
- package/dist/cjs/{input-container-BErSDYvG.js → input-container-CvDde8uk.js} +6 -6
- package/dist/cjs/{input-Bi8Zo8Bv.js → input-uZRNVUsq.js} +4 -4
- package/dist/cjs/{item-BHQRF4Sp.js → item-D23h7gmK.js} +9 -9
- package/dist/cjs/{item-N9AmF46D.js → item-D5hmTqf_.js} +15 -15
- package/dist/cjs/{item-BVHbqXo2.js → item-DimqWDZ7.js} +23 -23
- package/dist/cjs/{item-BLhkAIub.js → item-FYvfrXLj.js} +9 -9
- package/dist/cjs/{item-pool-ecjkEvCG.js → item-pool-BJcplkbh.js} +1 -1
- package/dist/cjs/{keyboard-DHPlsLs0.js → keyboard-21hAUDzL.js} +1 -1
- package/dist/cjs/kol-abbr.cjs.entry.js +7 -7
- package/dist/cjs/kol-accordion.cjs.entry.js +19 -19
- package/dist/cjs/kol-alert.cjs.entry.js +30 -30
- package/dist/cjs/kol-avatar.cjs.entry.js +17 -20
- package/dist/cjs/kol-badge.cjs.entry.js +29 -29
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +34 -34
- package/dist/cjs/kol-button-link.cjs.entry.js +32 -32
- package/dist/cjs/kol-button.cjs.entry.js +32 -32
- package/dist/cjs/kol-card.cjs.entry.js +59 -98
- package/dist/cjs/kol-combobox.cjs.entry.js +84 -84
- package/dist/cjs/kol-details.cjs.entry.js +19 -19
- package/dist/cjs/kol-dialog.cjs.entry.js +36 -36
- package/dist/cjs/kol-drawer.cjs.entry.js +35 -35
- package/dist/cjs/kol-form.cjs.entry.js +29 -29
- package/dist/cjs/kol-heading.cjs.entry.js +14 -14
- package/dist/cjs/kol-icon.cjs.entry.js +11 -11
- package/dist/cjs/kol-image.cjs.entry.js +20 -20
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +77 -77
- package/dist/cjs/kol-input-color.cjs.entry.js +64 -64
- package/dist/cjs/kol-input-date.cjs.entry.js +76 -76
- package/dist/cjs/kol-input-email.cjs.entry.js +82 -82
- package/dist/cjs/kol-input-file.cjs.entry.js +58 -58
- package/dist/cjs/kol-input-number.cjs.entry.js +78 -78
- package/dist/cjs/kol-input-password.cjs.entry.js +79 -79
- package/dist/cjs/kol-input-radio.cjs.entry.js +60 -60
- package/dist/cjs/kol-input-range.cjs.entry.js +65 -65
- package/dist/cjs/kol-input-text.cjs.entry.js +94 -94
- package/dist/cjs/kol-kolibri.cjs.entry.js +8 -8
- package/dist/cjs/kol-link-button.cjs.entry.js +39 -39
- package/dist/cjs/kol-link.cjs.entry.js +38 -38
- package/dist/cjs/kol-meter.cjs.entry.js +19 -25
- package/dist/cjs/kol-modal.cjs.entry.js +36 -36
- package/dist/cjs/kol-nav.cjs.entry.js +41 -41
- package/dist/cjs/kol-pagination.cjs.entry.js +65 -65
- package/dist/cjs/kol-popover-button.cjs.entry.js +65 -100
- package/dist/cjs/kol-progress.cjs.entry.js +18 -21
- package/dist/cjs/kol-quote.cjs.entry.js +12 -12
- package/dist/cjs/kol-select.cjs.entry.js +71 -71
- package/dist/cjs/kol-single-select.cjs.entry.js +85 -85
- package/dist/cjs/kol-skip-nav.cjs.entry.js +34 -34
- package/dist/cjs/kol-spin.cjs.entry.js +23 -23
- package/dist/cjs/kol-split-button.cjs.entry.js +36 -36
- package/dist/cjs/kol-table-stateful.cjs.entry.js +132 -104
- package/dist/cjs/kol-table-stateless.cjs.entry.js +57 -57
- package/dist/cjs/kol-tabs.cjs.entry.js +36 -36
- package/dist/cjs/kol-textarea.cjs.entry.js +77 -77
- package/dist/cjs/kol-toast-container.cjs.entry.js +20 -20
- package/dist/cjs/kol-toolbar.cjs.entry.js +48 -48
- package/dist/cjs/kol-tree-item.cjs.entry.js +34 -34
- package/dist/cjs/kol-tree.cjs.entry.js +11 -11
- package/dist/cjs/kol-version.cjs.entry.js +22 -22
- package/dist/cjs/kolibri.cjs.js +5 -5
- package/dist/cjs/{label-0j3-2J3C.js → label-CCqNq5tW.js} +4 -4
- package/dist/cjs/{label-hints-DEiM49uy.js → label-hints-qecpxRCt.js} +2 -2
- package/dist/cjs/{label-lang-segment-BBCLeyBy.js → label-lang-segment-BGLGUvz3.js} +3 -3
- package/dist/cjs/{label-with-expert-slot-D0wokf7-.js → label-with-expert-slot-VcIxokIa.js} +4 -4
- package/dist/cjs/{level-xVivGv7t.js → level-CVJUatGG.js} +2 -2
- package/dist/cjs/{link-target-D9qpCovV.js → link-target-BchnvpO8.js} +2 -2
- package/dist/cjs/{links-DlW9up_d.js → links-B1TspXWw.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{multiple-DO-asa_4.js → multiple-DO-7DpoM.js} +2 -2
- package/dist/cjs/{number-value-BUKMKQvN.js → number-value-C4kXarZR.js} +3 -3
- package/dist/cjs/{open-BVqlpoxd.js → open-Cmz8IDwx.js} +2 -2
- package/dist/cjs/{open-items-cache-DuXVixiW.js → open-items-cache-C162W-_D.js} +1 -1
- package/dist/cjs/{options-Dg3zz7Wo.js → options-B5TaPd9X.js} +1 -1
- package/dist/cjs/{options-vneqbPL0.js → options-CYbRA9bk.js} +2 -2
- package/dist/cjs/{orientation-DL6G4K4r.js → orientation-qw5D2TnY.js} +2 -2
- package/dist/cjs/{placeholder-C-ecB96f.js → placeholder-BKqOq75d.js} +2 -2
- package/dist/cjs/{props-from-config-Bm6Pf2tK.js → props-from-config-utp9cExR.js} +55 -60
- package/dist/cjs/{read-only-D__auxXg.js → read-only-BA_w8-u1.js} +2 -2
- package/dist/cjs/{required-DqW-WueJ.js → required-CxAjKjbz.js} +2 -2
- package/dist/cjs/{resolve-props-CjhxUwj-.js → resolve-props--Nci0LhR.js} +9 -9
- package/dist/cjs/{resolve-props-DKYD6i56.js → resolve-props-Dj6sEqG7.js} +7 -7
- package/dist/cjs/{rows-Z8UDqY9u.js → rows-DIswNtTH.js} +2 -2
- package/dist/cjs/{scroll-lock-DgqKifg3.js → scroll-lock-DCG-yvr9.js} +3 -3
- package/dist/cjs/{shared-state-C2e8sL5f.js → shared-state-DgRutURI.js} +1 -1
- package/dist/cjs/{smart-button-C_S63qaB.js → smart-button-DseYlks-.js} +2 -2
- package/dist/cjs/{spell-check-CT0WE9tq.js → spell-check-dk8U8oOc.js} +2 -2
- package/dist/cjs/{src-Bwu1rJi2.js → src-CtFQUaCM.js} +2 -2
- package/dist/cjs/{step-W8T4AA1l.js → step-CvPxSo00.js} +2 -2
- package/dist/cjs/{suggestions-C-tM7INY.js → suggestions-DUxsRVmB.js} +2 -2
- package/dist/cjs/{suggestions-DvPhi4lP.js → suggestions-DgLZZdei.js} +3 -3
- package/dist/cjs/test-component.cjs.entry.js +1 -1
- package/dist/cjs/{theme-store-CHGfvYB-.js → theme-store-CLf_JZmz.js} +2 -2
- package/dist/cjs/{toggle-handler-DHEfrMM0.js → toggle-handler-B-_ojZ0I.js} +10 -10
- package/dist/cjs/{tooltip-open-tracking-DaQFzT-b.js → tooltip-open-tracking-CewIRZOe.js} +2 -2
- package/dist/cjs/{unique-nav-labels-CpJcPNBO.js → unique-nav-labels-CFCBdBmd.js} +2 -2
- package/dist/cjs/{unit-CNVBdvOH.js → unit-DexLlB8H.js} +2 -2
- package/dist/cjs/{validators-BM9XrnzJ.js → validators-CxXwm4f6.js} +2 -2
- package/dist/cjs/{value-string-DXRes-dR.js → value-string-Ct7kzFWf.js} +2 -2
- package/dist/cjs/{width-BAwXHART.js → width-BXrduM1f.js} +2 -2
- package/dist/collection/components/abbr/component.js +1 -1
- package/dist/collection/components/accordion/component.js +1 -1
- package/dist/collection/components/accordion/style.css +2 -2
- package/dist/collection/components/alert/component.js +3 -3
- package/dist/collection/components/alert/style.css +2 -2
- package/dist/collection/components/avatar/component.js +4 -7
- package/dist/collection/components/badge/component.js +4 -4
- package/dist/collection/components/badge/style.css +2 -2
- package/dist/collection/components/breadcrumb/component.js +3 -3
- package/dist/collection/components/breadcrumb/style.css +2 -2
- package/dist/collection/components/button/component.js +3 -3
- package/dist/collection/components/button/style.css +2 -2
- package/dist/collection/components/button-link/component.js +3 -3
- package/dist/collection/components/button-link/style.css +2 -2
- package/dist/collection/components/card/component.js +53 -18
- package/dist/collection/components/card/style.css +2 -2
- package/dist/collection/components/combobox/component.js +115 -115
- package/dist/collection/components/combobox/style.css +2 -2
- package/dist/collection/components/details/component.js +1 -1
- package/dist/collection/components/details/style.css +2 -2
- package/dist/collection/components/dialog/component.js +5 -5
- package/dist/collection/components/dialog/style.css +2 -2
- package/dist/collection/components/drawer/component.js +3 -3
- package/dist/collection/components/drawer/style.css +2 -2
- package/dist/collection/components/form/component.js +3 -3
- package/dist/collection/components/form/style.css +2 -2
- package/dist/collection/components/heading/component.js +4 -4
- package/dist/collection/components/icon/component.js +3 -3
- package/dist/collection/components/icon/style.css +2 -2
- package/dist/collection/components/image/component.js +39 -39
- package/dist/collection/components/input-checkbox/component.js +110 -110
- package/dist/collection/components/input-checkbox/style.css +2 -2
- package/dist/collection/components/input-color/component.js +39 -39
- package/dist/collection/components/input-color/style.css +2 -2
- package/dist/collection/components/input-date/component.js +77 -77
- package/dist/collection/components/input-date/style.css +2 -2
- package/dist/collection/components/input-email/component.js +86 -86
- package/dist/collection/components/input-email/style.css +2 -2
- package/dist/collection/components/input-file/component.js +34 -34
- package/dist/collection/components/input-file/style.css +2 -2
- package/dist/collection/components/input-number/component.js +67 -67
- package/dist/collection/components/input-number/style.css +2 -2
- package/dist/collection/components/input-password/component.js +87 -87
- package/dist/collection/components/input-password/style.css +2 -2
- package/dist/collection/components/input-radio/component.js +35 -35
- package/dist/collection/components/input-radio/style.css +2 -2
- package/dist/collection/components/input-range/component.js +38 -38
- package/dist/collection/components/input-range/style.css +2 -2
- package/dist/collection/components/input-text/component.js +145 -145
- package/dist/collection/components/input-text/style.css +2 -2
- package/dist/collection/components/kolibri/component.js +1 -1
- package/dist/collection/components/link/base.js +1 -1
- package/dist/collection/components/link/component.js +26 -26
- package/dist/collection/components/link/style.css +2 -2
- package/dist/collection/components/link-button/component.js +27 -27
- package/dist/collection/components/link-button/style.css +2 -2
- package/dist/collection/components/meter/component.js +6 -12
- package/dist/collection/components/modal/component.js +5 -5
- package/dist/collection/components/modal/style.css +2 -2
- package/dist/collection/components/nav/component.js +2 -2
- package/dist/collection/components/nav/style.css +2 -2
- package/dist/collection/components/pagination/component.js +85 -85
- package/dist/collection/components/pagination/style.css +2 -2
- package/dist/collection/components/popover-button/component.js +40 -11
- package/dist/collection/components/popover-button/style.css +2 -2
- package/dist/collection/components/progress/component.js +5 -8
- package/dist/collection/components/public-api/contract.js +46 -6
- package/dist/collection/components/quote/component.js +5 -5
- package/dist/collection/components/select/component.js +61 -61
- package/dist/collection/components/select/style.css +2 -2
- package/dist/collection/components/single-select/component.js +134 -134
- package/dist/collection/components/single-select/style.css +2 -2
- package/dist/collection/components/skip-nav/component.js +2 -2
- package/dist/collection/components/skip-nav/style.css +2 -2
- package/dist/collection/components/spin/component.js +29 -29
- package/dist/collection/components/spin/style.css +8 -1
- package/dist/collection/components/split-button/component.js +5 -5
- package/dist/collection/components/split-button/style.css +2 -2
- package/dist/collection/components/table-stateful/component.js +111 -110
- package/dist/collection/components/table-stateful/style.css +11 -4
- package/dist/collection/components/table-stateless/base.js +7 -1
- package/dist/collection/components/table-stateless/component.js +36 -36
- package/dist/collection/components/table-stateless/style.css +11 -4
- package/dist/collection/components/tabs/component.js +12 -12
- package/dist/collection/components/tabs/style.css +3 -3
- package/dist/collection/components/textarea/component.js +88 -88
- package/dist/collection/components/textarea/style.css +2 -2
- package/dist/collection/components/toaster/shadow.js +3 -3
- package/dist/collection/components/toaster/style.css +2 -2
- package/dist/collection/components/toolbar/component.js +33 -33
- package/dist/collection/components/toolbar/style.css +2 -2
- package/dist/collection/components/tree/component.js +2 -2
- package/dist/collection/components/tree-item/component.js +35 -35
- package/dist/collection/components/tree-item/style.css +2 -2
- package/dist/collection/components/version/component.js +2 -2
- package/dist/collection/components/version/style.css +2 -2
- package/dist/collection/global/script.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/internal/functional-components/breadcrumb/link-item.js +2 -2
- package/dist/collection/internal/functional-components/button/item.js +2 -2
- package/dist/collection/internal/functional-components/counter/api.js +1 -1
- package/dist/collection/internal/functional-components/dialog/item.js +2 -2
- package/dist/collection/internal/functional-components/form/error-link-item.js +2 -2
- package/dist/collection/internal/functional-components/form-field/base-web-component.js +7 -7
- package/dist/collection/internal/functional-components/form-field/msg.js +2 -2
- package/dist/collection/internal/functional-components/form-field/number-value.js +1 -1
- package/dist/collection/internal/functional-components/link/api.js +1 -1
- package/dist/collection/{components/link/ariaCurrentService.js → internal/functional-components/link/aria-current-service.js} +1 -1
- package/dist/collection/internal/functional-components/link/component.js +1 -1
- package/dist/collection/internal/functional-components/link/item.js +3 -3
- package/dist/collection/internal/functional-components/pagination/page-size-select.js +9 -9
- package/dist/collection/internal/functional-components/popover-button/item.js +2 -2
- package/dist/collection/internal/functional-components/progress/api.js +1 -1
- package/dist/collection/internal/functional-components/skip-nav/api.js +1 -1
- package/dist/collection/internal/functional-components/skip-nav/link-item.js +2 -2
- package/dist/collection/internal/functional-components/table-stateful/component.js +17 -0
- package/dist/collection/internal/functional-components/table-stateful/model.js +21 -7
- package/dist/collection/internal/functional-components/table-stateless/component.js +6 -3
- package/dist/collection/internal/functional-components/table-stateless/selection-tooltip-item.js +29 -0
- package/dist/collection/internal/functional-components/table-stateless/settings.js +2 -2
- package/dist/collection/internal/functional-components/tabs/button-item.js +2 -2
- package/dist/collection/internal/functional-components/toolbar/{item.js → entry-item.js} +4 -4
- package/dist/collection/internal/props/helpers/factory.js +1 -1
- package/dist/collection/internal/props/helpers/normalizers.js +2 -5
- package/dist/collection/internal/props/index.js +0 -1
- package/dist/collection/locales/de.js +2 -2
- package/dist/collection/locales/en.js +2 -2
- package/dist/collection/schema/components/index.js +0 -29
- package/dist/collection/schema/props/accept.js +1 -7
- package/dist/collection/schema/props/access-key.js +1 -7
- package/dist/collection/schema/props/active.js +1 -7
- package/dist/collection/schema/props/adjust-height.js +1 -7
- package/dist/collection/schema/props/alert-type.js +0 -7
- package/dist/collection/schema/props/align.js +0 -4
- package/dist/collection/schema/props/allow-multi-sort.js +1 -7
- package/dist/collection/schema/props/alt.js +1 -7
- package/dist/collection/schema/props/alternative-button-link-role.js +1 -8
- package/dist/collection/schema/props/aria-controls.js +1 -7
- package/dist/collection/schema/props/aria-current-value.js +1 -10
- package/dist/collection/schema/props/aria-description.js +1 -7
- package/dist/collection/schema/props/aria-expanded.js +1 -7
- package/dist/collection/schema/props/aria-labelledby.js +6 -4
- package/dist/collection/schema/props/aria-owns.js +1 -9
- package/dist/collection/schema/props/aria-selected.js +1 -7
- package/dist/collection/schema/props/auto-complete.js +0 -6
- package/dist/collection/schema/props/badge-text.js +1 -7
- package/dist/collection/schema/props/button-callbacks.js +1 -7
- package/dist/collection/schema/props/button-type.js +1 -8
- package/dist/collection/schema/props/button-variant.js +1 -10
- package/dist/collection/schema/props/checked.js +1 -7
- package/dist/collection/schema/props/collapsible.js +1 -7
- package/dist/collection/schema/props/color.js +1 -14
- package/dist/collection/schema/props/current-length.js +1 -7
- package/dist/collection/schema/props/custom-class.js +1 -9
- package/dist/collection/schema/props/disabled.js +1 -15
- package/dist/collection/schema/props/download.js +1 -7
- package/dist/collection/schema/props/error-list.js +1 -14
- package/dist/collection/schema/props/has-closer.js +1 -7
- package/dist/collection/schema/props/has-compact-button.js +1 -7
- package/dist/collection/schema/props/has-counter.js +1 -7
- package/dist/collection/schema/props/has-create-button.js +1 -7
- package/dist/collection/schema/props/has-icons-when-expanded.js +1 -7
- package/dist/collection/schema/props/has-settings-menu.js +1 -7
- package/dist/collection/schema/props/has-value.js +1 -7
- package/dist/collection/schema/props/hide-label.js +1 -7
- package/dist/collection/schema/props/hide-msg.js +1 -7
- package/dist/collection/schema/props/hint.js +1 -7
- package/dist/collection/schema/props/href.js +1 -7
- package/dist/collection/schema/props/icons-input-checkbox.js +1 -18
- package/dist/collection/schema/props/icons.js +0 -43
- package/dist/collection/schema/props/id.js +1 -7
- package/dist/collection/schema/props/image-sizes.js +1 -7
- package/dist/collection/schema/props/image-source.js +1 -7
- package/dist/collection/schema/props/image-srcset.js +1 -7
- package/dist/collection/schema/props/indeterminate.js +1 -7
- package/dist/collection/schema/props/index.js +4 -0
- package/dist/collection/schema/props/inline.js +1 -7
- package/dist/collection/schema/props/label-align.js +1 -8
- package/dist/collection/schema/props/label.js +0 -35
- package/dist/collection/schema/props/link-on-callbacks.js +1 -8
- package/dist/collection/schema/props/link-target.js +1 -7
- package/dist/collection/schema/props/loading.js +1 -8
- package/dist/collection/schema/props/max-length-behavior.js +1 -8
- package/dist/collection/schema/props/max-length.js +1 -7
- package/dist/collection/schema/props/max.js +1 -7
- package/dist/collection/schema/props/modal.js +1 -7
- package/dist/collection/schema/props/msg.js +1 -24
- package/dist/collection/schema/props/multiple.js +1 -7
- package/dist/collection/schema/props/name.js +1 -7
- package/dist/collection/schema/props/open.js +1 -7
- package/dist/collection/schema/props/options.js +1 -11
- package/dist/collection/schema/props/orientation.js +1 -10
- package/dist/collection/schema/props/pagination-position.js +1 -10
- package/dist/collection/schema/props/pattern.js +1 -7
- package/dist/collection/schema/props/placeholder.js +1 -7
- package/dist/collection/schema/props/popover-align.js +1 -7
- package/dist/collection/schema/props/read-only.js +1 -7
- package/dist/collection/schema/props/required.js +1 -7
- package/dist/collection/schema/props/resize-textarea.js +0 -9
- package/dist/collection/schema/props/rows.js +1 -7
- package/dist/collection/schema/props/short-key.js +1 -7
- package/dist/collection/schema/props/show.js +1 -7
- package/dist/collection/schema/props/spell-check.js +1 -9
- package/dist/collection/schema/props/suggestions.js +1 -16
- package/dist/collection/schema/props/tab-behavior.js +1 -8
- package/dist/collection/schema/props/tab-index.js +1 -16
- package/dist/collection/schema/props/table-data-foot.js +1 -21
- package/dist/collection/schema/props/table-data.js +1 -21
- package/dist/collection/schema/props/table-fixed-cols.js +1 -14
- package/dist/collection/schema/props/table-selection.js +1 -22
- package/dist/collection/schema/props/toolbar-items.js +1 -21
- package/dist/collection/schema/props/tooltip-align.js +1 -7
- package/dist/collection/schema/props/touched.js +1 -7
- package/dist/collection/schema/props/type-input-date.js +0 -7
- package/dist/collection/schema/props/type-input-text.js +0 -7
- package/dist/collection/schema/props/unit.js +1 -7
- package/dist/collection/schema/props/variant/dialog.js +1 -8
- package/dist/collection/schema/props/variant/modal.js +1 -4
- package/dist/collection/schema/props/variant/password-variant.js +1 -8
- package/dist/collection/schema/props/variant-alert.js +0 -7
- package/dist/collection/schema/props/variant-class-name.js +0 -33
- package/dist/collection/schema/props/variant-input-checkbox.js +0 -7
- package/dist/collection/schema/props/variant-progress.js +0 -7
- package/dist/collection/schema/props/visibility-toggle.js +1 -7
- package/dist/collection/schema/props/width.js +1 -7
- package/dist/collection/schema/utils/contrast.js +1 -1
- package/dist/collection/schema/utils/prop.validators.js +1 -1
- package/dist/collection/schema/validators/common.js +4 -0
- package/dist/collection/schema/validators/index.js +0 -1
- package/dist/collection/utils/dev.utils.js +1 -2
- package/dist/collection/utils/testing/logged-messages.js +4 -0
- package/dist/collection/utils/testing/snapshot-input-testing.js +1 -1
- package/dist/collection/utils/testing/snapshot-testing.js +2 -1
- package/dist/components/Heading.js +1 -1
- package/dist/components/access-and-short-key.js +1 -1
- package/dist/components/aria-current-service.js +4 -0
- package/dist/components/base-web-component.js +1 -1
- package/dist/components/base-web-component2.js +1 -1
- package/dist/components/base-web-component3.js +1 -1
- package/dist/components/base-web-component4.js +1 -1
- package/dist/components/base.js +1 -1
- package/dist/components/base2.js +1 -1
- package/dist/components/base3.js +1 -1
- package/dist/components/base4.js +1 -1
- package/dist/components/behavior.js +1 -1
- package/dist/components/behavior2.js +1 -1
- package/dist/components/behavior3.js +1 -1
- package/dist/components/behavior4.js +1 -1
- package/dist/components/bem-registry.js +1 -1
- package/dist/components/bootstrap.js +1 -1
- package/dist/components/color.js +1 -1
- package/dist/components/component-names.js +1 -1
- package/dist/components/component.js +1 -1
- package/dist/components/component10.js +1 -1
- package/dist/components/component11.js +1 -1
- package/dist/components/component12.js +1 -1
- package/dist/components/component13.js +1 -1
- package/dist/components/component14.js +1 -1
- 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-breadcrumb.js +1 -1
- package/dist/components/kol-button-link.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-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-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-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/{common.js → prop.validators.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 +1 -1
- 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-Cynkalqu.js → Heading-foerLIu9.js} +2 -2
- package/dist/esm/{access-and-short-key-CW0oxi_q.js → access-and-short-key-BTEwnScd.js} +1 -1
- package/dist/esm/{api-B76-Osk1.js → api-Ba9FNPRn.js} +27 -27
- package/dist/esm/{app-globals-Dtu1AIr1.js → app-globals-CqYpXngl.js} +3 -3
- package/dist/esm/{ariaCurrentService-B9TgWLEw.js → aria-current-service-4eUMzpeO.js} +2 -2
- package/dist/esm/{aria-labelledby-DQov9uSv.js → aria-labelledby-C4wUnR-v.js} +1 -1
- package/dist/esm/{base-BpgzOuy3.js → base-AKIr0rpk.js} +12 -12
- package/dist/esm/{base-CAiOx0qs.js → base-C7nTPc7u.js} +70 -36
- package/dist/esm/{base-BZCFxul4.js → base-CpUNedp9.js} +13 -13
- package/dist/esm/{base-DJ3lTPYp.js → base-D7qItqyf.js} +14 -14
- package/dist/esm/{base-web-component-D16FuHFf.js → base-web-component-B3wi5eWH.js} +2 -2
- package/dist/esm/{base-web-component-E9cH8tf8.js → base-web-component-BpL_hXcg.js} +16 -16
- package/dist/esm/{base-web-component-aOhHFXxF.js → base-web-component-DorOeD_U.js} +10 -10
- package/dist/esm/{behavior-DnTJtQBK.js → behavior-D9BHiFnH.js} +5 -5
- package/dist/esm/{behavior-DJQFXyfi.js → behavior-DDo87iUM.js} +6 -6
- package/dist/esm/{behavior-ByyBa-o8.js → behavior-XAV9GSxI.js} +6 -6
- package/dist/esm/{bem-registry-CK2s_XZ4.js → bem-registry-CrZZQahR.js} +1 -1
- package/dist/esm/{bootstrap-DUmk0ILT.js → bootstrap-Cz7Iq2I2.js} +5 -5
- package/dist/esm/{color-CEoIhjJR.js → color-CnVBqZd5.js} +3 -3
- package/dist/esm/{component-BPL1Mikq.js → component-0npqUhj2.js} +5 -5
- package/dist/esm/{component-CAEpgoSo.js → component-BCKsZOoB.js} +5 -5
- package/dist/esm/{component-CDyoNoJe.js → component-BZjDp_Lf.js} +3 -3
- package/dist/esm/{component-DTV1Kuf1.js → component-CjdTbGlP.js} +4 -4
- package/dist/esm/{component-C58IwTEf.js → component-Cn693XeT.js} +13 -13
- package/dist/esm/{component-C0ijstyp.js → component-Cvd5HXbX.js} +8 -8
- package/dist/esm/{component-DeFANBua.js → component-CvdxCpjC.js} +5 -5
- package/dist/esm/{component-CiTw4ODP.js → component-DFhRTaqb.js} +6 -6
- package/dist/esm/{component-XbTjo2nm.js → component-DP_p5few.js} +8 -8
- package/dist/esm/{component-S6ib3O8N.js → component-DlROeCCe.js} +13 -13
- package/dist/esm/{component-names-Ur_UbEzI.js → component-names-DzmdvSkQ.js} +1 -1
- package/dist/esm/{contrast-Ujnfz49m.js → contrast-BHjNzQvB.js} +2 -2
- package/dist/esm/{controller-BdPVgWDs.js → controller-DYkXzFqc.js} +2 -2
- package/dist/esm/{dev.utils--eVyQ4zr.js → dev.utils-BgFDROtc.js} +1 -1
- package/dist/esm/{devtools-CosbyboJ.js → devtools-B6h2bVMJ.js} +2 -2
- package/dist/esm/{disabled-Cu0e92-b.js → disabled-BZIZZ6wy.js} +2 -2
- package/dist/esm/{element-focus-BYLFG-oz.js → element-focus-C0L8NWU8.js} +1 -1
- package/dist/esm/{element-interaction-C2pgnQ6t.js → element-interaction-B3GEli6r.js} +2 -2
- package/dist/esm/{events-B2UzbUT7.js → events-DdfMb1U7.js} +1 -1
- package/dist/esm/{field-control-DbmtKHc1.js → field-control-QF0yTcyb.js} +7 -7
- package/dist/esm/{group-CqAFhkgE.js → group-8Me6YSO8.js} +5 -5
- package/dist/esm/{has-closer-DOs1CXhp.js → has-closer-B-uYNNCw.js} +2 -2
- package/dist/esm/{href-DQbHtp6T.js → href-DKPJq0Rh.js} +2 -2
- package/dist/esm/{i18n-Bcb0tuyF.js → i18n-TlIXBsgS.js} +6 -6
- package/dist/esm/{i18n-Cf0DhAke.js → i18n-Uze_l4Ts.js} +2 -2
- package/dist/esm/{id-BXwy9iRy.js → id-CkUYl2hO.js} +2 -2
- package/dist/esm/{index-Bsx5X6jK.js → index-D1fZ9xFt.js} +24 -92
- package/dist/esm/index.js +12 -12
- package/dist/esm/{input-RvLnUp6C.js → input-DwlolkOG.js} +4 -4
- package/dist/esm/{input-container-BpG3WHug.js → input-container-DC3x4oGg.js} +6 -6
- package/dist/esm/{item-DMttg5uX.js → item-DThxrTZc.js} +23 -23
- package/dist/esm/{item-KqTsA-5a.js → item-cArH2C6l.js} +9 -9
- package/dist/esm/{item-pool-C_4Isquh.js → item-pool-D4qvvY-S.js} +1 -1
- package/dist/esm/{item-Cw_jdgc6.js → item-uC3h4pj3.js} +15 -15
- package/dist/esm/{item-DibV9jD7.js → item-zPmzbSvE.js} +9 -9
- package/dist/esm/{keyboard-Cc1-_wSt.js → keyboard-DzlBdECG.js} +1 -1
- package/dist/esm/kol-abbr.entry.js +7 -7
- package/dist/esm/kol-accordion.entry.js +19 -19
- package/dist/esm/kol-alert.entry.js +30 -30
- package/dist/esm/kol-avatar.entry.js +17 -20
- package/dist/esm/kol-badge.entry.js +29 -29
- package/dist/esm/kol-breadcrumb.entry.js +34 -34
- package/dist/esm/kol-button-link.entry.js +32 -32
- package/dist/esm/kol-button.entry.js +32 -32
- package/dist/esm/kol-card.entry.js +59 -98
- package/dist/esm/kol-combobox.entry.js +84 -84
- package/dist/esm/kol-details.entry.js +19 -19
- package/dist/esm/kol-dialog.entry.js +36 -36
- package/dist/esm/kol-drawer.entry.js +35 -35
- package/dist/esm/kol-form.entry.js +29 -29
- package/dist/esm/kol-heading.entry.js +14 -14
- package/dist/esm/kol-icon.entry.js +11 -11
- package/dist/esm/kol-image.entry.js +20 -20
- package/dist/esm/kol-input-checkbox.entry.js +77 -77
- package/dist/esm/kol-input-color.entry.js +64 -64
- package/dist/esm/kol-input-date.entry.js +76 -76
- package/dist/esm/kol-input-email.entry.js +82 -82
- package/dist/esm/kol-input-file.entry.js +58 -58
- package/dist/esm/kol-input-number.entry.js +78 -78
- package/dist/esm/kol-input-password.entry.js +79 -79
- package/dist/esm/kol-input-radio.entry.js +60 -60
- package/dist/esm/kol-input-range.entry.js +65 -65
- package/dist/esm/kol-input-text.entry.js +94 -94
- package/dist/esm/kol-kolibri.entry.js +8 -8
- package/dist/esm/kol-link-button.entry.js +39 -39
- package/dist/esm/kol-link.entry.js +38 -38
- package/dist/esm/kol-meter.entry.js +19 -25
- package/dist/esm/kol-modal.entry.js +36 -36
- package/dist/esm/kol-nav.entry.js +41 -41
- package/dist/esm/kol-pagination.entry.js +65 -65
- package/dist/esm/kol-popover-button.entry.js +65 -100
- package/dist/esm/kol-progress.entry.js +18 -21
- package/dist/esm/kol-quote.entry.js +12 -12
- package/dist/esm/kol-select.entry.js +71 -71
- package/dist/esm/kol-single-select.entry.js +85 -85
- package/dist/esm/kol-skip-nav.entry.js +34 -34
- package/dist/esm/kol-spin.entry.js +23 -23
- package/dist/esm/kol-split-button.entry.js +36 -36
- package/dist/esm/kol-table-stateful.entry.js +132 -104
- package/dist/esm/kol-table-stateless.entry.js +57 -57
- package/dist/esm/kol-tabs.entry.js +36 -36
- package/dist/esm/kol-textarea.entry.js +77 -77
- package/dist/esm/kol-toast-container.entry.js +20 -20
- package/dist/esm/kol-toolbar.entry.js +48 -48
- package/dist/esm/kol-tree-item.entry.js +34 -34
- package/dist/esm/kol-tree.entry.js +11 -11
- package/dist/esm/kol-version.entry.js +22 -22
- package/dist/esm/kolibri.js +6 -6
- package/dist/esm/{label-DEZIsnKw.js → label-G82W4YoW.js} +4 -4
- package/dist/esm/{label-hints-C--ftrg_.js → label-hints-DiRb_zIZ.js} +2 -2
- package/dist/esm/{label-lang-segment-B8ayoizG.js → label-lang-segment-BSVexfSR.js} +3 -3
- package/dist/esm/{label-with-expert-slot-DXi27J4o.js → label-with-expert-slot-C1i0atAL.js} +4 -4
- package/dist/esm/{level-BV6M_zmM.js → level-CWkPM-CS.js} +2 -2
- package/dist/esm/{link-target-C9qzQAQg.js → link-target-B2OC2sZU.js} +2 -2
- package/dist/esm/{links-Dt0OhMXb.js → links-CiNHSAYH.js} +2 -2
- package/dist/esm/loader.js +6 -6
- package/dist/esm/{multiple-DQdOCIyW.js → multiple-CuU2AuEM.js} +2 -2
- package/dist/esm/{number-value-DtZloH4P.js → number-value-adUq1zr1.js} +2 -2
- package/dist/esm/{open-DaO7wXMr.js → open-DR8Z7RtS.js} +2 -2
- package/dist/esm/{open-items-cache-C98FzYQ9.js → open-items-cache-CS2mDRNB.js} +1 -1
- package/dist/esm/{options-CKAHQbcF.js → options-BDTJtk6H.js} +1 -1
- package/dist/esm/{options-C8BsBGBl.js → options-BPwcDIDO.js} +2 -2
- package/dist/esm/{orientation-VvJMCd9m.js → orientation-BUPO9LJU.js} +2 -2
- package/dist/esm/{placeholder-7pbjAn-x.js → placeholder-BTFnryTd.js} +2 -2
- package/dist/esm/{props-from-config-DVxNB2Lx.js → props-from-config-DqFgiUwD.js} +55 -59
- package/dist/esm/{read-only-3XuQIAB8.js → read-only-DRmmHb2G.js} +2 -2
- package/dist/esm/{required-CNgdXJ8H.js → required-D4CdAA4s.js} +2 -2
- package/dist/esm/{resolve-props-DOaJCd7Y.js → resolve-props-BAambGug.js} +9 -9
- package/dist/esm/{resolve-props-B1DQKjTD.js → resolve-props-Dpl38Wpe.js} +7 -7
- package/dist/esm/{rows-DL1whQNh.js → rows-DRKSoawJ.js} +2 -2
- package/dist/esm/{scroll-lock-CF_Z7MzO.js → scroll-lock-C66lpb8L.js} +3 -3
- package/dist/esm/{shared-state-sWI1upS8.js → shared-state-Dn94ivRg.js} +1 -1
- package/dist/esm/{smart-button-BdA5-cUG.js → smart-button-BYEk3DzS.js} +2 -2
- package/dist/esm/{spell-check-B7J-eU5K.js → spell-check-DlQ_d2GL.js} +2 -2
- package/dist/esm/{src-C2baLPDp.js → src-Cikg9qhP.js} +2 -2
- package/dist/esm/{step-DmzcVFZB.js → step-C7WPZrUp.js} +2 -2
- package/dist/esm/{suggestions-BJxNFtkL.js → suggestions-CotfxJG1.js} +2 -2
- package/dist/esm/{suggestions-BXp8OhOi.js → suggestions-qW9OdwO3.js} +3 -3
- package/dist/esm/test-component.entry.js +1 -1
- package/dist/esm/{theme-store-CEu5d_EK.js → theme-store-DroJsU6S.js} +2 -2
- package/dist/esm/{toggle-handler-D7oFDKvq.js → toggle-handler-BB_SIgS1.js} +10 -10
- package/dist/esm/{tooltip-open-tracking-DXhnfmA2.js → tooltip-open-tracking-CxHWKk8f.js} +2 -2
- package/dist/esm/{unique-nav-labels-BOqpcYk4.js → unique-nav-labels-CQgKoOXd.js} +2 -2
- package/dist/esm/{unit-BFYz7QfA.js → unit-D2lG-lEM.js} +2 -2
- package/dist/esm/{validators-DPSQyOeQ.js → validators-yh10eyXe.js} +2 -2
- package/dist/esm/{value-string-Cmozozek.js → value-string-DwEIOG1f.js} +2 -2
- package/dist/esm/{width-D5-Licpp.js → width-xawzWTVW.js} +2 -2
- package/dist/kolibri/Heading-foerLIu9.js +4 -0
- package/dist/kolibri/{access-and-short-key-CW0oxi_q.js → access-and-short-key-BTEwnScd.js} +1 -1
- package/dist/kolibri/api-Ba9FNPRn.js +4 -0
- package/dist/kolibri/app-globals-CqYpXngl.js +4 -0
- package/dist/kolibri/aria-current-service-4eUMzpeO.js +4 -0
- package/dist/kolibri/{aria-labelledby-DQov9uSv.js → aria-labelledby-C4wUnR-v.js} +1 -1
- package/dist/kolibri/{base-BpgzOuy3.js → base-AKIr0rpk.js} +1 -1
- package/dist/kolibri/base-C7nTPc7u.js +4 -0
- package/dist/kolibri/base-CpUNedp9.js +4 -0
- package/dist/kolibri/base-D7qItqyf.js +4 -0
- package/dist/kolibri/{base-web-component-D16FuHFf.js → base-web-component-B3wi5eWH.js} +1 -1
- package/dist/kolibri/{base-web-component-E9cH8tf8.js → base-web-component-BpL_hXcg.js} +1 -1
- package/dist/kolibri/base-web-component-DorOeD_U.js +4 -0
- package/dist/kolibri/{behavior-DnTJtQBK.js → behavior-D9BHiFnH.js} +1 -1
- package/dist/kolibri/behavior-DDo87iUM.js +4 -0
- package/dist/kolibri/{behavior-ByyBa-o8.js → behavior-XAV9GSxI.js} +1 -1
- package/dist/kolibri/{bem-registry-CK2s_XZ4.js → bem-registry-CrZZQahR.js} +1 -1
- package/dist/kolibri/bootstrap-Cz7Iq2I2.js +4 -0
- package/dist/kolibri/{color-CEoIhjJR.js → color-CnVBqZd5.js} +1 -1
- package/dist/kolibri/component-0npqUhj2.js +4 -0
- package/dist/kolibri/component-BCKsZOoB.js +4 -0
- package/dist/kolibri/{component-CDyoNoJe.js → component-BZjDp_Lf.js} +1 -1
- package/dist/kolibri/component-CjdTbGlP.js +4 -0
- package/dist/kolibri/component-Cn693XeT.js +4 -0
- package/dist/kolibri/component-Cvd5HXbX.js +4 -0
- package/dist/kolibri/{component-DeFANBua.js → component-CvdxCpjC.js} +1 -1
- package/dist/kolibri/{component-CiTw4ODP.js → component-DFhRTaqb.js} +1 -1
- package/dist/kolibri/component-DP_p5few.js +4 -0
- package/dist/kolibri/component-DlROeCCe.js +4 -0
- package/dist/kolibri/{component-names-Ur_UbEzI.js → component-names-DzmdvSkQ.js} +1 -1
- package/dist/kolibri/{contrast-Ujnfz49m.js → contrast-BHjNzQvB.js} +1 -1
- package/dist/kolibri/{controller-BdPVgWDs.js → controller-DYkXzFqc.js} +1 -1
- package/dist/kolibri/{dev.utils--eVyQ4zr.js → dev.utils-BgFDROtc.js} +1 -1
- package/dist/kolibri/devtools-B6h2bVMJ.js +4 -0
- package/dist/kolibri/disabled-BZIZZ6wy.js +4 -0
- package/dist/kolibri/{element-focus-BYLFG-oz.js → element-focus-C0L8NWU8.js} +1 -1
- package/dist/kolibri/{element-interaction-C2pgnQ6t.js → element-interaction-B3GEli6r.js} +1 -1
- package/dist/kolibri/{events-B2UzbUT7.js → events-DdfMb1U7.js} +1 -1
- package/dist/kolibri/field-control-QF0yTcyb.js +4 -0
- package/dist/kolibri/{group-CqAFhkgE.js → group-8Me6YSO8.js} +1 -1
- package/dist/kolibri/has-closer-B-uYNNCw.js +4 -0
- package/dist/kolibri/href-DKPJq0Rh.js +4 -0
- package/dist/kolibri/i18n-TlIXBsgS.js +4 -0
- package/dist/kolibri/i18n-Uze_l4Ts.js +4 -0
- package/dist/kolibri/id-CkUYl2hO.js +4 -0
- package/dist/kolibri/index-D1fZ9xFt.js +6 -0
- package/dist/kolibri/index.esm.js +1 -1
- package/dist/kolibri/input-DwlolkOG.js +4 -0
- package/dist/kolibri/input-container-DC3x4oGg.js +4 -0
- package/dist/kolibri/item-DThxrTZc.js +4 -0
- package/dist/kolibri/item-cArH2C6l.js +4 -0
- package/dist/kolibri/item-pool-D4qvvY-S.js +4 -0
- package/dist/kolibri/item-uC3h4pj3.js +4 -0
- package/dist/kolibri/item-zPmzbSvE.js +4 -0
- package/dist/kolibri/{keyboard-Cc1-_wSt.js → keyboard-DzlBdECG.js} +1 -1
- package/dist/kolibri/kol-abbr.entry.js +1 -1
- package/dist/kolibri/kol-accordion.entry.js +1 -1
- package/dist/kolibri/kol-alert.entry.js +1 -1
- package/dist/kolibri/kol-avatar.entry.js +1 -1
- package/dist/kolibri/kol-badge.entry.js +1 -1
- package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
- package/dist/kolibri/kol-button-link.entry.js +1 -1
- package/dist/kolibri/kol-button.entry.js +1 -1
- package/dist/kolibri/kol-card.entry.js +1 -1
- package/dist/kolibri/kol-combobox.entry.js +1 -1
- package/dist/kolibri/kol-details.entry.js +1 -1
- package/dist/kolibri/kol-dialog.entry.js +1 -1
- package/dist/kolibri/kol-drawer.entry.js +1 -1
- package/dist/kolibri/kol-form.entry.js +1 -1
- package/dist/kolibri/kol-heading.entry.js +1 -1
- package/dist/kolibri/kol-icon.entry.js +1 -1
- package/dist/kolibri/kol-image.entry.js +1 -1
- package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
- package/dist/kolibri/kol-input-color.entry.js +1 -1
- package/dist/kolibri/kol-input-date.entry.js +1 -1
- package/dist/kolibri/kol-input-email.entry.js +1 -1
- package/dist/kolibri/kol-input-file.entry.js +1 -1
- package/dist/kolibri/kol-input-number.entry.js +1 -1
- package/dist/kolibri/kol-input-password.entry.js +1 -1
- package/dist/kolibri/kol-input-radio.entry.js +1 -1
- package/dist/kolibri/kol-input-range.entry.js +1 -1
- package/dist/kolibri/kol-input-text.entry.js +1 -1
- package/dist/kolibri/kol-kolibri.entry.js +1 -1
- package/dist/kolibri/kol-link-button.entry.js +1 -1
- package/dist/kolibri/kol-link.entry.js +1 -1
- package/dist/kolibri/kol-meter.entry.js +1 -1
- package/dist/kolibri/kol-modal.entry.js +1 -1
- package/dist/kolibri/kol-nav.entry.js +1 -1
- package/dist/kolibri/kol-pagination.entry.js +1 -1
- package/dist/kolibri/kol-popover-button.entry.js +1 -1
- package/dist/kolibri/kol-progress.entry.js +1 -1
- package/dist/kolibri/kol-quote.entry.js +1 -1
- package/dist/kolibri/kol-select.entry.js +1 -1
- package/dist/kolibri/kol-single-select.entry.js +1 -1
- package/dist/kolibri/kol-skip-nav.entry.js +1 -1
- package/dist/kolibri/kol-spin.entry.js +1 -1
- package/dist/kolibri/kol-split-button.entry.js +1 -1
- package/dist/kolibri/kol-table-stateful.entry.js +1 -1
- package/dist/kolibri/kol-table-stateless.entry.js +1 -1
- package/dist/kolibri/kol-tabs.entry.js +1 -1
- package/dist/kolibri/kol-textarea.entry.js +1 -1
- package/dist/kolibri/kol-toast-container.entry.js +1 -1
- package/dist/kolibri/kol-toolbar.entry.js +1 -1
- package/dist/kolibri/kol-tree-item.entry.js +1 -1
- package/dist/kolibri/kol-tree.entry.js +1 -1
- package/dist/kolibri/kol-version.entry.js +1 -1
- package/dist/kolibri/kolibri.esm.js +1 -1
- package/dist/kolibri/label-G82W4YoW.js +4 -0
- package/dist/kolibri/label-hints-DiRb_zIZ.js +4 -0
- package/dist/kolibri/label-lang-segment-BSVexfSR.js +4 -0
- package/dist/kolibri/label-with-expert-slot-C1i0atAL.js +4 -0
- package/dist/kolibri/level-CWkPM-CS.js +4 -0
- package/dist/kolibri/link-target-B2OC2sZU.js +4 -0
- package/dist/kolibri/links-CiNHSAYH.js +4 -0
- package/dist/kolibri/multiple-CuU2AuEM.js +4 -0
- package/dist/kolibri/number-value-adUq1zr1.js +4 -0
- package/dist/kolibri/open-DR8Z7RtS.js +4 -0
- package/dist/kolibri/{open-items-cache-C98FzYQ9.js → open-items-cache-CS2mDRNB.js} +1 -1
- package/dist/kolibri/{options-CKAHQbcF.js → options-BDTJtk6H.js} +1 -1
- package/dist/kolibri/options-BPwcDIDO.js +4 -0
- package/dist/kolibri/{orientation-VvJMCd9m.js → orientation-BUPO9LJU.js} +1 -1
- package/dist/kolibri/placeholder-BTFnryTd.js +4 -0
- package/dist/kolibri/props-from-config-DqFgiUwD.js +4 -0
- package/dist/kolibri/read-only-DRmmHb2G.js +4 -0
- package/dist/kolibri/required-D4CdAA4s.js +4 -0
- package/dist/kolibri/resolve-props-BAambGug.js +4 -0
- package/dist/kolibri/resolve-props-Dpl38Wpe.js +4 -0
- package/dist/kolibri/rows-DRKSoawJ.js +4 -0
- package/dist/kolibri/{scroll-lock-CF_Z7MzO.js → scroll-lock-C66lpb8L.js} +1 -1
- package/dist/kolibri/shared-state-Dn94ivRg.js +4 -0
- package/dist/kolibri/smart-button-BYEk3DzS.js +4 -0
- package/dist/kolibri/spell-check-DlQ_d2GL.js +4 -0
- package/dist/kolibri/src-Cikg9qhP.js +4 -0
- package/dist/kolibri/step-C7WPZrUp.js +4 -0
- package/dist/kolibri/{suggestions-BJxNFtkL.js → suggestions-CotfxJG1.js} +1 -1
- package/dist/kolibri/suggestions-qW9OdwO3.js +4 -0
- package/dist/kolibri/test-component.entry.js +1 -1
- package/dist/kolibri/theme-store-DroJsU6S.js +4 -0
- package/dist/kolibri/toggle-handler-BB_SIgS1.js +4 -0
- package/dist/kolibri/tooltip-open-tracking-CxHWKk8f.js +4 -0
- package/dist/kolibri/unique-nav-labels-CQgKoOXd.js +4 -0
- package/dist/kolibri/unit-D2lG-lEM.js +4 -0
- package/dist/kolibri/validators-yh10eyXe.js +4 -0
- package/dist/kolibri/value-string-DwEIOG1f.js +4 -0
- package/dist/kolibri/{width-D5-Licpp.js → width-xawzWTVW.js} +1 -1
- package/dist/types/components/accordion/component.d.ts +2 -2
- package/dist/types/components/alert/component.d.ts +2 -2
- package/dist/types/components/badge/component.d.ts +2 -2
- package/dist/types/components/breadcrumb/component.d.ts +2 -2
- package/dist/types/components/button/base.d.ts +1 -1
- package/dist/types/components/button/component.d.ts +2 -2
- package/dist/types/components/button-link/component.d.ts +2 -2
- package/dist/types/components/card/component.d.ts +12 -5
- package/dist/types/components/combobox/component.d.ts +10 -10
- package/dist/types/components/details/component.d.ts +2 -2
- package/dist/types/components/dialog/base.d.ts +1 -1
- package/dist/types/components/dialog/component.d.ts +3 -3
- package/dist/types/components/drawer/component.d.ts +2 -2
- package/dist/types/components/form/component.d.ts +2 -2
- package/dist/types/components/heading/component.d.ts +2 -2
- package/dist/types/components/image/component.d.ts +2 -2
- package/dist/types/components/input-checkbox/component.d.ts +9 -9
- package/dist/types/components/input-color/component.d.ts +4 -4
- package/dist/types/components/input-date/component.d.ts +6 -6
- package/dist/types/components/input-email/component.d.ts +8 -8
- package/dist/types/components/input-file/component.d.ts +4 -4
- package/dist/types/components/input-number/component.d.ts +6 -6
- package/dist/types/components/input-password/component.d.ts +8 -8
- package/dist/types/components/input-radio/component.d.ts +5 -5
- package/dist/types/components/input-range/component.d.ts +4 -4
- package/dist/types/components/input-text/component.d.ts +12 -12
- package/dist/types/components/kolibri/component.d.ts +2 -2
- package/dist/types/components/link/component.d.ts +4 -4
- package/dist/types/components/link-button/component.d.ts +4 -4
- package/dist/types/components/modal/component.d.ts +3 -3
- package/dist/types/components/nav/component.d.ts +2 -2
- package/dist/types/components/pagination/component.d.ts +8 -8
- package/dist/types/components/popover-button/component.d.ts +10 -3
- package/dist/types/components/public-api/contract.d.ts +7 -2
- package/dist/types/components/select/component.d.ts +6 -6
- package/dist/types/components/single-select/component.d.ts +10 -10
- package/dist/types/components/skip-nav/component.d.ts +2 -2
- package/dist/types/components/spin/component.d.ts +2 -2
- package/dist/types/components/split-button/component.d.ts +2 -2
- package/dist/types/components/table-stateful/component.d.ts +7 -7
- package/dist/types/components/table-stateless/base.d.ts +2 -0
- package/dist/types/components/table-stateless/component.d.ts +2 -2
- package/dist/types/components/tabs/component.d.ts +3 -3
- package/dist/types/components/textarea/component.d.ts +8 -8
- package/dist/types/components/toolbar/component.d.ts +6 -6
- package/dist/types/components/tree/component.d.ts +2 -2
- package/dist/types/components/tree-item/component.d.ts +4 -4
- package/dist/types/components/version/component.d.ts +2 -2
- package/dist/types/components.d.ts +47 -53
- package/dist/types/index.d.ts +1 -1
- package/dist/types/internal/functional-components/abbr/api.d.ts +1 -1
- package/dist/types/internal/functional-components/alert/api.d.ts +1 -1
- package/dist/types/internal/functional-components/avatar/api.d.ts +2 -2
- package/dist/types/internal/functional-components/badge/api.d.ts +2 -26
- package/dist/types/internal/functional-components/base-web-component.d.ts +1 -1
- package/dist/types/internal/functional-components/breadcrumb/api.d.ts +1 -1
- package/dist/types/internal/functional-components/button/api.d.ts +2 -2
- package/dist/types/internal/functional-components/card/api.d.ts +2 -2
- package/dist/types/internal/functional-components/collapsible/api.d.ts +2 -2
- package/dist/types/internal/functional-components/combobox/api.d.ts +4 -4
- package/dist/types/internal/functional-components/counter/api.d.ts +1 -1
- package/dist/types/internal/functional-components/dialog/api.d.ts +2 -2
- package/dist/types/internal/functional-components/dialog/component.d.ts +1 -1
- package/dist/types/internal/functional-components/dialog/item.d.ts +1 -1
- package/dist/types/internal/functional-components/drawer/api.d.ts +2 -2
- package/dist/types/internal/functional-components/form/api.d.ts +1 -1
- package/dist/types/internal/functional-components/form-association/api.d.ts +1 -1
- package/dist/types/internal/functional-components/form-field/api.d.ts +3 -3
- package/dist/types/internal/functional-components/form-field/base-web-component.d.ts +2 -2
- package/dist/types/internal/functional-components/form-field/number-value.d.ts +1 -1
- package/dist/types/internal/functional-components/form-field/select-value.d.ts +1 -1
- package/dist/types/internal/functional-components/generic-types.d.ts +2 -2
- package/dist/types/internal/functional-components/heading/api.d.ts +2 -2
- package/dist/types/internal/functional-components/icon/api.d.ts +1 -1
- package/dist/types/internal/functional-components/image/api.d.ts +2 -2
- package/dist/types/internal/functional-components/input-checkbox/api.d.ts +3 -3
- package/dist/types/internal/functional-components/input-color/api.d.ts +4 -28
- package/dist/types/internal/functional-components/input-date/api.d.ts +4 -28
- package/dist/types/internal/functional-components/input-email/api.d.ts +4 -28
- package/dist/types/internal/functional-components/input-file/api.d.ts +4 -28
- package/dist/types/internal/functional-components/input-number/api.d.ts +4 -28
- package/dist/types/internal/functional-components/input-password/api.d.ts +4 -28
- package/dist/types/internal/functional-components/input-radio/api.d.ts +3 -3
- package/dist/types/internal/functional-components/input-range/api.d.ts +4 -4
- package/dist/types/internal/functional-components/input-text/api.d.ts +4 -28
- package/dist/types/internal/functional-components/kolibri/api.d.ts +1 -1
- package/dist/types/internal/functional-components/link/api.d.ts +2 -2
- package/dist/types/internal/functional-components/meter/api.d.ts +3 -3
- package/dist/types/internal/functional-components/nav/api.d.ts +2 -2
- package/dist/types/internal/functional-components/pagination/api.d.ts +2 -2
- package/dist/types/internal/functional-components/pagination/page-size-select.d.ts +1 -1
- package/dist/types/internal/functional-components/popover/api.d.ts +1 -1
- package/dist/types/internal/functional-components/popover-button/api.d.ts +2 -2
- package/dist/types/internal/functional-components/progress/api.d.ts +3 -3
- package/dist/types/internal/functional-components/quote/api.d.ts +2 -2
- package/dist/types/internal/functional-components/select/api.d.ts +4 -4
- package/dist/types/internal/functional-components/single-select/api.d.ts +4 -4
- package/dist/types/internal/functional-components/skip-nav/api.d.ts +1 -1
- package/dist/types/internal/functional-components/spin/api.d.ts +1 -1
- package/dist/types/internal/functional-components/split-button/api.d.ts +1 -1
- package/dist/types/internal/functional-components/table-stateful/api.d.ts +2 -2
- package/dist/types/internal/functional-components/table-stateful/component.d.ts +10 -0
- package/dist/types/internal/functional-components/table-stateful/model.d.ts +2 -0
- package/dist/types/internal/functional-components/table-stateless/api.d.ts +2 -2
- package/dist/types/internal/functional-components/table-stateless/component.d.ts +2 -0
- package/dist/types/internal/functional-components/table-stateless/selection-tooltip-item.d.ts +10 -0
- package/dist/types/internal/functional-components/table-stateless/table-model.d.ts +1 -1
- package/dist/types/internal/functional-components/tabs/api.d.ts +2 -2
- package/dist/types/internal/functional-components/text-input/api.d.ts +4 -28
- package/dist/types/internal/functional-components/textarea/api.d.ts +4 -4
- package/dist/types/internal/functional-components/toolbar/api.d.ts +3 -3
- package/dist/types/internal/functional-components/toolbar/{item.d.ts → entry-item.d.ts} +1 -1
- package/dist/types/internal/functional-components/tooltip/api.d.ts +2 -2
- package/dist/types/internal/functional-components/tree/api.d.ts +1 -1
- package/dist/types/internal/functional-components/tree-item/api.d.ts +2 -2
- package/dist/types/internal/functional-components/version/api.d.ts +1 -1
- package/dist/types/internal/props/breadcrumb-links.d.ts +1 -1
- package/dist/types/internal/props/helpers/iso-date.d.ts +1 -5
- package/dist/types/internal/props/helpers/normalizers.d.ts +1 -2
- package/dist/types/internal/props/index.d.ts +1 -1
- package/dist/types/internal/props/info-popover.d.ts +1 -1
- package/dist/types/internal/props/input-date-max.d.ts +1 -1
- package/dist/types/internal/props/input-date-min.d.ts +1 -1
- package/dist/types/internal/props/nav-links.d.ts +1 -1
- package/dist/types/internal/props/skip-nav-links.d.ts +1 -1
- package/dist/types/internal/props/smart-button.d.ts +1 -25
- package/dist/types/internal/props/value-input-date.d.ts +1 -1
- package/dist/types/schema/components/alert.d.ts +2 -8
- package/dist/types/schema/components/badge.d.ts +3 -16
- package/dist/types/schema/components/breadcrumb.d.ts +0 -15
- package/dist/types/schema/components/button.d.ts +3 -3
- package/dist/types/schema/components/card.d.ts +0 -9
- package/dist/types/schema/components/form.d.ts +0 -13
- package/dist/types/schema/components/index.d.ts +0 -29
- package/dist/types/schema/components/link.d.ts +2 -2
- package/dist/types/schema/components/pagination.d.ts +1 -15
- package/dist/types/schema/components/popover-button.d.ts +3 -6
- package/dist/types/schema/components/tabs.d.ts +3 -21
- package/dist/types/schema/components/textarea.d.ts +0 -28
- package/dist/types/schema/index.d.ts +1 -1
- package/dist/types/schema/props/accept.d.ts +0 -3
- package/dist/types/schema/props/access-key.d.ts +0 -2
- package/dist/types/schema/props/active.d.ts +0 -3
- package/dist/types/schema/props/adjust-height.d.ts +0 -2
- package/dist/types/schema/props/alert-type.d.ts +0 -2
- package/dist/types/schema/props/align.d.ts +0 -2
- package/dist/types/schema/props/allow-multi-sort.d.ts +0 -3
- package/dist/types/schema/props/alt.d.ts +0 -3
- package/dist/types/schema/props/alternative-button-link-role.d.ts +1 -5
- package/dist/types/schema/props/aria-controls.d.ts +0 -2
- package/dist/types/schema/props/aria-current-value.d.ts +1 -5
- package/dist/types/schema/props/aria-description.d.ts +0 -2
- package/dist/types/schema/props/aria-expanded.d.ts +0 -2
- package/dist/types/schema/props/aria-owns.d.ts +0 -2
- package/dist/types/schema/props/aria-selected.d.ts +0 -2
- package/dist/types/schema/props/auto-complete.d.ts +0 -2
- package/dist/types/schema/props/badge-text.d.ts +0 -2
- package/dist/types/schema/props/button-callbacks.d.ts +0 -3
- package/dist/types/schema/props/button-type.d.ts +1 -5
- package/dist/types/schema/props/button-variant.d.ts +1 -5
- package/dist/types/schema/props/checked.d.ts +0 -2
- package/dist/types/schema/props/collapsible.d.ts +0 -2
- package/dist/types/schema/props/color.d.ts +0 -4
- package/dist/types/schema/props/current-length.d.ts +0 -3
- package/dist/types/schema/props/custom-class.d.ts +0 -2
- package/dist/types/schema/props/disabled.d.ts +0 -2
- package/dist/types/schema/props/download.d.ts +0 -2
- package/dist/types/schema/props/error-list.d.ts +0 -2
- package/dist/types/schema/props/has-closer.d.ts +0 -2
- package/dist/types/schema/props/has-compact-button.d.ts +0 -2
- package/dist/types/schema/props/has-counter.d.ts +0 -3
- package/dist/types/schema/props/has-create-button.d.ts +0 -2
- package/dist/types/schema/props/has-icons-when-expanded.d.ts +0 -2
- package/dist/types/schema/props/has-settings-menu.d.ts +0 -2
- package/dist/types/schema/props/has-value.d.ts +0 -3
- package/dist/types/schema/props/hide-label.d.ts +0 -3
- package/dist/types/schema/props/hide-msg.d.ts +0 -3
- package/dist/types/schema/props/hint.d.ts +0 -2
- package/dist/types/schema/props/href.d.ts +2 -4
- package/dist/types/schema/props/icons-input-checkbox.d.ts +0 -2
- package/dist/types/schema/props/icons.d.ts +0 -3
- package/dist/types/schema/props/id.d.ts +0 -2
- package/dist/types/schema/props/image-sizes.d.ts +0 -3
- package/dist/types/schema/props/image-source.d.ts +0 -3
- package/dist/types/schema/props/image-srcset.d.ts +0 -3
- package/dist/types/schema/props/indeterminate.d.ts +0 -2
- package/dist/types/schema/props/index.d.ts +4 -0
- package/dist/types/schema/props/inline.d.ts +0 -3
- package/dist/types/schema/props/label-align.d.ts +1 -5
- package/dist/types/schema/props/label.d.ts +3 -7
- package/dist/types/schema/props/link-on-callbacks.d.ts +0 -2
- package/dist/types/schema/props/link-target.d.ts +0 -2
- package/dist/types/schema/props/loading.d.ts +1 -5
- package/dist/types/schema/props/max-length-behavior.d.ts +1 -5
- package/dist/types/schema/props/max-length.d.ts +0 -3
- package/dist/types/schema/props/max.d.ts +0 -4
- package/dist/types/schema/props/modal.d.ts +0 -2
- package/dist/types/schema/props/msg.d.ts +0 -2
- package/dist/types/schema/props/multiple.d.ts +0 -3
- package/dist/types/schema/props/name.d.ts +0 -3
- package/dist/types/schema/props/open.d.ts +0 -3
- package/dist/types/schema/props/options.d.ts +0 -4
- package/dist/types/schema/props/orientation.d.ts +1 -5
- package/dist/types/schema/props/pagination-position.d.ts +1 -5
- package/dist/types/schema/props/pattern.d.ts +0 -3
- package/dist/types/schema/props/placeholder.d.ts +0 -3
- package/dist/types/schema/props/popover-align.d.ts +0 -2
- package/dist/types/schema/props/read-only.d.ts +0 -2
- package/dist/types/schema/props/required.d.ts +0 -2
- package/dist/types/schema/props/resize-textarea.d.ts +0 -2
- package/dist/types/schema/props/rows.d.ts +0 -2
- package/dist/types/schema/props/short-key.d.ts +0 -2
- package/dist/types/schema/props/show.d.ts +0 -3
- package/dist/types/schema/props/spell-check.d.ts +0 -2
- package/dist/types/schema/props/suggestions.d.ts +0 -2
- package/dist/types/schema/props/tab-behavior.d.ts +1 -5
- package/dist/types/schema/props/tab-index.d.ts +0 -2
- package/dist/types/schema/props/table-callbacks.d.ts +2 -2
- package/dist/types/schema/props/table-data-foot.d.ts +0 -3
- package/dist/types/schema/props/table-data.d.ts +0 -3
- package/dist/types/schema/props/table-fixed-cols.d.ts +0 -2
- package/dist/types/schema/props/table-selection.d.ts +0 -2
- package/dist/types/schema/props/toolbar-items.d.ts +0 -2
- package/dist/types/schema/props/tooltip-align.d.ts +0 -2
- package/dist/types/schema/props/touched.d.ts +0 -2
- package/dist/types/schema/props/type-input-date.d.ts +4 -2
- package/dist/types/schema/props/type-input-text.d.ts +0 -2
- package/dist/types/schema/props/unit.d.ts +0 -2
- package/dist/types/schema/props/variant/dialog.d.ts +1 -5
- package/dist/types/schema/props/variant/modal.d.ts +0 -1
- package/dist/types/schema/props/variant/password-variant.d.ts +1 -5
- package/dist/types/schema/props/variant-alert.d.ts +0 -2
- package/dist/types/schema/props/variant-class-name.d.ts +0 -3
- package/dist/types/schema/props/variant-input-checkbox.d.ts +0 -2
- package/dist/types/schema/props/variant-progress.d.ts +0 -2
- package/dist/types/schema/props/visibility-toggle.d.ts +0 -3
- package/dist/types/schema/props/width.d.ts +0 -3
- package/dist/types/schema/types/button-link-text.d.ts +4 -4
- package/dist/types/schema/validators/common.d.ts +2 -0
- package/dist/types/schema/validators/index.d.ts +0 -1
- package/dist/types/utils/testing/logged-messages.d.ts +1 -0
- package/dist/types/utils/testing/snapshot-input-testing.d.ts +2 -1
- package/dist/types/utils/testing/snapshot-testing.d.ts +4 -1
- package/doc/badge.md +6 -6
- package/doc/combobox.md +23 -23
- package/doc/input-checkbox.md +2 -2
- package/doc/input-color.md +22 -22
- package/doc/input-date.md +28 -28
- package/doc/input-email.md +30 -30
- package/doc/input-file.md +22 -22
- package/doc/input-number.md +28 -28
- package/doc/input-password.md +29 -29
- package/doc/input-radio.md +19 -19
- package/doc/input-range.md +24 -24
- package/doc/input-text.md +31 -31
- package/doc/select.md +24 -24
- package/doc/single-select.md +24 -24
- package/doc/tabs.md +1 -1
- package/doc/textarea.md +29 -29
- package/package.json +3 -3
- package/vscode-custom-data.json +50 -138
- package/dist/collection/components/card/base.js +0 -79
- package/dist/collection/components/popover-button/base.js +0 -69
- package/dist/collection/schema/components/accordion.js +0 -1
- package/dist/collection/schema/components/button-link.js +0 -1
- package/dist/collection/schema/components/collapsible.js +0 -1
- package/dist/collection/schema/components/combobox.js +0 -1
- package/dist/collection/schema/components/details.js +0 -1
- package/dist/collection/schema/components/dialog.js +0 -1
- package/dist/collection/schema/components/drawer.js +0 -1
- package/dist/collection/schema/components/heading.js +0 -1
- package/dist/collection/schema/components/input-checkbox.js +0 -1
- package/dist/collection/schema/components/input-color.js +0 -1
- package/dist/collection/schema/components/input-date.js +0 -1
- package/dist/collection/schema/components/input-email.js +0 -1
- package/dist/collection/schema/components/input-file.js +0 -1
- package/dist/collection/schema/components/input-number.js +0 -1
- package/dist/collection/schema/components/input-password.js +0 -1
- package/dist/collection/schema/components/input-radio.js +0 -1
- package/dist/collection/schema/components/input-range.js +0 -1
- package/dist/collection/schema/components/input-text.js +0 -1
- package/dist/collection/schema/components/kolibri.js +0 -1
- package/dist/collection/schema/components/link-button.js +0 -1
- package/dist/collection/schema/components/modal.js +0 -1
- package/dist/collection/schema/components/nav.js +0 -1
- package/dist/collection/schema/components/select.js +0 -1
- package/dist/collection/schema/components/single-select.js +0 -1
- package/dist/collection/schema/components/skip-nav.js +0 -1
- package/dist/collection/schema/components/split-button.js +0 -1
- package/dist/collection/schema/components/toolbar.js +0 -1
- package/dist/collection/schema/components/tree-item.js +0 -1
- package/dist/collection/schema/components/tree.js +0 -1
- package/dist/collection/schema/components/version.js +0 -1
- package/dist/collection/schema/validators/alignment.js +0 -10
- package/dist/collection/utils/testing/legacy-component.js +0 -16
- package/dist/components/ariaCurrentService.js +0 -4
- package/dist/kolibri/Heading-Cynkalqu.js +0 -4
- package/dist/kolibri/api-B76-Osk1.js +0 -4
- package/dist/kolibri/app-globals-Dtu1AIr1.js +0 -4
- package/dist/kolibri/ariaCurrentService-B9TgWLEw.js +0 -4
- package/dist/kolibri/base-BZCFxul4.js +0 -4
- package/dist/kolibri/base-CAiOx0qs.js +0 -4
- package/dist/kolibri/base-DJ3lTPYp.js +0 -4
- package/dist/kolibri/base-web-component-aOhHFXxF.js +0 -4
- package/dist/kolibri/behavior-DJQFXyfi.js +0 -4
- package/dist/kolibri/bootstrap-DUmk0ILT.js +0 -4
- package/dist/kolibri/component-BPL1Mikq.js +0 -4
- package/dist/kolibri/component-C0ijstyp.js +0 -4
- package/dist/kolibri/component-C58IwTEf.js +0 -4
- package/dist/kolibri/component-CAEpgoSo.js +0 -4
- package/dist/kolibri/component-DTV1Kuf1.js +0 -4
- package/dist/kolibri/component-S6ib3O8N.js +0 -4
- package/dist/kolibri/component-XbTjo2nm.js +0 -4
- package/dist/kolibri/devtools-CosbyboJ.js +0 -4
- package/dist/kolibri/disabled-Cu0e92-b.js +0 -4
- package/dist/kolibri/field-control-DbmtKHc1.js +0 -4
- package/dist/kolibri/has-closer-DOs1CXhp.js +0 -4
- package/dist/kolibri/href-DQbHtp6T.js +0 -4
- package/dist/kolibri/i18n-Bcb0tuyF.js +0 -4
- package/dist/kolibri/i18n-Cf0DhAke.js +0 -4
- package/dist/kolibri/id-BXwy9iRy.js +0 -4
- package/dist/kolibri/index-Bsx5X6jK.js +0 -6
- package/dist/kolibri/input-RvLnUp6C.js +0 -4
- package/dist/kolibri/input-container-BpG3WHug.js +0 -4
- package/dist/kolibri/item-Cw_jdgc6.js +0 -4
- package/dist/kolibri/item-DMttg5uX.js +0 -4
- package/dist/kolibri/item-DibV9jD7.js +0 -4
- package/dist/kolibri/item-KqTsA-5a.js +0 -4
- package/dist/kolibri/item-pool-C_4Isquh.js +0 -4
- package/dist/kolibri/label-DEZIsnKw.js +0 -4
- package/dist/kolibri/label-hints-C--ftrg_.js +0 -4
- package/dist/kolibri/label-lang-segment-B8ayoizG.js +0 -4
- package/dist/kolibri/label-with-expert-slot-DXi27J4o.js +0 -4
- package/dist/kolibri/level-BV6M_zmM.js +0 -4
- package/dist/kolibri/link-target-C9qzQAQg.js +0 -4
- package/dist/kolibri/links-Dt0OhMXb.js +0 -4
- package/dist/kolibri/multiple-DQdOCIyW.js +0 -4
- package/dist/kolibri/number-value-DtZloH4P.js +0 -4
- package/dist/kolibri/open-DaO7wXMr.js +0 -4
- package/dist/kolibri/options-C8BsBGBl.js +0 -4
- package/dist/kolibri/placeholder-7pbjAn-x.js +0 -4
- package/dist/kolibri/props-from-config-DVxNB2Lx.js +0 -4
- package/dist/kolibri/read-only-3XuQIAB8.js +0 -4
- package/dist/kolibri/required-CNgdXJ8H.js +0 -4
- package/dist/kolibri/resolve-props-B1DQKjTD.js +0 -4
- package/dist/kolibri/resolve-props-DOaJCd7Y.js +0 -4
- package/dist/kolibri/rows-DL1whQNh.js +0 -4
- package/dist/kolibri/shared-state-sWI1upS8.js +0 -4
- package/dist/kolibri/smart-button-BdA5-cUG.js +0 -4
- package/dist/kolibri/spell-check-B7J-eU5K.js +0 -4
- package/dist/kolibri/src-C2baLPDp.js +0 -4
- package/dist/kolibri/step-DmzcVFZB.js +0 -4
- package/dist/kolibri/suggestions-BXp8OhOi.js +0 -4
- package/dist/kolibri/theme-store-CEu5d_EK.js +0 -4
- package/dist/kolibri/toggle-handler-D7oFDKvq.js +0 -4
- package/dist/kolibri/tooltip-open-tracking-DXhnfmA2.js +0 -4
- package/dist/kolibri/unique-nav-labels-BOqpcYk4.js +0 -4
- package/dist/kolibri/unit-BFYz7QfA.js +0 -4
- package/dist/kolibri/validators-DPSQyOeQ.js +0 -4
- package/dist/kolibri/value-string-Cmozozek.js +0 -4
- package/dist/types/components/card/base.d.ts +0 -27
- package/dist/types/components/popover-button/base.d.ts +0 -21
- package/dist/types/schema/components/accordion.d.ts +0 -11
- package/dist/types/schema/components/button-link.d.ts +0 -7
- package/dist/types/schema/components/collapsible.d.ts +0 -7
- package/dist/types/schema/components/combobox.d.ts +0 -26
- package/dist/types/schema/components/details.d.ts +0 -11
- package/dist/types/schema/components/dialog.d.ts +0 -21
- package/dist/types/schema/components/drawer.d.ts +0 -17
- package/dist/types/schema/components/heading.d.ts +0 -17
- package/dist/types/schema/components/input-checkbox.d.ts +0 -25
- package/dist/types/schema/components/input-color.d.ts +0 -25
- package/dist/types/schema/components/input-date.d.ts +0 -34
- package/dist/types/schema/components/input-email.d.ts +0 -31
- package/dist/types/schema/components/input-file.d.ts +0 -22
- package/dist/types/schema/components/input-number.d.ts +0 -33
- package/dist/types/schema/components/input-password.d.ts +0 -31
- package/dist/types/schema/components/input-radio.d.ts +0 -22
- package/dist/types/schema/components/input-range.d.ts +0 -27
- package/dist/types/schema/components/input-text.d.ts +0 -33
- package/dist/types/schema/components/kolibri.d.ts +0 -21
- package/dist/types/schema/components/link-button.d.ts +0 -7
- package/dist/types/schema/components/modal.d.ts +0 -4
- package/dist/types/schema/components/nav.d.ts +0 -16
- package/dist/types/schema/components/select.d.ts +0 -24
- package/dist/types/schema/components/single-select.d.ts +0 -24
- package/dist/types/schema/components/skip-nav.d.ts +0 -16
- package/dist/types/schema/components/split-button.d.ts +0 -9
- package/dist/types/schema/components/toolbar.d.ts +0 -11
- package/dist/types/schema/components/tree-item.d.ts +0 -12
- package/dist/types/schema/components/tree.d.ts +0 -10
- package/dist/types/schema/components/version.d.ts +0 -10
- package/dist/types/schema/validators/alignment.d.ts +0 -3
- package/dist/types/utils/testing/legacy-component.d.ts +0 -4
- /package/dist/collection/{components → internal/functional-components}/tree/open-items-cache.js +0 -0
- /package/dist/types/{components/link/ariaCurrentService.d.ts → internal/functional-components/link/aria-current-service.d.ts} +0 -0
- /package/dist/types/{components → internal/functional-components}/tree/open-items-cache.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{p as o,h as e,H as t,t as i}from"./common.js";import{n,c as l}from"./dev.utils.js";import{B as a}from"./base2.js";const r=o(class extends a{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=n(),this.headingId=l("dialog-heading"),this.modal=!0,this._on=void 0,this._variant="blank",this._width="100%"}watchLabel(o){this.applyLabel(o)}watchOn(o){this.applyOn(o)}watchVariant(o){this.applyVariant(o)}watchWidth(o){this.applyWidth(o)}async openModal(){await this.showModal()}async showModal(){await this.show(!0)}show(o=!1){return this.showDialog(o),Promise.resolve()}close(){return this.closeDialog(),Promise.resolve()}async closeModal(){await this.close()}componentWillLoad(){this.initCardCloseButton(),this.watchLabel(this._label),this.watchOn(this._on),this.watchVariant(this._variant),this.watchWidth(this._width)}componentDidRender(){this.syncCardCloseTooltipListeners()}disconnectedCallback(){this.teardownDialog()}renderSlot(){return e("slot",null)}render(){return e(t,{key:"a87df6dcd9acc3a4eed8782820f567eacb49700b"},this.renderDialogFC())}get host(){return this}static get watchers(){return{_label:[{watchLabel:0}],_on:[{watchOn:0}],_variant:[{watchVariant:0}],_width:[{watchWidth:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: ""; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { position: relative; z-index: 1; grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } .kol-dialog, .kol-modal { min-height: var(--a11y-min-size); padding: 0; border: 0; overscroll-behavior: contain; } .kol-dialog__close-button, .kol-modal__close-button { position: absolute; top: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); right: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; } }'}}},[801,"kol-modal",{_label:[1],_on:[16],_variant:[1],_width:[1],ariaDescriptionId:[32],headingId:[32],modal:[32],openModal:[64],showModal:[64],show:[64],close:[64],closeModal:[64]},void 0,{_label:[{watchLabel:0}],_on:[{watchOn:0}],_variant:[{watchVariant:0}],_width:[{watchWidth:0}]}]),c=r,s=function(){"undefined"!=typeof customElements&&["kol-modal"].forEach((o=>{"kol-modal"===o&&(customElements.get(i(o))||customElements.define(i(o),r))}))};export{c as KolModal,s as defineCustomElement}
|
|
4
|
+
import{p as o,h as e,H as t,t as i}from"./prop.validators.js";import{c as n}from"./dev.utils.js";import{B as l}from"./base2.js";const a=o(class extends l{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=n("aria-description"),this.headingId=n("dialog-heading"),this.modal=!0,this._on=void 0,this._variant="blank",this._width="100%"}watchLabel(o){this.applyLabel(o)}watchOn(o){this.applyOn(o)}watchVariant(o){this.applyVariant(o)}watchWidth(o){this.applyWidth(o)}async openModal(){await this.showModal()}async showModal(){await this.show(!0)}show(o=!1){return this.showDialog(o),Promise.resolve()}close(){return this.closeDialog(),Promise.resolve()}async closeModal(){await this.close()}componentWillLoad(){this.initCardCloseButton(),this.watchLabel(this._label),this.watchOn(this._on),this.watchVariant(this._variant),this.watchWidth(this._width)}componentDidRender(){this.syncCardCloseTooltipListeners()}disconnectedCallback(){this.teardownDialog()}renderSlot(){return e("slot",null)}render(){return e(t,{key:"6d3f0cd028f991e5bd6e8f6640338c924699db02"},this.renderDialogFC())}get host(){return this}static get watchers(){return{_label:[{watchLabel:0}],_on:[{watchOn:0}],_variant:[{watchVariant:0}],_width:[{watchWidth:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: ""; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { position: relative; z-index: 1; grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } .kol-dialog, .kol-modal { min-height: var(--a11y-min-size); padding: 0; border: 0; overscroll-behavior: contain; } .kol-dialog__close-button, .kol-modal__close-button { position: absolute; top: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); right: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; } }'}}},[801,"kol-modal",{_label:[1],_on:[16],_variant:[1],_width:[1],ariaDescriptionId:[32],headingId:[32],modal:[32],openModal:[64],showModal:[64],show:[64],close:[64],closeModal:[64]},void 0,{_label:[{watchLabel:0}],_on:[{watchOn:0}],_variant:[{watchVariant:0}],_width:[{watchWidth:0}]}]),r=a,c=function(){"undefined"!=typeof customElements&&["kol-modal"].forEach((o=>{"kol-modal"===o&&(customElements.get(i(o))||customElements.define(i(o),a))}))};export{r as KolModal,c as defineCustomElement}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as o,p as e,l as t,j as n,H as i,_ as a,t as l}from"./common.js";import{c as r,n as s,r as c,B as d,f as h,a as k}from"./base-web-component.js";import{c as p}from"./item.js";import{c as b}from"./item-pool.js";import{c as m}from"./item3.js";import{h as f}from"./component6.js";import{l as u}from"./label.js";import{c as _}from"./links.js";import{t as v}from"./i18n.js";import{a as g,c as y}from"./dev.utils.js";import{B as x}from"./component9.js";import{L as w}from"./component4.js";import{r as C,a as E}from"./unique-nav-labels.js";const T=r("collapsible",!0,s),L=r("hasCompactButton",!1,s),B=r("hasIconsWhenExpanded",!1,s),I=_("KolNav"),j={required:[u,I],optional:[T,L,B,f]},z=o=>{var e;return void 0===o._href&&"function"==typeof(null===(e=o._on)||void 0===e?void 0:e.onClick)};function W(o){var e;return"string"==typeof o._icons?o._icons:"string"==typeof(null===(e=o._icons)||void 0===e?void 0:e.left)?o._icons.left:void 0}const H=e=>o("ul",{class:h("kol-nav__list",{"kol-nav__list--nested":e.deep>0,"kol-nav__list--vertical":0!==e.deep}),id:e.deep>0?e.id:void 0},e.links.map(((t,n)=>{const i=Array.isArray(t._children)&&t._children.length>0,a=!(!t._children||!e.expandedChildren.includes(t._children)),l=g(e.id,`${e.deep}-${n}`);return o("li",{class:h("kol-nav__list-item",{"kol-nav__list-item--active":!!t._active,"kol-nav__list-item--expanded":a,"kol-nav__list-item--has-children":i}),key:n},((e,t,n,i,a)=>{const{collapsible:l,compact:r,getButtonFcProps:s,getLinkFcProps:c,handleToggleExpansion:d,hasIconsWhenExpanded:k}=e,p=function({collapsible:o,expanded:e,hasIconsWhenExpanded:t,hideLabel:n,leftIcon:i}){const a={left:"",right:""};return t&&i&&(a.left=i),n&&(a.left=i||"kolicon-link"),o&&(a.right=e?"kolicon-minus":"kolicon-plus"),a}({collapsible:l&&n,expanded:i,hasIconsWhenExpanded:k,hideLabel:r,leftIcon:W(t)});return o("div",{class:"kol-nav__entry-wrapper"},(o=>"string"==typeof o._href)(t)?o("div",{class:h("kol-nav__entry kol-nav__entry--link",{"kol-nav__entry--collapsible":l})},o(w,Object.assign({},c("link-"+a,Object.assign(Object.assign({},t),{_hideLabel:r,_icons:p,_ariaControls:l&&n&&i?a:void 0,_ariaExpanded:l&&n?i:void 0}))))):o("div",{class:h("kol-nav__entry kol-nav__entry--button",{"kol-nav__entry--collapsible":l})},o(x,Object.assign({},s("button-"+a,{_label:t._label,_disabled:z(t)?t._disabled:void 0,_hideLabel:r,_icons:p,_ariaControls:l&&n&&i?a:void 0,_ariaExpanded:l&&n?i:void 0,_on:{onClick:(o,e)=>{z(t)&&"function"==typeof t._on.onClick&&t._on.onClick(o,e),d(t._children)}}})))))})(e,t,i,a,l),a&&o(H,Object.assign({},e,{deep:e.deep+1,links:t._children||[],id:l})))}))),F=e=>{const{collapsible:t,compact:n,expandedChildren:i,getButtonFcProps:a,getLinkFcProps:l,handleToggleCompact:r,handleToggleExpansion:s,hasCompactButton:h,hasIconsWhenExpanded:k,label:p,links:b,listId:m,navId:f}=c(j,e);return o(d,{block:"kol-nav",modifiers:{"is-compact":n}},o("nav",{"aria-label":p,class:"kol-nav__navigation",id:f},o(H,{collapsible:t,compact:n,deep:0,expandedChildren:i,getButtonFcProps:a,getLinkFcProps:l,handleToggleExpansion:s,hasIconsWhenExpanded:k,id:m,links:b})),h&&o("div",{class:"kol-nav__compact"},o("div",{class:"kol-nav__toggle-button"},o(x,Object.assign({},a("compact-toggle",{_ariaControls:f,_ariaExpanded:!n,_icons:n?"kolicon-chevron-right":"kolicon-chevron-left",_hideLabel:!0,_label:v(n?"kol-nav-maximize":"kol-nav-minimize"),_on:{onClick:r},_tooltipAlign:"right"}))))))},P=e(class extends k{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.compact=!1,this.expandedChildren=[],this.navId=y("kol-nav"),this.listId=g(this.navId,"list"),this.buttonItems=b((()=>p((()=>this.host))),(o=>o.syncListeners()),(o=>o.destroy())),this.linkItems=b((()=>m((()=>a(this)))),(o=>o.syncListeners()),(o=>o.destroy())),this.propsConfig=j,this._collapsible=!0,this._hasCompactButton=!1,this._hasIconsWhenExpanded=!1,this._hideLabel=!1,this.getButtonFcProps=(o,e)=>this.buttonItems.get(o).getFcProps(e),this.getLinkFcProps=(o,e)=>this.linkItems.get(o).getFcProps(e),this.handleToggleExpansion=o=>{o&&(this.expandedChildren=function(o,e){return o.includes(e)?o.filter((o=>o!==e)):[...o,e]}(this.expandedChildren,o))},this.handleToggleCompact=()=>{this.compact=!this.compact}}watchCollapsible(o){T.apply(o,(o=>this.setRenderProp("collapsible",o)))}watchHasCompactButton(o){L.apply(o,(o=>this.setRenderProp("hasCompactButton",o)))}watchHasIconsWhenExpanded(o){B.apply(o,(o=>this.setRenderProp("hasIconsWhenExpanded",o)))}watchHideLabel(o){f.apply(o,(o=>{this.compact=o}))}watchLabel(o){this.applyLabel(o)}watchLinks(o){I.apply(o,(o=>this.setRenderProp("links",o))),t("[KolNav] The navigation structure is not yet validated recursively."),this.expandedChildren=function(o){const e=[],t=o=>{if(o._active)return o._children&&e.push(o._children),!0;if(o._children)for(const n of o._children)if(t(n))return e.push(o._children),!0;return!1};return o.forEach(t),e}(this.getRenderProp("links"))}componentWillLoad(){this.watchCollapsible(this._collapsible),this.watchHideLabel(this._hideLabel),this.watchHasCompactButton(this._hasCompactButton),this.watchHasIconsWhenExpanded(this._hasIconsWhenExpanded),this.applyLabel(this._label,!0),this.watchLinks(this._links)}componentDidRender(){this.buttonItems.endRender(),this.linkItems.endRender()}disconnectedCallback(){C(this.getRenderProp("label")),this.buttonItems.destroy(),this.linkItems.destroy()}applyLabel(o,e=!1){e||C(this.getRenderProp("label")),u.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label")),n(o),E(this.getRenderProp("label"))}render(){return this.buttonItems.beginRender(),this.linkItems.beginRender(),o(i,{key:"397e0995830970486440949a60b2e95efcc3b617"},o(F,{key:"0798ef696d9f0797bb84042c6bd05e775f0c8805",collapsible:this.getRenderProp("collapsible"),compact:this.compact,expandedChildren:this.expandedChildren,getButtonFcProps:this.getButtonFcProps,getLinkFcProps:this.getLinkFcProps,handleToggleCompact:this.handleToggleCompact,handleToggleExpansion:this.handleToggleExpansion,hasCompactButton:this.getRenderProp("hasCompactButton"),hasIconsWhenExpanded:this.getRenderProp("hasIconsWhenExpanded"),label:this.getRenderProp("label"),links:this.getRenderProp("links"),listId:this.listId,navId:this.navId}))}get host(){return this}static get watchers(){return{_collapsible:[{watchCollapsible:0}],_hasCompactButton:[{watchHasCompactButton:0}],_hasIconsWhenExpanded:[{watchHasIconsWhenExpanded:0}],_hideLabel:[{watchHideLabel:0}],_label:[{watchLabel:0}],_links:[{watchLinks:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-nav { display: grid; place-items: center; } .kol-nav:not(.kol-nav--is-compact) .kol-nav__navigation { width: 100%; } .kol-nav__navigation .kol-span { width: 100%; justify-content: flex-start; } .kol-nav__navigation .kol-span__container { width: 100%; } .kol-nav__navigation .kol-span__container .kol-span__label { flex: 1; } .kol-nav__list { display: flex; margin: 0; padding: 0; flex-direction: column; list-style: none; } .kol-nav__entry-wrapper { display: flex; } .kol-nav__entry { flex-grow: 1; } .kol-button { text-align: left; } }'}}},[545,"kol-nav",{_collapsible:[4],_hasCompactButton:[4,"_has-compact-button"],_hasIconsWhenExpanded:[4,"_has-icons-when-expanded"],_hideLabel:[4,"_hide-label"],_label:[1],_links:[1],compact:[32],expandedChildren:[32]},void 0,{_collapsible:[{watchCollapsible:0}],_hasCompactButton:[{watchHasCompactButton:0}],_hasIconsWhenExpanded:[{watchHasIconsWhenExpanded:0}],_hideLabel:[{watchHideLabel:0}],_label:[{watchLabel:0}],_links:[{watchLinks:0}]}]),G=P,O=function(){"undefined"!=typeof customElements&&["kol-nav"].forEach((o=>{"kol-nav"===o&&(customElements.get(l(o))||customElements.define(l(o),P))}))};export{G as KolNav,O as defineCustomElement}
|
|
4
|
+
import{h as o,p as e,l as t,j as n,H as i,$ as a,t as l}from"./prop.validators.js";import{c as r,n as s,r as c,B as d,f as h,a as k}from"./base-web-component.js";import{c as p}from"./item.js";import{c as b}from"./item-pool.js";import{c as m}from"./item3.js";import{h as f}from"./component6.js";import{l as u}from"./label.js";import{c as _}from"./links.js";import{t as v}from"./i18n.js";import{a as g,c as y}from"./dev.utils.js";import{B as x}from"./component9.js";import{L as w}from"./component4.js";import{r as C,a as E}from"./unique-nav-labels.js";const T=r("collapsible",!0,s),L=r("hasCompactButton",!1,s),B=r("hasIconsWhenExpanded",!1,s),I=_("KolNav"),j={required:[u,I],optional:[T,L,B,f]},z=o=>{var e;return void 0===o._href&&"function"==typeof(null===(e=o._on)||void 0===e?void 0:e.onClick)};function W(o){var e;return"string"==typeof o._icons?o._icons:"string"==typeof(null===(e=o._icons)||void 0===e?void 0:e.left)?o._icons.left:void 0}const H=e=>o("ul",{class:h("kol-nav__list",{"kol-nav__list--nested":e.deep>0,"kol-nav__list--vertical":0!==e.deep}),id:e.deep>0?e.id:void 0},e.links.map(((t,n)=>{const i=Array.isArray(t._children)&&t._children.length>0,a=!(!t._children||!e.expandedChildren.includes(t._children)),l=g(e.id,`${e.deep}-${n}`);return o("li",{class:h("kol-nav__list-item",{"kol-nav__list-item--active":!!t._active,"kol-nav__list-item--expanded":a,"kol-nav__list-item--has-children":i}),key:n},((e,t,n,i,a)=>{const{collapsible:l,compact:r,getButtonFcProps:s,getLinkFcProps:c,handleToggleExpansion:d,hasIconsWhenExpanded:k}=e,p=function({collapsible:o,expanded:e,hasIconsWhenExpanded:t,hideLabel:n,leftIcon:i}){const a={left:"",right:""};return t&&i&&(a.left=i),n&&(a.left=i||"kolicon-link"),o&&(a.right=e?"kolicon-minus":"kolicon-plus"),a}({collapsible:l&&n,expanded:i,hasIconsWhenExpanded:k,hideLabel:r,leftIcon:W(t)});return o("div",{class:"kol-nav__entry-wrapper"},(o=>"string"==typeof o._href)(t)?o("div",{class:h("kol-nav__entry kol-nav__entry--link",{"kol-nav__entry--collapsible":l})},o(w,Object.assign({},c("link-"+a,Object.assign(Object.assign({},t),{_hideLabel:r,_icons:p,_ariaControls:l&&n&&i?a:void 0,_ariaExpanded:l&&n?i:void 0}))))):o("div",{class:h("kol-nav__entry kol-nav__entry--button",{"kol-nav__entry--collapsible":l})},o(x,Object.assign({},s("button-"+a,{_label:t._label,_disabled:z(t)?t._disabled:void 0,_hideLabel:r,_icons:p,_ariaControls:l&&n&&i?a:void 0,_ariaExpanded:l&&n?i:void 0,_on:{onClick:(o,e)=>{z(t)&&"function"==typeof t._on.onClick&&t._on.onClick(o,e),d(t._children)}}})))))})(e,t,i,a,l),a&&o(H,Object.assign({},e,{deep:e.deep+1,links:t._children||[],id:l})))}))),F=e=>{const{collapsible:t,compact:n,expandedChildren:i,getButtonFcProps:a,getLinkFcProps:l,handleToggleCompact:r,handleToggleExpansion:s,hasCompactButton:h,hasIconsWhenExpanded:k,label:p,links:b,listId:m,navId:f}=c(j,e);return o(d,{block:"kol-nav",modifiers:{"is-compact":n}},o("nav",{"aria-label":p,class:"kol-nav__navigation",id:f},o(H,{collapsible:t,compact:n,deep:0,expandedChildren:i,getButtonFcProps:a,getLinkFcProps:l,handleToggleExpansion:s,hasIconsWhenExpanded:k,id:m,links:b})),h&&o("div",{class:"kol-nav__compact"},o("div",{class:"kol-nav__toggle-button"},o(x,Object.assign({},a("compact-toggle",{_ariaControls:f,_ariaExpanded:!n,_icons:n?"kolicon-chevron-right":"kolicon-chevron-left",_hideLabel:!0,_label:v(n?"kol-nav-maximize":"kol-nav-minimize"),_on:{onClick:r},_tooltipAlign:"right"}))))))},P=e(class extends k{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.compact=!1,this.expandedChildren=[],this.navId=y("kol-nav"),this.listId=g(this.navId,"list"),this.buttonItems=b((()=>p((()=>this.host))),(o=>o.syncListeners()),(o=>o.destroy())),this.linkItems=b((()=>m((()=>a(this)))),(o=>o.syncListeners()),(o=>o.destroy())),this.propsConfig=j,this._collapsible=!0,this._hasCompactButton=!1,this._hasIconsWhenExpanded=!1,this._hideLabel=!1,this.getButtonFcProps=(o,e)=>this.buttonItems.get(o).getFcProps(e),this.getLinkFcProps=(o,e)=>this.linkItems.get(o).getFcProps(e),this.handleToggleExpansion=o=>{o&&(this.expandedChildren=function(o,e){return o.includes(e)?o.filter((o=>o!==e)):[...o,e]}(this.expandedChildren,o))},this.handleToggleCompact=()=>{this.compact=!this.compact}}watchCollapsible(o){T.apply(o,(o=>this.setRenderProp("collapsible",o)))}watchHasCompactButton(o){L.apply(o,(o=>this.setRenderProp("hasCompactButton",o)))}watchHasIconsWhenExpanded(o){B.apply(o,(o=>this.setRenderProp("hasIconsWhenExpanded",o)))}watchHideLabel(o){f.apply(o,(o=>{this.compact=o}))}watchLabel(o){this.applyLabel(o)}watchLinks(o){I.apply(o,(o=>this.setRenderProp("links",o))),t("[KolNav] The navigation structure is not yet validated recursively."),this.expandedChildren=function(o){const e=[],t=o=>{if(o._active)return o._children&&e.push(o._children),!0;if(o._children)for(const n of o._children)if(t(n))return e.push(o._children),!0;return!1};return o.forEach(t),e}(this.getRenderProp("links"))}componentWillLoad(){this.watchCollapsible(this._collapsible),this.watchHasCompactButton(this._hasCompactButton),this.watchHasIconsWhenExpanded(this._hasIconsWhenExpanded),this.watchHideLabel(this._hideLabel),this.applyLabel(this._label,!0),this.watchLinks(this._links)}componentDidRender(){this.buttonItems.endRender(),this.linkItems.endRender()}disconnectedCallback(){C(this.getRenderProp("label")),this.buttonItems.destroy(),this.linkItems.destroy()}applyLabel(o,e=!1){e||C(this.getRenderProp("label")),u.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label")),n(o),E(this.getRenderProp("label"))}render(){return this.buttonItems.beginRender(),this.linkItems.beginRender(),o(i,{key:"9b8ee3f71d8d2cbf5e7f361a13800e7e2a586559"},o(F,{key:"a9c2593b59b177de3d7b805cf7d992713b9482dc",collapsible:this.getRenderProp("collapsible"),compact:this.compact,expandedChildren:this.expandedChildren,getButtonFcProps:this.getButtonFcProps,getLinkFcProps:this.getLinkFcProps,handleToggleCompact:this.handleToggleCompact,handleToggleExpansion:this.handleToggleExpansion,hasCompactButton:this.getRenderProp("hasCompactButton"),hasIconsWhenExpanded:this.getRenderProp("hasIconsWhenExpanded"),label:this.getRenderProp("label"),links:this.getRenderProp("links"),listId:this.listId,navId:this.navId}))}get host(){return this}static get watchers(){return{_collapsible:[{watchCollapsible:0}],_hasCompactButton:[{watchHasCompactButton:0}],_hasIconsWhenExpanded:[{watchHasIconsWhenExpanded:0}],_hideLabel:[{watchHideLabel:0}],_label:[{watchLabel:0}],_links:[{watchLinks:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-nav { display: grid; place-items: center; } .kol-nav:not(.kol-nav--is-compact) .kol-nav__navigation { width: 100%; } .kol-nav__navigation .kol-span { width: 100%; justify-content: flex-start; } .kol-nav__navigation .kol-span__container { width: 100%; } .kol-nav__navigation .kol-span__container .kol-span__label { flex: 1; } .kol-nav__list { display: flex; margin: 0; padding: 0; flex-direction: column; list-style: none; } .kol-nav__entry-wrapper { display: flex; } .kol-nav__entry { flex-grow: 1; } .kol-button { text-align: left; } }'}}},[545,"kol-nav",{_collapsible:[4],_hasCompactButton:[4,"_has-compact-button"],_hasIconsWhenExpanded:[4,"_has-icons-when-expanded"],_hideLabel:[4,"_hide-label"],_label:[1],_links:[1],compact:[32],expandedChildren:[32]},void 0,{_collapsible:[{watchCollapsible:0}],_hasCompactButton:[{watchHasCompactButton:0}],_hasIconsWhenExpanded:[{watchHasIconsWhenExpanded:0}],_hideLabel:[{watchHideLabel:0}],_label:[{watchLabel:0}],_links:[{watchLinks:0}]}]),G=P,O=function(){"undefined"!=typeof customElements&&["kol-nav"].forEach((o=>{"kol-nav"===o&&(customElements.get(l(o))||customElements.define(l(o),P))}))};export{G as KolNav,O as defineCustomElement}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{p as o,h as e,H as t,t as i}from"./common.js";import{a as n}from"./base-web-component.js";import{p as l,c as a,P as r}from"./item4.js";const s=o(class extends n{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.renderCount=0,this.propsConfig=l,this._boundaryCount=1,this._customClass=void 0,this._hasButtons=!0,this._pageSize=1,this._pageSizeOptions=[],this._siblingCount=1,this._tooltipAlign="top"}watchBoundaryCount(o){this.item.applyBoundaryCount(o)}watchCustomClass(o){this.item.applyCustomClass(o)}watchLabel(o){this.item.applyLabel(o,this.isRequired("label"))}watchHasButtons(o){this.item.applyHasButtons(o)}watchPage(o){this.item.applyPage(o)}watchPageSize(o){this.item.applyPageSize(o)}watchPageSizeOptions(o){this.item.applyPageSizeOptions(o)}watchOn(o){this.item.applyOn(o)}watchSiblingCount(o){this.item.applySiblingCount(o)}watchTooltipAlign(o){this.item.applyTooltipAlign(o)}watchMax(o){this.item.applyMax(o,this.isRequired("max"))}componentWillLoad(){this.item=a({getEventTarget:()=>this.host,requestRender:()=>{this.renderCount++},store:{get:o=>this.getRenderProp(o),set:(o,e)=>this.setRenderProp(o,e)}}),this.item.load({boundaryCount:this._boundaryCount,customClass:this._customClass,hasButtons:this._hasButtons,label:this._label,max:this._max,on:this._on,page:this._page,pageSize:this._pageSize,pageSizeOptions:this._pageSizeOptions,siblingCount:this._siblingCount,tooltipAlign:this._tooltipAlign},{label:this.isRequired("label"),max:this.isRequired("max")})}componentDidRender(){this.item.sync()}disconnectedCallback(){this.item.destroy()}render(){return e(t,{key:"f41e85dfa3e2519a45975ac0c09660975bb47721"},e(r,Object.assign({key:"8273c6d5347525b50ed874482ab40d0fdb5d4ee1"},this.item.getFcProps())))}get host(){return this}static get watchers(){return{_boundaryCount:[{watchBoundaryCount:0}],_customClass:[{watchCustomClass:0}],_label:[{watchLabel:0}],_hasButtons:[{watchHasButtons:0}],_page:[{watchPage:0}],_pageSize:[{watchPageSize:0}],_pageSizeOptions:[{watchPageSizeOptions:0}],_on:[{watchOn:0}],_siblingCount:[{watchSiblingCount:0}],_tooltipAlign:[{watchTooltipAlign:0}],_max:[{watchMax:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { :host { display: block; } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: ""; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-select { background-color: transparent; width: 100%; padding: 0; } .kol-select:not(:disabled) { cursor: pointer; } .kol-select:not([multiple], [size]) { height: 2.75em; } .kol-select[multiple][size="1"] { height: 2.75em; } .kol-select__option:checked::before { content: "✓ "; } .kol-select[multiple] option { display: flex; min-height: var(--a11y-min-size); align-items: center; } .kol-select[multiple][size="1"] option::checkmark { height: 100%; } .kol-select[multiple][size="1"] option:checked::before { display: none; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; container: paging/inline-size; } .kol-pagination__navigation-list { display: inline-flex; margin: 0; padding: 0; flex-wrap: wrap; align-items: center; list-style: none; } .kol-pagination__separator:before { content: "•••"; } .kol-pagination__page-size-select .kol-form-field-select { align-items: center; grid-template-columns: 1fr max-content; } @container paging (width < 600px) { .kol-pagination:has(.kol-pagination__button--first) li:has(.kol-pagination__button--numbers), .kol-pagination:has(.kol-pagination__button--first) li:has(.kol-pagination__separator) { display: none; } } }'}}},[545,"kol-pagination",{_boundaryCount:[2,"_boundary-count"],_customClass:[1,"_custom-class"],_label:[1],_hasButtons:[8,"_has-buttons"],_page:[2],_pageSize:[1026,"_page-size"],_pageSizeOptions:[1,"_page-size-options"],_on:[16],_siblingCount:[2,"_sibling-count"],_tooltipAlign:[1,"_tooltip-align"],_max:[2],renderCount:[32]},void 0,{_boundaryCount:[{watchBoundaryCount:0}],_customClass:[{watchCustomClass:0}],_label:[{watchLabel:0}],_hasButtons:[{watchHasButtons:0}],_page:[{watchPage:0}],_pageSize:[{watchPageSize:0}],_pageSizeOptions:[{watchPageSizeOptions:0}],_on:[{watchOn:0}],_siblingCount:[{watchSiblingCount:0}],_tooltipAlign:[{watchTooltipAlign:0}],_max:[{watchMax:0}]}]),c=s,d=function(){"undefined"!=typeof customElements&&["kol-pagination"].forEach((o=>{"kol-pagination"===o&&(customElements.get(i(o))||customElements.define(i(o),s))}))};export{c as KolPagination,d as defineCustomElement}
|
|
4
|
+
import{p as o,h as e,H as t,t as i}from"./prop.validators.js";import{a as n}from"./base-web-component.js";import{p as l,c as a,P as r}from"./item4.js";const s=o(class extends n{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.renderCount=0,this.propsConfig=l,this._boundaryCount=1,this._customClass=void 0,this._hasButtons=!0,this._pageSize=1,this._pageSizeOptions=[],this._siblingCount=1,this._tooltipAlign="top"}watchBoundaryCount(o){this.item.applyBoundaryCount(o)}watchCustomClass(o){this.item.applyCustomClass(o)}watchHasButtons(o){this.item.applyHasButtons(o)}watchLabel(o){this.item.applyLabel(o,this.isRequired("label"))}watchMax(o){this.item.applyMax(o,this.isRequired("max"))}watchOn(o){this.item.applyOn(o)}watchPage(o){this.item.applyPage(o)}watchPageSize(o){this.item.applyPageSize(o)}watchPageSizeOptions(o){this.item.applyPageSizeOptions(o)}watchSiblingCount(o){this.item.applySiblingCount(o)}watchTooltipAlign(o){this.item.applyTooltipAlign(o)}componentWillLoad(){this.item=a({getEventTarget:()=>this.host,requestRender:()=>{this.renderCount++},store:{get:o=>this.getRenderProp(o),set:(o,e)=>this.setRenderProp(o,e)}}),this.item.load({boundaryCount:this._boundaryCount,customClass:this._customClass,hasButtons:this._hasButtons,label:this._label,max:this._max,on:this._on,page:this._page,pageSize:this._pageSize,pageSizeOptions:this._pageSizeOptions,siblingCount:this._siblingCount,tooltipAlign:this._tooltipAlign},{label:this.isRequired("label"),max:this.isRequired("max")})}componentDidRender(){this.item.sync()}disconnectedCallback(){this.item.destroy()}render(){return e(t,{key:"1c9d77221b8dd2479c22df5d00e59f1af5937cff"},e(r,Object.assign({key:"04d8d79d0f7bfcc179a9be23b4cf84c9cc0e4aec"},this.item.getFcProps())))}get host(){return this}static get watchers(){return{_boundaryCount:[{watchBoundaryCount:0}],_customClass:[{watchCustomClass:0}],_hasButtons:[{watchHasButtons:0}],_label:[{watchLabel:0}],_max:[{watchMax:0}],_on:[{watchOn:0}],_page:[{watchPage:0}],_pageSize:[{watchPageSize:0}],_pageSizeOptions:[{watchPageSizeOptions:0}],_siblingCount:[{watchSiblingCount:0}],_tooltipAlign:[{watchTooltipAlign:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { :host { display: block; } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: ""; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-select { background-color: transparent; width: 100%; padding: 0; } .kol-select:not(:disabled) { cursor: pointer; } .kol-select:not([multiple], [size]) { height: 2.75em; } .kol-select[multiple][size="1"] { height: 2.75em; } .kol-select__option:checked::before { content: "✓ "; } .kol-select[multiple] option { display: flex; min-height: var(--a11y-min-size); align-items: center; } .kol-select[multiple][size="1"] option::checkmark { height: 100%; } .kol-select[multiple][size="1"] option:checked::before { display: none; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; container: paging/inline-size; } .kol-pagination__navigation-list { display: inline-flex; margin: 0; padding: 0; flex-wrap: wrap; align-items: center; list-style: none; } .kol-pagination__separator:before { content: "•••"; } .kol-pagination__page-size-select .kol-form-field-select { align-items: center; grid-template-columns: 1fr max-content; } @container paging (width < 600px) { .kol-pagination:has(.kol-pagination__button--first) li:has(.kol-pagination__button--numbers), .kol-pagination:has(.kol-pagination__button--first) li:has(.kol-pagination__separator) { display: none; } } }'}}},[545,"kol-pagination",{_boundaryCount:[2,"_boundary-count"],_customClass:[1,"_custom-class"],_hasButtons:[8,"_has-buttons"],_label:[1],_max:[2],_on:[16],_page:[2],_pageSize:[1026,"_page-size"],_pageSizeOptions:[1,"_page-size-options"],_siblingCount:[2,"_sibling-count"],_tooltipAlign:[1,"_tooltip-align"],renderCount:[32]},void 0,{_boundaryCount:[{watchBoundaryCount:0}],_customClass:[{watchCustomClass:0}],_hasButtons:[{watchHasButtons:0}],_label:[{watchLabel:0}],_max:[{watchMax:0}],_on:[{watchOn:0}],_page:[{watchPage:0}],_pageSize:[{watchPageSize:0}],_pageSizeOptions:[{watchPageSizeOptions:0}],_siblingCount:[{watchSiblingCount:0}],_tooltipAlign:[{watchTooltipAlign:0}]}]),c=s,d=function(){"undefined"!=typeof customElements&&["kol-pagination"].forEach((o=>{"kol-pagination"===o&&(customElements.get(i(o))||customElements.define(i(o),s))}))};export{c as KolPagination,d as defineCustomElement}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as o,p as t,H as e,t as i}from"./common.js";import{_ as n}from"./tslib.es6.js";import{c as a,n as l}from"./dev.utils.js";import{a as r,d as s}from"./element-interaction.js";import{a as c}from"./base-web-component.js";import{a as h,p as d,P as p}from"./behavior4.js";import{B as b}from"./base.js";const k=class extends b{constructor(){super(...arguments),this.popoverBehavior=new h(c.stateLess),this.popoverId=a("popover"),this.togglePopover=()=>{this.popoverBehavior.setShow(!this.getPopoverOpen())},this.handleToggle=o=>{this.setPopoverOpen("open"===o.newState)},this.setButtonElementRef=o=>{this.ctaRef(o),this.popoverBehavior.setTriggerElement(o)},this.setPopoverElementRef=o=>{this.popoverElement=o,this.popoverBehavior.setPopoverElementRef(o)}}getPopoverOpen(){return!0===this.popoverOpen}setPopoverOpen(o){this.popoverOpen=o}initPopoverToggle(){this.unsetButtonTabIndex(),this.applyOn({onClick:this.togglePopover}),this.popoverBehavior.componentWillLoad({align:d.getDefaultValue()})}syncPopoverToggleListener(){this.popoverElement&&this.popoverElement.addEventListener("toggle",this.handleToggle)}destroyPopover(){this.popoverElement&&(this.popoverElement.removeEventListener("toggle",this.handleToggle),this.popoverElement=void 0),this.popoverBehavior.destroy()}openPopover(){!0!==this.getRenderProp("disabled")&&this.popoverBehavior.setShow(!0)}closePopover(){this.popoverBehavior.setShow(!1)}applyPopoverAlign(o){d.apply(o,(o=>this.popoverBehavior.watchAlign(o)))}renderPopoverButtonFC(){return o(p,{accessKey:this.getRenderProp("accessKey"),ariaDescription:this.getRenderProp("ariaDescription"),ariaDescriptionId:this.getState("ariaDescriptionId"),ariaHasPopup:this.getRenderProp("ariaHasPopup"),ariaSelected:this.getRenderProp("ariaSelected"),customClass:this.getRenderProp("customClass"),disabled:this.getRenderProp("disabled"),handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,hideLabel:this.getRenderProp("hideLabel"),icons:this.getRenderProp("icons"),id:this.getRenderProp("id"),inline:this.getRenderProp("inline"),label:this.getRenderProp("label"),name:this.getRenderProp("name"),on:this.getRenderProp("on"),popoverAlign:this.popoverBehavior.getRenderProp("align"),popoverOpen:this.getPopoverOpen(),popoverId:this.popoverId,refButton:this.setButtonElementRef,refPopover:this.setPopoverElementRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,role:this.getRenderProp("role"),shortKey:this.getRenderProp("shortKey"),tabIndex:this.getRenderProp("tabIndex"),tooltipAlign:this.getRenderProp("tooltipAlign"),type:this.getRenderProp("type"),variant:this.getRenderProp("variant")})}},u=t(class extends k{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=l(),this.popoverOpen=!1,this._accessKey=void 0,this._ariaDescription=void 0,this._customClass=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._inline=!1,this._name=void 0,this._popoverAlign="bottom",this._shortKey=void 0,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign="top",this._type="button",this._value=void 0,this._variant=void 0,this.initFormAssociation()}watchAccessKey(o){this.applyAccessKey(o,this._shortKey)}watchAriaDescription(o){this.applyAriaDescription(o)}watchCustomClass(o){this.applyCustomClass(o)}watchDisabled(o){this.applyDisabled(o)}watchHideLabel(o){this.applyHideLabel(o)}watchIcons(o){this.applyIcons(o)}watchInline(o){this.applyInline(o)}watchLabel(o){this.applyLabel(o)}watchName(o){this.applyName(o)}watchPopoverAlign(o){this.applyPopoverAlign(o)}watchShortKey(o){this.applyShortKey(o,this._accessKey)}watchSyncValueBySelector(o){this.applySyncValueBySelector(o)}watchTabIndex(o){this.applyTabIndex(o)}watchTooltipAlign(o){this.applyTooltipAlign(o)}watchType(o){this.applyType(o)}watchValue(o){this.applyValue(o)}watchVariant(o){this.applyVariant(o)}hidePopover(){return this.closePopover(),Promise.resolve()}showPopover(){return this.openPopover(),Promise.resolve()}click(){return Promise.resolve()}focus(o){return Promise.resolve()}componentWillLoad(){this.initPopoverToggle(),this.watchAccessKey(this._accessKey),this.watchAriaDescription(this._ariaDescription),this.watchCustomClass(this._customClass),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchIcons(this._icons),this.watchInline(this._inline),this.watchLabel(this._label),this.watchName(this._name),this.watchPopoverAlign(this._popoverAlign),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTabIndex(this._tabIndex),this.watchTooltipAlign(this._tooltipAlign),this.watchType(this._type),this.watchValue(this._value),this.watchVariant(this._variant),this.initTooltipBehavior()}componentDidRender(){this.syncTooltipListeners(),this.syncPopoverToggleListener()}disconnectedCallback(){this.destroyTooltipBehavior(),this.destroyPopover()}render(){return o(e,{key:"0e99f5a742b168bd16599e22f3e85a2f2e7e7605"},this.renderPopoverButtonFC())}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDescription:[{watchAriaDescription:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_popoverAlign:[{watchPopoverAlign:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tabIndex:[{watchTabIndex:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-button__interactive-element::before { content: ""; } .kol-button__text { flex: 1 0 100%; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-popover-button { display: inline; } .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-popover-button--inline { display: inline-block; } .kol-popover-button--inline .kol-button, .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } }'}}},[545,"kol-popover-button",{_accessKey:[1,"_access-key"],_ariaDescription:[1,"_aria-description"],_customClass:[1,"_custom-class"],_disabled:[4],_hideLabel:[4,"_hide-label"],_icons:[1],_inline:[4],_label:[1],_name:[1],_popoverAlign:[1,"_popover-align"],_shortKey:[1,"_short-key"],_syncValueBySelector:[1,"_sync-value-by-selector"],_tabIndex:[2,"_tab-index"],_tooltipAlign:[1,"_tooltip-align"],_type:[1],_value:[8],_variant:[1],ariaDescriptionId:[32],popoverOpen:[32],hidePopover:[64],showPopover:[64],click:[64],focus:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDescription:[{watchAriaDescription:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_popoverAlign:[{watchPopoverAlign:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tabIndex:[{watchTabIndex:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);n([r("ctaRef")],u.prototype,"click",null),n([s("ctaRef")],u.prototype,"focus",null);const m=u,f=function(){"undefined"!=typeof customElements&&["kol-popover-button"].forEach((o=>{"kol-popover-button"===o&&(customElements.get(i(o))||customElements.define(i(o),u))}))};export{m as KolPopoverButton,f as defineCustomElement}
|
|
4
|
+
import{p as o,h as t,H as e,t as i}from"./prop.validators.js";import{_ as n}from"./tslib.es6.js";import{a}from"./base-web-component.js";import{a as l,p as r,P as s}from"./behavior4.js";import{c}from"./dev.utils.js";import{a as h,d}from"./element-interaction.js";import{B as p}from"./base.js";const b=o(class extends p{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.ariaDescriptionId=c("aria-description"),this.popoverOpen=!1,this.popoverBehavior=new l(a.stateLess),this.popoverId=c("popover"),this._accessKey=void 0,this._ariaDescription=void 0,this._customClass=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._inline=!1,this._name=void 0,this._popoverAlign="bottom",this._shortKey=void 0,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign="top",this._type="button",this._value=void 0,this._variant=void 0,this.togglePopover=()=>{this.popoverBehavior.setShow(!this.popoverOpen)},this.handleToggle=o=>{this.popoverOpen="open"===o.newState},this.setButtonElementRef=o=>{this.ctaRef(o),this.popoverBehavior.setTriggerElement(o)},this.setPopoverElementRef=o=>{this.popoverElement=o,this.popoverBehavior.setPopoverElementRef(o)},this.initFormAssociation()}watchAccessKey(o){this.applyAccessKey(o,this._shortKey)}watchAriaDescription(o){this.applyAriaDescription(o)}watchCustomClass(o){this.applyCustomClass(o)}watchDisabled(o){this.applyDisabled(o)}watchHideLabel(o){this.applyHideLabel(o)}watchIcons(o){this.applyIcons(o)}watchInline(o){this.applyInline(o)}watchLabel(o){this.applyLabel(o)}watchName(o){this.applyName(o)}watchPopoverAlign(o){r.apply(o,(o=>this.popoverBehavior.watchAlign(o)))}watchShortKey(o){this.applyShortKey(o,this._accessKey)}watchSyncValueBySelector(o){this.applySyncValueBySelector(o)}watchTabIndex(o){this.applyTabIndex(o)}watchTooltipAlign(o){this.applyTooltipAlign(o)}watchType(o){this.applyType(o)}watchValue(o){this.applyValue(o)}watchVariant(o){this.applyVariant(o)}hidePopover(){return this.popoverBehavior.setShow(!1),Promise.resolve()}showPopover(){return!0!==this.getRenderProp("disabled")&&this.popoverBehavior.setShow(!0),Promise.resolve()}click(){return Promise.resolve()}focus(o){return Promise.resolve()}componentWillLoad(){this.unsetButtonTabIndex(),this.applyOn({onClick:this.togglePopover}),this.popoverBehavior.componentWillLoad({align:r.getDefaultValue()}),this.watchAccessKey(this._accessKey),this.watchAriaDescription(this._ariaDescription),this.watchCustomClass(this._customClass),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchIcons(this._icons),this.watchInline(this._inline),this.watchLabel(this._label),this.watchName(this._name),this.watchPopoverAlign(this._popoverAlign),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTabIndex(this._tabIndex),this.watchTooltipAlign(this._tooltipAlign),this.watchType(this._type),this.watchValue(this._value),this.watchVariant(this._variant),this.initTooltipBehavior()}componentDidRender(){var o;this.syncTooltipListeners(),null===(o=this.popoverElement)||void 0===o||o.addEventListener("toggle",this.handleToggle)}disconnectedCallback(){this.destroyTooltipBehavior(),this.popoverElement&&(this.popoverElement.removeEventListener("toggle",this.handleToggle),this.popoverElement=void 0),this.popoverBehavior.destroy()}render(){return t(e,{key:"c6c9de2ceb4f474011c96f2d21cc3059a25dca1c"},t(s,{key:"0cfd20b5dd02646b76a86cb1dbbb74e3ea328aeb",accessKey:this.getRenderProp("accessKey"),ariaDescription:this.getRenderProp("ariaDescription"),ariaDescriptionId:this.getState("ariaDescriptionId"),ariaHasPopup:this.getRenderProp("ariaHasPopup"),ariaSelected:this.getRenderProp("ariaSelected"),customClass:this.getRenderProp("customClass"),disabled:this.getRenderProp("disabled"),handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,hideLabel:this.getRenderProp("hideLabel"),icons:this.getRenderProp("icons"),id:this.getRenderProp("id"),inline:this.getRenderProp("inline"),label:this.getRenderProp("label"),name:this.getRenderProp("name"),on:this.getRenderProp("on"),popoverAlign:this.popoverBehavior.getRenderProp("align"),popoverOpen:this.popoverOpen,popoverId:this.popoverId,refButton:this.setButtonElementRef,refPopover:this.setPopoverElementRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,role:this.getRenderProp("role"),shortKey:this.getRenderProp("shortKey"),tabIndex:this.getRenderProp("tabIndex"),tooltipAlign:this.getRenderProp("tooltipAlign"),type:this.getRenderProp("type"),variant:this.getRenderProp("variant")}))}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDescription:[{watchAriaDescription:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_popoverAlign:[{watchPopoverAlign:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tabIndex:[{watchTabIndex:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-button__interactive-element::before { content: ""; } .kol-button__text { flex: 1 0 100%; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-popover-button { display: inline; } .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-popover-button--inline { display: inline-block; } .kol-popover-button--inline .kol-button, .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } }'}}},[545,"kol-popover-button",{_accessKey:[1,"_access-key"],_ariaDescription:[1,"_aria-description"],_customClass:[1,"_custom-class"],_disabled:[4],_hideLabel:[4,"_hide-label"],_icons:[1],_inline:[4],_label:[1],_name:[1],_popoverAlign:[1,"_popover-align"],_shortKey:[1,"_short-key"],_syncValueBySelector:[1,"_sync-value-by-selector"],_tabIndex:[2,"_tab-index"],_tooltipAlign:[1,"_tooltip-align"],_type:[1],_value:[8],_variant:[1],ariaDescriptionId:[32],popoverOpen:[32],hidePopover:[64],showPopover:[64],click:[64],focus:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDescription:[{watchAriaDescription:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_popoverAlign:[{watchPopoverAlign:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tabIndex:[{watchTabIndex:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);n([h("ctaRef")],b.prototype,"click",null),n([d("ctaRef")],b.prototype,"focus",null);const k=b,u=function(){"undefined"!=typeof customElements&&["kol-popover-button"].forEach((o=>{"kol-popover-button"===o&&(customElements.get(i(o))||customElements.define(i(o),b))}))};export{k as KolPopoverButton,u as defineCustomElement}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as e,p as r,H as t,t as o}from"./common.js";import{c as a,d as l,o as i,r as s,t as n,B as c,a as d}from"./base-web-component.js";import{l as u}from"./label-lang-segment.js";import{m as h,u as b}from"./unit.js";import{t as k}from"./i18n.js";import{b as m}from"./bem-registry.js";import{r as p}from"./component5.js";const g=["bar","cycle"],v=a("variant","bar",(e=>{const r=l(e);if(g.includes(r))return r;throw Error("Invalid progress variant: "+r)}),(()=>!0)),_={optional:[u,b,v],required:[h,i]},f=m.forBlock("kol-progress"),x=({max:r,value:t})=>e("svg",{width:"100",viewBox:"0 0 120 120",xmlns:"http://www.w3.org/2000/svg"},e("circle",{class:f("cycle-background"),cx:"60",cy:"60",r:"54.5",fill:"currentColor",stroke:"currentColor","stroke-width":"8"}),e("circle",{class:f("cycle-whitespace"),cx:"60",cy:"60",r:"59",fill:"currentColor",stroke:"currentColor","stroke-width":"3"}),e("circle",{class:f("cycle-border"),cx:"60",cy:"60",r:"59",fill:"currentColor",stroke:"currentColor","stroke-width":"1"}),e("circle",{class:f("cycle-whitespace"),cx:"60",cy:"60",r:"51",fill:"currentColor",stroke:"currentColor","stroke-width":"1"}),e("circle",{class:f("cycle-border"),cx:"60",cy:"60",r:"50",fill:"currentColor",stroke:"currentColor","stroke-width":"1"}),e("circle",{class:f("cycle-progress"),fill:"currentColor",stroke:"currentColor","stroke-linecap":"round","stroke-dasharray":Math.round(t/r*342)+"px 342px","stroke-width":"6",cx:"60",cy:"60",r:"54.5"})),y=({max:r,value:t})=>{const o=t/r*100;return e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"12",overflow:"visible"},e("rect",{class:f("bar-background"),x:"1",y:"1",height:"11",rx:"5",fill:"currentColor",stroke:"currentColor","stroke-width":"3",width:"100%"}),e("rect",{class:f("bar-border"),x:"1",y:"1",height:"11",rx:"5",fill:"currentColor",stroke:"currentColor","stroke-width":"1",width:"100%"}),e("rect",{class:f("bar-progress"),x:"3",y:"3",height:"7",rx:"3.5",fill:"currentColor",stroke:"currentColor","stroke-width":"3",style:{width:`calc(${o}% - 4px)`}}))},w=r=>{const{label:t,max:o,unit:a,value:l,variant:i,liveValue:d}=s(_,r),u="%"===a,h=u?""+Math.round(d/o*100):d,b=u?Math.round(l/o*100):l,m=(""+((u?100:o)+1)).length+"ch",g=u?k("kol-live-value",{placeholders:{value:h+"",unit:a}}):k("kol-live-value-bounded",{placeholders:{value:h+"",max:o+"",unit:a}});return e(c,{block:"kol-progress"},e("div",{"aria-hidden":"true",class:f("cycle"===i?"cycle":"bar")},"bar"===i&&t&&e("div",{class:f("bar-label")},p(t)),((r,t,o)=>{switch(r){case"cycle":return e(x,{max:t,value:o});case"bar":return e(y,{max:t,value:o});default:throw Error(`Progress variant ${r} not implemented.`)}})(i,o,l),"cycle"===i&&e("div",{class:f("cycle-text")},t&&e("div",{class:f("cycle-label")},p(t)),e("div",{class:f("cycle-value")},`${b} ${a}`)),"bar"===i&&e("div",{class:f("bar-value"),style:{width:m}},b),"bar"===i&&e("div",{class:f("bar-unit")},a)),e("progress",{"aria-busy":l<o?"true":"false","aria-label":n(t)||k("kol-progress"),class:"visually-hidden",max:o,value:l}),e("span",{"aria-live":"polite","aria-relevant":"removals text",class:"visually-hidden"},g))},C=r(class extends d{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.liveValue=0,this.propsConfig=_,this._label=void 0,this._unit=void 0,this._variant=void 0}watchLabel(e){u.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label"))}watchMax(e){h.apply(e,(e=>{this.setRenderProp("max",e),this.watchValue(this.getRawProp("value"))}))}watchUnit(e){b.apply(e,(e=>this.setRenderProp("unit",e)))}watchValue(e){this.setRawProp("value",e),i.apply(e,(e=>{this.setRenderProp("value",e)}),{min:0,max:this.getRenderProp("max")})}watchVariant(e){v.apply(e,(e=>this.setRenderProp("variant",e)))}connectedCallback(){this.startLiveValueInterval()}componentWillLoad(){u.apply(this._label,(e=>this.setRenderProp("label",e)),this.isRequired("label")),h.apply(this._max,(e=>{this.setRenderProp("max",e),this.watchValue(this.getRawProp("value"))})),b.apply(this._unit,(e=>this.setRenderProp("unit",e))),this.watchValue(this._value),v.apply(this._variant,(e=>this.setRenderProp("variant",e))),this.setState("liveValue",this.getRenderProp("value"))}disconnectedCallback(){this.interval&&(clearInterval(this.interval),this.interval=void 0)}startLiveValueInterval(){clearInterval(this.interval),this.interval=setInterval((()=>{const e=this.getRenderProp("value");this.setState("liveValue",e)}),5e3)}render(){return e(t,{key:"152e25d33a93383473b700fc9cb6b0a7bf561c9b"},e(w,{key:"39c3dfdb192df93de922063416e884a2bdaf9158",label:this.getRenderProp("label"),max:this.getRenderProp("max"),unit:this.getRenderProp("unit"),value:this.getRenderProp("value"),variant:this.getRenderProp("variant"),liveValue:this.liveValue}))}static get watchers(){return{_label:[{watchLabel:0}],_max:[{watchMax:0}],_unit:[{watchUnit:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-progress { --color-bar: var(--kol-progress-color-bar, #0075ff); } .kol-progress__bar { display: grid; align-items: center; grid-template-areas: "LABEL LABEL LABEL" "BAR VALUE UNIT"; grid-template-columns: 1fr auto; } .kol-progress__bar-label { grid-column-end: 2; grid-area: LABEL; } .kol-progress__bar svg { grid-area: BAR; } .kol-progress__bar-value { grid-area: VALUE; text-align: right; } .kol-progress__bar-unit { grid-area: UNIT; } .kol-progress__bar-border { fill: transparent; stroke: black; } .kol-progress__bar-background { fill: white; stroke: white; } .kol-progress__bar-progress { fill: var(--color-bar); stroke: transparent; } @media (prefers-reduced-motion: no-preference) { .kol-progress__bar-progress { transition: 250ms ease-in-out 50ms; } } .kol-progress__cycle { display: grid; align-content: center; justify-items: center; grid-template-areas: "ALL"; grid-template-columns: auto; } .kol-progress__cycle > * { grid-area: ALL; } .kol-progress__cycle-text { display: flex; flex-direction: column; justify-content: center; font-size: x-small; text-align: center; } .kol-progress__cycle-text * { background-color: white; } .kol-progress__cycle-background { fill: transparent; stroke: white; } .kol-progress__cycle-border { fill: transparent; stroke: black; } .kol-progress__cycle-whitespace { fill: transparent; stroke: white; } .kol-progress__cycle-progress { transform: rotate(-90deg); transform-origin: 50% 50%; fill: transparent; stroke: var(--color-bar); } @media (prefers-reduced-motion: no-preference) { .kol-progress__cycle-progress { transition: 250ms ease-in-out 50ms; } } }'}}},[545,"kol-progress",{_label:[1],_max:[2],_unit:[1],_value:[2],_variant:[1],liveValue:[32]},void 0,{_label:[{watchLabel:0}],_max:[{watchMax:0}],_unit:[{watchUnit:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]),L=C,T=function(){"undefined"!=typeof customElements&&["kol-progress"].forEach((e=>{"kol-progress"===e&&(customElements.get(o(e))||customElements.define(o(e),C))}))};export{L as KolProgress,T as defineCustomElement}
|
|
4
|
+
import{h as e,p as r,H as t,t as o}from"./prop.validators.js";import{c as a,d as l,o as i,r as s,t as n,B as c,a as d}from"./base-web-component.js";import{l as u}from"./label-lang-segment.js";import{m as h,u as b}from"./unit.js";import{t as k}from"./i18n.js";import{b as p}from"./bem-registry.js";import{r as m}from"./component5.js";const g=["bar","cycle"],v=a("variant","bar",(e=>{const r=l(e);if(g.includes(r))return r;throw Error("Invalid progress variant: "+r)}),(()=>!0)),_={optional:[u,b,v],required:[i,h]},f=p.forBlock("kol-progress"),x=({max:r,value:t})=>e("svg",{width:"100",viewBox:"0 0 120 120",xmlns:"http://www.w3.org/2000/svg"},e("circle",{class:f("cycle-background"),cx:"60",cy:"60",r:"54.5",fill:"currentColor",stroke:"currentColor","stroke-width":"8"}),e("circle",{class:f("cycle-whitespace"),cx:"60",cy:"60",r:"59",fill:"currentColor",stroke:"currentColor","stroke-width":"3"}),e("circle",{class:f("cycle-border"),cx:"60",cy:"60",r:"59",fill:"currentColor",stroke:"currentColor","stroke-width":"1"}),e("circle",{class:f("cycle-whitespace"),cx:"60",cy:"60",r:"51",fill:"currentColor",stroke:"currentColor","stroke-width":"1"}),e("circle",{class:f("cycle-border"),cx:"60",cy:"60",r:"50",fill:"currentColor",stroke:"currentColor","stroke-width":"1"}),e("circle",{class:f("cycle-progress"),fill:"currentColor",stroke:"currentColor","stroke-linecap":"round","stroke-dasharray":Math.round(t/r*342)+"px 342px","stroke-width":"6",cx:"60",cy:"60",r:"54.5"})),y=({max:r,value:t})=>{const o=t/r*100;return e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"12",overflow:"visible"},e("rect",{class:f("bar-background"),x:"1",y:"1",height:"11",rx:"5",fill:"currentColor",stroke:"currentColor","stroke-width":"3",width:"100%"}),e("rect",{class:f("bar-border"),x:"1",y:"1",height:"11",rx:"5",fill:"currentColor",stroke:"currentColor","stroke-width":"1",width:"100%"}),e("rect",{class:f("bar-progress"),x:"3",y:"3",height:"7",rx:"3.5",fill:"currentColor",stroke:"currentColor","stroke-width":"3",style:{width:`calc(${o}% - 4px)`}}))},w=r=>{const{label:t,max:o,unit:a,value:l,variant:i,liveValue:d}=s(_,r),u="%"===a,h=u?""+Math.round(d/o*100):d,b=u?Math.round(l/o*100):l,p=(""+((u?100:o)+1)).length+"ch",g=u?k("kol-live-value",{placeholders:{value:h+"",unit:a}}):k("kol-live-value-bounded",{placeholders:{value:h+"",max:o+"",unit:a}});return e(c,{block:"kol-progress"},e("div",{"aria-hidden":"true",class:f("cycle"===i?"cycle":"bar")},"bar"===i&&t&&e("div",{class:f("bar-label")},m(t)),((r,t,o)=>{switch(r){case"cycle":return e(x,{max:t,value:o});case"bar":return e(y,{max:t,value:o});default:throw Error(`Progress variant ${r} not implemented.`)}})(i,o,l),"cycle"===i&&e("div",{class:f("cycle-text")},t&&e("div",{class:f("cycle-label")},m(t)),e("div",{class:f("cycle-value")},`${b} ${a}`)),"bar"===i&&e("div",{class:f("bar-value"),style:{width:p}},b),"bar"===i&&e("div",{class:f("bar-unit")},a)),e("progress",{"aria-busy":l<o?"true":"false","aria-label":n(t)||k("kol-progress"),class:"visually-hidden",max:o,value:l}),e("span",{"aria-live":"polite","aria-relevant":"removals text",class:"visually-hidden"},g))},C=r(class extends d{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.liveValue=0,this.propsConfig=_,this._label=void 0,this._unit=void 0,this._variant=void 0}watchLabel(e){u.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label"))}watchMax(e){h.apply(e,(e=>{this.setRenderProp("max",e),this.watchValue(this.getRawProp("value"))}))}watchUnit(e){b.apply(e,(e=>this.setRenderProp("unit",e)))}watchValue(e){this.setRawProp("value",e),i.apply(e,(e=>{this.setRenderProp("value",e)}),{min:0,max:this.getRenderProp("max")})}watchVariant(e){v.apply(e,(e=>this.setRenderProp("variant",e)))}connectedCallback(){this.startLiveValueInterval()}componentWillLoad(){this.watchLabel(this._label),this.watchMax(this._max),this.watchUnit(this._unit),this.watchValue(this._value),this.watchVariant(this._variant),this.setState("liveValue",this.getRenderProp("value"))}disconnectedCallback(){this.interval&&(clearInterval(this.interval),this.interval=void 0)}startLiveValueInterval(){clearInterval(this.interval),this.interval=setInterval((()=>{const e=this.getRenderProp("value");this.setState("liveValue",e)}),5e3)}render(){return e(t,{key:"939376375a0979a253b3eeab3abdc467136d6013"},e(w,{key:"f9d8fa4905b00e903442f273b64235234d99773a",label:this.getRenderProp("label"),max:this.getRenderProp("max"),unit:this.getRenderProp("unit"),value:this.getRenderProp("value"),variant:this.getRenderProp("variant"),liveValue:this.liveValue}))}static get watchers(){return{_label:[{watchLabel:0}],_max:[{watchMax:0}],_unit:[{watchUnit:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-progress { --color-bar: var(--kol-progress-color-bar, #0075ff); } .kol-progress__bar { display: grid; align-items: center; grid-template-areas: "LABEL LABEL LABEL" "BAR VALUE UNIT"; grid-template-columns: 1fr auto; } .kol-progress__bar-label { grid-column-end: 2; grid-area: LABEL; } .kol-progress__bar svg { grid-area: BAR; } .kol-progress__bar-value { grid-area: VALUE; text-align: right; } .kol-progress__bar-unit { grid-area: UNIT; } .kol-progress__bar-border { fill: transparent; stroke: black; } .kol-progress__bar-background { fill: white; stroke: white; } .kol-progress__bar-progress { fill: var(--color-bar); stroke: transparent; } @media (prefers-reduced-motion: no-preference) { .kol-progress__bar-progress { transition: 250ms ease-in-out 50ms; } } .kol-progress__cycle { display: grid; align-content: center; justify-items: center; grid-template-areas: "ALL"; grid-template-columns: auto; } .kol-progress__cycle > * { grid-area: ALL; } .kol-progress__cycle-text { display: flex; flex-direction: column; justify-content: center; font-size: x-small; text-align: center; } .kol-progress__cycle-text * { background-color: white; } .kol-progress__cycle-background { fill: transparent; stroke: white; } .kol-progress__cycle-border { fill: transparent; stroke: black; } .kol-progress__cycle-whitespace { fill: transparent; stroke: white; } .kol-progress__cycle-progress { transform: rotate(-90deg); transform-origin: 50% 50%; fill: transparent; stroke: var(--color-bar); } @media (prefers-reduced-motion: no-preference) { .kol-progress__cycle-progress { transition: 250ms ease-in-out 50ms; } } }'}}},[545,"kol-progress",{_label:[1],_max:[2],_unit:[1],_value:[2],_variant:[1],liveValue:[32]},void 0,{_label:[{watchLabel:0}],_max:[{watchMax:0}],_unit:[{watchUnit:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]),L=C,T=function(){"undefined"!=typeof customElements&&["kol-progress"].forEach((e=>{"kol-progress"===e&&(customElements.get(o(e))||customElements.define(o(e),C))}))};export{L as KolProgress,T as defineCustomElement}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as e,p as o,H as t,t as a}from"./
|
|
4
|
+
import{h as e,p as o,H as t,t as a}from"./prop.validators.js";import{c as l,d as i,H as r,r as n,B as s,a as c}from"./base-web-component.js";import{h as d}from"./link-target.js";import{l as b}from"./label-lang-segment.js";import{b as u}from"./bem-registry.js";import{d as k}from"./component12.js";const h=l("quote","",i),m={optional:[b,r],required:[d,h]},p=u.forBlock("kol-quote"),f=p("blockquote"),_=p("cite"),g=p("figcaption"),v=p("quote"),y=o=>{const{href:t,label:a,quote:l,variant:i}=n(m,o),r=""===l;return e(s,{component:"figure",block:"kol-quote",modifiers:{[i]:!0}},"block"===i?e("blockquote",{class:f,cite:t},l,e("span",{"aria-hidden":r?void 0:"true",hidden:!r},e("slot",{name:"expert"}))):e("q",{class:v,cite:t},l,e("span",{"aria-hidden":r?void 0:"true",hidden:!r},e("slot",{name:"expert"}))),!!a&&e("figcaption",{class:g},e("cite",{class:_},e("kol-link",{_href:t,_label:a,_target:"_blank"}))))},x=o(class extends c{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.propsConfig=m,this._label=void 0,this._variant="inline"}watchHref(e){d.apply(e,(e=>this.setRenderProp("href",e)),this.isRequired("href"))}watchLabel(e){b.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label"))}watchQuote(e){h.apply(e,(e=>this.setRenderProp("quote",e)))}watchVariant(e){r.apply(e,(e=>this.setRenderProp("variant",e)))}componentWillLoad(){this.watchHref(this._href),this.watchLabel(this._label),this.watchQuote(this._quote),this.watchVariant(this._variant)}render(){return e(t,{key:"57dac0e3b86ddd087384b753c2c9911f1e6030cb"},e(y,{key:"65d7603a5ec110ee6df5bb3c423cea889b513ab4",href:this.getRenderProp("href"),label:this.getRenderProp("label"),quote:this.getRenderProp("quote"),variant:this.getRenderProp("variant")}))}static get watchers(){return{_href:[{watchHref:0}],_label:[{watchLabel:0}],_quote:[{watchQuote:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-quote { display: inline; margin: 0; padding: 0; } .kol-quote__cite::before { content: "—"; } .kol-quote--block .kol-quote__figcaption { display: inline; margin: 0; padding: 0; } .kol-quote__blockquote::before { content: open-quote; } .kol-quote__blockquote::after { content: close-quote; } }'}}},[545,"kol-quote",{_href:[1],_label:[1],_quote:[1],_variant:[1]},void 0,{_href:[{watchHref:0}],_label:[{watchLabel:0}],_quote:[{watchQuote:0}],_variant:[{watchVariant:0}]}]),w=x,q=function(){"undefined"!=typeof customElements&&["kol-quote","kol-link"].forEach((e=>{switch(e){case"kol-quote":customElements.get(a(e))||customElements.define(a(e),x);break;case"kol-link":customElements.get(a(e))||k()}}))};export{w as KolQuote,q as defineCustomElement}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{p as e,h as t,H as o,t as i}from"./common.js";import{_ as n}from"./tslib.es6.js";import{B as l,s as a}from"./base-web-component4.js";import{c as r}from"./dev.utils.js";import{c as s,d as c}from"./element-interaction.js";const h=e(class extends l{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=r("select"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=s(),this.propsConfig=a,this._accessKey=void 0,this._ariaDetails=void 0,this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._icons=void 0,this._infoPopover=void 0,this._msg=void 0,this._multiple=!1,this._name=void 0,this._on=void 0,this._required=!1,this._shortKey=void 0,this._rows=void 0,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign="top",this._touched=!1,this._value=void 0,this._variant=void 0,this.initFormAssociation("select",this._name)}watchAccessKey(e){this.applyAccessKey(e)}watchAriaDetails(e){this.applyAriaDetails(e)}watchDisabled(e){this.applyDisabled(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHint(e){this.applyHint(e)}watchIcons(e){this.applyIcons(e)}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMsg(e){this.applyMsg(e)}watchMultiple(e){this.applyMultiple(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchOptions(e){this.applyOptions(e)}watchRequired(e){this.applyRequired(e)}watchShortKey(e){this.applyShortKey(e)}watchRows(e){this.applyRows(e)}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTabIndex(e){this.applyTabIndex(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){this.applyValue(e)}watchVariant(e){this.applyVariant(e)}getValue(){return Promise.resolve(this.getModelValue())}focus(e){return Promise.resolve()}componentWillLoad(){this._touched=!0===this._touched,this.watchAriaDetails(this._ariaDetails),this.watchName(this._name),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTouched(this._touched),this.watchAccessKey(this._accessKey),this.watchMsg(this._msg),this.watchDisabled(this._disabled),this.watchHideMsg(this._hideMsg),this.watchHideLabel(this._hideLabel),this.watchHint(this._hint),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchShortKey(this._shortKey),this.watchOn(this._on),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),this.watchTabIndex(this._tabIndex),this.watchIcons(this._icons),this.watchOptions(this._options),this.watchMultiple(this._multiple),this.watchRequired(this._required),this.watchRows(this._rows),this.watchValue(this._value)}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}getAccessKeyProp(){return this._accessKey}getShortKeyProp(){return this._shortKey}render(){return t(o,{key:"14221ec03629ae9fe4c6836378569f5ff24f2784",class:"kol-select"},this.renderSelectField())}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_multiple:[{watchMultiple:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_options:[{watchOptions:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_rows:[{watchRows:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tabIndex:[{watchTabIndex:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795175086587"); src: url("kolicons.eot?t=1795175086587#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795175086587") format("woff2"), url("kolicons.woff?t=1795175086587") format("woff"), url("kolicons.ttf?t=1795175086587") format("truetype"), url("kolicons.svg?t=1795175086587#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: ""; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-select { background-color: transparent; width: 100%; padding: 0; } .kol-select:not(:disabled) { cursor: pointer; } .kol-select:not([multiple], [size]) { height: 2.75em; } .kol-select[multiple][size="1"] { height: 2.75em; } .kol-select__option:checked::before { content: "✓ "; } .kol-select[multiple] option { display: flex; min-height: var(--a11y-min-size); align-items: center; } .kol-select[multiple][size="1"] option::checkmark { height: 100%; } .kol-select[multiple][size="1"] option:checked::before { display: none; } }'}}},[545,"kol-select",{_accessKey:[1,"_access-key"],_ariaDetails:[1,"_aria-details"],_disabled:[4],_hideMsg:[4,"_hide-msg"],_hideLabel:[4,"_hide-label"],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_msg:[1],_multiple:[4],_name:[1],_on:[16],_options:[1],_required:[4],_shortKey:[1,"_short-key"],_rows:[2],_syncValueBySelector:[1,"_sync-value-by-selector"],_tabIndex:[2,"_tab-index"],_tooltipAlign:[1,"_tooltip-align"],_touched:[1540],_value:[1544],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hideMsg:[{watchHideMsg:0}],_hideLabel:[{watchHideLabel:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_multiple:[{watchMultiple:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_options:[{watchOptions:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_rows:[{watchRows:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tabIndex:[{watchTabIndex:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);n([c("ctaRef")],h.prototype,"focus",null);const d=h,k=function(){"undefined"!=typeof customElements&&["kol-select"].forEach((e=>{"kol-select"===e&&(customElements.get(i(e))||customElements.define(i(e),h))}))};export{d as KolSelect,k as defineCustomElement}
|
|
4
|
+
import{p as e,h as t,H as o,t as i}from"./prop.validators.js";import{_ as n}from"./tslib.es6.js";import{B as l,s as a}from"./base-web-component4.js";import{c as r}from"./dev.utils.js";import{c as s,d as c}from"./element-interaction.js";const h=e(class extends l{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.id=r("select"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=s(),this.propsConfig=a,this._accessKey=void 0,this._ariaDetails=void 0,this._disabled=!1,this._hideLabel=!1,this._hideMsg=!1,this._hint="",this._icons=void 0,this._infoPopover=void 0,this._msg=void 0,this._multiple=!1,this._name=void 0,this._on=void 0,this._required=!1,this._rows=void 0,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign="top",this._touched=!1,this._value=void 0,this._variant=void 0,this.initFormAssociation("select",this._name)}watchAccessKey(e){this.applyAccessKey(e)}watchAriaDetails(e){this.applyAriaDetails(e)}watchDisabled(e){this.applyDisabled(e)}watchHideLabel(e){this.applyHideLabel(e)}watchHideMsg(e){this.applyHideMsg(e)}watchHint(e){this.applyHint(e)}watchIcons(e){this.applyIcons(e)}watchInfoPopover(e){this.applyInfoPopover(e)}watchLabel(e){this.applyLabel(e)}watchMsg(e){this.applyMsg(e)}watchMultiple(e){this.applyMultiple(e)}watchName(e){this.applyName(e)}watchOn(e){this.applyOn(e)}watchOptions(e){this.applyOptions(e)}watchRequired(e){this.applyRequired(e)}watchRows(e){this.applyRows(e)}watchShortKey(e){this.applyShortKey(e)}watchSyncValueBySelector(e){this.applySyncValueBySelector(e)}watchTabIndex(e){this.applyTabIndex(e)}watchTooltipAlign(e){this.applyTooltipAlign(e)}watchTouched(e){this.applyTouched(e)}watchValue(e){this.applyValue(e)}watchVariant(e){this.applyVariant(e)}getValue(){return Promise.resolve(this.getModelValue())}focus(e){return Promise.resolve()}componentWillLoad(){this._touched=!0===this._touched,this.watchAccessKey(this._accessKey),this.watchAriaDetails(this._ariaDetails),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchHideMsg(this._hideMsg),this.watchHint(this._hint),this.watchIcons(this._icons),this.watchInfoPopover(this._infoPopover),this.watchLabel(this._label),this.watchMsg(this._msg),this.watchMultiple(this._multiple),this.watchName(this._name),this.watchOn(this._on),this.watchOptions(this._options),this.watchRequired(this._required),this.watchRows(this._rows),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTabIndex(this._tabIndex),this.watchTooltipAlign(this._tooltipAlign),this.watchTouched(this._touched),this.watchValue(this._value),this.watchVariant(this._variant)}componentDidRender(){this.syncFormField()}disconnectedCallback(){this.destroyFormField()}getAccessKeyProp(){return this._accessKey}getShortKeyProp(){return this._shortKey}render(){return t(o,{key:"b51bd1aafbb18161f6702a8b7000555458331cee",class:"kol-select"},this.renderSelectField())}get host(){return this}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_multiple:[{watchMultiple:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_options:[{watchOptions:0}],_required:[{watchRequired:0}],_rows:[{watchRows:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tabIndex:[{watchTabIndex:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795564435804"); src: url("kolicons.eot?t=1795564435804#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795564435804") format("woff2"), url("kolicons.woff?t=1795564435804") format("woff"), url("kolicons.ttf?t=1795564435804") format("truetype"), url("kolicons.svg?t=1795564435804#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: ""; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-select { background-color: transparent; width: 100%; padding: 0; } .kol-select:not(:disabled) { cursor: pointer; } .kol-select:not([multiple], [size]) { height: 2.75em; } .kol-select[multiple][size="1"] { height: 2.75em; } .kol-select__option:checked::before { content: "✓ "; } .kol-select[multiple] option { display: flex; min-height: var(--a11y-min-size); align-items: center; } .kol-select[multiple][size="1"] option::checkmark { height: 100%; } .kol-select[multiple][size="1"] option:checked::before { display: none; } }'}}},[545,"kol-select",{_accessKey:[1,"_access-key"],_ariaDetails:[1,"_aria-details"],_disabled:[4],_hideLabel:[4,"_hide-label"],_hideMsg:[4,"_hide-msg"],_hint:[1],_icons:[1],_infoPopover:[16],_label:[1],_msg:[1],_multiple:[4],_name:[1],_on:[16],_options:[1],_required:[4],_rows:[2],_shortKey:[1,"_short-key"],_syncValueBySelector:[1,"_sync-value-by-selector"],_tabIndex:[2,"_tab-index"],_tooltipAlign:[1,"_tooltip-align"],_touched:[1540],_value:[1544],_variant:[1],id:[32],infoPopoverOpen:[32],inputHasFocus:[32],getValue:[64],focus:[64]},void 0,{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_hideMsg:[{watchHideMsg:0}],_hint:[{watchHint:0}],_icons:[{watchIcons:0}],_infoPopover:[{watchInfoPopover:0}],_label:[{watchLabel:0}],_msg:[{watchMsg:0}],_multiple:[{watchMultiple:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_options:[{watchOptions:0}],_required:[{watchRequired:0}],_rows:[{watchRows:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tabIndex:[{watchTabIndex:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}]);n([c("ctaRef")],h.prototype,"focus",null);const d=h,k=function(){"undefined"!=typeof customElements&&["kol-select"].forEach((e=>{"kol-select"===e&&(customElements.get(i(e))||customElements.define(i(e),h))}))};export{d as KolSelect,k as defineCustomElement}
|