@public-ui/components 2.1.9-rc.0 → 2.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +94 -17
- package/dist/cjs/Alert-0f40ceeb.js +4 -0
- package/dist/cjs/Alert-0f40ceeb.js.map +1 -0
- package/dist/cjs/Collapsible-ce4add04.js +4 -0
- package/dist/cjs/Collapsible-ce4add04.js.map +1 -0
- package/dist/cjs/FormFieldMsg-0ce3c1d5.js +4 -0
- package/dist/cjs/FormFieldMsg-0ce3c1d5.js.map +1 -0
- package/dist/cjs/{InternalUnderlinedAccessKey-7cf3c136.js → InternalUnderlinedAccessKey-b21fb498.js} +1 -1
- package/dist/cjs/{InternalUnderlinedAccessKey-7cf3c136.js.map → InternalUnderlinedAccessKey-b21fb498.js.map} +1 -1
- package/dist/cjs/{app-globals-8ded3cf0.js → app-globals-b9071796.js} +1 -1
- package/dist/cjs/{app-globals-8ded3cf0.js.map → app-globals-b9071796.js.map} +1 -1
- package/dist/cjs/associated.controller-89004d23.js +4 -0
- package/dist/cjs/associated.controller-89004d23.js.map +1 -0
- package/dist/cjs/component-names-66478d2a.js +4 -0
- package/dist/cjs/component-names-66478d2a.js.map +1 -0
- package/dist/cjs/{controller-f053c10d.js → controller-0f1b3d6e.js} +1 -1
- package/dist/cjs/{controller-f053c10d.js.map → controller-0f1b3d6e.js.map} +1 -1
- package/dist/cjs/{controller-b94161ed.js → controller-288702e5.js} +1 -1
- package/dist/cjs/{controller-b94161ed.js.map → controller-288702e5.js.map} +1 -1
- package/dist/cjs/{controller-43f44829.js → controller-2eba8698.js} +1 -1
- package/dist/cjs/{controller-43f44829.js.map → controller-2eba8698.js.map} +1 -1
- package/dist/cjs/{controller-2acd3570.js → controller-dea5bb4b.js} +1 -1
- package/dist/cjs/{controller-2acd3570.js.map → controller-dea5bb4b.js.map} +1 -1
- package/dist/cjs/controller-f8fc9d0f.js +4 -0
- package/dist/cjs/controller-f8fc9d0f.js.map +1 -0
- package/dist/cjs/controller-icon-a466bfff.js +4 -0
- package/dist/cjs/controller-icon-a466bfff.js.map +1 -0
- package/dist/cjs/{dev.utils-74a81f34.js → dev.utils-1d30adde.js} +1 -1
- package/dist/cjs/{dev.utils-74a81f34.js.map → dev.utils-1d30adde.js.map} +1 -1
- package/dist/cjs/{devtools-a547a791.js → devtools-3c19f95f.js} +1 -1
- package/dist/cjs/{devtools-a547a791.js.map → devtools-3c19f95f.js.map} +1 -1
- package/dist/cjs/{events-d31764bd.js → events-b2e94683.js} +1 -1
- package/dist/cjs/events-b2e94683.js.map +1 -0
- package/dist/cjs/index-5c47f7e1.js +4 -0
- package/dist/cjs/index-5c47f7e1.js.map +1 -0
- 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 +1 -1
- package/dist/cjs/kol-alert-wc.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-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.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 +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-combobox.cjs.entry.js +1 -1
- package/dist/cjs/kol-combobox.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-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kol-drawer.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 +1 -1
- 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.cjs.entry.js +1 -1
- package/dist/cjs/kol-image.cjs.entry.js +1 -1
- package/dist/cjs/kol-indented-text-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-indented-text.cjs.entry.js +1 -1
- package/dist/cjs/kol-indented-text.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.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.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-logo.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-modal.cjs.entry.js +1 -1
- package/dist/cjs/kol-modal.cjs.entry.js.map +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-popover-wc.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-progress.cjs.entry.js +1 -1
- package/dist/cjs/kol-progress.cjs.entry.js.map +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-single-select.cjs.entry.js +1 -1
- package/dist/cjs/kol-single-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 +1 -1
- package/dist/cjs/kol-spin.cjs.entry.js +1 -1
- package/dist/cjs/kol-spin.cjs.entry.js.map +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-stateful.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-stateful.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-stateless-wc.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-stateless.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-table.cjs.entry.js +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-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/kol-toolbar.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-tooltip-wc.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
- package/dist/cjs/kol-tree-item.cjs.entry.js.map +1 -1
- package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-tree.cjs.entry.js +1 -1
- package/dist/cjs/kol-tree.cjs.entry.js.map +1 -1
- 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/loader.cjs.js +1 -1
- package/dist/cjs/test-component.cjs.entry.js +4 -0
- package/dist/cjs/test-component.cjs.entry.js.map +1 -0
- package/dist/cjs/tslib.es6-16e4524f.js +4 -0
- package/dist/cjs/tslib.es6-16e4524f.js.map +1 -0
- package/dist/components/Alert.js +4 -0
- package/dist/components/Alert.js.map +1 -0
- package/dist/components/Collapsible.js +4 -0
- package/dist/components/Collapsible.js.map +1 -0
- package/dist/components/FormFieldMsg.js +4 -0
- package/dist/components/FormFieldMsg.js.map +1 -0
- package/dist/components/aria-expanded.js +1 -1
- package/dist/components/associated.controller.js +1 -1
- package/dist/components/associated.controller.js.map +1 -1
- package/dist/components/component-names.js +1 -1
- package/dist/components/component-names.js.map +1 -1
- package/dist/components/controller-icon.js +1 -1
- package/dist/components/controller-icon.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/controller5.js +1 -1
- package/dist/components/disabled.js +1 -1
- package/dist/components/events2.js +1 -1
- package/dist/components/events2.js.map +1 -1
- package/dist/components/has-closer.js +1 -1
- package/dist/components/has-counter.js +1 -1
- package/dist/components/hide-label.js +1 -1
- 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.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.js +1 -1
- package/dist/components/kol-button-group.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.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-combobox.js +1 -1
- package/dist/components/kol-combobox.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-drawer.js +1 -1
- package/dist/components/kol-drawer.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.js +1 -1
- package/dist/components/kol-heading.js.map +1 -1
- package/dist/components/kol-icon.js +1 -1
- package/dist/components/kol-image.js +1 -1
- package/dist/components/kol-indented-text-wc.js +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-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.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.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-progress.js.map +1 -1
- package/dist/components/kol-quote.js +1 -1
- package/dist/components/kol-quote.js.map +1 -1
- package/dist/components/kol-select.js +1 -1
- package/dist/components/kol-select.js.map +1 -1
- package/dist/components/kol-single-select.js +1 -1
- package/dist/components/kol-single-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-spin.js +1 -1
- package/dist/components/kol-spin.js.map +1 -1
- package/dist/components/kol-split-button.js +1 -1
- package/dist/components/kol-split-button.js.map +1 -1
- package/dist/components/kol-symbol.js +1 -1
- package/dist/components/kol-table-stateful.js +1 -1
- package/dist/components/kol-table-stateful.js.map +1 -1
- package/dist/components/kol-table-stateless-wc.js +1 -1
- package/dist/components/kol-table-stateless-wc.js.map +1 -1
- package/dist/components/kol-table-stateless.js +1 -1
- package/dist/components/kol-table-stateless.js.map +1 -1
- package/dist/components/kol-table.js +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-toolbar.js +1 -1
- package/dist/components/kol-toolbar.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-tree-item-wc.js +1 -1
- package/dist/components/kol-tree-item.js +1 -1
- package/dist/components/kol-tree-item.js.map +1 -1
- package/dist/components/kol-tree-wc.js +1 -1
- package/dist/components/kol-tree.js +1 -1
- package/dist/components/kol-tree.js.map +1 -1
- package/dist/components/kol-version.js +1 -1
- package/dist/components/kol-version.js.map +1 -1
- package/dist/components/open.js +1 -1
- package/dist/components/prop.validators.js +1 -1
- package/dist/components/show.js +1 -1
- package/dist/components/test-component.d.ts +11 -0
- package/dist/components/test-component.js +4 -0
- package/dist/components/test-component.js.map +1 -0
- package/dist/components/tslib.es6.js +4 -0
- package/dist/components/tslib.es6.js.map +1 -0
- package/dist/esm/Alert-41eb6a8e.js +4 -0
- package/dist/esm/Alert-41eb6a8e.js.map +1 -0
- package/dist/esm/Collapsible-18075b3b.js +4 -0
- package/dist/esm/Collapsible-18075b3b.js.map +1 -0
- package/dist/esm/FormFieldMsg-68946810.js +4 -0
- package/dist/esm/FormFieldMsg-68946810.js.map +1 -0
- package/dist/esm/{InternalUnderlinedAccessKey-47cbf33a.js → InternalUnderlinedAccessKey-9adbd164.js} +1 -1
- package/dist/esm/{InternalUnderlinedAccessKey-47cbf33a.js.map → InternalUnderlinedAccessKey-9adbd164.js.map} +1 -1
- package/dist/esm/{app-globals-65b048d2.js → app-globals-c157d4ed.js} +1 -1
- package/dist/esm/{app-globals-65b048d2.js.map → app-globals-c157d4ed.js.map} +1 -1
- package/dist/esm/associated.controller-1e499c7d.js +4 -0
- package/dist/esm/associated.controller-1e499c7d.js.map +1 -0
- package/dist/esm/component-names-969b1c2c.js +4 -0
- package/dist/esm/component-names-969b1c2c.js.map +1 -0
- package/dist/esm/{controller-b58153a2.js → controller-256a2635.js} +1 -1
- package/dist/esm/{controller-b58153a2.js.map → controller-256a2635.js.map} +1 -1
- package/dist/esm/controller-304b74a0.js +4 -0
- package/dist/esm/controller-304b74a0.js.map +1 -0
- package/dist/esm/{controller-f4077180.js → controller-4e96bf51.js} +1 -1
- package/dist/esm/{controller-f4077180.js.map → controller-4e96bf51.js.map} +1 -1
- package/dist/esm/{controller-e14790bc.js → controller-a0037ef5.js} +1 -1
- package/dist/esm/{controller-e14790bc.js.map → controller-a0037ef5.js.map} +1 -1
- package/dist/esm/{controller-724a3665.js → controller-f552d61c.js} +1 -1
- package/dist/esm/{controller-724a3665.js.map → controller-f552d61c.js.map} +1 -1
- package/dist/esm/controller-icon-563a0296.js +4 -0
- package/dist/esm/controller-icon-563a0296.js.map +1 -0
- package/dist/esm/{dev.utils-e45b01b6.js → dev.utils-5cfb4ba4.js} +1 -1
- package/dist/esm/{dev.utils-e45b01b6.js.map → dev.utils-5cfb4ba4.js.map} +1 -1
- package/dist/esm/{devtools-c156ff25.js → devtools-811869ab.js} +1 -1
- package/dist/esm/{devtools-c156ff25.js.map → devtools-811869ab.js.map} +1 -1
- package/dist/esm/events-017b59eb.js +4 -0
- package/dist/esm/events-017b59eb.js.map +1 -0
- package/dist/esm/index-58c50745.js +4 -0
- package/dist/esm/index-58c50745.js.map +1 -0
- 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 +1 -1
- package/dist/esm/kol-alert-wc.entry.js.map +1 -1
- package/dist/esm/kol-alert.entry.js +1 -1
- package/dist/esm/kol-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.entry.js +1 -1
- package/dist/esm/kol-button-link.entry.js.map +1 -1
- package/dist/esm/kol-button-wc.entry.js +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-combobox.entry.js +1 -1
- package/dist/esm/kol-combobox.entry.js.map +1 -1
- package/dist/esm/kol-details.entry.js +1 -1
- package/dist/esm/kol-details.entry.js.map +1 -1
- package/dist/esm/kol-drawer.entry.js +1 -1
- package/dist/esm/kol-drawer.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 +1 -1
- package/dist/esm/kol-heading.entry.js +1 -1
- package/dist/esm/kol-heading.entry.js.map +1 -1
- package/dist/esm/kol-icon.entry.js +1 -1
- package/dist/esm/kol-image.entry.js +1 -1
- package/dist/esm/kol-indented-text-wc.entry.js +1 -1
- package/dist/esm/kol-indented-text.entry.js +1 -1
- package/dist/esm/kol-indented-text.entry.js.map +1 -1
- package/dist/esm/kol-input-checkbox.entry.js +1 -1
- package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
- package/dist/esm/kol-input-color.entry.js +1 -1
- package/dist/esm/kol-input-color.entry.js.map +1 -1
- package/dist/esm/kol-input-date.entry.js +1 -1
- package/dist/esm/kol-input-date.entry.js.map +1 -1
- package/dist/esm/kol-input-email.entry.js +1 -1
- package/dist/esm/kol-input-email.entry.js.map +1 -1
- package/dist/esm/kol-input-file.entry.js +1 -1
- package/dist/esm/kol-input-file.entry.js.map +1 -1
- package/dist/esm/kol-input-number.entry.js +1 -1
- package/dist/esm/kol-input-number.entry.js.map +1 -1
- package/dist/esm/kol-input-password.entry.js +1 -1
- package/dist/esm/kol-input-password.entry.js.map +1 -1
- package/dist/esm/kol-input-radio.entry.js +1 -1
- package/dist/esm/kol-input-radio.entry.js.map +1 -1
- package/dist/esm/kol-input-range.entry.js +1 -1
- package/dist/esm/kol-input-range.entry.js.map +1 -1
- package/dist/esm/kol-input-text.entry.js +1 -1
- package/dist/esm/kol-input-text.entry.js.map +1 -1
- package/dist/esm/kol-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.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-logo.entry.js.map +1 -1
- package/dist/esm/kol-modal.entry.js +1 -1
- package/dist/esm/kol-modal.entry.js.map +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-popover-wc.entry.js.map +1 -1
- package/dist/esm/kol-progress.entry.js +1 -1
- package/dist/esm/kol-progress.entry.js.map +1 -1
- package/dist/esm/kol-quote.entry.js +1 -1
- package/dist/esm/kol-quote.entry.js.map +1 -1
- package/dist/esm/kol-select.entry.js +1 -1
- package/dist/esm/kol-select.entry.js.map +1 -1
- package/dist/esm/kol-single-select.entry.js +1 -1
- package/dist/esm/kol-single-select.entry.js.map +1 -1
- package/dist/esm/kol-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 +1 -1
- package/dist/esm/kol-spin.entry.js +1 -1
- package/dist/esm/kol-spin.entry.js.map +1 -1
- package/dist/esm/kol-split-button.entry.js +1 -1
- package/dist/esm/kol-split-button.entry.js.map +1 -1
- package/dist/esm/kol-symbol.entry.js +1 -1
- package/dist/esm/kol-table-stateful.entry.js +1 -1
- package/dist/esm/kol-table-stateful.entry.js.map +1 -1
- package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
- package/dist/esm/kol-table-stateless-wc.entry.js.map +1 -1
- package/dist/esm/kol-table-stateless.entry.js +1 -1
- package/dist/esm/kol-table-stateless.entry.js.map +1 -1
- package/dist/esm/kol-table.entry.js +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-toolbar.entry.js +1 -1
- package/dist/esm/kol-toolbar.entry.js.map +1 -1
- package/dist/esm/kol-tooltip-wc.entry.js +1 -1
- package/dist/esm/kol-tooltip-wc.entry.js.map +1 -1
- package/dist/esm/kol-tree-item-wc.entry.js +1 -1
- package/dist/esm/kol-tree-item.entry.js +1 -1
- package/dist/esm/kol-tree-item.entry.js.map +1 -1
- package/dist/esm/kol-tree-wc.entry.js +1 -1
- package/dist/esm/kol-tree.entry.js +1 -1
- package/dist/esm/kol-tree.entry.js.map +1 -1
- 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/loader.js +1 -1
- package/dist/esm/test-component.entry.js +4 -0
- package/dist/esm/test-component.entry.js.map +1 -0
- package/dist/esm/tslib.es6-2e5096f8.js +4 -0
- package/dist/esm/tslib.es6-2e5096f8.js.map +1 -0
- package/dist/kolibri/Alert-41eb6a8e.js +4 -0
- package/dist/kolibri/Alert-41eb6a8e.js.map +1 -0
- package/dist/kolibri/Collapsible-18075b3b.js +4 -0
- package/dist/kolibri/Collapsible-18075b3b.js.map +1 -0
- package/dist/kolibri/FormFieldMsg-68946810.js +4 -0
- package/dist/kolibri/FormFieldMsg-68946810.js.map +1 -0
- package/dist/kolibri/{InternalUnderlinedAccessKey-47cbf33a.js → InternalUnderlinedAccessKey-9adbd164.js} +1 -1
- package/dist/kolibri/app-globals-c157d4ed.js +4 -0
- package/dist/kolibri/assets/logo.kolibri.text.invert.svg +1 -1
- package/dist/kolibri/assets/logo.kolibri.text.svg +1 -1
- package/dist/kolibri/associated.controller-1e499c7d.js +4 -0
- package/dist/kolibri/{associated.controller-4715556c.js.map → associated.controller-1e499c7d.js.map} +1 -1
- package/dist/kolibri/{component-names-7f2c991e.js → component-names-969b1c2c.js} +1 -1
- package/dist/kolibri/component-names-969b1c2c.js.map +1 -0
- package/dist/kolibri/{controller-b58153a2.js → controller-256a2635.js} +1 -1
- package/dist/kolibri/controller-304b74a0.js +4 -0
- package/dist/kolibri/controller-304b74a0.js.map +1 -0
- package/dist/kolibri/{controller-f4077180.js → controller-4e96bf51.js} +1 -1
- package/dist/kolibri/{controller-e14790bc.js → controller-a0037ef5.js} +1 -1
- package/dist/kolibri/{controller-724a3665.js → controller-f552d61c.js} +1 -1
- package/dist/kolibri/controller-icon-563a0296.js +4 -0
- package/dist/kolibri/controller-icon-563a0296.js.map +1 -0
- package/dist/kolibri/{dev.utils-e45b01b6.js → dev.utils-5cfb4ba4.js} +1 -1
- package/dist/kolibri/devtools-811869ab.js +4 -0
- package/dist/kolibri/{devtools-c156ff25.js.map → devtools-811869ab.js.map} +1 -1
- package/dist/kolibri/{events-44f13b27.js → events-017b59eb.js} +1 -1
- package/dist/kolibri/{events-44f13b27.js.map → events-017b59eb.js.map} +1 -1
- package/dist/kolibri/{index-d62ddd65.js → index-58c50745.js} +2 -2
- package/dist/kolibri/index-58c50745.js.map +1 -0
- 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 +1 -1
- package/dist/kolibri/kol-alert-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-alert.entry.js +1 -1
- package/dist/kolibri/kol-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.entry.js +1 -1
- package/dist/kolibri/kol-button-link.entry.js.map +1 -1
- package/dist/kolibri/kol-button-wc.entry.js +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-combobox.entry.js +1 -1
- package/dist/kolibri/kol-combobox.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-drawer.entry.js +1 -1
- package/dist/kolibri/kol-drawer.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 +1 -1
- package/dist/kolibri/kol-heading.entry.js +1 -1
- package/dist/kolibri/kol-heading.entry.js.map +1 -1
- package/dist/kolibri/kol-icon.entry.js +1 -1
- package/dist/kolibri/kol-image.entry.js +1 -1
- package/dist/kolibri/kol-indented-text-wc.entry.js +1 -1
- package/dist/kolibri/kol-indented-text.entry.js +1 -1
- package/dist/kolibri/kol-indented-text.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.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.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-logo.entry.js.map +1 -1
- package/dist/kolibri/kol-modal.entry.js +1 -1
- package/dist/kolibri/kol-modal.entry.js.map +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-popover-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-progress.entry.js +1 -1
- package/dist/kolibri/kol-progress.entry.js.map +1 -1
- package/dist/kolibri/kol-quote.entry.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-single-select.entry.js +1 -1
- package/dist/kolibri/kol-single-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 +1 -1
- package/dist/kolibri/kol-spin.entry.js +1 -1
- package/dist/kolibri/kol-spin.entry.js.map +1 -1
- package/dist/kolibri/kol-split-button.entry.js +1 -1
- package/dist/kolibri/kol-split-button.entry.js.map +1 -1
- package/dist/kolibri/kol-symbol.entry.js +1 -1
- package/dist/kolibri/kol-table-stateful.entry.js +1 -1
- package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
- package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
- package/dist/kolibri/kol-table-stateless-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-table-stateless.entry.js +1 -1
- package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
- package/dist/kolibri/kol-table.entry.js +1 -1
- package/dist/kolibri/kol-tabs.entry.js +1 -1
- package/dist/kolibri/kol-tabs.entry.js.map +1 -1
- package/dist/kolibri/kol-textarea.entry.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-toolbar.entry.js +1 -1
- package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
- package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
- package/dist/kolibri/kol-tooltip-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
- package/dist/kolibri/kol-tree-item.entry.js +1 -1
- package/dist/kolibri/kol-tree-item.entry.js.map +1 -1
- package/dist/kolibri/kol-tree-wc.entry.js +1 -1
- package/dist/kolibri/kol-tree.entry.js +1 -1
- package/dist/kolibri/kol-tree.entry.js.map +1 -1
- 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/test-component.entry.js +4 -0
- package/dist/kolibri/test-component.entry.js.map +1 -0
- package/dist/kolibri/tslib.es6-2e5096f8.js +4 -0
- package/dist/kolibri/tslib.es6-2e5096f8.js.map +1 -0
- package/dist/types/components/@deprecated/input/controller-icon.d.ts +0 -1
- package/dist/types/components/@deprecated/input/controller.d.ts +2 -2
- package/dist/types/components/@deprecated/input/types-icon.d.ts +0 -1
- package/dist/types/components/accordion/shadow.d.ts +4 -4
- package/dist/types/components/alert/component.d.ts +1 -1
- package/dist/types/components/combobox/controller.d.ts +3 -4
- package/dist/types/components/combobox/shadow.d.ts +4 -2
- package/dist/types/components/details/shadow.d.ts +11 -13
- package/dist/types/components/form/shadow.d.ts +2 -0
- package/dist/types/components/input-checkbox/shadow.d.ts +4 -2
- package/dist/types/components/input-color/shadow.d.ts +4 -2
- package/dist/types/components/input-date/controller.d.ts +1 -0
- package/dist/types/components/input-date/shadow.d.ts +10 -3
- package/dist/types/components/input-email/shadow.d.ts +4 -2
- package/dist/types/components/input-file/shadow.d.ts +4 -2
- package/dist/types/components/input-number/shadow.d.ts +4 -2
- package/dist/types/components/input-password/shadow.d.ts +4 -2
- package/dist/types/components/input-radio/shadow.d.ts +5 -3
- package/dist/types/components/input-range/shadow.d.ts +4 -2
- package/dist/types/components/input-text/shadow.d.ts +4 -2
- package/dist/types/components/select/shadow.d.ts +4 -2
- package/dist/types/components/single-select/controller.d.ts +1 -2
- package/dist/types/components/single-select/shadow.d.ts +4 -2
- package/dist/types/components/textarea/shadow.d.ts +4 -2
- package/dist/types/components.d.ts +84 -37
- package/dist/types/core/component-names.d.ts +1 -1
- package/dist/types/functional-components/Alert/Alert.d.ts +9 -0
- package/dist/types/functional-components/Alert/index.d.ts +1 -0
- package/dist/types/functional-components/Alert/test/snapshot.test.d.ts +1 -0
- package/dist/types/functional-components/AlertIcon/AlertIcon.d.ts +7 -0
- package/dist/types/functional-components/AlertIcon/index.d.ts +1 -0
- package/dist/types/functional-components/Collapsible/Collapsible.d.ts +29 -0
- package/dist/types/functional-components/Collapsible/index.d.ts +1 -0
- package/dist/types/{components/@shared/form-field-msg.d.ts → functional-components/FormFieldMsg/FormFieldMsg.d.ts} +2 -2
- package/dist/types/functional-components/FormFieldMsg/index.d.ts +1 -0
- package/dist/types/functional-components/index.d.ts +1 -0
- package/dist/types/schema/components/accordion.d.ts +5 -12
- package/dist/types/schema/components/alert.d.ts +1 -0
- package/dist/types/schema/components/collapsible.d.ts +7 -0
- package/dist/types/schema/components/combobox.d.ts +4 -3
- package/dist/types/schema/components/details.d.ts +4 -9
- package/dist/types/schema/components/input-checkbox.d.ts +3 -2
- package/dist/types/schema/components/input-color.d.ts +3 -2
- package/dist/types/schema/components/input-date.d.ts +4 -3
- package/dist/types/schema/components/input-email.d.ts +3 -2
- package/dist/types/schema/components/input-file.d.ts +3 -2
- package/dist/types/schema/components/input-number.d.ts +4 -3
- package/dist/types/schema/components/input-password.d.ts +3 -2
- package/dist/types/schema/components/input-radio.d.ts +4 -3
- package/dist/types/schema/components/input-range.d.ts +3 -2
- package/dist/types/schema/components/input-text.d.ts +3 -2
- package/dist/types/schema/components/select.d.ts +3 -2
- package/dist/types/schema/components/single-select.d.ts +4 -3
- package/dist/types/schema/components/textarea.d.ts +4 -3
- package/dist/types/schema/components/toaster.d.ts +2 -0
- package/dist/types/schema/enums/events.d.ts +1 -0
- package/dist/types/schema/props/accordion-callbacks.d.ts +10 -0
- package/dist/types/schema/props/details-callbacks.d.ts +10 -0
- package/dist/types/schema/props/index.d.ts +1 -1
- package/dist/types/schema/props/msg.d.ts +2 -1
- package/dist/types/utils/testing/functional-component-rendering.d.ts +3 -0
- package/dist/types/utils/testing/index.d.ts +1 -0
- package/dist/types/utils/testing/snapshot-testing.d.ts +1 -0
- package/dist/types/utils/testing/test.component.d.ts +2 -0
- package/doc/accordion.md +7 -7
- package/doc/alert.md +7 -0
- package/doc/combobox.md +21 -21
- package/doc/details.md +7 -6
- package/doc/drawer.md +34 -44
- package/doc/input-checkbox.md +24 -24
- package/doc/input-color.md +22 -22
- package/doc/input-date.md +30 -30
- package/doc/input-email.md +30 -30
- package/doc/input-file.md +23 -23
- package/doc/input-number.md +28 -28
- package/doc/input-password.md +28 -28
- package/doc/input-radio.md +21 -21
- package/doc/input-range.md +24 -24
- package/doc/input-text.md +29 -29
- package/doc/select.md +23 -23
- package/doc/single-select.md +21 -21
- package/doc/table-stateful.md +9 -3
- package/doc/table.md +2 -0
- package/doc/textarea.md +27 -27
- package/doc/toaster.md +4 -4
- package/package.json +1 -1
- package/vscode-custom-data.json +299 -1
- package/dist/cjs/associated.controller-e7651bb3.js +0 -4
- package/dist/cjs/associated.controller-e7651bb3.js.map +0 -1
- package/dist/cjs/component-names-6dbd7fe4.js +0 -4
- package/dist/cjs/component-names-6dbd7fe4.js.map +0 -1
- package/dist/cjs/controller-2a716a90.js +0 -4
- package/dist/cjs/controller-2a716a90.js.map +0 -1
- package/dist/cjs/controller-icon-38bb0eaa.js +0 -4
- package/dist/cjs/controller-icon-38bb0eaa.js.map +0 -1
- package/dist/cjs/events-d31764bd.js.map +0 -1
- package/dist/cjs/form-field-msg-8fbeff69.js +0 -4
- package/dist/cjs/form-field-msg-8fbeff69.js.map +0 -1
- package/dist/cjs/index-d523b878.js +0 -4
- package/dist/cjs/index-d523b878.js.map +0 -1
- package/dist/components/form-field-msg.js +0 -4
- package/dist/components/form-field-msg.js.map +0 -1
- package/dist/esm/associated.controller-4715556c.js +0 -4
- package/dist/esm/associated.controller-4715556c.js.map +0 -1
- package/dist/esm/component-names-7f2c991e.js +0 -4
- package/dist/esm/component-names-7f2c991e.js.map +0 -1
- package/dist/esm/controller-f99ec155.js +0 -4
- package/dist/esm/controller-f99ec155.js.map +0 -1
- package/dist/esm/controller-icon-1320c05c.js +0 -4
- package/dist/esm/controller-icon-1320c05c.js.map +0 -1
- package/dist/esm/events-44f13b27.js +0 -4
- package/dist/esm/events-44f13b27.js.map +0 -1
- package/dist/esm/form-field-msg-56a34400.js +0 -4
- package/dist/esm/form-field-msg-56a34400.js.map +0 -1
- package/dist/esm/index-d62ddd65.js +0 -4
- package/dist/esm/index-d62ddd65.js.map +0 -1
- package/dist/kolibri/app-globals-65b048d2.js +0 -4
- package/dist/kolibri/associated.controller-4715556c.js +0 -4
- package/dist/kolibri/component-names-7f2c991e.js.map +0 -1
- package/dist/kolibri/controller-f99ec155.js +0 -4
- package/dist/kolibri/controller-f99ec155.js.map +0 -1
- package/dist/kolibri/controller-icon-1320c05c.js +0 -4
- package/dist/kolibri/controller-icon-1320c05c.js.map +0 -1
- package/dist/kolibri/devtools-c156ff25.js +0 -4
- package/dist/kolibri/form-field-msg-56a34400.js +0 -4
- package/dist/kolibri/form-field-msg-56a34400.js.map +0 -1
- package/dist/kolibri/index-d62ddd65.js.map +0 -1
- package/dist/types/components/avatar/test/html.mock.d.ts +0 -2
- package/dist/types/components/details/DetailsAnimationController.d.ts +0 -15
- /package/dist/kolibri/{InternalUnderlinedAccessKey-47cbf33a.js.map → InternalUnderlinedAccessKey-9adbd164.js.map} +0 -0
- /package/dist/kolibri/{app-globals-65b048d2.js.map → app-globals-c157d4ed.js.map} +0 -0
- /package/dist/kolibri/{controller-b58153a2.js.map → controller-256a2635.js.map} +0 -0
- /package/dist/kolibri/{controller-f4077180.js.map → controller-4e96bf51.js.map} +0 -0
- /package/dist/kolibri/{controller-e14790bc.js.map → controller-a0037ef5.js.map} +0 -0
- /package/dist/kolibri/{controller-724a3665.js.map → controller-f552d61c.js.map} +0 -0
- /package/dist/kolibri/{dev.utils-e45b01b6.js.map → dev.utils-5cfb4ba4.js.map} +0 -0
package/doc/textarea.md
CHANGED
@@ -77,33 +77,33 @@ Mit Hilfe des Attributs **`_rows`** kann die Höhe der Textarea in Zeilen bestim
|
|
77
77
|
|
78
78
|
## Properties
|
79
79
|
|
80
|
-
| Property | Attribute | Description | Type
|
81
|
-
| --------------------- | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
82
|
-
| `_accessKey` | `_access-key` | Defines which key combination can be used to trigger or focus the interactive element of the component. | `string` \| `undefined`
|
83
|
-
| `_adjustHeight` | `_adjust-height` | Adjusts the height of the element to its content. | `boolean` \| `undefined`
|
84
|
-
| `_alert` | `_alert` | Defines whether the screen-readers should read out the notification.
|
85
|
-
| `_disabled` | `_disabled` | Makes the element not focusable and ignore all events. | `boolean` \| `undefined`
|
86
|
-
| `_error` | `_error` | <span
|
87
|
-
| `_hasCounter` | `_has-counter` | Shows the character count on the lower border of the input. | `boolean` \| `undefined`
|
88
|
-
| `_hideError` | `_hide-error` | Hides the error message but leaves it in the DOM for the input's aria-describedby. | `boolean` \| `undefined`
|
89
|
-
| `_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`
|
90
|
-
| `_hint` | `_hint` | Defines the hint text. | `string` \| `undefined`
|
91
|
-
| `_icons` | -- | Defines the icon classnames (e.g. `_icons="fa-solid fa-user"`). | `undefined` \| `{ right?: IconOrIconClass` \| `undefined; left?: IconOrIconClass` \| `undefined; }`
|
92
|
-
| `_id` | `_id` | Defines the internal ID of the primary component element. | `string` \| `undefined`
|
93
|
-
| `_label` _(required)_ | `_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`
|
94
|
-
| `_maxLength` | `_max-length` | Defines the maximum number of input characters. | `number` \| `undefined`
|
95
|
-
| `_msg` |
|
96
|
-
| `_name` | `_name` | Defines the technical name of an input field. | `string` \| `undefined`
|
97
|
-
| `_on` | -- | Gibt die EventCallback-Funktionen für das Input-Event an. | `InputTypeOnBlur & InputTypeOnClick & InputTypeOnChange & InputTypeOnFocus & InputTypeOnInput` \| `undefined`
|
98
|
-
| `_placeholder` | `_placeholder` | Defines the placeholder for input field. To be shown when there's no value. | `string` \| `undefined`
|
99
|
-
| `_readOnly` | `_read-only` | Makes the input element read only. | `boolean` \| `undefined`
|
100
|
-
| `_required` | `_required` | Makes the input element required. | `boolean` \| `undefined`
|
101
|
-
| `_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) In version 3 (v3), horizontal resizing is abolished. The corresponding property is then reduced to the properties `vertical` (default) and `none`. | `"both"` \| `"horizontal"` \| `"none"` \| `"vertical"` \| `undefined`
|
102
|
-
| `_rows` | `_rows` | Defines how many rows of text should be visible at the same time. | `number` \| `undefined`
|
103
|
-
| `_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`
|
104
|
-
| `_tooltipAlign` | `_tooltip-align` | Defines where to show the Tooltip preferably: top, right, bottom or left. | `"bottom"` \| `"left"` \| `"right"` \| `"top"` \| `undefined`
|
105
|
-
| `_touched` | `_touched` | Shows if the input was touched by a user. | `boolean` \| `undefined`
|
106
|
-
| `_value` | `_value` | Defines the value of the input. | `string` \| `undefined`
|
80
|
+
| Property | Attribute | Description | Type | Default |
|
81
|
+
| --------------------- | ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
|
82
|
+
| `_accessKey` | `_access-key` | Defines which key combination can be used to trigger or focus the interactive element of the component. | `string` \| `undefined` | `undefined` |
|
83
|
+
| `_adjustHeight` | `_adjust-height` | Adjusts the height of the element to its content. | `boolean` \| `undefined` | `false` |
|
84
|
+
| `_alert` | `_alert` | <span class="text-red-500">**[DEPRECATED]**</span> Will be removed in v3. Use automatic behaviour instead.<br/><br/>Defines whether the screen-readers should read out the notification. | `boolean` \| `undefined` | `undefined` |
|
85
|
+
| `_disabled` | `_disabled` | Makes the element not focusable and ignore all events. | `boolean` \| `undefined` | `false` |
|
86
|
+
| `_error` | `_error` | <span style="color:red">**[DEPRECATED]**</span> Will be removed in v3. Use `msg` instead.<br/><br/>Defines the error message text. | `string` \| `undefined` | `undefined` |
|
87
|
+
| `_hasCounter` | `_has-counter` | Shows the character count on the lower border of the input. | `boolean` \| `undefined` | `false` |
|
88
|
+
| `_hideError` | `_hide-error` | Hides the error message but leaves it in the DOM for the input's aria-describedby. | `boolean` \| `undefined` | `false` |
|
89
|
+
| `_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` |
|
90
|
+
| `_hint` | `_hint` | Defines the hint text. | `string` \| `undefined` | `''` |
|
91
|
+
| `_icons` | -- | Defines the icon classnames (e.g. `_icons="fa-solid fa-user"`). | `undefined` \| `{ right?: IconOrIconClass` \| `undefined; left?: IconOrIconClass` \| `undefined; }` | `undefined` |
|
92
|
+
| `_id` | `_id` | Defines the internal ID of the primary component element. | `string` \| `undefined` | `undefined` |
|
93
|
+
| `_label` _(required)_ | `_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` |
|
94
|
+
| `_maxLength` | `_max-length` | Defines the maximum number of input characters. | `number` \| `undefined` | `undefined` |
|
95
|
+
| `_msg` | `_msg` | Defines the properties for a message rendered as Alert component. | `string` \| `undefined` \| `{} & { _level?: 0` \| `2` \| `1` \| `4` \| `3` \| `5` \| `6` \| `undefined; _on?: KoliBriAlertEventCallbacks` \| `undefined; _type?: "default"` \| `"info"` \| `"success"` \| `"warning"` \| `"error"` \| `undefined; _variant?: "card"` \| `"msg"` \| `undefined; _label?: string` \| `undefined; _alert?: boolean` \| `undefined; _hasCloser?: boolean` \| `undefined; } & { _description: string; }` | `undefined` |
|
96
|
+
| `_name` | `_name` | Defines the technical name of an input field. | `string` \| `undefined` | `undefined` |
|
97
|
+
| `_on` | -- | Gibt die EventCallback-Funktionen für das Input-Event an. | `InputTypeOnBlur & InputTypeOnClick & InputTypeOnChange & InputTypeOnFocus & InputTypeOnInput` \| `undefined` | `undefined` |
|
98
|
+
| `_placeholder` | `_placeholder` | Defines the placeholder for input field. To be shown when there's no value. | `string` \| `undefined` | `undefined` |
|
99
|
+
| `_readOnly` | `_read-only` | Makes the input element read only. | `boolean` \| `undefined` | `false` |
|
100
|
+
| `_required` | `_required` | Makes the input element required. | `boolean` \| `undefined` | `false` |
|
101
|
+
| `_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) In version 3 (v3), horizontal resizing is abolished. The corresponding property is then reduced to the properties `vertical` (default) and `none`. | `"both"` \| `"horizontal"` \| `"none"` \| `"vertical"` \| `undefined` | `'vertical'` |
|
102
|
+
| `_rows` | `_rows` | Defines how many rows of text should be visible at the same time. | `number` \| `undefined` | `undefined` |
|
103
|
+
| `_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` |
|
104
|
+
| `_tooltipAlign` | `_tooltip-align` | Defines where to show the Tooltip preferably: top, right, bottom or left. | `"bottom"` \| `"left"` \| `"right"` \| `"top"` \| `undefined` | `'top'` |
|
105
|
+
| `_touched` | `_touched` | Shows if the input was touched by a user. | `boolean` \| `undefined` | `false` |
|
106
|
+
| `_value` | `_value` | Defines the value of the input. | `string` \| `undefined` | `undefined` |
|
107
107
|
|
108
108
|
|
109
109
|
## Methods
|
package/doc/toaster.md
CHANGED
@@ -24,7 +24,7 @@ toaster.enqueue({
|
|
24
24
|
label: 'This is the title',
|
25
25
|
description: 'Magna eu sit adipisicing cillum amet esse in aute quis in dolore.',
|
26
26
|
type: 'info',
|
27
|
-
|
27
|
+
variant: 'msg', // Standard: 'card'
|
28
28
|
});
|
29
29
|
```
|
30
30
|
|
@@ -97,9 +97,9 @@ Type: `Promise<void>`
|
|
97
97
|
|
98
98
|
#### Parameters
|
99
99
|
|
100
|
-
| Name | Type
|
101
|
-
| ------- |
|
102
|
-
| `toast` | `{ description?: string` \| `undefined; render?: ToastRenderFunction` \| `undefined; label: string; type: "default"` \| `"info"` \| `"success"` \| `"warning"` \| `"error"; alertVariant?: "card"` \| `"msg"` \| `undefined; }` | |
|
100
|
+
| Name | Type | Description |
|
101
|
+
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
|
102
|
+
| `toast` | `{ description?: string` \| `undefined; render?: ToastRenderFunction` \| `undefined; label: string; type: "default"` \| `"info"` \| `"success"` \| `"warning"` \| `"error"; alertVariant?: "card"` \| `"msg"` \| `undefined; variant?: "card"` \| `"msg"` \| `undefined; }` | |
|
103
103
|
|
104
104
|
#### Returns
|
105
105
|
|
package/package.json
CHANGED
package/vscode-custom-data.json
CHANGED
@@ -536,6 +536,27 @@
|
|
536
536
|
"name": "_label",
|
537
537
|
"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."
|
538
538
|
},
|
539
|
+
{
|
540
|
+
"name": "_msg",
|
541
|
+
"description": "Defines the properties for a message rendered as Alert component.",
|
542
|
+
"values": [
|
543
|
+
{
|
544
|
+
"name": "info"
|
545
|
+
},
|
546
|
+
{
|
547
|
+
"name": "success"
|
548
|
+
},
|
549
|
+
{
|
550
|
+
"name": "warning"
|
551
|
+
},
|
552
|
+
{
|
553
|
+
"name": "error"
|
554
|
+
},
|
555
|
+
{
|
556
|
+
"name": "msg"
|
557
|
+
}
|
558
|
+
]
|
559
|
+
},
|
539
560
|
{
|
540
561
|
"name": "_name",
|
541
562
|
"description": "Defines the technical name of an input field."
|
@@ -599,6 +620,10 @@
|
|
599
620
|
"name": "_label",
|
600
621
|
"description": "Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.)."
|
601
622
|
},
|
623
|
+
{
|
624
|
+
"name": "_level",
|
625
|
+
"description": "Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text."
|
626
|
+
},
|
602
627
|
{
|
603
628
|
"name": "_open",
|
604
629
|
"description": "If set (to true) opens/expands the element, closes if not set (or set to false)."
|
@@ -609,7 +634,7 @@
|
|
609
634
|
"name": "kol-drawer",
|
610
635
|
"description": {
|
611
636
|
"kind": "markdown",
|
612
|
-
"value": "Synonyme: Modal, Modal Dialog, Corner Dialog, Prompt\n\n<kol-alert _type=\"warning\" _variant=\"card\">\n <kol-badge _color=\"#476af5\" _label=\"Preview\"></kol-badge> Diese neue Komponente wird als ungetestet markiert, da die Barrierefreiheitstests noch ausstehen. Die verschiedenen Tests können aufgrund der Modularität bei neuen Komponenten und Funktionalitäten meist erst nach einem Release erfolgen. Wir empfehlen daher, die Komponente noch nicht in Produktion zu verwenden.\n</kol-alert>\n\
|
637
|
+
"value": "Synonyme: Modal, Modal Dialog, Corner Dialog, Prompt\n\n<kol-alert _type=\"warning\" _variant=\"card\">\n <kol-badge _color=\"#476af5\" _label=\"Preview\"></kol-badge> Diese neue Komponente wird als ungetestet markiert, da die Barrierefreiheitstests noch ausstehen. Die verschiedenen Tests können aufgrund der Modularität bei neuen Komponenten und Funktionalitäten meist erst nach einem Release erfolgen. Wir empfehlen daher, die Komponente noch nicht in Produktion zu verwenden.\n</kol-alert>\n\nMithilfe der **Drawer**-Komponente können zusätzliche Informationen oder auch Navigationselemente in einem ausklappbaren Seitenfenster angezeigt werden. Ein offener Drawer kann als Modal (`_modal`) via ESC geschlossen werden.\n\nDie **Drawer**-Komponente ist standardmäßig versteckt. Sie wird i.d.R. erst nach Klick auf einen Button oder sonstigem Trigger angezeigt bzw. controlled mit dem Attribut `_open` gesteuert.\n\n```html\n<kol-drawer _label=\"Drawer\" _open _modal _align=\"top\"></kol-drawer>\n```"
|
613
638
|
},
|
614
639
|
"attributes": [
|
615
640
|
{
|
@@ -834,6 +859,27 @@
|
|
834
859
|
}
|
835
860
|
]
|
836
861
|
},
|
862
|
+
{
|
863
|
+
"name": "_msg",
|
864
|
+
"description": "Defines the properties for a message rendered as Alert component.",
|
865
|
+
"values": [
|
866
|
+
{
|
867
|
+
"name": "info"
|
868
|
+
},
|
869
|
+
{
|
870
|
+
"name": "success"
|
871
|
+
},
|
872
|
+
{
|
873
|
+
"name": "warning"
|
874
|
+
},
|
875
|
+
{
|
876
|
+
"name": "error"
|
877
|
+
},
|
878
|
+
{
|
879
|
+
"name": "msg"
|
880
|
+
}
|
881
|
+
]
|
882
|
+
},
|
837
883
|
{
|
838
884
|
"name": "_name",
|
839
885
|
"description": "Defines the technical name of an input field."
|
@@ -948,6 +994,27 @@
|
|
948
994
|
"name": "_label",
|
949
995
|
"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."
|
950
996
|
},
|
997
|
+
{
|
998
|
+
"name": "_msg",
|
999
|
+
"description": "Defines the properties for a message rendered as Alert component.",
|
1000
|
+
"values": [
|
1001
|
+
{
|
1002
|
+
"name": "info"
|
1003
|
+
},
|
1004
|
+
{
|
1005
|
+
"name": "success"
|
1006
|
+
},
|
1007
|
+
{
|
1008
|
+
"name": "warning"
|
1009
|
+
},
|
1010
|
+
{
|
1011
|
+
"name": "error"
|
1012
|
+
},
|
1013
|
+
{
|
1014
|
+
"name": "msg"
|
1015
|
+
}
|
1016
|
+
]
|
1017
|
+
},
|
951
1018
|
{
|
952
1019
|
"name": "_name",
|
953
1020
|
"description": "Defines the technical name of an input field."
|
@@ -1094,6 +1161,27 @@
|
|
1094
1161
|
"name": "_min",
|
1095
1162
|
"description": "Defines the smallest possible input value."
|
1096
1163
|
},
|
1164
|
+
{
|
1165
|
+
"name": "_msg",
|
1166
|
+
"description": "Defines the properties for a message rendered as Alert component.",
|
1167
|
+
"values": [
|
1168
|
+
{
|
1169
|
+
"name": "info"
|
1170
|
+
},
|
1171
|
+
{
|
1172
|
+
"name": "success"
|
1173
|
+
},
|
1174
|
+
{
|
1175
|
+
"name": "warning"
|
1176
|
+
},
|
1177
|
+
{
|
1178
|
+
"name": "error"
|
1179
|
+
},
|
1180
|
+
{
|
1181
|
+
"name": "msg"
|
1182
|
+
}
|
1183
|
+
]
|
1184
|
+
},
|
1097
1185
|
{
|
1098
1186
|
"name": "_name",
|
1099
1187
|
"description": "Defines the technical name of an input field."
|
@@ -1273,6 +1361,27 @@
|
|
1273
1361
|
"name": "_max-length",
|
1274
1362
|
"description": "Defines the maximum number of input characters."
|
1275
1363
|
},
|
1364
|
+
{
|
1365
|
+
"name": "_msg",
|
1366
|
+
"description": "Defines the properties for a message rendered as Alert component.",
|
1367
|
+
"values": [
|
1368
|
+
{
|
1369
|
+
"name": "info"
|
1370
|
+
},
|
1371
|
+
{
|
1372
|
+
"name": "success"
|
1373
|
+
},
|
1374
|
+
{
|
1375
|
+
"name": "warning"
|
1376
|
+
},
|
1377
|
+
{
|
1378
|
+
"name": "error"
|
1379
|
+
},
|
1380
|
+
{
|
1381
|
+
"name": "msg"
|
1382
|
+
}
|
1383
|
+
]
|
1384
|
+
},
|
1276
1385
|
{
|
1277
1386
|
"name": "_multiple",
|
1278
1387
|
"description": "Makes the input accept multiple inputs."
|
@@ -1423,6 +1532,27 @@
|
|
1423
1532
|
"name": "_label",
|
1424
1533
|
"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."
|
1425
1534
|
},
|
1535
|
+
{
|
1536
|
+
"name": "_msg",
|
1537
|
+
"description": "Defines the properties for a message rendered as Alert component.",
|
1538
|
+
"values": [
|
1539
|
+
{
|
1540
|
+
"name": "info"
|
1541
|
+
},
|
1542
|
+
{
|
1543
|
+
"name": "success"
|
1544
|
+
},
|
1545
|
+
{
|
1546
|
+
"name": "warning"
|
1547
|
+
},
|
1548
|
+
{
|
1549
|
+
"name": "error"
|
1550
|
+
},
|
1551
|
+
{
|
1552
|
+
"name": "msg"
|
1553
|
+
}
|
1554
|
+
]
|
1555
|
+
},
|
1426
1556
|
{
|
1427
1557
|
"name": "_multiple",
|
1428
1558
|
"description": "Makes the input accept multiple inputs."
|
@@ -1573,6 +1703,27 @@
|
|
1573
1703
|
"name": "_min",
|
1574
1704
|
"description": "Defines the smallest possible input value."
|
1575
1705
|
},
|
1706
|
+
{
|
1707
|
+
"name": "_msg",
|
1708
|
+
"description": "Defines the properties for a message rendered as Alert component.",
|
1709
|
+
"values": [
|
1710
|
+
{
|
1711
|
+
"name": "info"
|
1712
|
+
},
|
1713
|
+
{
|
1714
|
+
"name": "success"
|
1715
|
+
},
|
1716
|
+
{
|
1717
|
+
"name": "warning"
|
1718
|
+
},
|
1719
|
+
{
|
1720
|
+
"name": "error"
|
1721
|
+
},
|
1722
|
+
{
|
1723
|
+
"name": "msg"
|
1724
|
+
}
|
1725
|
+
]
|
1726
|
+
},
|
1576
1727
|
{
|
1577
1728
|
"name": "_name",
|
1578
1729
|
"description": "Defines the technical name of an input field."
|
@@ -1735,6 +1886,27 @@
|
|
1735
1886
|
"name": "_max-length",
|
1736
1887
|
"description": "Defines the maximum number of input characters."
|
1737
1888
|
},
|
1889
|
+
{
|
1890
|
+
"name": "_msg",
|
1891
|
+
"description": "Defines the properties for a message rendered as Alert component.",
|
1892
|
+
"values": [
|
1893
|
+
{
|
1894
|
+
"name": "info"
|
1895
|
+
},
|
1896
|
+
{
|
1897
|
+
"name": "success"
|
1898
|
+
},
|
1899
|
+
{
|
1900
|
+
"name": "warning"
|
1901
|
+
},
|
1902
|
+
{
|
1903
|
+
"name": "error"
|
1904
|
+
},
|
1905
|
+
{
|
1906
|
+
"name": "msg"
|
1907
|
+
}
|
1908
|
+
]
|
1909
|
+
},
|
1738
1910
|
{
|
1739
1911
|
"name": "_name",
|
1740
1912
|
"description": "Defines the technical name of an input field."
|
@@ -1881,6 +2053,27 @@
|
|
1881
2053
|
"name": "_label",
|
1882
2054
|
"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."
|
1883
2055
|
},
|
2056
|
+
{
|
2057
|
+
"name": "_msg",
|
2058
|
+
"description": "Defines the properties for a message rendered as Alert component.",
|
2059
|
+
"values": [
|
2060
|
+
{
|
2061
|
+
"name": "info"
|
2062
|
+
},
|
2063
|
+
{
|
2064
|
+
"name": "success"
|
2065
|
+
},
|
2066
|
+
{
|
2067
|
+
"name": "warning"
|
2068
|
+
},
|
2069
|
+
{
|
2070
|
+
"name": "error"
|
2071
|
+
},
|
2072
|
+
{
|
2073
|
+
"name": "msg"
|
2074
|
+
}
|
2075
|
+
]
|
2076
|
+
},
|
1884
2077
|
{
|
1885
2078
|
"name": "_name",
|
1886
2079
|
"description": "Defines the technical name of an input field."
|
@@ -2004,6 +2197,27 @@
|
|
2004
2197
|
"name": "_min",
|
2005
2198
|
"description": "Defines the smallest possible input value."
|
2006
2199
|
},
|
2200
|
+
{
|
2201
|
+
"name": "_msg",
|
2202
|
+
"description": "Defines the properties for a message rendered as Alert component.",
|
2203
|
+
"values": [
|
2204
|
+
{
|
2205
|
+
"name": "info"
|
2206
|
+
},
|
2207
|
+
{
|
2208
|
+
"name": "success"
|
2209
|
+
},
|
2210
|
+
{
|
2211
|
+
"name": "warning"
|
2212
|
+
},
|
2213
|
+
{
|
2214
|
+
"name": "error"
|
2215
|
+
},
|
2216
|
+
{
|
2217
|
+
"name": "msg"
|
2218
|
+
}
|
2219
|
+
]
|
2220
|
+
},
|
2007
2221
|
{
|
2008
2222
|
"name": "_name",
|
2009
2223
|
"description": "Defines the technical name of an input field."
|
@@ -2115,6 +2329,27 @@
|
|
2115
2329
|
"name": "_max-length",
|
2116
2330
|
"description": "Defines the maximum number of input characters."
|
2117
2331
|
},
|
2332
|
+
{
|
2333
|
+
"name": "_msg",
|
2334
|
+
"description": "Defines the properties for a message rendered as Alert component.",
|
2335
|
+
"values": [
|
2336
|
+
{
|
2337
|
+
"name": "info"
|
2338
|
+
},
|
2339
|
+
{
|
2340
|
+
"name": "success"
|
2341
|
+
},
|
2342
|
+
{
|
2343
|
+
"name": "warning"
|
2344
|
+
},
|
2345
|
+
{
|
2346
|
+
"name": "error"
|
2347
|
+
},
|
2348
|
+
{
|
2349
|
+
"name": "msg"
|
2350
|
+
}
|
2351
|
+
]
|
2352
|
+
},
|
2118
2353
|
{
|
2119
2354
|
"name": "_name",
|
2120
2355
|
"description": "Defines the technical name of an input field."
|
@@ -2829,6 +3064,27 @@
|
|
2829
3064
|
"name": "_label",
|
2830
3065
|
"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."
|
2831
3066
|
},
|
3067
|
+
{
|
3068
|
+
"name": "_msg",
|
3069
|
+
"description": "Defines the properties for a message rendered as Alert component.",
|
3070
|
+
"values": [
|
3071
|
+
{
|
3072
|
+
"name": "info"
|
3073
|
+
},
|
3074
|
+
{
|
3075
|
+
"name": "success"
|
3076
|
+
},
|
3077
|
+
{
|
3078
|
+
"name": "warning"
|
3079
|
+
},
|
3080
|
+
{
|
3081
|
+
"name": "error"
|
3082
|
+
},
|
3083
|
+
{
|
3084
|
+
"name": "msg"
|
3085
|
+
}
|
3086
|
+
]
|
3087
|
+
},
|
2832
3088
|
{
|
2833
3089
|
"name": "_multiple",
|
2834
3090
|
"description": "Makes the input accept multiple inputs."
|
@@ -2924,6 +3180,27 @@
|
|
2924
3180
|
"name": "_label",
|
2925
3181
|
"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."
|
2926
3182
|
},
|
3183
|
+
{
|
3184
|
+
"name": "_msg",
|
3185
|
+
"description": "Defines the properties for a message rendered as Alert component.",
|
3186
|
+
"values": [
|
3187
|
+
{
|
3188
|
+
"name": "info"
|
3189
|
+
},
|
3190
|
+
{
|
3191
|
+
"name": "success"
|
3192
|
+
},
|
3193
|
+
{
|
3194
|
+
"name": "warning"
|
3195
|
+
},
|
3196
|
+
{
|
3197
|
+
"name": "error"
|
3198
|
+
},
|
3199
|
+
{
|
3200
|
+
"name": "msg"
|
3201
|
+
}
|
3202
|
+
]
|
3203
|
+
},
|
2927
3204
|
{
|
2928
3205
|
"name": "_name",
|
2929
3206
|
"description": "Defines the technical name of an input field."
|
@@ -3420,6 +3697,27 @@
|
|
3420
3697
|
"name": "_max-length",
|
3421
3698
|
"description": "Defines the maximum number of input characters."
|
3422
3699
|
},
|
3700
|
+
{
|
3701
|
+
"name": "_msg",
|
3702
|
+
"description": "Defines the properties for a message rendered as Alert component.",
|
3703
|
+
"values": [
|
3704
|
+
{
|
3705
|
+
"name": "info"
|
3706
|
+
},
|
3707
|
+
{
|
3708
|
+
"name": "success"
|
3709
|
+
},
|
3710
|
+
{
|
3711
|
+
"name": "warning"
|
3712
|
+
},
|
3713
|
+
{
|
3714
|
+
"name": "error"
|
3715
|
+
},
|
3716
|
+
{
|
3717
|
+
"name": "msg"
|
3718
|
+
}
|
3719
|
+
]
|
3720
|
+
},
|
3423
3721
|
{
|
3424
3722
|
"name": "_name",
|
3425
3723
|
"description": "Defines the technical name of an input field."
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
3
|
-
*/
|
4
|
-
"use strict";const dev_utils=require("./dev.utils-58fde089.js"),prop_validators=require("./prop.validators-68958b0a.js"),validateName=(t,e,i)=>{prop_validators.watchString(t,"_name",e,i)},isAssociatedTagName=t=>"KOL-BUTTON"===t||"KOL-COMBOBOX"===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-SINGLE-SELECT"===t||"KOL-TEXTAREA"===t;class AssociatedInputController{constructor(t,e,i){var s,o,a;if(this.experimentalMode=dev_utils.getExperimentalMode(),this.setFormAssociatedValue=t=>{var e;const i=null===(e=this.formAssociated)||void 0===e?void 0:e.getAttribute("name");null!==i&&""!==i||prop_validators.devHint(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);const s=this.tryToStringifyValue(t);this.syncValue(t,s,this.formAssociated),this.syncValue(t,s,this.syncToOwnInput)},this.component=t,this.host=this.findHostWithShadowRoot(i),this.type=e,this.experimentalMode&&isAssociatedTagName(null===(s=this.host)||void 0===s?void 0:s.tagName)&&t._name){switch(null===(o=this.host)||void 0===o||o.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===(a=this.host)||void 0===a||a.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,i){if(this.experimentalMode)try{if("boolean"!=typeof(i="object"==typeof i&&null!==i?JSON.stringify(i):i)&&"number"!=typeof i&&"string"!=typeof i)throw new Error("Invalid value type: "+typeof i);null==e||e.setAttribute(t,`${i}`)}catch(i){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 prop_validators.devWarning(`The form field raw value is not able to stringify! ${t}`),""}}syncValue(t,e,i){if(i)switch(this.type){case"file":i.files=t;break;case"select":i.querySelectorAll("option").forEach((t=>{i.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",""),i.appendChild(t)}}));break;case"radio":"string"==typeof e&&(i.setAttribute("value",e),i.setAttribute("checked",""),i.value=e);break;default:"string"==typeof e?(i.setAttribute("value",e),i.value=e):(i.removeAttribute("value"),i.value="")}}validateName(t){validateName(this.component,t,{hooks:{afterPatch:()=>{this.setAttribute("name",this.formAssociated,this.component.state._name)}}}),void 0===t&&prop_validators.devHint("A name on input fields or switches is not strictly required, but it might be relevant for the autocomplete function and for the static submission of the input field.")}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)}}exports.AssociatedInputController=AssociatedInputController;
|
@@ -1 +0,0 @@
|
|
1
|
-
{"file":"associated.controller-e7651bb3.js","mappings":"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","names":["watchString","getExperimentalMode","devHint","devWarning"],"sources":["src/schema/props/name.ts","src/components/input-adapter-leanup/associated.controller.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport type { WatchStringOptions } from '../utils';\nimport { watchString } from '../utils';\n\n/* types */\nexport type NamePropType = string;\n\n/**\n * Defines the technical name of an input field.\n */\nexport type PropName = {\n\tname: NamePropType;\n};\n\n/* validator */\nexport const validateName = (component: Generic.Element.Component, value?: NamePropType, options?: WatchStringOptions): void => {\n\twatchString(component, '_name', value, options);\n};\n","import type { NamePropType, PropSyncValueBySelector, StencilUnknown, SyncValueBySelectorPropType } from '../../schema';\nimport { devHint, devWarning, getExperimentalMode, validateName } from '../../schema';\n\nimport type { Generic } from 'adopted-style-sheets';\n\ntype RequiredProps = NonNullable<unknown>;\ntype OptionalProps = {\n\tname: string;\n} & PropSyncValueBySelector;\ntype Props = Generic.Element.Members<RequiredProps, OptionalProps>;\ntype Watches = Generic.Element.Watchers<RequiredProps, OptionalProps>;\n\ntype HTMLInputFileElement = HTMLInputElement & {\n\tfiles: FileList;\n};\n\nconst isAssociatedTagName = (name?: string): boolean =>\n\tname === 'KOL-BUTTON' ||\n\tname === 'KOL-COMBOBOX' ||\n\tname === 'KOL-INPUT-CHECKBOX' ||\n\tname === 'KOL-INPUT-COLOR' ||\n\tname === 'KOL-INPUT-DATE' ||\n\tname === 'KOL-INPUT-EMAIL' ||\n\tname === 'KOL-INPUT-FILE' ||\n\tname === 'KOL-INPUT-NUMBER' ||\n\tname === 'KOL-INPUT-PASSWORD' ||\n\tname === 'KOL-INPUT-RADIO' ||\n\tname === 'KOL-INPUT-RANGE' ||\n\tname === 'KOL-INPUT-TEXT' ||\n\tname === 'KOL-SELECT' ||\n\tname === 'KOL-SINGLE-SELECT' ||\n\tname === 'KOL-TEXTAREA';\n\nexport class AssociatedInputController implements Watches {\n\tprivate readonly experimentalMode = getExperimentalMode();\n\n\tprotected readonly component: Generic.Element.Component & Props;\n\tprotected readonly type: string;\n\tprotected readonly host?: HTMLElement;\n\n\tpublic readonly formAssociated?: HTMLButtonElement | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;\n\tpublic syncToOwnInput?: HTMLButtonElement | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;\n\n\tpublic constructor(component: Generic.Element.Component & Props, type: string, host?: HTMLElement) {\n\t\tthis.component = component;\n\t\tthis.host = this.findHostWithShadowRoot(host);\n\t\tthis.type = type;\n\n\t\tif (this.experimentalMode && isAssociatedTagName(this.host?.tagName) && component._name) {\n\t\t\tthis.host?.querySelectorAll('input,select,textarea').forEach((el) => {\n\t\t\t\tthis.host?.removeChild(el);\n\t\t\t});\n\t\t\tswitch (this.type) {\n\t\t\t\tcase 'button':\n\t\t\t\tcase 'color':\n\t\t\t\tcase 'date':\n\t\t\t\tcase 'email':\n\t\t\t\tcase 'file':\n\t\t\t\tcase 'number':\n\t\t\t\tcase 'password':\n\t\t\t\tcase 'radio':\n\t\t\t\tcase 'range':\n\t\t\t\tcase 'text':\n\t\t\t\t\tthis.formAssociated = document.createElement('input');\n\t\t\t\t\tthis.formAssociated.setAttribute('type', this.type);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'select':\n\t\t\t\t\tthis.formAssociated = document.createElement('select');\n\t\t\t\t\tthis.formAssociated.setAttribute('multiple', '');\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'textarea':\n\t\t\t\t\tthis.formAssociated = document.createElement('textarea');\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'checkbox': // Checkbox uses default case\n\t\t\t\tcase 'single-select': // SingleSelect uses default case\n\t\t\t\tcase 'combobox': // Combobox uses default case\n\t\t\t\tdefault:\n\t\t\t\t\tthis.formAssociated = document.createElement('input');\n\t\t\t\t\tthis.formAssociated.setAttribute('type', 'hidden');\n\t\t\t}\n\t\t\tthis.formAssociated.setAttribute('aria-hidden', 'true');\n\t\t\tthis.formAssociated.setAttribute('data-form-associated', '');\n\t\t\tthis.formAssociated.setAttribute('hidden', '');\n\t\t\tthis.host?.appendChild(this.formAssociated);\n\t\t}\n\t}\n\n\t/**\n\t * The associated elements must not reside within the ShadowRoot and must\n\t * reside as children in the host to be recognized by native forms.\n\t */\n\tprivate findHostWithShadowRoot(host?: HTMLElement): HTMLElement | undefined {\n\t\twhile (host?.shadowRoot === null && host !== document.body) {\n\t\t\thost = host?.parentNode as HTMLElement;\n\t\t\tif ((host as unknown as ShadowRoot).host) {\n\t\t\t\thost = (host as unknown as ShadowRoot).host as HTMLElement;\n\t\t\t}\n\t\t}\n\t\treturn host;\n\t}\n\n\tprotected setAttribute(qualifiedName: string, element?: HTMLElement, value?: string | number | boolean) {\n\t\tif (this.experimentalMode) {\n\t\t\ttry {\n\t\t\t\tvalue = typeof value === 'object' && value !== null ? JSON.stringify(value) : value;\n\t\t\t\tif (typeof value === 'boolean' || typeof value === 'number' || typeof value === 'string') {\n\t\t\t\t\telement?.setAttribute(qualifiedName, `${value as string}`);\n\t\t\t\t} else {\n\t\t\t\t\tthrow new Error(`Invalid value type: ${typeof value}`);\n\t\t\t\t}\n\t\t\t} catch (e) {\n\t\t\t\telement?.removeAttribute(qualifiedName);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * We need to stringify the value, for the setAttribute method.\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/setAttribute\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes\n\t * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/attributes#value\n\t *\n\t * TODO: It is possible that the value are a cyclic object value. So we need a custom\n\t * JSON.stringify method from outside to convert it to string.\n\t */\n\tprivate tryToStringifyValue(value: StencilUnknown): string | null {\n\t\ttry {\n\t\t\treturn typeof value === 'object' && value !== null ? JSON.stringify(value).toString() : value === null || value === undefined ? null : value.toString();\n\t\t} catch (e) {\n\t\t\tdevWarning(`The form field raw value is not able to stringify! ${e as string}`);\n\t\t\treturn '';\n\t\t}\n\t}\n\n\t/**\n\t * We try to support native form-associated custom elements.\n\t *\n\t * @see https://github.com/public-ui/kolibri/discussions/2821\n\t */\n\tpublic readonly setFormAssociatedValue = (rawValue: StencilUnknown) => {\n\t\tconst name = this.formAssociated?.getAttribute('name');\n\t\tif (name === null || name === '') {\n\t\t\tdevHint(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);\n\t\t}\n\t\tconst strValue = this.tryToStringifyValue(rawValue);\n\t\tthis.syncValue(rawValue, strValue, this.formAssociated);\n\t\tthis.syncValue(rawValue, strValue, this.syncToOwnInput);\n\t};\n\n\tprivate syncValue(\n\t\trawValue: StencilUnknown,\n\t\tstrValue: string | null,\n\t\tassociatedElement?: HTMLButtonElement | HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement,\n\t) {\n\t\tif (associatedElement) {\n\t\t\tswitch (this.type) {\n\t\t\t\tcase 'file':\n\t\t\t\t\t(associatedElement as HTMLInputFileElement).files = rawValue as FileList;\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'select':\n\t\t\t\t\t(associatedElement as HTMLSelectElement).querySelectorAll('option').forEach((el) => {\n\t\t\t\t\t\t(associatedElement as HTMLSelectElement).removeChild(el);\n\t\t\t\t\t});\n\t\t\t\t\tif (Array.isArray(rawValue)) {\n\t\t\t\t\t\trawValue.forEach((rawValueItem) => {\n\t\t\t\t\t\t\tconst strValueItem = this.tryToStringifyValue(rawValueItem as string);\n\t\t\t\t\t\t\tif (typeof strValueItem === 'string') {\n\t\t\t\t\t\t\t\tconst option = document.createElement('option');\n\t\t\t\t\t\t\t\toption.setAttribute('value', strValueItem);\n\t\t\t\t\t\t\t\toption.setAttribute('selected', '');\n\t\t\t\t\t\t\t\t(associatedElement as HTMLSelectElement).appendChild(option);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'radio':\n\t\t\t\t\tif (typeof strValue === 'string') {\n\t\t\t\t\t\tassociatedElement.setAttribute('value', strValue);\n\t\t\t\t\t\tassociatedElement.setAttribute('checked', '');\n\t\t\t\t\t\tassociatedElement.value = strValue;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tif (typeof strValue === 'string') {\n\t\t\t\t\t\tassociatedElement.setAttribute('value', strValue);\n\t\t\t\t\t\tassociatedElement.value = strValue;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tassociatedElement.removeAttribute('value');\n\t\t\t\t\t\tassociatedElement.value = '';\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic validateName(value?: NamePropType): void {\n\t\tvalidateName(this.component, value, {\n\t\t\thooks: {\n\t\t\t\tafterPatch: () => {\n\t\t\t\t\tthis.setAttribute('name', this.formAssociated, this.component.state._name as string);\n\t\t\t\t},\n\t\t\t},\n\t\t});\n\t\tif (typeof value === 'undefined') {\n\t\t\tdevHint(\n\t\t\t\t`A name on input fields or switches is not strictly required, but it might be relevant for the autocomplete function and for the static submission of the input field.`,\n\t\t\t);\n\t\t}\n\t}\n\n\tpublic validateSyncValueBySelector(value?: SyncValueBySelectorPropType): void {\n\t\tif (this.experimentalMode && typeof value === 'string') {\n\t\t\tconst input = document.querySelector(value) as HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;\n\t\t\tif (input /* SSR instanceof HTMLInputElement */) {\n\t\t\t\tthis.syncToOwnInput = input;\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic componentWillLoad(): void {\n\t\tthis.validateName(this.component._name);\n\t\tthis.validateSyncValueBySelector(this.component._syncValueBySelector);\n\t}\n}\n"],"version":3}
|