@public-ui/sample-react 3.0.7-rc.0 → 3.0.7-rc.6
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/dist/assets/Alert-C9CYntkU-BDC3Pw0Q.js +4 -0
- package/dist/assets/Alert-C9CYntkU-BDC3Pw0Q.js.map +1 -0
- package/dist/assets/{Collapsible-VwOBRTg--D0SKccok.js → Collapsible-Dw_Vp54h-7sXVMJSo.js} +2 -2
- package/dist/assets/{Collapsible-VwOBRTg--D0SKccok.js.map → Collapsible-Dw_Vp54h-7sXVMJSo.js.map} +1 -1
- package/dist/assets/{CustomSuggestionsToggle-BtYSYCn5-CY0JlDPW.js → CustomSuggestionsToggle-dQnvSA7r-B2-MGzE0.js} +2 -2
- package/dist/assets/{CustomSuggestionsToggle-BtYSYCn5-CY0JlDPW.js.map → CustomSuggestionsToggle-dQnvSA7r-B2-MGzE0.js.map} +1 -1
- package/dist/assets/FieldControlStateWrapper-CAzxBXzC-DvVXGpd2.js +4 -0
- package/dist/assets/FieldControlStateWrapper-CAzxBXzC-DvVXGpd2.js.map +1 -0
- package/dist/assets/FormFieldStateWrapper-CrJwhFBs-aWbGzFwu.js +4 -0
- package/dist/assets/FormFieldStateWrapper-CrJwhFBs-aWbGzFwu.js.map +1 -0
- package/dist/assets/{Heading-CMd-jtC1-BWK_kciH.js → Heading-BABFoi4L-Dv2KFfev.js} +2 -2
- package/dist/assets/{Heading-CMd-jtC1-BWK_kciH.js.map → Heading-BABFoi4L-Dv2KFfev.js.map} +1 -1
- package/dist/assets/{Icon-BQRZwXjg-DUkDYGjS.js → Icon-CxnyTTIM-RBoOXl7T.js} +2 -2
- package/dist/assets/{Icon-BQRZwXjg-DUkDYGjS.js.map → Icon-CxnyTTIM-RBoOXl7T.js.map} +1 -1
- package/dist/assets/{Input-BQNyXbdV-DSNVapbe.js → Input-MeXv-BCK-B8WMCKJ2.js} +2 -2
- package/dist/assets/{Input-BQNyXbdV-DSNVapbe.js.map → Input-MeXv-BCK-B8WMCKJ2.js.map} +1 -1
- package/dist/assets/{InputStateWrapper-5DGko7Ry-BHXVLFy_.js → InputStateWrapper-JMouj3OZ-Dl1_g2OU.js} +2 -2
- package/dist/assets/{InputStateWrapper-5DGko7Ry-BHXVLFy_.js.map → InputStateWrapper-JMouj3OZ-Dl1_g2OU.js.map} +1 -1
- package/dist/assets/{InternalUnderlinedBadgeText-DeV9AANw-wEHwgbnZ.js → InternalUnderlinedBadgeText-CqMSlZjX-DQk88yvj.js} +2 -2
- package/dist/assets/{InternalUnderlinedBadgeText-DeV9AANw-wEHwgbnZ.js.map → InternalUnderlinedBadgeText-CqMSlZjX-DQk88yvj.js.map} +1 -1
- package/dist/assets/{Span-9Jbefwfo-NyeuKlZ0.js → Span-Bv6V0zau-CV2nVVYZ.js} +2 -2
- package/dist/assets/{Span-9Jbefwfo-NyeuKlZ0.js.map → Span-Bv6V0zau-CV2nVVYZ.js.map} +1 -1
- package/dist/assets/{access-and-short-key-bcID78Ha-C130xYiQ.js → access-and-short-key-bcID78Ha-mfB-T8qR.js} +2 -2
- package/dist/assets/{access-and-short-key-bcID78Ha-C130xYiQ.js.map → access-and-short-key-bcID78Ha-mfB-T8qR.js.map} +1 -1
- package/dist/assets/{align-CyK0wp7d-DbhDqGrG.js → align-CyK0wp7d-DhZAQ_qS.js} +2 -2
- package/dist/assets/{align-CyK0wp7d-DbhDqGrG.js.map → align-CyK0wp7d-DhZAQ_qS.js.map} +1 -1
- package/dist/assets/{align-floating-elements-Bx4ukVlr-FjEmjkUG.js → align-floating-elements-Bx4ukVlr-DJlsdTUW.js} +2 -2
- package/dist/assets/{align-floating-elements-Bx4ukVlr-FjEmjkUG.js.map → align-floating-elements-Bx4ukVlr-DJlsdTUW.js.map} +1 -1
- package/dist/assets/{associated.controller-BKIODHIT-CP4fv7ts.js → associated.controller-BKIODHIT-CnqwHYdm.js} +2 -2
- package/dist/assets/{associated.controller-BKIODHIT-CP4fv7ts.js.map → associated.controller-BKIODHIT-CnqwHYdm.js.map} +1 -1
- package/dist/assets/{auto-complete-BsG3RQJ3-pHLpl9cd.js → auto-complete-BsG3RQJ3-CIX9q2eG.js} +2 -2
- package/dist/assets/{auto-complete-BsG3RQJ3-pHLpl9cd.js.map → auto-complete-BsG3RQJ3-CIX9q2eG.js.map} +1 -1
- package/dist/assets/{color-C3pYZKV3-BGmCwfod.js → color-C3pYZKV3-Cts3bEp_.js} +2 -2
- package/dist/assets/{color-C3pYZKV3-BGmCwfod.js.map → color-C3pYZKV3-Cts3bEp_.js.map} +1 -1
- package/dist/assets/{controller-CV2y9Ae_-BvODZRBq.js → controller-B9N11jWX-CyyF7n29.js} +2 -2
- package/dist/assets/{controller-CV2y9Ae_-BvODZRBq.js.map → controller-B9N11jWX-CyyF7n29.js.map} +1 -1
- package/dist/assets/{controller-B_Bwl5E9-CBgf6Hfe.js → controller-B9xVciJh-DWQmvv3-.js} +2 -2
- package/dist/assets/{controller-B_Bwl5E9-CBgf6Hfe.js.map → controller-B9xVciJh-DWQmvv3-.js.map} +1 -1
- package/dist/assets/{controller-C7skty3T-3w3vcTk5.js → controller-CpZ4sr7u-Cnv6z0eh.js} +2 -2
- package/dist/assets/{controller-C7skty3T-3w3vcTk5.js.map → controller-CpZ4sr7u-Cnv6z0eh.js.map} +1 -1
- package/dist/assets/{controller-BMZRH6Si-B5Tb77rU.js → controller-Dl-T77Mb-CjYb1YsR.js} +3 -3
- package/dist/assets/{controller-BMZRH6Si-B5Tb77rU.js.map → controller-Dl-T77Mb-CjYb1YsR.js.map} +1 -1
- package/dist/assets/{controller-icon-DcftMfhw-DppVXxu6.js → controller-icon-Bwn5cD3d-CB_eADkO.js} +3 -3
- package/dist/assets/{controller-icon-DcftMfhw-DppVXxu6.js.map → controller-icon-Bwn5cD3d-CB_eADkO.js.map} +1 -1
- package/dist/assets/{custom-class-CA0KGtrM-B2Km4gsc.js → custom-class-CA0KGtrM-DLTnWtwr.js} +2 -2
- package/dist/assets/{custom-class-CA0KGtrM-B2Km4gsc.js.map → custom-class-CA0KGtrM-DLTnWtwr.js.map} +1 -1
- package/dist/assets/{dev.utils-D2H-D7vZ-B1-EwTKq.js → dev.utils-D6Xe7v8L-C8i5C3ph.js} +2 -2
- package/dist/assets/{dev.utils-D2H-D7vZ-B1-EwTKq.js.map → dev.utils-D6Xe7v8L-C8i5C3ph.js.map} +1 -1
- package/dist/assets/{devtools-Bv4R5yuw-ByKEpxpX.js → devtools-C-zIBVUw-DgREQKBG.js} +2 -2
- package/dist/assets/{devtools-Bv4R5yuw-ByKEpxpX.js.map → devtools-C-zIBVUw-DgREQKBG.js.map} +1 -1
- package/dist/assets/{disabled-BydergHu-D-dcqpPL.js → disabled-BydergHu-Dd49yhns.js} +2 -2
- package/dist/assets/{disabled-BydergHu-D-dcqpPL.js.map → disabled-BydergHu-Dd49yhns.js.map} +1 -1
- package/dist/assets/has-closer-BBMh8HY3-0yOQntgM.js +4 -0
- package/dist/assets/{has-closer-BBMh8HY3-CC9A9PeT.js.map → has-closer-BBMh8HY3-0yOQntgM.js.map} +1 -1
- package/dist/assets/{hide-label-DRunOux4-B8y3Ehgs.js → hide-label-DRunOux4-D8NO5nj0.js} +2 -2
- package/dist/assets/{hide-label-DRunOux4-B8y3Ehgs.js.map → hide-label-DRunOux4-D8NO5nj0.js.map} +1 -1
- package/dist/assets/{href-zZq6HYWf-DuQLYdN_.js → href-zZq6HYWf-Tp0aj_GV.js} +2 -2
- package/dist/assets/{href-zZq6HYWf-DuQLYdN_.js.map → href-zZq6HYWf-Tp0aj_GV.js.map} +1 -1
- package/dist/assets/{i18n-CdSCDnmA-D_Ak1YX2.js → i18n-CdSCDnmA-BmIKzLWv.js} +2 -2
- package/dist/assets/{i18n-CdSCDnmA-D_Ak1YX2.js.map → i18n-CdSCDnmA-BmIKzLWv.js.map} +1 -1
- package/dist/assets/{icons-72ER78AW-DZDBahe5.js → icons-72ER78AW-B0DU-ucH.js} +2 -2
- package/dist/assets/{icons-72ER78AW-DZDBahe5.js.map → icons-72ER78AW-B0DU-ucH.js.map} +1 -1
- package/dist/assets/image-source-RWPv7frZ-VWRZm73E.js +4 -0
- package/dist/assets/{image-source-RWPv7frZ-BZfVa5YS.js.map → image-source-RWPv7frZ-VWRZm73E.js.map} +1 -1
- package/dist/assets/index-56fasavN.css +1 -0
- package/dist/assets/index-BhYCjCdW.js +14105 -0
- package/dist/assets/index-BhYCjCdW.js.map +1 -0
- package/dist/assets/{kol-abbr.entry-CDYF09M6.js → kol-abbr.entry-Bmss8GuF.js} +13 -5
- package/dist/assets/kol-abbr.entry-Bmss8GuF.js.map +1 -0
- package/dist/assets/{kol-accordion.entry-DiNvSycn.js → kol-accordion.entry-LWiSQXTg.js} +19 -11
- package/dist/assets/kol-accordion.entry-LWiSQXTg.js.map +1 -0
- package/dist/assets/{kol-alert-wc.entry-Bm7bVx42.js → kol-alert-wc.entry-DZb1v7bW.js} +3 -3
- package/dist/assets/{kol-alert-wc.entry-Bm7bVx42.js.map → kol-alert-wc.entry-DZb1v7bW.js.map} +1 -1
- package/dist/assets/{kol-alert.entry-C_LnZQMR.js → kol-alert.entry-L8THlK5x.js} +13 -5
- package/dist/assets/kol-alert.entry-L8THlK5x.js.map +1 -0
- package/dist/assets/{kol-avatar-wc.entry-BTkbktI1.js → kol-avatar-wc.entry-BXGP7zlM.js} +3 -3
- package/dist/assets/{kol-avatar-wc.entry-BTkbktI1.js.map → kol-avatar-wc.entry-BXGP7zlM.js.map} +1 -1
- package/dist/assets/{kol-avatar.entry-wzugi-ff.js → kol-avatar.entry-BLLGmM9I.js} +13 -5
- package/dist/assets/kol-avatar.entry-BLLGmM9I.js.map +1 -0
- package/dist/assets/{kol-badge.entry-DVoJvgzC.js → kol-badge.entry-8XQMwVqZ.js} +14 -6
- package/dist/assets/kol-badge.entry-8XQMwVqZ.js.map +1 -0
- package/dist/assets/{kol-breadcrumb.entry-DspXS-ov.js → kol-breadcrumb.entry-DA3SKVWY.js} +13 -4
- package/dist/assets/kol-breadcrumb.entry-DA3SKVWY.js.map +1 -0
- package/dist/assets/{kol-button-link.entry-Yms_sApD.js → kol-button-link.entry-BCiGo_oV.js} +14 -5
- package/dist/assets/kol-button-link.entry-BCiGo_oV.js.map +1 -0
- package/dist/assets/kol-button-wc.entry-DpC1-PfD.js +4 -0
- package/dist/assets/kol-button-wc.entry-DpC1-PfD.js.map +1 -0
- package/dist/assets/{kol-button.entry-DI56_s8m.js → kol-button.entry-3EyXLWgs.js} +13 -5
- package/dist/assets/kol-button.entry-3EyXLWgs.js.map +1 -0
- package/dist/assets/kol-card-wc.entry-ClkIHLu7.js +4 -0
- package/dist/assets/{kol-card-wc.entry-CDrpLONC.js.map → kol-card-wc.entry-ClkIHLu7.js.map} +1 -1
- package/dist/assets/{kol-card.entry-3kIYUSix.js → kol-card.entry-Co1It6SQ.js} +13 -5
- package/dist/assets/kol-card.entry-Co1It6SQ.js.map +1 -0
- package/dist/assets/{kol-combobox.entry-BKP1VAxl.js → kol-combobox.entry-CHe5jN-w.js} +15 -6
- package/dist/assets/kol-combobox.entry-CHe5jN-w.js.map +1 -0
- package/dist/assets/{kol-details.entry-Cv0WbfSH.js → kol-details.entry-y-GD22Ts.js} +18 -10
- package/dist/assets/kol-details.entry-y-GD22Ts.js.map +1 -0
- package/dist/assets/{kol-drawer.entry-CHWD05cU.js → kol-drawer.entry-CEiNfSi9.js} +14 -6
- package/dist/assets/kol-drawer.entry-CEiNfSi9.js.map +1 -0
- package/dist/assets/{kol-form.entry-B1q6qhol.js → kol-form.entry-B00-rMjp.js} +14 -5
- package/dist/assets/kol-form.entry-B00-rMjp.js.map +1 -0
- package/dist/assets/{kol-heading.entry-DmjiOztc.js → kol-heading.entry-D31guFOz.js} +13 -5
- package/dist/assets/kol-heading.entry-D31guFOz.js.map +1 -0
- package/dist/assets/{kol-icon.entry-BEjfo0G6.js → kol-icon.entry-BFt9pY2g.js} +4 -4
- package/dist/assets/{kol-icon.entry-BEjfo0G6.js.map → kol-icon.entry-BFt9pY2g.js.map} +1 -1
- package/dist/assets/{kol-image.entry-BSIVz8mw.js → kol-image.entry-C1NHDiAQ.js} +13 -5
- package/dist/assets/kol-image.entry-C1NHDiAQ.js.map +1 -0
- package/dist/assets/{kol-input-checkbox.entry-C2dsUMpB.js → kol-input-checkbox.entry-CH8jgzmI.js} +14 -6
- package/dist/assets/kol-input-checkbox.entry-CH8jgzmI.js.map +1 -0
- package/dist/assets/{kol-input-color.entry-j-2La6yx.js → kol-input-color.entry-CLnLWvgb.js} +15 -6
- package/dist/assets/kol-input-color.entry-CLnLWvgb.js.map +1 -0
- package/dist/assets/{kol-input-date.entry-DiL7z-A9.js → kol-input-date.entry-CCiOuC3b.js} +36 -7
- package/dist/assets/kol-input-date.entry-CCiOuC3b.js.map +1 -0
- package/dist/assets/{kol-input-email.entry-NqnUVX0g.js → kol-input-email.entry-33eUY_hB.js} +15 -6
- package/dist/assets/kol-input-email.entry-33eUY_hB.js.map +1 -0
- package/dist/assets/{kol-input-file.entry-DW7UhGD1.js → kol-input-file.entry-CDFbJkZd.js} +15 -6
- package/dist/assets/kol-input-file.entry-CDFbJkZd.js.map +1 -0
- package/dist/assets/{kol-input-number.entry-BaZ3sKXG.js → kol-input-number.entry-DjE_Vp4R.js} +16 -7
- package/dist/assets/kol-input-number.entry-DjE_Vp4R.js.map +1 -0
- package/dist/assets/{kol-input-password.entry-LFN7CWLE.js → kol-input-password.entry-CnXWazUd.js} +15 -6
- package/dist/assets/kol-input-password.entry-CnXWazUd.js.map +1 -0
- package/dist/assets/{kol-input-radio.entry-7uz1BXPD.js → kol-input-radio.entry-BNga0qEg.js} +14 -6
- package/dist/assets/kol-input-radio.entry-BNga0qEg.js.map +1 -0
- package/dist/assets/{kol-input-range.entry-Ct22UEK1.js → kol-input-range.entry-CgoD0MUB.js} +16 -7
- package/dist/assets/kol-input-range.entry-CgoD0MUB.js.map +1 -0
- package/dist/assets/kol-input-text.entry-C82y5N1y.js +322 -0
- package/dist/assets/kol-input-text.entry-C82y5N1y.js.map +1 -0
- package/dist/assets/{kol-kolibri.entry-FiUt9h9Z.js → kol-kolibri.entry-Cv4ujNqn.js} +13 -5
- package/dist/assets/kol-kolibri.entry-Cv4ujNqn.js.map +1 -0
- package/dist/assets/{kol-link-button.entry-EKXrQYWi.js → kol-link-button.entry-CvzrFdxH.js} +13 -5
- package/dist/assets/kol-link-button.entry-CvzrFdxH.js.map +1 -0
- package/dist/assets/kol-link-wc.entry-BY5KzxA5.js +4 -0
- package/dist/assets/kol-link-wc.entry-BY5KzxA5.js.map +1 -0
- package/dist/assets/{kol-link.entry-B5hSjd-o.js → kol-link.entry-XOAPwy6f.js} +14 -5
- package/dist/assets/kol-link.entry-XOAPwy6f.js.map +1 -0
- package/dist/assets/{kol-modal.entry-D_BfBMkS.js → kol-modal.entry-BGCnSXeb.js} +14 -6
- package/dist/assets/kol-modal.entry-BGCnSXeb.js.map +1 -0
- package/dist/assets/{kol-nav.entry-CTzU6VoY.js → kol-nav.entry-Cg6r5IJW.js} +14 -6
- package/dist/assets/kol-nav.entry-Cg6r5IJW.js.map +1 -0
- package/dist/assets/kol-pagination-wc.entry-D94xVGSs.js +4 -0
- package/dist/assets/kol-pagination-wc.entry-D94xVGSs.js.map +1 -0
- package/dist/assets/{kol-pagination.entry-BHJy3ud9.js → kol-pagination.entry-CFYC-QQI.js} +13 -5
- package/dist/assets/kol-pagination.entry-CFYC-QQI.js.map +1 -0
- package/dist/assets/{kol-popover-button-wc.entry-YBUoaQbf.js → kol-popover-button-wc.entry-BxL9K1eo.js} +3 -3
- package/dist/assets/{kol-popover-button-wc.entry-YBUoaQbf.js.map → kol-popover-button-wc.entry-BxL9K1eo.js.map} +1 -1
- package/dist/assets/{kol-popover-button.entry-bN4qCl8m.js → kol-popover-button.entry-CUEfl25g.js} +13 -5
- package/dist/assets/kol-popover-button.entry-CUEfl25g.js.map +1 -0
- package/dist/assets/{kol-popover-wc.entry-CbHLANd0.js → kol-popover-wc.entry-B1Ikb2e3.js} +3 -3
- package/dist/assets/{kol-popover-wc.entry-CbHLANd0.js.map → kol-popover-wc.entry-B1Ikb2e3.js.map} +1 -1
- package/dist/assets/{kol-progress.entry-BhEOF17k.js → kol-progress.entry-_v8ax-Eq.js} +14 -6
- package/dist/assets/kol-progress.entry-_v8ax-Eq.js.map +1 -0
- package/dist/assets/{kol-quote.entry-iHbat58_.js → kol-quote.entry-9pG_oGpn.js} +14 -6
- package/dist/assets/kol-quote.entry-9pG_oGpn.js.map +1 -0
- package/dist/assets/{kol-select.entry-CKKnrifZ.js → kol-select.entry-_EnKlOOB.js} +16 -7
- package/dist/assets/kol-select.entry-_EnKlOOB.js.map +1 -0
- package/dist/assets/{kol-single-select.entry-nQ1wRf_E.js → kol-single-select.entry-WYvOp-NB.js} +15 -6
- package/dist/assets/kol-single-select.entry-WYvOp-NB.js.map +1 -0
- package/dist/assets/{kol-skip-nav.entry-B2bsiO8u.js → kol-skip-nav.entry-CslBpQt7.js} +13 -5
- package/dist/assets/kol-skip-nav.entry-CslBpQt7.js.map +1 -0
- package/dist/assets/{kol-spin.entry-CZdTcUrs.js → kol-spin.entry-BZSn2RkH.js} +14 -6
- package/dist/assets/kol-spin.entry-BZSn2RkH.js.map +1 -0
- package/dist/assets/{kol-split-button.entry-D2JCJ1Z_.js → kol-split-button.entry-Bj49bjMq.js} +13 -5
- package/dist/assets/kol-split-button.entry-Bj49bjMq.js.map +1 -0
- package/dist/assets/{kol-table-settings-wc.entry-tP7STHNV.js → kol-table-settings-wc.entry-CDgR3eHd.js} +3 -3
- package/dist/assets/{kol-table-settings-wc.entry-tP7STHNV.js.map → kol-table-settings-wc.entry-CDgR3eHd.js.map} +1 -1
- package/dist/assets/{kol-table-stateful.entry-CY70UPdZ.js → kol-table-stateful.entry-CuusFk6a.js} +14 -6
- package/dist/assets/kol-table-stateful.entry-CuusFk6a.js.map +1 -0
- package/dist/assets/kol-table-stateless-wc.entry-DfdoSUPu.js +4 -0
- package/dist/assets/{kol-table-stateless-wc.entry-DtXNSDzY.js.map → kol-table-stateless-wc.entry-DfdoSUPu.js.map} +1 -1
- package/dist/assets/{kol-table-stateless.entry-DbCRETh2.js → kol-table-stateless.entry-Dya27v--.js} +13 -5
- package/dist/assets/kol-table-stateless.entry-Dya27v--.js.map +1 -0
- package/dist/assets/{kol-tabs.entry-DM6Uc80G.js → kol-tabs.entry-DbPmuqJL.js} +14 -6
- package/dist/assets/kol-tabs.entry-DbPmuqJL.js.map +1 -0
- package/dist/assets/{kol-textarea.entry-E_1sFuyJ.js → kol-textarea.entry-DsKrgR38.js} +14 -6
- package/dist/assets/kol-textarea.entry-DsKrgR38.js.map +1 -0
- package/dist/assets/{kol-toast-container.entry-BUdzaMuB.js → kol-toast-container.entry-B3Mp8XXR.js} +13 -5
- package/dist/assets/kol-toast-container.entry-B3Mp8XXR.js.map +1 -0
- package/dist/assets/{kol-toolbar.entry-D67v6u-8.js → kol-toolbar.entry-GTZqmoPM.js} +13 -5
- package/dist/assets/kol-toolbar.entry-GTZqmoPM.js.map +1 -0
- package/dist/assets/kol-tooltip-wc.entry-CBHp9U_Z.js +4 -0
- package/dist/assets/kol-tooltip-wc.entry-CBHp9U_Z.js.map +1 -0
- package/dist/assets/{kol-tree-item-wc.entry-DKoKfts1.js → kol-tree-item-wc.entry-BJC59eUd.js} +3 -3
- package/dist/assets/{kol-tree-item-wc.entry-DKoKfts1.js.map → kol-tree-item-wc.entry-BJC59eUd.js.map} +1 -1
- package/dist/assets/{kol-tree-item.entry-Djke4A3b.js → kol-tree-item.entry-dBrwdnKE.js} +13 -5
- package/dist/assets/kol-tree-item.entry-dBrwdnKE.js.map +1 -0
- package/dist/assets/{kol-tree-wc.entry-uk0FxE09.js → kol-tree-wc.entry-BSa9MqtR.js} +3 -3
- package/dist/assets/{kol-tree-wc.entry-uk0FxE09.js.map → kol-tree-wc.entry-BSa9MqtR.js.map} +1 -1
- package/dist/assets/{kol-tree.entry-Chg5xrSR.js → kol-tree.entry-BfUfIXe2.js} +13 -5
- package/dist/assets/kol-tree.entry-BfUfIXe2.js.map +1 -0
- package/dist/assets/{kol-version.entry-qtZUGKBb.js → kol-version.entry-DRbbIHOy.js} +13 -5
- package/dist/assets/kol-version.entry-DRbbIHOy.js.map +1 -0
- package/dist/assets/{label-CdtNxOKu-C0Uq4kJW.js → label-CdtNxOKu--tsfHn6t.js} +2 -2
- package/dist/assets/{label-CdtNxOKu-C0Uq4kJW.js.map → label-CdtNxOKu--tsfHn6t.js.map} +1 -1
- package/dist/assets/{link-variant-H9yefO89-Dc46rCQB.js → link-variant-H9yefO89-Bdd3BGGQ.js} +2 -2
- package/dist/assets/{link-variant-H9yefO89-Dc46rCQB.js.map → link-variant-H9yefO89-Bdd3BGGQ.js.map} +1 -1
- package/dist/assets/{markdown-DL-PkOqb-Cfi-IobI.js → markdown-DL-PkOqb-DoaWQ9vF.js} +2 -2
- package/dist/assets/{markdown-DL-PkOqb-Cfi-IobI.js.map → markdown-DL-PkOqb-DoaWQ9vF.js.map} +1 -1
- package/dist/assets/{max-length-behavior-BmNWss6T-D3Me1kCn.js → max-length-behavior-BmNWss6T-CWY97FS5.js} +2 -2
- package/dist/assets/{max-length-behavior-BmNWss6T-D3Me1kCn.js.map → max-length-behavior-BmNWss6T-CWY97FS5.js.map} +1 -1
- package/dist/assets/{multiple-bcm5IaCN-BL-rJSXJ.js → multiple-bcm5IaCN-DQUybqOm.js} +2 -2
- package/dist/assets/{multiple-bcm5IaCN-BL-rJSXJ.js.map → multiple-bcm5IaCN-DQUybqOm.js.map} +1 -1
- package/dist/assets/{open-D9q98v46-VLX9RDQU.js → open-D9q98v46-Cnts0Pg4.js} +2 -2
- package/dist/assets/{open-D9q98v46-VLX9RDQU.js.map → open-D9q98v46-Cnts0Pg4.js.map} +1 -1
- package/dist/assets/{orientation-5kQWqijN-D7EKzV_l.js → orientation-5kQWqijN-CE-2cz0f.js} +2 -2
- package/dist/assets/{orientation-5kQWqijN-D7EKzV_l.js.map → orientation-5kQWqijN-CE-2cz0f.js.map} +1 -1
- package/dist/assets/{placeholder-6URRds0_-0bxiEHiH.js → placeholder-6URRds0_-C1D9K1oJ.js} +2 -2
- package/dist/assets/{placeholder-6URRds0_-0bxiEHiH.js.map → placeholder-6URRds0_-C1D9K1oJ.js.map} +1 -1
- package/dist/assets/read-only-CcRldJ9w-pzGPyi8V.js +4 -0
- package/dist/assets/{read-only-CcRldJ9w-BKw3S46M.js.map → read-only-CcRldJ9w-pzGPyi8V.js.map} +1 -1
- package/dist/assets/required-G86n77y0-CDvO2hGE.js +4 -0
- package/dist/assets/{required-G86n77y0-CGPyKIYu.js.map → required-G86n77y0-CDvO2hGE.js.map} +1 -1
- package/dist/assets/{rows-P4l3PNiA-1ULQqpAT.js → rows-P4l3PNiA-Dq3SiFb2.js} +2 -2
- package/dist/assets/{rows-P4l3PNiA-1ULQqpAT.js.map → rows-P4l3PNiA-Dq3SiFb2.js.map} +1 -1
- package/dist/assets/{show-DsV_Vx8g-DiMq1_s_.js → show-DsV_Vx8g-BZqN5n0R.js} +2 -2
- package/dist/assets/{show-DsV_Vx8g-DiMq1_s_.js.map → show-DsV_Vx8g-BZqN5n0R.js.map} +1 -1
- package/dist/assets/{spell-check-DIsLAYgk-CNNuzmlI.js → spell-check-DIsLAYgk-Stu9DOm6.js} +2 -2
- package/dist/assets/{spell-check-DIsLAYgk-CNNuzmlI.js.map → spell-check-DIsLAYgk-Stu9DOm6.js.map} +1 -1
- package/dist/assets/{suggestions-DfF4lcNG-BAWSaTQv.js → suggestions-DfF4lcNG-CkE4OeV5.js} +2 -2
- package/dist/assets/{suggestions-DfF4lcNG-BAWSaTQv.js.map → suggestions-DfF4lcNG-CkE4OeV5.js.map} +1 -1
- package/dist/assets/{table-settings-DSZObo-2-GnkW56H8.js → table-settings-DSZObo-2-Bzmic-5o.js} +2 -2
- package/dist/assets/{table-settings-DSZObo-2-GnkW56H8.js.map → table-settings-DSZObo-2-Bzmic-5o.js.map} +1 -1
- package/dist/assets/{test-component.entry-7k3T1rVH.js → test-component.entry-DR9PASSJ.js} +2 -2
- package/dist/assets/{test-component.entry-7k3T1rVH.js.map → test-component.entry-DR9PASSJ.js.map} +1 -1
- package/dist/assets/tooltip-align-_VI7LehI-VW4DhsR9.js +4 -0
- package/dist/assets/{tooltip-align-_VI7LehI-CoBIm-Yw.js.map → tooltip-align-_VI7LehI-VW4DhsR9.js.map} +1 -1
- package/dist/assets/tooltip-open-tracking-rBbBgPWP-CZrYVTp5.js +4 -0
- package/dist/assets/tooltip-open-tracking-rBbBgPWP-CZrYVTp5.js.map +1 -0
- package/dist/assets/{unique-nav-labels-C_NhdgGz-Bue2PH5M.js → unique-nav-labels-C_NhdgGz-DtUVk7TO.js} +2 -2
- package/dist/assets/{unique-nav-labels-C_NhdgGz-Bue2PH5M.js.map → unique-nav-labels-C_NhdgGz-DtUVk7TO.js.map} +1 -1
- package/dist/assets/{validation-CW_RXPSn-D_6FnYWY.js → validation-CW_RXPSn-D8Z5lrDz.js} +2 -2
- package/dist/assets/{validation-CW_RXPSn-D_6FnYWY.js.map → validation-CW_RXPSn-D8Z5lrDz.js.map} +1 -1
- package/dist/assets/{validation-DoIjmu3L-BKzT8Xr7.js → validation-DoIjmu3L-Cr9CFlm6.js} +2 -2
- package/dist/assets/{validation-DoIjmu3L-BKzT8Xr7.js.map → validation-DoIjmu3L-Cr9CFlm6.js.map} +1 -1
- package/dist/index.html +2 -2
- package/package.json +24 -24
- package/src/components/Navigation.tsx +3 -3
- package/src/components/SampleColumns.tsx +1 -2
- package/src/components/SampleDescription.tsx +1 -1
- 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 +1 -1
- package/src/components/badge/formatted-label.tsx +1 -1
- package/src/components/button/access-key.tsx +2 -2
- package/src/components/button/aria-description.tsx +2 -2
- package/src/components/button/baselined.tsx +1 -1
- package/src/components/button/basic.tsx +1 -1
- package/src/components/button/expert-slot.tsx +1 -1
- package/src/components/button/icons.tsx +1 -1
- package/src/components/button/partials/type.ts +1 -1
- package/src/components/button/partials/variants.tsx +1 -1
- package/src/components/button/routes.ts +3 -3
- package/src/components/button/row-reverse-tooltip.tsx +1 -1
- package/src/components/button/short-key.tsx +4 -5
- package/src/components/button/width.tsx +1 -1
- package/src/components/button-link/aria-description.tsx +1 -1
- package/src/components/button-link/basic.tsx +1 -1
- package/src/components/button-link/icons.tsx +2 -1
- package/src/components/button-link/routes.ts +1 -1
- package/src/components/combobox/basic.tsx +1 -1
- package/src/components/combobox/partials/cases.tsx +1 -1
- package/src/components/combobox/partials/variants.tsx +2 -2
- 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 +4 -4
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/src/components/input-file/basic.tsx +1 -1
- package/src/components/input-file/partials/cases.tsx +2 -2
- package/src/components/input-file/partials/variants.tsx +1 -1
- package/src/components/input-password/basic.tsx +1 -1
- package/src/components/input-password/partials/cases.tsx +2 -2
- 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 +2 -2
- package/src/components/input-text/basic.tsx +1 -1
- package/src/components/input-text/expert-slot.tsx +1 -1
- package/src/components/input-text/routes.ts +4 -2
- package/src/components/input-text/select-range.tsx +36 -0
- package/src/components/input-text/smart-button.tsx +2 -2
- package/src/components/input-text/text-formatter.tsx +15 -5
- package/src/components/link/aria-description.tsx +1 -1
- package/src/components/link/basic.tsx +3 -6
- package/src/components/link/link-react-router.tsx +31 -0
- package/src/components/link/routes.ts +5 -3
- 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 +2 -2
- 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 +1 -2
- package/src/components/single-select/partials/variants.tsx +1 -1
- package/src/components/spin/custom.tsx +1 -1
- package/src/components/spin/label.tsx +1 -1
- package/src/components/split-button/basic.tsx +1 -1
- package/src/components/table/complex-headers.tsx +1 -1
- 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 +2 -2
- package/src/components/table/predefined-settings.tsx +1 -1
- package/src/components/table/routes.ts +2 -0
- package/src/components/table/sort-data.tsx +2 -2
- package/src/components/table/stateful-with-selection.tsx +5 -5
- package/src/components/table/stateful-with-single-selection.tsx +5 -5
- package/src/components/table/stateless-with-selection.tsx +10 -8
- package/src/components/table/stateless-with-settings-menu.tsx +1 -1
- 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 +37 -0
- package/src/components/table/test-complex-data.ts +2214 -0
- 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 +2 -2
- package/src/components/textarea/routes.ts +1 -1
- package/src/components/toast/basic.tsx +6 -36
- package/src/components/toast/configurator.tsx +84 -0
- package/src/components/toast/routes.ts +2 -0
- package/src/components/toolbar/basic.tsx +1 -1
- package/src/components/toolbar/disabled.tsx +1 -1
- package/src/components/tree/basic.tsx +2 -2
- package/src/scenarios/appointment-form/AppointmentForm.tsx +2 -2
- package/src/scenarios/appointment-form/AvailableAppointmentsForm.tsx +3 -3
- package/src/scenarios/appointment-form/DistrictForm.tsx +1 -1
- package/src/scenarios/appointment-form/PersonalInformationForm.tsx +1 -1
- package/src/scenarios/change-tabindex.tsx +5 -5
- 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 +13 -13
- package/src/scenarios/routes.ts +3 -3
- package/src/scenarios/sample-form-with-validation.tsx +8 -8
- package/src/scenarios/static-form.tsx +2 -2
- package/src/scenarios/toolbar-item-order.tsx +2 -2
- package/src/scenarios/tooltip-positioning.tsx +1 -1
- package/src/shares/routes.ts +4 -4
- package/src/shares/store.ts +1 -1
- package/dist/assets/Alert-qJPuIv8b-Cf1Dz4Bo.js +0 -4
- package/dist/assets/Alert-qJPuIv8b-Cf1Dz4Bo.js.map +0 -1
- package/dist/assets/FieldControlStateWrapper-CIWPKSbC-DcHGRl6R.js +0 -4
- package/dist/assets/FieldControlStateWrapper-CIWPKSbC-DcHGRl6R.js.map +0 -1
- package/dist/assets/FormFieldStateWrapper-CKwM-DIl-BUCjWcxC.js +0 -4
- package/dist/assets/FormFieldStateWrapper-CKwM-DIl-BUCjWcxC.js.map +0 -1
- package/dist/assets/has-closer-BBMh8HY3-CC9A9PeT.js +0 -4
- package/dist/assets/image-source-RWPv7frZ-BZfVa5YS.js +0 -4
- package/dist/assets/index-BAl2VGOM.css +0 -1
- package/dist/assets/index-Cuz1_aaZ.js +0 -14094
- package/dist/assets/index-Cuz1_aaZ.js.map +0 -1
- package/dist/assets/kol-abbr.entry-CDYF09M6.js.map +0 -1
- package/dist/assets/kol-accordion.entry-DiNvSycn.js.map +0 -1
- package/dist/assets/kol-alert.entry-C_LnZQMR.js.map +0 -1
- package/dist/assets/kol-avatar.entry-wzugi-ff.js.map +0 -1
- package/dist/assets/kol-badge.entry-DVoJvgzC.js.map +0 -1
- package/dist/assets/kol-breadcrumb.entry-DspXS-ov.js.map +0 -1
- package/dist/assets/kol-button-link.entry-Yms_sApD.js.map +0 -1
- package/dist/assets/kol-button-wc.entry-Cdc8JUW4.js +0 -4
- package/dist/assets/kol-button-wc.entry-Cdc8JUW4.js.map +0 -1
- package/dist/assets/kol-button.entry-DI56_s8m.js.map +0 -1
- package/dist/assets/kol-card-wc.entry-CDrpLONC.js +0 -4
- package/dist/assets/kol-card.entry-3kIYUSix.js.map +0 -1
- package/dist/assets/kol-combobox.entry-BKP1VAxl.js.map +0 -1
- package/dist/assets/kol-details.entry-Cv0WbfSH.js.map +0 -1
- package/dist/assets/kol-drawer.entry-CHWD05cU.js.map +0 -1
- package/dist/assets/kol-form.entry-B1q6qhol.js.map +0 -1
- package/dist/assets/kol-heading.entry-DmjiOztc.js.map +0 -1
- package/dist/assets/kol-image.entry-BSIVz8mw.js.map +0 -1
- package/dist/assets/kol-input-checkbox.entry-C2dsUMpB.js.map +0 -1
- package/dist/assets/kol-input-color.entry-j-2La6yx.js.map +0 -1
- package/dist/assets/kol-input-date.entry-DiL7z-A9.js.map +0 -1
- package/dist/assets/kol-input-email.entry-NqnUVX0g.js.map +0 -1
- package/dist/assets/kol-input-file.entry-DW7UhGD1.js.map +0 -1
- package/dist/assets/kol-input-number.entry-BaZ3sKXG.js.map +0 -1
- package/dist/assets/kol-input-password.entry-LFN7CWLE.js.map +0 -1
- package/dist/assets/kol-input-radio.entry-7uz1BXPD.js.map +0 -1
- package/dist/assets/kol-input-range.entry-Ct22UEK1.js.map +0 -1
- package/dist/assets/kol-input-text.entry-BfhtVlV6.js +0 -313
- package/dist/assets/kol-input-text.entry-BfhtVlV6.js.map +0 -1
- package/dist/assets/kol-kolibri.entry-FiUt9h9Z.js.map +0 -1
- package/dist/assets/kol-link-button.entry-EKXrQYWi.js.map +0 -1
- package/dist/assets/kol-link-wc.entry-BY1QaToe.js +0 -4
- package/dist/assets/kol-link-wc.entry-BY1QaToe.js.map +0 -1
- package/dist/assets/kol-link.entry-B5hSjd-o.js.map +0 -1
- package/dist/assets/kol-modal.entry-D_BfBMkS.js.map +0 -1
- package/dist/assets/kol-nav.entry-CTzU6VoY.js.map +0 -1
- package/dist/assets/kol-pagination-wc.entry-BdT0MOmj.js +0 -4
- package/dist/assets/kol-pagination-wc.entry-BdT0MOmj.js.map +0 -1
- package/dist/assets/kol-pagination.entry-BHJy3ud9.js.map +0 -1
- package/dist/assets/kol-popover-button.entry-bN4qCl8m.js.map +0 -1
- package/dist/assets/kol-progress.entry-BhEOF17k.js.map +0 -1
- package/dist/assets/kol-quote.entry-iHbat58_.js.map +0 -1
- package/dist/assets/kol-select.entry-CKKnrifZ.js.map +0 -1
- package/dist/assets/kol-single-select.entry-nQ1wRf_E.js.map +0 -1
- package/dist/assets/kol-skip-nav.entry-B2bsiO8u.js.map +0 -1
- package/dist/assets/kol-spin.entry-CZdTcUrs.js.map +0 -1
- package/dist/assets/kol-split-button.entry-D2JCJ1Z_.js.map +0 -1
- package/dist/assets/kol-table-stateful.entry-CY70UPdZ.js.map +0 -1
- package/dist/assets/kol-table-stateless-wc.entry-DtXNSDzY.js +0 -4
- package/dist/assets/kol-table-stateless.entry-DbCRETh2.js.map +0 -1
- package/dist/assets/kol-tabs.entry-DM6Uc80G.js.map +0 -1
- package/dist/assets/kol-textarea.entry-E_1sFuyJ.js.map +0 -1
- package/dist/assets/kol-toast-container.entry-BUdzaMuB.js.map +0 -1
- package/dist/assets/kol-toolbar.entry-D67v6u-8.js.map +0 -1
- package/dist/assets/kol-tooltip-wc.entry-BIb_Tp2q.js +0 -4
- package/dist/assets/kol-tooltip-wc.entry-BIb_Tp2q.js.map +0 -1
- package/dist/assets/kol-tree-item.entry-Djke4A3b.js.map +0 -1
- package/dist/assets/kol-tree.entry-Chg5xrSR.js.map +0 -1
- package/dist/assets/kol-version.entry-qtZUGKBb.js.map +0 -1
- package/dist/assets/read-only-CcRldJ9w-BKw3S46M.js +0 -4
- package/dist/assets/required-G86n77y0-CGPyKIYu.js +0 -4
- package/dist/assets/tooltip-align-_VI7LehI-CoBIm-Yw.js +0 -4
|
@@ -3,11 +3,11 @@ import { ButtonAccessKey } from './access-key';
|
|
|
3
3
|
import { ButtonAriaDescription } from './aria-description';
|
|
4
4
|
import { ButtonBaselined } from './baselined';
|
|
5
5
|
import { ButtonBasic } from './basic';
|
|
6
|
-
import { ButtonIcons } from './icons';
|
|
7
|
-
import { ButtonWidth } from './width';
|
|
8
|
-
import { ButtonShortKey } from './short-key';
|
|
9
6
|
import { ButtonExpertSlot } from './expert-slot';
|
|
7
|
+
import { ButtonIcons } from './icons';
|
|
10
8
|
import { ButtonRowReverseTooltip } from './row-reverse-tooltip';
|
|
9
|
+
import { ButtonShortKey } from './short-key';
|
|
10
|
+
import { ButtonWidth } from './width';
|
|
11
11
|
|
|
12
12
|
export const BUTTON_ROUTES: Routes = {
|
|
13
13
|
button: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { KolButton } from '@public-ui/react-v19';
|
|
1
2
|
import type { FC } from 'react';
|
|
2
3
|
import React from 'react';
|
|
3
|
-
import { KolButton } from '@public-ui/react-v19';
|
|
4
4
|
import { SampleDescription } from '../SampleDescription';
|
|
5
5
|
|
|
6
6
|
export const ButtonRowReverseTooltip: FC = () => {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
+
import type { KoliBriTableHeaders } from '@public-ui/components';
|
|
2
|
+
import { ToasterService } from '@public-ui/components';
|
|
1
3
|
import { createReactRenderElement, KolButton, KolHeading, KolTableStateful } from '@public-ui/react-v19';
|
|
2
4
|
import type { FC } from 'react';
|
|
3
|
-
import { useRef } from 'react';
|
|
4
|
-
import React from 'react';
|
|
5
|
-
import { SampleDescription } from '../SampleDescription';
|
|
5
|
+
import React, { useRef } from 'react';
|
|
6
6
|
import { useToasterService } from '../../hooks/useToasterService';
|
|
7
7
|
import { getRoot } from '../../shares/react-roots';
|
|
8
|
-
import
|
|
9
|
-
import { ToasterService } from '@public-ui/components';
|
|
8
|
+
import { SampleDescription } from '../SampleDescription';
|
|
10
9
|
|
|
11
10
|
const RowActions: FC<{ label: string }> = ({ label }) => {
|
|
12
11
|
const toaster = ToasterService.getInstance(document);
|
|
@@ -3,8 +3,8 @@ import React from 'react';
|
|
|
3
3
|
import { KolButton } from '@public-ui/react-v19';
|
|
4
4
|
|
|
5
5
|
import type { FC } from 'react';
|
|
6
|
-
import { SampleDescription } from '../SampleDescription';
|
|
7
6
|
import { useToasterService } from '../../hooks/useToasterService';
|
|
7
|
+
import { SampleDescription } from '../SampleDescription';
|
|
8
8
|
|
|
9
9
|
export const ButtonWidth: FC = () => {
|
|
10
10
|
const { dummyClickEventHandler } = useToasterService();
|
|
@@ -3,8 +3,8 @@ import React from 'react';
|
|
|
3
3
|
import { KolButtonLink, KolHeading } from '@public-ui/react-v19';
|
|
4
4
|
|
|
5
5
|
import type { FC } from 'react';
|
|
6
|
-
import { SampleDescription } from '../SampleDescription';
|
|
7
6
|
import { useToasterService } from '../../hooks/useToasterService';
|
|
7
|
+
import { SampleDescription } from '../SampleDescription';
|
|
8
8
|
|
|
9
9
|
export const ButtonLinkBasic: FC = () => {
|
|
10
10
|
const { dummyClickEventHandler } = useToasterService();
|
|
@@ -12,7 +12,7 @@ export const ButtonLinkIcons: FC = () => (
|
|
|
12
12
|
</SampleDescription>
|
|
13
13
|
|
|
14
14
|
<div className="grid gap-4">
|
|
15
|
-
<KolButtonLink _icons="codicon codicon-home" _label="
|
|
15
|
+
<KolButtonLink _icons="codicon codicon-home" _label="I am a link with an icon on the left" />
|
|
16
16
|
<KolButtonLink
|
|
17
17
|
_icons={{
|
|
18
18
|
right: 'codicon codicon-home',
|
|
@@ -40,6 +40,7 @@ export const ButtonLinkIcons: FC = () => (
|
|
|
40
40
|
}}
|
|
41
41
|
_label="I am a link with all icons"
|
|
42
42
|
/>
|
|
43
|
+
<KolButtonLink _icons="codicon codicon-home" _hideLabel _label="I am a link with icon only" />
|
|
43
44
|
</div>
|
|
44
45
|
</>
|
|
45
46
|
);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Routes } from '../../shares/types';
|
|
2
|
+
import { ButtonLinkAriaDescription } from './aria-description';
|
|
2
3
|
import { ButtonLinkBasic } from './basic';
|
|
3
4
|
import { ButtonLinkIcons } from './icons';
|
|
4
5
|
import { ButtonLinkImage } from './image';
|
|
5
|
-
import { ButtonLinkAriaDescription } from './aria-description';
|
|
6
6
|
|
|
7
7
|
export const BUTTON_LINK_ROUTES: Routes = {
|
|
8
8
|
'button-link': {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { FormWrap } from '../FormWrap';
|
|
4
|
-
import { ComboboxVariants } from './partials/variants';
|
|
5
4
|
import { SampleDescription } from '../SampleDescription';
|
|
5
|
+
import { ComboboxVariants } from './partials/variants';
|
|
6
6
|
export const ComboboxBasic: FC = () => {
|
|
7
7
|
return (
|
|
8
8
|
<>
|
|
@@ -2,9 +2,9 @@ import React from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { KolCombobox } from '@public-ui/react-v19';
|
|
4
4
|
|
|
5
|
+
import type { Components } from '@public-ui/components';
|
|
5
6
|
import { ERROR_MSG, HINT_MSG } from '../../../shares/constants';
|
|
6
7
|
import { COUNTRY_SUGGESTIONS } from '../../../shares/country';
|
|
7
|
-
import type { Components } from '@public-ui/components';
|
|
8
8
|
|
|
9
9
|
export const ComboboxCases = (props: Partial<Components.KolCombobox>) => {
|
|
10
10
|
return (
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import type { Components } from '@public-ui/components';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import { ComboboxCases } from './cases';
|
|
5
4
|
import { SampleColumns } from '../../SampleColumns';
|
|
5
|
+
import { ComboboxCases } from './cases';
|
|
6
6
|
|
|
7
7
|
export const ComboboxVariants = (props: Partial<Components.KolCombobox>) => {
|
|
8
8
|
return (
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
|
-
import React, { useRef, useState
|
|
2
|
+
import React, { useEffect, useRef, useState } from 'react';
|
|
3
3
|
import { useSearchParams } from 'react-router-dom';
|
|
4
4
|
|
|
5
5
|
import type { AlignPropType } from '@public-ui/components';
|
|
6
|
-
import {
|
|
6
|
+
import { KolButton, KolDrawer, KolInputCheckbox } from '@public-ui/react-v19';
|
|
7
7
|
import { SampleDescription } from '../SampleDescription';
|
|
8
8
|
|
|
9
9
|
import { DrawerRadioAlign } from './partials/align';
|
|
@@ -3,7 +3,7 @@ import React, { useState } from 'react';
|
|
|
3
3
|
import { useSearchParams } from 'react-router-dom';
|
|
4
4
|
|
|
5
5
|
import type { AlignPropType } from '@public-ui/components';
|
|
6
|
-
import {
|
|
6
|
+
import { KolButton, KolDrawer } from '@public-ui/react-v19';
|
|
7
7
|
import { SampleDescription } from '../SampleDescription';
|
|
8
8
|
|
|
9
9
|
import { DrawerRadioAlign } from './partials/align';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { KolForm, KolInputText } from '@public-ui/react-v19';
|
|
1
2
|
import type { FC } from 'react';
|
|
2
3
|
import React from 'react';
|
|
3
4
|
import { SampleDescription } from '../SampleDescription';
|
|
4
|
-
import { KolForm, KolInputText } from '@public-ui/react-v19';
|
|
5
5
|
|
|
6
6
|
export const FormBasic: FC = () => (
|
|
7
7
|
<>
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import type { ButtonProps, KoliBriTableHeaders } from '@public-ui/components';
|
|
2
|
-
import type { FC } from 'react';
|
|
3
|
-
import React from 'react';
|
|
4
2
|
import {
|
|
5
3
|
KolAbbr,
|
|
6
4
|
KolAccordion,
|
|
@@ -34,11 +32,13 @@ import {
|
|
|
34
32
|
KolTextarea,
|
|
35
33
|
KolVersion,
|
|
36
34
|
} from '@public-ui/react-v19';
|
|
35
|
+
import type { FC } from 'react';
|
|
36
|
+
import React from 'react';
|
|
37
37
|
|
|
38
|
-
import {
|
|
38
|
+
import { useToasterService } from '../../hooks/useToasterService';
|
|
39
39
|
import { getRoot } from '../../shares/react-roots';
|
|
40
|
+
import { getTheme, getThemeName } from '../../shares/store';
|
|
40
41
|
import { TABLE_DATA, type TableDataType } from './table-data';
|
|
41
|
-
import { useToasterService } from '../../hooks/useToasterService';
|
|
42
42
|
|
|
43
43
|
function KolButtonWrapper({ _on, ...other }: ButtonProps & { style: Record<string, unknown> }) {
|
|
44
44
|
const { dummyClickEventHandler } = useToasterService();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { KolImage } from '@public-ui/react-v19';
|
|
1
2
|
import type { FC } from 'react';
|
|
2
3
|
import React from 'react';
|
|
3
4
|
import { SampleDescription } from '../SampleDescription';
|
|
4
|
-
import { KolImage } from '@public-ui/react-v19';
|
|
5
5
|
|
|
6
6
|
export const ImageBasic: FC = () => (
|
|
7
7
|
<>
|
|
@@ -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 { InputCheckboxVariants } from './partials/variants';
|
|
6
5
|
import { SampleDescription } from '../SampleDescription';
|
|
6
|
+
import { InputCheckboxVariants } from './partials/variants';
|
|
7
7
|
|
|
8
8
|
export const InputCheckboxBasic: FC = () => (
|
|
9
9
|
<>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
+
import type { Components } from '@public-ui/components';
|
|
4
5
|
import { FormWrap } from '../FormWrap';
|
|
5
6
|
import { SampleDescription } from '../SampleDescription';
|
|
6
|
-
import type { Components } from '@public-ui/components';
|
|
7
7
|
import { InputCheckboxVariants } from './partials/variants';
|
|
8
8
|
|
|
9
9
|
export const InputCheckboxButton: FC = () => (
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
|
+
import { FormWrap } from '../FormWrap';
|
|
3
4
|
import { SampleDescription } from '../SampleDescription';
|
|
4
5
|
import { InputCheckboxVariants } from './partials/variants';
|
|
5
|
-
import { FormWrap } from '../FormWrap';
|
|
6
6
|
|
|
7
7
|
export const InputCheckboxSwitch: FC = () => (
|
|
8
8
|
<>
|
|
@@ -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 { InputColorVariants } from './partials/variants';
|
|
6
5
|
import { SampleDescription } from '../SampleDescription';
|
|
6
|
+
import { InputColorVariants } from './partials/variants';
|
|
7
7
|
|
|
8
8
|
export const InputColorBasic: FC = () => (
|
|
9
9
|
<>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
import { KolInputColor } from '@public-ui/react-v19';
|
|
3
1
|
import type { Components } from '@public-ui/components';
|
|
2
|
+
import { KolInputColor } from '@public-ui/react-v19';
|
|
3
|
+
import React, { forwardRef } from 'react';
|
|
4
4
|
|
|
5
5
|
import { ERROR_MSG } from '../../../shares/constants';
|
|
6
6
|
|
|
@@ -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 { InputDateVariants } from './partials/variants';
|
|
6
5
|
import { SampleDescription } from '../SampleDescription';
|
|
6
|
+
import { InputDateVariants } from './partials/variants';
|
|
7
7
|
|
|
8
8
|
export const InputDateBasic: FC = () => (
|
|
9
9
|
<>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
2
1
|
import { KolButton, KolInputDate, KolInputText } from '@public-ui/react-v19';
|
|
2
|
+
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
3
3
|
import { SampleDescription } from '../SampleDescription';
|
|
4
4
|
|
|
5
5
|
/** -----------------------------
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
import { KolInputDate } from '@public-ui/react-v19';
|
|
3
1
|
import type { Components } from '@public-ui/components';
|
|
2
|
+
import { KolInputDate } 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
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { KolInputDate } from '@public-ui/react-v19';
|
|
3
1
|
import type { Components } from '@public-ui/components';
|
|
2
|
+
import { KolInputDate } from '@public-ui/react-v19';
|
|
3
|
+
import React from 'react';
|
|
4
4
|
|
|
5
5
|
export const InputDateMinMaxCases = (props: Components.KolInputDate) => {
|
|
6
6
|
const minDateIso = '2024-09-26';
|
|
@@ -3,8 +3,8 @@ import React, { forwardRef } from 'react';
|
|
|
3
3
|
import { InputDateCases } from './cases';
|
|
4
4
|
|
|
5
5
|
import type { Components } from '@public-ui/components';
|
|
6
|
-
import { InputDateMinMaxCases } from './minMax';
|
|
7
6
|
import { SampleColumns } from '../../SampleColumns';
|
|
7
|
+
import { InputDateMinMaxCases } from './minMax';
|
|
8
8
|
export const InputDateVariants = forwardRef<HTMLKolInputDateElement, Components.KolInputDate>(function InputDateVariant(props, ref) {
|
|
9
9
|
return (
|
|
10
10
|
<SampleColumns>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Routes } from '../../shares/types';
|
|
2
2
|
import { InputDateBasic } from './basic';
|
|
3
|
+
import { InputDateCopyPaste } from './copy-paste';
|
|
3
4
|
import { InputDateReset } from './reset';
|
|
4
5
|
import { InputDateShowHideMsg } from './show-hide-msg';
|
|
5
|
-
import { InputDateCopyPaste } from './copy-paste';
|
|
6
6
|
|
|
7
7
|
export const INPUT_DATE_ROUTES: Routes = {
|
|
8
8
|
'input-date': {
|
|
@@ -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 { InputEmailVariants } from './partials/variants';
|
|
6
5
|
import { SampleDescription } from '../SampleDescription';
|
|
6
|
+
import { InputEmailVariants } from './partials/variants';
|
|
7
7
|
|
|
8
8
|
export const InputEmailBasic: FC = () => (
|
|
9
9
|
<>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
import { KolInputEmail } from '@public-ui/react-v19';
|
|
3
1
|
import type { Components } from '@public-ui/components';
|
|
2
|
+
import { KolInputEmail } 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
|
|
|
@@ -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 { InputFileVariants } from './partials/variants';
|
|
6
5
|
import { SampleDescription } from '../SampleDescription';
|
|
6
|
+
import { InputFileVariants } from './partials/variants';
|
|
7
7
|
|
|
8
8
|
export const InputFileBasic: FC = () => (
|
|
9
9
|
<>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React, { forwardRef } from 'react';
|
|
2
|
-
import { KolInputFile } from '@public-ui/react-v19';
|
|
3
1
|
import type { Components } from '@public-ui/components';
|
|
2
|
+
import { KolInputFile } 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
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
|
|
3
|
-
import { InputFileCases } from './cases';
|
|
4
3
|
import { SampleColumns } from '../../SampleColumns';
|
|
4
|
+
import { InputFileCases } from './cases';
|
|
5
5
|
|
|
6
6
|
import type { Components } from '@public-ui/components';
|
|
7
7
|
export const InputFileVariants = forwardRef<HTMLKolInputFileElement, Components.KolInputFile>(function InputFileVariant(props, ref) {
|
|
@@ -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
|
|
|
@@ -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
|
|
|
@@ -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 { InputTextVariants } from './partials/variants';
|
|
6
5
|
import { SampleDescription } from '../SampleDescription';
|
|
6
|
+
import { InputTextVariants } from './partials/variants';
|
|
7
7
|
|
|
8
8
|
export const InputTextBasic: FC = () => (
|
|
9
9
|
<>
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { Routes } from '../../shares/types';
|
|
2
2
|
import { InputTextBasic } from './basic';
|
|
3
|
+
import { InputTextExpertSlot } from './expert-slot';
|
|
3
4
|
import { InputTextHideMsg } from './hide-msg';
|
|
4
|
-
import {
|
|
5
|
+
import { InputTextSelectRange } from './select-range';
|
|
5
6
|
import { InputTextSmartButton } from './smart-button';
|
|
6
|
-
import {
|
|
7
|
+
import { InputTextFormatterDemo } from './text-formatter';
|
|
7
8
|
|
|
8
9
|
export const INPUT_TEXT_ROUTES: Routes = {
|
|
9
10
|
'input-text': {
|
|
@@ -12,5 +13,6 @@ export const INPUT_TEXT_ROUTES: Routes = {
|
|
|
12
13
|
'text-formatter': InputTextFormatterDemo,
|
|
13
14
|
'smart-button': InputTextSmartButton,
|
|
14
15
|
'expert-slot': InputTextExpertSlot,
|
|
16
|
+
'select-range': InputTextSelectRange,
|
|
15
17
|
},
|
|
16
18
|
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { KolButtonLink, KolInputText } from '@public-ui/react-v19';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { SampleDescription } from '../SampleDescription';
|
|
4
|
+
|
|
5
|
+
export const InputTextSelectRange = () => {
|
|
6
|
+
const textInput = React.useRef<HTMLKolInputTextElement>(null);
|
|
7
|
+
|
|
8
|
+
function setSelectioStart() {
|
|
9
|
+
textInput.current?.focus();
|
|
10
|
+
textInput.current?.setSelectionStart(8);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function setSelectionRange() {
|
|
14
|
+
textInput.current?.focus();
|
|
15
|
+
textInput.current?.setSelectionRange(2, 5);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
function setRangeText() {
|
|
19
|
+
textInput.current?.focus();
|
|
20
|
+
textInput.current?.setRangeText('INSERTED', 5, 9, 'select');
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
return (
|
|
24
|
+
<>
|
|
25
|
+
<SampleDescription>
|
|
26
|
+
<p>This sample shows how to change the selection in a KolInputText.</p>
|
|
27
|
+
</SampleDescription>
|
|
28
|
+
<div className="grid gap-4">
|
|
29
|
+
<KolInputText _value="Very long value" _label="Text Input Label" ref={textInput} />
|
|
30
|
+
<KolButtonLink _label="Set Start" onClick={setSelectioStart} />
|
|
31
|
+
<KolButtonLink _label="Set Range" onClick={setSelectionRange} />
|
|
32
|
+
<KolButtonLink _label="Set Range Text" onClick={setRangeText} />
|
|
33
|
+
</div>
|
|
34
|
+
</>
|
|
35
|
+
);
|
|
36
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SampleDescription } from '../SampleDescription';
|
|
3
1
|
import { ToasterService } from '@public-ui/components';
|
|
4
2
|
import { KolInputText } from '@public-ui/react-v19';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { SampleDescription } from '../SampleDescription';
|
|
5
5
|
|
|
6
6
|
const smartButtonProps = {
|
|
7
7
|
_icons: 'codicon codicon-info',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Formik, Field, type FieldProps } from 'formik';
|
|
3
1
|
import { KolForm, KolHeading, KolInputText } from '@public-ui/react-v19';
|
|
2
|
+
import { Field, Formik, type FieldProps } from 'formik';
|
|
3
|
+
import * as React from 'react';
|
|
4
4
|
import { SampleDescription } from '../SampleDescription';
|
|
5
5
|
|
|
6
6
|
import { NumericFormat, type NumberFormatValues } from 'react-number-format';
|
|
@@ -20,7 +20,11 @@ class IbanFormatter {
|
|
|
20
20
|
public parse(value: string): string {
|
|
21
21
|
return this.electronicFormat(value);
|
|
22
22
|
}
|
|
23
|
-
public format(value: string): string {
|
|
23
|
+
public format(value: string, ref?: HTMLKolInputTextElement | null, selectionStart?: number | null): string {
|
|
24
|
+
if (ref && selectionStart) {
|
|
25
|
+
if (selectionStart % 5 === 0) selectionStart++;
|
|
26
|
+
ref?.setSelectionStart(selectionStart);
|
|
27
|
+
}
|
|
24
28
|
return this.printFormat(value);
|
|
25
29
|
}
|
|
26
30
|
}
|
|
@@ -37,6 +41,9 @@ export function InputTextFormatterDemo() {
|
|
|
37
41
|
const handleSubmit = async () => {};
|
|
38
42
|
const formatter = new IbanFormatter();
|
|
39
43
|
|
|
44
|
+
const textInput1 = React.useRef<HTMLKolInputTextElement>(null);
|
|
45
|
+
let textInput1SelectionStart: number | null | undefined;
|
|
46
|
+
|
|
40
47
|
const initialIbanExampleValues: IbanExampleFormValues = {
|
|
41
48
|
iban: 'DE89370400440532013000',
|
|
42
49
|
};
|
|
@@ -64,12 +71,13 @@ export function InputTextFormatterDemo() {
|
|
|
64
71
|
{({ field }: FieldProps<IbanExampleFormValues['iban']>) => (
|
|
65
72
|
<div className="block mt-2">
|
|
66
73
|
<KolInputText
|
|
74
|
+
ref={textInput1}
|
|
67
75
|
onBlur={() => {
|
|
68
76
|
void form.setFieldTouched('iban', true);
|
|
69
77
|
}}
|
|
70
78
|
id="field-iban"
|
|
71
79
|
_label="IBAN"
|
|
72
|
-
_value={formatter.format(field.value ?? '')}
|
|
80
|
+
_value={formatter.format(field.value ?? '', textInput1.current, textInput1SelectionStart)}
|
|
73
81
|
_msg={{
|
|
74
82
|
_type: 'error',
|
|
75
83
|
_description: form.errors.iban || '',
|
|
@@ -79,8 +87,10 @@ export function InputTextFormatterDemo() {
|
|
|
79
87
|
_on={{
|
|
80
88
|
onInput: (event, value: unknown) => {
|
|
81
89
|
if (event.target) {
|
|
90
|
+
textInput1.current?.selectionStart().then((start) => {
|
|
91
|
+
textInput1SelectionStart = start;
|
|
92
|
+
});
|
|
82
93
|
const parsed_value = formatter.parse((value as string) ?? '');
|
|
83
|
-
|
|
84
94
|
void form.setFieldValue('iban', parsed_value, true);
|
|
85
95
|
}
|
|
86
96
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import { KolLink
|
|
4
|
+
import { KolLink } from '@public-ui/react-v19';
|
|
5
5
|
import { SampleDescription } from '../SampleDescription';
|
|
6
6
|
|
|
7
7
|
export const LinkBasic: FC = () => (
|
|
@@ -13,13 +13,10 @@ export const LinkBasic: FC = () => (
|
|
|
13
13
|
</SampleDescription>
|
|
14
14
|
|
|
15
15
|
<div className="grid gap-4">
|
|
16
|
-
<KolHeading _level={2} _label="Links with variant 'standalone'" />
|
|
17
16
|
<KolLink _href="#/back-page" _label="Simple Link" _variant="standalone" />
|
|
18
|
-
<KolLink _disabled _href="#/back-page" _label="Simple Link (
|
|
17
|
+
<KolLink _disabled _href="#/back-page" _label="Simple Link (disabled)" _variant="standalone" />
|
|
19
18
|
<KolLink _hideLabel _icons="codicon codicon-home" _href="#/back-page" _label="Icon Link" _variant="standalone" />
|
|
20
|
-
<KolLink _disabled _hideLabel _icons="codicon codicon-home" _href="#/back-page" _label="Icon Link (
|
|
21
|
-
|
|
22
|
-
<KolHeading _level={2} _label="Links with variant 'inline'" />
|
|
19
|
+
<KolLink _disabled _hideLabel _icons="codicon codicon-home" _href="#/back-page" _label="Icon Link (disabled)" _variant="standalone" />
|
|
23
20
|
<p>
|
|
24
21
|
In this paragraph, a link is inserted that contains no additional attributes. <KolLink _href="#/back-page" _label="Simple Link" /> It is rendered by
|
|
25
22
|
default as a <strong>inline element</strong>.
|