@public-ui/components 5.0.0-beta.0 → 5.1.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/assets/kolicons/kolicons.eot +0 -0
- package/assets/kolicons/kolicons.ttf +0 -0
- package/assets/kolicons/kolicons.woff +0 -0
- package/assets/kolicons/kolicons.woff2 +0 -0
- package/assets/kolicons/style.css +6 -6
- package/custom-elements.json +324 -66
- package/dist/cjs/{Heading-gKYGJ1tV.js → Heading-DkRJJg18.js} +1 -1
- package/dist/cjs/{align-NV74hwT0.js → align-1ptk-pir.js} +1 -1
- package/dist/cjs/{api-BlwpFlt1.js → api-BHYk3kXB.js} +17 -17
- package/dist/cjs/{api-DyRC0E3C.js → api-Bx-kMwS-.js} +30 -22
- package/dist/cjs/{api-BBdhCCKv.js → api-LDDRsovK.js} +6 -6
- package/dist/cjs/{app-globals-C-QndvUR.js → app-globals-Ccbdxh47.js} +2 -2
- package/dist/cjs/{aria-labelledby-ny809Vdx.js → aria-labelledby-BRMgWRVp.js} +2 -2
- package/dist/cjs/{base-DjGWfEqB.js → base-C39txjCj.js} +44 -36
- package/dist/cjs/{base-C9jeVqnN.js → base-Ctf3_lQs.js} +14 -14
- package/dist/cjs/{base-Cau7nZZw.js → base-DHqHIMP-.js} +12 -12
- package/dist/cjs/{base-zeK_arau.js → base-XB_UlEMi.js} +21 -14
- package/dist/cjs/{base-web-component-BOQatEb9.js → base-web-component-3D1pZRXT.js} +14 -14
- package/dist/cjs/{base-web-component-r0Jr01kf.js → base-web-component-AJHupAXc.js} +9 -9
- package/dist/cjs/{base-web-component-DPBaBA5x.js → base-web-component-C6DKJNGD.js} +54 -28
- package/dist/cjs/{behavior-Djs9V7Si.js → behavior-2xAX1euA.js} +6 -5
- package/dist/cjs/{behavior-P_MOoqmo.js → behavior-B9-IyIXq.js} +4 -4
- package/dist/cjs/{behavior-APmbiQTR.js → behavior-iZBKzFFw.js} +5 -5
- package/dist/cjs/{bootstrap-BbvuwOW2.js → bootstrap-b6PadCf1.js} +1 -1
- package/dist/cjs/{color-CbCW4wyr.js → color-CwbFUaK7.js} +12 -2
- package/dist/cjs/{component-B_EvGSM0.js → component-B9cVUITX.js} +7 -1
- package/dist/cjs/{component-hiip9BeX.js → component-BRvUYbSZ.js} +12 -9
- package/dist/cjs/{component-DK-qYG29.js → component-Bk4Tvby3.js} +2 -2
- package/dist/cjs/{component-x3LvOAC0.js → component-BqIblzhp.js} +1 -1
- package/dist/cjs/{component-Byx8Sl1k.js → component-C9MKHoRd.js} +1 -1
- package/dist/cjs/{component-CyFwKqlx.js → component-DBnZM8w2.js} +23 -10
- package/dist/cjs/{component-DMaPKMLG.js → component-DE4BP8IK.js} +2 -2
- package/dist/cjs/{component-DTToXqth.js → component-Da5C3eFC.js} +3 -3
- package/dist/cjs/{component-w4DHKGRj.js → component-NEiBvvE2.js} +6 -6
- package/dist/cjs/component-X0iN_qoU.js +36 -0
- package/dist/cjs/{component-C-jt8Zgv.js → component-_vYtsFBi.js} +6 -5
- package/dist/cjs/{component-names-EMVnNhTP.js → component-names-BMpML1sX.js} +0 -2
- package/dist/cjs/{contrast-BTU5ne8E.js → contrast-CTEPTNkC.js} +1 -1
- package/dist/cjs/{controller-ncy0x4Nz.js → controller-gDnA0yhI.js} +14 -14
- package/dist/cjs/{dev.utils-r-OFnYmI.js → dev.utils-U3Rfa3Dp.js} +1 -1
- package/dist/cjs/{devtools-BjCHvsaO.js → devtools-B7YU-YbX.js} +2 -2
- package/dist/cjs/{disabled-wIEbt0Gz.js → disabled-DU5r5VLL.js} +1 -1
- package/dist/cjs/{element-focus-D5g3xQN4.js → element-focus-CzkKMwtn.js} +24 -0
- package/dist/cjs/{element-interaction-7FI_z19L.js → element-interaction-BtYQAbhu.js} +1 -1
- package/dist/cjs/{field-control-B2MocM-9.js → field-control-CDGssAUf.js} +6 -6
- package/dist/cjs/{group-DUgI6ORW.js → group-CiakLLar.js} +4 -4
- package/dist/cjs/{has-closer-4Czygcsx.js → has-closer-CNdG-wEk.js} +1 -1
- package/dist/cjs/href-DoAvPFga.js +10 -0
- package/dist/cjs/{index-1NUYc4bH.js → index-C8LQwR1o.js} +1 -5
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/{input-tgqPNmdz.js → input-CA-5lqTb.js} +3 -3
- package/dist/cjs/{input-container-Ce6tEgzv.js → input-container-CV02nXgX.js} +6 -6
- package/dist/cjs/{item-do7gGebG.js → item-9oQGuAqH.js} +11 -11
- package/dist/cjs/{item-CdalyKjL.js → item-Dfsg3MMy.js} +16 -25
- package/dist/cjs/{item-CU9y10V3.js → item-dTflpCWB.js} +6 -6
- package/dist/cjs/{item-BDJC0QKy.js → item-eJaPjEL7.js} +5 -5
- package/dist/cjs/kol-abbr.cjs.entry.js +11 -9
- package/dist/cjs/kol-accordion.cjs.entry.js +19 -17
- package/dist/cjs/kol-alert.cjs.entry.js +25 -23
- package/dist/cjs/kol-avatar.cjs.entry.js +19 -14
- package/dist/cjs/kol-badge.cjs.entry.js +31 -28
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +29 -27
- package/dist/cjs/kol-button-link.cjs.entry.js +42 -28
- package/dist/cjs/kol-button.cjs.entry.js +43 -28
- package/dist/cjs/kol-card.cjs.entry.js +37 -33
- package/dist/cjs/kol-click-button.cjs.entry.js +12 -10
- package/dist/cjs/kol-combobox.cjs.entry.js +59 -47
- package/dist/cjs/kol-details.cjs.entry.js +19 -17
- package/dist/cjs/kol-dialog.cjs.entry.js +31 -29
- package/dist/cjs/kol-drawer.cjs.entry.js +35 -31
- package/dist/cjs/kol-form.cjs.entry.js +26 -23
- package/dist/cjs/kol-heading.cjs.entry.js +17 -11
- package/dist/cjs/kol-icon.cjs.entry.js +11 -9
- package/dist/cjs/kol-image.cjs.entry.js +10 -6
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +50 -39
- package/dist/cjs/kol-input-color.cjs.entry.js +55 -47
- package/dist/cjs/kol-input-date.cjs.entry.js +73 -44
- package/dist/cjs/kol-input-email.cjs.entry.js +63 -46
- package/dist/cjs/kol-input-file.cjs.entry.js +53 -40
- package/dist/cjs/kol-input-number.cjs.entry.js +63 -45
- package/dist/cjs/kol-input-password.cjs.entry.js +64 -44
- package/dist/cjs/kol-input-radio.cjs.entry.js +48 -39
- package/dist/cjs/kol-input-range.cjs.entry.js +55 -41
- package/dist/cjs/kol-input-text.cjs.entry.js +68 -46
- package/dist/cjs/kol-kolibri.cjs.entry.js +6 -6
- package/dist/cjs/kol-link-button.cjs.entry.js +36 -23
- package/dist/cjs/kol-link.cjs.entry.js +36 -23
- package/dist/cjs/kol-meter.cjs.entry.js +30 -18
- package/dist/cjs/kol-modal.cjs.entry.js +31 -29
- package/dist/cjs/kol-nav.cjs.entry.js +37 -35
- package/dist/cjs/kol-pagination.cjs.entry.js +45 -41
- package/dist/cjs/kol-popover-button.cjs.entry.js +40 -29
- package/dist/cjs/kol-progress.cjs.entry.js +21 -12
- package/dist/cjs/kol-quote.cjs.entry.js +16 -14
- package/dist/cjs/kol-select.cjs.entry.js +53 -39
- package/dist/cjs/kol-single-select.cjs.entry.js +58 -47
- package/dist/cjs/kol-skeleton.cjs.entry.js +8 -8
- package/dist/cjs/kol-skip-nav.cjs.entry.js +28 -26
- package/dist/cjs/kol-spin.cjs.entry.js +15 -10
- package/dist/cjs/kol-split-button.cjs.entry.js +45 -31
- package/dist/cjs/kol-table-stateful.cjs.entry.js +65 -53
- package/dist/cjs/kol-table-stateless.cjs.entry.js +51 -40
- package/dist/cjs/kol-tabs.cjs.entry.js +31 -27
- package/dist/cjs/kol-textarea.cjs.entry.js +59 -43
- package/dist/cjs/kol-toast-container.cjs.entry.js +13 -14
- package/dist/cjs/kol-toolbar.cjs.entry.js +35 -32
- package/dist/cjs/kol-tree-item.cjs.entry.js +30 -26
- package/dist/cjs/kol-tree.cjs.entry.js +12 -10
- package/dist/cjs/kol-version.cjs.entry.js +17 -16
- package/dist/cjs/kolibri.cjs.js +3 -3
- package/dist/cjs/label-CfuNAHBN.js +14 -0
- package/dist/cjs/{isArray-BOIOdEQh.js → label-Dhv1cJx3.js} +60 -0
- package/dist/cjs/label-hints-CgBCaif9.js +22 -0
- package/dist/cjs/label-lang-segment--yHvPZvF.js +14 -0
- package/dist/cjs/label-with-expert-slot-BdXwXCrc.js +14 -0
- package/dist/cjs/{level-DGDM1aXl.js → level-BmOF3SXd.js} +1 -1
- package/dist/cjs/{link-target-PjKWXgno.js → link-target-CxHe2nvO.js} +1 -1
- package/dist/cjs/{links-0QyGYlHz.js → links-D-6IG8ZN.js} +1 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{multiple-BoCGiGxR.js → multiple-DwIwRAg_.js} +1 -1
- package/dist/cjs/{name-BZcwC1Zd.js → name-vaRuDIu9.js} +1 -1
- package/dist/cjs/{number-value-aLzn0dDO.js → number-value-DdxcZ3wW.js} +1 -1
- package/dist/cjs/{open-ui_yY8GH.js → open-aeya5Q2h.js} +1 -1
- package/dist/cjs/{options-BRwmqi8M.js → options-DZE1zmTq.js} +1 -1
- package/dist/cjs/{orientation-BcqEqZ3D.js → orientation-DgoLv2WA.js} +1 -1
- package/dist/cjs/{placeholder-CCYSgsip.js → placeholder-CHT6vsaN.js} +1 -1
- package/dist/cjs/{read-only-KKKbZyk5.js → read-only-AeNVMOPS.js} +1 -1
- package/dist/cjs/{required-CeiUcxrv.js → required-DU_lEi_a.js} +1 -1
- package/dist/cjs/{resolve-props-BcGzqFFR.js → resolve-props-Bgqa1y71.js} +7 -7
- package/dist/cjs/{resolve-props-Cv67cUZA.js → resolve-props-gpH7EEKM.js} +7 -7
- package/dist/cjs/{rows-BWBG8nDk.js → rows-C-HHixH0.js} +2 -2
- package/dist/cjs/{scroll-lock-Bs5vb-ss.js → scroll-lock-D7i76ZoY.js} +1 -1
- package/dist/cjs/{smart-button-DQryZ9gX.js → smart-button-eNvMPGW9.js} +1 -1
- package/dist/cjs/{spell-check-DHRle7ui.js → spell-check-DsU1STqx.js} +1 -1
- package/dist/cjs/{src-B6CU1zD0.js → src-BqZDpTCj.js} +1 -1
- package/dist/cjs/{step-kuREYDVE.js → step-CTAiZ5xn.js} +1 -1
- package/dist/cjs/{suggestions-b21ak6-A.js → suggestions-0I18Pk65.js} +1 -1
- package/dist/cjs/{suggestions-B4X9HMr-.js → suggestions-C-QgtY7Q.js} +3 -3
- package/dist/cjs/test-component.cjs.entry.js +1 -1
- package/dist/cjs/{toggle-handler-AgDdplvI.js → toggle-handler-kx77ZDI9.js} +10 -10
- package/dist/cjs/{unique-nav-labels-CuHbVHx9.js → unique-nav-labels-CaD7vZWy.js} +7 -4
- package/dist/cjs/{unit-DHpzrXY7.js → unit-DmftTbjX.js} +1 -1
- package/dist/cjs/validators-ivurI_Hf.js +15 -0
- package/dist/cjs/{value-string-BtfdnGIb.js → value-string-BFgf4hTO.js} +1 -1
- package/dist/cjs/{variant-CxQO5qFu.js → variant-DidopMGV.js} +5 -7
- package/dist/cjs/{width-DF6eLXIz.js → width-BX3KQodz.js} +5 -2
- package/dist/collection/collection-manifest.json +12 -13
- package/dist/collection/components/@else/all/component.js +1 -1
- package/dist/collection/components/_skeleton/public-api/contract.js +6 -6
- package/dist/collection/components/_skeleton/web-components/click-button/component.js +12 -5
- package/dist/collection/components/_skeleton/web-components/skeleton/component.js +10 -3
- package/dist/collection/components/abbr/component.js +11 -9
- package/dist/collection/components/abbr/style.css +0 -3
- package/dist/collection/components/accordion/component.js +30 -17
- package/dist/collection/components/accordion/style.css +2 -5
- package/dist/collection/components/alert/component.js +33 -18
- package/dist/collection/components/alert/style.css +2 -5
- package/dist/collection/components/avatar/component.js +31 -11
- package/dist/collection/components/avatar/style.css +0 -3
- package/dist/collection/components/badge/component.js +14 -10
- package/dist/collection/components/badge/style.css +2 -5
- package/dist/collection/components/breadcrumb/component.js +4 -4
- package/dist/collection/components/breadcrumb/style.css +2 -5
- package/dist/collection/components/button/base.js +2 -2
- package/dist/collection/components/button/component.js +100 -33
- package/dist/collection/components/button/style.css +2 -5
- package/dist/collection/components/button-link/component.js +91 -42
- package/dist/collection/components/button-link/style.css +2 -5
- package/dist/collection/components/card/base.js +3 -3
- package/dist/collection/components/card/component.js +25 -15
- package/dist/collection/components/card/style.css +2 -5
- package/dist/collection/components/combobox/component.js +139 -57
- package/dist/collection/components/combobox/style.css +3 -7
- package/dist/collection/components/details/component.js +30 -17
- package/dist/collection/components/details/style.css +2 -5
- package/dist/collection/components/dialog/base.js +12 -5
- package/dist/collection/components/dialog/component.js +18 -9
- package/dist/collection/components/dialog/style.css +2 -5
- package/dist/collection/components/drawer/component.js +27 -17
- package/dist/collection/components/drawer/style.css +2 -5
- package/dist/collection/components/form/component.js +7 -3
- package/dist/collection/components/form/controller.js +13 -13
- package/dist/collection/components/form/style.css +2 -5
- package/dist/collection/components/heading/component.js +17 -8
- package/dist/collection/components/heading/style.css +0 -3
- package/dist/collection/components/icon/component.js +12 -5
- package/dist/collection/components/icon/style.css +2 -2
- package/dist/collection/components/image/component.js +49 -13
- package/dist/collection/components/image/style.css +0 -3
- package/dist/collection/components/input-checkbox/component.js +123 -61
- package/dist/collection/components/input-checkbox/style.css +4 -8
- package/dist/collection/components/input-color/component.js +111 -54
- package/dist/collection/components/input-color/style.css +3 -7
- package/dist/collection/components/input-date/component.js +132 -61
- package/dist/collection/components/input-date/style.css +3 -7
- package/dist/collection/components/input-email/component.js +185 -76
- package/dist/collection/components/input-email/style.css +3 -7
- package/dist/collection/components/input-file/component.js +128 -59
- package/dist/collection/components/input-file/style.css +3 -7
- package/dist/collection/components/input-number/component.js +143 -64
- package/dist/collection/components/input-number/style.css +3 -7
- package/dist/collection/components/input-password/component.js +177 -70
- package/dist/collection/components/input-password/style.css +3 -7
- package/dist/collection/components/input-radio/component.js +86 -43
- package/dist/collection/components/input-radio/style.css +4 -8
- package/dist/collection/components/input-range/component.js +101 -45
- package/dist/collection/components/input-range/style.css +3 -7
- package/dist/collection/components/input-text/component.js +173 -69
- package/dist/collection/components/input-text/style.css +3 -7
- package/dist/collection/components/kolibri/component.js +10 -3
- package/dist/collection/components/kolibri/style.css +0 -3
- package/dist/collection/components/link/base.js +2 -2
- package/dist/collection/components/link/component.js +77 -31
- package/dist/collection/components/link/style.css +2 -5
- package/dist/collection/components/link-button/component.js +67 -25
- package/dist/collection/components/link-button/style.css +2 -5
- package/dist/collection/components/meter/component.js +86 -24
- package/dist/collection/components/meter/style.css +0 -3
- package/dist/collection/components/modal/component.js +18 -9
- package/dist/collection/components/modal/style.css +2 -5
- package/dist/collection/components/nav/component.js +41 -19
- package/dist/collection/components/nav/style.css +2 -5
- package/dist/collection/components/pagination/component.js +34 -9
- package/dist/collection/components/pagination/style.css +3 -7
- package/dist/collection/components/popover-button/component.js +70 -25
- package/dist/collection/components/popover-button/style.css +2 -5
- package/dist/collection/components/progress/component.js +50 -16
- package/dist/collection/components/progress/style.css +0 -3
- package/dist/collection/components/quote/component.js +37 -14
- package/dist/collection/components/quote/style.css +0 -3
- package/dist/collection/components/select/component.js +129 -58
- package/dist/collection/components/select/style.css +3 -7
- package/dist/collection/components/single-select/component.js +129 -55
- package/dist/collection/components/single-select/style.css +3 -7
- package/dist/collection/components/skip-nav/component.js +3 -3
- package/dist/collection/components/skip-nav/style.css +2 -5
- package/dist/collection/components/spin/component.js +30 -10
- package/dist/collection/components/spin/style.css +0 -3
- package/dist/collection/components/split-button/component.js +96 -31
- package/dist/collection/components/split-button/style.css +2 -5
- package/dist/collection/components/table-stateful/component.js +69 -40
- package/dist/collection/components/table-stateful/style.css +3 -7
- package/dist/collection/components/table-stateless/base.js +11 -4
- package/dist/collection/components/table-stateless/component.js +50 -16
- package/dist/collection/components/table-stateless/style.css +2 -5
- package/dist/collection/components/tabs/component.js +19 -8
- package/dist/collection/components/tabs/style.css +2 -5
- package/dist/collection/components/textarea/component.js +172 -69
- package/dist/collection/components/textarea/style.css +3 -7
- package/dist/collection/components/toaster/shadow.js +1 -1
- package/dist/collection/components/toaster/style.css +2 -5
- package/dist/collection/components/toolbar/component.js +15 -6
- package/dist/collection/components/toolbar/style.css +2 -5
- package/dist/collection/components/tree/component.js +3 -3
- package/dist/collection/components/tree/style.css +0 -3
- package/dist/collection/components/tree-item/component.js +15 -11
- package/dist/collection/components/tree-item/style.css +2 -5
- package/dist/collection/components/version/component.js +3 -3
- package/dist/collection/components/version/style.css +2 -5
- package/dist/collection/core/component-names.js +0 -2
- package/dist/collection/core/i18n.js +1 -1
- package/dist/collection/functional-components/index.js +0 -1
- package/dist/collection/internal/functional-components/abbr/api.js +2 -2
- package/dist/collection/internal/functional-components/alert/api.js +2 -2
- package/dist/collection/internal/functional-components/alert/component.js +4 -2
- package/dist/collection/internal/functional-components/avatar/component.js +2 -1
- package/dist/collection/internal/functional-components/base-web-component.js +8 -3
- package/dist/collection/internal/functional-components/breadcrumb/api.js +2 -2
- package/dist/collection/internal/functional-components/breadcrumb/component.js +3 -1
- package/dist/collection/internal/functional-components/button/component.js +3 -3
- package/dist/collection/internal/functional-components/card/api.js +3 -3
- package/dist/collection/internal/functional-components/card/component.js +2 -1
- package/dist/collection/internal/functional-components/click-button/component.js +1 -1
- package/dist/collection/internal/functional-components/collapsible/api.js +2 -2
- package/dist/collection/internal/functional-components/dialog/api.js +2 -2
- package/dist/collection/internal/functional-components/dialog/item.js +4 -3
- package/dist/collection/internal/functional-components/drawer/api.js +2 -2
- package/dist/collection/internal/functional-components/form-association/behavior.js +1 -1
- package/dist/collection/internal/functional-components/form-field/base-web-component.js +11 -3
- package/dist/collection/internal/functional-components/form-field/date-value.js +12 -1
- package/dist/collection/internal/functional-components/form-field/default-input-props.js +3 -2
- package/dist/collection/internal/functional-components/heading/component.js +3 -2
- package/dist/collection/internal/functional-components/link/component.js +3 -3
- package/dist/collection/internal/functional-components/meter/api.js +2 -2
- package/dist/collection/internal/functional-components/meter/component.js +11 -6
- package/dist/collection/internal/functional-components/meter/component.test.js +29 -0
- package/dist/collection/internal/functional-components/nav/api.js +2 -2
- package/dist/collection/internal/functional-components/pagination/api.js +2 -11
- package/dist/collection/internal/functional-components/pagination/component.js +2 -1
- package/dist/collection/internal/functional-components/pagination/item.js +2 -2
- package/dist/collection/internal/functional-components/progress/api.js +2 -2
- package/dist/collection/internal/functional-components/progress/component.js +3 -1
- package/dist/collection/internal/functional-components/quote/api.js +2 -2
- package/dist/collection/internal/functional-components/quote/component.js +1 -1
- package/dist/collection/internal/functional-components/skip-nav/api.js +2 -2
- package/dist/collection/internal/functional-components/span/api.js +2 -3
- package/dist/collection/internal/functional-components/span/component.js +18 -6
- package/dist/collection/internal/functional-components/span/snapshot.test.js +5 -0
- package/dist/collection/internal/functional-components/table-stateful/api.js +2 -2
- package/dist/collection/internal/functional-components/table-stateless/api.js +2 -2
- package/dist/collection/internal/functional-components/table-stateless/component.js +5 -3
- package/dist/collection/internal/functional-components/table-stateless/table-model.js +3 -3
- package/dist/collection/internal/functional-components/tabs/api.js +2 -2
- package/dist/collection/internal/functional-components/toolbar/api.js +2 -2
- package/dist/collection/internal/functional-components/tooltip/api.js +2 -2
- package/dist/collection/internal/functional-components/tooltip/behavior.js +3 -2
- package/dist/collection/internal/functional-components/tooltip/component.js +1 -1
- package/dist/collection/internal/functional-components/tree/api.js +2 -2
- package/dist/collection/internal/functional-components/tree-item/api.js +2 -2
- package/dist/collection/internal/functional-components/tree-item/component.js +2 -1
- package/dist/collection/internal/props/color.js +10 -0
- package/dist/collection/internal/props/dialog-callbacks.js +4 -1
- package/dist/collection/internal/props/helpers/factory.js +10 -2
- package/dist/collection/internal/props/helpers/normalizers.js +13 -1
- package/dist/collection/internal/props/helpers/validators.js +4 -0
- package/dist/collection/internal/props/hints/label-hints.js +10 -8
- package/dist/collection/internal/props/href.js +1 -2
- package/dist/collection/internal/props/index.js +1 -1
- package/dist/collection/internal/props/label-lang-segment.js +10 -0
- package/dist/collection/internal/props/label-with-expert-slot.js +6 -2
- package/dist/collection/internal/props/label.js +2 -1
- package/dist/collection/internal/props/max-length.js +1 -1
- package/dist/collection/internal/props/rows.js +1 -1
- package/dist/collection/internal/props/tabs.js +1 -1
- package/dist/collection/schema/props/allow-markdown.js +1 -0
- package/dist/collection/schema/props/boundary-count.js +1 -0
- package/dist/collection/schema/props/has-clear-button.js +1 -0
- package/dist/collection/schema/props/high.js +1 -0
- package/dist/collection/schema/props/index.js +19 -0
- package/dist/collection/schema/props/label.js +54 -5
- package/dist/collection/schema/props/labeled.js +1 -0
- package/dist/collection/schema/props/low.js +1 -0
- package/dist/collection/schema/props/min.js +1 -0
- package/dist/collection/schema/props/optimum.js +1 -0
- package/dist/collection/schema/props/page-size.js +1 -0
- package/dist/collection/schema/props/page.js +1 -0
- package/dist/collection/schema/props/secondary-headline.js +1 -0
- package/dist/collection/schema/props/selected.js +1 -0
- package/dist/collection/schema/props/sibling-count.js +1 -0
- package/dist/collection/schema/props/sizes.js +1 -0
- package/dist/collection/schema/props/src.js +1 -0
- package/dist/collection/schema/props/srcset.js +1 -0
- package/dist/collection/schema/props/table-loading.js +1 -0
- package/dist/collection/schema/props/value-number-clamped.js +1 -0
- package/dist/collection/schema/props/value-string.js +1 -0
- package/dist/collection/utils/aria-labelledby.js +2 -2
- package/dist/collection/utils/dev.utils.js +0 -1
- package/dist/collection/utils/element-focus.js +23 -0
- package/dist/collection/utils/element-interaction.js +0 -7
- package/dist/collection/utils/element-themed.js +1 -1
- package/dist/collection/utils/testing/snapshot-input-testing.js +1 -0
- package/dist/collection/utils/unique-nav-labels.js +7 -5
- package/dist/components/api.js +1 -1
- package/dist/components/api2.js +1 -1
- package/dist/components/aria-labelledby.js +1 -1
- package/dist/components/base-web-component.js +1 -1
- package/dist/components/base-web-component2.js +1 -1
- package/dist/components/base-web-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/behavior4.js +1 -1
- package/dist/components/color.js +1 -1
- package/dist/components/component-names.js +1 -1
- package/dist/components/component10.js +1 -1
- package/dist/components/component2.js +1 -1
- package/dist/components/component3.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/controller.js +1 -1
- package/dist/components/element-focus.js +1 -1
- package/dist/components/field-control.js +1 -1
- package/dist/components/href.js +1 -1
- package/dist/components/input-container.js +1 -1
- package/dist/components/item4.js +1 -1
- package/dist/components/kol-abbr.js +1 -1
- package/dist/components/kol-accordion.js +1 -1
- package/dist/components/kol-alert.js +1 -1
- package/dist/components/kol-avatar.js +1 -1
- package/dist/components/kol-badge.js +1 -1
- package/dist/components/kol-breadcrumb.js +1 -1
- package/dist/components/kol-button-link.js +1 -1
- package/dist/components/kol-button.js +1 -1
- package/dist/components/kol-card.js +1 -1
- package/dist/components/kol-click-button.js +1 -1
- package/dist/components/kol-combobox.js +1 -1
- package/dist/components/kol-details.js +1 -1
- package/dist/components/kol-dialog.js +1 -1
- package/dist/components/kol-drawer.js +1 -1
- package/dist/components/kol-form.js +1 -1
- package/dist/components/kol-heading.js +1 -1
- package/dist/components/kol-icon.js +1 -1
- package/dist/components/kol-image.js +1 -1
- package/dist/components/kol-input-checkbox.js +1 -1
- package/dist/components/kol-input-color.js +1 -1
- package/dist/components/kol-input-date.js +1 -1
- package/dist/components/kol-input-email.js +1 -1
- package/dist/components/kol-input-file.js +1 -1
- package/dist/components/kol-input-number.js +1 -1
- package/dist/components/kol-input-password.js +1 -1
- package/dist/components/kol-input-radio.js +1 -1
- package/dist/components/kol-input-range.js +1 -1
- package/dist/components/kol-input-text.js +1 -1
- package/dist/components/kol-kolibri.js +1 -1
- package/dist/components/kol-link-button.js +1 -1
- package/dist/components/kol-link.js +1 -1
- package/dist/components/kol-meter.js +1 -1
- package/dist/components/kol-modal.js +1 -1
- package/dist/components/kol-nav.js +1 -1
- package/dist/components/kol-pagination.js +1 -1
- package/dist/components/kol-popover-button.js +1 -1
- package/dist/components/kol-progress.js +1 -1
- package/dist/components/kol-quote.js +1 -1
- package/dist/components/kol-select.js +1 -1
- package/dist/components/kol-single-select.js +1 -1
- package/dist/components/kol-skeleton.js +1 -1
- package/dist/components/kol-skip-nav.js +1 -1
- package/dist/components/kol-spin.js +1 -1
- package/dist/components/kol-split-button.js +1 -1
- package/dist/components/kol-table-stateful.js +1 -1
- package/dist/components/kol-table-stateless.js +1 -1
- package/dist/components/kol-tabs.js +1 -1
- package/dist/components/kol-textarea.js +1 -1
- package/dist/components/kol-toast-container.js +1 -1
- package/dist/components/kol-toolbar.js +1 -1
- package/dist/components/kol-tree-item.js +1 -1
- package/dist/components/kol-tree.js +1 -1
- package/dist/components/kol-version.js +1 -1
- package/dist/components/label-hints.js +4 -0
- package/dist/components/label-lang-segment.js +4 -0
- package/dist/components/label-with-expert-slot.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label2.js +4 -0
- package/dist/components/level.js +1 -1
- package/dist/components/rows.js +1 -1
- package/dist/components/toggle-handler.js +1 -1
- package/dist/components/unique-nav-labels.js +1 -1
- package/dist/components/unit.js +1 -1
- package/dist/components/validators.js +4 -0
- package/dist/components/variant.js +1 -1
- package/dist/components/width.js +1 -1
- package/dist/esm/{Heading-0teSdkFq.js → Heading-BSa6BQTS.js} +1 -1
- package/dist/esm/{align-DsFuqEf5.js → align-CR9s255S.js} +1 -1
- package/dist/esm/{api-B9mpTRGa.js → api-BNtfQTYQ.js} +15 -15
- package/dist/esm/{api-CvPkoAAG.js → api-DxF6-oIO.js} +6 -6
- package/dist/esm/{api-hAvZrw9X.js → api-qNAcP_o2.js} +29 -21
- package/dist/esm/{app-globals-Dff_iJYF.js → app-globals-BbKBH3UI.js} +2 -2
- package/dist/esm/{aria-labelledby-BRToXqsQ.js → aria-labelledby-CLehu03h.js} +2 -2
- package/dist/esm/{base-CsJWjTJl.js → base-B-_Cm8wH.js} +39 -31
- package/dist/esm/{base-Df1bwC8d.js → base-MxYtjOUP.js} +21 -14
- package/dist/esm/{base-COT79ELt.js → base-WHbY0uVC.js} +12 -12
- package/dist/esm/{base-7FEvBJ3L.js → base-wY3yC1z6.js} +14 -14
- package/dist/esm/{base-web-component-Bcoukts3.js → base-web-component-B0QkUucC.js} +32 -7
- package/dist/esm/{base-web-component-C1XSz7ML.js → base-web-component-CgbHhshr.js} +9 -9
- package/dist/esm/{base-web-component-cTyj95G-.js → base-web-component-D8x1WFVT.js} +14 -14
- package/dist/esm/{behavior-Zr6qAX7F.js → behavior-BqydGn0c.js} +5 -5
- package/dist/esm/{behavior-BlS6DO8T.js → behavior-DJY-AtON.js} +6 -5
- package/dist/esm/{behavior-BMW-_4Oy.js → behavior-DyHxeIOP.js} +4 -4
- package/dist/esm/{bootstrap-DTVsVq0w.js → bootstrap-ddeYryQr.js} +1 -1
- package/dist/esm/{color-9CMp_pOq.js → color-w3K7aUcU.js} +12 -2
- package/dist/esm/{component-DHl33p9J.js → component-BPRJ0qOM.js} +6 -6
- package/dist/esm/{component-DxddScWx.js → component-BQBWV-Dj.js} +7 -7
- package/dist/esm/{component-DzVHCXnG.js → component-B_u7M1gI.js} +1 -1
- package/dist/esm/{component-BkjWlzLc.js → component-Bk12rjp3.js} +6 -5
- package/dist/esm/{component-BmJGOcby.js → component-D1XWWFos.js} +10 -7
- package/dist/esm/{component-DeWynlzi.js → component-Dfgawulk.js} +2 -2
- package/dist/esm/{component-C_Te18y_.js → component-DsvRA1H3.js} +3 -3
- package/dist/esm/{component-Ik_-HAMT.js → component-PLZiII08.js} +22 -10
- package/dist/esm/{component-CySyXSru.js → component-TFkvNo8L.js} +7 -2
- package/dist/esm/{component-DqHI-AwD.js → component-k7qmCOq7.js} +2 -2
- package/dist/esm/{component-names-Dhbtt0mX.js → component-names-CrfBV37S.js} +0 -2
- package/dist/esm/{component-C9mkZ63L.js → component-u7CHIDOX.js} +1 -1
- package/dist/esm/{contrast-BK5uVXeb.js → contrast-Dtg34nol.js} +1 -1
- package/dist/esm/{controller-Bf-CAo4Q.js → controller-DL8n64W5.js} +14 -14
- package/dist/esm/{dev.utils-BgjegQC8.js → dev.utils-Cl2Ehgvu.js} +1 -1
- package/dist/esm/{devtools-4nOArEGl.js → devtools-BkgDF9Wk.js} +2 -2
- package/dist/esm/{disabled-BaPgTuFO.js → disabled-DU4BpeNO.js} +1 -1
- package/dist/esm/{element-focus-Cp994Rrk.js → element-focus-BIRmGg5W.js} +24 -1
- package/dist/esm/{element-interaction-Cy9tx3Sx.js → element-interaction-sGYdEpmv.js} +1 -1
- package/dist/esm/{field-control-Brx62dJV.js → field-control-CQRYx4SF.js} +6 -6
- package/dist/esm/{group-Ce5pMiZJ.js → group-D3knBA42.js} +4 -4
- package/dist/esm/{has-closer-C9L79ect.js → has-closer-W6jQEQkV.js} +1 -1
- package/dist/esm/href-DzETOAed.js +8 -0
- package/dist/esm/{index-D5UV99lE.js → index-DqqSYO-1.js} +1 -5
- package/dist/esm/index.js +3 -3
- package/dist/esm/{input-DjQorwQ5.js → input-BBxRsjm-.js} +3 -3
- package/dist/esm/{input-container-RSmfcRgK.js → input-container-DrzJi_0x.js} +6 -6
- package/dist/esm/{item-Bfk2xd-D.js → item-CJvb0vTK.js} +11 -11
- package/dist/esm/{item-2cprk9ut.js → item-CYZtLav7.js} +6 -6
- package/dist/esm/{item-DMWn_IlJ.js → item-CuotjQUP.js} +5 -5
- package/dist/esm/{item-D9_O5WAR.js → item-DQR44mQ_.js} +16 -25
- package/dist/esm/kol-abbr.entry.js +11 -9
- package/dist/esm/kol-accordion.entry.js +19 -17
- package/dist/esm/kol-alert.entry.js +25 -23
- package/dist/esm/kol-avatar.entry.js +19 -14
- package/dist/esm/kol-badge.entry.js +31 -28
- package/dist/esm/kol-breadcrumb.entry.js +29 -27
- package/dist/esm/kol-button-link.entry.js +42 -28
- package/dist/esm/kol-button.entry.js +43 -28
- package/dist/esm/kol-card.entry.js +37 -33
- package/dist/esm/kol-click-button.entry.js +12 -10
- package/dist/esm/kol-combobox.entry.js +59 -47
- package/dist/esm/kol-details.entry.js +19 -17
- package/dist/esm/kol-dialog.entry.js +31 -29
- package/dist/esm/kol-drawer.entry.js +35 -31
- package/dist/esm/kol-form.entry.js +26 -23
- package/dist/esm/kol-heading.entry.js +17 -11
- package/dist/esm/kol-icon.entry.js +11 -9
- package/dist/esm/kol-image.entry.js +10 -6
- package/dist/esm/kol-input-checkbox.entry.js +50 -39
- package/dist/esm/kol-input-color.entry.js +55 -47
- package/dist/esm/kol-input-date.entry.js +73 -44
- package/dist/esm/kol-input-email.entry.js +63 -46
- package/dist/esm/kol-input-file.entry.js +53 -40
- package/dist/esm/kol-input-number.entry.js +63 -45
- package/dist/esm/kol-input-password.entry.js +64 -44
- package/dist/esm/kol-input-radio.entry.js +48 -39
- package/dist/esm/kol-input-range.entry.js +55 -41
- package/dist/esm/kol-input-text.entry.js +68 -46
- package/dist/esm/kol-kolibri.entry.js +6 -6
- package/dist/esm/kol-link-button.entry.js +36 -23
- package/dist/esm/kol-link.entry.js +36 -23
- package/dist/esm/kol-meter.entry.js +29 -17
- package/dist/esm/kol-modal.entry.js +31 -29
- package/dist/esm/kol-nav.entry.js +37 -35
- package/dist/esm/kol-pagination.entry.js +45 -41
- package/dist/esm/kol-popover-button.entry.js +40 -29
- package/dist/esm/kol-progress.entry.js +20 -11
- package/dist/esm/kol-quote.entry.js +16 -14
- package/dist/esm/kol-select.entry.js +53 -39
- package/dist/esm/kol-single-select.entry.js +58 -47
- package/dist/esm/kol-skeleton.entry.js +8 -8
- package/dist/esm/kol-skip-nav.entry.js +28 -26
- package/dist/esm/kol-spin.entry.js +15 -10
- package/dist/esm/kol-split-button.entry.js +45 -31
- package/dist/esm/kol-table-stateful.entry.js +65 -53
- package/dist/esm/kol-table-stateless.entry.js +51 -40
- package/dist/esm/kol-tabs.entry.js +31 -27
- package/dist/esm/kol-textarea.entry.js +59 -43
- package/dist/esm/kol-toast-container.entry.js +13 -14
- package/dist/esm/kol-toolbar.entry.js +35 -32
- package/dist/esm/kol-tree-item.entry.js +30 -26
- package/dist/esm/kol-tree.entry.js +12 -10
- package/dist/esm/kol-version.entry.js +17 -16
- package/dist/esm/kolibri.js +4 -4
- package/dist/esm/{isArray-CcrBs4JM.js → label-CJRIAbnc.js} +55 -1
- package/dist/esm/label-CPjIrpB0.js +12 -0
- package/dist/esm/label-hints-CGyBuIY6.js +20 -0
- package/dist/esm/label-lang-segment-c3GyH-Op.js +12 -0
- package/dist/esm/label-with-expert-slot-89Cj-cq-.js +12 -0
- package/dist/esm/{level-Df663c7y.js → level-JSbGeBz9.js} +1 -1
- package/dist/esm/{link-target-C7_smSbV.js → link-target-aw_DcyX2.js} +1 -1
- package/dist/esm/{links-B0xbzBwU.js → links-C0RerkBI.js} +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{multiple-CYHm7rd3.js → multiple-DMz1NE8m.js} +1 -1
- package/dist/esm/{name-m3owaZxH.js → name-CWVb8Q5W.js} +1 -1
- package/dist/esm/{number-value-CMedWR58.js → number-value-Bm0uVl62.js} +1 -1
- package/dist/esm/{open-DCGNTmvC.js → open-CnguVIAX.js} +1 -1
- package/dist/esm/{options-CR431ims.js → options-DK9U0D2y.js} +1 -1
- package/dist/esm/{orientation-C9FRNmPD.js → orientation-T7LcUCDT.js} +1 -1
- package/dist/esm/{placeholder-Bwzvbwhh.js → placeholder-C1LF_luk.js} +1 -1
- package/dist/esm/{read-only-C5fDsZVK.js → read-only-DLntjWLi.js} +1 -1
- package/dist/esm/{required-CC0212MQ.js → required-CySt8O-6.js} +1 -1
- package/dist/esm/{resolve-props-CnHCiXuG.js → resolve-props-CECEyL7n.js} +7 -7
- package/dist/esm/{resolve-props-47S-r31C.js → resolve-props-bPGYbQje.js} +7 -7
- package/dist/esm/rows-D2i8Qw0_.js +8 -0
- package/dist/esm/{scroll-lock-DQGTnLvW.js → scroll-lock-BJ_1AYBl.js} +1 -1
- package/dist/esm/{smart-button-BHM06d-t.js → smart-button-BARe7Uqb.js} +1 -1
- package/dist/esm/{spell-check-DiSedaOR.js → spell-check-dMfm8ESK.js} +1 -1
- package/dist/esm/{src-CsLEg--w.js → src-evXzPKgX.js} +1 -1
- package/dist/esm/{step-BxSThOke.js → step-BHPlkf18.js} +1 -1
- package/dist/esm/{suggestions-B79TOsF_.js → suggestions-8D7aWSYG.js} +1 -1
- package/dist/esm/{suggestions-C38q-5JU.js → suggestions-D0ShCnWU.js} +3 -3
- package/dist/esm/test-component.entry.js +1 -1
- package/dist/esm/{toggle-handler-CQ0FhBmD.js → toggle-handler-WD9E4u31.js} +10 -10
- package/dist/esm/{unique-nav-labels-Bh3w7dCH.js → unique-nav-labels-B5lSg8F6.js} +7 -4
- package/dist/esm/{unit-BgjPEae-.js → unit-B_lrrs5g.js} +1 -1
- package/dist/esm/validators-C9J6nOXq.js +11 -0
- package/dist/esm/{value-string-BDfywbme.js → value-string-Bg_YNL53.js} +1 -1
- package/dist/esm/{variant-PJN56KWi.js → variant-DL7TMWWF.js} +3 -5
- package/dist/esm/{width-CAS8lhOU.js → width-DGMj8F25.js} +5 -2
- package/dist/kolibri/{Heading-0teSdkFq.js → Heading-BSa6BQTS.js} +1 -1
- package/dist/kolibri/{align-DsFuqEf5.js → align-CR9s255S.js} +1 -1
- package/dist/kolibri/api-BNtfQTYQ.js +4 -0
- package/dist/kolibri/api-DxF6-oIO.js +4 -0
- package/dist/kolibri/api-qNAcP_o2.js +4 -0
- package/dist/kolibri/app-globals-BbKBH3UI.js +4 -0
- package/dist/kolibri/aria-labelledby-CLehu03h.js +4 -0
- package/dist/kolibri/base-B-_Cm8wH.js +4 -0
- package/dist/kolibri/base-MxYtjOUP.js +4 -0
- package/dist/kolibri/base-WHbY0uVC.js +4 -0
- package/dist/kolibri/base-wY3yC1z6.js +4 -0
- package/dist/kolibri/base-web-component-B0QkUucC.js +4 -0
- package/dist/kolibri/{base-web-component-C1XSz7ML.js → base-web-component-CgbHhshr.js} +1 -1
- package/dist/kolibri/{base-web-component-cTyj95G-.js → base-web-component-D8x1WFVT.js} +1 -1
- package/dist/kolibri/{behavior-Zr6qAX7F.js → behavior-BqydGn0c.js} +1 -1
- package/dist/kolibri/behavior-DJY-AtON.js +4 -0
- package/dist/kolibri/behavior-DyHxeIOP.js +4 -0
- package/dist/kolibri/bootstrap-ddeYryQr.js +4 -0
- package/dist/kolibri/color-w3K7aUcU.js +4 -0
- package/dist/kolibri/{component-DHl33p9J.js → component-BPRJ0qOM.js} +1 -1
- package/dist/kolibri/component-BQBWV-Dj.js +4 -0
- package/dist/kolibri/{component-DzVHCXnG.js → component-B_u7M1gI.js} +1 -1
- package/dist/kolibri/component-Bk12rjp3.js +4 -0
- package/dist/kolibri/component-D1XWWFos.js +4 -0
- package/dist/kolibri/component-Dfgawulk.js +4 -0
- package/dist/kolibri/{component-C_Te18y_.js → component-DsvRA1H3.js} +1 -1
- package/dist/kolibri/component-PLZiII08.js +4 -0
- package/dist/kolibri/component-TFkvNo8L.js +4 -0
- package/dist/kolibri/{component-DqHI-AwD.js → component-k7qmCOq7.js} +1 -1
- package/dist/kolibri/{component-names-Dhbtt0mX.js → component-names-CrfBV37S.js} +1 -1
- package/dist/kolibri/{component-C9mkZ63L.js → component-u7CHIDOX.js} +1 -1
- package/dist/kolibri/contrast-Dtg34nol.js +4 -0
- package/dist/kolibri/controller-DL8n64W5.js +4 -0
- package/dist/kolibri/{dev.utils-BgjegQC8.js → dev.utils-Cl2Ehgvu.js} +1 -1
- package/dist/kolibri/{devtools-4nOArEGl.js → devtools-BkgDF9Wk.js} +1 -1
- package/dist/kolibri/disabled-DU4BpeNO.js +4 -0
- package/dist/kolibri/element-focus-BIRmGg5W.js +4 -0
- package/dist/kolibri/{element-interaction-Cy9tx3Sx.js → element-interaction-sGYdEpmv.js} +1 -1
- package/dist/kolibri/field-control-CQRYx4SF.js +4 -0
- package/dist/kolibri/{group-Ce5pMiZJ.js → group-D3knBA42.js} +1 -1
- package/dist/kolibri/has-closer-W6jQEQkV.js +4 -0
- package/dist/kolibri/href-DzETOAed.js +4 -0
- package/dist/kolibri/index-DqqSYO-1.js +6 -0
- package/dist/kolibri/index.esm.js +1 -1
- package/dist/kolibri/input-BBxRsjm-.js +4 -0
- package/dist/kolibri/input-container-DrzJi_0x.js +4 -0
- package/dist/kolibri/item-CJvb0vTK.js +4 -0
- package/dist/kolibri/item-CYZtLav7.js +4 -0
- package/dist/kolibri/item-CuotjQUP.js +4 -0
- package/dist/kolibri/item-DQR44mQ_.js +4 -0
- package/dist/kolibri/kol-abbr.entry.js +1 -1
- package/dist/kolibri/kol-accordion.entry.js +1 -1
- package/dist/kolibri/kol-alert.entry.js +1 -1
- package/dist/kolibri/kol-avatar.entry.js +1 -1
- package/dist/kolibri/kol-badge.entry.js +1 -1
- package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
- package/dist/kolibri/kol-button-link.entry.js +1 -1
- package/dist/kolibri/kol-button.entry.js +1 -1
- package/dist/kolibri/kol-card.entry.js +1 -1
- package/dist/kolibri/kol-click-button.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-skeleton.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-CJRIAbnc.js +4 -0
- package/dist/kolibri/label-CPjIrpB0.js +4 -0
- package/dist/kolibri/label-hints-CGyBuIY6.js +4 -0
- package/dist/kolibri/label-lang-segment-c3GyH-Op.js +4 -0
- package/dist/kolibri/label-with-expert-slot-89Cj-cq-.js +4 -0
- package/dist/kolibri/level-JSbGeBz9.js +4 -0
- package/dist/kolibri/link-target-aw_DcyX2.js +4 -0
- package/dist/kolibri/links-C0RerkBI.js +4 -0
- package/dist/kolibri/multiple-DMz1NE8m.js +4 -0
- package/dist/kolibri/name-CWVb8Q5W.js +4 -0
- package/dist/kolibri/number-value-Bm0uVl62.js +4 -0
- package/dist/kolibri/open-CnguVIAX.js +4 -0
- package/dist/kolibri/{options-CR431ims.js → options-DK9U0D2y.js} +1 -1
- package/dist/kolibri/{orientation-C9FRNmPD.js → orientation-T7LcUCDT.js} +1 -1
- package/dist/kolibri/placeholder-C1LF_luk.js +4 -0
- package/dist/kolibri/read-only-DLntjWLi.js +4 -0
- package/dist/kolibri/required-CySt8O-6.js +4 -0
- package/dist/kolibri/resolve-props-CECEyL7n.js +4 -0
- package/dist/kolibri/resolve-props-bPGYbQje.js +4 -0
- package/dist/kolibri/rows-D2i8Qw0_.js +4 -0
- package/dist/kolibri/{scroll-lock-DQGTnLvW.js → scroll-lock-BJ_1AYBl.js} +1 -1
- package/dist/kolibri/{smart-button-BHM06d-t.js → smart-button-BARe7Uqb.js} +1 -1
- package/dist/kolibri/spell-check-dMfm8ESK.js +4 -0
- package/dist/kolibri/src-evXzPKgX.js +4 -0
- package/dist/kolibri/step-BHPlkf18.js +4 -0
- package/dist/kolibri/suggestions-8D7aWSYG.js +4 -0
- package/dist/kolibri/suggestions-D0ShCnWU.js +4 -0
- package/dist/kolibri/test-component.entry.js +1 -1
- package/dist/kolibri/toggle-handler-WD9E4u31.js +4 -0
- package/dist/kolibri/unique-nav-labels-B5lSg8F6.js +4 -0
- package/dist/kolibri/unit-B_lrrs5g.js +4 -0
- package/dist/kolibri/validators-C9J6nOXq.js +4 -0
- package/dist/kolibri/value-string-Bg_YNL53.js +4 -0
- package/dist/kolibri/variant-DL7TMWWF.js +4 -0
- package/dist/kolibri/width-DGMj8F25.js +4 -0
- package/dist/types/components/_skeleton/public-api/contract.d.ts +1 -6
- package/dist/types/components/_skeleton/web-components/click-button/component.d.ts +3 -3
- package/dist/types/components/_skeleton/web-components/skeleton/component.d.ts +3 -3
- package/dist/types/components/abbr/component.d.ts +3 -3
- package/dist/types/components/accordion/component.d.ts +7 -7
- package/dist/types/components/alert/component.d.ts +7 -7
- package/dist/types/components/avatar/component.d.ts +5 -5
- package/dist/types/components/badge/component.d.ts +3 -3
- package/dist/types/components/button/base.d.ts +6 -6
- package/dist/types/components/button/component.d.ts +13 -13
- package/dist/types/components/button-link/component.d.ts +11 -11
- package/dist/types/components/card/base.d.ts +3 -3
- package/dist/types/components/card/component.d.ts +5 -5
- package/dist/types/components/combobox/component.d.ts +21 -21
- package/dist/types/components/details/component.d.ts +7 -7
- package/dist/types/components/dialog/base.d.ts +3 -3
- package/dist/types/components/dialog/component.d.ts +5 -5
- package/dist/types/components/drawer/component.d.ts +5 -5
- package/dist/types/components/heading/component.d.ts +3 -3
- package/dist/types/components/icon/component.d.ts +3 -2
- package/dist/types/components/image/component.d.ts +9 -8
- package/dist/types/components/input-checkbox/component.d.ts +19 -19
- package/dist/types/components/input-color/component.d.ts +15 -16
- package/dist/types/components/input-date/component.d.ts +17 -17
- package/dist/types/components/input-email/component.d.ts +29 -29
- package/dist/types/components/input-file/component.d.ts +16 -16
- package/dist/types/components/input-number/component.d.ts +19 -19
- package/dist/types/components/input-password/component.d.ts +28 -27
- package/dist/types/components/input-radio/component.d.ts +13 -13
- package/dist/types/components/input-range/component.d.ts +13 -13
- package/dist/types/components/input-text/component.d.ts +26 -25
- package/dist/types/components/kolibri/component.d.ts +3 -3
- package/dist/types/components/link/base.d.ts +5 -5
- package/dist/types/components/link/component.d.ts +9 -9
- package/dist/types/components/link-button/component.d.ts +7 -7
- package/dist/types/components/meter/component.d.ts +17 -16
- package/dist/types/components/modal/component.d.ts +5 -5
- package/dist/types/components/nav/component.d.ts +7 -7
- package/dist/types/components/pagination/component.d.ts +8 -8
- package/dist/types/components/popover-button/component.d.ts +9 -9
- package/dist/types/components/progress/component.d.ts +9 -8
- package/dist/types/components/quote/component.d.ts +7 -6
- package/dist/types/components/select/component.d.ts +19 -19
- package/dist/types/components/single-select/component.d.ts +19 -19
- package/dist/types/components/spin/component.d.ts +5 -4
- package/dist/types/components/split-button/component.d.ts +13 -13
- package/dist/types/components/table-stateful/component.d.ts +9 -9
- package/dist/types/components/table-stateless/base.d.ts +4 -3
- package/dist/types/components/table-stateless/component.d.ts +5 -5
- package/dist/types/components/tabs/component.d.ts +3 -3
- package/dist/types/components/textarea/component.d.ts +27 -27
- package/dist/types/components/toolbar/component.d.ts +3 -3
- package/dist/types/components/tree-item/component.d.ts +3 -3
- package/dist/types/components.d.ts +1350 -973
- package/dist/types/core/component-names.d.ts +0 -1
- package/dist/types/core/i18n.d.ts +1 -1
- package/dist/types/e2e/input-behavior-contract.d.ts +0 -1
- package/dist/types/functional-components/index.d.ts +0 -1
- package/dist/types/internal/functional-components/abbr/api.d.ts +1 -1
- package/dist/types/internal/functional-components/alert/api.d.ts +1 -1
- package/dist/types/internal/functional-components/avatar/api.d.ts +1 -1
- package/dist/types/internal/functional-components/badge/api.d.ts +4 -4
- package/dist/types/internal/functional-components/base-web-component.d.ts +2 -0
- 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/item.d.ts +2 -2
- package/dist/types/internal/functional-components/drawer/api.d.ts +2 -2
- package/dist/types/internal/functional-components/form/api.d.ts +1 -1
- package/dist/types/internal/functional-components/form-association/api.d.ts +1 -1
- package/dist/types/internal/functional-components/form-association/behavior.d.ts +0 -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 -0
- package/dist/types/internal/functional-components/form-field/component.d.ts +2 -2
- package/dist/types/internal/functional-components/form-field/default-input-props.d.ts +4 -3
- package/dist/types/internal/functional-components/form-field/field-control.d.ts +2 -2
- package/dist/types/internal/functional-components/form-field/label.d.ts +2 -1
- package/dist/types/internal/functional-components/generic-types.d.ts +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 +6 -6
- package/dist/types/internal/functional-components/input-date/api.d.ts +6 -6
- package/dist/types/internal/functional-components/input-email/api.d.ts +6 -6
- package/dist/types/internal/functional-components/input-file/api.d.ts +6 -6
- package/dist/types/internal/functional-components/input-number/api.d.ts +6 -6
- package/dist/types/internal/functional-components/input-password/api.d.ts +6 -6
- package/dist/types/internal/functional-components/input-radio/api.d.ts +3 -3
- package/dist/types/internal/functional-components/input-range/api.d.ts +4 -4
- package/dist/types/internal/functional-components/input-text/api.d.ts +6 -6
- package/dist/types/internal/functional-components/kolibri/api.d.ts +1 -1
- package/dist/types/internal/functional-components/link/api.d.ts +2 -2
- package/dist/types/internal/functional-components/link/item.d.ts +2 -1
- package/dist/types/internal/functional-components/meter/api.d.ts +11 -2
- package/dist/types/internal/functional-components/meter/component.test.d.ts +1 -0
- 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/component.d.ts +1 -1
- package/dist/types/internal/functional-components/pagination/item.d.ts +3 -3
- package/dist/types/internal/functional-components/popover-button/api.d.ts +2 -2
- package/dist/types/internal/functional-components/progress/api.d.ts +11 -2
- package/dist/types/internal/functional-components/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/skeleton/api.d.ts +1 -1
- package/dist/types/internal/functional-components/skip-nav/api.d.ts +1 -1
- package/dist/types/internal/functional-components/span/api.d.ts +2 -2
- package/dist/types/internal/functional-components/span/component.d.ts +2 -1
- package/dist/types/internal/functional-components/spin/api.d.ts +1 -1
- package/dist/types/internal/functional-components/table-stateful/api.d.ts +2 -2
- package/dist/types/internal/functional-components/table-stateless/api.d.ts +2 -2
- package/dist/types/internal/functional-components/table-stateless/component.d.ts +1 -0
- package/dist/types/internal/functional-components/table-stateless/table-model.d.ts +0 -3
- package/dist/types/internal/functional-components/tabs/api.d.ts +2 -2
- package/dist/types/internal/functional-components/text-input/api.d.ts +6 -6
- package/dist/types/internal/functional-components/textarea/api.d.ts +4 -4
- package/dist/types/internal/functional-components/toolbar/api.d.ts +2 -2
- package/dist/types/internal/functional-components/tooltip/api.d.ts +2 -2
- package/dist/types/internal/functional-components/tooltip/behavior.d.ts +2 -1
- package/dist/types/internal/functional-components/tree/api.d.ts +1 -1
- package/dist/types/internal/functional-components/tree-item/api.d.ts +2 -2
- package/dist/types/internal/props/accept.d.ts +2 -1
- package/dist/types/internal/props/access-key.d.ts +3 -2
- package/dist/types/internal/props/active.d.ts +3 -2
- package/dist/types/internal/props/adjust-height.d.ts +3 -2
- package/dist/types/internal/props/alert-callbacks.d.ts +1 -3
- package/dist/types/internal/props/alert-type.d.ts +1 -1
- package/dist/types/internal/props/alert-variant.d.ts +1 -1
- package/dist/types/internal/props/alert.d.ts +3 -2
- package/dist/types/internal/props/allow-markdown.d.ts +3 -2
- package/dist/types/internal/props/allow-multi-sort.d.ts +3 -2
- package/dist/types/internal/props/alt.d.ts +3 -2
- package/dist/types/internal/props/aria-controls.d.ts +3 -2
- package/dist/types/internal/props/aria-current-value.d.ts +1 -1
- package/dist/types/internal/props/aria-description.d.ts +3 -2
- package/dist/types/internal/props/aria-details.d.ts +3 -2
- package/dist/types/internal/props/aria-expanded.d.ts +1 -1
- package/dist/types/internal/props/aria-has-popup.d.ts +1 -1
- package/dist/types/internal/props/aria-owns.d.ts +3 -2
- package/dist/types/internal/props/aria-selected.d.ts +1 -1
- package/dist/types/internal/props/auto-complete.d.ts +1 -1
- package/dist/types/internal/props/badge-text.d.ts +3 -2
- package/dist/types/internal/props/boundary-count.d.ts +3 -2
- package/dist/types/internal/props/breadcrumb-links.d.ts +1 -4
- package/dist/types/internal/props/button-callbacks.d.ts +1 -3
- package/dist/types/internal/props/button-type.d.ts +1 -1
- package/dist/types/internal/props/card-callbacks.d.ts +1 -3
- package/dist/types/internal/props/checkbox-value.d.ts +1 -1
- package/dist/types/internal/props/checked.d.ts +3 -2
- package/dist/types/internal/props/collapsible-callbacks.d.ts +1 -3
- package/dist/types/internal/props/collapsible.d.ts +3 -2
- package/dist/types/internal/props/color.d.ts +1 -1
- package/dist/types/internal/props/custom-class.d.ts +3 -2
- package/dist/types/internal/props/dialog-callbacks.d.ts +1 -1
- package/dist/types/internal/props/disabled.d.ts +3 -2
- package/dist/types/internal/props/download.d.ts +2 -1
- package/dist/types/internal/props/drawer-callbacks.d.ts +1 -1
- package/dist/types/internal/props/error-list.d.ts +1 -1
- package/dist/types/internal/props/fixed-cols.d.ts +1 -1
- package/dist/types/internal/props/form-callbacks.d.ts +1 -3
- package/dist/types/internal/props/has-clear-button.d.ts +3 -2
- package/dist/types/internal/props/has-closer.d.ts +3 -2
- package/dist/types/internal/props/has-compact-button.d.ts +3 -2
- package/dist/types/internal/props/has-counter.d.ts +3 -2
- package/dist/types/internal/props/has-create-button.d.ts +3 -2
- package/dist/types/internal/props/has-icons-when-expanded.d.ts +3 -2
- package/dist/types/internal/props/has-settings-menu.d.ts +3 -2
- package/dist/types/internal/props/helpers/factory.d.ts +13 -6
- package/dist/types/internal/props/helpers/normalizers.d.ts +2 -1
- package/dist/types/internal/props/helpers/validators.d.ts +4 -0
- package/dist/types/internal/props/hide-label.d.ts +3 -2
- package/dist/types/internal/props/hide-msg.d.ts +3 -2
- package/dist/types/internal/props/high.d.ts +3 -2
- package/dist/types/internal/props/hint.d.ts +3 -2
- package/dist/types/internal/props/hints/label-hints.d.ts +2 -1
- package/dist/types/internal/props/horizontal-icons.d.ts +1 -1
- package/dist/types/internal/props/href.d.ts +3 -3
- package/dist/types/internal/props/icons-input-checkbox.d.ts +1 -1
- package/dist/types/internal/props/icons.d.ts +1 -1
- package/dist/types/internal/props/id.d.ts +3 -2
- package/dist/types/internal/props/image-callbacks.d.ts +1 -3
- package/dist/types/internal/props/indeterminate.d.ts +3 -2
- package/dist/types/internal/props/index.d.ts +1 -1
- package/dist/types/internal/props/inline.d.ts +3 -2
- package/dist/types/internal/props/input-date-type.d.ts +1 -1
- package/dist/types/internal/props/input-text-type.d.ts +1 -1
- package/dist/types/internal/props/kolibri-color.d.ts +1 -1
- package/dist/types/internal/props/label-align.d.ts +1 -1
- package/dist/types/internal/props/label-lang-segment.d.ts +4 -0
- package/dist/types/internal/props/label-with-expert-slot.d.ts +3 -2
- package/dist/types/internal/props/label.d.ts +2 -1
- package/dist/types/internal/props/labeled.d.ts +3 -2
- package/dist/types/internal/props/level.d.ts +1 -1
- package/dist/types/internal/props/link-callbacks.d.ts +1 -3
- package/dist/types/internal/props/link-role.d.ts +1 -1
- package/dist/types/internal/props/link-target.d.ts +3 -2
- package/dist/types/internal/props/loading.d.ts +1 -1
- package/dist/types/internal/props/low.d.ts +3 -2
- package/dist/types/internal/props/max-length-behavior.d.ts +1 -1
- package/dist/types/internal/props/max-length.d.ts +2 -1
- package/dist/types/internal/props/max.d.ts +3 -2
- package/dist/types/internal/props/min.d.ts +3 -2
- package/dist/types/internal/props/multiple.d.ts +3 -2
- package/dist/types/internal/props/name.d.ts +3 -2
- package/dist/types/internal/props/nav-links.d.ts +1 -3
- package/dist/types/internal/props/open.d.ts +3 -2
- package/dist/types/internal/props/optimum.d.ts +3 -2
- package/dist/types/internal/props/options-with-optgroup.d.ts +1 -1
- package/dist/types/internal/props/orientation.d.ts +1 -1
- package/dist/types/internal/props/page-size-options.d.ts +1 -1
- package/dist/types/internal/props/page-size.d.ts +3 -2
- package/dist/types/internal/props/page.d.ts +3 -2
- package/dist/types/internal/props/pagination-callbacks.d.ts +1 -3
- package/dist/types/internal/props/pagination-has-buttons.d.ts +1 -1
- package/dist/types/internal/props/pagination-max.d.ts +3 -2
- package/dist/types/internal/props/pagination-position.d.ts +1 -1
- package/dist/types/internal/props/pattern.d.ts +2 -1
- package/dist/types/internal/props/placeholder.d.ts +2 -1
- package/dist/types/internal/props/quote.d.ts +3 -2
- package/dist/types/internal/props/radio-orientation.d.ts +1 -1
- package/dist/types/internal/props/radio-value.d.ts +1 -1
- package/dist/types/internal/props/read-only.d.ts +3 -2
- package/dist/types/internal/props/required-text.d.ts +1 -1
- package/dist/types/internal/props/required.d.ts +3 -2
- package/dist/types/internal/props/resize.d.ts +1 -1
- package/dist/types/internal/props/rows.d.ts +2 -1
- package/dist/types/internal/props/secondary-headline.d.ts +3 -2
- package/dist/types/internal/props/select-value.d.ts +1 -1
- package/dist/types/internal/props/selected.d.ts +3 -2
- package/dist/types/internal/props/short-key.d.ts +3 -2
- package/dist/types/internal/props/show.d.ts +3 -2
- package/dist/types/internal/props/sibling-count.d.ts +3 -2
- package/dist/types/internal/props/sizes.d.ts +3 -2
- package/dist/types/internal/props/skip-nav-links.d.ts +1 -3
- package/dist/types/internal/props/smart-button.d.ts +2 -2
- package/dist/types/internal/props/span-icons.d.ts +1 -1
- package/dist/types/internal/props/spell-check.d.ts +2 -1
- package/dist/types/internal/props/src.d.ts +3 -2
- package/dist/types/internal/props/srcset.d.ts +3 -2
- package/dist/types/internal/props/suggestions.d.ts +1 -1
- package/dist/types/internal/props/sync-value-by-selector.d.ts +2 -1
- package/dist/types/internal/props/tab-behavior.d.ts +1 -1
- package/dist/types/internal/props/tab-index.d.ts +3 -2
- package/dist/types/internal/props/table-data-foot.d.ts +1 -1
- package/dist/types/internal/props/table-data.d.ts +1 -1
- package/dist/types/internal/props/table-headers.d.ts +1 -1
- package/dist/types/internal/props/table-loading.d.ts +3 -2
- package/dist/types/internal/props/table-pagination.d.ts +1 -1
- package/dist/types/internal/props/table-selection.d.ts +1 -1
- package/dist/types/internal/props/table-stateful-headers.d.ts +1 -1
- package/dist/types/internal/props/tabs-callbacks.d.ts +1 -1
- package/dist/types/internal/props/tabs.d.ts +1 -1
- package/dist/types/internal/props/toolbar-items.d.ts +1 -1
- package/dist/types/internal/props/touched.d.ts +3 -2
- package/dist/types/internal/props/unit.d.ts +3 -2
- package/dist/types/internal/props/value-number-clamped.d.ts +4 -3
- package/dist/types/internal/props/value-string.d.ts +2 -1
- package/dist/types/internal/props/variant-dialog.d.ts +1 -1
- package/dist/types/internal/props/variant-input-checkbox.d.ts +1 -1
- package/dist/types/internal/props/variant-progress.d.ts +1 -1
- package/dist/types/internal/props/variant-quote.d.ts +1 -1
- package/dist/types/internal/props/variant-spin.d.ts +1 -1
- package/dist/types/internal/props/variant.d.ts +1 -1
- package/dist/types/internal/props/visibility-toggle.d.ts +3 -2
- package/dist/types/internal/props/width.d.ts +3 -2
- package/dist/types/schema/components/alert.d.ts +2 -2
- package/dist/types/schema/components/badge.d.ts +2 -2
- package/dist/types/schema/components/breadcrumb.d.ts +2 -2
- package/dist/types/schema/components/card.d.ts +2 -2
- package/dist/types/schema/components/collapsible.d.ts +3 -3
- package/dist/types/schema/components/dialog.d.ts +3 -3
- package/dist/types/schema/components/drawer.d.ts +3 -3
- package/dist/types/schema/components/split-button.d.ts +2 -2
- package/dist/types/schema/components/table.d.ts +3 -3
- package/dist/types/schema/components/tableStateless.d.ts +3 -3
- package/dist/types/schema/components/tabs.d.ts +2 -2
- package/dist/types/schema/components/tree-item.d.ts +2 -2
- package/dist/types/schema/props/allow-markdown.d.ts +1 -0
- package/dist/types/schema/props/aria-controls.d.ts +1 -2
- package/dist/types/schema/props/boundary-count.d.ts +1 -0
- package/dist/types/schema/props/has-clear-button.d.ts +1 -0
- package/dist/types/schema/props/has-compact-button.d.ts +1 -2
- package/dist/types/schema/props/high.d.ts +1 -0
- package/dist/types/schema/props/index.d.ts +19 -0
- package/dist/types/schema/props/label.d.ts +16 -2
- package/dist/types/schema/props/labeled.d.ts +1 -0
- package/dist/types/schema/props/low.d.ts +1 -0
- package/dist/types/schema/props/min.d.ts +1 -0
- package/dist/types/schema/props/optimum.d.ts +1 -0
- package/dist/types/schema/props/page-size.d.ts +1 -0
- package/dist/types/schema/props/page.d.ts +1 -0
- package/dist/types/schema/props/secondary-headline.d.ts +1 -0
- package/dist/types/schema/props/selected.d.ts +1 -0
- package/dist/types/schema/props/sibling-count.d.ts +1 -0
- package/dist/types/schema/props/sizes.d.ts +1 -0
- package/dist/types/schema/props/src.d.ts +1 -0
- package/dist/types/schema/props/srcset.d.ts +1 -0
- package/dist/types/schema/props/table-loading.d.ts +1 -0
- package/dist/types/schema/props/value-number-clamped.d.ts +1 -0
- package/dist/types/schema/props/value-string.d.ts +1 -0
- package/dist/types/schema/types/button-link-text.d.ts +4 -4
- package/dist/types/utils/dev.utils.d.ts +0 -2
- package/dist/types/utils/element-focus.d.ts +1 -0
- package/dist/types/utils/element-interaction.d.ts +0 -1
- package/dist/types/utils/element-themed.d.ts +1 -2
- package/dist/types/utils/unique-nav-labels.d.ts +3 -2
- package/doc/abbr.md +3 -3
- package/doc/accordion.md +1 -1
- package/doc/alert.md +1 -1
- package/doc/badge.md +6 -6
- package/doc/breadcrumb.md +4 -4
- package/doc/button-link.md +1 -1
- package/doc/button.md +1 -1
- package/doc/card.md +1 -1
- package/doc/combobox.md +23 -23
- package/doc/details.md +1 -1
- package/doc/dialog.md +1 -1
- package/doc/drawer.md +1 -1
- package/doc/heading.md +5 -5
- package/doc/input-checkbox.md +1 -1
- 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 +1 -1
- package/doc/input-range.md +1 -1
- package/doc/input-text.md +31 -31
- package/doc/link-button.md +1 -1
- package/doc/link.md +1 -1
- package/doc/meter.md +1 -1
- package/doc/modal.md +1 -1
- package/doc/popover-button.md +18 -18
- package/doc/progress.md +7 -7
- package/doc/quote.md +6 -6
- package/doc/select.md +24 -24
- package/doc/single-select.md +1 -1
- package/doc/split-button.md +1 -1
- package/doc/table-stateful.md +1 -1
- package/doc/table-stateless.md +1 -1
- package/doc/textarea.md +1 -1
- package/doc/tree-item.md +6 -6
- package/package.json +5 -12
- package/vscode-custom-data.json +20 -20
- package/dist/cjs/component-kxdSa2S4.js +0 -36
- package/dist/cjs/component-plNY-StC.js +0 -13
- package/dist/cjs/href-B2aqb6-P.js +0 -12
- package/dist/cjs/kol-tooltip-wc.cjs.entry.js +0 -82
- package/dist/cjs/label-DeUoiK6M.js +0 -39
- package/dist/cjs/label-with-expert-slot-B1k6ppMF.js +0 -10
- package/dist/collection/components/component-list.js +0 -105
- package/dist/collection/components/heading/validation.js +0 -11
- package/dist/collection/components/tooltip/component.js +0 -204
- package/dist/collection/functional-components/Heading/index.js +0 -5
- package/dist/collection/internal/props/hints/index.js +0 -4
- package/dist/collection/internal/props/pagination-label.js +0 -6
- package/dist/collection/schema/components/input.js +0 -4
- package/dist/collection/schema/validators/window.js +0 -4
- package/dist/components/component11.js +0 -4
- package/dist/components/isArray.js +0 -4
- package/dist/components/kol-tooltip-wc.d.ts +0 -11
- package/dist/components/kol-tooltip-wc.js +0 -4
- package/dist/esm/component-YhEwg1LK.js +0 -11
- package/dist/esm/href-OaK1sDT5.js +0 -9
- package/dist/esm/kol-tooltip-wc.entry.js +0 -80
- package/dist/esm/label-BNtqGdMQ.js +0 -35
- package/dist/esm/label-with-expert-slot-aAOUzLo3.js +0 -8
- package/dist/esm/rows-CUHDEUm9.js +0 -8
- package/dist/kolibri/api-B9mpTRGa.js +0 -4
- package/dist/kolibri/api-CvPkoAAG.js +0 -4
- package/dist/kolibri/api-hAvZrw9X.js +0 -4
- package/dist/kolibri/app-globals-Dff_iJYF.js +0 -4
- package/dist/kolibri/aria-labelledby-BRToXqsQ.js +0 -4
- package/dist/kolibri/base-7FEvBJ3L.js +0 -4
- package/dist/kolibri/base-COT79ELt.js +0 -4
- package/dist/kolibri/base-CsJWjTJl.js +0 -4
- package/dist/kolibri/base-Df1bwC8d.js +0 -4
- package/dist/kolibri/base-web-component-Bcoukts3.js +0 -4
- package/dist/kolibri/behavior-BMW-_4Oy.js +0 -4
- package/dist/kolibri/behavior-BlS6DO8T.js +0 -4
- package/dist/kolibri/bootstrap-DTVsVq0w.js +0 -4
- package/dist/kolibri/color-9CMp_pOq.js +0 -4
- package/dist/kolibri/component-BkjWlzLc.js +0 -4
- package/dist/kolibri/component-BmJGOcby.js +0 -4
- package/dist/kolibri/component-CySyXSru.js +0 -4
- package/dist/kolibri/component-DeWynlzi.js +0 -4
- package/dist/kolibri/component-DxddScWx.js +0 -4
- package/dist/kolibri/component-Ik_-HAMT.js +0 -4
- package/dist/kolibri/component-YhEwg1LK.js +0 -4
- package/dist/kolibri/contrast-BK5uVXeb.js +0 -4
- package/dist/kolibri/controller-Bf-CAo4Q.js +0 -4
- package/dist/kolibri/disabled-BaPgTuFO.js +0 -4
- package/dist/kolibri/element-focus-Cp994Rrk.js +0 -4
- package/dist/kolibri/field-control-Brx62dJV.js +0 -4
- package/dist/kolibri/has-closer-C9L79ect.js +0 -4
- package/dist/kolibri/href-OaK1sDT5.js +0 -4
- package/dist/kolibri/index-D5UV99lE.js +0 -6
- package/dist/kolibri/input-DjQorwQ5.js +0 -4
- package/dist/kolibri/input-container-RSmfcRgK.js +0 -4
- package/dist/kolibri/isArray-CcrBs4JM.js +0 -4
- package/dist/kolibri/item-2cprk9ut.js +0 -4
- package/dist/kolibri/item-Bfk2xd-D.js +0 -4
- package/dist/kolibri/item-D9_O5WAR.js +0 -4
- package/dist/kolibri/item-DMWn_IlJ.js +0 -4
- package/dist/kolibri/kol-tooltip-wc.entry.js +0 -4
- package/dist/kolibri/label-BNtqGdMQ.js +0 -4
- package/dist/kolibri/label-with-expert-slot-aAOUzLo3.js +0 -4
- package/dist/kolibri/level-Df663c7y.js +0 -4
- package/dist/kolibri/link-target-C7_smSbV.js +0 -4
- package/dist/kolibri/links-B0xbzBwU.js +0 -4
- package/dist/kolibri/multiple-CYHm7rd3.js +0 -4
- package/dist/kolibri/name-m3owaZxH.js +0 -4
- package/dist/kolibri/number-value-CMedWR58.js +0 -4
- package/dist/kolibri/open-DCGNTmvC.js +0 -4
- package/dist/kolibri/placeholder-Bwzvbwhh.js +0 -4
- package/dist/kolibri/read-only-C5fDsZVK.js +0 -4
- package/dist/kolibri/required-CC0212MQ.js +0 -4
- package/dist/kolibri/resolve-props-47S-r31C.js +0 -4
- package/dist/kolibri/resolve-props-CnHCiXuG.js +0 -4
- package/dist/kolibri/rows-CUHDEUm9.js +0 -4
- package/dist/kolibri/spell-check-DiSedaOR.js +0 -4
- package/dist/kolibri/src-CsLEg--w.js +0 -4
- package/dist/kolibri/step-BxSThOke.js +0 -4
- package/dist/kolibri/suggestions-B79TOsF_.js +0 -4
- package/dist/kolibri/suggestions-C38q-5JU.js +0 -4
- package/dist/kolibri/toggle-handler-CQ0FhBmD.js +0 -4
- package/dist/kolibri/unique-nav-labels-Bh3w7dCH.js +0 -4
- package/dist/kolibri/unit-BgjPEae-.js +0 -4
- package/dist/kolibri/value-string-BDfywbme.js +0 -4
- package/dist/kolibri/variant-PJN56KWi.js +0 -4
- package/dist/kolibri/width-CAS8lhOU.js +0 -4
- package/dist/types/components/component-list.d.ts +0 -7
- package/dist/types/components/heading/validation.d.ts +0 -3
- package/dist/types/components/tooltip/component.d.ts +0 -19
- package/dist/types/functional-components/Heading/index.d.ts +0 -2
- package/dist/types/internal/props/hints/index.d.ts +0 -1
- package/dist/types/internal/props/pagination-label.d.ts +0 -3
- package/dist/types/schema/components/input.d.ts +0 -0
- package/dist/types/schema/validators/window.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{r as o,h as t,H as e,g as i}from"./index-D5UV99lE.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{B as l,s as a}from"./base-web-component-C1XSz7ML.js";import{c as r}from"./dev.utils-BgjegQC8.js";import{d as s,c}from"./element-interaction-Cy9tx3Sx.js";import"./common-D03JQJgy.js";import"./variant-PJN56KWi.js";import"./base-web-component-Bcoukts3.js";import"./isArray-CcrBs4JM.js";import"./align-DsFuqEf5.js";import"./input-container-RSmfcRgK.js";import"./component-DxddScWx.js";import"./component-CySyXSru.js";import"./bem-registry-BlJAUViA.js";import"./clsx-COFh-Vc8.js";import"./component-DzVHCXnG.js";import"./block-bem-DXqmf3Te.js";import"./component-Ik_-HAMT.js";import"./component-C9mkZ63L.js";import"./component-YhEwg1LK.js";import"./api-hAvZrw9X.js";import"./events-BIT-JUP2.js";import"./behavior-Zr6qAX7F.js";import"./bootstrap-DTVsVq0w.js";import"./component-names-Dhbtt0mX.js";import"./i18n-Dl6Jjofb.js";import"./aria-labelledby-BRToXqsQ.js";import"./name-m3owaZxH.js";import"./behavior-BlS6DO8T.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-BNtqGdMQ.js";import"./disabled-BaPgTuFO.js";import"./label-with-expert-slot-aAOUzLo3.js";import"./item-2cprk9ut.js";import"./controller-Bf-CAo4Q.js";import"./resolve-props-47S-r31C.js";import"./api-CvPkoAAG.js";import"./item-Bfk2xd-D.js";import"./component-DHl33p9J.js";import"./i18n-DRQl0u--.js";import"./component-BmJGOcby.js";import"./Heading-0teSdkFq.js";import"./multiple-CYHm7rd3.js";import"./required-CC0212MQ.js";import"./rows-CUHDEUm9.js";import"./access-and-short-key-ijzCZfHm.js";import"./options-B0rBHetL.js";import"./element-focus-Cp994Rrk.js";const h=class extends l{constructor(t){super(),o(this,t),this.id=r("select"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=c(),this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._multiple=!1,this._required=!1,this._tooltipAlign="top",this._touched=!1,this.initFormAssociation("select",this._name)}watchAccessKey(o){this.applyAccessKey(o)}watchAriaDetails(o){this.applyAriaDetails(o)}watchDisabled(o){this.applyDisabled(o)}watchHideMsg(o){this.applyHideMsg(o)}watchHideLabel(o){this.applyHideLabel(o)}watchHint(o){this.applyHint(o)}watchIcons(o){this.applyIcons(o)}watchInfoPopover(o){this.applyInfoPopover(o)}watchLabel(o){this.applyLabel(o)}watchMsg(o){this.applyMsg(o)}watchMultiple(o){this.applyMultiple(o)}watchName(o){this.applyName(o)}watchOn(o){this.applyOn(o)}watchOptions(o){this.applyOptions(o)}watchRequired(o){this.applyRequired(o)}watchShortKey(o){this.applyShortKey(o)}watchRows(o){this.applyRows(o)}watchSyncValueBySelector(o){this.applySyncValueBySelector(o)}watchTabIndex(o){this.applyTabIndex(o)}watchTooltipAlign(o){this.applyTooltipAlign(o)}watchTouched(o){this.applyTouched(o)}watchValue(o){this.applyValue(o)}watchVariant(o){this.applyVariant(o)}async getValue(){return this.getModelValue()}async focus(o){}componentWillLoad(){this.initRenderProps(a),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(e,{key:"e14f71473cb90e97b9adcedc5232ea7719056ab7",class:"kol-select"},this.renderSelectField())}get host(){return i(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}]}}};n([s("ctaRef")],h.prototype,"focus",null),h.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } .kol-span .kol-span__label--hide-label .kol-span__label { display: none; } 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=1793002577585"); src: url("kolicons.eot?t=1793002577585#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1793002577585") format("woff2"), url("kolicons.woff?t=1793002577585") format("woff"), url("kolicons.ttf?t=1793002577585") format("truetype"), url("kolicons.svg?t=1793002577585#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 .kol-form-field .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; } }'};export{h as kol_select}
|
|
4
|
+
import{r as o,h as t,H as e,g as i}from"./index-DqqSYO-1.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{B as l,s as a}from"./base-web-component-CgbHhshr.js";import{c as r}from"./dev.utils-Cl2Ehgvu.js";import{d as s,c}from"./element-interaction-sGYdEpmv.js";import"./common-D03JQJgy.js";import"./variant-DL7TMWWF.js";import"./base-web-component-B0QkUucC.js";import"./label-CJRIAbnc.js";import"./validators-C9J6nOXq.js";import"./align-CR9s255S.js";import"./input-container-DrzJi_0x.js";import"./component-BQBWV-Dj.js";import"./component-TFkvNo8L.js";import"./component-PLZiII08.js";import"./bem-registry-BlJAUViA.js";import"./clsx-COFh-Vc8.js";import"./component-u7CHIDOX.js";import"./component-B_u7M1gI.js";import"./block-bem-DXqmf3Te.js";import"./api-qNAcP_o2.js";import"./events-BIT-JUP2.js";import"./behavior-BqydGn0c.js";import"./bootstrap-ddeYryQr.js";import"./component-names-CrfBV37S.js";import"./i18n-Dl6Jjofb.js";import"./aria-labelledby-CLehu03h.js";import"./name-CWVb8Q5W.js";import"./behavior-DJY-AtON.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-c3GyH-Op.js";import"./label-hints-CGyBuIY6.js";import"./disabled-DU4BpeNO.js";import"./label-with-expert-slot-89Cj-cq-.js";import"./item-CYZtLav7.js";import"./controller-DL8n64W5.js";import"./resolve-props-bPGYbQje.js";import"./api-DxF6-oIO.js";import"./item-CJvb0vTK.js";import"./component-BPRJ0qOM.js";import"./i18n-DRQl0u--.js";import"./component-D1XWWFos.js";import"./Heading-BSa6BQTS.js";import"./multiple-DMz1NE8m.js";import"./required-CySt8O-6.js";import"./rows-D2i8Qw0_.js";import"./access-and-short-key-ijzCZfHm.js";import"./options-B0rBHetL.js";import"./element-focus-BIRmGg5W.js";const h=class extends l{constructor(t){super(),o(this,t),this.id=r("select"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.ctaRef=c(),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(o){this.applyAccessKey(o)}watchAriaDetails(o){this.applyAriaDetails(o)}watchDisabled(o){this.applyDisabled(o)}watchHideMsg(o){this.applyHideMsg(o)}watchHideLabel(o){this.applyHideLabel(o)}watchHint(o){this.applyHint(o)}watchIcons(o){this.applyIcons(o)}watchInfoPopover(o){this.applyInfoPopover(o)}watchLabel(o){this.applyLabel(o)}watchMsg(o){this.applyMsg(o)}watchMultiple(o){this.applyMultiple(o)}watchName(o){this.applyName(o)}watchOn(o){this.applyOn(o)}watchOptions(o){this.applyOptions(o)}watchRequired(o){this.applyRequired(o)}watchShortKey(o){this.applyShortKey(o)}watchRows(o){this.applyRows(o)}watchSyncValueBySelector(o){this.applySyncValueBySelector(o)}watchTabIndex(o){this.applyTabIndex(o)}watchTooltipAlign(o){this.applyTooltipAlign(o)}watchTouched(o){this.applyTouched(o)}watchValue(o){this.applyValue(o)}watchVariant(o){this.applyVariant(o)}async getValue(){return this.getModelValue()}async focus(o){}componentWillLoad(){this.initRenderProps(a),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(e,{key:"4b74260b0339b37487c2a6a033ef8d2c6a645002",class:"kol-select"},this.renderSelectField())}get host(){return i(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}]}}};n([s("ctaRef")],h.prototype,"focus",null),h.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794027386898"); src: url("kolicons.eot?t=1794027386898#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794027386898") format("woff2"), url("kolicons.woff?t=1794027386898") format("woff"), url("kolicons.ttf?t=1794027386898") format("truetype"), url("kolicons.svg?t=1794027386898#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; } }'};export{h as kol_select}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as t,r as o,H as e,g as i}from"./index-D5UV99lE.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{t as s}from"./i18n-DRQl0u--.js";import{v as l}from"./access-and-short-key-ijzCZfHm.js";import{c as a}from"./clsx-COFh-Vc8.js";import{c as r,a as c}from"./dev.utils-BgjegQC8.js";import{d as h,c as d}from"./element-interaction-Cy9tx3Sx.js";import{c as p,K as u}from"./events-BIT-JUP2.js";import{B as k}from"./component-DxddScWx.js";import{c as m}from"./item-2cprk9ut.js";import{h as b,g as f,I as g}from"./input-container-RSmfcRgK.js";import{f as _,F as y}from"./api-hAvZrw9X.js";import{h as v,B as w,C as x,L as j,a as z}from"./group-Ce5pMiZJ.js";import{I as B}from"./input-DjQorwQ5.js";import"./common-D03JQJgy.js";import{a as C,d as O,v as T}from"./variant-PJN56KWi.js";import"./base-web-component-Bcoukts3.js";import{p as A}from"./placeholder-Bwzvbwhh.js";import{r as D}from"./required-CC0212MQ.js";import{r as K}from"./rows-CUHDEUm9.js";import{c as S}from"./options-CR431ims.js";import{b as q}from"./bem-registry-BlJAUViA.js";import{I as H}from"./component-C9mkZ63L.js";import"./i18n-Dl6Jjofb.js";import"./element-focus-Cp994Rrk.js";import"./component-CySyXSru.js";import"./component-DzVHCXnG.js";import"./block-bem-DXqmf3Te.js";import"./component-Ik_-HAMT.js";import"./isArray-CcrBs4JM.js";import"./component-YhEwg1LK.js";import"./controller-Bf-CAo4Q.js";import"./component-names-Dhbtt0mX.js";import"./behavior-BlS6DO8T.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./align-DsFuqEf5.js";import"./label-BNtqGdMQ.js";import"./resolve-props-47S-r31C.js";import"./api-CvPkoAAG.js";import"./disabled-BaPgTuFO.js";import"./label-with-expert-slot-aAOUzLo3.js";import"./name-m3owaZxH.js";import"./behavior-Zr6qAX7F.js";import"./bootstrap-DTVsVq0w.js";import"./aria-labelledby-BRToXqsQ.js";import"./item-Bfk2xd-D.js";import"./component-DHl33p9J.js";import"./component-BmJGOcby.js";import"./Heading-0teSdkFq.js";const F=S(),V={required:[..._.required,F],optional:[..._.optional,C,v,b,A,D,K,O,T]},I=q.forBlock("kol-single-select"),L=q.forBlock("kol-custom-suggestions-toggle"),M=I("delete"),P=I("no-results-message"),R=({disabled:o,handleClick:e})=>t(H,{icons:"kolicon-chevron-down",label:"",class:L({disabled:o}),onClick:e}),G=({message:o})=>t("li",{class:P,role:"alert"},o," "),Q=class extends w{constructor(t){super(),o(this,t),this.id=r("single-select"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.isOpen=!1,this.blockSuggestionMouseOver=!1,this.filteredOptions=[],this.inputValue="",this.clearButton=m((()=>this.host)),this.ctaRef=d(),this.translateDeleteSelection=s("kol-delete-selection"),this.translateNoResultsMessage=s("kol-no-results-message"),this._disabled=!1,this._hideMsg=!1,this._hideLabel=!1,this._hint="",this._required=!1,this._tooltipAlign="top",this._touched=!1,this._value=null,this._hasClearButton=!0,this.toggleListbox=t=>{var o;if(null==t||t.preventDefault(),!0!==this.getRenderProp("disabled"))if(null===(o=this.ctaRef.el)||void 0===o||o.focus(),this.isOpen)this.isOpen=!1;else{this.isOpen=!0;const t=Array.isArray(this.filteredOptions)?this.filteredOptions.findIndex((t=>t.label===this.inputValue)):-1;this.focusOption(t>=0?t:-1)}},this.handleSingleSelectInput=t=>{const o=t.target.value;this.inputValue=o,this.isOpen=!0,this.setFilteredOptionsByQuery(o),this.focusedIndex=-1},this.handleSingleSelectChange=t=>{this.isOpen||this.handleChange(t,this._value)},this.handleSingleSelectClick=t=>{var o;this.toggleListbox(t),null===(o=this.ctaRef.el)||void 0===o||o.focus(),this.handleClick(t)},this.handleInputBlur=t=>{this.handleFocusLeave(t)},this.handleDropdownKeyDown=t=>{1===t.key.length&&/[a-z0-9]/i.test(t.key)&&(t.preventDefault(),this.isOpen=!0,this.focusOptionStartingWith(t.key))},this.handleClearButtonClick=()=>{var t;this.clearSelection(),null===(t=this.ctaRef.el)||void 0===t||t.focus(),this.clearButtonFocused=!1},this.initFormAssociation("single-select",this._name)}watchAccessKey(t){C.apply(t,(t=>this.setRenderProp("accessKey",t))),l(t,this._shortKey)}watchAriaDetails(t){this.applyAriaDetails(t)}watchPlaceholder(t){A.apply(t,(t=>this.setRenderProp("placeholder",t)))}watchDisabled(t){this.applyDisabled(t)}watchHideMsg(t){this.applyHideMsg(t)}watchHideLabel(t){this.applyHideLabel(t)}watchHint(t){this.applyHint(t)}watchIcons(t){b.apply(t,(t=>this.setRenderProp("icons",t)))}watchInfoPopover(t){this.applyInfoPopover(t)}watchLabel(t){this.applyLabel(t)}watchMsg(t){this.applyMsg(t)}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchOptions(t){var o;this.applyOptions(t),this.filteredOptions=[...null!==(o=this.getRenderProp("options"))&&void 0!==o?o:[]],this.isOpen?this.setFilteredOptionsByQuery(this.inputValue):this.updateInputValue(this._value)}watchRequired(t){D.apply(t,(t=>this.setRenderProp("required",t)))}watchShortKey(t){O.apply(t,(t=>this.setRenderProp("shortKey",t))),l(this._accessKey,t)}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchTouched(t){this.applyTouched(t)}watchValue(t){this.updateInputValue(t)}watchHasClearButton(t){v.apply(t,(t=>this.setRenderProp("hasClearButton",t)))}watchRows(t){K.apply(t,(t=>this.setRenderProp("rows",t)))}watchVariant(t){T.apply(t,(t=>this.setRenderProp("variant",t)))}async getValue(){return this._value}async focus(t){}componentWillLoad(){this.initRenderProps(V),this.optionRefs=[],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.watchIcons(this._icons),this.applyOptions(this._options),this.watchRequired(this._required),this.watchPlaceholder(this._placeholder),this.watchHasClearButton(this._hasClearButton),this.watchRows(this._rows),this.filteredOptions=this.getRenderProp("options"),this.updateInputValue(this._value)}componentDidRender(){this.syncFormField(),this.clearButton.syncListeners()}disconnectedCallback(){this.clearButton.destroy(),this.destroyFormField()}handleHostKeyDown(t){this.handleListboxKeyDown(t)}handleMouseEvent(){this.handleListboxMouseMove()}handleFocusIn(t){setTimeout((()=>{var o;(null===(o=this.host)||void 0===o?void 0:o.contains(document.activeElement))&&!this.inputHasFocus&&this.handleFocus(t)}))}handleFocusOut(t){this.selectOptionByInputValue(),setTimeout((()=>{var o;this.inputHasFocus&&!(null===(o=this.host)||void 0===o?void 0:o.contains(document.activeElement))&&(this.handleBlur(t),this.isOpen=!1)}))}getOptionCount(){return Array.isArray(this.filteredOptions)?this.filteredOptions.length:0}moveFocus(t,o=1){this.filteredOptions&&this.moveFocusSkippingDisabled(t,o,(t=>Boolean(this.filteredOptions[t].disabled)))}focusFirstOption(){this.moveFocus(-1*this.focusedIndex)}focusLastOption(){this.moveFocus(this.filteredOptions?this.filteredOptions.length-1-this.focusedIndex:0,-1)}handleConfirmKey(t){var o;this.clearButtonFocused?(this.clearSelection(),t.preventDefault()):this.isOpen?this.selectFocusedOption()&&(null===(o=this.ctaRef.el)||void 0===o||o.focus(),this.handleListboxEvent(t,!1)):this.toggleListbox(t)}selectFocusedOption(){if(Array.isArray(this.filteredOptions)&&this.filteredOptions.length>0&&this.focusedIndex>=0){const t=this.filteredOptions[this.focusedIndex];return!(null==t?void 0:t.disabled)&&(this.selectOption(t),!0)}return!1}focusOptionStartingWith(t){const o=t.toLowerCase(),e=Array.isArray(this.filteredOptions)&&this.filteredOptions.findIndex((t=>t.label.toLowerCase().startsWith(o)&&!t.disabled));"number"==typeof e&&e>=0&&this.focusOption(e)}setFilteredOptionsByQuery(t){if(void 0===t)return;const o=this.getRenderProp("options");""===t.trim()?this.filteredOptions=[...o]:Array.isArray(o)&&o.length>0&&t.length>0&&(this.filteredOptions=o.filter((o=>{var e,i;return null===(i=null===(e=o.label)||void 0===e?void 0:e.toLowerCase())||void 0===i?void 0:i.includes(t.toLowerCase())})))}updateInputValue(t){var o;const e=null===(o=this.getRenderProp("options"))||void 0===o?void 0:o.find((o=>o.value===t));this.inputValue=e?String(e.label):""}selectOption(t){var o;if(t.value===this._value)return this.inputValue=t.label,void(this.filteredOptions=[...this.getRenderProp("options")]);this._value=t.value,this.inputValue=t.label;const e={name:null!==(o=this.getRenderProp("name"))&&void 0!==o?o:"",value:t.value};this.handleInput(p(u.input,e,this.ctaRef.el),t.value),this.handleChange(p(u.change,e,this.ctaRef.el),t.value),this.filteredOptions=[...this.getRenderProp("options")],this.formAssociation.setFormAssociatedValue(this._value)}clearSelection(){var t;if(!0===this.getRenderProp("disabled"))return;const o=null;this.focusedIndex=-1,this._value=o,this.inputValue="",this.filteredOptions=[...this.getRenderProp("options")];const e={name:this.getRenderProp("name"),value:o};this.handleInput(p(u.input,e,this.ctaRef.el),o),this.handleChange(p(u.change,e,this.ctaRef.el),o),null===(t=this.ctaRef.el)||void 0===t||t.focus(),this.isOpen=!0}selectOptionByInputValue(){const t=this.getRenderProp("options"),o=null==t?void 0:t.find((t=>{var o,e;return(null===(o=t.label)||void 0===o?void 0:o.toLowerCase())===(null===(e=this.inputValue)||void 0===e?void 0:e.toLowerCase())}));o?this.selectOption(o):null!=this._value&&(this.filteredOptions=[...null!=t?t:[]])}getInputProps(){const{ariaDescribedBy:t,hasError:o}=this.getAria(),e=this.id,i=!0===this.getRenderProp("disabled"),n=this.getRenderProp("accessKey")||void 0,s=this.getRenderProp("placeholder"),l=this.getRenderProp("shortKey")||void 0,a=this.getRenderProp("hideLabel"),r=this.getRenderProp("label");return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:e,hideLabel:a,label:r,disabled:i,name:this.getRenderProp("name")||void 0},n?{accessKey:n}:{}),{value:this.inputValue,required:this.getRenderProp("required")}),s?{placeholder:s}:{}),{touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")}),l?{"aria-keyshortcuts":l}:{}),{"aria-activedescendant":this.getActiveDescendant(),"aria-autocomplete":"both","aria-controls":c(e,"listbox"),"aria-describedby":t.length>0?t.join(" "):void 0,"aria-expanded":this.isOpen?"true":"false","aria-label":a&&"string"==typeof r?r:void 0,"aria-labelledby":c(e,"label"),autocapitalize:"off",autocorrect:"off",autocomplete:"off",class:"kol-single-select__input",ref:this.ctaRef,role:"combobox",type:"text",onBlur:this.handleInputBlur,onChange:this.handleSingleSelectChange,onClick:this.handleSingleSelectClick,onFocus:this.handleFocus,onInput:this.handleSingleSelectInput,onKeyDown:this.handleKeyDown,ariaDescribedBy:t,"aria-invalid":o?"true":void 0})}renderOptions(){return Array.isArray(this.filteredOptions)&&0!==this.filteredOptions.length?this.filteredOptions.map(((o,e)=>t(x,{id:this.getOptionId(e),index:e,option:o.label,searchTerm:this.inputValue,ref:t=>{t&&(this.optionRefs[e]=t)},selected:this._value===o.value,disabled:!!o.disabled,onClick:t=>{var e;o.disabled||(t.preventDefault(),this.selectOption(o),this.isOpen=!1,null===(e=this.ctaRef.el)||void 0===e||e.focus())},onMouseOver:()=>{this.blockSuggestionMouseOver||o.disabled||this.focusOption(e)},onFocus:()=>{o.disabled||this.focusOption(e)}}))):t(G,{message:this.translateNoResultsMessage})}applyOptions(t){F.apply(t,(t=>this.setRenderProp("options",t)))}render(){var o;const i=!0===this.getRenderProp("disabled"),{startAdornment:n,endAdornment:s}=f({icons:this.getRenderProp("icons")});return t(e,{key:"32a57db325cda58b3cc1783b0f5f0d3c209f6c7e"},t(y,Object.assign({key:"e612815f78ab0b02b15bb406d469683d6f83be2d"},this.getFormFieldProps({class:a("kol-single-select",{"kol-single-select--open":this.isOpen}),accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,required:this.getRenderProp("required"),variant:this.getRenderProp("variant")})),t(g,{key:"9bd97b4995be944357ac8f9818c8d0668e130f59",disabled:i,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:n,endAdornment:s},t(j,{key:"e32515b99784b40da14dfd7ac26d27810de76790",block:"kol-single-select"},t(B,Object.assign({key:"fe5134424a063777d2886b13434b1a03944a6a59"},this.getInputProps())),this.inputValue&&this.getRenderProp("hasClearButton")&&t(k,Object.assign({key:"5020b0cab60355acca94ad17a0367b603bc0e2af"},this.clearButton.getFcProps({_icons:"kolicon-cross",_label:this.translateDeleteSelection,_hideLabel:!0,_variant:"ghost",_disabled:i,_on:{onClick:this.handleClearButtonClick,onFocus:this.handleClearButtonFocus,onBlur:this.handleClearButtonBlur}},{class:M,"data-testid":"single-select-delete",hidden:i}))),t(R,{key:"a35e3822e41cf6fd99c41679728c8126058d9ac3",disabled:i,handleClick:this.toggleListbox})),t(z,{key:"28da6b95881fe0ed42eebd2d912d86af6502e833",blockSuggestionMouseOver:this.blockSuggestionMouseOver,onKeyDown:this.handleDropdownKeyDown,style:{"--visible-options":`${null!==(o=this.getRenderProp("rows"))&&void 0!==o?o:5}`},hidden:!this.isOpen||i,id:c(this.id,"listbox")},this.renderOptions()))))}get host(){return i(this)}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_placeholder:[{watchPlaceholder: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}],_name:[{watchName:0}],_on:[{watchOn:0}],_options:[{watchOptions:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_hasClearButton:[{watchHasClearButton:0}],_rows:[{watchRows:0}],_variant:[{watchVariant:0}]}}};n([h("ctaRef")],Q.prototype,"focus",null),Q.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } .kol-span .kol-span__label--hide-label .kol-span__label { display: none; } 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=1793002577585"); src: url("kolicons.eot?t=1793002577585#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1793002577585") format("woff2"), url("kolicons.woff?t=1793002577585") format("woff"), url("kolicons.ttf?t=1793002577585") format("truetype"), url("kolicons.svg?t=1793002577585#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: ""; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-custom-suggestions-option { line-height: 1.5; white-space: normal; overflow-wrap: break-word; } .kol-custom-suggestions-option:not(.kol-custom-suggestions-option--disabled) { cursor: pointer; } .kol-custom-suggestions-options-group--cursor-hidden .kol-custom-suggestions-option { cursor: none !important; } .kol-custom-suggestions-option--disabled, .kol-custom-suggestions-option--disabled * { cursor: not-allowed; } .kol-custom-suggestions-options-group { background-color: white; display: block; position: absolute; z-index: 2; max-height: calc(250 * 1rem / var(--kolibri-root-font-size, 16)); margin: 0; padding: 0; overflow-x: hidden; overflow-y: auto; list-style-type: none; } .kol-input-container:has(.kol-custom-suggestions-options-group--open) { z-index: 10; } .kol-custom-suggestions-toggle { display: flex; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; cursor: default; } .kol-custom-suggestions-toggle.kol-custom-suggestions-toggle--disabled { cursor: not-allowed; } .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 .kol-form-field .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-single-select { } .kol-single-select__group .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-single-select__group :host { display: inline-block; } .kol-single-select__group .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-single-select__group .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-single-select__group .kol-button__interactive-element::before { content: ""; } .kol-single-select__group .kol-button__text { flex: 1 0 100%; } .kol-single-select__group .kol-button { } .kol-single-select__group .kol-button__tooltip { height: 0; } .kol-single-select__group .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-single-select__group .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-single-select__no-results-message { display: flex; min-height: calc(50 * 1rem / var(--kolibri-root-font-size, 16)); align-items: center; justify-content: center; cursor: default; } .kol-single-select .kol-custom-suggestions-options-group { max-height: calc(40 * 1rem / var(--kolibri-root-font-size, 16) * var(--visible-options, 5) + 2 * 1rem / var(--kolibri-root-font-size, 16)) !important; } .kol-single-select--open .kol-custom-suggestions-toggle { transform: rotate(180deg); } .kol-custom-suggestions-toggle:not(.kol-custom-suggestions-toggle--disabled) { cursor: pointer; } }'};export{Q as kol_single_select}
|
|
4
|
+
import{h as t,r as o,H as e,g as i}from"./index-DqqSYO-1.js";import{_ as s}from"./tslib.es6-QNbPBOk5.js";import{t as n}from"./i18n-DRQl0u--.js";import{v as l}from"./access-and-short-key-ijzCZfHm.js";import{c as a}from"./clsx-COFh-Vc8.js";import{c as r,a as c}from"./dev.utils-Cl2Ehgvu.js";import{c as h}from"./element-focus-BIRmGg5W.js";import{d,c as p}from"./element-interaction-sGYdEpmv.js";import{c as u,K as k}from"./events-BIT-JUP2.js";import{B as m}from"./component-BQBWV-Dj.js";import{c as b}from"./item-CYZtLav7.js";import{h as f,g,I as _}from"./input-container-DrzJi_0x.js";import{f as v,F as y}from"./api-qNAcP_o2.js";import{h as w,B as x,C as j,L as B,a as z}from"./group-D3knBA42.js";import{I as O}from"./input-BBxRsjm-.js";import"./common-D03JQJgy.js";import{a as C,d as D,v as T}from"./variant-DL7TMWWF.js";import"./base-web-component-B0QkUucC.js";import{p as A}from"./placeholder-C1LF_luk.js";import{r as I}from"./required-CySt8O-6.js";import{r as K}from"./rows-D2i8Qw0_.js";import{c as q}from"./options-DK9U0D2y.js";import{b as S}from"./bem-registry-BlJAUViA.js";import{I as F}from"./component-u7CHIDOX.js";import"./i18n-Dl6Jjofb.js";import"./label-CJRIAbnc.js";import"./component-TFkvNo8L.js";import"./component-PLZiII08.js";import"./component-B_u7M1gI.js";import"./block-bem-DXqmf3Te.js";import"./controller-DL8n64W5.js";import"./component-names-CrfBV37S.js";import"./behavior-DJY-AtON.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./align-CR9s255S.js";import"./label-lang-segment-c3GyH-Op.js";import"./label-hints-CGyBuIY6.js";import"./resolve-props-bPGYbQje.js";import"./api-DxF6-oIO.js";import"./disabled-DU4BpeNO.js";import"./label-with-expert-slot-89Cj-cq-.js";import"./validators-C9J6nOXq.js";import"./name-CWVb8Q5W.js";import"./behavior-BqydGn0c.js";import"./bootstrap-ddeYryQr.js";import"./aria-labelledby-CLehu03h.js";import"./item-CJvb0vTK.js";import"./component-BPRJ0qOM.js";import"./component-D1XWWFos.js";import"./Heading-BSa6BQTS.js";const L=q(),V={required:[...v.required,L],optional:[...v.optional,C,w,f,A,I,K,D,T]},H=S.forBlock("kol-single-select"),G=S.forBlock("kol-custom-suggestions-toggle"),P=H("delete"),R=H("no-results-message"),J=({disabled:o,handleClick:e})=>t(F,{icons:"kolicon-chevron-down",label:"",class:G({disabled:o}),onClick:e}),M=({message:o})=>t("li",{class:R,role:"alert"},o," "),Q=class extends x{constructor(t){super(),o(this,t),this.id=r("single-select"),this.infoPopoverOpen=!1,this.inputHasFocus=!1,this.isOpen=!1,this.blockSuggestionMouseOver=!1,this.filteredOptions=[],this.inputValue="",this.clearButton=b((()=>this.host)),this.ctaRef=p(),this.translateDeleteSelection=n("kol-delete-selection"),this.translateNoResultsMessage=n("kol-no-results-message"),this._accessKey=void 0,this._ariaDetails=void 0,this._placeholder=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._name=void 0,this._on=void 0,this._required=!1,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._touched=!1,this._value=null,this._hasClearButton=!0,this._rows=void 0,this._variant=void 0,this.toggleListbox=t=>{var o;if(null==t||t.preventDefault(),!0!==this.getRenderProp("disabled"))if(null===(o=this.ctaRef.el)||void 0===o||o.focus(),this.isOpen)this.isOpen=!1;else{this.isOpen=!0;const t=Array.isArray(this.filteredOptions)?this.filteredOptions.findIndex((t=>t.label===this.inputValue)):-1;this.focusOption(t>=0?t:-1)}},this.handleSingleSelectInput=t=>{const o=t.target.value;this.inputValue=o,this.isOpen=!0,this.setFilteredOptionsByQuery(o),this.focusedIndex=-1},this.handleSingleSelectChange=t=>{this.isOpen||this.handleChange(t,this._value)},this.handleSingleSelectClick=t=>{var o;this.toggleListbox(t),null===(o=this.ctaRef.el)||void 0===o||o.focus(),this.handleClick(t)},this.handleInputBlur=t=>{this.handleFocusLeave(t)},this.handleDropdownKeyDown=t=>{1===t.key.length&&/[a-z0-9]/i.test(t.key)&&(t.preventDefault(),this.isOpen=!0,this.focusOptionStartingWith(t.key))},this.handleClearButtonClick=()=>{var t;this.clearSelection(),null===(t=this.ctaRef.el)||void 0===t||t.focus(),this.clearButtonFocused=!1},this.initFormAssociation("single-select",this._name)}watchAccessKey(t){C.apply(t,(t=>this.setRenderProp("accessKey",t))),l(t,this._shortKey)}watchAriaDetails(t){this.applyAriaDetails(t)}watchPlaceholder(t){A.apply(t,(t=>this.setRenderProp("placeholder",t)))}watchDisabled(t){this.applyDisabled(t)}watchHideMsg(t){this.applyHideMsg(t)}watchHideLabel(t){this.applyHideLabel(t)}watchHint(t){this.applyHint(t)}watchIcons(t){f.apply(t,(t=>this.setRenderProp("icons",t)))}watchInfoPopover(t){this.applyInfoPopover(t)}watchLabel(t){this.applyLabel(t)}watchMsg(t){this.applyMsg(t)}watchName(t){this.applyName(t)}watchOn(t){this.applyOn(t)}watchOptions(t){var o;this.applyOptions(t),this.filteredOptions=[...null!==(o=this.getRenderProp("options"))&&void 0!==o?o:[]],this.isOpen?this.setFilteredOptionsByQuery(this.inputValue):this.updateInputValue(this._value)}watchRequired(t){I.apply(t,(t=>this.setRenderProp("required",t)))}watchShortKey(t){D.apply(t,(t=>this.setRenderProp("shortKey",t))),l(this._accessKey,t)}watchSyncValueBySelector(t){this.applySyncValueBySelector(t)}watchTooltipAlign(t){this.applyTooltipAlign(t)}watchTouched(t){this.applyTouched(t)}watchValue(t){this.updateInputValue(t)}watchHasClearButton(t){w.apply(t,(t=>this.setRenderProp("hasClearButton",t)))}watchRows(t){K.apply(t,(t=>this.setRenderProp("rows",t)))}watchVariant(t){T.apply(t,(t=>this.setRenderProp("variant",t)))}async getValue(){return this._value}async focus(t){}componentWillLoad(){this.initRenderProps(V),this.optionRefs=[],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.watchIcons(this._icons),this.applyOptions(this._options),this.watchRequired(this._required),this.watchPlaceholder(this._placeholder),this.watchHasClearButton(this._hasClearButton),this.watchRows(this._rows),this.filteredOptions=this.getRenderProp("options"),this.updateInputValue(this._value)}componentDidRender(){this.syncFormField(),this.clearButton.syncListeners()}disconnectedCallback(){this.clearButton.destroy(),this.destroyFormField()}handleHostKeyDown(t){this.handleListboxKeyDown(t)}handleMouseEvent(){this.handleListboxMouseMove()}handleFocusIn(t){setTimeout((()=>{h(this.host)&&!this.inputHasFocus&&this.handleFocus(t)}))}handleFocusOut(t){this.selectOptionByInputValue(),setTimeout((()=>{this.inputHasFocus&&!h(this.host)&&(this.handleBlur(t),this.isOpen=!1)}))}getOptionCount(){return Array.isArray(this.filteredOptions)?this.filteredOptions.length:0}moveFocus(t,o=1){this.filteredOptions&&this.moveFocusSkippingDisabled(t,o,(t=>Boolean(this.filteredOptions[t].disabled)))}focusFirstOption(){this.moveFocus(-1*this.focusedIndex)}focusLastOption(){this.moveFocus(this.filteredOptions?this.filteredOptions.length-1-this.focusedIndex:0,-1)}handleConfirmKey(t){var o;this.clearButtonFocused?(this.clearSelection(),t.preventDefault()):this.isOpen?this.selectFocusedOption()&&(null===(o=this.ctaRef.el)||void 0===o||o.focus(),this.handleListboxEvent(t,!1)):this.toggleListbox(t)}selectFocusedOption(){if(Array.isArray(this.filteredOptions)&&this.filteredOptions.length>0&&this.focusedIndex>=0){const t=this.filteredOptions[this.focusedIndex];return!(null==t?void 0:t.disabled)&&(this.selectOption(t),!0)}return!1}focusOptionStartingWith(t){const o=t.toLowerCase(),e=Array.isArray(this.filteredOptions)&&this.filteredOptions.findIndex((t=>t.label.toLowerCase().startsWith(o)&&!t.disabled));"number"==typeof e&&e>=0&&this.focusOption(e)}setFilteredOptionsByQuery(t){if(void 0===t)return;const o=this.getRenderProp("options");""===t.trim()?this.filteredOptions=[...o]:Array.isArray(o)&&o.length>0&&t.length>0&&(this.filteredOptions=o.filter((o=>{var e,i;return null===(i=null===(e=o.label)||void 0===e?void 0:e.toLowerCase())||void 0===i?void 0:i.includes(t.toLowerCase())})))}updateInputValue(t){var o;const e=null===(o=this.getRenderProp("options"))||void 0===o?void 0:o.find((o=>o.value===t));this.inputValue=e?String(e.label):""}selectOption(t){var o;if(t.value===this._value)return this.inputValue=t.label,void(this.filteredOptions=[...this.getRenderProp("options")]);this._value=t.value,this.inputValue=t.label;const e={name:null!==(o=this.getRenderProp("name"))&&void 0!==o?o:"",value:t.value};this.handleInput(u(k.input,e,this.ctaRef.el),t.value),this.handleChange(u(k.change,e,this.ctaRef.el),t.value),this.filteredOptions=[...this.getRenderProp("options")],this.formAssociation.setFormAssociatedValue(this._value)}clearSelection(){var t;if(!0===this.getRenderProp("disabled"))return;const o=null;this.focusedIndex=-1,this._value=o,this.inputValue="",this.filteredOptions=[...this.getRenderProp("options")];const e={name:this.getRenderProp("name"),value:o};this.handleInput(u(k.input,e,this.ctaRef.el),o),this.handleChange(u(k.change,e,this.ctaRef.el),o),null===(t=this.ctaRef.el)||void 0===t||t.focus(),this.isOpen=!0}selectOptionByInputValue(){const t=this.getRenderProp("options"),o=null==t?void 0:t.find((t=>{var o,e;return(null===(o=t.label)||void 0===o?void 0:o.toLowerCase())===(null===(e=this.inputValue)||void 0===e?void 0:e.toLowerCase())}));o?this.selectOption(o):null!=this._value&&(this.filteredOptions=[...null!=t?t:[]])}getInputProps(){const{ariaDescribedBy:t,hasError:o}=this.getAria(),e=this.id,i=!0===this.getRenderProp("disabled"),s=this.getRenderProp("accessKey")||void 0,n=this.getRenderProp("placeholder"),l=this.getRenderProp("shortKey")||void 0,a=this.getRenderProp("hideLabel"),r=this.getRenderProp("label");return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({id:e,hideLabel:a,label:r,disabled:i,name:this.getRenderProp("name")||void 0},s?{accessKey:s}:{}),{value:this.inputValue,required:this.getRenderProp("required")}),n?{placeholder:n}:{}),{touched:this.getRenderProp("touched"),msg:this.getRenderProp("msg")}),l?{"aria-keyshortcuts":l}:{}),{"aria-activedescendant":this.getActiveDescendant(),"aria-autocomplete":"both","aria-controls":c(e,"listbox"),"aria-describedby":t.length>0?t.join(" "):void 0,"aria-expanded":this.isOpen?"true":"false","aria-label":a&&"string"==typeof r?r:void 0,"aria-labelledby":c(e,"label"),autocapitalize:"off",autocorrect:"off",autocomplete:"off",class:"kol-single-select__input",ref:this.ctaRef,role:"combobox",type:"text",onBlur:this.handleInputBlur,onChange:this.handleSingleSelectChange,onClick:this.handleSingleSelectClick,onFocus:this.handleFocus,onInput:this.handleSingleSelectInput,onKeyDown:this.handleKeyDown,ariaDescribedBy:t,"aria-invalid":o?"true":void 0})}renderOptions(){return Array.isArray(this.filteredOptions)&&0!==this.filteredOptions.length?this.filteredOptions.map(((o,e)=>t(j,{id:this.getOptionId(e),index:e,option:o.label,searchTerm:this.inputValue,ref:t=>{t&&(this.optionRefs[e]=t)},selected:this._value===o.value,disabled:!!o.disabled,onClick:t=>{var e;o.disabled||(t.preventDefault(),this.selectOption(o),this.isOpen=!1,null===(e=this.ctaRef.el)||void 0===e||e.focus())},onMouseOver:()=>{this.blockSuggestionMouseOver||o.disabled||this.focusOption(e)},onFocus:()=>{o.disabled||this.focusOption(e)}}))):t(M,{message:this.translateNoResultsMessage})}applyOptions(t){L.apply(t,(t=>this.setRenderProp("options",t)))}render(){var o;const i=!0===this.getRenderProp("disabled"),{startAdornment:s,endAdornment:n}=g({icons:this.getRenderProp("icons")});return t(e,{key:"8b55bd6635679cdcd038576eb21a6e87e29997a4"},t(y,Object.assign({key:"60de21dfa5cd94d5dfcfa44b4ba813ea076bdc39"},this.getFormFieldProps({class:a("kol-single-select",{"kol-single-select--open":this.isOpen}),accessKey:this.getRenderProp("accessKey")||void 0,shortKey:this.getRenderProp("shortKey")||void 0,required:this.getRenderProp("required"),variant:this.getRenderProp("variant")})),t(_,{key:"1660412655b9ced2f217a33fefcc9184de01a9f4",disabled:i,msg:this.getRenderProp("msg"),touched:this.getRenderProp("touched"),startAdornment:s,endAdornment:n},t(B,{key:"3ac3f929ef2f08184178b0648aeabeeb4d38692d",block:"kol-single-select"},t(O,Object.assign({key:"2fb786f7f30417a98988082179940abd9183316c"},this.getInputProps())),this.inputValue&&this.getRenderProp("hasClearButton")&&t(m,Object.assign({key:"44c3a715a2c7facdb180ad87fdcbf839b2ef5559"},this.clearButton.getFcProps({_icons:"kolicon-cross",_label:this.translateDeleteSelection,_hideLabel:!0,_variant:"ghost",_disabled:i,_on:{onClick:this.handleClearButtonClick,onFocus:this.handleClearButtonFocus,onBlur:this.handleClearButtonBlur}},{class:P,"data-testid":"single-select-delete",hidden:i}))),t(J,{key:"769c598d09f573a1ac3eb0e565ef35ea61b028dc",disabled:i,handleClick:this.toggleListbox})),t(z,{key:"2dc1bc6257a25ab9b7b8bfb186df293a22431e7b",blockSuggestionMouseOver:this.blockSuggestionMouseOver,onKeyDown:this.handleDropdownKeyDown,style:{"--visible-options":`${null!==(o=this.getRenderProp("rows"))&&void 0!==o?o:5}`},hidden:!this.isOpen||i,id:c(this.id,"listbox")},this.renderOptions()))))}get host(){return i(this)}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDetails:[{watchAriaDetails:0}],_placeholder:[{watchPlaceholder: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}],_name:[{watchName:0}],_on:[{watchOn:0}],_options:[{watchOptions:0}],_required:[{watchRequired:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_touched:[{watchTouched:0}],_value:[{watchValue:0}],_hasClearButton:[{watchHasClearButton:0}],_rows:[{watchRows:0}],_variant:[{watchVariant:0}]}}};s([d("ctaRef")],Q.prototype,"focus",null),Q.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794027386898"); src: url("kolicons.eot?t=1794027386898#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794027386898") format("woff2"), url("kolicons.woff?t=1794027386898") format("woff"), url("kolicons.ttf?t=1794027386898") format("truetype"), url("kolicons.svg?t=1794027386898#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: ""; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-custom-suggestions-option { line-height: 1.5; white-space: normal; overflow-wrap: break-word; } .kol-custom-suggestions-option:not(.kol-custom-suggestions-option--disabled) { cursor: pointer; } .kol-custom-suggestions-options-group--cursor-hidden .kol-custom-suggestions-option { cursor: none !important; } .kol-custom-suggestions-option--disabled, .kol-custom-suggestions-option--disabled * { cursor: not-allowed; } .kol-custom-suggestions-options-group { background-color: white; display: block; position: absolute; z-index: 2; max-height: calc(250 * 1rem / var(--kolibri-root-font-size, 16)); margin: 0; padding: 0; overflow-x: hidden; overflow-y: auto; list-style-type: none; } .kol-input-container:has(.kol-custom-suggestions-options-group--open) { z-index: 10; } .kol-custom-suggestions-toggle { display: flex; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; justify-content: center; cursor: default; } .kol-custom-suggestions-toggle.kol-custom-suggestions-toggle--disabled { cursor: not-allowed; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-input { background-color: transparent; width: 100%; min-width: var(--a11y-min-size); } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-single-select { } .kol-single-select__group .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-single-select__group :host { display: inline-block; } .kol-single-select__group .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-single-select__group .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-single-select__group .kol-button__interactive-element::before { content: ""; } .kol-single-select__group .kol-button__text { flex: 1 0 100%; } .kol-single-select__group .kol-button { } .kol-single-select__group .kol-button__tooltip { height: 0; } .kol-single-select__group .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-single-select__group .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-single-select__no-results-message { display: flex; min-height: calc(50 * 1rem / var(--kolibri-root-font-size, 16)); align-items: center; justify-content: center; cursor: default; } .kol-single-select .kol-custom-suggestions-options-group { max-height: calc(40 * 1rem / var(--kolibri-root-font-size, 16) * var(--visible-options, 5) + 2 * 1rem / var(--kolibri-root-font-size, 16)) !important; } .kol-single-select--open .kol-custom-suggestions-toggle { transform: rotate(180deg); } .kol-custom-suggestions-toggle:not(.kol-custom-suggestions-toggle--disabled) { cursor: pointer; } }'};export{Q as kol_single_select}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as s,r as t,c as e,H as o}from"./index-
|
|
4
|
+
import{h as s,r as t,c as e,H as o}from"./index-DqqSYO-1.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{B as i}from"./base-web-component-B0QkUucC.js";import{L as a}from"./common-D03JQJgy.js";import{n as r}from"./name-CWVb8Q5W.js";import{b as c}from"./bem-registry-BlJAUViA.js";import{C as l}from"./component-Dfgawulk.js";import{d as h,c as d}from"./element-interaction-sGYdEpmv.js";import"./label-CJRIAbnc.js";import"./element-focus-BIRmGg5W.js";const m={required:[r]},u=c.forBlock("kol-skeleton"),b=u("actions"),f=u("container"),p=u("counter"),v=u("name"),k=t=>{const{count:e,label:o,name:n,show:i,handleClick:a,refButton:r}=t,c=!(!i||!(null==n?void 0:n.trim())),h=u({"has-name":c,"is-hidden":!i});return s("div",{class:h},s("div",{class:f},c&&s("span",{class:v},n),s("div",{class:p},"Count: ",e)),s("div",{class:b},s(l,{label:o,handleClick:a,refButton:r})))},w=class extends i{constructor(s){super(),t(this,s),this.loaded=e(this,"loaded"),this.rendered=e(this,"rendered"),this.count=0,this.label="Label",this.show=!0,this.buttonRef=d(),this.handleClick=()=>{var s;a.debug("Button clicked, count should be increased"),this.setState("count",(null!==(s=this.getState("count"))&&void 0!==s?s:0)+1)}}watchName(s){r.apply(s,(s=>this.setRenderProp("name",s)))}async focus(s){}async toggle(){var s;return this.setState("show",!(null!==(s=this.getState("show"))&&void 0!==s&&s)),Promise.resolve()}componentWillLoad(){this.initRenderProps(m),r.apply(this._name,(s=>this.setRenderProp("name",s))),this.intervalId=setInterval((()=>{var s;this.loaded.emit(null!==(s=this.getState("count"))&&void 0!==s?s:0)}),2e3)}componentDidLoad(){requestAnimationFrame((()=>{this.rendered.emit()}))}disconnectedCallback(){this.intervalId&&(clearInterval(this.intervalId),this.intervalId=void 0)}handleKeyDown(s){"Enter"!==s.key&&" "!==s.key||(a.debug("button pressed"),this.handleClick())}onKeydown(s){"Escape"===s.key&&(console.log("Show should be toggled"),this.toggle())}render(){return s(o,{key:"7de92770da6b8c7dd1b36fc7b635954b393448fa"},s(k,{key:"c6d833ff603d2aec0f57fe1a1dd78f608cbc793d",count:this.count,label:this.label,name:this.getRenderProp("name"),handleClick:this.handleClick,onLoaded:this.loaded,onRendered:this.rendered,show:this.show,refButton:this.buttonRef}))}static get watchers(){return{_name:[{watchName:0}]}}};n([h("buttonRef")],w.prototype,"focus",null);export{w as kol_skeleton}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as o,r as e,H as t,g as i}from"./index-D5UV99lE.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{B as l,d as a}from"./base-web-component-Bcoukts3.js";import{s as r,b as s}from"./common-D03JQJgy.js";import{l as c}from"./label-with-expert-slot-aAOUzLo3.js";import{c as d}from"./links-B0xbzBwU.js";import{b as k}from"./bem-registry-BlJAUViA.js";import{L as p,l as f,a as b,d as m,b as h}from"./api-B9mpTRGa.js";import{v as u}from"./access-and-short-key-ijzCZfHm.js";import{n as g}from"./dev.utils-BgjegQC8.js";import{c as y,d as _}from"./element-interaction-Cy9tx3Sx.js";import{d as v,K as x}from"./events-BIT-JUP2.js";import{a as w,b as j,c as z,h as T,s as B,i as C,d as L,t as D,e as G}from"./variant-PJN56KWi.js";import{d as S}from"./disabled-BaPgTuFO.js";import{h as J}from"./href-OaK1sDT5.js";import{l as O}from"./link-target-C7_smSbV.js";import{T as A}from"./behavior-BlS6DO8T.js";import{r as H,a as I}from"./unique-nav-labels-Bh3w7dCH.js";import"./isArray-CcrBs4JM.js";import"./i18n-DRQl0u--.js";import"./i18n-Dl6Jjofb.js";import"./component-CySyXSru.js";import"./clsx-COFh-Vc8.js";import"./component-DzVHCXnG.js";import"./block-bem-DXqmf3Te.js";import"./component-C9mkZ63L.js";import"./component-Ik_-HAMT.js";import"./component-YhEwg1LK.js";import"./element-focus-Cp994Rrk.js";import"./align-DsFuqEf5.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-BNtqGdMQ.js";const P=d("KolSkipNav"),U={required:[P,c]},V=k.forBlock("kol-skip-nav"),q=V(),F=V("list"),K=V("list-item"),Q=({label:e,linkItems:t})=>o("nav",{class:q,"aria-label":e},o("ul",{class:F},t.map(((e,t)=>o("li",{class:K,key:t},o(p,Object.assign({},e.fcProps))))))),R=class extends l{constructor(o){super(),e(this,o),this.linkItems=[],this.ctaRef=y()}watchLabel(o){this.applyLabel(o)}watchLinks(o){this.applyLinks(o)}async focus(o){}componentWillLoad(){this.initRenderProps(U),this.applyLabel(this._label,!0),this.applyLinks(this._links)}componentDidRender(){var o;this.ctaRef(null===(o=this.linkItems[0])||void 0===o?void 0:o.getAnchor()),this.linkItems.forEach((o=>o.syncTooltipListeners()))}disconnectedCallback(){this.linkItems.forEach((o=>o.destroy())),H(this.getRenderProp("label"))}applyLabel(o,e=!1){e||H(this.getRenderProp("label")),c.apply(o,(o=>this.setRenderProp("label",o))),s(o),I(this.getRenderProp("label"))}applyLinks(o){P.apply(o,(o=>{this.setRenderProp("links",o),this.linkItems.forEach((o=>o.destroy())),this.linkItems=o.map((o=>((o,e)=>{var t;const i=new A(l.stateLess),n=y(),s=a(f);delete s.tabIndex;const d=(o,e)=>o.apply(e,(e=>{s[o.propName]=e}));return d(w,o._accessKey),d(j,o._ariaControls),d(b,o._ariaCurrentValue),d(z,o._ariaDescription),d(S,o._disabled),d(m,o._download),d(T,o._hideLabel),d(J,o._href),d(B,o._icons),d(C,null===(t=o._inline)||void 0===t||t),d(c,o._label),d(h,o._on),d(L,o._shortKey),"number"==typeof o._tabIndex&&d(D,o._tabIndex),d(O,o._target),d(G,o._tooltipAlign),u(o._accessKey,o._shortKey),i.componentWillLoad({label:(()=>{const o=s.label;if("string"==typeof o&&o.length>0)return o;const e=s.href;return"string"==typeof e?e:""})(),align:s.tooltipAlign}),s.ariaCurrent="",s.ariaDescriptionId=g(),s.expertSlot=""===o._label,s.handleAnchorClick=o=>{if(i.hideTooltip(),!0===s.disabled)return void o.preventDefault();const t="string"==typeof s.href?s.href:"",l=s.on;"function"==typeof(null==l?void 0:l.onClick)&&(r(o,n.el),l.onClick(o,t));const a=e();a&&v(a,x.click,t)},s.refAnchor=o=>{n(o)},s.refTooltip=i.setTooltipElementRef,{fcProps:s,getAnchor:()=>n.el,syncTooltipListeners:()=>{n.el&&i.syncListeners(void 0,n.el,!0)},destroy:()=>{i.destroy()}}})(o,(()=>this.host))))}))}render(){return o(t,{key:"edca08fd68a2736ec76be4642df165e683f7dd8b"},o(Q,{key:"1b579f96ee49f94f5d005854808ddeae1b6f57c8",label:this.getRenderProp("label"),links:this.getRenderProp("links"),linkItems:this.linkItems}))}get host(){return i(this)}static get watchers(){return{_label:[{watchLabel:0}],_links:[{watchLinks:0}]}}};n([_("ctaRef")],R.prototype,"focus",null),R.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } .kol-span .kol-span__label--hide-label .kol-span__label { display: none; } 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=1793002577585"); src: url("kolicons.eot?t=1793002577585#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1793002577585") format("woff2"), url("kolicons.woff?t=1793002577585") format("woff"), url("kolicons.ttf?t=1793002577585") format("truetype"), url("kolicons.svg?t=1793002577585#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-link { display: inline-flex; max-width: fit-content; } .kol-link--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-link--standalone .kol-link__interactive-element { align-items: stretch; } .kol-link--standalone .kol-link__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-link__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-link__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-link__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-link .kol-span__label { text-decoration-line: underline; } .kol-link__icon { display: inline-flex; } .kol-skip-nav__list { display: grid; place-items: center; list-style: none; } .kol-skip-nav__list-item { height: 0; } .kol-skip-nav .kol-link { position: absolute; left: calc(-99999 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 9999999; line-height: 1; } .kol-skip-nav .kol-link:focus-within { position: unset; left: unset; } .kol-skip-nav .kol-link__interactive-element:focus { background-color: white; } }'};export{R as kol_skip_nav}
|
|
4
|
+
import{h as o,r as e,H as t,g as i}from"./index-DqqSYO-1.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{B as l,d as a}from"./base-web-component-B0QkUucC.js";import{s as r,b as s}from"./common-D03JQJgy.js";import{l as c}from"./label-CPjIrpB0.js";import{c as d}from"./links-C0RerkBI.js";import{b as k}from"./bem-registry-BlJAUViA.js";import{L as b,l as f,a as m,d as p,b as h}from"./api-BNtfQTYQ.js";import{v as u}from"./access-and-short-key-ijzCZfHm.js";import{n as g}from"./dev.utils-Cl2Ehgvu.js";import{c as y,d as _}from"./element-interaction-sGYdEpmv.js";import{d as v,K as x}from"./events-BIT-JUP2.js";import{a as w,b as j,c as z,h as T,s as B,i as C,d as I,t as D,e as L}from"./variant-DL7TMWWF.js";import{d as G}from"./disabled-DU4BpeNO.js";import{h as O}from"./href-DzETOAed.js";import{l as J}from"./label-with-expert-slot-89Cj-cq-.js";import{l as q}from"./link-target-aw_DcyX2.js";import{T as R}from"./behavior-DJY-AtON.js";import{r as A,a as F}from"./unique-nav-labels-B5lSg8F6.js";import"./label-CJRIAbnc.js";import"./validators-C9J6nOXq.js";import"./label-hints-CGyBuIY6.js";import"./i18n-DRQl0u--.js";import"./i18n-Dl6Jjofb.js";import"./component-TFkvNo8L.js";import"./component-PLZiII08.js";import"./clsx-COFh-Vc8.js";import"./component-u7CHIDOX.js";import"./component-B_u7M1gI.js";import"./block-bem-DXqmf3Te.js";import"./element-focus-BIRmGg5W.js";import"./align-CR9s255S.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-c3GyH-Op.js";const N=d("KolSkipNav"),P={required:[N,c]},Q=k.forBlock("kol-skip-nav"),S=Q(),H=Q("list"),U=Q("list-item"),Y=({label:e,linkItems:t})=>o("nav",{class:S,"aria-label":e},o("ul",{class:H},t.map(((e,t)=>o("li",{class:U,key:t},o(b,Object.assign({},e.fcProps))))))),W=class extends l{constructor(o){super(),e(this,o),this.linkItems=[],this.ctaRef=y()}watchLabel(o){this.applyLabel(o)}watchLinks(o){this.applyLinks(o)}async focus(o){}componentWillLoad(){this.initRenderProps(P),this.applyLabel(this._label,!0),this.applyLinks(this._links)}componentDidRender(){var o;this.ctaRef(null===(o=this.linkItems[0])||void 0===o?void 0:o.getAnchor()),this.linkItems.forEach((o=>o.syncTooltipListeners()))}disconnectedCallback(){this.linkItems.forEach((o=>o.destroy())),A(this.getRenderProp("label"))}applyLabel(o,e=!1){e||A(this.getRenderProp("label")),c.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label")),s(o),F(this.getRenderProp("label"))}applyLinks(o){N.apply(o,(o=>{this.setRenderProp("links",o),this.linkItems.forEach((o=>o.destroy())),this.linkItems=o.map((o=>((o,e)=>{var t;const i=new R(l.stateLess),n=y(),s=a(f);delete s.tabIndex;const c=(o,e)=>o.apply(e,(e=>{s[o.propName]=e}));return c(w,o._accessKey),c(j,o._ariaControls),c(m,o._ariaCurrentValue),c(z,o._ariaDescription),c(G,o._disabled),c(p,o._download),c(T,o._hideLabel),c(O,o._href),c(B,o._icons),c(C,null===(t=o._inline)||void 0===t||t),c(J,o._label),c(h,o._on),c(I,o._shortKey),"number"==typeof o._tabIndex&&c(D,o._tabIndex),c(q,o._target),c(L,o._tooltipAlign),u(o._accessKey,o._shortKey),i.componentWillLoad({label:(()=>{const o=s.label;if("string"==typeof o&&o.length>0)return o;const e=s.href;return"string"==typeof e?e:""})(),align:s.tooltipAlign}),s.ariaCurrent="",s.ariaDescriptionId=g(),s.expertSlot=""===o._label,s.handleAnchorClick=o=>{if(i.hideTooltip(),!0===s.disabled)return void o.preventDefault();const t="string"==typeof s.href?s.href:"",l=s.on;"function"==typeof(null==l?void 0:l.onClick)&&(r(o,n.el),l.onClick(o,t));const a=e();a&&v(a,x.click,t)},s.refAnchor=o=>{n(o)},s.refTooltip=i.setTooltipElementRef,{fcProps:s,getAnchor:()=>n.el,syncTooltipListeners:()=>{n.el&&i.syncListeners(void 0,n.el,!0)},destroy:()=>{i.destroy()}}})(o,(()=>this.host))))}))}render(){return o(t,{key:"d8384fe3c55f95c202ed1a7bef1bbafe8841b0e8"},o(Y,{key:"df0bb199ba8768107223840532e56adddec1fd7f",label:this.getRenderProp("label"),links:this.getRenderProp("links"),linkItems:this.linkItems}))}get host(){return i(this)}static get watchers(){return{_label:[{watchLabel:0}],_links:[{watchLinks:0}]}}};n([_("ctaRef")],W.prototype,"focus",null),W.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794027386898"); src: url("kolicons.eot?t=1794027386898#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794027386898") format("woff2"), url("kolicons.woff?t=1794027386898") format("woff"), url("kolicons.ttf?t=1794027386898") format("truetype"), url("kolicons.svg?t=1794027386898#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-link { display: inline-flex; max-width: fit-content; } .kol-link--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-link--standalone .kol-link__interactive-element { align-items: stretch; } .kol-link--standalone .kol-link__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-link__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-link__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-link__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-link .kol-span__label { text-decoration-line: underline; } .kol-link__icon { display: inline-flex; } .kol-skip-nav__list { display: grid; place-items: center; list-style: none; } .kol-skip-nav__list-item { height: 0; } .kol-skip-nav .kol-link { position: absolute; left: calc(-99999 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 9999999; line-height: 1; } .kol-skip-nav .kol-link:focus-within { position: unset; left: unset; } .kol-skip-nav .kol-link__interactive-element:focus { background-color: white; } }'};export{W as kol_skip_nav}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{r as o,h as i,H as e}from"./index-D5UV99lE.js";import{c as r,n as t,b as a,B as n}from"./base-web-component-Bcoukts3.js";import"./common-D03JQJgy.js";import{l}from"./label-BNtqGdMQ.js";import{S as s}from"./component-DqHI-AwD.js";import"./isArray-CcrBs4JM.js";import"./i18n-DRQl0u--.js";import"./i18n-Dl6Jjofb.js";import"./bem-registry-BlJAUViA.js";import"./component-DzVHCXnG.js";import"./tslib.es6-QNbPBOk5.js";import"./clsx-COFh-Vc8.js";import"./block-bem-DXqmf3Te.js";const c=r("show",!1,t),d=["dot","cycle","none"],p=r("variant","dot",(o=>{const i=a(o);if(d.includes(i))return i;throw new Error(`Invalid spin variant: ${i}`)}),(()=>!0)),k={optional:[l,c,p]},b=class extends n{constructor(i){super(),o(this,i)}watchShow(o){c.apply(o,(o=>this.setRenderProp("show",o)))}watchLabel(o){l.apply(o,(o=>this.setRenderProp("label",o)))}watchVariant(o){p.apply(o,(o=>this.setRenderProp("variant",o)))}componentWillLoad(){this.initRenderProps(k),c.apply(this._show,(o=>this.setRenderProp("show",o))),l.apply(this._label,(o=>this.setRenderProp("label",o))),p.apply(this._variant,(o=>this.setRenderProp("variant",o)))}render(){return i(e,{key:"17aecf42adea16a4d4b10cb595aa0034602b00e9"},i(s,{key:"fedc3a53b34383f04b5c12d6658655d2d6de4755",show:this.getRenderProp("show"),label:this.getRenderProp("label"),variant:this.getRenderProp("variant")}))}static get watchers(){return{_show:[{watchShow:0}],_label:[{watchLabel:0}],_variant:[{watchVariant:0}]}}};b.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } .kol-span .kol-span__label--hide-label .kol-span__label { display: none; } 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 { @keyframes rotate { to { transform: rotate(1turn); } } @keyframes growingCircle { 0% { opacity: 0.5; border-color: white; clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0); } 25% { opacity: 0.75; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, #000)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0); } 50% { opacity: 1; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, black)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%); } 75% { opacity: 1; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, black)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%); } 100% { opacity: 0.1; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, black)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0); } } .kol-spin__spinner--cycle { width: calc(var(--kol-spin-size, 48) * 1rem / var(--kolibri-root-font-size, 16)); height: calc(var(--kol-spin-size, 48) * 1rem / var(--kolibri-root-font-size, 16)); } .kol-spin__spinner--cycle .kol-spin__loader { border-radius: 50%; display: block; position: relative; width: 100%; height: 100%; animation: 2s linear infinite rotate; } @media (prefers-reduced-motion) { .kol-spin__spinner--cycle .kol-spin__loader { animation-duration: 4s !important; } } .kol-spin__spinner--cycle .kol-spin__loader::before { border-radius: 50%; position: absolute; inset: 0; content: ""; animation: 3s linear infinite growingCircle; border: 5px solid var(--kol-spin-color, var(--kol-theme-spin-color, #333)); } @media (prefers-reduced-motion) { .kol-spin__spinner--cycle .kol-spin__loader::before { animation-duration: 6s !important; } } } @layer kol-component { @keyframes spin1 { 0% { transform: scale(0); } 100% { transform: scale(1); } } @keyframes spin2 { 0% { transform: translate(0, 0); } 100% { transform: translate(calc(var(--kol-spin-size, 13) * 1rem / var(--kolibri-root-font-size, 16)), 0); } } @keyframes spin3 { 0% { transform: scale(1); } 100% { transform: scale(0); } } @media (prefers-reduced-motion) { .kol-spin__spinner-element { animation-duration: 2s !important; } } .kol-spin__spinner--dot { --kol-spin-border-width: calc(var(--kol-spin-size, 13) / 10); width: calc(calc(var(--kol-spin-size, 13) * 3 + 2) * 1rem / var(--kolibri-root-font-size, 16)); height: calc(calc(var(--kol-spin-size, 13) + var(--kol-spin-border-width) * 2) * 1rem / var(--kolibri-root-font-size, 16)); } .kol-spin__spinner--dot .kol-spin__spinner-element { background-color: var(--kol-spin-color, var(--kol-theme-spin-color, #000)); border-radius: 50%; position: absolute; top: 1px; width: calc(var(--kol-spin-size, 13) * 1rem / var(--kolibri-root-font-size, 16)); height: calc(var(--kol-spin-size, 13) * 1rem / var(--kolibri-root-font-size, 16)); animation-timing-function: cubic-bezier(0, 1, 1, 0); border: calc(var(--kol-spin-border-width) * 1rem / var(--kolibri-root-font-size, 16)) solid white; } .kol-spin__spinner--dot .kol-spin__spinner-element--1 { left: calc(var(--kol-spin-border-width) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 0; animation: 1s infinite spin1; } .kol-spin__spinner--dot .kol-spin__spinner-element--2 { left: calc(var(--kol-spin-border-width) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; animation: 1s infinite spin2; } .kol-spin__spinner--dot .kol-spin__spinner-element--3 { left: calc(calc(var(--kol-spin-size, 13) + var(--kol-spin-border-width)) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; animation: 1s infinite spin2; } .kol-spin__spinner--dot .kol-spin__spinner-element--neutral { opacity: 0.6; left: calc(calc(var(--kol-spin-size, 13) * 2 + var(--kol-spin-border-width)) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 0; animation: 1s infinite spin3; } } @layer kol-component { .kol-spin { display: contents; } .kol-spin__spinner { display: block; position: relative; } }'};export{b as kol_spin}
|
|
4
|
+
import{r as o,h as i,H as e}from"./index-DqqSYO-1.js";import{c as r,n as t,b as n,B as a}from"./base-web-component-B0QkUucC.js";import"./common-D03JQJgy.js";import{l}from"./label-CPjIrpB0.js";import{S as s}from"./component-k7qmCOq7.js";import"./label-CJRIAbnc.js";import"./validators-C9J6nOXq.js";import"./label-hints-CGyBuIY6.js";import"./i18n-DRQl0u--.js";import"./i18n-Dl6Jjofb.js";import"./bem-registry-BlJAUViA.js";import"./component-B_u7M1gI.js";import"./tslib.es6-QNbPBOk5.js";import"./clsx-COFh-Vc8.js";import"./block-bem-DXqmf3Te.js";const c=r("show",!1,t),d=["dot","cycle","none"],p=r("variant","dot",(o=>{const i=n(o);if(d.includes(i))return i;throw new Error(`Invalid spin variant: ${i}`)}),(()=>!0)),k={optional:[l,c,p]},b=class extends a{constructor(i){super(),o(this,i),this._show=void 0,this._label=void 0,this._variant=void 0}watchShow(o){c.apply(o,(o=>this.setRenderProp("show",o)))}watchLabel(o){l.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}watchVariant(o){p.apply(o,(o=>this.setRenderProp("variant",o)))}componentWillLoad(){this.initRenderProps(k),c.apply(this._show,(o=>this.setRenderProp("show",o))),l.apply(this._label,(o=>this.setRenderProp("label",o)),this.isRequired("label")),p.apply(this._variant,(o=>this.setRenderProp("variant",o)))}render(){return i(e,{key:"b9c8e56d0cbc4bb50641d8cf46f3d307c6543acd"},i(s,{key:"ab2d07b91c66ca96a64190c96534009d96f4b3d1",show:this.getRenderProp("show"),label:this.getRenderProp("label"),variant:this.getRenderProp("variant")}))}static get watchers(){return{_show:[{watchShow:0}],_label:[{watchLabel:0}],_variant:[{watchVariant:0}]}}};b.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { @keyframes rotate { to { transform: rotate(1turn); } } @keyframes growingCircle { 0% { opacity: 0.5; border-color: white; clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0); } 25% { opacity: 0.75; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, #000)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0); } 50% { opacity: 1; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, black)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%); } 75% { opacity: 1; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, black)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%); } 100% { opacity: 0.1; border-color: var(--kol-spin-color, var(--kol-theme-spin-color, black)); clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0); } } .kol-spin__spinner--cycle { width: calc(var(--kol-spin-size, 48) * 1rem / var(--kolibri-root-font-size, 16)); height: calc(var(--kol-spin-size, 48) * 1rem / var(--kolibri-root-font-size, 16)); } .kol-spin__spinner--cycle .kol-spin__loader { border-radius: 50%; display: block; position: relative; width: 100%; height: 100%; animation: 2s linear infinite rotate; } @media (prefers-reduced-motion) { .kol-spin__spinner--cycle .kol-spin__loader { animation-duration: 4s !important; } } .kol-spin__spinner--cycle .kol-spin__loader::before { border-radius: 50%; position: absolute; inset: 0; content: ""; animation: 3s linear infinite growingCircle; border: 5px solid var(--kol-spin-color, var(--kol-theme-spin-color, #333)); } @media (prefers-reduced-motion) { .kol-spin__spinner--cycle .kol-spin__loader::before { animation-duration: 6s !important; } } } @layer kol-component { @keyframes spin1 { 0% { transform: scale(0); } 100% { transform: scale(1); } } @keyframes spin2 { 0% { transform: translate(0, 0); } 100% { transform: translate(calc(var(--kol-spin-size, 13) * 1rem / var(--kolibri-root-font-size, 16)), 0); } } @keyframes spin3 { 0% { transform: scale(1); } 100% { transform: scale(0); } } @media (prefers-reduced-motion) { .kol-spin__spinner-element { animation-duration: 2s !important; } } .kol-spin__spinner--dot { --kol-spin-border-width: calc(var(--kol-spin-size, 13) / 10); width: calc(calc(var(--kol-spin-size, 13) * 3 + 2) * 1rem / var(--kolibri-root-font-size, 16)); height: calc(calc(var(--kol-spin-size, 13) + var(--kol-spin-border-width) * 2) * 1rem / var(--kolibri-root-font-size, 16)); } .kol-spin__spinner--dot .kol-spin__spinner-element { background-color: var(--kol-spin-color, var(--kol-theme-spin-color, #000)); border-radius: 50%; position: absolute; top: 1px; width: calc(var(--kol-spin-size, 13) * 1rem / var(--kolibri-root-font-size, 16)); height: calc(var(--kol-spin-size, 13) * 1rem / var(--kolibri-root-font-size, 16)); animation-timing-function: cubic-bezier(0, 1, 1, 0); border: calc(var(--kol-spin-border-width) * 1rem / var(--kolibri-root-font-size, 16)) solid white; } .kol-spin__spinner--dot .kol-spin__spinner-element--1 { left: calc(var(--kol-spin-border-width) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 0; animation: 1s infinite spin1; } .kol-spin__spinner--dot .kol-spin__spinner-element--2 { left: calc(var(--kol-spin-border-width) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; animation: 1s infinite spin2; } .kol-spin__spinner--dot .kol-spin__spinner-element--3 { left: calc(calc(var(--kol-spin-size, 13) + var(--kol-spin-border-width)) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; animation: 1s infinite spin2; } .kol-spin__spinner--dot .kol-spin__spinner-element--neutral { opacity: 0.6; left: calc(calc(var(--kol-spin-size, 13) * 2 + var(--kol-spin-border-width)) * 1rem / var(--kolibri-root-font-size, 16)); z-index: 0; animation: 1s infinite spin3; } } @layer kol-component { .kol-spin { display: contents; } .kol-spin__spinner { display: block; position: relative; } }'};export{b as kol_spin}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as o,r as t,g as e}from"./index-D5UV99lE.js";import{_ as i}from"./tslib.es6-QNbPBOk5.js";import{c as n}from"./item-Bfk2xd-D.js";import{b as a}from"./bem-registry-BlJAUViA.js";import{c as l}from"./clsx-COFh-Vc8.js";import{B as r}from"./component-DzVHCXnG.js";import{B as s}from"./component-DxddScWx.js";import{P as c}from"./component-DHl33p9J.js";import{t as h}from"./i18n-DRQl0u--.js";import{n as p}from"./dev.utils-BgjegQC8.js";import{d,a as b}from"./element-interaction-Cy9tx3Sx.js";import{B as k}from"./base-7FEvBJ3L.js";import"./common-D03JQJgy.js";import"./events-BIT-JUP2.js";import"./api-CvPkoAAG.js";import"./variant-PJN56KWi.js";import"./base-web-component-Bcoukts3.js";import"./isArray-CcrBs4JM.js";import"./align-DsFuqEf5.js";import"./disabled-BaPgTuFO.js";import"./behavior-BlS6DO8T.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-BNtqGdMQ.js";import"./label-with-expert-slot-aAOUzLo3.js";import"./name-m3owaZxH.js";import"./resolve-props-47S-r31C.js";import"./block-bem-DXqmf3Te.js";import"./component-CySyXSru.js";import"./component-Ik_-HAMT.js";import"./component-C9mkZ63L.js";import"./component-YhEwg1LK.js";import"./i18n-Dl6Jjofb.js";import"./element-focus-Cp994Rrk.js";import"./behavior-Zr6qAX7F.js";import"./bootstrap-DTVsVq0w.js";import"./component-names-Dhbtt0mX.js";import"./aria-labelledby-BRToXqsQ.js";import"./access-and-short-key-ijzCZfHm.js";import"./controller-Bf-CAo4Q.js";const m=a.forBlock("kol-split-button"),u=m("button"),f=m("horizontal-line"),y=m("root"),w=m("secondary-button"),g=t=>{const{buttonProps:e,buttonWrapperClass:i,class:n,dropdownProps:a,refDropdown:h}=t;return o(r,{block:"kol-split-button",class:n},o("div",{class:y},o("div",{class:l(u,i)},o(s,Object.assign({},e))),o("div",{class:f}),o("div",{class:w,ref:h},o(c,Object.assign({},a)))))},_=class extends k{constructor(o){super(),t(this,o),this.ariaDescriptionId=p(),this.dropdownOpen=!1,this._disabled=!1,this._hideLabel=!1,this._tooltipAlign="top",this._type="button",this._variant="normal",this.setDropdownRef=o=>{this.dropdownElement=o},this.initFormAssociation()}watchAccessKey(o){this.applyAccessKey(o,this._shortKey)}watchAriaControls(o){this.applyAriaControls(o)}watchAriaDescription(o){this.applyAriaDescription(o)}watchAriaExpanded(o){this.applyAriaExpanded(o)}watchAriaSelected(o){this.applyAriaSelected(o)}watchCustomClass(o){this.applyCustomClass(o)}watchDisabled(o){var t;this.applyDisabled(o),null===(t=this.dropdownItem)||void 0===t||t.setDisabled(o)}watchHideLabel(o){this.applyHideLabel(o)}watchIcons(o){this.applyIcons(o)}watchLabel(o){this.applyLabel(o)}watchName(o){this.applyName(o)}watchOn(o){this.applyOn({onClick:null==o?void 0:o.onClick})}watchRole(){}watchShortKey(o){this.applyShortKey(o,this._accessKey)}watchSyncValueBySelector(o){this.applySyncValueBySelector(o)}watchTooltipAlign(o){this.applyTooltipAlign(o)}watchType(o){this.applyType(o)}watchValue(o){this.applyValue(o)}watchVariant(o){this.applyVariant(o)}async getValue(){return this._value}async focus(o){}async click(){}async closePopup(){this.dropdownItem.hide()}componentWillLoad(){this.initButtonRenderProps(),this.watchAccessKey(this._accessKey),this.watchAriaControls(this._ariaControls),this.watchAriaDescription(this._ariaDescription),this.watchAriaExpanded(this._ariaExpanded),this.watchAriaSelected(this._ariaSelected),this.watchCustomClass(this._customClass),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchIcons(this._icons),this.applyInline(!1),this.watchLabel(this._label),this.watchName(this._name),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchType(this._type),this.watchValue(this._value),this.watchVariant(this._variant),this.initTooltipBehavior(),this.dropdownItem=n({disabled:this._disabled,getEventTarget:()=>this.dropdownElement,getFlagHost:()=>this.host,getOpen:()=>this.dropdownOpen,hideLabel:!0,icons:"kolicon-chevron-down",label:h("kol-split-button-dropdown-label-open"),popoverAlign:"bottom",setOpen:o=>{this.dropdownOpen=o}})}componentDidRender(){this.syncTooltipListeners(),this.dropdownItem.syncListeners()}disconnectedCallback(){this.destroyTooltipBehavior(),this.dropdownItem.destroy()}getButtonWrapperClass(){return l({[this._variant]:"custom"!==this._variant,[this._customClass]:"custom"===this._variant&&"string"==typeof this._customClass&&this._customClass.length>0})}render(){return o(g,{key:"709562487d8e0053163b922c5838b936e1b9527c",buttonProps:this.getButtonFCProps(),buttonWrapperClass:this.getButtonWrapperClass(),dropdownProps:this.dropdownItem.getFcProps(),refDropdown:this.setDropdownRef})}get host(){return e(this)}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_ariaSelected:[{watchAriaSelected:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_role:[{watchRole:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}};i([d("ctaRef")],_.prototype,"focus",null),i([b("ctaRef")],_.prototype,"click",null),_.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } .kol-span .kol-span__label--hide-label .kol-span__label { display: none; } 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=1793002577585"); src: url("kolicons.eot?t=1793002577585#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1793002577585") format("woff2"), url("kolicons.woff?t=1793002577585") format("woff"), url("kolicons.ttf?t=1793002577585") format("truetype"), url("kolicons.svg?t=1793002577585#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-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; } .kol-split-button { display: flex; position: relative; width: 100%; } .kol-split-button__root { display: flex; position: relative; width: 100%; align-items: stretch; } .kol-split-button__button { min-width: 0; flex: 1 1 auto; text-align: left; } }'};export{_ as kol_split_button}
|
|
4
|
+
import{h as o,r as t,g as i}from"./index-DqqSYO-1.js";import{_ as e}from"./tslib.es6-QNbPBOk5.js";import{c as n}from"./item-CJvb0vTK.js";import{b as a}from"./bem-registry-BlJAUViA.js";import{c as l}from"./clsx-COFh-Vc8.js";import{B as r}from"./component-B_u7M1gI.js";import{B as s}from"./component-BQBWV-Dj.js";import{P as c}from"./component-BPRJ0qOM.js";import{t as h}from"./i18n-DRQl0u--.js";import{n as d}from"./dev.utils-Cl2Ehgvu.js";import{d as p,a as b}from"./element-interaction-sGYdEpmv.js";import{B as m}from"./base-wY3yC1z6.js";import"./common-D03JQJgy.js";import"./events-BIT-JUP2.js";import"./api-DxF6-oIO.js";import"./variant-DL7TMWWF.js";import"./base-web-component-B0QkUucC.js";import"./label-CJRIAbnc.js";import"./validators-C9J6nOXq.js";import"./align-CR9s255S.js";import"./disabled-DU4BpeNO.js";import"./behavior-DJY-AtON.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-c3GyH-Op.js";import"./label-hints-CGyBuIY6.js";import"./label-with-expert-slot-89Cj-cq-.js";import"./name-CWVb8Q5W.js";import"./resolve-props-bPGYbQje.js";import"./block-bem-DXqmf3Te.js";import"./component-TFkvNo8L.js";import"./component-PLZiII08.js";import"./component-u7CHIDOX.js";import"./i18n-Dl6Jjofb.js";import"./element-focus-BIRmGg5W.js";import"./behavior-BqydGn0c.js";import"./bootstrap-ddeYryQr.js";import"./component-names-CrfBV37S.js";import"./aria-labelledby-CLehu03h.js";import"./access-and-short-key-ijzCZfHm.js";import"./controller-DL8n64W5.js";const k=a.forBlock("kol-split-button"),u=k("button"),f=k("horizontal-line"),y=k("root"),g=k("secondary-button"),w=t=>{const{buttonProps:i,buttonWrapperClass:e,class:n,dropdownProps:a,refDropdown:h}=t;return o(r,{block:"kol-split-button",class:n},o("div",{class:y},o("div",{class:l(u,e)},o(s,Object.assign({},i))),o("div",{class:f}),o("div",{class:g,ref:h},o(c,Object.assign({},a)))))},v=class extends m{constructor(o){super(),t(this,o),this.ariaDescriptionId=d(),this.dropdownOpen=!1,this._accessKey=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._ariaSelected=void 0,this._customClass=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._name=void 0,this._on=void 0,this._role=void 0,this._shortKey=void 0,this._syncValueBySelector=void 0,this._tooltipAlign="top",this._type="button",this._value=void 0,this._variant="normal",this.setDropdownRef=o=>{this.dropdownElement=o},this.initFormAssociation()}watchAccessKey(o){this.applyAccessKey(o,this._shortKey)}watchAriaControls(o){this.applyAriaControls(o)}watchAriaDescription(o){this.applyAriaDescription(o)}watchAriaExpanded(o){this.applyAriaExpanded(o)}watchAriaSelected(o){this.applyAriaSelected(o)}watchCustomClass(o){this.applyCustomClass(o)}watchDisabled(o){var t;this.applyDisabled(o),null===(t=this.dropdownItem)||void 0===t||t.setDisabled(o)}watchHideLabel(o){this.applyHideLabel(o)}watchIcons(o){this.applyIcons(o)}watchLabel(o){this.applyLabel(o)}watchName(o){this.applyName(o)}watchOn(o){this.applyOn({onClick:null==o?void 0:o.onClick})}watchRole(){}watchShortKey(o){this.applyShortKey(o,this._accessKey)}watchSyncValueBySelector(o){this.applySyncValueBySelector(o)}watchTooltipAlign(o){this.applyTooltipAlign(o)}watchType(o){this.applyType(o)}watchValue(o){this.applyValue(o)}watchVariant(o){this.applyVariant(o)}async getValue(){return this._value}async focus(o){}async click(){}async closePopup(){this.dropdownItem.hide()}componentWillLoad(){this.initButtonRenderProps(),this.watchAccessKey(this._accessKey),this.watchAriaControls(this._ariaControls),this.watchAriaDescription(this._ariaDescription),this.watchAriaExpanded(this._ariaExpanded),this.watchAriaSelected(this._ariaSelected),this.watchCustomClass(this._customClass),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchIcons(this._icons),this.applyInline(!1),this.watchLabel(this._label),this.watchName(this._name),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTooltipAlign(this._tooltipAlign),this.watchType(this._type),this.watchValue(this._value),this.watchVariant(this._variant),this.initTooltipBehavior(),this.dropdownItem=n({disabled:this._disabled,getEventTarget:()=>this.dropdownElement,getFlagHost:()=>this.host,getOpen:()=>this.dropdownOpen,hideLabel:!0,icons:"kolicon-chevron-down",label:h("kol-split-button-dropdown-label-open"),popoverAlign:"bottom",setOpen:o=>{this.dropdownOpen=o}})}componentDidRender(){this.syncTooltipListeners(),this.dropdownItem.syncListeners()}disconnectedCallback(){this.destroyTooltipBehavior(),this.dropdownItem.destroy()}getButtonWrapperClass(){return l({[this._variant]:"custom"!==this._variant,[this._customClass]:"custom"===this._variant&&"string"==typeof this._customClass&&this._customClass.length>0})}render(){return o(w,{key:"27257ab3c8608ed34d2615d49b83ca8c457ba3bf",buttonProps:this.getButtonFCProps(),buttonWrapperClass:this.getButtonWrapperClass(),dropdownProps:this.dropdownItem.getFcProps(),refDropdown:this.setDropdownRef})}get host(){return i(this)}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_ariaSelected:[{watchAriaSelected:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_on:[{watchOn:0}],_role:[{watchRole:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}};e([p("ctaRef")],v.prototype,"focus",null),e([b("ctaRef")],v.prototype,"click",null),v.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794027386898"); src: url("kolicons.eot?t=1794027386898#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794027386898") format("woff2"), url("kolicons.woff?t=1794027386898") format("woff"), url("kolicons.ttf?t=1794027386898") format("truetype"), url("kolicons.svg?t=1794027386898#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-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; } .kol-split-button { display: flex; position: relative; width: 100%; } .kol-split-button__root { display: flex; position: relative; width: 100%; align-items: stretch; } .kol-split-button__button { min-width: 0; flex: 1 1 auto; text-align: left; } }'};export{v as kol_split_button}
|