@public-ui/components 5.0.0-beta.0 → 5.0.0-beta.1
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 +344 -86
- package/dist/cjs/{Heading-gKYGJ1tV.js → Heading-C9osvqjY.js} +1 -1
- package/dist/cjs/{api-DyRC0E3C.js → api-U7I3XBPI.js} +64 -37
- package/dist/cjs/{app-globals-C-QndvUR.js → app-globals-DsADKGEe.js} +3 -3
- package/dist/cjs/{aria-labelledby-ny809Vdx.js → aria-labelledby-BRMgWRVp.js} +2 -2
- package/dist/cjs/{base-Cau7nZZw.js → base-CyqDmoZZ.js} +34 -33
- package/dist/cjs/{base-C9jeVqnN.js → base-DCxbMk0f.js} +35 -34
- package/dist/cjs/{base-zeK_arau.js → base-DcN_YC72.js} +26 -26
- package/dist/cjs/{base-DjGWfEqB.js → base-l99dGLYo.js} +79 -73
- package/dist/cjs/base-web-component-B6mwGD0m.js +65 -0
- package/dist/cjs/{base-web-component-r0Jr01kf.js → base-web-component-BnaxS2Z3.js} +21 -26
- package/dist/cjs/{base-web-component-BOQatEb9.js → base-web-component-DxJ0hQ9u.js} +23 -22
- package/dist/cjs/{behavior-Djs9V7Si.js → behavior-BNyFQ_B5.js} +13 -14
- package/dist/cjs/{behavior-P_MOoqmo.js → behavior-CTaw4dj3.js} +10 -10
- package/dist/cjs/{behavior-APmbiQTR.js → behavior-DrFJy0QC.js} +7 -17
- package/dist/cjs/{bem-registry-Q82FjrSD.js → bem-registry-CyxrH26c.js} +40 -1
- package/dist/cjs/{block-bem-CNP2_qFi.js → block-bem-BI7yfoFU.js} +1 -1
- package/dist/cjs/{bootstrap-BbvuwOW2.js → bootstrap-DkgMbRSL.js} +2 -2
- package/dist/cjs/{color-CbCW4wyr.js → color-BW4t1Cif.js} +14 -4
- package/dist/cjs/{common-DRvysX2o.js → common-C-hcIfzh.js} +20 -6
- package/dist/cjs/{component-hiip9BeX.js → component-4OErV1Bg.js} +14 -11
- package/dist/cjs/{component-CyFwKqlx.js → component-BEzksV1U.js} +25 -12
- package/dist/cjs/{component-C-jt8Zgv.js → component-BQUKg-qY.js} +26 -9
- package/dist/cjs/{component-Byx8Sl1k.js → component-BlAPlTfV.js} +2 -2
- package/dist/cjs/{component-DTToXqth.js → component-Cty_HlJR.js} +4 -4
- package/dist/cjs/component-Cvjqbxf4.js +94 -0
- package/dist/cjs/{component-DK-qYG29.js → component-DAQ1XSNA.js} +26 -5
- package/dist/cjs/component-DF5q9ssd.js +100 -0
- package/dist/cjs/{component-DMaPKMLG.js → component-DMfcX1br.js} +3 -3
- package/dist/cjs/{component-x3LvOAC0.js → component-Dkx5Zyhq.js} +2 -2
- package/dist/cjs/component-DtxKrISb.js +141 -0
- package/dist/cjs/{component-w4DHKGRj.js → component-lmJOXuD6.js} +13 -11
- package/dist/cjs/{component-names-EMVnNhTP.js → component-names-BMpML1sX.js} +0 -2
- package/dist/cjs/{contrast-BTU5ne8E.js → contrast-4mAdSLs0.js} +5 -5
- package/dist/cjs/{controller-ncy0x4Nz.js → controller-tEyAFJN9.js} +15 -15
- package/dist/cjs/{dev.utils-r-OFnYmI.js → dev.utils-D5qh-RLT.js} +2 -2
- package/dist/cjs/{devtools-BjCHvsaO.js → devtools-Dtv-Apvj.js} +3 -3
- package/dist/cjs/disabled-jYcvcwjv.js +10 -0
- 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-Btb5zapE.js} +8 -8
- package/dist/cjs/{group-DUgI6ORW.js → group-Dg2gJze5.js} +7 -7
- package/dist/cjs/has-closer-CvNa5gqv.js +10 -0
- package/dist/cjs/href-BBhiVyPb.js +10 -0
- package/dist/cjs/{i18n-BPfGxCna.js → i18n-BnOWw1MQ.js} +1 -1
- package/dist/cjs/id-D1VZsLkg.js +10 -0
- package/dist/cjs/{index-1NUYc4bH.js → index-BacpU-d0.js} +2 -6
- package/dist/cjs/index.cjs.js +4 -4
- package/dist/cjs/{input-tgqPNmdz.js → input-CgTL2oH6.js} +5 -5
- package/dist/cjs/{input-container-Ce6tEgzv.js → input-container-PaL4ZNf3.js} +9 -9
- package/dist/cjs/{item-BDJC0QKy.js → item-CErU-EPA.js} +6 -6
- package/dist/cjs/{item-CU9y10V3.js → item-CLnIJY4J.js} +7 -7
- package/dist/cjs/{item-do7gGebG.js → item-CPxmIcoq.js} +42 -40
- package/dist/cjs/{item-CdalyKjL.js → item-Cckqxc6T.js} +35 -44
- package/dist/cjs/kol-abbr.cjs.entry.js +15 -13
- package/dist/cjs/kol-accordion.cjs.entry.js +29 -23
- package/dist/cjs/kol-alert.cjs.entry.js +41 -35
- package/dist/cjs/kol-avatar.cjs.entry.js +28 -22
- package/dist/cjs/kol-badge.cjs.entry.js +38 -35
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +49 -47
- package/dist/cjs/kol-button-link.cjs.entry.js +52 -37
- package/dist/cjs/kol-button.cjs.entry.js +53 -37
- package/dist/cjs/kol-card.cjs.entry.js +47 -48
- package/dist/cjs/kol-click-button.cjs.entry.js +18 -14
- package/dist/cjs/kol-combobox.cjs.entry.js +77 -64
- package/dist/cjs/kol-details.cjs.entry.js +29 -23
- package/dist/cjs/kol-dialog.cjs.entry.js +43 -37
- package/dist/cjs/kol-drawer.cjs.entry.js +47 -48
- package/dist/cjs/kol-form.cjs.entry.js +40 -36
- package/dist/cjs/kol-heading.cjs.entry.js +22 -16
- package/dist/cjs/kol-icon.cjs.entry.js +15 -13
- package/dist/cjs/kol-image.cjs.entry.js +23 -16
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +73 -60
- package/dist/cjs/kol-input-color.cjs.entry.js +72 -62
- package/dist/cjs/kol-input-date.cjs.entry.js +98 -66
- package/dist/cjs/kol-input-email.cjs.entry.js +74 -55
- package/dist/cjs/kol-input-file.cjs.entry.js +73 -57
- package/dist/cjs/kol-input-number.cjs.entry.js +81 -61
- package/dist/cjs/kol-input-password.cjs.entry.js +79 -58
- package/dist/cjs/kol-input-radio.cjs.entry.js +57 -50
- package/dist/cjs/kol-input-range.cjs.entry.js +73 -56
- package/dist/cjs/kol-input-text.cjs.entry.js +91 -65
- package/dist/cjs/kol-kolibri.cjs.entry.js +16 -15
- package/dist/cjs/kol-link-button.cjs.entry.js +46 -30
- package/dist/cjs/kol-link.cjs.entry.js +43 -29
- package/dist/cjs/kol-meter.cjs.entry.js +38 -25
- package/dist/cjs/kol-modal.cjs.entry.js +42 -37
- package/dist/cjs/kol-nav.cjs.entry.js +59 -56
- package/dist/cjs/kol-pagination.cjs.entry.js +48 -46
- package/dist/cjs/kol-popover-button.cjs.entry.js +54 -40
- package/dist/cjs/kol-progress.cjs.entry.js +31 -24
- package/dist/cjs/kol-quote.cjs.entry.js +23 -21
- package/dist/cjs/kol-select.cjs.entry.js +61 -47
- package/dist/cjs/kol-single-select.cjs.entry.js +73 -62
- package/dist/cjs/kol-skeleton.cjs.entry.js +15 -13
- package/dist/cjs/kol-skip-nav.cjs.entry.js +50 -47
- package/dist/cjs/kol-spin.cjs.entry.js +24 -34
- package/dist/cjs/kol-split-button.cjs.entry.js +57 -41
- package/dist/cjs/kol-table-stateful.cjs.entry.js +78 -67
- package/dist/cjs/kol-table-stateless.cjs.entry.js +56 -46
- package/dist/cjs/kol-tabs.cjs.entry.js +46 -40
- package/dist/cjs/kol-textarea.cjs.entry.js +80 -62
- package/dist/cjs/kol-toast-container.cjs.entry.js +28 -22
- package/dist/cjs/kol-toolbar.cjs.entry.js +40 -39
- package/dist/cjs/kol-tree-item.cjs.entry.js +45 -39
- package/dist/cjs/kol-tree.cjs.entry.js +15 -13
- package/dist/cjs/kol-version.cjs.entry.js +26 -21
- package/dist/cjs/kolibri.cjs.js +4 -4
- package/dist/cjs/label-hints-D6EBRW9T.js +22 -0
- package/dist/cjs/label-lang-segment-CYlAqtUl.js +13 -0
- package/dist/cjs/label-vVOiX4dC.js +14 -0
- package/dist/cjs/label-with-expert-slot-B9z4nqW1.js +14 -0
- package/dist/cjs/level-BAiEYu4U.js +11 -0
- package/dist/cjs/link-target-4AzB3I84.js +10 -0
- package/dist/cjs/links-CPNK7VZo.js +15 -0
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/multiple-B3ZpkzWu.js +10 -0
- package/dist/cjs/name-D4qpL1m-.js +10 -0
- package/dist/cjs/{number-value-aLzn0dDO.js → number-value-B2yoKlvx.js} +5 -5
- package/dist/cjs/open-CvoX_qxD.js +10 -0
- package/dist/cjs/{options-BRwmqi8M.js → options-B2pQC9w2.js} +3 -3
- package/dist/cjs/{orientation-BcqEqZ3D.js → orientation-u2cvwgBc.js} +3 -3
- package/dist/cjs/placeholder-C9Ngp2tQ.js +10 -0
- package/dist/cjs/{base-web-component-DPBaBA5x.js → props-from-config-BQ2SOZlz.js} +262 -72
- package/dist/cjs/read-only-DfWF-Coi.js +10 -0
- package/dist/cjs/required-CdXn16dq.js +10 -0
- package/dist/cjs/resolve-props-B5MED90T.js +58 -0
- package/dist/cjs/resolve-props-B8kPPEMw.js +60 -0
- package/dist/cjs/rows-Ca5ya9tG.js +10 -0
- package/dist/cjs/{scroll-lock-Bs5vb-ss.js → scroll-lock-jojYHBR3.js} +2 -2
- package/dist/cjs/{smart-button-DQryZ9gX.js → smart-button-CB8qIzgQ.js} +3 -3
- package/dist/cjs/spell-check-DKRC8xbW.js +10 -0
- package/dist/cjs/src-C3NG0rLO.js +10 -0
- package/dist/cjs/step-CZNyTb2h.js +10 -0
- package/dist/cjs/{suggestions-b21ak6-A.js → suggestions-BRclldK2.js} +3 -3
- package/dist/cjs/{suggestions-B4X9HMr-.js → suggestions-CRyB_YCX.js} +4 -4
- package/dist/cjs/test-component.cjs.entry.js +2 -2
- package/dist/cjs/{toggle-handler-AgDdplvI.js → toggle-handler-DRPltZqQ.js} +13 -13
- package/dist/cjs/unique-nav-labels-CIAwid5V.js +25 -0
- package/dist/cjs/unit-bsoemclF.js +13 -0
- package/dist/cjs/validators-DuLdbf2D.js +15 -0
- package/dist/cjs/value-string-DZ_FFaUt.js +10 -0
- package/dist/cjs/{width-DF6eLXIz.js → width-BklaRCqt.js} +7 -4
- package/dist/collection/collection-manifest.json +13 -17
- package/dist/collection/components/abbr/component.js +12 -10
- package/dist/collection/components/abbr/style.css +0 -3
- package/dist/collection/components/accordion/component.js +38 -20
- package/dist/collection/components/accordion/style.css +2 -5
- package/dist/collection/components/alert/component.js +35 -20
- package/dist/collection/components/alert/style.css +2 -5
- package/dist/collection/components/avatar/component.js +32 -12
- package/dist/collection/components/avatar/style.css +0 -3
- package/dist/collection/components/badge/component.js +19 -12
- package/dist/collection/components/badge/style.css +2 -5
- package/dist/collection/components/breadcrumb/component.js +7 -6
- package/dist/collection/components/breadcrumb/style.css +2 -5
- package/dist/collection/components/button/base.js +4 -4
- package/dist/collection/components/button/component.js +110 -38
- package/dist/collection/components/button/style.css +2 -5
- package/dist/collection/components/button-link/component.js +101 -47
- package/dist/collection/components/button-link/style.css +2 -5
- package/dist/collection/components/card/base.js +5 -5
- package/dist/collection/components/card/component.js +34 -19
- package/dist/collection/components/card/style.css +2 -5
- package/dist/collection/components/{_skeleton/web-components/click-button → click-button}/component.js +23 -13
- package/dist/collection/components/combobox/component.js +151 -65
- package/dist/collection/components/combobox/style.css +3 -7
- package/dist/collection/components/details/component.js +38 -20
- package/dist/collection/components/details/style.css +2 -5
- package/dist/collection/components/dialog/base.js +14 -14
- package/dist/collection/components/dialog/component.js +24 -12
- package/dist/collection/components/dialog/style.css +2 -5
- package/dist/collection/components/drawer/component.js +33 -28
- package/dist/collection/components/drawer/style.css +2 -5
- package/dist/collection/components/form/component.js +10 -5
- 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 +18 -9
- package/dist/collection/components/heading/style.css +0 -3
- package/dist/collection/components/icon/component.js +13 -6
- package/dist/collection/components/icon/style.css +2 -2
- package/dist/collection/components/image/component.js +50 -14
- package/dist/collection/components/image/style.css +0 -3
- package/dist/collection/components/input-checkbox/component.js +135 -68
- package/dist/collection/components/input-checkbox/style.css +4 -8
- package/dist/collection/components/input-color/component.js +123 -61
- package/dist/collection/components/input-color/style.css +3 -7
- package/dist/collection/components/input-date/component.js +146 -69
- package/dist/collection/components/input-date/style.css +3 -7
- package/dist/collection/components/input-email/component.js +197 -83
- package/dist/collection/components/input-email/style.css +3 -7
- package/dist/collection/components/input-file/component.js +142 -67
- package/dist/collection/components/input-file/style.css +3 -7
- package/dist/collection/components/input-number/component.js +156 -72
- package/dist/collection/components/input-number/style.css +3 -7
- package/dist/collection/components/input-password/component.js +189 -78
- package/dist/collection/components/input-password/style.css +3 -7
- package/dist/collection/components/input-radio/component.js +91 -48
- package/dist/collection/components/input-radio/style.css +4 -8
- package/dist/collection/components/input-range/component.js +114 -52
- package/dist/collection/components/input-range/style.css +3 -7
- package/dist/collection/components/input-text/component.js +191 -80
- package/dist/collection/components/input-text/style.css +3 -7
- package/dist/collection/components/kolibri/component.js +11 -4
- package/dist/collection/components/kolibri/style.css +0 -3
- package/dist/collection/components/link/base.js +4 -4
- package/dist/collection/components/link/component.js +88 -41
- package/dist/collection/components/link/style.css +2 -5
- package/dist/collection/components/link-button/component.js +80 -35
- package/dist/collection/components/link-button/style.css +2 -5
- package/dist/collection/components/meter/component.js +87 -25
- package/dist/collection/components/meter/style.css +0 -3
- package/dist/collection/components/modal/component.js +23 -12
- package/dist/collection/components/modal/style.css +2 -5
- package/dist/collection/components/nav/component.js +42 -20
- package/dist/collection/components/nav/style.css +2 -5
- package/dist/collection/components/pagination/component.js +35 -10
- package/dist/collection/components/pagination/style.css +3 -7
- package/dist/collection/components/popover-button/base.js +2 -2
- package/dist/collection/components/popover-button/component.js +82 -30
- package/dist/collection/components/popover-button/style.css +2 -5
- package/dist/collection/components/progress/component.js +51 -17
- package/dist/collection/components/progress/style.css +0 -3
- package/dist/collection/components/{_skeleton/public-api → public-api}/contract.js +8 -8
- package/dist/collection/components/quote/component.js +39 -16
- package/dist/collection/components/quote/style.css +0 -3
- package/dist/collection/components/select/component.js +138 -64
- package/dist/collection/components/select/style.css +3 -7
- package/dist/collection/components/single-select/component.js +138 -61
- package/dist/collection/components/single-select/style.css +3 -7
- package/dist/collection/components/{_skeleton/web-components/skeleton → skeleton}/component.js +23 -13
- package/dist/collection/components/skip-nav/component.js +8 -5
- package/dist/collection/components/skip-nav/style.css +2 -5
- package/dist/collection/components/spin/component.js +31 -11
- package/dist/collection/components/spin/style.css +0 -3
- package/dist/collection/components/split-button/component.js +108 -37
- package/dist/collection/components/split-button/style.css +2 -5
- package/dist/collection/components/table-stateful/component.js +74 -46
- package/dist/collection/components/table-stateful/style.css +3 -7
- package/dist/collection/components/table-stateless/base.js +12 -7
- package/dist/collection/components/table-stateless/component.js +50 -17
- package/dist/collection/components/table-stateless/style.css +2 -5
- package/dist/collection/components/tabs/component.js +27 -11
- package/dist/collection/components/tabs/style.css +2 -5
- package/dist/collection/components/textarea/component.js +184 -76
- package/dist/collection/components/textarea/style.css +3 -7
- package/dist/collection/components/toaster/shadow.js +6 -5
- package/dist/collection/components/toaster/style.css +2 -5
- package/dist/collection/components/toolbar/component.js +16 -7
- package/dist/collection/components/toolbar/style.css +2 -5
- package/dist/collection/components/tree/component.js +4 -4
- package/dist/collection/components/tree/style.css +0 -3
- package/dist/collection/components/tree-item/component.js +26 -17
- package/dist/collection/components/tree-item/style.css +2 -5
- package/dist/collection/components/version/component.js +4 -4
- 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/e2e/aria-details.js +9 -0
- package/dist/collection/e2e/input-character-limit.js +18 -18
- package/dist/collection/functional-components/index.js +0 -1
- package/dist/collection/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 +5 -3
- package/dist/collection/internal/functional-components/avatar/component.js +9 -5
- package/dist/collection/internal/functional-components/base-web-component.js +20 -8
- 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/breadcrumb/link-item.js +1 -1
- package/dist/collection/internal/functional-components/button/component.js +6 -4
- package/dist/collection/internal/functional-components/card/api.js +3 -3
- package/dist/collection/internal/functional-components/card/close-button.js +1 -1
- package/dist/collection/internal/functional-components/card/component.js +5 -2
- 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 -10
- package/dist/collection/internal/functional-components/drawer/api.js +2 -2
- package/dist/collection/internal/functional-components/drawer/component.js +3 -1
- package/dist/collection/internal/functional-components/form-association/behavior.js +1 -11
- package/dist/collection/internal/functional-components/form-field/base-web-component.js +32 -4
- package/dist/collection/internal/functional-components/form-field/component.js +1 -1
- package/dist/collection/internal/functional-components/form-field/date-value.js +12 -1
- package/dist/collection/internal/functional-components/form-field/default-input-props.js +3 -2
- package/dist/collection/internal/functional-components/form-field/select.js +0 -4
- package/dist/collection/internal/functional-components/heading/component.js +6 -3
- package/dist/collection/internal/functional-components/image/component.js +4 -1
- package/dist/collection/internal/functional-components/kolibri/component.js +4 -1
- package/dist/collection/internal/functional-components/link/component.js +6 -4
- package/dist/collection/internal/functional-components/meter/api.js +2 -2
- package/dist/collection/internal/functional-components/meter/component.js +13 -6
- package/dist/collection/internal/functional-components/nav/api.js +2 -2
- package/dist/collection/internal/functional-components/nav/component.js +14 -9
- package/dist/collection/internal/functional-components/pagination/api.js +2 -11
- package/dist/collection/internal/functional-components/pagination/component.js +6 -2
- package/dist/collection/internal/functional-components/pagination/item.js +2 -2
- package/dist/collection/internal/functional-components/pagination/page-size-select.js +1 -1
- package/dist/collection/internal/functional-components/popover/component.js +3 -1
- package/dist/collection/internal/functional-components/progress/api.js +2 -2
- package/dist/collection/internal/functional-components/progress/component.js +10 -7
- package/dist/collection/internal/functional-components/props-from-config.js +3 -0
- package/dist/collection/internal/functional-components/quote/api.js +2 -2
- package/dist/collection/internal/functional-components/quote/component.js +4 -2
- package/dist/collection/internal/functional-components/skip-nav/api.js +2 -2
- package/dist/collection/internal/functional-components/skip-nav/link-item.js +1 -1
- package/dist/collection/internal/functional-components/span/api.js +2 -4
- package/dist/collection/internal/functional-components/span/component.js +18 -6
- package/dist/collection/internal/functional-components/spin/component.js +3 -1
- package/dist/collection/internal/functional-components/table-stateful/api.js +2 -2
- package/dist/collection/internal/functional-components/table-stateless/api.js +2 -2
- package/dist/collection/internal/functional-components/table-stateless/component.js +19 -5
- package/dist/collection/internal/functional-components/table-stateless/settings.js +3 -5
- 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/tabs/component.js +1 -1
- package/dist/collection/internal/functional-components/toolbar/api.js +2 -2
- package/dist/collection/internal/functional-components/tooltip/api.js +2 -2
- package/dist/collection/internal/functional-components/tooltip/behavior.js +3 -2
- package/dist/collection/internal/functional-components/tooltip/component.js +3 -1
- package/dist/collection/internal/functional-components/tree/api.js +2 -2
- package/dist/collection/internal/functional-components/tree-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 +11 -3
- 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/bem-registry.js +39 -0
- package/dist/collection/schema/props/index.js +19 -2
- package/dist/collection/schema/props/label.js +54 -5
- package/dist/collection/schema/props/page-size.js +1 -0
- package/dist/collection/schema/props/page.js +1 -0
- package/dist/collection/schema/props/quote.js +1 -9
- package/dist/collection/schema/props/secondary-headline.js +1 -0
- package/dist/collection/schema/props/selected.js +1 -0
- package/dist/collection/schema/props/sibling-count.js +1 -0
- package/dist/collection/schema/props/sizes.js +1 -0
- package/dist/collection/schema/props/src.js +1 -0
- package/dist/collection/schema/props/srcset.js +1 -0
- package/dist/collection/schema/props/table-loading.js +1 -0
- package/dist/collection/schema/props/value-number-clamped.js +1 -0
- package/dist/collection/schema/props/value-string.js +1 -0
- package/dist/collection/schema/utils/dev.utils.js +8 -6
- package/dist/collection/schema/utils/prop.validators.js +16 -3
- package/dist/collection/utils/aria-labelledby.js +2 -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/testing/snapshot-testing.js +17 -0
- package/dist/collection/utils/unique-nav-labels.js +7 -5
- 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-component3.js +1 -1
- package/dist/components/base-web-component4.js +1 -1
- package/dist/components/base.js +1 -1
- package/dist/components/base2.js +1 -1
- package/dist/components/base3.js +1 -1
- package/dist/components/base4.js +1 -1
- package/dist/components/behavior.js +1 -1
- package/dist/components/behavior2.js +1 -1
- package/dist/components/behavior3.js +1 -1
- package/dist/components/behavior4.js +1 -1
- package/dist/components/bem-registry.js +1 -1
- package/dist/components/bootstrap.js +1 -1
- package/dist/components/color.js +1 -1
- package/dist/components/component-names.js +1 -1
- package/dist/components/component10.js +1 -1
- package/dist/components/component11.js +1 -1
- package/dist/components/component2.js +1 -1
- package/dist/components/component3.js +1 -1
- package/dist/components/component4.js +1 -1
- package/dist/components/component5.js +1 -1
- package/dist/components/component6.js +1 -1
- package/dist/components/component7.js +1 -1
- package/dist/components/component8.js +1 -1
- package/dist/components/component9.js +1 -1
- package/dist/components/contrast.js +1 -1
- package/dist/components/controller.js +1 -1
- package/dist/components/dev.utils.js +1 -1
- package/dist/components/devtools.js +1 -1
- package/dist/components/disabled.js +1 -1
- package/dist/components/element-focus.js +1 -1
- package/dist/components/field-control.js +1 -1
- package/dist/components/group.js +1 -1
- package/dist/components/has-closer.js +1 -1
- package/dist/components/href.js +1 -1
- package/dist/components/i18n.js +1 -1
- package/dist/components/id.js +4 -0
- package/dist/components/index.js +1 -1
- package/dist/components/input-container.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/item.js +1 -1
- package/dist/components/item2.js +1 -1
- package/dist/components/item3.js +1 -1
- package/dist/components/item4.js +1 -1
- package/dist/components/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/level.js +1 -1
- package/dist/components/link-target.js +1 -1
- package/dist/components/links.js +1 -1
- package/dist/components/multiple.js +1 -1
- package/dist/components/name.js +1 -1
- package/dist/components/number-value.js +1 -1
- package/dist/components/open.js +1 -1
- package/dist/components/options2.js +1 -1
- package/dist/components/orientation.js +1 -1
- package/dist/components/placeholder.js +1 -1
- package/dist/components/props-from-config.js +4 -0
- package/dist/components/read-only.js +1 -1
- package/dist/components/required.js +1 -1
- package/dist/components/resolve-props.js +1 -1
- package/dist/components/resolve-props2.js +1 -1
- package/dist/components/rows.js +1 -1
- package/dist/components/smart-button.js +1 -1
- package/dist/components/spell-check.js +1 -1
- package/dist/components/src.js +1 -1
- package/dist/components/step.js +1 -1
- package/dist/components/suggestions.js +1 -1
- package/dist/components/suggestions2.js +1 -1
- package/dist/components/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/value-string.js +1 -1
- package/dist/components/width.js +1 -1
- package/dist/esm/{Heading-0teSdkFq.js → Heading-BVhjT9av.js} +1 -1
- package/dist/esm/{api-hAvZrw9X.js → api-D92_O-0H.js} +53 -26
- package/dist/esm/{app-globals-Dff_iJYF.js → app-globals-CBGjgNge.js} +3 -3
- package/dist/esm/{aria-labelledby-BRToXqsQ.js → aria-labelledby-CLehu03h.js} +2 -2
- package/dist/esm/{base-Df1bwC8d.js → base-BLBSJu_1.js} +24 -24
- package/dist/esm/{base-7FEvBJ3L.js → base-CHmdLgoO.js} +18 -17
- package/dist/esm/{base-COT79ELt.js → base-DIcqHqMz.js} +16 -15
- package/dist/esm/{base-CsJWjTJl.js → base-qvPPg-dn.js} +57 -51
- package/dist/esm/{base-web-component-cTyj95G-.js → base-web-component-CaAexWy_.js} +16 -15
- package/dist/esm/{base-web-component-C1XSz7ML.js → base-web-component-DbagnM7m.js} +10 -15
- package/dist/esm/base-web-component-XgI4wUyN.js +63 -0
- package/dist/esm/{behavior-Zr6qAX7F.js → behavior-B08CXmI4.js} +5 -15
- package/dist/esm/{behavior-BlS6DO8T.js → behavior-CwUUkdaP.js} +9 -9
- package/dist/esm/{behavior-BMW-_4Oy.js → behavior-DW7_5Wxp.js} +6 -6
- package/dist/esm/{bem-registry-BlJAUViA.js → bem-registry-CWN7_O1L.js} +40 -1
- package/dist/esm/{block-bem-DXqmf3Te.js → block-bem-BpQSY04L.js} +1 -1
- package/dist/esm/{bootstrap-DTVsVq0w.js → bootstrap-B9DtStuh.js} +2 -2
- package/dist/esm/{color-9CMp_pOq.js → color-eAL9I7Wq.js} +13 -3
- package/dist/esm/{common-D03JQJgy.js → common-OzsC_6kt.js} +20 -6
- package/dist/esm/{variant-PJN56KWi.js → component-8ALsFV4i.js} +38 -7
- package/dist/esm/component-BTMWoACz.js +93 -0
- package/dist/esm/{component-DzVHCXnG.js → component-Bc1n82Y8.js} +2 -2
- package/dist/esm/{component-Ik_-HAMT.js → component-CZZNha2e.js} +24 -12
- package/dist/esm/{component-DHl33p9J.js → component-CdKSiR5P.js} +10 -8
- package/dist/esm/{component-C9mkZ63L.js → component-Cdnq5GYF.js} +2 -2
- package/dist/esm/{component-BmJGOcby.js → component-D0mBOGjS.js} +13 -10
- package/dist/esm/{api-B9mpTRGa.js → component-DBAicJ2u.js} +42 -44
- package/dist/esm/component-DCw1ZAE5.js +45 -0
- package/dist/esm/{component-DeWynlzi.js → component-DLSlbWg8.js} +3 -3
- package/dist/esm/{component-BkjWlzLc.js → component-DeMf195P.js} +25 -10
- package/dist/esm/{component-C_Te18y_.js → component-nR5Bf9G5.js} +4 -4
- package/dist/esm/{component-names-Dhbtt0mX.js → component-names-CrfBV37S.js} +0 -2
- package/dist/esm/{contrast-BK5uVXeb.js → contrast-D78VGPFR.js} +2 -2
- package/dist/esm/{controller-Bf-CAo4Q.js → controller-C3O9ohSP.js} +15 -15
- package/dist/esm/{dev.utils-BgjegQC8.js → dev.utils-wYkYn08d.js} +2 -2
- package/dist/esm/{devtools-4nOArEGl.js → devtools-DrBkkLdP.js} +3 -3
- package/dist/esm/{disabled-BaPgTuFO.js → disabled-Cqhc40CU.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-Cs5VvsYo.js} +8 -8
- package/dist/esm/{group-Ce5pMiZJ.js → group-uNo1CfbK.js} +6 -6
- package/dist/esm/{has-closer-C9L79ect.js → has-closer-B9NQY7BK.js} +1 -1
- package/dist/esm/href-JqLbNBsW.js +8 -0
- package/dist/esm/{i18n-DRQl0u--.js → i18n-DtLKn3Xt.js} +1 -1
- package/dist/esm/id-CIYvVaNr.js +8 -0
- package/dist/esm/{index-D5UV99lE.js → index-BKEJuyFi.js} +2 -6
- package/dist/esm/index.js +6 -6
- package/dist/esm/{input-DjQorwQ5.js → input-Dja5Qioc.js} +5 -5
- package/dist/esm/{input-container-RSmfcRgK.js → input-container-C2Am7LEP.js} +8 -8
- package/dist/esm/{item-2cprk9ut.js → item-C4AmpdVD.js} +7 -7
- package/dist/esm/{item-DMWn_IlJ.js → item-ConW1c81.js} +6 -6
- package/dist/esm/{item-Bfk2xd-D.js → item-D627ShRd.js} +14 -12
- package/dist/esm/{item-D9_O5WAR.js → item-DIAFIFSy.js} +20 -29
- package/dist/esm/kol-abbr.entry.js +15 -13
- package/dist/esm/kol-accordion.entry.js +29 -23
- package/dist/esm/kol-alert.entry.js +35 -29
- package/dist/esm/kol-avatar.entry.js +28 -22
- package/dist/esm/kol-badge.entry.js +36 -33
- package/dist/esm/kol-breadcrumb.entry.js +36 -34
- package/dist/esm/kol-button-link.entry.js +52 -37
- package/dist/esm/kol-button.entry.js +53 -37
- package/dist/esm/kol-card.entry.js +46 -47
- package/dist/esm/kol-click-button.entry.js +18 -14
- package/dist/esm/kol-combobox.entry.js +70 -57
- package/dist/esm/kol-details.entry.js +29 -23
- package/dist/esm/kol-dialog.entry.js +43 -37
- package/dist/esm/kol-drawer.entry.js +46 -47
- package/dist/esm/kol-form.entry.js +33 -29
- package/dist/esm/kol-heading.entry.js +21 -15
- package/dist/esm/kol-icon.entry.js +14 -12
- package/dist/esm/kol-image.entry.js +16 -9
- package/dist/esm/kol-input-checkbox.entry.js +61 -48
- package/dist/esm/kol-input-color.entry.js +66 -56
- package/dist/esm/kol-input-date.entry.js +86 -54
- package/dist/esm/kol-input-email.entry.js +74 -55
- package/dist/esm/kol-input-file.entry.js +66 -50
- package/dist/esm/kol-input-number.entry.js +75 -55
- package/dist/esm/kol-input-password.entry.js +75 -54
- package/dist/esm/kol-input-radio.entry.js +53 -46
- package/dist/esm/kol-input-range.entry.js +67 -50
- package/dist/esm/kol-input-text.entry.js +85 -59
- package/dist/esm/kol-kolibri.entry.js +13 -12
- package/dist/esm/kol-link-button.entry.js +46 -30
- package/dist/esm/kol-link.entry.js +43 -29
- package/dist/esm/kol-meter.entry.js +33 -20
- package/dist/esm/kol-modal.entry.js +42 -37
- package/dist/esm/kol-nav.entry.js +52 -49
- package/dist/esm/kol-pagination.entry.js +48 -46
- package/dist/esm/kol-popover-button.entry.js +54 -40
- package/dist/esm/kol-progress.entry.js +27 -20
- package/dist/esm/kol-quote.entry.js +20 -18
- package/dist/esm/kol-select.entry.js +61 -47
- package/dist/esm/kol-single-select.entry.js +66 -55
- package/dist/esm/kol-skeleton.entry.js +15 -13
- package/dist/esm/kol-skip-nav.entry.js +36 -33
- package/dist/esm/kol-spin.entry.js +20 -30
- package/dist/esm/kol-split-button.entry.js +57 -41
- package/dist/esm/kol-table-stateful.entry.js +72 -61
- package/dist/esm/kol-table-stateless.entry.js +56 -46
- package/dist/esm/kol-tabs.entry.js +41 -35
- package/dist/esm/kol-textarea.entry.js +70 -52
- package/dist/esm/kol-toast-container.entry.js +28 -22
- package/dist/esm/kol-toolbar.entry.js +38 -37
- package/dist/esm/kol-tree-item.entry.js +42 -36
- package/dist/esm/kol-tree.entry.js +15 -13
- package/dist/esm/kol-version.entry.js +26 -21
- package/dist/esm/kolibri.js +5 -5
- package/dist/esm/label-BRosRgdX.js +12 -0
- package/dist/esm/label-hints-Jn18RUT-.js +20 -0
- package/dist/esm/label-lang-segment-2_GnxjFp.js +11 -0
- package/dist/esm/label-with-expert-slot-CicRes-W.js +12 -0
- package/dist/esm/{level-Df663c7y.js → level-CA1s1_Mf.js} +1 -1
- package/dist/esm/{link-target-C7_smSbV.js → link-target-FX94oqMo.js} +1 -1
- package/dist/esm/{links-B0xbzBwU.js → links-DwucTqcR.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{multiple-CYHm7rd3.js → multiple-DqrZxybx.js} +1 -1
- package/dist/esm/{name-m3owaZxH.js → name-B2Yf3EpX.js} +1 -1
- package/dist/esm/{number-value-CMedWR58.js → number-value-B-SJ1dRo.js} +1 -1
- package/dist/esm/{open-DCGNTmvC.js → open-DRRv1KFK.js} +1 -1
- package/dist/esm/{options-CR431ims.js → options-DCaUcfAu.js} +2 -2
- package/dist/esm/{orientation-C9FRNmPD.js → orientation-XNOCaPwy.js} +1 -1
- package/dist/esm/{placeholder-Bwzvbwhh.js → placeholder-BeLIzdJv.js} +1 -1
- package/dist/esm/{base-web-component-Bcoukts3.js → props-from-config-Ci0dILpz.js} +231 -50
- package/dist/esm/{read-only-C5fDsZVK.js → read-only-Bby9r6ZX.js} +1 -1
- package/dist/esm/{required-CC0212MQ.js → required-hoaT7UmZ.js} +1 -1
- package/dist/esm/{resolve-props-47S-r31C.js → resolve-props-BLZxWC3j.js} +8 -8
- package/dist/esm/{resolve-props-CnHCiXuG.js → resolve-props-D2KiItuv.js} +8 -8
- package/dist/esm/rows-B0x8CR7K.js +8 -0
- package/dist/esm/{scroll-lock-DQGTnLvW.js → scroll-lock-Y2hf47KW.js} +2 -2
- package/dist/esm/{smart-button-BHM06d-t.js → smart-button-CS_ZriPt.js} +2 -2
- package/dist/esm/{spell-check-DiSedaOR.js → spell-check-DzgftyqL.js} +1 -1
- package/dist/esm/{src-CsLEg--w.js → src-DaGhmCL1.js} +1 -1
- package/dist/esm/{step-BxSThOke.js → step-Bdj89bGO.js} +1 -1
- package/dist/esm/{suggestions-C38q-5JU.js → suggestions-DuqzGDve.js} +3 -3
- package/dist/esm/{suggestions-B79TOsF_.js → suggestions-Dy1X-Pc3.js} +2 -2
- package/dist/esm/test-component.entry.js +2 -2
- package/dist/esm/{toggle-handler-CQ0FhBmD.js → toggle-handler-BRLmxe1J.js} +13 -13
- package/dist/esm/unique-nav-labels-h2KOu5Qy.js +22 -0
- package/dist/esm/{unit-BgjPEae-.js → unit-BUhhJbhT.js} +1 -1
- package/dist/esm/validators-BVM40IEr.js +11 -0
- package/dist/esm/{value-string-BDfywbme.js → value-string-e9pwLcS-.js} +1 -1
- package/dist/esm/{width-CAS8lhOU.js → width-CgYY17tL.js} +5 -2
- package/dist/kolibri/{Heading-0teSdkFq.js → Heading-BVhjT9av.js} +1 -1
- package/dist/kolibri/api-D92_O-0H.js +4 -0
- package/dist/kolibri/app-globals-CBGjgNge.js +4 -0
- package/dist/kolibri/aria-labelledby-CLehu03h.js +4 -0
- package/dist/kolibri/base-BLBSJu_1.js +4 -0
- package/dist/kolibri/base-CHmdLgoO.js +4 -0
- package/dist/kolibri/base-DIcqHqMz.js +4 -0
- package/dist/kolibri/base-qvPPg-dn.js +4 -0
- package/dist/kolibri/base-web-component-CaAexWy_.js +4 -0
- package/dist/kolibri/base-web-component-DbagnM7m.js +4 -0
- package/dist/kolibri/base-web-component-XgI4wUyN.js +4 -0
- package/dist/kolibri/behavior-B08CXmI4.js +4 -0
- package/dist/kolibri/behavior-CwUUkdaP.js +4 -0
- package/dist/kolibri/behavior-DW7_5Wxp.js +4 -0
- package/dist/kolibri/{bem-registry-BlJAUViA.js → bem-registry-CWN7_O1L.js} +1 -1
- package/dist/kolibri/{block-bem-DXqmf3Te.js → block-bem-BpQSY04L.js} +1 -1
- package/dist/kolibri/bootstrap-B9DtStuh.js +4 -0
- package/dist/kolibri/color-eAL9I7Wq.js +4 -0
- package/dist/kolibri/common-OzsC_6kt.js +4 -0
- package/dist/kolibri/component-8ALsFV4i.js +4 -0
- package/dist/kolibri/component-BTMWoACz.js +4 -0
- package/dist/kolibri/component-Bc1n82Y8.js +4 -0
- package/dist/kolibri/component-CZZNha2e.js +4 -0
- package/dist/kolibri/component-CdKSiR5P.js +4 -0
- package/dist/kolibri/{component-C9mkZ63L.js → component-Cdnq5GYF.js} +1 -1
- package/dist/kolibri/component-D0mBOGjS.js +4 -0
- package/dist/kolibri/component-DBAicJ2u.js +4 -0
- package/dist/kolibri/component-DCw1ZAE5.js +4 -0
- package/dist/kolibri/component-DLSlbWg8.js +4 -0
- package/dist/kolibri/component-DeMf195P.js +4 -0
- package/dist/kolibri/component-nR5Bf9G5.js +4 -0
- package/dist/kolibri/{component-names-Dhbtt0mX.js → component-names-CrfBV37S.js} +1 -1
- package/dist/kolibri/contrast-D78VGPFR.js +4 -0
- package/dist/kolibri/controller-C3O9ohSP.js +4 -0
- package/dist/kolibri/dev.utils-wYkYn08d.js +4 -0
- package/dist/kolibri/{devtools-4nOArEGl.js → devtools-DrBkkLdP.js} +1 -1
- package/dist/kolibri/disabled-Cqhc40CU.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-Cs5VvsYo.js +4 -0
- package/dist/kolibri/group-uNo1CfbK.js +4 -0
- package/dist/kolibri/has-closer-B9NQY7BK.js +4 -0
- package/dist/kolibri/href-JqLbNBsW.js +4 -0
- package/dist/kolibri/i18n-DtLKn3Xt.js +4 -0
- package/dist/kolibri/id-CIYvVaNr.js +4 -0
- package/dist/kolibri/{index-D5UV99lE.js → index-BKEJuyFi.js} +2 -2
- package/dist/kolibri/index.esm.js +1 -1
- package/dist/kolibri/input-Dja5Qioc.js +4 -0
- package/dist/kolibri/input-container-C2Am7LEP.js +4 -0
- package/dist/kolibri/item-C4AmpdVD.js +4 -0
- package/dist/kolibri/item-ConW1c81.js +4 -0
- package/dist/kolibri/item-D627ShRd.js +4 -0
- package/dist/kolibri/item-DIAFIFSy.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-BRosRgdX.js +4 -0
- package/dist/kolibri/label-hints-Jn18RUT-.js +4 -0
- package/dist/kolibri/label-lang-segment-2_GnxjFp.js +4 -0
- package/dist/kolibri/label-with-expert-slot-CicRes-W.js +4 -0
- package/dist/kolibri/level-CA1s1_Mf.js +4 -0
- package/dist/kolibri/link-target-FX94oqMo.js +4 -0
- package/dist/kolibri/links-DwucTqcR.js +4 -0
- package/dist/kolibri/multiple-DqrZxybx.js +4 -0
- package/dist/kolibri/name-B2Yf3EpX.js +4 -0
- package/dist/kolibri/number-value-B-SJ1dRo.js +4 -0
- package/dist/kolibri/open-DRRv1KFK.js +4 -0
- package/dist/kolibri/options-DCaUcfAu.js +4 -0
- package/dist/kolibri/orientation-XNOCaPwy.js +4 -0
- package/dist/kolibri/placeholder-BeLIzdJv.js +4 -0
- package/dist/kolibri/props-from-config-Ci0dILpz.js +4 -0
- package/dist/kolibri/read-only-Bby9r6ZX.js +4 -0
- package/dist/kolibri/required-hoaT7UmZ.js +4 -0
- package/dist/kolibri/resolve-props-BLZxWC3j.js +4 -0
- package/dist/kolibri/resolve-props-D2KiItuv.js +4 -0
- package/dist/kolibri/rows-B0x8CR7K.js +4 -0
- package/dist/kolibri/{scroll-lock-DQGTnLvW.js → scroll-lock-Y2hf47KW.js} +1 -1
- package/dist/kolibri/smart-button-CS_ZriPt.js +4 -0
- package/dist/kolibri/spell-check-DzgftyqL.js +4 -0
- package/dist/kolibri/src-DaGhmCL1.js +4 -0
- package/dist/kolibri/step-Bdj89bGO.js +4 -0
- package/dist/kolibri/suggestions-DuqzGDve.js +4 -0
- package/dist/kolibri/suggestions-Dy1X-Pc3.js +4 -0
- package/dist/kolibri/test-component.entry.js +1 -1
- package/dist/kolibri/toggle-handler-BRLmxe1J.js +4 -0
- package/dist/kolibri/unique-nav-labels-h2KOu5Qy.js +4 -0
- package/dist/kolibri/unit-BUhhJbhT.js +4 -0
- package/dist/kolibri/validators-BVM40IEr.js +4 -0
- package/dist/kolibri/value-string-e9pwLcS-.js +4 -0
- package/dist/kolibri/width-CgYY17tL.js +4 -0
- package/dist/types/components/abbr/component.d.ts +5 -4
- package/dist/types/components/accordion/component.d.ts +9 -8
- package/dist/types/components/alert/component.d.ts +9 -8
- package/dist/types/components/avatar/component.d.ts +7 -6
- package/dist/types/components/badge/component.d.ts +5 -4
- package/dist/types/components/breadcrumb/component.d.ts +2 -1
- package/dist/types/components/button/base.d.ts +9 -8
- package/dist/types/components/button/component.d.ts +13 -13
- package/dist/types/components/button-link/component.d.ts +11 -11
- package/dist/types/components/card/base.d.ts +6 -4
- package/dist/types/components/card/component.d.ts +5 -5
- package/dist/types/components/click-button/component.d.ts +15 -0
- package/dist/types/components/combobox/component.d.ts +23 -22
- package/dist/types/components/details/component.d.ts +9 -8
- package/dist/types/components/dialog/base.d.ts +6 -4
- package/dist/types/components/dialog/component.d.ts +5 -5
- package/dist/types/components/drawer/component.d.ts +7 -6
- package/dist/types/components/form/component.d.ts +2 -1
- package/dist/types/components/heading/component.d.ts +5 -4
- package/dist/types/components/icon/component.d.ts +5 -3
- package/dist/types/components/image/component.d.ts +11 -9
- package/dist/types/components/input-checkbox/component.d.ts +21 -20
- package/dist/types/components/input-color/component.d.ts +17 -17
- package/dist/types/components/input-date/component.d.ts +19 -18
- package/dist/types/components/input-email/component.d.ts +31 -30
- package/dist/types/components/input-file/component.d.ts +18 -17
- package/dist/types/components/input-number/component.d.ts +21 -20
- package/dist/types/components/input-password/component.d.ts +30 -28
- package/dist/types/components/input-radio/component.d.ts +15 -14
- package/dist/types/components/input-range/component.d.ts +15 -14
- package/dist/types/components/input-text/component.d.ts +28 -26
- package/dist/types/components/kolibri/component.d.ts +5 -4
- package/dist/types/components/link/base.d.ts +8 -6
- package/dist/types/components/link/component.d.ts +11 -13
- package/dist/types/components/link-button/component.d.ts +9 -11
- package/dist/types/components/meter/component.d.ts +19 -17
- package/dist/types/components/modal/component.d.ts +5 -5
- package/dist/types/components/nav/component.d.ts +9 -8
- package/dist/types/components/pagination/component.d.ts +10 -9
- package/dist/types/components/popover-button/base.d.ts +1 -1
- package/dist/types/components/popover-button/component.d.ts +9 -9
- package/dist/types/components/progress/component.d.ts +11 -9
- package/dist/types/components/{_skeleton/public-api → public-api}/contract.d.ts +1 -6
- package/dist/types/components/quote/component.d.ts +9 -7
- package/dist/types/components/select/component.d.ts +21 -20
- package/dist/types/components/single-select/component.d.ts +21 -20
- package/dist/types/components/{_skeleton/web-components/skeleton → skeleton}/component.d.ts +8 -7
- package/dist/types/components/skip-nav/component.d.ts +2 -1
- package/dist/types/components/spin/component.d.ts +7 -5
- package/dist/types/components/split-button/component.d.ts +13 -13
- package/dist/types/components/table-stateful/component.d.ts +9 -9
- package/dist/types/components/table-stateless/base.d.ts +6 -4
- package/dist/types/components/table-stateless/component.d.ts +5 -5
- package/dist/types/components/tabs/component.d.ts +5 -4
- package/dist/types/components/textarea/component.d.ts +29 -28
- package/dist/types/components/toolbar/component.d.ts +5 -4
- package/dist/types/components/tree/component.d.ts +2 -1
- package/dist/types/components/tree-item/component.d.ts +5 -4
- package/dist/types/components/version/component.d.ts +2 -1
- package/dist/types/components.d.ts +1420 -1043
- package/dist/types/core/component-names.d.ts +0 -1
- package/dist/types/core/i18n.d.ts +1 -1
- package/dist/types/e2e/aria-details.d.ts +2 -0
- package/dist/types/e2e/input-behavior-contract.d.ts +0 -1
- package/dist/types/functional-components/index.d.ts +0 -1
- package/dist/types/internal/functional-components/abbr/api.d.ts +1 -1
- package/dist/types/internal/functional-components/alert/api.d.ts +1 -1
- package/dist/types/internal/functional-components/avatar/api.d.ts +1 -1
- package/dist/types/internal/functional-components/avatar/component.d.ts +1 -1
- package/dist/types/internal/functional-components/badge/api.d.ts +4 -4
- package/dist/types/internal/functional-components/badge/component.d.ts +3 -2
- package/dist/types/internal/functional-components/base-web-component.d.ts +5 -1
- package/dist/types/internal/functional-components/breadcrumb/api.d.ts +1 -1
- package/dist/types/internal/functional-components/button/api.d.ts +2 -2
- package/dist/types/internal/functional-components/button/component.d.ts +1 -1
- package/dist/types/internal/functional-components/button/item.d.ts +1 -3
- package/dist/types/internal/functional-components/card/api.d.ts +2 -2
- package/dist/types/internal/functional-components/card/component.d.ts +5 -2
- package/dist/types/internal/functional-components/collapsible/api.d.ts +2 -2
- package/dist/types/internal/functional-components/combobox/api.d.ts +4 -4
- package/dist/types/internal/functional-components/counter/api.d.ts +1 -1
- package/dist/types/internal/functional-components/dialog/api.d.ts +2 -2
- package/dist/types/internal/functional-components/dialog/item.d.ts +2 -2
- package/dist/types/internal/functional-components/drawer/api.d.ts +2 -2
- package/dist/types/internal/functional-components/drawer/component.d.ts +1 -1
- package/dist/types/internal/functional-components/form/api.d.ts +1 -1
- package/dist/types/internal/functional-components/form-association/api.d.ts +1 -1
- package/dist/types/internal/functional-components/form-association/behavior.d.ts +0 -3
- package/dist/types/internal/functional-components/form-field/api.d.ts +3 -3
- package/dist/types/internal/functional-components/form-field/base-web-component.d.ts +5 -0
- package/dist/types/internal/functional-components/form-field/component.d.ts +2 -2
- package/dist/types/internal/functional-components/form-field/default-input-props.d.ts +4 -3
- package/dist/types/internal/functional-components/form-field/field-control.d.ts +2 -2
- package/dist/types/internal/functional-components/form-field/label.d.ts +2 -1
- package/dist/types/internal/functional-components/generic-types.d.ts +6 -5
- package/dist/types/internal/functional-components/heading/api.d.ts +2 -2
- package/dist/types/internal/functional-components/heading/component.d.ts +1 -1
- package/dist/types/internal/functional-components/icon/api.d.ts +1 -1
- package/dist/types/internal/functional-components/image/api.d.ts +2 -2
- package/dist/types/internal/functional-components/input-checkbox/api.d.ts +3 -3
- package/dist/types/internal/functional-components/input-color/api.d.ts +6 -6
- package/dist/types/internal/functional-components/input-date/api.d.ts +6 -6
- package/dist/types/internal/functional-components/input-email/api.d.ts +6 -6
- package/dist/types/internal/functional-components/input-file/api.d.ts +6 -6
- package/dist/types/internal/functional-components/input-number/api.d.ts +6 -6
- package/dist/types/internal/functional-components/input-password/api.d.ts +6 -6
- package/dist/types/internal/functional-components/input-radio/api.d.ts +3 -3
- package/dist/types/internal/functional-components/input-range/api.d.ts +4 -4
- package/dist/types/internal/functional-components/input-text/api.d.ts +6 -6
- package/dist/types/internal/functional-components/kolibri/api.d.ts +1 -1
- package/dist/types/internal/functional-components/kolibri/component.d.ts +1 -1
- package/dist/types/internal/functional-components/link/api.d.ts +2 -2
- package/dist/types/internal/functional-components/link/component.d.ts +1 -1
- package/dist/types/internal/functional-components/link/item.d.ts +2 -1
- package/dist/types/internal/functional-components/meter/api.d.ts +11 -2
- package/dist/types/internal/functional-components/meter/component.d.ts +4 -1
- package/dist/types/internal/functional-components/nav/api.d.ts +2 -2
- package/dist/types/internal/functional-components/nav/component.d.ts +1 -1
- package/dist/types/internal/functional-components/pagination/api.d.ts +2 -2
- package/dist/types/internal/functional-components/pagination/component.d.ts +2 -2
- package/dist/types/internal/functional-components/pagination/item.d.ts +6 -4
- package/dist/types/internal/functional-components/pagination/page-size-select.d.ts +2 -0
- package/dist/types/internal/functional-components/popover-button/api.d.ts +2 -2
- package/dist/types/internal/functional-components/progress/api.d.ts +11 -2
- package/dist/types/internal/functional-components/progress/component.d.ts +1 -1
- package/dist/types/internal/functional-components/props-from-config.d.ts +4 -1
- package/dist/types/internal/functional-components/quote/api.d.ts +2 -2
- package/dist/types/internal/functional-components/quote/component.d.ts +1 -1
- package/dist/types/internal/functional-components/select/api.d.ts +4 -4
- package/dist/types/internal/functional-components/single-select/api.d.ts +4 -4
- package/dist/types/internal/functional-components/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/spin/component.d.ts +1 -1
- package/dist/types/internal/functional-components/table-stateful/api.d.ts +2 -2
- package/dist/types/internal/functional-components/table-stateless/api.d.ts +2 -2
- package/dist/types/internal/functional-components/table-stateless/component.d.ts +2 -1
- package/dist/types/internal/functional-components/table-stateless/table-model.d.ts +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/bem-registry.d.ts +75 -0
- 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 -2
- 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/quote.d.ts +0 -5
- package/dist/types/schema/props/secondary-headline.d.ts +1 -0
- package/dist/types/schema/props/selected.d.ts +1 -0
- package/dist/types/schema/props/sibling-count.d.ts +1 -0
- package/dist/types/schema/props/sizes.d.ts +1 -0
- package/dist/types/schema/props/src.d.ts +1 -0
- package/dist/types/schema/props/srcset.d.ts +1 -0
- package/dist/types/schema/props/table-loading.d.ts +1 -0
- package/dist/types/schema/props/value-number-clamped.d.ts +1 -0
- package/dist/types/schema/props/value-string.d.ts +1 -0
- package/dist/types/schema/types/button-link-text.d.ts +4 -4
- package/dist/types/schema/utils/dev.utils.d.ts +1 -0
- package/dist/types/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 +2 -2
- package/doc/button.md +1 -1
- package/doc/card.md +2 -2
- package/doc/combobox.md +23 -23
- package/doc/details.md +1 -1
- package/doc/dialog.md +1 -1
- package/doc/drawer.md +1 -1
- package/doc/heading.md +5 -5
- package/doc/input-checkbox.md +23 -23
- package/doc/input-color.md +22 -22
- package/doc/input-date.md +28 -28
- package/doc/input-email.md +30 -30
- package/doc/input-file.md +22 -22
- package/doc/input-number.md +28 -28
- package/doc/input-password.md +29 -29
- package/doc/input-radio.md +19 -19
- package/doc/input-range.md +24 -24
- package/doc/input-text.md +31 -31
- package/doc/link-button.md +5 -5
- package/doc/link.md +6 -6
- 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 +24 -24
- 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 +3 -3
- package/doc/tree-item.md +6 -6
- package/package.json +3 -10
- package/vscode-custom-data.json +38 -38
- package/dist/cjs/align-NV74hwT0.js +0 -22
- package/dist/cjs/api-BBdhCCKv.js +0 -73
- package/dist/cjs/api-BlwpFlt1.js +0 -96
- package/dist/cjs/component-B_EvGSM0.js +0 -22
- package/dist/cjs/component-kxdSa2S4.js +0 -36
- package/dist/cjs/component-plNY-StC.js +0 -13
- package/dist/cjs/disabled-wIEbt0Gz.js +0 -10
- package/dist/cjs/has-closer-4Czygcsx.js +0 -10
- package/dist/cjs/href-B2aqb6-P.js +0 -12
- package/dist/cjs/isArray-BOIOdEQh.js +0 -163
- package/dist/cjs/kol-tooltip-wc.cjs.entry.js +0 -82
- package/dist/cjs/label-DeUoiK6M.js +0 -39
- package/dist/cjs/label-with-expert-slot-B1k6ppMF.js +0 -10
- package/dist/cjs/level-DGDM1aXl.js +0 -11
- package/dist/cjs/link-target-PjKWXgno.js +0 -10
- package/dist/cjs/links-0QyGYlHz.js +0 -15
- package/dist/cjs/multiple-BoCGiGxR.js +0 -10
- package/dist/cjs/name-BZcwC1Zd.js +0 -10
- package/dist/cjs/open-ui_yY8GH.js +0 -10
- package/dist/cjs/placeholder-CCYSgsip.js +0 -10
- package/dist/cjs/read-only-KKKbZyk5.js +0 -10
- package/dist/cjs/required-CeiUcxrv.js +0 -10
- package/dist/cjs/resolve-props-BcGzqFFR.js +0 -58
- package/dist/cjs/resolve-props-Cv67cUZA.js +0 -60
- package/dist/cjs/rows-BWBG8nDk.js +0 -10
- package/dist/cjs/spell-check-DHRle7ui.js +0 -10
- package/dist/cjs/src-B6CU1zD0.js +0 -10
- package/dist/cjs/step-kuREYDVE.js +0 -10
- package/dist/cjs/unique-nav-labels-CuHbVHx9.js +0 -22
- package/dist/cjs/unit-DHpzrXY7.js +0 -13
- package/dist/cjs/value-string-BtfdnGIb.js +0 -10
- package/dist/cjs/variant-CxQO5qFu.js +0 -106
- package/dist/collection/components/@else/all/component.js +0 -17
- package/dist/collection/components/@else/counter/component.js +0 -29
- package/dist/collection/components/component-list.js +0 -105
- package/dist/collection/components/heading/validation.js +0 -11
- package/dist/collection/components/tooltip/component.js +0 -204
- package/dist/collection/functional-components/Heading/index.js +0 -5
- package/dist/collection/internal/functional-components/form-field/custom-suggestions.test.js +0 -55
- package/dist/collection/internal/functional-components/form-field/field-control.test.js +0 -57
- package/dist/collection/internal/functional-components/form-field/input-shell.test.js +0 -43
- package/dist/collection/internal/functional-components/form-field/select.test.js +0 -140
- package/dist/collection/internal/functional-components/form-field/snapshot.test.js +0 -43
- package/dist/collection/internal/functional-components/form-field/textarea.test.js +0 -18
- package/dist/collection/internal/functional-components/popover/snapshot.test.js +0 -15
- package/dist/collection/internal/functional-components/span/snapshot.test.js +0 -70
- package/dist/collection/internal/props/hints/index.js +0 -4
- package/dist/collection/internal/props/pagination-label.js +0 -6
- package/dist/collection/schema/components/input.js +0 -4
- package/dist/collection/schema/props/variant/spin.js +0 -8
- package/dist/collection/schema/props/variant-quote.js +0 -11
- package/dist/collection/schema/validators/window.js +0 -4
- package/dist/components/align.js +0 -4
- package/dist/components/api.js +0 -4
- package/dist/components/api2.js +0 -4
- package/dist/components/common.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/components/variant.js +0 -4
- package/dist/esm/align-DsFuqEf5.js +0 -20
- package/dist/esm/api-CvPkoAAG.js +0 -67
- package/dist/esm/component-CySyXSru.js +0 -19
- package/dist/esm/component-DqHI-AwD.js +0 -27
- package/dist/esm/component-DxddScWx.js +0 -34
- package/dist/esm/component-YhEwg1LK.js +0 -11
- package/dist/esm/href-OaK1sDT5.js +0 -9
- package/dist/esm/isArray-CcrBs4JM.js +0 -156
- 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/esm/unique-nav-labels-Bh3w7dCH.js +0 -19
- package/dist/kolibri/align-DsFuqEf5.js +0 -4
- package/dist/kolibri/api-B9mpTRGa.js +0 -4
- package/dist/kolibri/api-CvPkoAAG.js +0 -4
- package/dist/kolibri/api-hAvZrw9X.js +0 -4
- package/dist/kolibri/app-globals-Dff_iJYF.js +0 -4
- package/dist/kolibri/aria-labelledby-BRToXqsQ.js +0 -4
- package/dist/kolibri/base-7FEvBJ3L.js +0 -4
- package/dist/kolibri/base-COT79ELt.js +0 -4
- package/dist/kolibri/base-CsJWjTJl.js +0 -4
- package/dist/kolibri/base-Df1bwC8d.js +0 -4
- package/dist/kolibri/base-web-component-Bcoukts3.js +0 -4
- package/dist/kolibri/base-web-component-C1XSz7ML.js +0 -4
- package/dist/kolibri/base-web-component-cTyj95G-.js +0 -4
- package/dist/kolibri/behavior-BMW-_4Oy.js +0 -4
- package/dist/kolibri/behavior-BlS6DO8T.js +0 -4
- package/dist/kolibri/behavior-Zr6qAX7F.js +0 -4
- package/dist/kolibri/bootstrap-DTVsVq0w.js +0 -4
- package/dist/kolibri/color-9CMp_pOq.js +0 -4
- package/dist/kolibri/common-D03JQJgy.js +0 -4
- package/dist/kolibri/component-BkjWlzLc.js +0 -4
- package/dist/kolibri/component-BmJGOcby.js +0 -4
- package/dist/kolibri/component-C_Te18y_.js +0 -4
- package/dist/kolibri/component-CySyXSru.js +0 -4
- package/dist/kolibri/component-DHl33p9J.js +0 -4
- package/dist/kolibri/component-DeWynlzi.js +0 -4
- package/dist/kolibri/component-DqHI-AwD.js +0 -4
- package/dist/kolibri/component-DxddScWx.js +0 -4
- package/dist/kolibri/component-DzVHCXnG.js +0 -4
- package/dist/kolibri/component-Ik_-HAMT.js +0 -4
- package/dist/kolibri/component-YhEwg1LK.js +0 -4
- package/dist/kolibri/contrast-BK5uVXeb.js +0 -4
- package/dist/kolibri/controller-Bf-CAo4Q.js +0 -4
- package/dist/kolibri/dev.utils-BgjegQC8.js +0 -4
- package/dist/kolibri/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/group-Ce5pMiZJ.js +0 -4
- package/dist/kolibri/has-closer-C9L79ect.js +0 -4
- package/dist/kolibri/href-OaK1sDT5.js +0 -4
- package/dist/kolibri/i18n-DRQl0u--.js +0 -4
- package/dist/kolibri/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/options-CR431ims.js +0 -4
- package/dist/kolibri/orientation-C9FRNmPD.js +0 -4
- package/dist/kolibri/placeholder-Bwzvbwhh.js +0 -4
- package/dist/kolibri/read-only-C5fDsZVK.js +0 -4
- package/dist/kolibri/required-CC0212MQ.js +0 -4
- package/dist/kolibri/resolve-props-47S-r31C.js +0 -4
- package/dist/kolibri/resolve-props-CnHCiXuG.js +0 -4
- package/dist/kolibri/rows-CUHDEUm9.js +0 -4
- package/dist/kolibri/smart-button-BHM06d-t.js +0 -4
- package/dist/kolibri/spell-check-DiSedaOR.js +0 -4
- package/dist/kolibri/src-CsLEg--w.js +0 -4
- package/dist/kolibri/step-BxSThOke.js +0 -4
- package/dist/kolibri/suggestions-B79TOsF_.js +0 -4
- package/dist/kolibri/suggestions-C38q-5JU.js +0 -4
- package/dist/kolibri/toggle-handler-CQ0FhBmD.js +0 -4
- package/dist/kolibri/unique-nav-labels-Bh3w7dCH.js +0 -4
- package/dist/kolibri/unit-BgjPEae-.js +0 -4
- package/dist/kolibri/value-string-BDfywbme.js +0 -4
- package/dist/kolibri/variant-PJN56KWi.js +0 -4
- package/dist/kolibri/width-CAS8lhOU.js +0 -4
- package/dist/types/components/@else/all/component.d.ts +0 -12
- package/dist/types/components/@else/counter/component.d.ts +0 -9
- package/dist/types/components/_skeleton/web-components/click-button/component.d.ts +0 -14
- package/dist/types/components/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/props/variant/spin.d.ts +0 -8
- package/dist/types/schema/props/variant-quote.d.ts +0 -7
- package/dist/types/schema/validators/window.d.ts +0 -0
- package/doc/_skeleton.md +0 -79
- /package/dist/{types/internal/functional-components/form-field/custom-suggestions.test.d.ts → collection/schema/props/allow-markdown.js} +0 -0
- /package/dist/{types/internal/functional-components/form-field/field-control.test.d.ts → collection/schema/props/boundary-count.js} +0 -0
- /package/dist/{types/internal/functional-components/form-field/input-shell.test.d.ts → collection/schema/props/has-clear-button.js} +0 -0
- /package/dist/{types/internal/functional-components/form-field/select.test.d.ts → collection/schema/props/high.js} +0 -0
- /package/dist/{types/internal/functional-components/form-field/snapshot.test.d.ts → collection/schema/props/labeled.js} +0 -0
- /package/dist/{types/internal/functional-components/form-field/textarea.test.d.ts → collection/schema/props/low.js} +0 -0
- /package/dist/{types/internal/functional-components/popover/snapshot.test.d.ts → collection/schema/props/min.js} +0 -0
- /package/dist/{types/internal/functional-components/span/snapshot.test.d.ts → collection/schema/props/optimum.js} +0 -0
package/dist/components/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{E as e,K as t,T as n,d as u,w as d,L as o}from"./common.js";export{a as KoliBriDevHelper,R as getDefaultThemeName}from"./common.js";import{setMode as m}from"@stencil/core/internal/client";export{getAssetPath,render,setAssetPath,setNonce,setPlatformOptions}from"@stencil/core/internal/client";export{s as setCurrentLocation}from"./ariaCurrentService.js";import{i as f}from"./bootstrap.js";export{b as bootstrap,r as register}from"./bootstrap.js";import{K as c}from"./component-names.js";export{B as BEM}from"./bem-registry.js";export{K as KolEvent}from"./events.js";export{i as isTooltipOpen}from"./tooltip-open-tracking.js";const h=new e("kol",t,n),l=(()=>{m((e=>{try{e.shadowRoot instanceof ShadowRoot&&u(e,d(e))}catch(e){}return"default"})),import("./devtools.js").then((e=>{"object"==typeof e&&null!==e&&"function"==typeof e.initialize&&e.initialize()})).catch((e=>{o.error(e)}))})||(()=>{});class g{constructor(e,t){var n;this.document=e,this.options=t,this.toastContainerElement=this.document.createElement(c),this.document.body.prepend(this.toastContainerElement),(null===(n=this.options)||void 0===n?void 0:n.defaultVariant)&&o.info("ToasterService: Default variant is deprecated. Use 'card' variant for all toasts instead.")}static getInstance(e,t){if(!f())throw Error("Toaster: Call KoliBri bootstrap/register method first.");let n=this.instances.get(e);return n||(n=new g(e,t),this.instances.set(e,n)),n}dispose(){const e=this.toastContainerElement;e?(this.toastContainerElement=void 0,e.remove()):o.warn("Toaster service is already disposed.")}enqueue(e){if(this.toastContainerElement&&"function"==typeof this.toastContainerElement.enqueue)return this.toastContainerElement.enqueue(e)}closeAll(e=!1){this.toastContainerElement&&"function"==typeof this.toastContainerElement.closeAll&&this.toastContainerElement.closeAll(e)}}var p;g.instances=new Map,function(e){e["Die Bundesregierung"]="BReg",e["Bundesministerium der Finanzen"]="BMF",e["Bundesministerium des Innern, für Bau und Heimat"]="BMI",e["Auswärtiges Amt"]="AA",e["Bundesministerium für Wirtschaft und Energie"]="BMWi",e["Bundesministerium der Justiz und für Verbraucherschutz"]="BMJV",e["Bundesministerium für Arbeit und Soziales"]="BMAS",e["Bundesministerium der Verteidigung"]="BMVg",e["Bundesministerium für Ernährung und Landwirtschaft"]="BMEL",e["Bundesministerium für Familie, Senioren, Frauen und Jugend"]="BMFSFJ",e["Bundesministerium für Gesundheit"]="BMG",e["Bundesministerium für Verkehr und digitale Infrastruktur"]="BMVI",e["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"]="BMU",e["Bundesministerium für Bildung und Forschung"]="BMBF",e["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"]="BMZ"}(p||(p={}));const A=Object.getOwnPropertyNames(p);var M;!function(e){e["Beschaffungsamt des Bundesministeriums des Innern"]="BeschA",e["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"]="BAAINBw",e["Bundesamt für äußere Restitutionen"]="BAR",e["Bundesamt für Bauwesen und Raumordnung"]="BBR",e["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"]="BBK",e["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"]="BAFzA",e["Bundesamt für Güterverkehr"]="BAG",e["Bundesamt für Justiz"]="BfJ",e["Bundesamt für Kartographie und Geodäsie"]="BKG",e["Bundesamt für kerntechnische Entsorgungssicherheit"]="BASE",e["Bundesamt für Migration und Flüchtlinge"]="BAMF",e["Bundesamt für Sicherheit in der Informationstechnik"]="BSI",e["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"]="BVL",e["Bundesamt für Verfassungsschutz"]="BfV",e["Bundesamt für Wirtschaft und Ausfuhrkontrolle"]="BAFA",e["Bundesamt für zentrale Dienste und offene Vermögensfragen"]="BADV",e["Bundesanstalt für Verwaltungsdienstleistungen"]="BAV",e.Bundesarchiv="BArch",e["Bundesaufsichtsamt für Flugsicherung"]="BAF",e.Bundesausgleichsamt="BAA",e.Bundeskartellamt="BKartA",e.Bundeskriminalamt="BKA",e.Bundesnachrichtendienst="BND",e["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"]="BNetzA",e["Bundespolizeipräsidium"]="BPOLP",e["Bundesprüfstelle für jugendgefährdende Medien"]="BPjM",e.Bundessortenamt="BSA",e.Bundessprachenamt="BSprA",e["Bundesamt für Soziale Sicherung"]="BAS",e.Bundesverwaltungsamt="BVA",e["Bundeszentralamt für Steuern"]="BZSt",e["Deutsches Patent- und Markenamt"]="DPMA",e["Eisenbahn-Bundesamt"]="EBA",e.Generalzolldirektion="GZD",e["Militärischer Abschirmdienst"]="MAD",e["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"]="ZITiS"}(M||(M={}));const S=Object.getOwnPropertyNames(M);var v;!function(e){e["Informationstechnikzentrum Bund"]="ITZBund",e["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"]="BDBOS",e["Bundesanstalt für Landwirtschaft und Ernährung"]="BLE",e["Bundesanstalt Technisches Hilfswerk"]="THW",e["Bundesinstitut für Arzneimittel und Medizinprodukte"]="BfArM",e["Bundesinstitut für Bevölkerungsforschung"]="BiB",e["Bundesinstitut für Sportwissenschaft"]="BISp"}(v||(v={}));const k=Object.getOwnPropertyNames(v),z=new Map;z.set(p["Die Bundesregierung"],["Die","Bundesregierung"]),z.set(p["Bundesministerium der Finanzen"],["Bundesministerium","der Finanzen"]),z.set(p["Bundesministerium des Innern, für Bau und Heimat"],["Bundesministerium","des Inneren, für Bau","und Heimat"]),z.set(p["Auswärtiges Amt"],["Auswärtiges Amt"]),z.set(p["Bundesministerium für Wirtschaft und Energie"],["Bundesministerium","für Wirtschaft","und Energie"]),z.set(p["Bundesministerium der Justiz und für Verbraucherschutz"],["Bundesministerium","der Justiz und","für Verbraucherschutz"]),z.set(p["Bundesministerium für Arbeit und Soziales"],["Bundesministerium","für Arbeit und Soziales"]),z.set(p["Bundesministerium der Verteidigung"],["Bundesministerium","der Verteidigung"]),z.set(p["Bundesministerium für Bildung und Forschung"],["Bundesministerium","für Bildung","und Forschung"]),z.set(p["Bundesministerium für Ernährung und Landwirtschaft"],["Bundesministerium","für Ernährung","und Landwirtschaft"]),z.set(p["Bundesministerium für Familie, Senioren, Frauen und Jugend"],["Bundesministerium","für Familie, Senioren, Frauen","und Jugend"]),z.set(p["Bundesministerium für Gesundheit"],["Bundesministerium","für Gesundheit"]),z.set(p["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"],["Bundesministerium","für Umwelt, Naturschutz","und nukleare Sicherheit"]),z.set(p["Bundesministerium für Verkehr und digitale Infrastruktur"],["Bundesministerium","für Verkehr und","digitale Infrastruktur"]),z.set(p["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"],["Bundesministerium","für wirtschaftliche Zusammenarbeit","und Entwicklung"]),z.set(M["Beschaffungsamt des Bundesministeriums des Innern"],["Beschaffungsamt","des Bundesministeriums","des Innern"]),z.set(M["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"],[]),z.set(M["Bundesamt für äußere Restitutionen"],[]),z.set(M["Bundesamt für Bauwesen und Raumordnung"],[]),z.set(M["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"],["Bundesamt","für Bevölkerungsschutz","und Katastrophenhilfe"]),z.set(M["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"],["Bundesamt","für Familie und","zivilgesellschaftliche Aufgaben"]),z.set(M["Bundesamt für Güterverkehr"],["Bundesamt","für Güterverkehr"]),z.set(M["Bundesamt für Justiz"],["Bundesamt für","Justiz"]),z.set(M["Bundesamt für Kartographie und Geodäsie"],["Bundesamt für","Kartographie und Geodäsie"]),z.set(M["Bundesamt für kerntechnische Entsorgungssicherheit"],["Bundesamt für","kerntechnische","Entsorgungssicherheit"]),z.set(M["Bundesamt für Migration und Flüchtlinge"],["Bundesamt","für Migration","und Flüchtlinge"]),z.set(M["Bundesamt für Sicherheit in der Informationstechnik"],["Bundesamt","für Sicherheit in der","Informationstechnik"]),z.set(M["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"],["Bundesamt für","Verbraucherschutz und","Lebensmittelsicherheit"]),z.set(M["Bundesamt für Verfassungsschutz"],["Bundesamt für","Verfassungsschutz"]),z.set(M["Bundesamt für Wirtschaft und Ausfuhrkontrolle"],["Bundesamt","für Wirtschaft","Ausfuhrkontrolle"]),z.set(M["Bundesamt für zentrale Dienste und offene Vermögensfragen"],["Bundesamt","für zentrale Dienste und","offene Vermögensfragen"]),z.set(M["Bundesanstalt für Verwaltungsdienstleistungen"],["Bundesanstalt","für Verwaltungsdienstleistungen"]),z.set(M.Bundesarchiv,["Das","Bundesarchiv"]),z.set(M["Bundesaufsichtsamt für Flugsicherung"],["Bundesaufsichtsamt","für Flugsicherung"]),z.set(M.Bundesausgleichsamt,["Bundesausgleichsamt"]),z.set(M.Bundeskartellamt,["Bundeskartellamt"]),z.set(M.Bundeskriminalamt,["Bundeskriminalamt"]),z.set(M.Bundesnachrichtendienst,["Bundesnachrichtendienst"]),z.set(M["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"],["Bundesnetzagentur"]),z.set(M["Bundespolizeipräsidium"],["Bundespolizeipräsidium"]),z.set(M["Bundesprüfstelle für jugendgefährdende Medien"],["Bundesprüfstelle","für jugendgefährdende","Medien"]),z.set(M.Bundessortenamt,["Bundessortenamt"]),z.set(M.Bundessprachenamt,["Bundessprachenamt"]),z.set(M["Bundesamt für Soziale Sicherung"],["Bundesamt","für Soziale Sicherung"]),z.set(M.Bundesverwaltungsamt,["Bundesverwaltungsamt"]),z.set(M["Bundeszentralamt für Steuern"],["Bundeszentralamt","für Steuern"]),z.set(M["Deutsches Patent- und Markenamt"],["Deutsches","Patent- und Markenamt"]),z.set(M["Eisenbahn-Bundesamt"],["Eisenbahn-Bundesamt"]),z.set(M.Generalzolldirektion,["Generalzolldirektion"]),z.set(M["Militärischer Abschirmdienst"],["Bundesamt für den","Militärischen Abschirmdienst"]),z.set(M["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"],["Zentrale Stelle","für Informationstechnik","im Sicherheitsbereich"]),z.set(v["Informationstechnikzentrum Bund"],["Informations","Technik","Zentrum Bund"]),z.set(v["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"],["Bundesanstalt","für den Digitalfunk der Behörden und","Organisationen mit Sicherheitsaufgaben"]),z.set(v["Bundesanstalt für Landwirtschaft und Ernährung"],["Bundesanstalt für","Landwirtschaft und Ernährung"]),z.set(v["Bundesanstalt Technisches Hilfswerk"],["Bundesanstalt","Technisches Hilfswerk"]),z.set(v["Bundesinstitut für Arzneimittel und Medizinprodukte"],["Bundesinstitut","für Arzneimittel","und Medizinprodukte"]),z.set(v["Bundesinstitut für Bevölkerungsforschung"],["Bundesinstitut","für Bevölkerungsforschung"]),z.set(v["Bundesinstitut für Sportwissenschaft"],["Bundesinstitut","für Sportwissenschaft"]),l();export{S as BUNDESAEMTER,k as BUNDESANSTALTEN,A as BUNDESMINISTERIEN,z as BUND_LOGO_TEXT_MAP,M as Bundesamt,v as Bundesanstalt,p as Bundesministerium,h as KoliBri,g as ToasterService,f as isInitialized}
|
|
4
|
+
import{E as e,K as t,T as n,d as u,w as d,L as o}from"./bem-registry.js";export{B as BEM,a as KoliBriDevHelper,R as getDefaultThemeName}from"./bem-registry.js";import{setMode as m}from"@stencil/core/internal/client";export{getAssetPath,render,setAssetPath,setNonce,setPlatformOptions}from"@stencil/core/internal/client";export{s as setCurrentLocation}from"./ariaCurrentService.js";import{i as f}from"./bootstrap.js";export{b as bootstrap,r as register}from"./bootstrap.js";import{K as h}from"./component-names.js";export{K as KolEvent}from"./events.js";export{i as isTooltipOpen}from"./tooltip-open-tracking.js";const c=new e("kol",t,n),l=(()=>{m((e=>{try{e.shadowRoot instanceof ShadowRoot&&u(e,d(e))}catch(e){}return"default"})),import("./devtools.js").then((e=>{"object"==typeof e&&null!==e&&"function"==typeof e.initialize&&e.initialize()})).catch((e=>{o.error(e)}))})||(()=>{});class g{constructor(e,t){var n;this.document=e,this.options=t,this.toastContainerElement=this.document.createElement(h),this.document.body.prepend(this.toastContainerElement),(null===(n=this.options)||void 0===n?void 0:n.defaultVariant)&&o.info("ToasterService: Default variant is deprecated. Use 'card' variant for all toasts instead.")}static getInstance(e,t){if(!f())throw Error("Toaster: Call KoliBri bootstrap/register method first.");let n=this.instances.get(e);return n||(n=new g(e,t),this.instances.set(e,n)),n}dispose(){const e=this.toastContainerElement;e?(this.toastContainerElement=void 0,e.remove()):o.warn("Toaster service is already disposed.")}enqueue(e){if(this.toastContainerElement&&"function"==typeof this.toastContainerElement.enqueue)return this.toastContainerElement.enqueue(e)}closeAll(e=!1){this.toastContainerElement&&"function"==typeof this.toastContainerElement.closeAll&&this.toastContainerElement.closeAll(e)}}var p;g.instances=new Map,function(e){e["Die Bundesregierung"]="BReg",e["Bundesministerium der Finanzen"]="BMF",e["Bundesministerium des Innern, für Bau und Heimat"]="BMI",e["Auswärtiges Amt"]="AA",e["Bundesministerium für Wirtschaft und Energie"]="BMWi",e["Bundesministerium der Justiz und für Verbraucherschutz"]="BMJV",e["Bundesministerium für Arbeit und Soziales"]="BMAS",e["Bundesministerium der Verteidigung"]="BMVg",e["Bundesministerium für Ernährung und Landwirtschaft"]="BMEL",e["Bundesministerium für Familie, Senioren, Frauen und Jugend"]="BMFSFJ",e["Bundesministerium für Gesundheit"]="BMG",e["Bundesministerium für Verkehr und digitale Infrastruktur"]="BMVI",e["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"]="BMU",e["Bundesministerium für Bildung und Forschung"]="BMBF",e["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"]="BMZ"}(p||(p={}));const A=Object.getOwnPropertyNames(p);var M;!function(e){e["Beschaffungsamt des Bundesministeriums des Innern"]="BeschA",e["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"]="BAAINBw",e["Bundesamt für äußere Restitutionen"]="BAR",e["Bundesamt für Bauwesen und Raumordnung"]="BBR",e["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"]="BBK",e["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"]="BAFzA",e["Bundesamt für Güterverkehr"]="BAG",e["Bundesamt für Justiz"]="BfJ",e["Bundesamt für Kartographie und Geodäsie"]="BKG",e["Bundesamt für kerntechnische Entsorgungssicherheit"]="BASE",e["Bundesamt für Migration und Flüchtlinge"]="BAMF",e["Bundesamt für Sicherheit in der Informationstechnik"]="BSI",e["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"]="BVL",e["Bundesamt für Verfassungsschutz"]="BfV",e["Bundesamt für Wirtschaft und Ausfuhrkontrolle"]="BAFA",e["Bundesamt für zentrale Dienste und offene Vermögensfragen"]="BADV",e["Bundesanstalt für Verwaltungsdienstleistungen"]="BAV",e.Bundesarchiv="BArch",e["Bundesaufsichtsamt für Flugsicherung"]="BAF",e.Bundesausgleichsamt="BAA",e.Bundeskartellamt="BKartA",e.Bundeskriminalamt="BKA",e.Bundesnachrichtendienst="BND",e["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"]="BNetzA",e["Bundespolizeipräsidium"]="BPOLP",e["Bundesprüfstelle für jugendgefährdende Medien"]="BPjM",e.Bundessortenamt="BSA",e.Bundessprachenamt="BSprA",e["Bundesamt für Soziale Sicherung"]="BAS",e.Bundesverwaltungsamt="BVA",e["Bundeszentralamt für Steuern"]="BZSt",e["Deutsches Patent- und Markenamt"]="DPMA",e["Eisenbahn-Bundesamt"]="EBA",e.Generalzolldirektion="GZD",e["Militärischer Abschirmdienst"]="MAD",e["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"]="ZITiS"}(M||(M={}));const S=Object.getOwnPropertyNames(M);var v;!function(e){e["Informationstechnikzentrum Bund"]="ITZBund",e["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"]="BDBOS",e["Bundesanstalt für Landwirtschaft und Ernährung"]="BLE",e["Bundesanstalt Technisches Hilfswerk"]="THW",e["Bundesinstitut für Arzneimittel und Medizinprodukte"]="BfArM",e["Bundesinstitut für Bevölkerungsforschung"]="BiB",e["Bundesinstitut für Sportwissenschaft"]="BISp"}(v||(v={}));const k=Object.getOwnPropertyNames(v),z=new Map;z.set(p["Die Bundesregierung"],["Die","Bundesregierung"]),z.set(p["Bundesministerium der Finanzen"],["Bundesministerium","der Finanzen"]),z.set(p["Bundesministerium des Innern, für Bau und Heimat"],["Bundesministerium","des Inneren, für Bau","und Heimat"]),z.set(p["Auswärtiges Amt"],["Auswärtiges Amt"]),z.set(p["Bundesministerium für Wirtschaft und Energie"],["Bundesministerium","für Wirtschaft","und Energie"]),z.set(p["Bundesministerium der Justiz und für Verbraucherschutz"],["Bundesministerium","der Justiz und","für Verbraucherschutz"]),z.set(p["Bundesministerium für Arbeit und Soziales"],["Bundesministerium","für Arbeit und Soziales"]),z.set(p["Bundesministerium der Verteidigung"],["Bundesministerium","der Verteidigung"]),z.set(p["Bundesministerium für Bildung und Forschung"],["Bundesministerium","für Bildung","und Forschung"]),z.set(p["Bundesministerium für Ernährung und Landwirtschaft"],["Bundesministerium","für Ernährung","und Landwirtschaft"]),z.set(p["Bundesministerium für Familie, Senioren, Frauen und Jugend"],["Bundesministerium","für Familie, Senioren, Frauen","und Jugend"]),z.set(p["Bundesministerium für Gesundheit"],["Bundesministerium","für Gesundheit"]),z.set(p["Bundesministerium für Umwelt, Naturschutz und nukleare Sicherheit"],["Bundesministerium","für Umwelt, Naturschutz","und nukleare Sicherheit"]),z.set(p["Bundesministerium für Verkehr und digitale Infrastruktur"],["Bundesministerium","für Verkehr und","digitale Infrastruktur"]),z.set(p["Bundesministerium für wirtschaftliche Zusammenarbeit und Entwicklung"],["Bundesministerium","für wirtschaftliche Zusammenarbeit","und Entwicklung"]),z.set(M["Beschaffungsamt des Bundesministeriums des Innern"],["Beschaffungsamt","des Bundesministeriums","des Innern"]),z.set(M["Bundesamt für Ausrüstung, Informationstechnik und Nutzung der Bundeswehr"],[]),z.set(M["Bundesamt für äußere Restitutionen"],[]),z.set(M["Bundesamt für Bauwesen und Raumordnung"],[]),z.set(M["Bundesamt für Bevölkerungsschutz und Katastrophenhilfe"],["Bundesamt","für Bevölkerungsschutz","und Katastrophenhilfe"]),z.set(M["Bundesamt für Familie und zivilgesellschaftliche Aufgaben"],["Bundesamt","für Familie und","zivilgesellschaftliche Aufgaben"]),z.set(M["Bundesamt für Güterverkehr"],["Bundesamt","für Güterverkehr"]),z.set(M["Bundesamt für Justiz"],["Bundesamt für","Justiz"]),z.set(M["Bundesamt für Kartographie und Geodäsie"],["Bundesamt für","Kartographie und Geodäsie"]),z.set(M["Bundesamt für kerntechnische Entsorgungssicherheit"],["Bundesamt für","kerntechnische","Entsorgungssicherheit"]),z.set(M["Bundesamt für Migration und Flüchtlinge"],["Bundesamt","für Migration","und Flüchtlinge"]),z.set(M["Bundesamt für Sicherheit in der Informationstechnik"],["Bundesamt","für Sicherheit in der","Informationstechnik"]),z.set(M["Bundesamt für Verbraucherschutz und Lebensmittelsicherheit"],["Bundesamt für","Verbraucherschutz und","Lebensmittelsicherheit"]),z.set(M["Bundesamt für Verfassungsschutz"],["Bundesamt für","Verfassungsschutz"]),z.set(M["Bundesamt für Wirtschaft und Ausfuhrkontrolle"],["Bundesamt","für Wirtschaft","Ausfuhrkontrolle"]),z.set(M["Bundesamt für zentrale Dienste und offene Vermögensfragen"],["Bundesamt","für zentrale Dienste und","offene Vermögensfragen"]),z.set(M["Bundesanstalt für Verwaltungsdienstleistungen"],["Bundesanstalt","für Verwaltungsdienstleistungen"]),z.set(M.Bundesarchiv,["Das","Bundesarchiv"]),z.set(M["Bundesaufsichtsamt für Flugsicherung"],["Bundesaufsichtsamt","für Flugsicherung"]),z.set(M.Bundesausgleichsamt,["Bundesausgleichsamt"]),z.set(M.Bundeskartellamt,["Bundeskartellamt"]),z.set(M.Bundeskriminalamt,["Bundeskriminalamt"]),z.set(M.Bundesnachrichtendienst,["Bundesnachrichtendienst"]),z.set(M["Bundesnetzagentur für Elektrizität, Gas, Telekommunikation, Post und Eisenbahnen"],["Bundesnetzagentur"]),z.set(M["Bundespolizeipräsidium"],["Bundespolizeipräsidium"]),z.set(M["Bundesprüfstelle für jugendgefährdende Medien"],["Bundesprüfstelle","für jugendgefährdende","Medien"]),z.set(M.Bundessortenamt,["Bundessortenamt"]),z.set(M.Bundessprachenamt,["Bundessprachenamt"]),z.set(M["Bundesamt für Soziale Sicherung"],["Bundesamt","für Soziale Sicherung"]),z.set(M.Bundesverwaltungsamt,["Bundesverwaltungsamt"]),z.set(M["Bundeszentralamt für Steuern"],["Bundeszentralamt","für Steuern"]),z.set(M["Deutsches Patent- und Markenamt"],["Deutsches","Patent- und Markenamt"]),z.set(M["Eisenbahn-Bundesamt"],["Eisenbahn-Bundesamt"]),z.set(M.Generalzolldirektion,["Generalzolldirektion"]),z.set(M["Militärischer Abschirmdienst"],["Bundesamt für den","Militärischen Abschirmdienst"]),z.set(M["Zentrale Stelle für Informationstechnik im Sicherheitsbereich"],["Zentrale Stelle","für Informationstechnik","im Sicherheitsbereich"]),z.set(v["Informationstechnikzentrum Bund"],["Informations","Technik","Zentrum Bund"]),z.set(v["Bundesanstalt für den Digitalfunk der Behörden und Organisationen mit Sicherheitsaufgaben"],["Bundesanstalt","für den Digitalfunk der Behörden und","Organisationen mit Sicherheitsaufgaben"]),z.set(v["Bundesanstalt für Landwirtschaft und Ernährung"],["Bundesanstalt für","Landwirtschaft und Ernährung"]),z.set(v["Bundesanstalt Technisches Hilfswerk"],["Bundesanstalt","Technisches Hilfswerk"]),z.set(v["Bundesinstitut für Arzneimittel und Medizinprodukte"],["Bundesinstitut","für Arzneimittel","und Medizinprodukte"]),z.set(v["Bundesinstitut für Bevölkerungsforschung"],["Bundesinstitut","für Bevölkerungsforschung"]),z.set(v["Bundesinstitut für Sportwissenschaft"],["Bundesinstitut","für Sportwissenschaft"]),l();export{S as BUNDESAEMTER,k as BUNDESANSTALTEN,A as BUNDESMINISTERIEN,z as BUND_LOGO_TEXT_MAP,M as Bundesamt,v as Bundesanstalt,p as Bundesministerium,c as KoliBri,g as ToasterService,f as isInitialized}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{
|
|
4
|
+
import{G as o,H as t,k as n,p as s,b as r}from"./bem-registry.js";import{c as e}from"./props-from-config.js";import{h as i}from"@stencil/core/internal/client";import{B as l}from"./component10.js";import{I as a}from"./component5.js";import{a as c}from"./tslib.es6.js";import{i as m,g as p}from"./base-web-component2.js";import{c as d}from"./clsx.js";import{B as u}from"./component.js";const f=(o,s,r)=>{n(r)?o[s]=r:t(r,1)&&(o[s]={icon:r})},b=o=>{let n={};return t(o,1)?n={left:{icon:o}}:"object"==typeof o&&null!==o&&(f(n,"top",o.top),f(n,"right",o.right),f(n,"bottom",o.bottom),f(n,"left",o.left)),n},j=e("icons",{},(function(n){let r=n;if("string"==typeof n)try{r=s(n)}catch(o){}if(t(r,1))return b(r);if("object"==typeof r&&null!==r){const n=r;if(0===Object.keys(n).length||["left","right","top","bottom"].some((s=>(n=>t(n,0)||(n=>"object"==typeof n&&null!==n&&(void 0===n.style||o(n.style))&&(void 0===n.label||t(n.label))&&t(n.icon,1))(n))(n[s]))))return b(r)}throw new Error("Invalid icons: "+typeof n)})),g=o=>{var t;return o?i(a,"string"==typeof o?{class:"kol-input-container__icon",icons:o,label:""}:{class:"kol-input-container__icon",icons:o.icon,label:null!==(t=o.label)&&void 0!==t?t:"",style:o.style}):null},v=({icons:o,smartButton:t,startAdornment:n,endAdornment:s})=>({startAdornment:[null!=n?n:null,g(null==o?void 0:o.left)].filter(Boolean),endAdornment:[t?i(l,Object.assign({},t)):null,g(null==o?void 0:o.right),null!=s?s:null].filter(Boolean)}),y=r.forBlock("kol-input-container"),A=(o,t)=>{var{position:n="start",class:s}=o,r=c(o,["position","class"]);return i("div",Object.assign({class:d(y("adornment",{[n]:!0}),s)},r),t)};function h(o){return!!o&&(Array.isArray(o)?o.length>0:Boolean(o))}const B=(o,t)=>{const{class:n,startAdornment:s,endAdornment:r,disabled:e,msg:l,touched:a}=o,d=c(o,["class","startAdornment","endAdornment","disabled","msg","touched"]),f=h(s)||h(r);return i(u,Object.assign({block:"kol-input-container",modifiers:Object.assign({disabled:Boolean(e)},m(l,a)?{[p(l)]:!0}:{}),class:n},d),f&&i(A,{position:"start"},s),i("div",{class:y("container")},t),f&&i(A,{position:"end"},r))};export{B as I,v as g,j as h}
|
package/dist/components/input.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{a as e}from"./tslib.es6.js";import{h as s,Fragment as a}from"@stencil/core/internal/client";import"./
|
|
4
|
+
import{a as e}from"./tslib.es6.js";import{h as s,Fragment as a}from"@stencil/core/internal/client";import"./bem-registry.js";import{i as o,g as i,c as l}from"./base-web-component2.js";import{c as r}from"./clsx.js";import{a as t}from"./dev.utils.js";import{g as d}from"./block-bem.js";const b=b=>{const{class:c,msg:n,required:m,disabled:u,touched:p,readonly:g,ariaDescribedBy:j,hideLabel:y,label:f,suggestions:B,value:h}=b,v=e(b,["class","msg","required","disabled","touched","readonly","ariaDescribedBy","hideLabel","label","suggestions","value"]),q=Object.assign(Object.assign({class:r(d("kol-input")(Object.assign({disabled:Boolean(u),required:Boolean(m),touched:Boolean(p),readonly:Boolean(g)},o(n,p)?{[i(n)]:!0}:{})),c),required:m,disabled:u,readonly:g,type:"text",list:B&&"string"==typeof v.id?t(v.id,"list"):void 0},l({ariaDescribedBy:j,hideLabel:y,label:f})),v);return s(a,null,s("input",Object.assign({},q,{value:h})),B)};export{b as I}
|
package/dist/components/item.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{p as o,a as e}from"./controller.js";import{s as r}from"./
|
|
4
|
+
import{p as o,a as e}from"./controller.js";import{s as r}from"./bem-registry.js";import{n as s}from"./dev.utils.js";import{c as t}from"./element-interaction.js";import{d as l,K as n}from"./events.js";import{B as i}from"./base-web-component.js";import{T as a}from"./behavior.js";import{r as m}from"./resolve-props.js";const c=c=>{const d=new a(i.stateLess),f=t(),p=s();let u,v,j;const b=(o,e)=>{j&&l(j,o,e)},g=s=>{if(s.stopPropagation(),d.hideTooltip(),"submit"===(null==u?void 0:u.type))o({form:j});else if("reset"===(null==u?void 0:u.type))e({form:j});else{const o=null==u?void 0:u.on.onClick;"function"==typeof o&&(r(s,f.el),o(s,v))}b(n.click,v)},h=o=>{var e,r;null===(r=null==u?void 0:(e=u.on).onMouseDown)||void 0===r||r.call(e,o),b(n.mousedown)},y=o=>{var e,r;null===(r=null==u?void 0:(e=u.on).onFocus)||void 0===r||r.call(e,o),b(n.focus)},w=o=>{var e,r;null===(r=null==u?void 0:(e=u.on).onBlur)||void 0===r||r.call(e,o),b(n.blur)},B=o=>{o&&(j=o)};return{getFcProps:(o,e)=>(u=m(o,c()),v=o._value,d.componentWillLoad({label:u.label,align:u.tooltipAlign}),Object.assign(Object.assign(Object.assign({},u),e),{ariaDescriptionId:p,handleBlur:w,handleClick:g,handleFocus:y,handleMouseDown:h,ref:B,refButton:f,refTooltip:d.setTooltipElementRef})),getElement:()=>f.el,getRootElement:()=>j,syncListeners:()=>{f.el&&d.syncListeners(void 0,f.el,!0)},destroy:()=>{d.destroy()}}};export{c}
|
package/dist/components/item2.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{X as o}from"./
|
|
4
|
+
import{X as o}from"./bem-registry.js";import{n as s,c as t}from"./dev.utils.js";import{c as r}from"./element-interaction.js";import{d as e,K as a}from"./events.js";import{e as n,a as i,c as m,d as p}from"./component10.js";import{d as l}from"./disabled.js";import{a as c,c as d,g as f,h as j,i as v,l as b,d as g,s as u,t as h,e as O,v as w}from"./component3.js";import{d as y}from"./props-from-config.js";import{l as x}from"./label-with-expert-slot.js";import{p as D,a as _}from"./behavior4.js";import{B as q}from"./base-web-component.js";import{r as B}from"./resolve-props.js";import{T as F}from"./behavior.js";import{i as K}from"./id.js";import{n as L}from"./name.js";const P={required:[x],optional:[c,d,n,i,m,p,f,l,j,K,v,b,L,D,g,u,h,O,w]},T=n=>{var i;const m=new _(q.stateLess),c=new F(q.stateLess),d=r();let f,b;const g=y(P);delete g.tabIndex;const h=o=>{l.apply(o,(o=>{g.disabled=o}))};h(n.disabled),j.apply(n.hideLabel,(o=>{g.hideLabel=o})),u.apply(n.icons,(o=>{g.icons=o})),v.apply(!1,(o=>{g.inline=o})),O.apply("top",(o=>{g.tooltipAlign=o})),p.apply("button",(o=>{g.type=o})),x.apply(n.label,(o=>{g.label=o}));let K=D.getDefaultValue();D.apply(n.popoverAlign,(o=>{K=o})),g.popoverAlign=K,m.componentWillLoad({align:K}),w.apply(null!==(i=o("buttonVariantDefault",n.getFlagHost()))&&void 0!==i?i:"normal",(o=>{g.variant=o})),g.ariaDescriptionId=s(),g.popoverId=t("popover");const L=o=>{const s=n.getEventTarget?n.getEventTarget():b;s&&e(s,o)},T=o=>{n.setOpen("open"===o.newState)};g.handleClick=o=>{o.stopPropagation(),c.hideTooltip(),m.setShow(!n.getOpen()),L(a.click)},g.handleMouseDown=()=>L(a.mousedown),g.handleFocus=()=>L(a.focus),g.handleBlur=()=>L(a.blur),g.refButton=o=>{d(o),m.setTriggerElement(o)},g.refPopover=o=>{f=o,m.setPopoverElementRef(o)},g.refTooltip=c.setTooltipElementRef;const V=o=>{b=o},k=()=>{c.componentWillLoad({label:g.label,align:g.tooltipAlign})};return k(),{getFcProps:o=>(o&&(o=>{var s,t;const r=B(Object.assign(Object.assign({},o),{_on:void 0,_variant:null!==(s=o._variant)&&void 0!==s?s:"normal"}),n.getFlagHost());g.accessKey=r.accessKey,g.ariaDescription=r.ariaDescription,g.customClass=r.customClass,g.disabled=r.disabled,g.hideLabel=r.hideLabel,g.icons=r.icons,g.id=r.id,g.inline=r.inline,g.label=r.label,g.name=r.name,g.shortKey=r.shortKey,g.tabIndex=r.tabIndex,g.tooltipAlign=r.tooltipAlign,g.type=r.type,g.variant=r.variant,D.apply(null!==(t=o._popoverAlign)&&void 0!==t?t:"bottom",(o=>{g.popoverAlign=o,m.watchAlign(o)})),k()})(o),Object.assign(Object.assign({},g),{popoverOpen:n.getOpen(),ref:V})),hide:()=>m.setShow(!1),setDisabled:h,syncListeners:()=>{d.el&&c.syncListeners(void 0,d.el,!0),null==f||f.addEventListener("toggle",T)},destroy:()=>{c.destroy(),f&&(f.removeEventListener("toggle",T),f=void 0),m.destroy()}}};export{T as c}
|
package/dist/components/item3.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{o}from"./ariaCurrentService.js";import{s as r}from"./
|
|
4
|
+
import{o}from"./ariaCurrentService.js";import{s as r}from"./bem-registry.js";import{n as t}from"./dev.utils.js";import{c as e}from"./element-interaction.js";import{d as s,K as n}from"./events.js";import{B as i}from"./base-web-component.js";import{T as l}from"./behavior.js";import{r as a}from"./resolve-props2.js";const c=c=>{const m=new l(i.stateLess),p=e(),f=t();let d,u,v,j="",b=!1;const y=()=>"string"==typeof(null==d?void 0:d.href)?d.href:"",g=()=>{const o=null==d?void 0:d.label;return"string"==typeof o&&o.length>0?o:y()},h=o=>{const r=o===(null==d?void 0:d.href)?d.ariaCurrentValue:"";j!==r&&(j=r,b||c())},C=o=>{if(m.hideTooltip(),!0===(null==d?void 0:d.disabled))return void o.preventDefault();const t=y(),e=null==d?void 0:d.on;"function"==typeof(null==e?void 0:e.onClick)&&(r(o,p.el),e.onClick(o,t)),u&&s(u,n.click,t)},O=o=>{o&&(u=o)};return{getFcProps:(r,t)=>(d=a(r),v||(b=!0,v=o(h),b=!1),m.componentWillLoad({label:g(),align:d.tooltipAlign}),Object.assign(Object.assign(Object.assign({},d),t),{ariaCurrent:j,ariaDescriptionId:f,expertSlot:""===r._label,handleAnchorClick:C,ref:O,refAnchor:p,refTooltip:m.setTooltipElementRef})),syncListeners:()=>{p.el&&m.syncListeners(void 0,p.el,!0)},destroy:()=>{null==v||v(),v=void 0,m.destroy()}}};export{c}
|
package/dist/components/item4.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as t}from"@stencil/core/internal/client";import{t as s}from"./i18n.js";import{b as
|
|
4
|
+
import{h as t}from"@stencil/core/internal/client";import{t as s}from"./i18n.js";import{p as e,b as i,S as o}from"./bem-registry.js";import{c as a,D as n,a as l,r,t as p,d as c}from"./props-from-config.js";import{n as u,c as g}from"./dev.utils.js";import{B as h}from"./component.js";import{B as m}from"./component10.js";import{d as b,K as d}from"./events.js";import{r as v,a as f}from"./unique-nav-labels.js";import{g as y,e as C}from"./component3.js";import{l as z}from"./label.js";import{c as S}from"./item.js";import{c as j}from"./item-pool.js";import{c as k}from"./element-interaction.js";import{B as O,s as x}from"./base-web-component4.js";const _=a("boundaryCount",1,(t=>Math.max(0,t))),B=a("page",0,n),P=a("pageSize",1,n),A=/^\[object Object\]$/,$=a("pageSizeOptions",[],(function(t){if(""===t||"string"==typeof t&&A.test(t))throw new Error("Unreflected page size options");const s="string"==typeof t?e(t):t;if(Array.isArray(s)&&s.every((t=>"number"==typeof t)))return s.map((t=>({label:`${t}`,value:t})));throw new Error("Invalid page size options")})),w=l(),F=["first","last","next","previous"],D=t=>({first:t,last:t,next:t,previous:t}),M=a("hasButtons",D(!0),(function t(s){if("boolean"==typeof s)return D(s);if("object"==typeof s&&null!==s){const t={};return F.forEach((e=>{const i=s[e];"boolean"==typeof i&&(t[e]=i)})),t}if("string"==typeof s){const i=e(s);return"object"==typeof i&&null!==i?t(i):D(!1)}throw new Error("Invalid pagination buttons")})),E=a("max",0,n),I=a("siblingCount",1,(t=>Math.max(0,t))),H={required:[B,w,E],optional:[_,y,z,$,P,M,I,C]},K=(t,s=1)=>Math.ceil(t/s),T=(t,s)=>{var e,i;return s.length>0?null!==(i=null===(e=s.find((s=>s.value===t)))||void 0===e?void 0:e.value)&&void 0!==i?i:s[0].value:t},q=(t,s,e,i)=>{const o=[];let a=!1;for(let n=1;n<=s;n++)n<=e||n>s-e||n>=t-i&&n<=t+i?(a=!0,o.push({page:n,selected:n===t})):a?(a=!1,o.push("separator")):o.push(null);return o},L=i.forBlock("kol-pagination"),U={left:"kolicon-chevron-double-left"},G={left:"kolicon-chevron-left"},J={right:"kolicon-chevron-right"},N={right:"kolicon-chevron-double-right"},Q=(R=navigator.language||"de-DE").includes("-")?R:`${R}-${R.toUpperCase()}`;var R;const V=new Intl.NumberFormat(Q,{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:0}),W=e=>{const{boundaryCount:i,customClass:o,getButtonFcProps:a,handlePageClick:n,hasButtons:l,label:c,max:g,navigationCallbacks:h,page:b,pageSize:d,pageSizeOptions:v,renderPageSizeSelect:f,siblingCount:y,tooltipAlign:C}=r(H,e),z=K(g,d),{start:S,end:j}=((t,s,e)=>{const i=t*s;return{start:Math.max(0,(t-1)*s+1),end:e<i?e:i}})(b,d,g),k=(s,e,i,n)=>t("li",null,t(m,Object.assign({},a(`navigation-${s}`,{_customClass:o,_disabled:n,_icons:e,_hideLabel:!0,_label:i,_on:h[s],_tooltipAlign:C},{class:L("button",{[s]:!0})}))));return[t("span",{role:"status","aria-live":"polite",class:L("entries")},s("kol-table-visible-range",{placeholders:{start:V.format(S),end:V.format(j),total:V.format(g)}})),t("nav",{class:L("navigation"),"aria-label":p(c)},t("ul",{class:L("navigation-list")},l.first&&k("first",U,s("kol-page-first"),b<=1),l.previous&&k("previous",G,s("kol-page-back"),b<=1),q(b,z,i,y).map((e=>null===e?null:"separator"===e?t("li",{key:u()},t("span",{class:L("separator"),"aria-hidden":"true"})):((e,i)=>{const l=V.format(e),r=`${s("kol-page")} ${l}`;return t("li",{key:u()},t(m,Object.assign({},i?a(`page-${e}`,{_ariaDescription:r,_customClass:o,_label:l},{"aria-current":"page",class:`${L("button",{selected:!0})} selected`}):a(`page-${e}`,{_ariaDescription:r,_customClass:o,_label:l,_on:{onClick:t=>n(t,e)}},{class:L("button",{numbers:!0})}))))})(e.page,e.selected))),l.next&&k("next",J,s("kol-page-next"),z<=b),l.last&&k("last",N,s("kol-page-last"),z<=b))),(null==v?void 0:v.length)>0&&t("div",{class:"page-size"},t("div",{class:L("page-size-select")},f({label:s("kol-entries-per-site"),options:v,value:d})))]},X=s=>t(h,{block:"kol-pagination"},t(W,Object.assign({},s)));class Y extends O{constructor(t,s){super(),this.getHost=t,this.requestRender=s,this._disabled=!1,this._multiple=!1,this.ctaRef=k(),this.id=g("select"),this.loaded=!1,this.focused=!1,this.touched=!1,this.propsConfig=x,this.initFormAssociation("select")}get host(){var t;return null===(t=this.getHost)||void 0===t?void 0:t.call(this)}get inputHasFocus(){return this.focused}set inputHasFocus(t){t!==this.focused&&(this.focused=t,this.requestRender())}get _touched(){return this.touched}set _touched(t){t!==this.touched&&(this.touched=!0===t,this.applyTouched(t),this.requestRender())}get _value(){return this.value}set _value(t){t!==this.value&&(this.value=t,this.applyValue(t),this.requestRender())}getAccessKeyProp(){}getShortKeyProp(){}render(t){return this.loaded?this.update(t):this.load(t),this.renderSelectField()}sync(){this.syncFormField()}destroy(){this.destroyFormField()}load(t){this.passed=t,this._on=t.on,this.value=t.value,this.applyAriaDetails(void 0),this.applyName(void 0),this.applySyncValueBySelector(void 0),this.applyTouched(!1),this.applyAccessKey(void 0),this.applyMsg(void 0),this.applyDisabled(!1),this.applyHideMsg(!1),this.applyHideLabel(!1),this.applyHint(""),this.applyInfoPopover(void 0),this.applyLabel(t.label),this.applyShortKey(void 0),this.applyOn(t.on),this.applyTooltipAlign("top"),this.applyVariant(void 0),this.applyTabIndex(void 0),this.applyIcons(void 0),this.applyOptions(t.options),this.applyMultiple(!1),this.applyRequired(!1),this.applyRows(void 0),this.applyValue(t.value),this.loaded=!0}update(t){const s=this.passed;this.passed=t,t.label!==s.label&&this.applyLabel(t.label),t.options!==s.options&&this.applyOptions(t.options),t.on!==s.on&&(this._on=t.on,this.applyOn(t.on)),t.value!==s.value&&t.value!==this.value&&(this.value=t.value,this.applyValue(t.value))}}const Z=["boundaryCount","customClass","hasButtons","on","page","pageSize","pageSizeOptions","siblingCount","tooltipAlign","max","label"],tt=t=>{var e;const i=null!==(e=t.store)&&void 0!==e?e:(()=>{const t=c(H);return{get:s=>t[s],set:(s,e)=>{t[s]=e}}})(),a=s("kol-pagination"),n=j((()=>S(t.getEventTarget)),(t=>t.syncListeners()),(t=>t.destroy())),l=(t,s,e)=>n.get(t).getFcProps(s,e),r=j((()=>new Y(t.getEventTarget,t.requestRender)),(t=>t.sync()),(t=>t.destroy()));let p=1,u={};i.set("label",a);const g=(s,e)=>{setTimeout((()=>{var o,a;null===(a=(o=i.get("on")).onChangePage)||void 0===a||a.call(o,s,e);const n=t.getEventTarget();n&&b(n,d.changePage,e)}))},h=(t,s,e)=>{const a=((t,s,e)=>{if(e>0){const i=K(e,s);if(i>0){if(t>i)return i;if(t<1)return 1}}})(t,s,e);void 0!==a&&(i.set("page",a),g(o,a))},m=t=>{null!=t&&P.apply(t,(t=>{const s=T(t,i.get("pageSizeOptions"));i.set("pageSize",s),h(i.get("page"),s,i.get("max"))}))},k=(t,s)=>{s||v(i.get("label")),z.apply(null!=t?t:a,(t=>i.set("label",t))),f(i.get("label"))},O=(s,e)=>{var o,a;null===(a=(o=i.get("on")).onClick)||void 0===a||a.call(o,s,e);const n=t.getEventTarget();n&&b(n,d.click,e),g(s,e)},x=(s,e)=>{const o=parseInt(e);o>0&&p!==o&&(m(o),p=o,t.requestRender(),setTimeout((()=>{var e,o;const a=p;null===(o=(e=i.get("on")).onChangePageSize)||void 0===o||o.call(e,s,a);const n=t.getEventTarget();n&&b(n,d.changePageSize,a)})))},A={onChange:x},F=t=>r.get("page-size").render(Object.assign(Object.assign({},t),{on:A})),D={first:{onClick:t=>O(t,1)},last:{onClick:t=>O(t,K(i.get("max"),i.get("pageSize")))},next:{onClick:t=>O(t,i.get("page")+1)},previous:{onClick:t=>O(t,i.get("page")-1)}},q={applyBoundaryCount:t=>_.apply(t,(t=>i.set("boundaryCount",t))),applyCustomClass:t=>y.apply(t,(t=>i.set("customClass",t))),applyHasButtons:t=>M.apply(t,(t=>i.set("hasButtons",Object.assign(Object.assign({},i.get("hasButtons")),t)))),applyLabel:t=>k(t,!1),applyMax:t=>{null!=t&&E.apply(t,(t=>{i.set("max",t),h(i.get("page"),i.get("pageSize"),t)}))},applyOn:t=>w.apply(t,(t=>i.set("on",t))),applyPage:t=>{null!=t&&B.apply(t,(t=>{i.set("page",t),h(t,i.get("pageSize"),i.get("max"))}))},applyPageSize:t=>{m(t),p=t},applyPageSizeOptions:t=>$.apply(t,(t=>{let s;i.set("pageSizeOptions",t),t.length>0&&(s=T(i.get("pageSize"),t),i.set("pageSize",s)),h(i.get("page"),s,i.get("max"))})),applySiblingCount:t=>I.apply(t,(t=>i.set("siblingCount",t))),applyTooltipAlign:t=>C.apply(null!=t?t:"top",(t=>i.set("tooltipAlign",t))),load:t=>{u=Object.assign({},t),q.applyBoundaryCount(t.boundaryCount),q.applyCustomClass(t.customClass),q.applyHasButtons(t.hasButtons),k(t.label,!0),q.applyOn(t.on),q.applyPage(t.page),q.applyPageSize(t.pageSize),q.applyPageSizeOptions(t.pageSizeOptions),q.applySiblingCount(t.siblingCount),q.applyTooltipAlign(t.tooltipAlign),q.applyMax(t.max),q.applyPage(t.page)},update:t=>{for(const s of Z)t[s]!==u[s]&&(u=Object.assign(Object.assign({},u),{[s]:t[s]}),"pageSize"===s&&t.pageSize===p||L[s](t[s]))},getFcProps:()=>(n.beginRender(),r.beginRender(),{boundaryCount:i.get("boundaryCount"),customClass:i.get("customClass"),getButtonFcProps:l,handlePageClick:O,handlePageSizeChange:x,hasButtons:i.get("hasButtons"),label:i.get("label"),max:i.get("max"),navigationCallbacks:D,on:i.get("on"),page:i.get("page"),pageSize:i.get("pageSize"),pageSizeOptions:i.get("pageSizeOptions"),renderPageSizeSelect:F,siblingCount:i.get("siblingCount"),tooltipAlign:i.get("tooltipAlign")}),sync:()=>{n.endRender(),r.endRender()},destroy:()=>{v(i.get("label")),n.destroy(),r.destroy()}},L={boundaryCount:q.applyBoundaryCount,customClass:q.applyCustomClass,hasButtons:q.applyHasButtons,label:q.applyLabel,max:q.applyMax,on:q.applyOn,page:q.applyPage,pageSize:q.applyPageSize,pageSizeOptions:q.applyPageSizeOptions,siblingCount:q.applySiblingCount,tooltipAlign:q.applyTooltipAlign};return q};export{X as P,tt as c,H as p}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as
|
|
4
|
+
import{h as e,proxyCustomElement as o,Host as t,transformTag as l}from"@stencil/core/internal/client";import"./bem-registry.js";import"./props-from-config.js";import{l as a}from"./label-lang-segment.js";import{B as i}from"./component.js";import{B as r}from"./base-web-component.js";const n={optional:[a]},s=()=>e(i,{block:"kol-abbr",component:"abbr"},e("slot",null)),d=o(class extends r{constructor(e){super(!1),!1!==e&&this.__registerHost(),this.__attachShadow(),this.propsConfig=n,this._label=void 0}watchLabel(e){a.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label"))}componentWillLoad(){this.watchLabel(this._label)}render(){return e(t,{key:"2ee63ca84e842ca638b9e40340aac3a13f1e1fd2"},e(s,{key:"15e6509c32336b2f3b6215e6f4524cea65ee26c4",label:this.getRenderProp("label")}))}static get watchers(){return{_label:[{watchLabel:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-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 > abbr { text-decoration: underline dashed; cursor: help; } }'}}},[545,"kol-abbr",{_label:[1]},void 0,{_label:[{watchLabel:0}]}]),c=d,b=function(){"undefined"!=typeof customElements&&["kol-abbr"].forEach((e=>{"kol-abbr"===e&&(customElements.get(l(e))||customElements.define(l(e),d))}))};export{c as KolAbbr,b as defineCustomElement}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{proxyCustomElement as o,h as e,Host as t,transformTag as i}from"@stencil/core/internal/client";import{_ as n}from"./tslib.es6.js";import{X as a}from"./common.js";import{B as l}from"./base-web-component.js";import{D as r,c as s,a as c,b as d,d as h,C as b}from"./toggle-handler.js";import{l as k}from"./level.js";import{d as p}from"./disabled.js";import{l as f}from"./label.js";import{o as m}from"./open.js";import{c as u,a as _}from"./dev.utils.js";import{c as g,d as y,a as w}from"./element-interaction.js";const v=o(class extends l{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.accordionId=u("accordion"),this.controlId=_(this.accordionId,"control"),this.detailsOpen=!1,this.expanded=!1,this.headingId=_(this.accordionId,"heading"),this.transitionMs=r,this.ctaRef=g((()=>!0===this.getRenderProp("disabled"))),this.hasLoaded=!1,this.openAnimation=s({getTransitionMs:()=>this.transitionMs,setDetailsOpen:o=>this.detailsOpen=o,setExpanded:o=>this.expanded=o}),this.handleToggle=c({getHost:()=>this.host,getOn:()=>this.getRenderProp("on"),isDisabled:()=>!0===this.getRenderProp("disabled"),isOpen:()=>!0===this.getRenderProp("open"),setOpen:o=>this._open=o}),this._disabled=!1,this._level=0,this._open=!1}watchDisabled(o){p.apply(o,(o=>this.setRenderProp("disabled",o)))}watchLabel(o){f.apply(o,(o=>this.setRenderProp("label",o)))}watchLevel(o){k.apply(o,(o=>this.setRenderProp("level",o)))}watchOn(o){d.apply(o,(o=>this.setRenderProp("on",o)))}watchOpen(o){m.apply(o,(o=>{this.setRenderProp("open",o),this.openAnimation.syncOpen(o,this.hasLoaded)}))}async focus(o){}async click(){}componentWillLoad(){var o;this.initRenderProps(h),this.transitionMs=null!==(o=a("collapsibleTransitionMs",this.host))&&void 0!==o?o:r,this.watchDisabled(this._disabled),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchOpen(this._open)}componentDidLoad(){this.hasLoaded=!0}disconnectedCallback(){this.openAnimation.dispose()}render(){return e(t,{key:"c216e5739396d9deeb0b2c6da8cd0ba1b4f18ee9"},e(b,{key:"232dfa6de6b0e89400c6ab812450120f93bc486f",block:"kol-accordion",controlId:this.controlId,detailsOpen:this.detailsOpen,disabled:this.getRenderProp("disabled"),expanded:this.expanded,handleToggle:this.handleToggle,headingId:this.headingId,icons:this.getRenderProp("open")?"kolicon-chevron-down":"kolicon-chevron-right",label:this.getRenderProp("label"),level:this.getRenderProp("level"),on:this.getRenderProp("on"),open:this.getRenderProp("open"),refHeadingButton:this.ctaRef,transitionMs:this.transitionMs},e("slot",{key:"88d07c4790eac9b7fe3d91a24cd6486ab4b74cb1"})))}get host(){return this}static get watchers(){return{_disabled:[{watchDisabled:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } .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-accordion { } .kol-accordion__heading { display: flex; min-height: var(--a11y-min-size); } .kol-accordion__heading:not([aria-disabled=true]) { cursor: pointer; } .kol-accordion__heading { } .kol-accordion__heading::before { content: ""; } .kol-accordion__heading { } .kol-accordion__heading > .kol-headline { display: flex; flex: 1; margin: 0; text-align: left; font-weight: 400; } .kol-accordion__heading > .kol-headline > .kol-span { flex: 1 0 100%; align-items: flex-start; } @media (prefers-reduced-motion) { .kol-accordion__wrapper-animation, .kol-accordion__wrapper { transition: none !important; } } .kol-accordion { } @media print { .kol-accordion:not(.kol-accordion--open) .kol-accordion__wrapper-animation { display: none; } } .kol-accordion__wrapper { transform: translateZ(0); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 0fr; transition: grid-template-rows var(--collapsible-transition-duration, 0.3s); } .kol-accordion__wrapper-animation { opacity: 0; transform: scaleY(0); transform-origin: top; min-height: 0; visibility: hidden; transition: transform var(--collapsible-transition-duration, 0.3s), opacity var(--collapsible-transition-duration, 0.3s), visibility var(--collapsible-transition-duration, 0.3s); } .kol-accordion--open .kol-accordion__wrapper { grid-template-rows: 1fr; } .kol-accordion--open .kol-accordion__wrapper-animation { opacity: 1; transform: scaleY(1); visibility: visible; } .kol-accordion--open:focus-within { position: relative; z-index: 100; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } }'}}},[801,"kol-accordion",{_disabled:[4],_label:[1],_level:[2],_on:[16],_open:[1540],controlId:[32],detailsOpen:[32],expanded:[32],headingId:[32],transitionMs:[32],focus:[64],click:[64]},void 0,{_disabled:[{watchDisabled:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}]);n([y("ctaRef")],v.prototype,"focus",null),n([w("ctaRef")],v.prototype,"click",null);const x=v,z=function(){"undefined"!=typeof customElements&&["kol-accordion"].forEach((o=>{"kol-accordion"===o&&(customElements.get(i(o))||customElements.define(i(o),v))}))};export{x as KolAccordion,z as defineCustomElement}
|
|
4
|
+
import{proxyCustomElement as o,h as e,Host as t,transformTag as i}from"@stencil/core/internal/client";import{_ as n}from"./tslib.es6.js";import{X as a}from"./bem-registry.js";import{B as l}from"./base-web-component.js";import{D as r,c as s,a as c,b as d,d as h,C as k}from"./toggle-handler.js";import{l as b}from"./level.js";import{d as f}from"./disabled.js";import"./props-from-config.js";import{l as p}from"./label-lang-segment.js";import{o as m}from"./open.js";import{c as u,a as g}from"./dev.utils.js";import{c as _,d as y,a as w}from"./element-interaction.js";const v=o(class extends l{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.accordionId=u("accordion"),this.controlId=g(this.accordionId,"control"),this.detailsOpen=!1,this.expanded=!1,this.headingId=g(this.accordionId,"heading"),this.transitionMs=r,this.ctaRef=_((()=>!0===this.getRenderProp("disabled"))),this.hasLoaded=!1,this.openAnimation=s({getTransitionMs:()=>this.transitionMs,setDetailsOpen:o=>this.detailsOpen=o,setExpanded:o=>this.expanded=o}),this.handleToggle=c({getHost:()=>this.host,getOn:()=>this.getRenderProp("on"),isDisabled:()=>!0===this.getRenderProp("disabled"),isOpen:()=>!0===this.getRenderProp("open"),setOpen:o=>this._open=o}),this.propsConfig=d,this._disabled=!1,this._level=0,this._on=void 0,this._open=!1}watchDisabled(o){f.apply(o,(o=>this.setRenderProp("disabled",o)))}watchLabel(o){p.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}watchLevel(o){b.apply(o,(o=>this.setRenderProp("level",o)))}watchOn(o){h.apply(o,(o=>this.setRenderProp("on",o)))}watchOpen(o){m.apply(o,(o=>{this.setRenderProp("open",o),this.openAnimation.syncOpen(o,this.hasLoaded)}))}focus(o){return Promise.resolve()}click(){return Promise.resolve()}componentWillLoad(){var o;this.transitionMs=null!==(o=a("collapsibleTransitionMs",this.host))&&void 0!==o?o:r,this.watchDisabled(this._disabled),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchOpen(this._open)}componentDidLoad(){this.hasLoaded=!0}disconnectedCallback(){this.openAnimation.dispose()}render(){return e(t,{key:"fe83d27f74efae425c3d35782f1714ba8f8c501b"},e(k,{key:"d162255bd8d6d611d60b0f1d05fd2e09adaa01a2",block:"kol-accordion",controlId:this.controlId,detailsOpen:this.detailsOpen,disabled:this.getRenderProp("disabled"),expanded:this.expanded,handleToggle:this.handleToggle,headingId:this.headingId,icons:this.getRenderProp("open")?"kolicon-chevron-down":"kolicon-chevron-right",label:this.getRenderProp("label"),level:this.getRenderProp("level"),on:this.getRenderProp("on"),open:this.getRenderProp("open"),refHeadingButton:this.ctaRef,transitionMs:this.transitionMs},e("slot",{key:"e048d507c3af993c510af9d48ccb1281331ee0fe"})))}get host(){return this}static get watchers(){return{_disabled:[{watchDisabled:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794497133718"); src: url("kolicons.eot?t=1794497133718#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794497133718") format("woff2"), url("kolicons.woff?t=1794497133718") format("woff"), url("kolicons.ttf?t=1794497133718") format("truetype"), url("kolicons.svg?t=1794497133718#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-accordion { } .kol-accordion__heading { display: flex; min-height: var(--a11y-min-size); } .kol-accordion__heading:not([aria-disabled=true]) { cursor: pointer; } .kol-accordion__heading { } .kol-accordion__heading::before { content: ""; } .kol-accordion__heading { } .kol-accordion__heading > .kol-headline { display: flex; flex: 1; margin: 0; text-align: left; font-weight: 400; } .kol-accordion__heading > .kol-headline > .kol-span { flex: 1 0 100%; align-items: flex-start; } @media (prefers-reduced-motion) { .kol-accordion__wrapper-animation, .kol-accordion__wrapper { transition: none !important; } } .kol-accordion { } @media print { .kol-accordion:not(.kol-accordion--open) .kol-accordion__wrapper-animation { display: none; } } .kol-accordion__wrapper { transform: translateZ(0); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 0fr; transition: grid-template-rows var(--collapsible-transition-duration, 0.3s); } .kol-accordion__wrapper-animation { opacity: 0; transform: scaleY(0); transform-origin: top; min-height: 0; visibility: hidden; transition: transform var(--collapsible-transition-duration, 0.3s), opacity var(--collapsible-transition-duration, 0.3s), visibility var(--collapsible-transition-duration, 0.3s); } .kol-accordion--open .kol-accordion__wrapper { grid-template-rows: 1fr; } .kol-accordion--open .kol-accordion__wrapper-animation { opacity: 1; transform: scaleY(1); visibility: visible; } .kol-accordion--open:focus-within { position: relative; z-index: 100; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } }'}}},[801,"kol-accordion",{_disabled:[4],_label:[1],_level:[2],_on:[16],_open:[1540],controlId:[32],detailsOpen:[32],expanded:[32],headingId:[32],transitionMs:[32],focus:[64],click:[64]},void 0,{_disabled:[{watchDisabled:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_open:[{watchOpen:0}]}]);n([y("ctaRef")],v.prototype,"focus",null),n([w("ctaRef")],v.prototype,"click",null);const x=v,z=function(){"undefined"!=typeof customElements&&["kol-accordion"].forEach((o=>{"kol-accordion"===o&&(customElements.get(i(o))||customElements.define(i(o),v))}))};export{x as KolAccordion,z as defineCustomElement}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{proxyCustomElement as o,h as e,Host as t,transformTag as i}from"@stencil/core/internal/client";import{t as n}from"./i18n.js";import"./common.js";import{l}from"./level.js";import{c as a,n as r,a as s,b as c,B as h}from"./base-web-component.js";import{h as d}from"./has-closer.js";import{l as k}from"./label.js";import{A as f}from"./component2.js";import{T as b}from"./behavior.js";import{c as p,n as m}from"./dev.utils.js";import{c as u}from"./element-interaction.js";import{d as _,K as g}from"./events.js";const y=["default","info","success","warning","error"],v=["card","msg"],w=a("alert",!1,r),x=s(),T=a("type","default",(o=>{const e=c(o);if(y.includes(e))return e;throw Error("Invalid alert type: "+e)}),(()=>!0)),z=a("variant","msg",(o=>{const e=c(o);if(v.includes(e))return e;throw Error("Invalid alert variant: "+e)}),(()=>!0)),C={optional:[x,w,T,z,d,k,l]},j=o(class extends h{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.headingId=p("alert-heading"),this.closerAriaDescriptionId=m(),this.translateCloseAlert=n("kol-close-alert"),this.closerRef=u(),this.closerTooltipBehavior=new b(this.stateAccess),this._alert=!1,this._hasCloser=!1,this._level=0,this._type="default",this._variant="msg",this.handleAlertTimeout=()=>{this.watchAlert(!1)},this.handleCloserClick=o=>{var e,t;o.stopPropagation(),this.closerTooltipBehavior.hideTooltip(),null===(t=(e=this.getRenderProp("on")).onClose)||void 0===t||t.call(e,new Event("Close")),this.host&&_(this.host,g.close)}}watchAlert(o){w.apply(o,(o=>{this.setRenderProp("alert",o),this.syncAlertEffects(o)}))}watchHasCloser(o){d.apply(o,(o=>this.setRenderProp("hasCloser",o)))}watchLabel(o){k.apply(o,(o=>this.setRenderProp("label",o)))}watchLevel(o){l.apply(o,(o=>this.setRenderProp("level",o)))}watchOn(o){x.apply(o,(o=>this.setRenderProp("on",o)))}watchType(o){T.apply(o,(o=>this.setRenderProp("type",o)))}watchVariant(o){z.apply(o,(o=>this.setRenderProp("variant",o)))}componentWillLoad(){this.initRenderProps(C),this.watchAlert(this._alert),this.watchHasCloser(this._hasCloser),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchType(this._type),this.watchVariant(this._variant),this.closerTooltipBehavior.componentWillLoad({label:this.translateCloseAlert,align:"left"})}componentDidRender(){this.closerRef.el&&this.closerTooltipBehavior.syncListeners(void 0,this.closerRef.el,!0)}disconnectedCallback(){this.closerTooltipBehavior.destroy(),this.syncAlertEffects(!1)}syncAlertEffects(o){if(clearTimeout(this.alertTimeout),o){if("undefined"!=typeof navigator&&"function"==typeof navigator.vibrate){const o=navigator.userActivation;if(((null==o?void 0:o.isActive)||(null==o?void 0:o.hasBeenActive))&&matchMedia("(any-pointer: coarse)").matches)try{navigator.vibrate([100,75,100,75,100])}catch(o){}}this.alertTimeout=setTimeout((()=>this.handleAlertTimeout()),1e4)}}render(){return e(t,{key:"3d2188127eb849af806a8100b21da1f666bb9f05"},e(f,{key:"2405eda1f296b1e825b4a7831c854b1560ea8f92",alert:this.getRenderProp("alert"),handleCloserClick:this.handleCloserClick,closerAriaDescriptionId:this.closerAriaDescriptionId,hasCloser:this.getRenderProp("hasCloser"),headingId:this.headingId,label:this.getRenderProp("label"),level:this.getRenderProp("level"),refCloserButton:this.closerRef,refCloserTooltip:this.closerTooltipBehavior.setTooltipElementRef,type:this.getRenderProp("type"),variant:this.getRenderProp("variant")},e("slot",{key:"bbb166f4ad48b47e000ce45954a74da287111c21"})))}get host(){return this}static get watchers(){return{_alert:[{watchAlert:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_type:[{watchType:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-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; } }'}}},[801,"kol-alert",{_alert:[4],_hasCloser:[4,"_has-closer"],_label:[1],_level:[2],_on:[16],_type:[1],_variant:[1],headingId:[32],closerAriaDescriptionId:[32]},void 0,{_alert:[{watchAlert:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_type:[{watchType:0}],_variant:[{watchVariant:0}]}]),B=j,I=function(){"undefined"!=typeof customElements&&["kol-alert"].forEach((o=>{"kol-alert"===o&&(customElements.get(i(o))||customElements.define(i(o),j))}))};export{B as KolAlert,I as defineCustomElement}
|
|
4
|
+
import{proxyCustomElement as o,h as e,Host as t,transformTag as i}from"@stencil/core/internal/client";import{t as n}from"./i18n.js";import"./bem-registry.js";import{l}from"./level.js";import{c as a,n as r,a as s,b as c}from"./props-from-config.js";import{h}from"./has-closer.js";import{l as d}from"./label-lang-segment.js";import{A as k}from"./component2.js";import{B as f}from"./base-web-component.js";import{T as b}from"./behavior.js";import{c as m,n as p}from"./dev.utils.js";import{c as u}from"./element-interaction.js";import{d as g,K as _}from"./events.js";const y=["default","info","success","warning","error"],v=["card","msg"],w=a("alert",!1,r),x=s(),T=a("type","default",(o=>{const e=c(o);if(y.includes(e))return e;throw Error("Invalid alert type: "+e)}),(()=>!0)),z=a("variant","msg",(o=>{const e=c(o);if(v.includes(e))return e;throw Error("Invalid alert variant: "+e)}),(()=>!0)),C={optional:[x,w,T,z,h,d,l]},j=o(class extends f{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.headingId=m("alert-heading"),this.closerAriaDescriptionId=p(),this.translateCloseAlert=n("kol-close-alert"),this.closerRef=u(),this.closerTooltipBehavior=new b(this.stateAccess),this.propsConfig=C,this._alert=!1,this._hasCloser=!1,this._label=void 0,this._level=0,this._on=void 0,this._type="default",this._variant="msg",this.handleAlertTimeout=()=>{this.watchAlert(!1)},this.handleCloserClick=o=>{var e,t;o.stopPropagation(),this.closerTooltipBehavior.hideTooltip(),null===(t=(e=this.getRenderProp("on")).onClose)||void 0===t||t.call(e,new Event("Close")),this.host&&g(this.host,_.close)}}watchAlert(o){w.apply(o,(o=>{this.setRenderProp("alert",o),this.syncAlertEffects(o)}))}watchHasCloser(o){h.apply(o,(o=>this.setRenderProp("hasCloser",o)))}watchLabel(o){d.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}watchLevel(o){l.apply(o,(o=>this.setRenderProp("level",o)))}watchOn(o){x.apply(o,(o=>this.setRenderProp("on",o)))}watchType(o){T.apply(o,(o=>this.setRenderProp("type",o)))}watchVariant(o){z.apply(o,(o=>this.setRenderProp("variant",o)))}componentWillLoad(){this.watchAlert(this._alert),this.watchHasCloser(this._hasCloser),this.watchLabel(this._label),this.watchLevel(this._level),this.watchOn(this._on),this.watchType(this._type),this.watchVariant(this._variant),this.closerTooltipBehavior.componentWillLoad({label:this.translateCloseAlert})}componentDidRender(){this.closerRef.el&&this.closerTooltipBehavior.syncListeners(void 0,this.closerRef.el,!0)}disconnectedCallback(){this.closerTooltipBehavior.destroy(),this.syncAlertEffects(!1)}syncAlertEffects(o){if(clearTimeout(this.alertTimeout),o){if("undefined"!=typeof navigator&&"function"==typeof navigator.vibrate){const o=navigator.userActivation;if(((null==o?void 0:o.isActive)||(null==o?void 0:o.hasBeenActive))&&matchMedia("(any-pointer: coarse)").matches)try{navigator.vibrate([100,75,100,75,100])}catch(o){}}this.alertTimeout=setTimeout((()=>this.handleAlertTimeout()),1e4)}}render(){return e(t,{key:"34a64885726f2b3ab4039f262b36835f6b297597"},e(k,{key:"5ac9dbf8db7ceb1d8dd1f4f606e9a6ecddf327aa",alert:this.getRenderProp("alert"),handleCloserClick:this.handleCloserClick,closerAriaDescriptionId:this.closerAriaDescriptionId,hasCloser:this.getRenderProp("hasCloser"),headingId:this.headingId,label:this.getRenderProp("label"),level:this.getRenderProp("level"),refCloserButton:this.closerRef,refCloserTooltip:this.closerTooltipBehavior.setTooltipElementRef,type:this.getRenderProp("type"),variant:this.getRenderProp("variant")},e("slot",{key:"47cbfce06cffc52c82376f642245e97d6742e18e"})))}get host(){return this}static get watchers(){return{_alert:[{watchAlert:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_type:[{watchType:0}],_variant:[{watchVariant:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-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=1794497133718"); src: url("kolicons.eot?t=1794497133718#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794497133718") format("woff2"), url("kolicons.woff?t=1794497133718") format("woff"), url("kolicons.ttf?t=1794497133718") format("truetype"), url("kolicons.svg?t=1794497133718#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-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; } }'}}},[801,"kol-alert",{_alert:[4],_hasCloser:[4,"_has-closer"],_label:[1],_level:[2],_on:[16],_type:[1],_variant:[1],headingId:[32],closerAriaDescriptionId:[32]},void 0,{_alert:[{watchAlert:0}],_hasCloser:[{watchHasCloser:0}],_label:[{watchLabel:0}],_level:[{watchLevel:0}],_on:[{watchOn:0}],_type:[{watchType:0}],_variant:[{watchVariant:0}]}]),B=j,I=function(){"undefined"!=typeof customElements&&["kol-alert"].forEach((o=>{"kol-alert"===o&&(customElements.get(i(o))||customElements.define(i(o),j))}))};export{B as KolAlert,I as defineCustomElement}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as o,proxyCustomElement as
|
|
4
|
+
import{h as o,proxyCustomElement as t,Host as e,transformTag as a}from"@stencil/core/internal/client";import{b as i}from"./bem-registry.js";import{c as l}from"./color.js";import{r,t as n}from"./props-from-config.js";import{l as s}from"./label.js";import{s as c}from"./src.js";import{t as d}from"./i18n.js";import{B as b}from"./base-web-component.js";const h={optional:[l,c],required:[s]},k=i.forBlock("kol-avatar"),u=k(),m=k("image"),p=k("initials"),f=t=>{const{color:e,initials:a,label:i,src:l}=r(h,t);return o("div",{"aria-label":d("kol-avatar-alt",{placeholders:{name:n(i)}}),class:u,role:"img",style:{backgroundColor:e.backgroundColor,color:e.foregroundColor}},l?o("img",{alt:"","aria-hidden":"true",class:m,src:l}):o("span",{"aria-hidden":"true",class:p},a))},_=o=>0===o.length?"":o[0].toUpperCase(),g=o=>{const t=n(o),e=t.split(/\s+/),a=e[0],i=e[e.length-1];return e.length>=2&&a&&i?`${_(a)}${_(i)}`:_(t)},y=t(class extends b{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.initials="",this.propsConfig=h,this._color=void 0,this._src=void 0}watchColor(o){l.apply(o,(o=>this.setRenderProp("color",o)))}watchLabel(o){s.apply(o,(o=>{this.setRenderProp("label",o),this.setState("initials",g(o))}),this.isRequired("label"))}watchSrc(o){c.apply(o,(o=>this.setRenderProp("src",o)))}componentWillLoad(){l.apply(this._color,(o=>this.setRenderProp("color",o))),s.apply(this._label,(o=>{this.setRenderProp("label",o),this.setState("initials",g(o))}),this.isRequired("label")),c.apply(this._src,(o=>this.setRenderProp("src",o)))}render(){return o(e,{key:"e3616a4b07d13b3582a77d5bc8d64c9a6031e39b"},o(f,{key:"0f8a9d71c76d321e697119712e19effe2e9f35c4",color:this.getRenderProp("color"),label:this.getRenderProp("label"),src:this.getRenderProp("src"),initials:this.initials}))}static get watchers(){return{_color:[{watchColor:0}],_label:[{watchLabel:0}],_src:[{watchSrc:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { :host { display: block; } } @layer kol-component { :host { display: flex; width: calc(100 * 1rem / var(--kolibri-root-font-size, 16)); aspect-ratio: 1; align-items: center; justify-content: center; container-type: size; } .kol-avatar, .kol-avatar__image, .kol-avatar__initials { border-radius: 50%; } .kol-avatar { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: flex; width: max(100cqw, 100cqh); height: max(100cqw, 100cqh); flex-shrink: 0; container-type: size; } .kol-avatar__initials { background-color: inherit; margin: auto; font-size: 40cqh; } }'}}},[545,"kol-avatar",{_color:[1],_label:[1],_src:[1],initials:[32]},void 0,{_color:[{watchColor:0}],_label:[{watchLabel:0}],_src:[{watchSrc:0}]}]),x=y,v=function(){"undefined"!=typeof customElements&&["kol-avatar"].forEach((o=>{"kol-avatar"===o&&(customElements.get(a(o))||customElements.define(a(o),y))}))};export{x as KolAvatar,v as defineCustomElement}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{proxyCustomElement as o,h as t,Host as e,transformTag as i}from"@stencil/core/internal/client";import{_ as n}from"./tslib.es6.js";import{f as l,s as a,o as r}from"./common.js";import{c as s}from"./color.js";import{B as c}from"./base-web-component.js";import{l as d}from"./label-with-expert-slot.js";import{s as h}from"./smart-button.js";import{s as b}from"./variant.js";import{B as k}from"./component3.js";import{r as f}from"./resolve-props.js";import{T as m}from"./behavior.js";import{c as u,n as p}from"./dev.utils.js";import{c as g,d as _}from"./element-interaction.js";import{d as y,K as v}from"./events.js";const w={required:[d],optional:[s,h,b]};l("[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).");const x=o(class extends c{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.labelId=u("badge-label"),this.ariaDescriptionId=p(),this.ctaRef=g(),this.tooltipBehavior=new m(this.stateAccess),this._color="#000",this.handleClick=o=>{var t;o.stopPropagation(),this.tooltipBehavior.hideTooltip();const e=null===(t=this.smartButtonProps)||void 0===t?void 0:t.on.onClick;"function"==typeof e&&(a(o,this.ctaRef.el),e(o,void 0)),this.host&&y(this.host,v.click)},this.handleMouseDown=o=>{var t,e,i;null===(i=null===(t=this.smartButtonProps)||void 0===t?void 0:(e=t.on).onMouseDown)||void 0===i||i.call(e,o),this.host&&y(this.host,v.mousedown)},this.handleFocus=o=>{var t,e,i;null===(i=null===(t=this.smartButtonProps)||void 0===t?void 0:(e=t.on).onFocus)||void 0===i||i.call(e,o),this.host&&y(this.host,v.focus)},this.handleBlur=o=>{var t,e,i;null===(i=null===(t=this.smartButtonProps)||void 0===t?void 0:(e=t.on).onBlur)||void 0===i||i.call(e,o),this.host&&y(this.host,v.blur)}}watchColor(o){s.apply(o,(o=>this.setRenderProp("color",o)))}watchIcons(o){b.apply(o,(o=>this.setRenderProp("icons",o)))}watchLabel(o){d.apply(o,(o=>this.setRenderProp("label",o)))}watchSmartButton(o){this.applySmartButton(o)}async focus(o){}componentWillLoad(){this.initRenderProps(w),this.unsetRenderProp("smartButton"),this.watchColor(this._color),this.watchIcons(this._icons),this.watchLabel(this._label),this.watchSmartButton(this._smartButton)}componentDidRender(){this.ctaRef.el&&this.tooltipBehavior.syncListeners(void 0,this.ctaRef.el,!0)}disconnectedCallback(){this.tooltipBehavior.destroy()}applySmartButton(o){r(o,(()=>{this.unsetRenderProp("smartButton"),this.smartButtonProps=void 0,null!=o&&h.apply(o,(o=>{this.setRenderProp("smartButton",o),this.smartButtonProps=f(Object.assign(Object.assign({},o),{_hideLabel:!0,_ariaControls:this.labelId}),this.host),this.tooltipBehavior.componentWillLoad({label:this.smartButtonProps.label,align:this.smartButtonProps.tooltipAlign})}))}))}render(){const o=this.getRenderProp("smartButton"),i=this.smartButtonProps;return t(e,{key:"a79b594aa1f4f3c33628f2da388df5537c3ee295"},t(k,{key:"66b9bf00a6c0c375cbea2949d7ac629b13e1792f",color:this.getRenderProp("color"),icons:this.getRenderProp("icons"),label:this.getRenderProp("label"),smartButton:"object"==typeof o&&null!==o&&void 0!==i?{ariaDescriptionId:this.ariaDescriptionId,handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,labelId:this.labelId,refSmartButton:this.ctaRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,resolvedButton:i}:void 0}))}get host(){return this}static get watchers(){return{_color:[{watchColor:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_smartButton:[{watchSmartButton:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-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-badge { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: flex; align-items: center; justify-content: space-between; } .kol-badge > br { user-select: none; } .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-badge .kol-badge__smart-button { width: auto; order: 3; } }'}}},[545,"kol-badge",{_color:[1],_icons:[1],_label:[1],_smartButton:[1,"_smart-button"],labelId:[32],ariaDescriptionId:[32],focus:[64]},void 0,{_color:[{watchColor:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_smartButton:[{watchSmartButton:0}]}]);n([_("ctaRef")],x.prototype,"focus",null);const B=x,z=function(){"undefined"!=typeof customElements&&["kol-badge"].forEach((o=>{"kol-badge"===o&&(customElements.get(i(o))||customElements.define(i(o),x))}))};export{B as KolBadge,z as defineCustomElement}
|
|
4
|
+
import{proxyCustomElement as o,h as t,Host as e,transformTag as i}from"@stencil/core/internal/client";import{_ as n}from"./tslib.es6.js";import{f as l,s as a,o as r}from"./bem-registry.js";import{c as s}from"./color.js";import"./props-from-config.js";import{l as c}from"./label-with-expert-slot.js";import{s as d}from"./smart-button.js";import{s as h}from"./component3.js";import{B as b}from"./component4.js";import{B as k}from"./base-web-component.js";import{r as f}from"./resolve-props.js";import{T as m}from"./behavior.js";import{c as u,n as p}from"./dev.utils.js";import{c as g,d as _}from"./element-interaction.js";import{d as y,K as v}from"./events.js";const w={required:[c],optional:[s,d,h]};l("[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).");const x=o(class extends k{constructor(o){super(!1),!1!==o&&this.__registerHost(),this.__attachShadow(),this.labelId=u("badge-label"),this.ariaDescriptionId=p(),this.ctaRef=g(),this.tooltipBehavior=new m(this.stateAccess),this.propsConfig=w,this._color="#000",this._icons=void 0,this._smartButton=void 0,this.handleClick=o=>{var t;o.stopPropagation(),this.tooltipBehavior.hideTooltip();const e=null===(t=this.smartButtonProps)||void 0===t?void 0:t.on.onClick;"function"==typeof e&&(a(o,this.ctaRef.el),e(o,void 0)),this.host&&y(this.host,v.click)},this.handleMouseDown=o=>{var t,e,i;null===(i=null===(t=this.smartButtonProps)||void 0===t?void 0:(e=t.on).onMouseDown)||void 0===i||i.call(e,o),this.host&&y(this.host,v.mousedown)},this.handleFocus=o=>{var t,e,i;null===(i=null===(t=this.smartButtonProps)||void 0===t?void 0:(e=t.on).onFocus)||void 0===i||i.call(e,o),this.host&&y(this.host,v.focus)},this.handleBlur=o=>{var t,e,i;null===(i=null===(t=this.smartButtonProps)||void 0===t?void 0:(e=t.on).onBlur)||void 0===i||i.call(e,o),this.host&&y(this.host,v.blur)}}watchColor(o){s.apply(o,(o=>this.setRenderProp("color",o)))}watchIcons(o){h.apply(o,(o=>this.setRenderProp("icons",o)))}watchLabel(o){c.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label"))}watchSmartButton(o){this.applySmartButton(o)}focus(o){return Promise.resolve()}componentWillLoad(){this.unsetRenderProp("smartButton"),this.watchColor(this._color),this.watchIcons(this._icons),this.watchLabel(this._label),this.watchSmartButton(this._smartButton)}componentDidRender(){this.ctaRef.el&&this.tooltipBehavior.syncListeners(void 0,this.ctaRef.el,!0)}disconnectedCallback(){this.tooltipBehavior.destroy()}applySmartButton(o){r(o,(()=>{this.unsetRenderProp("smartButton"),this.smartButtonProps=void 0,null!=o&&d.apply(o,(o=>{this.setRenderProp("smartButton",o),this.smartButtonProps=f(Object.assign(Object.assign({},o),{_hideLabel:!0,_ariaControls:this.labelId}),this.host),this.tooltipBehavior.componentWillLoad({label:this.smartButtonProps.label,align:this.smartButtonProps.tooltipAlign})}))}))}render(){const o=this.getRenderProp("smartButton"),i=this.smartButtonProps;return t(e,{key:"92a82608b8424d8b91480b7dd132afc12fec8717"},t(b,{key:"3a0ec94ab587dc7b6e49f2530ad61d7fb590b501",color:this.getRenderProp("color"),icons:this.getRenderProp("icons"),label:this.getRenderProp("label"),smartButton:"object"==typeof o&&null!==o&&void 0!==i?{ariaDescriptionId:this.ariaDescriptionId,handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,labelId:this.labelId,refSmartButton:this.ctaRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,resolvedButton:i}:void 0}))}get host(){return this}static get watchers(){return{_color:[{watchColor:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_smartButton:[{watchSmartButton:0}]}}static get style(){return{default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794497133718"); src: url("kolicons.eot?t=1794497133718#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794497133718") format("woff2"), url("kolicons.woff?t=1794497133718") format("woff"), url("kolicons.ttf?t=1794497133718") format("truetype"), url("kolicons.svg?t=1794497133718#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-badge { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: flex; align-items: center; justify-content: space-between; } .kol-badge > br { user-select: none; } .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-badge .kol-badge__smart-button { width: auto; order: 3; } }'}}},[545,"kol-badge",{_color:[1],_icons:[1],_label:[1],_smartButton:[1,"_smart-button"],labelId:[32],ariaDescriptionId:[32],focus:[64]},void 0,{_color:[{watchColor:0}],_icons:[{watchIcons:0}],_label:[{watchLabel:0}],_smartButton:[{watchSmartButton:0}]}]);n([_("ctaRef")],x.prototype,"focus",null);const B=x,z=function(){"undefined"!=typeof customElements&&["kol-badge"].forEach((o=>{"kol-badge"===o&&(customElements.get(i(o))||customElements.define(i(o),x))}))};export{B as KolBadge,z as defineCustomElement}
|