@public-ui/components 4.6.0 → 4.7.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +1 -1
- package/dist/cjs/{Heading-CnnBHLhu.js → Heading-BiIgkzH8.js} +2 -2
- package/dist/cjs/{api-C-uDDxcA.js → api-CYf8xdSs.js} +16 -16
- package/dist/cjs/{app-globals-BfpVa0Lg.js → app-globals-BYAPmvIk.js} +2 -2
- package/dist/cjs/{base-Cc2tyQoy.js → base--a0QJmk3.js} +10 -10
- package/dist/cjs/{base-CeaAJa72.js → base-BmhaEyug.js} +9 -9
- package/dist/cjs/{base-BIbzHEVE.js → base-BpyecmRJ.js} +20 -20
- package/dist/cjs/{base-BZ3x1Yaj.js → base-CUUvWtsB.js} +10 -10
- package/dist/cjs/{base-web-component-B_zszxEg.js → base-web-component-BompEaD1.js} +1 -1
- package/dist/cjs/{base-web-component-CpqYvVDi.js → base-web-component-CWIPg0xv.js} +13 -13
- package/dist/cjs/{base-web-component-Dk-So1FD.js → base-web-component-ZnP9FmYh.js} +8 -8
- package/dist/cjs/{behavior-cEIf2evT.js → behavior-CFLTEANn.js} +4 -4
- package/dist/cjs/{behavior-CYg7XOXd.js → behavior-DSFpiPZZ.js} +3 -3
- package/dist/cjs/{behavior--ZjzmIB4.js → behavior-O4U6x6z7.js} +3 -3
- package/dist/cjs/{color-BJ776mPh.js → color-BAx-7-VH.js} +2 -2
- package/dist/cjs/{component-BacsMsF-.js → component-7ByD-KGA.js} +3 -3
- package/dist/cjs/{component-BTfaB8W5.js → component-B2tj_1JK.js} +2 -2
- package/dist/cjs/{component-D65WOH6c.js → component-BOtCtyyw.js} +5 -5
- package/dist/cjs/{component-5ABjFE_U.js → component-BhAlZY9F.js} +3 -3
- package/dist/cjs/{component-BSx0ZVSD.js → component-BsX1-89D.js} +8 -8
- package/dist/cjs/{component-DVf7tz1e.js → component-C4QeEJ1-.js} +4 -4
- package/dist/cjs/{component-DwuAKOV_.js → component-DUJYVdRR.js} +4 -4
- package/dist/cjs/{component-Ddp-Luc6.js → component-DWb8RKVo.js} +6 -6
- package/dist/cjs/component-Dd3qxReW.js +178 -0
- package/dist/cjs/{component-DuknrIKz.js → component-STJidyBV.js} +10 -10
- package/dist/cjs/{component-C_9WksgV.js → component-TQvy83J2.js} +11 -11
- package/dist/cjs/{contrast-DrGTr5zd.js → contrast-DOAdZqCp.js} +1 -1
- package/dist/cjs/{dev.utils-EwVibOKw.js → dev.utils-DlmiDtkx.js} +1 -1
- package/dist/cjs/{devtools-CEqUJI9f.js → devtools-C41YtdU_.js} +2 -2
- package/dist/cjs/{disabled-DBnI2OR4.js → disabled-BdFhTB-H.js} +1 -1
- package/dist/cjs/{field-control-Jhzreo_j.js → field-control-S9RwdD26.js} +6 -6
- package/dist/cjs/{group-DDmENjNB.js → group-C00FoXnX.js} +4 -4
- package/dist/cjs/{has-closer-DIk_toj-.js → has-closer--ijHuPZy.js} +1 -1
- package/dist/cjs/{href-_UE7179j.js → href-BD4uBwDL.js} +1 -1
- package/dist/cjs/{id-JbinnWCW.js → id-BM9KgE0w.js} +1 -1
- package/dist/cjs/{index-P8gY4ccL.js → index-DRjg_lHL.js} +1 -1
- package/dist/cjs/{input-BYfPasa5.js → input-0s6YjmaC.js} +4 -4
- package/dist/cjs/{input-container-BQlNjdk3.js → input-container-DYp04csT.js} +5 -5
- package/dist/cjs/{item-Dgikq96R.js → item-BKyAM3Uo.js} +9 -9
- package/dist/cjs/{item-C6gnuMjx.js → item-CRgD35fr.js} +4 -4
- package/dist/cjs/{item-CvvVUcQZ.js → item-DWAwMGWB.js} +11 -11
- package/dist/cjs/{item-DSSJt2YS.js → item-xUIdEroQ.js} +4 -4
- package/dist/cjs/kol-abbr.cjs.entry.js +5 -5
- package/dist/cjs/kol-accordion.cjs.entry.js +14 -14
- package/dist/cjs/kol-alert.cjs.entry.js +21 -21
- package/dist/cjs/kol-avatar.cjs.entry.js +9 -9
- package/dist/cjs/kol-badge.cjs.entry.js +22 -22
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +22 -22
- package/dist/cjs/kol-button-link.cjs.entry.js +19 -19
- package/dist/cjs/kol-button.cjs.entry.js +19 -19
- package/dist/cjs/kol-card.cjs.entry.js +24 -24
- package/dist/cjs/kol-combobox.cjs.entry.js +32 -32
- package/dist/cjs/kol-details.cjs.entry.js +14 -14
- package/dist/cjs/kol-dialog.cjs.entry.js +27 -27
- package/dist/cjs/kol-drawer.cjs.entry.js +26 -26
- package/dist/cjs/kol-form.cjs.entry.js +20 -20
- package/dist/cjs/kol-heading.cjs.entry.js +9 -9
- package/dist/cjs/kol-icon.cjs.entry.js +7 -7
- package/dist/cjs/kol-image.cjs.entry.js +4 -4
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +28 -28
- package/dist/cjs/kol-input-color.cjs.entry.js +31 -31
- package/dist/cjs/kol-input-date.cjs.entry.js +33 -33
- package/dist/cjs/kol-input-email.cjs.entry.js +37 -37
- package/dist/cjs/kol-input-file.cjs.entry.js +30 -30
- package/dist/cjs/kol-input-number.cjs.entry.js +35 -35
- package/dist/cjs/kol-input-password.cjs.entry.js +35 -35
- package/dist/cjs/kol-input-radio.cjs.entry.js +30 -30
- package/dist/cjs/kol-input-range.cjs.entry.js +31 -31
- package/dist/cjs/kol-input-text.cjs.entry.js +37 -37
- package/dist/cjs/kol-kolibri.cjs.entry.js +3 -3
- package/dist/cjs/kol-link-button.cjs.entry.js +20 -20
- package/dist/cjs/kol-link.cjs.entry.js +20 -20
- package/dist/cjs/kol-meter.cjs.entry.js +9 -9
- package/dist/cjs/kol-modal.cjs.entry.js +27 -27
- package/dist/cjs/kol-nav.cjs.entry.js +27 -27
- package/dist/cjs/kol-pagination.cjs.entry.js +33 -33
- package/dist/cjs/kol-popover-button.cjs.entry.js +20 -20
- package/dist/cjs/kol-progress.cjs.entry.js +8 -8
- package/dist/cjs/kol-quote.cjs.entry.js +6 -6
- package/dist/cjs/kol-select.cjs.entry.js +30 -30
- package/dist/cjs/kol-single-select.cjs.entry.js +32 -32
- package/dist/cjs/kol-skip-nav.cjs.entry.js +22 -22
- package/dist/cjs/kol-spin.cjs.entry.js +7 -7
- package/dist/cjs/kol-split-button.cjs.entry.js +22 -22
- package/dist/cjs/kol-table-stateful.cjs.entry.js +45 -45
- package/dist/cjs/kol-table-stateless.cjs.entry.js +34 -34
- package/dist/cjs/kol-tabs.cjs.entry.js +19 -19
- package/dist/cjs/kol-textarea.cjs.entry.js +33 -33
- package/dist/cjs/kol-toast-container.cjs.entry.js +16 -16
- package/dist/cjs/kol-toolbar.cjs.entry.js +24 -24
- package/dist/cjs/kol-tooltip-wc.cjs.entry.js +10 -10
- package/dist/cjs/kol-tree-item.cjs.entry.js +18 -18
- package/dist/cjs/kol-tree.cjs.entry.js +6 -6
- package/dist/cjs/kol-version.cjs.entry.js +17 -17
- package/dist/cjs/kolibri.cjs.js +2 -2
- package/dist/cjs/{label-BAULqhwq.js → label-BA98eiFj.js} +3 -3
- package/dist/cjs/{label-hints-BHw-UcMt.js → label-hints-BE4LQ_Av.js} +1 -1
- package/dist/cjs/{label-lang-segment-D_UYFhgr.js → label-lang-segment-C5U5gEca.js} +2 -2
- package/dist/cjs/{label-with-expert-slot-XZTOiRp-.js → label-with-expert-slot-x1D8V34g.js} +3 -3
- package/dist/cjs/{level-CaJUuMiH.js → level-CX2p0n7U.js} +1 -1
- package/dist/cjs/{link-target-EZq24qVX.js → link-target-B1N4Je6O.js} +1 -1
- package/dist/cjs/{links-CNPivOpm.js → links-SN0jipdB.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{multiple-D4ktp4Q2.js → multiple-Dl_RoQ-P.js} +1 -1
- package/dist/cjs/{number-value-BzIR1UvL.js → number-value-DO-0brWb.js} +1 -1
- package/dist/cjs/{open-BYh5VAA1.js → open-BQ2n_Z5t.js} +1 -1
- package/dist/cjs/{options-DkF38kx_.js → options-B49Y2jkm.js} +1 -1
- package/dist/cjs/{orientation-D4yopkvP.js → orientation-DKdQrdXN.js} +1 -1
- package/dist/cjs/{placeholder-CZOGOuLS.js → placeholder-E5zS-kqO.js} +1 -1
- package/dist/cjs/{props-from-config-CiU21EHb.js → props-from-config-8bawgofo.js} +1 -1
- package/dist/cjs/{read-only-PNG5jHgh.js → read-only-YsES5bfT.js} +1 -1
- package/dist/cjs/{required-mj54_vO_.js → required-BvWmptNq.js} +1 -1
- package/dist/cjs/{resolve-props-DOnocHFi.js → resolve-props-CHqmeYxD.js} +6 -6
- package/dist/cjs/{resolve-props-CH6OL2es.js → resolve-props-DUeggpV2.js} +7 -7
- package/dist/cjs/{rows-YaAnXjAm.js → rows-BBmwZt2C.js} +1 -1
- package/dist/cjs/{scroll-lock-D3pgiG8q.js → scroll-lock-3znuNdTX.js} +2 -2
- package/dist/cjs/{smart-button-BU7mWP5H.js → smart-button-B3OCsLLZ.js} +1 -1
- package/dist/cjs/{spell-check-CZWiLkQE.js → spell-check-DuFxddUB.js} +1 -1
- package/dist/cjs/{src-rB2yGTSn.js → src-Cl2qHbxL.js} +1 -1
- package/dist/cjs/{step-Bo6ILIqa.js → step-Bf3TCVBv.js} +1 -1
- package/dist/cjs/{suggestions-BO4EvOXc.js → suggestions-BjKRoku9.js} +1 -1
- package/dist/cjs/{suggestions-Ca575hi-.js → suggestions-C4B_eROV.js} +3 -3
- package/dist/cjs/test-component.cjs.entry.js +1 -1
- package/dist/cjs/{toggle-handler-ByJYSOdb.js → toggle-handler-DEpykyv_.js} +8 -8
- package/dist/cjs/{unique-nav-labels-_EHPpYUR.js → unique-nav-labels-CNpNvloU.js} +1 -1
- package/dist/cjs/{unit-Bl0Lyk08.js → unit-gLQjiSkI.js} +1 -1
- package/dist/cjs/{validators-rLs6tEWo.js → validators-DNveqLx4.js} +1 -1
- package/dist/cjs/{value-string-BKsvZy1q.js → value-string-JMz269Bn.js} +1 -1
- package/dist/cjs/{width-DegQFxQB.js → width-_6rleKWl.js} +1 -1
- package/dist/collection/components/accordion/style.css +2 -2
- package/dist/collection/components/alert/style.css +2 -2
- package/dist/collection/components/badge/style.css +2 -2
- package/dist/collection/components/breadcrumb/style.css +2 -2
- package/dist/collection/components/button/style.css +2 -2
- package/dist/collection/components/button-link/style.css +2 -2
- package/dist/collection/components/card/style.css +2 -2
- package/dist/collection/components/combobox/style.css +2 -2
- package/dist/collection/components/details/style.css +2 -2
- package/dist/collection/components/dialog/style.css +2 -2
- package/dist/collection/components/drawer/style.css +2 -2
- package/dist/collection/components/form/style.css +2 -2
- package/dist/collection/components/icon/style.css +2 -2
- package/dist/collection/components/input-checkbox/style.css +2 -2
- package/dist/collection/components/input-color/style.css +2 -2
- package/dist/collection/components/input-date/style.css +2 -2
- package/dist/collection/components/input-email/style.css +2 -2
- package/dist/collection/components/input-file/style.css +2 -2
- package/dist/collection/components/input-number/style.css +2 -2
- package/dist/collection/components/input-password/style.css +2 -2
- package/dist/collection/components/input-radio/style.css +2 -2
- package/dist/collection/components/input-range/style.css +2 -2
- package/dist/collection/components/input-text/style.css +2 -2
- package/dist/collection/components/link/style.css +2 -2
- package/dist/collection/components/link-button/style.css +2 -2
- package/dist/collection/components/modal/style.css +2 -2
- package/dist/collection/components/nav/style.css +2 -2
- package/dist/collection/components/pagination/style.css +2 -2
- package/dist/collection/components/popover-button/style.css +2 -2
- package/dist/collection/components/select/style.css +2 -2
- package/dist/collection/components/single-select/style.css +2 -2
- package/dist/collection/components/skip-nav/style.css +2 -2
- package/dist/collection/components/split-button/style.css +2 -2
- package/dist/collection/components/table-stateful/style.css +2 -2
- package/dist/collection/components/table-stateless/style.css +2 -2
- package/dist/collection/components/tabs/style.css +2 -2
- package/dist/collection/components/textarea/style.css +2 -2
- package/dist/collection/components/toaster/style.css +2 -2
- package/dist/collection/components/toolbar/style.css +2 -2
- package/dist/collection/components/tree-item/style.css +2 -2
- package/dist/collection/components/version/style.css +2 -2
- package/dist/collection/utils/markdown.js +49 -3
- package/dist/components/base-web-component2.js +1 -1
- package/dist/components/base4.js +1 -1
- package/dist/components/behavior3.js +1 -1
- package/dist/components/bem-registry.js +1 -1
- package/dist/components/component6.js +1 -1
- package/dist/components/contrast.js +1 -1
- package/dist/components/controller.js +1 -1
- package/dist/components/devtools.js +1 -1
- package/dist/components/input-container.js +1 -1
- package/dist/components/kol-accordion.js +1 -1
- package/dist/components/kol-alert.js +1 -1
- package/dist/components/kol-badge.js +1 -1
- package/dist/components/kol-breadcrumb.js +1 -1
- package/dist/components/kol-button-link.js +1 -1
- package/dist/components/kol-button.js +1 -1
- package/dist/components/kol-card.js +1 -1
- package/dist/components/kol-combobox.js +1 -1
- package/dist/components/kol-details.js +1 -1
- package/dist/components/kol-dialog.js +1 -1
- package/dist/components/kol-drawer.js +1 -1
- package/dist/components/kol-form.js +1 -1
- package/dist/components/kol-icon.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-link-button.js +1 -1
- package/dist/components/kol-link.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-select.js +1 -1
- package/dist/components/kol-single-select.js +1 -1
- package/dist/components/kol-skip-nav.js +1 -1
- package/dist/components/kol-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-version.js +1 -1
- package/dist/components/links.js +1 -1
- package/dist/esm/{Heading-BubZbykM.js → Heading-DDS-lyOB.js} +2 -2
- package/dist/esm/{api-D0RNr-zh.js → api-MBSY9afi.js} +16 -16
- package/dist/esm/{app-globals-DYRte_jr.js → app-globals-DytcyM_s.js} +2 -2
- package/dist/esm/{base-BbGt9eYx.js → base-D-me6QDT.js} +10 -10
- package/dist/esm/{base-BP5SdLvQ.js → base-D7-iAVBu.js} +20 -20
- package/dist/esm/{base-Cz00snD6.js → base-DP9yHJOV.js} +10 -10
- package/dist/esm/{base-CLsKm3-e.js → base-DZBnXHZh.js} +9 -9
- package/dist/esm/{base-web-component-CdSFFCst.js → base-web-component-BLA2cpyz.js} +8 -8
- package/dist/esm/{base-web-component-CYPdDdRn.js → base-web-component-Bh2NCN7p.js} +1 -1
- package/dist/esm/{base-web-component-DP9_OPgV.js → base-web-component-DwY54ppZ.js} +13 -13
- package/dist/esm/{behavior-BJR8CKBx.js → behavior-Cw8QfOcm.js} +3 -3
- package/dist/esm/{behavior-DlH8byIw.js → behavior-DUy0X7U1.js} +3 -3
- package/dist/esm/{behavior-B6y5Gofe.js → behavior-DmR4WVXd.js} +4 -4
- package/dist/esm/{color-BbljGuAW.js → color-CnRQPMm_.js} +2 -2
- package/dist/esm/{component-CSsUaL_h.js → component-B4CDonzN.js} +5 -5
- package/dist/esm/{component-CNgECeRi.js → component-BC1TpQVD.js} +8 -8
- package/dist/esm/{component-6_YiKr2Z.js → component-BUzgs8fh.js} +11 -11
- package/dist/esm/{component-DEwcJKDA.js → component-Bldy_ShO.js} +4 -4
- package/dist/esm/component-Cj3P_f35.js +173 -0
- package/dist/esm/{component-B8UMedaK.js → component-D5yKRPCZ.js} +3 -3
- package/dist/esm/{component-NOe28NXD.js → component-DisuGN16.js} +3 -3
- package/dist/esm/{component-CMHB3reH.js → component-DxnezN7K.js} +4 -4
- package/dist/esm/{component-bIIx1x7q.js → component-LadkF9an.js} +2 -2
- package/dist/esm/{component-CiJGQTU0.js → component-ZJiUl6kZ.js} +10 -10
- package/dist/esm/{component-ZdHnXLLI.js → component-vxdandl4.js} +6 -6
- package/dist/esm/{contrast-DtK0a6X2.js → contrast-pfwNxK_L.js} +1 -1
- package/dist/esm/{dev.utils-B0t4rcBV.js → dev.utils-DM7Qhcet.js} +1 -1
- package/dist/esm/{devtools-DuJRc6wJ.js → devtools-CxUqjh1N.js} +2 -2
- package/dist/esm/{disabled-B2o4Ctgy.js → disabled-C2DzYwwy.js} +1 -1
- package/dist/esm/{field-control-C9dIXnES.js → field-control-CQJgDAKK.js} +6 -6
- package/dist/esm/{group-DydT1Z92.js → group-DCoICCiG.js} +4 -4
- package/dist/esm/{has-closer-BrG00xL7.js → has-closer-x20C4xl3.js} +1 -1
- package/dist/esm/{href-CfNF4pHX.js → href-vIF4eC7d.js} +1 -1
- package/dist/esm/{id-Bh4FF8c0.js → id-lCAtMmMx.js} +1 -1
- package/dist/esm/{index-Bbr6Os1b.js → index-8-BSSKQL.js} +1 -1
- package/dist/esm/{input-C1YsxnDL.js → input-C4yo-d7N.js} +4 -4
- package/dist/esm/{input-container-zXl_6y52.js → input-container-Cb2xJUCl.js} +5 -5
- package/dist/esm/{item-zXunNZh5.js → item-BANfM_Mo.js} +9 -9
- package/dist/esm/{item-DXDEHrEg.js → item-C2HHBTvm.js} +4 -4
- package/dist/esm/{item-hsQoejqZ.js → item-H09kNXn9.js} +4 -4
- package/dist/esm/{item-Dms_59sU.js → item-gvmzMXYb.js} +11 -11
- package/dist/esm/kol-abbr.entry.js +5 -5
- package/dist/esm/kol-accordion.entry.js +14 -14
- package/dist/esm/kol-alert.entry.js +21 -21
- package/dist/esm/kol-avatar.entry.js +9 -9
- package/dist/esm/kol-badge.entry.js +22 -22
- package/dist/esm/kol-breadcrumb.entry.js +22 -22
- package/dist/esm/kol-button-link.entry.js +19 -19
- package/dist/esm/kol-button.entry.js +19 -19
- package/dist/esm/kol-card.entry.js +24 -24
- package/dist/esm/kol-combobox.entry.js +32 -32
- package/dist/esm/kol-details.entry.js +14 -14
- package/dist/esm/kol-dialog.entry.js +27 -27
- package/dist/esm/kol-drawer.entry.js +26 -26
- package/dist/esm/kol-form.entry.js +20 -20
- package/dist/esm/kol-heading.entry.js +9 -9
- package/dist/esm/kol-icon.entry.js +7 -7
- package/dist/esm/kol-image.entry.js +4 -4
- package/dist/esm/kol-input-checkbox.entry.js +28 -28
- package/dist/esm/kol-input-color.entry.js +31 -31
- package/dist/esm/kol-input-date.entry.js +33 -33
- package/dist/esm/kol-input-email.entry.js +37 -37
- package/dist/esm/kol-input-file.entry.js +30 -30
- package/dist/esm/kol-input-number.entry.js +35 -35
- package/dist/esm/kol-input-password.entry.js +35 -35
- package/dist/esm/kol-input-radio.entry.js +30 -30
- package/dist/esm/kol-input-range.entry.js +31 -31
- package/dist/esm/kol-input-text.entry.js +37 -37
- package/dist/esm/kol-kolibri.entry.js +3 -3
- package/dist/esm/kol-link-button.entry.js +20 -20
- package/dist/esm/kol-link.entry.js +20 -20
- package/dist/esm/kol-meter.entry.js +9 -9
- package/dist/esm/kol-modal.entry.js +27 -27
- package/dist/esm/kol-nav.entry.js +27 -27
- package/dist/esm/kol-pagination.entry.js +33 -33
- package/dist/esm/kol-popover-button.entry.js +20 -20
- package/dist/esm/kol-progress.entry.js +8 -8
- package/dist/esm/kol-quote.entry.js +6 -6
- package/dist/esm/kol-select.entry.js +30 -30
- package/dist/esm/kol-single-select.entry.js +32 -32
- package/dist/esm/kol-skip-nav.entry.js +22 -22
- package/dist/esm/kol-spin.entry.js +7 -7
- package/dist/esm/kol-split-button.entry.js +22 -22
- package/dist/esm/kol-table-stateful.entry.js +45 -45
- package/dist/esm/kol-table-stateless.entry.js +34 -34
- package/dist/esm/kol-tabs.entry.js +19 -19
- package/dist/esm/kol-textarea.entry.js +33 -33
- package/dist/esm/kol-toast-container.entry.js +16 -16
- package/dist/esm/kol-toolbar.entry.js +24 -24
- package/dist/esm/kol-tooltip-wc.entry.js +10 -10
- package/dist/esm/kol-tree-item.entry.js +18 -18
- package/dist/esm/kol-tree.entry.js +6 -6
- package/dist/esm/kol-version.entry.js +17 -17
- package/dist/esm/kolibri.js +3 -3
- package/dist/esm/{label-hints-CZGo9ZD5.js → label-hints-BUADjqKF.js} +1 -1
- package/dist/esm/{label-lang-segment-C5LYGOHt.js → label-lang-segment-B13iL7iy.js} +2 -2
- package/dist/esm/{label-BQVd3bkc.js → label-mr5joqaQ.js} +3 -3
- package/dist/esm/{label-with-expert-slot-D1tpX9DI.js → label-with-expert-slot-BVqi0_Fb.js} +3 -3
- package/dist/esm/{level-BVXGgbSM.js → level-eGeMFn0b.js} +1 -1
- package/dist/esm/{link-target-BWPSEd9a.js → link-target-DEH-wAmf.js} +1 -1
- package/dist/esm/{links-BbsnNXfa.js → links-Dy9WkOJ-.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{multiple-S3Ol1G6Z.js → multiple-F8uOX8RD.js} +1 -1
- package/dist/esm/{number-value-DmOl1z7z.js → number-value-DncK2_pC.js} +1 -1
- package/dist/esm/{open-DPP79Urq.js → open-DoPXNruj.js} +1 -1
- package/dist/esm/{options-aA3M-QV2.js → options-DcIQ-KB2.js} +1 -1
- package/dist/esm/{orientation-DlsgaY1v.js → orientation-tX0FldEu.js} +1 -1
- package/dist/esm/{placeholder-DlHbiVjz.js → placeholder-BPZ2sQEB.js} +1 -1
- package/dist/esm/{props-from-config-BOUcpF7e.js → props-from-config-LBgEHmcL.js} +1 -1
- package/dist/esm/{read-only-DSBWEPED.js → read-only-9BPUG7r4.js} +1 -1
- package/dist/esm/{required-xw5BBPvV.js → required-DBJ4iW2e.js} +1 -1
- package/dist/esm/{resolve-props-DAVb5BM3.js → resolve-props-0xfjG6h5.js} +6 -6
- package/dist/esm/{resolve-props-CL8wxjtP.js → resolve-props-BQa6SjZU.js} +7 -7
- package/dist/esm/{rows-DRV8YlQv.js → rows-DuYJeJT7.js} +1 -1
- package/dist/esm/{scroll-lock-BxAe0gL5.js → scroll-lock-CIv7iOPB.js} +2 -2
- package/dist/esm/{smart-button-CQps8AlL.js → smart-button-p4avK7MS.js} +1 -1
- package/dist/esm/{spell-check-hy6xFhmT.js → spell-check-Bvc-Peew.js} +1 -1
- package/dist/esm/{src-AwoM1pRe.js → src-CVwlo_cY.js} +1 -1
- package/dist/esm/{step-CopA0_m7.js → step-oCposIuI.js} +1 -1
- package/dist/esm/{suggestions-CY8BJMOa.js → suggestions-BsWy2U2z.js} +1 -1
- package/dist/esm/{suggestions-BsiiaAxK.js → suggestions-fWMdnACm.js} +3 -3
- package/dist/esm/test-component.entry.js +1 -1
- package/dist/esm/{toggle-handler-ZMs2rBXc.js → toggle-handler-CtJ2Z7Us.js} +8 -8
- package/dist/esm/{unique-nav-labels-BV-M3fPR.js → unique-nav-labels-CZIyOzqJ.js} +1 -1
- package/dist/esm/{unit-hmMwqE9a.js → unit-YqluIXsF.js} +1 -1
- package/dist/esm/{validators-BgDmq-Qt.js → validators-ByUMEUYD.js} +1 -1
- package/dist/esm/{value-string-Dy8zJxlP.js → value-string-Baqhc_TX.js} +1 -1
- package/dist/esm/{width-BHn7XHj_.js → width-BJNhiv_8.js} +1 -1
- package/dist/kolibri/Heading-DDS-lyOB.js +4 -0
- package/dist/kolibri/{api-D0RNr-zh.js → api-MBSY9afi.js} +1 -1
- package/dist/kolibri/app-globals-DytcyM_s.js +4 -0
- package/dist/kolibri/base-D-me6QDT.js +4 -0
- package/dist/kolibri/base-D7-iAVBu.js +4 -0
- package/dist/kolibri/base-DP9yHJOV.js +4 -0
- package/dist/kolibri/{base-CLsKm3-e.js → base-DZBnXHZh.js} +1 -1
- package/dist/kolibri/{base-web-component-CdSFFCst.js → base-web-component-BLA2cpyz.js} +1 -1
- package/dist/kolibri/{base-web-component-CYPdDdRn.js → base-web-component-Bh2NCN7p.js} +1 -1
- package/dist/kolibri/{base-web-component-DP9_OPgV.js → base-web-component-DwY54ppZ.js} +1 -1
- package/dist/kolibri/{behavior-BJR8CKBx.js → behavior-Cw8QfOcm.js} +1 -1
- package/dist/kolibri/{behavior-DlH8byIw.js → behavior-DUy0X7U1.js} +1 -1
- package/dist/kolibri/{behavior-B6y5Gofe.js → behavior-DmR4WVXd.js} +1 -1
- package/dist/kolibri/{color-BbljGuAW.js → color-CnRQPMm_.js} +1 -1
- package/dist/kolibri/{component-CSsUaL_h.js → component-B4CDonzN.js} +1 -1
- package/dist/kolibri/component-BC1TpQVD.js +4 -0
- package/dist/kolibri/component-BUzgs8fh.js +4 -0
- package/dist/kolibri/component-Bldy_ShO.js +4 -0
- package/dist/kolibri/component-Cj3P_f35.js +4 -0
- package/dist/kolibri/component-D5yKRPCZ.js +4 -0
- package/dist/kolibri/{component-NOe28NXD.js → component-DisuGN16.js} +1 -1
- package/dist/kolibri/component-DxnezN7K.js +4 -0
- package/dist/kolibri/component-LadkF9an.js +4 -0
- package/dist/kolibri/component-ZJiUl6kZ.js +4 -0
- package/dist/kolibri/component-vxdandl4.js +4 -0
- package/dist/kolibri/{contrast-DtK0a6X2.js → contrast-pfwNxK_L.js} +1 -1
- package/dist/kolibri/{dev.utils-B0t4rcBV.js → dev.utils-DM7Qhcet.js} +1 -1
- package/dist/kolibri/{devtools-DuJRc6wJ.js → devtools-CxUqjh1N.js} +1 -1
- package/dist/kolibri/disabled-C2DzYwwy.js +4 -0
- package/dist/kolibri/field-control-CQJgDAKK.js +4 -0
- package/dist/kolibri/{group-DydT1Z92.js → group-DCoICCiG.js} +1 -1
- package/dist/kolibri/has-closer-x20C4xl3.js +4 -0
- package/dist/kolibri/href-vIF4eC7d.js +4 -0
- package/dist/kolibri/id-lCAtMmMx.js +4 -0
- package/dist/kolibri/index-8-BSSKQL.js +6 -0
- package/dist/kolibri/input-C4yo-d7N.js +4 -0
- package/dist/kolibri/{input-container-zXl_6y52.js → input-container-Cb2xJUCl.js} +1 -1
- package/dist/kolibri/{item-zXunNZh5.js → item-BANfM_Mo.js} +1 -1
- package/dist/kolibri/item-C2HHBTvm.js +4 -0
- package/dist/kolibri/item-H09kNXn9.js +4 -0
- package/dist/kolibri/item-gvmzMXYb.js +4 -0
- package/dist/kolibri/kol-abbr.entry.js +1 -1
- package/dist/kolibri/kol-accordion.entry.js +1 -1
- package/dist/kolibri/kol-alert.entry.js +1 -1
- package/dist/kolibri/kol-avatar.entry.js +1 -1
- package/dist/kolibri/kol-badge.entry.js +1 -1
- package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
- package/dist/kolibri/kol-button-link.entry.js +1 -1
- package/dist/kolibri/kol-button.entry.js +1 -1
- package/dist/kolibri/kol-card.entry.js +1 -1
- package/dist/kolibri/kol-combobox.entry.js +1 -1
- package/dist/kolibri/kol-details.entry.js +1 -1
- package/dist/kolibri/kol-dialog.entry.js +1 -1
- package/dist/kolibri/kol-drawer.entry.js +1 -1
- package/dist/kolibri/kol-form.entry.js +1 -1
- package/dist/kolibri/kol-heading.entry.js +1 -1
- package/dist/kolibri/kol-icon.entry.js +1 -1
- package/dist/kolibri/kol-image.entry.js +1 -1
- package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
- package/dist/kolibri/kol-input-color.entry.js +1 -1
- package/dist/kolibri/kol-input-date.entry.js +1 -1
- package/dist/kolibri/kol-input-email.entry.js +1 -1
- package/dist/kolibri/kol-input-file.entry.js +1 -1
- package/dist/kolibri/kol-input-number.entry.js +1 -1
- package/dist/kolibri/kol-input-password.entry.js +1 -1
- package/dist/kolibri/kol-input-radio.entry.js +1 -1
- package/dist/kolibri/kol-input-range.entry.js +1 -1
- package/dist/kolibri/kol-input-text.entry.js +1 -1
- package/dist/kolibri/kol-kolibri.entry.js +1 -1
- package/dist/kolibri/kol-link-button.entry.js +1 -1
- package/dist/kolibri/kol-link.entry.js +1 -1
- package/dist/kolibri/kol-meter.entry.js +1 -1
- package/dist/kolibri/kol-modal.entry.js +1 -1
- package/dist/kolibri/kol-nav.entry.js +1 -1
- package/dist/kolibri/kol-pagination.entry.js +1 -1
- package/dist/kolibri/kol-popover-button.entry.js +1 -1
- package/dist/kolibri/kol-progress.entry.js +1 -1
- package/dist/kolibri/kol-quote.entry.js +1 -1
- package/dist/kolibri/kol-select.entry.js +1 -1
- package/dist/kolibri/kol-single-select.entry.js +1 -1
- package/dist/kolibri/kol-skip-nav.entry.js +1 -1
- package/dist/kolibri/kol-spin.entry.js +1 -1
- package/dist/kolibri/kol-split-button.entry.js +1 -1
- package/dist/kolibri/kol-table-stateful.entry.js +1 -1
- package/dist/kolibri/kol-table-stateless.entry.js +1 -1
- package/dist/kolibri/kol-tabs.entry.js +1 -1
- package/dist/kolibri/kol-textarea.entry.js +1 -1
- package/dist/kolibri/kol-toast-container.entry.js +1 -1
- package/dist/kolibri/kol-toolbar.entry.js +1 -1
- package/dist/kolibri/kol-tooltip-wc.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-hints-CZGo9ZD5.js → label-hints-BUADjqKF.js} +1 -1
- package/dist/kolibri/label-lang-segment-B13iL7iy.js +4 -0
- package/dist/kolibri/label-mr5joqaQ.js +4 -0
- package/dist/kolibri/label-with-expert-slot-BVqi0_Fb.js +4 -0
- package/dist/kolibri/level-eGeMFn0b.js +4 -0
- package/dist/kolibri/link-target-DEH-wAmf.js +4 -0
- package/dist/kolibri/{links-BbsnNXfa.js → links-Dy9WkOJ-.js} +1 -1
- package/dist/kolibri/multiple-F8uOX8RD.js +4 -0
- package/dist/kolibri/{number-value-DmOl1z7z.js → number-value-DncK2_pC.js} +1 -1
- package/dist/kolibri/open-DoPXNruj.js +4 -0
- package/dist/kolibri/{options-aA3M-QV2.js → options-DcIQ-KB2.js} +1 -1
- package/dist/kolibri/{orientation-DlsgaY1v.js → orientation-tX0FldEu.js} +1 -1
- package/dist/kolibri/placeholder-BPZ2sQEB.js +4 -0
- package/dist/kolibri/{props-from-config-BOUcpF7e.js → props-from-config-LBgEHmcL.js} +1 -1
- package/dist/kolibri/read-only-9BPUG7r4.js +4 -0
- package/dist/kolibri/required-DBJ4iW2e.js +4 -0
- package/dist/kolibri/resolve-props-0xfjG6h5.js +4 -0
- package/dist/kolibri/resolve-props-BQa6SjZU.js +4 -0
- package/dist/kolibri/rows-DuYJeJT7.js +4 -0
- package/dist/kolibri/{scroll-lock-BxAe0gL5.js → scroll-lock-CIv7iOPB.js} +1 -1
- package/dist/kolibri/{smart-button-CQps8AlL.js → smart-button-p4avK7MS.js} +1 -1
- package/dist/kolibri/spell-check-Bvc-Peew.js +4 -0
- package/dist/kolibri/src-CVwlo_cY.js +4 -0
- package/dist/kolibri/step-oCposIuI.js +4 -0
- package/dist/kolibri/{suggestions-CY8BJMOa.js → suggestions-BsWy2U2z.js} +1 -1
- package/dist/kolibri/suggestions-fWMdnACm.js +4 -0
- package/dist/kolibri/test-component.entry.js +1 -1
- package/dist/kolibri/toggle-handler-CtJ2Z7Us.js +4 -0
- package/dist/kolibri/unique-nav-labels-CZIyOzqJ.js +4 -0
- package/dist/kolibri/unit-YqluIXsF.js +4 -0
- package/dist/kolibri/validators-ByUMEUYD.js +4 -0
- package/dist/kolibri/value-string-Baqhc_TX.js +4 -0
- package/dist/kolibri/{width-BHn7XHj_.js → width-BJNhiv_8.js} +1 -1
- package/package.json +3 -5
- package/dist/cjs/component-DE4OHvyu.js +0 -9299
- package/dist/esm/component-hiabKVP3.js +0 -9294
- package/dist/kolibri/Heading-BubZbykM.js +0 -4
- package/dist/kolibri/app-globals-DYRte_jr.js +0 -4
- package/dist/kolibri/base-BP5SdLvQ.js +0 -4
- package/dist/kolibri/base-BbGt9eYx.js +0 -4
- package/dist/kolibri/base-Cz00snD6.js +0 -4
- package/dist/kolibri/component-6_YiKr2Z.js +0 -4
- package/dist/kolibri/component-B8UMedaK.js +0 -4
- package/dist/kolibri/component-CMHB3reH.js +0 -4
- package/dist/kolibri/component-CNgECeRi.js +0 -4
- package/dist/kolibri/component-CiJGQTU0.js +0 -4
- package/dist/kolibri/component-DEwcJKDA.js +0 -4
- package/dist/kolibri/component-ZdHnXLLI.js +0 -4
- package/dist/kolibri/component-bIIx1x7q.js +0 -4
- package/dist/kolibri/component-hiabKVP3.js +0 -4
- package/dist/kolibri/disabled-B2o4Ctgy.js +0 -4
- package/dist/kolibri/field-control-C9dIXnES.js +0 -4
- package/dist/kolibri/has-closer-BrG00xL7.js +0 -4
- package/dist/kolibri/href-CfNF4pHX.js +0 -4
- package/dist/kolibri/id-Bh4FF8c0.js +0 -4
- package/dist/kolibri/index-Bbr6Os1b.js +0 -6
- package/dist/kolibri/input-C1YsxnDL.js +0 -4
- package/dist/kolibri/item-DXDEHrEg.js +0 -4
- package/dist/kolibri/item-Dms_59sU.js +0 -4
- package/dist/kolibri/item-hsQoejqZ.js +0 -4
- package/dist/kolibri/label-BQVd3bkc.js +0 -4
- package/dist/kolibri/label-lang-segment-C5LYGOHt.js +0 -4
- package/dist/kolibri/label-with-expert-slot-D1tpX9DI.js +0 -4
- package/dist/kolibri/level-BVXGgbSM.js +0 -4
- package/dist/kolibri/link-target-BWPSEd9a.js +0 -4
- package/dist/kolibri/multiple-S3Ol1G6Z.js +0 -4
- package/dist/kolibri/open-DPP79Urq.js +0 -4
- package/dist/kolibri/placeholder-DlHbiVjz.js +0 -4
- package/dist/kolibri/read-only-DSBWEPED.js +0 -4
- package/dist/kolibri/required-xw5BBPvV.js +0 -4
- package/dist/kolibri/resolve-props-CL8wxjtP.js +0 -4
- package/dist/kolibri/resolve-props-DAVb5BM3.js +0 -4
- package/dist/kolibri/rows-DRV8YlQv.js +0 -4
- package/dist/kolibri/spell-check-hy6xFhmT.js +0 -4
- package/dist/kolibri/src-AwoM1pRe.js +0 -4
- package/dist/kolibri/step-CopA0_m7.js +0 -4
- package/dist/kolibri/suggestions-BsiiaAxK.js +0 -4
- package/dist/kolibri/toggle-handler-ZMs2rBXc.js +0 -4
- package/dist/kolibri/unique-nav-labels-BV-M3fPR.js +0 -4
- package/dist/kolibri/unit-hmMwqE9a.js +0 -4
- package/dist/kolibri/validators-BgDmq-Qt.js +0 -4
- package/dist/kolibri/value-string-Dy8zJxlP.js +0 -4
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { h, r as registerInstance, H as Host } from './index-
|
|
4
|
+
import { h, r as registerInstance, H as Host } from './index-8-BSSKQL.js';
|
|
5
5
|
import { t as translate } from './i18n-BLkzMf6D.js';
|
|
6
|
-
import { B as BaseWebComponent } from './base-web-component-
|
|
6
|
+
import { B as BaseWebComponent } from './base-web-component-Bh2NCN7p.js';
|
|
7
7
|
import './common-BdSzSIXg.js';
|
|
8
|
-
import { B as BemRootNodeFC } from './props-from-config-
|
|
9
|
-
import { l as labelProp } from './label-
|
|
10
|
-
import { B as BadgeFC } from './component-
|
|
11
|
-
import { c as createContrastColorPair } from './contrast-
|
|
8
|
+
import { B as BemRootNodeFC } from './props-from-config-LBgEHmcL.js';
|
|
9
|
+
import { l as labelProp } from './label-mr5joqaQ.js';
|
|
10
|
+
import { B as BadgeFC } from './component-DxnezN7K.js';
|
|
11
|
+
import { c as createContrastColorPair } from './contrast-pfwNxK_L.js';
|
|
12
12
|
import './i18n-BRgvVqCf.js';
|
|
13
13
|
import './bem-registry-SKACeCny.js';
|
|
14
|
-
import './validators-
|
|
15
|
-
import './label-hints-
|
|
16
|
-
import './component-
|
|
14
|
+
import './validators-ByUMEUYD.js';
|
|
15
|
+
import './label-hints-BUADjqKF.js';
|
|
16
|
+
import './component-BC1TpQVD.js';
|
|
17
17
|
import './tslib.es6-QNbPBOk5.js';
|
|
18
|
-
import './component-
|
|
19
|
-
import './component-
|
|
20
|
-
import './component-
|
|
21
|
-
import './component-
|
|
22
|
-
import './disabled-
|
|
23
|
-
import './id-
|
|
24
|
-
import './label-with-expert-slot-
|
|
18
|
+
import './component-Bldy_ShO.js';
|
|
19
|
+
import './component-D5yKRPCZ.js';
|
|
20
|
+
import './component-Cj3P_f35.js';
|
|
21
|
+
import './component-LadkF9an.js';
|
|
22
|
+
import './disabled-C2DzYwwy.js';
|
|
23
|
+
import './id-lCAtMmMx.js';
|
|
24
|
+
import './label-with-expert-slot-BVqi0_Fb.js';
|
|
25
25
|
|
|
26
26
|
const versionPropsConfig = {
|
|
27
27
|
required: [labelProp],
|
|
@@ -31,7 +31,7 @@ const VersionFC = ({ class: hostClass, color, icons, label }) => {
|
|
|
31
31
|
return (h(BemRootNodeFC, { block: "kol-version", class: hostClass }, h(BadgeFC, { color: color, icons: icons, label: label })));
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
-
const defaultStyleCss = () => `@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=
|
|
34
|
+
const defaultStyleCss = () => `@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1795160658049"); src: url("kolicons.eot?t=1795160658049#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1795160658049") format("woff2"), url("kolicons.woff?t=1795160658049") format("woff"), url("kolicons.ttf?t=1795160658049") format("truetype"), url("kolicons.svg?t=1795160658049#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-badge { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: flex; align-items: center; justify-content: space-between; } .kol-badge > br { user-select: none; } }`;
|
|
35
35
|
|
|
36
36
|
const VERSION_COLORS = createContrastColorPair('#bec5c9');
|
|
37
37
|
const VERSION_COLOR = { backgroundColor: VERSION_COLORS.background, foregroundColor: VERSION_COLORS.foreground };
|
package/dist/esm/kolibri.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
5
|
-
export { s as setNonce } from './index-
|
|
6
|
-
import { g as globalScripts } from './app-globals-
|
|
4
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-8-BSSKQL.js';
|
|
5
|
+
export { s as setNonce } from './index-8-BSSKQL.js';
|
|
6
|
+
import { g as globalScripts } from './app-globals-DytcyM_s.js';
|
|
7
7
|
import './common-BdSzSIXg.js';
|
|
8
8
|
|
|
9
9
|
/*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { t as trimLabel, o as hasEnoughReadableChars, p as containsOnlyNumbers } from './props-from-config-
|
|
4
|
+
import { t as trimLabel, o as hasEnoughReadableChars, p as containsOnlyNumbers } from './props-from-config-LBgEHmcL.js';
|
|
5
5
|
import { n as a11yHint, u as uiUxHint } from './common-BdSzSIXg.js';
|
|
6
6
|
|
|
7
7
|
function labelHints(_propName, value) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { c as createPropDefinition, j as isValidLabelSegments, m as normalizeLabelSegments } from './props-from-config-
|
|
5
|
-
import { l as labelHints } from './label-hints-
|
|
4
|
+
import { c as createPropDefinition, j as isValidLabelSegments, m as normalizeLabelSegments } from './props-from-config-LBgEHmcL.js';
|
|
5
|
+
import { l as labelHints } from './label-hints-BUADjqKF.js';
|
|
6
6
|
|
|
7
7
|
const labelLangSegmentsProp = createPropDefinition('label', undefined, normalizeLabelSegments, isValidLabelSegments, {
|
|
8
8
|
hints: labelHints,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { c as createPropDefinition, b as normalizeString } from './props-from-config-
|
|
5
|
-
import { c as isValidLabel } from './validators-
|
|
6
|
-
import { l as labelHints } from './label-hints-
|
|
4
|
+
import { c as createPropDefinition, b as normalizeString } from './props-from-config-LBgEHmcL.js';
|
|
5
|
+
import { c as isValidLabel } from './validators-ByUMEUYD.js';
|
|
6
|
+
import { l as labelHints } from './label-hints-BUADjqKF.js';
|
|
7
7
|
|
|
8
8
|
const labelProp = createPropDefinition('label', undefined, normalizeString, isValidLabel, {
|
|
9
9
|
hints: labelHints,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { c as createPropDefinition, m as normalizeLabelSegments } from './props-from-config-
|
|
5
|
-
import { b as isValidLabelWithExpertSlot } from './validators-
|
|
6
|
-
import { l as labelHints } from './label-hints-
|
|
4
|
+
import { c as createPropDefinition, m as normalizeLabelSegments } from './props-from-config-LBgEHmcL.js';
|
|
5
|
+
import { b as isValidLabelWithExpertSlot } from './validators-ByUMEUYD.js';
|
|
6
|
+
import { l as labelHints } from './label-hints-BUADjqKF.js';
|
|
7
7
|
|
|
8
8
|
const labelWithExpertSlotProp = createPropDefinition('label', '', normalizeLabelSegments, isValidLabelWithExpertSlot, {
|
|
9
9
|
hints: labelHints,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { c as createPropDefinition, q as normalizeInteger } from './props-from-config-
|
|
4
|
+
import { c as createPropDefinition, q as normalizeInteger } from './props-from-config-LBgEHmcL.js';
|
|
5
5
|
|
|
6
6
|
const headingLevelOptions = [0, 1, 2, 3, 4, 5, 6];
|
|
7
7
|
const levelProp = createPropDefinition('level', 0, (value) => normalizeInteger(value), (v) => headingLevelOptions.includes(v));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { c as createPropDefinition, b as normalizeString } from './props-from-config-
|
|
4
|
+
import { c as createPropDefinition, b as normalizeString } from './props-from-config-LBgEHmcL.js';
|
|
5
5
|
|
|
6
6
|
const linkTargetProp = createPropDefinition('target', '', normalizeString);
|
|
7
7
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
4
|
import { B as uiUxHintMillerscheZahl } from './common-BdSzSIXg.js';
|
|
5
|
-
import { c as createPropDefinition, f as normalizeArray } from './props-from-config-
|
|
5
|
+
import { c as createPropDefinition, f as normalizeArray } from './props-from-config-LBgEHmcL.js';
|
|
6
6
|
|
|
7
7
|
function createLinksPropDefinition(componentName) {
|
|
8
8
|
return createPropDefinition('links', [], (value) => normalizeArray(value), (items) => items.every((item) => typeof item === 'object' && item !== null && (typeof item._href === 'string' || typeof item._label === 'string')), {
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { b as bootstrapLazy } from './index-
|
|
5
|
-
export { s as setNonce } from './index-
|
|
6
|
-
import { g as globalScripts } from './app-globals-
|
|
4
|
+
import { b as bootstrapLazy } from './index-8-BSSKQL.js';
|
|
5
|
+
export { s as setNonce } from './index-8-BSSKQL.js';
|
|
6
|
+
import { g as globalScripts } from './app-globals-DytcyM_s.js';
|
|
7
7
|
import './common-BdSzSIXg.js';
|
|
8
8
|
|
|
9
9
|
const defineCustomElements = async (win, options) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { c as createPropDefinition, n as normalizeBoolean } from './props-from-config-
|
|
4
|
+
import { c as createPropDefinition, n as normalizeBoolean } from './props-from-config-LBgEHmcL.js';
|
|
5
5
|
|
|
6
6
|
const multipleProp = createPropDefinition('multiple', false, normalizeBoolean);
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { c as createPropDefinition, C as normalizeInputNumber, E as isNumberString } from './props-from-config-
|
|
4
|
+
import { c as createPropDefinition, C as normalizeInputNumber, E as isNumberString } from './props-from-config-LBgEHmcL.js';
|
|
5
5
|
|
|
6
6
|
const inputMaxProp = createPropDefinition('max', undefined, normalizeInputNumber);
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { c as createPropDefinition, n as normalizeBoolean } from './props-from-config-
|
|
4
|
+
import { c as createPropDefinition, n as normalizeBoolean } from './props-from-config-LBgEHmcL.js';
|
|
5
5
|
|
|
6
6
|
const openProp = createPropDefinition('open', false, normalizeBoolean);
|
|
7
7
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
4
|
import { p as parseJson } from './common-BdSzSIXg.js';
|
|
5
|
-
import { c as createPropDefinition } from './props-from-config-
|
|
5
|
+
import { c as createPropDefinition } from './props-from-config-LBgEHmcL.js';
|
|
6
6
|
|
|
7
7
|
const getLabel = (option) => (typeof option === 'object' && option !== null ? option.label : undefined);
|
|
8
8
|
const isValidOption = (option) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { b as normalizeString, c as createPropDefinition } from './props-from-config-
|
|
4
|
+
import { b as normalizeString, c as createPropDefinition } from './props-from-config-LBgEHmcL.js';
|
|
5
5
|
|
|
6
6
|
const orientationOptions = ['horizontal', 'vertical'];
|
|
7
7
|
function normalizeOrientation(value) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { c as createPropDefinition, b as normalizeString } from './props-from-config-
|
|
4
|
+
import { c as createPropDefinition, b as normalizeString } from './props-from-config-LBgEHmcL.js';
|
|
5
5
|
|
|
6
6
|
const placeholderProp = createPropDefinition('placeholder', undefined, normalizeString);
|
|
7
7
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
4
|
import { j as isObject$1, k as devWarning, l as parse, m as hsl, r as rgb } from './common-BdSzSIXg.js';
|
|
5
|
-
import { h } from './index-
|
|
5
|
+
import { h } from './index-8-BSSKQL.js';
|
|
6
6
|
import { b as bem } from './bem-registry-SKACeCny.js';
|
|
7
7
|
|
|
8
8
|
/** Detect free variable `global` from Node.js. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { c as createPropDefinition, n as normalizeBoolean } from './props-from-config-
|
|
4
|
+
import { c as createPropDefinition, n as normalizeBoolean } from './props-from-config-LBgEHmcL.js';
|
|
5
5
|
|
|
6
6
|
const readOnlyProp = createPropDefinition('readOnly', false, normalizeBoolean);
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { c as createPropDefinition, n as normalizeBoolean } from './props-from-config-
|
|
4
|
+
import { c as createPropDefinition, n as normalizeBoolean } from './props-from-config-LBgEHmcL.js';
|
|
5
5
|
|
|
6
6
|
const requiredProp = createPropDefinition('required', false, normalizeBoolean);
|
|
7
7
|
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
4
|
import { X } from './common-BdSzSIXg.js';
|
|
5
|
-
import { a as accessKeyProp, b as ariaControlsProp, c as ariaDescriptionProp, f as ariaExpandedProp, g as customClassProp, h as hideLabelProp, i as inlineProp, l as linkRoleProp, d as shortKeyProp, s as spanIconsProp, e as tooltipAlignProp, t as tabIndexProp, v as variantProp } from './component-
|
|
6
|
-
import { b as buttonPropsConfig, a as ariaSelectedProp, c as buttonCallbacksProp, d as buttonTypeProp, n as nameProp } from './component-
|
|
7
|
-
import { d as disabledProp } from './disabled-
|
|
8
|
-
import { i as idProp } from './id-
|
|
9
|
-
import { d as buildDefaultPropsFromConfig } from './props-from-config-
|
|
10
|
-
import { l as labelWithExpertSlotProp } from './label-with-expert-slot-
|
|
5
|
+
import { a as accessKeyProp, b as ariaControlsProp, c as ariaDescriptionProp, f as ariaExpandedProp, g as customClassProp, h as hideLabelProp, i as inlineProp, l as linkRoleProp, d as shortKeyProp, s as spanIconsProp, e as tooltipAlignProp, t as tabIndexProp, v as variantProp } from './component-Bldy_ShO.js';
|
|
6
|
+
import { b as buttonPropsConfig, a as ariaSelectedProp, c as buttonCallbacksProp, d as buttonTypeProp, n as nameProp } from './component-BC1TpQVD.js';
|
|
7
|
+
import { d as disabledProp } from './disabled-C2DzYwwy.js';
|
|
8
|
+
import { i as idProp } from './id-lCAtMmMx.js';
|
|
9
|
+
import { d as buildDefaultPropsFromConfig } from './props-from-config-LBgEHmcL.js';
|
|
10
|
+
import { l as labelWithExpertSlotProp } from './label-with-expert-slot-BVqi0_Fb.js';
|
|
11
11
|
|
|
12
12
|
const BUTTON_ELEMENT_DEFAULTS = {
|
|
13
13
|
disabled: false,
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { v as validateAccessAndShortKey } from './access-and-short-key-ijzCZfHm.js';
|
|
5
5
|
import './common-BdSzSIXg.js';
|
|
6
|
-
import { a as accessKeyProp, b as ariaControlsProp, c as ariaDescriptionProp, f as ariaExpandedProp, g as customClassProp, h as hideLabelProp, s as spanIconsProp, i as inlineProp, l as linkRoleProp, d as shortKeyProp, e as tooltipAlignProp, v as variantProp, t as tabIndexProp } from './component-
|
|
7
|
-
import { l as linkPropsConfig, a as ariaCurrentValueProp, c as ariaOwnsProp, d as downloadProp, b as linkCallbacksProp } from './component-
|
|
8
|
-
import { d as disabledProp } from './disabled-
|
|
9
|
-
import { h as hrefProp } from './href-
|
|
10
|
-
import { d as buildDefaultPropsFromConfig } from './props-from-config-
|
|
11
|
-
import { l as labelWithExpertSlotProp } from './label-with-expert-slot-
|
|
12
|
-
import { l as linkTargetProp } from './link-target-
|
|
6
|
+
import { a as accessKeyProp, b as ariaControlsProp, c as ariaDescriptionProp, f as ariaExpandedProp, g as customClassProp, h as hideLabelProp, s as spanIconsProp, i as inlineProp, l as linkRoleProp, d as shortKeyProp, e as tooltipAlignProp, v as variantProp, t as tabIndexProp } from './component-Bldy_ShO.js';
|
|
7
|
+
import { l as linkPropsConfig, a as ariaCurrentValueProp, c as ariaOwnsProp, d as downloadProp, b as linkCallbacksProp } from './component-ZJiUl6kZ.js';
|
|
8
|
+
import { d as disabledProp } from './disabled-C2DzYwwy.js';
|
|
9
|
+
import { h as hrefProp } from './href-vIF4eC7d.js';
|
|
10
|
+
import { d as buildDefaultPropsFromConfig } from './props-from-config-LBgEHmcL.js';
|
|
11
|
+
import { l as labelWithExpertSlotProp } from './label-with-expert-slot-BVqi0_Fb.js';
|
|
12
|
+
import { l as linkTargetProp } from './link-target-DEH-wAmf.js';
|
|
13
13
|
|
|
14
14
|
const LINK_ELEMENT_DEFAULTS = {
|
|
15
15
|
disabled: false,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { c as createPropDefinition, D as normalizeNumber } from './props-from-config-
|
|
4
|
+
import { c as createPropDefinition, D as normalizeNumber } from './props-from-config-LBgEHmcL.js';
|
|
5
5
|
|
|
6
6
|
const rowsProp = createPropDefinition('rows', undefined, normalizeNumber, (value) => value >= 1);
|
|
7
7
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { h } from './index-
|
|
4
|
+
import { h } from './index-8-BSSKQL.js';
|
|
5
5
|
import { b as bem } from './bem-registry-SKACeCny.js';
|
|
6
|
-
import { e as clsx, B as BemRootNodeFC } from './props-from-config-
|
|
6
|
+
import { e as clsx, B as BemRootNodeFC } from './props-from-config-LBgEHmcL.js';
|
|
7
7
|
|
|
8
8
|
const dialogBem = bem.forBlock('kol-dialog');
|
|
9
9
|
const modalBem = bem.forBlock('kol-modal');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
4
|
import { p as parseJson } from './common-BdSzSIXg.js';
|
|
5
|
-
import { c as createPropDefinition } from './props-from-config-
|
|
5
|
+
import { c as createPropDefinition } from './props-from-config-LBgEHmcL.js';
|
|
6
6
|
|
|
7
7
|
function normalizeSmartButton(value) {
|
|
8
8
|
const parsed = typeof value === 'string' ? parseJson(value) : value;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { c as createPropDefinition, n as normalizeBoolean } from './props-from-config-
|
|
4
|
+
import { c as createPropDefinition, n as normalizeBoolean } from './props-from-config-LBgEHmcL.js';
|
|
5
5
|
|
|
6
6
|
const spellCheckProp = createPropDefinition('spellCheck', undefined, normalizeBoolean);
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { c as createPropDefinition, b as normalizeString } from './props-from-config-
|
|
4
|
+
import { c as createPropDefinition, b as normalizeString } from './props-from-config-LBgEHmcL.js';
|
|
5
5
|
|
|
6
6
|
const srcProp = createPropDefinition('src', '', normalizeString);
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { c as createPropDefinition, C as normalizeInputNumber } from './props-from-config-
|
|
4
|
+
import { c as createPropDefinition, C as normalizeInputNumber } from './props-from-config-LBgEHmcL.js';
|
|
5
5
|
|
|
6
6
|
const stepProp = createPropDefinition('step', undefined, normalizeInputNumber);
|
|
7
7
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
4
|
import { n as a11yHint, p as parseJson } from './common-BdSzSIXg.js';
|
|
5
|
-
import { c as createPropDefinition } from './props-from-config-
|
|
5
|
+
import { c as createPropDefinition } from './props-from-config-LBgEHmcL.js';
|
|
6
6
|
|
|
7
7
|
function normalizeSuggestions(value) {
|
|
8
8
|
const parsed = typeof value === 'string' ? parseJson(value) : value;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { c as createPropDefinition, b as normalizeString } from './props-from-config-
|
|
4
|
+
import { c as createPropDefinition, b as normalizeString } from './props-from-config-LBgEHmcL.js';
|
|
5
5
|
import { a as __rest } from './tslib.es6-QNbPBOk5.js';
|
|
6
|
-
import { h } from './index-
|
|
7
|
-
import { a as createRelatedUniqueId } from './dev.utils-
|
|
6
|
+
import { h } from './index-8-BSSKQL.js';
|
|
7
|
+
import { a as createRelatedUniqueId } from './dev.utils-DM7Qhcet.js';
|
|
8
8
|
|
|
9
9
|
const autoCompleteProp = createPropDefinition('autoComplete', 'off', normalizeString, (value) => value.length > 0);
|
|
10
10
|
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
4
|
import './common-BdSzSIXg.js';
|
|
5
|
-
import { l as levelProp } from './level-
|
|
6
|
-
import { a as createCallbacksPropDefinition, g as getBlockBem, e as clsx, B as BemRootNodeFC } from './props-from-config-
|
|
7
|
-
import { d as disabledProp } from './disabled-
|
|
8
|
-
import { l as labelLangSegmentsProp } from './label-lang-segment-
|
|
9
|
-
import { o as openProp } from './open-
|
|
10
|
-
import { h } from './index-
|
|
11
|
-
import { K as KolHeadingFc } from './Heading-
|
|
5
|
+
import { l as levelProp } from './level-eGeMFn0b.js';
|
|
6
|
+
import { a as createCallbacksPropDefinition, g as getBlockBem, e as clsx, B as BemRootNodeFC } from './props-from-config-LBgEHmcL.js';
|
|
7
|
+
import { d as disabledProp } from './disabled-C2DzYwwy.js';
|
|
8
|
+
import { l as labelLangSegmentsProp } from './label-lang-segment-B13iL7iy.js';
|
|
9
|
+
import { o as openProp } from './open-DoPXNruj.js';
|
|
10
|
+
import { h } from './index-8-BSSKQL.js';
|
|
11
|
+
import { K as KolHeadingFc } from './Heading-DDS-lyOB.js';
|
|
12
12
|
import { p as preventFocus } from './element-interaction-sGYdEpmv.js';
|
|
13
|
-
import { S as SpanFC } from './component-
|
|
13
|
+
import { S as SpanFC } from './component-Cj3P_f35.js';
|
|
14
14
|
import { d as dispatchDomEvent, K as KolEvent } from './events-CRHxtwup.js';
|
|
15
15
|
|
|
16
16
|
const collapsibleCallbacksProp = createCallbacksPropDefinition();
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
4
|
import { L as Log } from './common-BdSzSIXg.js';
|
|
5
|
-
import { t as trimLabel } from './props-from-config-
|
|
5
|
+
import { t as trimLabel } from './props-from-config-LBgEHmcL.js';
|
|
6
6
|
|
|
7
7
|
const UNIQUE_LABELS = new Set();
|
|
8
8
|
function addNavLabel(ariaLabel) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { c as createPropDefinition, D as normalizeNumber, b as normalizeString } from './props-from-config-
|
|
4
|
+
import { c as createPropDefinition, D as normalizeNumber, b as normalizeString } from './props-from-config-LBgEHmcL.js';
|
|
5
5
|
|
|
6
6
|
const maxProp = createPropDefinition('max', 100, normalizeNumber, (v) => v > 0);
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { j as isValidLabelSegments, z as isValidLabelString } from './props-from-config-
|
|
4
|
+
import { j as isValidLabelSegments, z as isValidLabelString } from './props-from-config-LBgEHmcL.js';
|
|
5
5
|
|
|
6
6
|
const SAFE_CLASS_NAME_RE = /^[a-zA-Z][a-zA-Z0-9_-]{0,60}$/;
|
|
7
7
|
const isSafeClassName = (value) => typeof value === 'string' && SAFE_CLASS_NAME_RE.test(value);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { c as createPropDefinition, b as normalizeString } from './props-from-config-
|
|
4
|
+
import { c as createPropDefinition, b as normalizeString } from './props-from-config-LBgEHmcL.js';
|
|
5
5
|
|
|
6
6
|
const stringValueProp = createPropDefinition('value', undefined, normalizeString);
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { c as createPropDefinition, b as normalizeString } from './props-from-config-
|
|
4
|
+
import { c as createPropDefinition, b as normalizeString } from './props-from-config-LBgEHmcL.js';
|
|
5
5
|
|
|
6
6
|
function normalizeDialogCallbacks(value) {
|
|
7
7
|
if (typeof value !== 'object' || value === null) {
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{a as e}from"./tslib.es6-QNbPBOk5.js";import{h as s}from"./index-8-BSSKQL.js";import{e as l}from"./props-from-config-LBgEHmcL.js";const a=1;function o(e){return function(e){return e>=a&&e<=6}(e)?`h${e}`:"strong"}const r=(r,n)=>{var{class:c,level:t=a}=r,i=e(r,["class","level"]);const d=o(t);return s(d,Object.assign({class:l("kol-headline",`kol-headline--${d}`,c)},i),n)},n=(a,o)=>{var{class:r}=a,n=e(a,["class"]);return s("p",Object.assign({class:l("kol-headline kol-headline--group kol-headline--secondary",r)},n),o)},c=(o,c)=>{var{secondaryHeadline:t,level:i=a,class:d,HeadingGroupProps:p={},SecondaryHeadlineProps:u={}}=o,g=e(o,["secondaryHeadline","level","class","HeadingGroupProps","SecondaryHeadlineProps"]);const h=Object.assign({level:i},g);if(!t)return s(r,Object.assign({class:l(d,"kol-headline--single")},h),c);const{class:j}=p,b=e(p,["class"]),k=Object.assign({class:l("kol-heading-group",j)},b);return s("hgroup",Object.assign({},k),s(r,Object.assign({class:l(d,"kol-headline--group","kol-headline--primary")},h),c),s(n,Object.assign({},u),t))};export{c as K,o as g}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{a as e}from"./tslib.es6-QNbPBOk5.js";import{p as i,j as t,D as o}from"./common-BdSzSIXg.js";import{S as s,b as l,s as r}from"./component-hiabKVP3.js";import{r as a}from"./aria-labelledby-DqJY_4G-.js";import{c as n,b as d,n as h,a as c,e as p,B as u,t as m}from"./props-from-config-BOUcpF7e.js";import{a as b,c as v,n as f}from"./dev.utils-B0t4rcBV.js";import{K as g,d as y}from"./events-CRHxtwup.js";import{d as j}from"./disabled-B2o4Ctgy.js";import{j as B,h as _,e as L}from"./component-DEwcJKDA.js";import{l as O}from"./label-with-expert-slot-D1tpX9DI.js";import{n as D}from"./component-CNgECeRi.js";import{B as C}from"./base-web-component-CYPdDdRn.js";import{c as K}from"./item-hsQoejqZ.js";import{F as N}from"./behavior-DlH8byIw.js";import{c as T}from"./item-Dms_59sU.js";import{T as F}from"./behavior-B6y5Gofe.js";import{h as w}from"./index-Bbr6Os1b.js";import{t as x}from"./i18n-BLkzMf6D.js";import{b as P}from"./bem-registry-SKACeCny.js";import{T as A}from"./component-B8UMedaK.js";import{P as k}from"./component-CSsUaL_h.js";import{A as I}from"./component-ZdHnXLLI.js";function H(e,i){return Boolean(e)&&!0===i}function M(e){var i;return"string"==typeof e?"error":null!==(i=null==e?void 0:e._type)&&void 0!==i?i:"error"}const S=n("ariaDetails","",d),q=n("hideMsg",!1,h),E=n("hint","",d),z=n("infoPopover",void 0,(function(e){if("object"==typeof e&&null!==e)return e;throw new Error("Invalid info popover: "+typeof e)})),$=c(),R=n("msg",void 0,(function(e){if("string"==typeof e)try{return i(e)}catch(i){return e}return e}),(function(e){return void 0===e||("string"==typeof e?e.length>0:t(e)&&o(e._description,1))})),U=n("touched",!1,h),V=i=>{var{id:t,class:o,hint:s,baseClassName:l="kol-form-field"}=i,r=e(i,["id","class","hint","baseClassName"]);return s?w("span",Object.assign({class:p(`${l}__hint`,o),id:b(t||"","hint")},r),s):null},X=i=>{var{component:t="label",id:o,baseClassName:r="kol-form-field",class:a,accessKey:n,shortKey:d,label:h,hideLabel:c,hasExpertSlot:u,omitId:m,showBadge:v=!0,readOnly:f,infoPopover:g}=i,y=e(i,["component","id","baseClassName","class","accessKey","shortKey","label","hideLabel","hasExpertSlot","omitId","showBadge","readOnly","infoPopover"]);const j=!u&&c,B=!1===v?void 0:l(n,d);return w(t,Object.assign({},y,{class:p(`${r}__label`,a),id:j||m?void 0:b(o,"label"),hidden:j,htmlFor:"legend"===t?void 0:o}),w(s,{class:`${r}__label-text`,label:u?"":null!=h?h:"",badgeText:B},w("slot",{name:"expert"})),!u&&f&&w("span",{class:`${r}__label__read-only`,"aria-hidden":"true"},"(",x("kol-readonly"),")"),!u&&g&&w("span",null,w(k,Object.assign({},g.popoverButton),w("div",{class:"kol-popover-button__popover--styled"},g.content))))},G=t=>{var o,s,{alert:l,hideMsg:r,msg:a,id:n,class:d}=t,h=e(t,["alert","hideMsg","msg","id","class"]);const c=function(e){if("string"==typeof e)try{return i(e)}catch(i){return{_description:e,_type:"error"}}return e&&"object"==typeof e&&!("_type"in e)?Object.assign(Object.assign({},e),{_type:"error"}):e}(a);return w(I,Object.assign({alert:!r&&(null!==(o=null==c?void 0:c._alert)&&void 0!==o?o:!0===l),class:p("kol-form-field__msg",r&&"visually-hidden",d),closerAriaDescriptionId:f(),handleCloserClick:()=>{},hasCloser:!1,headingId:v("alert-heading"),id:b(n,"msg"),label:"",level:0,refCloserButton:()=>{},refCloserTooltip:()=>{},type:null!==(s=null==c?void 0:c._type)&&void 0!==s?s:"error",variant:"msg"},h),(null==c?void 0:c._description)||void 0)},J=P.forBlock("kol-form-field"),Q=({hideLabel:e,label:i,renderNoTooltip:t})=>!t&&!r(i)&&!0===e,Y=e=>{const i=M(e);return{[i]:!0,[`msg-type-${i}`]:!0}},Z=(i,t)=>{const{renderNoLabel:o,renderNoTooltip:s,renderNoHint:a,id:n,required:d,alert:h,disabled:c,class:m,msg:v,hideMsg:f,hideLabel:g,label:y,infoPopover:j,hint:_,accessKey:L,shortKey:O,counter:D,readOnly:C,touched:K,maxLength:N,ariaDescribedBy:T,showBadge:F,tooltipAlign:P,variant:k,component:I="div",orientation:M,refInput:S,refTooltip:q}=i,E=e(i,["renderNoLabel","renderNoTooltip","renderNoHint","id","required","alert","disabled","class","msg","hideMsg","hideLabel","label","infoPopover","hint","accessKey","shortKey","counter","readOnly","touched","maxLength","ariaDescribedBy","showBadge","tooltipAlign","variant","component","orientation","refInput","refTooltip"]),z=r(y),$=H(v,K),R=l(L,O),U=Q({hideLabel:g,label:y,renderNoTooltip:s}),Z="fieldset"===I;return w(u,Object.assign({component:I,block:"kol-form-field",modifiers:Object.assign({disabled:Boolean(c),required:Boolean(d),touched:Boolean(K),"hide-label":Boolean(g),"read-only":Boolean(C),"hidden-msg":Boolean(f)},$?Y(v):{}),class:p(k&&B(k,"form-field"),m),disabled:!(!Z||!c)||void 0,"aria-describedby":T},E),!o&&w(X,{component:Z?"legend":"label",class:Z?"kol-form-field__label--legend":void 0,id:n,hasExpertSlot:z,hideLabel:g,label:y,accessKey:L,shortKey:O,readOnly:C,showBadge:F,infoPopover:j}),w("div",{class:J("input",{"orientation-horizontal":"horizontal"===M,"orientation-vertical":"vertical"===M}),ref:S},t,U&&w("div",{class:J("tooltip")},w(A,{badgeText:R||"",label:y,align:P,id:b(n,"label"),refFloating:q}))),D&&!("soft"===D.maxLengthBehavior&&"number"!=typeof D.maxLength)&&w("div",{class:J("counter")},w("span",{"aria-hidden":"true",class:J("counter"),ref:D.visualRef}),w("span",{"aria-live":"polite",class:"visually-hidden",id:b(n,"counter"),ref:D.ariaRef})),$&&w(G,{id:n,alert:h,hideMsg:f,msg:v}),!a&&w(V,{id:n,hint:_}),"number"==typeof N&&!D&&w("span",{id:b(n,"character-limit-hint"),class:"visually-hidden"},x("kol-character-limit-hint",{placeholders:{limit:String(N)}})))};class W extends C{constructor(){super(...arguments),this.tooltipBehavior=new F(C.stateLess),this.smartButton=K((()=>this.host)),this.infoPopover=T({getFlagHost:()=>this.host,getOpen:()=>!0===this.infoPopoverOpen,setOpen:e=>{this.infoPopoverOpen=e}}),this.focusEventSent=!1,this.handleChange=(e,i)=>{var t,o;e.stopPropagation(),void 0===i&&(i=e.target.value),this.emit(g.change,i),null===(o=null===(t=this._on)||void 0===t?void 0:t.onChange)||void 0===o||o.call(t,e,i)},this.handleInput=(e,i)=>{var t,o;e.stopPropagation(),void 0===i&&(i=e.target.value),this.emit(g.input,i),this.formAssociation.setFormAssociatedValue(i),null===(o=null===(t=this._on)||void 0===t?void 0:t.onInput)||void 0===o||o.call(t,e,i)},this.handleClick=e=>{var i,t;this.emit(g.click),null===(t=null===(i=this._on)||void 0===i?void 0:i.onClick)||void 0===t||t.call(i,e)},this.handleFocus=e=>{var i,t;this.focusEventSent||(this.emit(g.focus),null===(t=null===(i=this._on)||void 0===i?void 0:i.onFocus)||void 0===t||t.call(i,e),this.focusEventSent=!0),this.shared.setState("inputHasFocus",!0)},this.handleBlur=e=>{this.handleFocusLeave(e),this.shared.setState("inputHasFocus",!1)},this.handleKeyDown=e=>{var i,t;this.emit(g.keydown),null===(t=null===(i=this._on)||void 0===i?void 0:i.onKeyDown)||void 0===t||t.call(i,e)},this.setInputRef=e=>{this.tooltipAnchor=e,e&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(e),this.tooltipBehavior.syncListeners(void 0,e,!0))},this.setTooltipRef=e=>{this.tooltipBehavior.setTooltipElementRef(e)}}get shared(){return this}initFormAssociation(e,i){this.formAssociation=new N(C.stateLess,{host:this.host,type:e,name:i})}syncFormField(){this.smartButton.syncListeners(),this.infoPopover.syncListeners(),this.syncAriaDetails()}destroyFormField(){this.tooltipBehavior.destroy(),this.smartButton.destroy(),this.infoPopover.destroy()}connectedCallback(){this.syncFormField(),this.tooltipAnchor&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(this.tooltipAnchor),this.tooltipBehavior.syncListeners(void 0,this.tooltipAnchor,!0))}getInfoPopover(){const i=this.shared.getRenderProp("infoPopover");if(!i)return;const{_content:t}=i,o=e(i,["_content"]);return{popoverButton:this.infoPopover.getFcProps(Object.assign(Object.assign({_variant:"ghost"},o),{_hideLabel:!0,_inline:!0})),content:t}}getSmartButtonFcProps(e,i){if("object"==typeof e&&null!==e)return this.smartButton.getFcProps(Object.assign({_hideLabel:!0,_disabled:i},e),{class:"kol-input-container__smart-button"})}applyAriaDetails(e){S.apply(e,(e=>this.shared.setRenderProp("ariaDetails",e))),this.syncAriaDetails()}syncAriaDetails(){var e,i,t,o;const s=null===(i=null===(e=this.host)||void 0===e?void 0:e.shadowRoot)||void 0===i?void 0:i.querySelector("input, select, textarea");if(!s||!("ariaDetailsElements"in s))return;const l=a(this.host,this.shared.getRenderProp("ariaDetails")),r=this.pushedDetailsElements;(s!==this.ariaDetailsTarget||(null!==(t=null==r?void 0:r.length)&&void 0!==t?t:0)!==l.length||null!==(o=null==r?void 0:r.some(((e,i)=>e!==l[i])))&&void 0!==o&&o)&&(this.ariaDetailsTarget=s,this.pushedDetailsElements=l,s.ariaDetailsElements=l.length?l:null)}applyDisabled(e){j.apply(e,(e=>this.shared.setRenderProp("disabled",e)))}applyHideLabel(e){_.apply(e,(e=>this.shared.setRenderProp("hideLabel",e)))}applyHideMsg(e){q.apply(e,(e=>this.shared.setRenderProp("hideMsg",e)))}applyHint(e){E.apply(e,(e=>this.shared.setRenderProp("hint",e)))}applyInfoPopover(e){z.apply(e,(e=>this.shared.setRenderProp("infoPopover",e)))}applyLabel(e){O.apply(e,(e=>this.shared.setRenderProp("label",e)),this.isRequired("label"))}applyMsg(e){R.apply(e,(e=>this.shared.setRenderProp("msg",e)))}applyName(e){D.apply(e,(e=>this.shared.setRenderProp("name",e))),this.formAssociation.watchName(e)}applyOn(e){$.apply(e,(e=>this.shared.setRenderProp("on",e)))}applySyncValueBySelector(e){this.formAssociation.watchSyncValueBySelector(e)}applyTooltipAlign(e){L.apply(null!=e?e:"top",(e=>this.shared.setRenderProp("tooltipAlign",e)))}applyTouched(e){U.apply(e,(e=>this.shared.setRenderProp("touched",e)))}get eventHost(){var e,i;return null!==(i=null===(e=this.formAssociation)||void 0===e?void 0:e.host)&&void 0!==i?i:this.host}emit(e,i){this.eventHost&&y(this.eventHost,e,i)}handleFocusLeave(e){var i,t;if(this._disabled)return;const o=this.eventHost,s=(null==o?void 0:o.shadowRoot)||o,l=(null==s?void 0:s.contains(e.relatedTarget))||o===e.relatedTarget;this.focusEventSent&&!l&&(this._touched=!0,this.emit(g.blur),null===(t=null===(i=this._on)||void 0===i?void 0:i.onBlur)||void 0===t||t.call(i,e),this.focusEventSent=!1)}getAria(){const e=this.shared;return(({id:e,msg:i,hint:t,touched:o})=>{const s="string"==typeof i?i:null==i?void 0:i._description,l=Boolean(s&&s.length>0),r="error"===M(i)&&l&&!0===o,a="string"==typeof t&&t.length>0,n=[];return l&&!0===o&&n.push(b(e,"msg")),a&&n.push(b(e,"hint")),{hasError:r,hasHint:a,ariaDescribedBy:n}})({id:e.getState("id"),msg:e.getRenderProp("msg"),hint:e.getRenderProp("hint"),touched:e.getRenderProp("touched")})}showAsAlert(){return Boolean(this.shared.getRenderProp("touched"))&&!this.shared.getState("inputHasFocus")}isTooltipShown(){const e=this.shared;return Q({hideLabel:e.getRenderProp("hideLabel"),label:m(e.getRenderProp("label"))})}getLabelTooltipRefs(){return{refInput:this.setInputRef,refTooltip:this.setTooltipRef}}getFormFieldProps({class:e,accessKey:i,shortKey:t,variant:o,counter:s,maxLength:r,readOnly:a,renderNoLabel:n,renderNoTooltip:d,required:h}){const c=this.shared,p=c.getState("id"),u=c.getRenderProp("label"),m=c.getRenderProp("tooltipAlign");return this.isTooltipShown()?(this.tooltipBehavior.watchAlign(m),this.tooltipBehavior.watchBadgeText(l(i,t)||""),this.tooltipBehavior.watchId(b(p,"label")),this.tooltipBehavior.watchLabel(u)):this.tooltipBehavior.destroy(),{id:p,disabled:c.getRenderProp("disabled"),msg:c.getRenderProp("msg"),hint:c.getRenderProp("hint"),label:u,hideLabel:c.getRenderProp("hideLabel"),hideMsg:c.getRenderProp("hideMsg"),touched:c.getRenderProp("touched"),showBadge:Boolean(i)||Boolean(t),required:h,readOnly:a,accessKey:i,shortKey:t,maxLength:r,counter:s,variant:o,class:e,tooltipAlign:m,alert:this.showAsAlert(),infoPopover:this.getInfoPopover(),renderNoLabel:n,renderNoTooltip:d,refInput:d?void 0:this.setInputRef,refTooltip:this.setTooltipRef}}}function ee({ariaDescribedBy:e,hideLabel:i,label:t}){return{title:"",autoCapitalize:"off",autoCorrect:"off","aria-describedby":(null==e?void 0:e.length)?e.join(" "):void 0,"aria-label":i&&t?m(t):void 0}}const ie={required:[O],optional:[S,j,_,q,E,z,$,R,D,L,U]};export{W as B,Z as F,V as a,X as b,ee as c,ie as f,M as g,H as i}
|
|
4
|
+
import{a as e}from"./tslib.es6-QNbPBOk5.js";import{p as i,j as t,D as o}from"./common-BdSzSIXg.js";import{S as s,b as l,s as r}from"./component-Cj3P_f35.js";import{r as a}from"./aria-labelledby-DqJY_4G-.js";import{c as n,b as d,n as h,a as c,e as p,B as u,t as m}from"./props-from-config-LBgEHmcL.js";import{a as b,c as v,n as f}from"./dev.utils-DM7Qhcet.js";import{K as y,d as g}from"./events-CRHxtwup.js";import{d as j}from"./disabled-C2DzYwwy.js";import{j as B,h as _,e as L}from"./component-Bldy_ShO.js";import{l as O}from"./label-with-expert-slot-BVqi0_Fb.js";import{n as D}from"./component-BC1TpQVD.js";import{B as N}from"./base-web-component-Bh2NCN7p.js";import{c as C}from"./item-H09kNXn9.js";import{F as T}from"./behavior-DUy0X7U1.js";import{c as x}from"./item-gvmzMXYb.js";import{T as F}from"./behavior-DmR4WVXd.js";import{h as K}from"./index-8-BSSKQL.js";import{t as w}from"./i18n-BLkzMf6D.js";import{b as P}from"./bem-registry-SKACeCny.js";import{T as k}from"./component-D5yKRPCZ.js";import{P as A}from"./component-B4CDonzN.js";import{A as S}from"./component-vxdandl4.js";function H(e,i){return Boolean(e)&&!0===i}function M(e){var i;return"string"==typeof e?"error":null!==(i=null==e?void 0:e._type)&&void 0!==i?i:"error"}const I=n("ariaDetails","",d),q=n("hideMsg",!1,h),z=n("hint","",d),E=n("infoPopover",void 0,(function(e){if("object"==typeof e&&null!==e)return e;throw new Error("Invalid info popover: "+typeof e)})),X=c(),$=n("msg",void 0,(function(e){if("string"==typeof e)try{return i(e)}catch(i){return e}return e}),(function(e){return void 0===e||("string"==typeof e?e.length>0:t(e)&&o(e._description,1))})),Q=n("touched",!1,h),R=i=>{var{id:t,class:o,hint:s,baseClassName:l="kol-form-field"}=i,r=e(i,["id","class","hint","baseClassName"]);return s?K("span",Object.assign({class:p(`${l}__hint`,o),id:b(t||"","hint")},r),s):null},V=i=>{var{component:t="label",id:o,baseClassName:r="kol-form-field",class:a,accessKey:n,shortKey:d,label:h,hideLabel:c,hasExpertSlot:u,omitId:m,showBadge:v=!0,readOnly:f,infoPopover:y}=i,g=e(i,["component","id","baseClassName","class","accessKey","shortKey","label","hideLabel","hasExpertSlot","omitId","showBadge","readOnly","infoPopover"]);const j=!u&&c,B=!1===v?void 0:l(n,d);return K(t,Object.assign({},g,{class:p(`${r}__label`,a),id:j||m?void 0:b(o,"label"),hidden:j,htmlFor:"legend"===t?void 0:o}),K(s,{class:`${r}__label-text`,label:u?"":null!=h?h:"",badgeText:B},K("slot",{name:"expert"})),!u&&f&&K("span",{class:`${r}__label__read-only`,"aria-hidden":"true"},"(",w("kol-readonly"),")"),!u&&y&&K("span",null,K(A,Object.assign({},y.popoverButton),K("div",{class:"kol-popover-button__popover--styled"},y.content))))},Y=t=>{var o,s,{alert:l,hideMsg:r,msg:a,id:n,class:d}=t,h=e(t,["alert","hideMsg","msg","id","class"]);const c=function(e){if("string"==typeof e)try{return i(e)}catch(i){return{_description:e,_type:"error"}}return e&&"object"==typeof e&&!("_type"in e)?Object.assign(Object.assign({},e),{_type:"error"}):e}(a);return K(S,Object.assign({alert:!r&&(null!==(o=null==c?void 0:c._alert)&&void 0!==o?o:!0===l),class:p("kol-form-field__msg",r&&"visually-hidden",d),closerAriaDescriptionId:f(),handleCloserClick:()=>{},hasCloser:!1,headingId:v("alert-heading"),id:b(n,"msg"),label:"",level:0,refCloserButton:()=>{},refCloserTooltip:()=>{},type:null!==(s=null==c?void 0:c._type)&&void 0!==s?s:"error",variant:"msg"},h),(null==c?void 0:c._description)||void 0)},U=P.forBlock("kol-form-field"),G=({hideLabel:e,label:i,renderNoTooltip:t})=>!t&&!r(i)&&!0===e,J=e=>{const i=M(e);return{[i]:!0,[`msg-type-${i}`]:!0}},W=(i,t)=>{const{renderNoLabel:o,renderNoTooltip:s,renderNoHint:a,id:n,required:d,alert:h,disabled:c,class:m,msg:v,hideMsg:f,hideLabel:y,label:g,infoPopover:j,hint:_,accessKey:L,shortKey:O,counter:D,readOnly:N,touched:C,maxLength:T,ariaDescribedBy:x,showBadge:F,tooltipAlign:P,variant:A,component:S="div",orientation:M,refInput:I,refTooltip:q}=i,z=e(i,["renderNoLabel","renderNoTooltip","renderNoHint","id","required","alert","disabled","class","msg","hideMsg","hideLabel","label","infoPopover","hint","accessKey","shortKey","counter","readOnly","touched","maxLength","ariaDescribedBy","showBadge","tooltipAlign","variant","component","orientation","refInput","refTooltip"]),E=r(g),X=H(v,C),$=l(L,O),Q=G({hideLabel:y,label:g,renderNoTooltip:s}),W="fieldset"===S;return K(u,Object.assign({component:S,block:"kol-form-field",modifiers:Object.assign({disabled:Boolean(c),required:Boolean(d),touched:Boolean(C),"hide-label":Boolean(y),"read-only":Boolean(N),"hidden-msg":Boolean(f)},X?J(v):{}),class:p(A&&B(A,"form-field"),m),disabled:!(!W||!c)||void 0,"aria-describedby":x},z),!o&&K(V,{component:W?"legend":"label",class:W?"kol-form-field__label--legend":void 0,id:n,hasExpertSlot:E,hideLabel:y,label:g,accessKey:L,shortKey:O,readOnly:N,showBadge:F,infoPopover:j}),K("div",{class:U("input",{"orientation-horizontal":"horizontal"===M,"orientation-vertical":"vertical"===M}),ref:I},t,Q&&K("div",{class:U("tooltip")},K(k,{badgeText:$||"",label:g,align:P,id:b(n,"label"),refFloating:q}))),D&&!("soft"===D.maxLengthBehavior&&"number"!=typeof D.maxLength)&&K("div",{class:U("counter")},K("span",{"aria-hidden":"true",class:U("counter"),ref:D.visualRef}),K("span",{"aria-live":"polite",class:"visually-hidden",id:b(n,"counter"),ref:D.ariaRef})),X&&K(Y,{id:n,alert:h,hideMsg:f,msg:v}),!a&&K(R,{id:n,hint:_}),"number"==typeof T&&!D&&K("span",{id:b(n,"character-limit-hint"),class:"visually-hidden"},w("kol-character-limit-hint",{placeholders:{limit:String(T)}})))};class Z extends N{constructor(){super(...arguments),this.tooltipBehavior=new F(N.stateLess),this.smartButton=C((()=>this.host)),this.infoPopover=x({getFlagHost:()=>this.host,getOpen:()=>!0===this.infoPopoverOpen,setOpen:e=>{this.infoPopoverOpen=e}}),this.focusEventSent=!1,this.handleChange=(e,i)=>{var t,o;e.stopPropagation(),void 0===i&&(i=e.target.value),this.emit(y.change,i),null===(o=null===(t=this._on)||void 0===t?void 0:t.onChange)||void 0===o||o.call(t,e,i)},this.handleInput=(e,i)=>{var t,o;e.stopPropagation(),void 0===i&&(i=e.target.value),this.emit(y.input,i),this.formAssociation.setFormAssociatedValue(i),null===(o=null===(t=this._on)||void 0===t?void 0:t.onInput)||void 0===o||o.call(t,e,i)},this.handleClick=e=>{var i,t;this.emit(y.click),null===(t=null===(i=this._on)||void 0===i?void 0:i.onClick)||void 0===t||t.call(i,e)},this.handleFocus=e=>{var i,t;this.focusEventSent||(this.emit(y.focus),null===(t=null===(i=this._on)||void 0===i?void 0:i.onFocus)||void 0===t||t.call(i,e),this.focusEventSent=!0),this.shared.setState("inputHasFocus",!0)},this.handleBlur=e=>{this.handleFocusLeave(e),this.shared.setState("inputHasFocus",!1)},this.handleKeyDown=e=>{var i,t;this.emit(y.keydown),null===(t=null===(i=this._on)||void 0===i?void 0:i.onKeyDown)||void 0===t||t.call(i,e)},this.setInputRef=e=>{this.tooltipAnchor=e,e&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(e),this.tooltipBehavior.syncListeners(void 0,e,!0))},this.setTooltipRef=e=>{this.tooltipBehavior.setTooltipElementRef(e)}}get shared(){return this}initFormAssociation(e,i){this.formAssociation=new T(N.stateLess,{host:this.host,type:e,name:i})}syncFormField(){this.smartButton.syncListeners(),this.infoPopover.syncListeners(),this.syncAriaDetails()}destroyFormField(){this.tooltipBehavior.destroy(),this.smartButton.destroy(),this.infoPopover.destroy()}connectedCallback(){this.syncFormField(),this.tooltipAnchor&&this.isTooltipShown()&&(this.tooltipBehavior.initContext(this.tooltipAnchor),this.tooltipBehavior.syncListeners(void 0,this.tooltipAnchor,!0))}getInfoPopover(){const i=this.shared.getRenderProp("infoPopover");if(!i)return;const{_content:t}=i,o=e(i,["_content"]);return{popoverButton:this.infoPopover.getFcProps(Object.assign(Object.assign({_variant:"ghost"},o),{_hideLabel:!0,_inline:!0})),content:t}}getSmartButtonFcProps(e,i){if("object"==typeof e&&null!==e)return this.smartButton.getFcProps(Object.assign({_hideLabel:!0,_disabled:i},e),{class:"kol-input-container__smart-button"})}applyAriaDetails(e){I.apply(e,(e=>this.shared.setRenderProp("ariaDetails",e))),this.syncAriaDetails()}syncAriaDetails(){var e,i,t,o;const s=null===(i=null===(e=this.host)||void 0===e?void 0:e.shadowRoot)||void 0===i?void 0:i.querySelector("input, select, textarea");if(!s||!("ariaDetailsElements"in s))return;const l=a(this.host,this.shared.getRenderProp("ariaDetails")),r=this.pushedDetailsElements;(s!==this.ariaDetailsTarget||(null!==(t=null==r?void 0:r.length)&&void 0!==t?t:0)!==l.length||null!==(o=null==r?void 0:r.some(((e,i)=>e!==l[i])))&&void 0!==o&&o)&&(this.ariaDetailsTarget=s,this.pushedDetailsElements=l,s.ariaDetailsElements=l.length?l:null)}applyDisabled(e){j.apply(e,(e=>this.shared.setRenderProp("disabled",e)))}applyHideLabel(e){_.apply(e,(e=>this.shared.setRenderProp("hideLabel",e)))}applyHideMsg(e){q.apply(e,(e=>this.shared.setRenderProp("hideMsg",e)))}applyHint(e){z.apply(e,(e=>this.shared.setRenderProp("hint",e)))}applyInfoPopover(e){E.apply(e,(e=>this.shared.setRenderProp("infoPopover",e)))}applyLabel(e){O.apply(e,(e=>this.shared.setRenderProp("label",e)),this.isRequired("label"))}applyMsg(e){$.apply(e,(e=>this.shared.setRenderProp("msg",e)))}applyName(e){D.apply(e,(e=>this.shared.setRenderProp("name",e))),this.formAssociation.watchName(e)}applyOn(e){X.apply(e,(e=>this.shared.setRenderProp("on",e)))}applySyncValueBySelector(e){this.formAssociation.watchSyncValueBySelector(e)}applyTooltipAlign(e){L.apply(null!=e?e:"top",(e=>this.shared.setRenderProp("tooltipAlign",e)))}applyTouched(e){Q.apply(e,(e=>this.shared.setRenderProp("touched",e)))}get eventHost(){var e,i;return null!==(i=null===(e=this.formAssociation)||void 0===e?void 0:e.host)&&void 0!==i?i:this.host}emit(e,i){this.eventHost&&g(this.eventHost,e,i)}handleFocusLeave(e){var i,t;if(this._disabled)return;const o=this.eventHost,s=(null==o?void 0:o.shadowRoot)||o,l=(null==s?void 0:s.contains(e.relatedTarget))||o===e.relatedTarget;this.focusEventSent&&!l&&(this._touched=!0,this.emit(y.blur),null===(t=null===(i=this._on)||void 0===i?void 0:i.onBlur)||void 0===t||t.call(i,e),this.focusEventSent=!1)}getAria(){const e=this.shared;return(({id:e,msg:i,hint:t,touched:o})=>{const s="string"==typeof i?i:null==i?void 0:i._description,l=Boolean(s&&s.length>0),r="error"===M(i)&&l&&!0===o,a="string"==typeof t&&t.length>0,n=[];return l&&!0===o&&n.push(b(e,"msg")),a&&n.push(b(e,"hint")),{hasError:r,hasHint:a,ariaDescribedBy:n}})({id:e.getState("id"),msg:e.getRenderProp("msg"),hint:e.getRenderProp("hint"),touched:e.getRenderProp("touched")})}showAsAlert(){return Boolean(this.shared.getRenderProp("touched"))&&!this.shared.getState("inputHasFocus")}isTooltipShown(){const e=this.shared;return G({hideLabel:e.getRenderProp("hideLabel"),label:m(e.getRenderProp("label"))})}getLabelTooltipRefs(){return{refInput:this.setInputRef,refTooltip:this.setTooltipRef}}getFormFieldProps({class:e,accessKey:i,shortKey:t,variant:o,counter:s,maxLength:r,readOnly:a,renderNoLabel:n,renderNoTooltip:d,required:h}){const c=this.shared,p=c.getState("id"),u=c.getRenderProp("label"),m=c.getRenderProp("tooltipAlign");return this.isTooltipShown()?(this.tooltipBehavior.watchAlign(m),this.tooltipBehavior.watchBadgeText(l(i,t)||""),this.tooltipBehavior.watchId(b(p,"label")),this.tooltipBehavior.watchLabel(u)):this.tooltipBehavior.destroy(),{id:p,disabled:c.getRenderProp("disabled"),msg:c.getRenderProp("msg"),hint:c.getRenderProp("hint"),label:u,hideLabel:c.getRenderProp("hideLabel"),hideMsg:c.getRenderProp("hideMsg"),touched:c.getRenderProp("touched"),showBadge:Boolean(i)||Boolean(t),required:h,readOnly:a,accessKey:i,shortKey:t,maxLength:r,counter:s,variant:o,class:e,tooltipAlign:m,alert:this.showAsAlert(),infoPopover:this.getInfoPopover(),renderNoLabel:n,renderNoTooltip:d,refInput:d?void 0:this.setInputRef,refTooltip:this.setTooltipRef}}}function ee({ariaDescribedBy:e,hideLabel:i,label:t}){return{title:"",autoCapitalize:"off",autoCorrect:"off","aria-describedby":(null==e?void 0:e.length)?e.join(" "):void 0,"aria-label":i&&t?m(t):void 0}}const ie={required:[O],optional:[I,j,_,q,z,E,X,$,D,L,Q]};export{Z as B,W as F,R as a,V as b,ee as c,ie as f,M as g,H as i}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{L as o,d as t,w as s}from"./common-BdSzSIXg.js";import{a}from"./index-8-BSSKQL.js";const e=(()=>{a((o=>{try{o.shadowRoot instanceof ShadowRoot&&t(o,s(o))}catch(o){}return"default"})),import("./devtools-CxUqjh1N.js").then((o=>{"object"==typeof o&&null!==o&&"function"==typeof o.initialize&&o.initialize()})).catch((t=>{o.error(t)}))})||(()=>{});export{e as g}
|