@public-ui/components 4.6.0-rc.3 → 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 +2 -2
- package/dist/cjs/{Heading-DqZXie2T.js → Heading-BiIgkzH8.js} +7 -7
- package/dist/cjs/{api-Cc1hT-oO.js → api-CYf8xdSs.js} +24 -26
- package/dist/cjs/{app-globals-DtXiFJRj.js → app-globals-BYAPmvIk.js} +2 -2
- package/dist/cjs/{base-CoMrpiHg.js → base--a0QJmk3.js} +10 -10
- package/dist/cjs/{base-BjiXfuju.js → base-BmhaEyug.js} +10 -10
- package/dist/cjs/{base-B-wbGF-X.js → base-BpyecmRJ.js} +47 -40
- package/dist/cjs/{base-BKsPSdXS.js → base-CUUvWtsB.js} +10 -10
- package/dist/cjs/{base-web-component-DXCN-Sp3.js → base-web-component-BompEaD1.js} +1 -1
- package/dist/cjs/{base-web-component-DApRK7Vs.js → base-web-component-CWIPg0xv.js} +14 -15
- package/dist/cjs/{base-web-component-BXtl3Nmq.js → base-web-component-ZnP9FmYh.js} +12 -14
- package/dist/cjs/{behavior-DIv2ciyM.js → behavior-CFLTEANn.js} +4 -4
- package/dist/cjs/{behavior-DtHCmCCv.js → behavior-DSFpiPZZ.js} +4 -4
- package/dist/cjs/{behavior-GG5TOrTV.js → behavior-O4U6x6z7.js} +4 -4
- package/dist/cjs/{bem-registry-h_moyLBn.js → bem-registry-CtnO3zCW.js} +22 -0
- package/dist/cjs/{bootstrap-HU5YhM_w.js → bootstrap-DOzWgRGX.js} +1 -1
- package/dist/cjs/{color-C3xsA3Uk.js → color-BAx-7-VH.js} +2 -2
- package/dist/cjs/{component-DlyhBQIa.js → component-7ByD-KGA.js} +4 -4
- package/dist/cjs/component-B2tj_1JK.js +19 -0
- package/dist/cjs/{component-CsnTf_45.js → component-BOtCtyyw.js} +8 -10
- package/dist/cjs/{component-BOI4FdZE.js → component-BhAlZY9F.js} +6 -7
- package/dist/cjs/{component-CNNGo5gU.js → component-BsX1-89D.js} +10 -12
- package/dist/cjs/{component-D0uxhuF3.js → component-C4QeEJ1-.js} +6 -5
- package/dist/cjs/{component-Cnc2NyzE.js → component-DUJYVdRR.js} +4 -4
- package/dist/cjs/{component-CxwSVBBv.js → component-DWb8RKVo.js} +11 -12
- package/dist/cjs/component-Dd3qxReW.js +178 -0
- package/dist/cjs/{component-BE_fK-Xu.js → component-STJidyBV.js} +14 -16
- package/dist/cjs/component-TQvy83J2.js +53 -0
- package/dist/cjs/{contrast-6Nku3lih.js → contrast-DOAdZqCp.js} +1 -1
- package/dist/cjs/{dev.utils-DTQy7QrG.js → dev.utils-DlmiDtkx.js} +1 -1
- package/dist/cjs/{devtools-BAChPN0l.js → devtools-C41YtdU_.js} +2 -2
- package/dist/cjs/{disabled-CilmJ-p-.js → disabled-BdFhTB-H.js} +1 -1
- package/dist/cjs/{field-control-Bxj6Xuu8.js → field-control-S9RwdD26.js} +12 -12
- package/dist/cjs/{group-BUdQbdkp.js → group-C00FoXnX.js} +7 -8
- package/dist/cjs/{has-closer-iSIrv52u.js → has-closer--ijHuPZy.js} +1 -1
- package/dist/cjs/{href-xojo1zy_.js → href-BD4uBwDL.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-BM9KgE0w.js} +1 -1
- package/dist/cjs/{index-BaB_2Z5W.js → index-DRjg_lHL.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/input-0s6YjmaC.js +19 -0
- package/dist/cjs/{input-container-BcwbGU2R.js → input-container-DYp04csT.js} +8 -10
- package/dist/cjs/{item-BXt0-A5j.js → item-BKyAM3Uo.js} +20 -21
- package/dist/cjs/{item-DJ-XUS77.js → item-CRgD35fr.js} +4 -4
- package/dist/cjs/{item-BLrLbhAD.js → item-DWAwMGWB.js} +11 -11
- package/dist/cjs/{item-BYKMN41a.js → item-xUIdEroQ.js} +4 -4
- 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 +37 -40
- 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 +38 -41
- package/dist/cjs/kol-input-color.cjs.entry.js +35 -38
- package/dist/cjs/kol-input-date.cjs.entry.js +41 -45
- package/dist/cjs/kol-input-email.cjs.entry.js +42 -45
- package/dist/cjs/kol-input-file.cjs.entry.js +36 -39
- package/dist/cjs/kol-input-number.cjs.entry.js +40 -43
- package/dist/cjs/kol-input-password.cjs.entry.js +41 -44
- package/dist/cjs/kol-input-radio.cjs.entry.js +37 -40
- package/dist/cjs/kol-input-range.cjs.entry.js +35 -38
- package/dist/cjs/kol-input-text.cjs.entry.js +43 -46
- 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 +41 -44
- 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 +34 -37
- package/dist/cjs/kol-single-select.cjs.entry.js +37 -40
- 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 +53 -54
- package/dist/cjs/kol-table-stateless.cjs.entry.js +37 -40
- package/dist/cjs/kol-tabs.cjs.entry.js +23 -26
- package/dist/cjs/kol-textarea.cjs.entry.js +39 -42
- 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 +22 -26
- package/dist/cjs/kol-tree.cjs.entry.js +9 -10
- 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-BA98eiFj.js} +3 -3
- package/dist/cjs/{label-hints-q3XenWLW.js → label-hints-BE4LQ_Av.js} +1 -1
- package/dist/cjs/{label-lang-segment-k4OY9qRY.js → label-lang-segment-C5U5gEca.js} +2 -2
- package/dist/cjs/{label-with-expert-slot-CJoz7BLw.js → label-with-expert-slot-x1D8V34g.js} +3 -3
- package/dist/cjs/{level-B6vFMm9s.js → level-CX2p0n7U.js} +1 -1
- package/dist/cjs/{link-target-0qSVsAb2.js → link-target-B1N4Je6O.js} +1 -1
- package/dist/cjs/{links-Ur1e9DOK.js → links-SN0jipdB.js} +1 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{multiple-CCxtzqez.js → multiple-Dl_RoQ-P.js} +1 -1
- package/dist/cjs/{number-value-DzAHCwlP.js → number-value-DO-0brWb.js} +1 -1
- package/dist/cjs/{open-Gxr_K7HK.js → open-BQ2n_Z5t.js} +1 -1
- package/dist/cjs/{options-BT0m0gRT.js → options-B49Y2jkm.js} +1 -1
- package/dist/cjs/{orientation-CeHU4dT8.js → orientation-DKdQrdXN.js} +1 -1
- package/dist/cjs/{placeholder-22xUUFff.js → placeholder-E5zS-kqO.js} +1 -1
- package/dist/cjs/{props-from-config-D1qhXS9j.js → props-from-config-8bawgofo.js} +86 -5
- package/dist/cjs/{read-only-iHApMQEg.js → read-only-YsES5bfT.js} +1 -1
- package/dist/cjs/{required-BYdSI25I.js → required-BvWmptNq.js} +1 -1
- package/dist/cjs/{resolve-props-c-uwDulF.js → resolve-props-CHqmeYxD.js} +6 -6
- package/dist/cjs/{resolve-props-B7klWjLx.js → resolve-props-DUeggpV2.js} +7 -7
- package/dist/cjs/{rows-C9vBSQK1.js → rows-BBmwZt2C.js} +1 -1
- package/dist/cjs/{scroll-lock-daUQqmx_.js → scroll-lock-3znuNdTX.js} +8 -7
- package/dist/cjs/{smart-button-DRMmUyQ5.js → smart-button-B3OCsLLZ.js} +1 -1
- package/dist/cjs/{spell-check-CxgvHcGA.js → spell-check-DuFxddUB.js} +1 -1
- package/dist/cjs/{src-Bmd7gQCS.js → src-Cl2qHbxL.js} +1 -1
- package/dist/cjs/{step-CCqgsPCX.js → step-Bf3TCVBv.js} +1 -1
- package/dist/cjs/{suggestions-CoUp7HmN.js → suggestions-BjKRoku9.js} +1 -1
- package/dist/cjs/{suggestions-D3snLGL_.js → suggestions-C4B_eROV.js} +3 -3
- package/dist/cjs/test-component.cjs.entry.js +1 -1
- package/dist/cjs/{toggle-handler-B0xib7fH.js → toggle-handler-DEpykyv_.js} +11 -13
- package/dist/cjs/{unique-nav-labels-CgxOyb6V.js → unique-nav-labels-CNpNvloU.js} +1 -1
- package/dist/cjs/{unit-_oDj-vIB.js → unit-gLQjiSkI.js} +1 -1
- package/dist/cjs/{validators-CpCJvM4r.js → validators-DNveqLx4.js} +1 -1
- package/dist/cjs/{value-string-CKppMGVM.js → value-string-JMz269Bn.js} +1 -1
- package/dist/cjs/{width-e7f3wHF3.js → width-_6rleKWl.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 +23 -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 +23 -2
- package/dist/collection/components/drawer/style.css +23 -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/style.css +23 -2
- package/dist/collection/components/input-color/style.css +23 -2
- package/dist/collection/components/input-date/component.js +6 -6
- package/dist/collection/components/input-date/style.css +23 -2
- package/dist/collection/components/input-email/style.css +23 -2
- package/dist/collection/components/input-file/component.js +1 -1
- package/dist/collection/components/input-file/style.css +23 -2
- package/dist/collection/components/input-number/style.css +23 -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/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 +23 -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 +5 -2
- package/dist/collection/components/table-stateful/style.css +23 -2
- package/dist/collection/components/table-stateless/style.css +23 -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/style.css +21 -0
- 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/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 +22 -0
- package/dist/collection/utils/markdown.js +49 -3
- package/dist/components/Heading.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/controller.js +1 -1
- package/dist/components/devtools.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-GZb1f2pZ.js → Heading-DDS-lyOB.js} +2 -2
- package/dist/esm/{api-CBPlj155.js → api-MBSY9afi.js} +18 -20
- package/dist/esm/{app-globals-DRl9A82c.js → app-globals-DytcyM_s.js} +2 -2
- package/dist/esm/{base-BByRnpRm.js → base-D-me6QDT.js} +10 -10
- package/dist/esm/{base-C7BBsrYZ.js → base-D7-iAVBu.js} +35 -28
- package/dist/esm/{base-DO0KvOv9.js → base-DP9yHJOV.js} +10 -10
- package/dist/esm/{base-Dtxcvto_.js → base-DZBnXHZh.js} +10 -10
- package/dist/esm/{base-web-component-BxXLva5d.js → base-web-component-BLA2cpyz.js} +8 -10
- package/dist/esm/{base-web-component-CC_gpyDb.js → base-web-component-Bh2NCN7p.js} +1 -1
- package/dist/esm/{base-web-component-CfPyCJDJ.js → base-web-component-DwY54ppZ.js} +13 -14
- package/dist/esm/{behavior-CsNDRS2z.js → behavior-Cw8QfOcm.js} +4 -4
- package/dist/esm/{behavior-ewHvUWVk.js → behavior-DUy0X7U1.js} +4 -4
- package/dist/esm/{behavior-CKU2tmCj.js → behavior-DmR4WVXd.js} +4 -4
- package/dist/esm/{bem-registry-D1KgKnyz.js → bem-registry-SKACeCny.js} +22 -0
- package/dist/esm/{bootstrap-tgQ2nQQI.js → bootstrap-Bp7i4RJQ.js} +1 -1
- package/dist/esm/{color-D1gM-F2l.js → color-CnRQPMm_.js} +2 -2
- package/dist/esm/{component-By8ggItU.js → component-B4CDonzN.js} +6 -8
- package/dist/esm/{component-B3OziaRC.js → component-BC1TpQVD.js} +9 -11
- package/dist/esm/component-BUzgs8fh.js +48 -0
- package/dist/esm/{component-D4-NVnsT.js → component-Bldy_ShO.js} +4 -4
- package/dist/esm/component-Cj3P_f35.js +173 -0
- package/dist/esm/{component-D6_K50vT.js → component-D5yKRPCZ.js} +4 -4
- package/dist/esm/{component-D6lo0LzE.js → component-DisuGN16.js} +5 -6
- package/dist/esm/{component-6l69Jvwl.js → component-DxnezN7K.js} +6 -5
- package/dist/esm/component-LadkF9an.js +17 -0
- package/dist/esm/{component-CF8uFG0A.js → component-ZJiUl6kZ.js} +13 -15
- package/dist/esm/{component-Cmi6iGfA.js → component-vxdandl4.js} +10 -11
- package/dist/esm/{contrast-BNoQruBh.js → contrast-pfwNxK_L.js} +1 -1
- package/dist/esm/{dev.utils-BwYCy1rP.js → dev.utils-DM7Qhcet.js} +1 -1
- package/dist/esm/{devtools-CGP3Nzsw.js → devtools-CxUqjh1N.js} +2 -2
- package/dist/esm/{disabled-BZXlWAgK.js → disabled-C2DzYwwy.js} +1 -1
- package/dist/esm/{field-control-0TRmF7Ea.js → field-control-CQJgDAKK.js} +7 -7
- package/dist/esm/{group-DapkT_Yh.js → group-DCoICCiG.js} +5 -6
- package/dist/esm/{has-closer-DUB0QcS9.js → has-closer-x20C4xl3.js} +1 -1
- package/dist/esm/{href-CxokGOJ2.js → href-vIF4eC7d.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-lCAtMmMx.js} +1 -1
- package/dist/esm/{index-DEcM8BEc.js → index-8-BSSKQL.js} +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/{input-CDUCo1S5.js → input-C4yo-d7N.js} +4 -5
- package/dist/esm/{input-container-BipAkWn4.js → input-container-Cb2xJUCl.js} +6 -8
- package/dist/esm/{item-UgJ2uikD.js → item-BANfM_Mo.js} +17 -18
- package/dist/esm/{item-BvnZc8uV.js → item-C2HHBTvm.js} +4 -4
- package/dist/esm/{item-B0oQTeju.js → item-H09kNXn9.js} +4 -4
- package/dist/esm/{item-Boe3t0Dm.js → item-gvmzMXYb.js} +11 -11
- 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 +36 -39
- 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 +32 -35
- package/dist/esm/kol-input-color.entry.js +35 -38
- package/dist/esm/kol-input-date.entry.js +40 -44
- package/dist/esm/kol-input-email.entry.js +41 -44
- package/dist/esm/kol-input-file.entry.js +35 -38
- package/dist/esm/kol-input-number.entry.js +39 -42
- package/dist/esm/kol-input-password.entry.js +39 -42
- package/dist/esm/kol-input-radio.entry.js +34 -37
- package/dist/esm/kol-input-range.entry.js +35 -38
- package/dist/esm/kol-input-text.entry.js +41 -44
- 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 +41 -44
- 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 +34 -37
- package/dist/esm/kol-single-select.entry.js +36 -39
- 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 +53 -54
- package/dist/esm/kol-table-stateless.entry.js +37 -40
- package/dist/esm/kol-tabs.entry.js +22 -25
- package/dist/esm/kol-textarea.entry.js +37 -40
- 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 +22 -26
- package/dist/esm/kol-tree.entry.js +9 -10
- package/dist/esm/kol-version.entry.js +20 -23
- package/dist/esm/kolibri.js +4 -4
- package/dist/esm/{label-hints-CLMiVvfk.js → label-hints-BUADjqKF.js} +1 -1
- package/dist/esm/{label-lang-segment-iVD9hoM3.js → label-lang-segment-B13iL7iy.js} +2 -2
- package/dist/esm/{label-B-Dr7VaP.js → label-mr5joqaQ.js} +3 -3
- package/dist/esm/label-with-expert-slot-BVqi0_Fb.js +12 -0
- package/dist/esm/{level-DsQ_pcyD.js → level-eGeMFn0b.js} +1 -1
- package/dist/esm/{link-target-D7lYILOV.js → link-target-DEH-wAmf.js} +1 -1
- package/dist/esm/{links-IkK4zoXw.js → links-Dy9WkOJ-.js} +1 -1
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{multiple--ay1C1n3.js → multiple-F8uOX8RD.js} +1 -1
- package/dist/esm/{number-value-Dl9-2O4r.js → number-value-DncK2_pC.js} +1 -1
- package/dist/esm/{open-CNHJhHsy.js → open-DoPXNruj.js} +1 -1
- package/dist/esm/{options-DwO32GBF.js → options-DcIQ-KB2.js} +1 -1
- package/dist/esm/{orientation-ChJ0S24M.js → orientation-tX0FldEu.js} +1 -1
- package/dist/esm/{placeholder-UxmBJ4Vl.js → placeholder-BPZ2sQEB.js} +1 -1
- package/dist/esm/{props-from-config-ytxYrJUY.js → props-from-config-LBgEHmcL.js} +84 -6
- package/dist/esm/{read-only-DytZ5HZJ.js → read-only-9BPUG7r4.js} +1 -1
- package/dist/esm/{required-BriHhuO4.js → required-DBJ4iW2e.js} +1 -1
- package/dist/esm/{resolve-props-DTXKtzir.js → resolve-props-0xfjG6h5.js} +6 -6
- package/dist/esm/{resolve-props-kM9N-fzf.js → resolve-props-BQa6SjZU.js} +7 -7
- package/dist/esm/{rows-I1jrTjzU.js → rows-DuYJeJT7.js} +1 -1
- package/dist/esm/{scroll-lock-Bv-U2FHM.js → scroll-lock-CIv7iOPB.js} +9 -7
- package/dist/esm/{smart-button-DM5g48-g.js → smart-button-p4avK7MS.js} +1 -1
- package/dist/esm/{spell-check-BWCnJG5v.js → spell-check-Bvc-Peew.js} +1 -1
- package/dist/esm/{src-ziOwSglN.js → src-CVwlo_cY.js} +1 -1
- package/dist/esm/{step-BcyhvRtu.js → step-oCposIuI.js} +1 -1
- package/dist/esm/{suggestions-LO267l8F.js → suggestions-BsWy2U2z.js} +1 -1
- package/dist/esm/{suggestions-D0u80DtA.js → suggestions-fWMdnACm.js} +3 -3
- package/dist/esm/test-component.entry.js +1 -1
- package/dist/esm/{toggle-handler-mPlmvrq7.js → toggle-handler-CtJ2Z7Us.js} +10 -12
- package/dist/esm/{unique-nav-labels-CxFUYSVY.js → unique-nav-labels-CZIyOzqJ.js} +1 -1
- package/dist/esm/{unit-1ix-K9SD.js → unit-YqluIXsF.js} +1 -1
- package/dist/esm/{validators-CTjxOidB.js → validators-ByUMEUYD.js} +1 -1
- package/dist/esm/{value-string-CxDz7dhD.js → value-string-Baqhc_TX.js} +1 -1
- package/dist/esm/{width-C1_yZHyL.js → width-BJNhiv_8.js} +1 -1
- package/dist/kolibri/Heading-DDS-lyOB.js +4 -0
- package/dist/kolibri/api-MBSY9afi.js +4 -0
- package/dist/kolibri/{app-globals-DRl9A82c.js → app-globals-DytcyM_s.js} +1 -1
- 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-DZBnXHZh.js +4 -0
- package/dist/kolibri/base-web-component-BLA2cpyz.js +4 -0
- package/dist/kolibri/{base-web-component-CC_gpyDb.js → base-web-component-Bh2NCN7p.js} +1 -1
- package/dist/kolibri/base-web-component-DwY54ppZ.js +4 -0
- package/dist/kolibri/{behavior-CsNDRS2z.js → behavior-Cw8QfOcm.js} +1 -1
- package/dist/kolibri/{behavior-ewHvUWVk.js → behavior-DUy0X7U1.js} +1 -1
- package/dist/kolibri/{behavior-CKU2tmCj.js → behavior-DmR4WVXd.js} +1 -1
- 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-CnRQPMm_.js} +1 -1
- package/dist/kolibri/{component-By8ggItU.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-DisuGN16.js +4 -0
- 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-BNoQruBh.js → contrast-pfwNxK_L.js} +1 -1
- package/dist/kolibri/{dev.utils-BwYCy1rP.js → dev.utils-DM7Qhcet.js} +1 -1
- package/dist/kolibri/{devtools-CGP3Nzsw.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-DCoICCiG.js +4 -0
- package/dist/kolibri/has-closer-x20C4xl3.js +4 -0
- package/dist/kolibri/href-vIF4eC7d.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-lCAtMmMx.js +4 -0
- package/dist/kolibri/{index-DEcM8BEc.js → index-8-BSSKQL.js} +1 -1
- package/dist/kolibri/index.esm.js +1 -1
- package/dist/kolibri/input-C4yo-d7N.js +4 -0
- package/dist/kolibri/input-container-Cb2xJUCl.js +4 -0
- package/dist/kolibri/item-BANfM_Mo.js +4 -0
- 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-BUADjqKF.js +4 -0
- 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-IkK4zoXw.js → links-Dy9WkOJ-.js} +1 -1
- package/dist/kolibri/multiple-F8uOX8RD.js +4 -0
- package/dist/kolibri/number-value-DncK2_pC.js +4 -0
- package/dist/kolibri/open-DoPXNruj.js +4 -0
- package/dist/kolibri/{options-DwO32GBF.js → options-DcIQ-KB2.js} +1 -1
- package/dist/kolibri/orientation-tX0FldEu.js +4 -0
- package/dist/kolibri/placeholder-BPZ2sQEB.js +4 -0
- package/dist/kolibri/props-from-config-LBgEHmcL.js +4 -0
- 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-CIv7iOPB.js +4 -0
- package/dist/kolibri/{smart-button-DM5g48-g.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-LO267l8F.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-C1_yZHyL.js → width-BJNhiv_8.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.d.ts +2 -2
- 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/pagination/item.d.ts +4 -2
- package/dist/types/schema/bem-registry.d.ts +40 -0
- package/doc/pagination.md +13 -13
- package/package.json +11 -8
- package/vscode-custom-data.json +1 -1
- package/dist/cjs/block-bem-BVBM34Tu.js +0 -18
- package/dist/cjs/clsx-Bm_HQUnh.js +0 -54
- package/dist/cjs/component-C9B-yJ93.js +0 -9300
- package/dist/cjs/component-CVLJJvvd.js +0 -53
- package/dist/cjs/component-DNQW0lG8.js +0 -18
- package/dist/cjs/component-DfGgpwuP.js +0 -20
- package/dist/cjs/input-CtqTozTO.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-D3ixJyOY.js +0 -16
- package/dist/esm/clsx-COFh-Vc8.js +0 -52
- package/dist/esm/component-Ccv2lqNq.js +0 -16
- package/dist/esm/component-D9NreIlK.js +0 -9295
- package/dist/esm/component-DAk3R8NN.js +0 -48
- package/dist/esm/component-EDDTMC-J.js +0 -18
- package/dist/esm/label-with-expert-slot-BbZ9nx0l.js +0 -12
- package/dist/kolibri/Heading-GZb1f2pZ.js +0 -4
- package/dist/kolibri/api-CBPlj155.js +0 -4
- package/dist/kolibri/base-BByRnpRm.js +0 -4
- package/dist/kolibri/base-C7BBsrYZ.js +0 -4
- package/dist/kolibri/base-DO0KvOv9.js +0 -4
- package/dist/kolibri/base-Dtxcvto_.js +0 -4
- package/dist/kolibri/base-web-component-BxXLva5d.js +0 -4
- package/dist/kolibri/base-web-component-CfPyCJDJ.js +0 -4
- package/dist/kolibri/bem-registry-D1KgKnyz.js +0 -4
- package/dist/kolibri/block-bem-D3ixJyOY.js +0 -4
- package/dist/kolibri/clsx-COFh-Vc8.js +0 -4
- package/dist/kolibri/component-6l69Jvwl.js +0 -4
- package/dist/kolibri/component-B3OziaRC.js +0 -4
- package/dist/kolibri/component-CF8uFG0A.js +0 -4
- package/dist/kolibri/component-Ccv2lqNq.js +0 -4
- package/dist/kolibri/component-Cmi6iGfA.js +0 -4
- package/dist/kolibri/component-D4-NVnsT.js +0 -4
- package/dist/kolibri/component-D6_K50vT.js +0 -4
- package/dist/kolibri/component-D6lo0LzE.js +0 -4
- package/dist/kolibri/component-D9NreIlK.js +0 -4
- package/dist/kolibri/component-DAk3R8NN.js +0 -4
- package/dist/kolibri/component-EDDTMC-J.js +0 -4
- package/dist/kolibri/disabled-BZXlWAgK.js +0 -4
- package/dist/kolibri/field-control-0TRmF7Ea.js +0 -4
- package/dist/kolibri/group-DapkT_Yh.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/input-CDUCo1S5.js +0 -4
- package/dist/kolibri/input-container-BipAkWn4.js +0 -4
- package/dist/kolibri/item-B0oQTeju.js +0 -4
- package/dist/kolibri/item-Boe3t0Dm.js +0 -4
- package/dist/kolibri/item-BvnZc8uV.js +0 -4
- package/dist/kolibri/item-UgJ2uikD.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-DTXKtzir.js +0 -4
- package/dist/kolibri/resolve-props-kM9N-fzf.js +0 -4
- package/dist/kolibri/rows-I1jrTjzU.js +0 -4
- package/dist/kolibri/scroll-lock-Bv-U2FHM.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/suggestions-D0u80DtA.js +0 -4
- package/dist/kolibri/toggle-handler-mPlmvrq7.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
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{r as o,h as t,H as e,g as i}from"./index-DEcM8BEc.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{v as a}from"./access-and-short-key-ijzCZfHm.js";import{n as l}from"./dev.utils-BwYCy1rP.js";import{d as r}from"./element-interaction-sGYdEpmv.js";import{B as s}from"./base-DO0KvOv9.js";import"./common-BdSzSIXg.js";import"./element-focus-BIRmGg5W.js";import"./base-web-component-CC_gpyDb.js";import"./props-from-config-ytxYrJUY.js";import"./component-CF8uFG0A.js";import"./i18n-ePBcLlCr.js";import"./i18n-4J6U3ZDc.js";import"./component-D4-NVnsT.js";import"./validators-CTjxOidB.js";import"./component-D6_K50vT.js";import"./bem-registry-D1KgKnyz.js";import"./component-D9NreIlK.js";import"./clsx-COFh-Vc8.js";import"./component-EDDTMC-J.js";import"./component-Ccv2lqNq.js";import"./block-bem-D3ixJyOY.js";import"./disabled-BZXlWAgK.js";import"./href-CxokGOJ2.js";import"./label-with-expert-slot-BbZ9nx0l.js";import"./label-hints-CLMiVvfk.js";import"./link-target-D7lYILOV.js";import"./behavior-CKU2tmCj.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./id-BI0ZuK17.js";import"./label-lang-segment-iVD9hoM3.js";import"./events-CRHxtwup.js";import"./ariaCurrentService-YoLNpD5S.js";const c=class extends s{constructor(t){super(...arguments),new.target===c&&o(this,t),this.ariaCurrent="",this.ariaDescriptionId=l(),this.expertSlot=!1,this._accessKey=void 0,this._ariaCurrentValue=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._disabled=!1,this._download=void 0,this._hideLabel=!1,this._icons=void 0,this._inline=!0,this._label=void 0,this._on=void 0,this._shortKey=void 0,this._target=void 0,this._tooltipAlign="right",this._variant=void 0}watchAccessKey(o){this.applyAccessKey(o)}watchAriaCurrentValue(o){this.applyAriaCurrentValue(o)}watchAriaControls(o){this.applyAriaControls(o)}watchAriaDescription(o){this.applyAriaDescription(o)}watchAriaExpanded(o){this.applyAriaExpanded(o)}watchDisabled(o){this.applyDisabled(o)}watchDownload(o){this.applyDownload(o)}watchHideLabel(o){this.applyHideLabel(o)}watchHref(o){this.applyHref(o)}watchIcons(o){this.applyIcons(o)}watchInline(o){this.applyInline(o)}watchLabel(o){this.applyLabel(o)}watchOn(o){this.applyOn(o)}watchShortKey(o){this.applyShortKey(o)}watchTarget(o){this.applyTarget(o)}watchTooltipAlign(o){this.applyTooltipAlign(o)}watchVariant(o){this.applyVariant(o)}focus(o){return Promise.resolve()}componentWillLoad(){this.unsetLinkTabIndex(),this.watchAccessKey(this._accessKey),this.watchAriaControls(this._ariaControls),this.watchAriaCurrentValue(this._ariaCurrentValue),this.watchAriaDescription(this._ariaDescription),this.watchAriaExpanded(this._ariaExpanded),this.watchDisabled(this._disabled),this.watchDownload(this._download),this.watchHideLabel(this._hideLabel),this.watchHref(this._href),this.watchIcons(this._icons),this.watchInline(this._inline),this.watchLabel(this._label),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchTarget(this._target),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),a(this._accessKey,this._shortKey),this.initLinkBehaviors()}componentDidRender(){this.syncTooltipListeners()}disconnectedCallback(){this.destroyLinkBehaviors()}render(){return t(e,{key:"91a1c3ee010fbdc62cb08be0d29e33734a8aa4ad"},this.renderLinkFC())}get host(){return i(this)}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaCurrentValue:[{watchAriaCurrentValue:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_disabled:[{watchDisabled:0}],_download:[{watchDownload:0}],_hideLabel:[{watchHideLabel:0}],_href:[{watchHref:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_on:[{watchOn:0}],_shortKey:[{watchShortKey:0}],_target:[{watchTarget:0}],_tooltipAlign:[{watchTooltipAlign:0}],_variant:[{watchVariant:0}]}}};n([r("ctaRef")],c.prototype,"focus",null),c.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794913000943"); src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-link { display: inline-flex; max-width: fit-content; } .kol-link--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-link--standalone .kol-link__interactive-element { align-items: stretch; } .kol-link--standalone .kol-link__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-link__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-link__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-link__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-link .kol-span__label { text-decoration-line: underline; } .kol-link__icon { display: inline-flex; } }'};export{c as kol_link}
|
|
4
|
+
import{r as o,h as e,H as t,g as i}from"./index-8-BSSKQL.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{v as a}from"./access-and-short-key-ijzCZfHm.js";import{n as l}from"./dev.utils-DM7Qhcet.js";import{d as r}from"./element-interaction-sGYdEpmv.js";import{B as s}from"./base-DP9yHJOV.js";import"./common-BdSzSIXg.js";import"./element-focus-BIRmGg5W.js";import"./base-web-component-Bh2NCN7p.js";import"./props-from-config-LBgEHmcL.js";import"./bem-registry-SKACeCny.js";import"./component-ZJiUl6kZ.js";import"./i18n-BLkzMf6D.js";import"./i18n-BRgvVqCf.js";import"./component-Bldy_ShO.js";import"./validators-ByUMEUYD.js";import"./component-D5yKRPCZ.js";import"./component-Cj3P_f35.js";import"./component-LadkF9an.js";import"./disabled-C2DzYwwy.js";import"./href-vIF4eC7d.js";import"./label-with-expert-slot-BVqi0_Fb.js";import"./label-hints-BUADjqKF.js";import"./link-target-DEH-wAmf.js";import"./behavior-DmR4WVXd.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./id-lCAtMmMx.js";import"./label-lang-segment-B13iL7iy.js";import"./events-CRHxtwup.js";import"./ariaCurrentService-YoLNpD5S.js";const c=class extends s{constructor(e){super(...arguments),new.target===c&&o(this,e),this.ariaCurrent="",this.ariaDescriptionId=l(),this.expertSlot=!1,this._accessKey=void 0,this._ariaCurrentValue=void 0,this._ariaControls=void 0,this._ariaDescription=void 0,this._ariaExpanded=void 0,this._disabled=!1,this._download=void 0,this._hideLabel=!1,this._icons=void 0,this._inline=!0,this._label=void 0,this._on=void 0,this._shortKey=void 0,this._target=void 0,this._tooltipAlign="right",this._variant=void 0}watchAccessKey(o){this.applyAccessKey(o)}watchAriaCurrentValue(o){this.applyAriaCurrentValue(o)}watchAriaControls(o){this.applyAriaControls(o)}watchAriaDescription(o){this.applyAriaDescription(o)}watchAriaExpanded(o){this.applyAriaExpanded(o)}watchDisabled(o){this.applyDisabled(o)}watchDownload(o){this.applyDownload(o)}watchHideLabel(o){this.applyHideLabel(o)}watchHref(o){this.applyHref(o)}watchIcons(o){this.applyIcons(o)}watchInline(o){this.applyInline(o)}watchLabel(o){this.applyLabel(o)}watchOn(o){this.applyOn(o)}watchShortKey(o){this.applyShortKey(o)}watchTarget(o){this.applyTarget(o)}watchTooltipAlign(o){this.applyTooltipAlign(o)}watchVariant(o){this.applyVariant(o)}focus(o){return Promise.resolve()}componentWillLoad(){this.unsetLinkTabIndex(),this.watchAccessKey(this._accessKey),this.watchAriaControls(this._ariaControls),this.watchAriaCurrentValue(this._ariaCurrentValue),this.watchAriaDescription(this._ariaDescription),this.watchAriaExpanded(this._ariaExpanded),this.watchDisabled(this._disabled),this.watchDownload(this._download),this.watchHideLabel(this._hideLabel),this.watchHref(this._href),this.watchIcons(this._icons),this.watchInline(this._inline),this.watchLabel(this._label),this.watchOn(this._on),this.watchShortKey(this._shortKey),this.watchTarget(this._target),this.watchTooltipAlign(this._tooltipAlign),this.watchVariant(this._variant),a(this._accessKey,this._shortKey),this.initLinkBehaviors()}componentDidRender(){this.syncTooltipListeners()}disconnectedCallback(){this.destroyLinkBehaviors()}render(){return e(t,{key:"91a1c3ee010fbdc62cb08be0d29e33734a8aa4ad"},this.renderLinkFC())}get host(){return i(this)}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaCurrentValue:[{watchAriaCurrentValue:0}],_ariaControls:[{watchAriaControls:0}],_ariaDescription:[{watchAriaDescription:0}],_ariaExpanded:[{watchAriaExpanded:0}],_disabled:[{watchDisabled:0}],_download:[{watchDownload:0}],_hideLabel:[{watchHideLabel:0}],_href:[{watchHref:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_on:[{watchOn:0}],_shortKey:[{watchShortKey:0}],_target:[{watchTarget:0}],_tooltipAlign:[{watchTooltipAlign:0}],_variant:[{watchVariant:0}]}}};n([r("ctaRef")],c.prototype,"focus",null),c.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-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-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-link { display: inline-flex; max-width: fit-content; } .kol-link--standalone { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: stretch; } .kol-link--standalone .kol-link__interactive-element { align-items: stretch; } .kol-link--standalone .kol-link__text { display: inline-flex; flex: 1 1 100%; place-items: center; } .kol-link__interactive-element { display: inline-flex; flex: 1; align-items: baseline; place-items: center; text-align: left; text-decoration-line: none; } .kol-link__interactive-element:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-link__interactive-element:hover:not([aria-disabled], [disabled]) .kol-span__label { text-decoration-thickness: 0.2em; } .kol-link .kol-span__label { text-decoration-line: underline; } .kol-link__icon { display: inline-flex; } }'};export{c as kol_link}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as t,r as e,H as o}from"./index-DEcM8BEc.js";import{B as i}from"./base-web-component-CC_gpyDb.js";import"./common-BdSzSIXg.js";import{c as a,A as l,D as r,t as n}from"./props-from-config-ytxYrJUY.js";import{l as s}from"./label-lang-segment-iVD9hoM3.js";import{m,u as c}from"./unit-1ix-K9SD.js";import{o as h}from"./orientation-ChJ0S24M.js";import{t as d}from"./i18n-ePBcLlCr.js";import{b}from"./bem-registry-D1KgKnyz.js";import{r as u}from"./component-D9NreIlK.js";import"./label-hints-CLMiVvfk.js";import"./i18n-4J6U3ZDc.js";import"./tslib.es6-QNbPBOk5.js";import"./clsx-COFh-Vc8.js";import"./component-EDDTMC-J.js";const k=a("high",0,l),p=a("low",0,l),g=a("min",0,l),v=a("optimum",0,l),_={optional:[k,p,g,v,h,c],required:[r,s,m]},f=b.forBlock("kol-meter"),w=e=>{const{high:o,label:i,low:a,max:l,min:r,optimum:s,orientation:m,unit:c,value:h}=e,b=null!=h,k="vertical"===m,p="%"===c,g=b?p?l===r?0:Math.round((h-r)/(l-r)*100):h:"",v=function(t,e,o,i,a,l){const r=null!=i?i:e,n=null!=a?a:o,s=null!=l?l:(e+o)/2,m=t<r,c=t>n,h=!m&&!c;return s<r?m?"optimum":h?"suboptimal":"critical":s>n?c?"optimum":h?"suboptimal":"critical":h?"optimum":"suboptimal"}(b?h:r,r,l,a,o,s),_=void 0!==a||void 0!==o;let w="";_&&(w=d("critical"===v?"kol-meter-state-critical":"optimum"===v?"kol-meter-state-optimum":"kol-meter-state-suboptimal"));const x=b?p?d("kol-live-value",{placeholders:{value:String(g),unit:c}}):d("kol-live-value-bounded",{placeholders:{value:String(g),max:String(l),unit:c}}):"",y=_?`${x} – ${w}`:x,z=l.toString().length>r.toString().length?l.toString().length+"ch":r.toString().length+"ch";return t("div",{class:f({vertical:k})},t("div",{class:f("bar")},t("div",{class:f("bar-label")},u(i),_&&t("span",{class:f("bar-state",{[v]:!0})}," – ",w)),t("div",{class:f("bar-track")},t("meter",{"aria-label":n(i),"aria-valuetext":y||void 0,high:o,low:a,max:l,min:r,optimum:s,value:b?h:void 0})),t("span",{class:f("value-unit")},t("span",{class:f("value"),style:{"min-width":z}},g),t("span",{class:f("unit")},c))))},x=class extends i{constructor(t){super(...arguments),new.target===x&&e(this,t),this.propsConfig=_,this._high=void 0,this._low=void 0,this._max=1,this._min=0,this._optimum=void 0,this._orientation="horizontal",this._unit="%"}watchHigh(t){void 0===t?this.unsetRenderProp("high"):k.apply(t,(t=>this.setRenderProp("high",t)))}watchLabel(t){s.apply(t,(t=>this.setRenderProp("label",t)),this.isRequired("label"))}watchLow(t){void 0===t?this.unsetRenderProp("low"):p.apply(t,(t=>this.setRenderProp("low",t)))}watchMax(t){m.apply(t,(t=>{this.setRenderProp("max",t),this.watchValue(this.getRawProp("value"))}))}watchMin(t){g.apply(t,(t=>{this.setRenderProp("min",t),this.watchValue(this.getRawProp("value"))}))}watchOptimum(t){void 0===t?this.unsetRenderProp("optimum"):v.apply(t,(t=>this.setRenderProp("optimum",t)))}watchOrientation(t){h.apply(t,(t=>this.setRenderProp("orientation",t)))}watchUnit(t){c.apply(t,(t=>this.setRenderProp("unit",t)))}watchValue(t){this.setRawProp("value",t),r.apply(t,(t=>{this.setRenderProp("value",t)}),{min:this.getRenderProp("min"),max:this.getRenderProp("max")})}componentWillLoad(){this.watchHigh(this._high),s.apply(this._label,(t=>this.setRenderProp("label",t)),this.isRequired("label")),this.watchLow(this._low),m.apply(this._max,(t=>{this.setRenderProp("max",t),this.watchValue(this.getRawProp("value"))})),g.apply(this._min,(t=>{this.setRenderProp("min",t),this.watchValue(this.getRawProp("value"))})),this.watchOptimum(this._optimum),h.apply(this._orientation,(t=>this.setRenderProp("orientation",t))),c.apply(this._unit,(t=>this.setRenderProp("unit",t))),this.watchValue(this._value)}render(){return t(o,{key:"af6db6e2a3fc3bb34ceb903276c17768ab7b615d"},t(w,{key:"219ba24361c2a573de1bf039c92193fb8813e9a4",high:this.getRenderProp("high"),label:this.getRenderProp("label"),low:this.getRenderProp("low"),max:this.getRenderProp("max"),min:this.getRenderProp("min"),optimum:this.getRenderProp("optimum"),orientation:this.getRenderProp("orientation"),unit:this.getRenderProp("unit"),value:this.getRenderProp("value")}))}static get watchers(){return{_high:[{watchHigh:0}],_label:[{watchLabel:0}],_low:[{watchLow:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_optimum:[{watchOptimum:0}],_orientation:[{watchOrientation:0}],_unit:[{watchUnit:0}],_value:[{watchValue:0}]}}};x.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-meter { --color-optimal: var(--kol-meter-color-optimal, #2ea32e); --color-suboptimal: var(--kol-meter-color-suboptimal, #c8a000); --color-critical: var(--kol-meter-color-critical, #c00); --vertical-height: var(--kol-meter-vertical-height, 128); --horizontal-height: var(--kol-meter-horizontal-height, 12); } .kol-meter__bar { display: grid; align-items: center; grid-template-areas: "label label" "bar value"; grid-template-columns: 1fr auto; } .kol-meter__bar-label { grid-column-end: 2; grid-area: label; } .kol-meter__bar-track { display: flex; min-width: 100%; grid-area: bar; } .kol-meter__value-unit { grid-area: value; } .kol-meter:not(.kol-meter--vertical) .kol-meter__value { display: inline-block; text-align: right; } .kol-meter--vertical { min-height: 100%; } .kol-meter--vertical .kol-meter__bar { min-height: 100%; align-items: end; justify-items: center; grid-template-areas: "label" "bar" "value"; grid-template-columns: 1fr; grid-template-rows: min-content 1fr min-content; } .kol-meter--vertical .kol-meter__bar-label { text-align: center; } .kol-meter--vertical .kol-meter__bar-track { position: relative; min-width: 0; min-height: calc(var(--vertical-height) * 1rem / var(--kolibri-root-font-size, 16)); align-items: center; } .kol-meter--vertical .kol-meter__bar meter { transform: rotate(-90deg); transform-origin: left bottom; position: absolute; bottom: 0; width: calc(var(--vertical-height) * 1rem / var(--kolibri-root-font-size, 16)); } .kol-meter { } .kol-meter meter { width: 100%; height: calc(var(--horizontal-height) * 1rem / var(--kolibri-root-font-size, 16)); -webkit-appearance: none; -moz-appearance: none; appearance: none; } .kol-meter { } .kol-meter meter::-webkit-meter-bar { background: white; height: calc(var(--horizontal-height) * 1rem / var(--kolibri-root-font-size, 16)); border: 1px solid black; } .kol-meter meter::-webkit-meter-optimum-value { background: var(--color-optimal); } .kol-meter meter::-webkit-meter-suboptimum-value { background: var(--color-suboptimal); } .kol-meter meter::-webkit-meter-even-less-good-value { background: var(--color-critical); } .kol-meter { } @supports (selector(::-moz-meter-bar)) { .kol-meter meter { background: white; border: 1px solid black; } } .kol-meter meter::-moz-meter-bar { background: var(--color-optimal); } .kol-meter meter:-moz-meter-sub-optimum::-moz-meter-bar { background: var(--color-suboptimal); } .kol-meter meter:-moz-meter-sub-sub-optimum::-moz-meter-bar { background: var(--color-critical); } }'};export{x as kol_meter}
|
|
4
|
+
import{h as e,r as t,H as o}from"./index-8-BSSKQL.js";import{B as i}from"./base-web-component-Bh2NCN7p.js";import"./common-BdSzSIXg.js";import{c as a,D as r,G as l,t as n,B as s}from"./props-from-config-LBgEHmcL.js";import{l as m}from"./label-lang-segment-B13iL7iy.js";import{m as c,u as h}from"./unit-YqluIXsF.js";import{o as d}from"./orientation-tX0FldEu.js";import{t as b}from"./i18n-BLkzMf6D.js";import{b as u}from"./bem-registry-SKACeCny.js";import{r as k}from"./component-Cj3P_f35.js";import"./label-hints-BUADjqKF.js";import"./i18n-BRgvVqCf.js";import"./tslib.es6-QNbPBOk5.js";import"./component-LadkF9an.js";const p=a("high",0,r),g=a("low",0,r),v=a("min",0,r),f=a("optimum",0,r),_={optional:[p,g,v,f,d,h],required:[l,m,c]},w=u.forBlock("kol-meter"),x=t=>{const{high:o,label:i,low:a,max:r,min:l,optimum:m,orientation:c,unit:h,value:d}=t,u=null!=d,p="vertical"===c,g="%"===h,v=u?g?r===l?0:Math.round((d-l)/(r-l)*100):d:"",f=function(e,t,o,i,a,r){const l=null!=i?i:t,n=null!=a?a:o,s=null!=r?r:(t+o)/2,m=e<l,c=e>n,h=!m&&!c;return s<l?m?"optimum":h?"suboptimal":"critical":s>n?c?"optimum":h?"suboptimal":"critical":h?"optimum":"suboptimal"}(u?d:l,l,r,a,o,m),_=void 0!==a||void 0!==o;let x="";_&&(x=b("critical"===f?"kol-meter-state-critical":"optimum"===f?"kol-meter-state-optimum":"kol-meter-state-suboptimal"));const y=u?g?b("kol-live-value",{placeholders:{value:String(v),unit:h}}):b("kol-live-value-bounded",{placeholders:{value:String(v),max:String(r),unit:h}}):"",z=_?`${y} – ${x}`:y,j=r.toString().length>l.toString().length?r.toString().length+"ch":l.toString().length+"ch";return e(s,{block:"kol-meter",modifiers:{vertical:p}},e("div",{class:w("bar")},e("div",{class:w("bar-label")},k(i),_&&e("span",{class:w("bar-state",{[f]:!0})}," – ",x)),e("div",{class:w("bar-track")},e("meter",{"aria-label":n(i),"aria-valuetext":z||void 0,high:o,low:a,max:r,min:l,optimum:m,value:u?d:void 0})),e("span",{class:w("value-unit")},e("span",{class:w("value"),style:{"min-width":j}},v),e("span",{class:w("unit")},h))))},y=class extends i{constructor(e){super(...arguments),new.target===y&&t(this,e),this.propsConfig=_,this._high=void 0,this._low=void 0,this._max=1,this._min=0,this._optimum=void 0,this._orientation="horizontal",this._unit="%"}watchHigh(e){void 0===e?this.unsetRenderProp("high"):p.apply(e,(e=>this.setRenderProp("high",e)))}watchLabel(e){m.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label"))}watchLow(e){void 0===e?this.unsetRenderProp("low"):g.apply(e,(e=>this.setRenderProp("low",e)))}watchMax(e){c.apply(e,(e=>{this.setRenderProp("max",e),this.watchValue(this.getRawProp("value"))}))}watchMin(e){v.apply(e,(e=>{this.setRenderProp("min",e),this.watchValue(this.getRawProp("value"))}))}watchOptimum(e){void 0===e?this.unsetRenderProp("optimum"):f.apply(e,(e=>this.setRenderProp("optimum",e)))}watchOrientation(e){d.apply(e,(e=>this.setRenderProp("orientation",e)))}watchUnit(e){h.apply(e,(e=>this.setRenderProp("unit",e)))}watchValue(e){this.setRawProp("value",e),l.apply(e,(e=>{this.setRenderProp("value",e)}),{min:this.getRenderProp("min"),max:this.getRenderProp("max")})}componentWillLoad(){this.watchHigh(this._high),m.apply(this._label,(e=>this.setRenderProp("label",e)),this.isRequired("label")),this.watchLow(this._low),c.apply(this._max,(e=>{this.setRenderProp("max",e),this.watchValue(this.getRawProp("value"))})),v.apply(this._min,(e=>{this.setRenderProp("min",e),this.watchValue(this.getRawProp("value"))})),this.watchOptimum(this._optimum),d.apply(this._orientation,(e=>this.setRenderProp("orientation",e))),h.apply(this._unit,(e=>this.setRenderProp("unit",e))),this.watchValue(this._value)}render(){return e(o,{key:"af6db6e2a3fc3bb34ceb903276c17768ab7b615d"},e(x,{key:"219ba24361c2a573de1bf039c92193fb8813e9a4",high:this.getRenderProp("high"),label:this.getRenderProp("label"),low:this.getRenderProp("low"),max:this.getRenderProp("max"),min:this.getRenderProp("min"),optimum:this.getRenderProp("optimum"),orientation:this.getRenderProp("orientation"),unit:this.getRenderProp("unit"),value:this.getRenderProp("value")}))}static get watchers(){return{_high:[{watchHigh:0}],_label:[{watchLabel:0}],_low:[{watchLow:0}],_max:[{watchMax:0}],_min:[{watchMin:0}],_optimum:[{watchOptimum:0}],_orientation:[{watchOrientation:0}],_unit:[{watchUnit:0}],_value:[{watchValue:0}]}}};y.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-meter { --color-optimal: var(--kol-meter-color-optimal, #2ea32e); --color-suboptimal: var(--kol-meter-color-suboptimal, #c8a000); --color-critical: var(--kol-meter-color-critical, #c00); --vertical-height: var(--kol-meter-vertical-height, 128); --horizontal-height: var(--kol-meter-horizontal-height, 12); } .kol-meter__bar { display: grid; align-items: center; grid-template-areas: "label label" "bar value"; grid-template-columns: 1fr auto; } .kol-meter__bar-label { grid-column-end: 2; grid-area: label; } .kol-meter__bar-track { display: flex; min-width: 100%; grid-area: bar; } .kol-meter__value-unit { grid-area: value; } .kol-meter:not(.kol-meter--vertical) .kol-meter__value { display: inline-block; text-align: right; } .kol-meter--vertical { min-height: 100%; } .kol-meter--vertical .kol-meter__bar { min-height: 100%; align-items: end; justify-items: center; grid-template-areas: "label" "bar" "value"; grid-template-columns: 1fr; grid-template-rows: min-content 1fr min-content; } .kol-meter--vertical .kol-meter__bar-label { text-align: center; } .kol-meter--vertical .kol-meter__bar-track { position: relative; min-width: 0; min-height: calc(var(--vertical-height) * 1rem / var(--kolibri-root-font-size, 16)); align-items: center; } .kol-meter--vertical .kol-meter__bar meter { transform: rotate(-90deg); transform-origin: left bottom; position: absolute; bottom: 0; width: calc(var(--vertical-height) * 1rem / var(--kolibri-root-font-size, 16)); } .kol-meter { } .kol-meter meter { width: 100%; height: calc(var(--horizontal-height) * 1rem / var(--kolibri-root-font-size, 16)); -webkit-appearance: none; -moz-appearance: none; appearance: none; } .kol-meter { } .kol-meter meter::-webkit-meter-bar { background: white; height: calc(var(--horizontal-height) * 1rem / var(--kolibri-root-font-size, 16)); border: 1px solid black; } .kol-meter meter::-webkit-meter-optimum-value { background: var(--color-optimal); } .kol-meter meter::-webkit-meter-suboptimum-value { background: var(--color-suboptimal); } .kol-meter meter::-webkit-meter-even-less-good-value { background: var(--color-critical); } .kol-meter { } @supports (selector(::-moz-meter-bar)) { .kol-meter meter { background: white; border: 1px solid black; } } .kol-meter meter::-moz-meter-bar { background: var(--color-optimal); } .kol-meter meter:-moz-meter-sub-optimum::-moz-meter-bar { background: var(--color-suboptimal); } .kol-meter meter:-moz-meter-sub-sub-optimum::-moz-meter-bar { background: var(--color-critical); } }'};export{y as kol_meter}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{r as o,h as e,H as t,g as i}from"./index-DEcM8BEc.js";import{n,c as l}from"./dev.utils-BwYCy1rP.js";import{B as r}from"./base-Dtxcvto_.js";import"./common-BdSzSIXg.js";import"./base-web-component-CC_gpyDb.js";import"./props-from-config-ytxYrJUY.js";import"./component-DAk3R8NN.js";import"./i18n-ePBcLlCr.js";import"./i18n-4J6U3ZDc.js";import"./resolve-props-DTXKtzir.js";import"./component-D4-NVnsT.js";import"./validators-CTjxOidB.js";import"./component-D6_K50vT.js";import"./bem-registry-D1KgKnyz.js";import"./component-D9NreIlK.js";import"./tslib.es6-QNbPBOk5.js";import"./clsx-COFh-Vc8.js";import"./component-EDDTMC-J.js";import"./component-B3OziaRC.js";import"./component-Ccv2lqNq.js";import"./block-bem-D3ixJyOY.js";import"./disabled-BZXlWAgK.js";import"./id-BI0ZuK17.js";import"./label-with-expert-slot-BbZ9nx0l.js";import"./label-hints-CLMiVvfk.js";import"./Heading-GZb1f2pZ.js";import"./level-DsQ_pcyD.js";import"./has-closer-DUB0QcS9.js";import"./href-CxokGOJ2.js";import"./label-lang-segment-iVD9hoM3.js";import"./link-target-D7lYILOV.js";import"./width-C1_yZHyL.js";import"./scroll-lock-Bv-U2FHM.js";import"./behavior-CKU2tmCj.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./element-interaction-sGYdEpmv.js";import"./element-focus-BIRmGg5W.js";import"./events-CRHxtwup.js";const a=class extends r{constructor(e){super(...arguments),new.target===a&&o(this,e),this.ariaDescriptionId=n(),this.headingId=l("dialog-heading"),this.modal=!0,this._on=void 0,this._variant="blank",this._width="100%"}watchLabel(o){this.applyLabel(o)}watchOn(o){this.applyOn(o)}watchVariant(o){this.applyVariant(o)}watchWidth(o){this.applyWidth(o)}async openModal(){await this.showModal()}async showModal(){await this.show(!0)}show(o=!1){return this.showDialog(o),Promise.resolve()}close(){return this.closeDialog(),Promise.resolve()}async closeModal(){await this.close()}componentWillLoad(){this.initCardCloseButton(),this.watchLabel(this._label),this.watchOn(this._on),this.watchVariant(this._variant),this.watchWidth(this._width)}componentDidRender(){this.syncCardCloseTooltipListeners()}disconnectedCallback(){this.teardownDialog()}renderSlot(){return e("slot",null)}render(){return e(t,{key:"6d608d4ae09933551fc6641cfd419f39bc6e09ea"},this.renderDialogFC())}get host(){return i(this)}static get watchers(){return{_label:[{watchLabel:0}],_on:[{watchOn:0}],_variant:[{watchVariant:0}],_width:[{watchWidth:0}]}}};a.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794913000943"); src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: ""; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { position: relative; z-index: 1; grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } .kol-dialog, .kol-modal { min-height: var(--a11y-min-size); padding: 0; border: 0; overscroll-behavior: contain; } .kol-dialog__close-button, .kol-modal__close-button { position: absolute; top: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); right: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; } }'};export{a as kol_modal}
|
|
4
|
+
import{r as o,h as e,H as t,g as i}from"./index-8-BSSKQL.js";import{n,c as l}from"./dev.utils-DM7Qhcet.js";import{B as r}from"./base-DZBnXHZh.js";import"./common-BdSzSIXg.js";import"./base-web-component-Bh2NCN7p.js";import"./props-from-config-LBgEHmcL.js";import"./bem-registry-SKACeCny.js";import"./component-BUzgs8fh.js";import"./i18n-BLkzMf6D.js";import"./i18n-BRgvVqCf.js";import"./resolve-props-0xfjG6h5.js";import"./component-Bldy_ShO.js";import"./validators-ByUMEUYD.js";import"./component-D5yKRPCZ.js";import"./component-Cj3P_f35.js";import"./tslib.es6-QNbPBOk5.js";import"./component-LadkF9an.js";import"./component-BC1TpQVD.js";import"./disabled-C2DzYwwy.js";import"./id-lCAtMmMx.js";import"./label-with-expert-slot-BVqi0_Fb.js";import"./label-hints-BUADjqKF.js";import"./Heading-DDS-lyOB.js";import"./level-eGeMFn0b.js";import"./has-closer-x20C4xl3.js";import"./href-vIF4eC7d.js";import"./label-lang-segment-B13iL7iy.js";import"./link-target-DEH-wAmf.js";import"./width-BJNhiv_8.js";import"./scroll-lock-CIv7iOPB.js";import"./behavior-DmR4WVXd.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./element-interaction-sGYdEpmv.js";import"./element-focus-BIRmGg5W.js";import"./events-CRHxtwup.js";const a=class extends r{constructor(e){super(...arguments),new.target===a&&o(this,e),this.ariaDescriptionId=n(),this.headingId=l("dialog-heading"),this.modal=!0,this._on=void 0,this._variant="blank",this._width="100%"}watchLabel(o){this.applyLabel(o)}watchOn(o){this.applyOn(o)}watchVariant(o){this.applyVariant(o)}watchWidth(o){this.applyWidth(o)}async openModal(){await this.showModal()}async showModal(){await this.show(!0)}show(o=!1){return this.showDialog(o),Promise.resolve()}close(){return this.closeDialog(),Promise.resolve()}async closeModal(){await this.close()}componentWillLoad(){this.initCardCloseButton(),this.watchLabel(this._label),this.watchOn(this._on),this.watchVariant(this._variant),this.watchWidth(this._width)}componentDidRender(){this.syncCardCloseTooltipListeners()}disconnectedCallback(){this.teardownDialog()}renderSlot(){return e("slot",null)}render(){return e(t,{key:"6d608d4ae09933551fc6641cfd419f39bc6e09ea"},this.renderDialogFC())}get host(){return i(this)}static get watchers(){return{_label:[{watchLabel:0}],_on:[{watchOn:0}],_variant:[{watchVariant:0}],_width:[{watchWidth:0}]}}};a.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-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-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-card :host { display: inline-block; } .kol-card .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-card .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-card .kol-button__interactive-element::before { content: ""; } .kol-card .kol-button__text { flex: 1 0 100%; } .kol-card .kol-button { } .kol-card .kol-button__tooltip { height: 0; } .kol-card .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-card .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-card { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); display: grid; height: 100%; overflow: visible; grid-template-areas: "header close" "content content"; grid-template-columns: 1fr min-content; grid-template-rows: min-content 1fr; } .kol-card__header { align-self: start; grid-area: header; } .kol-card__content { align-self: stretch; grid-area: content; } .kol-card__close-button { position: relative; z-index: 1; grid-area: close; } .kol-card:has(.kol-card__link) { position: relative; } .kol-card__link::after { position: absolute; inset: 0; content: ""; cursor: pointer; } .kol-dialog, .kol-modal { min-height: var(--a11y-min-size); padding: 0; border: 0; overscroll-behavior: contain; } .kol-dialog__close-button, .kol-modal__close-button { position: absolute; top: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); right: calc(1 * 1rem / var(--kolibri-root-font-size, 16)); z-index: 1; } }'};export{a as kol_modal}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as o,r as t,H as e,g as i,f as n}from"./index-DEcM8BEc.js";import{B as a}from"./base-web-component-CC_gpyDb.js";import{c as l}from"./item-B0oQTeju.js";import{c as r}from"./item-pool-BOxAYePG.js";import{c as s}from"./item-BvnZc8uV.js";import{e as c,b as d}from"./common-BdSzSIXg.js";import{c as h,n as p,r as k}from"./props-from-config-ytxYrJUY.js";import{h as m}from"./component-D4-NVnsT.js";import{l as b}from"./label-B-Dr7VaP.js";import{c as f}from"./links-IkK4zoXw.js";import{t as u}from"./i18n-ePBcLlCr.js";import{c as _}from"./clsx-COFh-Vc8.js";import{a as g,c as v}from"./dev.utils-BwYCy1rP.js";import{B as y}from"./component-Ccv2lqNq.js";import{B as x}from"./component-B3OziaRC.js";import{L as w}from"./component-CF8uFG0A.js";import{r as j,a as C}from"./unique-nav-labels-CxFUYSVY.js";import"./controller-CZcQ57AP.js";import"./component-names-Dhbtt0mX.js";import"./element-interaction-sGYdEpmv.js";import"./element-focus-BIRmGg5W.js";import"./tslib.es6-QNbPBOk5.js";import"./events-CRHxtwup.js";import"./behavior-CKU2tmCj.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./component-D6_K50vT.js";import"./bem-registry-D1KgKnyz.js";import"./component-D9NreIlK.js";import"./component-EDDTMC-J.js";import"./id-BI0ZuK17.js";import"./label-lang-segment-iVD9hoM3.js";import"./label-hints-CLMiVvfk.js";import"./resolve-props-DTXKtzir.js";import"./disabled-BZXlWAgK.js";import"./label-with-expert-slot-BbZ9nx0l.js";import"./validators-CTjxOidB.js";import"./ariaCurrentService-YoLNpD5S.js";import"./resolve-props-kM9N-fzf.js";import"./access-and-short-key-ijzCZfHm.js";import"./href-CxokGOJ2.js";import"./link-target-D7lYILOV.js";import"./i18n-4J6U3ZDc.js";import"./block-bem-D3ixJyOY.js";const B=h("collapsible",!0,p),z=h("hasCompactButton",!1,p),T=h("hasIconsWhenExpanded",!1,p),I=f("KolNav"),E={required:[b,I],optional:[B,z,T,m]},L=o=>{var t;return void 0===o._href&&"function"==typeof(null===(t=o._on)||void 0===t?void 0:t.onClick)};function D(o){var t;return"string"==typeof o._icons?o._icons:"string"==typeof(null===(t=o._icons)||void 0===t?void 0:t.left)?o._icons.left:void 0}const P=t=>o("ul",{class:_("kol-nav__list",{"kol-nav__list--nested":t.deep>0,"kol-nav__list--vertical":0!==t.deep}),id:t.deep>0?t.id:void 0},t.links.map(((e,i)=>{const n=Array.isArray(e._children)&&e._children.length>0,a=Boolean(e._children&&t.expandedChildren.includes(e._children)),l=g(t.id,`${t.deep}-${i}`);return o("li",{class:_("kol-nav__list-item",{"kol-nav__list-item--active":!!e._active,"kol-nav__list-item--expanded":a,"kol-nav__list-item--has-children":n}),key:i},((t,e,i,n,a)=>{const{collapsible:l,compact:r,getButtonFcProps:s,getLinkFcProps:c,handleToggleExpansion:d,hasIconsWhenExpanded:h}=t,p=function({collapsible:o,expanded:t,hasIconsWhenExpanded:e,hideLabel:i,leftIcon:n}){const a={left:"",right:""};return e&&n&&(a.left=n),i&&(a.left=n||"kolicon-link"),o&&(a.right=t?"kolicon-minus":"kolicon-plus"),a}({collapsible:l&&i,expanded:n,hasIconsWhenExpanded:h,hideLabel:r,leftIcon:D(e)});return o("div",{class:"kol-nav__entry-wrapper"},(o=>"string"==typeof o._href)(e)?o("div",{class:_("kol-nav__entry kol-nav__entry--link",{"kol-nav__entry--collapsible":l})},o(w,Object.assign({},c(`link-${a}`,Object.assign(Object.assign({},e),{_hideLabel:r,_icons:p,_ariaControls:l&&i&&n?a:void 0,_ariaExpanded:l&&i?n:void 0}))))):o("div",{class:_("kol-nav__entry kol-nav__entry--button",{"kol-nav__entry--collapsible":l})},o(x,Object.assign({},s(`button-${a}`,{_label:e._label,_disabled:L(e)?e._disabled:void 0,_hideLabel:r,_icons:p,_ariaControls:l&&i&&n?a:void 0,_ariaExpanded:l&&i?n:void 0,_on:{onClick:(o,t)=>{L(e)&&"function"==typeof e._on.onClick&&e._on.onClick(o,t),d(e._children)}}})))))})(t,e,n,a,l),a&&o(P,Object.assign({},t,{deep:t.deep+1,links:e._children||[],id:l})))}))),W=t=>{const{collapsible:e,compact:i,expandedChildren:n,getButtonFcProps:a,getLinkFcProps:l,handleToggleCompact:r,handleToggleExpansion:s,hasCompactButton:c,hasIconsWhenExpanded:d,label:h,links:p,listId:m,navId:b}=k(E,t);return o(y,{block:"kol-nav",modifiers:{"is-compact":i}},o("nav",{"aria-label":h,class:"kol-nav__navigation",id:b},o(P,{collapsible:e,compact:i,deep:0,expandedChildren:n,getButtonFcProps:a,getLinkFcProps:l,handleToggleExpansion:s,hasIconsWhenExpanded:d,id:m,links:p})),c&&o("div",{class:"kol-nav__compact"},o("div",{class:"kol-nav__toggle-button"},o(x,Object.assign({},a("compact-toggle",{_ariaControls:b,_ariaExpanded:!i,_icons:i?"kolicon-chevron-right":"kolicon-chevron-left",_hideLabel:!0,_label:u(i?"kol-nav-maximize":"kol-nav-minimize"),_on:{onClick:r},_tooltipAlign:"right"}))))))},F=class extends a{constructor(o){super(...arguments),new.target===F&&t(this,o),this.compact=!1,this.expandedChildren=[],this.navId=v("kol-nav"),this.listId=g(this.navId,"list"),this.buttonItems=r((()=>l((()=>this.host))),(o=>o.syncListeners()),(o=>o.destroy())),this.linkItems=r((()=>s((()=>n(this)))),(o=>o.syncListeners()),(o=>o.destroy())),this.propsConfig=E,this._collapsible=!0,this._hasCompactButton=!1,this._hasIconsWhenExpanded=!1,this._hideLabel=!1,this.getButtonFcProps=(o,t)=>this.buttonItems.get(o).getFcProps(t),this.getLinkFcProps=(o,t)=>this.linkItems.get(o).getFcProps(t),this.handleToggleExpansion=o=>{o&&(this.expandedChildren=function(o,t){return o.includes(t)?o.filter((o=>o!==t)):[...o,t]}(this.expandedChildren,o))},this.handleToggleCompact=()=>{this.compact=!this.compact}}watchCollapsible(o){B.apply(o,(o=>this.setRenderProp("collapsible",o)))}watchHasCompactButton(o){z.apply(o,(o=>this.setRenderProp("hasCompactButton",o)))}watchHasIconsWhenExpanded(o){T.apply(o,(o=>this.setRenderProp("hasIconsWhenExpanded",o)))}watchHideLabel(o){m.apply(o,(o=>{this.compact=o}))}watchLabel(o){this.applyLabel(o)}watchLinks(o){I.apply(o,(o=>this.setRenderProp("links",o))),c("[KolNav] The navigation structure is not yet validated recursively."),this.expandedChildren=function(o){const t=[],e=o=>{if(o._active)return o._children&&t.push(o._children),!0;if(o._children)for(const i of o._children)if(e(i))return t.push(o._children),!0;return!1};return o.forEach(e),t}(this.getRenderProp("links"))}componentWillLoad(){this.watchCollapsible(this._collapsible),this.watchHideLabel(this._hideLabel),this.watchHasCompactButton(this._hasCompactButton),this.watchHasIconsWhenExpanded(this._hasIconsWhenExpanded),this.applyLabel(this._label,!0),this.watchLinks(this._links)}componentDidRender(){this.buttonItems.endRender(),this.linkItems.endRender()}disconnectedCallback(){j(this.getRenderProp("label")),this.buttonItems.destroy(),this.linkItems.destroy()}applyLabel(o,t=!1){t||j(this.getRenderProp("label")),b.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label")),d(o),C(this.getRenderProp("label"))}render(){return this.buttonItems.beginRender(),this.linkItems.beginRender(),o(e,{key:"b6060fa9735e6b48fdf405b78f88b7228d5b3025"},o(W,{key:"a6e3be60d059c75e5e868e009a83530e34e01b1d",collapsible:this.getRenderProp("collapsible"),compact:this.compact,expandedChildren:this.expandedChildren,getButtonFcProps:this.getButtonFcProps,getLinkFcProps:this.getLinkFcProps,handleToggleCompact:this.handleToggleCompact,handleToggleExpansion:this.handleToggleExpansion,hasCompactButton:this.getRenderProp("hasCompactButton"),hasIconsWhenExpanded:this.getRenderProp("hasIconsWhenExpanded"),label:this.getRenderProp("label"),links:this.getRenderProp("links"),listId:this.listId,navId:this.navId}))}get host(){return i(this)}static get watchers(){return{_collapsible:[{watchCollapsible:0}],_hasCompactButton:[{watchHasCompactButton:0}],_hasIconsWhenExpanded:[{watchHasIconsWhenExpanded:0}],_hideLabel:[{watchHideLabel:0}],_label:[{watchLabel:0}],_links:[{watchLinks:0}]}}};F.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794913000943"); src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-nav { display: grid; place-items: center; } .kol-nav:not(.kol-nav--is-compact) .kol-nav__navigation { width: 100%; } .kol-nav__navigation .kol-span { width: 100%; justify-content: flex-start; } .kol-nav__navigation .kol-span__container { width: 100%; } .kol-nav__navigation .kol-span__container .kol-span__label { flex: 1; } .kol-nav__list { display: flex; margin: 0; padding: 0; flex-direction: column; list-style: none; } .kol-nav__entry-wrapper { display: flex; } .kol-nav__entry { flex-grow: 1; } .kol-button { text-align: left; } }'};export{F as kol_nav}
|
|
4
|
+
import{h as o,r as e,H as t,g as i,f as n}from"./index-8-BSSKQL.js";import{B as a}from"./base-web-component-Bh2NCN7p.js";import{c as l}from"./item-H09kNXn9.js";import{c as r}from"./item-pool-BOxAYePG.js";import{c as s}from"./item-C2HHBTvm.js";import{e as c,b as d}from"./common-BdSzSIXg.js";import{c as h,n as p,r as k,B as m,e as b}from"./props-from-config-LBgEHmcL.js";import{h as f}from"./component-Bldy_ShO.js";import{l as u}from"./label-mr5joqaQ.js";import{c as _}from"./links-Dy9WkOJ-.js";import{t as g}from"./i18n-BLkzMf6D.js";import{a as v,c as y}from"./dev.utils-DM7Qhcet.js";import{B as x}from"./component-BC1TpQVD.js";import{L as w}from"./component-ZJiUl6kZ.js";import{r as j,a as C}from"./unique-nav-labels-CZIyOzqJ.js";import"./controller-CZcQ57AP.js";import"./component-names-Dhbtt0mX.js";import"./element-interaction-sGYdEpmv.js";import"./element-focus-BIRmGg5W.js";import"./tslib.es6-QNbPBOk5.js";import"./events-CRHxtwup.js";import"./behavior-DmR4WVXd.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./component-D5yKRPCZ.js";import"./bem-registry-SKACeCny.js";import"./component-Cj3P_f35.js";import"./component-LadkF9an.js";import"./id-lCAtMmMx.js";import"./label-lang-segment-B13iL7iy.js";import"./label-hints-BUADjqKF.js";import"./resolve-props-0xfjG6h5.js";import"./disabled-C2DzYwwy.js";import"./label-with-expert-slot-BVqi0_Fb.js";import"./validators-ByUMEUYD.js";import"./ariaCurrentService-YoLNpD5S.js";import"./resolve-props-BQa6SjZU.js";import"./access-and-short-key-ijzCZfHm.js";import"./href-vIF4eC7d.js";import"./link-target-DEH-wAmf.js";import"./i18n-BRgvVqCf.js";const B=h("collapsible",!0,p),z=h("hasCompactButton",!1,p),T=h("hasIconsWhenExpanded",!1,p),L=_("KolNav"),I={required:[u,L],optional:[B,z,T,f]},E=o=>{var e;return void 0===o._href&&"function"==typeof(null===(e=o._on)||void 0===e?void 0:e.onClick)};function W(o){var e;return"string"==typeof o._icons?o._icons:"string"==typeof(null===(e=o._icons)||void 0===e?void 0:e.left)?o._icons.left:void 0}const H=e=>o("ul",{class:b("kol-nav__list",{"kol-nav__list--nested":e.deep>0,"kol-nav__list--vertical":0!==e.deep}),id:e.deep>0?e.id:void 0},e.links.map(((t,i)=>{const n=Array.isArray(t._children)&&t._children.length>0,a=Boolean(t._children&&e.expandedChildren.includes(t._children)),l=v(e.id,`${e.deep}-${i}`);return o("li",{class:b("kol-nav__list-item",{"kol-nav__list-item--active":!!t._active,"kol-nav__list-item--expanded":a,"kol-nav__list-item--has-children":n}),key:i},((e,t,i,n,a)=>{const{collapsible:l,compact:r,getButtonFcProps:s,getLinkFcProps:c,handleToggleExpansion:d,hasIconsWhenExpanded:h}=e,p=function({collapsible:o,expanded:e,hasIconsWhenExpanded:t,hideLabel:i,leftIcon:n}){const a={left:"",right:""};return t&&n&&(a.left=n),i&&(a.left=n||"kolicon-link"),o&&(a.right=e?"kolicon-minus":"kolicon-plus"),a}({collapsible:l&&i,expanded:n,hasIconsWhenExpanded:h,hideLabel:r,leftIcon:W(t)});return o("div",{class:"kol-nav__entry-wrapper"},(o=>"string"==typeof o._href)(t)?o("div",{class:b("kol-nav__entry kol-nav__entry--link",{"kol-nav__entry--collapsible":l})},o(w,Object.assign({},c(`link-${a}`,Object.assign(Object.assign({},t),{_hideLabel:r,_icons:p,_ariaControls:l&&i&&n?a:void 0,_ariaExpanded:l&&i?n:void 0}))))):o("div",{class:b("kol-nav__entry kol-nav__entry--button",{"kol-nav__entry--collapsible":l})},o(x,Object.assign({},s(`button-${a}`,{_label:t._label,_disabled:E(t)?t._disabled:void 0,_hideLabel:r,_icons:p,_ariaControls:l&&i&&n?a:void 0,_ariaExpanded:l&&i?n:void 0,_on:{onClick:(o,e)=>{E(t)&&"function"==typeof t._on.onClick&&t._on.onClick(o,e),d(t._children)}}})))))})(e,t,n,a,l),a&&o(H,Object.assign({},e,{deep:e.deep+1,links:t._children||[],id:l})))}))),D=e=>{const{collapsible:t,compact:i,expandedChildren:n,getButtonFcProps:a,getLinkFcProps:l,handleToggleCompact:r,handleToggleExpansion:s,hasCompactButton:c,hasIconsWhenExpanded:d,label:h,links:p,listId:b,navId:f}=k(I,e);return o(m,{block:"kol-nav",modifiers:{"is-compact":i}},o("nav",{"aria-label":h,class:"kol-nav__navigation",id:f},o(H,{collapsible:t,compact:i,deep:0,expandedChildren:n,getButtonFcProps:a,getLinkFcProps:l,handleToggleExpansion:s,hasIconsWhenExpanded:d,id:b,links:p})),c&&o("div",{class:"kol-nav__compact"},o("div",{class:"kol-nav__toggle-button"},o(x,Object.assign({},a("compact-toggle",{_ariaControls:f,_ariaExpanded:!i,_icons:i?"kolicon-chevron-right":"kolicon-chevron-left",_hideLabel:!0,_label:g(i?"kol-nav-maximize":"kol-nav-minimize"),_on:{onClick:r},_tooltipAlign:"right"}))))))},F=class extends a{constructor(o){super(...arguments),new.target===F&&e(this,o),this.compact=!1,this.expandedChildren=[],this.navId=y("kol-nav"),this.listId=v(this.navId,"list"),this.buttonItems=r((()=>l((()=>this.host))),(o=>o.syncListeners()),(o=>o.destroy())),this.linkItems=r((()=>s((()=>n(this)))),(o=>o.syncListeners()),(o=>o.destroy())),this.propsConfig=I,this._collapsible=!0,this._hasCompactButton=!1,this._hasIconsWhenExpanded=!1,this._hideLabel=!1,this.getButtonFcProps=(o,e)=>this.buttonItems.get(o).getFcProps(e),this.getLinkFcProps=(o,e)=>this.linkItems.get(o).getFcProps(e),this.handleToggleExpansion=o=>{o&&(this.expandedChildren=function(o,e){return o.includes(e)?o.filter((o=>o!==e)):[...o,e]}(this.expandedChildren,o))},this.handleToggleCompact=()=>{this.compact=!this.compact}}watchCollapsible(o){B.apply(o,(o=>this.setRenderProp("collapsible",o)))}watchHasCompactButton(o){z.apply(o,(o=>this.setRenderProp("hasCompactButton",o)))}watchHasIconsWhenExpanded(o){T.apply(o,(o=>this.setRenderProp("hasIconsWhenExpanded",o)))}watchHideLabel(o){f.apply(o,(o=>{this.compact=o}))}watchLabel(o){this.applyLabel(o)}watchLinks(o){L.apply(o,(o=>this.setRenderProp("links",o))),c("[KolNav] The navigation structure is not yet validated recursively."),this.expandedChildren=function(o){const e=[],t=o=>{if(o._active)return o._children&&e.push(o._children),!0;if(o._children)for(const i of o._children)if(t(i))return e.push(o._children),!0;return!1};return o.forEach(t),e}(this.getRenderProp("links"))}componentWillLoad(){this.watchCollapsible(this._collapsible),this.watchHideLabel(this._hideLabel),this.watchHasCompactButton(this._hasCompactButton),this.watchHasIconsWhenExpanded(this._hasIconsWhenExpanded),this.applyLabel(this._label,!0),this.watchLinks(this._links)}componentDidRender(){this.buttonItems.endRender(),this.linkItems.endRender()}disconnectedCallback(){j(this.getRenderProp("label")),this.buttonItems.destroy(),this.linkItems.destroy()}applyLabel(o,e=!1){e||j(this.getRenderProp("label")),u.apply(o,(o=>this.setRenderProp("label",o)),this.isRequired("label")),d(o),C(this.getRenderProp("label"))}render(){return this.buttonItems.beginRender(),this.linkItems.beginRender(),o(t,{key:"b6060fa9735e6b48fdf405b78f88b7228d5b3025"},o(D,{key:"a6e3be60d059c75e5e868e009a83530e34e01b1d",collapsible:this.getRenderProp("collapsible"),compact:this.compact,expandedChildren:this.expandedChildren,getButtonFcProps:this.getButtonFcProps,getLinkFcProps:this.getLinkFcProps,handleToggleCompact:this.handleToggleCompact,handleToggleExpansion:this.handleToggleExpansion,hasCompactButton:this.getRenderProp("hasCompactButton"),hasIconsWhenExpanded:this.getRenderProp("hasIconsWhenExpanded"),label:this.getRenderProp("label"),links:this.getRenderProp("links"),listId:this.listId,navId:this.navId}))}get host(){return i(this)}static get watchers(){return{_collapsible:[{watchCollapsible:0}],_hasCompactButton:[{watchHasCompactButton:0}],_hasIconsWhenExpanded:[{watchHasIconsWhenExpanded:0}],_hideLabel:[{watchHideLabel:0}],_label:[{watchLabel:0}],_links:[{watchLinks:0}]}}};F.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-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-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-nav { display: grid; place-items: center; } .kol-nav:not(.kol-nav--is-compact) .kol-nav__navigation { width: 100%; } .kol-nav__navigation .kol-span { width: 100%; justify-content: flex-start; } .kol-nav__navigation .kol-span__container { width: 100%; } .kol-nav__navigation .kol-span__container .kol-span__label { flex: 1; } .kol-nav__list { display: flex; margin: 0; padding: 0; flex-direction: column; list-style: none; } .kol-nav__entry-wrapper { display: flex; } .kol-nav__entry { flex-grow: 1; } .kol-button { text-align: left; } }'};export{F as kol_nav}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{r as o,h as t,H as e,g as i}from"./index-DEcM8BEc.js";import{B as n}from"./base-web-component-CC_gpyDb.js";import{p as l,c as a,P as r}from"./item-UgJ2uikD.js";import"./common-BdSzSIXg.js";import"./props-from-config-ytxYrJUY.js";import"./i18n-ePBcLlCr.js";import"./i18n-4J6U3ZDc.js";import"./bem-registry-D1KgKnyz.js";import"./component-Ccv2lqNq.js";import"./tslib.es6-QNbPBOk5.js";import"./clsx-COFh-Vc8.js";import"./block-bem-D3ixJyOY.js";import"./component-B3OziaRC.js";import"./component-D4-NVnsT.js";import"./validators-CTjxOidB.js";import"./component-D6_K50vT.js";import"./component-D9NreIlK.js";import"./component-EDDTMC-J.js";import"./disabled-BZXlWAgK.js";import"./id-BI0ZuK17.js";import"./label-with-expert-slot-BbZ9nx0l.js";import"./label-hints-CLMiVvfk.js";import"./events-CRHxtwup.js";import"./unique-nav-labels-CxFUYSVY.js";import"./label-B-Dr7VaP.js";import"./item-B0oQTeju.js";import"./controller-CZcQ57AP.js";import"./component-names-Dhbtt0mX.js";import"./dev.utils-BwYCy1rP.js";import"./element-interaction-sGYdEpmv.js";import"./element-focus-BIRmGg5W.js";import"./behavior-CKU2tmCj.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-iVD9hoM3.js";import"./resolve-props-DTXKtzir.js";import"./item-pool-BOxAYePG.js";import"./base-web-component-BxXLva5d.js";import"./input-container-BipAkWn4.js";import"./api-CBPlj155.js";import"./aria-labelledby-DqJY_4G-.js";import"./behavior-ewHvUWVk.js";import"./bootstrap-tgQ2nQQI.js";import"./item-Boe3t0Dm.js";import"./component-By8ggItU.js";import"./component-Cmi6iGfA.js";import"./Heading-GZb1f2pZ.js";import"./multiple--ay1C1n3.js";import"./required-BriHhuO4.js";import"./rows-I1jrTjzU.js";import"./access-and-short-key-ijzCZfHm.js";import"./options-B0rBHetL.js";const s=class extends n{constructor(t){super(...arguments),new.target===s&&o(this,t),this.renderCount=0,this.propsConfig=l,this._boundaryCount=1,this._customClass=void 0,this._hasButtons=!0,this._pageSize=1,this._pageSizeOptions=[],this._siblingCount=1,this._tooltipAlign="top"}watchBoundaryCount(o){this.item.applyBoundaryCount(o)}watchCustomClass(o){this.item.applyCustomClass(o)}watchLabel(o){this.item.applyLabel(o,this.isRequired("label"))}watchHasButtons(o){this.item.applyHasButtons(o)}watchPage(o){this.item.applyPage(o)}watchPageSize(o){this.item.applyPageSize(o)}watchPageSizeOptions(o){this.item.applyPageSizeOptions(o)}watchOn(o){this.item.applyOn(o)}watchSiblingCount(o){this.item.applySiblingCount(o)}watchTooltipAlign(o){this.item.applyTooltipAlign(o)}watchMax(o){this.item.applyMax(o)}componentWillLoad(){this.item=a({getEventTarget:()=>this.host,requestRender:()=>{this.renderCount++},store:{get:o=>this.getRenderProp(o),set:(o,t)=>this.setRenderProp(o,t)}}),this.item.load({boundaryCount:this._boundaryCount,customClass:this._customClass,hasButtons:this._hasButtons,max:this._max,on:this._on,page:this._page,pageSize:this._pageSize,pageSizeOptions:this._pageSizeOptions,siblingCount:this._siblingCount,tooltipAlign:this._tooltipAlign}),this.item.applyLabel(this._label,this.isRequired("label"))}componentDidRender(){this.item.sync()}disconnectedCallback(){this.item.destroy()}render(){return t(e,{key:"5ab5479e8a646e9dc7a6d3092d8d71c151d18d33"},t(r,Object.assign({key:"b4deee4d58a35e027f0445f539afa46e92bea5de"},this.item.getFcProps())))}get host(){return i(this)}static get watchers(){return{_boundaryCount:[{watchBoundaryCount:0}],_customClass:[{watchCustomClass:0}],_label:[{watchLabel:0}],_hasButtons:[{watchHasButtons:0}],_page:[{watchPage:0}],_pageSize:[{watchPageSize:0}],_pageSizeOptions:[{watchPageSizeOptions:0}],_on:[{watchOn:0}],_siblingCount:[{watchSiblingCount:0}],_tooltipAlign:[{watchTooltipAlign:0}],_max:[{watchMax:0}]}}};s.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794913000943"); src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { :host { display: block; } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: ""; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-select { background-color: transparent; width: 100%; padding: 0; } .kol-select:not(:disabled) { cursor: pointer; } .kol-select:not([multiple], [size]) { height: 2.75em; } .kol-select[multiple][size="1"] { height: 2.75em; } .kol-select__option:checked::before { content: "✓ "; } .kol-select[multiple] option { display: flex; min-height: var(--a11y-min-size); align-items: center; } .kol-select[multiple][size="1"] option::checkmark { height: 100%; } .kol-select[multiple][size="1"] option:checked::before { display: none; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; container: paging/inline-size; } .kol-pagination__navigation-list { display: inline-flex; margin: 0; padding: 0; flex-wrap: wrap; align-items: center; list-style: none; } .kol-pagination__separator:before { content: "•••"; } .kol-pagination__page-size-select .kol-form-field-select { align-items: center; grid-template-columns: 1fr max-content; } @container paging (width < 600px) { .kol-pagination:has(.kol-pagination__button--first) li:has(.kol-pagination__button--numbers), .kol-pagination:has(.kol-pagination__button--first) li:has(.kol-pagination__separator) { display: none; } } }'};export{s as kol_pagination}
|
|
4
|
+
import{r as o,h as e,H as t,g as i}from"./index-8-BSSKQL.js";import{B as n}from"./base-web-component-Bh2NCN7p.js";import{p as l,c as a,P as r}from"./item-BANfM_Mo.js";import"./common-BdSzSIXg.js";import"./props-from-config-LBgEHmcL.js";import"./bem-registry-SKACeCny.js";import"./i18n-BLkzMf6D.js";import"./i18n-BRgvVqCf.js";import"./component-BC1TpQVD.js";import"./tslib.es6-QNbPBOk5.js";import"./component-Bldy_ShO.js";import"./validators-ByUMEUYD.js";import"./component-D5yKRPCZ.js";import"./component-Cj3P_f35.js";import"./component-LadkF9an.js";import"./disabled-C2DzYwwy.js";import"./id-lCAtMmMx.js";import"./label-with-expert-slot-BVqi0_Fb.js";import"./label-hints-BUADjqKF.js";import"./events-CRHxtwup.js";import"./unique-nav-labels-CZIyOzqJ.js";import"./label-mr5joqaQ.js";import"./item-H09kNXn9.js";import"./controller-CZcQ57AP.js";import"./component-names-Dhbtt0mX.js";import"./dev.utils-DM7Qhcet.js";import"./element-interaction-sGYdEpmv.js";import"./element-focus-BIRmGg5W.js";import"./behavior-DmR4WVXd.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./label-lang-segment-B13iL7iy.js";import"./resolve-props-0xfjG6h5.js";import"./item-pool-BOxAYePG.js";import"./base-web-component-BLA2cpyz.js";import"./input-container-Cb2xJUCl.js";import"./api-MBSY9afi.js";import"./aria-labelledby-DqJY_4G-.js";import"./behavior-DUy0X7U1.js";import"./bootstrap-Bp7i4RJQ.js";import"./item-gvmzMXYb.js";import"./component-B4CDonzN.js";import"./component-vxdandl4.js";import"./Heading-DDS-lyOB.js";import"./multiple-F8uOX8RD.js";import"./required-DBJ4iW2e.js";import"./rows-DuYJeJT7.js";import"./access-and-short-key-ijzCZfHm.js";import"./options-B0rBHetL.js";const s=class extends n{constructor(e){super(...arguments),new.target===s&&o(this,e),this.renderCount=0,this.propsConfig=l,this._boundaryCount=1,this._customClass=void 0,this._hasButtons=!0,this._pageSize=1,this._pageSizeOptions=[],this._siblingCount=1,this._tooltipAlign="top"}watchBoundaryCount(o){this.item.applyBoundaryCount(o)}watchCustomClass(o){this.item.applyCustomClass(o)}watchLabel(o){this.item.applyLabel(o,this.isRequired("label"))}watchHasButtons(o){this.item.applyHasButtons(o)}watchPage(o){this.item.applyPage(o)}watchPageSize(o){this.item.applyPageSize(o)}watchPageSizeOptions(o){this.item.applyPageSizeOptions(o)}watchOn(o){this.item.applyOn(o)}watchSiblingCount(o){this.item.applySiblingCount(o)}watchTooltipAlign(o){this.item.applyTooltipAlign(o)}watchMax(o){this.item.applyMax(o,this.isRequired("max"))}componentWillLoad(){this.item=a({getEventTarget:()=>this.host,requestRender:()=>{this.renderCount++},store:{get:o=>this.getRenderProp(o),set:(o,e)=>this.setRenderProp(o,e)}}),this.item.load({boundaryCount:this._boundaryCount,customClass:this._customClass,hasButtons:this._hasButtons,label:this._label,max:this._max,on:this._on,page:this._page,pageSize:this._pageSize,pageSizeOptions:this._pageSizeOptions,siblingCount:this._siblingCount,tooltipAlign:this._tooltipAlign},{label:this.isRequired("label"),max:this.isRequired("max")})}componentDidRender(){this.item.sync()}disconnectedCallback(){this.item.destroy()}render(){return e(t,{key:"4ea789c1fc554919959446d89b6c6ec4bbd1fe1c"},e(r,Object.assign({key:"df1e3814097da236a27271c3b23ad0c039ccf9f0"},this.item.getFcProps())))}get host(){return i(this)}static get watchers(){return{_boundaryCount:[{watchBoundaryCount:0}],_customClass:[{watchCustomClass:0}],_label:[{watchLabel:0}],_hasButtons:[{watchHasButtons:0}],_page:[{watchPage:0}],_pageSize:[{watchPageSize:0}],_pageSizeOptions:[{watchPageSizeOptions:0}],_on:[{watchOn:0}],_siblingCount:[{watchSiblingCount:0}],_tooltipAlign:[{watchTooltipAlign:0}],_max:[{watchMax:0}]}}};s.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-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-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { :host { display: block; } } @layer kol-component { .kol-button { background-color: transparent; display: inline-block; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); margin: 0; padding: 0; text-align: center; } .kol-button__interactive-element { border-style: none; display: block; border-width: medium; font-weight: inherit; font-style: inherit; text-align: inherit; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-alert .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-alert :host { display: inline-block; } .kol-alert .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-alert .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-alert .kol-button__interactive-element::before { content: ""; } .kol-alert .kol-button__text { flex: 1 0 100%; } .kol-alert .kol-button { } .kol-alert .kol-button__tooltip { height: 0; } .kol-alert .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-alert .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-alert { display: grid; grid-template-areas: "icon heading close" "icon content close"; grid-template-columns: min-content 1fr min-content; grid-template-rows: min-content min-content; } .kol-alert__icon { grid-area: icon; } .kol-alert__heading { grid-area: heading; } .kol-alert__closer { outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16)); grid-area: close; } .kol-alert__content { grid-area: content; } .kol-form-field .kol-popover-button { display: inline; } .kol-form-field .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-form-field .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-form-field .kol-popover-button--inline { display: inline-block; } .kol-form-field .kol-popover-button--inline .kol-button, .kol-form-field .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-form-field .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-form-field .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } .kol-form-field { display: grid; } .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label { cursor: pointer; } .kol-form-field__label { display: flex; } .kol-form-field__label-text { flex-flow: row; align-items: flex-start; justify-content: flex-start; } .kol-form-field--required .kol-form-field__label-text:has(.kol-span__slot[hidden]) .kol-span__label::after, .kol-form-field--required:not(:has(.kol-form-field__label--legend)) .kol-form-field__input .kol-tooltip__content .kol-span__label::after { content: "*"/""; } .kol-input-container { background-color: transparent; display: grid; position: relative; width: 100%; min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); align-items: center; grid-template-columns: 1fr; } .kol-input-container:has(> .kol-input-container__adornment--start) { grid-template-columns: auto 1fr auto; } .kol-input-container__container { position: relative; z-index: 1; } .kol-input-container__adornment { display: flex; align-items: center; } .kol-input-container__adornment .kol-icon { display: grid; place-items: center; } .kol-select { background-color: transparent; width: 100%; padding: 0; } .kol-select:not(:disabled) { cursor: pointer; } .kol-select:not([multiple], [size]) { height: 2.75em; } .kol-select[multiple][size="1"] { height: 2.75em; } .kol-select__option:checked::before { content: "✓ "; } .kol-select[multiple] option { display: flex; min-height: var(--a11y-min-size); align-items: center; } .kol-select[multiple][size="1"] option::checkmark { height: 100%; } .kol-select[multiple][size="1"] option:checked::before { display: none; } .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; container: paging/inline-size; } .kol-pagination__navigation-list { display: inline-flex; margin: 0; padding: 0; flex-wrap: wrap; align-items: center; list-style: none; } .kol-pagination__separator:before { content: "•••"; } .kol-pagination__page-size-select .kol-form-field-select { align-items: center; grid-template-columns: 1fr max-content; } @container paging (width < 600px) { .kol-pagination:has(.kol-pagination__button--first) li:has(.kol-pagination__button--numbers), .kol-pagination:has(.kol-pagination__button--first) li:has(.kol-pagination__separator) { display: none; } } }'};export{s as kol_pagination}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as o,r as t,H as e,g as i}from"./index-DEcM8BEc.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{c as a,n as l}from"./dev.utils-BwYCy1rP.js";import{a as r,d as s}from"./element-interaction-sGYdEpmv.js";import{B as c}from"./base-web-component-CC_gpyDb.js";import{a as h,p,P as d}from"./component-By8ggItU.js";import"./common-BdSzSIXg.js";import"./props-from-config-ytxYrJUY.js";import{B as b}from"./base-BByRnpRm.js";import"./element-focus-BIRmGg5W.js";import"./component-D6_K50vT.js";import"./bem-registry-D1KgKnyz.js";import"./component-D9NreIlK.js";import"./clsx-COFh-Vc8.js";import"./component-EDDTMC-J.js";import"./behavior-CKU2tmCj.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./id-BI0ZuK17.js";import"./label-lang-segment-iVD9hoM3.js";import"./label-hints-CLMiVvfk.js";import"./component-Ccv2lqNq.js";import"./block-bem-D3ixJyOY.js";import"./component-B3OziaRC.js";import"./component-D4-NVnsT.js";import"./validators-CTjxOidB.js";import"./disabled-BZXlWAgK.js";import"./label-with-expert-slot-BbZ9nx0l.js";import"./behavior-ewHvUWVk.js";import"./bootstrap-tgQ2nQQI.js";import"./component-names-Dhbtt0mX.js";import"./i18n-4J6U3ZDc.js";import"./access-and-short-key-ijzCZfHm.js";import"./events-CRHxtwup.js";import"./controller-CZcQ57AP.js";class k extends b{constructor(){super(...arguments),this.popoverBehavior=new h(c.stateLess),this.popoverId=a("popover"),this.togglePopover=()=>{this.popoverBehavior.setShow(!this.getPopoverOpen())},this.handleToggle=o=>{this.setPopoverOpen("open"===o.newState)},this.setButtonElementRef=o=>{this.ctaRef(o),this.popoverBehavior.setTriggerElement(o)},this.setPopoverElementRef=o=>{this.popoverElement=o,this.popoverBehavior.setPopoverElementRef(o)}}getPopoverOpen(){return!0===this.popoverOpen}setPopoverOpen(o){this.popoverOpen=o}initPopoverToggle(){this.unsetButtonTabIndex(),this.applyOn({onClick:this.togglePopover}),this.popoverBehavior.componentWillLoad({align:p.getDefaultValue()})}syncPopoverToggleListener(){this.popoverElement&&this.popoverElement.addEventListener("toggle",this.handleToggle)}destroyPopover(){this.popoverElement&&(this.popoverElement.removeEventListener("toggle",this.handleToggle),this.popoverElement=void 0),this.popoverBehavior.destroy()}openPopover(){!0!==this.getRenderProp("disabled")&&this.popoverBehavior.setShow(!0)}closePopover(){this.popoverBehavior.setShow(!1)}applyPopoverAlign(o){p.apply(o,(o=>this.popoverBehavior.watchAlign(o)))}renderPopoverButtonFC(){return o(d,{accessKey:this.getRenderProp("accessKey"),ariaDescription:this.getRenderProp("ariaDescription"),ariaDescriptionId:this.getState("ariaDescriptionId"),ariaHasPopup:this.getRenderProp("ariaHasPopup"),ariaSelected:this.getRenderProp("ariaSelected"),customClass:this.getRenderProp("customClass"),disabled:this.getRenderProp("disabled"),handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,hideLabel:this.getRenderProp("hideLabel"),icons:this.getRenderProp("icons"),id:this.getRenderProp("id"),inline:this.getRenderProp("inline"),label:this.getRenderProp("label"),name:this.getRenderProp("name"),on:this.getRenderProp("on"),popoverAlign:this.popoverBehavior.getRenderProp("align"),popoverOpen:this.getPopoverOpen(),popoverId:this.popoverId,refButton:this.setButtonElementRef,refPopover:this.setPopoverElementRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,role:this.getRenderProp("role"),shortKey:this.getRenderProp("shortKey"),tabIndex:this.getRenderProp("tabIndex"),tooltipAlign:this.getRenderProp("tooltipAlign"),type:this.getRenderProp("type"),variant:this.getRenderProp("variant")})}}const m=class extends k{constructor(o){super(),new.target===m&&t(this,o),this.ariaDescriptionId=l(),this.popoverOpen=!1,this._accessKey=void 0,this._ariaDescription=void 0,this._customClass=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._inline=!1,this._name=void 0,this._popoverAlign="bottom",this._shortKey=void 0,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign="top",this._type="button",this._value=void 0,this._variant=void 0,this.initFormAssociation()}watchAccessKey(o){this.applyAccessKey(o,this._shortKey)}watchAriaDescription(o){this.applyAriaDescription(o)}watchCustomClass(o){this.applyCustomClass(o)}watchDisabled(o){this.applyDisabled(o)}watchHideLabel(o){this.applyHideLabel(o)}watchIcons(o){this.applyIcons(o)}watchInline(o){this.applyInline(o)}watchLabel(o){this.applyLabel(o)}watchName(o){this.applyName(o)}watchPopoverAlign(o){this.applyPopoverAlign(o)}watchShortKey(o){this.applyShortKey(o,this._accessKey)}watchSyncValueBySelector(o){this.applySyncValueBySelector(o)}watchTabIndex(o){this.applyTabIndex(o)}watchTooltipAlign(o){this.applyTooltipAlign(o)}watchType(o){this.applyType(o)}watchValue(o){this.applyValue(o)}watchVariant(o){this.applyVariant(o)}hidePopover(){return this.closePopover(),Promise.resolve()}showPopover(){return this.openPopover(),Promise.resolve()}click(){return Promise.resolve()}focus(o){return Promise.resolve()}componentWillLoad(){this.initPopoverToggle(),this.watchAccessKey(this._accessKey),this.watchAriaDescription(this._ariaDescription),this.watchCustomClass(this._customClass),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchIcons(this._icons),this.watchInline(this._inline),this.watchLabel(this._label),this.watchName(this._name),this.watchPopoverAlign(this._popoverAlign),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTabIndex(this._tabIndex),this.watchTooltipAlign(this._tooltipAlign),this.watchType(this._type),this.watchValue(this._value),this.watchVariant(this._variant),this.initTooltipBehavior()}componentDidRender(){this.syncTooltipListeners(),this.syncPopoverToggleListener()}disconnectedCallback(){this.destroyTooltipBehavior(),this.destroyPopover()}render(){return o(e,{key:"291c2254c1443a9d058b89019a13dc3a7cf0deb0"},this.renderPopoverButtonFC())}get host(){return i(this)}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDescription:[{watchAriaDescription:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_popoverAlign:[{watchPopoverAlign:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tabIndex:[{watchTabIndex:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}};n([r("ctaRef")],m.prototype,"click",null),n([s("ctaRef")],m.prototype,"focus",null),m.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @font-face { font-family: "kolicons"; src: url("kolicons.eot?t=1794913000943"); src: url("kolicons.eot?t=1794913000943#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1794913000943") format("woff2"), url("kolicons.woff?t=1794913000943") format("woff"), url("kolicons.ttf?t=1794913000943") format("truetype"), url("kolicons.svg?t=1794913000943#kolicons") format("svg"); } @layer kol-component { [class^=kolicon-], [class*=" kolicon-"] { font-family: "kolicons"; font-style: normal; font-weight: 400; line-height: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .kolicon-alert-error::before { content: "\\ea01"; } .kolicon-alert-info::before { content: "\\ea02"; } .kolicon-alert-success::before { content: "\\ea03"; } .kolicon-alert-warning::before { content: "\\ea04"; } .kolicon-check::before { content: "\\ea05"; } .kolicon-chevron-double-left::before { content: "\\ea06"; } .kolicon-chevron-double-right::before { content: "\\ea07"; } .kolicon-chevron-down::before { content: "\\ea08"; } .kolicon-chevron-left::before { content: "\\ea09"; } .kolicon-chevron-right::before { content: "\\ea0a"; } .kolicon-chevron-up::before { content: "\\ea0b"; } .kolicon-cogwheel::before { content: "\\ea0c"; } .kolicon-cross::before { content: "\\ea0d"; } .kolicon-eye-closed::before { content: "\\ea0e"; } .kolicon-eye::before { content: "\\ea0f"; } .kolicon-house::before { content: "\\ea10"; } .kolicon-kolibri::before { content: "\\ea11"; } .kolicon-link-external::before { content: "\\ea12"; } .kolicon-link::before { content: "\\ea13"; } .kolicon-minus::before { content: "\\ea14"; } .kolicon-pin-pinned::before { content: "\\ea15"; } .kolicon-pin-unpinned::before { content: "\\ea16"; } .kolicon-plus::before { content: "\\ea17"; } .kolicon-settings::before { content: "\\ea18"; } .kolicon-sort-asc::before { content: "\\ea19"; } .kolicon-sort-desc::before { content: "\\ea1a"; } .kolicon-sort-neutral::before { content: "\\ea1b"; } .kolicon-up::before { content: "\\ea1c"; } .kolicon-version::before { content: "\\ea1d"; } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } .kol-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-button__interactive-element::before { content: ""; } .kol-button__text { flex: 1 0 100%; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-popover-button { display: inline; } .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-popover-button--inline { display: inline-block; } .kol-popover-button--inline .kol-button, .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } }'};export{m as kol_popover_button}
|
|
4
|
+
import{h as o,r as t,H as e,g as i}from"./index-8-BSSKQL.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{c as a,n as l}from"./dev.utils-DM7Qhcet.js";import{a as r,d as s}from"./element-interaction-sGYdEpmv.js";import{B as c}from"./base-web-component-Bh2NCN7p.js";import{a as h,p as d,P as p}from"./component-B4CDonzN.js";import"./common-BdSzSIXg.js";import"./props-from-config-LBgEHmcL.js";import{B as b}from"./base-D-me6QDT.js";import"./element-focus-BIRmGg5W.js";import"./component-D5yKRPCZ.js";import"./bem-registry-SKACeCny.js";import"./component-Cj3P_f35.js";import"./component-LadkF9an.js";import"./behavior-DmR4WVXd.js";import"./tooltip-open-tracking-D3tCiiGP.js";import"./id-lCAtMmMx.js";import"./label-lang-segment-B13iL7iy.js";import"./label-hints-BUADjqKF.js";import"./component-BC1TpQVD.js";import"./component-Bldy_ShO.js";import"./validators-ByUMEUYD.js";import"./disabled-C2DzYwwy.js";import"./label-with-expert-slot-BVqi0_Fb.js";import"./behavior-DUy0X7U1.js";import"./bootstrap-Bp7i4RJQ.js";import"./component-names-Dhbtt0mX.js";import"./i18n-BRgvVqCf.js";import"./access-and-short-key-ijzCZfHm.js";import"./events-CRHxtwup.js";import"./controller-CZcQ57AP.js";class k extends b{constructor(){super(...arguments),this.popoverBehavior=new h(c.stateLess),this.popoverId=a("popover"),this.togglePopover=()=>{this.popoverBehavior.setShow(!this.getPopoverOpen())},this.handleToggle=o=>{this.setPopoverOpen("open"===o.newState)},this.setButtonElementRef=o=>{this.ctaRef(o),this.popoverBehavior.setTriggerElement(o)},this.setPopoverElementRef=o=>{this.popoverElement=o,this.popoverBehavior.setPopoverElementRef(o)}}getPopoverOpen(){return!0===this.popoverOpen}setPopoverOpen(o){this.popoverOpen=o}initPopoverToggle(){this.unsetButtonTabIndex(),this.applyOn({onClick:this.togglePopover}),this.popoverBehavior.componentWillLoad({align:d.getDefaultValue()})}syncPopoverToggleListener(){this.popoverElement&&this.popoverElement.addEventListener("toggle",this.handleToggle)}destroyPopover(){this.popoverElement&&(this.popoverElement.removeEventListener("toggle",this.handleToggle),this.popoverElement=void 0),this.popoverBehavior.destroy()}openPopover(){!0!==this.getRenderProp("disabled")&&this.popoverBehavior.setShow(!0)}closePopover(){this.popoverBehavior.setShow(!1)}applyPopoverAlign(o){d.apply(o,(o=>this.popoverBehavior.watchAlign(o)))}renderPopoverButtonFC(){return o(p,{accessKey:this.getRenderProp("accessKey"),ariaDescription:this.getRenderProp("ariaDescription"),ariaDescriptionId:this.getState("ariaDescriptionId"),ariaHasPopup:this.getRenderProp("ariaHasPopup"),ariaSelected:this.getRenderProp("ariaSelected"),customClass:this.getRenderProp("customClass"),disabled:this.getRenderProp("disabled"),handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,hideLabel:this.getRenderProp("hideLabel"),icons:this.getRenderProp("icons"),id:this.getRenderProp("id"),inline:this.getRenderProp("inline"),label:this.getRenderProp("label"),name:this.getRenderProp("name"),on:this.getRenderProp("on"),popoverAlign:this.popoverBehavior.getRenderProp("align"),popoverOpen:this.getPopoverOpen(),popoverId:this.popoverId,refButton:this.setButtonElementRef,refPopover:this.setPopoverElementRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,role:this.getRenderProp("role"),shortKey:this.getRenderProp("shortKey"),tabIndex:this.getRenderProp("tabIndex"),tooltipAlign:this.getRenderProp("tooltipAlign"),type:this.getRenderProp("type"),variant:this.getRenderProp("variant")})}}const m=class extends k{constructor(o){super(),new.target===m&&t(this,o),this.ariaDescriptionId=l(),this.popoverOpen=!1,this._accessKey=void 0,this._ariaDescription=void 0,this._customClass=void 0,this._disabled=!1,this._hideLabel=!1,this._icons=void 0,this._inline=!1,this._name=void 0,this._popoverAlign="bottom",this._shortKey=void 0,this._syncValueBySelector=void 0,this._tabIndex=void 0,this._tooltipAlign="top",this._type="button",this._value=void 0,this._variant=void 0,this.initFormAssociation()}watchAccessKey(o){this.applyAccessKey(o,this._shortKey)}watchAriaDescription(o){this.applyAriaDescription(o)}watchCustomClass(o){this.applyCustomClass(o)}watchDisabled(o){this.applyDisabled(o)}watchHideLabel(o){this.applyHideLabel(o)}watchIcons(o){this.applyIcons(o)}watchInline(o){this.applyInline(o)}watchLabel(o){this.applyLabel(o)}watchName(o){this.applyName(o)}watchPopoverAlign(o){this.applyPopoverAlign(o)}watchShortKey(o){this.applyShortKey(o,this._accessKey)}watchSyncValueBySelector(o){this.applySyncValueBySelector(o)}watchTabIndex(o){this.applyTabIndex(o)}watchTooltipAlign(o){this.applyTooltipAlign(o)}watchType(o){this.applyType(o)}watchValue(o){this.applyValue(o)}watchVariant(o){this.applyVariant(o)}hidePopover(){return this.closePopover(),Promise.resolve()}showPopover(){return this.openPopover(),Promise.resolve()}click(){return Promise.resolve()}focus(o){return Promise.resolve()}componentWillLoad(){this.initPopoverToggle(),this.watchAccessKey(this._accessKey),this.watchAriaDescription(this._ariaDescription),this.watchCustomClass(this._customClass),this.watchDisabled(this._disabled),this.watchHideLabel(this._hideLabel),this.watchIcons(this._icons),this.watchInline(this._inline),this.watchLabel(this._label),this.watchName(this._name),this.watchPopoverAlign(this._popoverAlign),this.watchShortKey(this._shortKey),this.watchSyncValueBySelector(this._syncValueBySelector),this.watchTabIndex(this._tabIndex),this.watchTooltipAlign(this._tooltipAlign),this.watchType(this._type),this.watchValue(this._value),this.watchVariant(this._variant),this.initTooltipBehavior()}componentDidRender(){this.syncTooltipListeners(),this.syncPopoverToggleListener()}disconnectedCallback(){this.destroyTooltipBehavior(),this.destroyPopover()}render(){return o(e,{key:"291c2254c1443a9d058b89019a13dc3a7cf0deb0"},this.renderPopoverButtonFC())}get host(){return i(this)}static get watchers(){return{_accessKey:[{watchAccessKey:0}],_ariaDescription:[{watchAriaDescription:0}],_customClass:[{watchCustomClass:0}],_disabled:[{watchDisabled:0}],_hideLabel:[{watchHideLabel:0}],_icons:[{watchIcons:0}],_inline:[{watchInline:0}],_label:[{watchLabel:0}],_name:[{watchName:0}],_popoverAlign:[{watchPopoverAlign:0}],_shortKey:[{watchShortKey:0}],_syncValueBySelector:[{watchSyncValueBySelector:0}],_tabIndex:[{watchTabIndex:0}],_tooltipAlign:[{watchTooltipAlign:0}],_type:[{watchType:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}};n([r("ctaRef")],m.prototype,"click",null),n([s("ctaRef")],m.prototype,"focus",null),m.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-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-tooltip { display: contents; } .kol-tooltip__floating { opacity: 0; display: none; position: fixed; top: 0; left: 0; width: var(--kol-tooltip-width, max-content); min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16)); max-width: 90vw; max-height: 90vh; animation-direction: normal; animation-duration: var(--kolibri-tooltip-animation-duration, 250ms); animation-fill-mode: forwards; animation-iteration-count: 1; animation-timing-function: ease-in; } .kol-tooltip__floating.hide { animation-name: hideTooltip; } .kol-tooltip__floating.show { animation-name: showTooltip; } .kol-tooltip__arrow { transform: rotate(45deg); color: black; background-color: white; position: absolute; z-index: 999; width: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); height: calc(10 * 1rem / var(--kolibri-root-font-size, 16)); } .kol-tooltip__content { color: black; background-color: white; position: relative; z-index: 1000; } @keyframes hideTooltip { 0% { opacity: 1; } 100% { opacity: 0; display: none; } } @keyframes showTooltip { 0% { opacity: 0; } 100% { opacity: 1; } } } @layer kol-component { .kol-icon { color: inherit; display: inline-block; font-size: inherit; font-weight: inherit; line-height: inherit; } :host { display: inline-block; } .kol-button { display: flex; height: 100%; min-height: var(--a11y-min-size); text-decoration-line: none; } .kol-button__interactive-element { display: flex; flex: 1; text-align: left; text-decoration-line: none; } .kol-button__interactive-element::before { content: ""; } .kol-button__text { flex: 1 0 100%; } .kol-button { } .kol-button__tooltip { height: 0; } .kol-button--external-link > .kolicon-link-external::before { content: none; } .kol-button--external-link .kol-button__interactive-element > .kolicon-link-external::before { content: none; } .kol-popover-button { display: inline; } .kol-popover-button__popover { margin: 0; padding: 0; border: 0; } .kol-popover-button--open .kol-button__tooltip { display: none; } .kol-popover-button--inline { display: inline-block; } .kol-popover-button--inline .kol-button, .kol-popover-button--inline .kol-button .kol-button__interactive-element { min-width: 0; min-height: 1em; } .kol-popover { opacity: 0; transition: 0.2s ease-out opacity; } .kol-popover-button--open .kol-popover-button__popover { opacity: 1; } }'};export{m as kol_popover_button}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as e,r,H as t}from"./index-DEcM8BEc.js";import{B as o}from"./base-web-component-CC_gpyDb.js";import"./common-BdSzSIXg.js";import{c as a,b as l,D as i,r as s,t as n}from"./props-from-config-ytxYrJUY.js";import{l as c}from"./label-lang-segment-iVD9hoM3.js";import{m as d,u as h}from"./unit-1ix-K9SD.js";import{t as u}from"./i18n-ePBcLlCr.js";import{b}from"./bem-registry-D1KgKnyz.js";import{r as p}from"./component-D9NreIlK.js";import"./label-hints-CLMiVvfk.js";import"./i18n-4J6U3ZDc.js";import"./tslib.es6-QNbPBOk5.js";import"./clsx-COFh-Vc8.js";import"./component-EDDTMC-J.js";const k=["bar","cycle"],g=a("variant","bar",(e=>{const r=l(e);if(k.includes(r))return r;throw new Error(`Invalid progress variant: ${r}`)}),(()=>!0)),m={optional:[c,h,g],required:[d,i]},v=b.forBlock("kol-progress"),f=({max:r,value:t})=>e("svg",{width:"100",viewBox:"0 0 120 120",xmlns:"http://www.w3.org/2000/svg"},e("circle",{class:v("cycle-background"),cx:"60",cy:"60",r:"54.5",fill:"currentColor",stroke:"currentColor","stroke-width":"8"}),e("circle",{class:v("cycle-whitespace"),cx:"60",cy:"60",r:"59",fill:"currentColor",stroke:"currentColor","stroke-width":"3"}),e("circle",{class:v("cycle-border"),cx:"60",cy:"60",r:"59",fill:"currentColor",stroke:"currentColor","stroke-width":"1"}),e("circle",{class:v("cycle-whitespace"),cx:"60",cy:"60",r:"51",fill:"currentColor",stroke:"currentColor","stroke-width":"1"}),e("circle",{class:v("cycle-border"),cx:"60",cy:"60",r:"50",fill:"currentColor",stroke:"currentColor","stroke-width":"1"}),e("circle",{class:v("cycle-progress"),fill:"currentColor",stroke:"currentColor","stroke-linecap":"round","stroke-dasharray":`${Math.round(t/r*342)}px 342px`,"stroke-width":"6",cx:"60",cy:"60",r:"54.5"})),y=({max:r,value:t})=>{const o=t/r*100;return e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"12",overflow:"visible"},e("rect",{class:v("bar-background"),x:"1",y:"1",height:"11",rx:"5",fill:"currentColor",stroke:"currentColor","stroke-width":"3",width:"100%"}),e("rect",{class:v("bar-border"),x:"1",y:"1",height:"11",rx:"5",fill:"currentColor",stroke:"currentColor","stroke-width":"1",width:"100%"}),e("rect",{class:v("bar-progress"),x:"3",y:"3",height:"7",rx:"3.5",fill:"currentColor",stroke:"currentColor","stroke-width":"3",style:{width:`calc(${o}% - 4px)`}}))},_=r=>{const{label:t,max:o,unit:a,value:l,variant:i,liveValue:c}=s(m,r),d="%"===a,h=d?`${Math.round(c/o*100)}`:c,b=d?Math.round(l/o*100):l,k=`${`${(d?100:o)+1}`.length}ch`,g=d?u("kol-live-value",{placeholders:{value:String(h),unit:a}}):u("kol-live-value-bounded",{placeholders:{value:String(h),max:String(o),unit:a}});return e("div",{class:v()},e("div",{"aria-hidden":"true",class:v("cycle"===i?"cycle":"bar")},"bar"===i&&t&&e("div",{class:v("bar-label")},p(t)),((r,t,o)=>{switch(r){case"cycle":return e(f,{max:t,value:o});case"bar":return e(y,{max:t,value:o});default:throw new Error(`Progress variant ${r} not implemented.`)}})(i,o,l),"cycle"===i&&e("div",{class:v("cycle-text")},t&&e("div",{class:v("cycle-label")},p(t)),e("div",{class:v("cycle-value")},`${b} ${a}`)),"bar"===i&&e("div",{class:v("bar-value"),style:{width:k}},b),"bar"===i&&e("div",{class:v("bar-unit")},a)),e("progress",{"aria-busy":l<o?"true":"false","aria-label":n(t)||u("kol-progress"),class:"visually-hidden",max:o,value:l}),e("span",{"aria-live":"polite","aria-relevant":"removals text",class:"visually-hidden"},g))},x=class extends o{constructor(e){super(...arguments),new.target===x&&r(this,e),this.liveValue=0,this.propsConfig=m,this._label=void 0,this._unit=void 0,this._variant=void 0}watchLabel(e){c.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label"))}watchMax(e){d.apply(e,(e=>{this.setRenderProp("max",e),this.watchValue(this.getRawProp("value"))}))}watchUnit(e){h.apply(e,(e=>this.setRenderProp("unit",e)))}watchValue(e){this.setRawProp("value",e),i.apply(e,(e=>{this.setRenderProp("value",e)}),{min:0,max:this.getRenderProp("max")})}watchVariant(e){g.apply(e,(e=>this.setRenderProp("variant",e)))}connectedCallback(){this.startLiveValueInterval()}componentWillLoad(){c.apply(this._label,(e=>this.setRenderProp("label",e)),this.isRequired("label")),d.apply(this._max,(e=>{this.setRenderProp("max",e),this.watchValue(this.getRawProp("value"))})),h.apply(this._unit,(e=>this.setRenderProp("unit",e))),this.watchValue(this._value),g.apply(this._variant,(e=>this.setRenderProp("variant",e))),this.setState("liveValue",this.getRenderProp("value"))}disconnectedCallback(){this.interval&&(clearInterval(this.interval),this.interval=void 0)}startLiveValueInterval(){clearInterval(this.interval),this.interval=setInterval((()=>{const e=this.getRenderProp("value");this.setState("liveValue",e)}),5e3)}render(){return e(t,{key:"28feb371878c4752f632384d8ae056924bcee1a6"},e(_,{key:"3371391ceac0c5940d67445c8cf5ce2a057a7fee",label:this.getRenderProp("label"),max:this.getRenderProp("max"),unit:this.getRenderProp("unit"),value:this.getRenderProp("value"),variant:this.getRenderProp("variant"),liveValue:this.liveValue}))}static get watchers(){return{_label:[{watchLabel:0}],_max:[{watchMax:0}],_unit:[{watchUnit:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}};x.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-progress { --color-bar: var(--kol-progress-color-bar, #0075ff); } .kol-progress__bar { display: grid; align-items: center; grid-template-areas: "LABEL LABEL LABEL" "BAR VALUE UNIT"; grid-template-columns: 1fr auto; } .kol-progress__bar-label { grid-column-end: 2; grid-area: LABEL; } .kol-progress__bar svg { grid-area: BAR; } .kol-progress__bar-value { grid-area: VALUE; text-align: right; } .kol-progress__bar-unit { grid-area: UNIT; } .kol-progress__bar-border { fill: transparent; stroke: black; } .kol-progress__bar-background { fill: white; stroke: white; } .kol-progress__bar-progress { fill: var(--color-bar); stroke: transparent; } @media (prefers-reduced-motion: no-preference) { .kol-progress__bar-progress { transition: 250ms ease-in-out 50ms; } } .kol-progress__cycle { display: grid; align-content: center; justify-items: center; grid-template-areas: "ALL"; grid-template-columns: auto; } .kol-progress__cycle > * { grid-area: ALL; } .kol-progress__cycle-text { display: flex; flex-direction: column; justify-content: center; font-size: x-small; text-align: center; } .kol-progress__cycle-text * { background-color: white; } .kol-progress__cycle-background { fill: transparent; stroke: white; } .kol-progress__cycle-border { fill: transparent; stroke: black; } .kol-progress__cycle-whitespace { fill: transparent; stroke: white; } .kol-progress__cycle-progress { transform: rotate(-90deg); transform-origin: 50% 50%; fill: transparent; stroke: var(--color-bar); } @media (prefers-reduced-motion: no-preference) { .kol-progress__cycle-progress { transition: 250ms ease-in-out 50ms; } } }'};export{x as kol_progress}
|
|
4
|
+
import{h as e,r,H as t}from"./index-8-BSSKQL.js";import{B as o}from"./base-web-component-Bh2NCN7p.js";import"./common-BdSzSIXg.js";import{c as a,b as l,G as i,r as s,t as n,B as c}from"./props-from-config-LBgEHmcL.js";import{l as d}from"./label-lang-segment-B13iL7iy.js";import{m as u,u as h}from"./unit-YqluIXsF.js";import{t as b}from"./i18n-BLkzMf6D.js";import{b as k}from"./bem-registry-SKACeCny.js";import{r as p}from"./component-Cj3P_f35.js";import"./label-hints-BUADjqKF.js";import"./i18n-BRgvVqCf.js";import"./tslib.es6-QNbPBOk5.js";import"./component-LadkF9an.js";const m=["bar","cycle"],g=a("variant","bar",(e=>{const r=l(e);if(m.includes(r))return r;throw new Error(`Invalid progress variant: ${r}`)}),(()=>!0)),v={optional:[d,h,g],required:[u,i]},f=k.forBlock("kol-progress"),_=({max:r,value:t})=>e("svg",{width:"100",viewBox:"0 0 120 120",xmlns:"http://www.w3.org/2000/svg"},e("circle",{class:f("cycle-background"),cx:"60",cy:"60",r:"54.5",fill:"currentColor",stroke:"currentColor","stroke-width":"8"}),e("circle",{class:f("cycle-whitespace"),cx:"60",cy:"60",r:"59",fill:"currentColor",stroke:"currentColor","stroke-width":"3"}),e("circle",{class:f("cycle-border"),cx:"60",cy:"60",r:"59",fill:"currentColor",stroke:"currentColor","stroke-width":"1"}),e("circle",{class:f("cycle-whitespace"),cx:"60",cy:"60",r:"51",fill:"currentColor",stroke:"currentColor","stroke-width":"1"}),e("circle",{class:f("cycle-border"),cx:"60",cy:"60",r:"50",fill:"currentColor",stroke:"currentColor","stroke-width":"1"}),e("circle",{class:f("cycle-progress"),fill:"currentColor",stroke:"currentColor","stroke-linecap":"round","stroke-dasharray":`${Math.round(t/r*342)}px 342px`,"stroke-width":"6",cx:"60",cy:"60",r:"54.5"})),x=({max:r,value:t})=>{const o=t/r*100;return e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"12",overflow:"visible"},e("rect",{class:f("bar-background"),x:"1",y:"1",height:"11",rx:"5",fill:"currentColor",stroke:"currentColor","stroke-width":"3",width:"100%"}),e("rect",{class:f("bar-border"),x:"1",y:"1",height:"11",rx:"5",fill:"currentColor",stroke:"currentColor","stroke-width":"1",width:"100%"}),e("rect",{class:f("bar-progress"),x:"3",y:"3",height:"7",rx:"3.5",fill:"currentColor",stroke:"currentColor","stroke-width":"3",style:{width:`calc(${o}% - 4px)`}}))},y=r=>{const{label:t,max:o,unit:a,value:l,variant:i,liveValue:d}=s(v,r),u="%"===a,h=u?`${Math.round(d/o*100)}`:d,k=u?Math.round(l/o*100):l,m=`${`${(u?100:o)+1}`.length}ch`,g=u?b("kol-live-value",{placeholders:{value:String(h),unit:a}}):b("kol-live-value-bounded",{placeholders:{value:String(h),max:String(o),unit:a}});return e(c,{block:"kol-progress"},e("div",{"aria-hidden":"true",class:f("cycle"===i?"cycle":"bar")},"bar"===i&&t&&e("div",{class:f("bar-label")},p(t)),((r,t,o)=>{switch(r){case"cycle":return e(_,{max:t,value:o});case"bar":return e(x,{max:t,value:o});default:throw new Error(`Progress variant ${r} not implemented.`)}})(i,o,l),"cycle"===i&&e("div",{class:f("cycle-text")},t&&e("div",{class:f("cycle-label")},p(t)),e("div",{class:f("cycle-value")},`${k} ${a}`)),"bar"===i&&e("div",{class:f("bar-value"),style:{width:m}},k),"bar"===i&&e("div",{class:f("bar-unit")},a)),e("progress",{"aria-busy":l<o?"true":"false","aria-label":n(t)||b("kol-progress"),class:"visually-hidden",max:o,value:l}),e("span",{"aria-live":"polite","aria-relevant":"removals text",class:"visually-hidden"},g))},w=class extends o{constructor(e){super(...arguments),new.target===w&&r(this,e),this.liveValue=0,this.propsConfig=v,this._label=void 0,this._unit=void 0,this._variant=void 0}watchLabel(e){d.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label"))}watchMax(e){u.apply(e,(e=>{this.setRenderProp("max",e),this.watchValue(this.getRawProp("value"))}))}watchUnit(e){h.apply(e,(e=>this.setRenderProp("unit",e)))}watchValue(e){this.setRawProp("value",e),i.apply(e,(e=>{this.setRenderProp("value",e)}),{min:0,max:this.getRenderProp("max")})}watchVariant(e){g.apply(e,(e=>this.setRenderProp("variant",e)))}connectedCallback(){this.startLiveValueInterval()}componentWillLoad(){d.apply(this._label,(e=>this.setRenderProp("label",e)),this.isRequired("label")),u.apply(this._max,(e=>{this.setRenderProp("max",e),this.watchValue(this.getRawProp("value"))})),h.apply(this._unit,(e=>this.setRenderProp("unit",e))),this.watchValue(this._value),g.apply(this._variant,(e=>this.setRenderProp("variant",e))),this.setState("liveValue",this.getRenderProp("value"))}disconnectedCallback(){this.interval&&(clearInterval(this.interval),this.interval=void 0)}startLiveValueInterval(){clearInterval(this.interval),this.interval=setInterval((()=>{const e=this.getRenderProp("value");this.setState("liveValue",e)}),5e3)}render(){return e(t,{key:"28feb371878c4752f632384d8ae056924bcee1a6"},e(y,{key:"3371391ceac0c5940d67445c8cf5ce2a057a7fee",label:this.getRenderProp("label"),max:this.getRenderProp("max"),unit:this.getRenderProp("unit"),value:this.getRenderProp("value"),variant:this.getRenderProp("variant"),liveValue:this.liveValue}))}static get watchers(){return{_label:[{watchLabel:0}],_max:[{watchMax:0}],_unit:[{watchUnit:0}],_value:[{watchValue:0}],_variant:[{watchVariant:0}]}}};w.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-progress { --color-bar: var(--kol-progress-color-bar, #0075ff); } .kol-progress__bar { display: grid; align-items: center; grid-template-areas: "LABEL LABEL LABEL" "BAR VALUE UNIT"; grid-template-columns: 1fr auto; } .kol-progress__bar-label { grid-column-end: 2; grid-area: LABEL; } .kol-progress__bar svg { grid-area: BAR; } .kol-progress__bar-value { grid-area: VALUE; text-align: right; } .kol-progress__bar-unit { grid-area: UNIT; } .kol-progress__bar-border { fill: transparent; stroke: black; } .kol-progress__bar-background { fill: white; stroke: white; } .kol-progress__bar-progress { fill: var(--color-bar); stroke: transparent; } @media (prefers-reduced-motion: no-preference) { .kol-progress__bar-progress { transition: 250ms ease-in-out 50ms; } } .kol-progress__cycle { display: grid; align-content: center; justify-items: center; grid-template-areas: "ALL"; grid-template-columns: auto; } .kol-progress__cycle > * { grid-area: ALL; } .kol-progress__cycle-text { display: flex; flex-direction: column; justify-content: center; font-size: x-small; text-align: center; } .kol-progress__cycle-text * { background-color: white; } .kol-progress__cycle-background { fill: transparent; stroke: white; } .kol-progress__cycle-border { fill: transparent; stroke: black; } .kol-progress__cycle-whitespace { fill: transparent; stroke: white; } .kol-progress__cycle-progress { transform: rotate(-90deg); transform-origin: 50% 50%; fill: transparent; stroke: var(--color-bar); } @media (prefers-reduced-motion: no-preference) { .kol-progress__cycle-progress { transition: 250ms ease-in-out 50ms; } } }'};export{w as kol_progress}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h as e,r as o,H as t}from"./index-
|
|
4
|
+
import{h as e,r as o,H as t}from"./index-8-BSSKQL.js";import{B as a}from"./base-web-component-Bh2NCN7p.js";import"./common-BdSzSIXg.js";import{h as i}from"./href-vIF4eC7d.js";import{c as l,b as r,H as n,r as s,B as c}from"./props-from-config-LBgEHmcL.js";import{l as d}from"./label-lang-segment-B13iL7iy.js";import{b}from"./component-names-Dhbtt0mX.js";import{b as u}from"./bem-registry-SKACeCny.js";import"./label-hints-BUADjqKF.js";const k=l("quote","",r),h={optional:[d,n],required:[i,k]},m=u.forBlock("kol-quote"),p=m("blockquote"),f=m("cite"),g=m("figcaption"),_=m("quote"),x=o=>{const{href:t,label:a,quote:i,variant:l}=s(h,o),r=""===i;return e(c,{component:"figure",block:"kol-quote",modifiers:{[l]:!0}},"block"===l?e("blockquote",{class:p,cite:t},i,e("span",{"aria-hidden":r?void 0:"true",hidden:!r},e("slot",{name:"expert"}))):e("q",{class:_,cite:t},i,e("span",{"aria-hidden":r?void 0:"true",hidden:!r},e("slot",{name:"expert"}))),!!a&&e("figcaption",{class:g},e("cite",{class:f},e(b,{_href:t,_label:a,_target:"_blank"}))))},y=class extends a{constructor(e){super(...arguments),new.target===y&&o(this,e),this.propsConfig=h,this._label=void 0,this._variant="inline"}watchHref(e){i.apply(e,(e=>this.setRenderProp("href",e)),this.isRequired("href"))}watchLabel(e){d.apply(e,(e=>this.setRenderProp("label",e)),this.isRequired("label"))}watchQuote(e){k.apply(e,(e=>this.setRenderProp("quote",e)))}watchVariant(e){n.apply(e,(e=>this.setRenderProp("variant",e)))}componentWillLoad(){i.apply(this._href,(e=>this.setRenderProp("href",e)),this.isRequired("href")),d.apply(this._label,(e=>this.setRenderProp("label",e)),this.isRequired("label")),k.apply(this._quote,(e=>this.setRenderProp("quote",e))),n.apply(this._variant,(e=>this.setRenderProp("variant",e)))}render(){return e(t,{key:"52c8ca2c634034fa8ad7347a66d04e731f2c661c"},e(x,{key:"f1068378b769a5b4645ca5e97d0e641442d7f6b4",href:this.getRenderProp("href"),label:this.getRenderProp("label"),quote:this.getRenderProp("quote"),variant:this.getRenderProp("variant")}))}static get watchers(){return{_href:[{watchHref:0}],_label:[{watchLabel:0}],_quote:[{watchQuote:0}],_variant:[{watchVariant:0}]}}};y.style={default:'@charset "UTF-8"; @layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component, kol-forced-colors, kol-theme-forced-colors; @layer kol-a11y { :host { --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px); --kol-a11y-font-color: black; --kol-a11y-background-color: white; color: var(--kol-a11y-font-color); background-color: var(--kol-a11y-background-color); --kol-a11y-font-family: Verdana; font-family: var(--kol-a11y-font-family); letter-spacing: inherit; word-spacing: inherit; text-align: left; } * { hyphens: auto; word-break: break-word; } button, .kol-input .input { min-width: var(--a11y-min-size); min-height: var(--a11y-min-size); } a, button, h1, h2, h3, h4, h5, h6, input, option, select, textarea { color: inherit; font-family: inherit; font-size: inherit; letter-spacing: inherit; word-spacing: inherit; } .visually-hidden { position: fixed !important; top: 0; left: 0; width: 1px; height: 1px; margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; border: 0; clip-path: inset(50%); } } @layer kol-forced-colors { @media (forced-colors: active) { .kol-button__text { color: ButtonText; background-color: ButtonFace; border: 2px solid ButtonBorder; } .kol-button--disabled .kol-button__text { color: GrayText; border-color: GrayText; } .kol-link__interactive-element[aria-disabled=true], .kol-accordion__heading[aria-disabled=true], .kol-details__heading[aria-disabled=true] { color: GrayText; } .kol-link__interactive-element[aria-disabled=true] .kol-icon, .kol-link__interactive-element[aria-disabled=true] .kol-span__label, .kol-accordion__heading[aria-disabled=true] .kol-icon, .kol-accordion__heading[aria-disabled=true] .kol-span__label, .kol-details__heading[aria-disabled=true] .kol-icon, .kol-details__heading[aria-disabled=true] .kol-span__label { color: GrayText; } input:disabled, select:disabled, textarea:disabled { color: GrayText; border-color: GrayText; } .kol-card, .kol-dialog, .kol-modal { color: CanvasText; background-color: Canvas; border: 1px solid ButtonBorder; } .kol-meter meter { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-bar { background-color: Canvas; border-color: CanvasText; } .kol-meter meter::-webkit-meter-optimum-value, .kol-meter meter::-webkit-meter-suboptimum-value, .kol-meter meter::-webkit-meter-even-less-good-value { background-color: CanvasText; } .kol-meter meter::-moz-meter-bar { background-color: CanvasText; } .kol-pagination__button--selected .kol-button { opacity: 1; } .kol-pagination__button--selected .kol-button__text { color: SelectedItemText; background-color: SelectedItem; } .kol-button__interactive-element:focus-visible, .kol-link__interactive-element:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; } } } @layer kol-global { :is(a, button) { background-color: transparent; width: 100%; margin: 0; padding: 0; border: none; } [hidden] { display: none !important; } .badge-text-hint { color: black; background-color: white; } } @layer kol-global { :host { max-width: 100%; font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16)); } * { box-sizing: border-box; } .kol-span { display: flex; flex-flow: column; align-items: center; justify-content: center; } .kol-span__container { display: flex; align-items: center; } a, button { cursor: pointer; } button:disabled { color: unset; } .disabled label, .disabled:focus-within label, [aria-disabled=true], [aria-disabled=true]:focus, [disabled]:where(:not(fieldset)), [disabled]:where(:not(fieldset)):focus { outline: none; cursor: not-allowed; } [aria-disabled=true]:focus .kol-span, [disabled]:focus .kol-span { outline: none !important; } .hastooltip { z-index: 900 !important; } } @layer kol-component { .kol-quote { display: inline; margin: 0; padding: 0; } .kol-quote__cite::before { content: "—"; } .kol-quote--block .kol-quote__figcaption { display: inline; margin: 0; padding: 0; } .kol-quote__blockquote::before { content: open-quote; } .kol-quote__blockquote::after { content: close-quote; } }'};export{y as kol_quote}
|