@public-ui/components 1.7.16 → 1.7.17
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/custom-elements.json +1 -1
- package/dist/cjs/{a11y.tipps-bd449d8f.js → a11y.tipps-3f8e7818.js} +1 -1
- package/dist/cjs/{a11y.tipps-bd449d8f.js.map → a11y.tipps-3f8e7818.js.map} +1 -1
- package/dist/cjs/align-0e1f5c2b.js +4 -0
- package/dist/cjs/{align-a8382c2d.js.map → align-0e1f5c2b.js.map} +1 -1
- package/dist/cjs/{alignment-3dc1be8a.js → alignment-89c86eb0.js} +1 -1
- package/dist/cjs/{alignment-3dc1be8a.js.map → alignment-89c86eb0.js.map} +1 -1
- package/dist/cjs/{app-globals-75e5e6b9.js → app-globals-e658c654.js} +1 -1
- package/dist/cjs/{app-globals-75e5e6b9.js.map → app-globals-e658c654.js.map} +1 -1
- package/dist/cjs/{aria-current-86dc3c8f.js → aria-current-078167cc.js} +1 -1
- package/dist/cjs/{aria-current-86dc3c8f.js.map → aria-current-078167cc.js.map} +1 -1
- package/dist/cjs/{associated.controller-e583ef2c.js → associated.controller-7c923ce9.js} +1 -1
- package/dist/cjs/{associated.controller-e583ef2c.js.map → associated.controller-7c923ce9.js.map} +1 -1
- package/dist/cjs/{color-cccb0f7f.js → color-de891f36.js} +1 -1
- package/dist/cjs/{color-cccb0f7f.js.map → color-de891f36.js.map} +1 -1
- package/dist/cjs/component-names-3621d6a8.js +4 -0
- package/dist/cjs/component-names-3621d6a8.js.map +1 -0
- package/dist/cjs/{controller-ad83264f.js → controller-02f802c9.js} +1 -1
- package/dist/cjs/{controller-ad83264f.js.map → controller-02f802c9.js.map} +1 -1
- package/dist/cjs/{controller-de595e53.js → controller-78ade4e9.js} +1 -1
- package/dist/cjs/{controller-de595e53.js.map → controller-78ade4e9.js.map} +1 -1
- package/dist/cjs/{controller-67bdfa63.js → controller-802307ad.js} +1 -1
- package/dist/cjs/{controller-67bdfa63.js.map → controller-802307ad.js.map} +1 -1
- package/dist/cjs/{controller-a44ea733.js → controller-8d3217e3.js} +1 -1
- package/dist/cjs/{controller-a44ea733.js.map → controller-8d3217e3.js.map} +1 -1
- package/dist/cjs/{controller-e7bf77b4.js → controller-ef46040c.js} +1 -1
- package/dist/cjs/{controller-e7bf77b4.js.map → controller-ef46040c.js.map} +1 -1
- package/dist/cjs/{controller-icon-5cfc9873.js → controller-icon-eb3d48ac.js} +1 -1
- package/dist/cjs/{controller-icon-5cfc9873.js.map → controller-icon-eb3d48ac.js.map} +1 -1
- package/dist/cjs/{custom-class-6151c106.js → custom-class-ed6fe65a.js} +1 -1
- package/dist/cjs/{custom-class-6151c106.js.map → custom-class-ed6fe65a.js.map} +1 -1
- package/dist/cjs/{dev.utils-8ff2366d.js → dev.utils-2be90b79.js} +1 -1
- package/dist/cjs/dev.utils-2be90b79.js.map +1 -0
- package/dist/cjs/{devtools-b76dac0a.js → devtools-c07503d3.js} +1 -1
- package/dist/cjs/{devtools-b76dac0a.js.map → devtools-c07503d3.js.map} +1 -1
- package/dist/cjs/form-field-msg-8043a6f2.js +4 -0
- package/dist/cjs/form-field-msg-8043a6f2.js.map +1 -0
- package/dist/cjs/has-closer-ae02fbbc.js +4 -0
- package/dist/cjs/{has-closer-cd8d0ef8.js.map → has-closer-ae02fbbc.js.map} +1 -1
- package/dist/cjs/hide-label-c0867c2b.js +4 -0
- package/dist/cjs/{hide-label-f6851215.js.map → hide-label-c0867c2b.js.map} +1 -1
- package/dist/cjs/{icons-f4634847.js → icons-1cdb11a2.js} +1 -1
- package/dist/cjs/{icons-f4634847.js.map → icons-1cdb11a2.js.map} +1 -1
- package/dist/cjs/image-source-f75560c6.js +4 -0
- package/dist/cjs/{image-source-a9ea5150.js.map → image-source-f75560c6.js.map} +1 -1
- package/dist/cjs/{index-8606e84d.js → index-67d1914c.js} +1 -1
- package/dist/cjs/index-67d1914c.js.map +1 -0
- package/dist/cjs/{index-4a49c733.js → index-b0f8ba96.js} +1 -1
- package/dist/cjs/{index-4a49c733.js.map → index-b0f8ba96.js.map} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
- package/dist/cjs/kol-abbr.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
- package/dist/cjs/kol-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-alert-wc.cjs.entry.js +4 -0
- package/dist/cjs/kol-alert-wc.cjs.entry.js.map +1 -0
- package/dist/cjs/kol-alert.cjs.entry.js +1 -1
- package/dist/cjs/kol-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
- package/dist/cjs/kol-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-badge.cjs.entry.js +1 -1
- package/dist/cjs/kol-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/kol-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-button-group-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-group.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-button-link-text-switch.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-link-text-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-link.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-button-wc.cjs.entry.js +4 -0
- package/dist/cjs/kol-button-wc.cjs.entry.js.map +1 -0
- package/dist/cjs/kol-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-button.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-card.cjs.entry.js +1 -1
- package/dist/cjs/kol-card.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-details.cjs.entry.js +1 -1
- package/dist/cjs/kol-details.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-form.cjs.entry.js +1 -1
- package/dist/cjs/kol-form.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-heading-wc.cjs.entry.js +4 -0
- package/dist/cjs/kol-heading-wc.cjs.entry.js.map +1 -0
- package/dist/cjs/kol-heading.cjs.entry.js +1 -1
- package/dist/cjs/kol-heading.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-icon-font-awesome.cjs.entry.js +1 -1
- package/dist/cjs/kol-icon-font-awesome.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-icon-icofont.cjs.entry.js +1 -1
- package/dist/cjs/kol-icon-icofont.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-icon.cjs.entry.js +1 -1
- package/dist/cjs/kol-image.cjs.entry.js +1 -1
- package/dist/cjs/kol-indented-text.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-adapter-leanup.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-adapter-leanup.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-radio-group.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-input.cjs.entry.js +1 -1
- package/dist/cjs/kol-input.cjs.entry.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-button.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
- package/dist/cjs/kol-link-group.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-link-wc.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-link.cjs.entry.js +1 -1
- package/dist/cjs/kol-link.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-logo.cjs.entry.js +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-nav.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
- package/dist/cjs/kol-pagination.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-progress.cjs.entry.js +1 -1
- package/dist/cjs/kol-quote.cjs.entry.js +1 -1
- package/dist/cjs/kol-quote.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-select.cjs.entry.js +1 -1
- package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
- package/dist/cjs/kol-skip-nav.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-span-wc.cjs.entry.js +4 -0
- package/dist/cjs/kol-span-wc.cjs.entry.js.map +1 -0
- package/dist/cjs/kol-span.cjs.entry.js +1 -1
- package/dist/cjs/kol-span.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-spin.cjs.entry.js +1 -1
- package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-split-button.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
- package/dist/cjs/kol-table.cjs.entry.js +1 -1
- package/dist/cjs/kol-table.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
- package/dist/cjs/kol-tabs.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
- package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/kol-toast-container.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-toast.cjs.entry.js +1 -1
- package/dist/cjs/kol-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-tooltip-wc.cjs.entry.js +4 -0
- package/dist/cjs/kol-tooltip-wc.cjs.entry.js.map +1 -0
- package/dist/cjs/kol-version.cjs.entry.js +1 -1
- package/dist/cjs/kol-version.cjs.entry.js.map +1 -1
- package/dist/cjs/kolibri.cjs.js +1 -1
- package/dist/cjs/{label-69b85954.js → label-b523933e.js} +1 -1
- package/dist/cjs/{label-69b85954.js.map → label-b523933e.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/open-2c089085.js +4 -0
- package/dist/cjs/{open-b73d464a.js.map → open-2c089085.js.map} +1 -1
- package/dist/cjs/{prop.validators-3b868b6c.js → prop.validators-71fdbf5b.js} +1 -1
- package/dist/cjs/{prop.validators-3b868b6c.js.map → prop.validators-71fdbf5b.js.map} +1 -1
- package/dist/cjs/rows-05b72a82.js +4 -0
- package/dist/cjs/{rows-b9f39e03.js.map → rows-05b72a82.js.map} +1 -1
- package/dist/cjs/show-313a4767.js +4 -0
- package/dist/cjs/{show-42935746.js.map → show-313a4767.js.map} +1 -1
- package/dist/cjs/{suggestions-dd01db02.js → suggestions-5cd0cac0.js} +1 -1
- package/dist/cjs/{suggestions-dd01db02.js.map → suggestions-5cd0cac0.js.map} +1 -1
- package/dist/cjs/{tab-index-f8d25f52.js → tab-index-e209eaa4.js} +1 -1
- package/dist/cjs/{tab-index-f8d25f52.js.map → tab-index-e209eaa4.js.map} +1 -1
- package/dist/cjs/toaster-48b73b90.js +4 -0
- package/dist/cjs/toaster-48b73b90.js.map +1 -0
- package/dist/cjs/toaster-6a4c31ad.js +4 -0
- package/dist/cjs/toaster-6a4c31ad.js.map +1 -0
- package/dist/cjs/{tooltip-align-4afe6430.js → tooltip-align-708ed5fb.js} +1 -1
- package/dist/cjs/{tooltip-align-4afe6430.js.map → tooltip-align-708ed5fb.js.map} +1 -1
- package/dist/cjs/{validation-f6dd44d4.js → validation-b3932372.js} +1 -1
- package/dist/cjs/{validation-f6dd44d4.js.map → validation-b3932372.js.map} +1 -1
- package/dist/cjs/{validation-3be135dd.js → validation-dee6446b.js} +1 -1
- package/dist/cjs/{validation-3be135dd.js.map → validation-dee6446b.js.map} +1 -1
- package/dist/components/a11y.tipps.js +4 -0
- package/dist/components/a11y.tipps.js.map +1 -0
- package/dist/components/align.js +1 -1
- package/dist/components/align.js.map +1 -1
- package/dist/components/alignment.js +4 -0
- package/dist/components/alignment.js.map +1 -0
- package/dist/components/aria-current.js +4 -0
- package/dist/components/aria-current.js.map +1 -0
- package/dist/components/associated.controller.js +4 -0
- package/dist/components/associated.controller.js.map +1 -0
- package/dist/components/color.js +1 -1
- package/dist/components/color.js.map +1 -1
- package/dist/components/component-names.js +4 -0
- package/dist/components/component-names.js.map +1 -0
- package/dist/components/controller-icon.js +1 -1
- package/dist/components/controller-icon.js.map +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 +4 -0
- package/dist/components/controller5.js.map +1 -0
- package/dist/components/custom-class.js +4 -0
- package/dist/components/custom-class.js.map +1 -0
- package/dist/components/dev.utils.js +4 -0
- package/dist/components/dev.utils.js.map +1 -0
- package/dist/components/devtools.js +1 -1
- package/dist/components/devtools.js.map +1 -1
- package/dist/components/floating-ui.dom.esm.js +4 -0
- package/dist/components/floating-ui.dom.esm.js.map +1 -0
- package/dist/components/form-field-msg.js +4 -0
- package/dist/components/form-field-msg.js.map +1 -0
- package/dist/components/has-closer.js +1 -1
- package/dist/components/hide-label.js +4 -0
- package/dist/components/hide-label.js.map +1 -0
- package/dist/components/i18n2.js +1 -1
- package/dist/components/icons.js +4 -0
- package/dist/components/icons.js.map +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/index.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-accordion.js.map +1 -1
- package/dist/components/kol-alert-wc.js +1 -1
- package/dist/components/kol-alert-wc.js.map +1 -1
- package/dist/components/kol-alert.js +1 -1
- package/dist/components/kol-alert.js.map +1 -1
- package/dist/components/kol-avatar-wc.js +1 -1
- package/dist/components/kol-avatar-wc.js.map +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-badge.js.map +1 -1
- package/dist/components/kol-breadcrumb.js +1 -1
- package/dist/components/kol-breadcrumb.js.map +1 -1
- package/dist/components/kol-button-group-wc.js +1 -1
- package/dist/components/kol-button-group-wc.js.map +1 -1
- package/dist/components/kol-button-group.js +1 -1
- package/dist/components/kol-button-group.js.map +1 -1
- package/dist/components/kol-button-link-text-switch.js +1 -1
- package/dist/components/kol-button-link-text-switch.js.map +1 -1
- package/dist/components/kol-button-link.js +1 -1
- package/dist/components/kol-button-link.js.map +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-button.js.map +1 -1
- package/dist/components/kol-card.js +1 -1
- package/dist/components/kol-card.js.map +1 -1
- package/dist/components/kol-details.js +1 -1
- package/dist/components/kol-details.js.map +1 -1
- package/dist/components/kol-form.js +1 -1
- package/dist/components/kol-form.js.map +1 -1
- package/dist/components/kol-heading-wc.js +1 -1
- package/dist/components/kol-heading-wc.js.map +1 -1
- package/dist/components/kol-heading.js +1 -1
- package/dist/components/kol-heading.js.map +1 -1
- package/dist/components/kol-icon-font-awesome.js +1 -1
- package/dist/components/kol-icon-font-awesome.js.map +1 -1
- package/dist/components/kol-icon-icofont.js +1 -1
- package/dist/components/kol-icon-icofont.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-indented-text.js +1 -1
- package/dist/components/kol-indented-text.js.map +1 -1
- package/dist/components/kol-input-adapter-leanup.js +1 -1
- package/dist/components/kol-input-adapter-leanup.js.map +1 -1
- package/dist/components/kol-input-checkbox.js +1 -1
- package/dist/components/kol-input-checkbox.js.map +1 -1
- package/dist/components/kol-input-color.js +1 -1
- package/dist/components/kol-input-color.js.map +1 -1
- package/dist/components/kol-input-date.js +1 -1
- package/dist/components/kol-input-date.js.map +1 -1
- package/dist/components/kol-input-email.js +1 -1
- package/dist/components/kol-input-email.js.map +1 -1
- package/dist/components/kol-input-file.js +1 -1
- package/dist/components/kol-input-file.js.map +1 -1
- package/dist/components/kol-input-number.js +1 -1
- package/dist/components/kol-input-number.js.map +1 -1
- package/dist/components/kol-input-password.js +1 -1
- package/dist/components/kol-input-password.js.map +1 -1
- package/dist/components/kol-input-radio-group.js +1 -1
- package/dist/components/kol-input-radio-group.js.map +1 -1
- package/dist/components/kol-input-radio.js +1 -1
- package/dist/components/kol-input-radio.js.map +1 -1
- package/dist/components/kol-input-range.js +1 -1
- package/dist/components/kol-input-range.js.map +1 -1
- package/dist/components/kol-input-text.js +1 -1
- package/dist/components/kol-input-text.js.map +1 -1
- package/dist/components/kol-input.js +1 -1
- package/dist/components/kol-input.js.map +1 -1
- package/dist/components/kol-kolibri.js +1 -1
- package/dist/components/kol-kolibri.js.map +1 -1
- package/dist/components/kol-link-button.js +1 -1
- package/dist/components/kol-link-button.js.map +1 -1
- package/dist/components/kol-link-group.js +1 -1
- package/dist/components/kol-link-group.js.map +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-link.js.map +1 -1
- package/dist/components/kol-logo.js +1 -1
- package/dist/components/kol-logo.js.map +1 -1
- package/dist/components/kol-modal.js +1 -1
- package/dist/components/kol-modal.js.map +1 -1
- package/dist/components/kol-nav.js +1 -1
- package/dist/components/kol-nav.js.map +1 -1
- package/dist/components/kol-pagination.js +1 -1
- package/dist/components/kol-pagination.js.map +1 -1
- package/dist/components/kol-popover-wc.js +1 -1
- package/dist/components/kol-popover-wc.js.map +1 -1
- package/dist/components/kol-progress.js +1 -1
- package/dist/components/kol-quote.js +1 -1
- package/dist/components/kol-quote.js.map +1 -1
- package/dist/components/kol-select.js +1 -1
- package/dist/components/kol-select.js.map +1 -1
- package/dist/components/kol-skip-nav.js +1 -1
- package/dist/components/kol-skip-nav.js.map +1 -1
- package/dist/components/kol-span-wc.js +1 -1
- package/dist/components/kol-span-wc.js.map +1 -1
- package/dist/components/kol-span.js +1 -1
- package/dist/components/kol-span.js.map +1 -1
- package/dist/components/kol-split-button.js +1 -1
- package/dist/components/kol-split-button.js.map +1 -1
- package/dist/components/kol-table.js +1 -1
- package/dist/components/kol-table.js.map +1 -1
- package/dist/components/kol-tabs.js +1 -1
- package/dist/components/kol-tabs.js.map +1 -1
- package/dist/components/kol-textarea.js +1 -1
- package/dist/components/kol-textarea.js.map +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-toast.js +1 -1
- package/dist/components/kol-toast.js.map +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-version.js +1 -1
- package/dist/components/kol-version.js.map +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/label.js.map +1 -1
- package/dist/components/open.js +1 -1
- package/dist/components/prop.validators.js +1 -1
- package/dist/components/prop.validators.js.map +1 -1
- package/dist/components/reuse.js +4 -0
- package/dist/components/reuse.js.map +1 -0
- package/dist/components/rows.js +1 -1
- package/dist/components/show.js +1 -1
- package/dist/components/suggestions.js +1 -1
- package/dist/components/suggestions.js.map +1 -1
- package/dist/components/tab-index.js +1 -1
- package/dist/components/tab-index.js.map +1 -1
- package/dist/components/tooltip-align.js +1 -1
- package/dist/components/validation.js +1 -1
- package/dist/components/validation.js.map +1 -1
- package/dist/components/validation2.js +4 -0
- package/dist/components/validation2.js.map +1 -0
- package/dist/esm/{a11y.tipps-1cea6b3d.js → a11y.tipps-5500b43f.js} +1 -1
- package/dist/esm/{a11y.tipps-1cea6b3d.js.map → a11y.tipps-5500b43f.js.map} +1 -1
- package/dist/esm/{align-a007e3db.js → align-aa788167.js} +1 -1
- package/dist/esm/{align-a007e3db.js.map → align-aa788167.js.map} +1 -1
- package/dist/esm/{alignment-7cf13a42.js → alignment-c366b3f5.js} +1 -1
- package/dist/esm/{alignment-7cf13a42.js.map → alignment-c366b3f5.js.map} +1 -1
- package/dist/esm/app-globals-81e7cd32.js +4 -0
- package/dist/esm/{app-globals-33e2d739.js.map → app-globals-81e7cd32.js.map} +1 -1
- package/dist/esm/{aria-current-9675e9d1.js → aria-current-a63795f0.js} +1 -1
- package/dist/esm/{aria-current-9675e9d1.js.map → aria-current-a63795f0.js.map} +1 -1
- package/dist/esm/{associated.controller-c4487875.js → associated.controller-50f43123.js} +1 -1
- package/dist/esm/{associated.controller-c4487875.js.map → associated.controller-50f43123.js.map} +1 -1
- package/dist/esm/{color-0f13235a.js → color-58e00a36.js} +1 -1
- package/dist/esm/{color-0f13235a.js.map → color-58e00a36.js.map} +1 -1
- package/dist/esm/component-names-fed305c7.js +4 -0
- package/dist/esm/component-names-fed305c7.js.map +1 -0
- package/dist/esm/{controller-9b0595a1.js → controller-317e5f2a.js} +1 -1
- package/dist/esm/{controller-9b0595a1.js.map → controller-317e5f2a.js.map} +1 -1
- package/dist/esm/{controller-b6a485f1.js → controller-6b1a2d6a.js} +1 -1
- package/dist/esm/{controller-b6a485f1.js.map → controller-6b1a2d6a.js.map} +1 -1
- package/dist/esm/{controller-213a22e8.js → controller-75392e16.js} +1 -1
- package/dist/esm/{controller-213a22e8.js.map → controller-75392e16.js.map} +1 -1
- package/dist/esm/{controller-2e3afee2.js → controller-8716848e.js} +1 -1
- package/dist/esm/{controller-2e3afee2.js.map → controller-8716848e.js.map} +1 -1
- package/dist/esm/{controller-86b9d0e8.js → controller-b8634358.js} +1 -1
- package/dist/esm/{controller-86b9d0e8.js.map → controller-b8634358.js.map} +1 -1
- package/dist/esm/{controller-icon-90a5af99.js → controller-icon-ac470db3.js} +1 -1
- package/dist/esm/{controller-icon-90a5af99.js.map → controller-icon-ac470db3.js.map} +1 -1
- package/dist/esm/{custom-class-9470f26b.js → custom-class-ae011192.js} +1 -1
- package/dist/esm/{custom-class-9470f26b.js.map → custom-class-ae011192.js.map} +1 -1
- package/dist/esm/{dev.utils-8d5cefe9.js → dev.utils-cdb6e8d3.js} +1 -1
- package/dist/esm/dev.utils-cdb6e8d3.js.map +1 -0
- package/dist/esm/{devtools-8368d254.js → devtools-8809d87a.js} +1 -1
- package/dist/esm/{devtools-8368d254.js.map → devtools-8809d87a.js.map} +1 -1
- package/dist/esm/form-field-msg-85face25.js +4 -0
- package/dist/esm/form-field-msg-85face25.js.map +1 -0
- package/dist/esm/{has-closer-a9be38af.js → has-closer-dd12bf14.js} +1 -1
- package/dist/esm/{has-closer-a9be38af.js.map → has-closer-dd12bf14.js.map} +1 -1
- package/dist/esm/{hide-label-d39d4679.js → hide-label-04b87845.js} +1 -1
- package/dist/esm/{hide-label-d39d4679.js.map → hide-label-04b87845.js.map} +1 -1
- package/dist/esm/{icons-1e78352d.js → icons-bbc974ee.js} +1 -1
- package/dist/esm/{icons-1e78352d.js.map → icons-bbc974ee.js.map} +1 -1
- package/dist/esm/{image-source-20111f07.js → image-source-e1470645.js} +1 -1
- package/dist/esm/{image-source-20111f07.js.map → image-source-e1470645.js.map} +1 -1
- package/dist/esm/{index-c1d028ba.js → index-a051748e.js} +1 -1
- package/dist/esm/index-a051748e.js.map +1 -0
- package/dist/esm/{index-0e51998c.js → index-a42f8d80.js} +1 -1
- package/dist/esm/{index-0e51998c.js.map → index-a42f8d80.js.map} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.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 +4 -0
- package/dist/esm/kol-alert-wc.entry.js.map +1 -0
- package/dist/esm/kol-alert.entry.js +1 -1
- package/dist/esm/kol-alert.entry.js.map +1 -1
- package/dist/esm/kol-avatar-wc.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-badge.entry.js.map +1 -1
- package/dist/esm/kol-breadcrumb.entry.js +1 -1
- package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
- package/dist/esm/kol-button-group-wc.entry.js +1 -1
- package/dist/esm/kol-button-group.entry.js +1 -1
- package/dist/esm/kol-button-group.entry.js.map +1 -1
- package/dist/esm/kol-button-link-text-switch.entry.js +1 -1
- package/dist/esm/kol-button-link-text-switch.entry.js.map +1 -1
- package/dist/esm/kol-button-link.entry.js +1 -1
- package/dist/esm/kol-button-link.entry.js.map +1 -1
- package/dist/esm/kol-button-wc.entry.js +4 -0
- package/dist/esm/kol-button-wc.entry.js.map +1 -0
- package/dist/esm/kol-button.entry.js +1 -1
- package/dist/esm/kol-button.entry.js.map +1 -1
- package/dist/esm/kol-card.entry.js +1 -1
- package/dist/esm/kol-card.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-form.entry.js +1 -1
- package/dist/esm/kol-form.entry.js.map +1 -1
- package/dist/esm/kol-heading-wc.entry.js +4 -0
- package/dist/esm/kol-heading-wc.entry.js.map +1 -0
- package/dist/esm/kol-heading.entry.js +1 -1
- package/dist/esm/kol-heading.entry.js.map +1 -1
- package/dist/esm/kol-icon-font-awesome.entry.js +1 -1
- package/dist/esm/kol-icon-font-awesome.entry.js.map +1 -1
- package/dist/esm/kol-icon-icofont.entry.js +1 -1
- package/dist/esm/kol-icon-icofont.entry.js.map +1 -1
- package/dist/esm/kol-icon.entry.js +1 -1
- package/dist/esm/kol-image.entry.js +1 -1
- package/dist/esm/kol-indented-text.entry.js +1 -1
- package/dist/esm/kol-input-adapter-leanup.entry.js +1 -1
- package/dist/esm/kol-input-adapter-leanup.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-group.entry.js +1 -1
- package/dist/esm/kol-input-radio-group.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-input.entry.js +1 -1
- package/dist/esm/kol-input.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-button.entry.js.map +1 -1
- package/dist/esm/kol-link-group.entry.js +1 -1
- package/dist/esm/kol-link-group.entry.js.map +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-link.entry.js.map +1 -1
- package/dist/esm/kol-logo.entry.js +1 -1
- package/dist/esm/kol-modal.entry.js +1 -1
- package/dist/esm/kol-nav.entry.js +1 -1
- package/dist/esm/kol-nav.entry.js.map +1 -1
- package/dist/esm/kol-pagination.entry.js +1 -1
- package/dist/esm/kol-pagination.entry.js.map +1 -1
- package/dist/esm/kol-popover-wc.entry.js +1 -1
- package/dist/esm/kol-progress.entry.js +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.entry.js +1 -1
- package/dist/esm/kol-select.entry.js.map +1 -1
- package/dist/esm/kol-skip-nav.entry.js +1 -1
- package/dist/esm/kol-skip-nav.entry.js.map +1 -1
- package/dist/esm/kol-span-wc.entry.js +4 -0
- package/dist/esm/kol-span-wc.entry.js.map +1 -0
- package/dist/esm/kol-span.entry.js +1 -1
- package/dist/esm/kol-span.entry.js.map +1 -1
- package/dist/esm/kol-spin.entry.js +1 -1
- package/dist/esm/kol-split-button.entry.js +1 -1
- package/dist/esm/kol-split-button.entry.js.map +1 -1
- package/dist/esm/kol-symbol.entry.js +1 -1
- package/dist/esm/kol-table.entry.js +1 -1
- package/dist/esm/kol-table.entry.js.map +1 -1
- package/dist/esm/kol-tabs.entry.js +1 -1
- package/dist/esm/kol-tabs.entry.js.map +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-toast.entry.js +1 -1
- package/dist/esm/kol-toast.entry.js.map +1 -1
- package/dist/esm/kol-tooltip-wc.entry.js +4 -0
- package/dist/esm/kol-tooltip-wc.entry.js.map +1 -0
- package/dist/esm/kol-version.entry.js +1 -1
- package/dist/esm/kol-version.entry.js.map +1 -1
- package/dist/esm/kolibri.js +1 -1
- package/dist/esm/{label-9ebba50f.js → label-ce16ea0f.js} +1 -1
- package/dist/esm/{label-9ebba50f.js.map → label-ce16ea0f.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{open-156f7856.js → open-7a91a920.js} +1 -1
- package/dist/esm/{open-156f7856.js.map → open-7a91a920.js.map} +1 -1
- package/dist/esm/{prop.validators-8c5a4551.js → prop.validators-d99c5d68.js} +1 -1
- package/dist/esm/{prop.validators-8c5a4551.js.map → prop.validators-d99c5d68.js.map} +1 -1
- package/dist/esm/{rows-22867ad4.js → rows-5a96e133.js} +1 -1
- package/dist/esm/{rows-22867ad4.js.map → rows-5a96e133.js.map} +1 -1
- package/dist/esm/{show-8545ccae.js → show-8ef53ab0.js} +1 -1
- package/dist/esm/{show-8545ccae.js.map → show-8ef53ab0.js.map} +1 -1
- package/dist/esm/{suggestions-8938bb98.js → suggestions-6ce95e30.js} +1 -1
- package/dist/esm/{suggestions-8938bb98.js.map → suggestions-6ce95e30.js.map} +1 -1
- package/dist/esm/{tab-index-42e01244.js → tab-index-a24ae591.js} +1 -1
- package/dist/esm/{tab-index-42e01244.js.map → tab-index-a24ae591.js.map} +1 -1
- package/dist/esm/toaster-363ac349.js +4 -0
- package/dist/esm/toaster-363ac349.js.map +1 -0
- package/dist/esm/toaster-59df19c4.js +4 -0
- package/dist/{kolibri/toaster-832ff321.js.map → esm/toaster-59df19c4.js.map} +1 -1
- package/dist/esm/{tooltip-align-d0553e7f.js → tooltip-align-d96322b0.js} +1 -1
- package/dist/esm/{tooltip-align-d0553e7f.js.map → tooltip-align-d96322b0.js.map} +1 -1
- package/dist/esm/{validation-4822efd5.js → validation-8597a722.js} +1 -1
- package/dist/esm/{validation-4822efd5.js.map → validation-8597a722.js.map} +1 -1
- package/dist/esm/validation-9bcdefb0.js +4 -0
- package/dist/esm/{validation-697ec9e5.js.map → validation-9bcdefb0.js.map} +1 -1
- package/dist/kolibri/{a11y.tipps-1cea6b3d.js → a11y.tipps-5500b43f.js} +1 -1
- package/dist/kolibri/align-aa788167.js +4 -0
- package/dist/kolibri/alignment-c366b3f5.js +4 -0
- package/dist/kolibri/app-globals-81e7cd32.js +4 -0
- package/dist/kolibri/{aria-current-9675e9d1.js → aria-current-a63795f0.js} +1 -1
- package/dist/kolibri/{associated.controller-c4487875.js → associated.controller-50f43123.js} +1 -1
- package/dist/kolibri/{color-0f13235a.js → color-58e00a36.js} +1 -1
- package/dist/kolibri/component-names-fed305c7.js +4 -0
- package/dist/kolibri/component-names-fed305c7.js.map +1 -0
- package/dist/kolibri/{controller-9b0595a1.js → controller-317e5f2a.js} +1 -1
- package/dist/kolibri/{controller-b6a485f1.js → controller-6b1a2d6a.js} +1 -1
- package/dist/kolibri/{controller-213a22e8.js → controller-75392e16.js} +1 -1
- package/dist/kolibri/{controller-2e3afee2.js → controller-8716848e.js} +1 -1
- package/dist/kolibri/{controller-86b9d0e8.js → controller-b8634358.js} +1 -1
- package/dist/kolibri/controller-icon-ac470db3.js +4 -0
- package/dist/kolibri/{custom-class-9470f26b.js → custom-class-ae011192.js} +1 -1
- package/dist/kolibri/{dev.utils-8d5cefe9.js → dev.utils-cdb6e8d3.js} +1 -1
- package/dist/kolibri/{dev.utils-8d5cefe9.js.map → dev.utils-cdb6e8d3.js.map} +1 -1
- package/dist/kolibri/{devtools-8368d254.js → devtools-8809d87a.js} +1 -1
- package/dist/kolibri/form-field-msg-85face25.js +4 -0
- package/dist/kolibri/form-field-msg-85face25.js.map +1 -0
- package/dist/kolibri/has-closer-dd12bf14.js +4 -0
- package/dist/kolibri/{has-closer-a9be38af.js.map → has-closer-dd12bf14.js.map} +1 -1
- package/dist/kolibri/hide-label-04b87845.js +4 -0
- package/dist/kolibri/{icons-1e78352d.js → icons-bbc974ee.js} +1 -1
- package/dist/kolibri/image-source-e1470645.js +4 -0
- package/dist/kolibri/{index-c1d028ba.js → index-a051748e.js} +1 -1
- package/dist/kolibri/index-a051748e.js.map +1 -0
- package/dist/kolibri/{index-0e51998c.js → index-a42f8d80.js} +1 -1
- package/dist/kolibri/index.esm.js +1 -1
- package/dist/kolibri/index.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.js +1 -1
- package/dist/kolibri/kol-accordion.entry.js.map +1 -1
- package/dist/kolibri/kol-alert-wc.entry.js +4 -0
- package/dist/kolibri/kol-alert-wc.entry.js.map +1 -0
- package/dist/kolibri/kol-alert.entry.js +1 -1
- package/dist/kolibri/kol-alert.entry.js.map +1 -1
- package/dist/kolibri/kol-avatar-wc.entry.js +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-badge.entry.js.map +1 -1
- package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
- package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
- package/dist/kolibri/kol-button-group-wc.entry.js +1 -1
- package/dist/kolibri/kol-button-group.entry.js +1 -1
- package/dist/kolibri/kol-button-group.entry.js.map +1 -1
- package/dist/kolibri/kol-button-link-text-switch.entry.js +1 -1
- package/dist/kolibri/kol-button-link-text-switch.entry.js.map +1 -1
- package/dist/kolibri/kol-button-link.entry.js +1 -1
- package/dist/kolibri/kol-button-link.entry.js.map +1 -1
- package/dist/kolibri/kol-button-wc.entry.js +4 -0
- package/dist/kolibri/kol-button-wc.entry.js.map +1 -0
- package/dist/kolibri/kol-button.entry.js +1 -1
- package/dist/kolibri/kol-button.entry.js.map +1 -1
- package/dist/kolibri/kol-card.entry.js +1 -1
- package/dist/kolibri/kol-card.entry.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-form.entry.js +1 -1
- package/dist/kolibri/kol-form.entry.js.map +1 -1
- package/dist/kolibri/kol-heading-wc.entry.js +4 -0
- package/dist/kolibri/kol-heading-wc.entry.js.map +1 -0
- package/dist/kolibri/kol-heading.entry.js +1 -1
- package/dist/kolibri/kol-heading.entry.js.map +1 -1
- package/dist/kolibri/kol-icon-font-awesome.entry.js +1 -1
- package/dist/kolibri/kol-icon-font-awesome.entry.js.map +1 -1
- package/dist/kolibri/kol-icon-icofont.entry.js +1 -1
- package/dist/kolibri/kol-icon-icofont.entry.js.map +1 -1
- package/dist/kolibri/kol-icon.entry.js +1 -1
- package/dist/kolibri/kol-image.entry.js +1 -1
- package/dist/kolibri/kol-indented-text.entry.js +1 -1
- package/dist/kolibri/kol-input-adapter-leanup.entry.js +1 -1
- package/dist/kolibri/kol-input-adapter-leanup.entry.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.js +1 -1
- package/dist/kolibri/kol-input-color.entry.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.js +1 -1
- package/dist/kolibri/kol-input-email.entry.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.js +1 -1
- package/dist/kolibri/kol-input-number.entry.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-group.entry.js +1 -1
- package/dist/kolibri/kol-input-radio-group.entry.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.js +1 -1
- package/dist/kolibri/kol-input-range.entry.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-input.entry.js +1 -1
- package/dist/kolibri/kol-input.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-button.entry.js.map +1 -1
- package/dist/kolibri/kol-link-group.entry.js +1 -1
- package/dist/kolibri/kol-link-group.entry.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-link.entry.js.map +1 -1
- package/dist/kolibri/kol-logo.entry.js +1 -1
- package/dist/kolibri/kol-modal.entry.js +1 -1
- package/dist/kolibri/kol-nav.entry.js +1 -1
- package/dist/kolibri/kol-nav.entry.js.map +1 -1
- package/dist/kolibri/kol-pagination.entry.js +1 -1
- package/dist/kolibri/kol-pagination.entry.js.map +1 -1
- package/dist/kolibri/kol-popover-wc.entry.js +1 -1
- package/dist/kolibri/kol-progress.entry.js +1 -1
- package/dist/kolibri/kol-quote.entry.js +1 -1
- package/dist/kolibri/kol-quote.entry.js.map +1 -1
- package/dist/kolibri/kol-select.entry.js +1 -1
- package/dist/kolibri/kol-select.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-span-wc.entry.js +4 -0
- package/dist/kolibri/kol-span-wc.entry.js.map +1 -0
- package/dist/kolibri/kol-span.entry.js +1 -1
- package/dist/kolibri/kol-span.entry.js.map +1 -1
- package/dist/kolibri/kol-spin.entry.js +1 -1
- package/dist/kolibri/kol-split-button.entry.js +1 -1
- package/dist/kolibri/kol-split-button.entry.js.map +1 -1
- package/dist/kolibri/kol-symbol.entry.js +1 -1
- package/dist/kolibri/kol-table.entry.js +1 -1
- package/dist/kolibri/kol-table.entry.js.map +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.js +1 -1
- package/dist/kolibri/kol-textarea.entry.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-toast.entry.js +1 -1
- package/dist/kolibri/kol-toast.entry.js.map +1 -1
- package/dist/kolibri/kol-tooltip-wc.entry.js +4 -0
- package/dist/kolibri/kol-tooltip-wc.entry.js.map +1 -0
- package/dist/kolibri/kol-version.entry.js +1 -1
- package/dist/kolibri/kol-version.entry.js.map +1 -1
- package/dist/kolibri/kolibri.esm.js +1 -1
- package/dist/kolibri/kolibri.esm.js.map +1 -1
- package/dist/kolibri/label-ce16ea0f.js +4 -0
- package/dist/kolibri/open-7a91a920.js +4 -0
- package/dist/kolibri/{prop.validators-8c5a4551.js → prop.validators-d99c5d68.js} +1 -1
- package/dist/kolibri/rows-5a96e133.js +4 -0
- package/dist/kolibri/show-8ef53ab0.js +4 -0
- package/dist/kolibri/{suggestions-8938bb98.js → suggestions-6ce95e30.js} +1 -1
- package/dist/kolibri/tab-index-a24ae591.js +4 -0
- package/dist/kolibri/{tab-index-42e01244.js.map → tab-index-a24ae591.js.map} +1 -1
- package/dist/kolibri/toaster-363ac349.js +4 -0
- package/dist/kolibri/{toaster-9c6c5ae2.js.map → toaster-363ac349.js.map} +1 -1
- package/dist/kolibri/toaster-59df19c4.js +4 -0
- package/dist/kolibri/toaster-59df19c4.js.map +1 -0
- package/dist/kolibri/tooltip-align-d96322b0.js +4 -0
- package/dist/kolibri/validation-8597a722.js +4 -0
- package/dist/kolibri/validation-9bcdefb0.js +4 -0
- package/dist/types/core/bootstrap.d.ts +4 -1
- package/dist/types/core/component-names.d.ts +64 -0
- package/doc/abbr.md +0 -15
- package/doc/accordion.md +0 -19
- package/doc/alert.md +0 -26
- package/doc/avatar.md +0 -13
- package/doc/badge.md +0 -24
- package/doc/breadcrumb.md +0 -21
- package/doc/button-group.md +0 -15
- package/doc/button-link.md +0 -17
- package/doc/button.md +0 -28
- package/doc/card.md +0 -19
- package/doc/details.md +0 -15
- package/doc/form.md +0 -29
- package/doc/heading.md +0 -21
- package/doc/icon-font-awesome.md +0 -13
- package/doc/icon-icofont.md +0 -13
- package/doc/icon.md +0 -29
- package/doc/indented-text.md +0 -15
- package/doc/input-adapter-leanup.md +0 -27
- package/doc/input-checkbox.md +0 -27
- package/doc/input-color.md +0 -25
- package/doc/input-date.md +0 -25
- package/doc/input-email.md +0 -25
- package/doc/input-file.md +0 -25
- package/doc/input-number.md +0 -25
- package/doc/input-password.md +0 -25
- package/doc/input-radio-group.md +0 -27
- package/doc/input-radio.md +0 -32
- package/doc/input-range.md +0 -25
- package/doc/input-text.md +0 -25
- package/doc/link-button.md +0 -18
- package/doc/link-group.md +0 -21
- package/doc/link.md +0 -31
- package/doc/nav.md +0 -28
- package/doc/pagination.md +0 -36
- package/doc/quote.md +0 -19
- package/doc/select.md +0 -30
- package/doc/skip-nav.md +0 -18
- package/doc/span.md +0 -14
- package/doc/split-button.md +0 -17
- package/doc/table.md +49 -34
- package/doc/tabs.md +0 -19
- package/doc/textarea.md +0 -25
- package/doc/toast.md +0 -21
- package/doc/toaster.md +0 -24
- package/doc/tooltip.md +0 -25
- package/doc/version.md +0 -19
- package/package.json +1 -1
- package/dist/cjs/align-a8382c2d.js +0 -4
- package/dist/cjs/dev.utils-8ff2366d.js.map +0 -1
- package/dist/cjs/form-field-msg-cee9a7a7.js +0 -4
- package/dist/cjs/form-field-msg-cee9a7a7.js.map +0 -1
- package/dist/cjs/has-closer-cd8d0ef8.js +0 -4
- package/dist/cjs/hide-label-f6851215.js +0 -4
- package/dist/cjs/image-source-a9ea5150.js +0 -4
- package/dist/cjs/index-8606e84d.js.map +0 -1
- package/dist/cjs/kol-alert-wc_3.cjs.entry.js +0 -4
- package/dist/cjs/kol-alert-wc_3.cjs.entry.js.map +0 -1
- package/dist/cjs/kol-span-wc_2.cjs.entry.js +0 -4
- package/dist/cjs/kol-span-wc_2.cjs.entry.js.map +0 -1
- package/dist/cjs/open-b73d464a.js +0 -4
- package/dist/cjs/rows-b9f39e03.js +0 -4
- package/dist/cjs/show-42935746.js +0 -4
- package/dist/cjs/toaster-ddf8c471.js +0 -4
- package/dist/cjs/toaster-ddf8c471.js.map +0 -1
- package/dist/cjs/toaster-fc0622bd.js +0 -4
- package/dist/cjs/toaster-fc0622bd.js.map +0 -1
- package/dist/components/component.js +0 -4
- package/dist/components/component.js.map +0 -1
- package/dist/components/component10.js +0 -4
- package/dist/components/component10.js.map +0 -1
- package/dist/components/component11.js +0 -4
- package/dist/components/component11.js.map +0 -1
- package/dist/components/component12.js +0 -4
- package/dist/components/component12.js.map +0 -1
- package/dist/components/component13.js +0 -4
- package/dist/components/component13.js.map +0 -1
- package/dist/components/component14.js +0 -4
- package/dist/components/component14.js.map +0 -1
- package/dist/components/component15.js +0 -4
- package/dist/components/component15.js.map +0 -1
- package/dist/components/component16.js +0 -4
- package/dist/components/component16.js.map +0 -1
- package/dist/components/component2.js +0 -4
- package/dist/components/component2.js.map +0 -1
- package/dist/components/component3.js +0 -4
- package/dist/components/component3.js.map +0 -1
- package/dist/components/component4.js +0 -4
- package/dist/components/component4.js.map +0 -1
- package/dist/components/component5.js +0 -4
- package/dist/components/component5.js.map +0 -1
- package/dist/components/component6.js +0 -4
- package/dist/components/component6.js.map +0 -1
- package/dist/components/component7.js +0 -4
- package/dist/components/component7.js.map +0 -1
- package/dist/components/component8.js +0 -4
- package/dist/components/component8.js.map +0 -1
- package/dist/components/component9.js +0 -4
- package/dist/components/component9.js.map +0 -1
- package/dist/components/shadow.js +0 -4
- package/dist/components/shadow.js.map +0 -1
- package/dist/components/shadow2.js +0 -4
- package/dist/components/shadow2.js.map +0 -1
- package/dist/components/shadow3.js +0 -4
- package/dist/components/shadow3.js.map +0 -1
- package/dist/esm/app-globals-33e2d739.js +0 -4
- package/dist/esm/dev.utils-8d5cefe9.js.map +0 -1
- package/dist/esm/form-field-msg-d2bbb1a6.js +0 -4
- package/dist/esm/form-field-msg-d2bbb1a6.js.map +0 -1
- package/dist/esm/index-c1d028ba.js.map +0 -1
- package/dist/esm/kol-alert-wc_3.entry.js +0 -4
- package/dist/esm/kol-alert-wc_3.entry.js.map +0 -1
- package/dist/esm/kol-span-wc_2.entry.js +0 -4
- package/dist/esm/kol-span-wc_2.entry.js.map +0 -1
- package/dist/esm/toaster-832ff321.js +0 -4
- package/dist/esm/toaster-832ff321.js.map +0 -1
- package/dist/esm/toaster-9c6c5ae2.js +0 -4
- package/dist/esm/toaster-9c6c5ae2.js.map +0 -1
- package/dist/esm/validation-697ec9e5.js +0 -4
- package/dist/kolibri/align-a007e3db.js +0 -4
- package/dist/kolibri/alignment-7cf13a42.js +0 -4
- package/dist/kolibri/app-globals-33e2d739.js +0 -4
- package/dist/kolibri/controller-icon-90a5af99.js +0 -4
- package/dist/kolibri/form-field-msg-d2bbb1a6.js +0 -4
- package/dist/kolibri/form-field-msg-d2bbb1a6.js.map +0 -1
- package/dist/kolibri/has-closer-a9be38af.js +0 -4
- package/dist/kolibri/hide-label-d39d4679.js +0 -4
- package/dist/kolibri/image-source-20111f07.js +0 -4
- package/dist/kolibri/index-c1d028ba.js.map +0 -1
- package/dist/kolibri/kol-alert-wc_3.entry.js +0 -4
- package/dist/kolibri/kol-alert-wc_3.entry.js.map +0 -1
- package/dist/kolibri/kol-span-wc_2.entry.js +0 -4
- package/dist/kolibri/kol-span-wc_2.entry.js.map +0 -1
- package/dist/kolibri/label-9ebba50f.js +0 -4
- package/dist/kolibri/open-156f7856.js +0 -4
- package/dist/kolibri/rows-22867ad4.js +0 -4
- package/dist/kolibri/show-8545ccae.js +0 -4
- package/dist/kolibri/tab-index-42e01244.js +0 -4
- package/dist/kolibri/toaster-832ff321.js +0 -4
- package/dist/kolibri/toaster-9c6c5ae2.js +0 -4
- package/dist/kolibri/tooltip-align-d0553e7f.js +0 -4
- package/dist/kolibri/validation-4822efd5.js +0 -4
- package/dist/kolibri/validation-697ec9e5.js +0 -4
- /package/dist/kolibri/{a11y.tipps-1cea6b3d.js.map → a11y.tipps-5500b43f.js.map} +0 -0
- /package/dist/kolibri/{align-a007e3db.js.map → align-aa788167.js.map} +0 -0
- /package/dist/kolibri/{alignment-7cf13a42.js.map → alignment-c366b3f5.js.map} +0 -0
- /package/dist/kolibri/{app-globals-33e2d739.js.map → app-globals-81e7cd32.js.map} +0 -0
- /package/dist/kolibri/{aria-current-9675e9d1.js.map → aria-current-a63795f0.js.map} +0 -0
- /package/dist/kolibri/{associated.controller-c4487875.js.map → associated.controller-50f43123.js.map} +0 -0
- /package/dist/kolibri/{color-0f13235a.js.map → color-58e00a36.js.map} +0 -0
- /package/dist/kolibri/{controller-9b0595a1.js.map → controller-317e5f2a.js.map} +0 -0
- /package/dist/kolibri/{controller-b6a485f1.js.map → controller-6b1a2d6a.js.map} +0 -0
- /package/dist/kolibri/{controller-213a22e8.js.map → controller-75392e16.js.map} +0 -0
- /package/dist/kolibri/{controller-2e3afee2.js.map → controller-8716848e.js.map} +0 -0
- /package/dist/kolibri/{controller-86b9d0e8.js.map → controller-b8634358.js.map} +0 -0
- /package/dist/kolibri/{controller-icon-90a5af99.js.map → controller-icon-ac470db3.js.map} +0 -0
- /package/dist/kolibri/{custom-class-9470f26b.js.map → custom-class-ae011192.js.map} +0 -0
- /package/dist/kolibri/{devtools-8368d254.js.map → devtools-8809d87a.js.map} +0 -0
- /package/dist/kolibri/{hide-label-d39d4679.js.map → hide-label-04b87845.js.map} +0 -0
- /package/dist/kolibri/{icons-1e78352d.js.map → icons-bbc974ee.js.map} +0 -0
- /package/dist/kolibri/{image-source-20111f07.js.map → image-source-e1470645.js.map} +0 -0
- /package/dist/kolibri/{index-0e51998c.js.map → index-a42f8d80.js.map} +0 -0
- /package/dist/kolibri/{label-9ebba50f.js.map → label-ce16ea0f.js.map} +0 -0
- /package/dist/kolibri/{open-156f7856.js.map → open-7a91a920.js.map} +0 -0
- /package/dist/kolibri/{prop.validators-8c5a4551.js.map → prop.validators-d99c5d68.js.map} +0 -0
- /package/dist/kolibri/{rows-22867ad4.js.map → rows-5a96e133.js.map} +0 -0
- /package/dist/kolibri/{show-8545ccae.js.map → show-8ef53ab0.js.map} +0 -0
- /package/dist/kolibri/{suggestions-8938bb98.js.map → suggestions-6ce95e30.js.map} +0 -0
- /package/dist/kolibri/{tooltip-align-d0553e7f.js.map → tooltip-align-d96322b0.js.map} +0 -0
- /package/dist/kolibri/{validation-4822efd5.js.map → validation-8597a722.js.map} +0 -0
- /package/dist/kolibri/{validation-697ec9e5.js.map → validation-9bcdefb0.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"
|
|
1
|
+
{"file":"toaster-59df19c4.js","mappings":"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","names":[],"sources":["src/components/toast/toaster.tsx"],"sourcesContent":["import { LabelPropType } from '../../types/props/label';\nimport { AlertType } from '../alert/types';\nimport { KolToastTag } from '../../core/component-names';\n\ntype Toast = {\n\tdescription: string;\n\t/**\n\t * @deprecated Use label.\n\t */\n\theading?: string;\n\tlabel?: LabelPropType;\n\ttype: AlertType;\n};\n\n/**\n * @deprecated Use toast/toaster.tsx\n */\nexport class ToasterService {\n\tprivate static readonly instances: Map<Document, ToasterService> = new Map<Document, ToasterService>();\n\n\tprivate toastElement?: HTMLKolToastElement;\n\n\tprivate readonly queue: Set<Toast> = new Set();\n\n\tprivate isOpen = false;\n\n\tprivate constructor(private readonly document: Document) {\n\t\tthis.toastElement = this.document.createElement(KolToastTag);\n\t\tthis.toastElement.setAttribute('_level', '0');\n\t\tthis.toastElement.setAttribute('_show', 'false');\n\t\tthis.toastElement.setAttribute('_show-duration', '-1'); // @deprecated in v2\n\t\tthis.toastElement.setAttribute('_has-closer', 'true');\n\t\tthis.toastElement._on = {\n\t\t\tonClose: () => {\n\t\t\t\tconst next = this.queue.values().next();\n\t\t\t\tif (next.value) {\n\t\t\t\t\tthis.queue.delete(next.value as Toast);\n\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\tthis.showToast(next.value as Toast);\n\t\t\t\t\t}, 200);\n\t\t\t\t} else {\n\t\t\t\t\tthis.isOpen = false;\n\t\t\t\t}\n\t\t\t},\n\t\t};\n\t\tthis.document.body.insertBefore(this.toastElement, this.document.body.firstChild);\n\t}\n\n\t/**\n\t * Get a toaster for the specified document environment. Each environment has exactly one instance of the service.\n\t */\n\tpublic static getInstance(document: Document) {\n\t\tlet instance = this.instances.get(document);\n\t\tif (!instance) {\n\t\t\tinstance = new ToasterService(document);\n\t\t\tthis.instances.set(document, instance);\n\t\t}\n\t\treturn instance;\n\t}\n\n\tpublic dispose() {\n\t\tconst element = this.toastElement;\n\t\tif (element) {\n\t\t\tthis.toastElement = undefined;\n\t\t\tthis.queue.clear();\n\t\t\telement.remove();\n\n\t\t\tconst on = element._on;\n\t\t\tif (on && on.onClose) {\n\t\t\t\ton.onClose(new Event('dispose'));\n\t\t\t}\n\t\t} else {\n\t\t\tconsole.warn('Toaster service is already disposed.');\n\t\t}\n\t}\n\n\t/**\n\t * Reiht einen neuen Toast in die Warteschlange ein, um ihn anzuzeigen.\n\t */\n\tpublic enqueue(data: Toast): void {\n\t\tif (this.isOpen) {\n\t\t\tthis.queue.add(data);\n\t\t} else {\n\t\t\tthis.showToast(data);\n\t\t}\n\t}\n\n\tprivate showToast(data: Toast): void {\n\t\tconst label = data.label || data.heading;\n\n\t\tif (typeof label === 'undefined') {\n\t\t\t// TODO v2: Make label required, remove this check.\n\t\t\tthrow new Error('Toast requires a label.');\n\t\t}\n\n\t\tif (!this.toastElement) {\n\t\t\tconsole.warn('Tried to show a new toast at a disposed toaster service!');\n\t\t\treturn;\n\t\t}\n\t\tthis.toastElement.setAttribute('_label', label);\n\t\tthis.toastElement.setAttribute('_show', 'true');\n\t\tthis.toastElement.setAttribute('_type', data.type);\n\t\tthis.toastElement.innerText = data.description;\n\t\tthis.isOpen = true;\n\t}\n}\n"],"version":3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{v as validateAlignment}from"./alignment-
|
|
4
|
+
import{v as validateAlignment}from"./alignment-c366b3f5.js";const validateTooltipAlign=(i,t)=>{validateAlignment(i,"_tooltipAlign",t)};export{validateTooltipAlign as v};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"tooltip-align-
|
|
1
|
+
{"file":"tooltip-align-d96322b0.js","mappings":";;;;;MAgBa,oBAAoB,GAAG,CAAC,SAAoC,EAAE,KAA4B;IACtG,iBAAiB,CAAC,SAAS,EAAE,eAAe,EAAE,KAAK,CAAC,CAAC;AACtD;;;;","names":[],"sources":["src/types/props/tooltip-align.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { validateAlignment } from '../../utils/validators/alignment';\nimport { AlignPropType } from './align';\n\n/* types */\nexport type TooltipAlignPropType = AlignPropType;\n\n/**\n * Defines where to show the Tooltip preferably: top, right, bottom or left.\n */\nexport type PropTooltipAlign = {\n\ttooltipAlign: TooltipAlignPropType;\n};\n\n/* validator */\nexport const validateTooltipAlign = (component: Generic.Element.Component, value?: TooltipAlignPropType): void => {\n\tvalidateAlignment(component, '_tooltipAlign', value);\n};\n"],"version":3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{w as watchValidator}from"./prop.validators-
|
|
4
|
+
import{w as watchValidator}from"./prop.validators-d99c5d68.js";const watchHeadingLevel=(e,a)=>{watchValidator(e,"_level",(e=>"number"==typeof e&&0<=e&&e<=6),new Set(["Number {0, 1, 2, 3, 4, 5, 6}"]),a,{defaultValue:1,required:!0})};export{watchHeadingLevel as w};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"validation-
|
|
1
|
+
{"file":"validation-8597a722.js","mappings":";;;;;MAIa,iBAAiB,GAAG,CAAC,SAAoC,EAAE,KAAc;IACrF,cAAc,CACb,SAAS,EACT,QAAQ,EACR,CAAC,KAAK;QACL,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,IAAI,KAAK,IAAI,KAAK,IAAI,CAAC,CAAC;KAC7D,EACD,IAAI,GAAG,CAAC,CAAC,8BAA8B,CAAC,CAAC,EACzC,KAAK,EACL;QAEC,YAAY,EAAE,CAAC;QACf,QAAQ,EAAE,IAAI;KACd,CACD,CAAC;AACH;;;;","names":[],"sources":["src/components/heading/validation.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { watchValidator } from '../../utils/prop.validators';\n\nexport const watchHeadingLevel = (component: Generic.Element.Component, value?: number): void => {\n\twatchValidator(\n\t\tcomponent,\n\t\t'_level',\n\t\t(value): boolean => {\n\t\t\treturn typeof value === 'number' && 0 <= value && value <= 6;\n\t\t},\n\t\tnew Set(['Number {0, 1, 2, 3, 4, 5, 6}']),\n\t\tvalue,\n\t\t{\n\t\t\t// TODO: options not in the validator\n\t\t\tdefaultValue: 1,\n\t\t\trequired: true,\n\t\t},\n\t);\n};\n"],"version":3}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{c as uiUxHintMillerscheZahl}from"./a11y.tipps-5500b43f.js";import{c as watchJsonArrayString}from"./prop.validators-d99c5d68.js";const watchNavLinks=(t,s,a)=>{watchJsonArrayString(s,"_links",(t=>"object"==typeof t&&("string"==typeof t._href||"string"==typeof t._label)),a),uiUxHintMillerscheZahl(t,s.state._links.length)};export{watchNavLinks as w};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"validation-
|
|
1
|
+
{"file":"validation-9bcdefb0.js","mappings":";;;;;;MAUa,aAAa,GAAG,CAC5B,SAAiB,EACjB,SAIC,EACD,KAAsC;IAEtC,oBAAoB,CACnB,SAAS,EACT,QAAQ,EACR,CAAC,IAAI,KAAK,OAAO,IAAI,KAAK,QAAQ,KAAK,OAAQ,IAAiB,CAAC,KAAK,KAAK,QAAQ,IAAI,OAAQ,IAAkB,CAAC,MAAM,KAAK,QAAQ,CAAC,EACtI,KAAK,CACL,CAAC;IACF,sBAAsB,CAAC,SAAS,EAAE,SAAS,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AAClE;;;;","names":[],"sources":["src/components/nav/validation.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { Stringified } from '../../types/common';\nimport { HrefProp } from '../../types/props/href';\nimport { LabelProp } from '../../types/props/label';\nimport { uiUxHintMillerscheZahl } from '../../utils/a11y.tipps';\nimport { watchJsonArrayString } from '../../utils/prop.validators';\n\ntype HrefOrLabelProp = HrefProp | LabelProp;\n\nexport const watchNavLinks = (\n\tclassName: string,\n\tcomponent: Generic.Element.Component & {\n\t\tstate: {\n\t\t\t_links: HrefOrLabelProp[];\n\t\t};\n\t},\n\tvalue?: Stringified<HrefOrLabelProp[]>,\n): void => {\n\twatchJsonArrayString(\n\t\tcomponent,\n\t\t'_links',\n\t\t(link) => typeof link === 'object' && (typeof (link as HrefProp)._href === 'string' || typeof (link as LabelProp)._label === 'string'),\n\t\tvalue,\n\t);\n\tuiUxHintMillerscheZahl(className, component.state._links.length);\n};\n"],"version":3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{L as e}from"./dev.utils-
|
|
4
|
+
import{L as e}from"./dev.utils-cdb6e8d3.js";const i=new Set,o=(n,o)=>{(!1===i.has(n)||(null==o?void 0:o.force))&&(i.add(n),e.debug([n].concat((null==o?void 0:o.details)||[]),{classifier:"✋ a11y",forceLog:!!(null==o?void 0:o.force),overwriteStyle:"; background-color: #09f"}))},n=new Set,r=(i,o)=>{(!1===n.has(i)||(null==o?void 0:o.force))&&(n.add(i),e.warn([i].concat((null==o?void 0:o.details)||[]),{classifier:"🔥 deprecated",forceLog:!!(null==o?void 0:o.force),overwriteStyle:"; background-color: #f00"}))},l=new Set,t=(i,n)=>{(!1===l.has(i)||(null==n?void 0:n.force))&&(l.add(i),e.debug([i].concat((null==n?void 0:n.details)||[]),{classifier:"💻 dev",forceLog:!!(null==n?void 0:n.force),overwriteStyle:"; background-color: #f09"}))},s=(i,n)=>{(!1===l.has(i)||(null==n?void 0:n.force))&&(l.add(i),e.warn([i].concat((null==n?void 0:n.details)||[]),{classifier:"⚠️ dev",forceLog:!!(null==n?void 0:n.force),overwriteStyle:"; background-color: #f09"}))},d=new Set,a=(i,n=!1,o)=>{(!1===d.has(i)||(null==o?void 0:o.force))&&(d.add(i),i+=!0===n?" ✅":"",e.debug([i].concat((null==o?void 0:o.details)||[]),{classifier:"🌟 feature",forceLog:!!(null==o?void 0:o.force),overwriteStyle:"; background-color: #309"}))};t("Wir freuen uns über jedes Feedback, Kommentare, Screenshots oder Demo-Links von einer auf KoliBri-basierenden Anwendung (kolibri@itzbund.de). Vielen Dank!");const c=new Set,v=(i,n)=>{(!1===c.has(i)||(null==n?void 0:n.force))&&(c.add(i),e.debug([i].concat((null==n?void 0:n.details)||[]),{classifier:"📑 ui/ux",forceLog:!!(null==n?void 0:n.force),overwriteStyle:"; background-color: #060;"}))},u=()=>{o('"Disabled" schränkt die Zugänglichkeit und Sichtbarkeit ein. Wir empfehlen aus Sicht der Barrierefreiheit readonly- statt disabled-Attribut zu verwenden.\n- https://uxdesign.cc/is-it-ok-to-grey-out-disabled-buttons-8afa74a0fae')},f=e=>{"string"==typeof e&&""!==e||o("Manche Strukturelemente, wie bspw. der nav-Tag, können mehrfach in einer Webseite verwendet werden. Damit die gleichnamigen Strukturelemente voneinander unterschieden werden können, ist es erforderlich ein Aria-Label zu setzen.\n- https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Navigation_Role#accessibility_concerns")},b=(e,i=8)=>{i>7&&v(`[${e}] Innerhalb von Navigationsstrukturen wird empfohlen nicht mehr als 7 Menüpunkte zu verwenden.\n\nLinks:\n- https://de.ryte.com/wiki/Millersche_Zahl\n- https://de.wikipedia.org/wiki/Millersche_Zahl`)};export{o as a,f as b,b as c,t as d,r as e,a as f,u as g,s as h,v as u};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{w as t}from"./prop.validators-d99c5d68.js";const o=new Set(['"left", "right"']),e=new Set(['"bottom", "top"']),s=new Set([...o,...e]),n=(o,e,p)=>{t(o,e,(t=>"bottom"===t||"left"===t||"right"===t||"top"===t),s,p,{defaultValue:"top"})};export{n as v};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{a as o}from"./index-a051748e.js";import{e as t,j as s}from"./index-117bd1aa.js";import{L as e}from"./dev.utils-cdb6e8d3.js";import{p as a}from"./reuse-d79ab469.js";o((o=>(o.shadowRoot instanceof ShadowRoot&&t(o,s(o)),"default"))),import("./devtools-8809d87a.js").then((o=>{"object"==typeof o&&null!==o&&"function"==typeof o.initialize&&o.initialize()})).catch((o=>{e.error(o)})),a&&import("./index-a42f8d80.js");const i=()=>{},r=i,d=r;export{d as g};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{d as a,w as t}from"./prop.validators-
|
|
4
|
+
import{d as a,w as t}from"./prop.validators-d99c5d68.js";const o=(t,e)=>{a(t,"_role",e)},s=(t,e)=>{a(t,"_ariaControls",e)},e=(a,e,o)=>{t(a,e,(a=>"date"===a||"location"===a||"page"===a||"step"===a||"time"===a||!0===a||!1===a),new Set(["String {data, location, page, step, time}","boolean"]),o)},r=(a,t)=>{e(a,"_ariaCurrent",t)},n=(a,t)=>{e(a,"_listenAriaCurrent",t)};export{r as a,o as b,n as c,s as v};
|
package/dist/kolibri/{associated.controller-c4487875.js → associated.controller-50f43123.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{d as t}from"./prop.validators-
|
|
4
|
+
import{d as t}from"./prop.validators-d99c5d68.js";import{d as e,h as i}from"./a11y.tipps-5500b43f.js";import{a as s}from"./dev.utils-cdb6e8d3.js";const a=(e,s,i)=>{t(e,"_name",s,i)},o=t=>"KOL-BUTTON"===t||"KOL-INPUT-CHECKBOX"===t||"KOL-INPUT-COLOR"===t||"KOL-INPUT-DATE"===t||"KOL-INPUT-EMAIL"===t||"KOL-INPUT-FILE"===t||"KOL-INPUT-NUMBER"===t||"KOL-INPUT-PASSWORD"===t||"KOL-INPUT-RADIO"===t||"KOL-INPUT-RANGE"===t||"KOL-INPUT-TEXT"===t||"KOL-SELECT"===t||"KOL-TEXTAREA"===t;class n{constructor(t,i,a){var r,n,l;if(this.experimentalMode=s(),this.setFormAssociatedValue=t=>{var s;const i=null===(s=this.formAssociated)||void 0===s?void 0:s.getAttribute("name");null!==i&&""!==i||e(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);const o=this.tryToStringifyValue(t);this.syncValue(t,o,this.formAssociated),this.syncValue(t,o,this.syncToOwnInput)},this.component=t,this.host=this.findHostWithShadowRoot(a),this.type=i,this.experimentalMode&&o(null===(r=this.host)||void 0===r?void 0:r.tagName)){switch(null===(n=this.host)||void 0===n||n.querySelectorAll("input,select,textarea").forEach((t=>{var e;null===(e=this.host)||void 0===e||e.removeChild(t)})),this.type){case"button":case"color":case"date":case"email":case"file":case"number":case"password":case"radio":case"range":case"text":this.formAssociated=document.createElement("input"),this.formAssociated.setAttribute("type",this.type);break;case"select":this.formAssociated=document.createElement("select"),this.formAssociated.setAttribute("multiple","");break;case"textarea":this.formAssociated=document.createElement("textarea");break;default:this.formAssociated=document.createElement("input"),this.formAssociated.setAttribute("type","hidden")}this.formAssociated.setAttribute("aria-hidden","true"),this.formAssociated.setAttribute("data-form-associated",""),this.formAssociated.setAttribute("hidden",""),null===(l=this.host)||void 0===l||l.appendChild(this.formAssociated)}}findHostWithShadowRoot(t){for(;null===(null==t?void 0:t.shadowRoot)&&t!==document.body;)(t=null==t?void 0:t.parentNode).host&&(t=t.host);return t}setAttribute(t,e,s){if(this.experimentalMode)try{if("boolean"!=typeof(s="object"==typeof s&&null!==s?JSON.stringify(s):s)&&"number"!=typeof s&&"string"!=typeof s)throw new Error("Invalid value type: "+typeof s);null==e||e.setAttribute(t,`${s}`)}catch(s){null==e||e.removeAttribute(t)}}tryToStringifyValue(t){try{return"object"==typeof t&&null!==t?JSON.stringify(t).toString():null==t?null:t.toString()}catch(t){return i(`The form field raw value is not able to stringify! ${t}`),""}}syncValue(t,e,s){if(s)switch(this.type){case"file":s.files=t;break;case"select":s.querySelectorAll("option").forEach((t=>{s.removeChild(t)})),Array.isArray(t)&&t.forEach((t=>{const e=this.tryToStringifyValue(t);if("string"==typeof e){const t=document.createElement("option");t.setAttribute("value",e),t.setAttribute("selected",""),s.appendChild(t)}}));break;default:"string"==typeof e?(s.setAttribute("value",e),s.value=e):(s.removeAttribute("value"),s.value="")}}validateName(t){a(this.component,t,{hooks:{afterPatch:()=>{this.setAttribute("name",this.formAssociated,this.component.state._name)}}}),void 0===t&&e("Ein Name am Eingabefeldern oder Schalter ist nicht zwingend erforderlich, kann aber für die Autocomplete-Funktion und für das statische Versenden des Eingabefeldes relevant sein.")}validateSyncValueBySelector(t){if(this.experimentalMode&&"string"==typeof t){const e=document.querySelector(t);e&&(this.syncToOwnInput=e)}}componentWillLoad(){this.validateName(this.component._name),this.validateSyncValueBySelector(this.component._syncValueBySelector)}}export{n as A};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{r as e,b as r,w as a}from"./prop.validators-
|
|
4
|
+
import{r as e,b as r,w as a}from"./prop.validators-d99c5d68.js";import{a as t}from"./a11y.tipps-5500b43f.js";var n={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},l=n,o=s,i={red:0,orange:60,yellow:120,green:180,blue:240,purple:300};function s(e){var r,a,o=[],t=1;if("string"==typeof e)if(e=e.toLowerCase(),l[e])o=l[e].slice(),a="rgb";else if("transparent"===e)t=0,a="rgb",o=[0,0,0];else if(/^#[A-Fa-f0-9]+$/.test(e)){var n=e.slice(1);t=1,(g=n.length)<=4?(o=[parseInt(n[0]+n[0],16),parseInt(n[1]+n[1],16),parseInt(n[2]+n[2],16)],4===g&&(t=parseInt(n[3]+n[3],16)/255)):(o=[parseInt(n[0]+n[1],16),parseInt(n[2]+n[3],16),parseInt(n[4]+n[5],16)],8===g&&(t=parseInt(n[6]+n[7],16)/255)),o[0]||(o[0]=0),o[1]||(o[1]=0),o[2]||(o[2]=0),a="rgb"}else if(r=/^((?:rgb|hs[lvb]|hwb|cmyk?|xy[zy]|gray|lab|lchu?v?|[ly]uv|lms)a?)\s*\(([^\)]*)\)/.exec(e)){var s=r[1],u="rgb"===s;a=n=s.replace(/a$/,"");var g="cmyk"===n?4:"gray"===n?1:3;o=r[2].trim().split(/\s*[,\/]\s*|\s+/).map((function(e,r){if(/%$/.test(e))return r===g?parseFloat(e)/100:"rgb"===n?255*parseFloat(e)/100:parseFloat(e);if("h"===n[r]){if(/deg$/.test(e))return parseFloat(e);if(void 0!==i[e])return i[e]}return parseFloat(e)})),s===n&&o.push(1),t=u||void 0===o[g]?1:o[g],o=o.slice(0,g)}else e.length>10&&/[0-9](?:\s|\/)/.test(e)&&(o=e.match(/([0-9]+)/g).map((function(e){return parseFloat(e)})),a=e.match(/([a-z])/gi).join("").toLowerCase());else isNaN(e)?Array.isArray(e)||e.length?(o=[e[0],e[1],e[2]],a="rgb",t=4===e.length?e[3]:1):e instanceof Object&&(null!=e.r||null!=e.red||null!=e.R?(a="rgb",o=[e.r||e.red||e.R||0,e.g||e.green||e.G||0,e.b||e.blue||e.B||0]):(a="hsl",o=[e.h||e.hue||e.H||0,e.s||e.saturation||e.S||0,e.l||e.lightness||e.L||e.b||e.brightness]),t=e.a||e.alpha||e.opacity||1,null!=e.opacity&&(t/=100)):(a="rgb",o=[e>>>16,(65280&e)>>>8,255&e]);return{space:a,values:o,alpha:t}}var u=o,g=function(e){var r;Array.isArray(e)&&e.raw&&(e=String.raw.apply(null,arguments));var a=u(e);if(!a.space)return[];var o=[0,0,0],t="h"===a.space[0]?[360,100,100]:[255,255,255];return(r=Array(3))[0]=Math.min(Math.max(a.values[0],o[0]),t[0]),r[1]=Math.min(Math.max(a.values[1],o[1]),t[1]),r[2]=Math.min(Math.max(a.values[2],o[2]),t[2]),"h"===a.space[0]&&(r=f(r)),r.push(Math.min(Math.max(a.alpha,0),1)),r};function f(e){var r,a,o,t,n,l=e[0]/360,i=e[1]/100,s=e[2]/100,u=0;if(0===i)return[n=255*s,n,n];for(r=2*s-(a=s<.5?s*(1+i):s+i-s*i),t=[0,0,0];u<3;)(o=l+1/3*-(u-1))<0?o++:o>1&&o--,n=6*o<1?r+6*(a-r)*o:2*o<1?a:3*o<2?r+(a-r)*(2/3-o)*6:r,t[u++]=255*n;return t}const d=g,c=(e,r,a)=>(299*e+587*r+114*a)/1e3>=128?-1:1,p=(a,o,t,n=1)=>{const l=[Math.max(Math.min(Math.round(o[0]+n*Math.max(1,o[0]/100)),255),0),Math.max(Math.min(Math.round(o[1]+n*Math.max(1,o[1]/100)),255),0),Math.max(Math.min(Math.round(o[2]+n*Math.max(1,o[2]/100)),255),0)],i=r(e.hex(`rgba(${a.join(",")},1)`),e.hex(`rgba(${l.join(",")},1)`)),s=l[0]+l[1]+l[2];return 0===s||765===s||i>t?{background:a,foreground:l,contrast:i}:p(a,l,t,n)},h=new Map,y=(e,r,a,o=1)=>{if(h.has(e))return h.get(e);const t=p(e,r,a,o);return h.set(e,t),t},b=(r,a=7)=>{let o=[0,0,0,1],t=[255,255,255,1];"string"==typeof r?(o=d(r),t=o):"object"==typeof r&&null!==r&&"string"==typeof r.background&&"string"==typeof r.foreground&&(o=d(r.background),t="string"==typeof r.foreground?d(r.foreground):o);const n=c(o[0],o[1],o[2]),l=y([o[0],o[1],o[2]],[t[0],t[1],t[2]],a,n);return t=[...l.foreground,1],{background:e.hex(`rgba(${o.join(",")})`),foreground:e.hex(`rgba(${t.join(",")})`),contrast:l.contrast}},v=/^#((\d|[a-f]){8}|(\d|[a-f]){6}|(\d|[a-f]){3,4})$/i;function m(e){return v.test(e)}function k(e){if(e.startsWith("{"))try{const r=JSON.parse(e);if(M(r))return{type:"ColorPair",value:r};if($(r))return{type:"DeprecatedColorPair",value:r}}catch(e){return{type:null,value:null}}return{type:null,value:null}}function w(e){if(e)if("string"==typeof e){if(m(e))return{type:"string",valid:!0,value:e};{const r=k(e);if(r.value)return{type:r.type,valid:!0,value:r.value}}}else{const r=e;if(M(r))return{type:"ColorPair",valid:!0,value:r};const a=e;if($(a))return{type:"DeprecatedColorPair",valid:!0,value:a}}return{type:null,valid:!1,value:""}}function M(e){return!("object"!=typeof e||!e||"string"!=typeof e.backgroundColor||!("string"==typeof e.foregroundColor||e.foregroundColor&&"string"==typeof e.foregroundColor.primary&&"string"==typeof e.foregroundColor.secondary&&"string"==typeof e.foregroundColor.neutral))}function $(e){return"object"==typeof e&&e&&"string"==typeof e.backgroundColor&&"string"==typeof e.color}function C(e){const r=w(e);switch(r.type){case null:return!1;case"string":case"ColorPair":case"DeprecatedColorPair":return r.valid}}const q=(e,r,o)=>{a(e,"_color",C,new Set(["rgb in hex","ColorPair"]),r,o)},P=e=>{var r;let a;const o=w(e);switch(o.type){case"string":a=b(o.value);break;case"ColorPair":case"DeprecatedColorPair":{const e=o.value,t=o.value;let n="";t.color?n=t.color:"string"==typeof e.foregroundColor?n=e.foregroundColor:(null===(r=e.foregroundColor)||void 0===r?void 0:r.primary)&&(n=e.foregroundColor.primary),n&&"string"==typeof n||(n="#fff"),a=b({background:e.backgroundColor,foreground:n});break}case null:console.warn(`_color was empty or invalid (${JSON.stringify(e)})`),a=b({background:"#000",foreground:"#000"})}return a.contrast<7&&t(`[KolBadge] The contrast of ${a.contrast} (≥7, AAA) is to low, between the color pair ${a.background} and ${a.foreground}.`),{backgroundColor:a.background,foregroundColor:a.foreground}};export{d as c,P as h,q as v};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
let l="kol-abbr",t="kol-accordion",e="kol-alert",o="kol-alert-wc",k="kol-avatar",a="kol-avatar-wc",n="kol-badge",i="kol-breadcrumb",s="kol-button-group",r="kol-button-group-wc",p="kol-button-link",u="kol-button-link-text-switch",c="kol-button",b="kol-button-wc",d="kol-card",w="kol-details",g="kol-form",m="kol-heading",v="kol-heading-wc",x="kol-icon",h="kol-image",f="kol-indented-text",q="kol-input",j="kol-input-checkbox",y="kol-input-color",K="kol-input-date",z="kol-input-email",A="kol-input-file",B="kol-input-number",C="kol-input-password",D="kol-input-radio",E="kol-input-range",F="kol-input-text",G="kol-kolibri",H="kol-link",I="kol-link-wc",J="kol-link-button",L="kol-link-group",M="kol-logo",N="kol-modal",O="kol-nav",P="kol-pagination",Q="kol-popover-wc",R="kol-progress",S="kol-quote",T="kol-select",U="kol-skip-nav",V="kol-span",W="kol-span-wc",X="kol-spin",Y="kol-split-button",Z="kol-symbol",$="kol-table",_="kol-tabs",ll="kol-textarea",tl="kol-toast-container",el="kol-toast",ol="kol-tooltip-wc",kl="kol-tree",al="kol-tree-item",nl="kol-tree-item-wc",il="kol-tree-wc",sl="kol-version";const rl=rl=>{l=rl(l),t=rl(t),e=rl(e),o=rl(o),k=rl(k),a=rl(a),n=rl(n),i=rl(i),c=rl(c),b=rl(b),s=rl(s),r=rl(r),p=rl(p),u=rl(u),d=rl(d),w=rl(w),g=rl(g),m=rl(m),v=rl(v),x=rl(x),h=rl(h),f=rl(f),q=rl(q),j=rl(j),y=rl(y),K=rl(K),z=rl(z),A=rl(A),B=rl(B),C=rl(C),D=rl(D),E=rl(E),F=rl(F),G=rl(G),H=rl(H),I=rl(I),J=rl(J),L=rl(L),M=rl(M),N=rl(N),O=rl(O),P=rl(P),Q=rl(Q),R=rl(R),S=rl(S),T=rl(T),U=rl(U),V=rl(V),W=rl(W),X=rl(X),Y=rl(Y),Z=rl(Z),$=rl($),_=rl(_),ll=rl(ll),tl=rl(tl),el=rl(el),ol=rl(ol),kl=rl(kl),al=rl(al),nl=rl(nl),il=rl(il),sl=rl(sl)};export{tl as K,el as a,ol as b,v as c,b as d,o as e,a as f,W as g,x as h,H as i,r as j,f as k,e as l,q as m,I as n,u as o,c as p,T as q,P as r,rl as s,n as t,D as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["KolAbbrTag","KolAccordionTag","KolAlertTag","KolAlertWcTag","KolAvatarTag","KolAvatarWcTag","KolBadgeTag","KolBreadcrumbTag","KolButtonGroupTag","KolButtonGroupWcTag","KolButtonLinkTag","KolButtonLinkTextSwitchTag","KolButtonTag","KolButtonWcTag","KolCardTag","KolDetailsTag","KolFormTag","KolHeadingTag","KolHeadingWcTag","KolIconTag","KolImageTag","KolIndentedTextTag","KolInputTag","KolInputCheckboxTag","KolInputColorTag","KolInputDateTag","KolInputEmailTag","KolInputFileTag","KolInputNumberTag","KolInputPasswordTag","KolInputRadioTag","KolInputRangeTag","KolInputTextTag","KolKolibriTag","KolLinkTag","KolLinkWcTag","KolLinkButtonTag","KolLinkGroupTag","KolLogoTag","KolModalTag","KolNavTag","KolPaginationTag","KolPopoverWcTag","KolProgressTag","KolQuoteTag","KolSelectTag","KolSkipNavTag","KolSpanTag","KolSpanWcTag","KolSpinTag","KolSplitButtonTag","KolSymbolTag","KolTableTag","KolTabsTag","KolTextareaTag","KolToastContainerTag","KolToastTag","KolTooltipWcTag","KolTreeTag","KolTreeItemTag","KolTreeItemWcTag","KolTreeWcTag","KolVersionTag","setCustomTagNames","transformTagName"],"sources":["src/core/component-names.ts"],"sourcesContent":["export let KolAbbrTag = 'kol-abbr' as const;\nexport let KolAccordionTag = 'kol-accordion' as const;\nexport let KolAlertTag = 'kol-alert' as const;\nexport let KolAlertWcTag = 'kol-alert-wc' as const;\nexport let KolAvatarTag = 'kol-avatar' as const;\nexport let KolAvatarWcTag = 'kol-avatar-wc' as const;\nexport let KolBadgeTag = 'kol-badge' as const;\nexport let KolBreadcrumbTag = 'kol-breadcrumb' as const;\nexport let KolButtonGroupTag = 'kol-button-group' as const;\nexport let KolButtonGroupWcTag = 'kol-button-group-wc' as const;\nexport let KolButtonLinkTag = 'kol-button-link' as const;\nexport let KolButtonLinkTextSwitchTag = 'kol-button-link-text-switch' as const;\nexport let KolButtonTag = 'kol-button' as const;\nexport let KolButtonWcTag = 'kol-button-wc' as const;\nexport let KolCardTag = 'kol-card' as const;\nexport let KolDetailsTag = 'kol-details' as const;\nexport let KolFormTag = 'kol-form' as const;\nexport let KolHeadingTag = 'kol-heading' as const;\nexport let KolHeadingWcTag = 'kol-heading-wc' as const;\nexport let KolIconTag = 'kol-icon' as const;\nexport let KolImageTag = 'kol-image' as const;\nexport let KolIndentedTextTag = 'kol-indented-text' as const;\nexport let KolInputTag = 'kol-input' as const;\nexport let KolInputCheckboxTag = 'kol-input-checkbox' as const;\nexport let KolInputColorTag = 'kol-input-color' as const;\nexport let KolInputDateTag = 'kol-input-date' as const;\nexport let KolInputEmailTag = 'kol-input-email' as const;\nexport let KolInputFileTag = 'kol-input-file' as const;\nexport let KolInputNumberTag = 'kol-input-number' as const;\nexport let KolInputPasswordTag = 'kol-input-password' as const;\nexport let KolInputRadioTag = 'kol-input-radio' as const;\nexport let KolInputRangeTag = 'kol-input-range' as const;\nexport let KolInputTextTag = 'kol-input-text' as const;\nexport let KolKolibriTag = 'kol-kolibri' as const;\nexport let KolLinkTag = 'kol-link' as const;\nexport let KolLinkWcTag = 'kol-link-wc' as const;\nexport let KolLinkButtonTag = 'kol-link-button' as const;\nexport let KolLinkGroupTag = 'kol-link-group' as const;\nexport let KolLogoTag = 'kol-logo' as const;\nexport let KolModalTag = 'kol-modal' as const;\nexport let KolNavTag = 'kol-nav' as const;\nexport let KolPaginationTag = 'kol-pagination' as const;\nexport let KolPopoverWcTag = 'kol-popover-wc' as const;\nexport let KolProgressTag = 'kol-progress' as const;\nexport let KolQuoteTag = 'kol-quote' as const;\nexport let KolSelectTag = 'kol-select' as const;\nexport let KolSkipNavTag = 'kol-skip-nav' as const;\nexport let KolSpanTag = 'kol-span' as const;\nexport let KolSpanWcTag = 'kol-span-wc' as const;\nexport let KolSpinTag = 'kol-spin' as const;\nexport let KolSplitButtonTag = 'kol-split-button' as const;\nexport let KolSymbolTag = 'kol-symbol' as const;\nexport let KolTableTag = 'kol-table' as const;\nexport let KolTabsTag = 'kol-tabs' as const;\nexport let KolTextareaTag = 'kol-textarea' as const;\nexport let KolToastContainerTag = 'kol-toast-container' as const;\nexport let KolToastTag = 'kol-toast' as const;\nexport let KolTooltipWcTag = 'kol-tooltip-wc' as const;\nexport let KolTreeTag = 'kol-tree' as const;\nexport let KolTreeItemTag = 'kol-tree-item' as const;\nexport let KolTreeItemWcTag = 'kol-tree-item-wc' as const;\nexport let KolTreeWcTag = 'kol-tree-wc' as const;\nexport let KolVersionTag = 'kol-version' as const;\n\nexport const setCustomTagNames = (transformTagName: (tagName: string) => string) => {\n\tKolAbbrTag = transformTagName(KolAbbrTag as string) as 'kol-abbr';\n\tKolAccordionTag = transformTagName(KolAccordionTag as string) as 'kol-accordion';\n\tKolAlertTag = transformTagName(KolAlertTag as string) as 'kol-alert';\n\tKolAlertWcTag = transformTagName(KolAlertWcTag as string) as 'kol-alert-wc';\n\tKolAvatarTag = transformTagName(KolAvatarTag as string) as 'kol-avatar';\n\tKolAvatarWcTag = transformTagName(KolAvatarWcTag as string) as 'kol-avatar-wc';\n\tKolBadgeTag = transformTagName(KolBadgeTag as string) as 'kol-badge';\n\tKolBreadcrumbTag = transformTagName(KolBreadcrumbTag as string) as 'kol-breadcrumb';\n\tKolButtonTag = transformTagName(KolButtonTag as string) as 'kol-button';\n\tKolButtonWcTag = transformTagName(KolButtonWcTag as string) as 'kol-button-wc';\n\tKolButtonGroupTag = transformTagName(KolButtonGroupTag as string) as 'kol-button-group';\n\tKolButtonGroupWcTag = transformTagName(KolButtonGroupWcTag as string) as 'kol-button-group-wc';\n\tKolButtonLinkTag = transformTagName(KolButtonLinkTag as string) as 'kol-button-link';\n\tKolButtonLinkTextSwitchTag = transformTagName(KolButtonLinkTextSwitchTag as string) as 'kol-button-link-text-switch';\n\tKolCardTag = transformTagName(KolCardTag as string) as 'kol-card';\n\tKolDetailsTag = transformTagName(KolDetailsTag as string) as 'kol-details';\n\tKolFormTag = transformTagName(KolFormTag as string) as 'kol-form';\n\tKolHeadingTag = transformTagName(KolHeadingTag as string) as 'kol-heading';\n\tKolHeadingWcTag = transformTagName(KolHeadingWcTag as string) as 'kol-heading-wc';\n\tKolIconTag = transformTagName(KolIconTag as string) as 'kol-icon';\n\tKolImageTag = transformTagName(KolImageTag as string) as 'kol-image';\n\tKolIndentedTextTag = transformTagName(KolIndentedTextTag as string) as 'kol-indented-text';\n\tKolInputTag = transformTagName(KolInputTag as string) as 'kol-input';\n\tKolInputCheckboxTag = transformTagName(KolInputCheckboxTag as string) as 'kol-input-checkbox';\n\tKolInputColorTag = transformTagName(KolInputColorTag as string) as 'kol-input-color';\n\tKolInputDateTag = transformTagName(KolInputDateTag as string) as 'kol-input-date';\n\tKolInputEmailTag = transformTagName(KolInputEmailTag as string) as 'kol-input-email';\n\tKolInputFileTag = transformTagName(KolInputFileTag as string) as 'kol-input-file';\n\tKolInputNumberTag = transformTagName(KolInputNumberTag as string) as 'kol-input-number';\n\tKolInputPasswordTag = transformTagName(KolInputPasswordTag as string) as 'kol-input-password';\n\tKolInputRadioTag = transformTagName(KolInputRadioTag as string) as 'kol-input-radio';\n\tKolInputRangeTag = transformTagName(KolInputRangeTag as string) as 'kol-input-range';\n\tKolInputTextTag = transformTagName(KolInputTextTag as string) as 'kol-input-text';\n\tKolKolibriTag = transformTagName(KolKolibriTag as string) as 'kol-kolibri';\n\tKolLinkTag = transformTagName(KolLinkTag as string) as 'kol-link';\n\tKolLinkWcTag = transformTagName(KolLinkWcTag as string) as 'kol-link-wc';\n\tKolLinkButtonTag = transformTagName(KolLinkButtonTag as string) as 'kol-link-button';\n\tKolLinkGroupTag = transformTagName(KolLinkGroupTag as string) as 'kol-link-group';\n\tKolLogoTag = transformTagName(KolLogoTag as string) as 'kol-logo';\n\tKolModalTag = transformTagName(KolModalTag as string) as 'kol-modal';\n\tKolNavTag = transformTagName(KolNavTag as string) as 'kol-nav';\n\tKolPaginationTag = transformTagName(KolPaginationTag as string) as 'kol-pagination';\n\tKolPopoverWcTag = transformTagName(KolPopoverWcTag as string) as 'kol-popover-wc';\n\tKolProgressTag = transformTagName(KolProgressTag as string) as 'kol-progress';\n\tKolQuoteTag = transformTagName(KolQuoteTag as string) as 'kol-quote';\n\tKolSelectTag = transformTagName(KolSelectTag as string) as 'kol-select';\n\tKolSkipNavTag = transformTagName(KolSkipNavTag as string) as 'kol-skip-nav';\n\tKolSpanTag = transformTagName(KolSpanTag as string) as 'kol-span';\n\tKolSpanWcTag = transformTagName(KolSpanWcTag as string) as 'kol-span-wc';\n\tKolSpinTag = transformTagName(KolSpinTag as string) as 'kol-spin';\n\tKolSplitButtonTag = transformTagName(KolSplitButtonTag as string) as 'kol-split-button';\n\tKolSymbolTag = transformTagName(KolSymbolTag as string) as 'kol-symbol';\n\tKolTableTag = transformTagName(KolTableTag as string) as 'kol-table';\n\tKolTabsTag = transformTagName(KolTabsTag as string) as 'kol-tabs';\n\tKolTextareaTag = transformTagName(KolTextareaTag as string) as 'kol-textarea';\n\tKolToastContainerTag = transformTagName(KolToastContainerTag as string) as 'kol-toast-container';\n\tKolToastTag = transformTagName(KolToastTag as string) as 'kol-toast';\n\tKolTooltipWcTag = transformTagName(KolTooltipWcTag as string) as 'kol-tooltip-wc';\n\tKolTreeTag = transformTagName(KolTreeTag as string) as 'kol-tree';\n\tKolTreeItemTag = transformTagName(KolTreeItemTag as string) as 'kol-tree-item';\n\tKolTreeItemWcTag = transformTagName(KolTreeItemWcTag as string) as 'kol-tree-item-wc';\n\tKolTreeWcTag = transformTagName(KolTreeWcTag as string) as 'kol-tree-wc';\n\tKolVersionTag = transformTagName(KolVersionTag as string) as 'kol-version';\n};\n"],"mappings":"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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{c as t,a as e,w as s,m as i,s as a}from"./prop.validators-
|
|
4
|
+
import{c as t,a as e,w as s,m as i,s as a}from"./prop.validators-d99c5d68.js";import{h as r,c as o}from"./label-ce16ea0f.js";import{a as n}from"./a11y.tipps-5500b43f.js";import{S as l}from"./reuse-d79ab469.js";import{I as h}from"./controller-6b1a2d6a.js";const f=t=>{if("object"==typeof t&&null!==t){if("string"==typeof t.label&&t.label.length>0)return t.disabled=!0===t.disabled,t.label=`${t.label}`.trim(),!1===r(t.label,3)&&!1===o(t.label)&&n(`Ein abweichendes Aria-Label (${t.label}) ist nicht barrierefrei. Ein abweichendes Aria-Label sollte aus mindestens drei lesbaren Zeichen bestehen.`),!Array.isArray(t.options)||void 0===t.options.find((t=>!1===f(t)));if("number"==typeof t.label)return!0}return!1},c=(e,o,i={})=>{t(e,"_options",(t=>"object"==typeof t&&null!==t&&"string"==typeof t.label&&t.label.length>0),o,void 0,i)},u=(e,o,i={})=>{t(e,"_options",f,o,void 0,i)},p=(t,o)=>{e(t,"_required",o)},d=(t,e,o="")=>{e.forEach(((e,i)=>{const a=`${o}-${i}`;"object"==typeof e&&null!==e&&"string"==typeof e.label&&e.label.length>0&&(Array.isArray(e.options)?d(t,e.options,a):t.set(a,e))}))};class b extends h{constructor(t,e,o){super(t,e,o),this.component=t}validateRequired(t){p(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateRequired(this.component._required)}}class m extends b{constructor(t,e,o){super(t,e,o),this.keyOptionMap=new Map,this.getOptionByKey=t=>this.keyOptionMap.get(t),this.isValueInOptions=(t,e)=>void 0!==e.find((e=>e.value===t)),this.afterPatchOptions=(t,e,o,i)=>{"_value"===i&&this.setFormAssociatedValue(t)},this.beforePatchOptions=(t,e)=>{const o=e.has("_options")?e.get("_options"):this.component.state._options;if(Array.isArray(o)&&o.length>0){this.keyOptionMap.clear(),d(this.keyOptionMap,o);const t=e.has("_value")?e.get("_value"):this.component.state._value;!1===this.isValueInOptions(t,o)&&(e.set("_value",o[0].value),this.onStateChange())}},this.component=t}validateOrientation(t){s(this.component,"_orientation",(t=>"horizontal"===t||"vertical"===t),new Set(["Orientation {horizontal, vertical}"]),t,{defaultValue:"vertical"})}validateOptions(t){c(this.component,t,{hooks:{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions}})}validateValue(t){t=i(t),t=Array.isArray(t)?t[0]:t,a(this.component,"_value",t,{afterPatch:this.afterPatchOptions,beforePatch:this.beforePatchOptions})}componentWillLoad(t){super.componentWillLoad(),this.onStateChange=()=>{if("function"==typeof t){const e=setTimeout((()=>{clearTimeout(e),t(l)}))}},this.validateOrientation(this.component._orientation),this.validateOptions(this.component._options||this.component._list),this.validateValue(this.component._value)}}export{b as I,m as a,d as f,u as v};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{a as t,d as i,s,o as e,p as h}from"./prop.validators-
|
|
4
|
+
import{a as t,d as i,s,o as e,p as h}from"./prop.validators-d99c5d68.js";import{v as o}from"./hide-label-04b87845.js";import{a}from"./label-ce16ea0f.js";import{g as r,a as n,d}from"./a11y.tipps-5500b43f.js";import{s as l,t as c}from"./events-fa760b68.js";import{v as u}from"./tab-index-a24ae591.js";import{A as f}from"./associated.controller-50f43123.js";const p=t=>{const o="string"==typeof t._error&&t._error.length>0&&!0===t._touched,e="string"==typeof t._hint&&t._hint.length>0,n=[];return!0===o&&n.push(`${t._id}-error`),!0===e&&n.push(`${t._id}-hint`),{hasError:o,hasHint:e,ariaDescribedBy:n}},v=(o,e)=>{t(o,"_adjustHeight",e)},m=(o,e,n)=>{t(o,"_hideError",e,n)},y=(o,e)=>{t(o,"_touched",e)};class b extends f{constructor(t,o,e){super(t,o,e),this.component=t}validateAlert(o){t(this.component,"_alert",o)}validateTouched(t){y(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateAlert(this.component._alert),this.validateTouched(this.component._touched)}}class g extends b{constructor(t,o,e){super(t,o,e),this.valueChangeListeners=[],this.onFacade={onBlur:this.onBlur.bind(this),onChange:this.onChange.bind(this),onClick:this.onClick.bind(this),onFocus:this.onFocus.bind(this),onInput:this.onInput.bind(this)},this.component=t}validateAccessKey(t){i(this.component,"_accessKey",t)}validateAdjustHeight(t){v(this.component,t)}validateDisabled(o){t(this.component,"_disabled",o),!0===o&&r()}validateError(t){i(this.component,"_error",t)}validateHideError(t){m(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideError&&n("Property hide-error for inputs: Only use when the error message is shown outside of the input component.")}}})}validateHideLabel(t){o(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideLabel&&n("Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.")}}})}validateHint(t){i(this.component,"_hint",t)}validateId(t){i(this.component,"_id",t,{hooks:{afterPatch:()=>{this.setAttribute("id",this.formAssociated,this.component.state._id)}},minLength:1}),""!==t&&void 0!==t||d("Eine eindeutige ID an den Eingabefeldern ist nicht zwingend erforderlich, könnte aber für die E2E-Tests relevant sein.")}validateLabel(t){a(this.component,t,{required:!0})}validateOn(t){"object"==typeof t&&s(this.component,"_on",t)}validateSmartButton(t){e(t,(()=>{try{t=h(t)}catch(t){}s(this.component,"_smartButton",t)}))}validateTabIndex(t){u(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateAccessKey(this.component._accessKey),this.validateAdjustHeight(this.component._adjustHeight),this.validateError(this.component._error),this.validateDisabled(this.component._disabled),this.validateHideError(this.component._hideError),this.validateHideLabel(this.component._hideLabel),this.validateHint(this.component._hint),this.validateId(this.component._id),this.validateLabel(this.component._label),this.validateSmartButton(this.component._smartButton),this.validateOn(this.component._on),this.validateTabIndex(this.component._tabIndex)}onBlur(t){var o;this.component._alert=!0,this.component._touched=!0,l(t),c("blur",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onBlur)&&this.component._on.onBlur(t)}onChange(t){var o;const e=t.target.value;c("change",this.host,e),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onChange)&&this.component._on.onChange(t,e),this.valueChangeListeners.forEach((t=>t(e)))}onClick(t){var o;l(t),c("click",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onClick)&&this.component._on.onClick(t)}onFocus(t){var o;this.component._alert=!0,l(t),c("focus",this.host),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onFocus)&&this.component._on.onFocus(t)}onInput(t,o=!0){var e;const n=t.target.value;l(t),c("input",this.host),o&&this.setFormAssociatedValue(n),"function"==typeof(null===(e=this.component._on)||void 0===e?void 0:e.onInput)&&this.component._on.onInput(t)}setValue(t,o){var e;this.setFormAssociatedValue(o),"function"==typeof(null===(e=this.component._on)||void 0===e?void 0:e.onChange)&&this.component._on.onChange(t,o)}addValueChangeListener(t){this.valueChangeListeners.push(t)}}export{g as I,p as g};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{v as s,I as t}from"./controller-
|
|
4
|
+
import{v as s,I as t}from"./controller-8716848e.js";import{v as e}from"./suggestions-6ce95e30.js";import{w as i}from"./prop.validators-d99c5d68.js";class r extends t{constructor(t,e,s){super(t,e,s),this.component=t}validateList(){}validateSuggestions(t){e(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateSuggestions(this.component._suggestions||this.component._list)}}class a extends r{constructor(t,e,s){super(t,e,s),this.hasError=!1,this.component=t}validateType(t){i(this.component,"_type",(t=>"string"==typeof t&&("text"===t||"search"===t||"url"===t||"tel"===t)),new Set(["String {text, search, url, tel}"]),t)}validateHasCounter(t){s(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateType(this.component._type),this.validateHasCounter(this.component._hasCounter)}}export{r as I,a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{a as t,w as s,e as i,d as e}from"./prop.validators-
|
|
4
|
+
import{a as t,w as s,e as i,d as e}from"./prop.validators-d99c5d68.js";import{I as a}from"./controller-icon-ac470db3.js";const h=(e,o)=>{t(e,"_hasCounter",o)};class o extends a{constructor(t,e,o){super(t,e,o),this.component=t}validateAutoComplete(t){s(this.component,"_autoComplete",(t=>"string"==typeof t&&("on"===t||"off"===t)),new Set(["on | off"]),t)}validateHasCounter(t){h(this.component,t)}validateMaxLength(t){i(this.component,"_maxLength",t,{min:0})}validatePattern(t){e(this.component,"_pattern",t)}validatePlaceholder(t){e(this.component,"_placeholder",t)}validateReadOnly(e){t(this.component,"_readOnly",e)}validateRequired(e){t(this.component,"_required",e)}validateSize(t){i(this.component,"_size",t,{min:1})}validateValue(t){e(this.component,"_value",t),this.setFormAssociatedValue(this.component.state._value)}componentWillLoad(){super.componentWillLoad(),this.validateAutoComplete(this.component._autoComplete),this.validateHasCounter(this.component._hasCounter),this.validateMaxLength(this.component._maxLength),this.validatePattern(this.component._pattern),this.validatePlaceholder(this.component._placeholder),this.validateReadOnly(this.component._readOnly),this.validateRequired(this.component._required),this.validateSize(this.component._size),this.validateValue(this.component._value)}onBlur(t){this.component.state=Object.assign(Object.assign({},this.component.state),{_placeholder:this.placeholderCache}),this.placeholderCache=void 0,super.onBlur(t)}onFocus(t){this.placeholderCache=this.component.state._placeholder,this.component.state=Object.assign(Object.assign({},this.component.state),{_placeholder:void 0}),super.onFocus(t)}}export{o as I,h as v};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{d as e}from"./a11y.tipps-
|
|
4
|
+
import{d as e}from"./a11y.tipps-5500b43f.js";import{a as o}from"./dev.utils-cdb6e8d3.js";import{f as t,K as n}from"./prop.validators-d99c5d68.js";const i=t=>{for(o()&&(e("↓ Search form element start."),console.log(t));t instanceof HTMLElement&&"FORM"!==t.tagName&&"KOL-FORM"!==t.tagName;)t=t.parentElement instanceof HTMLElement?t.parentElement:t.parentNode instanceof ShadowRoot?t.parentNode.host:null,o()&&console.log(t);return o()&&e("↑ Search form element finished."),t},f=(e={})=>{var o,a;const s=i(e.form);if(s instanceof HTMLElement){const e=new Event("reset",{bubbles:!0,cancelable:!0});if("FORM"===s.tagName)t(e,s),s.dispatchEvent(e);else if("KOL-FORM"===s.tagName){t(e,n.querySelector("form",s));const i=s;"function"==typeof(null===(o=i._on)||void 0===o?void 0:o.onReset)&&(null===(a=i._on)||void 0===a||a.onReset(e))}}},s=(a={})=>{var s,r;const f=i(a.form);if(f instanceof HTMLElement){const a=new SubmitEvent("submit",{bubbles:!0,cancelable:!0,submitter:f});if("FORM"===f.tagName)t(a,f),f.dispatchEvent(a),o()&&!1===f.noValidate&&e("If you have not focusable or hidden form fields in your form, you should enable noValidate for your form.",{force:!0}),"function"==typeof f.requestSubmit&&f.requestSubmit();else if("KOL-FORM"===f.tagName){t(a,n.querySelector("form",f));const e=f;"function"==typeof(null===(s=e._on)||void 0===s?void 0:s.onSubmit)&&(null===(r=e._on)||void 0===r||r.onSubmit(a))}}};export{f as a,s as p};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{i as o}from"./icons-bbc974ee.js";import{o as s,p as t,w as i}from"./prop.validators-d99c5d68.js";import{i as r}from"./reuse-d79ab469.js";import{I as e}from"./controller-6b1a2d6a.js";const c=(o,t)=>{const e=o;"object"==typeof e&&null!==e&&(r(e.right,1)&&(e.right={icon:e.right}),r(e.left,1)&&(e.left={icon:e.left}),t.set("_icons",e))};class a extends e{constructor(o,t,e){super(o,t,e),this.component=o}validateIcon(o){this.validateIcons(o)}validateIcons(e){s(e,(()=>{try{e=t(e)}catch(o){}i(this.component,"_icons",(t=>"object"==typeof t&&null!==t&&(r(t.left,1)||o(t.left)||r(t.right,1)||o(t.right))),new Set(["KoliBriHorizontalIcon"]),e,{hooks:{beforePatch:c},required:!0})}))}componentWillLoad(){super.componentWillLoad(),this.validateIcons(this.component._icons||this.component._icon)}}export{a as I};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{w as a,d as o}from"./prop.validators-
|
|
4
|
+
import{w as a,d as o}from"./prop.validators-d99c5d68.js";const r=(o,r)=>{a(o,"_variant",(a=>"primary"===a||"secondary"===a||"normal"===a||"danger"===a||"ghost"===a||"custom"===a),new Set(["KoliBriButtonVariant {primary, secondary, normal, danger, ghost, custom}"]),r,{defaultValue:"normal"})},s=(a,r)=>{o(a,"_customClass",r,{defaultValue:void 0})};export{r as a,s as v};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{p as t}from"./reuse-d79ab469.js";const e=()=>"undefined"==typeof window?null:window,o=()=>void 0===e().document?null:e().document;let n=null,i=null,r=null;const s=()=>!0===n,l=e=>{n=e},a=()=>!0===i,u=e=>{i=e},c=()=>!0===r,d=e=>{r=e};class f{static mapToArray(e){return Array.isArray(e)?e:[e]}static handleClassifier(e){return"string"==typeof e&&e.length>0?`${f.shield.label} | ${e}`:f.shield.label}static getShield(e){return[f.handleClassifier(null==e?void 0:e.classifier),`${f.shield.style};${(null==e?void 0:e.overwriteStyle)||""}`]}static debug(e,o){(n||!0===(null==o?void 0:o.forceLog))&&console.debug(...f.getShield(o),...f.mapToArray(e))}static info(e,o){(n||!0===(null==o?void 0:o.forceLog))&&console.info(...f.getShield(o),...f.mapToArray(e))}static trace(e,o){(n||!0===(null==o?void 0:o.forceLog))&&console.trace(...f.getShield(o),...f.mapToArray(e))}static warn(e,o){(n||!0===(null==o?void 0:o.forceLog))&&console.warn(...f.getShield(o),...f.mapToArray(e))}static error(e,o){(n||!0===(null==o?void 0:o.forceLog))&&console.error(...f.getShield(o),...f.mapToArray(e))}static throw(e,o){if(n||!0===(null==o?void 0:o.forceLog))throw new Error(...f.getShield(o),...f.mapToArray(e))}}f.shield={label:"%cKoliBri",style:"color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000"};const b=()=>{const e=o().querySelector('meta[name="kolibri"]');if(e&&e.hasAttribute("content")){const o=e.getAttribute("content");"string"==typeof o&&(l(o.includes("dev-mode=true")),u(o.includes("experimental-mode=true")),d(o.includes("color-contrast-analysis=true")))}},p=()=>{let o=e().KoliBri;return void 0===o&&(o={},Object.defineProperty(e(),"KoliBri",{value:o,writable:!1})),o},v=()=>{b(),
|
|
4
|
+
import{p as t}from"./reuse-d79ab469.js";const e=()=>"undefined"==typeof window?null:window,o=()=>void 0===e().document?null:e().document;let n=null,i=null,r=null;const s=()=>!0===n,l=e=>{n=e},a=()=>!0===i,u=e=>{i=e},c=()=>!0===r,d=e=>{r=e};class f{static mapToArray(e){return Array.isArray(e)?e:[e]}static handleClassifier(e){return"string"==typeof e&&e.length>0?`${f.shield.label} | ${e}`:f.shield.label}static getShield(e){return[f.handleClassifier(null==e?void 0:e.classifier),`${f.shield.style};${(null==e?void 0:e.overwriteStyle)||""}`]}static debug(e,o){(n||!0===(null==o?void 0:o.forceLog))&&console.debug(...f.getShield(o),...f.mapToArray(e))}static info(e,o){(n||!0===(null==o?void 0:o.forceLog))&&console.info(...f.getShield(o),...f.mapToArray(e))}static trace(e,o){(n||!0===(null==o?void 0:o.forceLog))&&console.trace(...f.getShield(o),...f.mapToArray(e))}static warn(e,o){(n||!0===(null==o?void 0:o.forceLog))&&console.warn(...f.getShield(o),...f.mapToArray(e))}static error(e,o){(n||!0===(null==o?void 0:o.forceLog))&&console.error(...f.getShield(o),...f.mapToArray(e))}static throw(e,o){if(n||!0===(null==o?void 0:o.forceLog))throw new Error(...f.getShield(o),...f.mapToArray(e))}}f.shield={label:"%cKoliBri",style:"color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000"};const b=()=>{const e=o().querySelector('meta[name="kolibri"]');if(e&&e.hasAttribute("content")){const o=e.getAttribute("content");"string"==typeof o&&(l(o.includes("dev-mode=true")),u(o.includes("experimental-mode=true")),d(o.includes("color-contrast-analysis=true")))}},p=()=>{let o=e().KoliBri;return void 0===o&&(o={},Object.defineProperty(e(),"KoliBri",{value:o,writable:!1})),o},v=()=>{b(),f.debug("\n\t,--. ,--. ,--. ,--. ,-----. ,--.\n\t| .' / ,---. | | `--' | |) /_ ,--.--. `--'\n\t| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n\t| |\\ \\ | '-' | | | | | | '--' / | | | |\n\t`--' `--´ `---´ `--' `--' `------´ `--' `--'\n\t🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | 1.7.17\n\t\t",{forceLog:!0})},h=()=>{!0!==p().adviceShown&&(Object.defineProperty(p(),"adviceShown",{get:function(){return!0}}),f.debug("\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n"))};let m=()=>Math.floor(16777215*Math.random()).toString(16);"test"===t&&(m=()=>"nonce");export{f as L,a,e as b,s as c,c as d,o as g,v as i,m as n,h as r};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["getWindow","window","getDocument","document","DEV_MODE","EXPERIMENTAL_MODE","COLOR_CONTRAST_ANALYSIS","getDevMode","setDevMode","value","getExperimentalMode","setExperimentalMode","getColorContrastAnalysis","setColorContrastAnalysis","Log","mapToArray","msg","Array","isArray","handleClassifier","classifier","length","shield","label","getShield","options","style","overwriteStyle","debug","forceLog","console","info","trace","warn","error","Error","initMeta","meta","querySelector","hasAttribute","content","getAttribute","includes","getKoliBri","kolibri","KoliBri","undefined","Object","defineProperty","writable","initKoliBri","renderDevAdvice","adviceShown","get","nonce","Math","floor","random","toString","processEnv"],"sources":["src/utils/dev.utils.ts"],"sourcesContent":["import { processEnv } from './reuse';\n\nlet WINDOW: Window | null = null;\nlet DOCUMENT: Document | null = null;\n\nexport const getWindow = (): Window => (WINDOW || typeof window === 'undefined' ? (null as unknown as Window) : window);\nexport const setWindow = (value: Window): void => {\n\tWINDOW = value;\n};\n\nexport const getDocument = (): Document => (DOCUMENT || typeof getWindow().document === 'undefined' ? (null as unknown as Document) : getWindow().document);\nexport const setDocument = (value: Document): void => {\n\tDOCUMENT = value;\n};\n\nlet DEV_MODE: boolean | null = null;\nlet EXPERIMENTAL_MODE: boolean | null = null;\nlet COLOR_CONTRAST_ANALYSIS: boolean | null = null;\n\nexport const getDevMode = (): boolean => DEV_MODE === true;\nexport const setDevMode = (value: boolean): void => {\n\tDEV_MODE = value;\n};\n\nexport const getExperimentalMode = (): boolean => EXPERIMENTAL_MODE === true;\nexport const setExperimentalMode = (value: boolean): void => {\n\tEXPERIMENTAL_MODE = value;\n};\n\nexport const getColorContrastAnalysis = (): boolean => COLOR_CONTRAST_ANALYSIS === true;\nexport const setColorContrastAnalysis = (value: boolean): void => {\n\tCOLOR_CONTRAST_ANALYSIS = value;\n};\n\ntype LogShield = {\n\tlabel: string;\n\tstyle: string;\n};\n\ntype LogShieldOptions = {\n\tclassifier?: string;\n\tforceLog?: boolean;\n\toverwriteStyle?: string;\n};\n\nexport class Log {\n\tprivate static shield: LogShield = {\n\t\tlabel: '%cKoliBri',\n\t\tstyle: 'color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000',\n\t};\n\n\tprivate static mapToArray(msg: unknown | unknown[]): unknown[] {\n\t\treturn Array.isArray(msg) ? msg : [msg];\n\t}\n\n\tprivate static handleClassifier(classifier?: string): string {\n\t\tif (typeof classifier === 'string' && classifier.length > 0) {\n\t\t\treturn `${Log.shield.label} | ${classifier}`;\n\t\t} else {\n\t\t\treturn Log.shield.label;\n\t\t}\n\t}\n\n\tprivate static getShield(options?: LogShieldOptions): string[] {\n\t\treturn [Log.handleClassifier(options?.classifier), `${Log.shield.style};${options?.overwriteStyle || ''}`];\n\t}\n\n\tpublic static debug(msg: unknown | unknown[], options?: LogShieldOptions): void {\n\t\tif (DEV_MODE || options?.forceLog === true) {\n\t\t\tconsole.debug(...Log.getShield(options), ...Log.mapToArray(msg));\n\t\t}\n\t}\n\n\tpublic static info(msg: unknown | unknown[], options?: LogShieldOptions): void {\n\t\tif (DEV_MODE || options?.forceLog === true) {\n\t\t\tconsole.info(...Log.getShield(options), ...Log.mapToArray(msg));\n\t\t}\n\t}\n\n\tpublic static trace(msg: unknown | unknown[], options?: LogShieldOptions): void {\n\t\tif (DEV_MODE || options?.forceLog === true) {\n\t\t\tconsole.trace(...Log.getShield(options), ...Log.mapToArray(msg));\n\t\t}\n\t}\n\n\tpublic static warn(msg: unknown | unknown[], options?: LogShieldOptions): void {\n\t\tif (DEV_MODE || options?.forceLog === true) {\n\t\t\tconsole.warn(...Log.getShield(options), ...Log.mapToArray(msg));\n\t\t}\n\t}\n\n\tpublic static error(msg: unknown | unknown[], options?: LogShieldOptions): void {\n\t\tif (DEV_MODE || options?.forceLog === true) {\n\t\t\tconsole.error(...Log.getShield(options), ...Log.mapToArray(msg));\n\t\t}\n\t}\n\n\tpublic static throw(msg: unknown | unknown[], options?: LogShieldOptions): void {\n\t\tif (DEV_MODE || options?.forceLog === true) {\n\t\t\tthrow new Error(...Log.getShield(options), ...Log.mapToArray(msg));\n\t\t}\n\t}\n}\n\nconst initMeta = (): void => {\n\tconst meta = getDocument().querySelector('meta[name=\"kolibri\"]');\n\tif (meta && meta.hasAttribute('content')) {\n\t\tconst content = meta.getAttribute('content');\n\t\tif (typeof content === 'string') {\n\t\t\tsetDevMode(content.includes('dev-mode=true'));\n\t\t\tsetExperimentalMode(content.includes('experimental-mode=true'));\n\t\t\tsetColorContrastAnalysis(content.includes('color-contrast-analysis=true'));\n\t\t}\n\t}\n};\n\nconst getKoliBri = (): Record<string, unknown> => {\n\tlet kolibri = getWindow().KoliBri;\n\tif (kolibri === undefined) {\n\t\tkolibri = {};\n\t\tObject.defineProperty(getWindow(), 'KoliBri', {\n\t\t\tvalue: kolibri,\n\t\t\twritable: false,\n\t\t});\n\t}\n\treturn kolibri;\n};\n\nexport { getKoliBri };\n\nexport const initKoliBri = (): void => {\n\tinitMeta();\n\
|
|
1
|
+
{"version":3,"names":["getWindow","window","getDocument","document","DEV_MODE","EXPERIMENTAL_MODE","COLOR_CONTRAST_ANALYSIS","getDevMode","setDevMode","value","getExperimentalMode","setExperimentalMode","getColorContrastAnalysis","setColorContrastAnalysis","Log","mapToArray","msg","Array","isArray","handleClassifier","classifier","length","shield","label","getShield","options","style","overwriteStyle","debug","forceLog","console","info","trace","warn","error","Error","initMeta","meta","querySelector","hasAttribute","content","getAttribute","includes","getKoliBri","kolibri","KoliBri","undefined","Object","defineProperty","writable","initKoliBri","renderDevAdvice","adviceShown","get","nonce","Math","floor","random","toString","processEnv"],"sources":["src/utils/dev.utils.ts"],"sourcesContent":["import { processEnv } from './reuse';\n\nlet WINDOW: Window | null = null;\nlet DOCUMENT: Document | null = null;\n\nexport const getWindow = (): Window => (WINDOW || typeof window === 'undefined' ? (null as unknown as Window) : window);\nexport const setWindow = (value: Window): void => {\n\tWINDOW = value;\n};\n\nexport const getDocument = (): Document => (DOCUMENT || typeof getWindow().document === 'undefined' ? (null as unknown as Document) : getWindow().document);\nexport const setDocument = (value: Document): void => {\n\tDOCUMENT = value;\n};\n\nlet DEV_MODE: boolean | null = null;\nlet EXPERIMENTAL_MODE: boolean | null = null;\nlet COLOR_CONTRAST_ANALYSIS: boolean | null = null;\n\nexport const getDevMode = (): boolean => DEV_MODE === true;\nexport const setDevMode = (value: boolean): void => {\n\tDEV_MODE = value;\n};\n\nexport const getExperimentalMode = (): boolean => EXPERIMENTAL_MODE === true;\nexport const setExperimentalMode = (value: boolean): void => {\n\tEXPERIMENTAL_MODE = value;\n};\n\nexport const getColorContrastAnalysis = (): boolean => COLOR_CONTRAST_ANALYSIS === true;\nexport const setColorContrastAnalysis = (value: boolean): void => {\n\tCOLOR_CONTRAST_ANALYSIS = value;\n};\n\ntype LogShield = {\n\tlabel: string;\n\tstyle: string;\n};\n\ntype LogShieldOptions = {\n\tclassifier?: string;\n\tforceLog?: boolean;\n\toverwriteStyle?: string;\n};\n\nexport class Log {\n\tprivate static shield: LogShield = {\n\t\tlabel: '%cKoliBri',\n\t\tstyle: 'color: white; background: #666; font-weight: bold; padding: .25em .5em; border-radius: 3px; border: 1px solid #000',\n\t};\n\n\tprivate static mapToArray(msg: unknown | unknown[]): unknown[] {\n\t\treturn Array.isArray(msg) ? msg : [msg];\n\t}\n\n\tprivate static handleClassifier(classifier?: string): string {\n\t\tif (typeof classifier === 'string' && classifier.length > 0) {\n\t\t\treturn `${Log.shield.label} | ${classifier}`;\n\t\t} else {\n\t\t\treturn Log.shield.label;\n\t\t}\n\t}\n\n\tprivate static getShield(options?: LogShieldOptions): string[] {\n\t\treturn [Log.handleClassifier(options?.classifier), `${Log.shield.style};${options?.overwriteStyle || ''}`];\n\t}\n\n\tpublic static debug(msg: unknown | unknown[], options?: LogShieldOptions): void {\n\t\tif (DEV_MODE || options?.forceLog === true) {\n\t\t\tconsole.debug(...Log.getShield(options), ...Log.mapToArray(msg));\n\t\t}\n\t}\n\n\tpublic static info(msg: unknown | unknown[], options?: LogShieldOptions): void {\n\t\tif (DEV_MODE || options?.forceLog === true) {\n\t\t\tconsole.info(...Log.getShield(options), ...Log.mapToArray(msg));\n\t\t}\n\t}\n\n\tpublic static trace(msg: unknown | unknown[], options?: LogShieldOptions): void {\n\t\tif (DEV_MODE || options?.forceLog === true) {\n\t\t\tconsole.trace(...Log.getShield(options), ...Log.mapToArray(msg));\n\t\t}\n\t}\n\n\tpublic static warn(msg: unknown | unknown[], options?: LogShieldOptions): void {\n\t\tif (DEV_MODE || options?.forceLog === true) {\n\t\t\tconsole.warn(...Log.getShield(options), ...Log.mapToArray(msg));\n\t\t}\n\t}\n\n\tpublic static error(msg: unknown | unknown[], options?: LogShieldOptions): void {\n\t\tif (DEV_MODE || options?.forceLog === true) {\n\t\t\tconsole.error(...Log.getShield(options), ...Log.mapToArray(msg));\n\t\t}\n\t}\n\n\tpublic static throw(msg: unknown | unknown[], options?: LogShieldOptions): void {\n\t\tif (DEV_MODE || options?.forceLog === true) {\n\t\t\tthrow new Error(...Log.getShield(options), ...Log.mapToArray(msg));\n\t\t}\n\t}\n}\n\nconst initMeta = (): void => {\n\tconst meta = getDocument().querySelector('meta[name=\"kolibri\"]');\n\tif (meta && meta.hasAttribute('content')) {\n\t\tconst content = meta.getAttribute('content');\n\t\tif (typeof content === 'string') {\n\t\t\tsetDevMode(content.includes('dev-mode=true'));\n\t\t\tsetExperimentalMode(content.includes('experimental-mode=true'));\n\t\t\tsetColorContrastAnalysis(content.includes('color-contrast-analysis=true'));\n\t\t}\n\t}\n};\n\nconst getKoliBri = (): Record<string, unknown> => {\n\tlet kolibri = getWindow().KoliBri;\n\tif (kolibri === undefined) {\n\t\tkolibri = {};\n\t\tObject.defineProperty(getWindow(), 'KoliBri', {\n\t\t\tvalue: kolibri,\n\t\t\twritable: false,\n\t\t});\n\t}\n\treturn kolibri;\n};\n\nexport { getKoliBri };\n\nexport const initKoliBri = (): void => {\n\tinitMeta();\n\tLog.debug(\n\t\t`\n\t,--. ,--. ,--. ,--. ,-----. ,--.\n\t| .' / ,---. | | \\`--' | |) /_ ,--.--. \\`--'\n\t| . ' | .-. | | | ,--. | .-. \\\\ | .--' ,--.\n\t| |\\\\ \\\\ | '-' | | | | | | '--' / | | | |\n\t\\`--' \\`--´ \\`---´ \\`--' \\`--' \\`------´ \\`--' \\`--'\n\t🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | 1.7.17\n\t\t`,\n\t\t{\n\t\t\tforceLog: true,\n\t\t},\n\t);\n};\n\nexport const renderDevAdvice = (): void => {\n\tif (getKoliBri().adviceShown !== true) {\n\t\tObject.defineProperty(getKoliBri(), 'adviceShown', {\n\t\t\tget: function () {\n\t\t\t\treturn true;\n\t\t\t},\n\t\t});\n\t\tLog.debug(\n\t\t\t`\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n`,\n\t\t);\n\t}\n};\n\nlet nonce = (): string => Math.floor(Math.random() * 16777215).toString(16);\n\nif (processEnv === 'test') {\n\tnonce = (): string => 'nonce';\n}\n\nexport { nonce };\n"],"mappings":";;;8CAKaA,EAAY,WAAgCC,SAAW,YAAe,KAA6BA,O,MAKnGC,EAAc,WAAoCF,IAAYG,WAAa,YAAe,KAA+BH,IAAYG,SAKlJ,IAAIC,EAA2B,KAC/B,IAAIC,EAAoC,KACxC,IAAIC,EAA0C,K,MAEjCC,EAAa,IAAeH,IAAa,KAC/C,MAAMI,EAAcC,IAC1BL,EAAWK,CAAK,E,MAGJC,EAAsB,IAAeL,IAAsB,KACjE,MAAMM,EAAuBF,IACnCJ,EAAoBI,CAAK,E,MAGbG,EAA2B,IAAeN,IAA4B,KAC5E,MAAMO,EAA4BJ,IACxCH,EAA0BG,CAAK,E,MAcnBK,EAMJ,iBAAOC,CAAWC,GACzB,OAAOC,MAAMC,QAAQF,GAAOA,EAAM,CAACA,E,CAG5B,uBAAOG,CAAiBC,GAC/B,UAAWA,IAAe,UAAYA,EAAWC,OAAS,EAAG,CAC5D,MAAO,GAAGP,EAAIQ,OAAOC,WAAWH,G,KAC1B,CACN,OAAON,EAAIQ,OAAOC,K,EAIZ,gBAAOC,CAAUC,GACxB,MAAO,CAACX,EAAIK,iBAAiBM,IAAO,MAAPA,SAAO,SAAPA,EAASL,YAAa,GAAGN,EAAIQ,OAAOI,UAASD,IAAO,MAAPA,SAAO,SAAPA,EAASE,iBAAkB,K,CAG/F,YAAOC,CAAMZ,EAA0BS,GAC7C,GAAIrB,IAAYqB,IAAO,MAAPA,SAAO,SAAPA,EAASI,YAAa,KAAM,CAC3CC,QAAQF,SAASd,EAAIU,UAAUC,MAAaX,EAAIC,WAAWC,G,EAItD,WAAOe,CAAKf,EAA0BS,GAC5C,GAAIrB,IAAYqB,IAAO,MAAPA,SAAO,SAAPA,EAASI,YAAa,KAAM,CAC3CC,QAAQC,QAAQjB,EAAIU,UAAUC,MAAaX,EAAIC,WAAWC,G,EAIrD,YAAOgB,CAAMhB,EAA0BS,GAC7C,GAAIrB,IAAYqB,IAAO,MAAPA,SAAO,SAAPA,EAASI,YAAa,KAAM,CAC3CC,QAAQE,SAASlB,EAAIU,UAAUC,MAAaX,EAAIC,WAAWC,G,EAItD,WAAOiB,CAAKjB,EAA0BS,GAC5C,GAAIrB,IAAYqB,IAAO,MAAPA,SAAO,SAAPA,EAASI,YAAa,KAAM,CAC3CC,QAAQG,QAAQnB,EAAIU,UAAUC,MAAaX,EAAIC,WAAWC,G,EAIrD,YAAOkB,CAAMlB,EAA0BS,GAC7C,GAAIrB,IAAYqB,IAAO,MAAPA,SAAO,SAAPA,EAASI,YAAa,KAAM,CAC3CC,QAAQI,SAASpB,EAAIU,UAAUC,MAAaX,EAAIC,WAAWC,G,EAItD,YAAO,CAAMA,EAA0BS,GAC7C,GAAIrB,IAAYqB,IAAO,MAAPA,SAAO,SAAPA,EAASI,YAAa,KAAM,CAC3C,MAAM,IAAIM,SAASrB,EAAIU,UAAUC,MAAaX,EAAIC,WAAWC,G,GArDhDF,EAAAQ,OAAoB,CAClCC,MAAO,YACPG,MAAO,sHAwDT,MAAMU,EAAW,KAChB,MAAMC,EAAOnC,IAAcoC,cAAc,wBACzC,GAAID,GAAQA,EAAKE,aAAa,WAAY,CACzC,MAAMC,EAAUH,EAAKI,aAAa,WAClC,UAAWD,IAAY,SAAU,CAChChC,EAAWgC,EAAQE,SAAS,kBAC5B/B,EAAoB6B,EAAQE,SAAS,2BACrC7B,EAAyB2B,EAAQE,SAAS,gC,IAK7C,MAAMC,EAAa,KAClB,IAAIC,EAAU5C,IAAY6C,QAC1B,GAAID,IAAYE,UAAW,CAC1BF,EAAU,GACVG,OAAOC,eAAehD,IAAa,UAAW,CAC7CS,MAAOmC,EACPK,SAAU,O,CAGZ,OAAOL,CAAO,E,MAKFM,EAAc,KAC1Bd,IACAtB,EAAIc,MACH,iXAQA,CACCC,SAAU,MAEX,E,MAGWsB,EAAkB,KAC9B,GAAIR,IAAaS,cAAgB,KAAM,CACtCL,OAAOC,eAAeL,IAAc,cAAe,CAClDU,IAAK,WACJ,OAAO,I,IAGTvC,EAAIc,MACH,0Q,OAUC0B,EAAQ,IAAcC,KAAKC,MAAMD,KAAKE,SAAW,UAAUC,SAAS,IAExE,GAAIC,IAAe,OAAQ,CAC1BL,EAAQ,IAAc,OACvB,Q"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{i as t,c as e,r as o,g as s,L as a,a as r,d as i,b as l}from"./dev.utils-
|
|
4
|
+
import{i as t,c as e,r as o,g as s,L as a,a as r,d as i,b as l}from"./dev.utils-cdb6e8d3.js";import{n,q as d,k as p,t as c,u as f,p as L,v as m}from"./prop.validators-d99c5d68.js";import"./reuse-d79ab469.js";import"./index-117bd1aa.js";import"./a11y.tipps-5500b43f.js";const u=()=>{let t=l().KoliBri;return void 0===t&&(t={},Object.defineProperty(l(),"KoliBri",{value:t,writable:!1})),t};function v(t,e){try{Object.defineProperty(u(),t,{get:function(){return e}})}catch(e){a.debug(`KoliBri property ${t} is already bind.`)}}const b=(t,e)=>a.debug(`${t} ${e?"":"not "}activated`),h=()=>{if(t(),e()){o(),v("a11yColorContrast",d),v("querySelector",p),v("querySelectorAll",c),v("querySelectorColors",f),v("utils",(function(){return n})),v("parseJson",L),v("stringifyJson",m);const t=s().body,a=s().createElement("svg");if(a.setAttribute("aria-label","KoliBri-DevTools"),a.setAttribute("xmlns","http://www.w3.org/2000/svg"),a.setAttribute("role","toolbar"),a.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),a.innerHTML='<svg\n xmlns="http://www.w3.org/2000/svg"\n width="50"\n height="50"\n viewBox="0 0 600 600"\n>\n <path d="M353 322L213 304V434L353 322Z" fill="#047" />\n <path d="M209 564V304L149 434L209 564Z" fill="#047" />\n <path d="M357 316L417 250L361 210L275 244L357 316Z" fill="#047" />\n <path d="M353 318L35 36L213 300L353 318Z" fill="#047" />\n <path d="M329 218L237 92L250 222L272 241L329 218Z" fill="#047" />\n <path d="M391 286L565 272L421 252L391 286Z" fill="#047" />\n</svg>',s().body.appendChild(a),b("Development mode",e()),b("Experimental mode",r()),b("Color contrast analysis",i()),i()){const e=setTimeout((()=>{clearTimeout(e),setInterval((()=>{n.queryHtmlElementColors(s().createElement("div"),d(t),!1,!1)}),1e4)}),2500)}}};export{h as initialize};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/
|
|
4
|
+
import{h as r}from"./index-a051748e.js";import{l as e}from"./component-names-fed305c7.js";const o=({_alert:o,_error:a,_hideError:i,_id:s})=>r(e,{"aria-hidden":"true",id:`${s}-error`,_alert:o,_type:"error",class:{error:!0,"visually-hidden":!0===i}},a);export{o as F};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["FormFieldMsg","_alert","_error","_hideError","_id","h","KolAlertTag","id","_type","class","error"],"sources":["src/components/@shared/form-field-msg.tsx"],"sourcesContent":["import type { FunctionalComponent } from '@stencil/core';\nimport { h } from '@stencil/core';\nimport type { IdPropType } from '../../components';\nimport type { AlertPropType } from '../../types/props/alert';\nimport type { HideErrorPropType } from '../../types/props/hide-error';\nimport { KolAlertTag } from '../../core/component-names';\n\ntype FormFieldMsgProps = {\n\t_alert?: AlertPropType;\n\t_error?: string;\n\t_hideError?: HideErrorPropType;\n\t_id: IdPropType;\n};\n\nexport const FormFieldMsg: FunctionalComponent<FormFieldMsgProps> = ({ _alert, _error, _hideError, _id }) => (\n\t<KolAlertTag\n\t\t/**\n\t\t * This message is read out by screen readers if the input field\n\t\t * refers to the message using the <code>aria-describedby</code>\n\t\t * attribute. It also does this if <code>aria-hidden=true</code>\n\t\t * is set.\n\t\t */\n\t\taria-hidden=\"true\"\n\t\tid={`${_id}-error`}\n\t\t_alert={_alert}\n\t\t_type=\"error\"\n\t\tclass={{\n\t\t\terror: true,\n\t\t\t'visually-hidden': _hideError === true,\n\t\t}}\n\t>\n\t\t{_error}\n\t</KolAlertTag>\n);\n"],"mappings":";;;gGAcaA,EAAuD,EAAGC,SAAQC,SAAQC,aAAYC,SAClGC,EAACC,EAAW,eAOC,OACZC,GAAI,GAAGH,UACPH,OAAQA,EACRO,MAAM,QACNC,MAAO,CACNC,MAAO,KACP,kBAAmBP,IAAe,OAGlCD,U"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["validateHasCloser","component","value","watchBoolean"],"sources":["src/types/props/has-closer.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../../utils/prop.validators';\n\n/* types */\nexport type HasCloserPropType = boolean;\n\n/**\n * Defines whether the element can be closed.\n */\nexport type PropHasCloser = {\n\thasCloser: HasCloserPropType;\n};\n\n/* validator */\nexport const validateHasCloser = (component: Generic.Element.Component, value?: HasCloserPropType): void => {\n\twatchBoolean(component, '_hasCloser', value);\n};\n"],"mappings":";;;
|
|
1
|
+
{"version":3,"names":["validateHasCloser","component","value","watchBoolean"],"sources":["src/types/props/has-closer.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { watchBoolean } from '../../utils/prop.validators';\n\n/* types */\nexport type HasCloserPropType = boolean;\n\n/**\n * Defines whether the element can be closed.\n */\nexport type PropHasCloser = {\n\thasCloser: HasCloserPropType;\n};\n\n/* validator */\nexport const validateHasCloser = (component: Generic.Element.Component, value?: HasCloserPropType): void => {\n\twatchBoolean(component, '_hasCloser', value);\n};\n"],"mappings":";;;wDAeaA,EAAoB,CAACC,EAAsCC,KACvEC,EAAaF,EAAW,aAAcC,EAAM,S"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/
|
|
4
|
-
import{o,p as t,w as i}from"./prop.validators-
|
|
4
|
+
import{o,p as t,w as i}from"./prop.validators-d99c5d68.js";import{i as e,b as n,c as l}from"./reuse-d79ab469.js";const c=(t,o,i)=>{l(i)?t[o]=i:e(i,1)&&(t[o]={icon:i})},s=t=>{let o={};return e(t,1)?o={left:{icon:t}}:"object"==typeof t&&null!==t&&(c(o,"top",t.top),c(o,"right",t.right),c(o,"bottom",t.bottom),c(o,"left",t.left)),o},f=t=>{var o,e,i;if(null===(o=t.nextState)||void 0===o?void 0:o.has("_icons")){const o=null===(e=t.nextState)||void 0===e?void 0:e.get("_icons");null===(i=t.nextState)||void 0===i||i.set("_icons",s(o))}},a=t=>"object"==typeof t&&null!==t&&(void 0===t.style||n(t.style))&&e(t.icon,1),r=(l,n,s={})=>{o(n,(()=>{var o;try{n=t(n)}catch(o){}i(l,"_icons",(t=>null===t||e(t,1)||"object"==typeof t&&null!==t&&(e(t.left,1)||a(t.left)||e(t.right,1)||a(t.right)||e(t.top,1)||a(t.top)||e(t.bottom,1)||a(t.bottom))),new Set(["KoliBriIcon"]),n,Object.assign(Object.assign({},s),{defaultValue:{},hooks:{afterPatch:null===(o=s.hooks)||void 0===o?void 0:o.afterPatch,beforePatch:(t,o,e,i)=>{var l,a;"function"==typeof(null===(l=s.hooks)||void 0===l?void 0:l.beforePatch)&&(null===(a=s.hooks)||void 0===a||a.beforePatch(t,o,e,i)),f(e)}}}))}))},d=(t,o)=>{i(t,"_iconAlign",(t=>"left"===t||"right"===t),new Set(["Alignment {left, right, top, bottom}"]),o,{hooks:{beforePatch:()=>{f(t)}}})};export{a as i,r as v,d as w};
|