@public-ui/components 4.1.2-rc.7 → 4.1.2-rc.9
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 +3 -10
- package/dist/cjs/{Alert-D-YqpEyB.js → Alert-B0V3X3wp.js} +1 -1
- package/dist/cjs/{Alert-D-YqpEyB.js.map → Alert-B0V3X3wp.js.map} +1 -1
- package/dist/cjs/{Collapsible-VZFYmGmP.js → Collapsible-D_iqIWGh.js} +1 -1
- package/dist/cjs/{Collapsible-VZFYmGmP.js.map → Collapsible-D_iqIWGh.js.map} +1 -1
- package/dist/cjs/{CustomSuggestionsOptionsGroup-B-MnrrBq.js → CustomSuggestionsOptionsGroup-DaP3aVOD.js} +1 -1
- package/dist/cjs/{CustomSuggestionsOptionsGroup-B-MnrrBq.js.map → CustomSuggestionsOptionsGroup-DaP3aVOD.js.map} +1 -1
- package/dist/cjs/FieldControlStateWrapper-CoK8uXUH.js +4 -0
- package/dist/cjs/FieldControlStateWrapper-CoK8uXUH.js.map +1 -0
- package/dist/cjs/FormFieldStateWrapper-B1k695Hd.js +4 -0
- package/dist/cjs/FormFieldStateWrapper-B1k695Hd.js.map +1 -0
- package/dist/cjs/{Heading-DXIETn4V.js → Heading-DhPc_Tq3.js} +1 -1
- package/dist/cjs/{Heading-DXIETn4V.js.map → Heading-DhPc_Tq3.js.map} +1 -1
- package/dist/cjs/{Input-_cDdoXXe.js → Input-DkATfA96.js} +1 -1
- package/dist/cjs/{Input-_cDdoXXe.js.map → Input-DkATfA96.js.map} +1 -1
- package/dist/cjs/{InputStateWrapper-755fX97C.js → InputStateWrapper-Ck7sMrXu.js} +1 -1
- package/dist/cjs/{InputStateWrapper-755fX97C.js.map → InputStateWrapper-Ck7sMrXu.js.map} +1 -1
- package/dist/cjs/_Uint8Array-BAQUGozM.js +4 -0
- package/dist/cjs/_Uint8Array-BAQUGozM.js.map +1 -0
- package/dist/cjs/align-DLZnj4_m.js +4 -0
- package/dist/cjs/{align-Dgke5npK.js.map → align-DLZnj4_m.js.map} +1 -1
- package/dist/cjs/{app-globals-ZeVbmS7w.js → app-globals-DaLgISvq.js} +1 -1
- package/dist/cjs/{app-globals-ZeVbmS7w.js.map → app-globals-DaLgISvq.js.map} +1 -1
- package/dist/cjs/{associated.controller-CdkbkfHV.js → associated.controller-Qtcakwi5.js} +1 -1
- package/dist/cjs/{associated.controller-CdkbkfHV.js.map → associated.controller-Qtcakwi5.js.map} +1 -1
- package/dist/cjs/base-controller-DAzsTqX9.js +4 -0
- package/dist/cjs/base-controller-DAzsTqX9.js.map +1 -0
- package/dist/cjs/{bem-registry-BYsM9uZG.js → bem-registry-BRaXxTgN.js} +1 -1
- package/dist/cjs/bem-registry-BRaXxTgN.js.map +1 -0
- package/dist/cjs/{bootstrap-Ct8zYDlN.js → bootstrap-CTHD2bd6.js} +1 -1
- package/dist/cjs/{bootstrap-Ct8zYDlN.js.map → bootstrap-CTHD2bd6.js.map} +1 -1
- package/dist/cjs/component-BnSFJ1yj.js +4 -0
- package/dist/cjs/{component-TRu1ySJ5.js.map → component-BnSFJ1yj.js.map} +1 -1
- package/dist/cjs/{component-_osv0u4g.js → component-CmSwyEt3.js} +1 -1
- package/dist/cjs/component-CmSwyEt3.js.map +1 -0
- package/dist/cjs/component-b-IdWBee.js +4 -0
- package/dist/cjs/component-b-IdWBee.js.map +1 -0
- package/dist/cjs/component-names-5KS_pYRF.js +4 -0
- package/dist/cjs/{component-names-CLJnvcGE.js.map → component-names-5KS_pYRF.js.map} +1 -1
- package/dist/cjs/{controller-CJDzd2rd.js → controller-CSEvtexE.js} +1 -1
- package/dist/cjs/{controller-CJDzd2rd.js.map → controller-CSEvtexE.js.map} +1 -1
- package/dist/cjs/controller-CTX_vdhu.js +4 -0
- package/dist/cjs/controller-CTX_vdhu.js.map +1 -0
- package/dist/cjs/{controller-BF2Jlaw1.js → controller-Cukn8V3a.js} +1 -1
- package/dist/cjs/{controller-BF2Jlaw1.js.map → controller-Cukn8V3a.js.map} +1 -1
- package/dist/cjs/{controller-Bf9yGxbh.js → controller-CwOOs92X.js} +1 -1
- package/dist/cjs/{controller-Bf9yGxbh.js.map → controller-CwOOs92X.js.map} +1 -1
- package/dist/cjs/controller-D3ETb78M.js +4 -0
- package/dist/cjs/controller-D3ETb78M.js.map +1 -0
- package/dist/cjs/{controller-DVajMOVA.js → controller-DXiXhgaj.js} +1 -1
- package/dist/cjs/{controller-DVajMOVA.js.map → controller-DXiXhgaj.js.map} +1 -1
- package/dist/cjs/controller-icon-BkgT5jQi.js +4 -0
- package/dist/cjs/{controller-icon-YX2g0qKC.js.map → controller-icon-BkgT5jQi.js.map} +1 -1
- package/dist/cjs/{dev.utils-DQ8NbpWO.js → dev.utils-Dm-X_NQd.js} +1 -1
- package/dist/cjs/{dev.utils-DQ8NbpWO.js.map → dev.utils-Dm-X_NQd.js.map} +1 -1
- package/dist/cjs/{devtools-ChJjJwrk.js → devtools-Y5183eVO.js} +1 -1
- package/dist/cjs/{devtools-ChJjJwrk.js.map → devtools-Y5183eVO.js.map} +1 -1
- package/dist/cjs/{index-DT9bjXlJ.js → index-DAruRs4C.js} +1 -1
- package/dist/cjs/{index-DT9bjXlJ.js.map → index-DAruRs4C.js.map} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/isArray-BOIOdEQh.js.map +1 -1
- package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
- package/dist/cjs/kol-abbr.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
- package/dist/cjs/kol-accordion.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-alert-wc.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-alert.cjs.entry.js +1 -1
- package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
- package/dist/cjs/kol-avatar.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-badge.cjs.entry.js +1 -1
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-wc.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-card-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-card.cjs.entry.js +1 -1
- package/dist/cjs/kol-click-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-click-button.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
- package/dist/cjs/kol-combobox.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-details.cjs.entry.js +1 -1
- package/dist/cjs/kol-details.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-dialog-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-dialog.cjs.entry.js +1 -1
- package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kol-form.cjs.entry.js +1 -1
- package/dist/cjs/kol-heading.cjs.entry.js +1 -1
- package/dist/cjs/kol-heading.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-icon.cjs.entry.js +1 -1
- package/dist/cjs/kol-icon.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-image.cjs.entry.js +1 -1
- package/dist/cjs/kol-image.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-checkbox.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-color.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-date.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-email.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-file.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-number.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-password.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-radio.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-range.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-text.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
- package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-link-wc.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-link.cjs.entry.js +1 -1
- package/dist/cjs/kol-meter.cjs.entry.js +1 -1
- package/dist/cjs/kol-meter.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-modal.cjs.entry.js +1 -1
- package/dist/cjs/kol-nav.cjs.entry.js +1 -1
- package/dist/cjs/kol-pagination-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
- package/dist/cjs/kol-popover-button-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-popover-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-progress.cjs.entry.js +1 -1
- package/dist/cjs/kol-progress.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-quote.cjs.entry.js +1 -1
- package/dist/cjs/kol-quote.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-select-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-select-wc.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-select.cjs.entry.js +1 -1
- package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
- package/dist/cjs/kol-single-select.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/kol-skeleton.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
- package/dist/cjs/kol-spin.cjs.entry.js +1 -1
- package/dist/cjs/kol-spin.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-settings-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-stateless-wc.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
- package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
- package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
- package/dist/cjs/kol-textarea.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/kol-toast-container.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-tooltip-wc.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
- package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-tree.cjs.entry.js +1 -1
- package/dist/cjs/kol-version.cjs.entry.js +1 -1
- package/dist/cjs/kolibri.cjs.js +1 -1
- package/dist/cjs/{label-BgtqjTS0.js → label-B0RK7DQ1.js} +1 -1
- package/dist/cjs/{label-BgtqjTS0.js.map → label-B0RK7DQ1.js.map} +1 -1
- package/dist/cjs/{level-Dqm4UuMn.js → level-CTvl-U1w.js} +1 -1
- package/dist/cjs/{level-Dqm4UuMn.js.map → level-CTvl-U1w.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/normalizers-CLRF8il-.js +4 -0
- package/dist/cjs/normalizers-CLRF8il-.js.map +1 -0
- package/dist/cjs/{src-nu8Hslhy.js → src-B5l3YIkL.js} +1 -1
- package/dist/cjs/{src-nu8Hslhy.js.map → src-B5l3YIkL.js.map} +1 -1
- package/dist/cjs/test-component.cjs.entry.js +1 -1
- package/dist/cjs/{tooltip-align-DykwbBJw.js → tooltip-align-BB5EsHsG.js} +1 -1
- package/dist/cjs/{tooltip-align-DykwbBJw.js.map → tooltip-align-BB5EsHsG.js.map} +1 -1
- package/dist/cjs/{unit-BHre4Npb.js → unit--BgFwr6T.js} +1 -1
- package/dist/cjs/{unit-BHre4Npb.js.map → unit--BgFwr6T.js.map} +1 -1
- package/dist/cjs/{validation-CVwHCleW.js → validation-V8d7SbhJ.js} +1 -1
- package/dist/cjs/{validation-CVwHCleW.js.map → validation-V8d7SbhJ.js.map} +1 -1
- package/dist/cjs/variant-quote-iZVwULXH.js +4 -0
- package/dist/cjs/variant-quote-iZVwULXH.js.map +1 -0
- package/dist/components/Alert.js +1 -1
- package/dist/components/Collapsible.js +1 -1
- package/dist/components/FieldControlStateWrapper.js +1 -1
- package/dist/components/FieldControlStateWrapper.js.map +1 -1
- package/dist/components/Input.js +1 -1
- package/dist/components/InputStateWrapper.js +1 -1
- package/dist/components/_Uint8Array.js +1 -1
- package/dist/components/_Uint8Array.js.map +1 -1
- package/dist/components/access-and-short-key.js +1 -1
- package/dist/components/align-floating-elements.js +1 -1
- package/dist/components/align.js +1 -1
- package/dist/components/align.js.map +1 -1
- package/dist/components/base-controller.js +4 -0
- package/dist/components/base-controller.js.map +1 -0
- package/dist/components/bem-registry.js +1 -1
- package/dist/components/bem-registry.js.map +1 -1
- package/dist/components/color.js +1 -1
- package/dist/components/common.js +1 -1
- package/dist/components/component-names.js +1 -1
- package/dist/components/component-names.js.map +1 -1
- package/dist/components/component.js +1 -1
- package/dist/components/component.js.map +1 -1
- package/dist/components/component2.js +1 -1
- package/dist/components/component2.js.map +1 -1
- package/dist/components/component3.js +4 -0
- package/dist/components/component3.js.map +1 -0
- package/dist/components/controller-icon.js +1 -1
- package/dist/components/controller.js +1 -1
- package/dist/components/controller.js.map +1 -1
- package/dist/components/controller2.js +1 -1
- package/dist/components/controller2.js.map +1 -1
- package/dist/components/controller3.js +1 -1
- package/dist/components/controller3.js.map +1 -1
- package/dist/components/controller4.js +1 -1
- package/dist/components/controller4.js.map +1 -1
- package/dist/components/controller5.js +1 -1
- package/dist/components/controller5.js.map +1 -1
- package/dist/components/controller6.js +1 -1
- package/dist/components/controller6.js.map +1 -1
- package/dist/components/controller7.js +4 -0
- package/dist/components/controller7.js.map +1 -0
- package/dist/components/dev.utils.js +1 -1
- package/dist/components/devtools.js +1 -1
- package/dist/components/disabled.js +1 -1
- package/dist/components/i18n.js +1 -1
- package/dist/components/isArray.js.map +1 -1
- package/dist/components/kol-abbr.js +1 -1
- package/dist/components/kol-abbr.js.map +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-avatar.js.map +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-wc.js +1 -1
- package/dist/components/kol-button-wc.js.map +1 -1
- package/dist/components/kol-button.js +1 -1
- package/dist/components/kol-card-wc.js +1 -1
- package/dist/components/kol-card-wc.js.map +1 -1
- package/dist/components/kol-card.js +1 -1
- package/dist/components/kol-click-button.js +1 -1
- package/dist/components/kol-click-button.js.map +1 -1
- package/dist/components/kol-combobox.js +1 -1
- package/dist/components/kol-details.js +1 -1
- package/dist/components/kol-dialog-wc.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-heading.js.map +1 -1
- package/dist/components/kol-icon.js +1 -1
- package/dist/components/kol-icon.js.map +1 -1
- package/dist/components/kol-image.js +1 -1
- package/dist/components/kol-image.js.map +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-wc.js +1 -1
- package/dist/components/kol-link-wc.js.map +1 -1
- package/dist/components/kol-link.js +1 -1
- package/dist/components/kol-meter.js +1 -1
- package/dist/components/kol-meter.js.map +1 -1
- package/dist/components/kol-modal.js +1 -1
- package/dist/components/kol-nav.js +1 -1
- package/dist/components/kol-pagination-wc.js +1 -1
- package/dist/components/kol-pagination.js +1 -1
- package/dist/components/kol-popover-button-wc.js +1 -1
- package/dist/components/kol-popover-button.js +1 -1
- package/dist/components/kol-progress.js +1 -1
- package/dist/components/kol-progress.js.map +1 -1
- package/dist/components/kol-quote.js +1 -1
- package/dist/components/kol-quote.js.map +1 -1
- package/dist/components/kol-select-wc.js +1 -1
- package/dist/components/kol-select.js +1 -1
- package/dist/components/kol-single-select.js +1 -1
- package/dist/components/kol-skeleton.js +1 -1
- package/dist/components/kol-skeleton.js.map +1 -1
- package/dist/components/kol-skip-nav.js +1 -1
- package/dist/components/kol-spin.js +1 -1
- package/dist/components/kol-spin.js.map +1 -1
- package/dist/components/kol-split-button.js +1 -1
- package/dist/components/kol-table-settings-wc.js +1 -1
- package/dist/components/kol-table-stateful.js +1 -1
- package/dist/components/kol-table-stateless-wc.js +1 -1
- package/dist/components/kol-table-stateless-wc.js.map +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-toast-container.js.map +1 -1
- package/dist/components/kol-toolbar.js +1 -1
- package/dist/components/kol-tooltip-wc.js +1 -1
- package/dist/components/kol-tooltip-wc.js.map +1 -1
- package/dist/components/kol-tree-item-wc.js +1 -1
- package/dist/components/kol-tree-item.js +1 -1
- package/dist/components/kol-tree-wc.js +1 -1
- package/dist/components/kol-tree.js +1 -1
- package/dist/components/kol-version.js +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/normalizers.js +1 -1
- package/dist/components/normalizers.js.map +1 -1
- package/dist/components/suggestions.js +1 -1
- package/dist/components/tooltip-align.js +1 -1
- package/dist/components/tooltip-open-tracking.js +1 -1
- package/dist/components/variant-quote.js +4 -0
- package/dist/components/variant-quote.js.map +1 -0
- package/dist/esm/{Alert-BCOTrqr_.js → Alert-tCK86mR9.js} +1 -1
- package/dist/{kolibri/Alert-BCOTrqr_.js.map → esm/Alert-tCK86mR9.js.map} +1 -1
- package/dist/esm/{Collapsible-Cxiz2gVO.js → Collapsible-Cj9F89Xs.js} +1 -1
- package/dist/esm/{Collapsible-Cxiz2gVO.js.map → Collapsible-Cj9F89Xs.js.map} +1 -1
- package/dist/esm/{CustomSuggestionsOptionsGroup-KAi-Zhy-.js → CustomSuggestionsOptionsGroup-nwMMJoTi.js} +1 -1
- package/dist/{kolibri/CustomSuggestionsOptionsGroup-KAi-Zhy-.js.map → esm/CustomSuggestionsOptionsGroup-nwMMJoTi.js.map} +1 -1
- package/dist/esm/FieldControlStateWrapper-jzhuJtcw.js +4 -0
- package/dist/esm/FieldControlStateWrapper-jzhuJtcw.js.map +1 -0
- package/dist/esm/FormFieldStateWrapper-CYyPrkIu.js +4 -0
- package/dist/esm/FormFieldStateWrapper-CYyPrkIu.js.map +1 -0
- package/dist/esm/{Heading-CdhA3sYv.js → Heading-NivGt5lH.js} +1 -1
- package/dist/{kolibri/Heading-CdhA3sYv.js.map → esm/Heading-NivGt5lH.js.map} +1 -1
- package/dist/esm/{Input-ZDG0uZKh.js → Input-DT4QeGU5.js} +1 -1
- package/dist/esm/{Input-ZDG0uZKh.js.map → Input-DT4QeGU5.js.map} +1 -1
- package/dist/esm/{InputStateWrapper-BO-OfVb2.js → InputStateWrapper-DQ8WZAj6.js} +1 -1
- package/dist/{kolibri/InputStateWrapper-BO-OfVb2.js.map → esm/InputStateWrapper-DQ8WZAj6.js.map} +1 -1
- package/dist/esm/_Uint8Array-kJHDjtoP.js +4 -0
- package/dist/esm/_Uint8Array-kJHDjtoP.js.map +1 -0
- package/dist/esm/{access-and-short-key-BzpC9FZP.js → access-and-short-key-D2TiPdWw.js} +1 -1
- package/dist/{kolibri/access-and-short-key-BzpC9FZP.js.map → esm/access-and-short-key-D2TiPdWw.js.map} +1 -1
- package/dist/esm/align-D3Z54kEL.js +4 -0
- package/dist/esm/{align-BmVteuP6.js.map → align-D3Z54kEL.js.map} +1 -1
- package/dist/esm/{align-floating-elements-DZlGJkZJ.js → align-floating-elements-58sFZOrL.js} +1 -1
- package/dist/esm/{align-floating-elements-DZlGJkZJ.js.map → align-floating-elements-58sFZOrL.js.map} +1 -1
- package/dist/esm/{app-globals-C8b8QdHH.js → app-globals-QmLLrOhZ.js} +1 -1
- package/dist/esm/{app-globals-C8b8QdHH.js.map → app-globals-QmLLrOhZ.js.map} +1 -1
- package/dist/esm/{associated.controller-8xCU8Tb0.js → associated.controller-BKQIR17-.js} +1 -1
- package/dist/esm/{associated.controller-8xCU8Tb0.js.map → associated.controller-BKQIR17-.js.map} +1 -1
- package/dist/esm/{auto-complete-B9cEw7-0.js → auto-complete-DmusaKxg.js} +1 -1
- package/dist/esm/{auto-complete-B9cEw7-0.js.map → auto-complete-DmusaKxg.js.map} +1 -1
- package/dist/esm/base-controller-CXhqh4cR.js +4 -0
- package/dist/esm/base-controller-CXhqh4cR.js.map +1 -0
- package/dist/esm/{bem-registry-DTQ0cuzY.js → bem-registry-Bux_TllX.js} +1 -1
- package/dist/esm/bem-registry-Bux_TllX.js.map +1 -0
- package/dist/esm/{bootstrap-BFbfb2g4.js → bootstrap-CbPXNlVt.js} +1 -1
- package/dist/esm/{bootstrap-BFbfb2g4.js.map → bootstrap-CbPXNlVt.js.map} +1 -1
- package/dist/esm/{color-CYYQM-HT.js → color-DLD0vupv.js} +1 -1
- package/dist/{kolibri/color-CYYQM-HT.js.map → esm/color-DLD0vupv.js.map} +1 -1
- package/dist/esm/{common-5ExJH6NU.js → common-BqV6Zb30.js} +1 -1
- package/dist/{kolibri/common-5ExJH6NU.js.map → esm/common-BqV6Zb30.js.map} +1 -1
- package/dist/esm/component-BU7rA3Iq.js +4 -0
- package/dist/esm/component-BU7rA3Iq.js.map +1 -0
- package/dist/esm/{component-JM2Le9Vy.js → component-BcphpQc1.js} +1 -1
- package/dist/esm/component-BcphpQc1.js.map +1 -0
- package/dist/esm/component-PEZ0eaV8.js +4 -0
- package/dist/{kolibri/component-CL5w48zL.js.map → esm/component-PEZ0eaV8.js.map} +1 -1
- package/dist/esm/{component-names-pgL1e5No.js → component-names-Dy77vq43.js} +1 -1
- package/dist/esm/{component-names-pgL1e5No.js.map → component-names-Dy77vq43.js.map} +1 -1
- package/dist/esm/{contrast-CCUc19be.js → contrast-DK7TU5NR.js} +1 -1
- package/dist/{kolibri/contrast-CCUc19be.js.map → esm/contrast-DK7TU5NR.js.map} +1 -1
- package/dist/esm/controller-30xZFasL.js +4 -0
- package/dist/esm/controller-30xZFasL.js.map +1 -0
- package/dist/esm/{controller-DioBPNwP.js → controller-90L8F3y2.js} +1 -1
- package/dist/esm/{controller-DioBPNwP.js.map → controller-90L8F3y2.js.map} +1 -1
- package/dist/esm/{controller-DpjFjZPx.js → controller-B26Xzibc.js} +1 -1
- package/dist/{kolibri/controller-DpjFjZPx.js.map → esm/controller-B26Xzibc.js.map} +1 -1
- package/dist/esm/controller-BhIDd4zH.js +4 -0
- package/dist/esm/controller-BhIDd4zH.js.map +1 -0
- package/dist/esm/{controller-D6XbseiE.js → controller-CXFmGceD.js} +1 -1
- package/dist/{kolibri/controller-D6XbseiE.js.map → esm/controller-CXFmGceD.js.map} +1 -1
- package/dist/esm/{controller-BOQfHWqN.js → controller-eUfCqvxN.js} +1 -1
- package/dist/{kolibri/controller-BOQfHWqN.js.map → esm/controller-eUfCqvxN.js.map} +1 -1
- package/dist/esm/controller-icon-CkbZA11D.js +4 -0
- package/dist/{kolibri/controller-icon-LTaTMYty.js.map → esm/controller-icon-CkbZA11D.js.map} +1 -1
- package/dist/esm/{custom-class-CuE7EhVR.js → custom-class-C5Yo1ysl.js} +1 -1
- package/dist/esm/{custom-class-CuE7EhVR.js.map → custom-class-C5Yo1ysl.js.map} +1 -1
- package/dist/esm/{dev.utils-CfUO8naH.js → dev.utils-1j51sOA0.js} +1 -1
- package/dist/esm/{dev.utils-CfUO8naH.js.map → dev.utils-1j51sOA0.js.map} +1 -1
- package/dist/esm/{devtools-CRtYm7JN.js → devtools-BoxfKJ14.js} +1 -1
- package/dist/esm/{devtools-CRtYm7JN.js.map → devtools-BoxfKJ14.js.map} +1 -1
- package/dist/esm/disabled-BBn2JEzf.js +4 -0
- package/dist/esm/{disabled-Cp_Z3qUn.js.map → disabled-BBn2JEzf.js.map} +1 -1
- package/dist/esm/{has-closer-EMsTDubn.js → has-closer-CfUBQHmY.js} +1 -1
- package/dist/esm/{has-closer-EMsTDubn.js.map → has-closer-CfUBQHmY.js.map} +1 -1
- package/dist/esm/{hide-label-BvUdILkE.js → hide-label-DQL9J6E_.js} +1 -1
- package/dist/esm/{hide-label-BvUdILkE.js.map → hide-label-DQL9J6E_.js.map} +1 -1
- package/dist/esm/{href-C6r5xl19.js → href-COBxk7m0.js} +1 -1
- package/dist/esm/{href-C6r5xl19.js.map → href-COBxk7m0.js.map} +1 -1
- package/dist/esm/{i18n-CSCkYcOW.js → i18n-BVaUp6qp.js} +1 -1
- package/dist/esm/{i18n-CSCkYcOW.js.map → i18n-BVaUp6qp.js.map} +1 -1
- package/dist/esm/{icons-Cl5Luo4Z.js → icons-CqQ9plmY.js} +1 -1
- package/dist/{kolibri/icons-Cl5Luo4Z.js.map → esm/icons-CqQ9plmY.js.map} +1 -1
- package/dist/esm/{index-BPtT34o3.js → index-Dva21o82.js} +1 -1
- package/dist/{kolibri/index-BPtT34o3.js.map → esm/index-Dva21o82.js.map} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{inline-MFnRAU4D.js → inline-D3xGVsIW.js} +1 -1
- package/dist/esm/{inline-MFnRAU4D.js.map → inline-D3xGVsIW.js.map} +1 -1
- package/dist/esm/isArray-CcrBs4JM.js.map +1 -1
- package/dist/esm/kol-abbr.entry.js +1 -1
- package/dist/esm/kol-abbr.entry.js.map +1 -1
- package/dist/esm/kol-accordion.entry.js +1 -1
- package/dist/esm/kol-accordion.entry.js.map +1 -1
- package/dist/esm/kol-alert-wc.entry.js +1 -1
- package/dist/esm/kol-alert-wc.entry.js.map +1 -1
- package/dist/esm/kol-alert.entry.js +1 -1
- package/dist/esm/kol-avatar.entry.js +1 -1
- package/dist/esm/kol-avatar.entry.js.map +1 -1
- package/dist/esm/kol-badge.entry.js +1 -1
- package/dist/esm/kol-breadcrumb.entry.js +1 -1
- package/dist/esm/kol-button-link.entry.js +1 -1
- package/dist/esm/kol-button-wc.entry.js +1 -1
- package/dist/esm/kol-button-wc.entry.js.map +1 -1
- package/dist/esm/kol-button.entry.js +1 -1
- package/dist/esm/kol-card-wc.entry.js +1 -1
- package/dist/esm/kol-card.entry.js +1 -1
- package/dist/esm/kol-click-button.entry.js +1 -1
- package/dist/esm/kol-click-button.entry.js.map +1 -1
- package/dist/esm/kol-combobox.entry.js +1 -1
- package/dist/esm/kol-combobox.entry.js.map +1 -1
- package/dist/esm/kol-details.entry.js +1 -1
- package/dist/esm/kol-details.entry.js.map +1 -1
- package/dist/esm/kol-dialog-wc.entry.js +1 -1
- package/dist/esm/kol-dialog.entry.js +1 -1
- package/dist/esm/kol-drawer.entry.js +1 -1
- package/dist/esm/kol-form.entry.js +1 -1
- package/dist/esm/kol-heading.entry.js +1 -1
- package/dist/esm/kol-heading.entry.js.map +1 -1
- package/dist/esm/kol-icon.entry.js +1 -1
- package/dist/esm/kol-icon.entry.js.map +1 -1
- package/dist/esm/kol-image.entry.js +1 -1
- package/dist/esm/kol-image.entry.js.map +1 -1
- package/dist/esm/kol-input-checkbox.entry.js +1 -1
- package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
- package/dist/esm/kol-input-color.entry.js +1 -1
- package/dist/esm/kol-input-color.entry.js.map +1 -1
- package/dist/esm/kol-input-date.entry.js +1 -1
- package/dist/esm/kol-input-date.entry.js.map +1 -1
- package/dist/esm/kol-input-email.entry.js +1 -1
- package/dist/esm/kol-input-email.entry.js.map +1 -1
- package/dist/esm/kol-input-file.entry.js +1 -1
- package/dist/esm/kol-input-file.entry.js.map +1 -1
- package/dist/esm/kol-input-number.entry.js +1 -1
- package/dist/esm/kol-input-number.entry.js.map +1 -1
- package/dist/esm/kol-input-password.entry.js +1 -1
- package/dist/esm/kol-input-password.entry.js.map +1 -1
- package/dist/esm/kol-input-radio.entry.js +1 -1
- package/dist/esm/kol-input-radio.entry.js.map +1 -1
- package/dist/esm/kol-input-range.entry.js +1 -1
- package/dist/esm/kol-input-range.entry.js.map +1 -1
- package/dist/esm/kol-input-text.entry.js +1 -1
- package/dist/esm/kol-input-text.entry.js.map +1 -1
- package/dist/esm/kol-kolibri.entry.js +1 -1
- package/dist/esm/kol-link-button.entry.js +1 -1
- package/dist/esm/kol-link-wc.entry.js +1 -1
- package/dist/esm/kol-link-wc.entry.js.map +1 -1
- package/dist/esm/kol-link.entry.js +1 -1
- package/dist/esm/kol-meter.entry.js +1 -1
- package/dist/esm/kol-meter.entry.js.map +1 -1
- package/dist/esm/kol-modal.entry.js +1 -1
- package/dist/esm/kol-nav.entry.js +1 -1
- package/dist/esm/kol-pagination-wc.entry.js +1 -1
- package/dist/esm/kol-pagination.entry.js +1 -1
- package/dist/esm/kol-popover-button-wc.entry.js +1 -1
- package/dist/esm/kol-popover-button.entry.js +1 -1
- package/dist/esm/kol-progress.entry.js +1 -1
- package/dist/esm/kol-progress.entry.js.map +1 -1
- package/dist/esm/kol-quote.entry.js +1 -1
- package/dist/esm/kol-quote.entry.js.map +1 -1
- package/dist/esm/kol-select-wc.entry.js +1 -1
- package/dist/esm/kol-select-wc.entry.js.map +1 -1
- package/dist/esm/kol-select.entry.js +1 -1
- package/dist/esm/kol-single-select.entry.js +1 -1
- package/dist/esm/kol-single-select.entry.js.map +1 -1
- package/dist/esm/kol-skeleton.entry.js +1 -1
- package/dist/esm/kol-skeleton.entry.js.map +1 -1
- package/dist/esm/kol-skip-nav.entry.js +1 -1
- package/dist/esm/kol-spin.entry.js +1 -1
- package/dist/esm/kol-spin.entry.js.map +1 -1
- package/dist/esm/kol-split-button.entry.js +1 -1
- package/dist/esm/kol-table-settings-wc.entry.js +1 -1
- package/dist/esm/kol-table-stateful.entry.js +1 -1
- package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
- package/dist/esm/kol-table-stateless-wc.entry.js.map +1 -1
- package/dist/esm/kol-table-stateless.entry.js +1 -1
- package/dist/esm/kol-tabs.entry.js +1 -1
- package/dist/esm/kol-textarea.entry.js +1 -1
- package/dist/esm/kol-textarea.entry.js.map +1 -1
- package/dist/esm/kol-toast-container.entry.js +1 -1
- package/dist/esm/kol-toast-container.entry.js.map +1 -1
- package/dist/esm/kol-toolbar.entry.js +1 -1
- package/dist/esm/kol-tooltip-wc.entry.js +1 -1
- package/dist/esm/kol-tooltip-wc.entry.js.map +1 -1
- package/dist/esm/kol-tree-item-wc.entry.js +1 -1
- package/dist/esm/kol-tree-item.entry.js +1 -1
- package/dist/esm/kol-tree-wc.entry.js +1 -1
- package/dist/esm/kol-tree.entry.js +1 -1
- package/dist/esm/kol-version.entry.js +1 -1
- package/dist/esm/kolibri.js +1 -1
- package/dist/esm/{label-YKsDbE5K.js → label-BEOW9ltS.js} +1 -1
- package/dist/{kolibri/label-YKsDbE5K.js.map → esm/label-BEOW9ltS.js.map} +1 -1
- package/dist/esm/{label-Cd37SRqu.js → label-vxVEH2gH.js} +1 -1
- package/dist/{kolibri/label-Cd37SRqu.js.map → esm/label-vxVEH2gH.js.map} +1 -1
- package/dist/esm/{level-BxYUNJ1-.js → level-Bwrb_jzT.js} +1 -1
- package/dist/{kolibri/level-BxYUNJ1-.js.map → esm/level-Bwrb_jzT.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{max-length-behavior-BQyK6pTW.js → max-length-behavior-DMw3rhwa.js} +1 -1
- package/dist/esm/{max-length-behavior-BQyK6pTW.js.map → max-length-behavior-DMw3rhwa.js.map} +1 -1
- package/dist/esm/{multiple-o7O9-jfG.js → multiple-sbfZAt7f.js} +1 -1
- package/dist/esm/{multiple-o7O9-jfG.js.map → multiple-sbfZAt7f.js.map} +1 -1
- package/dist/esm/normalizers-DnkJhVYZ.js +4 -0
- package/dist/esm/normalizers-DnkJhVYZ.js.map +1 -0
- package/dist/esm/{open-CQYEMxrb.js → open-BMZVrISI.js} +1 -1
- package/dist/esm/{open-CQYEMxrb.js.map → open-BMZVrISI.js.map} +1 -1
- package/dist/esm/{orientation-DqJ-qcRZ.js → orientation-D3LRVMo1.js} +1 -1
- package/dist/esm/{orientation-DqJ-qcRZ.js.map → orientation-D3LRVMo1.js.map} +1 -1
- package/dist/esm/{placeholder-DsAnRKrf.js → placeholder-BuBUMNhW.js} +1 -1
- package/dist/esm/{placeholder-DsAnRKrf.js.map → placeholder-BuBUMNhW.js.map} +1 -1
- package/dist/esm/{read-only-SN_GeL2X.js → read-only-DnkXqxgk.js} +1 -1
- package/dist/esm/{read-only-SN_GeL2X.js.map → read-only-DnkXqxgk.js.map} +1 -1
- package/dist/esm/{required-Ds8VBM7N.js → required-C9Xj8kw2.js} +1 -1
- package/dist/esm/{required-Ds8VBM7N.js.map → required-C9Xj8kw2.js.map} +1 -1
- package/dist/esm/{rows-DXMwg6VY.js → rows-lThApm3P.js} +1 -1
- package/dist/esm/{rows-DXMwg6VY.js.map → rows-lThApm3P.js.map} +1 -1
- package/dist/esm/{spell-check-SKqMIGfR.js → spell-check-Y1ApnP_M.js} +1 -1
- package/dist/esm/{spell-check-SKqMIGfR.js.map → spell-check-Y1ApnP_M.js.map} +1 -1
- package/dist/esm/{src-ZNAInwRj.js → src-D1LGDerl.js} +1 -1
- package/dist/esm/{src-ZNAInwRj.js.map → src-D1LGDerl.js.map} +1 -1
- package/dist/esm/{suggestions-Bu6noihP.js → suggestions-D5cst2OI.js} +1 -1
- package/dist/esm/{suggestions-Bu6noihP.js.map → suggestions-D5cst2OI.js.map} +1 -1
- package/dist/esm/{table-selection-Dp8qMfQK.js → table-selection-CXJmsMfX.js} +1 -1
- package/dist/esm/{table-selection-Dp8qMfQK.js.map → table-selection-CXJmsMfX.js.map} +1 -1
- package/dist/esm/test-component.entry.js +1 -1
- package/dist/esm/tooltip-align-DnbCY1Uu.js +4 -0
- package/dist/esm/{tooltip-align-D0H6p6J-.js.map → tooltip-align-DnbCY1Uu.js.map} +1 -1
- package/dist/esm/{tooltip-open-tracking-rBbBgPWP.js → tooltip-open-tracking-D3tCiiGP.js} +1 -1
- package/dist/esm/{tooltip-open-tracking-rBbBgPWP.js.map → tooltip-open-tracking-D3tCiiGP.js.map} +1 -1
- package/dist/esm/{unique-nav-labels-gjoTXEl2.js → unique-nav-labels-BIHfxulq.js} +1 -1
- package/dist/esm/{unique-nav-labels-gjoTXEl2.js.map → unique-nav-labels-BIHfxulq.js.map} +1 -1
- package/dist/esm/{unit-CT_uTXCe.js → unit-eRQuaHYy.js} +1 -1
- package/dist/esm/{unit-CT_uTXCe.js.map → unit-eRQuaHYy.js.map} +1 -1
- package/dist/esm/{validation-1WO5IiaK.js → validation-BytKl095.js} +1 -1
- package/dist/esm/{validation-1WO5IiaK.js.map → validation-BytKl095.js.map} +1 -1
- package/dist/esm/{validation-0DtswhYW.js → validation-JhNRqKy1.js} +1 -1
- package/dist/esm/{validation-0DtswhYW.js.map → validation-JhNRqKy1.js.map} +1 -1
- package/dist/esm/{variant-class-name-CXDTsEes.js → variant-class-name-BVKxs0G0.js} +1 -1
- package/dist/{kolibri/variant-class-name-CXDTsEes.js.map → esm/variant-class-name-BVKxs0G0.js.map} +1 -1
- package/dist/esm/variant-quote-CHD0qMkY.js +4 -0
- package/dist/esm/variant-quote-CHD0qMkY.js.map +1 -0
- package/dist/kolibri/Alert-tCK86mR9.js +4 -0
- package/dist/{esm/Alert-BCOTrqr_.js.map → kolibri/Alert-tCK86mR9.js.map} +1 -1
- package/dist/kolibri/Collapsible-Cj9F89Xs.js +4 -0
- package/dist/kolibri/{Collapsible-Cxiz2gVO.js.map → Collapsible-Cj9F89Xs.js.map} +1 -1
- package/dist/kolibri/{CustomSuggestionsOptionsGroup-KAi-Zhy-.js → CustomSuggestionsOptionsGroup-nwMMJoTi.js} +1 -1
- package/dist/{esm/CustomSuggestionsOptionsGroup-KAi-Zhy-.js.map → kolibri/CustomSuggestionsOptionsGroup-nwMMJoTi.js.map} +1 -1
- package/dist/kolibri/FieldControlStateWrapper-jzhuJtcw.js +4 -0
- package/dist/kolibri/FieldControlStateWrapper-jzhuJtcw.js.map +1 -0
- package/dist/kolibri/FormFieldStateWrapper-CYyPrkIu.js +4 -0
- package/dist/kolibri/FormFieldStateWrapper-CYyPrkIu.js.map +1 -0
- package/dist/kolibri/{Heading-CdhA3sYv.js → Heading-NivGt5lH.js} +1 -1
- package/dist/{esm/Heading-CdhA3sYv.js.map → kolibri/Heading-NivGt5lH.js.map} +1 -1
- package/dist/kolibri/Input-DT4QeGU5.js +4 -0
- package/dist/kolibri/{Input-ZDG0uZKh.js.map → Input-DT4QeGU5.js.map} +1 -1
- package/dist/kolibri/{InputStateWrapper-BO-OfVb2.js → InputStateWrapper-DQ8WZAj6.js} +1 -1
- package/dist/{esm/InputStateWrapper-BO-OfVb2.js.map → kolibri/InputStateWrapper-DQ8WZAj6.js.map} +1 -1
- package/dist/kolibri/_Uint8Array-kJHDjtoP.js +4 -0
- package/dist/kolibri/_Uint8Array-kJHDjtoP.js.map +1 -0
- package/dist/kolibri/{access-and-short-key-BzpC9FZP.js → access-and-short-key-D2TiPdWw.js} +1 -1
- package/dist/{esm/access-and-short-key-BzpC9FZP.js.map → kolibri/access-and-short-key-D2TiPdWw.js.map} +1 -1
- package/dist/kolibri/{align-BmVteuP6.js → align-D3Z54kEL.js} +1 -1
- package/dist/kolibri/{align-BmVteuP6.js.map → align-D3Z54kEL.js.map} +1 -1
- package/dist/kolibri/{align-floating-elements-DZlGJkZJ.js → align-floating-elements-58sFZOrL.js} +1 -1
- package/dist/kolibri/{align-floating-elements-DZlGJkZJ.js.map → align-floating-elements-58sFZOrL.js.map} +1 -1
- package/dist/kolibri/app-globals-QmLLrOhZ.js +4 -0
- package/dist/kolibri/{app-globals-C8b8QdHH.js.map → app-globals-QmLLrOhZ.js.map} +1 -1
- package/dist/kolibri/{associated.controller-8xCU8Tb0.js → associated.controller-BKQIR17-.js} +1 -1
- package/dist/kolibri/{associated.controller-8xCU8Tb0.js.map → associated.controller-BKQIR17-.js.map} +1 -1
- package/dist/kolibri/{auto-complete-B9cEw7-0.js → auto-complete-DmusaKxg.js} +1 -1
- package/dist/kolibri/{auto-complete-B9cEw7-0.js.map → auto-complete-DmusaKxg.js.map} +1 -1
- package/dist/kolibri/base-controller-CXhqh4cR.js +4 -0
- package/dist/kolibri/base-controller-CXhqh4cR.js.map +1 -0
- package/dist/kolibri/{bem-registry-DTQ0cuzY.js → bem-registry-Bux_TllX.js} +1 -1
- package/dist/kolibri/bem-registry-Bux_TllX.js.map +1 -0
- package/dist/kolibri/{bootstrap-BFbfb2g4.js → bootstrap-CbPXNlVt.js} +1 -1
- package/dist/kolibri/{bootstrap-BFbfb2g4.js.map → bootstrap-CbPXNlVt.js.map} +1 -1
- package/dist/kolibri/{color-CYYQM-HT.js → color-DLD0vupv.js} +1 -1
- package/dist/{esm/color-CYYQM-HT.js.map → kolibri/color-DLD0vupv.js.map} +1 -1
- package/dist/kolibri/{common-5ExJH6NU.js → common-BqV6Zb30.js} +1 -1
- package/dist/{esm/common-5ExJH6NU.js.map → kolibri/common-BqV6Zb30.js.map} +1 -1
- package/dist/kolibri/component-BU7rA3Iq.js +4 -0
- package/dist/kolibri/component-BU7rA3Iq.js.map +1 -0
- package/dist/kolibri/{component-JM2Le9Vy.js → component-BcphpQc1.js} +1 -1
- package/dist/kolibri/component-BcphpQc1.js.map +1 -0
- package/dist/kolibri/component-PEZ0eaV8.js +4 -0
- package/dist/{esm/component-CL5w48zL.js.map → kolibri/component-PEZ0eaV8.js.map} +1 -1
- package/dist/kolibri/{component-names-pgL1e5No.js → component-names-Dy77vq43.js} +1 -1
- package/dist/kolibri/{component-names-pgL1e5No.js.map → component-names-Dy77vq43.js.map} +1 -1
- package/dist/kolibri/{contrast-CCUc19be.js → contrast-DK7TU5NR.js} +1 -1
- package/dist/{esm/contrast-CCUc19be.js.map → kolibri/contrast-DK7TU5NR.js.map} +1 -1
- package/dist/kolibri/controller-30xZFasL.js +4 -0
- package/dist/kolibri/controller-30xZFasL.js.map +1 -0
- package/dist/kolibri/{controller-DioBPNwP.js → controller-90L8F3y2.js} +1 -1
- package/dist/kolibri/{controller-DioBPNwP.js.map → controller-90L8F3y2.js.map} +1 -1
- package/dist/kolibri/{controller-DpjFjZPx.js → controller-B26Xzibc.js} +1 -1
- package/dist/{esm/controller-DpjFjZPx.js.map → kolibri/controller-B26Xzibc.js.map} +1 -1
- package/dist/kolibri/controller-BhIDd4zH.js +4 -0
- package/dist/kolibri/controller-BhIDd4zH.js.map +1 -0
- package/dist/kolibri/controller-CXFmGceD.js +4 -0
- package/dist/{esm/controller-D6XbseiE.js.map → kolibri/controller-CXFmGceD.js.map} +1 -1
- package/dist/kolibri/{controller-BOQfHWqN.js → controller-eUfCqvxN.js} +1 -1
- package/dist/{esm/controller-BOQfHWqN.js.map → kolibri/controller-eUfCqvxN.js.map} +1 -1
- package/dist/kolibri/controller-icon-CkbZA11D.js +4 -0
- package/dist/{esm/controller-icon-LTaTMYty.js.map → kolibri/controller-icon-CkbZA11D.js.map} +1 -1
- package/dist/kolibri/custom-class-C5Yo1ysl.js +4 -0
- package/dist/kolibri/{custom-class-CuE7EhVR.js.map → custom-class-C5Yo1ysl.js.map} +1 -1
- package/dist/kolibri/{dev.utils-CfUO8naH.js → dev.utils-1j51sOA0.js} +1 -1
- package/dist/kolibri/{dev.utils-CfUO8naH.js.map → dev.utils-1j51sOA0.js.map} +1 -1
- package/dist/kolibri/{devtools-CRtYm7JN.js → devtools-BoxfKJ14.js} +1 -1
- package/dist/kolibri/{devtools-CRtYm7JN.js.map → devtools-BoxfKJ14.js.map} +1 -1
- package/dist/kolibri/{disabled-Cp_Z3qUn.js → disabled-BBn2JEzf.js} +1 -1
- package/dist/kolibri/{disabled-Cp_Z3qUn.js.map → disabled-BBn2JEzf.js.map} +1 -1
- package/dist/kolibri/has-closer-CfUBQHmY.js +4 -0
- package/dist/kolibri/{has-closer-EMsTDubn.js.map → has-closer-CfUBQHmY.js.map} +1 -1
- package/dist/kolibri/hide-label-DQL9J6E_.js +4 -0
- package/dist/kolibri/{hide-label-BvUdILkE.js.map → hide-label-DQL9J6E_.js.map} +1 -1
- package/dist/kolibri/href-COBxk7m0.js +4 -0
- package/dist/kolibri/{href-C6r5xl19.js.map → href-COBxk7m0.js.map} +1 -1
- package/dist/kolibri/i18n-BVaUp6qp.js +4 -0
- package/dist/kolibri/{i18n-CSCkYcOW.js.map → i18n-BVaUp6qp.js.map} +1 -1
- package/dist/kolibri/{icons-Cl5Luo4Z.js → icons-CqQ9plmY.js} +1 -1
- package/dist/{esm/icons-Cl5Luo4Z.js.map → kolibri/icons-CqQ9plmY.js.map} +1 -1
- package/dist/kolibri/{index-BPtT34o3.js → index-Dva21o82.js} +2 -2
- package/dist/{esm/index-BPtT34o3.js.map → kolibri/index-Dva21o82.js.map} +1 -1
- package/dist/kolibri/index.esm.js +1 -1
- package/dist/kolibri/inline-D3xGVsIW.js +4 -0
- package/dist/kolibri/{inline-MFnRAU4D.js.map → inline-D3xGVsIW.js.map} +1 -1
- package/dist/kolibri/isArray-CcrBs4JM.js.map +1 -1
- package/dist/kolibri/kol-abbr.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-abbr.entry.js +1 -1
- package/dist/kolibri/kol-abbr.entry.js.map +1 -1
- package/dist/kolibri/kol-accordion.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-accordion.entry.js +1 -1
- package/dist/kolibri/kol-accordion.entry.js.map +1 -1
- package/dist/kolibri/kol-alert-wc.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-alert-wc.entry.js +1 -1
- package/dist/kolibri/kol-alert-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-alert.entry.js +1 -1
- package/dist/kolibri/kol-avatar.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-avatar.entry.js +1 -1
- package/dist/kolibri/kol-avatar.entry.js.map +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-wc.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-button-wc.entry.js +1 -1
- package/dist/kolibri/kol-button-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-button.entry.js +1 -1
- package/dist/kolibri/kol-card-wc.entry.js +1 -1
- package/dist/kolibri/kol-card-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-card.entry.js +1 -1
- package/dist/kolibri/kol-click-button.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-click-button.entry.js +1 -1
- package/dist/kolibri/kol-click-button.entry.js.map +1 -1
- package/dist/kolibri/kol-combobox.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-combobox.entry.js +1 -1
- package/dist/kolibri/kol-combobox.entry.js.map +1 -1
- package/dist/kolibri/kol-details.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-details.entry.js +1 -1
- package/dist/kolibri/kol-details.entry.js.map +1 -1
- package/dist/kolibri/kol-dialog-wc.entry.js +1 -1
- package/dist/kolibri/kol-dialog-wc.entry.js.map +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.esm.js.map +1 -1
- package/dist/kolibri/kol-heading.entry.js +1 -1
- package/dist/kolibri/kol-heading.entry.js.map +1 -1
- package/dist/kolibri/kol-icon.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-icon.entry.js +1 -1
- package/dist/kolibri/kol-icon.entry.js.map +1 -1
- package/dist/kolibri/kol-image.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-image.entry.js +1 -1
- package/dist/kolibri/kol-image.entry.js.map +1 -1
- package/dist/kolibri/kol-input-checkbox.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
- package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
- package/dist/kolibri/kol-input-color.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-color.entry.js +1 -1
- package/dist/kolibri/kol-input-color.entry.js.map +1 -1
- package/dist/kolibri/kol-input-date.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-date.entry.js +1 -1
- package/dist/kolibri/kol-input-date.entry.js.map +1 -1
- package/dist/kolibri/kol-input-email.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-email.entry.js +1 -1
- package/dist/kolibri/kol-input-email.entry.js.map +1 -1
- package/dist/kolibri/kol-input-file.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-file.entry.js +1 -1
- package/dist/kolibri/kol-input-file.entry.js.map +1 -1
- package/dist/kolibri/kol-input-number.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-number.entry.js +1 -1
- package/dist/kolibri/kol-input-number.entry.js.map +1 -1
- package/dist/kolibri/kol-input-password.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-password.entry.js +1 -1
- package/dist/kolibri/kol-input-password.entry.js.map +1 -1
- package/dist/kolibri/kol-input-radio.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-radio.entry.js +1 -1
- package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
- package/dist/kolibri/kol-input-range.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-range.entry.js +1 -1
- package/dist/kolibri/kol-input-range.entry.js.map +1 -1
- package/dist/kolibri/kol-input-text.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-text.entry.js +1 -1
- package/dist/kolibri/kol-input-text.entry.js.map +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-wc.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-link-wc.entry.js +1 -1
- package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-link.entry.js +1 -1
- package/dist/kolibri/kol-meter.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-meter.entry.js +1 -1
- package/dist/kolibri/kol-meter.entry.js.map +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-wc.entry.js +1 -1
- package/dist/kolibri/kol-pagination-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-pagination.entry.js +1 -1
- package/dist/kolibri/kol-popover-button-wc.entry.js +1 -1
- package/dist/kolibri/kol-popover-button.entry.js +1 -1
- package/dist/kolibri/kol-progress.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-progress.entry.js +1 -1
- package/dist/kolibri/kol-progress.entry.js.map +1 -1
- package/dist/kolibri/kol-quote.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-quote.entry.js +1 -1
- package/dist/kolibri/kol-quote.entry.js.map +1 -1
- package/dist/kolibri/kol-select-wc.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-select-wc.entry.js +1 -1
- package/dist/kolibri/kol-select-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-select.entry.js +1 -1
- package/dist/kolibri/kol-single-select.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-single-select.entry.js +1 -1
- package/dist/kolibri/kol-single-select.entry.js.map +1 -1
- package/dist/kolibri/kol-skeleton.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-skeleton.entry.js +1 -1
- package/dist/kolibri/kol-skeleton.entry.js.map +1 -1
- package/dist/kolibri/kol-skip-nav.entry.js +1 -1
- package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
- package/dist/kolibri/kol-spin.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-spin.entry.js +1 -1
- package/dist/kolibri/kol-spin.entry.js.map +1 -1
- package/dist/kolibri/kol-split-button.entry.js +1 -1
- package/dist/kolibri/kol-split-button.entry.js.map +1 -1
- package/dist/kolibri/kol-table-settings-wc.entry.js +1 -1
- package/dist/kolibri/kol-table-settings-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-table-stateful.entry.js +1 -1
- package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
- package/dist/kolibri/kol-table-stateless-wc.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
- package/dist/kolibri/kol-table-stateless-wc.entry.js.map +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-tabs.entry.js.map +1 -1
- package/dist/kolibri/kol-textarea.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-textarea.entry.js +1 -1
- package/dist/kolibri/kol-textarea.entry.js.map +1 -1
- package/dist/kolibri/kol-toast-container.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-toast-container.entry.js +1 -1
- package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
- package/dist/kolibri/kol-toolbar.entry.js +1 -1
- package/dist/kolibri/kol-tooltip-wc.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
- package/dist/kolibri/kol-tooltip-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
- package/dist/kolibri/kol-tree-item.entry.js +1 -1
- package/dist/kolibri/kol-tree-item.entry.js.map +1 -1
- package/dist/kolibri/kol-tree-wc.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-YKsDbE5K.js → label-BEOW9ltS.js} +1 -1
- package/dist/{esm/label-YKsDbE5K.js.map → kolibri/label-BEOW9ltS.js.map} +1 -1
- package/dist/kolibri/{label-Cd37SRqu.js → label-vxVEH2gH.js} +1 -1
- package/dist/{esm/label-Cd37SRqu.js.map → kolibri/label-vxVEH2gH.js.map} +1 -1
- package/dist/kolibri/{level-BxYUNJ1-.js → level-Bwrb_jzT.js} +1 -1
- package/dist/{esm/level-BxYUNJ1-.js.map → kolibri/level-Bwrb_jzT.js.map} +1 -1
- package/dist/kolibri/{max-length-behavior-BQyK6pTW.js → max-length-behavior-DMw3rhwa.js} +1 -1
- package/dist/kolibri/{max-length-behavior-BQyK6pTW.js.map → max-length-behavior-DMw3rhwa.js.map} +1 -1
- package/dist/kolibri/multiple-sbfZAt7f.js +4 -0
- package/dist/kolibri/{multiple-o7O9-jfG.js.map → multiple-sbfZAt7f.js.map} +1 -1
- package/dist/kolibri/normalizers-DnkJhVYZ.js +4 -0
- package/dist/kolibri/normalizers-DnkJhVYZ.js.map +1 -0
- package/dist/kolibri/open-BMZVrISI.js +4 -0
- package/dist/kolibri/{open-CQYEMxrb.js.map → open-BMZVrISI.js.map} +1 -1
- package/dist/kolibri/{orientation-DqJ-qcRZ.js → orientation-D3LRVMo1.js} +1 -1
- package/dist/kolibri/{orientation-DqJ-qcRZ.js.map → orientation-D3LRVMo1.js.map} +1 -1
- package/dist/kolibri/placeholder-BuBUMNhW.js +4 -0
- package/dist/kolibri/{placeholder-DsAnRKrf.js.map → placeholder-BuBUMNhW.js.map} +1 -1
- package/dist/kolibri/read-only-DnkXqxgk.js +4 -0
- package/dist/kolibri/{read-only-SN_GeL2X.js.map → read-only-DnkXqxgk.js.map} +1 -1
- package/dist/kolibri/required-C9Xj8kw2.js +4 -0
- package/dist/kolibri/{required-Ds8VBM7N.js.map → required-C9Xj8kw2.js.map} +1 -1
- package/dist/kolibri/rows-lThApm3P.js +4 -0
- package/dist/kolibri/{rows-DXMwg6VY.js.map → rows-lThApm3P.js.map} +1 -1
- package/dist/kolibri/spell-check-Y1ApnP_M.js +4 -0
- package/dist/kolibri/{spell-check-SKqMIGfR.js.map → spell-check-Y1ApnP_M.js.map} +1 -1
- package/dist/kolibri/src-D1LGDerl.js +4 -0
- package/dist/kolibri/{src-ZNAInwRj.js.map → src-D1LGDerl.js.map} +1 -1
- package/dist/kolibri/{suggestions-Bu6noihP.js → suggestions-D5cst2OI.js} +1 -1
- package/dist/kolibri/{suggestions-Bu6noihP.js.map → suggestions-D5cst2OI.js.map} +1 -1
- package/dist/kolibri/{table-selection-Dp8qMfQK.js → table-selection-CXJmsMfX.js} +1 -1
- package/dist/kolibri/{table-selection-Dp8qMfQK.js.map → table-selection-CXJmsMfX.js.map} +1 -1
- package/dist/kolibri/test-component.entry.js +1 -1
- package/dist/kolibri/tooltip-align-DnbCY1Uu.js +4 -0
- package/dist/kolibri/{tooltip-align-D0H6p6J-.js.map → tooltip-align-DnbCY1Uu.js.map} +1 -1
- package/dist/kolibri/tooltip-open-tracking-D3tCiiGP.js +4 -0
- package/dist/kolibri/{tooltip-open-tracking-rBbBgPWP.js.map → tooltip-open-tracking-D3tCiiGP.js.map} +1 -1
- package/dist/kolibri/{unique-nav-labels-gjoTXEl2.js → unique-nav-labels-BIHfxulq.js} +1 -1
- package/dist/kolibri/{unique-nav-labels-gjoTXEl2.js.map → unique-nav-labels-BIHfxulq.js.map} +1 -1
- package/dist/kolibri/unit-eRQuaHYy.js +4 -0
- package/dist/kolibri/{unit-CT_uTXCe.js.map → unit-eRQuaHYy.js.map} +1 -1
- package/dist/kolibri/validation-BytKl095.js +4 -0
- package/dist/kolibri/{validation-1WO5IiaK.js.map → validation-BytKl095.js.map} +1 -1
- package/dist/kolibri/{validation-0DtswhYW.js → validation-JhNRqKy1.js} +1 -1
- package/dist/kolibri/{validation-0DtswhYW.js.map → validation-JhNRqKy1.js.map} +1 -1
- package/dist/kolibri/{variant-class-name-CXDTsEes.js → variant-class-name-BVKxs0G0.js} +1 -1
- package/dist/{esm/variant-class-name-CXDTsEes.js.map → kolibri/variant-class-name-BVKxs0G0.js.map} +1 -1
- package/dist/kolibri/variant-quote-CHD0qMkY.js +4 -0
- package/dist/kolibri/variant-quote-CHD0qMkY.js.map +1 -0
- package/dist/types/components/abbr/shadow.d.ts +5 -0
- package/dist/types/components/button/component.d.ts +3 -3
- package/dist/types/components/component-list.d.ts +26 -2
- package/dist/types/components/heading/component.d.ts +1 -2
- package/dist/types/components/icon/component.d.ts +1 -2
- package/dist/types/components/image/component.d.ts +1 -2
- package/dist/types/components/link/component.d.ts +2 -3
- package/dist/types/components/quote/component.d.ts +1 -2
- package/dist/types/components/spin/component.d.ts +17 -0
- package/dist/types/components/tooltip/component.d.ts +5 -31
- package/dist/types/components.d.ts +21 -24
- package/dist/types/functional-components/FieldControl/FieldControl.d.ts +2 -0
- package/dist/types/functional-components/FormField/FormField.d.ts +4 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/internal/functional-components/avatar/controller.d.ts +2 -2
- package/dist/types/internal/functional-components/base-controller.d.ts +4 -4
- package/dist/types/internal/functional-components/base-web-component.d.ts +3 -3
- package/dist/types/internal/functional-components/click-button/controller.d.ts +2 -2
- package/dist/types/internal/functional-components/generic-types.d.ts +4 -0
- package/dist/types/internal/functional-components/heading/controller.d.ts +2 -2
- package/dist/types/internal/functional-components/icon/controller.d.ts +2 -2
- package/dist/types/internal/functional-components/image/controller.d.ts +2 -2
- package/dist/types/internal/functional-components/meter/controller.d.ts +2 -2
- package/dist/types/internal/functional-components/progress/controller.d.ts +2 -2
- package/dist/types/internal/functional-components/quote/controller.d.ts +2 -2
- package/dist/types/internal/functional-components/skeleton/controller.d.ts +2 -2
- package/dist/types/internal/functional-components/spin/api.d.ts +13 -0
- package/dist/types/internal/functional-components/spin/component.d.ts +4 -0
- package/dist/types/internal/functional-components/spin/controller.d.ts +14 -0
- package/dist/types/internal/functional-components/tooltip/api.d.ts +10 -0
- package/dist/types/internal/functional-components/tooltip/component.d.ts +12 -0
- package/dist/types/internal/functional-components/tooltip/controller.d.ts +36 -0
- package/dist/types/internal/props/id.d.ts +3 -0
- package/dist/types/internal/props/index.d.ts +1 -1
- package/dist/types/internal/props/variant-spin.d.ts +5 -0
- package/dist/types/schema/bem-registry.d.ts +14 -0
- package/doc/spin.md +2 -13
- package/package.json +9 -8
- package/vscode-custom-data.json +1 -1
- package/dist/cjs/FieldControlStateWrapper-fuU7vCSF.js +0 -4
- package/dist/cjs/FieldControlStateWrapper-fuU7vCSF.js.map +0 -1
- package/dist/cjs/FormFieldStateWrapper-DFDKYGXF.js +0 -4
- package/dist/cjs/FormFieldStateWrapper-DFDKYGXF.js.map +0 -1
- package/dist/cjs/_Uint8Array-H2CXBET6.js +0 -4
- package/dist/cjs/_Uint8Array-H2CXBET6.js.map +0 -1
- package/dist/cjs/align-Dgke5npK.js +0 -4
- package/dist/cjs/base-web-component-C3wNPDxk.js +0 -4
- package/dist/cjs/base-web-component-C3wNPDxk.js.map +0 -1
- package/dist/cjs/bem-registry-BYsM9uZG.js.map +0 -1
- package/dist/cjs/component-TRu1ySJ5.js +0 -4
- package/dist/cjs/component-_osv0u4g.js.map +0 -1
- package/dist/cjs/component-names-CLJnvcGE.js +0 -4
- package/dist/cjs/controller-B2pSXz2k.js +0 -4
- package/dist/cjs/controller-B2pSXz2k.js.map +0 -1
- package/dist/cjs/controller-icon-YX2g0qKC.js +0 -4
- package/dist/cjs/isObject-CyNHuTNs.js +0 -4
- package/dist/cjs/isObject-CyNHuTNs.js.map +0 -1
- package/dist/cjs/normalizers-BJ2c2X_E.js +0 -4
- package/dist/cjs/normalizers-BJ2c2X_E.js.map +0 -1
- package/dist/components/base-web-component.js +0 -4
- package/dist/components/base-web-component.js.map +0 -1
- package/dist/components/isObject.js +0 -4
- package/dist/components/isObject.js.map +0 -1
- package/dist/esm/FieldControlStateWrapper-u5T9Z9S9.js +0 -4
- package/dist/esm/FieldControlStateWrapper-u5T9Z9S9.js.map +0 -1
- package/dist/esm/FormFieldStateWrapper-D9-nbrAT.js +0 -4
- package/dist/esm/FormFieldStateWrapper-D9-nbrAT.js.map +0 -1
- package/dist/esm/_Uint8Array-UP73qmmG.js +0 -4
- package/dist/esm/_Uint8Array-UP73qmmG.js.map +0 -1
- package/dist/esm/align-BmVteuP6.js +0 -4
- package/dist/esm/base-web-component-BnYjYRBQ.js +0 -4
- package/dist/esm/base-web-component-BnYjYRBQ.js.map +0 -1
- package/dist/esm/bem-registry-DTQ0cuzY.js.map +0 -1
- package/dist/esm/component-CL5w48zL.js +0 -4
- package/dist/esm/component-JM2Le9Vy.js.map +0 -1
- package/dist/esm/controller-BNZDhmmV.js +0 -4
- package/dist/esm/controller-BNZDhmmV.js.map +0 -1
- package/dist/esm/controller-icon-LTaTMYty.js +0 -4
- package/dist/esm/disabled-Cp_Z3qUn.js +0 -4
- package/dist/esm/isObject-BJgq02Md.js +0 -4
- package/dist/esm/isObject-BJgq02Md.js.map +0 -1
- package/dist/esm/normalizers-KEHwXLG5.js +0 -4
- package/dist/esm/normalizers-KEHwXLG5.js.map +0 -1
- package/dist/esm/tooltip-align-D0H6p6J-.js +0 -4
- package/dist/kolibri/Alert-BCOTrqr_.js +0 -4
- package/dist/kolibri/Collapsible-Cxiz2gVO.js +0 -4
- package/dist/kolibri/FieldControlStateWrapper-u5T9Z9S9.js +0 -4
- package/dist/kolibri/FieldControlStateWrapper-u5T9Z9S9.js.map +0 -1
- package/dist/kolibri/FormFieldStateWrapper-D9-nbrAT.js +0 -4
- package/dist/kolibri/FormFieldStateWrapper-D9-nbrAT.js.map +0 -1
- package/dist/kolibri/Input-ZDG0uZKh.js +0 -4
- package/dist/kolibri/_Uint8Array-UP73qmmG.js +0 -4
- package/dist/kolibri/_Uint8Array-UP73qmmG.js.map +0 -1
- package/dist/kolibri/app-globals-C8b8QdHH.js +0 -4
- package/dist/kolibri/base-web-component-BnYjYRBQ.js +0 -4
- package/dist/kolibri/base-web-component-BnYjYRBQ.js.map +0 -1
- package/dist/kolibri/bem-registry-DTQ0cuzY.js.map +0 -1
- package/dist/kolibri/component-CL5w48zL.js +0 -4
- package/dist/kolibri/component-JM2Le9Vy.js.map +0 -1
- package/dist/kolibri/controller-BNZDhmmV.js +0 -4
- package/dist/kolibri/controller-BNZDhmmV.js.map +0 -1
- package/dist/kolibri/controller-D6XbseiE.js +0 -4
- package/dist/kolibri/controller-icon-LTaTMYty.js +0 -4
- package/dist/kolibri/custom-class-CuE7EhVR.js +0 -4
- package/dist/kolibri/has-closer-EMsTDubn.js +0 -4
- package/dist/kolibri/hide-label-BvUdILkE.js +0 -4
- package/dist/kolibri/href-C6r5xl19.js +0 -4
- package/dist/kolibri/i18n-CSCkYcOW.js +0 -4
- package/dist/kolibri/inline-MFnRAU4D.js +0 -4
- package/dist/kolibri/isObject-BJgq02Md.js +0 -4
- package/dist/kolibri/isObject-BJgq02Md.js.map +0 -1
- package/dist/kolibri/multiple-o7O9-jfG.js +0 -4
- package/dist/kolibri/normalizers-KEHwXLG5.js +0 -4
- package/dist/kolibri/normalizers-KEHwXLG5.js.map +0 -1
- package/dist/kolibri/open-CQYEMxrb.js +0 -4
- package/dist/kolibri/placeholder-DsAnRKrf.js +0 -4
- package/dist/kolibri/read-only-SN_GeL2X.js +0 -4
- package/dist/kolibri/required-Ds8VBM7N.js +0 -4
- package/dist/kolibri/rows-DXMwg6VY.js +0 -4
- package/dist/kolibri/spell-check-SKqMIGfR.js +0 -4
- package/dist/kolibri/src-ZNAInwRj.js +0 -4
- package/dist/kolibri/tooltip-align-D0H6p6J-.js +0 -4
- package/dist/kolibri/tooltip-open-tracking-rBbBgPWP.js +0 -4
- package/dist/kolibri/unit-CT_uTXCe.js +0 -4
- package/dist/kolibri/validation-1WO5IiaK.js +0 -4
- package/dist/types/components/spin/shadow.d.ts +0 -16
- package/dist/types/functional-components/FormFieldTooltip/FormFieldTooltip.d.ts +0 -11
- package/dist/types/functional-components/FormFieldTooltip/index.d.ts +0 -1
- package/dist/types/functional-components/FormFieldTooltip/tests/snapshort.test.d.ts +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{proxyCustomElement,HTMLElement,h}from"@stencil/core/internal/client";import{K as KolCollapsibleFc}from"./Collapsible.js";import{b as watchValidator}from"./common.js";import{v as validateDisabled}from"./disabled.js";import{v as validateLabel}from"./label.js";import{v as validateOpen}from"./open.js";import{n as nonce}from"./dev.utils.js";import{d as delegateClick,s as setClick}from"./element-click.js";import{d as delegateFocus,s as setFocus}from"./element-focus.js";import{d as dispatchDomEvent,K as KolEvent}from"./events.js";import{w as watchHeadingLevel}from"./validation.js";const validateDetailsCallbacks=(n,e)=>{watchValidator(n,"_on",n=>"object"==typeof n&&null!==n,new Set(["DetailsCallbacksPropType {Events.onToggle}"]),e)},defaultStyleCss='@charset "UTF-8";\n/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type=\'checkbox\'], [type=\'radio\'], [type=\'range\']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don\'t want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n/* For animation technique see https://css-tricks.com/css-grid-can-do-auto-height-transitions/ */\n@layer kol-component {\n @media (prefers-reduced-motion) {\n .collapsible__wrapper-animation, .collapsible__wrapper {\n transition: none !important;\n }\n }\n .collapsible {\n /* @see https://github.com/public-ui/kolibri/issues/5952 */\n }\n @media print {\n :not(.collapsible--open) .collapsible__wrapper-animation {\n display: none;\n }\n }\n .collapsible__wrapper {\n /* Forces the element into its own GPU compositing layer (via 3D transform). Helps prevent rendering/layout bugs (e.g. #7511) and may improve animation performance. */\n transform: translateZ(0);\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n grid-template-rows: 0fr;\n transition: grid-template-rows 0.3s;\n }\n .collapsible__wrapper-animation {\n opacity: 0;\n transform: scaleY(0);\n transform-origin: top;\n min-height: 0;\n /* This property is important to keep in sync with the visual transition (template-rows). Without it interactive elements within the accordion would stay focusable. */\n visibility: hidden;\n transition: transform 0.3s, opacity 0.3s, visibility 0.3s;\n }\n .collapsible--open .collapsible__wrapper {\n grid-template-rows: 1fr;\n }\n .collapsible--open .collapsible__wrapper-animation {\n opacity: 1;\n transform: scaleY(1);\n visibility: visible;\n }\n .collapsible {\n /*\n * Inside a button, the caption text is always centered.\n * So we have to align the text to the left.\n */\n }\n .collapsible__heading-button button .kol-span {\n align-items: flex-start;\n }\n .collapsible--open:focus-within {\n position: relative;\n z-index: 100;\n }\n}\n@font-face {\n font-family: "kolicons";\n src: url("kolicons.eot?t=1774956515321"); /* IE9*/\n src: url("kolicons.eot?t=1774956515321#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1774956515321") format("woff2"), url("kolicons.woff?t=1774956515321") format("woff"), url("kolicons.ttf?t=1774956515321") format("truetype"), url("kolicons.svg?t=1774956515321#kolicons") format("svg"); /* iOS 4.1- */\n}\n@layer kol-component {\n [class^=kolicon-], [class*=" kolicon-"] {\n font-family: "kolicons";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .kolicon-alert-error::before {\n content: "\\ea01";\n }\n .kolicon-alert-info::before {\n content: "\\ea02";\n }\n .kolicon-alert-success::before {\n content: "\\ea03";\n }\n .kolicon-alert-warning::before {\n content: "\\ea04";\n }\n .kolicon-check::before {\n content: "\\ea05";\n }\n .kolicon-chevron-double-left::before {\n content: "\\ea06";\n }\n .kolicon-chevron-double-right::before {\n content: "\\ea07";\n }\n .kolicon-chevron-down::before {\n content: "\\ea08";\n }\n .kolicon-chevron-left::before {\n content: "\\ea09";\n }\n .kolicon-chevron-right::before {\n content: "\\ea0a";\n }\n .kolicon-chevron-up::before {\n content: "\\ea0b";\n }\n .kolicon-cogwheel::before {\n content: "\\ea0c";\n }\n .kolicon-cross::before {\n content: "\\ea0d";\n }\n .kolicon-eye-closed::before {\n content: "\\ea0e";\n }\n .kolicon-eye::before {\n content: "\\ea0f";\n }\n .kolicon-house::before {\n content: "\\ea10";\n }\n .kolicon-kolibri::before {\n content: "\\ea11";\n }\n .kolicon-link-external::before {\n content: "\\ea12";\n }\n .kolicon-link::before {\n content: "\\ea13";\n }\n .kolicon-minus::before {\n content: "\\ea14";\n }\n .kolicon-plus::before {\n content: "\\ea15";\n }\n .kolicon-settings::before {\n content: "\\ea16";\n }\n .kolicon-sort-asc::before {\n content: "\\ea17";\n }\n .kolicon-sort-desc::before {\n content: "\\ea18";\n }\n .kolicon-sort-neutral::before {\n content: "\\ea19";\n }\n .kolicon-up::before {\n content: "\\ea1a";\n }\n .kolicon-version::before {\n content: "\\ea1b";\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: #000;\n background-color: #fff;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: #000;\n background-color: #fff;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n :host {\n display: inline-block;\n }\n .kol-button {\n display: flex;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n }\n .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: "";\n }\n .kol-button__text {\n flex: 1 0 100%;\n }\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .collapsible--open .kol-details__heading-button .kol-icon {\n transform: rotate(90deg);\n }\n}',KolDetails$1=proxyCustomElement(class extends HTMLElement{constructor(n){super(),!1!==n&&this.__registerHost(),this.__attachShadow(),this.nonce=nonce(),this.setButtonWcRef=n=>{this.buttonWcRef=n},this.handleOnClick=n=>{this._open=!this._open,clearTimeout(this.toggleTimeout),this.toggleTimeout=setTimeout(()=>{var e,t;this.host&&dispatchDomEvent(this.host,KolEvent.toggle,Boolean(this._open)),null===(t=null===(e=this.state._on)||void 0===e?void 0:e.onToggle)||void 0===t||t.call(e,n,Boolean(this._open))},25)},this._disabled=!1,this._level=0,this._open=!1,this.state={_label:"",_level:0,_on:{}}}async focus(){return delegateFocus(this.host,()=>setFocus(this.buttonWcRef))}async click(){return delegateClick(this.host,async()=>setClick(this.buttonWcRef))}render(){const{_open:n,_label:e,_disabled:t,_level:o}=this.state,i="kol-details",l={id:this.nonce,label:e,open:n,disabled:t,level:o,onClick:this.handleOnClick,class:i,HeadingProps:{class:`${i}__heading`},HeadingButtonProps:{ref:this.setButtonWcRef,class:`${i}__heading-button`,_icons:"kolicon-chevron-right"},ContentProps:{class:`${i}__content indented-text`,wrapperClass:`${i}__wrapper`,animationClass:`${i}__wrapper-animation`}};return h(KolCollapsibleFc,Object.assign({key:"3c99d7ecc7dbbae70baa196aa2d45a1746212830"},l),h("slot",{key:"5d9579bb486d5d1c0fced9d8dfc44f384034ef07"}))}validateDisabled(n){validateDisabled(this,n)}validateLabel(n){validateLabel(this,n,{required:!0})}validateLevel(n){watchHeadingLevel(this,n)}validateOn(n){validateDetailsCallbacks(this,n)}validateOpen(n){validateOpen(this,n)}componentWillLoad(){this.validateDisabled(this._disabled),this.validateLabel(this._label),this.validateLevel(this._level),this.validateOn(this._on),this.validateOpen(this._open)}get host(){return this}static get watchers(){return{_disabled:["validateDisabled"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_open:["validateOpen"]}}static get style(){return{default:defaultStyleCss}}},[289,"kol-details",{_disabled:[4],_label:[1],_level:[2],_on:[16],_open:[1540],state:[32],focus:[64],click:[64]},void 0,{_disabled:["validateDisabled"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_open:["validateOpen"]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-details"].forEach(n=>{if("kol-details"===n)customElements.get(n)||customElements.define(n,KolDetails$1)})}const KolDetails=KolDetails$1,defineCustomElement=defineCustomElement$1;export{KolDetails,defineCustomElement};
|
|
4
|
+
import{proxyCustomElement,HTMLElement,h}from"@stencil/core/internal/client";import{K as KolCollapsibleFc}from"./Collapsible.js";import{b as watchValidator}from"./common.js";import{v as validateDisabled}from"./disabled.js";import{v as validateLabel}from"./label.js";import{v as validateOpen}from"./open.js";import{n as nonce}from"./dev.utils.js";import{d as delegateClick,s as setClick}from"./element-click.js";import{d as delegateFocus,s as setFocus}from"./element-focus.js";import{d as dispatchDomEvent,K as KolEvent}from"./events.js";import{w as watchHeadingLevel}from"./validation.js";const validateDetailsCallbacks=(n,e)=>{watchValidator(n,"_on",n=>"object"==typeof n&&null!==n,new Set(["DetailsCallbacksPropType {Events.onToggle}"]),e)},defaultStyleCss='@charset "UTF-8";\n/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type=\'checkbox\'], [type=\'radio\'], [type=\'range\']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don\'t want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n/* For animation technique see https://css-tricks.com/css-grid-can-do-auto-height-transitions/ */\n@layer kol-component {\n @media (prefers-reduced-motion) {\n .collapsible__wrapper-animation, .collapsible__wrapper {\n transition: none !important;\n }\n }\n .collapsible {\n /* @see https://github.com/public-ui/kolibri/issues/5952 */\n }\n @media print {\n :not(.collapsible--open) .collapsible__wrapper-animation {\n display: none;\n }\n }\n .collapsible__wrapper {\n /* Forces the element into its own GPU compositing layer (via 3D transform). Helps prevent rendering/layout bugs (e.g. #7511) and may improve animation performance. */\n transform: translateZ(0);\n display: grid;\n grid-template-columns: minmax(0, 1fr);\n grid-template-rows: 0fr;\n transition: grid-template-rows 0.3s;\n }\n .collapsible__wrapper-animation {\n opacity: 0;\n transform: scaleY(0);\n transform-origin: top;\n min-height: 0;\n /* This property is important to keep in sync with the visual transition (template-rows). Without it interactive elements within the accordion would stay focusable. */\n visibility: hidden;\n transition: transform 0.3s, opacity 0.3s, visibility 0.3s;\n }\n .collapsible--open .collapsible__wrapper {\n grid-template-rows: 1fr;\n }\n .collapsible--open .collapsible__wrapper-animation {\n opacity: 1;\n transform: scaleY(1);\n visibility: visible;\n }\n .collapsible {\n /*\n * Inside a button, the caption text is always centered.\n * So we have to align the text to the left.\n */\n }\n .collapsible__heading-button button .kol-span {\n align-items: flex-start;\n }\n .collapsible--open:focus-within {\n position: relative;\n z-index: 100;\n }\n}\n@font-face {\n font-family: "kolicons";\n src: url("kolicons.eot?t=1775124354743"); /* IE9*/\n src: url("kolicons.eot?t=1775124354743#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1775124354743") format("woff2"), url("kolicons.woff?t=1775124354743") format("woff"), url("kolicons.ttf?t=1775124354743") format("truetype"), url("kolicons.svg?t=1775124354743#kolicons") format("svg"); /* iOS 4.1- */\n}\n@layer kol-component {\n [class^=kolicon-], [class*=" kolicon-"] {\n font-family: "kolicons";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .kolicon-alert-error::before {\n content: "\\ea01";\n }\n .kolicon-alert-info::before {\n content: "\\ea02";\n }\n .kolicon-alert-success::before {\n content: "\\ea03";\n }\n .kolicon-alert-warning::before {\n content: "\\ea04";\n }\n .kolicon-check::before {\n content: "\\ea05";\n }\n .kolicon-chevron-double-left::before {\n content: "\\ea06";\n }\n .kolicon-chevron-double-right::before {\n content: "\\ea07";\n }\n .kolicon-chevron-down::before {\n content: "\\ea08";\n }\n .kolicon-chevron-left::before {\n content: "\\ea09";\n }\n .kolicon-chevron-right::before {\n content: "\\ea0a";\n }\n .kolicon-chevron-up::before {\n content: "\\ea0b";\n }\n .kolicon-cogwheel::before {\n content: "\\ea0c";\n }\n .kolicon-cross::before {\n content: "\\ea0d";\n }\n .kolicon-eye-closed::before {\n content: "\\ea0e";\n }\n .kolicon-eye::before {\n content: "\\ea0f";\n }\n .kolicon-house::before {\n content: "\\ea10";\n }\n .kolicon-kolibri::before {\n content: "\\ea11";\n }\n .kolicon-link-external::before {\n content: "\\ea12";\n }\n .kolicon-link::before {\n content: "\\ea13";\n }\n .kolicon-minus::before {\n content: "\\ea14";\n }\n .kolicon-plus::before {\n content: "\\ea15";\n }\n .kolicon-settings::before {\n content: "\\ea16";\n }\n .kolicon-sort-asc::before {\n content: "\\ea17";\n }\n .kolicon-sort-desc::before {\n content: "\\ea18";\n }\n .kolicon-sort-neutral::before {\n content: "\\ea19";\n }\n .kolicon-up::before {\n content: "\\ea1a";\n }\n .kolicon-version::before {\n content: "\\ea1b";\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: #000;\n background-color: #fff;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: #000;\n background-color: #fff;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n :host {\n display: inline-block;\n }\n .kol-button {\n display: flex;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n }\n .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: "";\n }\n .kol-button__text {\n flex: 1 0 100%;\n }\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .collapsible--open .kol-details__heading-button .kol-icon {\n transform: rotate(90deg);\n }\n}',KolDetails$1=proxyCustomElement(class extends HTMLElement{constructor(n){super(),!1!==n&&this.__registerHost(),this.__attachShadow(),this.nonce=nonce(),this.setButtonWcRef=n=>{this.buttonWcRef=n},this.handleOnClick=n=>{this._open=!this._open,clearTimeout(this.toggleTimeout),this.toggleTimeout=setTimeout(()=>{var e,t;this.host&&dispatchDomEvent(this.host,KolEvent.toggle,Boolean(this._open)),null===(t=null===(e=this.state._on)||void 0===e?void 0:e.onToggle)||void 0===t||t.call(e,n,Boolean(this._open))},25)},this._disabled=!1,this._level=0,this._open=!1,this.state={_label:"",_level:0,_on:{}}}async focus(){return delegateFocus(this.host,()=>setFocus(this.buttonWcRef))}async click(){return delegateClick(this.host,async()=>setClick(this.buttonWcRef))}render(){const{_open:n,_label:e,_disabled:t,_level:o}=this.state,i="kol-details",l={id:this.nonce,label:e,open:n,disabled:t,level:o,onClick:this.handleOnClick,class:i,HeadingProps:{class:`${i}__heading`},HeadingButtonProps:{ref:this.setButtonWcRef,class:`${i}__heading-button`,_icons:"kolicon-chevron-right"},ContentProps:{class:`${i}__content indented-text`,wrapperClass:`${i}__wrapper`,animationClass:`${i}__wrapper-animation`}};return h(KolCollapsibleFc,Object.assign({key:"48b1c7d06f8fbbf1edd7ecec6c991fd07f849bf4"},l),h("slot",{key:"be0f951eb8f896e543efc6690daaced71cd8e2d9"}))}validateDisabled(n){validateDisabled(this,n)}validateLabel(n){validateLabel(this,n,{required:!0})}validateLevel(n){watchHeadingLevel(this,n)}validateOn(n){validateDetailsCallbacks(this,n)}validateOpen(n){validateOpen(this,n)}componentWillLoad(){this.validateDisabled(this._disabled),this.validateLabel(this._label),this.validateLevel(this._level),this.validateOn(this._on),this.validateOpen(this._open)}get host(){return this}static get watchers(){return{_disabled:["validateDisabled"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_open:["validateOpen"]}}static get style(){return{default:defaultStyleCss}}},[289,"kol-details",{_disabled:[4],_label:[1],_level:[2],_on:[16],_open:[1540],state:[32],focus:[64],click:[64]},void 0,{_disabled:["validateDisabled"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_open:["validateOpen"]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-details"].forEach(n=>{if("kol-details"===n)customElements.get(n)||customElements.define(n,KolDetails$1)})}const KolDetails=KolDetails$1,defineCustomElement=defineCustomElement$1;export{KolDetails,defineCustomElement};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{proxyCustomElement,HTMLElement,h}from"@stencil/core/internal/client";import{
|
|
4
|
+
import{proxyCustomElement,HTMLElement,h}from"@stencil/core/internal/client";import{d as KolCardWcTag}from"./component-names.js";import{j as watchString,b as watchValidator,s as setState}from"./common.js";import{v as validateLabel}from"./label.js";import{c as clsx}from"./clsx.js";import{d as dispatchDomEvent,K as KolEvent}from"./events.js";import{h as handleCancelOverlay}from"./tooltip-open-tracking.js";const validateWidth=(a,t,e)=>{watchString(a,"_width",t,Object.assign({defaultValue:"100%"},e))},DialogVariantPropTypeOptions=["blank","card"],validateDialogVariant=(a,t)=>{watchValidator(a,"_variant",a=>"string"==typeof a&&DialogVariantPropTypeOptions.includes(a),new Set(DialogVariantPropTypeOptions),t)},KolDialogWc$1=proxyCustomElement(class extends HTMLElement{constructor(a){super(),!1!==a&&this.__registerHost(),this.on={onClose:async()=>{await this.closeModal()}},this._width="100%",this._variant="blank",this.state={_label:"",_width:"100%"}}disconnectedCallback(){this.closeModal()}handleNativeCloseEvent(){var a,t;null===(t=null===(a=this.state._on)||void 0===a?void 0:a.onClose)||void 0===t||t.call(a),this.host&&dispatchDomEvent(this.host,KolEvent.close)}async openModal(){var a;null===(a=this.refDialog)||void 0===a||a.showModal()}async closeModal(){var a,t;null===(t=null===(a=this.refDialog)||void 0===a?void 0:a.close)||void 0===t||t.call(a)}render(){return h("dialog",{key:"baea025a39daf28dae1c8a597ddedd77fe80e926","aria-label":this.state._label,class:clsx("kol-dialog","kol-modal",{"kol-dialog__blank":"blank"===this.state._variant,"kol-dialog__card":"card"===this.state._variant,"kol-modal__blank":"blank"===this.state._variant,"kol-modal__card":"card"===this.state._variant}),onCancel:handleCancelOverlay,onClose:this.handleNativeCloseEvent.bind(this),ref:a=>{this.refDialog=a},style:{width:this.state._width}},"blank"===this.state._variant&&h("slot",{key:"e2c1743c76a00fb9030167de83e16c9285223c33"}),"card"===this.state._variant&&h(KolCardWcTag,{key:"14c9018044bb14df50796ef8e8a772caa3a726ac",_label:this.state._label,_hasCloser:!0,_on:this.on},h("slot",{key:"11c511daf3b89f67af3afad8282a10b868325dd2"})))}validateLabel(a){validateLabel(this,a,{required:!0})}validateOn(a){if("object"==typeof a&&null!==a){const t={};"function"!=typeof a.onClose&&!0!==a.onClose||(t.onClose=a.onClose),setState(this,"_on",t)}}validateWidth(a){validateWidth(this,a)}validateVariant(a){validateDialogVariant(this,a)}componentWillLoad(){this.validateLabel(this._label),this.validateOn(this._on),this.validateWidth(this._width),this.validateVariant(this._variant)}get host(){return this}static get watchers(){return{_label:["validateLabel"],_on:["validateOn"],_width:["validateWidth"],_variant:["validateVariant"]}}},[260,"kol-dialog-wc",{_label:[1],_on:[16],_width:[1],_variant:[1],state:[32],openModal:[64],closeModal:[64]},void 0,{_label:["validateLabel"],_on:["validateOn"],_width:["validateWidth"],_variant:["validateVariant"]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-dialog-wc"].forEach(a=>{if("kol-dialog-wc"===a)customElements.get(a)||customElements.define(a,KolDialogWc$1)})}const KolDialogWc=KolDialogWc$1,defineCustomElement=defineCustomElement$1;export{KolDialogWc,defineCustomElement};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{proxyCustomElement,HTMLElement,h}from"@stencil/core/internal/client";import{f as KolDialogWcTag}from"./component-names.js";const defaultStyleCss='@charset "UTF-8";\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type=\'checkbox\'], [type=\'radio\'], [type=\'range\']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don\'t want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@font-face {\n font-family: "kolicons";\n src: url("kolicons.eot?t=1774956515321"); /* IE9*/\n src: url("kolicons.eot?t=1774956515321#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1774956515321") format("woff2"), url("kolicons.woff?t=1774956515321") format("woff"), url("kolicons.ttf?t=1774956515321") format("truetype"), url("kolicons.svg?t=1774956515321#kolicons") format("svg"); /* iOS 4.1- */\n}\n@layer kol-component {\n [class^=kolicon-], [class*=" kolicon-"] {\n font-family: "kolicons";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .kolicon-alert-error::before {\n content: "\\ea01";\n }\n .kolicon-alert-info::before {\n content: "\\ea02";\n }\n .kolicon-alert-success::before {\n content: "\\ea03";\n }\n .kolicon-alert-warning::before {\n content: "\\ea04";\n }\n .kolicon-check::before {\n content: "\\ea05";\n }\n .kolicon-chevron-double-left::before {\n content: "\\ea06";\n }\n .kolicon-chevron-double-right::before {\n content: "\\ea07";\n }\n .kolicon-chevron-down::before {\n content: "\\ea08";\n }\n .kolicon-chevron-left::before {\n content: "\\ea09";\n }\n .kolicon-chevron-right::before {\n content: "\\ea0a";\n }\n .kolicon-chevron-up::before {\n content: "\\ea0b";\n }\n .kolicon-cogwheel::before {\n content: "\\ea0c";\n }\n .kolicon-cross::before {\n content: "\\ea0d";\n }\n .kolicon-eye-closed::before {\n content: "\\ea0e";\n }\n .kolicon-eye::before {\n content: "\\ea0f";\n }\n .kolicon-house::before {\n content: "\\ea10";\n }\n .kolicon-kolibri::before {\n content: "\\ea11";\n }\n .kolicon-link-external::before {\n content: "\\ea12";\n }\n .kolicon-link::before {\n content: "\\ea13";\n }\n .kolicon-minus::before {\n content: "\\ea14";\n }\n .kolicon-plus::before {\n content: "\\ea15";\n }\n .kolicon-settings::before {\n content: "\\ea16";\n }\n .kolicon-sort-asc::before {\n content: "\\ea17";\n }\n .kolicon-sort-desc::before {\n content: "\\ea18";\n }\n .kolicon-sort-neutral::before {\n content: "\\ea19";\n }\n .kolicon-up::before {\n content: "\\ea1a";\n }\n .kolicon-version::before {\n content: "\\ea1b";\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: #000;\n background-color: #fff;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: #000;\n background-color: #fff;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n.kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n}\n\n.kol-card .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n}\n.kol-card :host {\n display: inline-block;\n}\n.kol-card .kol-button {\n display: flex;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n}\n.kol-card .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: "";\n}\n.kol-card .kol-button__text {\n flex: 1 0 100%;\n}\n.kol-card {\n /* Visible with forced colors */\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n display: grid;\n height: 100%;\n overflow: visible;\n grid-template-areas: "header close" "content content";\n grid-template-columns: 1fr min-content;\n grid-template-rows: min-content 1fr;\n}\n.kol-card__header {\n align-self: start;\n grid-area: header;\n}\n.kol-card__content {\n align-self: stretch;\n grid-area: content;\n}\n.kol-card__close-button {\n grid-area: close;\n}\n\n@layer kol-component {\n .kol-dialog,\n .kol-modal {\n min-height: var(--a11y-min-size);\n padding: 0;\n border: 0;\n }\n .kol-dialog::backdrop,\n .kol-modal::backdrop {\n background-color: rgba(0, 0, 0, 0.1);\n }\n .kol-dialog__close-button,\n .kol-modal__close-button {\n position: absolute;\n top: calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n right: calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n z-index: 1;\n }\n}',KolDialog$1=proxyCustomElement(class extends HTMLElement{constructor(n){super(),!1!==n&&this.__registerHost(),this.__attachShadow(),this.catchRef=n=>{this.dialogRef=n},this._width="100%",this._variant="blank"}async openModal(){var n;await(null===(n=this.dialogRef)||void 0===n?void 0:n.openModal())}async closeModal(){var n;await(null===(n=this.dialogRef)||void 0===n?void 0:n.closeModal())}render(){return h(KolDialogWcTag,{key:"24744fff4cfebb9ef188926e5390064ce7ec6931",ref:this.catchRef,_label:this._label,_on:this._on,_variant:this._variant,_width:this._width},h("slot",{key:"c8844dc7d6b9d16567ce400ae10f992018c6849d"}))}static get style(){return{default:defaultStyleCss}}},[289,"kol-dialog",{_label:[1],_on:[16],_width:[1],_variant:[1],openModal:[64],closeModal:[64]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-dialog"].forEach(n=>{if("kol-dialog"===n)customElements.get(n)||customElements.define(n,KolDialog$1)})}const KolDialog=KolDialog$1,defineCustomElement=defineCustomElement$1;export{KolDialog,defineCustomElement};
|
|
4
|
+
import{proxyCustomElement,HTMLElement,h}from"@stencil/core/internal/client";import{e as KolDialogWcTag}from"./component-names.js";const defaultStyleCss='@charset "UTF-8";\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type=\'checkbox\'], [type=\'radio\'], [type=\'range\']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don\'t want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@font-face {\n font-family: "kolicons";\n src: url("kolicons.eot?t=1775124354743"); /* IE9*/\n src: url("kolicons.eot?t=1775124354743#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1775124354743") format("woff2"), url("kolicons.woff?t=1775124354743") format("woff"), url("kolicons.ttf?t=1775124354743") format("truetype"), url("kolicons.svg?t=1775124354743#kolicons") format("svg"); /* iOS 4.1- */\n}\n@layer kol-component {\n [class^=kolicon-], [class*=" kolicon-"] {\n font-family: "kolicons";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .kolicon-alert-error::before {\n content: "\\ea01";\n }\n .kolicon-alert-info::before {\n content: "\\ea02";\n }\n .kolicon-alert-success::before {\n content: "\\ea03";\n }\n .kolicon-alert-warning::before {\n content: "\\ea04";\n }\n .kolicon-check::before {\n content: "\\ea05";\n }\n .kolicon-chevron-double-left::before {\n content: "\\ea06";\n }\n .kolicon-chevron-double-right::before {\n content: "\\ea07";\n }\n .kolicon-chevron-down::before {\n content: "\\ea08";\n }\n .kolicon-chevron-left::before {\n content: "\\ea09";\n }\n .kolicon-chevron-right::before {\n content: "\\ea0a";\n }\n .kolicon-chevron-up::before {\n content: "\\ea0b";\n }\n .kolicon-cogwheel::before {\n content: "\\ea0c";\n }\n .kolicon-cross::before {\n content: "\\ea0d";\n }\n .kolicon-eye-closed::before {\n content: "\\ea0e";\n }\n .kolicon-eye::before {\n content: "\\ea0f";\n }\n .kolicon-house::before {\n content: "\\ea10";\n }\n .kolicon-kolibri::before {\n content: "\\ea11";\n }\n .kolicon-link-external::before {\n content: "\\ea12";\n }\n .kolicon-link::before {\n content: "\\ea13";\n }\n .kolicon-minus::before {\n content: "\\ea14";\n }\n .kolicon-plus::before {\n content: "\\ea15";\n }\n .kolicon-settings::before {\n content: "\\ea16";\n }\n .kolicon-sort-asc::before {\n content: "\\ea17";\n }\n .kolicon-sort-desc::before {\n content: "\\ea18";\n }\n .kolicon-sort-neutral::before {\n content: "\\ea19";\n }\n .kolicon-up::before {\n content: "\\ea1a";\n }\n .kolicon-version::before {\n content: "\\ea1b";\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: #000;\n background-color: #fff;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: #000;\n background-color: #fff;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n.kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n}\n\n.kol-card .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n}\n.kol-card :host {\n display: inline-block;\n}\n.kol-card .kol-button {\n display: flex;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n}\n.kol-card .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: "";\n}\n.kol-card .kol-button__text {\n flex: 1 0 100%;\n}\n.kol-card {\n /* Visible with forced colors */\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n display: grid;\n height: 100%;\n overflow: visible;\n grid-template-areas: "header close" "content content";\n grid-template-columns: 1fr min-content;\n grid-template-rows: min-content 1fr;\n}\n.kol-card__header {\n align-self: start;\n grid-area: header;\n}\n.kol-card__content {\n align-self: stretch;\n grid-area: content;\n}\n.kol-card__close-button {\n grid-area: close;\n}\n\n@layer kol-component {\n .kol-dialog,\n .kol-modal {\n min-height: var(--a11y-min-size);\n padding: 0;\n border: 0;\n }\n .kol-dialog::backdrop,\n .kol-modal::backdrop {\n background-color: rgba(0, 0, 0, 0.1);\n }\n .kol-dialog__close-button,\n .kol-modal__close-button {\n position: absolute;\n top: calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n right: calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n z-index: 1;\n }\n}',KolDialog$1=proxyCustomElement(class extends HTMLElement{constructor(n){super(),!1!==n&&this.__registerHost(),this.__attachShadow(),this.catchRef=n=>{this.dialogRef=n},this._width="100%",this._variant="blank"}async openModal(){var n;await(null===(n=this.dialogRef)||void 0===n?void 0:n.openModal())}async closeModal(){var n;await(null===(n=this.dialogRef)||void 0===n?void 0:n.closeModal())}render(){return h(KolDialogWcTag,{key:"054e1b847d7cd8dc5f978b5b968d2522f2d5b610",ref:this.catchRef,_label:this._label,_on:this._on,_variant:this._variant,_width:this._width},h("slot",{key:"6d2de430093688ba6712b332751b211e1edeacd8"}))}static get style(){return{default:defaultStyleCss}}},[289,"kol-dialog",{_label:[1],_on:[16],_width:[1],_variant:[1],openModal:[64],closeModal:[64]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-dialog"].forEach(n=>{if("kol-dialog"===n)customElements.get(n)||customElements.define(n,KolDialog$1)})}const KolDialog=KolDialog$1,defineCustomElement=defineCustomElement$1;export{KolDialog,defineCustomElement};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{proxyCustomElement,HTMLElement,h,Host}from"@stencil/core/internal/client";import{e as KolCardWcTag}from"./component-names.js";import{s as setState}from"./common.js";import{v as validateAlign}from"./align.js";import{v as validateHasCloser}from"./has-closer.js";import{v as validateLabel}from"./label.js";import{v as validateOpen}from"./open.js";import{c as clsx}from"./clsx.js";import{d as dispatchDomEvent,K as KolEvent}from"./events.js";import{h as handleCancelOverlay}from"./tooltip-open-tracking.js";const defaultStyleCss='@charset "UTF-8";\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type=\'checkbox\'], [type=\'radio\'], [type=\'range\']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don\'t want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@font-face {\n font-family: "kolicons";\n src: url("kolicons.eot?t=1774956515321"); /* IE9*/\n src: url("kolicons.eot?t=1774956515321#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1774956515321") format("woff2"), url("kolicons.woff?t=1774956515321") format("woff"), url("kolicons.ttf?t=1774956515321") format("truetype"), url("kolicons.svg?t=1774956515321#kolicons") format("svg"); /* iOS 4.1- */\n}\n@layer kol-component {\n [class^=kolicon-], [class*=" kolicon-"] {\n font-family: "kolicons";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .kolicon-alert-error::before {\n content: "\\ea01";\n }\n .kolicon-alert-info::before {\n content: "\\ea02";\n }\n .kolicon-alert-success::before {\n content: "\\ea03";\n }\n .kolicon-alert-warning::before {\n content: "\\ea04";\n }\n .kolicon-check::before {\n content: "\\ea05";\n }\n .kolicon-chevron-double-left::before {\n content: "\\ea06";\n }\n .kolicon-chevron-double-right::before {\n content: "\\ea07";\n }\n .kolicon-chevron-down::before {\n content: "\\ea08";\n }\n .kolicon-chevron-left::before {\n content: "\\ea09";\n }\n .kolicon-chevron-right::before {\n content: "\\ea0a";\n }\n .kolicon-chevron-up::before {\n content: "\\ea0b";\n }\n .kolicon-cogwheel::before {\n content: "\\ea0c";\n }\n .kolicon-cross::before {\n content: "\\ea0d";\n }\n .kolicon-eye-closed::before {\n content: "\\ea0e";\n }\n .kolicon-eye::before {\n content: "\\ea0f";\n }\n .kolicon-house::before {\n content: "\\ea10";\n }\n .kolicon-kolibri::before {\n content: "\\ea11";\n }\n .kolicon-link-external::before {\n content: "\\ea12";\n }\n .kolicon-link::before {\n content: "\\ea13";\n }\n .kolicon-minus::before {\n content: "\\ea14";\n }\n .kolicon-plus::before {\n content: "\\ea15";\n }\n .kolicon-settings::before {\n content: "\\ea16";\n }\n .kolicon-sort-asc::before {\n content: "\\ea17";\n }\n .kolicon-sort-desc::before {\n content: "\\ea18";\n }\n .kolicon-sort-neutral::before {\n content: "\\ea19";\n }\n .kolicon-up::before {\n content: "\\ea1a";\n }\n .kolicon-version::before {\n content: "\\ea1b";\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: #000;\n background-color: #fff;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: #000;\n background-color: #fff;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-card .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-card :host {\n display: inline-block;\n }\n .kol-card .kol-button {\n display: flex;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n }\n .kol-card .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: "";\n }\n .kol-card .kol-button__text {\n flex: 1 0 100%;\n }\n .kol-card {\n /* Visible with forced colors */\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n display: grid;\n height: 100%;\n overflow: visible;\n grid-template-areas: "header close" "content content";\n grid-template-columns: 1fr min-content;\n grid-template-rows: min-content 1fr;\n }\n .kol-card__header {\n align-self: start;\n grid-area: header;\n }\n .kol-card__content {\n align-self: stretch;\n grid-area: content;\n }\n .kol-card__close-button {\n grid-area: close;\n }\n .kol-drawer__dialog {\n padding: 0;\n border: none;\n }\n .kol-drawer__wrapper {\n position: fixed;\n overflow: auto;\n }\n .kol-drawer__wrapper--left, .kol-drawer__wrapper--right {\n top: 0;\n max-width: 100vw;\n height: 100vh;\n }\n .kol-drawer__wrapper--left .kol-drawer__content, .kol-drawer__wrapper--right .kol-drawer__content {\n height: 100%;\n }\n .kol-drawer__wrapper--left {\n left: 0;\n }\n .kol-drawer__wrapper--right {\n right: 0;\n }\n .kol-drawer__wrapper--bottom, .kol-drawer__wrapper--top {\n left: 0;\n width: 100vw;\n max-height: 100vh;\n }\n .kol-drawer__wrapper--bottom .kol-drawer__content, .kol-drawer__wrapper--top .kol-drawer__content {\n width: 100%;\n }\n .kol-drawer__wrapper--bottom {\n bottom: 0;\n }\n .kol-drawer__wrapper--top {\n top: 0;\n }\n .kol-drawer__content {\n position: relative;\n }\n .kol-drawer__dialog .kol-card__content {\n overflow-y: auto;\n }\n}',KolDrawer$1=proxyCustomElement(class extends HTMLElement{constructor(n){super(),!1!==n&&this.__registerHost(),this.__attachShadow(),this.getWrapperRef=n=>this.dialogWrapperElement=n,this.getRef=n=>{this.dialogElement=n,setTimeout(()=>{this.openOrCloseBasedOnState()})},this._hasCloser=!1,this.state={_label:"",_open:!1,_align:"left"}}async open(){var n;this.state=Object.assign(Object.assign({},this.state),{_open:!0}),null===(n=this.dialogElement)||void 0===n||n.showModal()}async close(){this.state=Object.assign(Object.assign({},this.state),{_open:!1});const n=this.dialogWrapperElement;if(!n)return;"none"===window.getComputedStyle(n).animationName&&this.handleCloseDialog()}renderDialogContent(){const n=this.state._align;return h(KolCardWcTag,{ref:this.getWrapperRef,class:clsx("kol-drawer__wrapper",`kol-drawer__wrapper--${n}`,{"kol-drawer__wrapper--open":this.state._open,"kol-drawer__wrapper--is-closing":!1===this.state._open}),_label:this.state._label,_hasCloser:this.state._hasCloser,_on:{onClose:()=>{this.close()}}},h("div",{class:"kol-drawer__content"},h("slot",null)))}render(){return h(Host,{key:"55a5a4b9532c8a02329e9b0b67a2183655143fd4",class:"kol-drawer"},h("dialog",{key:"fbc41355c0d2c16f0edfae36c8282a3caff5059b","aria-label":this.state._label,class:"kol-drawer__dialog",onCancel:handleCancelOverlay,ref:this.getRef},this.renderDialogContent()))}validateLabel(n){validateLabel(this,n,{required:!0})}validateAlign(n){validateAlign(this,n)}validateHasCloser(n){validateHasCloser(this,n)}validateOpen(n){"boolean"==typeof n&&(validateOpen(this,n),this.dialogElement&&this.openOrCloseBasedOnState())}async openOrCloseBasedOnState(){this.state._open?await this.open():await this.close()}validateOn(n){if("object"==typeof n&&null!==n){const e={};"function"==typeof n.onClose&&(e.onClose=n.onClose),setState(this,"_on",e)}}handleCloseDialog(){var n,e,t;null===(n=this.dialogElement)||void 0===n||n.close(),null===(t=null===(e=this._on)||void 0===e?void 0:e.onClose)||void 0===t||t.call(e),this.host&&dispatchDomEvent(this.host,KolEvent.close)}handleClose(){(async()=>{await this.close(),this.handleCloseDialog()})()}handleAnimationEnd(n){n.animationName.includes("slideOut")&&this.handleCloseDialog()}componentDidLoad(){var n,e;null===(n=this.dialogElement)||void 0===n||n.addEventListener("animationend",this.handleAnimationEnd.bind(this)),null===(e=this.dialogElement)||void 0===e||e.addEventListener("close",this.handleClose.bind(this))}disconnectedCallback(){var n,e;null===(n=this.dialogElement)||void 0===n||n.removeEventListener("animationend",this.handleAnimationEnd.bind(this)),null===(e=this.dialogElement)||void 0===e||e.removeEventListener("close",this.handleClose.bind(this))}componentWillLoad(){this.validateLabel(this._label),this.validateOpen(this._open),this.validateAlign(this._align),this.validateHasCloser(this._hasCloser),this.validateOn(this._on)}get host(){return this}static get watchers(){return{_label:["validateLabel"],_align:["validateAlign"],_hasCloser:["validateHasCloser"],_open:["validateOpen"],_on:["validateOn"]}}static get style(){return{default:defaultStyleCss}}},[289,"kol-drawer",{_open:[4],_align:[1],_hasCloser:[4,"_has-closer"],_label:[1],_on:[16],state:[32],open:[64],close:[64]},void 0,{_label:["validateLabel"],_align:["validateAlign"],_hasCloser:["validateHasCloser"],_open:["validateOpen"],_on:["validateOn"]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-drawer"].forEach(n=>{if("kol-drawer"===n)customElements.get(n)||customElements.define(n,KolDrawer$1)})}const KolDrawer=KolDrawer$1,defineCustomElement=defineCustomElement$1;export{KolDrawer,defineCustomElement};
|
|
4
|
+
import{proxyCustomElement,HTMLElement,h,Host}from"@stencil/core/internal/client";import{d as KolCardWcTag}from"./component-names.js";import{s as setState}from"./common.js";import{v as validateAlign}from"./align.js";import{v as validateHasCloser}from"./has-closer.js";import{v as validateLabel}from"./label.js";import{v as validateOpen}from"./open.js";import{c as clsx}from"./clsx.js";import{d as dispatchDomEvent,K as KolEvent}from"./events.js";import{h as handleCancelOverlay}from"./tooltip-open-tracking.js";const defaultStyleCss='@charset "UTF-8";\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type=\'checkbox\'], [type=\'radio\'], [type=\'range\']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don\'t want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@font-face {\n font-family: "kolicons";\n src: url("kolicons.eot?t=1775124354743"); /* IE9*/\n src: url("kolicons.eot?t=1775124354743#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1775124354743") format("woff2"), url("kolicons.woff?t=1775124354743") format("woff"), url("kolicons.ttf?t=1775124354743") format("truetype"), url("kolicons.svg?t=1775124354743#kolicons") format("svg"); /* iOS 4.1- */\n}\n@layer kol-component {\n [class^=kolicon-], [class*=" kolicon-"] {\n font-family: "kolicons";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .kolicon-alert-error::before {\n content: "\\ea01";\n }\n .kolicon-alert-info::before {\n content: "\\ea02";\n }\n .kolicon-alert-success::before {\n content: "\\ea03";\n }\n .kolicon-alert-warning::before {\n content: "\\ea04";\n }\n .kolicon-check::before {\n content: "\\ea05";\n }\n .kolicon-chevron-double-left::before {\n content: "\\ea06";\n }\n .kolicon-chevron-double-right::before {\n content: "\\ea07";\n }\n .kolicon-chevron-down::before {\n content: "\\ea08";\n }\n .kolicon-chevron-left::before {\n content: "\\ea09";\n }\n .kolicon-chevron-right::before {\n content: "\\ea0a";\n }\n .kolicon-chevron-up::before {\n content: "\\ea0b";\n }\n .kolicon-cogwheel::before {\n content: "\\ea0c";\n }\n .kolicon-cross::before {\n content: "\\ea0d";\n }\n .kolicon-eye-closed::before {\n content: "\\ea0e";\n }\n .kolicon-eye::before {\n content: "\\ea0f";\n }\n .kolicon-house::before {\n content: "\\ea10";\n }\n .kolicon-kolibri::before {\n content: "\\ea11";\n }\n .kolicon-link-external::before {\n content: "\\ea12";\n }\n .kolicon-link::before {\n content: "\\ea13";\n }\n .kolicon-minus::before {\n content: "\\ea14";\n }\n .kolicon-plus::before {\n content: "\\ea15";\n }\n .kolicon-settings::before {\n content: "\\ea16";\n }\n .kolicon-sort-asc::before {\n content: "\\ea17";\n }\n .kolicon-sort-desc::before {\n content: "\\ea18";\n }\n .kolicon-sort-neutral::before {\n content: "\\ea19";\n }\n .kolicon-up::before {\n content: "\\ea1a";\n }\n .kolicon-version::before {\n content: "\\ea1b";\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: #000;\n background-color: #fff;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: #000;\n background-color: #fff;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-card .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-card :host {\n display: inline-block;\n }\n .kol-card .kol-button {\n display: flex;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n }\n .kol-card .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: "";\n }\n .kol-card .kol-button__text {\n flex: 1 0 100%;\n }\n .kol-card {\n /* Visible with forced colors */\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n display: grid;\n height: 100%;\n overflow: visible;\n grid-template-areas: "header close" "content content";\n grid-template-columns: 1fr min-content;\n grid-template-rows: min-content 1fr;\n }\n .kol-card__header {\n align-self: start;\n grid-area: header;\n }\n .kol-card__content {\n align-self: stretch;\n grid-area: content;\n }\n .kol-card__close-button {\n grid-area: close;\n }\n .kol-drawer__dialog {\n padding: 0;\n border: none;\n }\n .kol-drawer__wrapper {\n position: fixed;\n overflow: auto;\n }\n .kol-drawer__wrapper--left, .kol-drawer__wrapper--right {\n top: 0;\n max-width: 100vw;\n height: 100vh;\n }\n .kol-drawer__wrapper--left .kol-drawer__content, .kol-drawer__wrapper--right .kol-drawer__content {\n height: 100%;\n }\n .kol-drawer__wrapper--left {\n left: 0;\n }\n .kol-drawer__wrapper--right {\n right: 0;\n }\n .kol-drawer__wrapper--bottom, .kol-drawer__wrapper--top {\n left: 0;\n width: 100vw;\n max-height: 100vh;\n }\n .kol-drawer__wrapper--bottom .kol-drawer__content, .kol-drawer__wrapper--top .kol-drawer__content {\n width: 100%;\n }\n .kol-drawer__wrapper--bottom {\n bottom: 0;\n }\n .kol-drawer__wrapper--top {\n top: 0;\n }\n .kol-drawer__content {\n position: relative;\n }\n .kol-drawer__dialog .kol-card__content {\n overflow-y: auto;\n }\n}',KolDrawer$1=proxyCustomElement(class extends HTMLElement{constructor(n){super(),!1!==n&&this.__registerHost(),this.__attachShadow(),this.getWrapperRef=n=>this.dialogWrapperElement=n,this.getRef=n=>{this.dialogElement=n,setTimeout(()=>{this.openOrCloseBasedOnState()})},this._hasCloser=!1,this.state={_label:"",_open:!1,_align:"left"}}async open(){var n;this.state=Object.assign(Object.assign({},this.state),{_open:!0}),null===(n=this.dialogElement)||void 0===n||n.showModal()}async close(){this.state=Object.assign(Object.assign({},this.state),{_open:!1});const n=this.dialogWrapperElement;if(!n)return;"none"===window.getComputedStyle(n).animationName&&this.handleCloseDialog()}renderDialogContent(){const n=this.state._align;return h(KolCardWcTag,{ref:this.getWrapperRef,class:clsx("kol-drawer__wrapper",`kol-drawer__wrapper--${n}`,{"kol-drawer__wrapper--open":this.state._open,"kol-drawer__wrapper--is-closing":!1===this.state._open}),_label:this.state._label,_hasCloser:this.state._hasCloser,_on:{onClose:()=>{this.close()}}},h("div",{class:"kol-drawer__content"},h("slot",null)))}render(){return h(Host,{key:"55a0ffa47dfe3f65f0f8fde8bf9991e886a1d87e",class:"kol-drawer"},h("dialog",{key:"06d3f5e71a34e8e8e505bfb63c4f8652287bee08","aria-label":this.state._label,class:"kol-drawer__dialog",onCancel:handleCancelOverlay,ref:this.getRef},this.renderDialogContent()))}validateLabel(n){validateLabel(this,n,{required:!0})}validateAlign(n){validateAlign(this,n)}validateHasCloser(n){validateHasCloser(this,n)}validateOpen(n){"boolean"==typeof n&&(validateOpen(this,n),this.dialogElement&&this.openOrCloseBasedOnState())}async openOrCloseBasedOnState(){this.state._open?await this.open():await this.close()}validateOn(n){if("object"==typeof n&&null!==n){const e={};"function"==typeof n.onClose&&(e.onClose=n.onClose),setState(this,"_on",e)}}handleCloseDialog(){var n,e,t;null===(n=this.dialogElement)||void 0===n||n.close(),null===(t=null===(e=this._on)||void 0===e?void 0:e.onClose)||void 0===t||t.call(e),this.host&&dispatchDomEvent(this.host,KolEvent.close)}handleClose(){(async()=>{await this.close(),this.handleCloseDialog()})()}handleAnimationEnd(n){n.animationName.includes("slideOut")&&this.handleCloseDialog()}componentDidLoad(){var n,e;null===(n=this.dialogElement)||void 0===n||n.addEventListener("animationend",this.handleAnimationEnd.bind(this)),null===(e=this.dialogElement)||void 0===e||e.addEventListener("close",this.handleClose.bind(this))}disconnectedCallback(){var n,e;null===(n=this.dialogElement)||void 0===n||n.removeEventListener("animationend",this.handleAnimationEnd.bind(this)),null===(e=this.dialogElement)||void 0===e||e.removeEventListener("close",this.handleClose.bind(this))}componentWillLoad(){this.validateLabel(this._label),this.validateOpen(this._open),this.validateAlign(this._align),this.validateHasCloser(this._hasCloser),this.validateOn(this._on)}get host(){return this}static get watchers(){return{_label:["validateLabel"],_align:["validateAlign"],_hasCloser:["validateHasCloser"],_open:["validateOpen"],_on:["validateOn"]}}static get style(){return{default:defaultStyleCss}}},[289,"kol-drawer",{_open:[4],_align:[1],_hasCloser:[4,"_has-closer"],_label:[1],_on:[16],state:[32],open:[64],close:[64]},void 0,{_label:["validateLabel"],_align:["validateAlign"],_hasCloser:["validateHasCloser"],_open:["validateOpen"],_on:["validateOn"]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-drawer"].forEach(n=>{if("kol-drawer"===n)customElements.get(n)||customElements.define(n,KolDrawer$1)})}const KolDrawer=KolDrawer$1,defineCustomElement=defineCustomElement$1;export{KolDrawer,defineCustomElement};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{proxyCustomElement,HTMLElement,h,Host}from"@stencil/core/internal/client";import{b as watchValidator,d as watchBoolean,j as watchString}from"./common.js";import{t as translate}from"./i18n.js";import{d as KolLinkWcTag}from"./component-names.js";import{K as KolAlertFc}from"./Alert.js";import{d as dispatchDomEvent,K as KolEvent}from"./events.js";const validateErrorList=(n,e)=>{watchValidator(n,"errorList",n=>Array.isArray(n)&&void 0===n.find(n=>!("string"==typeof n||"function"==typeof n)),new Set(["string","function"]),e)},defaultStyleCss='@charset "UTF-8";\n/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type=\'checkbox\'], [type=\'radio\'], [type=\'range\']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don\'t want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@font-face {\n font-family: "kolicons";\n src: url("kolicons.eot?t=1774956515321"); /* IE9*/\n src: url("kolicons.eot?t=1774956515321#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1774956515321") format("woff2"), url("kolicons.woff?t=1774956515321") format("woff"), url("kolicons.ttf?t=1774956515321") format("truetype"), url("kolicons.svg?t=1774956515321#kolicons") format("svg"); /* iOS 4.1- */\n}\n@layer kol-component {\n [class^=kolicon-], [class*=" kolicon-"] {\n font-family: "kolicons";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .kolicon-alert-error::before {\n content: "\\ea01";\n }\n .kolicon-alert-info::before {\n content: "\\ea02";\n }\n .kolicon-alert-success::before {\n content: "\\ea03";\n }\n .kolicon-alert-warning::before {\n content: "\\ea04";\n }\n .kolicon-check::before {\n content: "\\ea05";\n }\n .kolicon-chevron-double-left::before {\n content: "\\ea06";\n }\n .kolicon-chevron-double-right::before {\n content: "\\ea07";\n }\n .kolicon-chevron-down::before {\n content: "\\ea08";\n }\n .kolicon-chevron-left::before {\n content: "\\ea09";\n }\n .kolicon-chevron-right::before {\n content: "\\ea0a";\n }\n .kolicon-chevron-up::before {\n content: "\\ea0b";\n }\n .kolicon-cogwheel::before {\n content: "\\ea0c";\n }\n .kolicon-cross::before {\n content: "\\ea0d";\n }\n .kolicon-eye-closed::before {\n content: "\\ea0e";\n }\n .kolicon-eye::before {\n content: "\\ea0f";\n }\n .kolicon-house::before {\n content: "\\ea10";\n }\n .kolicon-kolibri::before {\n content: "\\ea11";\n }\n .kolicon-link-external::before {\n content: "\\ea12";\n }\n .kolicon-link::before {\n content: "\\ea13";\n }\n .kolicon-minus::before {\n content: "\\ea14";\n }\n .kolicon-plus::before {\n content: "\\ea15";\n }\n .kolicon-settings::before {\n content: "\\ea16";\n }\n .kolicon-sort-asc::before {\n content: "\\ea17";\n }\n .kolicon-sort-desc::before {\n content: "\\ea18";\n }\n .kolicon-sort-neutral::before {\n content: "\\ea19";\n }\n .kolicon-up::before {\n content: "\\ea1a";\n }\n .kolicon-version::before {\n content: "\\ea1b";\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: #000;\n background-color: #fff;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: #000;\n background-color: #fff;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n :host {\n display: inline-block;\n }\n .kol-link {\n display: inline-flex;\n max-width: fit-content;\n align-items: baseline;\n place-items: center;\n text-align: left;\n text-decoration-line: none;\n }\n .kol-link--standalone {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: stretch;\n }\n .kol-link--standalone .kol-link__text {\n display: inline-flex;\n flex: 1 1 100%;\n place-items: center;\n }\n .kol-link .kol-span__label {\n text-decoration-line: underline;\n }\n .kol-link:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-link:hover:not([aria-disabled], [disabled]) .kol-span__label {\n text-decoration-thickness: 0.2em;\n }\n .kol-link__icon {\n display: inline-flex;\n }\n .kol-alert .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-alert :host {\n display: inline-block;\n }\n .kol-alert .kol-button {\n display: flex;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n }\n .kol-alert .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: "";\n }\n .kol-alert .kol-button__text {\n flex: 1 0 100%;\n }\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n display: flex;\n place-items: center;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n }\n}',KolForm$1=proxyCustomElement(class extends HTMLElement{constructor(n){super(),!1!==n&&this.__registerHost(),this.__attachShadow(),this.translateErrorListMessage=translate("kol-error-list-message"),this.translateErrorList=translate("kol-error-list"),this.translateFormDescription=translate("kol-form-description"),this.onSubmit=n=>{var e,t;n.preventDefault(),"function"==typeof(null===(e=this.state._on)||void 0===e?void 0:e.onSubmit)&&(null===(t=this.state._on)||void 0===t||t.onSubmit(n)),this.host&&dispatchDomEvent(this.host,KolEvent.submit)},this.onReset=n=>{var e,t;n.preventDefault(),"function"==typeof(null===(e=this.state._on)||void 0===e?void 0:e.onReset)&&(null===(t=this.state._on)||void 0===t||t.onReset(n)),this.host&&dispatchDomEvent(this.host,KolEvent.reset)},this.handleLinkClick=n=>{const e=document.querySelector(n);e&&"function"==typeof e.focus&&(e.scrollIntoView({behavior:"smooth"}),e.focus())},this.setBlockElement=n=>this.errorListBlock=n,this.setFirstLinkElement=n=>this.errorListFirstLink=n,this._requiredText=!0,this.state={}}renderErrorList(n){return h(KolAlertFc,{class:"kol-form__alert",ref:this.setBlockElement,type:"error",variant:"card",label:this.translateErrorListMessage},h("nav",{"aria-label":this.translateErrorList},h("ul",null,null==n?void 0:n.map((n,e)=>h("li",{key:e},h(KolLinkWcTag,{class:"kol-form__link",_href:"",_label:n.message,_on:{onClick:"string"==typeof n.selector?()=>this.handleLinkClick(String(n.selector)):n.selector},ref:0===e?this.setFirstLinkElement:void 0}))))))}renderFormElement(){return h("form",{class:"kol-form",method:"post",onSubmit:this.onSubmit,onReset:this.onReset,noValidate:!0},!0===this.state._requiredText?h("p",null,h("div",{class:"kol-form__mandatory-fields-hint"},this.translateFormDescription)):"string"==typeof this.state._requiredText&&this.state._requiredText.length>0?h("p",null,h("div",{class:"kol-form__mandatory-fields-hint"},this.state._requiredText)):null,h("slot",null))}render(){const n=Array.isArray(this._errorList)&&this._errorList.length>0;return h(Host,{key:"10b2859942b9091d12299546b72f97dfb28573c0"},n&&this.renderErrorList(this._errorList),this.renderFormElement())}scrollToErrorList(){var n;null===(n=this.errorListBlock)||void 0===n||n.scrollIntoView({behavior:"smooth",block:"start"}),setTimeout(()=>{var n,e;null===(e=null===(n=this.errorListFirstLink)||void 0===n?void 0:n.querySelector("a"))||void 0===e||e.focus()},250)}async focusErrorList(){return this.scrollToErrorList(),Promise.resolve()}validateOn(n){"object"==typeof n&&null!==n&&(this.state=Object.assign(Object.assign({},this.state),{_on:n}))}validateRequiredText(n){"boolean"==typeof n?watchBoolean(this,"_requiredText",n):watchString(this,"_requiredText",n)}validateErrorList(n){validateErrorList(this,n)}componentWillLoad(){this.validateOn(this._on),this.validateRequiredText(this._requiredText),this.validateErrorList(this._errorList)}get host(){return this}static get watchers(){return{_on:["validateOn"],_requiredText:["validateRequiredText"],_errorList:["validateErrorList"]}}static get style(){return{default:defaultStyleCss}}},[289,"kol-form",{_on:[16],_requiredText:[8,"_required-text"],_errorList:[16],state:[32],focusErrorList:[64]},void 0,{_on:["validateOn"],_requiredText:["validateRequiredText"],_errorList:["validateErrorList"]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-form"].forEach(n=>{if("kol-form"===n)customElements.get(n)||customElements.define(n,KolForm$1)})}const KolForm=KolForm$1,defineCustomElement=defineCustomElement$1;export{KolForm,defineCustomElement};
|
|
4
|
+
import{proxyCustomElement,HTMLElement,h,Host}from"@stencil/core/internal/client";import{b as watchValidator,d as watchBoolean,j as watchString}from"./common.js";import{t as translate}from"./i18n.js";import{c as KolLinkWcTag}from"./component-names.js";import{K as KolAlertFc}from"./Alert.js";import{d as dispatchDomEvent,K as KolEvent}from"./events.js";const validateErrorList=(n,e)=>{watchValidator(n,"errorList",n=>Array.isArray(n)&&void 0===n.find(n=>!("string"==typeof n||"function"==typeof n)),new Set(["string","function"]),e)},defaultStyleCss='@charset "UTF-8";\n/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type=\'checkbox\'], [type=\'radio\'], [type=\'range\']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don\'t want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@font-face {\n font-family: "kolicons";\n src: url("kolicons.eot?t=1775124354743"); /* IE9*/\n src: url("kolicons.eot?t=1775124354743#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1775124354743") format("woff2"), url("kolicons.woff?t=1775124354743") format("woff"), url("kolicons.ttf?t=1775124354743") format("truetype"), url("kolicons.svg?t=1775124354743#kolicons") format("svg"); /* iOS 4.1- */\n}\n@layer kol-component {\n [class^=kolicon-], [class*=" kolicon-"] {\n font-family: "kolicons";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .kolicon-alert-error::before {\n content: "\\ea01";\n }\n .kolicon-alert-info::before {\n content: "\\ea02";\n }\n .kolicon-alert-success::before {\n content: "\\ea03";\n }\n .kolicon-alert-warning::before {\n content: "\\ea04";\n }\n .kolicon-check::before {\n content: "\\ea05";\n }\n .kolicon-chevron-double-left::before {\n content: "\\ea06";\n }\n .kolicon-chevron-double-right::before {\n content: "\\ea07";\n }\n .kolicon-chevron-down::before {\n content: "\\ea08";\n }\n .kolicon-chevron-left::before {\n content: "\\ea09";\n }\n .kolicon-chevron-right::before {\n content: "\\ea0a";\n }\n .kolicon-chevron-up::before {\n content: "\\ea0b";\n }\n .kolicon-cogwheel::before {\n content: "\\ea0c";\n }\n .kolicon-cross::before {\n content: "\\ea0d";\n }\n .kolicon-eye-closed::before {\n content: "\\ea0e";\n }\n .kolicon-eye::before {\n content: "\\ea0f";\n }\n .kolicon-house::before {\n content: "\\ea10";\n }\n .kolicon-kolibri::before {\n content: "\\ea11";\n }\n .kolicon-link-external::before {\n content: "\\ea12";\n }\n .kolicon-link::before {\n content: "\\ea13";\n }\n .kolicon-minus::before {\n content: "\\ea14";\n }\n .kolicon-plus::before {\n content: "\\ea15";\n }\n .kolicon-settings::before {\n content: "\\ea16";\n }\n .kolicon-sort-asc::before {\n content: "\\ea17";\n }\n .kolicon-sort-desc::before {\n content: "\\ea18";\n }\n .kolicon-sort-neutral::before {\n content: "\\ea19";\n }\n .kolicon-up::before {\n content: "\\ea1a";\n }\n .kolicon-version::before {\n content: "\\ea1b";\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: #000;\n background-color: #fff;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: #000;\n background-color: #fff;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n :host {\n display: inline-block;\n }\n .kol-link {\n display: inline-flex;\n max-width: fit-content;\n align-items: baseline;\n place-items: center;\n text-align: left;\n text-decoration-line: none;\n }\n .kol-link--standalone {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: stretch;\n }\n .kol-link--standalone .kol-link__text {\n display: inline-flex;\n flex: 1 1 100%;\n place-items: center;\n }\n .kol-link .kol-span__label {\n text-decoration-line: underline;\n }\n .kol-link:focus:not([aria-disabled], [disabled]) .kol-span__label, .kol-link:hover:not([aria-disabled], [disabled]) .kol-span__label {\n text-decoration-thickness: 0.2em;\n }\n .kol-link__icon {\n display: inline-flex;\n }\n .kol-alert .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-alert :host {\n display: inline-block;\n }\n .kol-alert .kol-button {\n display: flex;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n }\n .kol-alert .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: "";\n }\n .kol-alert .kol-button__text {\n flex: 1 0 100%;\n }\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n display: flex;\n place-items: center;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n }\n}',KolForm$1=proxyCustomElement(class extends HTMLElement{constructor(n){super(),!1!==n&&this.__registerHost(),this.__attachShadow(),this.translateErrorListMessage=translate("kol-error-list-message"),this.translateErrorList=translate("kol-error-list"),this.translateFormDescription=translate("kol-form-description"),this.onSubmit=n=>{var e,t;n.preventDefault(),"function"==typeof(null===(e=this.state._on)||void 0===e?void 0:e.onSubmit)&&(null===(t=this.state._on)||void 0===t||t.onSubmit(n)),this.host&&dispatchDomEvent(this.host,KolEvent.submit)},this.onReset=n=>{var e,t;n.preventDefault(),"function"==typeof(null===(e=this.state._on)||void 0===e?void 0:e.onReset)&&(null===(t=this.state._on)||void 0===t||t.onReset(n)),this.host&&dispatchDomEvent(this.host,KolEvent.reset)},this.handleLinkClick=n=>{const e=document.querySelector(n);e&&"function"==typeof e.focus&&(e.scrollIntoView({behavior:"smooth"}),e.focus())},this.setBlockElement=n=>this.errorListBlock=n,this.setFirstLinkElement=n=>this.errorListFirstLink=n,this._requiredText=!0,this.state={}}renderErrorList(n){return h(KolAlertFc,{class:"kol-form__alert",ref:this.setBlockElement,type:"error",variant:"card",label:this.translateErrorListMessage},h("nav",{"aria-label":this.translateErrorList},h("ul",null,null==n?void 0:n.map((n,e)=>h("li",{key:e},h(KolLinkWcTag,{class:"kol-form__link",_href:"",_label:n.message,_on:{onClick:"string"==typeof n.selector?()=>this.handleLinkClick(String(n.selector)):n.selector},ref:0===e?this.setFirstLinkElement:void 0}))))))}renderFormElement(){return h("form",{class:"kol-form",method:"post",onSubmit:this.onSubmit,onReset:this.onReset,noValidate:!0},!0===this.state._requiredText?h("p",null,h("div",{class:"kol-form__mandatory-fields-hint"},this.translateFormDescription)):"string"==typeof this.state._requiredText&&this.state._requiredText.length>0?h("p",null,h("div",{class:"kol-form__mandatory-fields-hint"},this.state._requiredText)):null,h("slot",null))}render(){const n=Array.isArray(this._errorList)&&this._errorList.length>0;return h(Host,{key:"7b951c4f6fd030191546f23c0e31e85bdac6df77"},n&&this.renderErrorList(this._errorList),this.renderFormElement())}scrollToErrorList(){var n;null===(n=this.errorListBlock)||void 0===n||n.scrollIntoView({behavior:"smooth",block:"start"}),setTimeout(()=>{var n,e;null===(e=null===(n=this.errorListFirstLink)||void 0===n?void 0:n.querySelector("a"))||void 0===e||e.focus()},250)}async focusErrorList(){return this.scrollToErrorList(),Promise.resolve()}validateOn(n){"object"==typeof n&&null!==n&&(this.state=Object.assign(Object.assign({},this.state),{_on:n}))}validateRequiredText(n){"boolean"==typeof n?watchBoolean(this,"_requiredText",n):watchString(this,"_requiredText",n)}validateErrorList(n){validateErrorList(this,n)}componentWillLoad(){this.validateOn(this._on),this.validateRequiredText(this._requiredText),this.validateErrorList(this._errorList)}get host(){return this}static get watchers(){return{_on:["validateOn"],_requiredText:["validateRequiredText"],_errorList:["validateErrorList"]}}static get style(){return{default:defaultStyleCss}}},[289,"kol-form",{_on:[16],_requiredText:[8,"_required-text"],_errorList:[16],state:[32],focusErrorList:[64]},void 0,{_on:["validateOn"],_requiredText:["validateRequiredText"],_errorList:["validateErrorList"]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-form"].forEach(n=>{if("kol-form"===n)customElements.get(n)||customElements.define(n,KolForm$1)})}const KolForm=KolForm$1,defineCustomElement=defineCustomElement$1;export{KolForm,defineCustomElement};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h,proxyCustomElement,Host}from"@stencil/core/internal/client";import{B as
|
|
4
|
+
import{h,proxyCustomElement,HTMLElement,Host}from"@stencil/core/internal/client";import{B as BaseWebComponent}from"./variant-quote.js";import{c as clsx}from"./clsx.js";import"./common.js";import{l as levelProp}from"./level.js";import{c as createPropDefinition,n as normalizeString}from"./normalizers.js";import{B as BaseController}from"./base-controller.js";const labelWithExpertSlotProp=createPropDefinition("label","",normalizeString),secondaryHeadlineProp=createPropDefinition("secondaryHeadline","",normalizeString);function getHeadlineTag(e){return e>=1&&e<=6?`h${e}`:"strong"}const HeadingFC=e=>{const{label:n,level:t,secondaryHeadline:l}=e,o=getHeadlineTag(t);return l?h("hgroup",{class:"kol-heading-group"},h(o,{class:clsx("kol-headline",`kol-headline--${o}`,"kol-headline--group","kol-headline--primary")},n,h("slot",{name:"expert",slot:"expert"})),h("p",{class:"kol-headline kol-headline--group kol-headline--secondary"},l)):h(o,{class:clsx("kol-headline",`kol-headline--${o}`,"kol-headline--single")},n,h("slot",{name:"expert",slot:"expert"}))},headingPropsConfig={optional:[levelProp,secondaryHeadlineProp],required:[labelWithExpertSlotProp]};class HeadingController extends BaseController{constructor(e){super(e,headingPropsConfig)}componentWillLoad(e){const{label:n,level:t,secondaryHeadline:l}=e;this.watchLabel(n),this.watchLevel(t),this.watchSecondaryHeadline(l)}watchLabel(e){labelWithExpertSlotProp.apply(e,e=>{this.setRenderProp("label",e)})}watchLevel(e){levelProp.apply(e,e=>{this.setRenderProp("level",e)})}watchSecondaryHeadline(e){secondaryHeadlineProp.apply(e,e=>{this.setRenderProp("secondaryHeadline",e)})}}const defaultStyleCss="/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n .kol-headline--secondary {\n margin: 0;\n }\n}",KolHeading$1=proxyCustomElement(class extends HTMLElement{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ctrl=new HeadingController(BaseWebComponent.stateLess),this._level=0}watchLabel(e){this.ctrl.watchLabel(e)}watchLevel(e){this.ctrl.watchLevel(e)}watchSecondaryHeadline(e){this.ctrl.watchSecondaryHeadline(e)}componentWillLoad(){this.ctrl.componentWillLoad({label:this._label,level:this._level,secondaryHeadline:this._secondaryHeadline})}render(){return h(Host,{key:"5d87ccb29dc05fdbd165bf482d18e80fbaa62b7d"},h(HeadingFC,{key:"3d4d078165c93bc620c850644b4fcced6e4390ca",label:this.ctrl.getRenderProp("label"),level:this.ctrl.getRenderProp("level"),secondaryHeadline:this.ctrl.getRenderProp("secondaryHeadline")}))}static get watchers(){return{_label:["watchLabel"],_level:["watchLevel"],_secondaryHeadline:["watchSecondaryHeadline"]}}static get style(){return{default:defaultStyleCss}}},[289,"kol-heading",{_label:[1],_level:[2],_secondaryHeadline:[1,"_secondary-headline"]},void 0,{_label:["watchLabel"],_level:["watchLevel"],_secondaryHeadline:["watchSecondaryHeadline"]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-heading"].forEach(e=>{if("kol-heading"===e)customElements.get(e)||customElements.define(e,KolHeading$1)})}const KolHeading=KolHeading$1,defineCustomElement=defineCustomElement$1;export{KolHeading,defineCustomElement};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"kol-heading.js","mappings":"
|
|
1
|
+
{"file":"kol-heading.js","mappings":";;;;;;;;;;;AAKO,MAAM,uBAAuB,GAAG,oBAAoB,CAA0B,OAAO,EAAE,EAAE,EAAE,eAAe,CAAC;;ACA3G,MAAM,qBAAqB,GAAG,oBAAoB,CAAwB,mBAAmB,EAAE,EAAE,EAAE,eAAe,CAAC;;ACK1H,SAAS,cAAc,CAAC,KAA4B,EAAA;AACnD,IAAA,OAAO,KAAK,IAAI,CAAC,IAAI,KAAK,IAAI,CAAC,GAAI,IAAI,KAAK,CAAA,CAAkB,GAAG,QAAQ;AAC1E;AAEO,MAAM,SAAS,GAA6C,CAAC,KAAK,KAAI;IAC5E,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,iBAAiB,EAAE,GAAG,KAAK;AACjD,IAAA,MAAM,WAAW,GAAG,cAAc,CAAC,KAAK,CAAC;IAEzC,IAAI,CAAC,iBAAiB,EAAE;AACvB,QAAA,QACC,CAAA,CAAC,WAAW,EAAA,EAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,CAAA,cAAA,EAAiB,WAAW,CAAE,CAAA,EAAE,sBAAsB,CAAC,EAAA,EAC9F,KAAK,EACN,CAAM,CAAA,MAAA,EAAA,EAAA,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,QAAQ,EAAA,CAAG,CACvB;;AAIhB,IAAA,QACC,CAAA,CAAA,QAAA,EAAA,EAAQ,KAAK,EAAC,mBAAmB,EAAA,EAChC,CAAA,CAAC,WAAW,EAAA,EAAC,KAAK,EAAE,IAAI,CAAC,cAAc,EAAE,CAAA,cAAA,EAAiB,WAAW,CAAA,CAAE,EAAE,qBAAqB,EAAE,uBAAuB,CAAC,EAAA,EACtH,KAAK,EACN,CAAM,CAAA,MAAA,EAAA,EAAA,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,QAAQ,GAAG,CACvB,EACd,CAAG,CAAA,GAAA,EAAA,EAAA,KAAK,EAAC,0DAA0D,EAAA,EAAE,iBAAiB,CAAK,CACnF;AAEX,CAAC;;ACjCM,MAAM,kBAAkB,GAAG;AACjC,IAAA,QAAQ,EAAE,CAAC,SAAS,EAAE,qBAAqB,CAAC;IAC5C,QAAQ,EAAE,CAAC,uBAAuB,CAAC;CACC;;ACA/B,MAAO,iBAAkB,SAAQ,cAA0B,CAAA;AAChE,IAAA,WAAA,CAAmB,WAAoC,EAAA;AACtD,QAAA,KAAK,CAAC,WAAW,EAAE,kBAAkB,CAAC;;AAGhC,IAAA,iBAAiB,CAAC,KAAqC,EAAA;QAC7D,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,iBAAiB,EAAE,GAAG,KAAK;AACjD,QAAA,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;AACtB,QAAA,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;AACtB,QAAA,IAAI,CAAC,sBAAsB,CAAC,iBAAiB,CAAC;;AAGxC,IAAA,UAAU,CAAC,KAAc,EAAA;QAC/B,uBAAuB,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,KAAI;AAC1C,YAAA,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,CAAC,CAAC;AAC/B,SAAC,CAAC;;AAGI,IAAA,UAAU,CAAC,KAAc,EAAA;QAC/B,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,KAAI;AAC5B,YAAA,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,CAAC,CAAC;AAC/B,SAAC,CAAC;;AAGI,IAAA,sBAAsB,CAAC,KAAc,EAAA;QAC3C,qBAAqB,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,KAAI;AACxC,YAAA,IAAI,CAAC,aAAa,CAAC,mBAAmB,EAAE,CAAC,CAAC;AAC3C,SAAC,CAAC;;AAEH;;ACnCD,MAAM,eAAe,GAAG,40KAA40K;;MCqBv1KA,YAAU,GAAAC,kBAAA,CAAA,MAAA,UAAA,SAAA,WAAA,CAAA;AAPvB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;QAQkB,IAAI,CAAA,IAAA,GAAG,IAAI,iBAAiB,CAAC,gBAAgB,CAAC,SAAS,CAAC;AAe1D,QAAA,IAAM,CAAA,MAAA,GAAkB,CAAC;AAoCxC;AA3CO,IAAA,UAAU,CAAC,KAAmC,EAAA;AACpD,QAAA,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;;AASrB,IAAA,UAAU,CAAC,KAAoB,EAAA;AACrC,QAAA,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;;AASrB,IAAA,sBAAsB,CAAC,KAAc,EAAA;AAC3C,QAAA,IAAI,CAAC,IAAI,CAAC,sBAAsB,CAAC,KAAK,CAAC;;IAGjC,iBAAiB,GAAA;AACvB,QAAA,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC;YAC3B,KAAK,EAAE,IAAI,CAAC,MAAM;YAClB,KAAK,EAAE,IAAI,CAAC,MAAM;YAClB,iBAAiB,EAAE,IAAI,CAAC,kBAAkB;AAC1C,SAAA,CAAC;;IAGI,MAAM,GAAA;QACZ,QACC,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACJ,CAAA,CAAC,SAAS,EACT,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,EACvC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,EACvC,iBAAiB,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,mBAAmB,CAAC,EAC9D,CAAA,CACI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["KolHeading","__stencil_proxyCustomElement"],"sources":["src/internal/props/label-with-expert-slot.ts","src/internal/props/secondary-headline.ts","src/internal/functional-components/heading/component.tsx","src/internal/functional-components/heading/api.tsx","src/internal/functional-components/heading/controller.ts","src/components/heading/style.scss?tag=kol-heading&mode=default&encapsulation=shadow","src/components/heading/component.tsx"],"sourcesContent":["import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type LabelWithExpertSlotProp = SimpleProp<'label', string>;\nexport const labelWithExpertSlotProp = createPropDefinition<LabelWithExpertSlotProp>('label', '', normalizeString);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type SecondaryHeadlineProp = SimpleProp<'secondaryHeadline', string>;\nexport const secondaryHeadlineProp = createPropDefinition<SecondaryHeadlineProp>('secondaryHeadline', '', normalizeString);\n","import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport clsx from '../../../utils/clsx';\nimport type { HeadingLevel } from '../../props';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { HeadingApi } from './api';\n\ntype HeadlineTag = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'strong';\n\nfunction getHeadlineTag(level: HeadingLevel | number): HeadlineTag {\n\treturn level >= 1 && level <= 6 ? (`h${level}` as HeadlineTag) : 'strong';\n}\n\nexport const HeadingFC: FC<FunctionalComponentProps<HeadingApi>> = (props) => {\n\tconst { label, level, secondaryHeadline } = props;\n\tconst HeadlineTag = getHeadlineTag(level);\n\n\tif (!secondaryHeadline) {\n\t\treturn (\n\t\t\t<HeadlineTag class={clsx('kol-headline', `kol-headline--${HeadlineTag}`, 'kol-headline--single')}>\n\t\t\t\t{label}\n\t\t\t\t<slot name=\"expert\" slot=\"expert\" />\n\t\t\t</HeadlineTag>\n\t\t);\n\t}\n\n\treturn (\n\t\t<hgroup class=\"kol-heading-group\">\n\t\t\t<HeadlineTag class={clsx('kol-headline', `kol-headline--${HeadlineTag}`, 'kol-headline--group', 'kol-headline--primary')}>\n\t\t\t\t{label}\n\t\t\t\t<slot name=\"expert\" slot=\"expert\" />\n\t\t\t</HeadlineTag>\n\t\t\t<p class=\"kol-headline kol-headline--group kol-headline--secondary\">{secondaryHeadline}</p>\n\t\t</hgroup>\n\t);\n};\n","import { labelWithExpertSlotProp, levelProp, secondaryHeadlineProp } from '../../props';\nimport type { ApiFromConfig, PropsConfigShape } from '../generic-types';\n\nexport const headingPropsConfig = {\n\toptional: [levelProp, secondaryHeadlineProp],\n\trequired: [labelWithExpertSlotProp],\n} as const satisfies PropsConfigShape;\n\nexport type HeadingApi = ApiFromConfig<typeof headingPropsConfig>;\n","import { labelWithExpertSlotProp, levelProp, secondaryHeadlineProp } from '../../props';\nimport { BaseController } from '../base-controller';\nimport type { ControllerInterface, ResolvedInputProps, StateAccess } from '../generic-types';\nimport type { HeadingApi } from './api';\nimport { headingPropsConfig } from './api';\n\nexport class HeadingController extends BaseController<HeadingApi> implements ControllerInterface<HeadingApi> {\n\tpublic constructor(stateAccess: StateAccess<HeadingApi>) {\n\t\tsuper(stateAccess, headingPropsConfig);\n\t}\n\n\tpublic componentWillLoad(props: ResolvedInputProps<HeadingApi>): void {\n\t\tconst { label, level, secondaryHeadline } = props;\n\t\tthis.watchLabel(label);\n\t\tthis.watchLevel(level);\n\t\tthis.watchSecondaryHeadline(secondaryHeadline);\n\t}\n\n\tpublic watchLabel(value?: string): void {\n\t\tlabelWithExpertSlotProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('label', v);\n\t\t});\n\t}\n\n\tpublic watchLevel(value?: number): void {\n\t\tlevelProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('level', v);\n\t\t});\n\t}\n\n\tpublic watchSecondaryHeadline(value?: string): void {\n\t\tsecondaryHeadlineProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('secondaryHeadline', v);\n\t\t});\n\t}\n}\n","@use '../@shared/global' as *;\n\n@layer kol-component {\n\t.kol-headline {\n\t\t&--secondary {\n\t\t\tmargin: 0;\n\t\t}\n\t}\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, h, Host, Prop, Watch } from '@stencil/core';\n\nimport { BaseWebComponent } from '../../internal/functional-components/base-web-component';\nimport type { WebComponentInterface } from '../../internal/functional-components/generic-types';\nimport type { HeadingApi } from '../../internal/functional-components/heading/api';\nimport { HeadingFC } from '../../internal/functional-components/heading/component';\nimport { HeadingController } from '../../internal/functional-components/heading/controller';\nimport type { HeadingLevel, LabelWithExpertSlotPropType } from '../../schema';\n\n/**\n *\n * @slot - Inhalt der Überschrift.\n */\n@Component({\n\ttag: 'kol-heading',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolHeading implements WebComponentInterface<HeadingApi> {\n\tprivate readonly ctrl = new HeadingController(BaseWebComponent.stateLess);\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t@Watch('_label')\n\tpublic watchLabel(value?: LabelWithExpertSlotPropType): void {\n\t\tthis.ctrl.watchLabel(value);\n\t}\n\n\t/**\n\t * Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text.\n\t */\n\t@Prop() public _level?: HeadingLevel = 0;\n\n\t@Watch('_level')\n\tpublic watchLevel(value?: HeadingLevel): void {\n\t\tthis.ctrl.watchLevel(value);\n\t}\n\n\t/**\n\t * Defines the text of the secondary headline.\n\t */\n\t@Prop() public _secondaryHeadline?: string;\n\n\t@Watch('_secondaryHeadline')\n\tpublic watchSecondaryHeadline(value?: string): void {\n\t\tthis.ctrl.watchSecondaryHeadline(value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.ctrl.componentWillLoad({\n\t\t\tlabel: this._label,\n\t\t\tlevel: this._level,\n\t\t\tsecondaryHeadline: this._secondaryHeadline,\n\t\t});\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<HeadingFC\n\t\t\t\t\tlabel={this.ctrl.getRenderProp('label')}\n\t\t\t\t\tlevel={this.ctrl.getRenderProp('level')}\n\t\t\t\t\tsecondaryHeadline={this.ctrl.getRenderProp('secondaryHeadline')}\n\t\t\t\t/>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{proxyCustomElement,h,Host}from"@stencil/core/internal/client";import{B as
|
|
4
|
+
import{proxyCustomElement,HTMLElement,h,Host}from"@stencil/core/internal/client";import{B as BaseWebComponent}from"./variant-quote.js";import{I as IconFC}from"./component3.js";import"./common.js";import{c as createPropDefinition,n as normalizeString}from"./normalizers.js";import{l as labelProp}from"./label2.js";import{B as BaseController}from"./base-controller.js";const iconsProp=createPropDefinition("icons","kolicon-logo",normalizeString),iconPropsConfig={required:[iconsProp,labelProp]};class IconController extends BaseController{constructor(n){super(n,iconPropsConfig)}componentWillLoad(n){const{icons:o,label:e}=n;this.watchIcons(o),this.watchLabel(e)}watchIcons(n){iconsProp.apply(n,n=>{this.setRenderProp("icons",n)})}watchLabel(n){labelProp.apply(n,n=>{this.setRenderProp("label",n)})}}const defaultStyleCss='@font-face {\n font-family: "kolicons";\n src: url("kolicons.eot?t=1775124354743"); /* IE9*/\n src: url("kolicons.eot?t=1775124354743#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1775124354743") format("woff2"), url("kolicons.woff?t=1775124354743") format("woff"), url("kolicons.ttf?t=1775124354743") format("truetype"), url("kolicons.svg?t=1775124354743#kolicons") format("svg"); /* iOS 4.1- */\n}\n@layer kol-component {\n [class^=kolicon-], [class*=" kolicon-"] {\n font-family: "kolicons";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .kolicon-alert-error::before {\n content: "\\ea01";\n }\n .kolicon-alert-info::before {\n content: "\\ea02";\n }\n .kolicon-alert-success::before {\n content: "\\ea03";\n }\n .kolicon-alert-warning::before {\n content: "\\ea04";\n }\n .kolicon-check::before {\n content: "\\ea05";\n }\n .kolicon-chevron-double-left::before {\n content: "\\ea06";\n }\n .kolicon-chevron-double-right::before {\n content: "\\ea07";\n }\n .kolicon-chevron-down::before {\n content: "\\ea08";\n }\n .kolicon-chevron-left::before {\n content: "\\ea09";\n }\n .kolicon-chevron-right::before {\n content: "\\ea0a";\n }\n .kolicon-chevron-up::before {\n content: "\\ea0b";\n }\n .kolicon-cogwheel::before {\n content: "\\ea0c";\n }\n .kolicon-cross::before {\n content: "\\ea0d";\n }\n .kolicon-eye-closed::before {\n content: "\\ea0e";\n }\n .kolicon-eye::before {\n content: "\\ea0f";\n }\n .kolicon-house::before {\n content: "\\ea10";\n }\n .kolicon-kolibri::before {\n content: "\\ea11";\n }\n .kolicon-link-external::before {\n content: "\\ea12";\n }\n .kolicon-link::before {\n content: "\\ea13";\n }\n .kolicon-minus::before {\n content: "\\ea14";\n }\n .kolicon-plus::before {\n content: "\\ea15";\n }\n .kolicon-settings::before {\n content: "\\ea16";\n }\n .kolicon-sort-asc::before {\n content: "\\ea17";\n }\n .kolicon-sort-desc::before {\n content: "\\ea18";\n }\n .kolicon-sort-neutral::before {\n content: "\\ea19";\n }\n .kolicon-up::before {\n content: "\\ea1a";\n }\n .kolicon-version::before {\n content: "\\ea1b";\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n}',KolIcon$1=proxyCustomElement(class extends HTMLElement{constructor(n){super(),!1!==n&&this.__registerHost(),this.__attachShadow(),this.ctrl=new IconController(BaseWebComponent.stateLess)}watchIcons(n){this.ctrl.watchIcons(n)}watchLabel(n){this.ctrl.watchLabel(n)}componentWillLoad(){this.ctrl.componentWillLoad({icons:this._icons,label:this._label})}render(){return h(Host,{key:"af39984255995f183c5dce6bc5a6433b84940131"},h(IconFC,{key:"1a03c1c01121ec2cc03ade18bc299a00bee5f0cd",icons:this.ctrl.getRenderProp("icons"),label:this.ctrl.getRenderProp("label")}))}static get watchers(){return{_icons:["watchIcons"],_label:["watchLabel"]}}static get style(){return{default:defaultStyleCss}}},[289,"kol-icon",{_icons:[1],_label:[1]},void 0,{_icons:["watchIcons"],_label:["watchLabel"]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-icon"].forEach(n=>{if("kol-icon"===n)customElements.get(n)||customElements.define(n,KolIcon$1)})}const KolIcon=KolIcon$1,defineCustomElement=defineCustomElement$1;export{KolIcon,defineCustomElement};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"kol-icon.js","mappings":"
|
|
1
|
+
{"file":"kol-icon.js","mappings":";;;;;;;;;;;AAyBO,MAAM,SAAS,GAAG,oBAAoB,CAAY,OAAO,EAAE,cAAc,EAAE,eAAe,CAAC;;ACtB3F,MAAM,eAAe,GAAG;AAC9B,IAAA,QAAQ,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC;CACI;;ACC/B,MAAO,cAAe,SAAQ,cAAuB,CAAA;AAC1D,IAAA,WAAA,CAAmB,WAAiC,EAAA;AACnD,QAAA,KAAK,CAAC,WAAW,EAAE,eAAe,CAAC;;AAG7B,IAAA,iBAAiB,CAAC,KAA6B,EAAA;AACrD,QAAA,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,KAAK;AAC9B,QAAA,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;AACtB,QAAA,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;;AAGhB,IAAA,UAAU,CAAC,KAAc,EAAA;QAC/B,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,KAAI;AAC5B,YAAA,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,CAAC,CAAC;AAC/B,SAAC,CAAC;;AAGI,IAAA,UAAU,CAAC,KAAc,EAAA;QAC/B,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,KAAI;AAC5B,YAAA,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,CAAC,CAAC;AAC/B,SAAC,CAAC;;AAEH;;AC5BD,MAAM,eAAe,GAAG,2hFAA2hF;;MCkBtiFA,SAAO,GAAAC,kBAAA,CAAA,MAAA,OAAA,SAAA,WAAA,CAAA;AAPpB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;QAQkB,IAAI,CAAA,IAAA,GAAG,IAAI,cAAc,CAAC,gBAAgB,CAAC,SAAS,CAAC;AAsCtE;AA7BO,IAAA,UAAU,CAAC,KAAc,EAAA;AAC/B,QAAA,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;;AAUrB,IAAA,UAAU,CAAC,KAAc,EAAA;AAC/B,QAAA,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;;IAGrB,iBAAiB,GAAA;AACvB,QAAA,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC;YAC3B,KAAK,EAAE,IAAI,CAAC,MAAM;YAClB,KAAK,EAAE,IAAI,CAAC,MAAM;AAClB,SAAA,CAAC;;IAGI,MAAM,GAAA;QACZ,QACC,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACJ,CAAC,CAAA,MAAM,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,EAAA,CAAI,CACtF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["KolIcon","__stencil_proxyCustomElement"],"sources":["src/internal/props/icons.ts","src/internal/functional-components/icon/api.tsx","src/internal/functional-components/icon/controller.ts","src/components/icon/style.scss?tag=kol-icon&mode=default&encapsulation=shadow","src/components/icon/component.tsx"],"sourcesContent":["import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\n/**\n * Icons prop for icon class names\n *\n * Description:\n * Specifies the icon(s) to display via CSS class names (e.g., icon fonts). Icons are\n * visual indicators that supplement or replace text content.\n *\n * Usage (according to WCAG 2.1 and WAI-ARIA):\n * - Decorative icons: Must be hidden from assistive technologies (aria-hidden=\"true\")\n * - Informative icons: Must have a text alternative (WCAG 1.1.1 Non-text Content)\n * - Use the label prop or aria-label to provide an accessible name\n * - Icons must not be the sole means of conveying information (WCAG 1.3.3 Sensory Characteristics)\n * - Icon colors must have sufficient contrast against their background (WCAG 1.4.11 Non-text Contrast, 3:1 ratio)\n * - Icons used in interactive elements must meet minimum target size (WCAG 2.5.8 Target Size)\n *\n * @see https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html\n * @see https://www.w3.org/WAI/WCAG21/Understanding/non-text-contrast.html\n * @see https://www.w3.org/WAI/WCAG21/Understanding/sensory-characteristics.html\n * @see https://www.w3.org/TR/wai-aria-1.2/#aria-hidden\n */\nexport type IconsProp = SimpleProp<'icons', string>;\nexport const iconsProp = createPropDefinition<IconsProp>('icons', 'kolicon-logo', normalizeString);\n","import { iconsProp, labelProp } from '../../props';\nimport type { ApiFromConfig, PropsConfigShape } from '../generic-types';\n\nexport const iconPropsConfig = {\n\trequired: [iconsProp, labelProp],\n} as const satisfies PropsConfigShape;\n\nexport type IconApi = ApiFromConfig<typeof iconPropsConfig>;\n","import { iconsProp, labelProp } from '../../props';\nimport { BaseController } from '../base-controller';\nimport type { ControllerInterface, ResolvedProps, StateAccess } from '../generic-types';\nimport type { IconApi } from './api';\nimport { iconPropsConfig } from './api';\n\nexport class IconController extends BaseController<IconApi> implements ControllerInterface<IconApi> {\n\tpublic constructor(stateAccess: StateAccess<IconApi>) {\n\t\tsuper(stateAccess, iconPropsConfig);\n\t}\n\n\tpublic componentWillLoad(props: ResolvedProps<IconApi>): void {\n\t\tconst { icons, label } = props;\n\t\tthis.watchIcons(icons);\n\t\tthis.watchLabel(label);\n\t}\n\n\tpublic watchIcons(value?: string): void {\n\t\ticonsProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('icons', v);\n\t\t});\n\t}\n\n\tpublic watchLabel(value?: string): void {\n\t\tlabelProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('label', v);\n\t\t});\n\t}\n}\n","@use '../@shared/icon.mixin' as *;\n\n@layer kol-component {\n\t@include kol-icon-styles();\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, h, Host, Prop, Watch } from '@stencil/core';\nimport { BaseWebComponent } from '../../internal/functional-components/base-web-component';\nimport type { WebComponentInterface } from '../../internal/functional-components/generic-types';\nimport type { IconApi } from '../../internal/functional-components/icon/api';\nimport { IconFC } from '../../internal/functional-components/icon/component';\nimport { IconController } from '../../internal/functional-components/icon/controller';\n\n/**\n * The **Icon** component allows icons from included icon fonts to be displayed at any position.\n */\n@Component({\n\ttag: 'kol-icon',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolIcon implements WebComponentInterface<IconApi> {\n\tprivate readonly ctrl = new IconController(BaseWebComponent.stateLess);\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop()\n\tpublic _icons!: string;\n\n\t@Watch('_icons')\n\tpublic watchIcons(value?: string): void {\n\t\tthis.ctrl.watchIcons(value);\n\t}\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop()\n\tpublic _label!: string;\n\n\t@Watch('_label')\n\tpublic watchLabel(value?: string): void {\n\t\tthis.ctrl.watchLabel(value);\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.ctrl.componentWillLoad({\n\t\t\ticons: this._icons,\n\t\t\tlabel: this._label,\n\t\t});\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<IconFC icons={this.ctrl.getRenderProp('icons')} label={this.ctrl.getRenderProp('label')} />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{h,proxyCustomElement,Host}from"@stencil/core/internal/client";import{l as loadingProp,B as
|
|
4
|
+
import{h,proxyCustomElement,HTMLElement,Host}from"@stencil/core/internal/client";import{l as loadingProp,B as BaseWebComponent}from"./variant-quote.js";import"./common.js";import{c as createPropDefinition,n as normalizeString}from"./normalizers.js";import{s as srcProp}from"./src.js";import{B as BaseController}from"./base-controller.js";const altProp=createPropDefinition("alt","",normalizeString,e=>"string"==typeof e),sizesProp=createPropDefinition("sizes","",normalizeString),srcsetProp=createPropDefinition("srcset","",normalizeString),ImageFC=e=>{const{alt:n,loading:t,sizes:o,src:i,srcset:s}=e;return h("img",{class:"kol-image",alt:n,loading:t,sizes:o||void 0,src:i,srcset:s||void 0})},imagePropsConfig={optional:[loadingProp,sizesProp,srcsetProp],required:[altProp,srcProp]};class ImageController extends BaseController{constructor(e){super(e,imagePropsConfig)}componentWillLoad(e){const{alt:n,loading:t,sizes:o,src:i,srcset:s}=e;this.watchAlt(n),this.watchLoading(t),this.watchSizes(o),this.watchSrc(i),this.watchSrcset(s)}watchAlt(e){altProp.apply(e,e=>{this.setRenderProp("alt",e)})}watchLoading(e){loadingProp.apply(e,e=>{this.setRenderProp("loading",e)})}watchSizes(e){sizesProp.apply(e,e=>{this.setRenderProp("sizes",e)})}watchSrc(e){srcProp.apply(e,e=>{this.setRenderProp("src",e)})}watchSrcset(e){srcsetProp.apply(e,e=>{this.setRenderProp("srcset",e)})}}const defaultStyleCss="/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n .kol-image {\n display: inline-block;\n max-width: 100%;\n max-height: 100%;\n }\n}",KolImage$1=proxyCustomElement(class extends HTMLElement{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.ctrl=new ImageController(BaseWebComponent.stateLess)}watchAlt(e){this.ctrl.watchAlt(e)}watchLoading(e){this.ctrl.watchLoading(e)}watchSizes(e){this.ctrl.watchSizes(e)}watchSrc(e){this.ctrl.watchSrc(e)}watchSrcset(e){this.ctrl.watchSrcset(e)}componentWillLoad(){this.ctrl.componentWillLoad({alt:this._alt,loading:this._loading,sizes:this._sizes,src:this._src,srcset:this._srcset})}render(){return h(Host,{key:"2890d8504d0a2d5b3e96d8adcaa27323ce486898"},h(ImageFC,{key:"a26c7a71503fc0b9df8d8a510af015f752917316",alt:this.ctrl.getRenderProp("alt"),loading:this.ctrl.getRenderProp("loading"),sizes:this.ctrl.getRenderProp("sizes"),src:this.ctrl.getRenderProp("src"),srcset:this.ctrl.getRenderProp("srcset")}))}static get watchers(){return{_alt:["watchAlt"],_loading:["watchLoading"],_sizes:["watchSizes"],_src:["watchSrc"],_srcset:["watchSrcset"]}}static get style(){return{default:defaultStyleCss}}},[289,"kol-image",{_alt:[1],_loading:[1],_sizes:[1],_src:[1],_srcset:[1]},void 0,{_alt:["watchAlt"],_loading:["watchLoading"],_sizes:["watchSizes"],_src:["watchSrc"],_srcset:["watchSrcset"]}]);function defineCustomElement$1(){if("undefined"==typeof customElements)return;["kol-image"].forEach(e=>{if("kol-image"===e)customElements.get(e)||customElements.define(e,KolImage$1)})}const KolImage=KolImage$1,defineCustomElement=defineCustomElement$1;export{KolImage,defineCustomElement};
|