@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,215 @@
|
|
|
1
|
+
import { KolForm, KolInputNumber, KolInputText } from '@public-ui/react-v19';
|
|
2
|
+
import React, { type BaseSyntheticEvent } from 'react';
|
|
3
|
+
import { Controller, useForm } from 'react-hook-form';
|
|
4
|
+
import { NumericFormat, type NumberFormatValues, type NumericFormatProps } from 'react-number-format';
|
|
5
|
+
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
7
|
+
|
|
8
|
+
type KolInputTextEvents = {
|
|
9
|
+
onBlur?: (event: Event) => void;
|
|
10
|
+
onChange?: (event: Event, value: unknown) => void;
|
|
11
|
+
onFocus?: (event: Event) => void;
|
|
12
|
+
onInput?: (event: Event, value: unknown) => void;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
class NumberFormatter {
|
|
16
|
+
public parse(value: unknown): string {
|
|
17
|
+
if (value === undefined || value === null || value === '') {
|
|
18
|
+
return '';
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
const stringValue = String(value);
|
|
22
|
+
return stringValue.replace(/[eE.,]/g, '').replace(/\d[+-]/g, '');
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const disallowedCharactersPattern = /[.,+eE]/;
|
|
27
|
+
|
|
28
|
+
const preventInvalidKeyDown = (event: KeyboardEvent) => {
|
|
29
|
+
if (event.key.length === 1 && !event.ctrlKey && !event.metaKey && disallowedCharactersPattern.test(event.key)) {
|
|
30
|
+
event.preventDefault();
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
type KolNumericFormatControllerProps = {
|
|
35
|
+
_label: string;
|
|
36
|
+
_msg?: React.ComponentProps<typeof KolInputText>['_msg'];
|
|
37
|
+
_touched?: boolean;
|
|
38
|
+
_on?: React.ComponentProps<typeof KolInputText>['_on'];
|
|
39
|
+
_required?: boolean;
|
|
40
|
+
value?: number;
|
|
41
|
+
} & Omit<NumericFormatProps, 'customInput' | 'value' | 'onBlur' | 'onValueChange'>;
|
|
42
|
+
|
|
43
|
+
function KolNumericFormat({
|
|
44
|
+
_label,
|
|
45
|
+
_msg,
|
|
46
|
+
_touched,
|
|
47
|
+
_on,
|
|
48
|
+
_required,
|
|
49
|
+
value,
|
|
50
|
+
thousandSeparator = true,
|
|
51
|
+
suffix = '€',
|
|
52
|
+
...props
|
|
53
|
+
}: KolNumericFormatControllerProps) {
|
|
54
|
+
const normalizedOn = _on && typeof _on === 'object' ? (_on as KolInputTextEvents) : undefined;
|
|
55
|
+
|
|
56
|
+
return (
|
|
57
|
+
<NumericFormat
|
|
58
|
+
{...(props as any)}
|
|
59
|
+
value={value}
|
|
60
|
+
suffix={suffix}
|
|
61
|
+
thousandSeparator={thousandSeparator}
|
|
62
|
+
valueIsNumericString={false}
|
|
63
|
+
customInput={(inputProps: any) => {
|
|
64
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access
|
|
65
|
+
const inputValue = inputProps.value;
|
|
66
|
+
return (
|
|
67
|
+
<KolInputText
|
|
68
|
+
{...inputProps}
|
|
69
|
+
_value={inputValue}
|
|
70
|
+
_label={_label}
|
|
71
|
+
_msg={_msg}
|
|
72
|
+
_touched={_touched}
|
|
73
|
+
_required={_required}
|
|
74
|
+
_on={{
|
|
75
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
76
|
+
onBlur: inputProps.onBlur as ((event: Event) => void) | undefined,
|
|
77
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
78
|
+
onChange: inputProps.onChange as ((event: Event, value: unknown) => void) | undefined,
|
|
79
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
80
|
+
onFocus: inputProps.onFocus as ((event: Event) => void) | undefined,
|
|
81
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
82
|
+
onInput: inputProps.onInput as ((event: Event, value: unknown) => void) | undefined,
|
|
83
|
+
}}
|
|
84
|
+
/>
|
|
85
|
+
);
|
|
86
|
+
}}
|
|
87
|
+
onValueChange={(numericValue: NumberFormatValues) => {
|
|
88
|
+
const fakeEvent = new Event('input');
|
|
89
|
+
normalizedOn?.onInput?.(fakeEvent, numericValue.floatValue);
|
|
90
|
+
}}
|
|
91
|
+
onBlur={(event) => {
|
|
92
|
+
normalizedOn?.onBlur?.(event.nativeEvent);
|
|
93
|
+
}}
|
|
94
|
+
/>
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
function KolNumericFormatController(props: any) {
|
|
99
|
+
const { name, control, rules, defaultValue, shouldUnregister, disabled, _label, _required, ...componentProps } = props;
|
|
100
|
+
return (
|
|
101
|
+
<Controller
|
|
102
|
+
name={name}
|
|
103
|
+
control={control}
|
|
104
|
+
rules={rules}
|
|
105
|
+
defaultValue={defaultValue}
|
|
106
|
+
shouldUnregister={shouldUnregister}
|
|
107
|
+
disabled={disabled}
|
|
108
|
+
render={({ field, fieldState }) => {
|
|
109
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
|
110
|
+
const userHandlers = componentProps._on as KolInputTextEvents | undefined;
|
|
111
|
+
return (
|
|
112
|
+
<KolNumericFormat
|
|
113
|
+
{...(componentProps as any)}
|
|
114
|
+
_label={_label}
|
|
115
|
+
_required={_required}
|
|
116
|
+
value={field.value}
|
|
117
|
+
_touched={fieldState.isTouched}
|
|
118
|
+
_msg={
|
|
119
|
+
fieldState.error
|
|
120
|
+
? {
|
|
121
|
+
_type: 'error' as const,
|
|
122
|
+
_description: fieldState.error.message || String(fieldState.error),
|
|
123
|
+
}
|
|
124
|
+
: undefined
|
|
125
|
+
}
|
|
126
|
+
_on={{
|
|
127
|
+
onInput: (event: Event, value: unknown) => {
|
|
128
|
+
field.onChange(value);
|
|
129
|
+
userHandlers?.onInput?.(event, value);
|
|
130
|
+
},
|
|
131
|
+
onBlur: () => field.onBlur(),
|
|
132
|
+
}}
|
|
133
|
+
/>
|
|
134
|
+
);
|
|
135
|
+
}}
|
|
136
|
+
/>
|
|
137
|
+
);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
type CurrencyExampleFormValues = {
|
|
141
|
+
currency: number;
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
export function InputNumberNumberFormatter() {
|
|
145
|
+
const formatter = new NumberFormatter();
|
|
146
|
+
const [displayValue, setDisplayValue] = React.useState<number | undefined>(undefined);
|
|
147
|
+
const [value, setValue] = React.useState<number | undefined>(-128);
|
|
148
|
+
const [touched, setTouched] = React.useState(false);
|
|
149
|
+
|
|
150
|
+
const initialCurrencyExampleValues: CurrencyExampleFormValues = {
|
|
151
|
+
currency: 1000000,
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
const currencyForm = useForm<CurrencyExampleFormValues>({
|
|
155
|
+
defaultValues: initialCurrencyExampleValues,
|
|
156
|
+
mode: 'onTouched',
|
|
157
|
+
});
|
|
158
|
+
|
|
159
|
+
const currencyValues = currencyForm.watch();
|
|
160
|
+
|
|
161
|
+
const handleCurrencySubmit = (event: Event) => {
|
|
162
|
+
void currencyForm.handleSubmit(async () => {})(event as unknown as BaseSyntheticEvent);
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
return (
|
|
166
|
+
<>
|
|
167
|
+
<SampleDescription>
|
|
168
|
+
<p>
|
|
169
|
+
This example demonstrates formatting number input. The first example shows whole number formatting where decimal separators (. and ,) and scientific
|
|
170
|
+
notation (e) are automatically removed on input. The second example shows currency formatting with react-number-format in a react-hook-form context.
|
|
171
|
+
</p>
|
|
172
|
+
</SampleDescription>
|
|
173
|
+
<section className="w-full grid gap-4">
|
|
174
|
+
<div>
|
|
175
|
+
<KolForm>
|
|
176
|
+
<KolInputNumber
|
|
177
|
+
_label="Whole number"
|
|
178
|
+
_step={1}
|
|
179
|
+
_value={displayValue ?? value}
|
|
180
|
+
_on={{
|
|
181
|
+
onKeyDown: preventInvalidKeyDown,
|
|
182
|
+
onBlur: () => {
|
|
183
|
+
setTouched(true);
|
|
184
|
+
},
|
|
185
|
+
onInput: (_event: Event, inputValue: unknown) => {
|
|
186
|
+
const cleaned = formatter.parse(inputValue);
|
|
187
|
+
const numValue = cleaned === '' ? undefined : Number(cleaned);
|
|
188
|
+
|
|
189
|
+
setDisplayValue(numValue);
|
|
190
|
+
setValue(numValue);
|
|
191
|
+
},
|
|
192
|
+
}}
|
|
193
|
+
/>
|
|
194
|
+
</KolForm>
|
|
195
|
+
<pre className="text-base mt-2">{JSON.stringify({ value, touched }, null, 2)}</pre>
|
|
196
|
+
</div>
|
|
197
|
+
|
|
198
|
+
<div>
|
|
199
|
+
<KolForm _on={{ onSubmit: handleCurrencySubmit }}>
|
|
200
|
+
<KolNumericFormatController
|
|
201
|
+
control={currencyForm.control as any}
|
|
202
|
+
name="currency"
|
|
203
|
+
decimalScale={2}
|
|
204
|
+
displayType="input"
|
|
205
|
+
rules={{ required: 'Please enter a currency amount.' }}
|
|
206
|
+
_label="Currency"
|
|
207
|
+
_required
|
|
208
|
+
/>
|
|
209
|
+
</KolForm>
|
|
210
|
+
<pre className="text-base mt-2">{JSON.stringify(currencyValues, null, 2)}</pre>
|
|
211
|
+
</div>
|
|
212
|
+
</section>
|
|
213
|
+
</>
|
|
214
|
+
);
|
|
215
|
+
}
|
|
@@ -20,10 +20,10 @@ export const InputNumberCases = forwardRef<HTMLKolInputNumberElement, Components
|
|
|
20
20
|
_label="Number input"
|
|
21
21
|
_icons={{
|
|
22
22
|
left: {
|
|
23
|
-
icon: 'codicon codicon-
|
|
23
|
+
icon: 'codicon codicon-snake',
|
|
24
24
|
},
|
|
25
25
|
right: {
|
|
26
|
-
icon: 'codicon codicon-
|
|
26
|
+
icon: 'codicon codicon-squirrel',
|
|
27
27
|
},
|
|
28
28
|
}}
|
|
29
29
|
/>
|
|
@@ -32,8 +32,8 @@ export const InputNumberCases = forwardRef<HTMLKolInputNumberElement, Components
|
|
|
32
32
|
<KolInputNumber {...props} _required _msg={{ _type: 'info', _description: ERROR_MSG }} _touched _value={123} _label="Number input" />
|
|
33
33
|
<KolInputNumber {...props} _required _msg={{ _type: 'success', _description: ERROR_MSG }} _touched _value={123} _label="Number input" />
|
|
34
34
|
<KolInputNumber {...props} ref={ref} _accessKey="Z" _max={10} _min={-10} _step={2} _label="Number input (-10 to 10 in steps of 2)" />
|
|
35
|
-
<KolInputNumber {...props} _readOnly _label="Number input (Readonly)" />
|
|
36
|
-
<KolInputNumber {...props} _disabled _label="Number input (Disabled)" />
|
|
35
|
+
<KolInputNumber {...props} _readOnly _value={123} _label="Number input (Readonly)" />
|
|
36
|
+
<KolInputNumber {...props} _disabled _value={123} _label="Number input (Disabled)" />
|
|
37
37
|
<KolInputNumber {...props} _label="With access key" _accessKey="c" />
|
|
38
38
|
<KolInputNumber {...props} _label="With short key" _shortKey="s" />
|
|
39
39
|
</div>
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { Routes } from '../../shares/types';
|
|
2
2
|
import { InputNumberBasic } from './basic';
|
|
3
|
+
import { InputNumberNumberFormatter } from './number-formatter';
|
|
3
4
|
|
|
4
5
|
export const INPUT_NUMBER_ROUTES: Routes = {
|
|
5
6
|
'input-number': {
|
|
6
7
|
basic: InputNumberBasic,
|
|
8
|
+
'number-formatter': InputNumberNumberFormatter,
|
|
7
9
|
},
|
|
8
10
|
};
|
|
@@ -2,8 +2,8 @@ import type { FC } from 'react';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
4
|
import { FormWrap } from '../FormWrap';
|
|
5
|
-
import { InputPasswordVariants } from './partials/variants';
|
|
6
5
|
import { SampleDescription } from '../SampleDescription';
|
|
6
|
+
import { InputPasswordVariants } from './partials/variants';
|
|
7
7
|
|
|
8
8
|
export const InputPasswordBasic: FC = () => (
|
|
9
9
|
<>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
import { KolInputPassword } from '@public-ui/react-v19';
|
|
3
1
|
import type { Components } from '@public-ui/components';
|
|
2
|
+
import { KolInputPassword } from '@public-ui/react-v19';
|
|
3
|
+
import React, { forwardRef } from 'react';
|
|
4
4
|
|
|
5
5
|
import { ERROR_MSG, HINT_MSG } from '../../../shares/constants';
|
|
6
6
|
|
|
@@ -29,9 +29,10 @@ export const InputPasswordCases = forwardRef<HTMLKolInputPasswordElement, Compon
|
|
|
29
29
|
}}
|
|
30
30
|
_touched
|
|
31
31
|
/>
|
|
32
|
-
<KolInputPassword {...props}
|
|
33
|
-
<KolInputPassword {...props}
|
|
34
|
-
<KolInputPassword {...props}
|
|
32
|
+
<KolInputPassword {...props} _msg={{ _type: 'info', _description: 'Just a hint' }} _label="Passwort" _touched />
|
|
33
|
+
<KolInputPassword {...props} _msg={{ _type: 'warning', _description: 'Small warning' }} _label="Passwort" _touched />
|
|
34
|
+
<KolInputPassword {...props} _msg={{ _type: 'success', _description: 'Success message' }} _label="Passwort" _touched />
|
|
35
|
+
<KolInputPassword {...props} _msg={{ _type: 'default', _description: 'Default message' }} _label="Passwort" _touched />
|
|
35
36
|
<KolInputPassword {...props} _disabled _msg={{ _type: 'error', _description: ERROR_MSG }} _label="Passwort (Disabled)" _touched />
|
|
36
37
|
<KolInputPassword {...props} _readOnly _label="Passwort (Readonly)" />
|
|
37
38
|
<KolInputPassword {...props} ref={ref} _shortKey="c" _label="With access key" />
|
|
@@ -2,8 +2,8 @@ import type { FC } from 'react';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
4
|
import { FormWrap } from '../FormWrap';
|
|
5
|
-
import { InputRadioVariants } from './partials/variants';
|
|
6
5
|
import { SampleDescription } from '../SampleDescription';
|
|
6
|
+
import { InputRadioVariants } from './partials/variants';
|
|
7
7
|
|
|
8
8
|
export const InputRadioBasic: FC = () => (
|
|
9
9
|
<>
|
|
@@ -3,8 +3,8 @@ import React, { forwardRef } from 'react';
|
|
|
3
3
|
import { InputRadioCases } from './cases';
|
|
4
4
|
|
|
5
5
|
import type { Components } from '@public-ui/components';
|
|
6
|
-
import { SampleColumns } from '../../SampleColumns';
|
|
7
6
|
import { KolHeading } from '@public-ui/react-v19';
|
|
7
|
+
import { SampleColumns } from '../../SampleColumns';
|
|
8
8
|
|
|
9
9
|
export const InputRadioVariants = forwardRef<HTMLKolInputRadioElement, Components.KolInputRadio>(function InputRadioVariant(props, ref) {
|
|
10
10
|
return (
|
|
@@ -2,8 +2,8 @@ import type { FC } from 'react';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
4
|
import { FormWrap } from '../FormWrap';
|
|
5
|
-
import { InputRangeVariants } from './partials/variants';
|
|
6
5
|
import { SampleDescription } from '../SampleDescription';
|
|
6
|
+
import { InputRangeVariants } from './partials/variants';
|
|
7
7
|
|
|
8
8
|
export const InputRangeBasic: FC = () => (
|
|
9
9
|
<>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
import { KolInputRange } from '@public-ui/react-v19';
|
|
3
1
|
import type { Components } from '@public-ui/components';
|
|
2
|
+
import { KolInputRange } from '@public-ui/react-v19';
|
|
3
|
+
import React, { forwardRef } from 'react';
|
|
4
4
|
|
|
5
5
|
import { ERROR_MSG, HINT_MSG } from '../../../shares/constants';
|
|
6
6
|
|
|
@@ -37,9 +37,10 @@ export const InputRangeCases = forwardRef<HTMLKolInputRangeElement, Components.K
|
|
|
37
37
|
_label="Slider with error"
|
|
38
38
|
_touched
|
|
39
39
|
/>
|
|
40
|
-
<KolInputRange {...props} _msg={{ _type: 'info', _description: 'Just a hint' }} _label="Slider" />
|
|
41
|
-
<KolInputRange {...props} _msg={{ _type: 'warning', _description: 'Small warning' }} _label="Slider" />
|
|
42
|
-
<KolInputRange {...props} _msg={{ _type: 'success', _description: 'Success message' }} _label="Slider" />
|
|
40
|
+
<KolInputRange {...props} _msg={{ _type: 'info', _description: 'Just a hint' }} _label="Slider" _touched />
|
|
41
|
+
<KolInputRange {...props} _msg={{ _type: 'warning', _description: 'Small warning' }} _label="Slider" _touched />
|
|
42
|
+
<KolInputRange {...props} _msg={{ _type: 'success', _description: 'Success message' }} _label="Slider" _touched />
|
|
43
|
+
<KolInputRange {...props} _msg={{ _type: 'default', _description: 'Default message' }} _label="Slider" _touched />
|
|
43
44
|
<KolInputRange {...props} _disabled _min={0} _max={50} _label="Slider (disabled)" />
|
|
44
45
|
<KolInputRange {...props} _min={0} _max={50} _label="With access key" _accessKey="c" />
|
|
45
46
|
<KolInputRange {...props} _min={0} _max={50} _label="With short key" _shortKey="s" />
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { KolInputText } from '@public-ui/react-v19';
|
|
2
|
+
import type { FC } from 'react';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { SampleDescription } from '../SampleDescription';
|
|
5
|
+
|
|
6
|
+
export const InputTextAccessShortKey: FC = () => (
|
|
7
|
+
<>
|
|
8
|
+
<SampleDescription>
|
|
9
|
+
<p>This story demonstrates access keys and short keys for KolInputText. Access keys provide keyboard shortcuts for focusing inputs.</p>
|
|
10
|
+
</SampleDescription>
|
|
11
|
+
|
|
12
|
+
<div className="grid gap-4">
|
|
13
|
+
<KolInputText _label="With access key (Alt+F)" _value="Press Alt+F to focus" _accessKey="f" />
|
|
14
|
+
<KolInputText _label="With short key (Alt+N)" _value="Press Alt+N to focus" _shortKey="n" />
|
|
15
|
+
<KolInputText _label="Access key (Alt+E)" _value="" _placeholder="Email address" _accessKey="e" />
|
|
16
|
+
<KolInputText _label="Short key (Alt+P)" _value="" _placeholder="Phone number" _shortKey="p" />
|
|
17
|
+
</div>
|
|
18
|
+
</>
|
|
19
|
+
);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { KolInputText } from '@public-ui/react-v19';
|
|
2
|
+
import type { FC } from 'react';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { SampleDescription } from '../SampleDescription';
|
|
5
|
+
|
|
6
|
+
export const InputTextBackground: FC = () => (
|
|
7
|
+
<>
|
|
8
|
+
<SampleDescription>
|
|
9
|
+
<p>This story showcases the component placed on a colored background.</p>
|
|
10
|
+
</SampleDescription>
|
|
11
|
+
|
|
12
|
+
<div className="grid gap-4 bg-blue-400 p-4 rounded">
|
|
13
|
+
<strong>Default background:</strong>
|
|
14
|
+
<KolInputText _label="First name" _value="John Doe" />
|
|
15
|
+
|
|
16
|
+
<strong>Unset background:</strong>
|
|
17
|
+
<KolInputText style={{ backgroundColor: 'unset' }} _label="First name" _value="John Doe" />
|
|
18
|
+
</div>
|
|
19
|
+
</>
|
|
20
|
+
);
|
|
@@ -1,16 +1,21 @@
|
|
|
1
|
+
import { KolInputText } from '@public-ui/react-v19';
|
|
1
2
|
import type { FC } from 'react';
|
|
2
3
|
import React from 'react';
|
|
3
|
-
|
|
4
|
-
import { FormWrap } from '../FormWrap';
|
|
5
|
-
import { InputTextVariants } from './partials/variants';
|
|
6
4
|
import { SampleDescription } from '../SampleDescription';
|
|
7
5
|
|
|
8
6
|
export const InputTextBasic: FC = () => (
|
|
9
7
|
<>
|
|
10
8
|
<SampleDescription>
|
|
11
|
-
<p>
|
|
9
|
+
<p>This story showcases the most important InputText variants: default, required, validation error, disabled, read-only, and with icons.</p>
|
|
12
10
|
</SampleDescription>
|
|
13
11
|
|
|
14
|
-
<
|
|
12
|
+
<div className="grid gap-4">
|
|
13
|
+
<KolInputText _label="Name" _value="Anderson-Clark" />
|
|
14
|
+
<KolInputText _label="Name" _required _msg={{ _type: 'error', _description: 'Please enter your name' }} _touched />
|
|
15
|
+
<KolInputText _label="Name" _required _hint="Enter your surname" />
|
|
16
|
+
<KolInputText _label="Name" _value="Anderson-Clark" _disabled />
|
|
17
|
+
<KolInputText _label="Name" _readOnly _value="Anderson-Clark" />
|
|
18
|
+
<KolInputText _label="Name" _icons="codicon codicon-account" _value="Anderson-Clark" />
|
|
19
|
+
</div>
|
|
15
20
|
</>
|
|
16
21
|
);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { KolInputText } from '@public-ui/react-v19';
|
|
2
|
+
import type { FC } from 'react';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { SampleDescription } from '../SampleDescription';
|
|
5
|
+
|
|
6
|
+
export const InputTextDisabled: FC = () => (
|
|
7
|
+
<>
|
|
8
|
+
<SampleDescription>
|
|
9
|
+
<p>This story demonstrates the disabled state of KolInputText. Disabled inputs cannot be edited or focused.</p>
|
|
10
|
+
</SampleDescription>
|
|
11
|
+
|
|
12
|
+
<div className="grid gap-4">
|
|
13
|
+
<KolInputText _label="Disabled with placeholder" _placeholder="Placeholder text" _disabled />
|
|
14
|
+
<KolInputText _label="Disabled with value" _value="This field is disabled" _disabled />
|
|
15
|
+
<KolInputText _label="Disabled with error message" _value="Invalid value" _msg={{ _type: 'error', _description: 'Error message' }} _disabled _touched />
|
|
16
|
+
<KolInputText _label="Comparison: Enabled" _value="This field is enabled" />
|
|
17
|
+
</div>
|
|
18
|
+
</>
|
|
19
|
+
);
|
|
@@ -1,17 +1,33 @@
|
|
|
1
|
+
import { KolBadge, KolIcon, KolInputText } from '@public-ui/react-v19';
|
|
1
2
|
import * as React from 'react';
|
|
2
3
|
import { SampleDescription } from '../SampleDescription';
|
|
3
|
-
import { KolInputText } from '@public-ui/react-v19';
|
|
4
4
|
|
|
5
5
|
export const InputTextExpertSlot = () => {
|
|
6
6
|
return (
|
|
7
7
|
<>
|
|
8
8
|
<SampleDescription>
|
|
9
|
-
<p>This sample
|
|
9
|
+
<p>This sample shows KolInputText with expert slot. The expert slot allows for complex custom content beyond simple text inputs.</p>
|
|
10
10
|
</SampleDescription>
|
|
11
11
|
|
|
12
|
-
<
|
|
13
|
-
<
|
|
14
|
-
|
|
12
|
+
<div className="grid gap-4">
|
|
13
|
+
<KolInputText _label="" _type="text">
|
|
14
|
+
<span slot="expert">I am more than just a input field</span>
|
|
15
|
+
</KolInputText>
|
|
16
|
+
|
|
17
|
+
<KolInputText _label="" _type="text" _value="Complex example">
|
|
18
|
+
<div slot="expert" className="flex items-center gap-2">
|
|
19
|
+
<KolBadge _label="Premium" _color="#1a73e8" />
|
|
20
|
+
<KolIcon _icons="codicon codicon-verified-filled" _label="" />
|
|
21
|
+
<span>Verified account with premium features</span>
|
|
22
|
+
</div>
|
|
23
|
+
</KolInputText>
|
|
24
|
+
|
|
25
|
+
<KolInputText _label="" _type="text" _placeholder="Enter your email">
|
|
26
|
+
<div slot="expert" style={{ padding: '0.5rem', backgroundColor: '#f0f0f0', borderRadius: '4px' }}>
|
|
27
|
+
<strong>Note:</strong> This email will be used for account recovery and notifications.
|
|
28
|
+
</div>
|
|
29
|
+
</KolInputText>
|
|
30
|
+
</div>
|
|
15
31
|
</>
|
|
16
32
|
);
|
|
17
33
|
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { KolAlert, KolInputText } from '@public-ui/react-v19';
|
|
2
|
+
import type { FC } from 'react';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { SampleDescription } from '../SampleDescription';
|
|
5
|
+
|
|
6
|
+
export const InputTextHideLabel: FC = () => (
|
|
7
|
+
<div className="grid gap-4">
|
|
8
|
+
<SampleDescription>
|
|
9
|
+
<p>
|
|
10
|
+
This story demonstrates the <code>_hideLabel</code> feature for KolInputText. It allows hiding the label visually while keeping it accessible for screen
|
|
11
|
+
readers.
|
|
12
|
+
</p>
|
|
13
|
+
</SampleDescription>
|
|
14
|
+
|
|
15
|
+
<section>
|
|
16
|
+
<KolInputText _hideLabel _label="Search" _placeholder="Search..." _type="search" />
|
|
17
|
+
</section>
|
|
18
|
+
|
|
19
|
+
<section>
|
|
20
|
+
<KolInputText _hideLabel _label="Email" _placeholder="Enter email" _msg={{ _type: 'error', _description: 'Invalid email format' }} _touched />
|
|
21
|
+
</section>
|
|
22
|
+
|
|
23
|
+
<section>
|
|
24
|
+
<fieldset className="grid md:grid-cols-2 gap-4">
|
|
25
|
+
<legend>Street Address</legend>
|
|
26
|
+
<KolAlert className="col-span-2" _level={0} _type="error">
|
|
27
|
+
Please complete the address
|
|
28
|
+
</KolAlert>
|
|
29
|
+
<KolInputText
|
|
30
|
+
_hideLabel
|
|
31
|
+
_hideMsg
|
|
32
|
+
_label="Street name"
|
|
33
|
+
_placeholder="Street name"
|
|
34
|
+
_msg={{ _type: 'error', _description: 'Please complete the address' }}
|
|
35
|
+
_touched
|
|
36
|
+
/>
|
|
37
|
+
<KolInputText
|
|
38
|
+
_hideLabel
|
|
39
|
+
_hideMsg
|
|
40
|
+
_label="House number"
|
|
41
|
+
_placeholder="Number"
|
|
42
|
+
_msg={{ _type: 'error', _description: 'Please complete the address' }}
|
|
43
|
+
_touched
|
|
44
|
+
/>
|
|
45
|
+
</fieldset>
|
|
46
|
+
</section>
|
|
47
|
+
</div>
|
|
48
|
+
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KolAlert,
|
|
1
|
+
import { KolAlert, KolInputText } from '@public-ui/react-v19';
|
|
2
2
|
import type { FC } from 'react';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { SampleDescription } from '../SampleDescription';
|
|
@@ -12,10 +12,10 @@ export const InputTextHideMsg: FC = () => (
|
|
|
12
12
|
</p>
|
|
13
13
|
</SampleDescription>
|
|
14
14
|
|
|
15
|
-
<
|
|
15
|
+
<section>
|
|
16
16
|
<KolInputText _msg={{ _type: 'error', _description: 'Error message' }} _label="Input with error" _touched />
|
|
17
|
-
</
|
|
18
|
-
<
|
|
17
|
+
</section>
|
|
18
|
+
<section>
|
|
19
19
|
<fieldset className="grid md:grid-cols-2 gap-4">
|
|
20
20
|
<legend>Combined input field</legend>
|
|
21
21
|
<KolAlert className="col-span-2" _level={0} _type="error">
|
|
@@ -24,6 +24,6 @@ export const InputTextHideMsg: FC = () => (
|
|
|
24
24
|
<KolInputText _msg={{ _type: 'error', _description: 'This is a combined error message' }} _hideMsg _label="First input" _touched />
|
|
25
25
|
<KolInputText _msg={{ _type: 'error', _description: 'This is a combined error message' }} _hideMsg _label="Second input with error" _touched />
|
|
26
26
|
</fieldset>
|
|
27
|
-
</
|
|
27
|
+
</section>
|
|
28
28
|
</div>
|
|
29
29
|
);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { KolInputText } from '@public-ui/react-v19';
|
|
2
|
+
import type { FC } from 'react';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { SampleDescription } from '../SampleDescription';
|
|
5
|
+
|
|
6
|
+
export const InputTextMessageTypes: FC = () => (
|
|
7
|
+
<>
|
|
8
|
+
<SampleDescription>
|
|
9
|
+
<p>This story demonstrates all available message types for KolInputText: default, info, error, warning, and success.</p>
|
|
10
|
+
</SampleDescription>
|
|
11
|
+
|
|
12
|
+
<div className="grid gap-4">
|
|
13
|
+
<KolInputText _label="Default message" _value="Valid value" _msg={{ _type: 'default', _description: 'This is a default message' }} _touched />
|
|
14
|
+
<KolInputText _label="Error message" _value="Invalid value" _msg={{ _type: 'error', _description: 'This is an error message' }} _touched />
|
|
15
|
+
<KolInputText _label="Info message" _value="Some value" _msg={{ _type: 'info', _description: 'This is an informational message' }} _touched />
|
|
16
|
+
<KolInputText _label="Success message" _value="Valid value" _msg={{ _type: 'success', _description: 'This is a success message' }} _touched />
|
|
17
|
+
<KolInputText _label="Warning message" _value="Valid value" _msg={{ _type: 'warning', _description: 'This is a warning message' }} _touched />
|
|
18
|
+
</div>
|
|
19
|
+
</>
|
|
20
|
+
);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { KolInputText } from '@public-ui/react-v19';
|
|
2
|
+
import type { FC } from 'react';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { SampleDescription } from '../SampleDescription';
|
|
5
|
+
|
|
6
|
+
export const InputTextPlaceholder: FC = () => (
|
|
7
|
+
<>
|
|
8
|
+
<SampleDescription>
|
|
9
|
+
<p>This story demonstrates the placeholder feature of KolInputText.</p>
|
|
10
|
+
</SampleDescription>
|
|
11
|
+
|
|
12
|
+
<div className="grid gap-4">
|
|
13
|
+
<KolInputText _label="First name" _placeholder="Enter your first name" />
|
|
14
|
+
<KolInputText _label="Email address" _placeholder="user@example.com" />
|
|
15
|
+
<KolInputText _label="Phone number" _placeholder="+49 123 456789" _type="tel" />
|
|
16
|
+
<KolInputText _label="Website" _placeholder="https://example.com" _type="url" />
|
|
17
|
+
<KolInputText _label="Search" _placeholder="Search..." _type="search" />
|
|
18
|
+
</div>
|
|
19
|
+
</>
|
|
20
|
+
);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { KolInputText } from '@public-ui/react-v19';
|
|
2
|
+
import type { FC } from 'react';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { SampleDescription } from '../SampleDescription';
|
|
5
|
+
|
|
6
|
+
export const InputTextReadonly: FC = () => (
|
|
7
|
+
<>
|
|
8
|
+
<SampleDescription>
|
|
9
|
+
<p>This story demonstrates the readonly state of KolInputText. Readonly inputs can be focused but not edited.</p>
|
|
10
|
+
</SampleDescription>
|
|
11
|
+
|
|
12
|
+
<div className="grid gap-4">
|
|
13
|
+
<KolInputText _label="Readonly with placeholder" _placeholder="Placeholder text" _readOnly />
|
|
14
|
+
<KolInputText _label="Readonly with value" _value="This field is readonly" _readOnly />
|
|
15
|
+
<KolInputText
|
|
16
|
+
_label="Readonly with info message"
|
|
17
|
+
_value="Read-only value"
|
|
18
|
+
_msg={{ _type: 'info', _description: 'This field cannot be edited' }}
|
|
19
|
+
_readOnly
|
|
20
|
+
_touched
|
|
21
|
+
/>
|
|
22
|
+
<KolInputText _label="Comparison: Editable" _value="This field is editable" />
|
|
23
|
+
</div>
|
|
24
|
+
</>
|
|
25
|
+
);
|
|
@@ -1,16 +1,32 @@
|
|
|
1
1
|
import { Routes } from '../../shares/types';
|
|
2
|
+
import { InputTextAccessShortKey } from './access-short-key';
|
|
3
|
+
import { InputTextBackground } from './background-test';
|
|
2
4
|
import { InputTextBasic } from './basic';
|
|
5
|
+
import { InputTextDisabled } from './disabled';
|
|
6
|
+
import { InputTextExpertSlot } from './expert-slot';
|
|
7
|
+
import { InputTextHideLabel } from './hide-label';
|
|
3
8
|
import { InputTextHideMsg } from './hide-msg';
|
|
4
|
-
import {
|
|
9
|
+
import { InputTextMessageTypes } from './message-types';
|
|
10
|
+
import { InputTextPlaceholder } from './placeholder';
|
|
11
|
+
import { InputTextReadonly } from './readonly';
|
|
12
|
+
import { InputTextSelectRange } from './select-range';
|
|
5
13
|
import { InputTextSmartButton } from './smart-button';
|
|
6
|
-
import {
|
|
14
|
+
import { InputTextFormatterDemo } from './text-formatter';
|
|
7
15
|
|
|
8
16
|
export const INPUT_TEXT_ROUTES: Routes = {
|
|
9
17
|
'input-text': {
|
|
10
18
|
basic: InputTextBasic,
|
|
19
|
+
'message-types': InputTextMessageTypes,
|
|
20
|
+
placeholder: InputTextPlaceholder,
|
|
21
|
+
disabled: InputTextDisabled,
|
|
22
|
+
readonly: InputTextReadonly,
|
|
23
|
+
'access-short-key': InputTextAccessShortKey,
|
|
24
|
+
'hide-label': InputTextHideLabel,
|
|
11
25
|
'hide-msg': InputTextHideMsg,
|
|
12
26
|
'text-formatter': InputTextFormatterDemo,
|
|
13
27
|
'smart-button': InputTextSmartButton,
|
|
14
28
|
'expert-slot': InputTextExpertSlot,
|
|
29
|
+
'select-range': InputTextSelectRange,
|
|
30
|
+
background: InputTextBackground,
|
|
15
31
|
},
|
|
16
32
|
};
|