@public-ui/components 4.6.0-rc.2 → 4.6.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 +4 -4
- package/dist/cjs/{Heading-CmnijhLd.js → Heading-CnnBHLhu.js} +7 -7
- package/dist/cjs/{api-Bg7hdIrJ.js → api-C-uDDxcA.js} +29 -30
- package/dist/cjs/{app-globals-BwYPSMbG.js → app-globals-BfpVa0Lg.js} +2 -2
- package/dist/cjs/{aria-labelledby-BRMgWRVp.js → aria-labelledby-By2dgbCn.js} +0 -13
- package/dist/cjs/{base-JFyPasp9.js → base-BIbzHEVE.js} +50 -52
- package/dist/cjs/{base-ob1X79UM.js → base-BZ3x1Yaj.js} +10 -10
- package/dist/cjs/{base-CQB0r-ZQ.js → base-Cc2tyQoy.js} +10 -10
- package/dist/cjs/{base-BVhV5HmV.js → base-CeaAJa72.js} +10 -10
- package/dist/cjs/{base-web-component-DXCN-Sp3.js → base-web-component-B_zszxEg.js} +1 -1
- package/dist/cjs/{base-web-component-DBcJrpRb.js → base-web-component-CpqYvVDi.js} +14 -15
- package/dist/cjs/{base-web-component-dI9FmFIm.js → base-web-component-Dk-So1FD.js} +12 -14
- package/dist/cjs/{behavior-B5wr2A8R.js → behavior--ZjzmIB4.js} +5 -12
- package/dist/cjs/{behavior-DujaVCwV.js → behavior-CYg7XOXd.js} +4 -4
- package/dist/cjs/{behavior-CUmF8rJf.js → behavior-cEIf2evT.js} +4 -4
- package/dist/cjs/{bem-registry-B6QoNC9E.js → bem-registry-CtnO3zCW.js} +61 -0
- package/dist/cjs/{bootstrap-HU5YhM_w.js → bootstrap-DOzWgRGX.js} +1 -1
- package/dist/cjs/{color-C3xsA3Uk.js → color-BJ776mPh.js} +2 -2
- package/dist/cjs/{component-DprHBKdZ.js → component-5ABjFE_U.js} +6 -7
- package/dist/cjs/{component-BexD3069.js → component-BSx0ZVSD.js} +10 -12
- package/dist/cjs/component-BTfaB8W5.js +19 -0
- package/dist/cjs/{component-Cbbx7Z6c.js → component-BacsMsF-.js} +4 -4
- package/dist/cjs/component-C_9WksgV.js +53 -0
- package/dist/cjs/{component-Cqp00Tb9.js → component-D65WOH6c.js} +8 -10
- package/dist/cjs/{component-Doln6Ltn.js → component-DE4OHvyu.js} +7 -8
- package/dist/cjs/{component-DGVc4bOy.js → component-DVf7tz1e.js} +6 -5
- package/dist/cjs/{component-Bza8hlo-.js → component-Ddp-Luc6.js} +11 -12
- package/dist/cjs/{component-DFhuXUqv.js → component-DuknrIKz.js} +14 -16
- package/dist/cjs/{component-BilLJFfC.js → component-DwuAKOV_.js} +4 -4
- package/dist/cjs/{contrast-6Nku3lih.js → contrast-DrGTr5zd.js} +1 -1
- package/dist/cjs/{dev.utils-Bx4sgPsr.js → dev.utils-EwVibOKw.js} +1 -1
- package/dist/cjs/{devtools-BXBKJice.js → devtools-CEqUJI9f.js} +2 -2
- package/dist/cjs/{disabled-CilmJ-p-.js → disabled-DBnI2OR4.js} +1 -1
- package/dist/cjs/{field-control-B95uzQnW.js → field-control-Jhzreo_j.js} +12 -12
- package/dist/cjs/{group-DGS7K6Ja.js → group-DDmENjNB.js} +7 -8
- package/dist/cjs/{has-closer-iSIrv52u.js → has-closer-DIk_toj-.js} +1 -1
- package/dist/cjs/{href-xojo1zy_.js → href-_UE7179j.js} +1 -1
- package/dist/cjs/{i18n-D7UmRsV8.js → i18n-4lKONPdP.js} +1 -1
- package/dist/cjs/{i18n-DgHI4-xa.js → i18n-CuXZ7SEi.js} +2 -1
- package/dist/cjs/{id-DP-w6i4q.js → id-JbinnWCW.js} +1 -1
- package/dist/cjs/{index-Ccvyz7Rq.js → index-P8gY4ccL.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/input-BYfPasa5.js +19 -0
- package/dist/cjs/{input-container-CWb_kRbs.js → input-container-BQlNjdk3.js} +8 -10
- package/dist/cjs/{item-vDMQvV0t.js → item-C6gnuMjx.js} +4 -4
- package/dist/cjs/{item-wr5KfPYM.js → item-CvvVUcQZ.js} +11 -11
- package/dist/cjs/{item-C4Boh5Cz.js → item-DSSJt2YS.js} +4 -4
- package/dist/cjs/{item-DgNTEUz3.js → item-Dgikq96R.js} +20 -21
- package/dist/cjs/kol-abbr.cjs.entry.js +8 -12
- package/dist/cjs/kol-accordion.cjs.entry.js +15 -17
- package/dist/cjs/kol-alert.cjs.entry.js +27 -30
- package/dist/cjs/kol-avatar.cjs.entry.js +14 -15
- package/dist/cjs/kol-badge.cjs.entry.js +23 -26
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +26 -30
- package/dist/cjs/kol-button-link.cjs.entry.js +22 -25
- package/dist/cjs/kol-button.cjs.entry.js +22 -25
- package/dist/cjs/kol-card.cjs.entry.js +27 -30
- package/dist/cjs/kol-combobox.cjs.entry.js +38 -41
- package/dist/cjs/kol-details.cjs.entry.js +15 -17
- package/dist/cjs/kol-dialog.cjs.entry.js +30 -33
- package/dist/cjs/kol-drawer.cjs.entry.js +30 -33
- package/dist/cjs/kol-form.cjs.entry.js +24 -27
- package/dist/cjs/kol-heading.cjs.entry.js +13 -15
- package/dist/cjs/kol-icon.cjs.entry.js +8 -9
- package/dist/cjs/kol-image.cjs.entry.js +7 -9
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +53 -55
- package/dist/cjs/kol-input-color.cjs.entry.js +42 -44
- package/dist/cjs/kol-input-date.cjs.entry.js +44 -47
- package/dist/cjs/kol-input-email.cjs.entry.js +45 -47
- package/dist/cjs/kol-input-file.cjs.entry.js +39 -41
- package/dist/cjs/kol-input-number.cjs.entry.js +46 -48
- package/dist/cjs/kol-input-password.cjs.entry.js +43 -45
- package/dist/cjs/kol-input-radio.cjs.entry.js +38 -41
- package/dist/cjs/kol-input-range.cjs.entry.js +37 -40
- package/dist/cjs/kol-input-text.cjs.entry.js +45 -47
- package/dist/cjs/kol-kolibri.cjs.entry.js +8 -12
- package/dist/cjs/kol-link-button.cjs.entry.js +23 -26
- package/dist/cjs/kol-link.cjs.entry.js +23 -26
- package/dist/cjs/kol-meter.cjs.entry.js +14 -15
- package/dist/cjs/kol-modal.cjs.entry.js +30 -33
- package/dist/cjs/kol-nav.cjs.entry.js +35 -38
- package/dist/cjs/kol-pagination.cjs.entry.js +42 -45
- package/dist/cjs/kol-popover-button.cjs.entry.js +23 -26
- package/dist/cjs/kol-progress.cjs.entry.js +13 -14
- package/dist/cjs/kol-quote.cjs.entry.js +9 -10
- package/dist/cjs/kol-select.cjs.entry.js +36 -39
- package/dist/cjs/kol-single-select.cjs.entry.js +38 -41
- package/dist/cjs/kol-skip-nav.cjs.entry.js +26 -30
- package/dist/cjs/kol-spin.cjs.entry.js +11 -15
- package/dist/cjs/kol-split-button.cjs.entry.js +28 -31
- package/dist/cjs/kol-table-stateful.cjs.entry.js +55 -57
- package/dist/cjs/kol-table-stateless.cjs.entry.js +40 -44
- package/dist/cjs/kol-tabs.cjs.entry.js +23 -26
- package/dist/cjs/kol-textarea.cjs.entry.js +41 -44
- package/dist/cjs/kol-toast-container.cjs.entry.js +20 -23
- package/dist/cjs/kol-toolbar.cjs.entry.js +29 -32
- package/dist/cjs/kol-tooltip-wc.cjs.entry.js +11 -12
- package/dist/cjs/kol-tree-item.cjs.entry.js +27 -28
- package/dist/cjs/kol-tree.cjs.entry.js +24 -14
- package/dist/cjs/kol-version.cjs.entry.js +21 -24
- package/dist/cjs/kolibri.cjs.js +3 -3
- package/dist/cjs/{label-D6c6jfqK.js → label-BAULqhwq.js} +3 -3
- package/dist/cjs/{label-hints-q3XenWLW.js → label-hints-BHw-UcMt.js} +1 -1
- package/dist/cjs/{label-lang-segment-k4OY9qRY.js → label-lang-segment-D_UYFhgr.js} +2 -2
- package/dist/cjs/{label-with-expert-slot-CJoz7BLw.js → label-with-expert-slot-XZTOiRp-.js} +3 -3
- package/dist/cjs/{level-B6vFMm9s.js → level-CaJUuMiH.js} +1 -1
- package/dist/cjs/{link-target-0qSVsAb2.js → link-target-EZq24qVX.js} +1 -1
- package/dist/cjs/{links-Ur1e9DOK.js → links-CNPivOpm.js} +1 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{multiple-CCxtzqez.js → multiple-D4ktp4Q2.js} +1 -1
- package/dist/cjs/{number-value-DzAHCwlP.js → number-value-BzIR1UvL.js} +1 -1
- package/dist/cjs/{open-Gxr_K7HK.js → open-BYh5VAA1.js} +1 -1
- package/dist/cjs/{options-BT0m0gRT.js → options-DkF38kx_.js} +1 -1
- package/dist/cjs/{orientation-CeHU4dT8.js → orientation-D4yopkvP.js} +1 -1
- package/dist/cjs/{placeholder-22xUUFff.js → placeholder-CZOGOuLS.js} +1 -1
- package/dist/cjs/{props-from-config-D1qhXS9j.js → props-from-config-CiU21EHb.js} +86 -5
- package/dist/cjs/{read-only-iHApMQEg.js → read-only-PNG5jHgh.js} +1 -1
- package/dist/cjs/{required-BYdSI25I.js → required-mj54_vO_.js} +1 -1
- package/dist/cjs/{resolve-props-pZBj0tIz.js → resolve-props-CH6OL2es.js} +7 -7
- package/dist/cjs/{resolve-props-B_ytLWBO.js → resolve-props-DOnocHFi.js} +6 -6
- package/dist/cjs/{rows-C9vBSQK1.js → rows-YaAnXjAm.js} +1 -1
- package/dist/cjs/{scroll-lock-DguXX-Em.js → scroll-lock-D3pgiG8q.js} +8 -7
- package/dist/cjs/{smart-button-DRMmUyQ5.js → smart-button-BU7mWP5H.js} +1 -1
- package/dist/cjs/{spell-check-CxgvHcGA.js → spell-check-CZWiLkQE.js} +1 -1
- package/dist/cjs/{src-Bmd7gQCS.js → src-rB2yGTSn.js} +1 -1
- package/dist/cjs/{step-CCqgsPCX.js → step-Bo6ILIqa.js} +1 -1
- package/dist/cjs/{suggestions-CoUp7HmN.js → suggestions-BO4EvOXc.js} +1 -1
- package/dist/cjs/{suggestions-C6Q3kj5J.js → suggestions-Ca575hi-.js} +3 -3
- package/dist/cjs/test-component.cjs.entry.js +1 -1
- package/dist/cjs/{toggle-handler-BaOOa9I5.js → toggle-handler-ByJYSOdb.js} +11 -13
- package/dist/cjs/{unique-nav-labels-CgxOyb6V.js → unique-nav-labels-_EHPpYUR.js} +1 -1
- package/dist/cjs/{unit-_oDj-vIB.js → unit-Bl0Lyk08.js} +1 -1
- package/dist/cjs/{validators-CpCJvM4r.js → validators-rLs6tEWo.js} +1 -1
- package/dist/cjs/{value-string-CKppMGVM.js → value-string-BKsvZy1q.js} +1 -1
- package/dist/cjs/{width-e7f3wHF3.js → width-DegQFxQB.js} +1 -1
- package/dist/collection/components/abbr/style.css +21 -0
- package/dist/collection/components/accordion/style.css +23 -2
- package/dist/collection/components/alert/component.js +6 -5
- package/dist/collection/components/alert/style.css +23 -2
- package/dist/collection/components/avatar/style.css +21 -0
- package/dist/collection/components/badge/style.css +23 -2
- package/dist/collection/components/breadcrumb/style.css +23 -2
- package/dist/collection/components/button/style.css +23 -2
- package/dist/collection/components/button-link/style.css +23 -2
- package/dist/collection/components/card/style.css +26 -2
- package/dist/collection/components/combobox/style.css +23 -2
- package/dist/collection/components/details/style.css +23 -2
- package/dist/collection/components/dialog/base.js +2 -2
- package/dist/collection/components/dialog/style.css +26 -2
- package/dist/collection/components/drawer/style.css +26 -2
- package/dist/collection/components/form/style.css +23 -2
- package/dist/collection/components/heading/style.css +21 -0
- package/dist/collection/components/icon/style.css +2 -2
- package/dist/collection/components/image/style.css +21 -0
- package/dist/collection/components/input-checkbox/component.js +13 -11
- package/dist/collection/components/input-checkbox/style.css +23 -2
- package/dist/collection/components/input-color/component.js +6 -4
- package/dist/collection/components/input-color/style.css +23 -2
- package/dist/collection/components/input-date/component.js +9 -7
- package/dist/collection/components/input-date/style.css +23 -2
- package/dist/collection/components/input-email/component.js +4 -1
- package/dist/collection/components/input-email/style.css +23 -2
- package/dist/collection/components/input-file/component.js +6 -3
- package/dist/collection/components/input-file/style.css +23 -2
- package/dist/collection/components/input-number/component.js +6 -4
- package/dist/collection/components/input-number/style.css +23 -2
- package/dist/collection/components/input-password/component.js +5 -2
- package/dist/collection/components/input-password/style.css +23 -2
- package/dist/collection/components/input-radio/style.css +23 -2
- package/dist/collection/components/input-range/style.css +23 -2
- package/dist/collection/components/input-text/component.js +4 -2
- package/dist/collection/components/input-text/style.css +23 -2
- package/dist/collection/components/kolibri/style.css +21 -0
- package/dist/collection/components/link/style.css +23 -2
- package/dist/collection/components/link-button/style.css +23 -2
- package/dist/collection/components/meter/style.css +21 -0
- package/dist/collection/components/modal/style.css +26 -2
- package/dist/collection/components/nav/style.css +23 -2
- package/dist/collection/components/pagination/component.js +5 -5
- package/dist/collection/components/pagination/style.css +23 -2
- package/dist/collection/components/popover-button/style.css +23 -2
- package/dist/collection/components/progress/style.css +21 -0
- package/dist/collection/components/quote/style.css +21 -0
- package/dist/collection/components/select/style.css +23 -2
- package/dist/collection/components/single-select/style.css +23 -2
- package/dist/collection/components/skip-nav/style.css +23 -2
- package/dist/collection/components/spin/style.css +21 -0
- package/dist/collection/components/split-button/style.css +23 -2
- package/dist/collection/components/table-stateful/component.js +7 -6
- package/dist/collection/components/table-stateful/style.css +26 -2
- package/dist/collection/components/table-stateless/component.js +3 -5
- package/dist/collection/components/table-stateless/style.css +26 -2
- package/dist/collection/components/tabs/style.css +23 -2
- package/dist/collection/components/textarea/style.css +23 -2
- package/dist/collection/components/toaster/style.css +23 -2
- package/dist/collection/components/toolbar/style.css +23 -2
- package/dist/collection/components/tree/component.js +15 -4
- package/dist/collection/components/tree/style.css +21 -0
- package/dist/collection/components/tree-item/component.js +5 -2
- package/dist/collection/components/tree-item/style.css +23 -2
- package/dist/collection/components/version/style.css +23 -2
- package/dist/collection/core/i18n.js +2 -1
- package/dist/collection/internal/functional-components/alert/component.js +2 -1
- package/dist/collection/internal/functional-components/avatar/component.js +2 -2
- package/dist/collection/internal/functional-components/badge/component.js +2 -1
- package/dist/collection/internal/functional-components/bem-root-node/component.js +16 -6
- package/dist/collection/internal/functional-components/breadcrumb/component.js +2 -2
- package/dist/collection/internal/functional-components/card/component.js +3 -1
- package/dist/collection/internal/functional-components/collapsible/component.js +3 -2
- package/dist/collection/internal/functional-components/dialog/component.js +6 -3
- package/dist/collection/internal/functional-components/dialog/item.js +2 -2
- package/dist/collection/internal/functional-components/drawer/component.js +1 -1
- package/dist/collection/internal/functional-components/form-association/api.js +2 -2
- package/dist/collection/internal/functional-components/form-association/behavior.js +1 -5
- package/dist/collection/internal/functional-components/form-field/base-web-component.js +0 -1
- package/dist/collection/internal/functional-components/heading/component.js +3 -4
- package/dist/collection/internal/functional-components/icon/component.js +2 -2
- package/dist/collection/internal/functional-components/image/component.js +2 -4
- package/dist/collection/internal/functional-components/link/component.js +1 -1
- package/dist/collection/internal/functional-components/meter/component.js +2 -1
- package/dist/collection/internal/functional-components/pagination/item.js +6 -6
- package/dist/collection/internal/functional-components/progress/component.js +2 -1
- package/dist/collection/internal/functional-components/quote/component.js +2 -2
- package/dist/collection/internal/functional-components/skip-nav/component.js +2 -2
- package/dist/collection/internal/functional-components/span/component.js +3 -2
- package/dist/collection/internal/functional-components/table-stateless/settings.js +12 -4
- package/dist/collection/internal/functional-components/tree/component.js +2 -2
- package/dist/collection/internal/functional-components/tree-item/component.js +2 -2
- package/dist/collection/schema/bem-registry.js +61 -0
- package/dist/collection/schema/props/aria-details.js +1 -22
- package/dist/collection/schema/props/aria-labelledby.js +3 -12
- package/dist/collection/utils/aria-labelledby.js +0 -12
- package/dist/components/Heading.js +1 -1
- package/dist/components/aria-labelledby.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/component.js +1 -1
- package/dist/components/component10.js +1 -1
- package/dist/components/component2.js +1 -1
- package/dist/components/component3.js +1 -1
- package/dist/components/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/field-control.js +1 -1
- package/dist/components/group.js +1 -1
- package/dist/components/i18n2.js +1 -1
- package/dist/components/input-container.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/item2.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-combobox.js +1 -1
- package/dist/components/kol-details.js +1 -1
- package/dist/components/kol-dialog.js +1 -1
- package/dist/components/kol-drawer.js +1 -1
- package/dist/components/kol-form.js +1 -1
- package/dist/components/kol-heading.js +1 -1
- package/dist/components/kol-icon.js +1 -1
- package/dist/components/kol-image.js +1 -1
- package/dist/components/kol-input-checkbox.js +1 -1
- package/dist/components/kol-input-color.js +1 -1
- package/dist/components/kol-input-date.js +1 -1
- package/dist/components/kol-input-email.js +1 -1
- package/dist/components/kol-input-file.js +1 -1
- package/dist/components/kol-input-number.js +1 -1
- package/dist/components/kol-input-password.js +1 -1
- package/dist/components/kol-input-radio.js +1 -1
- package/dist/components/kol-input-range.js +1 -1
- package/dist/components/kol-input-text.js +1 -1
- package/dist/components/kol-kolibri.js +1 -1
- package/dist/components/kol-link-button.js +1 -1
- package/dist/components/kol-link.js +1 -1
- package/dist/components/kol-meter.js +1 -1
- package/dist/components/kol-modal.js +1 -1
- package/dist/components/kol-nav.js +1 -1
- package/dist/components/kol-pagination.js +1 -1
- package/dist/components/kol-popover-button.js +1 -1
- package/dist/components/kol-progress.js +1 -1
- package/dist/components/kol-quote.js +1 -1
- package/dist/components/kol-select.js +1 -1
- package/dist/components/kol-single-select.js +1 -1
- package/dist/components/kol-skip-nav.js +1 -1
- package/dist/components/kol-spin.js +1 -1
- package/dist/components/kol-split-button.js +1 -1
- package/dist/components/kol-table-stateful.js +1 -1
- package/dist/components/kol-table-stateless.js +1 -1
- package/dist/components/kol-tabs.js +1 -1
- package/dist/components/kol-textarea.js +1 -1
- package/dist/components/kol-toast-container.js +1 -1
- package/dist/components/kol-toolbar.js +1 -1
- package/dist/components/kol-tooltip-wc.js +1 -1
- package/dist/components/kol-tree-item.js +1 -1
- package/dist/components/kol-tree.js +1 -1
- package/dist/components/kol-version.js +1 -1
- package/dist/components/label-hints.js +1 -1
- package/dist/components/label-lang-segment.js +1 -1
- package/dist/components/label-with-expert-slot.js +1 -1
- package/dist/components/level.js +1 -1
- package/dist/components/links.js +1 -1
- package/dist/components/number-value.js +1 -1
- package/dist/components/props-from-config.js +1 -1
- package/dist/components/resolve-props.js +1 -1
- package/dist/components/resolve-props2.js +1 -1
- package/dist/components/rows.js +1 -1
- package/dist/components/scroll-lock.js +1 -1
- package/dist/components/step.js +1 -1
- package/dist/components/toggle-handler.js +1 -1
- package/dist/components/unit.js +1 -1
- package/dist/components/validators.js +1 -1
- package/dist/esm/{Heading-C_CwXDMp.js → Heading-BubZbykM.js} +2 -2
- package/dist/esm/{api-DGiFM9p0.js → api-D0RNr-zh.js} +21 -22
- package/dist/esm/{app-globals-sZHZyXjD.js → app-globals-DYRte_jr.js} +2 -2
- package/dist/esm/{aria-labelledby-CLehu03h.js → aria-labelledby-DqJY_4G-.js} +1 -13
- package/dist/esm/{base-DTKJ1Z06.js → base-BP5SdLvQ.js} +39 -41
- package/dist/esm/{base-B4sGK9cX.js → base-BbGt9eYx.js} +10 -10
- package/dist/esm/{base-CWrvN3Gt.js → base-CLsKm3-e.js} +10 -10
- package/dist/esm/{base-P1TaQ7Ba.js → base-Cz00snD6.js} +10 -10
- package/dist/esm/{base-web-component-CC_gpyDb.js → base-web-component-CYPdDdRn.js} +1 -1
- package/dist/esm/{base-web-component-CKgIOZqi.js → base-web-component-CdSFFCst.js} +8 -10
- package/dist/esm/{base-web-component-Bq_B9edx.js → base-web-component-DP9_OPgV.js} +13 -14
- package/dist/esm/{behavior-Bb7JYoUn.js → behavior-B6y5Gofe.js} +4 -4
- package/dist/esm/{behavior-CFG1f4KQ.js → behavior-BJR8CKBx.js} +4 -4
- package/dist/esm/{behavior-CkPQGfgo.js → behavior-DlH8byIw.js} +6 -12
- package/dist/esm/{bem-registry-DQUGxdIS.js → bem-registry-SKACeCny.js} +61 -0
- package/dist/esm/{bootstrap-tgQ2nQQI.js → bootstrap-Bp7i4RJQ.js} +1 -1
- package/dist/esm/{color-D1gM-F2l.js → color-BbljGuAW.js} +2 -2
- package/dist/esm/component-6_YiKr2Z.js +48 -0
- package/dist/esm/{component-W1KZI4h4.js → component-B8UMedaK.js} +4 -4
- package/dist/esm/{component-5Uu-ahLC.js → component-CMHB3reH.js} +6 -5
- package/dist/esm/{component-B16Fbp3W.js → component-CNgECeRi.js} +9 -11
- package/dist/esm/{component-Bc2pdOk1.js → component-CSsUaL_h.js} +6 -8
- package/dist/esm/{component-DAQzDMY8.js → component-CiJGQTU0.js} +13 -15
- package/dist/esm/{component-C79oAu7a.js → component-DEwcJKDA.js} +4 -4
- package/dist/esm/{component-CldKbBUh.js → component-NOe28NXD.js} +5 -6
- package/dist/esm/{component-BI8jDgBz.js → component-ZdHnXLLI.js} +10 -11
- package/dist/esm/component-bIIx1x7q.js +17 -0
- package/dist/esm/{component-oUQcgxDj.js → component-hiabKVP3.js} +6 -7
- package/dist/esm/{contrast-BNoQruBh.js → contrast-DtK0a6X2.js} +1 -1
- package/dist/esm/{dev.utils-DDWOHUcg.js → dev.utils-B0t4rcBV.js} +1 -1
- package/dist/esm/{devtools-B0kEE_za.js → devtools-DuJRc6wJ.js} +2 -2
- package/dist/esm/{disabled-BZXlWAgK.js → disabled-B2o4Ctgy.js} +1 -1
- package/dist/esm/{field-control-DsQHa0v9.js → field-control-C9dIXnES.js} +7 -7
- package/dist/esm/{group-DUVsgWxS.js → group-DydT1Z92.js} +5 -6
- package/dist/esm/{has-closer-DUB0QcS9.js → has-closer-BrG00xL7.js} +1 -1
- package/dist/esm/{href-CxokGOJ2.js → href-CfNF4pHX.js} +1 -1
- package/dist/esm/{i18n-ePBcLlCr.js → i18n-BLkzMf6D.js} +1 -1
- package/dist/esm/{i18n-4J6U3ZDc.js → i18n-BRgvVqCf.js} +2 -1
- package/dist/esm/{id-BI0ZuK17.js → id-Bh4FF8c0.js} +1 -1
- package/dist/esm/{index-Dulj0jro.js → index-Bbr6Os1b.js} +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/{input-C0Li7DsE.js → input-C1YsxnDL.js} +4 -5
- package/dist/esm/{input-container-DmtMTcjB.js → input-container-zXl_6y52.js} +6 -8
- package/dist/esm/{item-CnJMuEyl.js → item-DXDEHrEg.js} +4 -4
- package/dist/esm/{item-DHZGDrAn.js → item-Dms_59sU.js} +11 -11
- package/dist/esm/{item-8RKFpmbd.js → item-hsQoejqZ.js} +4 -4
- package/dist/esm/{item-CxVe5INa.js → item-zXunNZh5.js} +17 -18
- package/dist/esm/kol-abbr.entry.js +7 -11
- package/dist/esm/kol-accordion.entry.js +15 -17
- package/dist/esm/kol-alert.entry.js +27 -30
- package/dist/esm/kol-avatar.entry.js +14 -15
- package/dist/esm/kol-badge.entry.js +23 -26
- package/dist/esm/kol-breadcrumb.entry.js +26 -30
- package/dist/esm/kol-button-link.entry.js +22 -25
- package/dist/esm/kol-button.entry.js +22 -25
- package/dist/esm/kol-card.entry.js +27 -30
- package/dist/esm/kol-combobox.entry.js +37 -40
- package/dist/esm/kol-details.entry.js +15 -17
- package/dist/esm/kol-dialog.entry.js +30 -33
- package/dist/esm/kol-drawer.entry.js +30 -33
- package/dist/esm/kol-form.entry.js +23 -26
- package/dist/esm/kol-heading.entry.js +13 -15
- package/dist/esm/kol-icon.entry.js +8 -9
- package/dist/esm/kol-image.entry.js +7 -9
- package/dist/esm/kol-input-checkbox.entry.js +48 -50
- package/dist/esm/kol-input-color.entry.js +42 -44
- package/dist/esm/kol-input-date.entry.js +44 -47
- package/dist/esm/kol-input-email.entry.js +45 -47
- package/dist/esm/kol-input-file.entry.js +39 -41
- package/dist/esm/kol-input-number.entry.js +46 -48
- package/dist/esm/kol-input-password.entry.js +43 -45
- package/dist/esm/kol-input-radio.entry.js +35 -38
- package/dist/esm/kol-input-range.entry.js +37 -40
- package/dist/esm/kol-input-text.entry.js +45 -47
- package/dist/esm/kol-kolibri.entry.js +7 -11
- package/dist/esm/kol-link-button.entry.js +23 -26
- package/dist/esm/kol-link.entry.js +23 -26
- package/dist/esm/kol-meter.entry.js +14 -15
- package/dist/esm/kol-modal.entry.js +30 -33
- package/dist/esm/kol-nav.entry.js +30 -33
- package/dist/esm/kol-pagination.entry.js +42 -45
- package/dist/esm/kol-popover-button.entry.js +23 -26
- package/dist/esm/kol-progress.entry.js +13 -14
- package/dist/esm/kol-quote.entry.js +9 -10
- package/dist/esm/kol-select.entry.js +36 -39
- package/dist/esm/kol-single-select.entry.js +37 -40
- package/dist/esm/kol-skip-nav.entry.js +26 -30
- package/dist/esm/kol-spin.entry.js +11 -15
- package/dist/esm/kol-split-button.entry.js +26 -29
- package/dist/esm/kol-table-stateful.entry.js +55 -57
- package/dist/esm/kol-table-stateless.entry.js +40 -44
- package/dist/esm/kol-tabs.entry.js +22 -25
- package/dist/esm/kol-textarea.entry.js +39 -42
- package/dist/esm/kol-toast-container.entry.js +19 -22
- package/dist/esm/kol-toolbar.entry.js +27 -30
- package/dist/esm/kol-tooltip-wc.entry.js +11 -12
- package/dist/esm/kol-tree-item.entry.js +27 -28
- package/dist/esm/kol-tree.entry.js +24 -14
- package/dist/esm/kol-version.entry.js +20 -23
- package/dist/esm/kolibri.js +4 -4
- package/dist/esm/{label-B-Dr7VaP.js → label-BQVd3bkc.js} +3 -3
- package/dist/esm/{label-hints-CLMiVvfk.js → label-hints-CZGo9ZD5.js} +1 -1
- package/dist/esm/{label-lang-segment-iVD9hoM3.js → label-lang-segment-C5LYGOHt.js} +2 -2
- package/dist/esm/label-with-expert-slot-D1tpX9DI.js +12 -0
- package/dist/esm/{level-DsQ_pcyD.js → level-BVXGgbSM.js} +1 -1
- package/dist/esm/{link-target-D7lYILOV.js → link-target-BWPSEd9a.js} +1 -1
- package/dist/esm/{links-IkK4zoXw.js → links-BbsnNXfa.js} +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{multiple--ay1C1n3.js → multiple-S3Ol1G6Z.js} +1 -1
- package/dist/esm/{number-value-Dl9-2O4r.js → number-value-DmOl1z7z.js} +1 -1
- package/dist/esm/{open-CNHJhHsy.js → open-DPP79Urq.js} +1 -1
- package/dist/esm/{options-DwO32GBF.js → options-aA3M-QV2.js} +1 -1
- package/dist/esm/{orientation-ChJ0S24M.js → orientation-DlsgaY1v.js} +1 -1
- package/dist/esm/{placeholder-UxmBJ4Vl.js → placeholder-DlHbiVjz.js} +1 -1
- package/dist/esm/{props-from-config-ytxYrJUY.js → props-from-config-BOUcpF7e.js} +84 -6
- package/dist/esm/{read-only-DytZ5HZJ.js → read-only-DSBWEPED.js} +1 -1
- package/dist/esm/{required-BriHhuO4.js → required-xw5BBPvV.js} +1 -1
- package/dist/esm/{resolve-props-02J6OCRf.js → resolve-props-CL8wxjtP.js} +7 -7
- package/dist/esm/{resolve-props-Bj6IaybL.js → resolve-props-DAVb5BM3.js} +6 -6
- package/dist/esm/{rows-I1jrTjzU.js → rows-DRV8YlQv.js} +1 -1
- package/dist/esm/{scroll-lock-B6hVv8A8.js → scroll-lock-BxAe0gL5.js} +9 -7
- package/dist/esm/{smart-button-DM5g48-g.js → smart-button-CQps8AlL.js} +1 -1
- package/dist/esm/{spell-check-BWCnJG5v.js → spell-check-hy6xFhmT.js} +1 -1
- package/dist/esm/{src-ziOwSglN.js → src-AwoM1pRe.js} +1 -1
- package/dist/esm/{step-BcyhvRtu.js → step-CopA0_m7.js} +1 -1
- package/dist/esm/{suggestions-DaB3FVaz.js → suggestions-BsiiaAxK.js} +3 -3
- package/dist/esm/{suggestions-LO267l8F.js → suggestions-CY8BJMOa.js} +1 -1
- package/dist/esm/test-component.entry.js +1 -1
- package/dist/esm/{toggle-handler-3qaN2kmt.js → toggle-handler-ZMs2rBXc.js} +10 -12
- package/dist/esm/{unique-nav-labels-CxFUYSVY.js → unique-nav-labels-BV-M3fPR.js} +1 -1
- package/dist/esm/{unit-1ix-K9SD.js → unit-hmMwqE9a.js} +1 -1
- package/dist/esm/{validators-CTjxOidB.js → validators-BgDmq-Qt.js} +1 -1
- package/dist/esm/{value-string-CxDz7dhD.js → value-string-Dy8zJxlP.js} +1 -1
- package/dist/esm/{width-C1_yZHyL.js → width-BHn7XHj_.js} +1 -1
- package/dist/kolibri/Heading-BubZbykM.js +4 -0
- package/dist/kolibri/api-D0RNr-zh.js +4 -0
- package/dist/kolibri/app-globals-DYRte_jr.js +4 -0
- package/dist/kolibri/aria-labelledby-DqJY_4G-.js +4 -0
- package/dist/kolibri/base-BP5SdLvQ.js +4 -0
- package/dist/kolibri/base-BbGt9eYx.js +4 -0
- package/dist/kolibri/base-CLsKm3-e.js +4 -0
- package/dist/kolibri/base-Cz00snD6.js +4 -0
- package/dist/kolibri/{base-web-component-CC_gpyDb.js → base-web-component-CYPdDdRn.js} +1 -1
- package/dist/kolibri/base-web-component-CdSFFCst.js +4 -0
- package/dist/kolibri/base-web-component-DP9_OPgV.js +4 -0
- package/dist/kolibri/{behavior-Bb7JYoUn.js → behavior-B6y5Gofe.js} +1 -1
- package/dist/kolibri/{behavior-CFG1f4KQ.js → behavior-BJR8CKBx.js} +1 -1
- package/dist/kolibri/behavior-DlH8byIw.js +4 -0
- package/dist/kolibri/bem-registry-SKACeCny.js +4 -0
- package/dist/kolibri/{bootstrap-tgQ2nQQI.js → bootstrap-Bp7i4RJQ.js} +1 -1
- package/dist/kolibri/{color-D1gM-F2l.js → color-BbljGuAW.js} +1 -1
- package/dist/kolibri/component-6_YiKr2Z.js +4 -0
- package/dist/kolibri/{component-W1KZI4h4.js → component-B8UMedaK.js} +1 -1
- package/dist/kolibri/component-CMHB3reH.js +4 -0
- package/dist/kolibri/component-CNgECeRi.js +4 -0
- package/dist/kolibri/{component-Bc2pdOk1.js → component-CSsUaL_h.js} +1 -1
- package/dist/kolibri/component-CiJGQTU0.js +4 -0
- package/dist/kolibri/component-DEwcJKDA.js +4 -0
- package/dist/kolibri/component-NOe28NXD.js +4 -0
- package/dist/kolibri/component-ZdHnXLLI.js +4 -0
- package/dist/kolibri/component-bIIx1x7q.js +4 -0
- package/dist/kolibri/component-hiabKVP3.js +4 -0
- package/dist/kolibri/contrast-DtK0a6X2.js +4 -0
- package/dist/kolibri/{dev.utils-DDWOHUcg.js → dev.utils-B0t4rcBV.js} +1 -1
- package/dist/kolibri/{devtools-B0kEE_za.js → devtools-DuJRc6wJ.js} +1 -1
- package/dist/kolibri/disabled-B2o4Ctgy.js +4 -0
- package/dist/kolibri/field-control-C9dIXnES.js +4 -0
- package/dist/kolibri/group-DydT1Z92.js +4 -0
- package/dist/kolibri/has-closer-BrG00xL7.js +4 -0
- package/dist/kolibri/href-CfNF4pHX.js +4 -0
- package/dist/kolibri/{i18n-ePBcLlCr.js → i18n-BLkzMf6D.js} +1 -1
- package/dist/kolibri/{i18n-4J6U3ZDc.js → i18n-BRgvVqCf.js} +1 -1
- package/dist/kolibri/id-Bh4FF8c0.js +4 -0
- package/dist/kolibri/index-Bbr6Os1b.js +6 -0
- package/dist/kolibri/index.esm.js +1 -1
- package/dist/kolibri/input-C1YsxnDL.js +4 -0
- package/dist/kolibri/{input-container-DmtMTcjB.js → input-container-zXl_6y52.js} +1 -1
- package/dist/kolibri/item-DXDEHrEg.js +4 -0
- package/dist/kolibri/item-Dms_59sU.js +4 -0
- package/dist/kolibri/item-hsQoejqZ.js +4 -0
- package/dist/kolibri/item-zXunNZh5.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-BQVd3bkc.js +4 -0
- package/dist/kolibri/label-hints-CZGo9ZD5.js +4 -0
- package/dist/kolibri/label-lang-segment-C5LYGOHt.js +4 -0
- package/dist/kolibri/label-with-expert-slot-D1tpX9DI.js +4 -0
- package/dist/kolibri/level-BVXGgbSM.js +4 -0
- package/dist/kolibri/link-target-BWPSEd9a.js +4 -0
- package/dist/kolibri/{links-IkK4zoXw.js → links-BbsnNXfa.js} +1 -1
- package/dist/kolibri/multiple-S3Ol1G6Z.js +4 -0
- package/dist/kolibri/number-value-DmOl1z7z.js +4 -0
- package/dist/kolibri/open-DPP79Urq.js +4 -0
- package/dist/kolibri/{options-DwO32GBF.js → options-aA3M-QV2.js} +1 -1
- package/dist/kolibri/orientation-DlsgaY1v.js +4 -0
- package/dist/kolibri/placeholder-DlHbiVjz.js +4 -0
- package/dist/kolibri/props-from-config-BOUcpF7e.js +4 -0
- package/dist/kolibri/read-only-DSBWEPED.js +4 -0
- package/dist/kolibri/required-xw5BBPvV.js +4 -0
- package/dist/kolibri/resolve-props-CL8wxjtP.js +4 -0
- package/dist/kolibri/resolve-props-DAVb5BM3.js +4 -0
- package/dist/kolibri/rows-DRV8YlQv.js +4 -0
- package/dist/kolibri/scroll-lock-BxAe0gL5.js +4 -0
- package/dist/kolibri/{smart-button-DM5g48-g.js → smart-button-CQps8AlL.js} +1 -1
- package/dist/kolibri/spell-check-hy6xFhmT.js +4 -0
- package/dist/kolibri/src-AwoM1pRe.js +4 -0
- package/dist/kolibri/step-CopA0_m7.js +4 -0
- package/dist/kolibri/{suggestions-DaB3FVaz.js → suggestions-BsiiaAxK.js} +1 -1
- package/dist/kolibri/{suggestions-LO267l8F.js → suggestions-CY8BJMOa.js} +1 -1
- package/dist/kolibri/test-component.entry.js +1 -1
- package/dist/kolibri/toggle-handler-ZMs2rBXc.js +4 -0
- package/dist/kolibri/unique-nav-labels-BV-M3fPR.js +4 -0
- package/dist/kolibri/unit-hmMwqE9a.js +4 -0
- package/dist/kolibri/validators-BgDmq-Qt.js +4 -0
- package/dist/kolibri/value-string-Dy8zJxlP.js +4 -0
- package/dist/kolibri/{width-C1_yZHyL.js → width-BHn7XHj_.js} +1 -1
- package/dist/types/components/alert/component.d.ts +1 -0
- package/dist/types/components/input-date/component.d.ts +1 -1
- package/dist/types/components/table-stateful/component.d.ts +0 -1
- package/dist/types/components/table-stateless/component.d.ts +0 -1
- package/dist/types/components/tree/component.d.ts +1 -0
- package/dist/types/components.d.ts +6 -6
- package/dist/types/internal/functional-components/bem-root-node/component.d.ts +8 -4
- package/dist/types/internal/functional-components/button/item.d.ts +1 -1
- package/dist/types/internal/functional-components/dialog/component.d.ts +7 -3
- package/dist/types/internal/functional-components/form-association/api.d.ts +1 -1
- package/dist/types/internal/functional-components/form-association/behavior.d.ts +0 -1
- package/dist/types/internal/functional-components/pagination/item.d.ts +4 -2
- package/dist/types/schema/bem-registry.d.ts +89 -0
- package/dist/types/schema/props/aria-details.d.ts +0 -2
- package/dist/types/schema/props/aria-labelledby.d.ts +1 -2
- package/dist/types/utils/aria-labelledby.d.ts +0 -6
- package/doc/pagination.md +13 -13
- package/doc/table-stateful.md +16 -16
- package/doc/table-stateless.md +14 -14
- package/package.json +10 -5
- package/vscode-custom-data.json +3 -3
- package/dist/cjs/block-bem-ByCgFI2B.js +0 -18
- package/dist/cjs/clsx-Bm_HQUnh.js +0 -54
- package/dist/cjs/component-1J4G5HmZ.js +0 -53
- package/dist/cjs/component-CjXcCX2V.js +0 -20
- package/dist/cjs/component-DkV9oPCL.js +0 -18
- package/dist/cjs/input-BKXEykG_.js +0 -20
- package/dist/components/block-bem.js +0 -4
- package/dist/components/clsx.js +0 -4
- package/dist/components/component11.js +0 -4
- package/dist/esm/block-bem-BGIVcYJu.js +0 -16
- package/dist/esm/clsx-COFh-Vc8.js +0 -52
- package/dist/esm/component-B05zRrM0.js +0 -16
- package/dist/esm/component-Clz6b6ho.js +0 -18
- package/dist/esm/component-Ct11K0Gv.js +0 -48
- package/dist/esm/label-with-expert-slot-BbZ9nx0l.js +0 -12
- package/dist/kolibri/Heading-C_CwXDMp.js +0 -4
- package/dist/kolibri/api-DGiFM9p0.js +0 -4
- package/dist/kolibri/app-globals-sZHZyXjD.js +0 -4
- package/dist/kolibri/aria-labelledby-CLehu03h.js +0 -4
- package/dist/kolibri/base-B4sGK9cX.js +0 -4
- package/dist/kolibri/base-CWrvN3Gt.js +0 -4
- package/dist/kolibri/base-DTKJ1Z06.js +0 -4
- package/dist/kolibri/base-P1TaQ7Ba.js +0 -4
- package/dist/kolibri/base-web-component-Bq_B9edx.js +0 -4
- package/dist/kolibri/base-web-component-CKgIOZqi.js +0 -4
- package/dist/kolibri/behavior-CkPQGfgo.js +0 -4
- package/dist/kolibri/bem-registry-DQUGxdIS.js +0 -4
- package/dist/kolibri/block-bem-BGIVcYJu.js +0 -4
- package/dist/kolibri/clsx-COFh-Vc8.js +0 -4
- package/dist/kolibri/component-5Uu-ahLC.js +0 -4
- package/dist/kolibri/component-B05zRrM0.js +0 -4
- package/dist/kolibri/component-B16Fbp3W.js +0 -4
- package/dist/kolibri/component-BI8jDgBz.js +0 -4
- package/dist/kolibri/component-C79oAu7a.js +0 -4
- package/dist/kolibri/component-CldKbBUh.js +0 -4
- package/dist/kolibri/component-Clz6b6ho.js +0 -4
- package/dist/kolibri/component-Ct11K0Gv.js +0 -4
- package/dist/kolibri/component-DAQzDMY8.js +0 -4
- package/dist/kolibri/component-oUQcgxDj.js +0 -4
- package/dist/kolibri/contrast-BNoQruBh.js +0 -4
- package/dist/kolibri/disabled-BZXlWAgK.js +0 -4
- package/dist/kolibri/field-control-DsQHa0v9.js +0 -4
- package/dist/kolibri/group-DUVsgWxS.js +0 -4
- package/dist/kolibri/has-closer-DUB0QcS9.js +0 -4
- package/dist/kolibri/href-CxokGOJ2.js +0 -4
- package/dist/kolibri/id-BI0ZuK17.js +0 -4
- package/dist/kolibri/index-Dulj0jro.js +0 -6
- package/dist/kolibri/input-C0Li7DsE.js +0 -4
- package/dist/kolibri/item-8RKFpmbd.js +0 -4
- package/dist/kolibri/item-CnJMuEyl.js +0 -4
- package/dist/kolibri/item-CxVe5INa.js +0 -4
- package/dist/kolibri/item-DHZGDrAn.js +0 -4
- package/dist/kolibri/label-B-Dr7VaP.js +0 -4
- package/dist/kolibri/label-hints-CLMiVvfk.js +0 -4
- package/dist/kolibri/label-lang-segment-iVD9hoM3.js +0 -4
- package/dist/kolibri/label-with-expert-slot-BbZ9nx0l.js +0 -4
- package/dist/kolibri/level-DsQ_pcyD.js +0 -4
- package/dist/kolibri/link-target-D7lYILOV.js +0 -4
- package/dist/kolibri/multiple--ay1C1n3.js +0 -4
- package/dist/kolibri/number-value-Dl9-2O4r.js +0 -4
- package/dist/kolibri/open-CNHJhHsy.js +0 -4
- package/dist/kolibri/orientation-ChJ0S24M.js +0 -4
- package/dist/kolibri/placeholder-UxmBJ4Vl.js +0 -4
- package/dist/kolibri/props-from-config-ytxYrJUY.js +0 -4
- package/dist/kolibri/read-only-DytZ5HZJ.js +0 -4
- package/dist/kolibri/required-BriHhuO4.js +0 -4
- package/dist/kolibri/resolve-props-02J6OCRf.js +0 -4
- package/dist/kolibri/resolve-props-Bj6IaybL.js +0 -4
- package/dist/kolibri/rows-I1jrTjzU.js +0 -4
- package/dist/kolibri/scroll-lock-B6hVv8A8.js +0 -4
- package/dist/kolibri/spell-check-BWCnJG5v.js +0 -4
- package/dist/kolibri/src-ziOwSglN.js +0 -4
- package/dist/kolibri/step-BcyhvRtu.js +0 -4
- package/dist/kolibri/toggle-handler-3qaN2kmt.js +0 -4
- package/dist/kolibri/unique-nav-labels-CxFUYSVY.js +0 -4
- package/dist/kolibri/unit-1ix-K9SD.js +0 -4
- package/dist/kolibri/validators-CTjxOidB.js +0 -4
- package/dist/kolibri/value-string-CxDz7dhD.js +0 -4
|
@@ -193,6 +193,27 @@
|
|
|
193
193
|
background-color: Canvas;
|
|
194
194
|
border: 1px solid ButtonBorder;
|
|
195
195
|
}
|
|
196
|
+
/*
|
|
197
|
+
* Forced colors drop the author colors of the meter pseudo elements, so the bar would lose its
|
|
198
|
+
* fill. System colors are kept and set track and fill apart; the state itself is spelled out
|
|
199
|
+
* in the label (`kol-meter__bar-state`).
|
|
200
|
+
*/
|
|
201
|
+
.kol-meter meter {
|
|
202
|
+
background-color: Canvas;
|
|
203
|
+
border-color: CanvasText;
|
|
204
|
+
}
|
|
205
|
+
.kol-meter meter::-webkit-meter-bar {
|
|
206
|
+
background-color: Canvas;
|
|
207
|
+
border-color: CanvasText;
|
|
208
|
+
}
|
|
209
|
+
.kol-meter meter::-webkit-meter-optimum-value,
|
|
210
|
+
.kol-meter meter::-webkit-meter-suboptimum-value,
|
|
211
|
+
.kol-meter meter::-webkit-meter-even-less-good-value {
|
|
212
|
+
background-color: CanvasText;
|
|
213
|
+
}
|
|
214
|
+
.kol-meter meter::-moz-meter-bar {
|
|
215
|
+
background-color: CanvasText;
|
|
216
|
+
}
|
|
196
217
|
.kol-pagination__button--selected .kol-button {
|
|
197
218
|
opacity: 1;
|
|
198
219
|
}
|
|
@@ -294,8 +315,8 @@
|
|
|
294
315
|
}
|
|
295
316
|
@font-face {
|
|
296
317
|
font-family: "kolicons";
|
|
297
|
-
src: url("kolicons.eot?t=
|
|
298
|
-
src: url("kolicons.eot?t=
|
|
318
|
+
src: url("kolicons.eot?t=1794998877659"); /* IE9*/
|
|
319
|
+
src: url("kolicons.eot?t=1794998877659#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794998877659") format("woff2"), url("kolicons.woff?t=1794998877659") format("woff"), url("kolicons.ttf?t=1794998877659") format("truetype"), url("kolicons.svg?t=1794998877659#kolicons") format("svg"); /* iOS 4.1- */
|
|
299
320
|
}
|
|
300
321
|
@layer kol-component {
|
|
301
322
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -193,6 +193,27 @@
|
|
|
193
193
|
background-color: Canvas;
|
|
194
194
|
border: 1px solid ButtonBorder;
|
|
195
195
|
}
|
|
196
|
+
/*
|
|
197
|
+
* Forced colors drop the author colors of the meter pseudo elements, so the bar would lose its
|
|
198
|
+
* fill. System colors are kept and set track and fill apart; the state itself is spelled out
|
|
199
|
+
* in the label (`kol-meter__bar-state`).
|
|
200
|
+
*/
|
|
201
|
+
.kol-meter meter {
|
|
202
|
+
background-color: Canvas;
|
|
203
|
+
border-color: CanvasText;
|
|
204
|
+
}
|
|
205
|
+
.kol-meter meter::-webkit-meter-bar {
|
|
206
|
+
background-color: Canvas;
|
|
207
|
+
border-color: CanvasText;
|
|
208
|
+
}
|
|
209
|
+
.kol-meter meter::-webkit-meter-optimum-value,
|
|
210
|
+
.kol-meter meter::-webkit-meter-suboptimum-value,
|
|
211
|
+
.kol-meter meter::-webkit-meter-even-less-good-value {
|
|
212
|
+
background-color: CanvasText;
|
|
213
|
+
}
|
|
214
|
+
.kol-meter meter::-moz-meter-bar {
|
|
215
|
+
background-color: CanvasText;
|
|
216
|
+
}
|
|
196
217
|
.kol-pagination__button--selected .kol-button {
|
|
197
218
|
opacity: 1;
|
|
198
219
|
}
|
|
@@ -289,8 +310,8 @@
|
|
|
289
310
|
}
|
|
290
311
|
@font-face {
|
|
291
312
|
font-family: "kolicons";
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
293
|
-
src: url("kolicons.eot?t=
|
|
313
|
+
src: url("kolicons.eot?t=1794998877659"); /* IE9*/
|
|
314
|
+
src: url("kolicons.eot?t=1794998877659#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794998877659") format("woff2"), url("kolicons.woff?t=1794998877659") format("woff"), url("kolicons.ttf?t=1794998877659") format("truetype"), url("kolicons.svg?t=1794998877659#kolicons") format("svg"); /* iOS 4.1- */
|
|
294
315
|
}
|
|
295
316
|
@layer kol-component {
|
|
296
317
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -58,8 +58,12 @@ export class KolTree extends BaseWebComponent {
|
|
|
58
58
|
}
|
|
59
59
|
async handleKeyDown(event) {
|
|
60
60
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
61
|
+
if (event.key === 'Tab' && event.shiftKey && event.target !== this.host) {
|
|
62
|
+
(_a = this.host) === null || _a === void 0 ? void 0 : _a.setAttribute('tabindex', '-1');
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
const currentTreeItem = event.composedPath().find(isTreeItem);
|
|
61
66
|
const openItems = await this.getOpenTreeItemElements();
|
|
62
|
-
const currentTreeItem = (_a = document.activeElement) === null || _a === void 0 ? void 0 : _a.closest(KolTreeItemTag);
|
|
63
67
|
const hasModifierKeyPressed = event.metaKey || event.altKey || event.ctrlKey || event.shiftKey;
|
|
64
68
|
if (!openItems || !currentTreeItem) {
|
|
65
69
|
return;
|
|
@@ -141,18 +145,25 @@ export class KolTree extends BaseWebComponent {
|
|
|
141
145
|
}
|
|
142
146
|
}
|
|
143
147
|
handleFocusIn(event) {
|
|
144
|
-
|
|
145
|
-
if (event.target === this.host && !((_a = document.activeElement) === null || _a === void 0 ? void 0 : _a.closest(KolTreeItemTag))) {
|
|
148
|
+
if (event.target === this.host && !this.isWithinTree(event.relatedTarget)) {
|
|
146
149
|
requestAnimationFrame(() => {
|
|
147
150
|
void this.focus();
|
|
148
151
|
});
|
|
149
152
|
}
|
|
150
153
|
}
|
|
151
154
|
handleFocusOut(event) {
|
|
155
|
+
var _a;
|
|
156
|
+
if (!this.isWithinTree(event.relatedTarget)) {
|
|
157
|
+
(_a = this.host) === null || _a === void 0 ? void 0 : _a.setAttribute('tabindex', '0');
|
|
158
|
+
}
|
|
152
159
|
if (event.relatedTarget && !event.relatedTarget.closest(KolTreeTag)) {
|
|
153
160
|
this.ensureActiveItemVisibility();
|
|
154
161
|
}
|
|
155
162
|
}
|
|
163
|
+
isWithinTree(node) {
|
|
164
|
+
var _a, _b;
|
|
165
|
+
return node instanceof Node && node !== this.host && ((_b = (_a = this.host) === null || _a === void 0 ? void 0 : _a.contains(node)) !== null && _b !== void 0 ? _b : false);
|
|
166
|
+
}
|
|
156
167
|
observeChildListMutations() {
|
|
157
168
|
this.observer = new MutationObserver(() => this.scheduleTreeChange());
|
|
158
169
|
this.observeTopLevelItems();
|
|
@@ -233,7 +244,7 @@ export class KolTree extends BaseWebComponent {
|
|
|
233
244
|
}
|
|
234
245
|
}
|
|
235
246
|
render() {
|
|
236
|
-
return (h(Host, { key: '
|
|
247
|
+
return (h(Host, { key: 'df55eb6b968ef985ef6c738815e66aa9cd88b9e1', tabindex: "0" }, h(TreeFC, { key: 'e874b2de9b9e9e7e4f757bb418b698e9e06c239f', handleSlotchange: this.handleSlotchange, label: this.getRenderProp('label') })));
|
|
237
248
|
}
|
|
238
249
|
static get is() { return "kol-tree"; }
|
|
239
250
|
static get encapsulation() { return "shadow"; }
|
|
@@ -193,6 +193,27 @@
|
|
|
193
193
|
background-color: Canvas;
|
|
194
194
|
border: 1px solid ButtonBorder;
|
|
195
195
|
}
|
|
196
|
+
/*
|
|
197
|
+
* Forced colors drop the author colors of the meter pseudo elements, so the bar would lose its
|
|
198
|
+
* fill. System colors are kept and set track and fill apart; the state itself is spelled out
|
|
199
|
+
* in the label (`kol-meter__bar-state`).
|
|
200
|
+
*/
|
|
201
|
+
.kol-meter meter {
|
|
202
|
+
background-color: Canvas;
|
|
203
|
+
border-color: CanvasText;
|
|
204
|
+
}
|
|
205
|
+
.kol-meter meter::-webkit-meter-bar {
|
|
206
|
+
background-color: Canvas;
|
|
207
|
+
border-color: CanvasText;
|
|
208
|
+
}
|
|
209
|
+
.kol-meter meter::-webkit-meter-optimum-value,
|
|
210
|
+
.kol-meter meter::-webkit-meter-suboptimum-value,
|
|
211
|
+
.kol-meter meter::-webkit-meter-even-less-good-value {
|
|
212
|
+
background-color: CanvasText;
|
|
213
|
+
}
|
|
214
|
+
.kol-meter meter::-moz-meter-bar {
|
|
215
|
+
background-color: CanvasText;
|
|
216
|
+
}
|
|
196
217
|
.kol-pagination__button--selected .kol-button {
|
|
197
218
|
opacity: 1;
|
|
198
219
|
}
|
|
@@ -46,7 +46,10 @@ export class KolTreeItem extends BaseWebComponent {
|
|
|
46
46
|
labelLangSegmentsProp.apply(value, (v) => this.setRenderProp('label', v), this.isRequired('label'));
|
|
47
47
|
}
|
|
48
48
|
watchOpen(value) {
|
|
49
|
-
openProp.apply(value, (v) =>
|
|
49
|
+
openProp.apply(value, (v) => {
|
|
50
|
+
this.open = v;
|
|
51
|
+
invalidateOpenItemsCache(this.getTree());
|
|
52
|
+
});
|
|
50
53
|
}
|
|
51
54
|
watchHref(value) {
|
|
52
55
|
hrefProp.apply(value, (v) => this.setRenderProp('href', v), this.isRequired('href'));
|
|
@@ -123,7 +126,7 @@ export class KolTreeItem extends BaseWebComponent {
|
|
|
123
126
|
}
|
|
124
127
|
}
|
|
125
128
|
render() {
|
|
126
|
-
return (h(Host, { key: '
|
|
129
|
+
return (h(Host, { key: 'ef8d3be5e78ab5bf78a56cfb3a7a598dff63b129' }, h(TreeItemFC, { key: 'e180a324da3af9afd90821a831aa3b394b009f0e', active: this.getRenderProp('active'), ariaCurrent: this.ariaCurrent, groupId: this.groupId, handleAnchorClick: this.handleAnchorClick, handleSlotchange: this.handleSlotchange, handleToggleClick: this.handleToggleClick, hasChildren: this.hasChildren, href: this.getRenderProp('href'), label: this.getRenderProp('label'), level: this.level, open: this.open, refAnchor: this.anchorRef })));
|
|
127
130
|
}
|
|
128
131
|
static get is() { return "kol-tree-item"; }
|
|
129
132
|
static get encapsulation() { return "shadow"; }
|
|
@@ -193,6 +193,27 @@
|
|
|
193
193
|
background-color: Canvas;
|
|
194
194
|
border: 1px solid ButtonBorder;
|
|
195
195
|
}
|
|
196
|
+
/*
|
|
197
|
+
* Forced colors drop the author colors of the meter pseudo elements, so the bar would lose its
|
|
198
|
+
* fill. System colors are kept and set track and fill apart; the state itself is spelled out
|
|
199
|
+
* in the label (`kol-meter__bar-state`).
|
|
200
|
+
*/
|
|
201
|
+
.kol-meter meter {
|
|
202
|
+
background-color: Canvas;
|
|
203
|
+
border-color: CanvasText;
|
|
204
|
+
}
|
|
205
|
+
.kol-meter meter::-webkit-meter-bar {
|
|
206
|
+
background-color: Canvas;
|
|
207
|
+
border-color: CanvasText;
|
|
208
|
+
}
|
|
209
|
+
.kol-meter meter::-webkit-meter-optimum-value,
|
|
210
|
+
.kol-meter meter::-webkit-meter-suboptimum-value,
|
|
211
|
+
.kol-meter meter::-webkit-meter-even-less-good-value {
|
|
212
|
+
background-color: CanvasText;
|
|
213
|
+
}
|
|
214
|
+
.kol-meter meter::-moz-meter-bar {
|
|
215
|
+
background-color: CanvasText;
|
|
216
|
+
}
|
|
196
217
|
.kol-pagination__button--selected .kol-button {
|
|
197
218
|
opacity: 1;
|
|
198
219
|
}
|
|
@@ -289,8 +310,8 @@
|
|
|
289
310
|
}
|
|
290
311
|
@font-face {
|
|
291
312
|
font-family: "kolicons";
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
293
|
-
src: url("kolicons.eot?t=
|
|
313
|
+
src: url("kolicons.eot?t=1794998877659"); /* IE9*/
|
|
314
|
+
src: url("kolicons.eot?t=1794998877659#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794998877659") format("woff2"), url("kolicons.woff?t=1794998877659") format("woff"), url("kolicons.ttf?t=1794998877659") format("truetype"), url("kolicons.svg?t=1794998877659#kolicons") format("svg"); /* iOS 4.1- */
|
|
294
315
|
}
|
|
295
316
|
@layer kol-component {
|
|
296
317
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -193,6 +193,27 @@
|
|
|
193
193
|
background-color: Canvas;
|
|
194
194
|
border: 1px solid ButtonBorder;
|
|
195
195
|
}
|
|
196
|
+
/*
|
|
197
|
+
* Forced colors drop the author colors of the meter pseudo elements, so the bar would lose its
|
|
198
|
+
* fill. System colors are kept and set track and fill apart; the state itself is spelled out
|
|
199
|
+
* in the label (`kol-meter__bar-state`).
|
|
200
|
+
*/
|
|
201
|
+
.kol-meter meter {
|
|
202
|
+
background-color: Canvas;
|
|
203
|
+
border-color: CanvasText;
|
|
204
|
+
}
|
|
205
|
+
.kol-meter meter::-webkit-meter-bar {
|
|
206
|
+
background-color: Canvas;
|
|
207
|
+
border-color: CanvasText;
|
|
208
|
+
}
|
|
209
|
+
.kol-meter meter::-webkit-meter-optimum-value,
|
|
210
|
+
.kol-meter meter::-webkit-meter-suboptimum-value,
|
|
211
|
+
.kol-meter meter::-webkit-meter-even-less-good-value {
|
|
212
|
+
background-color: CanvasText;
|
|
213
|
+
}
|
|
214
|
+
.kol-meter meter::-moz-meter-bar {
|
|
215
|
+
background-color: CanvasText;
|
|
216
|
+
}
|
|
196
217
|
.kol-pagination__button--selected .kol-button {
|
|
197
218
|
opacity: 1;
|
|
198
219
|
}
|
|
@@ -289,8 +310,8 @@
|
|
|
289
310
|
}
|
|
290
311
|
@font-face {
|
|
291
312
|
font-family: "kolicons";
|
|
292
|
-
src: url("kolicons.eot?t=
|
|
293
|
-
src: url("kolicons.eot?t=
|
|
313
|
+
src: url("kolicons.eot?t=1794998877659"); /* IE9*/
|
|
314
|
+
src: url("kolicons.eot?t=1794998877659#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794998877659") format("woff2"), url("kolicons.woff?t=1794998877659") format("woff"), url("kolicons.ttf?t=1794998877659") format("truetype"), url("kolicons.svg?t=1794998877659#kolicons") format("svg"); /* iOS 4.1- */
|
|
294
315
|
}
|
|
295
316
|
@layer kol-component {
|
|
296
317
|
[class^=kolicon-], [class*=" kolicon-"] {
|
|
@@ -62,8 +62,9 @@ let i18n;
|
|
|
62
62
|
export const getI18nInstance = () => {
|
|
63
63
|
return i18n;
|
|
64
64
|
};
|
|
65
|
-
export const initializeI18n = (lng, translations
|
|
65
|
+
export const initializeI18n = (lng, translations) => {
|
|
66
66
|
i18n = new I18nService(lng);
|
|
67
|
+
i18n.addTranslations(TRANSLATIONS);
|
|
67
68
|
i18n.addTranslations(translations);
|
|
68
69
|
return i18n;
|
|
69
70
|
};
|
|
@@ -15,6 +15,7 @@ import { AlertIconFC } from "./icon";
|
|
|
15
15
|
const alertBem = bem.forBlock('kol-alert');
|
|
16
16
|
const BEM_CLASS_ALERT__CLOSER = alertBem('closer');
|
|
17
17
|
const BEM_CLASS_ALERT__CONTENT = alertBem('content');
|
|
18
|
+
const BEM_CLASS_CLOSE_BUTTON = bem.forBlock('kol-close-button')();
|
|
18
19
|
const UNSET_BUTTON_PROP = undefined;
|
|
19
20
|
export const AlertFC = (props, children) => {
|
|
20
21
|
const { alert, class: classNames, closerAriaDescriptionId, handleCloserClick, hasCloser, headingId, label, level, refCloserButton, refCloserTooltip, type, variant } = props, other = __rest(props, ["alert", "class", "closerAriaDescriptionId", "handleCloserClick", "hasCloser", "headingId", "label", "level", "refCloserButton", "refCloserTooltip", "type", "variant"]);
|
|
@@ -24,7 +25,7 @@ export const AlertFC = (props, children) => {
|
|
|
24
25
|
hasCloser: hasCloser === true,
|
|
25
26
|
[`type-${type}`]: true,
|
|
26
27
|
[`variant-${variant}`]: true,
|
|
27
|
-
}, role: alert ? 'alert' : undefined }, other), h(AlertIconFC, { type: type }), !!(label === null || label === void 0 ? void 0 : label.length) && (h(HeadlineTag, { class: clsx('kol-headline', `kol-headline--${HeadlineTag}`, alertBem('heading', { [`h${level}`]: true }), 'kol-headline--single'), id: headingId }, renderLabelWithLang(label))), hasCloser && (h(ButtonFC, { accessKey: "", ariaControls: "", ariaDescription: trimLabel(label), ariaDescriptionId: closerAriaDescriptionId, ariaExpanded: UNSET_BUTTON_PROP, ariaHasPopup: "", ariaSelected: UNSET_BUTTON_PROP, class: clsx(BEM_CLASS_ALERT__CLOSER,
|
|
28
|
+
}, role: alert ? 'alert' : undefined }, other), h(AlertIconFC, { type: type }), !!(label === null || label === void 0 ? void 0 : label.length) && (h(HeadlineTag, { class: clsx('kol-headline', `kol-headline--${HeadlineTag}`, alertBem('heading', { [`h${level}`]: true }), 'kol-headline--single'), id: headingId }, renderLabelWithLang(label))), hasCloser && (h(ButtonFC, { accessKey: "", ariaControls: "", ariaDescription: trimLabel(label), ariaDescriptionId: closerAriaDescriptionId, ariaExpanded: UNSET_BUTTON_PROP, ariaHasPopup: "", ariaSelected: UNSET_BUTTON_PROP, class: clsx(BEM_CLASS_ALERT__CLOSER, BEM_CLASS_CLOSE_BUTTON), customClass: "", disabled: false, handleBlur: () => undefined, handleClick: handleCloserClick, handleFocus: () => undefined, handleMouseDown: () => undefined, hideLabel: true, icons: {
|
|
28
29
|
left: {
|
|
29
30
|
icon: 'kolicon-cross',
|
|
30
31
|
},
|
|
@@ -5,15 +5,15 @@ import { h } from "@stencil/core";
|
|
|
5
5
|
import { translate } from "../../../i18n";
|
|
6
6
|
import { trimLabel } from "../../../schema";
|
|
7
7
|
import { bem } from "../../../schema/bem-registry";
|
|
8
|
+
import { BemRootNodeFC } from "../bem-root-node/component";
|
|
8
9
|
import { resolveFcProps } from "../props-from-config";
|
|
9
10
|
import { avatarPropsConfig } from "./api";
|
|
10
11
|
const avatarBem = bem.forBlock('kol-avatar');
|
|
11
|
-
const BEM_CLASS_AVATAR = avatarBem();
|
|
12
12
|
const BEM_CLASS_AVATAR__IMAGE = avatarBem('image');
|
|
13
13
|
const BEM_CLASS_AVATAR__INITIALS = avatarBem('initials');
|
|
14
14
|
export const AvatarFC = (props) => {
|
|
15
15
|
const { color, initials, label, src } = resolveFcProps(avatarPropsConfig, props);
|
|
16
|
-
return (h(
|
|
16
|
+
return (h(BemRootNodeFC, { "aria-label": translate('kol-avatar-alt', { placeholders: { name: trimLabel(label) } }), block: "kol-avatar", role: "img", style: {
|
|
17
17
|
backgroundColor: color.backgroundColor,
|
|
18
18
|
color: color.foregroundColor,
|
|
19
19
|
} }, src ? (h("img", { alt: "", "aria-hidden": "true", class: BEM_CLASS_AVATAR__IMAGE, src: src })) : (h("span", { "aria-hidden": "true", class: BEM_CLASS_AVATAR__INITIALS }, initials))));
|
|
@@ -3,13 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { h } from "@stencil/core";
|
|
5
5
|
import { bem } from "../../../schema/bem-registry";
|
|
6
|
+
import { BemRootNodeFC } from "../bem-root-node/component";
|
|
6
7
|
import { ButtonFC } from "../button/component";
|
|
7
8
|
import { SpanFC } from "../span/component";
|
|
8
9
|
const badgeBem = bem.forBlock('kol-badge');
|
|
9
10
|
const BEM_CLASS_BADGE__LABEL = badgeBem('label');
|
|
10
11
|
const BEM_CLASS_BADGE__SMART_BUTTON = badgeBem('smart-button');
|
|
11
12
|
export const BadgeFC = ({ color, icons, label, smartButton }) => {
|
|
12
|
-
return (h(
|
|
13
|
+
return (h(BemRootNodeFC, { block: "kol-badge", modifiers: { 'has-smart-button': smartButton !== undefined }, style: {
|
|
13
14
|
backgroundColor: color.backgroundColor,
|
|
14
15
|
color: color.foregroundColor,
|
|
15
16
|
} }, h(SpanFC, { class: BEM_CLASS_BADGE__LABEL, id: smartButton === null || smartButton === void 0 ? void 0 : smartButton.labelId, allowMarkdown: true, icons: icons, label: label }), smartButton && (h(ButtonFC, Object.assign({}, smartButton.resolvedButton, { class: BEM_CLASS_BADGE__SMART_BUTTON, ariaDescriptionId: smartButton.ariaDescriptionId, handleBlur: smartButton.handleBlur, handleClick: smartButton.handleClick, handleFocus: smartButton.handleFocus, handleMouseDown: smartButton.handleMouseDown, refButton: smartButton.refSmartButton, refTooltip: smartButton.refTooltip }))), h("br", null)));
|
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import { __rest } from "tslib";
|
|
5
4
|
import { h } from "@stencil/core";
|
|
6
5
|
import clsx from "../../../utils/clsx";
|
|
7
6
|
import { getBlockBem } from "./block-bem";
|
|
8
|
-
|
|
9
|
-
var
|
|
10
|
-
const blockBem = getBlockBem(block);
|
|
11
|
-
const
|
|
12
|
-
|
|
7
|
+
const renderBemRootNode = (props, children) => {
|
|
8
|
+
var _a;
|
|
9
|
+
const blockBem = getBlockBem(props.block);
|
|
10
|
+
const className = clsx(blockBem(props.modifiers), props.class);
|
|
11
|
+
const attributes = {};
|
|
12
|
+
for (const [key, value] of Object.entries(props)) {
|
|
13
|
+
if (key === 'block') {
|
|
14
|
+
attributes.class = className;
|
|
15
|
+
}
|
|
16
|
+
else if (key !== 'class' && key !== 'component' && key !== 'modifiers') {
|
|
17
|
+
attributes[key] = value;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
const Root = ((_a = props.component) !== null && _a !== void 0 ? _a : 'div');
|
|
21
|
+
return h(Root, Object.assign({}, attributes), children);
|
|
13
22
|
};
|
|
23
|
+
export const BemRootNodeFC = renderBemRootNode;
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
import { Fragment, h } from "@stencil/core";
|
|
5
5
|
import { trimLabel } from "../../../schema";
|
|
6
6
|
import { bem } from "../../../schema/bem-registry";
|
|
7
|
+
import { BemRootNodeFC } from "../bem-root-node/component";
|
|
7
8
|
import { IconFC } from "../icon/component";
|
|
8
9
|
import { LinkFC } from "../link/component";
|
|
9
10
|
import { renderLabelWithLang } from "../span/component";
|
|
10
11
|
const breadcrumbBem = bem.forBlock('kol-breadcrumb');
|
|
11
|
-
const BEM_CLASS_BREADCRUMB = breadcrumbBem();
|
|
12
12
|
const BEM_CLASS_BREADCRUMB__ICON = breadcrumbBem('icon');
|
|
13
13
|
const BEM_CLASS_BREADCRUMB__LINK = breadcrumbBem('link');
|
|
14
14
|
const BEM_CLASS_BREADCRUMB__LIST = breadcrumbBem('list');
|
|
@@ -26,5 +26,5 @@ const renderLink = (item, index, lastIndex, showCurrentPage) => {
|
|
|
26
26
|
};
|
|
27
27
|
export const BreadcrumbFC = ({ label, linkItems, showCurrentPage }) => {
|
|
28
28
|
const lastIndex = linkItems.length - 1;
|
|
29
|
-
return (h("nav",
|
|
29
|
+
return (h(BemRootNodeFC, { component: "nav", block: "kol-breadcrumb", "aria-label": label }, h("ul", { class: BEM_CLASS_BREADCRUMB__LIST }, linkItems.length === 0 && (h("li", null, h(IconFC, { class: CLASS_BREADCRUMB_EMPTY_STATE_ICON, icons: "kolicon-house", label: "" }), "\u2026")), linkItems.map((item, index) => renderLink(item, index, lastIndex, showCurrentPage)))));
|
|
30
30
|
};
|
|
@@ -5,6 +5,7 @@ import { h } from "@stencil/core";
|
|
|
5
5
|
import KolHeadingFc from "../../../functional-components/Heading/Heading";
|
|
6
6
|
import { bem } from "../../../schema/bem-registry";
|
|
7
7
|
import clsx from "../../../utils/clsx";
|
|
8
|
+
import { BemRootNodeFC } from "../bem-root-node/component";
|
|
8
9
|
import { ButtonFC } from "../button/component";
|
|
9
10
|
import { resolveFcProps } from "../props-from-config";
|
|
10
11
|
import { renderLabelWithLang } from "../span/component";
|
|
@@ -14,9 +15,10 @@ const BEM_CLASS_CARD__CLOSE_BUTTON = cardBem('close-button');
|
|
|
14
15
|
const BEM_CLASS_CARD__CONTENT = cardBem('content');
|
|
15
16
|
const BEM_CLASS_CARD__HEADER = cardBem('header');
|
|
16
17
|
const BEM_CLASS_CARD__LINK = cardBem('link');
|
|
18
|
+
const BEM_CLASS_CLOSE_BUTTON = bem.forBlock('kol-close-button')();
|
|
17
19
|
const NOOP = () => { };
|
|
18
20
|
const CardHeadingFC = ({ headingId, label, level }) => (h(KolHeadingFc, { class: BEM_CLASS_CARD__HEADER, id: headingId, level: level }, renderLabelWithLang(label)));
|
|
19
21
|
export const CardFC = (props, children) => {
|
|
20
22
|
const { ariaDescriptionId, class: hostClass, closeButtonProps, handleBlur, handleClose, handleFocus, hasCloser, headingId, href, label, level, refCloseButton, refCta, refTooltip, target, } = resolveFcProps(cardPropsConfig, props);
|
|
21
|
-
return (h("article",
|
|
23
|
+
return (h(BemRootNodeFC, { component: "article", "aria-labelledby": headingId, block: "kol-card", class: hostClass }, href.length > 0 ? (h("a", { class: BEM_CLASS_CARD__LINK, href: href, target: target || undefined, onBlur: handleBlur, onFocus: handleFocus, ref: refCta }, h(CardHeadingFC, { headingId: headingId, label: label, level: level }))) : (h(CardHeadingFC, { headingId: headingId, label: label, level: level })), h("div", { class: BEM_CLASS_CARD__CONTENT }, children), hasCloser && (h("div", { class: clsx(BEM_CLASS_CARD__CLOSE_BUTTON, BEM_CLASS_CLOSE_BUTTON) }, h(ButtonFC, Object.assign({}, closeButtonProps, { ariaDescriptionId: ariaDescriptionId, handleBlur: NOOP, handleClick: handleClose, handleFocus: NOOP, handleMouseDown: NOOP, refButton: refCloseButton, refTooltip: refTooltip }))))));
|
|
22
24
|
};
|
|
@@ -6,11 +6,12 @@ import KolHeadingFc from "../../../functional-components/Heading/Heading";
|
|
|
6
6
|
import clsx from "../../../utils/clsx";
|
|
7
7
|
import { preventFocus } from "../../../utils/element-interaction";
|
|
8
8
|
import { getBlockBem } from "../bem-root-node/block-bem";
|
|
9
|
+
import { BemRootNodeFC } from "../bem-root-node/component";
|
|
9
10
|
import { SpanFC } from "../span/component";
|
|
10
11
|
export const CollapsibleFC = ({ block, contentClass, controlId, detailsOpen, disabled, expanded, handleToggle, headingId, icons, label, level, refHeadingButton, transitionMs }, children) => {
|
|
11
12
|
const blockBem = getBlockBem(block);
|
|
12
|
-
return (h("details",
|
|
13
|
+
return (h(BemRootNodeFC, { component: "details", block: block, modifiers: {
|
|
13
14
|
disabled: disabled === true,
|
|
14
15
|
open: expanded === true,
|
|
15
|
-
}
|
|
16
|
+
}, open: detailsOpen === true, style: { '--collapsible-transition-duration': `${transitionMs}ms` } }, h("summary", { "aria-controls": controlId, "aria-disabled": disabled === true ? 'true' : undefined, class: blockBem('heading'), id: headingId, onClick: handleToggle, onMouseDown: disabled === true ? preventFocus : undefined, ref: refHeadingButton, tabIndex: disabled === true ? -1 : undefined }, h(KolHeadingFc, { level: level !== null && level !== void 0 ? level : 0 }, h(SpanFC, { icons: icons, label: label }))), h("div", { class: blockBem('wrapper') }, h("div", { class: blockBem('wrapper-animation') }, h("div", { "aria-hidden": expanded === false ? 'true' : undefined, "aria-labelledby": headingId, class: clsx(blockBem('content'), contentClass), id: controlId, role: "region" }, children)))));
|
|
16
17
|
};
|
|
@@ -4,10 +4,13 @@
|
|
|
4
4
|
import { h } from "@stencil/core";
|
|
5
5
|
import { bem } from "../../../schema/bem-registry";
|
|
6
6
|
import clsx from "../../../utils/clsx";
|
|
7
|
+
import { BemRootNodeFC } from "../bem-root-node/component";
|
|
7
8
|
const dialogBem = bem.forBlock('kol-dialog');
|
|
8
9
|
const modalBem = bem.forBlock('kol-modal');
|
|
9
|
-
export const dialogBlockClass = (variant) => clsx(dialogBem(), modalBem(), dialogBem(variant), modalBem(variant));
|
|
10
10
|
export const DialogFC = (props, children) => {
|
|
11
|
-
const {
|
|
12
|
-
|
|
11
|
+
const { class: hostClass, elementClass, handleCancel, handleClose, label, labelledBy, modal, refDialog, variant, width } = props;
|
|
12
|
+
if (variant !== undefined) {
|
|
13
|
+
return (h(BemRootNodeFC, { component: "dialog", "aria-label": labelledBy ? undefined : label, "aria-labelledby": labelledBy, "aria-modal": modal ? 'true' : 'false', block: "kol-dialog", class: clsx(modalBem(), dialogBem(variant), modalBem(variant), hostClass), onCancel: handleCancel, onClose: handleClose, ref: refDialog, style: width ? { width } : undefined }, children));
|
|
14
|
+
}
|
|
15
|
+
return (h("dialog", { "aria-label": labelledBy ? undefined : label, "aria-labelledby": labelledBy, "aria-modal": modal ? 'true' : 'false', class: clsx(elementClass, hostClass), onCancel: handleCancel, onClose: handleClose, ref: refDialog, style: width ? { width } : undefined }, children));
|
|
13
16
|
};
|
|
@@ -13,7 +13,7 @@ import { BaseWebComponent } from "../base-web-component";
|
|
|
13
13
|
import { resolveCardCloseButtonProps } from "../card/close-button";
|
|
14
14
|
import { CardFC } from "../card/component";
|
|
15
15
|
import { TooltipBehavior } from "../tooltip/behavior";
|
|
16
|
-
import {
|
|
16
|
+
import { DialogFC } from "./component";
|
|
17
17
|
export const DialogItemFC = ({ dialog, card }, children) => (h(DialogFC, Object.assign({}, dialog), card ? h(CardFC, Object.assign({}, card), children) : children));
|
|
18
18
|
export const createDialogItem = (getFlagHost, requestRender, getEventTarget) => {
|
|
19
19
|
const dialogRef = createCtaRef();
|
|
@@ -91,13 +91,13 @@ export const createDialogItem = (getFlagHost, requestRender, getEventTarget) =>
|
|
|
91
91
|
}
|
|
92
92
|
return {
|
|
93
93
|
dialog: {
|
|
94
|
-
blockClass: dialogBlockClass(variant),
|
|
95
94
|
handleCancel,
|
|
96
95
|
handleClose,
|
|
97
96
|
label: trimLabel(label),
|
|
98
97
|
labelledBy: isCard ? headingId : undefined,
|
|
99
98
|
modal,
|
|
100
99
|
refDialog: dialogRef,
|
|
100
|
+
variant,
|
|
101
101
|
width,
|
|
102
102
|
},
|
|
103
103
|
card: isCard && cardCloseButtonProps
|
|
@@ -13,5 +13,5 @@ const BEM_CLASS_DRAWER__CONTENT = drawerBem('content');
|
|
|
13
13
|
const BEM_CLASS_DRAWER__DIALOG = drawerBem('dialog');
|
|
14
14
|
export const DrawerFC = (props, children) => {
|
|
15
15
|
const { align, cardProps, expanded, handleAnimationEnd, handleCancel, handleClose, headingId, label, modal, refDialog, refWrapper } = resolveFcProps(drawerPropsConfig, props);
|
|
16
|
-
return (h(BemRootNodeFC, { block: "kol-drawer" }, h(DialogFC, {
|
|
16
|
+
return (h(BemRootNodeFC, { block: "kol-drawer" }, h(DialogFC, { elementClass: BEM_CLASS_DRAWER__DIALOG, handleCancel: handleCancel, handleClose: handleClose, label: label, labelledBy: headingId, modal: modal, refDialog: refDialog }, h("div", { class: drawerBem('wrapper', { [align]: true, 'is-closing': !expanded, open: expanded }), onAnimationEnd: handleAnimationEnd, ref: refWrapper }, h(CardFC, Object.assign({}, cardProps), h("div", { class: BEM_CLASS_DRAWER__CONTENT }, children))))));
|
|
17
17
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import {
|
|
4
|
+
import { nameProp, syncValueBySelectorProp } from "../../props";
|
|
5
5
|
export const formAssociationPropsConfig = {
|
|
6
|
-
optional: [
|
|
6
|
+
optional: [nameProp, syncValueBySelectorProp],
|
|
7
7
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { getOptions } from "../../../core/bootstrap";
|
|
5
5
|
import { devHint, devWarning, getExperimentalMode } from "../../../schema";
|
|
6
|
-
import {
|
|
6
|
+
import { nameProp } from "../../props";
|
|
7
7
|
import { BaseBehavior } from "../base-behavior";
|
|
8
8
|
import { formAssociationPropsConfig } from "./api";
|
|
9
9
|
const NODE_TYPE_ELEMENT = 1;
|
|
@@ -58,10 +58,6 @@ export class FormAssociationBehavior extends BaseBehavior {
|
|
|
58
58
|
componentWillLoad(props) {
|
|
59
59
|
this.watchName(props.name);
|
|
60
60
|
this.watchSyncValueBySelector(props.syncValueBySelector);
|
|
61
|
-
this.watchAriaDetails(props.ariaDetails);
|
|
62
|
-
}
|
|
63
|
-
watchAriaDetails(value) {
|
|
64
|
-
ariaDetailsProp.apply(value, (v) => this.setRenderProp('ariaDetails', v));
|
|
65
61
|
}
|
|
66
62
|
watchName(value) {
|
|
67
63
|
nameProp.apply(value, (v) => {
|
|
@@ -122,7 +122,6 @@ export class BaseFormFieldWebComponent extends BaseWebComponent {
|
|
|
122
122
|
}
|
|
123
123
|
applyAriaDetails(value) {
|
|
124
124
|
ariaDetailsProp.apply(value, (v) => this.shared.setRenderProp('ariaDetails', v));
|
|
125
|
-
this.formAssociation.watchAriaDetails(value);
|
|
126
125
|
this.syncAriaDetails();
|
|
127
126
|
}
|
|
128
127
|
syncAriaDetails() {
|
|
@@ -3,11 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { h } from "@stencil/core";
|
|
5
5
|
import { bem } from "../../../schema/bem-registry";
|
|
6
|
-
import
|
|
6
|
+
import { BemRootNodeFC } from "../bem-root-node/component";
|
|
7
7
|
import { resolveFcProps } from "../props-from-config";
|
|
8
8
|
import { renderLabelWithLang } from "../span/component";
|
|
9
9
|
import { headingPropsConfig } from "./api";
|
|
10
|
-
const headingBem = bem.forBlock('kol-heading');
|
|
11
10
|
const headlineBem = bem.forBlock('kol-headline');
|
|
12
11
|
function getHeadlineTag(level) {
|
|
13
12
|
return level >= 1 && level <= 6 ? `h${level}` : 'strong';
|
|
@@ -16,7 +15,7 @@ export const HeadingFC = (props) => {
|
|
|
16
15
|
const { label, level, secondaryHeadline } = resolveFcProps(headingPropsConfig, props);
|
|
17
16
|
const HeadlineTag = getHeadlineTag(level);
|
|
18
17
|
if (!secondaryHeadline) {
|
|
19
|
-
return (h(
|
|
18
|
+
return (h(BemRootNodeFC, { component: HeadlineTag, block: "kol-heading", class: headlineBem({ [HeadlineTag]: true, single: true }) }, renderLabelWithLang(label), h("slot", { name: "expert", slot: "expert" })));
|
|
20
19
|
}
|
|
21
|
-
return (h("hgroup",
|
|
20
|
+
return (h(BemRootNodeFC, { component: "hgroup", block: "kol-heading", modifiers: { group: true } }, h(HeadlineTag, { class: headlineBem({ [HeadlineTag]: true, group: true, primary: true }) }, renderLabelWithLang(label), h("slot", { name: "expert", slot: "expert" })), h("p", { class: headlineBem({ group: true, secondary: true }) }, secondaryHeadline)));
|
|
22
21
|
};
|
|
@@ -5,11 +5,11 @@ import { __rest } from "tslib";
|
|
|
5
5
|
import { h } from "@stencil/core";
|
|
6
6
|
import { bem } from "../../../schema/bem-registry";
|
|
7
7
|
import clsx from "../../../utils/clsx";
|
|
8
|
+
import { BemRootNodeFC } from "../bem-root-node/component";
|
|
8
9
|
const iconBem = bem.forBlock('kol-icon');
|
|
9
|
-
const BEM_CLASS_ICON = iconBem();
|
|
10
10
|
const BEM_CLASS_ICON__ICON = iconBem('icon');
|
|
11
11
|
export const IconFC = (_a) => {
|
|
12
12
|
var { class: classNames, icons, label } = _a, htmlAttributes = __rest(_a, ["class", "icons", "label"]);
|
|
13
13
|
const hasAriaLabel = (label === null || label === void 0 ? void 0 : label.length) > 0;
|
|
14
|
-
return (h(
|
|
14
|
+
return (h(BemRootNodeFC, Object.assign({ component: "i" }, htmlAttributes, { "aria-hidden": hasAriaLabel ? undefined : 'true', "aria-label": hasAriaLabel ? label : undefined, block: "kol-icon", class: clsx(BEM_CLASS_ICON__ICON, icons, classNames), role: hasAriaLabel ? 'img' : 'presentation' })));
|
|
15
15
|
};
|
|
@@ -2,10 +2,8 @@
|
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
4
|
import { h } from "@stencil/core";
|
|
5
|
-
import {
|
|
6
|
-
const imageBem = bem.forBlock('kol-image');
|
|
7
|
-
const BEM_CLASS_IMAGE = imageBem();
|
|
5
|
+
import { BemRootNodeFC } from "../bem-root-node/component";
|
|
8
6
|
export const ImageFC = (props) => {
|
|
9
7
|
const { alt, loading, sizes, src, srcset, handleError, handleLoad } = props;
|
|
10
|
-
return (h("img",
|
|
8
|
+
return (h(BemRootNodeFC, { component: "img", block: "kol-image", alt: alt, loading: loading, sizes: sizes || undefined, src: src, srcset: srcset || undefined, onError: (e) => handleError(e), onLoad: (e) => handleLoad(e) }));
|
|
11
9
|
};
|
|
@@ -40,5 +40,5 @@ export const LinkFC = (props, children) => {
|
|
|
40
40
|
'hide-label': hideLabel === true,
|
|
41
41
|
inline: inline === true,
|
|
42
42
|
standalone: inline === false,
|
|
43
|
-
} }, h("a", Object.assign({ ref: refAnchor }, tagAttrs, { href: tagAttrs.href, accessKey: accessKey || undefined, "aria-current": ariaCurrent || undefined, "aria-controls": ariaControls || undefined, "aria-describedby": trimmedAriaDescription ? ariaDescriptionId : undefined, "aria-disabled": disabled ? 'true' : undefined, "aria-expanded": ariaExpanded === '' ? undefined : ariaExpanded, "aria-owns": ariaOwns || undefined, "aria-label": hideLabel && trimLabel(label) !== '' ? `${trimLabel(label)}${isExternal ? ` (${translateOpenLinkInTab})` : ''}` : undefined, "aria-keyshortcuts": shortKey || undefined, class: linkBem('interactive-element') }, on, { onClick: handleAnchorClick, onMouseDown: disabled ? preventFocus : undefined, role: roleValue, tabIndex: disabled ? -1 : tabIndex }), h(SpanFC, { class: "kol-link__text", badgeText: accessKey || shortKey, icons: icons, hideLabel: hideLabel, label: expertSlot ? '' : label || href }, children.length > 0 ? children : h("slot", { name: "expert", slot: "expert" })), isExternal && (h(IconFC, { class: "kol-link__icon", label: hideLabel ? '' : translateOpenLinkInTab, icons: 'kolicon-link-external', "aria-hidden": hideLabel }))), hideLabel === true && !expertSlot && (h("div", { class:
|
|
43
|
+
} }, h("a", Object.assign({ ref: refAnchor }, tagAttrs, { href: tagAttrs.href, accessKey: accessKey || undefined, "aria-current": ariaCurrent || undefined, "aria-controls": ariaControls || undefined, "aria-describedby": trimmedAriaDescription ? ariaDescriptionId : undefined, "aria-disabled": disabled ? 'true' : undefined, "aria-expanded": ariaExpanded === '' ? undefined : ariaExpanded, "aria-owns": ariaOwns || undefined, "aria-label": hideLabel && trimLabel(label) !== '' ? `${trimLabel(label)}${isExternal ? ` (${translateOpenLinkInTab})` : ''}` : undefined, "aria-keyshortcuts": shortKey || undefined, class: linkBem('interactive-element') }, on, { onClick: handleAnchorClick, onMouseDown: disabled ? preventFocus : undefined, role: roleValue, tabIndex: disabled ? -1 : tabIndex }), h(SpanFC, { class: "kol-link__text", badgeText: accessKey || shortKey, icons: icons, hideLabel: hideLabel, label: expertSlot ? '' : label || href }, children.length > 0 ? children : h("slot", { name: "expert", slot: "expert" })), isExternal && (h(IconFC, { class: "kol-link__icon", label: hideLabel ? '' : translateOpenLinkInTab, icons: 'kolicon-link-external', "aria-hidden": hideLabel }))), hideLabel === true && !expertSlot && (h("div", { class: linkBem('tooltip') }, h(TooltipFC, { badgeText: accessKey || shortKey || '', label: trimLabel(label) !== '' ? label : typeof href === 'string' ? href : '', refFloating: refTooltip }))), trimmedAriaDescription && h(AriaDescriptionSpanFC, { description: trimmedAriaDescription, descriptionId: ariaDescriptionId })));
|
|
44
44
|
};
|
|
@@ -5,6 +5,7 @@ import { h } from "@stencil/core";
|
|
|
5
5
|
import { translate } from "../../../i18n";
|
|
6
6
|
import { trimLabel } from "../../../schema";
|
|
7
7
|
import { bem } from "../../../schema/bem-registry";
|
|
8
|
+
import { BemRootNodeFC } from "../bem-root-node/component";
|
|
8
9
|
import { renderLabelWithLang } from "../span/component";
|
|
9
10
|
const meterBem = bem.forBlock('kol-meter');
|
|
10
11
|
function getMeterState(value, min, max, low, high, optimum) {
|
|
@@ -63,5 +64,5 @@ export const MeterFC = (props) => {
|
|
|
63
64
|
: translate('kol-live-value-bounded', { placeholders: { value: String(displayValue), max: String(max), unit } });
|
|
64
65
|
const staticValueWithState = hasStateClassification ? `${staticValueText} – ${stateLabel}` : staticValueText;
|
|
65
66
|
const charCount = max.toString().length > min.toString().length ? max.toString().length + 'ch' : min.toString().length + 'ch';
|
|
66
|
-
return (h(
|
|
67
|
+
return (h(BemRootNodeFC, { block: "kol-meter", modifiers: { vertical: isVertical } }, h("div", { class: meterBem('bar') }, h("div", { class: meterBem('bar-label') }, renderLabelWithLang(label), hasStateClassification && (h("span", { class: meterBem('bar-state', { [state]: true }) }, ' – ', stateLabel))), h("div", { class: meterBem('bar-track') }, h("meter", { "aria-label": trimLabel(label), "aria-valuetext": staticValueWithState || undefined, high: high, low: low, max: max, min: min, optimum: optimum, value: hasValue ? value : undefined })), h("span", { class: meterBem('value-unit') }, h("span", { class: meterBem('value'), style: { 'min-width': charCount } }, displayValue), h("span", { class: meterBem('unit') }, unit)))));
|
|
67
68
|
};
|