@public-ui/components 1.7.0-rc.15 → 1.7.0-rc.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 +224 -40
- package/dist/cjs/{a11y.tipps-0134082a.js → a11y.tipps-42e22a75.js} +1 -1
- package/dist/cjs/{a11y.tipps-0134082a.js.map → a11y.tipps-42e22a75.js.map} +1 -1
- package/dist/cjs/align-98097fe7.js +4 -0
- package/dist/cjs/{align-ffcd671e.js.map → align-98097fe7.js.map} +1 -1
- package/dist/cjs/{alignment-a90208e0.js → alignment-276881db.js} +1 -1
- package/dist/cjs/{alignment-a90208e0.js.map → alignment-276881db.js.map} +1 -1
- package/dist/cjs/{app-globals-8c537471.js → app-globals-c85051a1.js} +1 -1
- package/dist/cjs/{app-globals-8c537471.js.map → app-globals-c85051a1.js.map} +1 -1
- package/dist/cjs/aria-current-5d067e7a.js +4 -0
- package/dist/cjs/{aria-current-e275ab88.js.map → aria-current-5d067e7a.js.map} +1 -1
- package/dist/cjs/{associated.controller-fd72aae6.js → associated.controller-5366a724.js} +1 -1
- package/dist/cjs/{associated.controller-fd72aae6.js.map → associated.controller-5366a724.js.map} +1 -1
- package/dist/cjs/{color-8637b9a0.js → color-4a25139d.js} +1 -1
- package/dist/cjs/{color-8637b9a0.js.map → color-4a25139d.js.map} +1 -1
- package/dist/cjs/{controller-183d5276.js → controller-634c6428.js} +1 -1
- package/dist/cjs/{controller-183d5276.js.map → controller-634c6428.js.map} +1 -1
- package/dist/cjs/{controller-cf3f0890.js → controller-a04359b1.js} +1 -1
- package/dist/cjs/{controller-cf3f0890.js.map → controller-a04359b1.js.map} +1 -1
- package/dist/cjs/{controller-f66c143b.js → controller-a14cc21a.js} +1 -1
- package/dist/cjs/{controller-f66c143b.js.map → controller-a14cc21a.js.map} +1 -1
- package/dist/cjs/{controller-45b12d27.js → controller-a38697f2.js} +1 -1
- package/dist/cjs/{controller-45b12d27.js.map → controller-a38697f2.js.map} +1 -1
- package/dist/cjs/{controller-2b446dfd.js → controller-e84ae2b5.js} +1 -1
- package/dist/cjs/{controller-2b446dfd.js.map → controller-e84ae2b5.js.map} +1 -1
- package/dist/cjs/controller-icon-256403b1.js +4 -0
- package/dist/cjs/controller-icon-256403b1.js.map +1 -0
- package/dist/cjs/{custom-class-d62facd4.js → custom-class-009657f9.js} +1 -1
- package/dist/cjs/{custom-class-d62facd4.js.map → custom-class-009657f9.js.map} +1 -1
- package/dist/cjs/{dev.utils-d2b2471b.js → dev.utils-27cd2319.js} +1 -1
- package/dist/cjs/{dev.utils-d2b2471b.js.map → dev.utils-27cd2319.js.map} +1 -1
- package/dist/cjs/{devtools-9fa399ce.js → devtools-e11c62a3.js} +1 -1
- package/dist/cjs/{devtools-9fa399ce.js.map → devtools-e11c62a3.js.map} +1 -1
- package/dist/cjs/has-closer-cf910bd9.js +4 -0
- package/dist/cjs/{has-closer-f703dbb9.js.map → has-closer-cf910bd9.js.map} +1 -1
- package/dist/cjs/hide-label-fe96627a.js +4 -0
- package/dist/cjs/{hide-label-1c014425.js.map → hide-label-fe96627a.js.map} +1 -1
- package/dist/cjs/{i18n-f4e809a6.js → i18n-4e5d9a9c.js} +1 -1
- package/dist/cjs/{i18n-f4e809a6.js.map → i18n-4e5d9a9c.js.map} +1 -1
- package/dist/cjs/icons-cd42f62a.js +4 -0
- package/dist/cjs/icons-cd42f62a.js.map +1 -0
- package/dist/cjs/image-source-af007898.js +4 -0
- package/dist/cjs/{image-source-8630b8ab.js.map → image-source-af007898.js.map} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/kol-abbr.cjs.entry.js +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_3.cjs.entry.js +1 -1
- package/dist/cjs/kol-alert-wc_3.cjs.entry.js.map +1 -1
- 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-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-link.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-link.cjs.entry.js.map +1 -1
- 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-icon.cjs.entry.js +1 -1
- package/dist/cjs/kol-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-image.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-adapter-leanup.cjs.entry.js +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-kolibri.cjs.entry.js.map +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.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-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-span-wc_2.cjs.entry.js +1 -1
- package/dist/cjs/kol-span-wc_2.cjs.entry.js.map +1 -1
- 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.cjs.entry.js +1 -1
- package/dist/cjs/kol-version.cjs.entry.js +1 -1
- package/dist/cjs/kolibri.cjs.js +1 -1
- package/dist/cjs/{label-d1cec9a8.js → label-cf9e15c1.js} +1 -1
- package/dist/cjs/{label-d1cec9a8.js.map → label-cf9e15c1.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/open-c1a87adc.js +4 -0
- package/dist/cjs/{open-4cc804c4.js.map → open-c1a87adc.js.map} +1 -1
- package/dist/cjs/{prop.validators-ac830edb.js → prop.validators-d863e087.js} +1 -1
- package/dist/cjs/{prop.validators-ac830edb.js.map → prop.validators-d863e087.js.map} +1 -1
- package/dist/cjs/rows-91f6e60d.js +4 -0
- package/dist/cjs/{rows-bbcd466f.js.map → rows-91f6e60d.js.map} +1 -1
- package/dist/cjs/show-e683f284.js +4 -0
- package/dist/cjs/{show-c1eb3e41.js.map → show-e683f284.js.map} +1 -1
- package/dist/cjs/{suggestions-f1a217a2.js → suggestions-6e6b451f.js} +1 -1
- package/dist/cjs/{suggestions-f1a217a2.js.map → suggestions-6e6b451f.js.map} +1 -1
- package/dist/cjs/{tab-index-caf936cb.js → tab-index-b4665bd0.js} +1 -1
- package/dist/cjs/{tab-index-caf936cb.js.map → tab-index-b4665bd0.js.map} +1 -1
- package/dist/cjs/{tooltip-align-b3044d73.js → tooltip-align-b4e02f04.js} +1 -1
- package/dist/cjs/{tooltip-align-b3044d73.js.map → tooltip-align-b4e02f04.js.map} +1 -1
- package/dist/cjs/{validation-fa972660.js → validation-1cd7a655.js} +1 -1
- package/dist/cjs/{validation-fa972660.js.map → validation-1cd7a655.js.map} +1 -1
- package/dist/cjs/validation-5e357104.js +4 -0
- package/dist/cjs/{validation-d2c4dbc0.js.map → validation-5e357104.js.map} +1 -1
- package/dist/components/component.js +1 -1
- package/dist/components/component.js.map +1 -1
- package/dist/components/component13.js +1 -1
- package/dist/components/component13.js.map +1 -1
- package/dist/components/component14.js +1 -1
- package/dist/components/component14.js.map +1 -1
- package/dist/components/component15.js +1 -1
- package/dist/components/component15.js.map +1 -1
- package/dist/components/component16.js +1 -1
- package/dist/components/component16.js.map +1 -1
- package/dist/components/component2.js +1 -1
- package/dist/components/component2.js.map +1 -1
- package/dist/components/component5.js +1 -1
- package/dist/components/component5.js.map +1 -1
- package/dist/components/component6.js +1 -1
- package/dist/components/component6.js.map +1 -1
- package/dist/components/component8.js +1 -1
- package/dist/components/component8.js.map +1 -1
- package/dist/components/component9.js +1 -1
- package/dist/components/component9.js.map +1 -1
- package/dist/components/controller-icon.js +1 -1
- package/dist/components/controller-icon.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-breadcrumb.js +1 -1
- package/dist/components/kol-breadcrumb.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-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-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-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-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-nav.js +1 -1
- package/dist/components/kol-nav.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/prop.validators.js +1 -1
- package/dist/components/prop.validators.js.map +1 -1
- package/dist/components/shadow.js +1 -1
- package/dist/components/shadow.js.map +1 -1
- package/dist/components/shadow2.js +1 -1
- package/dist/components/shadow2.js.map +1 -1
- package/dist/components/shadow3.js +1 -1
- package/dist/components/shadow3.js.map +1 -1
- package/dist/esm/{a11y.tipps-86d2943f.js → a11y.tipps-cbc66f29.js} +1 -1
- package/dist/esm/{a11y.tipps-86d2943f.js.map → a11y.tipps-cbc66f29.js.map} +1 -1
- package/dist/esm/{align-40fbf369.js → align-3a44c2dc.js} +1 -1
- package/dist/esm/{align-40fbf369.js.map → align-3a44c2dc.js.map} +1 -1
- package/dist/esm/{alignment-f29c9e3c.js → alignment-7221c136.js} +1 -1
- package/dist/esm/{alignment-f29c9e3c.js.map → alignment-7221c136.js.map} +1 -1
- package/dist/esm/{app-globals-50958dcb.js → app-globals-c8ef9d4a.js} +1 -1
- package/dist/esm/{app-globals-50958dcb.js.map → app-globals-c8ef9d4a.js.map} +1 -1
- package/dist/esm/{aria-current-3785ded3.js → aria-current-745991e1.js} +1 -1
- package/dist/esm/{aria-current-3785ded3.js.map → aria-current-745991e1.js.map} +1 -1
- package/dist/esm/{associated.controller-12885637.js → associated.controller-90790b27.js} +1 -1
- package/dist/esm/{associated.controller-12885637.js.map → associated.controller-90790b27.js.map} +1 -1
- package/dist/esm/{color-3286e820.js → color-780c9e23.js} +1 -1
- package/dist/esm/{color-3286e820.js.map → color-780c9e23.js.map} +1 -1
- package/dist/esm/{controller-7378fe29.js → controller-0d594815.js} +1 -1
- package/dist/esm/{controller-7378fe29.js.map → controller-0d594815.js.map} +1 -1
- package/dist/esm/{controller-9313a601.js → controller-895ebba5.js} +1 -1
- package/dist/esm/{controller-9313a601.js.map → controller-895ebba5.js.map} +1 -1
- package/dist/esm/{controller-d5bd0829.js → controller-bb2f9d36.js} +1 -1
- package/dist/esm/{controller-d5bd0829.js.map → controller-bb2f9d36.js.map} +1 -1
- package/dist/esm/{controller-e361e808.js → controller-f9073cdd.js} +1 -1
- package/dist/esm/{controller-e361e808.js.map → controller-f9073cdd.js.map} +1 -1
- package/dist/esm/{controller-0214ed78.js → controller-fd0e4f79.js} +1 -1
- package/dist/esm/{controller-0214ed78.js.map → controller-fd0e4f79.js.map} +1 -1
- package/dist/esm/controller-icon-c0fe5be2.js +4 -0
- package/dist/esm/controller-icon-c0fe5be2.js.map +1 -0
- package/dist/esm/{custom-class-08f5fafe.js → custom-class-6cf9f7fc.js} +1 -1
- package/dist/esm/{custom-class-08f5fafe.js.map → custom-class-6cf9f7fc.js.map} +1 -1
- package/dist/esm/{dev.utils-387eb46c.js → dev.utils-fefa824f.js} +1 -1
- package/dist/esm/{dev.utils-387eb46c.js.map → dev.utils-fefa824f.js.map} +1 -1
- package/dist/esm/{devtools-4ffc0378.js → devtools-4d3940ee.js} +1 -1
- package/dist/esm/{devtools-4ffc0378.js.map → devtools-4d3940ee.js.map} +1 -1
- package/dist/esm/{has-closer-e73838e1.js → has-closer-64b93d29.js} +1 -1
- package/dist/esm/{has-closer-e73838e1.js.map → has-closer-64b93d29.js.map} +1 -1
- package/dist/esm/{hide-label-fa80738c.js → hide-label-aba65803.js} +1 -1
- package/dist/esm/{hide-label-fa80738c.js.map → hide-label-aba65803.js.map} +1 -1
- package/dist/esm/{i18n-bbfd20b1.js → i18n-7e0d16ce.js} +1 -1
- package/dist/esm/{i18n-bbfd20b1.js.map → i18n-7e0d16ce.js.map} +1 -1
- package/dist/esm/icons-6dece5fc.js +4 -0
- package/dist/esm/icons-6dece5fc.js.map +1 -0
- package/dist/esm/{image-source-e8ad9cfc.js → image-source-c592f64b.js} +1 -1
- package/dist/esm/{image-source-e8ad9cfc.js.map → image-source-c592f64b.js.map} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/kol-abbr.entry.js +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_3.entry.js +1 -1
- package/dist/esm/kol-alert-wc_3.entry.js.map +1 -1
- 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-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-link.entry.js +1 -1
- package/dist/esm/kol-button-link.entry.js.map +1 -1
- 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-icon.entry.js +1 -1
- package/dist/esm/kol-icon.entry.js.map +1 -1
- package/dist/esm/kol-image.entry.js +1 -1
- package/dist/esm/kol-input-adapter-leanup.entry.js +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-kolibri.entry.js.map +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.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-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-span-wc_2.entry.js +1 -1
- package/dist/esm/kol-span-wc_2.entry.js.map +1 -1
- 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.entry.js +1 -1
- package/dist/esm/kol-version.entry.js +1 -1
- package/dist/esm/kolibri.js +1 -1
- package/dist/esm/{label-4bb4b8b0.js → label-fb4f8e79.js} +1 -1
- package/dist/esm/{label-4bb4b8b0.js.map → label-fb4f8e79.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{open-1bbc69de.js → open-53a66c30.js} +1 -1
- package/dist/esm/{open-1bbc69de.js.map → open-53a66c30.js.map} +1 -1
- package/dist/esm/{prop.validators-25add96a.js → prop.validators-845ed004.js} +1 -1
- package/dist/esm/{prop.validators-25add96a.js.map → prop.validators-845ed004.js.map} +1 -1
- package/dist/esm/{rows-727d397f.js → rows-75a0842f.js} +1 -1
- package/dist/esm/{rows-727d397f.js.map → rows-75a0842f.js.map} +1 -1
- package/dist/esm/{show-fc17fc91.js → show-f0fcb53f.js} +1 -1
- package/dist/esm/{show-fc17fc91.js.map → show-f0fcb53f.js.map} +1 -1
- package/dist/esm/{suggestions-20b7d471.js → suggestions-ff33e291.js} +1 -1
- package/dist/esm/{suggestions-20b7d471.js.map → suggestions-ff33e291.js.map} +1 -1
- package/dist/esm/{tab-index-f5544a7b.js → tab-index-be3e31bd.js} +1 -1
- package/dist/esm/{tab-index-f5544a7b.js.map → tab-index-be3e31bd.js.map} +1 -1
- package/dist/esm/{tooltip-align-87f02e9d.js → tooltip-align-7f3b9b80.js} +1 -1
- package/dist/esm/{tooltip-align-87f02e9d.js.map → tooltip-align-7f3b9b80.js.map} +1 -1
- package/dist/esm/validation-8aca5f69.js +4 -0
- package/dist/esm/{validation-b971b214.js.map → validation-8aca5f69.js.map} +1 -1
- package/dist/esm/validation-e28f37c7.js +4 -0
- package/dist/esm/{validation-ff9bb97a.js.map → validation-e28f37c7.js.map} +1 -1
- package/dist/kolibri/{a11y.tipps-86d2943f.js → a11y.tipps-cbc66f29.js} +1 -1
- package/dist/kolibri/align-3a44c2dc.js +4 -0
- package/dist/kolibri/alignment-7221c136.js +4 -0
- package/dist/kolibri/app-globals-c8ef9d4a.js +4 -0
- package/dist/kolibri/aria-current-745991e1.js +4 -0
- package/dist/kolibri/assets/simulations/nav-simulation.js +1 -1
- package/dist/kolibri/assets/simulations/smart-button-simulation.js +1 -1
- package/dist/kolibri/assets/simulations/tabs-simulation.js +1 -1
- package/dist/kolibri/{associated.controller-12885637.js → associated.controller-90790b27.js} +1 -1
- package/dist/kolibri/{color-3286e820.js → color-780c9e23.js} +1 -1
- package/dist/kolibri/controller-0d594815.js +4 -0
- package/dist/kolibri/{controller-7378fe29.js.map → controller-0d594815.js.map} +1 -1
- package/dist/kolibri/{controller-9313a601.js → controller-895ebba5.js} +1 -1
- package/dist/kolibri/controller-bb2f9d36.js +4 -0
- package/dist/kolibri/{controller-e361e808.js → controller-f9073cdd.js} +1 -1
- package/dist/kolibri/{controller-0214ed78.js → controller-fd0e4f79.js} +1 -1
- package/dist/kolibri/controller-icon-c0fe5be2.js +4 -0
- package/dist/kolibri/controller-icon-c0fe5be2.js.map +1 -0
- package/dist/kolibri/{custom-class-08f5fafe.js → custom-class-6cf9f7fc.js} +1 -1
- package/dist/kolibri/{dev.utils-387eb46c.js → dev.utils-fefa824f.js} +1 -1
- package/dist/kolibri/{dev.utils-387eb46c.js.map → dev.utils-fefa824f.js.map} +1 -1
- package/dist/kolibri/devtools-4d3940ee.js +4 -0
- package/dist/kolibri/has-closer-64b93d29.js +4 -0
- package/dist/kolibri/{has-closer-e73838e1.js.map → has-closer-64b93d29.js.map} +1 -1
- package/dist/kolibri/hide-label-aba65803.js +4 -0
- package/dist/kolibri/{i18n-bbfd20b1.js → i18n-7e0d16ce.js} +1 -1
- package/dist/kolibri/icons-6dece5fc.js +4 -0
- package/dist/kolibri/icons-6dece5fc.js.map +1 -0
- package/dist/kolibri/image-source-c592f64b.js +4 -0
- package/dist/kolibri/index.esm.js +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_3.entry.js +1 -1
- package/dist/kolibri/kol-alert-wc_3.entry.js.map +1 -1
- 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-wc.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-link.entry.js +1 -1
- package/dist/kolibri/kol-button-link.entry.js.map +1 -1
- 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-icon.entry.js +1 -1
- package/dist/kolibri/kol-icon.entry.js.map +1 -1
- package/dist/kolibri/kol-image.entry.js +1 -1
- package/dist/kolibri/kol-input-adapter-leanup.entry.js +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-kolibri.entry.js.map +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.entry.js +1 -1
- package/dist/kolibri/kol-progress.entry.js +1 -1
- package/dist/kolibri/kol-quote.entry.js +1 -1
- package/dist/kolibri/kol-select.entry.js +1 -1
- package/dist/kolibri/kol-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_2.entry.js +1 -1
- package/dist/kolibri/kol-span-wc_2.entry.js.map +1 -1
- 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.entry.js +1 -1
- package/dist/kolibri/kol-version.entry.js +1 -1
- package/dist/kolibri/kolibri.esm.js +1 -1
- package/dist/kolibri/kolibri.esm.js.map +1 -1
- package/dist/kolibri/label-fb4f8e79.js +4 -0
- package/dist/kolibri/open-53a66c30.js +4 -0
- package/dist/kolibri/{open-1bbc69de.js.map → open-53a66c30.js.map} +1 -1
- package/dist/kolibri/{prop.validators-25add96a.js → prop.validators-845ed004.js} +1 -1
- package/dist/kolibri/rows-75a0842f.js +4 -0
- package/dist/kolibri/show-f0fcb53f.js +4 -0
- package/dist/kolibri/{show-fc17fc91.js.map → show-f0fcb53f.js.map} +1 -1
- package/dist/kolibri/{suggestions-20b7d471.js → suggestions-ff33e291.js} +1 -1
- package/dist/kolibri/tab-index-be3e31bd.js +4 -0
- package/dist/kolibri/{tab-index-f5544a7b.js.map → tab-index-be3e31bd.js.map} +1 -1
- package/dist/kolibri/tooltip-align-7f3b9b80.js +4 -0
- package/dist/kolibri/validation-8aca5f69.js +4 -0
- package/dist/kolibri/validation-e28f37c7.js +4 -0
- package/dist/types/components/@deprecated/input/controller-icon.d.ts +3 -2
- package/dist/types/components/@deprecated/input/types-icon.d.ts +3 -2
- package/dist/types/components/badge/component.d.ts +3 -2
- package/dist/types/components/badge/types.d.ts +3 -2
- package/dist/types/components/button/component.d.ts +5 -3
- package/dist/types/components/button/shadow.d.ts +3 -2
- package/dist/types/components/button/types.d.ts +5 -4
- package/dist/types/components/button-link/component.d.ts +3 -2
- package/dist/types/components/icon/component.d.ts +3 -1
- package/dist/types/components/icon/types.d.ts +4 -4
- package/dist/types/components/input/component.d.ts +4 -2
- package/dist/types/components/input/types.d.ts +3 -2
- package/dist/types/components/input-checkbox/component.d.ts +5 -3
- package/dist/types/components/input-checkbox/controller.d.ts +3 -2
- package/dist/types/components/input-checkbox/types.d.ts +6 -5
- package/dist/types/components/input-color/component.d.ts +5 -3
- package/dist/types/components/input-color/types.d.ts +4 -3
- package/dist/types/components/input-date/component.d.ts +5 -3
- package/dist/types/components/input-date/types.d.ts +2 -2
- package/dist/types/components/input-email/component.d.ts +5 -3
- package/dist/types/components/input-email/types.d.ts +4 -3
- package/dist/types/components/input-file/component.d.ts +5 -3
- package/dist/types/components/input-file/types.d.ts +4 -3
- package/dist/types/components/input-number/component.d.ts +5 -3
- package/dist/types/components/input-number/types.d.ts +2 -2
- package/dist/types/components/input-password/component.d.ts +5 -3
- package/dist/types/components/input-password/types.d.ts +4 -3
- package/dist/types/components/input-range/component.d.ts +5 -3
- package/dist/types/components/input-range/types.d.ts +4 -3
- package/dist/types/components/input-text/component.d.ts +5 -3
- package/dist/types/components/input-text/types.d.ts +4 -3
- package/dist/types/components/link/component.d.ts +5 -3
- package/dist/types/components/link/shadow.d.ts +3 -2
- package/dist/types/components/link/types.d.ts +4 -3
- package/dist/types/components/link-button/component.d.ts +2 -2
- package/dist/types/components/pagination/component.d.ts +4 -1
- package/dist/types/components/pagination/types.d.ts +4 -4
- package/dist/types/components/select/component.d.ts +5 -3
- package/dist/types/components/select/types.d.ts +4 -3
- package/dist/types/components/span/component.d.ts +5 -3
- package/dist/types/components/span/shadow.d.ts +3 -2
- package/dist/types/components/span/types.d.ts +4 -3
- package/dist/types/components/split-button/component.d.ts +3 -2
- package/dist/types/components/split-button/types.d.ts +4 -3
- package/dist/types/components/table/types.d.ts +1 -1
- package/dist/types/components/tabs/types.d.ts +3 -2
- package/dist/types/components.d.ts +264 -96
- package/dist/types/types/button-link-text.d.ts +3 -2
- package/dist/types/types/{icon.d.ts → icons.d.ts} +5 -5
- package/dist/types/types/input/control/number.d.ts +3 -2
- package/dist/types/types/props/icons.d.ts +12 -0
- package/dist/types/types/props/max.d.ts +8 -0
- package/doc/alert.md +2 -2
- package/doc/badge.md +14 -13
- package/doc/button-group.md +1 -1
- package/doc/button-link.md +4 -3
- package/doc/button.md +5 -4
- package/doc/card.md +2 -2
- package/doc/icon-font-awesome.md +1 -1
- package/doc/icon.md +7 -6
- package/doc/input-checkbox.md +6 -5
- package/doc/input-color.md +23 -22
- package/doc/input-date.md +29 -28
- package/doc/input-email.md +31 -30
- package/doc/input-file.md +23 -22
- package/doc/input-number.md +30 -29
- package/doc/input-password.md +28 -27
- package/doc/input-radio-group.md +4 -4
- package/doc/input-radio.md +3 -3
- package/doc/input-range.md +5 -4
- package/doc/input-text.md +31 -30
- package/doc/kolibri.md +1 -1
- package/doc/link-button.md +3 -3
- package/doc/link-group.md +1 -1
- package/doc/link.md +5 -4
- package/doc/nav.md +11 -11
- package/doc/pagination.md +15 -14
- package/doc/select.md +6 -5
- package/doc/span.md +7 -6
- package/doc/split-button.md +4 -3
- package/doc/table.md +9 -9
- package/doc/textarea.md +6 -6
- package/package.json +1 -1
- package/vscode-custom-data.json +93 -21
- package/dist/cjs/align-ffcd671e.js +0 -4
- package/dist/cjs/aria-current-e275ab88.js +0 -4
- package/dist/cjs/controller-icon-0ced64f4.js +0 -4
- package/dist/cjs/controller-icon-0ced64f4.js.map +0 -1
- package/dist/cjs/has-closer-f703dbb9.js +0 -4
- package/dist/cjs/hide-label-1c014425.js +0 -4
- package/dist/cjs/icon-685623ce.js +0 -4
- package/dist/cjs/icon-685623ce.js.map +0 -1
- package/dist/cjs/image-source-8630b8ab.js +0 -4
- package/dist/cjs/open-4cc804c4.js +0 -4
- package/dist/cjs/rows-bbcd466f.js +0 -4
- package/dist/cjs/show-c1eb3e41.js +0 -4
- package/dist/cjs/validation-d2c4dbc0.js +0 -4
- package/dist/esm/controller-icon-516c3ff2.js +0 -4
- package/dist/esm/controller-icon-516c3ff2.js.map +0 -1
- package/dist/esm/icon-91abf20b.js +0 -4
- package/dist/esm/icon-91abf20b.js.map +0 -1
- package/dist/esm/validation-b971b214.js +0 -4
- package/dist/esm/validation-ff9bb97a.js +0 -4
- package/dist/kolibri/align-40fbf369.js +0 -4
- package/dist/kolibri/alignment-f29c9e3c.js +0 -4
- package/dist/kolibri/app-globals-50958dcb.js +0 -4
- package/dist/kolibri/aria-current-3785ded3.js +0 -4
- package/dist/kolibri/controller-7378fe29.js +0 -4
- package/dist/kolibri/controller-d5bd0829.js +0 -4
- package/dist/kolibri/controller-icon-516c3ff2.js +0 -4
- package/dist/kolibri/controller-icon-516c3ff2.js.map +0 -1
- package/dist/kolibri/devtools-4ffc0378.js +0 -4
- package/dist/kolibri/has-closer-e73838e1.js +0 -4
- package/dist/kolibri/hide-label-fa80738c.js +0 -4
- package/dist/kolibri/icon-91abf20b.js +0 -4
- package/dist/kolibri/icon-91abf20b.js.map +0 -1
- package/dist/kolibri/image-source-e8ad9cfc.js +0 -4
- package/dist/kolibri/label-4bb4b8b0.js +0 -4
- package/dist/kolibri/open-1bbc69de.js +0 -4
- package/dist/kolibri/rows-727d397f.js +0 -4
- package/dist/kolibri/show-fc17fc91.js +0 -4
- package/dist/kolibri/tab-index-f5544a7b.js +0 -4
- package/dist/kolibri/tooltip-align-87f02e9d.js +0 -4
- package/dist/kolibri/validation-b971b214.js +0 -4
- package/dist/kolibri/validation-ff9bb97a.js +0 -4
- package/dist/types/types/props/icon.d.ts +0 -12
- /package/dist/kolibri/{a11y.tipps-86d2943f.js.map → a11y.tipps-cbc66f29.js.map} +0 -0
- /package/dist/kolibri/{align-40fbf369.js.map → align-3a44c2dc.js.map} +0 -0
- /package/dist/kolibri/{alignment-f29c9e3c.js.map → alignment-7221c136.js.map} +0 -0
- /package/dist/kolibri/{app-globals-50958dcb.js.map → app-globals-c8ef9d4a.js.map} +0 -0
- /package/dist/kolibri/{aria-current-3785ded3.js.map → aria-current-745991e1.js.map} +0 -0
- /package/dist/kolibri/{associated.controller-12885637.js.map → associated.controller-90790b27.js.map} +0 -0
- /package/dist/kolibri/{color-3286e820.js.map → color-780c9e23.js.map} +0 -0
- /package/dist/kolibri/{controller-9313a601.js.map → controller-895ebba5.js.map} +0 -0
- /package/dist/kolibri/{controller-d5bd0829.js.map → controller-bb2f9d36.js.map} +0 -0
- /package/dist/kolibri/{controller-e361e808.js.map → controller-f9073cdd.js.map} +0 -0
- /package/dist/kolibri/{controller-0214ed78.js.map → controller-fd0e4f79.js.map} +0 -0
- /package/dist/kolibri/{custom-class-08f5fafe.js.map → custom-class-6cf9f7fc.js.map} +0 -0
- /package/dist/kolibri/{devtools-4ffc0378.js.map → devtools-4d3940ee.js.map} +0 -0
- /package/dist/kolibri/{hide-label-fa80738c.js.map → hide-label-aba65803.js.map} +0 -0
- /package/dist/kolibri/{i18n-bbfd20b1.js.map → i18n-7e0d16ce.js.map} +0 -0
- /package/dist/kolibri/{image-source-e8ad9cfc.js.map → image-source-c592f64b.js.map} +0 -0
- /package/dist/kolibri/{label-4bb4b8b0.js.map → label-fb4f8e79.js.map} +0 -0
- /package/dist/kolibri/{prop.validators-25add96a.js.map → prop.validators-845ed004.js.map} +0 -0
- /package/dist/kolibri/{rows-727d397f.js.map → rows-75a0842f.js.map} +0 -0
- /package/dist/kolibri/{suggestions-20b7d471.js.map → suggestions-ff33e291.js.map} +0 -0
- /package/dist/kolibri/{tooltip-align-87f02e9d.js.map → tooltip-align-7f3b9b80.js.map} +0 -0
- /package/dist/kolibri/{validation-b971b214.js.map → validation-8aca5f69.js.map} +0 -0
- /package/dist/kolibri/{validation-ff9bb97a.js.map → validation-e28f37c7.js.map} +0 -0
package/doc/table.md
CHANGED
|
@@ -122,15 +122,15 @@ Warum die Tabelle einen **Tabindex** hat, wird auf der folgenden Webseite beschr
|
|
|
122
122
|
|
|
123
123
|
## Properties
|
|
124
124
|
|
|
125
|
-
| Property | Attribute | Description | Type
|
|
126
|
-
| ----------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------ |
|
|
127
|
-
| `_caption` | `_caption` | <span class="text-red-500">**[DEPRECATED]**</span> Use _label.<br/><br/>Deprecated: Defines the visible caption of the component. | `string` \| `undefined`
|
|
128
|
-
| `_data` _(required)_ | `_data` | Defines the primary table data. | `KoliBriTableDataType[]` \| `string`
|
|
129
|
-
| `_dataFoot` | `_data-foot` | Defines the data for the table footer. | `KoliBriTableDataType[]` \| `string` \| `undefined`
|
|
130
|
-
| `_headers` _(required)_ | `_headers` | Defines the horizontal and vertical table headers. | `string` \| `{ horizontal?: KoliBriTableHeaderCell[][]` \| `undefined; vertical?: KoliBriTableHeaderCell[][]` \| `undefined; }`
|
|
131
|
-
| `_label` | `_label` | Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). | `string` \| `undefined`
|
|
132
|
-
| `_minWidth` | `_min-width` | Defines the table min-width. | `string` \| `undefined`
|
|
133
|
-
| `_pagination` | `_pagination` | Defines whether to show the data distributed over multiple pages. | `boolean` \| `string` \| `undefined` \| `{ _page: number; } & { _on?: KoliBriPaginationButtonCallbacks` \| `undefined; _page?: number` \| `undefined;
|
|
125
|
+
| Property | Attribute | Description | Type | Default |
|
|
126
|
+
| ----------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
|
|
127
|
+
| `_caption` | `_caption` | <span class="text-red-500">**[DEPRECATED]**</span> Use _label.<br/><br/>Deprecated: Defines the visible caption of the component. | `string` \| `undefined` | `undefined` |
|
|
128
|
+
| `_data` _(required)_ | `_data` | Defines the primary table data. | `KoliBriTableDataType[]` \| `string` | `undefined` |
|
|
129
|
+
| `_dataFoot` | `_data-foot` | Defines the data for the table footer. | `KoliBriTableDataType[]` \| `string` \| `undefined` | `undefined` |
|
|
130
|
+
| `_headers` _(required)_ | `_headers` | Defines the horizontal and vertical table headers. | `string` \| `{ horizontal?: KoliBriTableHeaderCell[][]` \| `undefined; vertical?: KoliBriTableHeaderCell[][]` \| `undefined; }` | `undefined` |
|
|
131
|
+
| `_label` | `_label` | Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). | `string` \| `undefined` | `undefined` |
|
|
132
|
+
| `_minWidth` | `_min-width` | Defines the table min-width. | `string` \| `undefined` | `undefined` |
|
|
133
|
+
| `_pagination` | `_pagination` | Defines whether to show the data distributed over multiple pages. | `boolean` \| `string` \| `undefined` \| `{ _page: number; } & { _on?: KoliBriPaginationButtonCallbacks` \| `undefined; _page?: number` \| `undefined; _boundaryCount?: number` \| `undefined; _hasButtons?: boolean` \| `Stringified<PaginationHasButton>` \| `undefined; _pageSize?: number` \| `undefined; _pageSizeOptions?: Stringified<number[]>` \| `undefined; _siblingCount?: number` \| `undefined; _total?: number` \| `undefined; _variant?: ButtonVariantPropType` \| `undefined; _customClass?: string` \| `undefined; _label?: string` \| `undefined; _max?: number` \| `undefined; _tooltipAlign?: AlignPropType` \| `undefined; }` | `undefined` |
|
|
134
134
|
|
|
135
135
|
|
|
136
136
|
## Dependencies
|
package/doc/textarea.md
CHANGED
|
@@ -56,13 +56,13 @@ Mit Hilfe des Attributs **`_rows`** kann die Höhe der Textarea in Zeilen bestim
|
|
|
56
56
|
| Property | Attribute | Description | Type | Default |
|
|
57
57
|
| --------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------- | ------------ |
|
|
58
58
|
| `_accessKey` | `_access-key` | Defines which key combination can be used to trigger or focus the interactive element of the component. | `string` \| `undefined` | `undefined` |
|
|
59
|
-
| `_adjustHeight` | `_adjust-height` | Adjusts the height of the element to its content. | `boolean` \| `undefined` | `
|
|
59
|
+
| `_adjustHeight` | `_adjust-height` | Adjusts the height of the element to its content. | `boolean` \| `undefined` | `false` |
|
|
60
60
|
| `_alert` | `_alert` | Defines whether the screen-readers should read out the notification. | `boolean` \| `undefined` | `true` |
|
|
61
|
-
| `_disabled` | `_disabled` | Makes the element not focusable and ignore all events. | `boolean` \| `undefined` | `
|
|
61
|
+
| `_disabled` | `_disabled` | Makes the element not focusable and ignore all events. | `boolean` \| `undefined` | `false` |
|
|
62
62
|
| `_error` | `_error` | Defines the error message text. | `string` \| `undefined` | `undefined` |
|
|
63
|
-
| `_hasCounter` | `_has-counter` | Shows the character count on the lower border of the input. | `boolean` \| `undefined` | `
|
|
63
|
+
| `_hasCounter` | `_has-counter` | Shows the character count on the lower border of the input. | `boolean` \| `undefined` | `false` |
|
|
64
64
|
| `_hideError` | `_hide-error` | Hides the error message but leaves it in the DOM for the input's aria-describedby. | `boolean` \| `undefined` | `false` |
|
|
65
|
-
| `_hideLabel` | `_hide-label` | Hides the caption by default and displays the caption text with a tooltip when the interactive element is focused or the mouse is over it. | `boolean` \| `undefined` | `
|
|
65
|
+
| `_hideLabel` | `_hide-label` | Hides the caption by default and displays the caption text with a tooltip when the interactive element is focused or the mouse is over it. | `boolean` \| `undefined` | `false` |
|
|
66
66
|
| `_hint` | `_hint` | Defines the hint text. | `string` \| `undefined` | `''` |
|
|
67
67
|
| `_id` | `_id` | Defines the internal ID of the primary component element. | `string` \| `undefined` | `undefined` |
|
|
68
68
|
| `_label` | `_label` | Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot. | `string` \| `undefined` | `undefined` |
|
|
@@ -70,8 +70,8 @@ Mit Hilfe des Attributs **`_rows`** kann die Höhe der Textarea in Zeilen bestim
|
|
|
70
70
|
| `_name` | `_name` | Defines the technical name of an input field. | `string` \| `undefined` | `undefined` |
|
|
71
71
|
| `_on` | -- | Gibt die EventCallback-Funktionen für das Input-Event an. | `InputTypeOnBlur & InputTypeOnClick & InputTypeOnChange & InputTypeOnFocus` \| `undefined` | `undefined` |
|
|
72
72
|
| `_placeholder` | `_placeholder` | Defines the placeholder for input field. To be shown when there's no value. | `string` \| `undefined` | `undefined` |
|
|
73
|
-
| `_readOnly` | `_read-only` | Makes the input element read only. | `boolean` \| `undefined` | `
|
|
74
|
-
| `_required` | `_required` | Makes the input element required. | `boolean` \| `undefined` | `
|
|
73
|
+
| `_readOnly` | `_read-only` | Makes the input element read only. | `boolean` \| `undefined` | `false` |
|
|
74
|
+
| `_required` | `_required` | Makes the input element required. | `boolean` \| `undefined` | `false` |
|
|
75
75
|
| `_resize` | `_resize` | Defines whether and in which direction the size of the input can be changed by the user. (https://developer.mozilla.org/de/docs/Web/CSS/resize) | `"both"` \| `"horizontal"` \| `"none"` \| `"vertical"` \| `undefined` | `'vertical'` |
|
|
76
76
|
| `_rows` | `_rows` | Defines how many rows of text should be visible at the same time. | `number` \| `undefined` | `undefined` |
|
|
77
77
|
| `_tabIndex` | `_tab-index` | Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) | `number` \| `undefined` | `undefined` |
|
package/package.json
CHANGED
package/vscode-custom-data.json
CHANGED
|
@@ -232,12 +232,16 @@
|
|
|
232
232
|
},
|
|
233
233
|
{
|
|
234
234
|
"name": "_icon",
|
|
235
|
-
"description": "
|
|
235
|
+
"description": ""
|
|
236
236
|
},
|
|
237
237
|
{
|
|
238
238
|
"name": "_icon-only",
|
|
239
239
|
"description": "Deprecated: Hides the label and shows the description in a Tooltip instead."
|
|
240
240
|
},
|
|
241
|
+
{
|
|
242
|
+
"name": "_icons",
|
|
243
|
+
"description": "Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`)."
|
|
244
|
+
},
|
|
241
245
|
{
|
|
242
246
|
"name": "_label",
|
|
243
247
|
"description": "Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.)."
|
|
@@ -331,7 +335,7 @@
|
|
|
331
335
|
},
|
|
332
336
|
{
|
|
333
337
|
"name": "_icon",
|
|
334
|
-
"description": "
|
|
338
|
+
"description": ""
|
|
335
339
|
},
|
|
336
340
|
{
|
|
337
341
|
"name": "_icon-align",
|
|
@@ -355,6 +359,10 @@
|
|
|
355
359
|
"name": "_icon-only",
|
|
356
360
|
"description": "Deprecated: Hides the label and shows the description in a Tooltip instead."
|
|
357
361
|
},
|
|
362
|
+
{
|
|
363
|
+
"name": "_icons",
|
|
364
|
+
"description": "Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`)."
|
|
365
|
+
},
|
|
358
366
|
{
|
|
359
367
|
"name": "_id",
|
|
360
368
|
"description": "Defines the internal ID of the primary component element."
|
|
@@ -526,12 +534,16 @@
|
|
|
526
534
|
},
|
|
527
535
|
{
|
|
528
536
|
"name": "_icon",
|
|
529
|
-
"description": "
|
|
537
|
+
"description": ""
|
|
530
538
|
},
|
|
531
539
|
{
|
|
532
540
|
"name": "_icon-only",
|
|
533
541
|
"description": "Deprecated: Hides the label and shows the description in a Tooltip instead."
|
|
534
542
|
},
|
|
543
|
+
{
|
|
544
|
+
"name": "_icons",
|
|
545
|
+
"description": "Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`)."
|
|
546
|
+
},
|
|
535
547
|
{
|
|
536
548
|
"name": "_id",
|
|
537
549
|
"description": "Defines the internal ID of the primary component element."
|
|
@@ -724,7 +736,11 @@
|
|
|
724
736
|
},
|
|
725
737
|
{
|
|
726
738
|
"name": "_icon",
|
|
727
|
-
"description": "
|
|
739
|
+
"description": ""
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"name": "_icons",
|
|
743
|
+
"description": "Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`)."
|
|
728
744
|
},
|
|
729
745
|
{
|
|
730
746
|
"name": "_label",
|
|
@@ -820,6 +836,9 @@
|
|
|
820
836
|
{
|
|
821
837
|
"name": "ghost"
|
|
822
838
|
},
|
|
839
|
+
{
|
|
840
|
+
"name": "icons"
|
|
841
|
+
},
|
|
823
842
|
{
|
|
824
843
|
"name": "download"
|
|
825
844
|
},
|
|
@@ -2866,9 +2885,6 @@
|
|
|
2866
2885
|
{
|
|
2867
2886
|
"name": "icicles"
|
|
2868
2887
|
},
|
|
2869
|
-
{
|
|
2870
|
-
"name": "icons"
|
|
2871
|
-
},
|
|
2872
2888
|
{
|
|
2873
2889
|
"name": "id-badge"
|
|
2874
2890
|
},
|
|
@@ -11547,7 +11563,11 @@
|
|
|
11547
11563
|
},
|
|
11548
11564
|
{
|
|
11549
11565
|
"name": "_icon",
|
|
11550
|
-
"description": "
|
|
11566
|
+
"description": ""
|
|
11567
|
+
},
|
|
11568
|
+
{
|
|
11569
|
+
"name": "_icons",
|
|
11570
|
+
"description": "Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`)."
|
|
11551
11571
|
},
|
|
11552
11572
|
{
|
|
11553
11573
|
"name": "_id",
|
|
@@ -11686,7 +11706,11 @@
|
|
|
11686
11706
|
},
|
|
11687
11707
|
{
|
|
11688
11708
|
"name": "_icon",
|
|
11689
|
-
"description": "
|
|
11709
|
+
"description": ""
|
|
11710
|
+
},
|
|
11711
|
+
{
|
|
11712
|
+
"name": "_icons",
|
|
11713
|
+
"description": "Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`)."
|
|
11690
11714
|
},
|
|
11691
11715
|
{
|
|
11692
11716
|
"name": "_id",
|
|
@@ -11793,7 +11817,11 @@
|
|
|
11793
11817
|
},
|
|
11794
11818
|
{
|
|
11795
11819
|
"name": "_icon",
|
|
11796
|
-
"description": "
|
|
11820
|
+
"description": ""
|
|
11821
|
+
},
|
|
11822
|
+
{
|
|
11823
|
+
"name": "_icons",
|
|
11824
|
+
"description": ""
|
|
11797
11825
|
},
|
|
11798
11826
|
{
|
|
11799
11827
|
"name": "_id",
|
|
@@ -11945,7 +11973,11 @@
|
|
|
11945
11973
|
},
|
|
11946
11974
|
{
|
|
11947
11975
|
"name": "_icon",
|
|
11948
|
-
"description": "
|
|
11976
|
+
"description": ""
|
|
11977
|
+
},
|
|
11978
|
+
{
|
|
11979
|
+
"name": "_icons",
|
|
11980
|
+
"description": ""
|
|
11949
11981
|
},
|
|
11950
11982
|
{
|
|
11951
11983
|
"name": "_id",
|
|
@@ -12072,7 +12104,11 @@
|
|
|
12072
12104
|
},
|
|
12073
12105
|
{
|
|
12074
12106
|
"name": "_icon",
|
|
12075
|
-
"description": "
|
|
12107
|
+
"description": ""
|
|
12108
|
+
},
|
|
12109
|
+
{
|
|
12110
|
+
"name": "_icons",
|
|
12111
|
+
"description": "Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`)."
|
|
12076
12112
|
},
|
|
12077
12113
|
{
|
|
12078
12114
|
"name": "_id",
|
|
@@ -12179,7 +12215,11 @@
|
|
|
12179
12215
|
},
|
|
12180
12216
|
{
|
|
12181
12217
|
"name": "_icon",
|
|
12182
|
-
"description": "
|
|
12218
|
+
"description": ""
|
|
12219
|
+
},
|
|
12220
|
+
{
|
|
12221
|
+
"name": "_icons",
|
|
12222
|
+
"description": "Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`)."
|
|
12183
12223
|
},
|
|
12184
12224
|
{
|
|
12185
12225
|
"name": "_id",
|
|
@@ -12338,7 +12378,11 @@
|
|
|
12338
12378
|
},
|
|
12339
12379
|
{
|
|
12340
12380
|
"name": "_icon",
|
|
12341
|
-
"description": "
|
|
12381
|
+
"description": ""
|
|
12382
|
+
},
|
|
12383
|
+
{
|
|
12384
|
+
"name": "_icons",
|
|
12385
|
+
"description": "Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`)."
|
|
12342
12386
|
},
|
|
12343
12387
|
{
|
|
12344
12388
|
"name": "_id",
|
|
@@ -12641,7 +12685,11 @@
|
|
|
12641
12685
|
},
|
|
12642
12686
|
{
|
|
12643
12687
|
"name": "_icon",
|
|
12644
|
-
"description": "
|
|
12688
|
+
"description": ""
|
|
12689
|
+
},
|
|
12690
|
+
{
|
|
12691
|
+
"name": "_icons",
|
|
12692
|
+
"description": "Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`)."
|
|
12645
12693
|
},
|
|
12646
12694
|
{
|
|
12647
12695
|
"name": "_id",
|
|
@@ -12760,7 +12808,11 @@
|
|
|
12760
12808
|
},
|
|
12761
12809
|
{
|
|
12762
12810
|
"name": "_icon",
|
|
12763
|
-
"description": "
|
|
12811
|
+
"description": ""
|
|
12812
|
+
},
|
|
12813
|
+
{
|
|
12814
|
+
"name": "_icons",
|
|
12815
|
+
"description": "Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`)."
|
|
12764
12816
|
},
|
|
12765
12817
|
{
|
|
12766
12818
|
"name": "_id",
|
|
@@ -12943,7 +12995,7 @@
|
|
|
12943
12995
|
},
|
|
12944
12996
|
{
|
|
12945
12997
|
"name": "_icon",
|
|
12946
|
-
"description": "
|
|
12998
|
+
"description": ""
|
|
12947
12999
|
},
|
|
12948
13000
|
{
|
|
12949
13001
|
"name": "_icon-align",
|
|
@@ -12967,6 +13019,10 @@
|
|
|
12967
13019
|
"name": "_icon-only",
|
|
12968
13020
|
"description": "Deprecated: Hides the label and shows the description in a Tooltip instead."
|
|
12969
13021
|
},
|
|
13022
|
+
{
|
|
13023
|
+
"name": "_icons",
|
|
13024
|
+
"description": "Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`)."
|
|
13025
|
+
},
|
|
12970
13026
|
{
|
|
12971
13027
|
"name": "_label",
|
|
12972
13028
|
"description": "Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot."
|
|
@@ -13128,7 +13184,7 @@
|
|
|
13128
13184
|
},
|
|
13129
13185
|
{
|
|
13130
13186
|
"name": "_icon",
|
|
13131
|
-
"description": "Defines the icon classnames (e.g. `
|
|
13187
|
+
"description": "Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`)."
|
|
13132
13188
|
},
|
|
13133
13189
|
{
|
|
13134
13190
|
"name": "_icon-only",
|
|
@@ -13466,6 +13522,10 @@
|
|
|
13466
13522
|
"name": "_label",
|
|
13467
13523
|
"description": "Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.)."
|
|
13468
13524
|
},
|
|
13525
|
+
{
|
|
13526
|
+
"name": "_max",
|
|
13527
|
+
"description": "Defines the maximum number of pages."
|
|
13528
|
+
},
|
|
13469
13529
|
{
|
|
13470
13530
|
"name": "_page",
|
|
13471
13531
|
"description": "Defines the current page."
|
|
@@ -13703,7 +13763,11 @@
|
|
|
13703
13763
|
},
|
|
13704
13764
|
{
|
|
13705
13765
|
"name": "_icon",
|
|
13706
|
-
"description": "
|
|
13766
|
+
"description": ""
|
|
13767
|
+
},
|
|
13768
|
+
{
|
|
13769
|
+
"name": "_icons",
|
|
13770
|
+
"description": "Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`)."
|
|
13707
13771
|
},
|
|
13708
13772
|
{
|
|
13709
13773
|
"name": "_id",
|
|
@@ -13807,12 +13871,16 @@
|
|
|
13807
13871
|
},
|
|
13808
13872
|
{
|
|
13809
13873
|
"name": "_icon",
|
|
13810
|
-
"description": "
|
|
13874
|
+
"description": ""
|
|
13811
13875
|
},
|
|
13812
13876
|
{
|
|
13813
13877
|
"name": "_icon-only",
|
|
13814
13878
|
"description": "Deprecated: Hides the label and shows the description in a Tooltip instead."
|
|
13815
13879
|
},
|
|
13880
|
+
{
|
|
13881
|
+
"name": "_icons",
|
|
13882
|
+
"description": "Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`)."
|
|
13883
|
+
},
|
|
13816
13884
|
{
|
|
13817
13885
|
"name": "_label",
|
|
13818
13886
|
"description": "Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot."
|
|
@@ -13888,7 +13956,11 @@
|
|
|
13888
13956
|
},
|
|
13889
13957
|
{
|
|
13890
13958
|
"name": "_icon",
|
|
13891
|
-
"description": "
|
|
13959
|
+
"description": ""
|
|
13960
|
+
},
|
|
13961
|
+
{
|
|
13962
|
+
"name": "_icons",
|
|
13963
|
+
"description": "Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`)."
|
|
13892
13964
|
},
|
|
13893
13965
|
{
|
|
13894
13966
|
"name": "_id",
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
"use strict";const prop_validators=require("./prop.validators-ac830edb.js"),validateAlternativeButtonLinkRole=(a,t)=>{prop_validators.watchString(a,"_role",t)},validateAriaControls=(a,t)=>{prop_validators.watchString(a,"_ariaControls",t)},validate=(a,t,r)=>{prop_validators.watchValidator(a,t,(a=>"date"===a||"location"===a||"page"===a||"step"===a||"time"===a||!0===a||!1===a),new Set(["String {data, location, page, step, time}","boolean"]),r)},validateAriaCurrent=(a,t)=>{validate(a,"_ariaCurrent",t)},validateListenAriaCurrent=(a,t)=>{validate(a,"_listenAriaCurrent",t)};exports.validateAlternativeButtonLinkRole=validateAlternativeButtonLinkRole,exports.validateAriaControls=validateAriaControls,exports.validateAriaCurrent=validateAriaCurrent,exports.validateListenAriaCurrent=validateListenAriaCurrent;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
"use strict";const icon=require("./icon-685623ce.js"),prop_validators=require("./prop.validators-ac830edb.js"),reuse=require("./reuse-786396d6.js"),controller=require("./controller-f66c143b.js"),beforePatchIcon=(o,e)=>{const t=o;"object"==typeof t&&null!==t&&(reuse.isString(t.right,1)&&(t.right={icon:t.right}),reuse.isString(t.left,1)&&(t.left={icon:t.left}),e.set("_icon",t))};class InputIconController extends controller.InputController{constructor(o,e,t){super(o,e,t),this.component=o}validateIcon(o){prop_validators.objectObjectHandler(o,(()=>{try{o=prop_validators.parseJson(o)}catch(o){}prop_validators.watchValidator(this.component,"_icon",(o=>"object"==typeof o&&null!==o&&(reuse.isString(o.left,1)||icon.isIcon(o.left)||reuse.isString(o.right,1)||icon.isIcon(o.right))),new Set(["KoliBriHorizontalIcon"]),o,{hooks:{beforePatch:beforePatchIcon},required:!0})}))}componentWillLoad(){super.componentWillLoad(),this.validateIcon(this.component._icon)}}exports.InputIconController=InputIconController;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"controller-icon-0ced64f4.js","mappings":";;;;;;;;;;AAUA,MAAM,eAAe,GAAG,CAAC,KAAc,EAAE,SAA+B;EACvE,MAAM,IAAI,GAAG,KAA8B,CAAC;EAC5C,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE;IAC9C,IAAIA,cAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE;MAC5B,IAAI,CAAC,KAAK,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,KAAe,EAAE,CAAC;KAC5C;IACD,IAAIA,cAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE;MAC3B,IAAI,CAAC,IAAI,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,IAAc,EAAE,CAAC;KAC1C;IACD,SAAS,CAAC,GAAG,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;GAC7B;AACF,CAAC,CAAC;MAEW,mBAAoB,SAAQC,0BAAe;EAGvD,YAAmB,SAA4C,EAAE,IAAY,EAAE,IAAkB;IAChG,KAAK,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAC7B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;GAC3B;EAEM,YAAY,CAAC,KAA0C;IAC7DC,mCAAmB,CAAC,KAAK,EAAE;MAC1B,IAAI;QACH,KAAK,GAAGC,yBAAS,CAAwB,KAAe,CAAC,CAAC;OAE1D;MAAC,OAAO,CAAC,EAAE;OAEX;MACDC,8BAAc,CACb,IAAI,CAAC,SAAS,EACd,OAAO,EACP,CAAC,KAAK;QACL,QACC,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,KAAKJ,cAAQ,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,IAAIK,WAAM,CAAC,KAAK,CAAC,IAAI,CAAC,IAAIL,cAAQ,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,IAAIK,WAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAChJ;OACF,EACD,IAAI,GAAG,CAAC,CAAC,uBAAuB,CAAC,CAAC,EAClC,KAAK,EACL;QACC,KAAK,EAAE;UACN,WAAW,EAAE,eAAe;SAC5B;QACD,QAAQ,EAAE,IAAI;OACd,CACD,CAAC;KACF,CAAC,CAAC;GACH;EAEM,iBAAiB;IACvB,KAAK,CAAC,iBAAiB,EAAE,CAAC;IAC1B,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;GACxC;;;;;","names":["isString","InputController","objectObjectHandler","parseJson","watchValidator","isIcon"],"sources":["src/components/@deprecated/input/controller-icon.ts"],"sourcesContent":["import { Generic } from '@a11y-ui/core';\n\nimport { Stringified } from '../../../types/common';\nimport { KoliBriHorizontalIcon } from '../../../types/icon';\nimport { isIcon } from '../../../types/props/icon';\nimport { objectObjectHandler, parseJson, watchValidator } from '../../../utils/prop.validators';\nimport { isString } from '../../../utils/validator';\nimport { InputController } from './controller';\nimport { Props, Watches } from './types-icon';\n\nconst beforePatchIcon = (value: unknown, nextState: Map<string, unknown>): void => {\n\tconst icon = value as KoliBriHorizontalIcon;\n\tif (typeof icon === 'object' && icon !== null) {\n\t\tif (isString(icon.right, 1)) {\n\t\t\ticon.right = { icon: icon.right as string };\n\t\t}\n\t\tif (isString(icon.left, 1)) {\n\t\t\ticon.left = { icon: icon.left as string };\n\t\t}\n\t\tnextState.set('_icon', icon);\n\t}\n};\n\nexport class InputIconController extends InputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props;\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateIcon(value?: Stringified<KoliBriHorizontalIcon>): void {\n\t\tobjectObjectHandler(value, () => {\n\t\t\ttry {\n\t\t\t\tvalue = parseJson<KoliBriHorizontalIcon>(value as string);\n\t\t\t\t// eslint-disable-next-line no-empty\n\t\t\t} catch (e) {\n\t\t\t\t// value behält den ursprünglichen Wert\n\t\t\t}\n\t\t\twatchValidator(\n\t\t\t\tthis.component,\n\t\t\t\t'_icon',\n\t\t\t\t(value): boolean => {\n\t\t\t\t\treturn (\n\t\t\t\t\t\ttypeof value === 'object' && value !== null && (isString(value.left, 1) || isIcon(value.left) || isString(value.right, 1) || isIcon(value.right))\n\t\t\t\t\t);\n\t\t\t\t},\n\t\t\t\tnew Set(['KoliBriHorizontalIcon']),\n\t\t\t\tvalue,\n\t\t\t\t{\n\t\t\t\t\thooks: {\n\t\t\t\t\t\tbeforePatch: beforePatchIcon,\n\t\t\t\t\t},\n\t\t\t\t\trequired: true,\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateIcon(this.component._icon);\n\t}\n}\n"],"version":3}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
"use strict";const prop_validators=require("./prop.validators-ac830edb.js"),reuse=require("./reuse-786396d6.js"),mapCustomIcon=(t,o,e)=>{reuse.isObject(e)?t[o]=e:reuse.isString(e,1)&&(t[o]={icon:e})},mapIconProp2State=(t,o)=>{let e={};if(reuse.isString(t,1))if("right"===o)e={right:{icon:t}};else e={left:{icon:t}};else"object"==typeof t&&null!==t&&(mapCustomIcon(e,"top",t.top),mapCustomIcon(e,"right",t.right),mapCustomIcon(e,"bottom",t.bottom),mapCustomIcon(e,"left",t.left));return e},beforePatchIcon=t=>{var o,e,i,n,s,r,c;if(null===(o=t.nextState)||void 0===o?void 0:o.has("_icon")){const o=null===(e=t.nextState)||void 0===e?void 0:e.get("_icon"),s=(null===(i=t.nextState)||void 0===i?void 0:i.get("_iconAlign"))||t.state._iconAlign;null===(n=t.nextState)||void 0===n||n.set("_icon",mapIconProp2State(o,s))}else if(null===(s=t.nextState)||void 0===s?void 0:s.has("_iconAlign")){const o=t.state._iconAlign;null===(r=t.nextState)||void 0===r||r.set("_icon",{[o]:void 0,[null===(c=t.nextState)||void 0===c?void 0:c.get("_iconAlign")]:t.state._icon[o]})}},isIcon=t=>"object"==typeof t&&null!==t&&(void 0===t.style||reuse.isStyle(t.style))&&reuse.isString(t.icon,1),validateIcon=(t,o)=>{prop_validators.objectObjectHandler(o,(()=>{try{o=prop_validators.parseJson(o)}catch(t){}prop_validators.watchValidator(t,"_icon",(t=>null===t||reuse.isString(t,1)||"object"==typeof t&&null!==t&&(reuse.isString(t.left,1)||isIcon(t.left)||reuse.isString(t.right,1)||isIcon(t.right)||reuse.isString(t.top,1)||isIcon(t.top)||reuse.isString(t.bottom,1)||isIcon(t.bottom))),new Set(["KoliBriIcon"]),o,{hooks:{beforePatch:(o,e)=>{null===o&&e.set("_icon",{}),beforePatchIcon(t)}},required:!0})}))},watchIconAlign=(t,o)=>{prop_validators.watchValidator(t,"_iconAlign",(t=>"left"===t||"right"===t),new Set(["Alignment {left, right, top, bottom}"]),o,{hooks:{beforePatch:()=>{beforePatchIcon(t)}}})};exports.isIcon=isIcon,exports.validateIcon=validateIcon,exports.watchIconAlign=watchIconAlign;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"icon-685623ce.js","mappings":"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","names":["isObject","isString","isStyle","objectObjectHandler","parseJson","watchValidator"],"sources":["src/types/props/icon.ts"],"sourcesContent":["import { Generic } from '@a11y-ui/core';\n\nimport { objectObjectHandler, parseJson, watchValidator } from '../../utils/prop.validators';\nimport { isObject, isString, isStyle } from '../../utils/validator';\nimport { States as ButtonStates } from '../../components/button/types';\nimport { Stringified } from '../common';\nimport { AnyIconFontClass, KoliBriCustomIcon, KoliBriIconProp, KoliBriIconState } from '../icon';\nimport { AlignPropType } from './align';\n\n/* types */\nexport type IconPropType = Stringified<KoliBriIconProp>;\n\n/**\n * Defines the icon classnames.\n */\nexport type PropIcon = {\n\ticon: IconPropType;\n};\n\n/* validator */\n\nconst mapCustomIcon = (state: KoliBriIconState, alignment: AlignPropType, icon?: AnyIconFontClass | KoliBriCustomIcon) => {\n\tif (isObject(icon)) {\n\t\tstate[alignment] = icon as KoliBriCustomIcon;\n\t} else if (isString(icon, 1)) {\n\t\tstate[alignment] = {\n\t\t\ticon: icon as AnyIconFontClass,\n\t\t};\n\t}\n};\n\nexport const mapIconProp2State = (icon: KoliBriIconProp, iconAlign?: AlignPropType): KoliBriIconState => {\n\tlet state: KoliBriIconState = {};\n\tif (isString(icon, 1)) {\n\t\tswitch (iconAlign) {\n\t\t\tcase 'right':\n\t\t\t\tstate = {\n\t\t\t\t\tright: {\n\t\t\t\t\t\ticon: icon as AnyIconFontClass,\n\t\t\t\t\t},\n\t\t\t\t};\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tstate = {\n\t\t\t\t\tleft: {\n\t\t\t\t\t\ticon: icon as AnyIconFontClass,\n\t\t\t\t\t},\n\t\t\t\t};\n\t\t}\n\t} else if (typeof icon === 'object' && icon !== null) {\n\t\tmapCustomIcon(state, 'top', icon.top);\n\t\tmapCustomIcon(state, 'right', icon.right);\n\t\tmapCustomIcon(state, 'bottom', icon.bottom);\n\t\tmapCustomIcon(state, 'left', icon.left);\n\t}\n\treturn state;\n};\n\nconst beforePatchIcon = (component: Generic.Element.Component): void => {\n\tif (component.nextState?.has('_icon')) {\n\t\tconst icon = component.nextState?.get('_icon') as KoliBriIconProp;\n\t\tconst iconAlign = (component.nextState?.get('_iconAlign') as AlignPropType) || (component.state as ButtonStates)._iconAlign;\n\t\tcomponent.nextState?.set('_icon', mapIconProp2State(icon, iconAlign));\n\t} else if (component.nextState?.has('_iconAlign')) {\n\t\tconst lastIconAlign = (component.state as ButtonStates)._iconAlign as AlignPropType;\n\t\tcomponent.nextState?.set('_icon', {\n\t\t\t[lastIconAlign]: undefined,\n\t\t\t[component.nextState?.get('_iconAlign') as AlignPropType]: (component.state as ButtonStates)._icon[lastIconAlign],\n\t\t});\n\t}\n};\n\nexport const isIcon = (value?: unknown): boolean =>\n\ttypeof value === 'object' &&\n\tvalue !== null &&\n\t(typeof (value as KoliBriCustomIcon).style === 'undefined' || isStyle((value as KoliBriCustomIcon).style)) &&\n\tisString((value as KoliBriCustomIcon).icon, 1);\n\nexport const validateIcon = (component: Generic.Element.Component, value?: IconPropType): void => {\n\tobjectObjectHandler(value, () => {\n\t\ttry {\n\t\t\tvalue = parseJson<KoliBriIconProp>(value as string);\n\t\t} catch (e) {\n\t\t\t// value behält den ursprünglichen Wert\n\t\t}\n\t\twatchValidator(\n\t\t\tcomponent,\n\t\t\t'_icon',\n\t\t\t(value): boolean => {\n\t\t\t\treturn (\n\t\t\t\t\tvalue === null ||\n\t\t\t\t\tisString(value, 1) ||\n\t\t\t\t\t(typeof value === 'object' &&\n\t\t\t\t\t\tvalue !== null &&\n\t\t\t\t\t\t(isString(value.left, 1) ||\n\t\t\t\t\t\t\tisIcon(value.left) ||\n\t\t\t\t\t\t\tisString(value.right, 1) ||\n\t\t\t\t\t\t\tisIcon(value.right) ||\n\t\t\t\t\t\t\tisString(value.top, 1) ||\n\t\t\t\t\t\t\tisIcon(value.top) ||\n\t\t\t\t\t\t\tisString(value.bottom, 1) ||\n\t\t\t\t\t\t\tisIcon(value.bottom)))\n\t\t\t\t);\n\t\t\t},\n\t\t\tnew Set(['KoliBriIcon']),\n\t\t\tvalue,\n\t\t\t{\n\t\t\t\thooks: {\n\t\t\t\t\tbeforePatch: (nextValue: unknown, nextState: Map<string, unknown>) => {\n\t\t\t\t\t\tif (nextValue === null) {\n\t\t\t\t\t\t\tnextState.set('_icon', {});\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbeforePatchIcon(component);\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\trequired: true,\n\t\t\t}\n\t\t);\n\t});\n};\n\nexport const watchIconAlign = (component: Generic.Element.Component, value?: AlignPropType): void => {\n\twatchValidator(component, '_iconAlign', (value) => value === 'left' || value === 'right', new Set(['Alignment {left, right, top, bottom}']), value, {\n\t\thooks: {\n\t\t\tbeforePatch: () => {\n\t\t\t\tbeforePatchIcon(component);\n\t\t\t},\n\t\t},\n\t});\n};\n"],"version":3}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
"use strict";const a11y_tipps=require("./a11y.tipps-0134082a.js"),prop_validators=require("./prop.validators-ac830edb.js"),watchNavLinks=(t,a,s)=>{prop_validators.watchJsonArrayString(a,"_links",(t=>"object"==typeof t&&("string"==typeof t._href||"string"==typeof t._label)),s),a11y_tipps.uiUxHintMillerscheZahl(t,a.state._links.length)};exports.watchNavLinks=watchNavLinks;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{i as isIcon}from"./icon-91abf20b.js";import{o as objectObjectHandler,p as parseJson,w as watchValidator}from"./prop.validators-25add96a.js";import{i as isString}from"./reuse-b3566e4c.js";import{I as InputController}from"./controller-9313a601.js";const beforePatchIcon=(o,t)=>{const n=o;"object"==typeof n&&null!==n&&(isString(n.right,1)&&(n.right={icon:n.right}),isString(n.left,1)&&(n.left={icon:n.left}),t.set("_icon",n))};class InputIconController extends InputController{constructor(o,t,n){super(o,t,n),this.component=o}validateIcon(o){objectObjectHandler(o,(()=>{try{o=parseJson(o)}catch(o){}watchValidator(this.component,"_icon",(o=>"object"==typeof o&&null!==o&&(isString(o.left,1)||isIcon(o.left)||isString(o.right,1)||isIcon(o.right))),new Set(["KoliBriHorizontalIcon"]),o,{hooks:{beforePatch:beforePatchIcon},required:!0})}))}componentWillLoad(){super.componentWillLoad(),this.validateIcon(this.component._icon)}}export{InputIconController as I};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"controller-icon-516c3ff2.js","mappings":";;;;;;;;AAUA,MAAM,eAAe,GAAG,CAAC,KAAc,EAAE,SAA+B;EACvE,MAAM,IAAI,GAAG,KAA8B,CAAC;EAC5C,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI,EAAE;IAC9C,IAAI,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE;MAC5B,IAAI,CAAC,KAAK,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,KAAe,EAAE,CAAC;KAC5C;IACD,IAAI,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE;MAC3B,IAAI,CAAC,IAAI,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,IAAc,EAAE,CAAC;KAC1C;IACD,SAAS,CAAC,GAAG,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;GAC7B;AACF,CAAC,CAAC;MAEW,mBAAoB,SAAQ,eAAe;EAGvD,YAAmB,SAA4C,EAAE,IAAY,EAAE,IAAkB;IAChG,KAAK,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAC7B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;GAC3B;EAEM,YAAY,CAAC,KAA0C;IAC7D,mBAAmB,CAAC,KAAK,EAAE;MAC1B,IAAI;QACH,KAAK,GAAG,SAAS,CAAwB,KAAe,CAAC,CAAC;OAE1D;MAAC,OAAO,CAAC,EAAE;OAEX;MACD,cAAc,CACb,IAAI,CAAC,SAAS,EACd,OAAO,EACP,CAAC,KAAK;QACL,QACC,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,KAAK,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,IAAI,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAChJ;OACF,EACD,IAAI,GAAG,CAAC,CAAC,uBAAuB,CAAC,CAAC,EAClC,KAAK,EACL;QACC,KAAK,EAAE;UACN,WAAW,EAAE,eAAe;SAC5B;QACD,QAAQ,EAAE,IAAI;OACd,CACD,CAAC;KACF,CAAC,CAAC;GACH;EAEM,iBAAiB;IACvB,KAAK,CAAC,iBAAiB,EAAE,CAAC;IAC1B,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;GACxC;;;;;","names":[],"sources":["src/components/@deprecated/input/controller-icon.ts"],"sourcesContent":["import { Generic } from '@a11y-ui/core';\n\nimport { Stringified } from '../../../types/common';\nimport { KoliBriHorizontalIcon } from '../../../types/icon';\nimport { isIcon } from '../../../types/props/icon';\nimport { objectObjectHandler, parseJson, watchValidator } from '../../../utils/prop.validators';\nimport { isString } from '../../../utils/validator';\nimport { InputController } from './controller';\nimport { Props, Watches } from './types-icon';\n\nconst beforePatchIcon = (value: unknown, nextState: Map<string, unknown>): void => {\n\tconst icon = value as KoliBriHorizontalIcon;\n\tif (typeof icon === 'object' && icon !== null) {\n\t\tif (isString(icon.right, 1)) {\n\t\t\ticon.right = { icon: icon.right as string };\n\t\t}\n\t\tif (isString(icon.left, 1)) {\n\t\t\ticon.left = { icon: icon.left as string };\n\t\t}\n\t\tnextState.set('_icon', icon);\n\t}\n};\n\nexport class InputIconController extends InputController implements Watches {\n\tprotected readonly component: Generic.Element.Component & Props;\n\n\tpublic constructor(component: Generic.Element.Component & Props, name: string, host?: HTMLElement) {\n\t\tsuper(component, name, host);\n\t\tthis.component = component;\n\t}\n\n\tpublic validateIcon(value?: Stringified<KoliBriHorizontalIcon>): void {\n\t\tobjectObjectHandler(value, () => {\n\t\t\ttry {\n\t\t\t\tvalue = parseJson<KoliBriHorizontalIcon>(value as string);\n\t\t\t\t// eslint-disable-next-line no-empty\n\t\t\t} catch (e) {\n\t\t\t\t// value behält den ursprünglichen Wert\n\t\t\t}\n\t\t\twatchValidator(\n\t\t\t\tthis.component,\n\t\t\t\t'_icon',\n\t\t\t\t(value): boolean => {\n\t\t\t\t\treturn (\n\t\t\t\t\t\ttypeof value === 'object' && value !== null && (isString(value.left, 1) || isIcon(value.left) || isString(value.right, 1) || isIcon(value.right))\n\t\t\t\t\t);\n\t\t\t\t},\n\t\t\t\tnew Set(['KoliBriHorizontalIcon']),\n\t\t\t\tvalue,\n\t\t\t\t{\n\t\t\t\t\thooks: {\n\t\t\t\t\t\tbeforePatch: beforePatchIcon,\n\t\t\t\t\t},\n\t\t\t\t\trequired: true,\n\t\t\t\t}\n\t\t\t);\n\t\t});\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tsuper.componentWillLoad();\n\t\tthis.validateIcon(this.component._icon);\n\t}\n}\n"],"version":3}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{o as objectObjectHandler,p as parseJson,w as watchValidator}from"./prop.validators-25add96a.js";import{i as isString,b as isStyle,c as isObject}from"./reuse-b3566e4c.js";const mapCustomIcon=(t,o,i)=>{isObject(i)?t[o]=i:isString(i,1)&&(t[o]={icon:i})},mapIconProp2State=(t,o)=>{let i={};if(isString(t,1))if("right"===o)i={right:{icon:t}};else i={left:{icon:t}};else"object"==typeof t&&null!==t&&(mapCustomIcon(i,"top",t.top),mapCustomIcon(i,"right",t.right),mapCustomIcon(i,"bottom",t.bottom),mapCustomIcon(i,"left",t.left));return i},beforePatchIcon=t=>{var o,i,n,e,c,a,s;if(null===(o=t.nextState)||void 0===o?void 0:o.has("_icon")){const o=null===(i=t.nextState)||void 0===i?void 0:i.get("_icon"),c=(null===(n=t.nextState)||void 0===n?void 0:n.get("_iconAlign"))||t.state._iconAlign;null===(e=t.nextState)||void 0===e||e.set("_icon",mapIconProp2State(o,c))}else if(null===(c=t.nextState)||void 0===c?void 0:c.has("_iconAlign")){const o=t.state._iconAlign;null===(a=t.nextState)||void 0===a||a.set("_icon",{[o]:void 0,[null===(s=t.nextState)||void 0===s?void 0:s.get("_iconAlign")]:t.state._icon[o]})}},isIcon=t=>"object"==typeof t&&null!==t&&(void 0===t.style||isStyle(t.style))&&isString(t.icon,1),validateIcon=(t,o)=>{objectObjectHandler(o,(()=>{try{o=parseJson(o)}catch(t){}watchValidator(t,"_icon",(t=>null===t||isString(t,1)||"object"==typeof t&&null!==t&&(isString(t.left,1)||isIcon(t.left)||isString(t.right,1)||isIcon(t.right)||isString(t.top,1)||isIcon(t.top)||isString(t.bottom,1)||isIcon(t.bottom))),new Set(["KoliBriIcon"]),o,{hooks:{beforePatch:(o,i)=>{null===o&&i.set("_icon",{}),beforePatchIcon(t)}},required:!0})}))},watchIconAlign=(t,o)=>{watchValidator(t,"_iconAlign",(t=>"left"===t||"right"===t),new Set(["Alignment {left, right, top, bottom}"]),o,{hooks:{beforePatch:()=>{beforePatchIcon(t)}}})};export{isIcon as i,validateIcon as v,watchIconAlign as w};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"icon-91abf20b.js","mappings":"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","names":[],"sources":["src/types/props/icon.ts"],"sourcesContent":["import { Generic } from '@a11y-ui/core';\n\nimport { objectObjectHandler, parseJson, watchValidator } from '../../utils/prop.validators';\nimport { isObject, isString, isStyle } from '../../utils/validator';\nimport { States as ButtonStates } from '../../components/button/types';\nimport { Stringified } from '../common';\nimport { AnyIconFontClass, KoliBriCustomIcon, KoliBriIconProp, KoliBriIconState } from '../icon';\nimport { AlignPropType } from './align';\n\n/* types */\nexport type IconPropType = Stringified<KoliBriIconProp>;\n\n/**\n * Defines the icon classnames.\n */\nexport type PropIcon = {\n\ticon: IconPropType;\n};\n\n/* validator */\n\nconst mapCustomIcon = (state: KoliBriIconState, alignment: AlignPropType, icon?: AnyIconFontClass | KoliBriCustomIcon) => {\n\tif (isObject(icon)) {\n\t\tstate[alignment] = icon as KoliBriCustomIcon;\n\t} else if (isString(icon, 1)) {\n\t\tstate[alignment] = {\n\t\t\ticon: icon as AnyIconFontClass,\n\t\t};\n\t}\n};\n\nexport const mapIconProp2State = (icon: KoliBriIconProp, iconAlign?: AlignPropType): KoliBriIconState => {\n\tlet state: KoliBriIconState = {};\n\tif (isString(icon, 1)) {\n\t\tswitch (iconAlign) {\n\t\t\tcase 'right':\n\t\t\t\tstate = {\n\t\t\t\t\tright: {\n\t\t\t\t\t\ticon: icon as AnyIconFontClass,\n\t\t\t\t\t},\n\t\t\t\t};\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tstate = {\n\t\t\t\t\tleft: {\n\t\t\t\t\t\ticon: icon as AnyIconFontClass,\n\t\t\t\t\t},\n\t\t\t\t};\n\t\t}\n\t} else if (typeof icon === 'object' && icon !== null) {\n\t\tmapCustomIcon(state, 'top', icon.top);\n\t\tmapCustomIcon(state, 'right', icon.right);\n\t\tmapCustomIcon(state, 'bottom', icon.bottom);\n\t\tmapCustomIcon(state, 'left', icon.left);\n\t}\n\treturn state;\n};\n\nconst beforePatchIcon = (component: Generic.Element.Component): void => {\n\tif (component.nextState?.has('_icon')) {\n\t\tconst icon = component.nextState?.get('_icon') as KoliBriIconProp;\n\t\tconst iconAlign = (component.nextState?.get('_iconAlign') as AlignPropType) || (component.state as ButtonStates)._iconAlign;\n\t\tcomponent.nextState?.set('_icon', mapIconProp2State(icon, iconAlign));\n\t} else if (component.nextState?.has('_iconAlign')) {\n\t\tconst lastIconAlign = (component.state as ButtonStates)._iconAlign as AlignPropType;\n\t\tcomponent.nextState?.set('_icon', {\n\t\t\t[lastIconAlign]: undefined,\n\t\t\t[component.nextState?.get('_iconAlign') as AlignPropType]: (component.state as ButtonStates)._icon[lastIconAlign],\n\t\t});\n\t}\n};\n\nexport const isIcon = (value?: unknown): boolean =>\n\ttypeof value === 'object' &&\n\tvalue !== null &&\n\t(typeof (value as KoliBriCustomIcon).style === 'undefined' || isStyle((value as KoliBriCustomIcon).style)) &&\n\tisString((value as KoliBriCustomIcon).icon, 1);\n\nexport const validateIcon = (component: Generic.Element.Component, value?: IconPropType): void => {\n\tobjectObjectHandler(value, () => {\n\t\ttry {\n\t\t\tvalue = parseJson<KoliBriIconProp>(value as string);\n\t\t} catch (e) {\n\t\t\t// value behält den ursprünglichen Wert\n\t\t}\n\t\twatchValidator(\n\t\t\tcomponent,\n\t\t\t'_icon',\n\t\t\t(value): boolean => {\n\t\t\t\treturn (\n\t\t\t\t\tvalue === null ||\n\t\t\t\t\tisString(value, 1) ||\n\t\t\t\t\t(typeof value === 'object' &&\n\t\t\t\t\t\tvalue !== null &&\n\t\t\t\t\t\t(isString(value.left, 1) ||\n\t\t\t\t\t\t\tisIcon(value.left) ||\n\t\t\t\t\t\t\tisString(value.right, 1) ||\n\t\t\t\t\t\t\tisIcon(value.right) ||\n\t\t\t\t\t\t\tisString(value.top, 1) ||\n\t\t\t\t\t\t\tisIcon(value.top) ||\n\t\t\t\t\t\t\tisString(value.bottom, 1) ||\n\t\t\t\t\t\t\tisIcon(value.bottom)))\n\t\t\t\t);\n\t\t\t},\n\t\t\tnew Set(['KoliBriIcon']),\n\t\t\tvalue,\n\t\t\t{\n\t\t\t\thooks: {\n\t\t\t\t\tbeforePatch: (nextValue: unknown, nextState: Map<string, unknown>) => {\n\t\t\t\t\t\tif (nextValue === null) {\n\t\t\t\t\t\t\tnextState.set('_icon', {});\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbeforePatchIcon(component);\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\trequired: true,\n\t\t\t}\n\t\t);\n\t});\n};\n\nexport const watchIconAlign = (component: Generic.Element.Component, value?: AlignPropType): void => {\n\twatchValidator(component, '_iconAlign', (value) => value === 'left' || value === 'right', new Set(['Alignment {left, right, top, bottom}']), value, {\n\t\thooks: {\n\t\t\tbeforePatch: () => {\n\t\t\t\tbeforePatchIcon(component);\n\t\t\t},\n\t\t},\n\t});\n};\n"],"version":3}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{w as watchValidator}from"./prop.validators-25add96a.js";const watchHeadingLevel=(a,e)=>{watchValidator(a,"_level",(a=>"number"==typeof a&&0<=a&&a<=6),new Set(["Number {0, 1, 2, 3, 4, 5, 6}"]),e,{defaultValue:1,required:!0})};export{watchHeadingLevel as w};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{c as uiUxHintMillerscheZahl}from"./a11y.tipps-86d2943f.js";import{c as watchJsonArrayString}from"./prop.validators-25add96a.js";const watchNavLinks=(t,a,s)=>{watchJsonArrayString(a,"_links",(t=>"object"==typeof t&&("string"==typeof t._href||"string"==typeof t._label)),s),uiUxHintMillerscheZahl(t,a.state._links.length)};export{watchNavLinks as w};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{w as t}from"./prop.validators-25add96a.js";const o=new Set(['"left", "right"']),e=new Set(['"bottom", "top"']),a=new Set([...o,...e]),s=(o,e,p)=>{t(o,e,(t=>"bottom"===t||"left"===t||"right"===t||"top"===t),a,p,{defaultValue:"top"})};export{s as v};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{a as o}from"./index-536799d5.js";import{r as s}from"./index-23225963.js";import{L as t}from"./dev.utils-387eb46c.js";import{p as e}from"./reuse-b3566e4c.js";import{s as i,g as r}from"./index-3822b0c5.js";const f=async()=>{o((o=>(o.shadowRoot instanceof ShadowRoot&&i(o,r(o)),"default"))),await s([],[]),import("./devtools-4ffc0378.js").then((o=>{"object"==typeof o&&null!==o&&"function"==typeof o.initialize&&o.initialize()})).catch((o=>{t.error(o)})),e&&import("./index-e51de689.js")},a=f;export{a as g};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{d as a,w as t}from"./prop.validators-25add96a.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,n as b,o as c,s as v};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{a as t,w as s,e as i,d as e}from"./prop.validators-25add96a.js";import{v as a}from"./controller-9313a601.js";import{a as h}from"./a11y.tipps-86d2943f.js";import{I as o}from"./controller-icon-516c3ff2.js";const r=(e,o)=>{t(e,"_hasCounter",o)};class n extends o{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){r(this.component,t)}validateHideError(t){a(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideError&&h("Property hide-error for inputs: Only use when the error message is shown outside of the input component.")}}})}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.validateHideError(this.component._hideError),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{n as I,r as v};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{I as t,v as e}from"./controller-9313a601.js";import{c as s,a as i,w as o,m as r,s as a}from"./prop.validators-25add96a.js";import{h as n,c as h}from"./label-4bb4b8b0.js";import{a as l}from"./a11y.tipps-86d2943f.js";import{S as f}from"./reuse-b3566e4c.js";const u=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===n(t.label,3)&&!1===h(t.label)&&l(`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===u(t)));if("number"==typeof t.label)return!0}return!1},c=(t,e,o={})=>{s(t,"_options",(t=>"object"==typeof t&&null!==t&&"string"==typeof t.label&&t.label.length>0),e,void 0,o)},p=(t,e,o={})=>{s(t,"_options",u,e,void 0,o)},d=(t,e)=>{i(t,"_required",e)},b=(t,e,o="")=>{e.forEach(((e,i)=>{const s=`${o}-${i}`;"object"==typeof e&&null!==e&&"string"==typeof e.label&&e.label.length>0&&(Array.isArray(e.options)?b(t,e.options,s):t.set(s,e))}))};class m extends t{constructor(t,e,o){super(t,e,o),this.component=t}validateHideError(t){e(this.component,t,{hooks:{afterPatch:()=>{this.component.state._hideError&&l("Property hide-error for inputs: Only use when the error message is shown outside of the input component.")}}})}validateRequired(t){d(this.component,t)}componentWillLoad(){super.componentWillLoad(),this.validateRequired(this.component._required)}}class v extends m{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.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(),b(this.keyOptionMap,o);const t=e.has("_value")?e.get("_value"):this.component.state._value;if(!1===this.isValueInOptions(t,o)){const t=o[0].value;e.set("_value",t),this.onStateChange()}}},this.component=t}validateOrientation(t){o(this.component,"_orientation",(t=>"horizontal"===t||"vertical"===t),new Set(["Orientation {horizontal, vertical}"]),t,{defaultValue:"vertical"})}validateOptions(t){c(this.component,t,{hooks:{beforePatch:this.beforePatchOptions}})}validateValue(t){t=r(t),t=Array.isArray(t)?t[0]:t,a(this.component,"_value",t,{beforePatch:this.beforePatchOptions}),this.setFormAssociatedValue(this.component._value)}componentWillLoad(t){super.componentWillLoad(),this.onStateChange=()=>{if("function"==typeof t){const e=setTimeout((()=>{clearTimeout(e),t(f)}))}},this.validateOrientation(this.component._orientation),this.validateOptions(this.component._options||this.component._list),this.validateHideError(this.component._hideError),this.validateValue(this.component._value)}}export{m as I,v as a,b as f,p as v};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{i as o}from"./icon-91abf20b.js";import{o as t,p as s,w as i}from"./prop.validators-25add96a.js";import{i as r}from"./reuse-b3566e4c.js";import{I as e}from"./controller-9313a601.js";const a=(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("_icon",e))};class c extends e{constructor(o,t,e){super(o,t,e),this.component=o}validateIcon(e){t(e,(()=>{try{e=s(e)}catch(o){}i(this.component,"_icon",(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:a},required:!0})}))}componentWillLoad(){super.componentWillLoad(),this.validateIcon(this.component._icon)}}export{c as I};
|