@public-ui/sample-react 4.0.0-alpha.0 → 4.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -1
- package/dist/assets/Alert-COUNttIM-CvH_qEya.js +4 -0
- package/dist/assets/Alert-COUNttIM-CvH_qEya.js.map +1 -0
- package/dist/assets/Collapsible-DpzYZ1V--DUkDviGZ.js +4 -0
- package/dist/assets/Collapsible-DpzYZ1V--DUkDviGZ.js.map +1 -0
- package/dist/assets/CustomSuggestionsToggle-Br8FY2Ey-DGJrbkiX.js +4 -0
- package/dist/assets/CustomSuggestionsToggle-Br8FY2Ey-DGJrbkiX.js.map +1 -0
- package/dist/assets/FieldControlStateWrapper-BnZIyp9N-Dq4PP5U5.js +4 -0
- package/dist/assets/FieldControlStateWrapper-BnZIyp9N-Dq4PP5U5.js.map +1 -0
- package/dist/assets/FormFieldStateWrapper-DBc4KUdQ-CVkWtyyV.js +4 -0
- package/dist/assets/FormFieldStateWrapper-DBc4KUdQ-CVkWtyyV.js.map +1 -0
- package/dist/assets/Heading-DDR2LlZW-C6b5Q_9R.js +4 -0
- package/dist/assets/Heading-DDR2LlZW-C6b5Q_9R.js.map +1 -0
- package/dist/assets/Icon-DhhnLcqx-Duv7memP.js +4 -0
- package/dist/assets/Icon-DhhnLcqx-Duv7memP.js.map +1 -0
- package/dist/assets/Input-djZI0PHg-CvPBJ0GD.js +4 -0
- package/dist/assets/Input-djZI0PHg-CvPBJ0GD.js.map +1 -0
- package/dist/assets/InputStateWrapper-CJbBu-pG-CB4qoRih.js +4 -0
- package/dist/assets/InputStateWrapper-CJbBu-pG-CB4qoRih.js.map +1 -0
- package/dist/assets/InternalUnderlinedBadgeText-Bcop6gIY-DcZYTeCS.js +4 -0
- package/dist/assets/InternalUnderlinedBadgeText-Bcop6gIY-DcZYTeCS.js.map +1 -0
- package/dist/assets/README.md +1 -0
- package/dist/assets/Span-C_DCO1Lx-Di9E3nax.js +4 -0
- package/dist/assets/Span-C_DCO1Lx-Di9E3nax.js.map +1 -0
- package/dist/assets/access-and-short-key-bcID78Ha-L8u4_6ia.js +4 -0
- package/dist/assets/access-and-short-key-bcID78Ha-L8u4_6ia.js.map +1 -0
- package/dist/assets/align-CyK0wp7d-Bgi-SsTU.js +4 -0
- package/dist/assets/align-CyK0wp7d-Bgi-SsTU.js.map +1 -0
- package/dist/assets/align-floating-elements-Bx4ukVlr-DuEsiXJu.js +4 -0
- package/dist/assets/align-floating-elements-Bx4ukVlr-DuEsiXJu.js.map +1 -0
- package/dist/assets/associated.controller-BKIODHIT-DcF9U5JZ.js +4 -0
- package/dist/assets/associated.controller-BKIODHIT-DcF9U5JZ.js.map +1 -0
- package/dist/assets/auto-complete-BsG3RQJ3-Dqn5sZ6m.js +4 -0
- package/dist/assets/auto-complete-BsG3RQJ3-Dqn5sZ6m.js.map +1 -0
- package/dist/assets/clsx-eK3rPvPS-BT_IL7Fz.js +4 -0
- package/dist/assets/clsx-eK3rPvPS-BT_IL7Fz.js.map +1 -0
- package/dist/assets/codicons/codicon.css +54 -1
- package/dist/assets/codicons/codicon.csv +41 -0
- package/dist/assets/codicons/codicon.svg +1 -1
- package/dist/assets/codicons/codicon.ttf +0 -0
- package/dist/assets/color-C3pYZKV3-B7_qKBBn.js +4 -0
- package/dist/assets/color-C3pYZKV3-B7_qKBBn.js.map +1 -0
- package/dist/assets/controller-BLEhwHNn-CaYLdQV0.js +4 -0
- package/dist/assets/controller-BLEhwHNn-CaYLdQV0.js.map +1 -0
- package/dist/assets/controller-BXg7sypS-219wzrnG.js +4 -0
- package/dist/assets/controller-BXg7sypS-219wzrnG.js.map +1 -0
- package/dist/assets/controller-CV2y9Ae_-Dth4q1vC.js +4 -0
- package/dist/assets/controller-CV2y9Ae_-Dth4q1vC.js.map +1 -0
- package/dist/assets/controller-icon-C8-i4mlh-BGpCnuog.js +4 -0
- package/dist/assets/controller-icon-C8-i4mlh-BGpCnuog.js.map +1 -0
- package/dist/assets/controller-wpy6KyPo-BVtktigT.js +4 -0
- package/dist/assets/controller-wpy6KyPo-BVtktigT.js.map +1 -0
- package/dist/assets/custom-class-CA0KGtrM-Vf3xsEJE.js +4 -0
- package/dist/assets/custom-class-CA0KGtrM-Vf3xsEJE.js.map +1 -0
- package/dist/assets/dev.utils-BJDuEPOn-TJbx-Gcl.js +16 -0
- package/dist/assets/dev.utils-BJDuEPOn-TJbx-Gcl.js.map +1 -0
- package/dist/assets/devtools-BFqnNU87-Ctrrwf8L.js +16 -0
- package/dist/assets/devtools-BFqnNU87-Ctrrwf8L.js.map +1 -0
- package/dist/assets/disabled-BydergHu-B1DLdE7n.js +4 -0
- package/dist/assets/disabled-BydergHu-B1DLdE7n.js.map +1 -0
- package/dist/assets/has-closer-BBMh8HY3-CfPlXRK_.js +4 -0
- package/dist/assets/has-closer-BBMh8HY3-CfPlXRK_.js.map +1 -0
- package/dist/assets/hide-label-DRunOux4-oo1N_oyu.js +4 -0
- package/dist/assets/hide-label-DRunOux4-oo1N_oyu.js.map +1 -0
- package/dist/assets/href-zZq6HYWf-D7pdlwA_.js +4 -0
- package/dist/assets/href-zZq6HYWf-D7pdlwA_.js.map +1 -0
- package/dist/assets/i18n-CdSCDnmA-D76H1NpQ.js +4 -0
- package/dist/assets/i18n-CdSCDnmA-D76H1NpQ.js.map +1 -0
- package/dist/assets/icons-72ER78AW-CdwN4BiP.js +4 -0
- package/dist/assets/icons-72ER78AW-CdwN4BiP.js.map +1 -0
- package/dist/assets/image-source-RWPv7frZ-BtG0kTfS.js +4 -0
- package/dist/assets/image-source-RWPv7frZ-BtG0kTfS.js.map +1 -0
- package/dist/assets/index-BGOAkFhh.css +1 -0
- package/dist/assets/index-D7AUPAYP.js +14095 -0
- package/dist/assets/index-D7AUPAYP.js.map +1 -0
- package/dist/assets/isObject-DvSELytj-B0RigBxT.js +4 -0
- package/dist/assets/isObject-DvSELytj-B0RigBxT.js.map +1 -0
- package/dist/assets/keyboard-D6PoWr38-Bn_Qh8Bq.js +4 -0
- package/dist/assets/keyboard-D6PoWr38-Bn_Qh8Bq.js.map +1 -0
- package/dist/assets/kol-abbr.entry-B-o8yWqn.js +237 -0
- package/dist/assets/kol-abbr.entry-B-o8yWqn.js.map +1 -0
- package/dist/assets/kol-accordion.entry-DBww4BDd.js +249 -0
- package/dist/assets/kol-accordion.entry-DBww4BDd.js.map +1 -0
- package/dist/assets/kol-alert-wc.entry-Dlu1g44h.js +4 -0
- package/dist/assets/kol-alert-wc.entry-Dlu1g44h.js.map +1 -0
- package/dist/assets/kol-alert.entry-D7LOoocp.js +258 -0
- package/dist/assets/kol-alert.entry-D7LOoocp.js.map +1 -0
- package/dist/assets/kol-avatar-wc.entry-UB-8fbZ2.js +4 -0
- package/dist/assets/kol-avatar-wc.entry-UB-8fbZ2.js.map +1 -0
- package/dist/assets/kol-avatar.entry-B1Xw0m2R.js +221 -0
- package/dist/assets/kol-avatar.entry-B1Xw0m2R.js.map +1 -0
- package/dist/assets/kol-badge.entry-Bvp7i9vX.js +248 -0
- package/dist/assets/kol-badge.entry-Bvp7i9vX.js.map +1 -0
- package/dist/assets/kol-breadcrumb.entry-CfiGZ_ty.js +281 -0
- package/dist/assets/kol-breadcrumb.entry-CfiGZ_ty.js.map +1 -0
- package/dist/assets/kol-button-link.entry-DnMgT3Un.js +267 -0
- package/dist/assets/kol-button-link.entry-DnMgT3Un.js.map +1 -0
- package/dist/assets/kol-button-wc.entry-_sd_SWlI.js +4 -0
- package/dist/assets/kol-button-wc.entry-_sd_SWlI.js.map +1 -0
- package/dist/assets/kol-button.entry-sW0EF7gO.js +258 -0
- package/dist/assets/kol-button.entry-sW0EF7gO.js.map +1 -0
- package/dist/assets/kol-card-wc.entry-CUlHZX3-.js +4 -0
- package/dist/assets/kol-card-wc.entry-CUlHZX3-.js.map +1 -0
- package/dist/assets/kol-card.entry--T348_JD.js +250 -0
- package/dist/assets/kol-card.entry--T348_JD.js.map +1 -0
- package/dist/assets/kol-combobox.entry-BbALAumo.js +343 -0
- package/dist/assets/kol-combobox.entry-BbALAumo.js.map +1 -0
- package/dist/assets/kol-details.entry-DkQT--2j.js +260 -0
- package/dist/assets/kol-details.entry-DkQT--2j.js.map +1 -0
- package/dist/assets/kol-drawer.entry-C4qSdW_o.js +289 -0
- package/dist/assets/kol-drawer.entry-C4qSdW_o.js.map +1 -0
- package/dist/assets/kol-form.entry-DHdOAOFT.js +283 -0
- package/dist/assets/kol-form.entry-DHdOAOFT.js.map +1 -0
- package/dist/assets/kol-heading.entry-ws-U7Jjl.js +197 -0
- package/dist/assets/kol-heading.entry-ws-U7Jjl.js.map +1 -0
- package/dist/assets/kol-icon.entry-Jt4tePkw.js +2376 -0
- package/dist/assets/kol-icon.entry-Jt4tePkw.js.map +1 -0
- package/dist/assets/kol-image.entry-D3Kv2o1-.js +199 -0
- package/dist/assets/kol-image.entry-D3Kv2o1-.js.map +1 -0
- package/dist/assets/kol-input-checkbox.entry-DMqn7JP4.js +435 -0
- package/dist/assets/kol-input-checkbox.entry-DMqn7JP4.js.map +1 -0
- package/dist/assets/kol-input-color.entry-DueTLAMj.js +331 -0
- package/dist/assets/kol-input-color.entry-DueTLAMj.js.map +1 -0
- package/dist/assets/kol-input-date.entry-BfxAmzSU.js +313 -0
- package/dist/assets/kol-input-date.entry-BfxAmzSU.js.map +1 -0
- package/dist/assets/kol-input-email.entry-C3am9NH5.js +313 -0
- package/dist/assets/kol-input-email.entry-C3am9NH5.js.map +1 -0
- package/dist/assets/kol-input-file.entry-BqZwdEt2.js +345 -0
- package/dist/assets/kol-input-file.entry-BqZwdEt2.js.map +1 -0
- package/dist/assets/kol-input-number.entry-DSKmAXTh.js +313 -0
- package/dist/assets/kol-input-number.entry-DSKmAXTh.js.map +1 -0
- package/dist/assets/kol-input-password.entry-BYt0VPe3.js +316 -0
- package/dist/assets/kol-input-password.entry-BYt0VPe3.js.map +1 -0
- package/dist/assets/kol-input-radio.entry-Dfxl4Iam.js +434 -0
- package/dist/assets/kol-input-radio.entry-Dfxl4Iam.js.map +1 -0
- package/dist/assets/kol-input-range.entry-DPG7bR7u.js +360 -0
- package/dist/assets/kol-input-range.entry-DPG7bR7u.js.map +1 -0
- package/dist/assets/kol-input-text.entry-CRDQg5qO.js +313 -0
- package/dist/assets/kol-input-text.entry-CRDQg5qO.js.map +1 -0
- package/dist/assets/kol-kolibri.entry-_SUwexUV.js +203 -0
- package/dist/assets/kol-kolibri.entry-_SUwexUV.js.map +1 -0
- package/dist/assets/kol-link-button.entry-6nI9U4yp.js +258 -0
- package/dist/assets/kol-link-button.entry-6nI9U4yp.js.map +1 -0
- package/dist/assets/kol-link-wc.entry-0bHrvp3g.js +4 -0
- package/dist/assets/kol-link-wc.entry-0bHrvp3g.js.map +1 -0
- package/dist/assets/kol-link.entry-D3CQEp9E.js +264 -0
- package/dist/assets/kol-link.entry-D3CQEp9E.js.map +1 -0
- package/dist/assets/kol-modal.entry-B5Kh3y8_.js +265 -0
- package/dist/assets/kol-modal.entry-B5Kh3y8_.js.map +1 -0
- package/dist/assets/kol-nav.entry-B-HkaGQw.js +280 -0
- package/dist/assets/kol-nav.entry-B-HkaGQw.js.map +1 -0
- package/dist/assets/kol-pagination-wc.entry-B-pIMMmD.js +4 -0
- package/dist/assets/kol-pagination-wc.entry-B-pIMMmD.js.map +1 -0
- package/dist/assets/kol-pagination.entry-DMBoqaOF.js +258 -0
- package/dist/assets/kol-pagination.entry-DMBoqaOF.js.map +1 -0
- package/dist/assets/kol-popover-button-wc.entry-DX2fzrbd.js +4 -0
- package/dist/assets/kol-popover-button-wc.entry-DX2fzrbd.js.map +1 -0
- package/dist/assets/kol-popover-button.entry-DtR8hhMx.js +266 -0
- package/dist/assets/kol-popover-button.entry-DtR8hhMx.js.map +1 -0
- package/dist/assets/kol-popover-wc.entry-Da-tZsJj.js +4 -0
- package/dist/assets/kol-popover-wc.entry-Da-tZsJj.js.map +1 -0
- package/dist/assets/kol-progress.entry-7Ob91VxX.js +275 -0
- package/dist/assets/kol-progress.entry-7Ob91VxX.js.map +1 -0
- package/dist/assets/kol-quote.entry-D4oMfVPo.js +220 -0
- package/dist/assets/kol-quote.entry-D4oMfVPo.js.map +1 -0
- package/dist/assets/kol-select.entry-BnrCVxIe.js +326 -0
- package/dist/assets/kol-select.entry-BnrCVxIe.js.map +1 -0
- package/dist/assets/kol-single-select.entry-a-0Lzgdd.js +359 -0
- package/dist/assets/kol-single-select.entry-a-0Lzgdd.js.map +1 -0
- package/dist/assets/kol-skip-nav.entry-DDWhBaaQ.js +213 -0
- package/dist/assets/kol-skip-nav.entry-DDWhBaaQ.js.map +1 -0
- package/dist/assets/kol-spin.entry-DqMmeeQO.js +326 -0
- package/dist/assets/kol-spin.entry-DqMmeeQO.js.map +1 -0
- package/dist/assets/kol-split-button.entry-kYzTSjxZ.js +299 -0
- package/dist/assets/kol-split-button.entry-kYzTSjxZ.js.map +1 -0
- package/dist/assets/kol-table-settings-wc.entry-Blxjv3GQ.js +4 -0
- package/dist/assets/kol-table-settings-wc.entry-Blxjv3GQ.js.map +1 -0
- package/dist/assets/kol-table-stateful.entry-beMTuJC_.js +478 -0
- package/dist/assets/kol-table-stateful.entry-beMTuJC_.js.map +1 -0
- package/dist/assets/kol-table-stateless-wc.entry-gClmQ1k0.js +4 -0
- package/dist/assets/kol-table-stateless-wc.entry-gClmQ1k0.js.map +1 -0
- package/dist/assets/kol-table-stateless.entry-BL_YG2Wm.js +437 -0
- package/dist/assets/kol-table-stateless.entry-BL_YG2Wm.js.map +1 -0
- package/dist/assets/kol-tabs.entry-Bn9cK8cT.js +285 -0
- package/dist/assets/kol-tabs.entry-Bn9cK8cT.js.map +1 -0
- package/dist/assets/kol-textarea.entry-NdPFrl_g.js +312 -0
- package/dist/assets/kol-textarea.entry-NdPFrl_g.js.map +1 -0
- package/dist/assets/kol-toast-container.entry-B0i59PZA.js +267 -0
- package/dist/assets/kol-toast-container.entry-B0i59PZA.js.map +1 -0
- package/dist/assets/kol-toolbar.entry-ylfyVSfW.js +271 -0
- package/dist/assets/kol-toolbar.entry-ylfyVSfW.js.map +1 -0
- package/dist/assets/kol-tooltip-wc.entry-D9wBC57o.js +4 -0
- package/dist/assets/kol-tooltip-wc.entry-D9wBC57o.js.map +1 -0
- package/dist/assets/kol-tree-item-wc.entry-aQYTkTRv.js +4 -0
- package/dist/assets/kol-tree-item-wc.entry-aQYTkTRv.js.map +1 -0
- package/dist/assets/kol-tree-item.entry-Q-rcGlev.js +230 -0
- package/dist/assets/kol-tree-item.entry-Q-rcGlev.js.map +1 -0
- package/dist/assets/kol-tree-wc.entry-C54bgWpr.js +4 -0
- package/dist/assets/kol-tree-wc.entry-C54bgWpr.js.map +1 -0
- package/dist/assets/kol-tree.entry-CutNqp97.js +203 -0
- package/dist/assets/kol-tree.entry-CutNqp97.js.map +1 -0
- package/dist/assets/kol-version.entry-BeRYaL9l.js +192 -0
- package/dist/assets/kol-version.entry-BeRYaL9l.js.map +1 -0
- package/dist/assets/kreon/OFL.txt +93 -93
- package/dist/assets/label-CdtNxOKu-xHQWPYNA.js +4 -0
- package/dist/assets/label-CdtNxOKu-xHQWPYNA.js.map +1 -0
- package/dist/assets/link-variant-H9yefO89-hthX-w-w.js +4 -0
- package/dist/assets/link-variant-H9yefO89-hthX-w-w.js.map +1 -0
- package/dist/assets/markdown-DL-PkOqb-B25Jvl4K.js +19 -0
- package/dist/assets/markdown-DL-PkOqb-B25Jvl4K.js.map +1 -0
- package/dist/assets/material-icons/css/_mixins.scss +2 -2
- package/dist/assets/material-icons/css/_variables.scss +3 -3
- package/dist/assets/material-icons/css/material-icons.scss +16 -22
- package/dist/assets/material-icons/iconfont/filled.scss +3 -3
- package/dist/assets/material-icons/iconfont/material-icons.scss +5 -5
- package/dist/assets/material-icons/iconfont/outlined.scss +3 -3
- package/dist/assets/material-icons/iconfont/round.scss +3 -3
- package/dist/assets/material-icons/iconfont/sharp.scss +3 -3
- package/dist/assets/material-icons/iconfont/two-tone.scss +3 -3
- package/dist/assets/material-symbols/index.scss +3 -3
- package/dist/assets/material-symbols/outlined.scss +2 -2
- package/dist/assets/material-symbols/rounded.scss +2 -2
- package/dist/assets/material-symbols/sharp.scss +2 -2
- package/dist/assets/max-length-behavior-BmNWss6T-DVacXf_-.js +4 -0
- package/dist/assets/max-length-behavior-BmNWss6T-DVacXf_-.js.map +1 -0
- package/dist/assets/multiple-bcm5IaCN-DE09YNIY.js +4 -0
- package/dist/assets/multiple-bcm5IaCN-DE09YNIY.js.map +1 -0
- package/dist/assets/noto-sans/fonts/OFL.txt +93 -93
- package/dist/assets/open-D9q98v46-BBnCV46B.js +4 -0
- package/dist/assets/open-D9q98v46-BBnCV46B.js.map +1 -0
- package/dist/assets/orientation-5kQWqijN-CQ-p9zsa.js +4 -0
- package/dist/assets/orientation-5kQWqijN-CQ-p9zsa.js.map +1 -0
- package/dist/assets/placeholder-6URRds0_-DeOoTXqf.js +4 -0
- package/dist/assets/placeholder-6URRds0_-DeOoTXqf.js.map +1 -0
- package/dist/assets/read-only-CcRldJ9w-CwNO7sH7.js +4 -0
- package/dist/assets/read-only-CcRldJ9w-CwNO7sH7.js.map +1 -0
- package/dist/assets/required-G86n77y0-GePRNKdB.js +4 -0
- package/dist/assets/required-G86n77y0-GePRNKdB.js.map +1 -0
- package/dist/assets/reuse-CX4AQDkS-Cyh-fyjG.js +4 -0
- package/dist/assets/reuse-CX4AQDkS-Cyh-fyjG.js.map +1 -0
- package/dist/assets/roboto/LICENSE.txt +202 -202
- package/dist/assets/rows-P4l3PNiA-CGKfsbZZ.js +4 -0
- package/dist/assets/rows-P4l3PNiA-CGKfsbZZ.js.map +1 -0
- package/dist/assets/show-DsV_Vx8g-6pOPEhCv.js +4 -0
- package/dist/assets/show-DsV_Vx8g-6pOPEhCv.js.map +1 -0
- package/dist/assets/spell-check-DIsLAYgk-BuKzSCNU.js +4 -0
- package/dist/assets/spell-check-DIsLAYgk-BuKzSCNU.js.map +1 -0
- package/dist/assets/suggestions-DfF4lcNG-ChsxgVrC.js +4 -0
- package/dist/assets/suggestions-DfF4lcNG-ChsxgVrC.js.map +1 -0
- package/dist/assets/table-settings-DSZObo-2-CycU5xoO.js +4 -0
- package/dist/assets/table-settings-DSZObo-2-CycU5xoO.js.map +1 -0
- package/dist/assets/test-component.entry-CLv7ySm6.js +4 -0
- package/dist/assets/test-component.entry-CLv7ySm6.js.map +1 -0
- package/dist/assets/tooltip-align-_VI7LehI-B43QQEAJ.js +4 -0
- package/dist/assets/tooltip-align-_VI7LehI-B43QQEAJ.js.map +1 -0
- 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/tslib.es6-CxX45GIN-BAJoBDh7.js +4 -0
- package/dist/assets/tslib.es6-CxX45GIN-BAJoBDh7.js.map +1 -0
- package/dist/assets/unique-nav-labels-C_NhdgGz-DssOKFqm.js +4 -0
- package/dist/assets/unique-nav-labels-C_NhdgGz-DssOKFqm.js.map +1 -0
- package/dist/assets/validation-CW_RXPSn-Jb51Q1-U.js +4 -0
- package/dist/assets/validation-CW_RXPSn-Jb51Q1-U.js.map +1 -0
- package/dist/assets/validation-DoIjmu3L-ng1AU3qg.js +4 -0
- package/dist/assets/validation-DoIjmu3L-ng1AU3qg.js.map +1 -0
- package/dist/index.html +16 -14
- package/index.html +29 -0
- package/package.json +54 -48
- package/public/assets/README.md +1 -0
- package/public/assets/codicons/codicon.css +54 -1
- package/public/assets/codicons/codicon.csv +41 -0
- package/public/assets/codicons/codicon.svg +1 -1
- package/public/assets/codicons/codicon.ttf +0 -0
- package/public/assets/kreon/OFL.txt +93 -93
- package/public/assets/material-icons/css/_mixins.scss +2 -2
- package/public/assets/material-icons/css/_variables.scss +3 -3
- package/public/assets/material-icons/css/material-icons.scss +16 -22
- package/public/assets/material-icons/iconfont/filled.scss +3 -3
- package/public/assets/material-icons/iconfont/material-icons.scss +5 -5
- package/public/assets/material-icons/iconfont/outlined.scss +3 -3
- package/public/assets/material-icons/iconfont/round.scss +3 -3
- package/public/assets/material-icons/iconfont/sharp.scss +3 -3
- package/public/assets/material-icons/iconfont/two-tone.scss +3 -3
- package/public/assets/material-symbols/index.scss +3 -3
- package/public/assets/material-symbols/outlined.scss +2 -2
- package/public/assets/material-symbols/rounded.scss +2 -2
- package/public/assets/material-symbols/sharp.scss +2 -2
- package/public/assets/noto-sans/fonts/OFL.txt +93 -93
- package/public/assets/roboto/LICENSE.txt +202 -202
- package/src/App.tsx +2 -6
- package/src/components/BackPage.tsx +1 -1
- package/src/components/FormWrap.tsx +18 -16
- package/src/components/Navigation.tsx +1 -1
- package/src/components/SampleColumns.tsx +10 -0
- package/src/components/SampleDescription.tsx +28 -16
- package/src/components/Sidebar.tsx +32 -13
- package/src/components/abbr/basic.tsx +2 -2
- package/src/components/accordion/basic.tsx +1 -1
- package/src/components/accordion/headlines.tsx +1 -1
- package/src/components/alert/basic.tsx +5 -5
- package/src/components/alert/html.tsx +1 -1
- package/src/components/avatar/basic.tsx +1 -1
- package/src/components/badge/basic.tsx +2 -2
- package/src/components/badge/button.tsx +2 -2
- package/src/components/badge/formatted-label.tsx +19 -0
- package/src/components/badge/routes.ts +2 -0
- package/src/components/breadcrumb/basic.tsx +1 -1
- package/src/components/button/access-key.tsx +5 -4
- package/src/components/button/aria-description.tsx +1 -1
- package/src/components/button/baselined.tsx +2 -2
- package/src/components/button/icons.tsx +1 -1
- package/src/components/button/partials/cases.tsx +3 -3
- package/src/components/button/partials/variants.tsx +1 -1
- package/src/components/button/routes.ts +2 -0
- package/src/components/button/row-reverse-tooltip.tsx +26 -0
- package/src/components/button/short-key.tsx +108 -6
- 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 +9 -4
- package/src/components/button-link/icons.tsx +3 -2
- package/src/components/button-link/image.tsx +1 -1
- package/src/components/card/basic.tsx +1 -1
- package/src/components/combobox/basic.tsx +1 -6
- package/src/components/combobox/partials/cases.tsx +1 -1
- package/src/components/combobox/partials/variants.tsx +3 -2
- package/src/components/details/basic.tsx +1 -1
- package/src/components/drawer/basic.tsx +32 -30
- package/src/components/drawer/controlled.tsx +2 -13
- package/src/components/drawer/partials/align.tsx +1 -1
- package/src/components/drawer/routes.ts +2 -0
- package/src/components/drawer/scrolled.tsx +133 -0
- package/src/components/form/basic.tsx +1 -1
- package/src/components/form/error-list.tsx +66 -24
- package/src/components/handout/basic.tsx +27 -37
- package/src/components/heading/badged.tsx +1 -1
- package/src/components/heading/basic.tsx +1 -1
- package/src/components/heading/paragraph.tsx +1 -1
- package/src/components/heading/routes.ts +2 -0
- package/src/components/heading/secondary.tsx +20 -0
- package/src/components/icon/basic.tsx +3 -2
- package/src/components/image/basic.tsx +2 -2
- package/src/components/input-checkbox/basic.tsx +1 -1
- package/src/components/input-checkbox/button.tsx +1 -1
- package/src/components/input-checkbox/partials/cases.tsx +1 -1
- package/src/components/input-checkbox/partials/variants.tsx +5 -4
- 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 +5 -3
- package/src/components/input-color/partials/variants.tsx +3 -2
- package/src/components/input-date/basic.tsx +1 -1
- package/src/components/input-date/copy-paste.tsx +172 -0
- package/src/components/input-date/partials/cases.tsx +8 -5
- package/src/components/input-date/partials/minMax.tsx +4 -4
- package/src/components/input-date/partials/variants.tsx +4 -3
- package/src/components/input-date/reset.tsx +1 -1
- package/src/components/input-date/routes.ts +4 -0
- package/src/components/input-date/show-hide-msg.tsx +59 -0
- package/src/components/input-email/basic.tsx +1 -1
- package/src/components/input-email/partials/cases.tsx +7 -4
- package/src/components/input-email/partials/variants.tsx +3 -2
- package/src/components/input-file/basic.tsx +1 -1
- package/src/components/input-file/partials/cases.tsx +7 -4
- package/src/components/input-file/partials/variants.tsx +3 -2
- package/src/components/input-number/basic.tsx +1 -1
- package/src/components/input-number/partials/cases.tsx +1 -1
- package/src/components/input-number/partials/variants.tsx +3 -2
- package/src/components/input-password/basic.tsx +1 -1
- package/src/components/input-password/partials/cases.tsx +9 -6
- package/src/components/input-password/partials/variants.tsx +3 -2
- package/src/components/input-password/show-password.tsx +9 -1
- package/src/components/input-radio/basic.tsx +1 -1
- package/src/components/input-radio/horizontal.tsx +3 -3
- package/src/components/input-radio/objectValue.tsx +1 -1
- package/src/components/input-radio/partials/cases.tsx +1 -14
- package/src/components/input-radio/partials/variants.tsx +11 -8
- package/src/components/input-range/basic.tsx +1 -1
- package/src/components/input-range/partials/cases.tsx +7 -4
- package/src/components/input-range/partials/variants.tsx +3 -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/{hide-errors.tsx → hide-msg.tsx} +6 -6
- package/src/components/input-text/partials/cases.tsx +4 -4
- package/src/components/input-text/partials/variants.tsx +3 -2
- package/src/components/input-text/routes.ts +2 -2
- package/src/components/input-text/smart-button.tsx +43 -14
- package/src/components/input-text/text-formatter.tsx +3 -4
- package/src/components/kolibri/basic.tsx +1 -1
- package/src/components/link/access-key.tsx +2 -4
- package/src/components/link/aria-description.tsx +1 -1
- package/src/components/link/basic.tsx +10 -11
- package/src/components/link/icons.tsx +1 -1
- package/src/components/link/image.tsx +1 -1
- package/src/components/link/link-react-router.tsx +31 -0
- package/src/components/link/routes.ts +2 -0
- package/src/components/link/short-key.tsx +2 -2
- package/src/components/link/target.tsx +1 -1
- package/src/components/link-button/aria-description.tsx +2 -2
- package/src/components/link-button/basic.tsx +9 -11
- package/src/components/modal/basic.tsx +41 -55
- package/src/components/nav/aria-current.tsx +1 -1
- package/src/components/nav/basic.tsx +20 -4
- package/src/components/nav/links.ts +61 -0
- package/src/components/nav/routes.ts +0 -2
- package/src/components/pagination/basic.tsx +2 -2
- package/src/components/popover-button/basic.tsx +62 -0
- package/src/components/popover-button/routes.ts +8 -0
- package/src/components/progress/basic.tsx +13 -6
- package/src/components/quote/basic.tsx +1 -1
- package/src/components/quote/block.tsx +1 -1
- package/src/components/select/basic.tsx +1 -1
- package/src/components/select/partials/cases.tsx +25 -6
- package/src/components/select/partials/variants.tsx +3 -2
- package/src/components/single-select/basic.tsx +1 -7
- package/src/components/single-select/partials/cases.tsx +10 -5
- package/src/components/single-select/partials/variants.tsx +8 -7
- package/src/components/skip-nav/basic.tsx +1 -1
- package/src/components/spin/basic.tsx +1 -1
- package/src/components/spin/custom.css +13 -12
- package/src/components/spin/custom.tsx +1 -1
- package/src/components/spin/cycle.tsx +1 -1
- package/src/components/spin/label.tsx +23 -0
- package/src/components/spin/routes.ts +2 -0
- package/src/components/split-button/basic.tsx +28 -17
- package/src/components/split-button/with-context.tsx +2 -2
- package/src/components/table/column-alignment.tsx +16 -13
- package/src/components/table/complex-headers.tsx +21 -10
- package/src/components/table/horizontal-scrollbar.tsx +50 -25
- package/src/components/table/interactive-child-elements.tsx +3 -3
- package/src/components/table/multi-sort.tsx +6 -4
- package/src/components/table/non-hidable-columns.tsx +35 -0
- package/src/components/table/pagination-position.tsx +26 -5
- package/src/components/table/predefined-settings.tsx +42 -0
- package/src/components/table/render-cell.tsx +4 -5
- package/src/components/table/routes.ts +17 -9
- package/src/components/table/sort-data.tsx +16 -18
- package/src/components/table/stateful-with-selection.tsx +10 -6
- package/src/components/table/stateful-with-single-selection.tsx +6 -5
- package/src/components/table/stateless-with-selection.tsx +17 -11
- package/src/components/table/stateless-with-settings-menu.tsx +52 -0
- package/src/components/table/stateless-with-single-selection.tsx +16 -11
- package/src/components/table/stateless.tsx +3 -2
- 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 +4 -3
- package/src/components/table/with-pagination.tsx +3 -3
- package/src/components/tabs/align.tsx +1 -1
- package/src/components/tabs/basic.tsx +1 -1
- package/src/components/tabs/behavior.tsx +1 -1
- package/src/components/tabs/create-button.tsx +42 -0
- package/src/components/tabs/icons-only.tsx +1 -1
- package/src/components/tabs/routes.ts +2 -0
- package/src/components/textarea/adjust-height.tsx +1 -1
- package/src/components/textarea/basic.tsx +1 -1
- package/src/components/textarea/partials/cases.tsx +10 -5
- package/src/components/textarea/partials/variants.tsx +3 -2
- package/src/components/textarea/resize.tsx +7 -6
- package/src/components/textarea/routes.ts +2 -2
- package/src/components/textarea/rows.tsx +1 -1
- package/src/components/textarea/with-counter.tsx +23 -0
- package/src/components/toast/basic.tsx +11 -38
- package/src/components/toast/configurator.tsx +84 -0
- package/src/components/toast/routes.ts +2 -0
- package/src/components/toolbar/basic.tsx +40 -40
- package/src/components/toolbar/disabled.tsx +2 -5
- package/src/components/tree/basic.tsx +3 -3
- package/src/components/version/basic.tsx +1 -1
- package/src/components/version/context.tsx +1 -1
- package/src/main.ts +11 -0
- package/src/react.main.tsx +59 -10
- package/src/scenarios/appointment-form/AppointmentForm.tsx +1 -1
- package/src/scenarios/appointment-form/AvailableAppointmentsForm.tsx +1 -1
- package/src/scenarios/appointment-form/DistrictForm.tsx +2 -2
- package/src/scenarios/appointment-form/PersonalInformationForm.tsx +6 -3
- package/src/scenarios/appointment-form/Summary.tsx +1 -1
- package/src/scenarios/appointment-form/formUtils.ts +1 -1
- package/src/scenarios/change-tabindex.tsx +25 -23
- package/src/scenarios/custom-tooltip-width.tsx +1 -1
- package/src/scenarios/disabled-interactive-elements.tsx +1 -1
- package/src/scenarios/focus-elements.tsx +1 -1
- package/src/scenarios/horizontal-scrollbar-advanced/TableHorizontalScrollbarAdvanced.tsx +10 -4
- package/src/scenarios/horizontal-scrollbar-advanced/layout.scss +7 -7
- package/src/scenarios/input-group-with-error.tsx +5 -5
- package/src/scenarios/inputs-get-value.tsx +11 -6
- package/src/scenarios/performance-test.tsx +27 -0
- package/src/scenarios/react-hook-form/basic.tsx +183 -0
- package/src/scenarios/routes.ts +16 -6
- package/src/scenarios/same-height-of-all-interactive-elements.tsx +62 -0
- package/src/scenarios/sample-form-with-validation.tsx +192 -0
- package/src/scenarios/static-form.tsx +1 -1
- package/src/scenarios/toolbar-item-order.tsx +64 -0
- package/src/scenarios/tooltip-positioning.tsx +29 -0
- package/src/shares/longOptions.ts +15 -0
- package/src/shares/routes.ts +3 -7
- package/src/shares/store.ts +0 -19
- package/src/shares/theme.ts +5 -9
- package/src/style.scss +36 -13
- package/tsconfig.json +2 -1
- package/unocss.config.ts +251 -153
- package/vite.config.ts +42 -0
- package/.eslintignore +0 -2
- package/.eslintrc.js +0 -33
- package/.gitignore +0 -41
- package/.prettierignore +0 -4
- package/dist/1487.js +0 -2
- package/dist/1487.js.LICENSE.txt +0 -3
- package/dist/1552.js +0 -2
- package/dist/1552.js.LICENSE.txt +0 -3
- package/dist/1596.js +0 -2
- package/dist/1596.js.LICENSE.txt +0 -3
- package/dist/1636.js +0 -2
- package/dist/1636.js.LICENSE.txt +0 -3
- package/dist/1792.js +0 -2
- package/dist/1792.js.LICENSE.txt +0 -3
- package/dist/2017.js +0 -2
- package/dist/2017.js.LICENSE.txt +0 -3
- package/dist/2207.js +0 -2
- package/dist/2207.js.LICENSE.txt +0 -3
- package/dist/2322.js +0 -2
- package/dist/2322.js.LICENSE.txt +0 -3
- package/dist/2538.js +0 -2
- package/dist/2538.js.LICENSE.txt +0 -3
- package/dist/2567.js +0 -2
- package/dist/2567.js.LICENSE.txt +0 -3
- package/dist/263.js +0 -2
- package/dist/263.js.LICENSE.txt +0 -3
- package/dist/2719.js +0 -2
- package/dist/2719.js.LICENSE.txt +0 -3
- package/dist/3064.js +0 -2
- package/dist/3064.js.LICENSE.txt +0 -3
- package/dist/3077.js +0 -2
- package/dist/3077.js.LICENSE.txt +0 -3
- package/dist/3238.js +0 -2
- package/dist/3238.js.LICENSE.txt +0 -3
- package/dist/3395.js +0 -2
- package/dist/3395.js.LICENSE.txt +0 -3
- package/dist/35.js +0 -2
- package/dist/35.js.LICENSE.txt +0 -3
- package/dist/3521.js +0 -2
- package/dist/3521.js.LICENSE.txt +0 -3
- package/dist/356.js +0 -2
- package/dist/356.js.LICENSE.txt +0 -3
- package/dist/3714.js +0 -2
- package/dist/3714.js.LICENSE.txt +0 -3
- package/dist/3735.js +0 -2
- package/dist/3735.js.LICENSE.txt +0 -3
- package/dist/3766.js +0 -2
- package/dist/3766.js.LICENSE.txt +0 -3
- package/dist/380.js +0 -2
- package/dist/380.js.LICENSE.txt +0 -3
- package/dist/3906.js +0 -2
- package/dist/3906.js.LICENSE.txt +0 -3
- package/dist/3994.js +0 -2
- package/dist/3994.js.LICENSE.txt +0 -3
- package/dist/4025.js +0 -2
- package/dist/4025.js.LICENSE.txt +0 -3
- package/dist/4058.js +0 -2
- package/dist/4058.js.LICENSE.txt +0 -3
- package/dist/4118.js +0 -2
- package/dist/4118.js.LICENSE.txt +0 -3
- package/dist/4182.js +0 -2
- package/dist/4182.js.LICENSE.txt +0 -3
- package/dist/4188.js +0 -2
- package/dist/4188.js.LICENSE.txt +0 -3
- package/dist/4332.js +0 -2
- package/dist/4332.js.LICENSE.txt +0 -3
- package/dist/4402.js +0 -2
- package/dist/4402.js.LICENSE.txt +0 -3
- package/dist/4818.js +0 -2
- package/dist/4818.js.LICENSE.txt +0 -3
- package/dist/4892.js +0 -2
- package/dist/4892.js.LICENSE.txt +0 -3
- package/dist/4933.js +0 -2
- package/dist/4933.js.LICENSE.txt +0 -3
- package/dist/4943.js +0 -2
- package/dist/4943.js.LICENSE.txt +0 -3
- package/dist/5034.js +0 -2
- package/dist/5034.js.LICENSE.txt +0 -3
- package/dist/5056.js +0 -2
- package/dist/5056.js.LICENSE.txt +0 -3
- package/dist/5157.js +0 -2
- package/dist/5157.js.LICENSE.txt +0 -3
- package/dist/5296.js +0 -2
- package/dist/5296.js.LICENSE.txt +0 -3
- package/dist/5356.js +0 -2
- package/dist/5356.js.LICENSE.txt +0 -3
- package/dist/5551.js +0 -2
- package/dist/5551.js.LICENSE.txt +0 -3
- package/dist/5835.js +0 -2
- package/dist/5835.js.LICENSE.txt +0 -3
- package/dist/5840.js +0 -2
- package/dist/5840.js.LICENSE.txt +0 -3
- package/dist/5889.js +0 -2
- package/dist/5889.js.LICENSE.txt +0 -3
- package/dist/5912.js +0 -2
- package/dist/5912.js.LICENSE.txt +0 -3
- package/dist/6082.js +0 -2
- package/dist/6082.js.LICENSE.txt +0 -3
- package/dist/6099.js +0 -2
- package/dist/6099.js.LICENSE.txt +0 -3
- package/dist/6181.js +0 -2
- package/dist/6181.js.LICENSE.txt +0 -3
- package/dist/619.js +0 -2
- package/dist/619.js.LICENSE.txt +0 -3
- package/dist/6671.js +0 -2
- package/dist/6671.js.LICENSE.txt +0 -3
- package/dist/6775.js +0 -2
- package/dist/6775.js.LICENSE.txt +0 -3
- package/dist/7274.js +0 -2
- package/dist/7274.js.LICENSE.txt +0 -3
- package/dist/7795.js +0 -2
- package/dist/7795.js.LICENSE.txt +0 -3
- package/dist/7802.js +0 -2
- package/dist/7802.js.LICENSE.txt +0 -3
- package/dist/7860.js +0 -2
- package/dist/7860.js.LICENSE.txt +0 -3
- package/dist/8092.js +0 -2
- package/dist/8092.js.LICENSE.txt +0 -3
- package/dist/8111.js +0 -2
- package/dist/8111.js.LICENSE.txt +0 -3
- package/dist/8146.js +0 -2
- package/dist/8146.js.LICENSE.txt +0 -3
- package/dist/8427.js +0 -2
- package/dist/8427.js.LICENSE.txt +0 -3
- package/dist/8495.js +0 -2
- package/dist/8495.js.LICENSE.txt +0 -3
- package/dist/8672.js +0 -2
- package/dist/8672.js.LICENSE.txt +0 -3
- package/dist/8737.js +0 -2
- package/dist/8737.js.LICENSE.txt +0 -3
- package/dist/8786.js +0 -2
- package/dist/8786.js.LICENSE.txt +0 -3
- package/dist/8796.js +0 -2
- package/dist/8796.js.LICENSE.txt +0 -3
- package/dist/8977.js +0 -2
- package/dist/8977.js.LICENSE.txt +0 -3
- package/dist/9333.js +0 -2
- package/dist/9333.js.LICENSE.txt +0 -3
- package/dist/9389.js +0 -2
- package/dist/9389.js.LICENSE.txt +0 -3
- package/dist/9561.js +0 -2
- package/dist/9561.js.LICENSE.txt +0 -3
- package/dist/9599.js +0 -2
- package/dist/9599.js.LICENSE.txt +0 -3
- package/dist/9612.js +0 -2
- package/dist/9612.js.LICENSE.txt +0 -3
- package/dist/9890.js +0 -2
- package/dist/9890.js.LICENSE.txt +0 -3
- package/dist/assets/codicons/codicon.html +0 -3911
- package/dist/main.css +0 -4
- package/dist/main.js +0 -2
- package/dist/main.js.LICENSE.txt +0 -64
- package/prettier.config.js +0 -5
- package/public/assets/codicons/codicon.html +0 -3911
- package/public/index.html +0 -28
- package/src/components/button-group/basic.tsx +0 -34
- package/src/components/button-group/routes.ts +0 -8
- package/src/components/indented-text/basic.tsx +0 -37
- package/src/components/indented-text/routes.ts +0 -8
- package/src/components/link-group/basic.tsx +0 -23
- package/src/components/link-group/horizontal.tsx +0 -23
- package/src/components/link-group/routes.ts +0 -10
- package/src/components/nav/horizontal.tsx +0 -24
- package/src/components/textarea/counter.tsx +0 -20
- package/webpack.config.js +0 -19
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
2
|
|
|
3
3
|
import { SingleSelectCases } from './cases';
|
|
4
|
-
|
|
5
4
|
import type { Components } from '@public-ui/components';
|
|
6
|
-
|
|
5
|
+
import { SampleColumns } from '../../SampleColumns';
|
|
6
|
+
|
|
7
|
+
export const SingleSelectVariants = (props: Components.KolSingleSelect) => {
|
|
7
8
|
return (
|
|
8
|
-
<
|
|
9
|
+
<SampleColumns>
|
|
9
10
|
<fieldset>
|
|
10
11
|
<legend>Text</legend>
|
|
11
12
|
<SingleSelectCases {...props} />
|
|
12
13
|
</fieldset>
|
|
13
14
|
<fieldset>
|
|
14
15
|
<legend>Text (hideLabel)</legend>
|
|
15
|
-
<SingleSelectCases
|
|
16
|
+
<SingleSelectCases {...props} _hideLabel />
|
|
16
17
|
</fieldset>
|
|
17
|
-
</
|
|
18
|
+
</SampleColumns>
|
|
18
19
|
);
|
|
19
|
-
}
|
|
20
|
+
};
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
.loader {
|
|
2
|
-
width: 48px;
|
|
3
|
-
height: 48px;
|
|
4
|
-
border: 5px solid #333;
|
|
5
2
|
border-radius: 50%;
|
|
6
3
|
display: inline-block;
|
|
7
|
-
box-sizing: border-box;
|
|
8
4
|
position: relative;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
width: 48px;
|
|
7
|
+
height: 48px;
|
|
9
8
|
animation: pulse 1s linear infinite;
|
|
9
|
+
border: 5px solid #333;
|
|
10
10
|
}
|
|
11
11
|
.loader:after {
|
|
12
|
-
|
|
13
|
-
position: absolute;
|
|
14
|
-
width: 48px;
|
|
15
|
-
height: 48px;
|
|
16
|
-
border: 5px solid #f00;
|
|
12
|
+
transform: translate(-50%, -50%);
|
|
17
13
|
border-radius: 50%;
|
|
18
14
|
display: inline-block;
|
|
19
|
-
|
|
20
|
-
left: 50%;
|
|
15
|
+
position: absolute;
|
|
21
16
|
top: 50%;
|
|
22
|
-
|
|
17
|
+
left: 50%;
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
width: 48px;
|
|
20
|
+
height: 48px;
|
|
21
|
+
|
|
22
|
+
content: '';
|
|
23
23
|
animation: scaleUp 1s linear infinite;
|
|
24
|
+
border: 5px solid #f00;
|
|
24
25
|
}
|
|
25
26
|
|
|
26
27
|
@keyframes scaleUp {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React, { useEffect, useState } from 'react';
|
|
2
|
+
import { KolSpin } from '@public-ui/react-v19';
|
|
3
|
+
import type { FC } from 'react';
|
|
4
|
+
import { SampleDescription } from '../SampleDescription';
|
|
5
|
+
|
|
6
|
+
export const SpinLabel: FC = () => {
|
|
7
|
+
const [show, setShow] = useState(true);
|
|
8
|
+
|
|
9
|
+
useEffect(() => {
|
|
10
|
+
const id = setInterval(() => setShow((value) => !value), 3000);
|
|
11
|
+
return () => clearInterval(id);
|
|
12
|
+
}, []);
|
|
13
|
+
|
|
14
|
+
return (
|
|
15
|
+
<>
|
|
16
|
+
<SampleDescription>
|
|
17
|
+
<p>This sample shows KolSpin with a label.</p>
|
|
18
|
+
</SampleDescription>
|
|
19
|
+
|
|
20
|
+
<KolSpin _show={show} _label={show ? 'Loading data...' : 'Data loaded.'} />
|
|
21
|
+
</>
|
|
22
|
+
);
|
|
23
|
+
};
|
|
@@ -2,11 +2,13 @@ import { Routes } from '../../shares/types';
|
|
|
2
2
|
import { SpinBasic } from './basic';
|
|
3
3
|
import { SpinCustom } from './custom';
|
|
4
4
|
import { SpinCycle } from './cycle';
|
|
5
|
+
import { SpinLabel } from './label';
|
|
5
6
|
|
|
6
7
|
export const SPIN_ROUTES: Routes = {
|
|
7
8
|
spin: {
|
|
8
9
|
basic: SpinBasic,
|
|
9
10
|
cycle: SpinCycle,
|
|
10
11
|
custom: SpinCustom,
|
|
12
|
+
label: SpinLabel,
|
|
11
13
|
},
|
|
12
14
|
};
|
|
@@ -1,36 +1,47 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { KolSplitButton } from '@public-ui/react';
|
|
3
|
+
import { KolSplitButton, KolToolbar } from '@public-ui/react-v19';
|
|
5
4
|
import { SampleDescription } from '../SampleDescription';
|
|
5
|
+
import { useToasterService } from '../../hooks/useToasterService';
|
|
6
6
|
|
|
7
7
|
import type { FC } from 'react';
|
|
8
8
|
|
|
9
9
|
export const SplitButtonBasic: FC = () => {
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
description: 'The Button has been clicked.',
|
|
14
|
-
label: `Button Clicked`,
|
|
15
|
-
type: 'info',
|
|
16
|
-
});
|
|
10
|
+
const { buttonWithTextClickEventHandler } = useToasterService();
|
|
11
|
+
const dummyEventHandler = {
|
|
12
|
+
onClick: buttonWithTextClickEventHandler,
|
|
17
13
|
};
|
|
14
|
+
const TOOLBAR_ITEMS = [
|
|
15
|
+
{
|
|
16
|
+
_label: 'Save',
|
|
17
|
+
_icons: 'codicon codicon-save',
|
|
18
|
+
_on: dummyEventHandler,
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
_label: 'Move',
|
|
22
|
+
_icons: 'codicon codicon-move',
|
|
23
|
+
_on: dummyEventHandler,
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
_label: 'Delete',
|
|
27
|
+
_icons: 'codicon codicon-trash',
|
|
28
|
+
_on: dummyEventHandler,
|
|
29
|
+
},
|
|
30
|
+
];
|
|
18
31
|
|
|
19
32
|
return (
|
|
20
33
|
<>
|
|
21
34
|
<SampleDescription>
|
|
22
35
|
<p>
|
|
23
|
-
SplitButton
|
|
24
|
-
|
|
36
|
+
The <code>SplitButton</code> component combines a primary action button with a context menu. Clicking the main button triggers the
|
|
37
|
+
<strong> Edit</strong> action. The context menu opens a vertical list of additional actions:
|
|
38
|
+
<strong> Save</strong>, <strong>Move</strong>, and <strong>Delete</strong>.
|
|
25
39
|
</p>
|
|
26
40
|
</SampleDescription>
|
|
27
41
|
|
|
28
|
-
<div className="flex gap-4">
|
|
29
|
-
<KolSplitButton _label="
|
|
30
|
-
|
|
31
|
-
</KolSplitButton>
|
|
32
|
-
<KolSplitButton _label="Button without visible label" _hideLabel _icons="codicon codicon-git-pull-request">
|
|
33
|
-
Dropdown-Inhalt
|
|
42
|
+
<div className="flex flex-col gap-4">
|
|
43
|
+
<KolSplitButton _label="Edit" _on={dummyEventHandler}>
|
|
44
|
+
<KolToolbar _label="Action toolbar" _items={TOOLBAR_ITEMS} _orientation="vertical" />
|
|
34
45
|
</KolSplitButton>
|
|
35
46
|
</div>
|
|
36
47
|
</>
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
/* eslint-disable jsx-a11y/click-events-have-key-events */
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
|
|
5
|
-
import { KolButton, KolInputText, KolSplitButton } from '@public-ui/react';
|
|
5
|
+
import { KolButton, KolInputText, KolSplitButton } from '@public-ui/react-v19';
|
|
6
6
|
import { SampleDescription } from '../SampleDescription';
|
|
7
7
|
|
|
8
8
|
import type { FC } from 'react';
|
|
9
9
|
|
|
10
10
|
export const SplitButtonWithContext: FC = () => {
|
|
11
|
-
const splitButtonRef = React.useRef<HTMLKolSplitButtonElement & { closePopup: any }>();
|
|
11
|
+
const splitButtonRef = React.useRef<HTMLKolSplitButtonElement & { closePopup: any }>(null);
|
|
12
12
|
|
|
13
13
|
const handleCloseClick = () => {
|
|
14
14
|
splitButtonRef.current?.closePopup();
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import { KolHeading,
|
|
4
|
+
import { KolHeading, KolTableStateful } from '@public-ui/react-v19';
|
|
5
5
|
|
|
6
6
|
import { SampleDescription } from '../SampleDescription';
|
|
7
7
|
|
|
8
8
|
const DATA = [{ left: 'Left Example', center: 'Center Example', right: 'Right Example' }];
|
|
9
|
-
const genericNonSorter =
|
|
9
|
+
const genericNonSorter = () => 0;
|
|
10
10
|
|
|
11
11
|
export const TableColumnAlignment: FC = () => (
|
|
12
12
|
<>
|
|
13
13
|
<SampleDescription>
|
|
14
|
-
<p>This sample shows
|
|
14
|
+
<p>This sample shows KolTableStateful with columns headers and data in different text alignments.</p>
|
|
15
15
|
</SampleDescription>
|
|
16
16
|
|
|
17
17
|
<section className="w-full flex flex-col">
|
|
18
18
|
<KolHeading _label="Simple table" _level={3}></KolHeading>
|
|
19
|
-
<
|
|
19
|
+
<KolTableStateful
|
|
20
20
|
_label="Table for demonstration purposes with different text align properties"
|
|
21
|
+
_minWidth="auto"
|
|
21
22
|
_headers={{
|
|
22
23
|
horizontal: [
|
|
23
24
|
[
|
|
@@ -33,14 +34,15 @@ export const TableColumnAlignment: FC = () => (
|
|
|
33
34
|
/>
|
|
34
35
|
|
|
35
36
|
<KolHeading _label="Table with sortable columns" _level={3} className="block mt-6"></KolHeading>
|
|
36
|
-
<
|
|
37
|
+
<KolTableStateful
|
|
37
38
|
_label="Table for demonstration purposes with sortable columns"
|
|
39
|
+
_minWidth="auto"
|
|
38
40
|
_headers={{
|
|
39
41
|
horizontal: [
|
|
40
42
|
[
|
|
41
|
-
{ label: 'left', key: 'left', textAlign: 'left',
|
|
42
|
-
{ label: 'center', key: 'center', textAlign: 'center',
|
|
43
|
-
{ label: 'right', key: 'right', textAlign: 'right',
|
|
43
|
+
{ label: 'left', key: 'left', textAlign: 'left', compareFn: genericNonSorter },
|
|
44
|
+
{ label: 'center', key: 'center', textAlign: 'center', compareFn: genericNonSorter },
|
|
45
|
+
{ label: 'right', key: 'right', textAlign: 'right', compareFn: genericNonSorter },
|
|
44
46
|
],
|
|
45
47
|
],
|
|
46
48
|
}}
|
|
@@ -50,13 +52,14 @@ export const TableColumnAlignment: FC = () => (
|
|
|
50
52
|
/>
|
|
51
53
|
|
|
52
54
|
<KolHeading _label="Table some sortable columns" _level={3} className="block mt-6"></KolHeading>
|
|
53
|
-
<
|
|
55
|
+
<KolTableStateful
|
|
54
56
|
_label="Table for demonstration purposes with some but not all columns sortable"
|
|
57
|
+
_minWidth="auto"
|
|
55
58
|
_headers={{
|
|
56
59
|
horizontal: [
|
|
57
60
|
[
|
|
58
|
-
{ label: 'left', key: 'left', textAlign: 'left',
|
|
59
|
-
{ label: 'center', key: 'center', textAlign: 'center',
|
|
61
|
+
{ label: 'left', key: 'left', textAlign: 'left', compareFn: genericNonSorter },
|
|
62
|
+
{ label: 'center', key: 'center', textAlign: 'center', compareFn: genericNonSorter },
|
|
60
63
|
{ label: 'right', key: 'right', textAlign: 'right' },
|
|
61
64
|
],
|
|
62
65
|
],
|
|
@@ -67,12 +70,12 @@ export const TableColumnAlignment: FC = () => (
|
|
|
67
70
|
/>
|
|
68
71
|
|
|
69
72
|
<KolHeading _label="Table with vertical heading" _level={3} className="block mt-6"></KolHeading>
|
|
70
|
-
<
|
|
73
|
+
<KolTableStateful
|
|
71
74
|
_label="Table for demonstration purposes with vertical heading"
|
|
75
|
+
_minWidth="auto"
|
|
72
76
|
_headers={{
|
|
73
77
|
horizontal: [
|
|
74
78
|
[
|
|
75
|
-
{ label: '', asTd: true },
|
|
76
79
|
{ label: 'left', key: 'left', textAlign: 'left' },
|
|
77
80
|
{ label: 'center', key: 'center', textAlign: 'center' },
|
|
78
81
|
{ label: 'right', key: 'right', textAlign: 'right' },
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { KolTableStateful } from '@public-ui/react-v19';
|
|
4
4
|
import { SampleDescription } from '../SampleDescription';
|
|
5
5
|
|
|
6
6
|
export const TableComplexHeaders: FC = () => (
|
|
7
7
|
<>
|
|
8
8
|
<SampleDescription>
|
|
9
|
-
<p>This sample shows
|
|
9
|
+
<p>This sample shows KolTableStateful using vertical and horizontal headers, applying colspan and rowspan.</p>
|
|
10
10
|
</SampleDescription>
|
|
11
11
|
|
|
12
12
|
<section className="w-full flex flex-col">
|
|
13
|
-
<
|
|
13
|
+
<KolTableStateful
|
|
14
14
|
_label="Business hours"
|
|
15
|
+
_minWidth="auto"
|
|
15
16
|
_data={[
|
|
16
17
|
{
|
|
17
18
|
asp: 'Center',
|
|
@@ -39,24 +40,34 @@ export const TableComplexHeaders: FC = () => (
|
|
|
39
40
|
},
|
|
40
41
|
]}
|
|
41
42
|
_headers={{
|
|
42
|
-
vertical: [
|
|
43
|
-
horizontal: [
|
|
43
|
+
vertical: [
|
|
44
44
|
[
|
|
45
45
|
{
|
|
46
|
-
label: '',
|
|
47
|
-
|
|
46
|
+
label: 'Berlin',
|
|
47
|
+
rowSpan: 2,
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
|
-
label: '
|
|
51
|
-
colSpan: 2,
|
|
50
|
+
label: 'München',
|
|
52
51
|
},
|
|
53
52
|
],
|
|
53
|
+
],
|
|
54
|
+
horizontal: [
|
|
54
55
|
[
|
|
55
|
-
{ label: '' },
|
|
56
56
|
{
|
|
57
57
|
label: 'District',
|
|
58
|
+
rowSpan: 2,
|
|
58
59
|
key: 'asp',
|
|
59
60
|
},
|
|
61
|
+
{
|
|
62
|
+
label: 'Workdays',
|
|
63
|
+
colSpan: 5,
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
label: 'Weekend',
|
|
67
|
+
colSpan: 2,
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
[
|
|
60
71
|
{
|
|
61
72
|
label: 'Monday',
|
|
62
73
|
key: 'monday',
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import React, { useState } from 'react';
|
|
3
3
|
|
|
4
|
-
import { KolHeading, KolInputCheckbox,
|
|
4
|
+
import { KolHeading, KolInputCheckbox, KolTableStateful } from '@public-ui/react-v19';
|
|
5
5
|
|
|
6
6
|
import { SampleDescription } from '../SampleDescription';
|
|
7
|
+
import { DATE_FORMATTER } from './formatter';
|
|
8
|
+
import { DATA as tableData } from './test-data';
|
|
9
|
+
import type { Data } from './test-data';
|
|
7
10
|
|
|
8
11
|
import type { KoliBriTableHeaders } from '@public-ui/components';
|
|
9
12
|
|
|
@@ -18,6 +21,7 @@ const HEADERS: KoliBriTableHeaders = {
|
|
|
18
21
|
],
|
|
19
22
|
],
|
|
20
23
|
};
|
|
24
|
+
const genericNonSorter = () => 0;
|
|
21
25
|
|
|
22
26
|
export const TableHorizontalScrollbar: FC = () => {
|
|
23
27
|
const [hasWidthRestriction, setHasWidthRestriction] = useState(true);
|
|
@@ -26,33 +30,47 @@ export const TableHorizontalScrollbar: FC = () => {
|
|
|
26
30
|
<>
|
|
27
31
|
<SampleDescription>
|
|
28
32
|
<p>
|
|
29
|
-
This sample shows
|
|
30
|
-
to scroll it using arrow keys.
|
|
33
|
+
This sample shows KolTableStateful with and without horizontal scrollbars. When a scrollbar is present, it should be possible to focus the table
|
|
34
|
+
container and to scroll it using arrow keys.
|
|
31
35
|
</p>
|
|
32
36
|
</SampleDescription>
|
|
33
37
|
|
|
34
38
|
<section className="w-full flex flex-col gap-4">
|
|
35
|
-
<
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
39
|
+
<div className="w-[400px] flex flex-col gap-4">
|
|
40
|
+
<KolTableStateful
|
|
41
|
+
_label="Table for demonstration purposes with horizontal scrollbar."
|
|
42
|
+
_minWidth={hasWidthRestriction ? '600px' : '300px'}
|
|
43
|
+
_headers={HEADERS}
|
|
44
|
+
_data={DATA}
|
|
45
|
+
className="block"
|
|
46
|
+
/>
|
|
47
|
+
<KolTableStateful
|
|
48
|
+
_label="Table for demonstration horizontal scrolling with pagination."
|
|
49
|
+
_minWidth={hasWidthRestriction ? '600px' : '300px'}
|
|
50
|
+
_headers={{
|
|
51
|
+
horizontal: [
|
|
52
|
+
[
|
|
53
|
+
{ label: 'Order', key: 'order' },
|
|
54
|
+
{
|
|
55
|
+
label: 'Date',
|
|
56
|
+
key: 'date',
|
|
57
|
+
compareFn: genericNonSorter,
|
|
58
|
+
render: (_el, _cell, tupel) => DATE_FORMATTER.format((tupel as unknown as Data).date),
|
|
59
|
+
},
|
|
60
|
+
],
|
|
61
|
+
],
|
|
62
|
+
}}
|
|
63
|
+
_data={tableData}
|
|
64
|
+
_pagination
|
|
65
|
+
/>
|
|
66
|
+
<KolTableStateful
|
|
67
|
+
_label="Table for demonstration purposes with horizontal scrollbar with auto minWidth."
|
|
68
|
+
_minWidth={hasWidthRestriction ? '600px' : '300px'}
|
|
69
|
+
_headers={HEADERS}
|
|
70
|
+
_data={[]}
|
|
71
|
+
className="block"
|
|
72
|
+
/>
|
|
73
|
+
</div>
|
|
56
74
|
|
|
57
75
|
<KolInputCheckbox
|
|
58
76
|
_checked={hasWidthRestriction}
|
|
@@ -70,7 +88,14 @@ export const TableHorizontalScrollbar: FC = () => {
|
|
|
70
88
|
<i>Scrollbar appears on very small viewport sizes</i>
|
|
71
89
|
</p>
|
|
72
90
|
|
|
73
|
-
<
|
|
91
|
+
<KolTableStateful
|
|
92
|
+
_label="Table for demonstration purposes without horizontal scrollbar"
|
|
93
|
+
_minWidth="600px"
|
|
94
|
+
_headers={HEADERS}
|
|
95
|
+
_data={DATA}
|
|
96
|
+
className="block"
|
|
97
|
+
_pagination
|
|
98
|
+
/>
|
|
74
99
|
</section>
|
|
75
100
|
</>
|
|
76
101
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ButtonProps, ButtonVariantPropType, KoliBriTableCell, KoliBriTableHeaderCell } from '@public-ui/components';
|
|
2
|
-
import { createReactRenderElement, KolButton, KolButtonLink, KolLink, KolLinkButton, KolTableStateless } from '@public-ui/react';
|
|
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
5
|
import { getRoot } from '../../shares/react-roots';
|
|
@@ -46,10 +46,10 @@ export const InteractiveChildElements: FC = () => (
|
|
|
46
46
|
<section className="w-full flex flex-col">
|
|
47
47
|
<KolTableStateless
|
|
48
48
|
_label="Button styles"
|
|
49
|
+
_minWidth="auto"
|
|
49
50
|
_headerCells={{
|
|
50
51
|
horizontal: [
|
|
51
52
|
[
|
|
52
|
-
{ label: '', asTd: true, width: '20ex' },
|
|
53
53
|
getButtonHeaderCell('primary'),
|
|
54
54
|
getButtonHeaderCell('secondary'),
|
|
55
55
|
getButtonHeaderCell('normal'),
|
|
@@ -80,10 +80,10 @@ export const InteractiveChildElements: FC = () => (
|
|
|
80
80
|
|
|
81
81
|
<KolTableStateless
|
|
82
82
|
_label="Link styles"
|
|
83
|
+
_minWidth="auto"
|
|
83
84
|
_headerCells={{
|
|
84
85
|
horizontal: [
|
|
85
86
|
[
|
|
86
|
-
{ label: '', asTd: true, width: '20ex' },
|
|
87
87
|
{
|
|
88
88
|
key: 'regular',
|
|
89
89
|
label: 'Regular',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import React, { useState } from 'react';
|
|
3
3
|
|
|
4
|
-
import { KolHeading, KolInputCheckbox,
|
|
4
|
+
import { KolHeading, KolInputCheckbox, KolTableStateful } from '@public-ui/react-v19';
|
|
5
5
|
import type { KoliBriTableHeaders, KoliBriTableDataType } from '@public-ui/components';
|
|
6
6
|
import type { Data } from './test-data';
|
|
7
7
|
import { DATA } from './test-data';
|
|
@@ -74,7 +74,7 @@ export const MultiSortTable: FC = () => {
|
|
|
74
74
|
return (
|
|
75
75
|
<>
|
|
76
76
|
<SampleDescription>
|
|
77
|
-
<p>This sample shows
|
|
77
|
+
<p>This sample shows KolTableStateful with multi-sort functionality, allowing sorting by both "order" and "date" columns.</p>
|
|
78
78
|
</SampleDescription>
|
|
79
79
|
|
|
80
80
|
<section className="w-full grid gap-4">
|
|
@@ -86,8 +86,9 @@ export const MultiSortTable: FC = () => {
|
|
|
86
86
|
_variant="switch"
|
|
87
87
|
_on={{ onChange: (_, value) => setAllowMultiSortVertical(Boolean(value)) }}
|
|
88
88
|
></KolInputCheckbox>
|
|
89
|
-
<
|
|
89
|
+
<KolTableStateful
|
|
90
90
|
_label="Sort Table with Order and Date"
|
|
91
|
+
_minWidth="auto"
|
|
91
92
|
_data={DATA.slice(0, 10)}
|
|
92
93
|
_headers={HEADERS_VERTICAL}
|
|
93
94
|
className="block"
|
|
@@ -102,8 +103,9 @@ export const MultiSortTable: FC = () => {
|
|
|
102
103
|
_variant="switch"
|
|
103
104
|
_on={{ onChange: (_, value) => setAllowMultiSortHorizontal(Boolean(value)) }}
|
|
104
105
|
></KolInputCheckbox>
|
|
105
|
-
<
|
|
106
|
+
<KolTableStateful
|
|
106
107
|
_label="Sort Table with Order and Date"
|
|
108
|
+
_minWidth="auto"
|
|
107
109
|
_data={DATA}
|
|
108
110
|
_headers={HEADERS_HORIZONTAL}
|
|
109
111
|
className="block"
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { KolTableStateful } from '@public-ui/react-v19';
|
|
2
|
+
import type { FC } from 'react';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { SampleDescription } from '../SampleDescription';
|
|
5
|
+
|
|
6
|
+
const DATA = [
|
|
7
|
+
{ id: '1001', name: 'John', age: 30 },
|
|
8
|
+
{ id: '1002', name: 'Jane', age: 25 },
|
|
9
|
+
];
|
|
10
|
+
|
|
11
|
+
export const TableNonHidableColumns: FC = () => (
|
|
12
|
+
<>
|
|
13
|
+
<SampleDescription>
|
|
14
|
+
<p>This example demonstrates a column that cannot be hidden in the settings.</p>
|
|
15
|
+
</SampleDescription>
|
|
16
|
+
|
|
17
|
+
<KolTableStateful
|
|
18
|
+
_label="Table with a non-hidable column"
|
|
19
|
+
_minWidth="auto"
|
|
20
|
+
_hasSettingsMenu
|
|
21
|
+
_headers={{
|
|
22
|
+
horizontal: [
|
|
23
|
+
[
|
|
24
|
+
{ key: 'id', label: 'ID', hidable: false },
|
|
25
|
+
{ key: 'name', label: 'Name' },
|
|
26
|
+
{ key: 'age', label: 'Age' },
|
|
27
|
+
],
|
|
28
|
+
],
|
|
29
|
+
}}
|
|
30
|
+
_data={DATA}
|
|
31
|
+
className="block"
|
|
32
|
+
style={{ maxWidth: '600px' }}
|
|
33
|
+
/>
|
|
34
|
+
</>
|
|
35
|
+
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
|
-
import { KolHeading,
|
|
4
|
+
import { KolHeading, KolTableStateful } from '@public-ui/react-v19';
|
|
5
5
|
|
|
6
6
|
import { SampleDescription } from '../SampleDescription';
|
|
7
7
|
import { DATE_FORMATTER } from './formatter';
|
|
@@ -23,21 +23,42 @@ const PAGINATION: KoliBriTablePaginationProps = { _page: 2 };
|
|
|
23
23
|
export const PaginationPosition: FC = () => (
|
|
24
24
|
<div className="w-full grid gap-14">
|
|
25
25
|
<SampleDescription>
|
|
26
|
-
<p>This sample shows
|
|
26
|
+
<p>This sample shows KolTableStateful with different pagination positions.</p>
|
|
27
27
|
</SampleDescription>
|
|
28
28
|
|
|
29
29
|
<section className="w-full flex flex-col gap-14">
|
|
30
30
|
<section className="grid gap-4">
|
|
31
31
|
<KolHeading _level={2} _label="Table with pagination at the bottom."></KolHeading>
|
|
32
|
-
<
|
|
32
|
+
<KolTableStateful
|
|
33
|
+
_label="Sample table with pagination at the bottom"
|
|
34
|
+
_minWidth="auto"
|
|
35
|
+
_data={DATA}
|
|
36
|
+
_headers={HEADERS}
|
|
37
|
+
_pagination={PAGINATION}
|
|
38
|
+
_paginationPosition="bottom"
|
|
39
|
+
></KolTableStateful>
|
|
33
40
|
</section>
|
|
34
41
|
<section className="grid gap-4">
|
|
35
42
|
<KolHeading _level={2} _label="Table with pagination at the top."></KolHeading>
|
|
36
|
-
<
|
|
43
|
+
<KolTableStateful
|
|
44
|
+
_label="Sample table with pagination at the top"
|
|
45
|
+
_minWidth="auto"
|
|
46
|
+
_data={DATA}
|
|
47
|
+
_headers={HEADERS}
|
|
48
|
+
_pagination={PAGINATION}
|
|
49
|
+
_paginationPosition="top"
|
|
50
|
+
></KolTableStateful>
|
|
37
51
|
</section>
|
|
38
52
|
<section className="grid gap-4">
|
|
39
53
|
<KolHeading _level={2} _label="Table with pagination at both top and bottom."></KolHeading>
|
|
40
|
-
<
|
|
54
|
+
<KolTableStateful
|
|
55
|
+
_label="Sample table with pagination at both top and bottom"
|
|
56
|
+
_minWidth="auto"
|
|
57
|
+
_data={DATA}
|
|
58
|
+
_headers={HEADERS}
|
|
59
|
+
_pagination={PAGINATION}
|
|
60
|
+
_paginationPosition="both"
|
|
61
|
+
></KolTableStateful>
|
|
41
62
|
</section>
|
|
42
63
|
</section>
|
|
43
64
|
</div>
|