@public-ui/sample-react 4.0.0-alpha.3 → 4.0.0-alpha.5
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-Bjkk9lQv-ARqglia_.js +4 -0
- package/dist/assets/Alert-Bjkk9lQv-ARqglia_.js.map +1 -0
- package/dist/assets/{Collapsible-CI6mUEEU-DBPCC-sP.js → Collapsible-IuDix1Q--Clfk9PjU.js} +2 -2
- package/dist/assets/{Collapsible-CI6mUEEU-DBPCC-sP.js.map → Collapsible-IuDix1Q--Clfk9PjU.js.map} +1 -1
- package/dist/assets/{CustomSuggestionsToggle-DlNdGFuo-O7qofScd.js → CustomSuggestionsToggle-DZmSWiAa-BTwKHo2H.js} +2 -2
- package/dist/assets/{CustomSuggestionsToggle-DlNdGFuo-O7qofScd.js.map → CustomSuggestionsToggle-DZmSWiAa-BTwKHo2H.js.map} +1 -1
- package/dist/assets/{FieldControlStateWrapper-D4iy61Tv-DuleEKBW.js → FieldControlStateWrapper-DW4yI_q9-Bonm2OcB.js} +2 -2
- package/dist/assets/{FieldControlStateWrapper-D4iy61Tv-DuleEKBW.js.map → FieldControlStateWrapper-DW4yI_q9-Bonm2OcB.js.map} +1 -1
- package/dist/assets/{FormFieldStateWrapper-CCxckxyk-B4bHyylZ.js → FormFieldStateWrapper-C48vTgbZ-sskh_yfO.js} +3 -3
- package/dist/assets/FormFieldStateWrapper-C48vTgbZ-sskh_yfO.js.map +1 -0
- package/dist/assets/{Heading-Of5WUIQt-CrisRUf_.js → Heading-Bgh5mGuN-NZ2eqsFZ.js} +2 -2
- package/dist/assets/{Heading-Of5WUIQt-CrisRUf_.js.map → Heading-Bgh5mGuN-NZ2eqsFZ.js.map} +1 -1
- package/dist/assets/{Icon-DAAnSHZC-Dfyu_VE7.js → Icon-BwahBiNp-UizyCGpl.js} +2 -2
- package/dist/assets/{Icon-DAAnSHZC-Dfyu_VE7.js.map → Icon-BwahBiNp-UizyCGpl.js.map} +1 -1
- package/dist/assets/{Input-DBiN9aFG-98jE4J2q.js → Input-iXL6EXuW-CiyhDO1S.js} +2 -2
- package/dist/assets/{Input-DBiN9aFG-98jE4J2q.js.map → Input-iXL6EXuW-CiyhDO1S.js.map} +1 -1
- package/dist/assets/{InputStateWrapper-D-ZsGHSy-XxY4nRAw.js → InputStateWrapper-BskUoUzv-Y1QuPvo7.js} +2 -2
- package/dist/assets/{InputStateWrapper-D-ZsGHSy-XxY4nRAw.js.map → InputStateWrapper-BskUoUzv-Y1QuPvo7.js.map} +1 -1
- package/dist/assets/{InternalUnderlinedBadgeText-i_4-zRGd-BtWo_Ewc.js → InternalUnderlinedBadgeText-Ba_Akx7b-YDli6NRt.js} +2 -2
- package/dist/assets/{InternalUnderlinedBadgeText-i_4-zRGd-BtWo_Ewc.js.map → InternalUnderlinedBadgeText-Ba_Akx7b-YDli6NRt.js.map} +1 -1
- package/dist/assets/{Span-CE81mFIR-B_UNjncc.js → Span-CS0Z30Mv-DkVBt8xF.js} +2 -2
- package/dist/assets/{Span-CE81mFIR-B_UNjncc.js.map → Span-CS0Z30Mv-DkVBt8xF.js.map} +1 -1
- package/dist/assets/{access-and-short-key-bcID78Ha-CK3F9UJc.js → access-and-short-key-B37XLwy2-BBCIaEXs.js} +2 -2
- package/dist/assets/{access-and-short-key-bcID78Ha-CK3F9UJc.js.map → access-and-short-key-B37XLwy2-BBCIaEXs.js.map} +1 -1
- package/dist/assets/{align-CyK0wp7d-Ds_zJkMi.js → align-D-ifSKu8-DHxE7OrW.js} +2 -2
- package/dist/assets/{align-CyK0wp7d-Ds_zJkMi.js.map → align-D-ifSKu8-DHxE7OrW.js.map} +1 -1
- package/dist/assets/{align-floating-elements-Bx4ukVlr-db7E833n.js → align-floating-elements-BkpeqvtE-CQbyIoMm.js} +3 -3
- package/dist/assets/{align-floating-elements-Bx4ukVlr-db7E833n.js.map → align-floating-elements-BkpeqvtE-CQbyIoMm.js.map} +1 -1
- package/dist/assets/{associated.controller-BKIODHIT-DjKWct4T.js → associated.controller-ByY2WiIp-D-SArd22.js} +2 -2
- package/dist/assets/{associated.controller-BKIODHIT-DjKWct4T.js.map → associated.controller-ByY2WiIp-D-SArd22.js.map} +1 -1
- package/dist/assets/{auto-complete-BsG3RQJ3-DjAvSQV5.js → auto-complete-mCkUnxg2-CPy57VVu.js} +2 -2
- package/dist/assets/{auto-complete-BsG3RQJ3-DjAvSQV5.js.map → auto-complete-mCkUnxg2-CPy57VVu.js.map} +1 -1
- package/dist/assets/{color-C3pYZKV3-CoNBFngn.js → color-BOIEtqEM-L8c8JCkp.js} +3 -3
- package/dist/assets/{color-C3pYZKV3-CoNBFngn.js.map → color-BOIEtqEM-L8c8JCkp.js.map} +1 -1
- package/dist/assets/{controller-CV2y9Ae_-DuhIALLa.js → controller-C5Ill7ej-DA9_ZpJu.js} +2 -2
- package/dist/assets/{controller-CV2y9Ae_-DuhIALLa.js.map → controller-C5Ill7ej-DA9_ZpJu.js.map} +1 -1
- package/dist/assets/{controller-BTIv7gJq-9h6vdF-r.js → controller-C5WSxdih-C0Th29pR.js} +2 -2
- package/dist/assets/{controller-BTIv7gJq-9h6vdF-r.js.map → controller-C5WSxdih-C0Th29pR.js.map} +1 -1
- package/dist/assets/{controller-CFj0r1ye-D0qtp4wr.js → controller-CX1IIODr-BkmhUxT6.js} +2 -2
- package/dist/assets/{controller-CFj0r1ye-D0qtp4wr.js.map → controller-CX1IIODr-BkmhUxT6.js.map} +1 -1
- package/dist/assets/controller-icon-Bj9jDliX-GITfFrxl.js +4 -0
- package/dist/assets/controller-icon-Bj9jDliX-GITfFrxl.js.map +1 -0
- package/dist/assets/{controller-CTR4HcO6-DYxcnCqT.js → controller-mXm-vPdA-B6Pyo-EF.js} +3 -3
- package/dist/assets/{controller-CTR4HcO6-DYxcnCqT.js.map → controller-mXm-vPdA-B6Pyo-EF.js.map} +1 -1
- package/dist/assets/{custom-class-CA0KGtrM-DTbaTBLP.js → custom-class-nuoQ9Aml-DkG_pprU.js} +2 -2
- package/dist/assets/{custom-class-CA0KGtrM-DTbaTBLP.js.map → custom-class-nuoQ9Aml-DkG_pprU.js.map} +1 -1
- package/dist/assets/{dev.utils-jFnvJk5c-D37nV2Pq.js → dev.utils-CjBWUBVB-BTpX7uqU.js} +2 -2
- package/dist/assets/{dev.utils-jFnvJk5c-D37nV2Pq.js.map → dev.utils-CjBWUBVB-BTpX7uqU.js.map} +1 -1
- package/dist/assets/{devtools-BhEwJ2s4-DGukMoVb.js → devtools-DSsrYXN7-E4mOPBwO.js} +2 -2
- package/dist/assets/{devtools-BhEwJ2s4-DGukMoVb.js.map → devtools-DSsrYXN7-E4mOPBwO.js.map} +1 -1
- package/dist/assets/{disabled-BydergHu-BPFXrbWx.js → disabled-BhpAFgSp-By2R53CP.js} +2 -2
- package/dist/assets/{disabled-BydergHu-BPFXrbWx.js.map → disabled-BhpAFgSp-By2R53CP.js.map} +1 -1
- package/dist/assets/has-closer-CQzjaTkv-CJOSQHj3.js +4 -0
- package/dist/assets/has-closer-CQzjaTkv-CJOSQHj3.js.map +1 -0
- package/dist/assets/{hide-label-DRunOux4-DtTbz-0D.js → hide-label-B9FhGrWP-DKlgXtKv.js} +2 -2
- package/dist/assets/{hide-label-DRunOux4-DtTbz-0D.js.map → hide-label-B9FhGrWP-DKlgXtKv.js.map} +1 -1
- package/dist/assets/{href-zZq6HYWf-B3rT45gz.js → href-rwDd36rS-CEz5jHM0.js} +2 -2
- package/dist/assets/href-rwDd36rS-CEz5jHM0.js.map +1 -0
- package/dist/assets/{i18n-CdSCDnmA-BDPBg7Eu.js → i18n-C5ifExT3-Biq4UyHg.js} +2 -2
- package/dist/assets/{i18n-CdSCDnmA-BDPBg7Eu.js.map → i18n-C5ifExT3-Biq4UyHg.js.map} +1 -1
- package/dist/assets/{icons-72ER78AW-V6GT6JtO.js → icons-B5i9zwjJ-Dzqwsqxx.js} +2 -2
- package/dist/assets/{icons-72ER78AW-V6GT6JtO.js.map → icons-B5i9zwjJ-Dzqwsqxx.js.map} +1 -1
- package/dist/assets/image-source-BfBEJ0rX-BecuGTZi.js +4 -0
- package/dist/assets/{image-source-RWPv7frZ-CkjdxZJx.js.map → image-source-BfBEJ0rX-BecuGTZi.js.map} +1 -1
- package/dist/assets/index-CQ_Buelw.js +22532 -0
- package/dist/assets/index-CQ_Buelw.js.map +1 -0
- package/dist/assets/index-DhV7zTY5.css +1 -0
- package/dist/assets/{kol-abbr.entry-DSExcK7Y.js → kol-abbr.entry-CVbEazxY.js} +36 -17
- package/dist/assets/{kol-abbr.entry-DSExcK7Y.js.map → kol-abbr.entry-CVbEazxY.js.map} +1 -1
- package/dist/assets/{kol-accordion.entry-abzFpjvJ.js → kol-accordion.entry-CV7ohUuG.js} +10 -8
- package/dist/assets/kol-accordion.entry-CV7ohUuG.js.map +1 -0
- package/dist/assets/{kol-alert-wc.entry-DIHfazMO.js → kol-alert-wc.entry-CYKnpWcF.js} +3 -3
- package/dist/assets/{kol-alert-wc.entry-DIHfazMO.js.map → kol-alert-wc.entry-CYKnpWcF.js.map} +1 -1
- package/dist/assets/{kol-alert.entry-Bi7etxxW.js → kol-alert.entry-CNzUQYLU.js} +36 -17
- package/dist/assets/{kol-alert.entry-Bi7etxxW.js.map → kol-alert.entry-CNzUQYLU.js.map} +1 -1
- package/dist/assets/kol-avatar-wc.entry-BblqyWKG.js +4 -0
- package/dist/assets/kol-avatar-wc.entry-BblqyWKG.js.map +1 -0
- package/dist/assets/{kol-avatar.entry-CV9VMVmD.js → kol-avatar.entry-DUW_BVfA.js} +10 -8
- package/dist/assets/{kol-avatar.entry-CV9VMVmD.js.map → kol-avatar.entry-DUW_BVfA.js.map} +1 -1
- package/dist/assets/{kol-badge.entry-Dua8Ck0Y.js → kol-badge.entry-C3zN15_z.js} +37 -18
- package/dist/assets/kol-badge.entry-C3zN15_z.js.map +1 -0
- package/dist/assets/{kol-breadcrumb.entry-CmAWsf9n.js → kol-breadcrumb.entry--_VVs4l-.js} +37 -18
- package/dist/assets/kol-breadcrumb.entry--_VVs4l-.js.map +1 -0
- package/dist/assets/{kol-button-link.entry-BpONzPg2.js → kol-button-link.entry-Br3472GN.js} +36 -17
- package/dist/assets/kol-button-link.entry-Br3472GN.js.map +1 -0
- package/dist/assets/{kol-button-wc.entry-CxQP3HLo.js → kol-button-wc.entry-2_mO99Hh.js} +3 -3
- package/dist/assets/{kol-button-wc.entry-CxQP3HLo.js.map → kol-button-wc.entry-2_mO99Hh.js.map} +1 -1
- package/dist/assets/{kol-button.entry-BWAblq2h.js → kol-button.entry-BaZ02nHO.js} +36 -20
- package/dist/assets/{kol-button.entry-BWAblq2h.js.map → kol-button.entry-BaZ02nHO.js.map} +1 -1
- package/dist/assets/kol-card-wc.entry-BoWT-ryV.js +4 -0
- package/dist/assets/{kol-card-wc.entry-D1uzKYNH.js.map → kol-card-wc.entry-BoWT-ryV.js.map} +1 -1
- package/dist/assets/{kol-card.entry-DUat60hr.js → kol-card.entry-Bdt_-GvY.js} +51 -21
- package/dist/assets/{kol-card.entry-DUat60hr.js.map → kol-card.entry-Bdt_-GvY.js.map} +1 -1
- package/dist/assets/kol-combobox.entry-0wHAnFPY.js +371 -0
- package/dist/assets/kol-combobox.entry-0wHAnFPY.js.map +1 -0
- package/dist/assets/{kol-details.entry-BdbKlKC_.js → kol-details.entry-BfD1K4If.js} +9 -7
- package/dist/assets/kol-details.entry-BfD1K4If.js.map +1 -0
- package/dist/assets/{kol-drawer.entry-CyZwxKbJ.js → kol-drawer.entry-c11KWvha.js} +51 -21
- package/dist/assets/kol-drawer.entry-c11KWvha.js.map +1 -0
- package/dist/assets/{kol-form.entry-CE7kD4si.js → kol-form.entry-D-LVNbGl.js} +36 -17
- package/dist/assets/kol-form.entry-D-LVNbGl.js.map +1 -0
- package/dist/assets/{kol-heading.entry-CYC5dUQt.js → kol-heading.entry-CCNAcKwT.js} +8 -6
- package/dist/assets/{kol-heading.entry-CYC5dUQt.js.map → kol-heading.entry-CCNAcKwT.js.map} +1 -1
- package/dist/assets/{kol-icon.entry-DDBzHxfS.js → kol-icon.entry-DbZ8n3YR.js} +2 -2
- package/dist/assets/{kol-icon.entry-DDBzHxfS.js.map → kol-icon.entry-DbZ8n3YR.js.map} +1 -1
- package/dist/assets/{kol-image.entry-CUMHkUjG.js → kol-image.entry-Doe1SGMb.js} +9 -7
- package/dist/assets/{kol-image.entry-CUMHkUjG.js.map → kol-image.entry-Doe1SGMb.js.map} +1 -1
- package/dist/assets/{kol-input-checkbox.entry-vv6vl59s.js → kol-input-checkbox.entry-Bn3dg1V8.js} +37 -18
- package/dist/assets/kol-input-checkbox.entry-Bn3dg1V8.js.map +1 -0
- package/dist/assets/{kol-input-color.entry-BP7j43Eo.js → kol-input-color.entry-0XDQSN0x.js} +39 -19
- package/dist/assets/kol-input-color.entry-0XDQSN0x.js.map +1 -0
- package/dist/assets/{kol-input-date.entry-BvccwUBf.js → kol-input-date.entry-CVwl1xfx.js} +39 -19
- package/dist/assets/kol-input-date.entry-CVwl1xfx.js.map +1 -0
- package/dist/assets/{kol-input-email.entry-QS5TevHv.js → kol-input-email.entry-D4pj5A7b.js} +39 -19
- package/dist/assets/kol-input-email.entry-D4pj5A7b.js.map +1 -0
- package/dist/assets/{kol-input-file.entry-DIgSc1fg.js → kol-input-file.entry-C8xPfnOP.js} +39 -19
- package/dist/assets/kol-input-file.entry-C8xPfnOP.js.map +1 -0
- package/dist/assets/{kol-input-number.entry-08jF_pXv.js → kol-input-number.entry-DwCXhQWQ.js} +38 -18
- package/dist/assets/kol-input-number.entry-DwCXhQWQ.js.map +1 -0
- package/dist/assets/{kol-input-password.entry-KfZ0aP1e.js → kol-input-password.entry-Q-lcjouP.js} +38 -18
- package/dist/assets/kol-input-password.entry-Q-lcjouP.js.map +1 -0
- package/dist/assets/{kol-input-radio.entry-BZXYtIWi.js → kol-input-radio.entry-CciQW3YW.js} +38 -19
- package/dist/assets/{kol-input-radio.entry-BZXYtIWi.js.map → kol-input-radio.entry-CciQW3YW.js.map} +1 -1
- package/dist/assets/{kol-input-range.entry-DzxZZxwg.js → kol-input-range.entry-iU6Li2fT.js} +39 -19
- package/dist/assets/kol-input-range.entry-iU6Li2fT.js.map +1 -0
- package/dist/assets/{kol-input-text.entry-C_NDprxn.js → kol-input-text.entry-PHh_wEiq.js} +39 -19
- package/dist/assets/kol-input-text.entry-PHh_wEiq.js.map +1 -0
- package/dist/assets/{kol-kolibri.entry-DsiCiBEw.js → kol-kolibri.entry-BR0b_jra.js} +7 -5
- package/dist/assets/kol-kolibri.entry-BR0b_jra.js.map +1 -0
- package/dist/assets/{kol-link-button.entry-DV2JifLv.js → kol-link-button.entry-CunQFFKa.js} +36 -20
- package/dist/assets/{kol-link-button.entry-DV2JifLv.js.map → kol-link-button.entry-CunQFFKa.js.map} +1 -1
- package/dist/assets/{kol-link-wc.entry-DNF3mgsz.js → kol-link-wc.entry-xTBYHT0z.js} +3 -3
- package/dist/assets/{kol-link-wc.entry-DNF3mgsz.js.map → kol-link-wc.entry-xTBYHT0z.js.map} +1 -1
- package/dist/assets/{kol-link.entry-BZ1ulo3D.js → kol-link.entry-C6_wnPZ-.js} +36 -17
- package/dist/assets/{kol-link.entry-BZ1ulo3D.js.map → kol-link.entry-C6_wnPZ-.js.map} +1 -1
- package/dist/assets/{kol-modal.entry-DgiHCfGM.js → kol-modal.entry-DsZdFm5_.js} +52 -22
- package/dist/assets/kol-modal.entry-DsZdFm5_.js.map +1 -0
- package/dist/assets/{kol-nav.entry-f7tigMNP.js → kol-nav.entry-CSfQbw6S.js} +38 -19
- package/dist/assets/kol-nav.entry-CSfQbw6S.js.map +1 -0
- package/dist/assets/{kol-pagination-wc.entry-CL-2QKe2.js → kol-pagination-wc.entry-DI1SD0UY.js} +3 -3
- package/dist/assets/kol-pagination-wc.entry-DI1SD0UY.js.map +1 -0
- package/dist/assets/{kol-pagination.entry-BMiql5xn.js → kol-pagination.entry-gk3T6sII.js} +35 -16
- package/dist/assets/{kol-pagination.entry-BMiql5xn.js.map → kol-pagination.entry-gk3T6sII.js.map} +1 -1
- package/dist/assets/kol-popover-button-wc.entry-BfyJh1Tk.js +4 -0
- package/dist/assets/kol-popover-button-wc.entry-BfyJh1Tk.js.map +1 -0
- package/dist/assets/{kol-popover-button.entry-Cc5iej0K.js → kol-popover-button.entry-C7lTlK8K.js} +39 -20
- package/dist/assets/kol-popover-button.entry-C7lTlK8K.js.map +1 -0
- package/dist/assets/{kol-popover-wc.entry-IG9IR9et.js → kol-popover-wc.entry-BRbFm4ZE.js} +3 -3
- package/dist/assets/{kol-popover-wc.entry-IG9IR9et.js.map → kol-popover-wc.entry-BRbFm4ZE.js.map} +1 -1
- package/dist/assets/{kol-progress.entry-w2oLhbZO.js → kol-progress.entry-kqMDpH9z.js} +9 -7
- package/dist/assets/kol-progress.entry-kqMDpH9z.js.map +1 -0
- package/dist/assets/{kol-quote.entry-B75B_fuz.js → kol-quote.entry-CMPN1qSV.js} +9 -7
- package/dist/assets/kol-quote.entry-CMPN1qSV.js.map +1 -0
- package/dist/assets/{kol-select.entry-Bu0L0JED.js → kol-select.entry-FMTmeJJJ.js} +39 -19
- package/dist/assets/kol-select.entry-FMTmeJJJ.js.map +1 -0
- package/dist/assets/{kol-single-select.entry-DNkArfeb.js → kol-single-select.entry-J9fTeb4w.js} +38 -18
- package/dist/assets/kol-single-select.entry-J9fTeb4w.js.map +1 -0
- package/dist/assets/{kol-skip-nav.entry-DsqvE3-q.js → kol-skip-nav.entry-DafyzlxB.js} +8 -6
- package/dist/assets/{kol-skip-nav.entry-DsqvE3-q.js.map → kol-skip-nav.entry-DafyzlxB.js.map} +1 -1
- package/dist/assets/{kol-spin.entry-Cfcl5qOO.js → kol-spin.entry-BY2L9jhT.js} +9 -7
- package/dist/assets/kol-spin.entry-BY2L9jhT.js.map +1 -0
- package/dist/assets/{kol-split-button.entry-BpyH6rr0.js → kol-split-button.entry-BFNmHzhp.js} +36 -17
- package/dist/assets/kol-split-button.entry-BFNmHzhp.js.map +1 -0
- package/dist/assets/{kol-table-settings-wc.entry-B8aYsiOI.js → kol-table-settings-wc.entry-M3lIgfdY.js} +3 -3
- package/dist/assets/{kol-table-settings-wc.entry-B8aYsiOI.js.map → kol-table-settings-wc.entry-M3lIgfdY.js.map} +1 -1
- package/dist/assets/{kol-table-stateful.entry-BobVufSK.js → kol-table-stateful.entry-CYI7kfSl.js} +37 -21
- package/dist/assets/kol-table-stateful.entry-CYI7kfSl.js.map +1 -0
- package/dist/assets/kol-table-stateless-wc.entry-C4MdwyvP.js +4 -0
- package/dist/assets/kol-table-stateless-wc.entry-C4MdwyvP.js.map +1 -0
- package/dist/assets/{kol-table-stateless.entry-slG667hl.js → kol-table-stateless.entry-hMXFjEhF.js} +36 -20
- package/dist/assets/kol-table-stateless.entry-hMXFjEhF.js.map +1 -0
- package/dist/assets/{kol-tabs.entry-CNjJ5EQI.js → kol-tabs.entry-CSiT-Vja.js} +37 -18
- package/dist/assets/kol-tabs.entry-CSiT-Vja.js.map +1 -0
- package/dist/assets/{kol-textarea.entry-CobQF5Y0.js → kol-textarea.entry-DJ_7Lsr5.js} +38 -19
- package/dist/assets/kol-textarea.entry-DJ_7Lsr5.js.map +1 -0
- package/dist/assets/{kol-toast-container.entry-CBED4DEQ.js → kol-toast-container.entry-D8Xpm0Xn.js} +37 -18
- package/dist/assets/kol-toast-container.entry-D8Xpm0Xn.js.map +1 -0
- package/dist/assets/{kol-toolbar.entry-B9qkv7rv.js → kol-toolbar.entry-9ySC-BAN.js} +40 -21
- package/dist/assets/kol-toolbar.entry-9ySC-BAN.js.map +1 -0
- package/dist/assets/kol-tooltip-wc.entry-tWLuyz_1.js +4 -0
- package/dist/assets/kol-tooltip-wc.entry-tWLuyz_1.js.map +1 -0
- package/dist/assets/{kol-tree-item-wc.entry-Bt36le1_.js → kol-tree-item-wc.entry-Di09kCIU.js} +3 -3
- package/dist/assets/{kol-tree-item-wc.entry-Bt36le1_.js.map → kol-tree-item-wc.entry-Di09kCIU.js.map} +1 -1
- package/dist/assets/{kol-tree-item.entry-CZ7-gsNS.js → kol-tree-item.entry-dMSBzhie.js} +8 -6
- package/dist/assets/{kol-tree-item.entry-CZ7-gsNS.js.map → kol-tree-item.entry-dMSBzhie.js.map} +1 -1
- package/dist/assets/{kol-tree-wc.entry-DYQK0SrT.js → kol-tree-wc.entry-BOC80-CT.js} +3 -3
- package/dist/assets/{kol-tree-wc.entry-DYQK0SrT.js.map → kol-tree-wc.entry-BOC80-CT.js.map} +1 -1
- package/dist/assets/{kol-tree.entry-DLSeVDUB.js → kol-tree.entry-DAhnyulw.js} +8 -6
- package/dist/assets/{kol-tree.entry-DLSeVDUB.js.map → kol-tree.entry-DAhnyulw.js.map} +1 -1
- package/dist/assets/{kol-version.entry-DEjko3U5.js → kol-version.entry-MhIHSMgx.js} +8 -6
- package/dist/assets/{kol-version.entry-DEjko3U5.js.map → kol-version.entry-MhIHSMgx.js.map} +1 -1
- package/dist/assets/{label-CdtNxOKu-CLyKncMr.js → label-Dnmzb2S_-DuyBXWC_.js} +2 -2
- package/dist/assets/{label-CdtNxOKu-CLyKncMr.js.map → label-Dnmzb2S_-DuyBXWC_.js.map} +1 -1
- package/dist/assets/{link-variant-H9yefO89-DPQ3bWDz.js → link-variant-DQEKOyAU-Ct9RtX1_.js} +2 -2
- package/dist/assets/{link-variant-H9yefO89-DPQ3bWDz.js.map → link-variant-DQEKOyAU-Ct9RtX1_.js.map} +1 -1
- package/dist/assets/{markdown-DL-PkOqb-CCXm9EQF.js → markdown-BSkXjaSn-CrcoKTw6.js} +2 -2
- package/dist/assets/{markdown-DL-PkOqb-CCXm9EQF.js.map → markdown-BSkXjaSn-CrcoKTw6.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-BmNWss6T-a26YboAW.js → max-length-behavior-nTw1Zuyf-GucXJFxa.js} +2 -2
- package/dist/assets/{max-length-behavior-BmNWss6T-a26YboAW.js.map → max-length-behavior-nTw1Zuyf-GucXJFxa.js.map} +1 -1
- package/dist/assets/{multiple-bcm5IaCN-CQvH408s.js → multiple-Cj3JQafH-CDntOvdZ.js} +2 -2
- package/dist/assets/multiple-Cj3JQafH-CDntOvdZ.js.map +1 -0
- package/dist/assets/{open-D9q98v46-Bi0cI_u1.js → open-CbvHO4XG-BCQ9q6gh.js} +2 -2
- package/dist/assets/open-CbvHO4XG-BCQ9q6gh.js.map +1 -0
- package/dist/assets/{orientation-5kQWqijN-D3x3Zt8G.js → orientation-eCMt8CD1-C96vm09b.js} +2 -2
- package/dist/assets/{orientation-5kQWqijN-D3x3Zt8G.js.map → orientation-eCMt8CD1-C96vm09b.js.map} +1 -1
- package/dist/assets/{placeholder-6URRds0_-CnESfv0b.js → placeholder-BVhy3BzI-CI6o3wD7.js} +2 -2
- package/dist/assets/{placeholder-6URRds0_-CnESfv0b.js.map → placeholder-BVhy3BzI-CI6o3wD7.js.map} +1 -1
- package/dist/assets/read-only-BetTuumR-CipqDJTL.js +4 -0
- package/dist/assets/read-only-BetTuumR-CipqDJTL.js.map +1 -0
- package/dist/assets/required-CnTTpFCN-BJy5YV3r.js +4 -0
- package/dist/assets/required-CnTTpFCN-BJy5YV3r.js.map +1 -0
- package/dist/assets/{rows-P4l3PNiA-DsCUJBMf.js → rows-DtS-0sp9-DJxBfTGp.js} +2 -2
- package/dist/assets/rows-DtS-0sp9-DJxBfTGp.js.map +1 -0
- package/dist/assets/{show-DsV_Vx8g-D5WXnE_H.js → show-DdPK3aM7-BuMisXZl.js} +2 -2
- package/dist/assets/show-DdPK3aM7-BuMisXZl.js.map +1 -0
- package/dist/assets/{spell-check-DIsLAYgk-D8L_UizA.js → spell-check-B9ot-4t--BhdHVhbC.js} +2 -2
- package/dist/assets/{spell-check-DIsLAYgk-D8L_UizA.js.map → spell-check-B9ot-4t--BhdHVhbC.js.map} +1 -1
- package/dist/assets/{suggestions-DfF4lcNG-BF46R73u.js → suggestions-B-jLvT4L-DDe9bNUy.js} +2 -2
- package/dist/assets/{suggestions-DfF4lcNG-BF46R73u.js.map → suggestions-B-jLvT4L-DDe9bNUy.js.map} +1 -1
- package/dist/assets/{table-settings-DSZObo-2-B5g_ueEq.js → table-settings-DxLvhwRE-CduVPZXa.js} +2 -2
- package/dist/assets/{table-settings-DSZObo-2-B5g_ueEq.js.map → table-settings-DxLvhwRE-CduVPZXa.js.map} +1 -1
- package/dist/assets/{test-component.entry-3vmOnUnD.js → test-component.entry-BL3eLwXM.js} +2 -2
- package/dist/assets/{test-component.entry-3vmOnUnD.js.map → test-component.entry-BL3eLwXM.js.map} +1 -1
- package/dist/assets/tooltip-align-Cnin7S26-CqWSaesg.js +4 -0
- package/dist/assets/tooltip-align-Cnin7S26-CqWSaesg.js.map +1 -0
- package/dist/assets/{unique-nav-labels-C_NhdgGz-CqaqLCcO.js → unique-nav-labels-CrfmPC99-CdxUbk1s.js} +2 -2
- package/dist/assets/{unique-nav-labels-C_NhdgGz-CqaqLCcO.js.map → unique-nav-labels-CrfmPC99-CdxUbk1s.js.map} +1 -1
- package/dist/assets/{validation-DoIjmu3L-NRd8OjzP.js → validation-BfjI5un_-BhDYUf6-.js} +2 -2
- package/dist/assets/{validation-DoIjmu3L-NRd8OjzP.js.map → validation-BfjI5un_-BhDYUf6-.js.map} +1 -1
- package/dist/assets/{validation-CW_RXPSn-DvLHqxJ5.js → validation-aqgnZOL6-Vhr1set_.js} +2 -2
- package/dist/assets/{validation-CW_RXPSn-DvLHqxJ5.js.map → validation-aqgnZOL6-Vhr1set_.js.map} +1 -1
- package/dist/index.html +2 -2
- package/package.json +6 -5
- 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/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/formatted-label.tsx +1 -1
- 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 -25
- 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 +1 -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 +4 -4
- 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 +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/link-react-router.tsx +1 -1
- 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/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/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 +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 +13 -12
- 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-settings-menu.tsx +1 -1
- package/src/components/table/stateless.tsx +1 -1
- package/src/components/table/sticky-header.tsx +1 -1
- 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 +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/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/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 +8 -8
- 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/unocss.config.ts +1 -1
- package/vite.config.ts +4 -4
- package/dist/assets/Alert-rDcGDFja-BMLJUD8L.js +0 -4
- package/dist/assets/Alert-rDcGDFja-BMLJUD8L.js.map +0 -1
- package/dist/assets/FormFieldStateWrapper-CCxckxyk-B4bHyylZ.js.map +0 -1
- package/dist/assets/controller-icon-DufJu-M8-Dd9_utrw.js +0 -4
- package/dist/assets/controller-icon-DufJu-M8-Dd9_utrw.js.map +0 -1
- package/dist/assets/has-closer-BBMh8HY3-BkkDkyUT.js +0 -4
- package/dist/assets/has-closer-BBMh8HY3-BkkDkyUT.js.map +0 -1
- package/dist/assets/href-zZq6HYWf-B3rT45gz.js.map +0 -1
- package/dist/assets/image-source-RWPv7frZ-CkjdxZJx.js +0 -4
- package/dist/assets/index-BGOAkFhh.css +0 -1
- package/dist/assets/index-CScqQH4b.js +0 -14103
- package/dist/assets/index-CScqQH4b.js.map +0 -1
- package/dist/assets/kol-accordion.entry-abzFpjvJ.js.map +0 -1
- package/dist/assets/kol-avatar-wc.entry-DMCcaCpy.js +0 -4
- package/dist/assets/kol-avatar-wc.entry-DMCcaCpy.js.map +0 -1
- package/dist/assets/kol-badge.entry-Dua8Ck0Y.js.map +0 -1
- package/dist/assets/kol-breadcrumb.entry-CmAWsf9n.js.map +0 -1
- package/dist/assets/kol-button-link.entry-BpONzPg2.js.map +0 -1
- package/dist/assets/kol-card-wc.entry-D1uzKYNH.js +0 -4
- package/dist/assets/kol-combobox.entry-B2Xe5aAF.js +0 -351
- package/dist/assets/kol-combobox.entry-B2Xe5aAF.js.map +0 -1
- package/dist/assets/kol-details.entry-BdbKlKC_.js.map +0 -1
- package/dist/assets/kol-drawer.entry-CyZwxKbJ.js.map +0 -1
- package/dist/assets/kol-form.entry-CE7kD4si.js.map +0 -1
- package/dist/assets/kol-input-checkbox.entry-vv6vl59s.js.map +0 -1
- package/dist/assets/kol-input-color.entry-BP7j43Eo.js.map +0 -1
- package/dist/assets/kol-input-date.entry-BvccwUBf.js.map +0 -1
- package/dist/assets/kol-input-email.entry-QS5TevHv.js.map +0 -1
- package/dist/assets/kol-input-file.entry-DIgSc1fg.js.map +0 -1
- package/dist/assets/kol-input-number.entry-08jF_pXv.js.map +0 -1
- package/dist/assets/kol-input-password.entry-KfZ0aP1e.js.map +0 -1
- package/dist/assets/kol-input-range.entry-DzxZZxwg.js.map +0 -1
- package/dist/assets/kol-input-text.entry-C_NDprxn.js.map +0 -1
- package/dist/assets/kol-kolibri.entry-DsiCiBEw.js.map +0 -1
- package/dist/assets/kol-modal.entry-DgiHCfGM.js.map +0 -1
- package/dist/assets/kol-nav.entry-f7tigMNP.js.map +0 -1
- package/dist/assets/kol-pagination-wc.entry-CL-2QKe2.js.map +0 -1
- package/dist/assets/kol-popover-button-wc.entry-DITFi0pw.js +0 -4
- package/dist/assets/kol-popover-button-wc.entry-DITFi0pw.js.map +0 -1
- package/dist/assets/kol-popover-button.entry-Cc5iej0K.js.map +0 -1
- package/dist/assets/kol-progress.entry-w2oLhbZO.js.map +0 -1
- package/dist/assets/kol-quote.entry-B75B_fuz.js.map +0 -1
- package/dist/assets/kol-select.entry-Bu0L0JED.js.map +0 -1
- package/dist/assets/kol-single-select.entry-DNkArfeb.js.map +0 -1
- package/dist/assets/kol-spin.entry-Cfcl5qOO.js.map +0 -1
- package/dist/assets/kol-split-button.entry-BpyH6rr0.js.map +0 -1
- package/dist/assets/kol-table-stateful.entry-BobVufSK.js.map +0 -1
- package/dist/assets/kol-table-stateless-wc.entry-D1JubOgd.js +0 -4
- package/dist/assets/kol-table-stateless-wc.entry-D1JubOgd.js.map +0 -1
- package/dist/assets/kol-table-stateless.entry-slG667hl.js.map +0 -1
- package/dist/assets/kol-tabs.entry-CNjJ5EQI.js.map +0 -1
- package/dist/assets/kol-textarea.entry-CobQF5Y0.js.map +0 -1
- package/dist/assets/kol-toast-container.entry-CBED4DEQ.js.map +0 -1
- package/dist/assets/kol-toolbar.entry-B9qkv7rv.js.map +0 -1
- package/dist/assets/kol-tooltip-wc.entry-DhVvwNGR.js +0 -4
- package/dist/assets/kol-tooltip-wc.entry-DhVvwNGR.js.map +0 -1
- package/dist/assets/multiple-bcm5IaCN-CQvH408s.js.map +0 -1
- package/dist/assets/open-D9q98v46-Bi0cI_u1.js.map +0 -1
- package/dist/assets/read-only-CcRldJ9w-B6Kca91U.js +0 -4
- package/dist/assets/read-only-CcRldJ9w-B6Kca91U.js.map +0 -1
- package/dist/assets/required-G86n77y0-BPjPpx0R.js +0 -4
- package/dist/assets/required-G86n77y0-BPjPpx0R.js.map +0 -1
- package/dist/assets/rows-P4l3PNiA-DsCUJBMf.js.map +0 -1
- package/dist/assets/show-DsV_Vx8g-D5WXnE_H.js.map +0 -1
- package/dist/assets/tooltip-align-_VI7LehI-BA2gIX1h.js +0 -4
- package/dist/assets/tooltip-align-_VI7LehI-BA2gIX1h.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/scenarios/custom-tooltip-width.tsx +0 -33
|
@@ -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
|
+
import { KolLink } from '@public-ui/react-v19';
|
|
1
2
|
import type { FC } from 'react';
|
|
2
3
|
import React from 'react';
|
|
3
4
|
import { useNavigate } from 'react-router-dom';
|
|
4
|
-
import { KolLink } from '@public-ui/react-v19';
|
|
5
5
|
import { SampleDescription } from '../SampleDescription';
|
|
6
6
|
|
|
7
7
|
export const LinkReactRouter: FC = () => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Routes } from '../../shares/types';
|
|
2
|
+
import { LinkAccessKey } from './access-key';
|
|
3
|
+
import { LinkAriaDescription } from './aria-description';
|
|
2
4
|
import { LinkBasic } from './basic';
|
|
3
5
|
import { LinkIcons } from './icons';
|
|
4
6
|
import { LinkImage } from './image';
|
|
5
|
-
import { LinkTarget } from './target';
|
|
6
|
-
import { LinkAriaDescription } from './aria-description';
|
|
7
|
-
import { LinkAccessKey } from './access-key';
|
|
8
|
-
import { LinkShortKey } from './short-key';
|
|
9
7
|
import { LinkReactRouter } from './link-react-router';
|
|
8
|
+
import { LinkShortKey } from './short-key';
|
|
9
|
+
import { LinkTarget } from './target';
|
|
10
10
|
|
|
11
11
|
export const LINK_ROUTES: Routes = {
|
|
12
12
|
link: {
|
|
@@ -2,7 +2,7 @@ import React, { useState } from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { KolHeading, KolInputCheckbox, KolNav } from '@public-ui/react-v19';
|
|
4
4
|
import { SampleDescription } from '../SampleDescription';
|
|
5
|
-
import { LINKS,
|
|
5
|
+
import { LINKS, LINKS_SUB_ACTIVE, LINKS_WITHOUT_SUBMENU } from './links';
|
|
6
6
|
|
|
7
7
|
import type { FC } from 'react';
|
|
8
8
|
export const NavBasic: FC = () => {
|
|
@@ -1,34 +1,47 @@
|
|
|
1
|
+
import type { ToolbarItemsPropType } from '@public-ui/components';
|
|
2
|
+
import { KolHeading, KolPopoverButton, KolToolbar } from '@public-ui/react-v19';
|
|
1
3
|
import type { FC } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { SampleDescription } from '../SampleDescription';
|
|
4
|
-
import { KolPopoverButton, KolToolbar, KolHeading } from '@public-ui/react-v19';
|
|
4
|
+
import React, { useEffect } from 'react';
|
|
5
5
|
import { useToasterService } from '../../hooks/useToasterService';
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
7
|
|
|
7
8
|
export const PopoverButtonBasic: FC = () => {
|
|
8
9
|
const { dummyClickEventHandler } = useToasterService();
|
|
10
|
+
const buttonRef = React.useRef<HTMLKolPopoverButtonElement>(null);
|
|
9
11
|
|
|
10
12
|
const dummyEventHandler = {
|
|
11
13
|
onClick: dummyClickEventHandler,
|
|
12
14
|
};
|
|
13
15
|
|
|
14
|
-
const TOOLBAR_ITEMS = [
|
|
16
|
+
const TOOLBAR_ITEMS: ToolbarItemsPropType = [
|
|
15
17
|
{
|
|
18
|
+
type: 'button',
|
|
16
19
|
_label: 'Edit',
|
|
17
20
|
_icons: 'codicon codicon-edit',
|
|
18
21
|
_on: dummyEventHandler,
|
|
19
22
|
},
|
|
20
23
|
{
|
|
24
|
+
type: 'button',
|
|
21
25
|
_label: 'Delete',
|
|
22
26
|
_icons: 'codicon codicon-trash',
|
|
23
27
|
_on: dummyEventHandler,
|
|
24
28
|
},
|
|
25
29
|
{
|
|
30
|
+
type: 'button',
|
|
26
31
|
_label: 'Duplicate',
|
|
27
32
|
_icons: 'codicon codicon-copy',
|
|
28
33
|
_on: dummyEventHandler,
|
|
29
34
|
},
|
|
30
35
|
];
|
|
31
36
|
|
|
37
|
+
useEffect(() => {
|
|
38
|
+
// Ensure the popover is closed on initial render
|
|
39
|
+
if (buttonRef.current) {
|
|
40
|
+
buttonRef.current.showPopover();
|
|
41
|
+
buttonRef.current.kolFocus();
|
|
42
|
+
}
|
|
43
|
+
}, []);
|
|
44
|
+
|
|
32
45
|
return (
|
|
33
46
|
<>
|
|
34
47
|
<SampleDescription>
|
|
@@ -37,19 +50,13 @@ export const PopoverButtonBasic: FC = () => {
|
|
|
37
50
|
right, bottom, left) using the <code>_popoverAlign</code> prop.
|
|
38
51
|
</p>
|
|
39
52
|
</SampleDescription>
|
|
40
|
-
|
|
41
53
|
<div className="flex flex-col gap-4">
|
|
42
|
-
<
|
|
43
|
-
|
|
44
|
-
<KolPopoverButton _label={'Actions'} _variant="primary" _icons={{ right: 'codicon codicon-chevron-down' }}>
|
|
54
|
+
<KolPopoverButton _label={'Actions'} _variant="primary" _icons={{ right: 'codicon codicon-chevron-down' }} ref={buttonRef}>
|
|
45
55
|
<KolToolbar _label="Action toolbar" _items={TOOLBAR_ITEMS} _orientation="vertical" />
|
|
46
56
|
</KolPopoverButton>
|
|
47
|
-
|
|
48
|
-
<KolHeading _label="Info icon with help text" _level={2}></KolHeading>
|
|
49
|
-
|
|
50
57
|
<KolPopoverButton _label="Help" _icons="codicon codicon-info" _popoverAlign="right" _tooltipAlign="bottom" _hideLabel>
|
|
51
58
|
<div className="w-sm p-2 border border-solid border-gray">
|
|
52
|
-
<KolHeading _label="Help Information" _level={
|
|
59
|
+
<KolHeading _label="Help Information" _level={0}></KolHeading>
|
|
53
60
|
<p>
|
|
54
61
|
<u>Lorem ipsum dolor sit amet</u>, consectetur adipisicing elit. Aspernatur aut dolore dolores itaque praesentium reprehenderit sed voluptatum!
|
|
55
62
|
Exercitationem ipsa magni maiores modi, placeat quas quos reprehenderit rerum sit veniam vitae.
|
|
@@ -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 { SelectVariants } from './partials/variants';
|
|
6
5
|
import { SampleDescription } from '../SampleDescription';
|
|
6
|
+
import { SelectVariants } from './partials/variants';
|
|
7
7
|
|
|
8
8
|
export const SelectBasic: FC = () => (
|
|
9
9
|
<>
|
|
@@ -4,9 +4,8 @@ import { KolSingleSelect } from '@public-ui/react-v19';
|
|
|
4
4
|
|
|
5
5
|
import { ERROR_MSG, HINT_MSG } from '../../../shares/constants';
|
|
6
6
|
|
|
7
|
-
import type { Option, StencilUnknown } from '@public-ui/components';
|
|
7
|
+
import type { Components, Option, StencilUnknown } from '@public-ui/components';
|
|
8
8
|
import { COUNTRY_OPTIONS } from '../../../shares/country';
|
|
9
|
-
import type { Components } from '@public-ui/components';
|
|
10
9
|
import { LONG_OPTIONS } from '../../../shares/longOptions';
|
|
11
10
|
|
|
12
11
|
export const SingleSelectCases = (props: Components.KolSingleSelect) => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { SingleSelectCases } from './cases';
|
|
4
3
|
import type { Components } from '@public-ui/components';
|
|
5
4
|
import { SampleColumns } from '../../SampleColumns';
|
|
5
|
+
import { SingleSelectCases } from './cases';
|
|
6
6
|
|
|
7
7
|
export const SingleSelectVariants = (props: Components.KolSingleSelect) => {
|
|
8
8
|
return (
|
|
@@ -1,33 +1,42 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
|
-
import React from 'react';
|
|
2
|
+
import React, { useEffect, useRef } from 'react';
|
|
3
3
|
|
|
4
4
|
import { KolSkipNav } from '@public-ui/react-v19';
|
|
5
5
|
|
|
6
6
|
import { SampleDescription } from '../SampleDescription';
|
|
7
7
|
|
|
8
|
-
export const SkipNavBasic: FC = () =>
|
|
9
|
-
|
|
10
|
-
<SampleDescription>
|
|
11
|
-
<p>KolSkipNav renders a list of navigation links that are visually hidden by default and only visible on focus.</p>
|
|
12
|
-
<p>For testing purposes, click into the example and press the tab-key in order to focus the first link.</p>
|
|
13
|
-
</SampleDescription>
|
|
8
|
+
export const SkipNavBasic: FC = () => {
|
|
9
|
+
const skipNavRef = useRef<HTMLKolSkipNavElement>(null);
|
|
14
10
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
11
|
+
useEffect(() => {
|
|
12
|
+
skipNavRef.current?.kolFocus();
|
|
13
|
+
}, []);
|
|
14
|
+
|
|
15
|
+
return (
|
|
16
|
+
<div className="grid gap-4">
|
|
17
|
+
<SampleDescription>
|
|
18
|
+
<p>KolSkipNav renders a list of navigation links that are visually hidden by default and only visible on focus.</p>
|
|
19
|
+
<p>For testing purposes, click into the example and press the tab-key in order to focus the first link.</p>
|
|
20
|
+
</SampleDescription>
|
|
21
|
+
|
|
22
|
+
<KolSkipNav
|
|
23
|
+
ref={skipNavRef}
|
|
24
|
+
_label="Hidden navigation"
|
|
25
|
+
_links={[
|
|
26
|
+
{
|
|
27
|
+
_label: 'To the top',
|
|
28
|
+
_href: '#/back-page',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
_label: 'To the form',
|
|
32
|
+
_href: '#/back-page',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
_label: 'To the end',
|
|
36
|
+
_href: '#/back-page',
|
|
37
|
+
},
|
|
38
|
+
]}
|
|
39
|
+
></KolSkipNav>
|
|
40
|
+
</div>
|
|
41
|
+
);
|
|
42
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React, { useEffect, useState } from 'react';
|
|
2
1
|
import { KolSpin } from '@public-ui/react-v19';
|
|
3
2
|
import type { FC } from 'react';
|
|
3
|
+
import React, { useEffect, useState } from 'react';
|
|
4
4
|
import { SampleDescription } from '../SampleDescription';
|
|
5
5
|
|
|
6
6
|
export const SpinLabel: FC = () => {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
+
import type { ToolbarItemsPropType } from '@public-ui/components';
|
|
3
4
|
import { KolSplitButton, KolToolbar } from '@public-ui/react-v19';
|
|
4
|
-
import { SampleDescription } from '../SampleDescription';
|
|
5
5
|
import { useToasterService } from '../../hooks/useToasterService';
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
7
|
|
|
7
8
|
import type { FC } from 'react';
|
|
8
9
|
|
|
@@ -11,18 +12,21 @@ export const SplitButtonBasic: FC = () => {
|
|
|
11
12
|
const dummyEventHandler = {
|
|
12
13
|
onClick: buttonWithTextClickEventHandler,
|
|
13
14
|
};
|
|
14
|
-
const TOOLBAR_ITEMS = [
|
|
15
|
+
const TOOLBAR_ITEMS: ToolbarItemsPropType = [
|
|
15
16
|
{
|
|
17
|
+
type: 'button',
|
|
16
18
|
_label: 'Save',
|
|
17
19
|
_icons: 'codicon codicon-save',
|
|
18
20
|
_on: dummyEventHandler,
|
|
19
21
|
},
|
|
20
22
|
{
|
|
23
|
+
type: 'button',
|
|
21
24
|
_label: 'Move',
|
|
22
25
|
_icons: 'codicon codicon-move',
|
|
23
26
|
_on: dummyEventHandler,
|
|
24
27
|
},
|
|
25
28
|
{
|
|
29
|
+
type: 'button',
|
|
26
30
|
_label: 'Delete',
|
|
27
31
|
_icons: 'codicon codicon-trash',
|
|
28
32
|
_on: dummyEventHandler,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { KolTableStateful } from '@public-ui/react-v19';
|
|
1
2
|
import type { FC } from 'react';
|
|
2
3
|
import React from 'react';
|
|
3
|
-
import { KolTableStateful } from '@public-ui/react-v19';
|
|
4
4
|
import { SampleDescription } from '../SampleDescription';
|
|
5
5
|
|
|
6
6
|
export const TableComplexHeaders: FC = () => (
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type { FC } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
|
|
4
|
+
import type { KoliBriTableHeaders } from '@public-ui/components';
|
|
5
|
+
import { KolTableStateful } from '@public-ui/react-v19';
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
7
|
+
|
|
8
|
+
type TemperatureRow = {
|
|
9
|
+
city: string;
|
|
10
|
+
temperature: number;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
const COMFORTABLE_TEMPERATURE = 22;
|
|
14
|
+
|
|
15
|
+
const TEMPERATURE_DATA: TemperatureRow[] = [
|
|
16
|
+
{ city: 'Reykjavík', temperature: 6 },
|
|
17
|
+
{ city: 'Berlin', temperature: 21 },
|
|
18
|
+
{ city: 'Palma de Mallorca', temperature: 29 },
|
|
19
|
+
{ city: 'Cairo', temperature: 35 },
|
|
20
|
+
{ city: 'Helsinki', temperature: 14 },
|
|
21
|
+
];
|
|
22
|
+
|
|
23
|
+
const HEADERS: KoliBriTableHeaders = {
|
|
24
|
+
horizontal: [
|
|
25
|
+
[
|
|
26
|
+
{ label: 'City', key: 'city' },
|
|
27
|
+
{
|
|
28
|
+
label: 'Temperature (°C)',
|
|
29
|
+
key: 'temperature',
|
|
30
|
+
textAlign: 'right',
|
|
31
|
+
compareFn: (rowA, rowB, direction = 'ASC') => {
|
|
32
|
+
const temperatureA = (rowA as TemperatureRow).temperature;
|
|
33
|
+
const temperatureB = (rowB as TemperatureRow).temperature;
|
|
34
|
+
const differenceA = Math.abs(temperatureA - COMFORTABLE_TEMPERATURE);
|
|
35
|
+
const differenceB = Math.abs(temperatureB - COMFORTABLE_TEMPERATURE);
|
|
36
|
+
|
|
37
|
+
if (differenceA !== differenceB) {
|
|
38
|
+
return direction === 'DESC' ? differenceB - differenceA : differenceA - differenceB;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
return direction === 'DESC' ? temperatureB - temperatureA : temperatureA - temperatureB;
|
|
42
|
+
},
|
|
43
|
+
render: (_element, _cell, row) => {
|
|
44
|
+
const difference = Math.abs((row as TemperatureRow).temperature - COMFORTABLE_TEMPERATURE);
|
|
45
|
+
return `${(row as TemperatureRow).temperature} °C (Δ ${difference} °C)`;
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
],
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export const TableDirectionAwareSort: FC = () => (
|
|
53
|
+
<>
|
|
54
|
+
<SampleDescription>
|
|
55
|
+
<p>
|
|
56
|
+
This sample demonstrates how <code>compareFn</code> receives the current <code>sortDirection</code>. Ascending sorts show cities that are closest to
|
|
57
|
+
22 °C first, descending sorts highlight the most extreme temperatures.
|
|
58
|
+
</p>
|
|
59
|
+
</SampleDescription>
|
|
60
|
+
|
|
61
|
+
<section className="w-full">
|
|
62
|
+
<KolTableStateful _minWidth="100%" _label="Direction aware compare function" _data={TEMPERATURE_DATA} _headers={HEADERS} className="block" />
|
|
63
|
+
</section>
|
|
64
|
+
</>
|
|
65
|
+
);
|
|
@@ -5,8 +5,8 @@ import { KolHeading, KolInputCheckbox, KolTableStateful } from '@public-ui/react
|
|
|
5
5
|
|
|
6
6
|
import { SampleDescription } from '../SampleDescription';
|
|
7
7
|
import { DATE_FORMATTER } from './formatter';
|
|
8
|
-
import { DATA as tableData } from './test-data';
|
|
9
8
|
import type { Data } from './test-data';
|
|
9
|
+
import { DATA as tableData } from './test-data';
|
|
10
10
|
|
|
11
11
|
import type { KoliBriTableHeaders } from '@public-ui/components';
|
|
12
12
|
|
|
@@ -2,9 +2,9 @@ import type { ButtonProps, ButtonVariantPropType, KoliBriTableCell, KoliBriTable
|
|
|
2
2
|
import { createReactRenderElement, KolButton, KolButtonLink, KolLink, KolLinkButton, KolTableStateless } from '@public-ui/react-v19';
|
|
3
3
|
import type { FC } from 'react';
|
|
4
4
|
import React from 'react';
|
|
5
|
+
import { useToasterService } from '../../hooks/useToasterService';
|
|
5
6
|
import { getRoot } from '../../shares/react-roots';
|
|
6
7
|
import { SampleDescription } from '../SampleDescription';
|
|
7
|
-
import { useToasterService } from '../../hooks/useToasterService';
|
|
8
8
|
|
|
9
9
|
function KolButtonWrapper({ _on, ...other }: ButtonProps) {
|
|
10
10
|
const { dummyClickEventHandler } = useToasterService();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import React, { useState } from 'react';
|
|
3
3
|
|
|
4
|
+
import type { KoliBriTableDataType, KoliBriTableHeaders } from '@public-ui/components';
|
|
4
5
|
import { KolHeading, KolInputCheckbox, KolTableStateful } from '@public-ui/react-v19';
|
|
5
|
-
import
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
7
|
import type { Data } from './test-data';
|
|
7
8
|
import { DATA } from './test-data';
|
|
8
|
-
import { SampleDescription } from '../SampleDescription';
|
|
9
9
|
|
|
10
10
|
const DATE_FORMATTER = Intl.DateTimeFormat('de-DE', {
|
|
11
11
|
day: '2-digit',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SampleDescription } from '../SampleDescription';
|
|
2
1
|
import { KolTableStateful } from '@public-ui/react-v19';
|
|
3
2
|
import type { FC } from 'react';
|
|
4
3
|
import React from 'react';
|
|
4
|
+
import { SampleDescription } from '../SampleDescription';
|
|
5
5
|
|
|
6
6
|
const DATA = [{ columnA: 'Column A', columnB: 'Column B', columnC: 'Column C' }];
|
|
7
7
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Routes } from '../../shares/types';
|
|
2
2
|
import { TableColumnAlignment } from './column-alignment';
|
|
3
3
|
import { TableComplexHeaders } from './complex-headers';
|
|
4
|
+
import { TableDirectionAwareSort } from './direction-aware-sort';
|
|
4
5
|
import { TableHorizontalScrollbar } from './horizontal-scrollbar';
|
|
5
6
|
import { InteractiveChildElements } from './interactive-child-elements';
|
|
6
7
|
import { MultiSortTable } from './multi-sort';
|
|
@@ -31,6 +32,7 @@ export const TABLE_ROUTES: Routes = {
|
|
|
31
32
|
'predefined-settings': PredefinedSettings,
|
|
32
33
|
'render-cell': TableRenderCell,
|
|
33
34
|
'sort-data': TableSortData,
|
|
35
|
+
'direction-aware-sort': TableDirectionAwareSort,
|
|
34
36
|
'stateful-with-selection': TableStatefulWithSelection,
|
|
35
37
|
'stateless-with-settings-menu': TableStatelessWithSettingsMenu,
|
|
36
38
|
'stateful-with-single-selection': TableStatefulWithSingleSelection,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
+
import type { KoliBriTableDataType, KoliBriTableHeaders } from '@public-ui/components';
|
|
4
5
|
import { KolHeading, KolTableStateful } from '@public-ui/react-v19';
|
|
5
|
-
import
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
7
|
import type { Data } from './test-data';
|
|
7
8
|
import { DATA } from './test-data';
|
|
8
|
-
import { SampleDescription } from '../SampleDescription';
|
|
9
9
|
|
|
10
10
|
const DATE_FORMATTER = Intl.DateTimeFormat('de-DE', {
|
|
11
11
|
day: '2-digit',
|
|
@@ -13,6 +13,15 @@ const DATE_FORMATTER = Intl.DateTimeFormat('de-DE', {
|
|
|
13
13
|
year: 'numeric',
|
|
14
14
|
});
|
|
15
15
|
|
|
16
|
+
const compareByDate =
|
|
17
|
+
(sortDirection = 'ASC') =>
|
|
18
|
+
(data0: KoliBriTableDataType, data1: KoliBriTableDataType) => {
|
|
19
|
+
const first = (data0 as Data).date.getTime();
|
|
20
|
+
const second = (data1 as Data).date.getTime();
|
|
21
|
+
const result = first - second;
|
|
22
|
+
return sortDirection === 'DESC' ? -result : result;
|
|
23
|
+
};
|
|
24
|
+
|
|
16
25
|
const HEADERS_HORIZONTAL: KoliBriTableHeaders = {
|
|
17
26
|
horizontal: [
|
|
18
27
|
[
|
|
@@ -22,11 +31,7 @@ const HEADERS_HORIZONTAL: KoliBriTableHeaders = {
|
|
|
22
31
|
key: 'date',
|
|
23
32
|
textAlign: 'center',
|
|
24
33
|
render: (_el, _cell, tupel) => DATE_FORMATTER.format((tupel as Data).date),
|
|
25
|
-
compareFn: (data0, data1) =>
|
|
26
|
-
if ((data0 as Data).date < (data1 as Data).date) return -1;
|
|
27
|
-
else if ((data1 as Data).date < (data0 as Data).date) return 1;
|
|
28
|
-
else return 0;
|
|
29
|
-
},
|
|
34
|
+
compareFn: (data0, data1, direction) => compareByDate(direction)(data0, data1),
|
|
30
35
|
},
|
|
31
36
|
],
|
|
32
37
|
],
|
|
@@ -41,11 +46,7 @@ const HEADERS_VERTICAL: KoliBriTableHeaders = {
|
|
|
41
46
|
key: 'date',
|
|
42
47
|
textAlign: 'center',
|
|
43
48
|
render: (_el, _cell, tupel) => DATE_FORMATTER.format((tupel as Data).date),
|
|
44
|
-
compareFn: (data0, data1) =>
|
|
45
|
-
if ((data0 as Data).date < (data1 as Data).date) return -1;
|
|
46
|
-
else if ((data1 as Data).date < (data0 as Data).date) return 1;
|
|
47
|
-
else return 0;
|
|
48
|
-
},
|
|
49
|
+
compareFn: (data0, data1, direction) => compareByDate(direction)(data0, data1),
|
|
49
50
|
},
|
|
50
51
|
],
|
|
51
52
|
],
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { FC } from 'react';
|
|
2
|
-
import React, { useEffect, useRef, useState } from 'react';
|
|
3
|
-
import { createReactRenderElement, KolButton, KolTableStateful } from '@public-ui/react-v19';
|
|
4
|
-
import { SampleDescription } from '../SampleDescription';
|
|
5
1
|
import type { KoliBriTableCell, KoliBriTableDataType, KoliBriTableSelection } from '@public-ui/components';
|
|
6
2
|
import { KolEvent } from '@public-ui/components';
|
|
7
|
-
import {
|
|
3
|
+
import { createReactRenderElement, KolButton, KolTableStateful } from '@public-ui/react-v19';
|
|
4
|
+
import type { FC } from 'react';
|
|
5
|
+
import React, { useEffect, useRef, useState } from 'react';
|
|
8
6
|
import { useToasterService } from '../../hooks/useToasterService';
|
|
7
|
+
import { getRoot } from '../../shares/react-roots';
|
|
8
|
+
import { SampleDescription } from '../SampleDescription';
|
|
9
9
|
|
|
10
10
|
const DATA = [
|
|
11
11
|
{ id: '1001', name: 'Foo Bar', internalIdentifier: `AAA1001` },
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { FC } from 'react';
|
|
2
|
-
import React, { useEffect, useRef, useState } from 'react';
|
|
3
|
-
import { createReactRenderElement, KolButton, KolTableStateful } from '@public-ui/react-v19';
|
|
4
|
-
import { SampleDescription } from '../SampleDescription';
|
|
5
1
|
import type { KoliBriTableCell, KoliBriTableDataType, KoliBriTableSelection } from '@public-ui/components';
|
|
6
2
|
import { KolEvent } from '@public-ui/components';
|
|
7
|
-
import {
|
|
3
|
+
import { createReactRenderElement, KolButton, KolTableStateful } from '@public-ui/react-v19';
|
|
4
|
+
import type { FC } from 'react';
|
|
5
|
+
import React, { useEffect, useRef, useState } from 'react';
|
|
8
6
|
import { useToasterService } from '../../hooks/useToasterService';
|
|
7
|
+
import { getRoot } from '../../shares/react-roots';
|
|
8
|
+
import { SampleDescription } from '../SampleDescription';
|
|
9
9
|
|
|
10
10
|
const DATA = [
|
|
11
11
|
{ id: '1001', name: 'Foo Bar', internalIdentifier: `AAA1001` },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { KolTableStateless } from '@public-ui/react-v19';
|
|
1
2
|
import type { FC } from 'react';
|
|
2
3
|
import React from 'react';
|
|
3
|
-
import { KolTableStateless } from '@public-ui/react-v19';
|
|
4
4
|
import { SampleDescription } from '../SampleDescription';
|
|
5
5
|
|
|
6
6
|
const DATA = [{ left: 'Left Example', center: 'Center Example', right: 'Right Example' }, {}, {}, {}];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import { KolHeading, KolTableStateful } from '@public-ui/react-v19';
|
|
5
4
|
import type { KoliBriTableHeaders } from '@public-ui/components';
|
|
5
|
+
import { KolHeading, KolTableStateful } from '@public-ui/react-v19';
|
|
6
6
|
import { SampleDescription } from '../SampleDescription';
|
|
7
7
|
import { COMPLEX_DATA } from './test-complex-data';
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { KolTableStateful } from '@public-ui/react-v19';
|
|
1
2
|
import type { FC } from 'react';
|
|
2
3
|
import React from 'react';
|
|
3
|
-
import { KolTableStateful } from '@public-ui/react-v19';
|
|
4
4
|
import { SampleDescription } from '../SampleDescription';
|
|
5
5
|
|
|
6
6
|
export const TableWithFooter: FC = () => (
|
|
@@ -3,8 +3,8 @@ import React from 'react';
|
|
|
3
3
|
|
|
4
4
|
import { KolTableStateful } from '@public-ui/react-v19';
|
|
5
5
|
|
|
6
|
-
import { DATE_FORMATTER } from './formatter';
|
|
7
6
|
import { SampleDescription } from '../SampleDescription';
|
|
7
|
+
import { DATE_FORMATTER } from './formatter';
|
|
8
8
|
import type { Data } from './test-data';
|
|
9
9
|
import { DATA } from './test-data';
|
|
10
10
|
|