@public-ui/components 4.1.4-rc.6 → 4.1.5-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/kolicons/kolicons.eot +0 -0
- package/assets/kolicons/kolicons.ttf +0 -0
- package/assets/kolicons/kolicons.woff +0 -0
- package/assets/kolicons/kolicons.woff2 +0 -0
- package/assets/kolicons/style.css +6 -6
- package/custom-elements.json +55 -1
- package/dist/cjs/{Alert-BSmtVEWJ.js → Alert-b0RjmS_b.js} +1 -1
- package/dist/cjs/{Alert-BSmtVEWJ.js.map → Alert-b0RjmS_b.js.map} +1 -1
- package/dist/cjs/{Collapsible-COR-pLq0.js → Collapsible-BdU5fFTJ.js} +1 -1
- package/dist/cjs/{Collapsible-COR-pLq0.js.map → Collapsible-BdU5fFTJ.js.map} +1 -1
- package/dist/cjs/{CustomSuggestionsOptionsGroup-TU0YYptL.js → CustomSuggestionsOptionsGroup-CBIKPUnR.js} +1 -1
- package/dist/cjs/{CustomSuggestionsOptionsGroup-TU0YYptL.js.map → CustomSuggestionsOptionsGroup-CBIKPUnR.js.map} +1 -1
- package/dist/cjs/{FieldControlStateWrapper-vHgMGosz.js → FieldControlStateWrapper-uBwKNiLr.js} +1 -1
- package/dist/cjs/{FieldControlStateWrapper-vHgMGosz.js.map → FieldControlStateWrapper-uBwKNiLr.js.map} +1 -1
- package/dist/cjs/{FormFieldStateWrapper-KGbCDa27.js → FormFieldStateWrapper-BC8WyGKq.js} +1 -1
- package/dist/cjs/{FormFieldStateWrapper-KGbCDa27.js.map → FormFieldStateWrapper-BC8WyGKq.js.map} +1 -1
- package/dist/cjs/{Heading-C5aopJZd.js → Heading-Du94r6Ou.js} +1 -1
- package/dist/cjs/{Heading-C5aopJZd.js.map → Heading-Du94r6Ou.js.map} +1 -1
- package/dist/cjs/{Input-jLWSIUdr.js → Input-Bb_FgPgW.js} +1 -1
- package/dist/cjs/{Input-jLWSIUdr.js.map → Input-Bb_FgPgW.js.map} +1 -1
- package/dist/cjs/{InputStateWrapper-BvRB3n9f.js → InputStateWrapper-D9ExwaFr.js} +1 -1
- package/dist/cjs/{InputStateWrapper-BvRB3n9f.js.map → InputStateWrapper-D9ExwaFr.js.map} +1 -1
- package/dist/cjs/{app-globals-KjllKxxP.js → app-globals-CnHg68mH.js} +1 -1
- package/dist/cjs/{app-globals-KjllKxxP.js.map → app-globals-CnHg68mH.js.map} +1 -1
- package/dist/cjs/{component-DhU4CUdF.js → component-B7W-2yeG.js} +1 -1
- package/dist/cjs/{component-DhU4CUdF.js.map → component-B7W-2yeG.js.map} +1 -1
- package/dist/cjs/{component-pj77LD8h.js → component-CfTZFCUy.js} +1 -1
- package/dist/cjs/{component-pj77LD8h.js.map → component-CfTZFCUy.js.map} +1 -1
- package/dist/cjs/{component-Dn4vEeeW.js → component-DACJ4mUM.js} +1 -1
- package/dist/cjs/{component-Dn4vEeeW.js.map → component-DACJ4mUM.js.map} +1 -1
- package/dist/cjs/{controller-Bz-MHkwV.js → controller-Bz4ZHrYz.js} +1 -1
- package/dist/cjs/{controller-Bz-MHkwV.js.map → controller-Bz4ZHrYz.js.map} +1 -1
- package/dist/cjs/{controller-DjdgP8qL.js → controller-CFdWLuXi.js} +1 -1
- package/dist/cjs/{controller-DjdgP8qL.js.map → controller-CFdWLuXi.js.map} +1 -1
- package/dist/cjs/{controller-Dj7-M_4e.js → controller-CljA-pC3.js} +1 -1
- package/dist/cjs/{controller-Dj7-M_4e.js.map → controller-CljA-pC3.js.map} +1 -1
- package/dist/cjs/{controller-CFcA_2N0.js → controller-iCpk_CxT.js} +1 -1
- package/dist/cjs/{controller-CFcA_2N0.js.map → controller-iCpk_CxT.js.map} +1 -1
- package/dist/cjs/{controller-icon-D1Jx7Xy3.js → controller-icon-CSAWu88I.js} +1 -1
- package/dist/cjs/{controller-icon-D1Jx7Xy3.js.map → controller-icon-CSAWu88I.js.map} +1 -1
- package/dist/cjs/{dev.utils-C1TRa246.js → dev.utils-BMxnhCWK.js} +1 -1
- package/dist/cjs/{dev.utils-C1TRa246.js.map → dev.utils-BMxnhCWK.js.map} +1 -1
- package/dist/cjs/{devtools-BNJalPr3.js → devtools-4eGYPu71.js} +1 -1
- package/dist/cjs/{devtools-BNJalPr3.js.map → devtools-4eGYPu71.js.map} +1 -1
- package/dist/cjs/{index-xS-zBX5O.js → index-CobjNfgo.js} +1 -1
- package/dist/cjs/{index-xS-zBX5O.js.map → index-CobjNfgo.js.map} +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.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-alert.cjs.entry.js +1 -1
- package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
- package/dist/cjs/kol-avatar.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-badge.cjs.entry.js +1 -1
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
- package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-card-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-card-wc.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-card.cjs.entry.js +1 -1
- package/dist/cjs/kol-click-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
- package/dist/cjs/kol-details.cjs.entry.js +1 -1
- package/dist/cjs/kol-dialog-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-dialog-wc.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-dialog.cjs.entry.js +1 -1
- package/dist/cjs/kol-dialog.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kol-drawer.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-form.cjs.entry.js +1 -1
- package/dist/cjs/kol-heading.cjs.entry.js +1 -1
- package/dist/cjs/kol-heading.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-icon.cjs.entry.js +1 -1
- package/dist/cjs/kol-image.cjs.entry.js +1 -1
- package/dist/cjs/kol-image.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-checkbox.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-radio.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
- package/dist/cjs/kol-input-range.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
- package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
- package/dist/cjs/kol-kolibri.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-link.cjs.entry.js +1 -1
- package/dist/cjs/kol-meter.cjs.entry.js +1 -1
- package/dist/cjs/kol-meter.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-modal.cjs.entry.js +1 -1
- package/dist/cjs/kol-modal.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-nav.cjs.entry.js +1 -1
- package/dist/cjs/kol-pagination-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-pagination-wc.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
- package/dist/cjs/kol-popover-button-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-popover-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-progress.cjs.entry.js +1 -1
- package/dist/cjs/kol-progress.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-quote.cjs.entry.js +1 -1
- package/dist/cjs/kol-quote.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-select-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-select.cjs.entry.js +1 -1
- package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
- package/dist/cjs/kol-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
- package/dist/cjs/kol-skip-nav.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-spin.cjs.entry.js +1 -1
- package/dist/cjs/kol-spin.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-settings-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-stateful.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
- package/dist/cjs/kol-table-stateless.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
- package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
- package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
- package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
- package/dist/cjs/kol-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.entry.cjs.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.entry.cjs.js.map +1 -1
- package/dist/cjs/kol-version.cjs.entry.js +1 -1
- package/dist/cjs/kol-version.entry.cjs.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 +1 -1
- package/dist/components/kol-abbr.js +1 -1
- package/dist/components/kol-accordion.js +1 -1
- package/dist/components/kol-accordion.js.map +1 -1
- package/dist/components/kol-alert.js +1 -1
- package/dist/components/kol-avatar.js +1 -1
- package/dist/components/kol-avatar.js.map +1 -1
- package/dist/components/kol-badge.js +1 -1
- package/dist/components/kol-breadcrumb.js +1 -1
- package/dist/components/kol-button-link.js +1 -1
- package/dist/components/kol-button.js +1 -1
- package/dist/components/kol-card-wc.js +1 -1
- package/dist/components/kol-card-wc.js.map +1 -1
- package/dist/components/kol-card.js +1 -1
- package/dist/components/kol-combobox.js +1 -1
- package/dist/components/kol-details.js +1 -1
- package/dist/components/kol-dialog-wc.js +1 -1
- package/dist/components/kol-dialog-wc.js.map +1 -1
- package/dist/components/kol-dialog.js +1 -1
- package/dist/components/kol-dialog.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-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-image.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-date.js +1 -1
- package/dist/components/kol-input-email.js +1 -1
- package/dist/components/kol-input-file.js +1 -1
- package/dist/components/kol-input-number.js +1 -1
- package/dist/components/kol-input-password.js +1 -1
- package/dist/components/kol-input-radio.js +1 -1
- package/dist/components/kol-input-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-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.js +1 -1
- package/dist/components/kol-meter.js +1 -1
- package/dist/components/kol-meter.js.map +1 -1
- package/dist/components/kol-modal.js +1 -1
- package/dist/components/kol-modal.js.map +1 -1
- package/dist/components/kol-nav.js +1 -1
- package/dist/components/kol-pagination-wc.js +1 -1
- package/dist/components/kol-pagination-wc.js.map +1 -1
- package/dist/components/kol-pagination.js +1 -1
- package/dist/components/kol-popover-button.js +1 -1
- package/dist/components/kol-progress.js +1 -1
- package/dist/components/kol-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-single-select.js +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-spin.js +1 -1
- package/dist/components/kol-spin.js.map +1 -1
- package/dist/components/kol-split-button.js +1 -1
- package/dist/components/kol-table-stateful.js +1 -1
- package/dist/components/kol-table-stateful.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-tabs.js +1 -1
- package/dist/components/kol-textarea.js +1 -1
- package/dist/components/kol-toast-container.js +1 -1
- package/dist/components/kol-toolbar.js +1 -1
- package/dist/components/kol-tree-item.js +1 -1
- package/dist/components/kol-tree-item.js.map +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/esm/{Alert-C2H3wE4_.js → Alert-plRuFotW.js} +1 -1
- package/dist/esm/{Alert-C2H3wE4_.js.map → Alert-plRuFotW.js.map} +1 -1
- package/dist/esm/{Collapsible-DwYw0TqM.js → Collapsible-B6WCihbi.js} +1 -1
- package/dist/esm/{Collapsible-DwYw0TqM.js.map → Collapsible-B6WCihbi.js.map} +1 -1
- package/dist/esm/{CustomSuggestionsOptionsGroup-D7Th2sNy.js → CustomSuggestionsOptionsGroup-C3Vb0efB.js} +1 -1
- package/dist/{kolibri/CustomSuggestionsOptionsGroup-D7Th2sNy.js.map → esm/CustomSuggestionsOptionsGroup-C3Vb0efB.js.map} +1 -1
- package/dist/esm/{FieldControlStateWrapper-qsQt4MoI.js → FieldControlStateWrapper-BWnl66fL.js} +1 -1
- package/dist/{kolibri/FieldControlStateWrapper-qsQt4MoI.js.map → esm/FieldControlStateWrapper-BWnl66fL.js.map} +1 -1
- package/dist/esm/{FormFieldStateWrapper-Zct_Wau1.js → FormFieldStateWrapper-Ems1NQjv.js} +1 -1
- package/dist/{kolibri/FormFieldStateWrapper-Zct_Wau1.js.map → esm/FormFieldStateWrapper-Ems1NQjv.js.map} +1 -1
- package/dist/esm/{Heading-BUjPChHT.js → Heading-DyUaqHzi.js} +1 -1
- package/dist/{kolibri/Heading-BUjPChHT.js.map → esm/Heading-DyUaqHzi.js.map} +1 -1
- package/dist/esm/{Input-gapU3T_x.js → Input-C4GXs6_t.js} +1 -1
- package/dist/esm/{Input-gapU3T_x.js.map → Input-C4GXs6_t.js.map} +1 -1
- package/dist/esm/{InputStateWrapper-BqUbt6Z1.js → InputStateWrapper-VcabF0TQ.js} +1 -1
- package/dist/esm/{InputStateWrapper-BqUbt6Z1.js.map → InputStateWrapper-VcabF0TQ.js.map} +1 -1
- package/dist/esm/{app-globals-CH_nDgw9.js → app-globals-BVpQT5l-.js} +1 -1
- package/dist/esm/{app-globals-CH_nDgw9.js.map → app-globals-BVpQT5l-.js.map} +1 -1
- package/dist/esm/{component-JWUtUo3K.js → component-DYSsJEby.js} +1 -1
- package/dist/esm/{component-JWUtUo3K.js.map → component-DYSsJEby.js.map} +1 -1
- package/dist/esm/{component-ivdG1YG5.js → component-ELVCHpBx.js} +1 -1
- package/dist/esm/{component-ivdG1YG5.js.map → component-ELVCHpBx.js.map} +1 -1
- package/dist/esm/{component-CAUcMKfc.js → component-_7fsHLXz.js} +1 -1
- package/dist/esm/{component-CAUcMKfc.js.map → component-_7fsHLXz.js.map} +1 -1
- package/dist/esm/controller-BDNhpWDH.js +4 -0
- package/dist/esm/{controller-uuOROW4Q.js.map → controller-BDNhpWDH.js.map} +1 -1
- package/dist/esm/{controller-DNd6A2sS.js → controller-BekuZ1Op.js} +1 -1
- package/dist/{kolibri/controller-DNd6A2sS.js.map → esm/controller-BekuZ1Op.js.map} +1 -1
- package/dist/esm/{controller-s-2oT8JD.js → controller-a2jLc4nO.js} +1 -1
- package/dist/esm/{controller-s-2oT8JD.js.map → controller-a2jLc4nO.js.map} +1 -1
- package/dist/esm/{controller-icon-CunAGg87.js → controller-icon-DzTRQeez.js} +1 -1
- package/dist/esm/{controller-icon-CunAGg87.js.map → controller-icon-DzTRQeez.js.map} +1 -1
- package/dist/esm/{controller-dp4dZN14.js → controller-uYXarCHS.js} +1 -1
- package/dist/{kolibri/controller-dp4dZN14.js.map → esm/controller-uYXarCHS.js.map} +1 -1
- package/dist/esm/{dev.utils-B5jWm6ia.js → dev.utils-BA_rOknz.js} +1 -1
- package/dist/esm/{dev.utils-B5jWm6ia.js.map → dev.utils-BA_rOknz.js.map} +1 -1
- package/dist/esm/{devtools-CEVR-nTz.js → devtools-BLlpffmd.js} +1 -1
- package/dist/esm/{devtools-CEVR-nTz.js.map → devtools-BLlpffmd.js.map} +1 -1
- package/dist/esm/{index-Cr4ko_DT.js → index-CwE7Ckxk.js} +1 -1
- package/dist/{kolibri/index-Cr4ko_DT.js.map → esm/index-CwE7Ckxk.js.map} +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.entry.js +1 -1
- package/dist/esm/kol-alert.entry.js +1 -1
- package/dist/esm/kol-avatar.entry.js +1 -1
- package/dist/esm/kol-avatar.entry.js.map +1 -1
- package/dist/esm/kol-badge.entry.js +1 -1
- package/dist/esm/kol-breadcrumb.entry.js +1 -1
- package/dist/esm/kol-button-link.entry.js +1 -1
- package/dist/esm/kol-button-wc.entry.js +1 -1
- package/dist/esm/kol-button.entry.js +1 -1
- package/dist/esm/kol-card-wc.entry.js +1 -1
- package/dist/esm/kol-card-wc.entry.js.map +1 -1
- package/dist/esm/kol-card.entry.js +1 -1
- package/dist/esm/kol-click-button.entry.js +1 -1
- package/dist/esm/kol-combobox.entry.js +1 -1
- package/dist/esm/kol-details.entry.js +1 -1
- package/dist/esm/kol-dialog-wc.entry.js +1 -1
- package/dist/esm/kol-dialog-wc.entry.js.map +1 -1
- package/dist/esm/kol-dialog.entry.js +1 -1
- package/dist/esm/kol-dialog.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-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-image.entry.js.map +1 -1
- package/dist/esm/kol-input-checkbox.entry.js +1 -1
- package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
- package/dist/esm/kol-input-color.entry.js +1 -1
- package/dist/esm/kol-input-date.entry.js +1 -1
- package/dist/esm/kol-input-email.entry.js +1 -1
- package/dist/esm/kol-input-file.entry.js +1 -1
- package/dist/esm/kol-input-number.entry.js +1 -1
- package/dist/esm/kol-input-password.entry.js +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-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-wc.entry.js +1 -1
- package/dist/esm/kol-link.entry.js +1 -1
- package/dist/esm/kol-meter.entry.js +1 -1
- package/dist/esm/kol-meter.entry.js.map +1 -1
- package/dist/esm/kol-modal.entry.js +1 -1
- package/dist/esm/kol-modal.entry.js.map +1 -1
- package/dist/esm/kol-nav.entry.js +1 -1
- package/dist/esm/kol-pagination-wc.entry.js +1 -1
- package/dist/esm/kol-pagination-wc.entry.js.map +1 -1
- package/dist/esm/kol-pagination.entry.js +1 -1
- package/dist/esm/kol-popover-button-wc.entry.js +1 -1
- package/dist/esm/kol-popover-button.entry.js +1 -1
- package/dist/esm/kol-progress.entry.js +1 -1
- package/dist/esm/kol-progress.entry.js.map +1 -1
- package/dist/esm/kol-quote.entry.js +1 -1
- package/dist/esm/kol-quote.entry.js.map +1 -1
- package/dist/esm/kol-select-wc.entry.js +1 -1
- package/dist/esm/kol-select.entry.js +1 -1
- package/dist/esm/kol-single-select.entry.js +1 -1
- package/dist/esm/kol-skeleton.entry.js +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-spin.entry.js +1 -1
- package/dist/esm/kol-spin.entry.js.map +1 -1
- package/dist/esm/kol-split-button.entry.js +1 -1
- package/dist/esm/kol-table-settings-wc.entry.js +1 -1
- package/dist/esm/kol-table-stateful.entry.js +1 -1
- package/dist/esm/kol-table-stateful.entry.js.map +1 -1
- package/dist/esm/kol-table-stateless-wc.entry.js +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-tabs.entry.js +1 -1
- package/dist/esm/kol-textarea.entry.js +1 -1
- package/dist/esm/kol-toast-container.entry.js +1 -1
- package/dist/esm/kol-toolbar.entry.js +1 -1
- package/dist/esm/kol-tooltip-wc.entry.js +1 -1
- package/dist/esm/kol-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 +1 -1
- package/dist/kolibri/{Alert-C2H3wE4_.js → Alert-plRuFotW.js} +1 -1
- package/dist/kolibri/{Alert-C2H3wE4_.js.map → Alert-plRuFotW.js.map} +1 -1
- package/dist/kolibri/{Collapsible-DwYw0TqM.js → Collapsible-B6WCihbi.js} +1 -1
- package/dist/kolibri/{Collapsible-DwYw0TqM.js.map → Collapsible-B6WCihbi.js.map} +1 -1
- package/dist/kolibri/{CustomSuggestionsOptionsGroup-D7Th2sNy.js → CustomSuggestionsOptionsGroup-C3Vb0efB.js} +1 -1
- package/dist/{esm/CustomSuggestionsOptionsGroup-D7Th2sNy.js.map → kolibri/CustomSuggestionsOptionsGroup-C3Vb0efB.js.map} +1 -1
- package/dist/kolibri/FieldControlStateWrapper-BWnl66fL.js +4 -0
- package/dist/{esm/FieldControlStateWrapper-qsQt4MoI.js.map → kolibri/FieldControlStateWrapper-BWnl66fL.js.map} +1 -1
- package/dist/kolibri/FormFieldStateWrapper-Ems1NQjv.js +4 -0
- package/dist/{esm/FormFieldStateWrapper-Zct_Wau1.js.map → kolibri/FormFieldStateWrapper-Ems1NQjv.js.map} +1 -1
- package/dist/kolibri/Heading-DyUaqHzi.js +4 -0
- package/dist/{esm/Heading-BUjPChHT.js.map → kolibri/Heading-DyUaqHzi.js.map} +1 -1
- package/dist/kolibri/Input-C4GXs6_t.js +4 -0
- package/dist/kolibri/{Input-gapU3T_x.js.map → Input-C4GXs6_t.js.map} +1 -1
- package/dist/kolibri/{InputStateWrapper-BqUbt6Z1.js → InputStateWrapper-VcabF0TQ.js} +1 -1
- package/dist/kolibri/{InputStateWrapper-BqUbt6Z1.js.map → InputStateWrapper-VcabF0TQ.js.map} +1 -1
- package/dist/kolibri/app-globals-BVpQT5l-.js +4 -0
- package/dist/kolibri/{app-globals-CH_nDgw9.js.map → app-globals-BVpQT5l-.js.map} +1 -1
- package/dist/kolibri/{component-JWUtUo3K.js → component-DYSsJEby.js} +1 -1
- package/dist/kolibri/{component-JWUtUo3K.js.map → component-DYSsJEby.js.map} +1 -1
- package/dist/kolibri/{component-ivdG1YG5.js → component-ELVCHpBx.js} +1 -1
- package/dist/kolibri/{component-ivdG1YG5.js.map → component-ELVCHpBx.js.map} +1 -1
- package/dist/kolibri/component-_7fsHLXz.js +4 -0
- package/dist/kolibri/{component-CAUcMKfc.js.map → component-_7fsHLXz.js.map} +1 -1
- package/dist/kolibri/{controller-uuOROW4Q.js → controller-BDNhpWDH.js} +1 -1
- package/dist/kolibri/{controller-uuOROW4Q.js.map → controller-BDNhpWDH.js.map} +1 -1
- package/dist/kolibri/{controller-DNd6A2sS.js → controller-BekuZ1Op.js} +1 -1
- package/dist/{esm/controller-DNd6A2sS.js.map → kolibri/controller-BekuZ1Op.js.map} +1 -1
- package/dist/kolibri/{controller-s-2oT8JD.js → controller-a2jLc4nO.js} +1 -1
- package/dist/kolibri/{controller-s-2oT8JD.js.map → controller-a2jLc4nO.js.map} +1 -1
- package/dist/kolibri/{controller-icon-CunAGg87.js → controller-icon-DzTRQeez.js} +1 -1
- package/dist/kolibri/{controller-icon-CunAGg87.js.map → controller-icon-DzTRQeez.js.map} +1 -1
- package/dist/kolibri/{controller-dp4dZN14.js → controller-uYXarCHS.js} +1 -1
- package/dist/{esm/controller-dp4dZN14.js.map → kolibri/controller-uYXarCHS.js.map} +1 -1
- package/dist/kolibri/{dev.utils-B5jWm6ia.js → dev.utils-BA_rOknz.js} +1 -1
- package/dist/kolibri/{dev.utils-B5jWm6ia.js.map → dev.utils-BA_rOknz.js.map} +1 -1
- package/dist/kolibri/{devtools-CEVR-nTz.js → devtools-BLlpffmd.js} +1 -1
- package/dist/kolibri/{devtools-CEVR-nTz.js.map → devtools-BLlpffmd.js.map} +1 -1
- package/dist/kolibri/{index-Cr4ko_DT.js → index-CwE7Ckxk.js} +1 -1
- package/dist/{esm/index-Cr4ko_DT.js.map → kolibri/index-CwE7Ckxk.js.map} +1 -1
- package/dist/kolibri/kol-abbr.entry.js +1 -1
- package/dist/kolibri/kol-accordion.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-accordion.entry.js +1 -1
- package/dist/kolibri/kol-accordion.entry.js.map +1 -1
- package/dist/kolibri/kol-alert-wc.entry.js +1 -1
- package/dist/kolibri/kol-alert.entry.js +1 -1
- package/dist/kolibri/kol-avatar.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-avatar.entry.js +1 -1
- package/dist/kolibri/kol-avatar.entry.js.map +1 -1
- package/dist/kolibri/kol-badge.entry.js +1 -1
- package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
- package/dist/kolibri/kol-button-link.entry.js +1 -1
- package/dist/kolibri/kol-button-wc.entry.js +1 -1
- package/dist/kolibri/kol-button.entry.js +1 -1
- package/dist/kolibri/kol-card-wc.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-card-wc.entry.js +1 -1
- package/dist/kolibri/kol-card-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-card.entry.js +1 -1
- package/dist/kolibri/kol-click-button.entry.js +1 -1
- package/dist/kolibri/kol-combobox.entry.js +1 -1
- package/dist/kolibri/kol-details.entry.js +1 -1
- package/dist/kolibri/kol-dialog-wc.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-dialog-wc.entry.js +1 -1
- package/dist/kolibri/kol-dialog-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-dialog.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-dialog.entry.js +1 -1
- package/dist/kolibri/kol-dialog.entry.js.map +1 -1
- package/dist/kolibri/kol-drawer.entry.esm.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-heading.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-heading.entry.js +1 -1
- package/dist/kolibri/kol-heading.entry.js.map +1 -1
- package/dist/kolibri/kol-icon.entry.js +1 -1
- package/dist/kolibri/kol-image.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-image.entry.js +1 -1
- package/dist/kolibri/kol-image.entry.js.map +1 -1
- package/dist/kolibri/kol-input-checkbox.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
- package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
- package/dist/kolibri/kol-input-color.entry.js +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-file.entry.js +1 -1
- package/dist/kolibri/kol-input-number.entry.js +1 -1
- package/dist/kolibri/kol-input-password.entry.js +1 -1
- package/dist/kolibri/kol-input-radio.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-radio.entry.js +1 -1
- package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
- package/dist/kolibri/kol-input-range.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-input-range.entry.js +1 -1
- package/dist/kolibri/kol-input-range.entry.js.map +1 -1
- package/dist/kolibri/kol-input-text.entry.js +1 -1
- package/dist/kolibri/kol-kolibri.entry.esm.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-wc.entry.js +1 -1
- package/dist/kolibri/kol-link.entry.js +1 -1
- package/dist/kolibri/kol-meter.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-meter.entry.js +1 -1
- package/dist/kolibri/kol-meter.entry.js.map +1 -1
- package/dist/kolibri/kol-modal.entry.esm.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-pagination-wc.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-pagination-wc.entry.js +1 -1
- package/dist/kolibri/kol-pagination-wc.entry.js.map +1 -1
- package/dist/kolibri/kol-pagination.entry.js +1 -1
- package/dist/kolibri/kol-popover-button-wc.entry.js +1 -1
- package/dist/kolibri/kol-popover-button.entry.js +1 -1
- package/dist/kolibri/kol-progress.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-progress.entry.js +1 -1
- package/dist/kolibri/kol-progress.entry.js.map +1 -1
- package/dist/kolibri/kol-quote.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-quote.entry.js +1 -1
- package/dist/kolibri/kol-quote.entry.js.map +1 -1
- package/dist/kolibri/kol-select-wc.entry.js +1 -1
- package/dist/kolibri/kol-select.entry.js +1 -1
- package/dist/kolibri/kol-single-select.entry.js +1 -1
- package/dist/kolibri/kol-skeleton.entry.js +1 -1
- package/dist/kolibri/kol-skip-nav.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-skip-nav.entry.js +1 -1
- package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
- package/dist/kolibri/kol-spin.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-spin.entry.js +1 -1
- package/dist/kolibri/kol-spin.entry.js.map +1 -1
- package/dist/kolibri/kol-split-button.entry.js +1 -1
- package/dist/kolibri/kol-table-settings-wc.entry.js +1 -1
- package/dist/kolibri/kol-table-stateful.entry.esm.js.map +1 -1
- package/dist/kolibri/kol-table-stateful.entry.js +1 -1
- package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
- package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
- package/dist/kolibri/kol-table-stateless.entry.esm.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-tabs.entry.js +1 -1
- package/dist/kolibri/kol-textarea.entry.js +1 -1
- package/dist/kolibri/kol-toast-container.entry.js +1 -1
- package/dist/kolibri/kol-toolbar.entry.js +1 -1
- package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
- package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
- package/dist/kolibri/kol-tree-item.entry.esm.js.map +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.esm.js.map +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.esm.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/test-component.entry.js +1 -1
- package/dist/types/components/card/component.d.ts +3 -3
- package/dist/types/components/component-list.d.ts +1 -2
- package/dist/types/components/dialog/component.d.ts +9 -2
- package/dist/types/components/dialog/shadow.d.ts +5 -1
- package/dist/types/components/drawer/shadow.d.ts +10 -3
- package/dist/types/components/modal/shadow.d.ts +3 -0
- package/dist/types/components.d.ts +88 -2
- package/dist/types/schema/components/dialog.d.ts +3 -1
- package/dist/types/schema/components/drawer.d.ts +3 -1
- package/doc/dialog.md +39 -2
- package/doc/drawer.md +28 -1
- package/doc/modal.md +38 -2
- package/package.json +6 -4
- package/vscode-custom-data.json +8 -0
- package/dist/esm/controller-uuOROW4Q.js +0 -4
- package/dist/kolibri/FieldControlStateWrapper-qsQt4MoI.js +0 -4
- package/dist/kolibri/FormFieldStateWrapper-Zct_Wau1.js +0 -4
- package/dist/kolibri/Heading-BUjPChHT.js +0 -4
- package/dist/kolibri/Input-gapU3T_x.js +0 -4
- package/dist/kolibri/app-globals-CH_nDgw9.js +0 -4
- package/dist/kolibri/component-CAUcMKfc.js +0 -4
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import type { JSX } from '../../stencil-public-runtime';
|
|
2
|
-
import type { DialogProps, KoliBriDialogEventCallbacks, LabelPropType } from '../../schema';
|
|
2
|
+
import type { DialogProps, HeadingLevel, KoliBriDialogEventCallbacks, LabelPropType } from '../../schema';
|
|
3
3
|
import type { ModalVariantPropType } from '../../schema/props/variant/modal';
|
|
4
4
|
export declare class KolDialog implements DialogProps {
|
|
5
5
|
private dialogRef?;
|
|
6
6
|
private readonly catchRef;
|
|
7
7
|
openModal(): Promise<void>;
|
|
8
|
+
showModal(): Promise<void>;
|
|
9
|
+
show(modal?: boolean): Promise<void>;
|
|
10
|
+
close(): Promise<void>;
|
|
8
11
|
closeModal(): Promise<void>;
|
|
9
12
|
render(): JSX.Element;
|
|
10
13
|
_label: LabelPropType;
|
|
14
|
+
_level?: HeadingLevel;
|
|
11
15
|
_on?: KoliBriDialogEventCallbacks;
|
|
12
16
|
_width?: string;
|
|
13
17
|
_variant?: ModalVariantPropType;
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import type { JSX } from '../../stencil-public-runtime';
|
|
2
|
-
import type { AlignPropType, DrawerAPI, DrawerStates, HasCloserPropType, KoliBriModalEventCallbacks, LabelPropType, OpenPropType } from '../../schema';
|
|
2
|
+
import type { AlignPropType, DrawerAPI, DrawerStates, HasCloserPropType, HeadingLevel, KoliBriModalEventCallbacks, LabelPropType, OpenPropType } from '../../schema';
|
|
3
3
|
export declare class KolDrawer implements DrawerAPI {
|
|
4
4
|
private readonly host?;
|
|
5
5
|
private dialogElement?;
|
|
6
6
|
private dialogWrapperElement?;
|
|
7
|
+
private readonly cardHeadingId;
|
|
8
|
+
private isModal;
|
|
9
|
+
show(modal?: boolean): Promise<void>;
|
|
10
|
+
showModal(): Promise<void>;
|
|
7
11
|
open(): Promise<void>;
|
|
8
12
|
close(): Promise<void>;
|
|
13
|
+
private readonly _cardOn;
|
|
9
14
|
private getWrapperRef;
|
|
10
15
|
private renderDialogContent;
|
|
11
16
|
private getRef;
|
|
@@ -14,17 +19,19 @@ export declare class KolDrawer implements DrawerAPI {
|
|
|
14
19
|
_align?: AlignPropType;
|
|
15
20
|
_hasCloser?: boolean;
|
|
16
21
|
_label: LabelPropType;
|
|
22
|
+
_level?: HeadingLevel;
|
|
17
23
|
_on?: KoliBriModalEventCallbacks;
|
|
18
24
|
state: DrawerStates;
|
|
19
25
|
validateLabel(value?: LabelPropType): void;
|
|
20
26
|
validateAlign(value?: AlignPropType): void;
|
|
21
27
|
validateHasCloser(value?: HasCloserPropType): void;
|
|
28
|
+
validateLevel(value?: HeadingLevel): void;
|
|
22
29
|
validateOpen(value?: OpenPropType): void;
|
|
23
30
|
private openOrCloseBasedOnState;
|
|
24
31
|
validateOn(value?: KoliBriModalEventCallbacks): void;
|
|
25
32
|
private handleCloseDialog;
|
|
26
|
-
private handleClose;
|
|
27
|
-
private handleAnimationEnd;
|
|
33
|
+
private readonly handleClose;
|
|
34
|
+
private readonly handleAnimationEnd;
|
|
28
35
|
componentDidLoad(): void;
|
|
29
36
|
disconnectedCallback(): void;
|
|
30
37
|
componentWillLoad(): void;
|
|
@@ -5,6 +5,9 @@ export declare class KolModal implements DialogProps {
|
|
|
5
5
|
private dialogRef?;
|
|
6
6
|
private readonly catchRef;
|
|
7
7
|
openModal(): Promise<void>;
|
|
8
|
+
showModal(): Promise<void>;
|
|
9
|
+
show(modal?: boolean): Promise<void>;
|
|
10
|
+
close(): Promise<void>;
|
|
8
11
|
closeModal(): Promise<void>;
|
|
9
12
|
render(): JSX.Element;
|
|
10
13
|
_label: LabelPropType;
|
|
@@ -568,6 +568,11 @@ export namespace Components {
|
|
|
568
568
|
* @default false
|
|
569
569
|
*/
|
|
570
570
|
"_hasCloser"?: boolean;
|
|
571
|
+
/**
|
|
572
|
+
* Defines the ID of the heading element. If not provided, an internal ID will be generated.
|
|
573
|
+
* @default nonce()
|
|
574
|
+
*/
|
|
575
|
+
"_headingId"?: string;
|
|
571
576
|
/**
|
|
572
577
|
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).
|
|
573
578
|
*/
|
|
@@ -741,6 +746,11 @@ export namespace Components {
|
|
|
741
746
|
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).
|
|
742
747
|
*/
|
|
743
748
|
"_label": LabelPropType;
|
|
749
|
+
/**
|
|
750
|
+
* Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text.
|
|
751
|
+
* @default 0
|
|
752
|
+
*/
|
|
753
|
+
"_level"?: HeadingLevel;
|
|
744
754
|
/**
|
|
745
755
|
* Defines the modal callback functions.
|
|
746
756
|
*/
|
|
@@ -758,11 +768,25 @@ export namespace Components {
|
|
|
758
768
|
/**
|
|
759
769
|
* Closes the dialog.
|
|
760
770
|
*/
|
|
771
|
+
"close": () => Promise<void>;
|
|
772
|
+
/**
|
|
773
|
+
* Closes the dialog.
|
|
774
|
+
* @deprecated Use close() instead.
|
|
775
|
+
*/
|
|
761
776
|
"closeModal": () => Promise<void>;
|
|
762
777
|
/**
|
|
763
778
|
* Opens the dialog.
|
|
779
|
+
* @deprecated Use showModal() instead.
|
|
764
780
|
*/
|
|
765
781
|
"openModal": () => Promise<void>;
|
|
782
|
+
/**
|
|
783
|
+
* Opens the dialog. Pass true to open as a modal dialog.
|
|
784
|
+
*/
|
|
785
|
+
"show": (modal?: boolean) => Promise<void>;
|
|
786
|
+
/**
|
|
787
|
+
* Opens the dialog as a modal.
|
|
788
|
+
*/
|
|
789
|
+
"showModal": () => Promise<void>;
|
|
766
790
|
}
|
|
767
791
|
/**
|
|
768
792
|
* https://en.wikipedia.org/wiki/Modal_window
|
|
@@ -772,6 +796,11 @@ export namespace Components {
|
|
|
772
796
|
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).
|
|
773
797
|
*/
|
|
774
798
|
"_label": LabelPropType;
|
|
799
|
+
/**
|
|
800
|
+
* Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text.
|
|
801
|
+
* @default 0
|
|
802
|
+
*/
|
|
803
|
+
"_level"?: HeadingLevel;
|
|
775
804
|
/**
|
|
776
805
|
* Defines the modal callback functions.
|
|
777
806
|
*/
|
|
@@ -787,13 +816,27 @@ export namespace Components {
|
|
|
787
816
|
*/
|
|
788
817
|
"_width"?: string;
|
|
789
818
|
/**
|
|
790
|
-
* Closes the
|
|
819
|
+
* Closes the dialog.
|
|
820
|
+
*/
|
|
821
|
+
"close": () => Promise<void>;
|
|
822
|
+
/**
|
|
823
|
+
* Closes the dialog.
|
|
824
|
+
* @deprecated Use close() instead.
|
|
791
825
|
*/
|
|
792
826
|
"closeModal": () => Promise<void>;
|
|
793
827
|
/**
|
|
794
|
-
* Opens the modal
|
|
828
|
+
* Opens the dialog as a modal.
|
|
829
|
+
* @deprecated Use showModal() instead.
|
|
795
830
|
*/
|
|
796
831
|
"openModal": () => Promise<void>;
|
|
832
|
+
/**
|
|
833
|
+
* Opens the dialog. Pass true to open as a modal dialog.
|
|
834
|
+
*/
|
|
835
|
+
"show": (modal?: boolean) => Promise<void>;
|
|
836
|
+
/**
|
|
837
|
+
* Opens the dialog as a modal.
|
|
838
|
+
*/
|
|
839
|
+
"showModal": () => Promise<void>;
|
|
797
840
|
}
|
|
798
841
|
interface KolDrawer {
|
|
799
842
|
/**
|
|
@@ -810,6 +853,11 @@ export namespace Components {
|
|
|
810
853
|
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).
|
|
811
854
|
*/
|
|
812
855
|
"_label": LabelPropType;
|
|
856
|
+
/**
|
|
857
|
+
* Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text.
|
|
858
|
+
* @default 0
|
|
859
|
+
*/
|
|
860
|
+
"_level"?: HeadingLevel;
|
|
813
861
|
/**
|
|
814
862
|
* Specifies the EventCallback function to be called when the drawer is closing.
|
|
815
863
|
*/
|
|
@@ -824,8 +872,17 @@ export namespace Components {
|
|
|
824
872
|
"close": () => Promise<void>;
|
|
825
873
|
/**
|
|
826
874
|
* Opens the drawer.
|
|
875
|
+
* @deprecated Use show() or showModal() instead.
|
|
827
876
|
*/
|
|
828
877
|
"open": () => Promise<void>;
|
|
878
|
+
/**
|
|
879
|
+
* Opens the drawer. Pass true to open as a modal drawer.
|
|
880
|
+
*/
|
|
881
|
+
"show": (modal?: boolean) => Promise<void>;
|
|
882
|
+
/**
|
|
883
|
+
* Opens the drawer as a modal.
|
|
884
|
+
*/
|
|
885
|
+
"showModal": () => Promise<void>;
|
|
829
886
|
}
|
|
830
887
|
/**
|
|
831
888
|
* The **Form** component is used to wrap all input fields, correctly position the required-fields hint text, and forward the `submit` and `reset` events.
|
|
@@ -2477,11 +2534,25 @@ export namespace Components {
|
|
|
2477
2534
|
/**
|
|
2478
2535
|
* Closes the modal dialog.
|
|
2479
2536
|
*/
|
|
2537
|
+
"close": () => Promise<void>;
|
|
2538
|
+
/**
|
|
2539
|
+
* Closes the modal dialog.
|
|
2540
|
+
* @deprecated Use close() instead.
|
|
2541
|
+
*/
|
|
2480
2542
|
"closeModal": () => Promise<void>;
|
|
2481
2543
|
/**
|
|
2482
2544
|
* Opens the modal dialog.
|
|
2545
|
+
* @deprecated Use showModal() instead.
|
|
2483
2546
|
*/
|
|
2484
2547
|
"openModal": () => Promise<void>;
|
|
2548
|
+
/**
|
|
2549
|
+
* Opens the dialog. Pass true to open as a modal dialog.
|
|
2550
|
+
*/
|
|
2551
|
+
"show": (modal?: boolean) => Promise<void>;
|
|
2552
|
+
/**
|
|
2553
|
+
* Opens the dialog as a modal.
|
|
2554
|
+
*/
|
|
2555
|
+
"showModal": () => Promise<void>;
|
|
2485
2556
|
}
|
|
2486
2557
|
/**
|
|
2487
2558
|
* The **Nav** component renders a group of related links or navigation elements that perform an action or display content when clicked.
|
|
@@ -5320,6 +5391,11 @@ declare namespace LocalJSX {
|
|
|
5320
5391
|
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).
|
|
5321
5392
|
*/
|
|
5322
5393
|
"_label": LabelPropType;
|
|
5394
|
+
/**
|
|
5395
|
+
* Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text.
|
|
5396
|
+
* @default 0
|
|
5397
|
+
*/
|
|
5398
|
+
"_level"?: HeadingLevel;
|
|
5323
5399
|
/**
|
|
5324
5400
|
* Defines the modal callback functions.
|
|
5325
5401
|
*/
|
|
@@ -5343,6 +5419,11 @@ declare namespace LocalJSX {
|
|
|
5343
5419
|
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).
|
|
5344
5420
|
*/
|
|
5345
5421
|
"_label": LabelPropType;
|
|
5422
|
+
/**
|
|
5423
|
+
* Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text.
|
|
5424
|
+
* @default 0
|
|
5425
|
+
*/
|
|
5426
|
+
"_level"?: HeadingLevel;
|
|
5346
5427
|
/**
|
|
5347
5428
|
* Defines the modal callback functions.
|
|
5348
5429
|
*/
|
|
@@ -5373,6 +5454,11 @@ declare namespace LocalJSX {
|
|
|
5373
5454
|
* Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).
|
|
5374
5455
|
*/
|
|
5375
5456
|
"_label": LabelPropType;
|
|
5457
|
+
/**
|
|
5458
|
+
* Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text.
|
|
5459
|
+
* @default 0
|
|
5460
|
+
*/
|
|
5461
|
+
"_level"?: HeadingLevel;
|
|
5376
5462
|
/**
|
|
5377
5463
|
* Specifies the EventCallback function to be called when the drawer is closing.
|
|
5378
5464
|
*/
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import type { Generic } from 'adopted-style-sheets';
|
|
2
|
-
import type { PropLabel } from '../props';
|
|
2
|
+
import type { HeadingLevel, PropLabel } from '../props';
|
|
3
3
|
import type { PropDialogVariant } from '../props/variant/dialog';
|
|
4
4
|
import type { KoliBriModalEventCallbacks } from '../types';
|
|
5
5
|
type RequiredProps = PropLabel;
|
|
6
6
|
type OptionalProps = {
|
|
7
7
|
on: KoliBriModalEventCallbacks;
|
|
8
8
|
width: string;
|
|
9
|
+
level?: HeadingLevel;
|
|
9
10
|
} & PropDialogVariant;
|
|
10
11
|
type RequiredStates = {
|
|
11
12
|
width: string;
|
|
12
13
|
} & PropLabel;
|
|
13
14
|
type OptionalStates = {
|
|
15
|
+
level?: HeadingLevel;
|
|
14
16
|
on: KoliBriModalEventCallbacks;
|
|
15
17
|
} & PropDialogVariant;
|
|
16
18
|
export type DialogProps = Generic.Element.Members<RequiredProps, OptionalProps>;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import type { Generic } from 'adopted-style-sheets';
|
|
2
|
-
import type { PropAlign, PropHasCloser, PropLabel, PropOpen } from '../props';
|
|
2
|
+
import type { HeadingLevel, PropAlign, PropHasCloser, PropLabel, PropOpen } from '../props';
|
|
3
3
|
import type { KoliBriModalEventCallbacks } from '../types';
|
|
4
4
|
type RequiredProps = PropLabel;
|
|
5
5
|
type OptionalProps = PropAlign & PropHasCloser & PropOpen & {
|
|
6
|
+
level?: HeadingLevel;
|
|
6
7
|
on: KoliBriModalEventCallbacks;
|
|
7
8
|
};
|
|
8
9
|
type RequiredStates = PropAlign & PropOpen & PropLabel;
|
|
9
10
|
type OptionalStates = PropHasCloser & {
|
|
11
|
+
level?: HeadingLevel;
|
|
10
12
|
on: KoliBriModalEventCallbacks;
|
|
11
13
|
};
|
|
12
14
|
export type DrawerProps = Generic.Element.Members<RequiredProps, OptionalProps>;
|
package/doc/dialog.md
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
| Property | Attribute | Description | Type | Default |
|
|
9
9
|
| --------------------- | ---------- | ------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------- | ----------- |
|
|
10
10
|
| `_label` _(required)_ | `_label` | Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). | `string` | `undefined` |
|
|
11
|
+
| `_level` | `_level` | Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text. | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| undefined` | `0` |
|
|
11
12
|
| `_on` | -- | Defines the modal callback functions. | `undefined \| ({ onClose?: (() => void) \| undefined; })` | `undefined` |
|
|
12
13
|
| `_variant` | `_variant` | Defines the variant of the modal. | `"blank" \| "card" \| undefined` | `'blank'` |
|
|
13
14
|
| `_width` | `_width` | Defines the width of the modal. (max-width: 100%) | `string \| undefined` | `'100%'` |
|
|
@@ -15,7 +16,7 @@
|
|
|
15
16
|
|
|
16
17
|
## Methods
|
|
17
18
|
|
|
18
|
-
### `
|
|
19
|
+
### `close() => Promise<void>`
|
|
19
20
|
|
|
20
21
|
Closes the dialog.
|
|
21
22
|
|
|
@@ -25,9 +26,45 @@ Type: `Promise<void>`
|
|
|
25
26
|
|
|
26
27
|
|
|
27
28
|
|
|
29
|
+
### `closeModal() => Promise<void>`
|
|
30
|
+
|
|
31
|
+
<span class="text-red-500">**[DEPRECATED]**</span> Use close() instead.<br/><br/>Closes the dialog.
|
|
32
|
+
|
|
33
|
+
#### Returns
|
|
34
|
+
|
|
35
|
+
Type: `Promise<void>`
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
28
39
|
### `openModal() => Promise<void>`
|
|
29
40
|
|
|
30
|
-
Opens the dialog.
|
|
41
|
+
<span style="color:red">**[DEPRECATED]**</span> Use showModal() instead.<br/><br/>Opens the dialog.
|
|
42
|
+
|
|
43
|
+
#### Returns
|
|
44
|
+
|
|
45
|
+
Type: `Promise<void>`
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### `show(modal?: boolean) => Promise<void>`
|
|
50
|
+
|
|
51
|
+
Opens the dialog. Pass true to open as a modal dialog.
|
|
52
|
+
|
|
53
|
+
#### Parameters
|
|
54
|
+
|
|
55
|
+
| Name | Type | Description |
|
|
56
|
+
| ------- | --------- | ----------- |
|
|
57
|
+
| `modal` | `boolean` | |
|
|
58
|
+
|
|
59
|
+
#### Returns
|
|
60
|
+
|
|
61
|
+
Type: `Promise<void>`
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
### `showModal() => Promise<void>`
|
|
66
|
+
|
|
67
|
+
Opens the dialog as a modal.
|
|
31
68
|
|
|
32
69
|
#### Returns
|
|
33
70
|
|
package/doc/drawer.md
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
| `_align` | `_align` | Defines the visual orientation of the component. | `"bottom" \| "left" \| "right" \| "top" \| undefined` | `undefined` |
|
|
11
11
|
| `_hasCloser` | `_has-closer` | Defines whether the element can be closed. | `boolean \| undefined` | `false` |
|
|
12
12
|
| `_label` _(required)_ | `_label` | Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). | `string` | `undefined` |
|
|
13
|
+
| `_level` | `_level` | Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text. | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| undefined` | `0` |
|
|
13
14
|
| `_on` | -- | Specifies the EventCallback function to be called when the drawer is closing. | `undefined \| ({ onClose?: (() => void) \| undefined; })` | `undefined` |
|
|
14
15
|
| `_open` | `_open` | Opens/expands the element when truthy, closes/collapses when falsy. | `boolean \| undefined` | `undefined` |
|
|
15
16
|
|
|
@@ -28,7 +29,33 @@ Type: `Promise<void>`
|
|
|
28
29
|
|
|
29
30
|
### `open() => Promise<void>`
|
|
30
31
|
|
|
31
|
-
Opens the drawer.
|
|
32
|
+
<span class="text-red-500">**[DEPRECATED]**</span> Use show() or showModal() instead.<br/><br/>Opens the drawer.
|
|
33
|
+
|
|
34
|
+
#### Returns
|
|
35
|
+
|
|
36
|
+
Type: `Promise<void>`
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### `show(modal?: boolean) => Promise<void>`
|
|
41
|
+
|
|
42
|
+
Opens the drawer. Pass true to open as a modal drawer.
|
|
43
|
+
|
|
44
|
+
#### Parameters
|
|
45
|
+
|
|
46
|
+
| Name | Type | Description |
|
|
47
|
+
| ------- | --------- | ----------- |
|
|
48
|
+
| `modal` | `boolean` | |
|
|
49
|
+
|
|
50
|
+
#### Returns
|
|
51
|
+
|
|
52
|
+
Type: `Promise<void>`
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### `showModal() => Promise<void>`
|
|
57
|
+
|
|
58
|
+
Opens the drawer as a modal.
|
|
32
59
|
|
|
33
60
|
#### Returns
|
|
34
61
|
|
package/doc/modal.md
CHANGED
|
@@ -21,7 +21,7 @@ The **Modal** component has been superseded by `kol-dialog`, which provides impr
|
|
|
21
21
|
|
|
22
22
|
## Methods
|
|
23
23
|
|
|
24
|
-
### `
|
|
24
|
+
### `close() => Promise<void>`
|
|
25
25
|
|
|
26
26
|
Closes the modal dialog.
|
|
27
27
|
|
|
@@ -31,9 +31,45 @@ Type: `Promise<void>`
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
+
### `closeModal() => Promise<void>`
|
|
35
|
+
|
|
36
|
+
<span class="text-red-500">**[DEPRECATED]**</span> Use close() instead.<br/><br/>Closes the modal dialog.
|
|
37
|
+
|
|
38
|
+
#### Returns
|
|
39
|
+
|
|
40
|
+
Type: `Promise<void>`
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
34
44
|
### `openModal() => Promise<void>`
|
|
35
45
|
|
|
36
|
-
Opens the modal dialog.
|
|
46
|
+
<span style="color:red">**[DEPRECATED]**</span> Use showModal() instead.<br/><br/>Opens the modal dialog.
|
|
47
|
+
|
|
48
|
+
#### Returns
|
|
49
|
+
|
|
50
|
+
Type: `Promise<void>`
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### `show(modal?: boolean) => Promise<void>`
|
|
55
|
+
|
|
56
|
+
Opens the dialog. Pass true to open as a modal dialog.
|
|
57
|
+
|
|
58
|
+
#### Parameters
|
|
59
|
+
|
|
60
|
+
| Name | Type | Description |
|
|
61
|
+
| ------- | --------- | ----------- |
|
|
62
|
+
| `modal` | `boolean` | |
|
|
63
|
+
|
|
64
|
+
#### Returns
|
|
65
|
+
|
|
66
|
+
Type: `Promise<void>`
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
### `showModal() => Promise<void>`
|
|
71
|
+
|
|
72
|
+
Opens the dialog as a modal.
|
|
37
73
|
|
|
38
74
|
#### Returns
|
|
39
75
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@public-ui/components",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.5-rc.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"homepage": "https://public-ui.github.io",
|
|
6
6
|
"repository": {
|
|
@@ -104,21 +104,23 @@
|
|
|
104
104
|
"adopted-style-sheets": "1.1.9-rc.21",
|
|
105
105
|
"autoprefixer": "10.5.0",
|
|
106
106
|
"cross-env": "10.1.0",
|
|
107
|
-
"cssnano": "7.1.
|
|
107
|
+
"cssnano": "7.1.9",
|
|
108
108
|
"eslint": "9.39.4",
|
|
109
|
+
"eslint-plugin-boundaries": "6.0.2",
|
|
110
|
+
"eslint-plugin-import": "2.32.0",
|
|
109
111
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
110
112
|
"jest": "29.7.0",
|
|
111
113
|
"jest-cli": "^29.7.0",
|
|
112
114
|
"knip": "5.88.1",
|
|
113
115
|
"mustache": "4.2.0",
|
|
114
|
-
"postcss": "8.5.
|
|
116
|
+
"postcss": "8.5.14",
|
|
115
117
|
"postcss-sorting": "9.1.0",
|
|
116
118
|
"prettier": "3.8.3",
|
|
117
119
|
"prettier-plugin-organize-imports": "4.3.0",
|
|
118
120
|
"pug": "3.0.4",
|
|
119
121
|
"rimraf": "6.1.3",
|
|
120
122
|
"stencil-awesome-test": "1.0.6",
|
|
121
|
-
"stylelint": "17.
|
|
123
|
+
"stylelint": "17.11.0",
|
|
122
124
|
"terser": "5.46.2",
|
|
123
125
|
"twig": "1.17.1",
|
|
124
126
|
"typescript": "5.9.3",
|
package/vscode-custom-data.json
CHANGED
|
@@ -577,6 +577,10 @@
|
|
|
577
577
|
"name": "_label",
|
|
578
578
|
"description": "Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.)."
|
|
579
579
|
},
|
|
580
|
+
{
|
|
581
|
+
"name": "_level",
|
|
582
|
+
"description": "Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text."
|
|
583
|
+
},
|
|
580
584
|
{
|
|
581
585
|
"name": "_variant",
|
|
582
586
|
"description": "Defines the variant of the modal.",
|
|
@@ -628,6 +632,10 @@
|
|
|
628
632
|
"name": "_label",
|
|
629
633
|
"description": "Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.)."
|
|
630
634
|
},
|
|
635
|
+
{
|
|
636
|
+
"name": "_level",
|
|
637
|
+
"description": "Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text."
|
|
638
|
+
},
|
|
631
639
|
{
|
|
632
640
|
"name": "_open",
|
|
633
641
|
"description": "Opens/expands the element when truthy, closes/collapses when falsy."
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{h}from"./index-Cr4ko_DT.js";import{b as bem}from"./bem-registry-Bux_TllX.js";import"./common-BqV6Zb30.js";import{l as labelProp}from"./label-DK7sT-k5.js";import"./variant-quote-DI6q8gPw.js";import{B as BaseController}from"./base-controller-CXhqh4cR.js";const clickButtonBem=bem.forBlock("kol-click-button"),BEM_CLASS_CLICK_BUTTON=clickButtonBem(),BEM_CLASS_CLICK_BUTTON__LABEL=clickButtonBem("label"),ClickButtonFC=({label:o,handleClick:t,refButton:l})=>h("button",{class:BEM_CLASS_CLICK_BUTTON,ref:l,onClick:t,onKeyDown:o=>o.preventDefault()},h("span",{class:BEM_CLASS_CLICK_BUTTON__LABEL},o)),clickButtonPropsConfig={required:[labelProp]};class ClickButtonController extends BaseController{constructor(o){super(o,clickButtonPropsConfig),this.handleClick=()=>{console.log(this,this.buttonRef,"button clicked")},this.setButtonRef=o=>{this.buttonRef=o}}componentWillLoad(o){const{label:t}=o;this.watchLabel(t)}watchLabel(o){labelProp.apply(o,o=>{this.setRenderProp("label",o)})}focus(){var o;null===(o=this.buttonRef)||void 0===o||o.focus()}}export{ClickButtonFC as C,ClickButtonController as a};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{_ as o}from"./tslib.es6-CxX45GIN.js";import{h as l,F as e}from"./index-Cr4ko_DT.js";import{B as t}from"./variant-quote-DI6q8gPw.js";import{T as i}from"./component-JWUtUo3K.js";import{T as n}from"./controller-Cf3CGZT-.js";import"./common-BqV6Zb30.js";import{b as s,s as r}from"./component-ivdG1YG5.js";import{K as a,b as d,g as c,i as f}from"./FormFieldStateWrapper-Zct_Wau1.js";import{c as b}from"./clsx-COFh-Vc8.js";const p=new Map,u=l=>{const e=p.get(l);if(e)return e;const o=new n(t.stateLess);return o.componentWillLoad({label:""}),p.set(l,o),o},m=l=>{const e=p.get(l);e&&(e.destroy(),p.delete(l))},h=(e,t)=>{var{class:s}=e,i=o(e,["class"]);return l("div",Object.assign({class:b("kol-field-control__input",s)},i),t)},v=(t,n)=>{const{class:p,id:g,disabled:_,label:y,hideLabel:j,labelAlign:v,renderNoTooltip:C,hint:k,renderNoHint:K,accessKey:B,shortKey:T,msg:L,touched:q,required:O,readonly:P,tooltipAlign:x,tooltipFloatingRef:A,fieldControlInputProps:F,fieldControlLabelProps:w,fieldControlTooltipProps:N,fieldControlHintProps:I}=t,G=o(t,["class","id","disabled","label","hideLabel","labelAlign","renderNoTooltip","hint","renderNoHint","accessKey","shortKey","msg","touched","required","readonly","tooltipAlign","tooltipFloatingRef","fieldControlInputProps","fieldControlLabelProps","fieldControlTooltipProps","fieldControlHintProps"]),H=!K,W=!C,$=r(y),R=W&&!$&&j,Z=s(B,T),D=R?u(g):void 0;D?(D.watchAlign(x),D.watchBadgeText(Z||""),D.watchId(`${g}-label`),D.watchLabel(y)):m(g);const E=null==F?void 0:F.ref,S=[l(e,null,l(h,Object.assign({},F,{ref:l=>{null==E||E(l),D&&l&&(D.initContext(l),D.syncListeners(void 0,l,!0))}}),n),R&&l("div",{class:b("kol-form-field__tooltip",null==N?void 0:N.class)},l(i,{badgeText:Z||"",label:y,align:x,id:`${g}-label`,refFloating:null!=A?A:l=>{null==D||D.setTooltipElementRef(l)}}))),l(a,Object.assign({},w||{},{id:g,baseClassName:"kol-field-control",class:b(null==w?void 0:w.class,{"kol-field-control__label--visually-hidden":Boolean(j)}),hasExpertSlot:$,label:y,accessKey:B,shortKey:T}))];"left"===v&&S.reverse();const U={"kol-field-control--disabled":Boolean(_),"kol-field-control--required":Boolean(O),"kol-field-control--touched":Boolean(q),"kol-field-control--hide-label":Boolean(j),"kol-field-control--read-only":Boolean(P),[`kol-field-control--${c(L)}`]:Boolean(f(L,q)),[`kol-field-control--label-align-${v}`]:Boolean(v)};return l("div",Object.assign({class:b("kol-field-control",U,p)},G),S,H&&l(d,Object.assign({},I||{},{baseClassName:"kol-field-control",id:g,hint:k})))};function g(l){const e={id:l._id,disabled:l._disabled,msg:l._msg,hint:l._hint,label:l._label,hideLabel:l._hideLabel,touched:l._touched};return"_required"in l&&(e.required=l._required),"_readOnly"in l&&(e.readonly=l._readOnly),"_labelAlign"in l&&(e.labelAlign=l._labelAlign),"_accessKey"in l&&(e.accessKey=l._accessKey),"_shortKey"in l&&(e.shortKey=l._shortKey),e}const j=(e,t)=>{var{state:s}=e,i=o(e,["state"]);return l(v,Object.assign({},g(s),i),t)};export{j as F};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{e,g as t,p as i,o as r,b as n,F as o,i as s,s as a,l}from"./common-BqV6Zb30.js";import{v as d,a as c,b as u,c as h}from"./access-and-short-key-D2TiPdWw.js";import{v as f}from"./disabled-BBn2JEzf.js";import{v as m}from"./hide-label-DQL9J6E_.js";import{a as p}from"./label-vxVEH2gH.js";import{v}from"./tooltip-align-DnbCY1Uu.js";import{d as b,K as g}from"./events-DHTi_wtD.js";import{A as y}from"./associated.controller-BKQIR17-.js";import{i as _}from"./_Uint8Array-kJHDjtoP.js";import{i as j,b as x,r as B}from"./isArray-CcrBs4JM.js";import{_ as k}from"./tslib.es6-CxX45GIN.js";import{h as L,F as C}from"./index-Cr4ko_DT.js";import{B as O}from"./variant-quote-DI6q8gPw.js";import{T as K}from"./component-JWUtUo3K.js";import{T}from"./controller-Cf3CGZT-.js";import{S as w,b as D,s as F}from"./component-ivdG1YG5.js";import{c as S}from"./clsx-COFh-Vc8.js";import{t as $}from"./i18n-BVaUp6qp.js";import{K as P}from"./Alert-C2H3wE4_.js";var M="[object Symbol]";function H(e){return"symbol"==typeof e||j(e)&&x(e)==M}var E=/\s/;function N(e){for(var t=e.length;t--&&E.test(e.charAt(t)););return t}var I=/^\s+/;function q(e){return e?e.slice(0,N(e)+1).replace(I,""):e}var A=NaN,J=/^[-+]0x[0-9a-f]+$/i,U=/^0b[01]+$/i,V=/^0o[0-7]+$/i,W=parseInt;function G(e){if("number"==typeof e)return e;if(H(e))return A;if(_(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=_(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=q(e);var n=U.test(e);return n||V.test(e)?W(e.slice(2),n?2:8):J.test(e)?A:+e}var R=function(){return B.Date.now()},z="Expected a function",Q=Math.max,Y=Math.min;function Z(e,t,n){var o,i,r,s,a,l,c=0,d=!1,h=!1,u=!0;if("function"!=typeof e)throw new TypeError(z);function m(t){var n=o,r=i;return o=i=void 0,c=t,s=e.apply(r,n)}function p(e){var n=e-l;return void 0===l||n>=t||n<0||h&&e-c>=r}function f(){var e=R();if(p(e))return g(e);a=setTimeout(f,function(e){var n=t-(e-l);return h?Y(n,r-(e-c)):n}(e))}function g(e){return a=void 0,u&&o?m(e):(o=i=void 0,s)}function v(){var e=R(),n=p(e);if(o=arguments,i=this,l=e,n){if(void 0===a)return function(e){return c=e,a=setTimeout(f,t),d?m(e):s}(l);if(h)return clearTimeout(a),a=setTimeout(f,t),m(l)}return void 0===a&&(a=setTimeout(f,t)),s}return t=G(t)||0,_(n)&&(d=!!n.leading,r=(h="maxWait"in n)?Q(G(n.maxWait)||0,t):r,u="trailing"in n?!!n.trailing:u),v.cancel=function(){void 0!==a&&clearTimeout(a),c=0,o=l=i=a=void 0},v.flush=function(){return void 0===a?s:g(R())},v}const X=(t,n)=>{e(t,"_adjustHeight",n)},ee=(t,n,o)=>{e(t,"_hideMsg",n,o)},te=(e,n)=>{t(e,"_hint",n)},ie=(e,t)=>{r(t,()=>{try{t=i(t)}catch(e){}n(e,"_msg",e=>{if(void 0===e)return!0;if("string"==typeof e&&e.length>0)return!0;if(o(e)&&null!==e){const t=e._description;return s(t,1)}return!1},new Set(["MsgPropType","string"]),t)})};function re(e,t){return Boolean(e)&&!0===t}function ne(e){if("string"==typeof e)try{return i(e)}catch(t){return{_description:e,_type:"error"}}return e&&"object"==typeof e&&!("_type"in e)?Object.assign(Object.assign({},e),{_type:"error"}):e}function oe(e){var t;return"string"==typeof e?"error":null!==(t=null==e?void 0:e._type)&&void 0!==t?t:"error"}const se=(t,n)=>{e(t,"_touched",n)};class ae extends y{constructor(e,t,n){super(e,t,n),this.component=e}validateTouched(e){se(this.component,e)}componentWillLoad(){super.componentWillLoad(),this.validateTouched(this.component._touched)}}class le extends ae{constructor(e,t,n){super(e,t,n),this.valueChangeListeners=[],this.onFacade={onBlur:this.onBlur.bind(this),onChange:this.onChange.bind(this),onClick:this.onClick.bind(this),onFocus:this.onFocus.bind(this),onInput:this.onInput.bind(this),onKeyDown:this.onKeyDown.bind(this)},this.updateCurrentLengthDebounced=Z(e=>{a(this.component,"_currentLengthDebounced",e)},500),this.component=e}validateAccessKey(e){d(this.component,e),c(e,this.component._shortKey)}validateAdjustHeight(e){X(this.component,e)}validateDisabled(e){f(this.component,e)}validateTooltipAlign(e){v(this.component,e)}validateHideMsg(e){ee(this.component,e,{hooks:{afterPatch:()=>{this.component.state._hideMsg&&l("Property _hideMsg for inputs: Only use when the error message is shown outside of the input component.")}}})}validateHideLabel(e){m(this.component,e,{hooks:{afterPatch:()=>{this.component.state._hideLabel&&l("Property hide-label for inputs: Only use for exceptions like search inputs that are clearly identifiable by their context.")}}})}validateHint(e){te(this.component,e)}validateLabel(e){p(this.component,e,{required:!0})}validateMsg(e){ie(this.component,e)}validateOn(e){"object"==typeof e&&a(this.component,"_on",e)}validateShortKey(e){u(this.component,e),c(this.component._accessKey,e)}validateSmartButton(e){r(e,()=>{try{e=i(e)}catch(e){}a(this.component,"_smartButton",e)})}validateTabIndex(e){h(this.component,e)}componentWillLoad(){super.componentWillLoad(),this.validateAccessKey(this.component._accessKey),this.validateAdjustHeight(this.component._adjustHeight),this.validateMsg(this.component._msg),this.validateDisabled(this.component._disabled),this.validateHideMsg(this.component._hideMsg),this.validateHideLabel(this.component._hideLabel),this.validateHint(this.component._hint),this.validateLabel(this.component._label),this.validateShortKey(this.component._shortKey),this.validateSmartButton(this.component._smartButton),this.validateOn(this.component._on),this.validateTabIndex(this.component._tabIndex),c(this.component._accessKey,this.component._shortKey)}emitEvent(e,t){this.host&&b(this.host,e,t)}onBlur(e){var t;this.component._disabled||(this.component._touched=!0,this.emitEvent(g.blur),"function"==typeof(null===(t=this.component._on)||void 0===t?void 0:t.onBlur)&&this.component._on.onBlur(e))}onChange(e,t){var n;void 0===t&&(t=e.target.value),this.emitEvent(g.change,t),"function"==typeof(null===(n=this.component._on)||void 0===n?void 0:n.onChange)&&this.component._on.onChange(e,t),this.valueChangeListeners.forEach(e=>e(t))}onInput(e,t=!0,n){var o;void 0===n&&(n=e.target.value),this.emitEvent(g.input,n),t&&this.setFormAssociatedValue(n),"function"==typeof(null===(o=this.component._on)||void 0===o?void 0:o.onInput)&&this.component._on.onInput(e,n)}onClick(e){var t;this.emitEvent(g.click),"function"==typeof(null===(t=this.component._on)||void 0===t?void 0:t.onClick)&&this.component._on.onClick(e)}onFocus(e){var t;this.emitEvent(g.focus),"function"==typeof(null===(t=this.component._on)||void 0===t?void 0:t.onFocus)&&this.component._on.onFocus(e)}onKeyDown(e){var t;this.emitEvent(g.keydown),"function"==typeof(null===(t=this.component._on)||void 0===t?void 0:t.onKeyDown)&&this.component._on.onKeyDown(e)}addValueChangeListener(e){this.valueChangeListeners.push(e)}hasSoftCharacterLimit(){return"number"==typeof this.component.state._maxLength&&"soft"===this.component.state._maxLengthBehavior}hasCounter(){return!0===this.component.state._hasCounter}}function de({ariaDescribedBy:e,hideLabel:t,label:n}){return{title:"",autoCapitalize:"off",autoCorrect:"off","aria-describedby":(null==e?void 0:e.length)?e.join(" "):void 0,"aria-label":t&&n?n:void 0}}const ce=e=>{const t=e._msg,n="string"==typeof t?t:null==t?void 0:t._description,o=oe(t),i=Boolean(n&&n.length>0),r="error"===o&&i&&!0===e._touched,s="string"==typeof e._hint&&e._hint.length>0,a=[];return i&&!e._hideMsg&&a.push(`${e._id}-msg`),!0===s&&a.push(`${e._id}-hint`),e._hasCounter&&a.push(`${e._id}-counter`),!0===r&&a.push(`${e._id}-error`),{hasError:r,hasHint:s,ariaDescribedBy:a}},ue=e=>{var{id:t,class:n,hint:o,baseClassName:i="kol-form-field"}=e,r=k(e,["id","class","hint","baseClassName"]);return o?L("span",Object.assign({class:S(`${i}__hint`,n),id:`${t}-hint`},r),o):null},he=e=>{var{component:t="label",id:n,baseClassName:o="kol-form-field",class:i,accessKey:r,shortKey:s,label:a,hideLabel:l,hasExpertSlot:c,showBadge:d=!0,readOnly:h}=e,u=k(e,["component","id","baseClassName","class","accessKey","shortKey","label","hideLabel","hasExpertSlot","showBadge","readOnly"]);const m=!c&&l,p=$("kol-readonly"),f=!1===d?void 0:D(r,s);return L(t,Object.assign({},u,{class:S(`${o}__label`,i),id:m?void 0:`${n}-label`,hidden:m,htmlFor:n}),L(w,{class:`${o}__label-text`,label:c?"":null!=a?a:"",badgeText:f},L("slot",{name:"expert"})),h?L("span",{class:`${o}__label__read-only`,"aria-hidden":"true"},"(",p,")"):null)},fe=({id:e,maxLength:t})=>L("span",{id:`${e}-character-limit-hint`,class:"visually-hidden"},$("kol-character-limit-hint",{placeholders:{limit:String(t)}})),me=({currentLength:e,currentLengthDebounced:t,maxLength:n,maxLengthBehavior:o,id:i})=>{let r,s;const a=["kol-form-field__counter"];if("hard"===o)r="number"==typeof n?$("kol-character-counter-current-of-max",{placeholders:{current:String(e),max:String(n)}}):$("kol-character-counter-current",{placeholders:{current:String(e)}}),s="number"==typeof n?$("kol-character-counter-current-of-max-aria",{placeholders:{current:String(t),max:String(n)}}):$("kol-character-counter-current",{placeholders:{current:String(t)}});else{if("number"!=typeof n)return null;{const o=n-e,i=o<0,l=n-t,c=l<0;r=i?$("kol-character-limit-exceeded",{placeholders:{over:String(Math.abs(o))}}):$("kol-character-limit-remaining",{placeholders:{remaining:String(o)}}),s=c?$("kol-character-limit-exceeded",{placeholders:{over:String(Math.abs(l))}}):$("kol-character-limit-remaining",{placeholders:{remaining:String(l)}}),i&&a.push("kol-form-field__counter--exceeded")}}return L(C,null,L("span",{class:S(a),"aria-hidden":"true","data-testid":"input-counter"},r),L("span",{id:`${i}-counter`,"aria-live":"polite",class:"visually-hidden","data-testid":"input-counter-aria"},s))},pe=e=>{var t,n,{alert:o,msg:i,id:r,class:s}=e,a=k(e,["alert","msg","id","class"]);const l=ne(i);return L(P,Object.assign({id:`${r}-msg`,alert:null!==(t=null==l?void 0:l._alert)&&void 0!==t?t:o,hasCloser:!1,level:0,type:null!==(n=null==l?void 0:l._type)&&void 0!==n?n:"error",variant:"msg",class:S("kol-form-field__msg",s)},a),(null==l?void 0:l._description)||void 0)},ve=new Map,be=e=>{const t=ve.get(e);if(t)return t;const n=new T(O.stateLess);return n.componentWillLoad({label:""}),ve.set(e,n),n},ge=e=>{const t=ve.get(e);t&&(t.destroy(),ve.delete(e))};function ye(e){return(null==e?void 0:e.type)&&{default:"msg-type-default",info:"msg-type-info",success:"msg-type-success",warning:"msg-type-warning",error:"msg-type-error"}[null==e?void 0:e.type]||""}const _e=(e,t)=>{var{class:n}=e,o=k(e,["class"]);return L("div",Object.assign({class:S("kol-form-field__input",n)},o),t)},je=(e,t)=>{const{component:n="div",renderNoLabel:o,renderNoTooltip:i,renderNoHint:r,anotherChildren:s,id:a,required:l,alert:c,disabled:d,class:h,msg:u,hideMsg:m,hideLabel:p,label:f,hint:g,accessKey:v,shortKey:_,counter:b,readOnly:y,touched:x,maxLength:j,ariaDescribedBy:B,showBadge:C,tooltipAlign:w,tooltipFloatingRef:O,formFieldLabelProps:$,formFieldHintProps:T,formFieldTooltipProps:M,formFieldMsgProps:H,formFieldInputProps:E}=e,P=k(e,["component","renderNoLabel","renderNoTooltip","renderNoHint","anotherChildren","id","required","alert","disabled","class","msg","hideMsg","hideLabel","label","hint","accessKey","shortKey","counter","readOnly","touched","maxLength","ariaDescribedBy","showBadge","tooltipAlign","tooltipFloatingRef","formFieldLabelProps","formFieldHintProps","formFieldTooltipProps","formFieldMsgProps","formFieldInputProps"]),I=!o,A=!r,N=!i,q=F(f),W=re(u,x),R=D(v,_),V=N&&!q&&p,G=V?be(a):void 0;G?(G.watchAlign(w),G.watchBadgeText(R||""),G.watchId(`${a}-label`),G.watchLabel(f)):ge(a);const J=null==E?void 0:E.ref;let U={"kol-form-field--disabled":Boolean(d),"kol-form-field--required":Boolean(l),"kol-form-field--touched":Boolean(x),"kol-form-field--hide-label":Boolean(p),"kol-form-field--read-only":Boolean(y),"kol-form-field--hidden-msg":Boolean(m)};if(W){const e=oe(u);U=Object.assign(Object.assign({},U),{[`kol-form-field--${e}`]:!0,[`kol-form-field--${ye({type:e})}`]:!0})}return L(n,Object.assign({class:S("kol-form-field",U,h),"aria-describedby":B},P),I&&L(he,Object.assign({},$||{},{id:a,hasExpertSlot:q,hideLabel:p,label:f,accessKey:v,shortKey:_,readOnly:y,showBadge:C})),L(_e,Object.assign({},E,{ref:e=>{null==J||J(e),G&&e&&(G.initContext(e),G.syncListeners(void 0,e,!0))}}),t,V&&!0===p&&L("div",{class:S("kol-form-field__tooltip",null==M?void 0:M.class)},L(K,{badgeText:R||"",label:f,align:w,id:`${a}-label`,refFloating:null!=O?O:e=>{null==G||G.setTooltipElementRef(e)}}))),b?L(me,Object.assign({id:a},b)):null,j?L(fe,{id:a,maxLength:j}):null,W&&!m&&L(pe,Object.assign({},H||{},{id:a,alert:c,msg:u})),A&&L(ue,Object.assign({},T||{},{id:a,hint:g})),s)};function xe(e){const t={id:e._id,disabled:e._disabled,msg:e._msg,hint:e._hint,label:e._label,hideLabel:e._hideLabel,hideMsg:e._hideMsg,touched:e._touched,showBadge:"_accessKey"in e&&Boolean(e._accessKey)||"_shortKey"in e&&Boolean(e._shortKey)};return"_required"in e&&(t.required=e._required),"_readOnly"in e&&(t.readOnly=e._readOnly),"_accessKey"in e&&(t.accessKey=e._accessKey),"_shortKey"in e&&(t.shortKey=e._shortKey),"_maxLength"in e&&(t.maxLength=e._maxLength),"_currentLength"in e&&"number"==typeof e._currentLength&&"_currentLengthDebounced"in e&&"number"==typeof e._currentLengthDebounced&&"_hasCounter"in e&&!0===e._hasCounter&&(t.counter={currentLength:e._currentLength,currentLengthDebounced:e._currentLengthDebounced,maxLength:e._maxLength,maxLengthBehavior:e._maxLengthBehavior||"hard"}),t}const Be=(e,t)=>{var{state:n}=e,o=k(e,["state"]);const{ariaDescribedBy:i}=ce(n),r=("fieldset"===o.component||"_options"in n&&"_orientation"in n)&&i.length>0?i.join(" "):void 0,s=xe(n);return L(je,Object.assign({},s,o,{ariaDescribedBy:r}),t)};export{Be as F,le as I,he as K,ce as a,ue as b,de as c,oe as g,re as i};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{_ as e}from"./tslib.es6-CxX45GIN.js";import{h as s}from"./index-Cr4ko_DT.js";import{c as l}from"./clsx-COFh-Vc8.js";const o=1,n=6;function r(s){return s>=o&&s<=6}function a(s){return r(s)?`h${s}`:"strong"}const c=(n,r)=>{var{class:c,level:i=o}=n,t=e(n,["class","level"]);const d=a(i);return s(d,Object.assign({class:l("kol-headline",`kol-headline--${d}`,c)},t),r)},t=(a,n)=>{var{class:o}=a,r=e(a,["class"]);return s("p",Object.assign({class:l("kol-headline kol-headline--group kol-headline--secondary",o)},r),n)},i=(a,n)=>{var{secondaryHeadline:r,level:i=o,class:d,HeadingGroupProps:g={},SecondaryHeadlineProps:p={}}=a,u=e(a,["secondaryHeadline","level","class","HeadingGroupProps","SecondaryHeadlineProps"]);const h=Object.assign({level:i},u);if(!r)return s(c,Object.assign({class:l(d,"kol-headline--single")},h),n);const{class:j}=g,k=e(g,["class"]),b=Object.assign({class:l("kol-heading-group",j)},k);return s("hgroup",Object.assign({},b),s(c,Object.assign({class:l(d,"kol-headline--group","kol-headline--primary")},h),n),s(t,Object.assign({},p),r))};export{i as K};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{_ as e}from"./tslib.es6-CxX45GIN.js";import{h as s,F as o}from"./index-Cr4ko_DT.js";import"./common-BqV6Zb30.js";import{i as a,c as l,g as i}from"./FormFieldStateWrapper-Zct_Wau1.js";import{c as t}from"./clsx-COFh-Vc8.js";const r=r=>{const{class:d,msg:n,required:u,disabled:c,touched:b,readonly:p,ariaDescribedBy:m,hideLabel:g,label:h,suggestions:j,value:y}=r,B=e(r,["class","msg","required","disabled","touched","readonly","ariaDescribedBy","hideLabel","label","suggestions","value"]),k={"kol-input--disabled":Boolean(c),"kol-input--required":Boolean(u),"kol-input--touched":Boolean(b),"kol-input--readonly":Boolean(p),[`kol-input--${i(n)}`]:a(n,b)},q=Object.assign(Object.assign({class:t("kol-input",k,d),required:u,disabled:c,readonly:p,type:"text",list:j?`${B.id}-list`:void 0},l({ariaDescribedBy:m,hideLabel:g,label:h})),B);return s(o,null,s("input",Object.assign({},q,{value:y})),j)};export{r as I};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{L as o,h as t,w as r}from"./common-BqV6Zb30.js";import{a}from"./index-Cr4ko_DT.js";var n=()=>{a(o=>{try{o.shadowRoot instanceof ShadowRoot&&t(o,r(o))}catch(o){}return"default"}),import("./devtools-CEVR-nTz.js").then(o=>{"object"==typeof o&&null!==o&&"function"==typeof o.initialize&&o.initialize()}).catch(t=>{o.error(t)})};const s=n;export{s as g};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{_ as s}from"./tslib.es6-CxX45GIN.js";import{h as o}from"./index-Cr4ko_DT.js";import{b as i}from"./bem-registry-Bux_TllX.js";import{c as r}from"./clsx-COFh-Vc8.js";const e=i.forBlock("kol-icon"),n=e(),l=e("icon"),t=i=>{var{class:e,icons:a,label:t}=i,c=s(i,["class","icons","label"]);const m=(null==t?void 0:t.length)>0;return o("i",Object.assign({},c,{"aria-hidden":m?void 0:"true","aria-label":m?t:void 0,class:r(n,l,a,e),role:m?"img":"presentation"}))};export{t as I};
|