@public-ui/sample-react 4.0.0-alpha.1 → 4.0.0-alpha.10
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/README.md +1 -1
- package/dist/assets/Alert-DzpS4CJD-CznI58Av.js +2 -0
- package/dist/assets/Alert-DzpS4CJD-CznI58Av.js.map +1 -0
- package/dist/assets/Collapsible-CIER1XyD-CCVXz7W8.js +2 -0
- package/dist/assets/{Collapsible-DMNJjdc3-DYmZzd2C.js.map → Collapsible-CIER1XyD-CCVXz7W8.js.map} +1 -1
- package/dist/assets/CustomSuggestionsOptionsGroup-C6GgxWBC-O703Eyna.js +2 -0
- package/dist/assets/CustomSuggestionsOptionsGroup-C6GgxWBC-O703Eyna.js.map +1 -0
- package/dist/assets/FieldControlStateWrapper-DDYTL8sS-D6Ov-duE.js +2 -0
- package/dist/assets/FieldControlStateWrapper-DDYTL8sS-D6Ov-duE.js.map +1 -0
- package/dist/assets/FormFieldStateWrapper-B3p0ZzG--DmEUXckD.js +2 -0
- package/dist/assets/FormFieldStateWrapper-B3p0ZzG--DmEUXckD.js.map +1 -0
- package/dist/assets/Heading-ClZtMSvA-B-SEEyYN.js +2 -0
- package/dist/assets/{Heading-KhwFHPZb-CVH-FD5x.js.map → Heading-ClZtMSvA-B-SEEyYN.js.map} +1 -1
- package/dist/assets/Icon-B8-kh-9q-cdzuq2LQ.js +2 -0
- package/dist/assets/Icon-B8-kh-9q-cdzuq2LQ.js.map +1 -0
- package/dist/assets/Input-CF2Hxzy7-R3WGmdMD.js +2 -0
- package/dist/assets/Input-CF2Hxzy7-R3WGmdMD.js.map +1 -0
- package/dist/assets/InputStateWrapper-BNXEE43D-Dz_72eJ0.js +2 -0
- package/dist/assets/{InputStateWrapper-GJbSTDc8-BJWKHgt0.js.map → InputStateWrapper-BNXEE43D-Dz_72eJ0.js.map} +1 -1
- package/dist/assets/InternalUnderlinedBadgeText-CF6FOiQi-FLLqVWFj.js +2 -0
- package/dist/assets/{InternalUnderlinedBadgeText-BnPUgbKl-BvtrJtYz.js.map → InternalUnderlinedBadgeText-CF6FOiQi-FLLqVWFj.js.map} +1 -1
- package/dist/assets/Span-CNwuRioU-CpQJxJzY.js +2 -0
- package/dist/assets/{Span-5ZR0JDnP-DY-b2WcQ.js.map → Span-CNwuRioU-CpQJxJzY.js.map} +1 -1
- package/dist/assets/access-and-short-key-Dy2a7Py3-D3FG3jS9.js +2 -0
- package/dist/assets/{access-and-short-key-bcID78Ha-CxLL22Gm.js.map → access-and-short-key-Dy2a7Py3-D3FG3jS9.js.map} +1 -1
- package/dist/assets/align-Bcqvz5vw-BBjz1uM7.js +2 -0
- package/dist/assets/{align-CyK0wp7d-B1c2PRsI.js.map → align-Bcqvz5vw-BBjz1uM7.js.map} +1 -1
- package/dist/assets/align-floating-elements-DUQRrio7-DJAxiHCK.js +2 -0
- package/dist/assets/{align-floating-elements-Bx4ukVlr-BjpcfWth.js.map → align-floating-elements-DUQRrio7-DJAxiHCK.js.map} +1 -1
- package/dist/assets/associated.controller-CvM-u0FR-BWXALlhJ.js +2 -0
- package/dist/assets/{associated.controller-BKIODHIT-AfwHQGyb.js.map → associated.controller-CvM-u0FR-BWXALlhJ.js.map} +1 -1
- package/dist/assets/auto-complete-h9OoHuC5-BpT20QvE.js +2 -0
- package/dist/assets/auto-complete-h9OoHuC5-BpT20QvE.js.map +1 -0
- package/dist/assets/button-variant-ueS50zGR-jw3dS8sQ.js +2 -0
- package/dist/assets/button-variant-ueS50zGR-jw3dS8sQ.js.map +1 -0
- package/dist/assets/clsx-eK3rPvPS-B-dksMZM.js +2 -0
- package/dist/assets/clsx-eK3rPvPS-B-dksMZM.js.map +1 -0
- package/dist/assets/color-DLhBoaj--BGlcAOOS.js +2 -0
- package/dist/assets/{color-C3pYZKV3-0ShHSUZ4.js.map → color-DLhBoaj--BGlcAOOS.js.map} +1 -1
- package/dist/assets/controller-BUJ57XsU-_S7dLy4z.js +2 -0
- package/dist/assets/{controller-BiC2tpL8-CL0UehwS.js.map → controller-BUJ57XsU-_S7dLy4z.js.map} +1 -1
- package/dist/assets/controller-DKkpnndm-BH5XagBP.js +2 -0
- package/dist/assets/{controller-HR9pimff-BXgDC-Yz.js.map → controller-DKkpnndm-BH5XagBP.js.map} +1 -1
- package/dist/assets/controller-DLgscExO-DSo9kG6v.js +2 -0
- package/dist/assets/{controller-CV2y9Ae_-Dd2dI0KH.js.map → controller-DLgscExO-DSo9kG6v.js.map} +1 -1
- package/dist/assets/controller-icon-jwhou2Oz-B9hDiz5F.js +2 -0
- package/dist/assets/controller-icon-jwhou2Oz-B9hDiz5F.js.map +1 -0
- package/dist/assets/controller-q35akpMH-Cy0REM1l.js +2 -0
- package/dist/assets/{controller-CeGWU1Au-DNFef5aJ.js.map → controller-q35akpMH-Cy0REM1l.js.map} +1 -1
- package/dist/assets/custom-class-Dg0c6ST7-D0jJYdlm.js +2 -0
- package/dist/assets/custom-class-Dg0c6ST7-D0jJYdlm.js.map +1 -0
- package/dist/assets/{dev.utils-0SH3ep_K-BGa3ho47.js → dev.utils-yQD-QKCU-CTXdCWUO.js} +2 -4
- package/dist/assets/{dev.utils-0SH3ep_K-BGa3ho47.js.map → dev.utils-yQD-QKCU-CTXdCWUO.js.map} +1 -1
- package/dist/assets/devtools-Bonmqoiz-Cf7aqlNl.js +14 -0
- package/dist/assets/{devtools-Cg1RmbyV-CCRxoqwI.js.map → devtools-Bonmqoiz-Cf7aqlNl.js.map} +1 -1
- package/dist/assets/disabled-u5a_azlj-DDthpSns.js +2 -0
- package/dist/assets/disabled-u5a_azlj-DDthpSns.js.map +1 -0
- package/dist/assets/has-closer-DENzUWH2-BVxXP49m.js +2 -0
- package/dist/assets/has-closer-DENzUWH2-BVxXP49m.js.map +1 -0
- package/dist/assets/hide-label-DjBQJOAP-C2BOypr4.js +2 -0
- package/dist/assets/hide-label-DjBQJOAP-C2BOypr4.js.map +1 -0
- package/dist/assets/href-LHUCJ_IZ-CcMJQXzv.js +2 -0
- package/dist/assets/href-LHUCJ_IZ-CcMJQXzv.js.map +1 -0
- package/dist/assets/i18n-CQxlBXNV-Bs_gON2P.js +2 -0
- package/dist/assets/i18n-CQxlBXNV-Bs_gON2P.js.map +1 -0
- package/dist/assets/icons-CmMX8bbY-BsUQMS1k.js +2 -0
- package/dist/assets/{icons-72ER78AW-Cuv_9lnW.js.map → icons-CmMX8bbY-BsUQMS1k.js.map} +1 -1
- package/dist/assets/image-source-DqpWx57w-DrXvm2N8.js +2 -0
- package/dist/assets/image-source-DqpWx57w-DrXvm2N8.js.map +1 -0
- package/dist/assets/index-Bt2kD2D4.css +1 -0
- package/dist/assets/index-D9ygQgpL.js +22547 -0
- package/dist/assets/index-D9ygQgpL.js.map +1 -0
- package/dist/assets/inline-CeKQgcde-BDWnozYb.js +2 -0
- package/dist/assets/inline-CeKQgcde-BDWnozYb.js.map +1 -0
- package/dist/assets/isObject-DvSELytj-DhzEQer1.js +2 -0
- package/dist/assets/{isObject-DvSELytj-B0RigBxT.js.map → isObject-DvSELytj-DhzEQer1.js.map} +1 -1
- package/dist/assets/keyboard-D6PoWr38-BGYQJqo4.js +2 -0
- package/dist/assets/{keyboard-D6PoWr38-Bn_Qh8Bq.js.map → keyboard-D6PoWr38-BGYQJqo4.js.map} +1 -1
- package/dist/assets/{kol-abbr.entry-BOQUk9ml.js → kol-abbr.entry-CVemTlcS.js} +46 -21
- package/dist/assets/kol-abbr.entry-CVemTlcS.js.map +1 -0
- package/dist/assets/{kol-accordion.entry-BPBr-GDl.js → kol-accordion.entry-ZE4XHffO.js} +38 -25
- package/dist/assets/kol-accordion.entry-ZE4XHffO.js.map +1 -0
- package/dist/assets/kol-alert-wc.entry-CnPBvGgZ.js +2 -0
- package/dist/assets/{kol-alert-wc.entry-BUR34lkT.js.map → kol-alert-wc.entry-CnPBvGgZ.js.map} +1 -1
- package/dist/assets/{kol-alert.entry-CCHuxOJN.js → kol-alert.entry-DzfeO1ck.js} +46 -21
- package/dist/assets/kol-alert.entry-DzfeO1ck.js.map +1 -0
- package/dist/assets/kol-avatar-wc.entry-BoycVXyw.js +2 -0
- package/dist/assets/kol-avatar-wc.entry-BoycVXyw.js.map +1 -0
- package/dist/assets/{kol-avatar.entry-CX6KcZID.js → kol-avatar.entry-HqiALmid.js} +19 -11
- package/dist/assets/kol-avatar.entry-HqiALmid.js.map +1 -0
- package/dist/assets/{kol-badge.entry-DELXn1iU.js → kol-badge.entry-8Ls5W1-H.js} +46 -21
- package/dist/assets/kol-badge.entry-8Ls5W1-H.js.map +1 -0
- package/dist/assets/{kol-breadcrumb.entry-yPla1KmT.js → kol-breadcrumb.entry-C_q81ADT.js} +51 -31
- package/dist/assets/kol-breadcrumb.entry-C_q81ADT.js.map +1 -0
- package/dist/assets/{kol-button-link.entry-BZTjr2mF.js → kol-button-link.entry-kIBoCi0H.js} +50 -24
- package/dist/assets/kol-button-link.entry-kIBoCi0H.js.map +1 -0
- package/dist/assets/kol-button-wc.entry-DpxmFMkL.js +2 -0
- package/dist/assets/kol-button-wc.entry-DpxmFMkL.js.map +1 -0
- package/dist/assets/{kol-button.entry-Dy9cy-af.js → kol-button.entry-BsjF_xs2.js} +49 -26
- package/dist/assets/kol-button.entry-BsjF_xs2.js.map +1 -0
- package/dist/assets/kol-card-wc.entry-C2fnGX9l.js +2 -0
- package/dist/assets/{kol-card-wc.entry-Jt_m7RwH.js.map → kol-card-wc.entry-C2fnGX9l.js.map} +1 -1
- package/dist/assets/{kol-card.entry-CXmAn44D.js → kol-card.entry-8zV_YsaR.js} +60 -24
- package/dist/assets/kol-card.entry-8zV_YsaR.js.map +1 -0
- package/dist/assets/kol-combobox.entry-C77kC3qm.js +386 -0
- package/dist/assets/kol-combobox.entry-C77kC3qm.js.map +1 -0
- package/dist/assets/{kol-details.entry-CO73BBWu.js → kol-details.entry--UxnwBZL.js} +38 -25
- package/dist/assets/kol-details.entry--UxnwBZL.js.map +1 -0
- package/dist/assets/{kol-drawer.entry-DYgBQX7H.js → kol-drawer.entry-C_QbgsoK.js} +61 -25
- package/dist/assets/kol-drawer.entry-C_QbgsoK.js.map +1 -0
- package/dist/assets/{kol-form.entry-PDiVjuXV.js → kol-form.entry-8_2s2CHt.js} +49 -24
- package/dist/assets/kol-form.entry-8_2s2CHt.js.map +1 -0
- package/dist/assets/{kol-heading.entry-B8k5gIIn.js → kol-heading.entry-vEksA2CZ.js} +18 -10
- package/dist/assets/kol-heading.entry-vEksA2CZ.js.map +1 -0
- package/dist/assets/{kol-icon.entry-BCbP-89z.js → kol-icon.entry-XQZFaUlO.js} +4 -5
- package/dist/assets/{kol-icon.entry-BCbP-89z.js.map → kol-icon.entry-XQZFaUlO.js.map} +1 -1
- package/dist/assets/{kol-image.entry-BeDw1Y5m.js → kol-image.entry-Dd0bm8f2.js} +18 -10
- package/dist/assets/kol-image.entry-Dd0bm8f2.js.map +1 -0
- package/dist/assets/{kol-input-checkbox.entry-jYzRlCJQ.js → kol-input-checkbox.entry-BwoERhKS.js} +48 -23
- package/dist/assets/kol-input-checkbox.entry-BwoERhKS.js.map +1 -0
- package/dist/assets/{kol-input-color.entry-DkzzlWN2.js → kol-input-color.entry-DmP3-OLD.js} +53 -27
- package/dist/assets/kol-input-color.entry-DmP3-OLD.js.map +1 -0
- package/dist/assets/kol-input-date.entry-veV69ftf.js +359 -0
- package/dist/assets/kol-input-date.entry-veV69ftf.js.map +1 -0
- package/dist/assets/{kol-input-email.entry-TO6O_yoQ.js → kol-input-email.entry-WuzasvJu.js} +53 -27
- package/dist/assets/kol-input-email.entry-WuzasvJu.js.map +1 -0
- package/dist/assets/{kol-input-file.entry-6q0RvDtB.js → kol-input-file.entry-eWzGGuLk.js} +70 -27
- package/dist/assets/kol-input-file.entry-eWzGGuLk.js.map +1 -0
- package/dist/assets/kol-input-number.entry-Cyw5Y0_B.js +346 -0
- package/dist/assets/kol-input-number.entry-Cyw5Y0_B.js.map +1 -0
- package/dist/assets/{kol-input-text.entry-DSUdIfVX.js → kol-input-password.entry-DgItvBL6.js} +56 -27
- package/dist/assets/kol-input-password.entry-DgItvBL6.js.map +1 -0
- package/dist/assets/{kol-input-radio.entry-XZKN8skm.js → kol-input-radio.entry-CAKyYUCP.js} +52 -27
- package/dist/assets/kol-input-radio.entry-CAKyYUCP.js.map +1 -0
- package/dist/assets/{kol-input-range.entry-D9W7tUnK.js → kol-input-range.entry-BBU90Lo9.js} +59 -33
- package/dist/assets/kol-input-range.entry-BBU90Lo9.js.map +1 -0
- package/dist/assets/kol-input-text.entry-CCtLxC_E.js +339 -0
- package/dist/assets/kol-input-text.entry-CCtLxC_E.js.map +1 -0
- package/dist/assets/{kol-kolibri.entry-I9nHpD6z.js → kol-kolibri.entry-AwuchqCv.js} +18 -10
- package/dist/assets/kol-kolibri.entry-AwuchqCv.js.map +1 -0
- package/dist/assets/{kol-link-button.entry-CsihdhEy.js → kol-link-button.entry-CRRQNJrY.js} +49 -26
- package/dist/assets/kol-link-button.entry-CRRQNJrY.js.map +1 -0
- package/dist/assets/kol-link-wc.entry-BebojOG8.js +2 -0
- package/dist/assets/kol-link-wc.entry-BebojOG8.js.map +1 -0
- package/dist/assets/{kol-link.entry-B9Ihan-K.js → kol-link.entry-DXifcQI8.js} +49 -24
- package/dist/assets/kol-link.entry-DXifcQI8.js.map +1 -0
- package/dist/assets/{kol-modal.entry-Dnmj60T9.js → kol-modal.entry-C3vVLSDB.js} +61 -25
- package/dist/assets/kol-modal.entry-C3vVLSDB.js.map +1 -0
- package/dist/assets/{kol-nav.entry-CNIensHT.js → kol-nav.entry-DfgZuMtU.js} +48 -31
- package/dist/assets/kol-nav.entry-DfgZuMtU.js.map +1 -0
- package/dist/assets/kol-pagination-wc.entry-Bpq_U4eQ.js +2 -0
- package/dist/assets/kol-pagination-wc.entry-Bpq_U4eQ.js.map +1 -0
- package/dist/assets/{kol-pagination.entry-Cmov7NSr.js → kol-pagination.entry-IT4QAnOG.js} +46 -21
- package/dist/assets/kol-pagination.entry-IT4QAnOG.js.map +1 -0
- package/dist/assets/kol-popover-button-wc.entry-Dd1lzvY3.js +2 -0
- package/dist/assets/kol-popover-button-wc.entry-Dd1lzvY3.js.map +1 -0
- package/dist/assets/{kol-popover-button.entry-UytQgKbD.js → kol-popover-button.entry-sFTORXui.js} +59 -26
- package/dist/assets/kol-popover-button.entry-sFTORXui.js.map +1 -0
- package/dist/assets/kol-popover-wc.entry-drcDMJuT.js +2 -0
- package/dist/assets/kol-popover-wc.entry-drcDMJuT.js.map +1 -0
- package/dist/assets/{kol-progress.entry-CaMrVgf9.js → kol-progress.entry-HKsFCBRH.js} +18 -10
- package/dist/assets/kol-progress.entry-HKsFCBRH.js.map +1 -0
- package/dist/assets/{kol-quote.entry-CXQugIgm.js → kol-quote.entry-D3Y4Gkhj.js} +21 -13
- package/dist/assets/kol-quote.entry-D3Y4Gkhj.js.map +1 -0
- package/dist/assets/{kol-select.entry-BuG0OMQF.js → kol-select.entry-DN0f7EIq.js} +56 -28
- package/dist/assets/kol-select.entry-DN0f7EIq.js.map +1 -0
- package/dist/assets/kol-single-select.entry-XUu_V8oD.js +396 -0
- package/dist/assets/kol-single-select.entry-XUu_V8oD.js.map +1 -0
- package/dist/assets/{kol-skip-nav.entry-BC_RqrlA.js → kol-skip-nav.entry-DDyRk9Dh.js} +18 -10
- package/dist/assets/kol-skip-nav.entry-DDyRk9Dh.js.map +1 -0
- package/dist/assets/{kol-spin.entry-D_n0RjJ1.js → kol-spin.entry-C0bmsgIy.js} +18 -10
- package/dist/assets/kol-spin.entry-C0bmsgIy.js.map +1 -0
- package/dist/assets/{kol-split-button.entry-BzL2PZ5L.js → kol-split-button.entry-y9JcUE7Z.js} +46 -21
- package/dist/assets/kol-split-button.entry-y9JcUE7Z.js.map +1 -0
- package/dist/assets/kol-table-settings-wc.entry-sowYy9Vo.js +2 -0
- package/dist/assets/kol-table-settings-wc.entry-sowYy9Vo.js.map +1 -0
- package/dist/assets/{kol-table-stateful.entry-qcog1Esv.js → kol-table-stateful.entry-B82YNFHs.js} +69 -33
- package/dist/assets/kol-table-stateful.entry-B82YNFHs.js.map +1 -0
- package/dist/assets/kol-table-stateless-wc.entry-BQHIXqKL.js +2 -0
- package/dist/assets/kol-table-stateless-wc.entry-BQHIXqKL.js.map +1 -0
- package/dist/assets/{kol-table-stateless.entry-BEhPeAso.js → kol-table-stateless.entry-BDJGhfHG.js} +68 -32
- package/dist/assets/kol-table-stateless.entry-BDJGhfHG.js.map +1 -0
- package/dist/assets/{kol-tabs.entry-4stJU6kl.js → kol-tabs.entry-Ctu4XMNN.js} +46 -21
- package/dist/assets/kol-tabs.entry-Ctu4XMNN.js.map +1 -0
- package/dist/assets/kol-textarea.entry-BJqUrxrp.js +337 -0
- package/dist/assets/kol-textarea.entry-BJqUrxrp.js.map +1 -0
- package/dist/assets/{kol-toast-container.entry-5c_itYcK.js → kol-toast-container.entry-DQnF3J0_.js} +46 -21
- package/dist/assets/kol-toast-container.entry-DQnF3J0_.js.map +1 -0
- package/dist/assets/{kol-toolbar.entry-mXZLT4Ll.js → kol-toolbar.entry-CI3jGR0V.js} +68 -26
- package/dist/assets/kol-toolbar.entry-CI3jGR0V.js.map +1 -0
- package/dist/assets/kol-tooltip-wc.entry-DxNr5skK.js +2 -0
- package/dist/assets/kol-tooltip-wc.entry-DxNr5skK.js.map +1 -0
- package/dist/assets/kol-tree-item-wc.entry-D0nKqCYQ.js +2 -0
- package/dist/assets/{kol-tree-item-wc.entry-D3MtzjrC.js.map → kol-tree-item-wc.entry-D0nKqCYQ.js.map} +1 -1
- package/dist/assets/{kol-tree-item.entry-CRjk62QV.js → kol-tree-item.entry-DHGHWJkh.js} +18 -10
- package/dist/assets/kol-tree-item.entry-DHGHWJkh.js.map +1 -0
- package/dist/assets/kol-tree-wc.entry-BRk_Ps9N.js +2 -0
- package/dist/assets/{kol-tree-wc.entry-CR8_TaVA.js.map → kol-tree-wc.entry-BRk_Ps9N.js.map} +1 -1
- package/dist/assets/{kol-tree.entry-s_SCM6fF.js → kol-tree.entry-qKBOQfs6.js} +18 -10
- package/dist/assets/kol-tree.entry-qKBOQfs6.js.map +1 -0
- package/dist/assets/{kol-version.entry-C8CaHDjL.js → kol-version.entry-hC3_z2Ah.js} +17 -9
- package/dist/assets/kol-version.entry-hC3_z2Ah.js.map +1 -0
- package/dist/assets/label-ohY9ajP0-DL9LDU0L.js +2 -0
- package/dist/assets/{label-CdtNxOKu-BgP05vXh.js.map → label-ohY9ajP0-DL9LDU0L.js.map} +1 -1
- package/dist/assets/{markdown-DL-PkOqb-CqqGVzr6.js → markdown-CVks1MC0-Cgkgxqwt.js} +9 -11
- package/dist/assets/{markdown-DL-PkOqb-CqqGVzr6.js.map → markdown-CVks1MC0-Cgkgxqwt.js.map} +1 -1
- package/dist/assets/material-icons/README.md +19 -14
- package/dist/assets/material-icons/_data/versions.json +2123 -2123
- package/dist/assets/material-icons/index.d.ts +2122 -2122
- package/dist/assets/material-icons/package.json +50 -50
- package/dist/assets/material-symbols/README.md +18 -11
- package/dist/assets/material-symbols/index.d.ts +2803 -2803
- package/dist/assets/material-symbols/package.json +39 -39
- package/dist/assets/max-length-behavior-N5Lbz6E--DCs07sPx.js +2 -0
- package/dist/assets/max-length-behavior-N5Lbz6E--DCs07sPx.js.map +1 -0
- package/dist/assets/multiple-D1puaB9F-D3g5RjPg.js +2 -0
- package/dist/assets/multiple-D1puaB9F-D3g5RjPg.js.map +1 -0
- package/dist/assets/open-BFQWty8w-CEWvP37i.js +2 -0
- package/dist/assets/open-BFQWty8w-CEWvP37i.js.map +1 -0
- package/dist/assets/orientation-B0ErOlUK-YOoBrfEn.js +2 -0
- package/dist/assets/orientation-B0ErOlUK-YOoBrfEn.js.map +1 -0
- package/dist/assets/placeholder-DrgXYoah-DBHh57Yg.js +2 -0
- package/dist/assets/placeholder-DrgXYoah-DBHh57Yg.js.map +1 -0
- package/dist/assets/read-only-Bp291veM-BMLpzHyH.js +2 -0
- package/dist/assets/read-only-Bp291veM-BMLpzHyH.js.map +1 -0
- package/dist/assets/required-7L0ytoMT-Culzw-cc.js +2 -0
- package/dist/assets/required-7L0ytoMT-Culzw-cc.js.map +1 -0
- package/dist/assets/reuse-CX4AQDkS-BaVSFETn.js +2 -0
- package/dist/assets/{reuse-CX4AQDkS-Cyh-fyjG.js.map → reuse-CX4AQDkS-BaVSFETn.js.map} +1 -1
- package/dist/assets/rows-C8piLIWD-CZVHqmm6.js +2 -0
- package/dist/assets/rows-C8piLIWD-CZVHqmm6.js.map +1 -0
- package/dist/assets/show-ChfALFZd-Vn4qEOP-.js +2 -0
- package/dist/assets/show-ChfALFZd-Vn4qEOP-.js.map +1 -0
- package/dist/assets/spell-check-DrU5XI1o-Bo9L0HXW.js +2 -0
- package/dist/assets/spell-check-DrU5XI1o-Bo9L0HXW.js.map +1 -0
- package/dist/assets/suggestions-Bufr76At-B0AGyg0P.js +2 -0
- package/dist/assets/{suggestions-DfF4lcNG-BHCZ4xO3.js.map → suggestions-Bufr76At-B0AGyg0P.js.map} +1 -1
- package/dist/assets/table-settings-BYcS3vAt-Z4ssf2K9.js +2 -0
- package/dist/assets/{table-settings-DSZObo-2-DH-Dknfr.js.map → table-settings-BYcS3vAt-Z4ssf2K9.js.map} +1 -1
- package/dist/assets/test-component.entry-CUG_pNnC.js +2 -0
- package/dist/assets/test-component.entry-CUG_pNnC.js.map +1 -0
- package/dist/assets/tooltip-align-DEw_M6Is-DzxhQKdw.js +2 -0
- package/dist/assets/tooltip-align-DEw_M6Is-DzxhQKdw.js.map +1 -0
- package/dist/assets/tooltip-open-tracking-rBbBgPWP-DRkgcff2.js +2 -0
- package/dist/assets/{tooltip-open-tracking-rBbBgPWP-CZrYVTp5.js.map → tooltip-open-tracking-rBbBgPWP-DRkgcff2.js.map} +1 -1
- package/dist/assets/tslib.es6-CxX45GIN-BGVaTf34.js +2 -0
- package/dist/assets/{tslib.es6-CxX45GIN-BAJoBDh7.js.map → tslib.es6-CxX45GIN-BGVaTf34.js.map} +1 -1
- package/dist/assets/unique-nav-labels-C-bt2E8D-BEINIyfh.js +2 -0
- package/dist/assets/unique-nav-labels-C-bt2E8D-BEINIyfh.js.map +1 -0
- package/dist/assets/validation-BVeaxeev-BCeyl-Th.js +2 -0
- package/dist/assets/validation-BVeaxeev-BCeyl-Th.js.map +1 -0
- package/dist/assets/validation-BmqW5reG-DI0TkU4B.js +2 -0
- package/dist/assets/validation-BmqW5reG-DI0TkU4B.js.map +1 -0
- package/dist/index.html +2 -2
- package/package.json +29 -31
- package/public/assets/material-icons/README.md +19 -14
- package/public/assets/material-icons/_data/versions.json +2123 -2123
- package/public/assets/material-icons/index.d.ts +2122 -2122
- package/public/assets/material-icons/package.json +50 -50
- package/public/assets/material-symbols/README.md +18 -11
- package/public/assets/material-symbols/index.d.ts +2803 -2803
- package/public/assets/material-symbols/package.json +39 -39
- package/src/components/Navigation.tsx +3 -3
- package/src/components/SampleColumns.tsx +1 -2
- package/src/components/SampleDescription.tsx +1 -1
- package/src/components/accordion/basic.tsx +9 -5
- package/src/components/alert/basic.tsx +2 -2
- package/src/components/alert/card-msg.tsx +1 -1
- package/src/components/alert/html.tsx +1 -1
- package/src/components/avatar/basic.tsx +6 -2
- package/src/components/badge/button.tsx +2 -1
- package/src/components/badge/formatted-label.tsx +1 -1
- package/src/components/breadcrumb/basic.tsx +1 -0
- package/src/components/button/access-key.tsx +37 -20
- package/src/components/button/aria-description.tsx +15 -7
- package/src/components/button/baselined.tsx +15 -11
- package/src/components/button/basic.tsx +83 -11
- package/src/components/button/disabled.tsx +43 -0
- package/src/components/button/expert-slot.tsx +48 -11
- package/src/components/button/hide-label.tsx +57 -0
- package/src/components/button/icons.tsx +113 -26
- package/src/components/button/routes.ts +11 -3
- package/src/components/button/row-reverse-tooltip.tsx +10 -10
- package/src/components/button/short-key.tsx +35 -118
- package/src/components/button/spinner.tsx +112 -0
- package/src/components/button/variants.tsx +35 -0
- package/src/components/button/width.tsx +26 -21
- package/src/components/button-link/aria-description.tsx +1 -1
- package/src/components/button-link/basic.tsx +8 -6
- package/src/components/button-link/icons.tsx +2 -1
- package/src/components/button-link/routes.ts +1 -1
- package/src/components/card/headlines.tsx +46 -0
- package/src/components/card/routes.ts +2 -0
- package/src/components/combobox/basic.tsx +1 -1
- package/src/components/combobox/html.tsx +16 -0
- package/src/components/combobox/partials/cases.tsx +1 -1
- package/src/components/combobox/partials/variants.tsx +2 -2
- package/src/components/combobox/routes.ts +2 -0
- package/src/components/drawer/basic.tsx +2 -2
- package/src/components/drawer/controlled.tsx +1 -1
- package/src/components/form/basic.tsx +1 -1
- package/src/components/handout/basic.tsx +13 -6
- package/src/components/icon/basic.tsx +6 -2
- package/src/components/icon/font-awesome.tsx +36 -0
- package/src/components/icon/routes.ts +2 -0
- package/src/components/image/basic.tsx +1 -1
- package/src/components/input-checkbox/basic.tsx +1 -1
- package/src/components/input-checkbox/button.tsx +1 -1
- package/src/components/input-checkbox/switch.tsx +1 -1
- package/src/components/input-color/basic.tsx +1 -1
- package/src/components/input-color/partials/cases.tsx +6 -5
- package/src/components/input-date/basic.tsx +1 -1
- package/src/components/input-date/copy-paste.tsx +1 -1
- package/src/components/input-date/partials/cases.tsx +6 -5
- package/src/components/input-date/partials/minMax.tsx +2 -2
- package/src/components/input-date/partials/variants.tsx +1 -1
- package/src/components/input-date/reset.tsx +1 -1
- package/src/components/input-date/routes.ts +1 -1
- package/src/components/input-email/basic.tsx +1 -1
- package/src/components/input-email/partials/cases.tsx +6 -5
- package/src/components/input-file/basic.tsx +1 -1
- package/src/components/input-file/partials/cases.tsx +6 -5
- package/src/components/input-file/partials/variants.tsx +1 -1
- package/src/components/input-number/number-formatter.tsx +215 -0
- package/src/components/input-number/partials/cases.tsx +4 -4
- package/src/components/input-number/routes.ts +2 -0
- package/src/components/input-password/basic.tsx +1 -1
- package/src/components/input-password/partials/cases.tsx +6 -5
- package/src/components/input-radio/basic.tsx +1 -1
- package/src/components/input-radio/partials/variants.tsx +1 -1
- package/src/components/input-range/basic.tsx +1 -1
- package/src/components/input-range/partials/cases.tsx +6 -5
- package/src/components/input-text/access-short-key.tsx +19 -0
- package/src/components/input-text/background-test.tsx +20 -0
- package/src/components/input-text/basic.tsx +10 -5
- package/src/components/input-text/disabled.tsx +19 -0
- package/src/components/input-text/expert-slot.tsx +21 -5
- package/src/components/input-text/hide-label.tsx +48 -0
- package/src/components/input-text/hide-msg.tsx +5 -5
- package/src/components/input-text/message-types.tsx +20 -0
- package/src/components/input-text/placeholder.tsx +20 -0
- package/src/components/input-text/readonly.tsx +25 -0
- package/src/components/input-text/routes.ts +18 -2
- package/src/components/input-text/select-range.tsx +36 -0
- package/src/components/input-text/smart-button.tsx +6 -5
- package/src/components/input-text/text-formatter.tsx +133 -96
- package/src/components/link/aria-description.tsx +1 -1
- package/src/components/link/basic.tsx +7 -9
- package/src/components/link/link-react-router.tsx +2 -2
- package/src/components/link/routes.ts +4 -4
- package/src/components/link-button/aria-description.tsx +1 -1
- package/src/components/link-button/routes.ts +1 -1
- package/src/components/nav/basic.tsx +1 -1
- package/src/components/popover-button/basic.tsx +19 -12
- package/src/components/popover-button/inline.tsx +36 -0
- package/src/components/popover-button/routes.ts +2 -0
- package/src/components/select/basic.tsx +1 -1
- package/src/components/single-select/basic.tsx +1 -1
- package/src/components/single-select/partials/cases.tsx +88 -2
- package/src/components/single-select/partials/variants.tsx +1 -1
- package/src/components/skip-nav/basic.tsx +35 -26
- package/src/components/spin/custom.tsx +1 -1
- package/src/components/spin/label.tsx +1 -1
- package/src/components/split-button/basic.tsx +6 -2
- package/src/components/table/complex-headers.tsx +1 -1
- package/src/components/table/direction-aware-sort.tsx +65 -0
- package/src/components/table/horizontal-scrollbar.tsx +1 -1
- package/src/components/table/interactive-child-elements.tsx +1 -1
- package/src/components/table/multi-sort.tsx +106 -76
- package/src/components/table/predefined-settings.tsx +4 -4
- package/src/components/table/routes.ts +4 -0
- package/src/components/table/settings-column-options.tsx +58 -0
- package/src/components/table/sort-data.tsx +13 -12
- package/src/components/table/stateful-with-selection.tsx +6 -6
- package/src/components/table/stateful-with-single-selection.tsx +6 -6
- package/src/components/table/stateless-with-selection.tsx +10 -8
- package/src/components/table/stateless-with-settings-menu.tsx +59 -7
- package/src/components/table/stateless-with-single-selection.tsx +10 -8
- package/src/components/table/stateless.tsx +1 -1
- package/src/components/table/sticky-header.tsx +9 -11
- package/src/components/table/test-complex-data.ts +204 -2141
- package/src/components/table/with-footer.tsx +1 -1
- package/src/components/table/with-pagination.tsx +1 -1
- package/src/components/tabs/align.tsx +1 -1
- package/src/components/tabs/create-button.tsx +2 -2
- package/src/components/tabs/routes.ts +2 -2
- package/src/components/textarea/basic.tsx +1 -1
- package/src/components/textarea/partials/cases.tsx +6 -5
- package/src/components/textarea/routes.ts +1 -1
- package/src/components/toast/basic.tsx +1 -1
- package/src/components/toolbar/basic.tsx +8 -2
- package/src/components/toolbar/disabled.tsx +6 -1
- package/src/components/tree/basic.tsx +2 -2
- package/src/react.main.tsx +1 -1
- package/src/scenarios/appointment-form/AppointmentForm.tsx +115 -97
- package/src/scenarios/appointment-form/AvailableAppointmentsForm.tsx +83 -75
- package/src/scenarios/appointment-form/DistrictForm.tsx +50 -50
- package/src/scenarios/appointment-form/PersonalInformationForm.tsx +111 -145
- package/src/scenarios/appointment-form/Summary.tsx +11 -10
- package/src/scenarios/appointment-form/formUtils.ts +26 -7
- package/src/scenarios/button-shortkey-table.tsx +127 -0
- package/src/scenarios/change-tabindex.tsx +5 -5
- package/src/scenarios/custom-tooltip-css-properties.tsx +42 -0
- package/src/scenarios/date-in-form.tsx +24 -0
- package/src/scenarios/focus-elements.tsx +2 -3
- package/src/scenarios/horizontal-scrollbar-advanced/TableHorizontalScrollbarAdvanced.tsx +2 -2
- package/src/scenarios/input-group-with-error.tsx +3 -3
- package/src/scenarios/inputs-get-value.tsx +2 -2
- package/src/scenarios/react-hook-form/basic.tsx +78 -67
- package/src/scenarios/routes.ts +9 -5
- package/src/scenarios/sample-form-with-validation.tsx +40 -72
- package/src/scenarios/static-form.tsx +2 -2
- package/src/scenarios/toolbar-item-order.tsx +4 -2
- package/src/scenarios/tooltip-positioning.tsx +1 -1
- package/src/shares/routes.ts +4 -4
- package/src/shares/store.ts +1 -1
- package/src/style.scss +9 -10
- package/unocss.config.ts +1 -1
- package/vite.config.ts +5 -5
- package/dist/assets/Alert-yh8R3coC-BCYFPt1y.js +0 -4
- package/dist/assets/Alert-yh8R3coC-BCYFPt1y.js.map +0 -1
- package/dist/assets/Collapsible-DMNJjdc3-DYmZzd2C.js +0 -4
- package/dist/assets/CustomSuggestionsToggle-_i-9Z6oo-Cwy2A9IT.js +0 -4
- package/dist/assets/CustomSuggestionsToggle-_i-9Z6oo-Cwy2A9IT.js.map +0 -1
- package/dist/assets/FieldControlStateWrapper-DxTxYvO0-B7LDSNuz.js +0 -4
- package/dist/assets/FieldControlStateWrapper-DxTxYvO0-B7LDSNuz.js.map +0 -1
- package/dist/assets/FormFieldStateWrapper-DRcnPo2o-DHMFNAbV.js +0 -4
- package/dist/assets/FormFieldStateWrapper-DRcnPo2o-DHMFNAbV.js.map +0 -1
- package/dist/assets/Heading-KhwFHPZb-CVH-FD5x.js +0 -4
- package/dist/assets/Icon-BsRmEtCa-1x6tgY8w.js +0 -4
- package/dist/assets/Icon-BsRmEtCa-1x6tgY8w.js.map +0 -1
- package/dist/assets/Input-BxElrU0N-BanwIU4Z.js +0 -4
- package/dist/assets/Input-BxElrU0N-BanwIU4Z.js.map +0 -1
- package/dist/assets/InputStateWrapper-GJbSTDc8-BJWKHgt0.js +0 -4
- package/dist/assets/InternalUnderlinedBadgeText-BnPUgbKl-BvtrJtYz.js +0 -4
- package/dist/assets/Span-5ZR0JDnP-DY-b2WcQ.js +0 -4
- package/dist/assets/access-and-short-key-bcID78Ha-CxLL22Gm.js +0 -4
- package/dist/assets/align-CyK0wp7d-B1c2PRsI.js +0 -4
- package/dist/assets/align-floating-elements-Bx4ukVlr-BjpcfWth.js +0 -4
- package/dist/assets/associated.controller-BKIODHIT-AfwHQGyb.js +0 -4
- package/dist/assets/auto-complete-BsG3RQJ3-DBhjeNry.js +0 -4
- package/dist/assets/auto-complete-BsG3RQJ3-DBhjeNry.js.map +0 -1
- package/dist/assets/clsx-eK3rPvPS-BT_IL7Fz.js +0 -4
- package/dist/assets/clsx-eK3rPvPS-BT_IL7Fz.js.map +0 -1
- package/dist/assets/color-C3pYZKV3-0ShHSUZ4.js +0 -4
- package/dist/assets/controller-BiC2tpL8-CL0UehwS.js +0 -4
- package/dist/assets/controller-CV2y9Ae_-Dd2dI0KH.js +0 -4
- package/dist/assets/controller-CeGWU1Au-DNFef5aJ.js +0 -4
- package/dist/assets/controller-HR9pimff-BXgDC-Yz.js +0 -4
- package/dist/assets/controller-icon-DN63N3Rm-TTy6vTmy.js +0 -4
- package/dist/assets/controller-icon-DN63N3Rm-TTy6vTmy.js.map +0 -1
- package/dist/assets/custom-class-CA0KGtrM-DzTdhWE9.js +0 -4
- package/dist/assets/custom-class-CA0KGtrM-DzTdhWE9.js.map +0 -1
- package/dist/assets/devtools-Cg1RmbyV-CCRxoqwI.js +0 -16
- package/dist/assets/disabled-BydergHu-Cv1b_0HG.js +0 -4
- package/dist/assets/disabled-BydergHu-Cv1b_0HG.js.map +0 -1
- package/dist/assets/has-closer-BBMh8HY3-D6JHMwHg.js +0 -4
- package/dist/assets/has-closer-BBMh8HY3-D6JHMwHg.js.map +0 -1
- package/dist/assets/hide-label-DRunOux4-B76jV3WP.js +0 -4
- package/dist/assets/hide-label-DRunOux4-B76jV3WP.js.map +0 -1
- package/dist/assets/href-zZq6HYWf-BvA5AGtT.js +0 -4
- package/dist/assets/href-zZq6HYWf-BvA5AGtT.js.map +0 -1
- package/dist/assets/i18n-CdSCDnmA-CsM0aySV.js +0 -4
- package/dist/assets/i18n-CdSCDnmA-CsM0aySV.js.map +0 -1
- package/dist/assets/icons-72ER78AW-Cuv_9lnW.js +0 -4
- package/dist/assets/image-source-RWPv7frZ-D5Uo7XSp.js +0 -4
- package/dist/assets/image-source-RWPv7frZ-D5Uo7XSp.js.map +0 -1
- package/dist/assets/index-BGOAkFhh.css +0 -1
- package/dist/assets/index-BvWOSbaR.js +0 -14095
- package/dist/assets/index-BvWOSbaR.js.map +0 -1
- package/dist/assets/isObject-DvSELytj-B0RigBxT.js +0 -4
- package/dist/assets/keyboard-D6PoWr38-Bn_Qh8Bq.js +0 -4
- package/dist/assets/kol-abbr.entry-BOQUk9ml.js.map +0 -1
- package/dist/assets/kol-accordion.entry-BPBr-GDl.js.map +0 -1
- package/dist/assets/kol-alert-wc.entry-BUR34lkT.js +0 -4
- package/dist/assets/kol-alert.entry-CCHuxOJN.js.map +0 -1
- package/dist/assets/kol-avatar-wc.entry-QnUrl-59.js +0 -4
- package/dist/assets/kol-avatar-wc.entry-QnUrl-59.js.map +0 -1
- package/dist/assets/kol-avatar.entry-CX6KcZID.js.map +0 -1
- package/dist/assets/kol-badge.entry-DELXn1iU.js.map +0 -1
- package/dist/assets/kol-breadcrumb.entry-yPla1KmT.js.map +0 -1
- package/dist/assets/kol-button-link.entry-BZTjr2mF.js.map +0 -1
- package/dist/assets/kol-button-wc.entry-CHSWlqdI.js +0 -4
- package/dist/assets/kol-button-wc.entry-CHSWlqdI.js.map +0 -1
- package/dist/assets/kol-button.entry-Dy9cy-af.js.map +0 -1
- package/dist/assets/kol-card-wc.entry-Jt_m7RwH.js +0 -4
- package/dist/assets/kol-card.entry-CXmAn44D.js.map +0 -1
- package/dist/assets/kol-combobox.entry-BJ4a1FfW.js +0 -343
- package/dist/assets/kol-combobox.entry-BJ4a1FfW.js.map +0 -1
- package/dist/assets/kol-details.entry-CO73BBWu.js.map +0 -1
- package/dist/assets/kol-drawer.entry-DYgBQX7H.js.map +0 -1
- package/dist/assets/kol-form.entry-PDiVjuXV.js.map +0 -1
- package/dist/assets/kol-heading.entry-B8k5gIIn.js.map +0 -1
- package/dist/assets/kol-image.entry-BeDw1Y5m.js.map +0 -1
- package/dist/assets/kol-input-checkbox.entry-jYzRlCJQ.js.map +0 -1
- package/dist/assets/kol-input-color.entry-DkzzlWN2.js.map +0 -1
- package/dist/assets/kol-input-date.entry-D9P0C3QF.js +0 -313
- package/dist/assets/kol-input-date.entry-D9P0C3QF.js.map +0 -1
- package/dist/assets/kol-input-email.entry-TO6O_yoQ.js.map +0 -1
- package/dist/assets/kol-input-file.entry-6q0RvDtB.js.map +0 -1
- package/dist/assets/kol-input-number.entry-ChBm2jsE.js +0 -313
- package/dist/assets/kol-input-number.entry-ChBm2jsE.js.map +0 -1
- package/dist/assets/kol-input-password.entry-BKBZNnTD.js +0 -316
- package/dist/assets/kol-input-password.entry-BKBZNnTD.js.map +0 -1
- package/dist/assets/kol-input-radio.entry-XZKN8skm.js.map +0 -1
- package/dist/assets/kol-input-range.entry-D9W7tUnK.js.map +0 -1
- package/dist/assets/kol-input-text.entry-DSUdIfVX.js.map +0 -1
- package/dist/assets/kol-kolibri.entry-I9nHpD6z.js.map +0 -1
- package/dist/assets/kol-link-button.entry-CsihdhEy.js.map +0 -1
- package/dist/assets/kol-link-wc.entry-DSZVglP8.js +0 -4
- package/dist/assets/kol-link-wc.entry-DSZVglP8.js.map +0 -1
- package/dist/assets/kol-link.entry-B9Ihan-K.js.map +0 -1
- package/dist/assets/kol-modal.entry-Dnmj60T9.js.map +0 -1
- package/dist/assets/kol-nav.entry-CNIensHT.js.map +0 -1
- package/dist/assets/kol-pagination-wc.entry-BOksFeUP.js +0 -4
- package/dist/assets/kol-pagination-wc.entry-BOksFeUP.js.map +0 -1
- package/dist/assets/kol-pagination.entry-Cmov7NSr.js.map +0 -1
- package/dist/assets/kol-popover-button-wc.entry-BGvUBUFb.js +0 -4
- package/dist/assets/kol-popover-button-wc.entry-BGvUBUFb.js.map +0 -1
- package/dist/assets/kol-popover-button.entry-UytQgKbD.js.map +0 -1
- package/dist/assets/kol-popover-wc.entry-C9R7YZS-.js +0 -4
- package/dist/assets/kol-popover-wc.entry-C9R7YZS-.js.map +0 -1
- package/dist/assets/kol-progress.entry-CaMrVgf9.js.map +0 -1
- package/dist/assets/kol-quote.entry-CXQugIgm.js.map +0 -1
- package/dist/assets/kol-select.entry-BuG0OMQF.js.map +0 -1
- package/dist/assets/kol-single-select.entry-CufkmSnc.js +0 -359
- package/dist/assets/kol-single-select.entry-CufkmSnc.js.map +0 -1
- package/dist/assets/kol-skip-nav.entry-BC_RqrlA.js.map +0 -1
- package/dist/assets/kol-spin.entry-D_n0RjJ1.js.map +0 -1
- package/dist/assets/kol-split-button.entry-BzL2PZ5L.js.map +0 -1
- package/dist/assets/kol-table-settings-wc.entry-cgevfcWL.js +0 -4
- package/dist/assets/kol-table-settings-wc.entry-cgevfcWL.js.map +0 -1
- package/dist/assets/kol-table-stateful.entry-qcog1Esv.js.map +0 -1
- package/dist/assets/kol-table-stateless-wc.entry-Czd5yOZc.js +0 -4
- package/dist/assets/kol-table-stateless-wc.entry-Czd5yOZc.js.map +0 -1
- package/dist/assets/kol-table-stateless.entry-BEhPeAso.js.map +0 -1
- package/dist/assets/kol-tabs.entry-4stJU6kl.js.map +0 -1
- package/dist/assets/kol-textarea.entry-CXw-lCeh.js +0 -312
- package/dist/assets/kol-textarea.entry-CXw-lCeh.js.map +0 -1
- package/dist/assets/kol-toast-container.entry-5c_itYcK.js.map +0 -1
- package/dist/assets/kol-toolbar.entry-mXZLT4Ll.js.map +0 -1
- package/dist/assets/kol-tooltip-wc.entry-DEDz5_8G.js +0 -4
- package/dist/assets/kol-tooltip-wc.entry-DEDz5_8G.js.map +0 -1
- package/dist/assets/kol-tree-item-wc.entry-D3MtzjrC.js +0 -4
- package/dist/assets/kol-tree-item.entry-CRjk62QV.js.map +0 -1
- package/dist/assets/kol-tree-wc.entry-CR8_TaVA.js +0 -4
- package/dist/assets/kol-tree.entry-s_SCM6fF.js.map +0 -1
- package/dist/assets/kol-version.entry-C8CaHDjL.js.map +0 -1
- package/dist/assets/label-CdtNxOKu-BgP05vXh.js +0 -4
- package/dist/assets/link-variant-H9yefO89-z_KqubcM.js +0 -4
- package/dist/assets/link-variant-H9yefO89-z_KqubcM.js.map +0 -1
- package/dist/assets/max-length-behavior-BmNWss6T-CVMdbfRd.js +0 -4
- package/dist/assets/max-length-behavior-BmNWss6T-CVMdbfRd.js.map +0 -1
- package/dist/assets/multiple-bcm5IaCN-BpUmLrqW.js +0 -4
- package/dist/assets/multiple-bcm5IaCN-BpUmLrqW.js.map +0 -1
- package/dist/assets/open-D9q98v46-B8F38PrN.js +0 -4
- package/dist/assets/open-D9q98v46-B8F38PrN.js.map +0 -1
- package/dist/assets/orientation-5kQWqijN-C_m_sqJh.js +0 -4
- package/dist/assets/orientation-5kQWqijN-C_m_sqJh.js.map +0 -1
- package/dist/assets/placeholder-6URRds0_-DWDJBUlt.js +0 -4
- package/dist/assets/placeholder-6URRds0_-DWDJBUlt.js.map +0 -1
- package/dist/assets/read-only-CcRldJ9w-C2Qe6n6h.js +0 -4
- package/dist/assets/read-only-CcRldJ9w-C2Qe6n6h.js.map +0 -1
- package/dist/assets/required-G86n77y0-D5tQZzju.js +0 -4
- package/dist/assets/required-G86n77y0-D5tQZzju.js.map +0 -1
- package/dist/assets/reuse-CX4AQDkS-Cyh-fyjG.js +0 -4
- package/dist/assets/rows-P4l3PNiA-C50r7KDN.js +0 -4
- package/dist/assets/rows-P4l3PNiA-C50r7KDN.js.map +0 -1
- package/dist/assets/show-DsV_Vx8g-CV2f-OPT.js +0 -4
- package/dist/assets/show-DsV_Vx8g-CV2f-OPT.js.map +0 -1
- package/dist/assets/spell-check-DIsLAYgk-BDhBYHyY.js +0 -4
- package/dist/assets/spell-check-DIsLAYgk-BDhBYHyY.js.map +0 -1
- package/dist/assets/suggestions-DfF4lcNG-BHCZ4xO3.js +0 -4
- package/dist/assets/table-settings-DSZObo-2-DH-Dknfr.js +0 -4
- package/dist/assets/test-component.entry-y5EJip5J.js +0 -4
- package/dist/assets/test-component.entry-y5EJip5J.js.map +0 -1
- package/dist/assets/tooltip-align-_VI7LehI-twrDw5DR.js +0 -4
- package/dist/assets/tooltip-align-_VI7LehI-twrDw5DR.js.map +0 -1
- package/dist/assets/tooltip-open-tracking-rBbBgPWP-CZrYVTp5.js +0 -4
- package/dist/assets/tslib.es6-CxX45GIN-BAJoBDh7.js +0 -4
- package/dist/assets/unique-nav-labels-C_NhdgGz-CJ_GKjBg.js +0 -4
- package/dist/assets/unique-nav-labels-C_NhdgGz-CJ_GKjBg.js.map +0 -1
- package/dist/assets/validation-CW_RXPSn-Dm95zcnn.js +0 -4
- package/dist/assets/validation-CW_RXPSn-Dm95zcnn.js.map +0 -1
- package/dist/assets/validation-DoIjmu3L-BY8kKKvI.js +0 -4
- package/dist/assets/validation-DoIjmu3L-BY8kKKvI.js.map +0 -1
- package/src/components/button/partials/cases.tsx +0 -37
- package/src/components/button/partials/type.ts +0 -4
- package/src/components/button/partials/variants.tsx +0 -25
- package/src/components/input-text/partials/cases.tsx +0 -54
- package/src/components/input-text/partials/variants.tsx +0 -20
- package/src/scenarios/custom-tooltip-width.tsx +0 -33
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inline-CeKQgcde-BDWnozYb.js","sources":["../../../../components/dist/esm/inline-CeKQgcde.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { d as watchBoolean } from './common-L1K0yh1S.js';\n\nconst validateInline = (component, value, options = {}) => {\n watchBoolean(component, '_inline', value, options);\n};\n\nexport { validateInline as v };\n//# sourceMappingURL=inline-CeKQgcde.js.map\n\n//# sourceMappingURL=inline-CeKQgcde.js.map"],"names":["validateInline","component","value","options","watchBoolean"],"mappings":"wCAKK,MAACA,EAAiB,CAACC,EAAWC,EAAOC,EAAU,CAAA,IAAO,CACvDC,EAAaH,EAAW,UAAWC,EAAOC,CAAO,CACrD"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var f=typeof global=="object"&&global&&global.Object===Object&&global,l=typeof self=="object"&&self&&self.Object===Object&&self,s=f||l||Function("return this")(),n=s.Symbol,a=Object.prototype,g=a.hasOwnProperty,j=a.toString,r=n?n.toStringTag:void 0;function y(t){var e=g.call(t,r),i=t[r];try{t[r]=void 0;var c=!0}catch{}var b=j.call(t);return c&&(e?t[r]=i:delete t[r]),b}var u=Object.prototype,O=u.toString;function d(t){return O.call(t)}var S="[object Null]",T="[object Undefined]",o=n?n.toStringTag:void 0;function v(t){return t==null?t===void 0?T:S:o&&o in Object(t)?y(t):d(t)}function h(t){return t!=null&&typeof t=="object"}var m=Array.isArray;function w(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}export{n as S,h as a,m as b,v as c,f,w as i,s as r};
|
|
2
|
+
//# sourceMappingURL=isObject-DvSELytj-DhzEQer1.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isObject-DvSELytj-
|
|
1
|
+
{"version":3,"file":"isObject-DvSELytj-DhzEQer1.js","sources":["../../../../components/dist/esm/isObject-DvSELytj.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\n/** Used for built-in method references. */\nvar objectProto$1 = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto$1.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString$1 = objectProto$1.toString;\n\n/** Built-in value references. */\nvar symToStringTag$1 = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag$1),\n tag = value[symToStringTag$1];\n\n try {\n value[symToStringTag$1] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString$1.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag$1] = tag;\n } else {\n delete value[symToStringTag$1];\n }\n }\n return result;\n}\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nexport { Symbol as S, isObjectLike as a, isArray as b, baseGetTag as c, freeGlobal as f, isObject as i, root as r };\n//# sourceMappingURL=isObject-DvSELytj.js.map\n\n//# sourceMappingURL=isObject-DvSELytj.js.map"],"names":["freeGlobal","freeSelf","root","Symbol","objectProto$1","hasOwnProperty","nativeObjectToString$1","symToStringTag$1","getRawTag","value","isOwn","tag","unmasked","result","objectProto","nativeObjectToString","objectToString","nullTag","undefinedTag","symToStringTag","baseGetTag","isObjectLike","isArray","isObject","type"],"mappings":"AAIG,IAACA,EAAa,OAAO,QAAU,UAAY,QAAU,OAAO,SAAW,QAAU,OAGhFC,EAAW,OAAO,MAAQ,UAAY,MAAQ,KAAK,SAAW,QAAU,KAGxEC,EAAOF,GAAcC,GAAY,SAAS,aAAa,EAAC,EAGxDE,EAASD,EAAK,OAGdE,EAAgB,OAAO,UAGvBC,EAAiBD,EAAc,eAO/BE,EAAyBF,EAAc,SAGvCG,EAAmBJ,EAASA,EAAO,YAAc,OASrD,SAASK,EAAUC,EAAO,CACxB,IAAIC,EAAQL,EAAe,KAAKI,EAAOF,CAAgB,EACnDI,EAAMF,EAAMF,CAAgB,EAEhC,GAAI,CACFE,EAAMF,CAAgB,EAAI,OAC1B,IAAIK,EAAW,EACjB,MAAY,CAAC,CAEb,IAAIC,EAASP,EAAuB,KAAKG,CAAK,EAC9C,OAAIG,IACEF,EACFD,EAAMF,CAAgB,EAAII,EAE1B,OAAOF,EAAMF,CAAgB,GAG1BM,CACT,CAGA,IAAIC,EAAc,OAAO,UAOrBC,EAAuBD,EAAY,SASvC,SAASE,EAAeP,EAAO,CAC7B,OAAOM,EAAqB,KAAKN,CAAK,CACxC,CAGA,IAAIQ,EAAU,gBACVC,EAAe,qBAGfC,EAAiBhB,EAASA,EAAO,YAAc,OASnD,SAASiB,EAAWX,EAAO,CACzB,OAAIA,GAAS,KACJA,IAAU,OAAYS,EAAeD,EAEtCE,GAAkBA,KAAkB,OAAOV,CAAK,EACpDD,EAAUC,CAAK,EACfO,EAAeP,CAAK,CAC1B,CA0BA,SAASY,EAAaZ,EAAO,CAC3B,OAAOA,GAAS,MAAQ,OAAOA,GAAS,QAC1C,CAyBG,IAACa,EAAU,MAAM,QA2BpB,SAASC,EAASd,EAAO,CACvB,IAAIe,EAAO,OAAOf,EAClB,OAAOA,GAAS,OAASe,GAAQ,UAAYA,GAAQ,WACvD"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var n;(function(o){o.onBlur="onBlur",o.onChange="onChange",o.onChangePage="onChangePage",o.onClick="onClick",o.onClose="onClose",o.onDblClick="onDblClick",o.onFocus="onFocus",o.onInput="onInput",o.onKeyDown="onKeyDown",o.onKeyPress="onKeyPress",o.onKeyUp="onKeyUp",o.onMouseDown="onMouseDown",o.onMouseMove="onMouseMove",o.onMouseOut="onMouseOut",o.onMouseOver="onMouseOver",o.onMouseUp="onMouseUp",o.onReset="onReset",o.onSelect="onSelect",o.onSelectionChange="onSelectionChange",o.onChangePageSize="onChangePageSize",o.onSort="onSort",o.onSubmit="onSubmit",o.onToggle="onToggle"})(n||(n={}));var e;(function(o){o.ArrowDown="ArrowDown",o.ArrowLeft="ArrowLeft",o.ArrowRight="ArrowRight",o.ArrowUp="ArrowUp",o.Enter="Enter",o.Space=" "})(e||(e={}));export{n as C,e as K};
|
|
2
|
+
//# sourceMappingURL=keyboard-D6PoWr38-BGYQJqo4.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyboard-D6PoWr38-
|
|
1
|
+
{"version":3,"file":"keyboard-D6PoWr38-BGYQJqo4.js","sources":["../../../../components/dist/esm/keyboard-D6PoWr38.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nvar Callback;\n(function (Callback) {\n Callback[\"onBlur\"] = \"onBlur\";\n Callback[\"onChange\"] = \"onChange\";\n Callback[\"onChangePage\"] = \"onChangePage\";\n Callback[\"onClick\"] = \"onClick\";\n Callback[\"onClose\"] = \"onClose\";\n Callback[\"onDblClick\"] = \"onDblClick\";\n Callback[\"onFocus\"] = \"onFocus\";\n Callback[\"onInput\"] = \"onInput\";\n Callback[\"onKeyDown\"] = \"onKeyDown\";\n Callback[\"onKeyPress\"] = \"onKeyPress\";\n Callback[\"onKeyUp\"] = \"onKeyUp\";\n Callback[\"onMouseDown\"] = \"onMouseDown\";\n Callback[\"onMouseMove\"] = \"onMouseMove\";\n Callback[\"onMouseOut\"] = \"onMouseOut\";\n Callback[\"onMouseOver\"] = \"onMouseOver\";\n Callback[\"onMouseUp\"] = \"onMouseUp\";\n Callback[\"onReset\"] = \"onReset\";\n Callback[\"onSelect\"] = \"onSelect\";\n Callback[\"onSelectionChange\"] = \"onSelectionChange\";\n Callback[\"onChangePageSize\"] = \"onChangePageSize\";\n Callback[\"onSort\"] = \"onSort\";\n Callback[\"onSubmit\"] = \"onSubmit\";\n Callback[\"onToggle\"] = \"onToggle\";\n})(Callback || (Callback = {}));\n\nvar KeyboardKey;\n(function (KeyboardKey) {\n KeyboardKey[\"ArrowDown\"] = \"ArrowDown\";\n KeyboardKey[\"ArrowLeft\"] = \"ArrowLeft\";\n KeyboardKey[\"ArrowRight\"] = \"ArrowRight\";\n KeyboardKey[\"ArrowUp\"] = \"ArrowUp\";\n KeyboardKey[\"Enter\"] = \"Enter\";\n KeyboardKey[\"Space\"] = \" \";\n})(KeyboardKey || (KeyboardKey = {}));\n\nexport { Callback as C, KeyboardKey as K };\n//# sourceMappingURL=keyboard-D6PoWr38.js.map\n\n//# sourceMappingURL=keyboard-D6PoWr38.js.map"],"names":["Callback","KeyboardKey"],"mappings":"AAGG,IAACA,GACH,SAAUA,EAAU,CACjBA,EAAS,OAAY,SACrBA,EAAS,SAAc,WACvBA,EAAS,aAAkB,eAC3BA,EAAS,QAAa,UACtBA,EAAS,QAAa,UACtBA,EAAS,WAAgB,aACzBA,EAAS,QAAa,UACtBA,EAAS,QAAa,UACtBA,EAAS,UAAe,YACxBA,EAAS,WAAgB,aACzBA,EAAS,QAAa,UACtBA,EAAS,YAAiB,cAC1BA,EAAS,YAAiB,cAC1BA,EAAS,WAAgB,aACzBA,EAAS,YAAiB,cAC1BA,EAAS,UAAe,YACxBA,EAAS,QAAa,UACtBA,EAAS,SAAc,WACvBA,EAAS,kBAAuB,oBAChCA,EAAS,iBAAsB,mBAC/BA,EAAS,OAAY,SACrBA,EAAS,SAAc,WACvBA,EAAS,SAAc,UAC3B,GAAGA,IAAaA,EAAW,CAAA,EAAG,EAE3B,IAACC,GACH,SAAUA,EAAa,CACpBA,EAAY,UAAe,YAC3BA,EAAY,UAAe,YAC3BA,EAAY,WAAgB,aAC5BA,EAAY,QAAa,UACzBA,EAAY,MAAW,QACvBA,EAAY,MAAW,GAC3B,GAAGA,IAAgBA,EAAc,CAAA,EAAG"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import{r as t,h as n,K as
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/const l=`/*
|
|
1
|
+
import{r as t,h as n,K as o,H as i}from"./index-D9ygQgpL.js";import{v as a}from"./label-ohY9ajP0-DL9LDU0L.js";const l=`/*
|
|
4
2
|
* This file defines the layer order for all CSS layers used in KoliBri.
|
|
5
3
|
* The order is important as it determines the cascade priority.
|
|
6
4
|
*
|
|
@@ -19,8 +17,8 @@ import{r as t,h as n,K as i,H as o}from"./index-BvWOSbaR.js";import{v as a}from"
|
|
|
19
17
|
@layer kol-a11y {
|
|
20
18
|
:host {
|
|
21
19
|
/*
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
* Minimum size of interactive elements.
|
|
21
|
+
*/
|
|
24
22
|
--a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));
|
|
25
23
|
/*
|
|
26
24
|
* No element should be used without verifying the contrast ratio of its background and font colors.
|
|
@@ -41,6 +39,10 @@ import{r as t,h as n,K as i,H as o}from"./index-BvWOSbaR.js";import{v as a}from"
|
|
|
41
39
|
* Word spacing is required for all texts.
|
|
42
40
|
*/
|
|
43
41
|
word-spacing: inherit;
|
|
42
|
+
/*
|
|
43
|
+
* Text should be aligned left by default to provide a predictable starting point.
|
|
44
|
+
*/
|
|
45
|
+
text-align: left;
|
|
44
46
|
}
|
|
45
47
|
* {
|
|
46
48
|
/*
|
|
@@ -79,6 +81,10 @@ import{r as t,h as n,K as i,H as o}from"./index-BvWOSbaR.js";import{v as a}from"
|
|
|
79
81
|
option,
|
|
80
82
|
select,
|
|
81
83
|
textarea {
|
|
84
|
+
/*
|
|
85
|
+
* All elements should inherit the text color from his parent element.
|
|
86
|
+
*/
|
|
87
|
+
color: inherit;
|
|
82
88
|
/*
|
|
83
89
|
* All elements should inherit the font family from his parent element.
|
|
84
90
|
*/
|
|
@@ -155,13 +161,15 @@ import{r as t,h as n,K as i,H as o}from"./index-BvWOSbaR.js";import{v as a}from"
|
|
|
155
161
|
}
|
|
156
162
|
.kol-span {
|
|
157
163
|
/* KolSpan is a layout component with icons in all directions and a label text in the middle. */
|
|
158
|
-
display:
|
|
159
|
-
|
|
164
|
+
display: flex;
|
|
165
|
+
flex-flow: column;
|
|
166
|
+
align-items: center;
|
|
167
|
+
justify-content: center;
|
|
160
168
|
/* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */
|
|
161
169
|
}
|
|
162
170
|
.kol-span__container {
|
|
163
171
|
display: flex;
|
|
164
|
-
|
|
172
|
+
align-items: center;
|
|
165
173
|
}
|
|
166
174
|
a,
|
|
167
175
|
button {
|
|
@@ -190,18 +198,11 @@ import{r as t,h as n,K as i,H as o}from"./index-BvWOSbaR.js";import{v as a}from"
|
|
|
190
198
|
}
|
|
191
199
|
}
|
|
192
200
|
@layer kol-component {
|
|
193
|
-
@keyframes fadeInOpacity {
|
|
194
|
-
0% {
|
|
195
|
-
opacity: 0;
|
|
196
|
-
}
|
|
197
|
-
100% {
|
|
198
|
-
opacity: 1;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
201
|
.kol-tooltip {
|
|
202
202
|
display: contents;
|
|
203
203
|
}
|
|
204
204
|
.kol-tooltip__floating {
|
|
205
|
+
opacity: 0;
|
|
205
206
|
display: none;
|
|
206
207
|
position: fixed;
|
|
207
208
|
/* Avoid layout interference - see https://floating-ui.com/docs/computePosition */
|
|
@@ -212,12 +213,19 @@ import{r as t,h as n,K as i,H as o}from"./index-BvWOSbaR.js";import{v as a}from"
|
|
|
212
213
|
min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));
|
|
213
214
|
max-width: 90vw;
|
|
214
215
|
max-height: 90vh;
|
|
215
|
-
|
|
216
|
-
animation
|
|
216
|
+
animation-direction: normal;
|
|
217
|
+
/* Can be used to specify the animation duration from the outside. 250ms by default. */
|
|
218
|
+
animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);
|
|
219
|
+
animation-fill-mode: forwards;
|
|
217
220
|
animation-iteration-count: 1;
|
|
218
|
-
animation-name: fadeInOpacity;
|
|
219
221
|
animation-timing-function: ease-in;
|
|
220
222
|
}
|
|
223
|
+
.kol-tooltip__floating.hide {
|
|
224
|
+
animation-name: hideTooltip;
|
|
225
|
+
}
|
|
226
|
+
.kol-tooltip__floating.show {
|
|
227
|
+
animation-name: showTooltip;
|
|
228
|
+
}
|
|
221
229
|
.kol-tooltip__arrow {
|
|
222
230
|
transform: rotate(45deg);
|
|
223
231
|
color: #000;
|
|
@@ -233,5 +241,22 @@ import{r as t,h as n,K as i,H as o}from"./index-BvWOSbaR.js";import{v as a}from"
|
|
|
233
241
|
position: relative;
|
|
234
242
|
z-index: 1000;
|
|
235
243
|
}
|
|
236
|
-
|
|
237
|
-
|
|
244
|
+
@keyframes hideTooltip {
|
|
245
|
+
0% {
|
|
246
|
+
opacity: 1;
|
|
247
|
+
}
|
|
248
|
+
100% {
|
|
249
|
+
opacity: 0;
|
|
250
|
+
display: none;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
@keyframes showTooltip {
|
|
254
|
+
0% {
|
|
255
|
+
opacity: 0;
|
|
256
|
+
}
|
|
257
|
+
100% {
|
|
258
|
+
opacity: 1;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}`,r=class{constructor(e){t(this,e),this.state={_label:""}}render(){return n(i,{key:"7f764ad6e259ac460dcd1f133da2ef8ad41b74b7",class:"kol-abbr"},n("abbr",{key:"3f49be16f6bbbd0d2cbd953319f6b23a8766a241",tabIndex:this.state._label?0:void 0},n("slot",{key:"81175d6ce9217f34e4faaa6aa08597e63f07389e"})),this.state._label?n(o,{"aria-hidden":"true",_label:this.state._label}):null)}validateLabel(e){a(this,e)}componentWillLoad(){this.validateLabel(this._label)}static get watchers(){return{_label:["validateLabel"]}}};r.style={default:l};export{r as kol_abbr};
|
|
262
|
+
//# sourceMappingURL=kol-abbr.entry-CVemTlcS.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kol-abbr.entry-CVemTlcS.js","sources":["../../../../components/dist/esm/kol-abbr.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host } from './index-DXabIfEM.js';\nimport { a as KolTooltipWcTag } from './component-names-CkE54Ym7.js';\nimport './common-L1K0yh1S.js';\nimport { v as validateLabel } from './label-ohY9ajP0.js';\n\nconst defaultStyleCss = \"/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/* forward the rem function */\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n /*\\n * Text should be aligned left by default to provide a predictable starting point.\\n */\\n text-align: left;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the text color from his parent element.\\n */\\n color: inherit;\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: flex;\\n flex-flow: column;\\n align-items: center;\\n justify-content: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n align-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n .kol-tooltip {\\n display: contents;\\n }\\n .kol-tooltip__floating {\\n opacity: 0;\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width, max-content);\\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\\n max-width: 90vw;\\n max-height: 90vh;\\n animation-direction: normal;\\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\\n animation-fill-mode: forwards;\\n animation-iteration-count: 1;\\n animation-timing-function: ease-in;\\n }\\n .kol-tooltip__floating.hide {\\n animation-name: hideTooltip;\\n }\\n .kol-tooltip__floating.show {\\n animation-name: showTooltip;\\n }\\n .kol-tooltip__arrow {\\n transform: rotate(45deg);\\n color: #000;\\n background-color: #fff;\\n position: absolute;\\n z-index: 999;\\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip__content {\\n color: #000;\\n background-color: #fff;\\n position: relative;\\n z-index: 1000;\\n }\\n @keyframes hideTooltip {\\n 0% {\\n opacity: 1;\\n }\\n 100% {\\n opacity: 0;\\n display: none;\\n }\\n }\\n @keyframes showTooltip {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n}\";\n\nconst KolAbbr = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.state = {\n _label: '',\n };\n }\n render() {\n return (h(Host, { key: '7f764ad6e259ac460dcd1f133da2ef8ad41b74b7', class: \"kol-abbr\" }, h(\"abbr\", { key: '3f49be16f6bbbd0d2cbd953319f6b23a8766a241', tabIndex: this.state._label ? 0 : undefined }, h(\"slot\", { key: '81175d6ce9217f34e4faaa6aa08597e63f07389e' })), this.state._label ? h(KolTooltipWcTag, { \"aria-hidden\": \"true\", _label: this.state._label }) : null));\n }\n validateLabel(value) {\n validateLabel(this, value);\n }\n componentWillLoad() {\n this.validateLabel(this._label);\n }\n static get watchers() { return {\n \"_label\": [\"validateLabel\"]\n }; }\n};\nKolAbbr.style = {\n default: defaultStyleCss\n};\n\nexport { KolAbbr as kol_abbr };\n//# sourceMappingURL=kol-abbr.entry.js.map\n"],"names":["defaultStyleCss","KolAbbr","hostRef","registerInstance","h","Host","KolTooltipWcTag","value","validateLabel"],"mappings":"8GAQA,MAAMA,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAElBC,EAAU,KAAM,CAClB,YAAYC,EAAS,CACjBC,EAAiB,KAAMD,CAAO,EAC9B,KAAK,MAAQ,CACT,OAAQ,EACpB,CACI,CACA,QAAS,CACL,OAAQE,EAAEC,EAAM,CAAE,IAAK,2CAA4C,MAAO,UAAU,EAAID,EAAE,OAAQ,CAAE,IAAK,2CAA4C,SAAU,KAAK,MAAM,OAAS,EAAI,MAAS,EAAIA,EAAE,OAAQ,CAAE,IAAK,0CAA0C,CAAE,CAAC,EAAG,KAAK,MAAM,OAASA,EAAEE,EAAiB,CAAE,cAAe,OAAQ,OAAQ,KAAK,MAAM,MAAM,CAAE,EAAI,IAAI,CAC5W,CACA,cAAcC,EAAO,CACjBC,EAAc,KAAMD,CAAK,CAC7B,CACA,mBAAoB,CAChB,KAAK,cAAc,KAAK,MAAM,CAClC,CACA,WAAW,UAAW,CAAE,MAAO,CAC3B,OAAU,CAAC,eAAe,CAClC,CAAO,CACP,EACAN,EAAQ,MAAQ,CACZ,QAASD,CACb"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import{r,d,a as c,h as a,g as h,w as p,f as l}from"./index-
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/const w=(n,t)=>{p(n,"_on",e=>typeof e=="object"&&e!==null,new Set(["AccordionCallbacksPropType {Events.onClick}"]),t)},y=`/*
|
|
1
|
+
import{r,d,a as c,h as a,g as h,w as p,f as l}from"./index-D9ygQgpL.js";import{K as m}from"./Collapsible-CIER1XyD-CCVXz7W8.js";import{v as b}from"./disabled-u5a_azlj-DDthpSns.js";import{v as f}from"./label-ohY9ajP0-DL9LDU0L.js";import{v as u}from"./open-BFQWty8w-CEWvP37i.js";import{n as g}from"./dev.utils-yQD-QKCU-CTXdCWUO.js";import{w as v}from"./validation-BVeaxeev-BCeyl-Th.js";import"./tslib.es6-CxX45GIN-BGVaTf34.js";import"./clsx-eK3rPvPS-B-dksMZM.js";import"./Heading-ClZtMSvA-B-SEEyYN.js";const y=(n,t)=>{p(n,"_on",e=>typeof e=="object"&&e!==null,new Set(["AccordionCallbacksPropType {Events.onClick}"]),t)},w=`/*
|
|
4
2
|
* This file defines the layer order for all CSS layers used in KoliBri.
|
|
5
3
|
* The order is important as it determines the cascade priority.
|
|
6
4
|
*
|
|
@@ -19,8 +17,8 @@ import{r,d,a as c,h as a,g as h,w as p,f as l}from"./index-BvWOSbaR.js";import{v
|
|
|
19
17
|
@layer kol-a11y {
|
|
20
18
|
:host {
|
|
21
19
|
/*
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
* Minimum size of interactive elements.
|
|
21
|
+
*/
|
|
24
22
|
--a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));
|
|
25
23
|
/*
|
|
26
24
|
* No element should be used without verifying the contrast ratio of its background and font colors.
|
|
@@ -41,6 +39,10 @@ import{r,d,a as c,h as a,g as h,w as p,f as l}from"./index-BvWOSbaR.js";import{v
|
|
|
41
39
|
* Word spacing is required for all texts.
|
|
42
40
|
*/
|
|
43
41
|
word-spacing: inherit;
|
|
42
|
+
/*
|
|
43
|
+
* Text should be aligned left by default to provide a predictable starting point.
|
|
44
|
+
*/
|
|
45
|
+
text-align: left;
|
|
44
46
|
}
|
|
45
47
|
* {
|
|
46
48
|
/*
|
|
@@ -79,6 +81,10 @@ import{r,d,a as c,h as a,g as h,w as p,f as l}from"./index-BvWOSbaR.js";import{v
|
|
|
79
81
|
option,
|
|
80
82
|
select,
|
|
81
83
|
textarea {
|
|
84
|
+
/*
|
|
85
|
+
* All elements should inherit the text color from his parent element.
|
|
86
|
+
*/
|
|
87
|
+
color: inherit;
|
|
82
88
|
/*
|
|
83
89
|
* All elements should inherit the font family from his parent element.
|
|
84
90
|
*/
|
|
@@ -155,13 +161,15 @@ import{r,d,a as c,h as a,g as h,w as p,f as l}from"./index-BvWOSbaR.js";import{v
|
|
|
155
161
|
}
|
|
156
162
|
.kol-span {
|
|
157
163
|
/* KolSpan is a layout component with icons in all directions and a label text in the middle. */
|
|
158
|
-
display:
|
|
159
|
-
|
|
164
|
+
display: flex;
|
|
165
|
+
flex-flow: column;
|
|
166
|
+
align-items: center;
|
|
167
|
+
justify-content: center;
|
|
160
168
|
/* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */
|
|
161
169
|
}
|
|
162
170
|
.kol-span__container {
|
|
163
171
|
display: flex;
|
|
164
|
-
|
|
172
|
+
align-items: center;
|
|
165
173
|
}
|
|
166
174
|
a,
|
|
167
175
|
button {
|
|
@@ -196,18 +204,14 @@ import{r,d,a as c,h as a,g as h,w as p,f as l}from"./index-BvWOSbaR.js";import{v
|
|
|
196
204
|
}
|
|
197
205
|
/* For animation technique see https://css-tricks.com/css-grid-can-do-auto-height-transitions/ */
|
|
198
206
|
@layer kol-component {
|
|
199
|
-
.collapsible {
|
|
200
|
-
/* @see https://github.com/public-ui/kolibri/issues/5952 */
|
|
201
|
-
/*
|
|
202
|
-
* Inside a button, the caption text is always centered.
|
|
203
|
-
* So we have to align the text to the left.
|
|
204
|
-
*/
|
|
205
|
-
}
|
|
206
207
|
@media (prefers-reduced-motion) {
|
|
207
208
|
.collapsible__wrapper-animation, .collapsible__wrapper {
|
|
208
209
|
transition-duration: 0s;
|
|
209
210
|
}
|
|
210
211
|
}
|
|
212
|
+
.collapsible {
|
|
213
|
+
/* @see https://github.com/public-ui/kolibri/issues/5952 */
|
|
214
|
+
}
|
|
211
215
|
@media print {
|
|
212
216
|
:not(.collapsible--open) .collapsible__wrapper-animation {
|
|
213
217
|
display: none;
|
|
@@ -221,29 +225,38 @@ import{r,d,a as c,h as a,g as h,w as p,f as l}from"./index-BvWOSbaR.js";import{v
|
|
|
221
225
|
transition: grid-template-rows 0.3s;
|
|
222
226
|
}
|
|
223
227
|
.collapsible__wrapper-animation {
|
|
228
|
+
opacity: 0;
|
|
229
|
+
transform: scaleY(0);
|
|
230
|
+
transform-origin: top;
|
|
224
231
|
min-height: 0;
|
|
225
|
-
/**
|
|
226
|
-
* The \`overflow: hidden\` ensures that the content is not visible during the animated
|
|
227
|
-
* opening and closing. This should also cut off overlays containing content, but it
|
|
228
|
-
*does not.
|
|
229
|
-
*/
|
|
230
|
-
overflow: hidden;
|
|
231
232
|
/* This property is important to keep in sync with the visual transition (template-rows). Without it interactive elements within the accordion would stay focusable. */
|
|
232
233
|
visibility: hidden;
|
|
233
|
-
transition: visibility 0.3s;
|
|
234
|
+
transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
|
|
234
235
|
}
|
|
235
236
|
.collapsible--open .collapsible__wrapper {
|
|
236
237
|
grid-template-rows: 1fr;
|
|
237
238
|
}
|
|
238
239
|
.collapsible--open .collapsible__wrapper-animation {
|
|
240
|
+
opacity: 1;
|
|
241
|
+
transform: scaleY(1);
|
|
239
242
|
visibility: visible;
|
|
240
243
|
}
|
|
244
|
+
.collapsible {
|
|
245
|
+
/*
|
|
246
|
+
* Inside a button, the caption text is always centered.
|
|
247
|
+
* So we have to align the text to the left.
|
|
248
|
+
*/
|
|
249
|
+
}
|
|
241
250
|
.collapsible__heading-button button .kol-span {
|
|
242
|
-
|
|
251
|
+
align-items: flex-start;
|
|
252
|
+
}
|
|
253
|
+
.collapsible--open:focus-within {
|
|
254
|
+
position: relative;
|
|
255
|
+
z-index: 100;
|
|
243
256
|
}
|
|
244
257
|
}`;l(`[KolAccordion] Anfrage nach einer KolAccordionGroup bei dem immer nur ein Accordion geöffnet ist.
|
|
245
258
|
|
|
246
259
|
- onClick auf der KolAccordion anwenden
|
|
247
260
|
- Click-Event prüft den _open-Status der Accordions
|
|
248
|
-
- Logik Öffnet und Schließt entsprechend`);l("[KolAccordion] Tab-Sperre des Inhalts im geschlossenen Zustand.");const _=class{constructor(n){r(this,n),this.nonce=
|
|
249
|
-
//# sourceMappingURL=kol-accordion.entry-
|
|
261
|
+
- Logik Öffnet und Schließt entsprechend`);l("[KolAccordion] Tab-Sperre des Inhalts im geschlossenen Zustand.");const _=class{constructor(n){r(this,n),this.nonce=g(),this.catchRef=t=>{this.buttonWcRef=t},this.handleOnClick=t=>{this._open=!this._open,setTimeout(()=>{var e,o;(o=(e=this.state._on)===null||e===void 0?void 0:e.onClick)===null||o===void 0||o.call(e,t,this._open===!0),this.host&&d(this.host,c.click,this._open===!0)})},this._disabled=!1,this._level=0,this._open=!1,this.state={_label:"",_level:0,_on:{}}}async kolFocus(){var n;await((n=this.buttonWcRef)===null||n===void 0?void 0:n.kolFocus())}render(){const{_open:n,_label:t,_disabled:e,_level:o}=this.state,i="kol-accordion",s={id:this.nonce,label:t,open:n,disabled:e,level:o,onClick:this.handleOnClick,class:i,HeadingProps:{class:`${i}__heading`},HeadingButtonProps:{ref:this.catchRef,class:`${i}__heading-button`},ContentProps:{class:`${i}__content`,wrapperClass:`${i}__wrapper`,animationClass:`${i}__wrapper-animation`}};return a(m,Object.assign({key:"750cf0bb226ec5139c7098bd44e2a64546888a32"},s),a("slot",{key:"08908025b6753ebe36defc6e2d210736eabff629"}))}validateDisabled(n){b(this,n)}validateLabel(n){f(this,n,{required:!0})}validateLevel(n){v(this,n)}validateOn(n){y(this,n)}validateOpen(n){u(this,n)}componentWillLoad(){this.validateDisabled(this._disabled),this.validateLabel(this._label),this.validateLevel(this._level),this.validateOn(this._on),this.validateOpen(this._open)}get host(){return h(this)}static get watchers(){return{_disabled:["validateDisabled"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_open:["validateOpen"]}}};_.style={default:w};export{_ as kol_accordion};
|
|
262
|
+
//# sourceMappingURL=kol-accordion.entry-ZE4XHffO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kol-accordion.entry-ZE4XHffO.js","sources":["../../../../components/dist/esm/kol-accordion.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, g as getElement } from './index-DXabIfEM.js';\nimport { K as KolCollapsibleFc } from './Collapsible-CIER1XyD.js';\nimport { w as watchValidator, f as featureHint } from './common-L1K0yh1S.js';\nimport { v as validateDisabled } from './disabled-u5a_azlj.js';\nimport { v as validateLabel } from './label-ohY9ajP0.js';\nimport { v as validateOpen } from './open-BFQWty8w.js';\nimport { n as nonce } from './dev.utils-yQD-QKCU.js';\nimport { d as dispatchDomEvent, K as KolEvent } from './events-9-skLO0f.js';\nimport { w as watchHeadingLevel } from './validation-BVeaxeev.js';\nimport './tslib.es6-CxX45GIN.js';\nimport './clsx-eK3rPvPS.js';\nimport './component-names-CkE54Ym7.js';\nimport './Heading-ClZtMSvA.js';\n\nconst validateAccordionCallbacks = (component, value) => {\n watchValidator(component, `_on`, (value) => typeof value === 'object' && value !== null, new Set(['AccordionCallbacksPropType {Events.onClick}']), value);\n};\n\nconst defaultStyleCss = \"/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/* forward the rem function */\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n /*\\n * Text should be aligned left by default to provide a predictable starting point.\\n */\\n text-align: left;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the text color from his parent element.\\n */\\n color: inherit;\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: flex;\\n flex-flow: column;\\n align-items: center;\\n justify-content: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n align-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: block;\\n }\\n}\\n/* For animation technique see https://css-tricks.com/css-grid-can-do-auto-height-transitions/ */\\n@layer kol-component {\\n @media (prefers-reduced-motion) {\\n .collapsible__wrapper-animation, .collapsible__wrapper {\\n transition-duration: 0s;\\n }\\n }\\n .collapsible {\\n /* @see https://github.com/public-ui/kolibri/issues/5952 */\\n }\\n @media print {\\n :not(.collapsible--open) .collapsible__wrapper-animation {\\n display: none;\\n }\\n }\\n .collapsible__wrapper {\\n /* Forces the element into its own GPU compositing layer (via 3D transform). Helps prevent rendering/layout bugs (e.g. #7511) and may improve animation performance. */\\n transform: translateZ(0);\\n display: grid;\\n grid-template-rows: 0fr;\\n transition: grid-template-rows 0.3s;\\n }\\n .collapsible__wrapper-animation {\\n opacity: 0;\\n transform: scaleY(0);\\n transform-origin: top;\\n min-height: 0;\\n /* This property is important to keep in sync with the visual transition (template-rows). Without it interactive elements within the accordion would stay focusable. */\\n visibility: hidden;\\n transition: transform 0.3s, opacity 0.3s, visibility 0.3s;\\n }\\n .collapsible--open .collapsible__wrapper {\\n grid-template-rows: 1fr;\\n }\\n .collapsible--open .collapsible__wrapper-animation {\\n opacity: 1;\\n transform: scaleY(1);\\n visibility: visible;\\n }\\n .collapsible {\\n /*\\n * Inside a button, the caption text is always centered.\\n * So we have to align the text to the left.\\n */\\n }\\n .collapsible__heading-button button .kol-span {\\n align-items: flex-start;\\n }\\n .collapsible--open:focus-within {\\n position: relative;\\n z-index: 100;\\n }\\n}\";\n\nfeatureHint(`[KolAccordion] Anfrage nach einer KolAccordionGroup bei dem immer nur ein Accordion geöffnet ist.\n\n- onClick auf der KolAccordion anwenden\n- Click-Event prüft den _open-Status der Accordions\n- Logik Öffnet und Schließt entsprechend`);\nfeatureHint(`[KolAccordion] Tab-Sperre des Inhalts im geschlossenen Zustand.`);\nconst KolAccordion = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.nonce = nonce();\n this.catchRef = (ref) => {\n this.buttonWcRef = ref;\n };\n this.handleOnClick = (event) => {\n this._open = !this._open;\n setTimeout(() => {\n var _a, _b;\n (_b = (_a = this.state._on) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, event, this._open === true);\n if (this.host) {\n dispatchDomEvent(this.host, KolEvent.click, this._open === true);\n }\n });\n };\n this._disabled = false;\n this._level = 0;\n this._open = false;\n this.state = {\n _label: '',\n _level: 0,\n _on: {},\n };\n }\n async kolFocus() {\n var _a;\n await ((_a = this.buttonWcRef) === null || _a === void 0 ? void 0 : _a.kolFocus());\n }\n render() {\n const { _open, _label, _disabled, _level } = this.state;\n const rootClass = 'kol-accordion';\n const props = {\n id: this.nonce,\n label: _label,\n open: _open,\n disabled: _disabled,\n level: _level,\n onClick: this.handleOnClick,\n class: rootClass,\n HeadingProps: { class: `${rootClass}__heading` },\n HeadingButtonProps: {\n ref: this.catchRef,\n class: `${rootClass}__heading-button`,\n },\n ContentProps: {\n class: `${rootClass}__content`,\n wrapperClass: `${rootClass}__wrapper`,\n animationClass: `${rootClass}__wrapper-animation`,\n },\n };\n return (h(KolCollapsibleFc, Object.assign({ key: '750cf0bb226ec5139c7098bd44e2a64546888a32' }, props), h(\"slot\", { key: '08908025b6753ebe36defc6e2d210736eabff629' })));\n }\n validateDisabled(value) {\n validateDisabled(this, value);\n }\n validateLabel(value) {\n validateLabel(this, value, {\n required: true,\n });\n }\n validateLevel(value) {\n watchHeadingLevel(this, value);\n }\n validateOn(on) {\n validateAccordionCallbacks(this, on);\n }\n validateOpen(value) {\n validateOpen(this, value);\n }\n componentWillLoad() {\n this.validateDisabled(this._disabled);\n this.validateLabel(this._label);\n this.validateLevel(this._level);\n this.validateOn(this._on);\n this.validateOpen(this._open);\n }\n get host() { return getElement(this); }\n static get watchers() { return {\n \"_disabled\": [\"validateDisabled\"],\n \"_label\": [\"validateLabel\"],\n \"_level\": [\"validateLevel\"],\n \"_on\": [\"validateOn\"],\n \"_open\": [\"validateOpen\"]\n }; }\n};\nKolAccordion.style = {\n default: defaultStyleCss\n};\n\nexport { KolAccordion as kol_accordion };\n//# sourceMappingURL=kol-accordion.entry.js.map\n"],"names":["validateAccordionCallbacks","component","value","watchValidator","defaultStyleCss","featureHint","KolAccordion","hostRef","registerInstance","nonce","ref","event","_a","_b","dispatchDomEvent","KolEvent","_open","_label","_disabled","_level","rootClass","props","h","KolCollapsibleFc","validateDisabled","validateLabel","watchHeadingLevel","on","validateOpen","getElement"],"mappings":"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"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as v,d as c,a as p,h as s,m as _,s as f,g as m,w as l}from"./index-D9ygQgpL.js";import{K as y}from"./Alert-DzpS4CJD-CznI58Av.js";import{v as b}from"./has-closer-DENzUWH2-BVxXP49m.js";import{v as C}from"./label-ohY9ajP0-DL9LDU0L.js";import{w as u}from"./validation-BVeaxeev-BCeyl-Th.js";import"./tslib.es6-CxX45GIN-BGVaTf34.js";import"./i18n-CQxlBXNV-Bs_gON2P.js";import"./clsx-eK3rPvPS-B-dksMZM.js";import"./Heading-ClZtMSvA-B-SEEyYN.js";const i=["default","info","success","warning","error"],A=t=>typeof t=="string"&&i.includes(t),g=(t,e)=>{l(t,"_type",A,new Set(i),e)},o=["card","msg"],w=t=>typeof t=="string"&&o.includes(t),T=(t,e)=>{l(t,"_variant",w,new Set(o),e)},P=class{constructor(t){v(this,t),this.close=()=>{var e,a;(a=(e=this._on)===null||e===void 0?void 0:e.onClose)===null||a===void 0||a.call(e,new Event("Close")),this.host&&c(this.host,p.close)},this.handleAlertTimeout=()=>{this.validateAlert(!1)},this._alert=!1,this._hasCloser=!1,this._level=0,this._type="default",this._variant="msg",this.state={_level:0},this.validateOnValue=e=>typeof e=="object"&&e!==null&&typeof e.onClose=="function"}render(){const{_alert:t,_hasCloser:e,_label:a,_level:r,_type:n,_variant:h}=this.state,d={alert:t,hasCloser:e,label:a,level:r,type:n,variant:h,onCloserClick:this.close,onAlertTimeout:this.handleAlertTimeout};return s(y,Object.assign({key:"5db3514131f644ab76a9bddc438cdf0af412e6e8"},d),s("slot",{key:"61ef793542ae680a090596e44fcb98b9f4e55708"}))}validateAlert(t){_(this,"_alert",t)}validateHasCloser(t){b(this,t)}validateLabel(t){C(this,t)}validateLevel(t){u(this,t)}validateOn(t){this.validateOnValue(t)&&f(this,"_on",{onClose:t.onClose})}validateType(t){g(this,t)}validateVariant(t){T(this,t)}componentWillLoad(){this.validateAlert(this._alert),this.validateHasCloser(this._hasCloser),this.validateLabel(this._label),this.validateLevel(this._level),this.validateOn(this._on),this.validateType(this._type),this.validateVariant(this._variant)}get host(){return m(this)}static get watchers(){return{_alert:["validateAlert"],_hasCloser:["validateHasCloser"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_type:["validateType"],_variant:["validateVariant"]}}};export{P as kol_alert_wc};
|
|
2
|
+
//# sourceMappingURL=kol-alert-wc.entry-CnPBvGgZ.js.map
|
package/dist/assets/{kol-alert-wc.entry-BUR34lkT.js.map → kol-alert-wc.entry-CnPBvGgZ.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kol-alert-wc.entry-
|
|
1
|
+
{"version":3,"file":"kol-alert-wc.entry-CnPBvGgZ.js","sources":["../../../../components/dist/esm/kol-alert-wc.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, g as getElement } from './index-DXabIfEM.js';\nimport { K as KolAlertFc } from './Alert-DzpS4CJD.js';\nimport { w as watchValidator, d as watchBoolean, s as setState } from './common-L1K0yh1S.js';\nimport { v as validateHasCloser } from './has-closer-DENzUWH2.js';\nimport { v as validateLabel } from './label-ohY9ajP0.js';\nimport { d as dispatchDomEvent, K as KolEvent } from './events-9-skLO0f.js';\nimport { w as watchHeadingLevel } from './validation-BVeaxeev.js';\nimport './tslib.es6-CxX45GIN.js';\nimport './clsx-eK3rPvPS.js';\nimport './component-names-CkE54Ym7.js';\nimport './i18n-CQxlBXNV.js';\nimport './i18n-B-iJAw_i.js';\nimport './bem-CIn1qsbp.js';\nimport './browser-CyCtPZc0.js';\nimport './Heading-ClZtMSvA.js';\n\nconst alertTypeOptions = ['default', 'info', 'success', 'warning', 'error'];\nconst isAlertTypePropType = (value) => {\n return typeof value === 'string' && alertTypeOptions.includes(value);\n};\nconst validateAlertType = (component, value) => {\n watchValidator(component, '_type', isAlertTypePropType, new Set(alertTypeOptions), value);\n};\n\nconst alertVariantOptions = ['card', 'msg'];\nconst isAlertVariantPropType = (value) => {\n return typeof value === 'string' && alertVariantOptions.includes(value);\n};\nconst validateAlertVariant = (component, value) => {\n watchValidator(component, '_variant', isAlertVariantPropType, new Set(alertVariantOptions), value);\n};\n\nconst KolAlertWc = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.close = () => {\n var _a, _b;\n (_b = (_a = this._on) === null || _a === void 0 ? void 0 : _a.onClose) === null || _b === void 0 ? void 0 : _b.call(_a, new Event('Close'));\n if (this.host) {\n dispatchDomEvent(this.host, KolEvent.close);\n }\n };\n this.handleAlertTimeout = () => {\n this.validateAlert(false);\n };\n this._alert = false;\n this._hasCloser = false;\n this._level = 0;\n this._type = 'default';\n this._variant = 'msg';\n this.state = {\n _level: 0,\n };\n this.validateOnValue = (value) => typeof value === 'object' && value !== null && typeof value.onClose === 'function';\n }\n render() {\n const { _alert, _hasCloser, _label, _level, _type, _variant } = this.state;\n const props = {\n alert: _alert,\n hasCloser: _hasCloser,\n label: _label,\n level: _level,\n type: _type,\n variant: _variant,\n onCloserClick: this.close,\n onAlertTimeout: this.handleAlertTimeout,\n };\n return (h(KolAlertFc, Object.assign({ key: '5db3514131f644ab76a9bddc438cdf0af412e6e8' }, props), h(\"slot\", { key: '61ef793542ae680a090596e44fcb98b9f4e55708' })));\n }\n validateAlert(value) {\n watchBoolean(this, '_alert', value);\n }\n validateHasCloser(value) {\n validateHasCloser(this, value);\n }\n validateLabel(value) {\n validateLabel(this, value);\n }\n validateLevel(value) {\n watchHeadingLevel(this, value);\n }\n validateOn(value) {\n if (this.validateOnValue(value)) {\n setState(this, '_on', {\n onClose: value.onClose,\n });\n }\n }\n validateType(value) {\n validateAlertType(this, value);\n }\n validateVariant(value) {\n validateAlertVariant(this, value);\n }\n componentWillLoad() {\n this.validateAlert(this._alert);\n this.validateHasCloser(this._hasCloser);\n this.validateLabel(this._label);\n this.validateLevel(this._level);\n this.validateOn(this._on);\n this.validateType(this._type);\n this.validateVariant(this._variant);\n }\n get host() { return getElement(this); }\n static get watchers() { return {\n \"_alert\": [\"validateAlert\"],\n \"_hasCloser\": [\"validateHasCloser\"],\n \"_label\": [\"validateLabel\"],\n \"_level\": [\"validateLevel\"],\n \"_on\": [\"validateOn\"],\n \"_type\": [\"validateType\"],\n \"_variant\": [\"validateVariant\"]\n }; }\n};\n\nexport { KolAlertWc as kol_alert_wc };\n//# sourceMappingURL=kol-alert-wc.entry.js.map\n"],"names":["alertTypeOptions","isAlertTypePropType","value","validateAlertType","component","watchValidator","alertVariantOptions","isAlertVariantPropType","validateAlertVariant","KolAlertWc","hostRef","registerInstance","_a","_b","dispatchDomEvent","KolEvent","_alert","_hasCloser","_label","_level","_type","_variant","props","h","KolAlertFc","watchBoolean","validateHasCloser","validateLabel","watchHeadingLevel","setState","getElement"],"mappings":"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"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import{r as t,h as n,b as o}from"./index-
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/const i=`/*
|
|
1
|
+
import{r as t,h as n,b as o}from"./index-D9ygQgpL.js";const i=`/*
|
|
4
2
|
* This file defines the layer order for all CSS layers used in KoliBri.
|
|
5
3
|
* The order is important as it determines the cascade priority.
|
|
6
4
|
*
|
|
@@ -19,8 +17,8 @@ import{r as t,h as n,b as o}from"./index-BvWOSbaR.js";/*!
|
|
|
19
17
|
@layer kol-a11y {
|
|
20
18
|
:host {
|
|
21
19
|
/*
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
* Minimum size of interactive elements.
|
|
21
|
+
*/
|
|
24
22
|
--a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));
|
|
25
23
|
/*
|
|
26
24
|
* No element should be used without verifying the contrast ratio of its background and font colors.
|
|
@@ -41,6 +39,10 @@ import{r as t,h as n,b as o}from"./index-BvWOSbaR.js";/*!
|
|
|
41
39
|
* Word spacing is required for all texts.
|
|
42
40
|
*/
|
|
43
41
|
word-spacing: inherit;
|
|
42
|
+
/*
|
|
43
|
+
* Text should be aligned left by default to provide a predictable starting point.
|
|
44
|
+
*/
|
|
45
|
+
text-align: left;
|
|
44
46
|
}
|
|
45
47
|
* {
|
|
46
48
|
/*
|
|
@@ -79,6 +81,10 @@ import{r as t,h as n,b as o}from"./index-BvWOSbaR.js";/*!
|
|
|
79
81
|
option,
|
|
80
82
|
select,
|
|
81
83
|
textarea {
|
|
84
|
+
/*
|
|
85
|
+
* All elements should inherit the text color from his parent element.
|
|
86
|
+
*/
|
|
87
|
+
color: inherit;
|
|
82
88
|
/*
|
|
83
89
|
* All elements should inherit the font family from his parent element.
|
|
84
90
|
*/
|
|
@@ -155,13 +161,15 @@ import{r as t,h as n,b as o}from"./index-BvWOSbaR.js";/*!
|
|
|
155
161
|
}
|
|
156
162
|
.kol-span {
|
|
157
163
|
/* KolSpan is a layout component with icons in all directions and a label text in the middle. */
|
|
158
|
-
display:
|
|
159
|
-
|
|
164
|
+
display: flex;
|
|
165
|
+
flex-flow: column;
|
|
166
|
+
align-items: center;
|
|
167
|
+
justify-content: center;
|
|
160
168
|
/* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */
|
|
161
169
|
}
|
|
162
170
|
.kol-span__container {
|
|
163
171
|
display: flex;
|
|
164
|
-
|
|
172
|
+
align-items: center;
|
|
165
173
|
}
|
|
166
174
|
a,
|
|
167
175
|
button {
|
|
@@ -195,18 +203,11 @@ import{r as t,h as n,b as o}from"./index-BvWOSbaR.js";/*!
|
|
|
195
203
|
}
|
|
196
204
|
}
|
|
197
205
|
@layer kol-component {
|
|
198
|
-
@keyframes fadeInOpacity {
|
|
199
|
-
0% {
|
|
200
|
-
opacity: 0;
|
|
201
|
-
}
|
|
202
|
-
100% {
|
|
203
|
-
opacity: 1;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
206
|
.kol-tooltip {
|
|
207
207
|
display: contents;
|
|
208
208
|
}
|
|
209
209
|
.kol-tooltip__floating {
|
|
210
|
+
opacity: 0;
|
|
210
211
|
display: none;
|
|
211
212
|
position: fixed;
|
|
212
213
|
/* Avoid layout interference - see https://floating-ui.com/docs/computePosition */
|
|
@@ -217,12 +218,19 @@ import{r as t,h as n,b as o}from"./index-BvWOSbaR.js";/*!
|
|
|
217
218
|
min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));
|
|
218
219
|
max-width: 90vw;
|
|
219
220
|
max-height: 90vh;
|
|
220
|
-
|
|
221
|
-
animation
|
|
221
|
+
animation-direction: normal;
|
|
222
|
+
/* Can be used to specify the animation duration from the outside. 250ms by default. */
|
|
223
|
+
animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);
|
|
224
|
+
animation-fill-mode: forwards;
|
|
222
225
|
animation-iteration-count: 1;
|
|
223
|
-
animation-name: fadeInOpacity;
|
|
224
226
|
animation-timing-function: ease-in;
|
|
225
227
|
}
|
|
228
|
+
.kol-tooltip__floating.hide {
|
|
229
|
+
animation-name: hideTooltip;
|
|
230
|
+
}
|
|
231
|
+
.kol-tooltip__floating.show {
|
|
232
|
+
animation-name: showTooltip;
|
|
233
|
+
}
|
|
226
234
|
.kol-tooltip__arrow {
|
|
227
235
|
transform: rotate(45deg);
|
|
228
236
|
color: #000;
|
|
@@ -238,6 +246,23 @@ import{r as t,h as n,b as o}from"./index-BvWOSbaR.js";/*!
|
|
|
238
246
|
position: relative;
|
|
239
247
|
z-index: 1000;
|
|
240
248
|
}
|
|
249
|
+
@keyframes hideTooltip {
|
|
250
|
+
0% {
|
|
251
|
+
opacity: 1;
|
|
252
|
+
}
|
|
253
|
+
100% {
|
|
254
|
+
opacity: 0;
|
|
255
|
+
display: none;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
@keyframes showTooltip {
|
|
259
|
+
0% {
|
|
260
|
+
opacity: 0;
|
|
261
|
+
}
|
|
262
|
+
100% {
|
|
263
|
+
opacity: 1;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
241
266
|
}
|
|
242
267
|
@layer kol-component {
|
|
243
268
|
.kol-alert {
|
|
@@ -254,5 +279,5 @@ import{r as t,h as n,b as o}from"./index-BvWOSbaR.js";/*!
|
|
|
254
279
|
/* Visible with forced colors */
|
|
255
280
|
outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));
|
|
256
281
|
}
|
|
257
|
-
}`,l=class{constructor(e){t(this,e),this._alert=!1,this._hasCloser=!1,this._level=0,this._type="default",this._variant="msg",this.state={_level:0}}render(){return n(o,{key:"
|
|
258
|
-
//# sourceMappingURL=kol-alert.entry-
|
|
282
|
+
}`,l=class{constructor(e){t(this,e),this._alert=!1,this._hasCloser=!1,this._level=0,this._type="default",this._variant="msg",this.state={_level:0}}render(){return n(o,{key:"bf51c76e2d6568eea0d1a0c3047da6987aa249d8",_alert:this._alert,_hasCloser:this._hasCloser,_label:this._label,_level:this._level,_on:this._on,_type:this._type,_variant:this._variant},n("slot",{key:"b754666af76f0fcbb15ffeaa4d11b2f61d93abc4"}))}};l.style={default:i};export{l as kol_alert};
|
|
283
|
+
//# sourceMappingURL=kol-alert.entry-DzfeO1ck.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kol-alert.entry-DzfeO1ck.js","sources":["../../../../components/dist/esm/kol-alert.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-DXabIfEM.js';\nimport { b as KolAlertWcTag } from './component-names-CkE54Ym7.js';\nimport './common-L1K0yh1S.js';\n\nconst defaultStyleCss = \"/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/* forward the rem function */\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n /*\\n * Text should be aligned left by default to provide a predictable starting point.\\n */\\n text-align: left;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the text color from his parent element.\\n */\\n color: inherit;\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: flex;\\n flex-flow: column;\\n align-items: center;\\n justify-content: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n align-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: block;\\n }\\n}\\n@layer kol-component {\\n .kol-tooltip {\\n display: contents;\\n }\\n .kol-tooltip__floating {\\n opacity: 0;\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width, max-content);\\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\\n max-width: 90vw;\\n max-height: 90vh;\\n animation-direction: normal;\\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\\n animation-fill-mode: forwards;\\n animation-iteration-count: 1;\\n animation-timing-function: ease-in;\\n }\\n .kol-tooltip__floating.hide {\\n animation-name: hideTooltip;\\n }\\n .kol-tooltip__floating.show {\\n animation-name: showTooltip;\\n }\\n .kol-tooltip__arrow {\\n transform: rotate(45deg);\\n color: #000;\\n background-color: #fff;\\n position: absolute;\\n z-index: 999;\\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip__content {\\n color: #000;\\n background-color: #fff;\\n position: relative;\\n z-index: 1000;\\n }\\n @keyframes hideTooltip {\\n 0% {\\n opacity: 1;\\n }\\n 100% {\\n opacity: 0;\\n display: none;\\n }\\n }\\n @keyframes showTooltip {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n}\\n@layer kol-component {\\n .kol-alert {\\n display: grid;\\n }\\n .kol-alert__container {\\n display: flex;\\n place-items: center;\\n }\\n .kol-alert__container-content {\\n flex-grow: 1;\\n }\\n .kol-alert__closer {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n}\";\n\nconst KolAlert = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this._alert = false;\n this._hasCloser = false;\n this._level = 0;\n this._type = 'default';\n this._variant = 'msg';\n this.state = {\n _level: 0,\n };\n }\n render() {\n return (h(KolAlertWcTag, { key: 'bf51c76e2d6568eea0d1a0c3047da6987aa249d8', _alert: this._alert, _hasCloser: this._hasCloser, _label: this._label, _level: this._level, _on: this._on, _type: this._type, _variant: this._variant }, h(\"slot\", { key: 'b754666af76f0fcbb15ffeaa4d11b2f61d93abc4' })));\n }\n};\nKolAlert.style = {\n default: defaultStyleCss\n};\n\nexport { KolAlert as kol_alert };\n//# sourceMappingURL=kol-alert.entry.js.map\n"],"names":["defaultStyleCss","KolAlert","hostRef","registerInstance","h","KolAlertWcTag"],"mappings":"sDAOA,MAAMA,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAElBC,EAAW,KAAM,CACnB,YAAYC,EAAS,CACjBC,EAAiB,KAAMD,CAAO,EAC9B,KAAK,OAAS,GACd,KAAK,WAAa,GAClB,KAAK,OAAS,EACd,KAAK,MAAQ,UACb,KAAK,SAAW,MAChB,KAAK,MAAQ,CACT,OAAQ,CACpB,CACI,CACA,QAAS,CACL,OAAQE,EAAEC,EAAe,CAAE,IAAK,2CAA4C,OAAQ,KAAK,OAAQ,WAAY,KAAK,WAAY,OAAQ,KAAK,OAAQ,OAAQ,KAAK,OAAQ,IAAK,KAAK,IAAK,MAAO,KAAK,MAAO,SAAU,KAAK,QAAQ,EAAID,EAAE,OAAQ,CAAE,IAAK,0CAA0C,CAAE,CAAC,CACvS,CACJ,EACAH,EAAS,MAAQ,CACb,QAASD,CACb"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as s,h as o}from"./index-D9ygQgpL.js";import{h as i,v as d}from"./color-DLhBoaj--BGlcAOOS.js";import{v as c}from"./image-source-DqpWx57w-DrXvm2N8.js";import{v as h}from"./label-ohY9ajP0-DL9LDU0L.js";import{t as n}from"./i18n-CQxlBXNV-Bs_gON2P.js";const l=t=>t.length===0?"":t[0].toUpperCase(),b=t=>{const a=t.split(/\s+/),r=a[0],e=a[a.length-1];return a.length>=2&&r&&e?`${l(r)}${l(e)}`:l(t)},C=class{constructor(t){s(this,t),this.bgColorStr="#d3d3d3",this.colorStr="#000",this.handleColorChange=a=>{const r=i(a);this.bgColorStr=r.backgroundColor,this.colorStr=r.foregroundColor},this._color="#d3d3d3",this.state={_src:"",_label:"",_color:{backgroundColor:"#d3d3d3",foregroundColor:"#000"}}}render(){return o("div",{key:"04d0b5653648f532391c0b8f611ef3bd7d4e8bbf","aria-label":n("kol-avatar-alt",{placeholders:{name:this.state._label}}),class:"kol-avatar",role:"img",style:{backgroundColor:this.bgColorStr,color:this.colorStr}},this.state._src?o("img",{alt:"","aria-hidden":"true",class:"kol-avatar__image",src:this.state._src}):o("span",{"aria-hidden":"true",class:"kol-avatar__initials"},b(this.state._label.trim())))}validateColor(t){d(this,t,{defaultValue:"#d3d3d3",hooks:{beforePatch:this.handleColorChange}})}validateSrc(t){c(this,t)}validateLabel(t){h(this,t,{required:!0})}componentWillLoad(){this.validateColor(this._color),this.validateSrc(this._src),this.validateLabel(this._label)}static get watchers(){return{_color:["validateColor"],_src:["validateSrc"],_label:["validateLabel"]}}};export{C as kol_avatar_wc};
|
|
2
|
+
//# sourceMappingURL=kol-avatar-wc.entry-BoycVXyw.js.map
|