@public-ui/sample-react 4.0.0-rc.0 → 4.0.0-rc.1
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-CN9dQ4Jh-CXz58_Dz.js → Alert-DLUhAh8c-wBhNIpU8.js} +2 -2
- package/dist/assets/{Alert-CN9dQ4Jh-CXz58_Dz.js.map → Alert-DLUhAh8c-wBhNIpU8.js.map} +1 -1
- package/dist/assets/{Collapsible-DcjEQmIs-0bVKtgnd.js → Collapsible-Cq_kxc2V-2E8QsagC.js} +2 -2
- package/dist/assets/{Collapsible-DcjEQmIs-0bVKtgnd.js.map → Collapsible-Cq_kxc2V-2E8QsagC.js.map} +1 -1
- package/dist/assets/{CustomSuggestionsOptionsGroup-CsufmW9h-B6pG2nl8.js → CustomSuggestionsOptionsGroup-CO2m8_Fx-BFcyUneb.js} +2 -2
- package/dist/assets/{CustomSuggestionsOptionsGroup-CsufmW9h-B6pG2nl8.js.map → CustomSuggestionsOptionsGroup-CO2m8_Fx-BFcyUneb.js.map} +1 -1
- package/dist/assets/{FieldControlStateWrapper-C_zp7f94-D-9FOtvL.js → FieldControlStateWrapper-Cz-wlemj-mlOtS87T.js} +2 -2
- package/dist/assets/{FieldControlStateWrapper-C_zp7f94-D-9FOtvL.js.map → FieldControlStateWrapper-Cz-wlemj-mlOtS87T.js.map} +1 -1
- package/dist/assets/{FormFieldStateWrapper-BB46PFa4-C_euDzBz.js → FormFieldStateWrapper-BHmBylve-BeqMuKAK.js} +2 -2
- package/dist/assets/{FormFieldStateWrapper-BB46PFa4-C_euDzBz.js.map → FormFieldStateWrapper-BHmBylve-BeqMuKAK.js.map} +1 -1
- package/dist/assets/{Heading-B8hPn_zd-Bgqwk1Jy.js → Heading-FFu5Vo7m-DYclRePS.js} +2 -2
- package/dist/assets/{Heading-B8hPn_zd-Bgqwk1Jy.js.map → Heading-FFu5Vo7m-DYclRePS.js.map} +1 -1
- package/dist/assets/{Icon-CmcIanXJ-CE8nAjhe.js → Icon-Cn2VAvfI-eLK2y17X.js} +2 -2
- package/dist/assets/{Icon-CmcIanXJ-CE8nAjhe.js.map → Icon-Cn2VAvfI-eLK2y17X.js.map} +1 -1
- package/dist/assets/{Input-CjyGzXT7-tQlkXfNb.js → Input-DMK0LJNA-JmS8UzgZ.js} +2 -2
- package/dist/assets/{Input-CjyGzXT7-tQlkXfNb.js.map → Input-DMK0LJNA-JmS8UzgZ.js.map} +1 -1
- package/dist/assets/{InputStateWrapper-_WDl9P_C-BlHNf9R5.js → InputStateWrapper-nNWlOdvD-iyJ9xO6t.js} +2 -2
- package/dist/assets/{InputStateWrapper-_WDl9P_C-BlHNf9R5.js.map → InputStateWrapper-nNWlOdvD-iyJ9xO6t.js.map} +1 -1
- package/dist/assets/{InternalUnderlinedBadgeText-Br91HmPb-BmlJOex0.js → InternalUnderlinedBadgeText-Cbb0Z9wm-BJF8Ga1z.js} +2 -2
- package/dist/assets/{InternalUnderlinedBadgeText-Br91HmPb-BmlJOex0.js.map → InternalUnderlinedBadgeText-Cbb0Z9wm-BJF8Ga1z.js.map} +1 -1
- package/dist/assets/{Span-e2yolkfO-Bi4v_sew.js → Span-C3Vx3-Az-0bgWuP78.js} +2 -2
- package/dist/assets/{Span-e2yolkfO-Bi4v_sew.js.map → Span-C3Vx3-Az-0bgWuP78.js.map} +1 -1
- package/dist/assets/{access-and-short-key-BlB0ZAri-CJYjH-aH.js → access-and-short-key-BlB0ZAri-DI8AuzTS.js} +2 -2
- package/dist/assets/{access-and-short-key-BlB0ZAri-CJYjH-aH.js.map → access-and-short-key-BlB0ZAri-DI8AuzTS.js.map} +1 -1
- package/dist/assets/{align-C_bkzA-y-0RVEUmpb.js → align-C_bkzA-y-B72fmXcg.js} +2 -2
- package/dist/assets/{align-C_bkzA-y-0RVEUmpb.js.map → align-C_bkzA-y-B72fmXcg.js.map} +1 -1
- package/dist/assets/{align-floating-elements-BmMJhjF1-BF0aHi-2.js → align-floating-elements-BmMJhjF1-DofkVOhS.js} +2 -2
- package/dist/assets/{align-floating-elements-BmMJhjF1-BF0aHi-2.js.map → align-floating-elements-BmMJhjF1-DofkVOhS.js.map} +1 -1
- package/dist/assets/{associated.controller-ByKVIoVY-DxbpDiHR.js → associated.controller-ByKVIoVY-19eBOOvf.js} +2 -2
- package/dist/assets/{associated.controller-ByKVIoVY-DxbpDiHR.js.map → associated.controller-ByKVIoVY-19eBOOvf.js.map} +1 -1
- package/dist/assets/{auto-complete-CndE0brm-C3RDMaYm.js → auto-complete-CndE0brm-BQBsxL_W.js} +2 -2
- package/dist/assets/{auto-complete-CndE0brm-C3RDMaYm.js.map → auto-complete-CndE0brm-BQBsxL_W.js.map} +1 -1
- package/dist/assets/{button-variant-BKr6oMet-BSmH0AlA.js → button-variant-BKr6oMet-Bd2SHW-O.js} +2 -2
- package/dist/assets/{button-variant-BKr6oMet-BSmH0AlA.js.map → button-variant-BKr6oMet-Bd2SHW-O.js.map} +1 -1
- package/dist/assets/{color-D-_1x7ql-CSYQmqhA.js → color-D-_1x7ql-Brn_xcRo.js} +2 -2
- package/dist/assets/{color-D-_1x7ql-CSYQmqhA.js.map → color-D-_1x7ql-Brn_xcRo.js.map} +1 -1
- package/dist/assets/{controller-BsdfI7gx-Ba2sbgQN.js → controller-Bbn-hI20-zewYY4d0.js} +2 -2
- package/dist/assets/{controller-BsdfI7gx-Ba2sbgQN.js.map → controller-Bbn-hI20-zewYY4d0.js.map} +1 -1
- package/dist/assets/{controller-D-keynM4-CmqDatNA.js → controller-D-keynM4-CYs-GXEN.js} +2 -2
- package/dist/assets/{controller-D-keynM4-CmqDatNA.js.map → controller-D-keynM4-CYs-GXEN.js.map} +1 -1
- package/dist/assets/{controller-B6Z2CBlr-DoSNmmFi.js → controller-DzTsmP_9-CJPQuV5H.js} +2 -2
- package/dist/assets/{controller-B6Z2CBlr-DoSNmmFi.js.map → controller-DzTsmP_9-CJPQuV5H.js.map} +1 -1
- package/dist/assets/{controller-CXJb6uLu-D0rDYils.js → controller-Fwuu77Fx-C7b38f78.js} +2 -2
- package/dist/assets/{controller-CXJb6uLu-D0rDYils.js.map → controller-Fwuu77Fx-C7b38f78.js.map} +1 -1
- package/dist/assets/{controller-icon-CKOuAmxL-BYPiAIR3.js → controller-icon-DVn6Cu11-2lYjq-9i.js} +2 -2
- package/dist/assets/{controller-icon-CKOuAmxL-BYPiAIR3.js.map → controller-icon-DVn6Cu11-2lYjq-9i.js.map} +1 -1
- package/dist/assets/custom-class-B6h_ZSR7-BKFxVorq.js +2 -0
- package/dist/assets/{custom-class-B6h_ZSR7-NfdcDwAH.js.map → custom-class-B6h_ZSR7-BKFxVorq.js.map} +1 -1
- package/dist/assets/{dev.utils-GXrtBUAW-D016XIb2.js → dev.utils-BZrysPuC-DOL8VCB7.js} +2 -2
- package/dist/assets/{dev.utils-GXrtBUAW-D016XIb2.js.map → dev.utils-BZrysPuC-DOL8VCB7.js.map} +1 -1
- package/dist/assets/{devtools-3n6OHcbk-CPiOQxpW.js → devtools-Ph6VfOKJ-EhvYPqu_.js} +2 -2
- package/dist/assets/{devtools-3n6OHcbk-CPiOQxpW.js.map → devtools-Ph6VfOKJ-EhvYPqu_.js.map} +1 -1
- package/dist/assets/disabled-D0wfAqak-WgYQ6bXA.js +2 -0
- package/dist/assets/{disabled-D0wfAqak-DbNVjYIY.js.map → disabled-D0wfAqak-WgYQ6bXA.js.map} +1 -1
- package/dist/assets/has-closer-OxGfsISj-ZHA0qi2d.js +2 -0
- package/dist/assets/{has-closer-OxGfsISj-DMhGRipo.js.map → has-closer-OxGfsISj-ZHA0qi2d.js.map} +1 -1
- package/dist/assets/hide-label-90DGA8H4-CPsH9x1s.js +2 -0
- package/dist/assets/{hide-label-90DGA8H4-_mHfl5St.js.map → hide-label-90DGA8H4-CPsH9x1s.js.map} +1 -1
- package/dist/assets/href-BDekIhFd-DydGdPLP.js +2 -0
- package/dist/assets/{href-BDekIhFd-Bctc3ato.js.map → href-BDekIhFd-DydGdPLP.js.map} +1 -1
- package/dist/assets/i18n-CvQhdUrE-41CJ9phK.js +2 -0
- package/dist/assets/{i18n-CvQhdUrE-6whOzijI.js.map → i18n-CvQhdUrE-41CJ9phK.js.map} +1 -1
- package/dist/assets/{icons-DpMX_jnF-BXC-qhq9.js → icons-DpMX_jnF-CKNktHzC.js} +2 -2
- package/dist/assets/{icons-DpMX_jnF-BXC-qhq9.js.map → icons-DpMX_jnF-CKNktHzC.js.map} +1 -1
- package/dist/assets/image-source-udiqQ1zY-Bu6y1SIp.js +2 -0
- package/dist/assets/{image-source-udiqQ1zY-DhiKeE5g.js.map → image-source-udiqQ1zY-Bu6y1SIp.js.map} +1 -1
- package/dist/assets/index-BRSXyzFh.css +1 -0
- package/dist/assets/{index-DGHHmQDJ.js → index-Dmdln5LU.js} +3140 -454
- package/dist/assets/index-Dmdln5LU.js.map +1 -0
- package/dist/assets/inline-eBYBtb1X-CHUyl9Hn.js +2 -0
- package/dist/assets/{inline-eBYBtb1X-CTAsZFv4.js.map → inline-eBYBtb1X-CHUyl9Hn.js.map} +1 -1
- package/dist/assets/{kol-abbr.entry-vl8ZnVgF.js → kol-abbr.entry-Cml1tQmV.js} +2 -2
- package/dist/assets/{kol-abbr.entry-vl8ZnVgF.js.map → kol-abbr.entry-Cml1tQmV.js.map} +1 -1
- package/dist/assets/{kol-accordion.entry-5CSNWj2m.js → kol-accordion.entry-BxRyX7b0.js} +2 -2
- package/dist/assets/{kol-accordion.entry-5CSNWj2m.js.map → kol-accordion.entry-BxRyX7b0.js.map} +1 -1
- package/dist/assets/{kol-alert-wc.entry-Ch17EaZ5.js → kol-alert-wc.entry-CX8c5CKE.js} +2 -2
- package/dist/assets/{kol-alert-wc.entry-Ch17EaZ5.js.map → kol-alert-wc.entry-CX8c5CKE.js.map} +1 -1
- package/dist/assets/{kol-alert.entry-CWod6rL0.js → kol-alert.entry-BuBPPdfE.js} +2 -2
- package/dist/assets/{kol-alert.entry-CWod6rL0.js.map → kol-alert.entry-BuBPPdfE.js.map} +1 -1
- package/dist/assets/{kol-avatar-wc.entry-MkCi03bE.js → kol-avatar-wc.entry-Dydli0PU.js} +2 -2
- package/dist/assets/{kol-avatar-wc.entry-MkCi03bE.js.map → kol-avatar-wc.entry-Dydli0PU.js.map} +1 -1
- package/dist/assets/{kol-avatar.entry-Dm6mb-1z.js → kol-avatar.entry-DNKcNF61.js} +2 -2
- package/dist/assets/{kol-avatar.entry-Dm6mb-1z.js.map → kol-avatar.entry-DNKcNF61.js.map} +1 -1
- package/dist/assets/{kol-badge.entry-BxQiLCd6.js → kol-badge.entry-SBUJ74Kd.js} +2 -2
- package/dist/assets/{kol-badge.entry-BxQiLCd6.js.map → kol-badge.entry-SBUJ74Kd.js.map} +1 -1
- package/dist/assets/{kol-breadcrumb.entry-BVQSRs-W.js → kol-breadcrumb.entry-D19wgt0x.js} +12 -6
- package/dist/assets/{kol-breadcrumb.entry-BVQSRs-W.js.map → kol-breadcrumb.entry-D19wgt0x.js.map} +1 -1
- package/dist/assets/{kol-button-link.entry-DC35bN6_.js → kol-button-link.entry-5g4jU-rT.js} +11 -5
- package/dist/assets/{kol-button-link.entry-DC35bN6_.js.map → kol-button-link.entry-5g4jU-rT.js.map} +1 -1
- package/dist/assets/{kol-button-wc.entry-Cu-PC1ca.js → kol-button-wc.entry-B7ea66WF.js} +2 -2
- package/dist/assets/{kol-button-wc.entry-Cu-PC1ca.js.map → kol-button-wc.entry-B7ea66WF.js.map} +1 -1
- package/dist/assets/{kol-button.entry-BhFSfBDw.js → kol-button.entry-B0V0BSh6.js} +2 -2
- package/dist/assets/{kol-button.entry-BhFSfBDw.js.map → kol-button.entry-B0V0BSh6.js.map} +1 -1
- package/dist/assets/kol-card-wc.entry-B0PRKQAO.js +2 -0
- package/dist/assets/kol-card-wc.entry-B0PRKQAO.js.map +1 -0
- package/dist/assets/{kol-card.entry-CyDucZJy.js → kol-card.entry-B1ppMaNe.js} +2 -2
- package/dist/assets/{kol-card.entry-CyDucZJy.js.map → kol-card.entry-B1ppMaNe.js.map} +1 -1
- package/dist/assets/{kol-combobox.entry-mw1ArTSz.js → kol-combobox.entry-CxjB-bP4.js} +3 -3
- package/dist/assets/kol-combobox.entry-CxjB-bP4.js.map +1 -0
- package/dist/assets/{kol-details.entry-CDLLMchH.js → kol-details.entry-DElEZe1w.js} +2 -2
- package/dist/assets/{kol-details.entry-CDLLMchH.js.map → kol-details.entry-DElEZe1w.js.map} +1 -1
- package/dist/assets/{kol-dialog-wc.entry-CuXacHrL.js → kol-dialog-wc.entry-Vy_MHpRW.js} +2 -2
- package/dist/assets/{kol-dialog-wc.entry-CuXacHrL.js.map → kol-dialog-wc.entry-Vy_MHpRW.js.map} +1 -1
- package/dist/assets/{kol-dialog.entry-DR3S8V7p.js → kol-dialog.entry-CYj-XzZA.js} +2 -2
- package/dist/assets/{kol-dialog.entry-DR3S8V7p.js.map → kol-dialog.entry-CYj-XzZA.js.map} +1 -1
- package/dist/assets/{kol-drawer.entry-CQ_7KvtV.js → kol-drawer.entry-CcFmrzeK.js} +2 -2
- package/dist/assets/{kol-drawer.entry-CQ_7KvtV.js.map → kol-drawer.entry-CcFmrzeK.js.map} +1 -1
- package/dist/assets/{kol-form.entry-Dps7qUFc.js → kol-form.entry-DA970f0a.js} +12 -6
- package/dist/assets/{kol-form.entry-Dps7qUFc.js.map → kol-form.entry-DA970f0a.js.map} +1 -1
- package/dist/assets/{kol-heading.entry-BakI3O1e.js → kol-heading.entry-BuxkQHuw.js} +2 -2
- package/dist/assets/{kol-heading.entry-BakI3O1e.js.map → kol-heading.entry-BuxkQHuw.js.map} +1 -1
- package/dist/assets/{kol-icon.entry-BYsbQVEe.js → kol-icon.entry-UsgP5_CG.js} +21 -17
- package/dist/assets/kol-icon.entry-UsgP5_CG.js.map +1 -0
- package/dist/assets/{kol-image.entry-BwBUrLuu.js → kol-image.entry-CGxh6Jd1.js} +2 -2
- package/dist/assets/{kol-image.entry-BwBUrLuu.js.map → kol-image.entry-CGxh6Jd1.js.map} +1 -1
- package/dist/assets/{kol-input-checkbox.entry-l5hkFcu5.js → kol-input-checkbox.entry-DLT1uqhl.js} +2 -2
- package/dist/assets/{kol-input-checkbox.entry-l5hkFcu5.js.map → kol-input-checkbox.entry-DLT1uqhl.js.map} +1 -1
- package/dist/assets/{kol-input-color.entry-hktW9x8P.js → kol-input-color.entry-DaTNsTrQ.js} +2 -2
- package/dist/assets/{kol-input-color.entry-hktW9x8P.js.map → kol-input-color.entry-DaTNsTrQ.js.map} +1 -1
- package/dist/assets/{kol-input-date.entry-C6AxHLYt.js → kol-input-date.entry-B02kW5mx.js} +2 -2
- package/dist/assets/{kol-input-date.entry-C6AxHLYt.js.map → kol-input-date.entry-B02kW5mx.js.map} +1 -1
- package/dist/assets/{kol-input-email.entry-BKVUAD-A.js → kol-input-email.entry-CxUa_j-q.js} +2 -2
- package/dist/assets/{kol-input-email.entry-BKVUAD-A.js.map → kol-input-email.entry-CxUa_j-q.js.map} +1 -1
- package/dist/assets/{kol-input-file.entry-BxjRbeBG.js → kol-input-file.entry-CA2Bi0yb.js} +2 -2
- package/dist/assets/{kol-input-file.entry-BxjRbeBG.js.map → kol-input-file.entry-CA2Bi0yb.js.map} +1 -1
- package/dist/assets/{kol-input-number.entry-CdfWv3a-.js → kol-input-number.entry-BsZIyUZZ.js} +3 -3
- package/dist/assets/{kol-input-number.entry-CdfWv3a-.js.map → kol-input-number.entry-BsZIyUZZ.js.map} +1 -1
- package/dist/assets/{kol-input-password.entry-CAbwtA1y.js → kol-input-password.entry-BqMCa4tu.js} +2 -2
- package/dist/assets/{kol-input-password.entry-CAbwtA1y.js.map → kol-input-password.entry-BqMCa4tu.js.map} +1 -1
- package/dist/assets/{kol-input-radio.entry-Cr_pVzK3.js → kol-input-radio.entry-DHjjFFfZ.js} +2 -2
- package/dist/assets/{kol-input-radio.entry-Cr_pVzK3.js.map → kol-input-radio.entry-DHjjFFfZ.js.map} +1 -1
- package/dist/assets/{kol-input-range.entry-Cg8RFvfy.js → kol-input-range.entry-CrdgIUa3.js} +2 -2
- package/dist/assets/{kol-input-range.entry-Cg8RFvfy.js.map → kol-input-range.entry-CrdgIUa3.js.map} +1 -1
- package/dist/assets/{kol-input-text.entry-aDu9eHqO.js → kol-input-text.entry-BvBdgv9w.js} +2 -2
- package/dist/assets/{kol-input-text.entry-aDu9eHqO.js.map → kol-input-text.entry-BvBdgv9w.js.map} +1 -1
- package/dist/assets/{kol-kolibri.entry-BlQzH6j4.js → kol-kolibri.entry-u8cDsI2E.js} +2 -2
- package/dist/assets/{kol-kolibri.entry-BlQzH6j4.js.map → kol-kolibri.entry-u8cDsI2E.js.map} +1 -1
- package/dist/assets/{kol-link-button.entry-D4N8_FMf.js → kol-link-button.entry-hlC7MqyL.js} +2 -2
- package/dist/assets/{kol-link-button.entry-D4N8_FMf.js.map → kol-link-button.entry-hlC7MqyL.js.map} +1 -1
- package/dist/assets/{kol-link-wc.entry-DTbxjsQF.js → kol-link-wc.entry-Cph48ETJ.js} +2 -2
- package/dist/assets/{kol-link-wc.entry-DTbxjsQF.js.map → kol-link-wc.entry-Cph48ETJ.js.map} +1 -1
- package/dist/assets/{kol-link.entry-Dr4Zn3n5.js → kol-link.entry-DNYt3jIl.js} +12 -6
- package/dist/assets/{kol-link.entry-Dr4Zn3n5.js.map → kol-link.entry-DNYt3jIl.js.map} +1 -1
- package/dist/assets/{kol-modal.entry-BT_7K_37.js → kol-modal.entry-B_Gfg-uL.js} +2 -2
- package/dist/assets/{kol-modal.entry-BT_7K_37.js.map → kol-modal.entry-B_Gfg-uL.js.map} +1 -1
- package/dist/assets/{kol-nav.entry-Ce7_SDEZ.js → kol-nav.entry-CzyHSQ54.js} +12 -12
- package/dist/assets/kol-nav.entry-CzyHSQ54.js.map +1 -0
- package/dist/assets/{kol-pagination-wc.entry-Bp8K99xq.js → kol-pagination-wc.entry-BjnmjMAS.js} +2 -2
- package/dist/assets/{kol-pagination-wc.entry-Bp8K99xq.js.map → kol-pagination-wc.entry-BjnmjMAS.js.map} +1 -1
- package/dist/assets/{kol-pagination.entry-CFqD_Uge.js → kol-pagination.entry-BSBPTUGZ.js} +2 -2
- package/dist/assets/{kol-pagination.entry-CFqD_Uge.js.map → kol-pagination.entry-BSBPTUGZ.js.map} +1 -1
- package/dist/assets/kol-popover-button-wc.entry-ou6l1WZI.js +2 -0
- package/dist/assets/kol-popover-button-wc.entry-ou6l1WZI.js.map +1 -0
- package/dist/assets/{kol-popover-button.entry-CWpvmlIu.js → kol-popover-button.entry-k87-fS_z.js} +3 -3
- package/dist/assets/{kol-popover-button.entry-CWpvmlIu.js.map → kol-popover-button.entry-k87-fS_z.js.map} +1 -1
- package/dist/assets/{kol-popover-wc.entry-Bgm3zPSc.js → kol-popover-wc.entry-gNX3YzVA.js} +2 -2
- package/dist/assets/{kol-popover-wc.entry-Bgm3zPSc.js.map → kol-popover-wc.entry-gNX3YzVA.js.map} +1 -1
- package/dist/assets/{kol-progress.entry-BFav5sn_.js → kol-progress.entry-B_CFelZE.js} +2 -2
- package/dist/assets/{kol-progress.entry-BFav5sn_.js.map → kol-progress.entry-B_CFelZE.js.map} +1 -1
- package/dist/assets/{kol-quote.entry-CLp-xths.js → kol-quote.entry-DfnTKdfW.js} +2 -2
- package/dist/assets/{kol-quote.entry-CLp-xths.js.map → kol-quote.entry-DfnTKdfW.js.map} +1 -1
- package/dist/assets/{kol-select-wc.entry-gJRtbOs7.js → kol-select-wc.entry-BDKFMXGw.js} +2 -2
- package/dist/assets/{kol-select-wc.entry-gJRtbOs7.js.map → kol-select-wc.entry-BDKFMXGw.js.map} +1 -1
- package/dist/assets/{kol-select.entry-C4hylx9a.js → kol-select.entry-BdGTmAFE.js} +2 -2
- package/dist/assets/{kol-select.entry-C4hylx9a.js.map → kol-select.entry-BdGTmAFE.js.map} +1 -1
- package/dist/assets/kol-single-select.entry-CVSsIk5S.js +396 -0
- package/dist/assets/kol-single-select.entry-CVSsIk5S.js.map +1 -0
- package/dist/assets/{kol-skip-nav.entry-DzW5RnEq.js → kol-skip-nav.entry-Dw0RHXyt.js} +2 -2
- package/dist/assets/{kol-skip-nav.entry-DzW5RnEq.js.map → kol-skip-nav.entry-Dw0RHXyt.js.map} +1 -1
- package/dist/assets/{kol-spin.entry-uw76eQlp.js → kol-spin.entry-DepHPtrK.js} +2 -2
- package/dist/assets/{kol-spin.entry-uw76eQlp.js.map → kol-spin.entry-DepHPtrK.js.map} +1 -1
- package/dist/assets/{kol-split-button.entry-CkWcJETf.js → kol-split-button.entry-eNqrwPcs.js} +2 -2
- package/dist/assets/{kol-split-button.entry-CkWcJETf.js.map → kol-split-button.entry-eNqrwPcs.js.map} +1 -1
- package/dist/assets/kol-table-settings-wc.entry-CK3He1Be.js +2 -0
- package/dist/assets/kol-table-settings-wc.entry-CK3He1Be.js.map +1 -0
- package/dist/assets/{kol-table-stateful.entry-GSPxU23X.js → kol-table-stateful.entry-B6pccQJx.js} +5 -5
- package/dist/assets/kol-table-stateful.entry-B6pccQJx.js.map +1 -0
- package/dist/assets/kol-table-stateless-wc.entry-DE6ybLX5.js +2 -0
- package/dist/assets/kol-table-stateless-wc.entry-DE6ybLX5.js.map +1 -0
- package/dist/assets/{kol-table-stateless.entry-DDSZFi6L.js → kol-table-stateless.entry-BMP1fjjx.js} +5 -5
- package/dist/assets/{kol-table-stateless.entry-DDSZFi6L.js.map → kol-table-stateless.entry-BMP1fjjx.js.map} +1 -1
- package/dist/assets/{kol-tabs.entry-DdK4Xwzy.js → kol-tabs.entry-D47E8dZc.js} +2 -2
- package/dist/assets/{kol-tabs.entry-DdK4Xwzy.js.map → kol-tabs.entry-D47E8dZc.js.map} +1 -1
- package/dist/assets/{kol-textarea.entry-_bjBVSus.js → kol-textarea.entry-BXOxfaaV.js} +3 -3
- package/dist/assets/{kol-textarea.entry-_bjBVSus.js.map → kol-textarea.entry-BXOxfaaV.js.map} +1 -1
- package/dist/assets/{kol-toast-container.entry-D0GAhtmN.js → kol-toast-container.entry-CvXEns-H.js} +2 -2
- package/dist/assets/{kol-toast-container.entry-D0GAhtmN.js.map → kol-toast-container.entry-CvXEns-H.js.map} +1 -1
- package/dist/assets/{kol-toolbar.entry-BH0mNqHg.js → kol-toolbar.entry-CQ8VO8LD.js} +2 -2
- package/dist/assets/{kol-toolbar.entry-BH0mNqHg.js.map → kol-toolbar.entry-CQ8VO8LD.js.map} +1 -1
- package/dist/assets/{kol-tooltip-wc.entry-D7ZqFvKa.js → kol-tooltip-wc.entry-CG7HFpYa.js} +2 -2
- package/dist/assets/{kol-tooltip-wc.entry-D7ZqFvKa.js.map → kol-tooltip-wc.entry-CG7HFpYa.js.map} +1 -1
- package/dist/assets/{kol-tree-item-wc.entry-Cx3dNGIk.js → kol-tree-item-wc.entry-Dw0lUirD.js} +2 -2
- package/dist/assets/{kol-tree-item-wc.entry-Cx3dNGIk.js.map → kol-tree-item-wc.entry-Dw0lUirD.js.map} +1 -1
- package/dist/assets/{kol-tree-item.entry-By1Bi5I5.js → kol-tree-item.entry-BQxpOoOj.js} +2 -2
- package/dist/assets/{kol-tree-item.entry-By1Bi5I5.js.map → kol-tree-item.entry-BQxpOoOj.js.map} +1 -1
- package/dist/assets/{kol-tree-wc.entry-CCsSL8XW.js → kol-tree-wc.entry-ZPHPa8Wc.js} +2 -2
- package/dist/assets/{kol-tree-wc.entry-CCsSL8XW.js.map → kol-tree-wc.entry-ZPHPa8Wc.js.map} +1 -1
- package/dist/assets/{kol-tree.entry-Zqg1jyhC.js → kol-tree.entry-DEd1uQzz.js} +2 -2
- package/dist/assets/{kol-tree.entry-Zqg1jyhC.js.map → kol-tree.entry-DEd1uQzz.js.map} +1 -1
- package/dist/assets/{kol-version.entry-CRwc7ncb.js → kol-version.entry-r9YpKu3t.js} +2 -2
- package/dist/assets/{kol-version.entry-CRwc7ncb.js.map → kol-version.entry-r9YpKu3t.js.map} +1 -1
- package/dist/assets/kolicons/kolicons.eot +0 -0
- package/dist/assets/kolicons/kolicons.json +2 -1
- package/dist/assets/kolicons/kolicons.svg +14 -11
- package/dist/assets/kolicons/kolicons.ttf +0 -0
- package/dist/assets/kolicons/kolicons.woff +0 -0
- package/dist/assets/kolicons/kolicons.woff2 +0 -0
- package/dist/assets/kolicons/style.css +19 -18
- package/dist/assets/{label-Dkj9sxQK-Dg16JEJW.js → label-Dkj9sxQK-BNa4b5vQ.js} +2 -2
- package/dist/assets/{label-Dkj9sxQK-Dg16JEJW.js.map → label-Dkj9sxQK-BNa4b5vQ.js.map} +1 -1
- package/dist/assets/{markdown-CaS836ev-B5rjVu7K.js → markdown-CaS836ev-DYZ4_hFJ.js} +2 -2
- package/dist/assets/{markdown-CaS836ev-B5rjVu7K.js.map → markdown-CaS836ev-DYZ4_hFJ.js.map} +1 -1
- package/dist/assets/{max-length-behavior-C7oPJjTW-DCaOmqCt.js → max-length-behavior-C7oPJjTW-BUKcXYg2.js} +2 -2
- package/dist/assets/{max-length-behavior-C7oPJjTW-DCaOmqCt.js.map → max-length-behavior-C7oPJjTW-BUKcXYg2.js.map} +1 -1
- package/dist/assets/multiple-BYEUdjyO-BlqDte5z.js +2 -0
- package/dist/assets/{multiple-BYEUdjyO-XnEg1BqZ.js.map → multiple-BYEUdjyO-BlqDte5z.js.map} +1 -1
- package/dist/assets/open-Cuy37cT5-BAF27dg_.js +2 -0
- package/dist/assets/{open-Cuy37cT5-jIE1JU1x.js.map → open-Cuy37cT5-BAF27dg_.js.map} +1 -1
- package/dist/assets/{orientation-uIK98CL3-BJOlaNy5.js → orientation-uIK98CL3-GnuGPc32.js} +2 -2
- package/dist/assets/{orientation-uIK98CL3-BJOlaNy5.js.map → orientation-uIK98CL3-GnuGPc32.js.map} +1 -1
- package/dist/assets/placeholder-C0qu-_xi-DYf9xerZ.js +2 -0
- package/dist/assets/{placeholder-C0qu-_xi-BSVd3o1N.js.map → placeholder-C0qu-_xi-DYf9xerZ.js.map} +1 -1
- package/dist/assets/read-only-DqzvkuwG-BrsTxzaV.js +2 -0
- package/dist/assets/{read-only-DqzvkuwG-DUWzE-c6.js.map → read-only-DqzvkuwG-BrsTxzaV.js.map} +1 -1
- package/dist/assets/required-IJ-wNQGn-HruBsDOi.js +2 -0
- package/dist/assets/{required-IJ-wNQGn-DO_vUMxX.js.map → required-IJ-wNQGn-HruBsDOi.js.map} +1 -1
- package/dist/assets/rows-CaNxvJ4Y-1vgwA0Ad.js +2 -0
- package/dist/assets/{rows-CaNxvJ4Y-CCwsjk9S.js.map → rows-CaNxvJ4Y-1vgwA0Ad.js.map} +1 -1
- package/dist/assets/show-DVtFSh7x-P6yUh7Vs.js +2 -0
- package/dist/assets/{show-DVtFSh7x-BBwcwTa_.js.map → show-DVtFSh7x-P6yUh7Vs.js.map} +1 -1
- package/dist/assets/spell-check-BBqBRmnp-Bf20m3Sb.js +2 -0
- package/dist/assets/{spell-check-BBqBRmnp-DRa5vdSL.js.map → spell-check-BBqBRmnp-Bf20m3Sb.js.map} +1 -1
- package/dist/assets/{suggestions-CsvpWHvb-BoK8CcT8.js → suggestions-CsvpWHvb-DOVB4cm-.js} +2 -2
- package/dist/assets/{suggestions-CsvpWHvb-BoK8CcT8.js.map → suggestions-CsvpWHvb-DOVB4cm-.js.map} +1 -1
- package/dist/assets/{table-selection-C4VgH6EI-Pt3b_e19.js → table-selection-C4VgH6EI-BFYnr2Pj.js} +2 -2
- package/dist/assets/{table-selection-C4VgH6EI-Pt3b_e19.js.map → table-selection-C4VgH6EI-BFYnr2Pj.js.map} +1 -1
- package/dist/assets/test-component.entry-ncyfMwsq.js +2 -0
- package/dist/assets/{test-component.entry-DxhjmQyX.js.map → test-component.entry-ncyfMwsq.js.map} +1 -1
- package/dist/assets/tooltip-align-P-7pyT1i-IQkxCkJf.js +2 -0
- package/dist/assets/{tooltip-align-P-7pyT1i-BRQI9ato.js.map → tooltip-align-P-7pyT1i-IQkxCkJf.js.map} +1 -1
- package/dist/assets/{unique-nav-labels-B6560U3V-Cnt9ZUX6.js → unique-nav-labels-B6560U3V-DfguIg81.js} +2 -2
- package/dist/assets/{unique-nav-labels-B6560U3V-Cnt9ZUX6.js.map → unique-nav-labels-B6560U3V-DfguIg81.js.map} +1 -1
- package/dist/assets/{validation-Ct877GbF-eJYFla_W.js → validation-Ct877GbF-DVbQ1ksT.js} +2 -2
- package/dist/assets/{validation-Ct877GbF-eJYFla_W.js.map → validation-Ct877GbF-DVbQ1ksT.js.map} +1 -1
- package/dist/assets/validation-D0gTVdAQ-DHstcvc0.js +2 -0
- package/dist/assets/{validation-D0gTVdAQ-XrZ6Pdtg.js.map → validation-D0gTVdAQ-DHstcvc0.js.map} +1 -1
- package/dist/index.html +2 -2
- package/package.json +14 -14
- package/public/assets/kolicons/kolicons.eot +0 -0
- package/public/assets/kolicons/kolicons.json +2 -1
- package/public/assets/kolicons/kolicons.svg +14 -11
- package/public/assets/kolicons/kolicons.ttf +0 -0
- package/public/assets/kolicons/kolicons.woff +0 -0
- package/public/assets/kolicons/kolicons.woff2 +0 -0
- package/public/assets/kolicons/style.css +19 -18
- package/src/components/breadcrumb/basic.tsx +1 -1
- package/src/components/button/icons.tsx +1 -1
- package/src/components/handout/basic.tsx +45 -52
- package/src/components/table/column-alignment.tsx +13 -17
- package/src/components/table/complex-headers.tsx +28 -1
- package/src/components/table/direction-aware-sort.tsx +3 -2
- package/src/components/table/horizontal-scrollbar.tsx +31 -29
- package/src/components/table/interactive-child-elements.tsx +22 -9
- package/src/components/table/multi-sort.tsx +8 -9
- package/src/components/table/non-hidable-columns.tsx +3 -4
- package/src/components/table/pagination-position.tsx +2 -5
- package/src/components/table/predefined-settings.tsx +3 -4
- package/src/components/table/render-cell.tsx +19 -13
- package/src/components/table/settings-column-options.tsx +5 -6
- package/src/components/table/sort-data.tsx +6 -4
- package/src/components/table/stateful-with-selection.tsx +15 -9
- package/src/components/table/stateful-with-single-selection.tsx +15 -9
- package/src/components/table/stateless-with-selection.tsx +12 -8
- package/src/components/table/stateless-with-settings-menu.tsx +0 -1
- package/src/components/table/stateless-with-single-selection.tsx +12 -8
- package/src/components/table/stateless.tsx +0 -1
- package/src/components/table/sticky-header.tsx +8 -8
- package/src/components/table/with-footer.tsx +6 -1
- package/src/components/table/with-pagination.tsx +3 -3
- package/src/scenarios/button-shortkey-table.tsx +2 -3
- package/src/scenarios/horizontal-scrollbar-advanced/TableHorizontalScrollbarAdvanced.tsx +5 -16
- package/dist/assets/custom-class-B6h_ZSR7-NfdcDwAH.js +0 -2
- package/dist/assets/disabled-D0wfAqak-DbNVjYIY.js +0 -2
- package/dist/assets/has-closer-OxGfsISj-DMhGRipo.js +0 -2
- package/dist/assets/hide-label-90DGA8H4-_mHfl5St.js +0 -2
- package/dist/assets/href-BDekIhFd-Bctc3ato.js +0 -2
- package/dist/assets/i18n-CvQhdUrE-6whOzijI.js +0 -2
- package/dist/assets/image-source-udiqQ1zY-DhiKeE5g.js +0 -2
- package/dist/assets/index-DGHHmQDJ.js.map +0 -1
- package/dist/assets/index-e2pNbaT-.css +0 -1
- package/dist/assets/inline-eBYBtb1X-CTAsZFv4.js +0 -2
- package/dist/assets/kol-card-wc.entry-DkQRLDbh.js +0 -2
- package/dist/assets/kol-card-wc.entry-DkQRLDbh.js.map +0 -1
- package/dist/assets/kol-combobox.entry-mw1ArTSz.js.map +0 -1
- package/dist/assets/kol-icon.entry-BYsbQVEe.js.map +0 -1
- package/dist/assets/kol-nav.entry-Ce7_SDEZ.js.map +0 -1
- package/dist/assets/kol-popover-button-wc.entry-Bg43BiNL.js +0 -2
- package/dist/assets/kol-popover-button-wc.entry-Bg43BiNL.js.map +0 -1
- package/dist/assets/kol-single-select.entry-Cj11CoNF.js +0 -396
- package/dist/assets/kol-single-select.entry-Cj11CoNF.js.map +0 -1
- package/dist/assets/kol-table-settings-wc.entry-D2CCn2t-.js +0 -2
- package/dist/assets/kol-table-settings-wc.entry-D2CCn2t-.js.map +0 -1
- package/dist/assets/kol-table-stateful.entry-GSPxU23X.js.map +0 -1
- package/dist/assets/kol-table-stateless-wc.entry-DLHI2Nu_.js +0 -2
- package/dist/assets/kol-table-stateless-wc.entry-DLHI2Nu_.js.map +0 -1
- package/dist/assets/multiple-BYEUdjyO-XnEg1BqZ.js +0 -2
- package/dist/assets/open-Cuy37cT5-jIE1JU1x.js +0 -2
- package/dist/assets/placeholder-C0qu-_xi-BSVd3o1N.js +0 -2
- package/dist/assets/read-only-DqzvkuwG-DUWzE-c6.js +0 -2
- package/dist/assets/required-IJ-wNQGn-DO_vUMxX.js +0 -2
- package/dist/assets/rows-CaNxvJ4Y-CCwsjk9S.js +0 -2
- package/dist/assets/show-DVtFSh7x-BBwcwTa_.js +0 -2
- package/dist/assets/spell-check-BBqBRmnp-DRa5vdSL.js +0 -2
- package/dist/assets/test-component.entry-DxhjmQyX.js +0 -2
- package/dist/assets/tooltip-align-P-7pyT1i-BRQI9ato.js +0 -2
- package/dist/assets/validation-D0gTVdAQ-XrZ6Pdtg.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ButtonProps, KoliBriTableHeaders } from '@public-ui/components';
|
|
1
|
+
import type { ButtonProps, KoliBriTableCell, KoliBriTableHeaders } from '@public-ui/components';
|
|
2
2
|
import {
|
|
3
3
|
KolAbbr,
|
|
4
4
|
KolAccordion,
|
|
@@ -56,22 +56,21 @@ const TABLE_HEADERS: KoliBriTableHeaders = {
|
|
|
56
56
|
{
|
|
57
57
|
label: 'Workdays',
|
|
58
58
|
colSpan: 5,
|
|
59
|
+
width: 500,
|
|
59
60
|
},
|
|
60
61
|
{
|
|
61
62
|
label: 'Weekend',
|
|
62
63
|
colSpan: 2,
|
|
64
|
+
width: 200,
|
|
63
65
|
},
|
|
64
66
|
],
|
|
65
67
|
[
|
|
66
68
|
{
|
|
67
69
|
key: 'monday',
|
|
68
70
|
label: 'Monday',
|
|
69
|
-
render: (el, cell) => {
|
|
70
|
-
const
|
|
71
|
-
|
|
72
|
-
el.innerHTML = '';
|
|
73
|
-
el.appendChild(renderElement);
|
|
74
|
-
getRoot(renderElement).render(<KolButtonWrapper _label={cell.label} style={{ fontSize: '75%' }} />);
|
|
71
|
+
render: (el: HTMLElement, cell: KoliBriTableCell) => {
|
|
72
|
+
const { label } = cell as { label: string };
|
|
73
|
+
renderCellContent(el, <KolButtonWrapper _label={label} style={{ fontSize: '75%' }} />);
|
|
75
74
|
},
|
|
76
75
|
compareFn: (first, second) => {
|
|
77
76
|
if ((first as TableDataType).monday < (second as TableDataType).monday) {
|
|
@@ -84,17 +83,14 @@ const TABLE_HEADERS: KoliBriTableHeaders = {
|
|
|
84
83
|
},
|
|
85
84
|
sortDirection: 'ASC',
|
|
86
85
|
textAlign: 'right',
|
|
87
|
-
width:
|
|
86
|
+
width: 100,
|
|
88
87
|
},
|
|
89
88
|
{
|
|
90
89
|
key: 'tuesday',
|
|
91
90
|
label: 'Tuesday',
|
|
92
|
-
render: (el, cell) => {
|
|
93
|
-
const
|
|
94
|
-
|
|
95
|
-
el.innerHTML = '';
|
|
96
|
-
el.appendChild(renderElement);
|
|
97
|
-
getRoot(renderElement).render(<KolBadge _color="#060" _label={cell.label}></KolBadge>);
|
|
91
|
+
render: (el: HTMLElement, cell: KoliBriTableCell) => {
|
|
92
|
+
const { label } = cell as { label: string };
|
|
93
|
+
renderCellContent(el, <KolBadge _color="#060" _label={label}></KolBadge>);
|
|
98
94
|
},
|
|
99
95
|
compareFn: (first, second) => {
|
|
100
96
|
if ((first as TableDataType).tuesday < (second as TableDataType).tuesday) {
|
|
@@ -106,67 +102,52 @@ const TABLE_HEADERS: KoliBriTableHeaders = {
|
|
|
106
102
|
return 0;
|
|
107
103
|
},
|
|
108
104
|
sortDirection: 'DESC',
|
|
109
|
-
width:
|
|
105
|
+
width: 100,
|
|
110
106
|
},
|
|
111
107
|
{
|
|
112
108
|
key: 'wednesday',
|
|
113
109
|
label: 'Wednesday',
|
|
114
|
-
render: (el, cell) => {
|
|
115
|
-
const
|
|
116
|
-
|
|
117
|
-
el.innerHTML = '';
|
|
118
|
-
el.appendChild(renderElement);
|
|
119
|
-
getRoot(renderElement).render(<KolBadge _color="#006" _label={cell.label}></KolBadge>);
|
|
110
|
+
render: (el: HTMLElement, cell: KoliBriTableCell) => {
|
|
111
|
+
const { label } = cell as { label: string };
|
|
112
|
+
renderCellContent(el, <KolBadge _color="#006" _label={label}></KolBadge>);
|
|
120
113
|
},
|
|
121
|
-
width:
|
|
114
|
+
width: 110,
|
|
122
115
|
},
|
|
123
116
|
{
|
|
124
117
|
key: 'thursday',
|
|
125
118
|
label: 'Thursday',
|
|
126
|
-
render: (el, cell) => {
|
|
127
|
-
const
|
|
128
|
-
|
|
129
|
-
el.innerHTML = '';
|
|
130
|
-
el.appendChild(renderElement);
|
|
131
|
-
getRoot(renderElement).render(<KolBadge _color="#600" _label={cell.label}></KolBadge>);
|
|
119
|
+
render: (el: HTMLElement, cell: KoliBriTableCell) => {
|
|
120
|
+
const { label } = cell as { label: string };
|
|
121
|
+
renderCellContent(el, <KolBadge _color="#600" _label={label}></KolBadge>);
|
|
132
122
|
},
|
|
133
|
-
width:
|
|
123
|
+
width: 100,
|
|
134
124
|
},
|
|
135
125
|
{
|
|
136
126
|
key: 'friday',
|
|
137
127
|
label: 'Friday',
|
|
138
|
-
render: (el, cell) => {
|
|
139
|
-
const
|
|
140
|
-
|
|
141
|
-
el.innerHTML = '';
|
|
142
|
-
el.appendChild(renderElement);
|
|
143
|
-
getRoot(renderElement).render(<KolBadge _color="#303" _label={cell.label}></KolBadge>);
|
|
128
|
+
render: (el: HTMLElement, cell: KoliBriTableCell) => {
|
|
129
|
+
const { label } = cell as { label: string };
|
|
130
|
+
renderCellContent(el, <KolBadge _color="#303" _label={label}></KolBadge>);
|
|
144
131
|
},
|
|
145
|
-
width:
|
|
132
|
+
width: 100,
|
|
146
133
|
},
|
|
147
134
|
{
|
|
148
135
|
key: 'saturday',
|
|
149
136
|
label: 'Saturday',
|
|
150
|
-
render: (el, cell) => {
|
|
151
|
-
const
|
|
152
|
-
|
|
153
|
-
el.innerHTML = '';
|
|
154
|
-
el.appendChild(renderElement);
|
|
155
|
-
getRoot(renderElement).render(<KolBadge _color="#330" _label={cell.label}></KolBadge>);
|
|
137
|
+
render: (el: HTMLElement, cell: KoliBriTableCell) => {
|
|
138
|
+
const { label } = cell as { label: string };
|
|
139
|
+
renderCellContent(el, <KolBadge _color="#330" _label={label}></KolBadge>);
|
|
156
140
|
},
|
|
157
|
-
width:
|
|
141
|
+
width: 100,
|
|
158
142
|
},
|
|
159
143
|
{
|
|
160
144
|
key: 'sunday',
|
|
161
145
|
label: 'Sunday',
|
|
162
|
-
render: (el, cell) => {
|
|
163
|
-
const
|
|
164
|
-
|
|
165
|
-
el.innerHTML = '';
|
|
166
|
-
el.appendChild(renderElement);
|
|
167
|
-
getRoot(renderElement).render(<KolBadge _color="#033" _label={cell.label}></KolBadge>);
|
|
146
|
+
render: (el: HTMLElement, cell: KoliBriTableCell) => {
|
|
147
|
+
const { label } = cell as { label: string };
|
|
148
|
+
renderCellContent(el, <KolBadge _color="#033" _label={label}></KolBadge>);
|
|
168
149
|
},
|
|
169
|
-
width:
|
|
150
|
+
width: 100,
|
|
170
151
|
},
|
|
171
152
|
],
|
|
172
153
|
],
|
|
@@ -174,20 +155,32 @@ const TABLE_HEADERS: KoliBriTableHeaders = {
|
|
|
174
155
|
[
|
|
175
156
|
{
|
|
176
157
|
label: 'Early',
|
|
158
|
+
width: 100,
|
|
177
159
|
},
|
|
178
160
|
{
|
|
179
161
|
label: 'Noon',
|
|
162
|
+
width: 100,
|
|
180
163
|
},
|
|
181
164
|
{
|
|
182
165
|
label: 'Evening',
|
|
166
|
+
width: 100,
|
|
183
167
|
},
|
|
184
168
|
{
|
|
185
169
|
label: 'Night',
|
|
170
|
+
width: 100,
|
|
186
171
|
},
|
|
187
172
|
],
|
|
188
173
|
],
|
|
189
174
|
};
|
|
190
175
|
|
|
176
|
+
const renderCellContent = (element: HTMLElement, content: React.ReactNode) => {
|
|
177
|
+
const renderElement = document.createElement('div');
|
|
178
|
+
renderElement.setAttribute('role', 'presentation');
|
|
179
|
+
element.innerHTML = '';
|
|
180
|
+
element.appendChild(renderElement);
|
|
181
|
+
getRoot(renderElement).render(content);
|
|
182
|
+
};
|
|
183
|
+
|
|
191
184
|
export const HandoutBasic: FC = () => {
|
|
192
185
|
const { dummyClickEventHandler } = useToasterService();
|
|
193
186
|
|
|
@@ -471,8 +464,8 @@ export const HandoutBasic: FC = () => {
|
|
|
471
464
|
</KolForm>
|
|
472
465
|
</KolCard>
|
|
473
466
|
<KolCard className="col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-5" _label="Table with Pagination" _level={2}>
|
|
474
|
-
<div slot="" className="
|
|
475
|
-
<KolTableStateful _label="Table"
|
|
467
|
+
<div slot="" className="gap-2 p-2 flex flex-col">
|
|
468
|
+
<KolTableStateful _label="Table" _headers={TABLE_HEADERS} _data={TABLE_DATA} _pagination></KolTableStateful>
|
|
476
469
|
</div>
|
|
477
470
|
</KolCard>
|
|
478
471
|
</div>
|
|
@@ -18,13 +18,12 @@ export const TableColumnAlignment: FC = () => (
|
|
|
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"
|
|
22
21
|
_headers={{
|
|
23
22
|
horizontal: [
|
|
24
23
|
[
|
|
25
|
-
{ label: 'left', key: 'left', textAlign: 'left' },
|
|
26
|
-
{ label: 'center', key: 'center', textAlign: 'center' },
|
|
27
|
-
{ label: 'right', key: 'right', textAlign: 'right' },
|
|
24
|
+
{ label: 'left', key: 'left', textAlign: 'left', width: 160 },
|
|
25
|
+
{ label: 'center', key: 'center', textAlign: 'center', width: 160 },
|
|
26
|
+
{ label: 'right', key: 'right', textAlign: 'right', width: 160 },
|
|
28
27
|
],
|
|
29
28
|
],
|
|
30
29
|
}}
|
|
@@ -36,13 +35,12 @@ export const TableColumnAlignment: FC = () => (
|
|
|
36
35
|
<KolHeading _label="Table with sortable columns" _level={3} className="block mt-6"></KolHeading>
|
|
37
36
|
<KolTableStateful
|
|
38
37
|
_label="Table for demonstration purposes with sortable columns"
|
|
39
|
-
_minWidth="auto"
|
|
40
38
|
_headers={{
|
|
41
39
|
horizontal: [
|
|
42
40
|
[
|
|
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 },
|
|
41
|
+
{ label: 'left', key: 'left', textAlign: 'left', compareFn: genericNonSorter, width: 160 },
|
|
42
|
+
{ label: 'center', key: 'center', textAlign: 'center', compareFn: genericNonSorter, width: 160 },
|
|
43
|
+
{ label: 'right', key: 'right', textAlign: 'right', compareFn: genericNonSorter, width: 160 },
|
|
46
44
|
],
|
|
47
45
|
],
|
|
48
46
|
}}
|
|
@@ -54,13 +52,12 @@ export const TableColumnAlignment: FC = () => (
|
|
|
54
52
|
<KolHeading _label="Table some sortable columns" _level={3} className="block mt-6"></KolHeading>
|
|
55
53
|
<KolTableStateful
|
|
56
54
|
_label="Table for demonstration purposes with some but not all columns sortable"
|
|
57
|
-
_minWidth="auto"
|
|
58
55
|
_headers={{
|
|
59
56
|
horizontal: [
|
|
60
57
|
[
|
|
61
|
-
{ label: 'left', key: 'left', textAlign: 'left', compareFn: genericNonSorter },
|
|
62
|
-
{ label: 'center', key: 'center', textAlign: 'center', compareFn: genericNonSorter },
|
|
63
|
-
{ label: 'right', key: 'right', textAlign: 'right' },
|
|
58
|
+
{ label: 'left', key: 'left', textAlign: 'left', compareFn: genericNonSorter, width: 160 },
|
|
59
|
+
{ label: 'center', key: 'center', textAlign: 'center', compareFn: genericNonSorter, width: 160 },
|
|
60
|
+
{ label: 'right', key: 'right', textAlign: 'right', width: 160 },
|
|
64
61
|
],
|
|
65
62
|
],
|
|
66
63
|
}}
|
|
@@ -72,16 +69,15 @@ export const TableColumnAlignment: FC = () => (
|
|
|
72
69
|
<KolHeading _label="Table with vertical heading" _level={3} className="block mt-6"></KolHeading>
|
|
73
70
|
<KolTableStateful
|
|
74
71
|
_label="Table for demonstration purposes with vertical heading"
|
|
75
|
-
_minWidth="auto"
|
|
76
72
|
_headers={{
|
|
77
73
|
horizontal: [
|
|
78
74
|
[
|
|
79
|
-
{ label: 'left', key: 'left', textAlign: 'left' },
|
|
80
|
-
{ label: 'center', key: 'center', textAlign: 'center' },
|
|
81
|
-
{ label: 'right', key: 'right', textAlign: 'right' },
|
|
75
|
+
{ label: 'left', key: 'left', textAlign: 'left', width: 160 },
|
|
76
|
+
{ label: 'center', key: 'center', textAlign: 'center', width: 160 },
|
|
77
|
+
{ label: 'right', key: 'right', textAlign: 'right', width: 160 },
|
|
82
78
|
],
|
|
83
79
|
],
|
|
84
|
-
vertical: [[{ label: 'Vertical' }]],
|
|
80
|
+
vertical: [[{ label: 'Vertical', width: 160 }]],
|
|
85
81
|
}}
|
|
86
82
|
_data={DATA}
|
|
87
83
|
className="block"
|
|
@@ -12,7 +12,6 @@ export const TableComplexHeaders: FC = () => (
|
|
|
12
12
|
<section className="w-full flex flex-col">
|
|
13
13
|
<KolTableStateful
|
|
14
14
|
_label="Business hours"
|
|
15
|
-
_minWidth="auto"
|
|
16
15
|
_data={[
|
|
17
16
|
{
|
|
18
17
|
asp: 'Center',
|
|
@@ -21,6 +20,8 @@ export const TableComplexHeaders: FC = () => (
|
|
|
21
20
|
wednesday: '10:00',
|
|
22
21
|
thursday: '11:00',
|
|
23
22
|
friday: '08:00',
|
|
23
|
+
saturday: '09:00',
|
|
24
|
+
sunday: '10:00',
|
|
24
25
|
},
|
|
25
26
|
{
|
|
26
27
|
asp: 'Tiergarten',
|
|
@@ -29,6 +30,8 @@ export const TableComplexHeaders: FC = () => (
|
|
|
29
30
|
wednesday: '10:00',
|
|
30
31
|
thursday: '11:00',
|
|
31
32
|
friday: '08:00',
|
|
33
|
+
saturday: '09:00',
|
|
34
|
+
sunday: '10:00',
|
|
32
35
|
},
|
|
33
36
|
{
|
|
34
37
|
asp: 'Maxvorstadt',
|
|
@@ -37,6 +40,8 @@ export const TableComplexHeaders: FC = () => (
|
|
|
37
40
|
wednesday: '10:00',
|
|
38
41
|
thursday: '11:00',
|
|
39
42
|
friday: '08:00',
|
|
43
|
+
saturday: '09:00',
|
|
44
|
+
sunday: '10:00',
|
|
40
45
|
},
|
|
41
46
|
]}
|
|
42
47
|
_headers={{
|
|
@@ -45,9 +50,11 @@ export const TableComplexHeaders: FC = () => (
|
|
|
45
50
|
{
|
|
46
51
|
label: 'Berlin',
|
|
47
52
|
rowSpan: 2,
|
|
53
|
+
width: 100,
|
|
48
54
|
},
|
|
49
55
|
{
|
|
50
56
|
label: 'München',
|
|
57
|
+
width: 100,
|
|
51
58
|
},
|
|
52
59
|
],
|
|
53
60
|
],
|
|
@@ -57,44 +64,64 @@ export const TableComplexHeaders: FC = () => (
|
|
|
57
64
|
label: 'District',
|
|
58
65
|
rowSpan: 2,
|
|
59
66
|
key: 'asp',
|
|
67
|
+
width: 120,
|
|
68
|
+
textAlign: 'center',
|
|
60
69
|
},
|
|
61
70
|
{
|
|
62
71
|
label: 'Workdays',
|
|
63
72
|
colSpan: 5,
|
|
73
|
+
width: 580,
|
|
74
|
+
textAlign: 'center',
|
|
64
75
|
},
|
|
65
76
|
{
|
|
66
77
|
label: 'Weekend',
|
|
67
78
|
colSpan: 2,
|
|
79
|
+
width: 200,
|
|
80
|
+
textAlign: 'center',
|
|
68
81
|
},
|
|
69
82
|
],
|
|
70
83
|
[
|
|
71
84
|
{
|
|
72
85
|
label: 'Monday',
|
|
73
86
|
key: 'monday',
|
|
87
|
+
width: 50,
|
|
88
|
+
textAlign: 'center',
|
|
74
89
|
},
|
|
75
90
|
{
|
|
76
91
|
label: 'Tuesday',
|
|
77
92
|
key: 'tuesday',
|
|
93
|
+
width: 50,
|
|
94
|
+
textAlign: 'center',
|
|
78
95
|
},
|
|
79
96
|
{
|
|
80
97
|
label: 'Wednesday',
|
|
81
98
|
key: 'wednesday',
|
|
99
|
+
width: 50,
|
|
100
|
+
textAlign: 'center',
|
|
82
101
|
},
|
|
83
102
|
{
|
|
84
103
|
label: 'Thursday',
|
|
85
104
|
key: 'thursday',
|
|
105
|
+
width: 50,
|
|
106
|
+
textAlign: 'center',
|
|
86
107
|
},
|
|
87
108
|
{
|
|
88
109
|
label: 'Friday',
|
|
89
110
|
key: 'friday',
|
|
111
|
+
width: 50,
|
|
112
|
+
textAlign: 'center',
|
|
90
113
|
},
|
|
91
114
|
{
|
|
92
115
|
label: 'Saturday',
|
|
93
116
|
key: 'saturday',
|
|
117
|
+
width: 50,
|
|
118
|
+
textAlign: 'center',
|
|
94
119
|
},
|
|
95
120
|
{
|
|
96
121
|
label: 'Sunday',
|
|
97
122
|
key: 'sunday',
|
|
123
|
+
width: 50,
|
|
124
|
+
textAlign: 'center',
|
|
98
125
|
},
|
|
99
126
|
],
|
|
100
127
|
],
|
|
@@ -23,11 +23,12 @@ const TEMPERATURE_DATA: TemperatureRow[] = [
|
|
|
23
23
|
const HEADERS: KoliBriTableHeaders = {
|
|
24
24
|
horizontal: [
|
|
25
25
|
[
|
|
26
|
-
{ label: 'City', key: 'city' },
|
|
26
|
+
{ label: 'City', key: 'city', width: 160 },
|
|
27
27
|
{
|
|
28
28
|
label: 'Temperature (°C)',
|
|
29
29
|
key: 'temperature',
|
|
30
30
|
textAlign: 'right',
|
|
31
|
+
width: 160,
|
|
31
32
|
compareFn: (rowA, rowB, direction = 'ASC') => {
|
|
32
33
|
const temperatureA = (rowA as TemperatureRow).temperature;
|
|
33
34
|
const temperatureB = (rowB as TemperatureRow).temperature;
|
|
@@ -59,7 +60,7 @@ export const TableDirectionAwareSort: FC = () => (
|
|
|
59
60
|
</SampleDescription>
|
|
60
61
|
|
|
61
62
|
<section className="w-full">
|
|
62
|
-
<KolTableStateful
|
|
63
|
+
<KolTableStateful _label="Direction aware compare function" _data={TEMPERATURE_DATA} _headers={HEADERS} className="block" />
|
|
63
64
|
</section>
|
|
64
65
|
</>
|
|
65
66
|
);
|
|
@@ -14,14 +14,37 @@ const DATA = [{ small: 'Small Example', large: 'Larger Example' }];
|
|
|
14
14
|
const HEADERS: KoliBriTableHeaders = {
|
|
15
15
|
horizontal: [
|
|
16
16
|
[
|
|
17
|
-
{ label: 'Small Column', key: 'small', textAlign: 'left', width:
|
|
18
|
-
{ label: 'Large Column', key: 'large', textAlign: 'left', width:
|
|
19
|
-
{ label: 'Larger Column', key: 'large', textAlign: 'left', width:
|
|
20
|
-
{ label: 'Larger Column', key: 'large', textAlign: 'left', width:
|
|
17
|
+
{ label: 'Small Column', key: 'small', textAlign: 'left', width: 200 },
|
|
18
|
+
{ label: 'Large Column', key: 'large', textAlign: 'left', width: 300 },
|
|
19
|
+
{ label: 'Larger Column', key: 'large', textAlign: 'left', width: 400 },
|
|
20
|
+
{ label: 'Larger Column', key: 'large', textAlign: 'left', width: 400 },
|
|
21
|
+
],
|
|
22
|
+
],
|
|
23
|
+
};
|
|
24
|
+
const COMPACT_HEADERS: KoliBriTableHeaders = {
|
|
25
|
+
horizontal: [
|
|
26
|
+
[
|
|
27
|
+
{ label: 'Small Column', key: 'small', textAlign: 'left', width: 160 },
|
|
28
|
+
{ label: 'Large Column', key: 'large', textAlign: 'left', width: 160 },
|
|
29
|
+
{ label: 'Larger Column', key: 'large', textAlign: 'left', width: 160 },
|
|
21
30
|
],
|
|
22
31
|
],
|
|
23
32
|
};
|
|
24
33
|
const genericNonSorter = () => 0;
|
|
34
|
+
const ORDER_HEADERS: KoliBriTableHeaders = {
|
|
35
|
+
horizontal: [
|
|
36
|
+
[
|
|
37
|
+
{ label: 'Order', key: 'order', width: 160 },
|
|
38
|
+
{
|
|
39
|
+
label: 'Date',
|
|
40
|
+
key: 'date',
|
|
41
|
+
width: 160,
|
|
42
|
+
compareFn: genericNonSorter,
|
|
43
|
+
render: (_el, _cell, tupel) => DATE_FORMATTER.format((tupel as unknown as Data).date),
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
],
|
|
47
|
+
};
|
|
25
48
|
|
|
26
49
|
export const TableHorizontalScrollbar: FC = () => {
|
|
27
50
|
const [hasWidthRestriction, setHasWidthRestriction] = useState(true);
|
|
@@ -39,34 +62,14 @@ export const TableHorizontalScrollbar: FC = () => {
|
|
|
39
62
|
<div className="w-[400px] flex flex-col gap-4">
|
|
40
63
|
<KolTableStateful
|
|
41
64
|
_label="Table for demonstration purposes with horizontal scrollbar."
|
|
42
|
-
|
|
43
|
-
_headers={HEADERS}
|
|
65
|
+
_headers={hasWidthRestriction ? HEADERS : COMPACT_HEADERS}
|
|
44
66
|
_data={DATA}
|
|
45
67
|
className="block"
|
|
46
68
|
/>
|
|
69
|
+
<KolTableStateful _label="Table for demonstration horizontal scrolling with pagination." _headers={ORDER_HEADERS} _data={tableData} _pagination />
|
|
47
70
|
<KolTableStateful
|
|
48
|
-
_label="Table for demonstration horizontal
|
|
49
|
-
|
|
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}
|
|
71
|
+
_label="Table for demonstration purposes with horizontal scrollbar with auto width calculation."
|
|
72
|
+
_headers={hasWidthRestriction ? HEADERS : COMPACT_HEADERS}
|
|
70
73
|
_data={[]}
|
|
71
74
|
className="block"
|
|
72
75
|
/>
|
|
@@ -90,7 +93,6 @@ export const TableHorizontalScrollbar: FC = () => {
|
|
|
90
93
|
|
|
91
94
|
<KolTableStateful
|
|
92
95
|
_label="Table for demonstration purposes without horizontal scrollbar"
|
|
93
|
-
_minWidth="600px"
|
|
94
96
|
_headers={HEADERS}
|
|
95
97
|
_data={DATA}
|
|
96
98
|
className="block"
|
|
@@ -17,19 +17,22 @@ function KolButtonWrapper({ _on, ...other }: ButtonProps) {
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
const getButtonHeaderCell = (variant: ButtonVariantPropType): KoliBriTableHeaderCell => {
|
|
20
|
-
const
|
|
20
|
+
const variantLabel = `${variant}`;
|
|
21
|
+
const capitalizedVariant = variantLabel.charAt(0).toUpperCase() + variantLabel.slice(1);
|
|
21
22
|
return {
|
|
22
23
|
label: capitalizedVariant,
|
|
23
|
-
key:
|
|
24
|
+
key: variantLabel,
|
|
24
25
|
textAlign: 'left',
|
|
26
|
+
width: 160,
|
|
25
27
|
render: (element: HTMLElement, cell: KoliBriTableCell) => {
|
|
28
|
+
const { label } = cell as { label: string };
|
|
26
29
|
const commonProps = {
|
|
27
30
|
_label: capitalizedVariant,
|
|
28
31
|
_variant: variant,
|
|
29
32
|
_icons: { right: 'kolicon-kolibri' },
|
|
30
33
|
};
|
|
31
34
|
getRoot(createReactRenderElement(element)).render(
|
|
32
|
-
|
|
35
|
+
label === 'button' ? <KolButtonWrapper {...commonProps} /> : <KolLinkButton _href="#/back-page" {...commonProps} />,
|
|
33
36
|
);
|
|
34
37
|
},
|
|
35
38
|
};
|
|
@@ -46,7 +49,6 @@ export const InteractiveChildElements: FC = () => (
|
|
|
46
49
|
<section className="w-full flex flex-col">
|
|
47
50
|
<KolTableStateless
|
|
48
51
|
_label="Button styles"
|
|
49
|
-
_minWidth="auto"
|
|
50
52
|
_headerCells={{
|
|
51
53
|
horizontal: [
|
|
52
54
|
[
|
|
@@ -57,7 +59,12 @@ export const InteractiveChildElements: FC = () => (
|
|
|
57
59
|
getButtonHeaderCell('ghost'),
|
|
58
60
|
],
|
|
59
61
|
],
|
|
60
|
-
vertical: [
|
|
62
|
+
vertical: [
|
|
63
|
+
[
|
|
64
|
+
{ label: 'Button', width: 120 },
|
|
65
|
+
{ label: 'Link-Button', width: 120 },
|
|
66
|
+
],
|
|
67
|
+
],
|
|
61
68
|
}}
|
|
62
69
|
_data={[
|
|
63
70
|
{
|
|
@@ -80,7 +87,6 @@ export const InteractiveChildElements: FC = () => (
|
|
|
80
87
|
|
|
81
88
|
<KolTableStateless
|
|
82
89
|
_label="Link styles"
|
|
83
|
-
_minWidth="auto"
|
|
84
90
|
_headerCells={{
|
|
85
91
|
horizontal: [
|
|
86
92
|
[
|
|
@@ -88,19 +94,26 @@ export const InteractiveChildElements: FC = () => (
|
|
|
88
94
|
key: 'regular',
|
|
89
95
|
label: 'Regular',
|
|
90
96
|
textAlign: 'left',
|
|
97
|
+
width: 180,
|
|
91
98
|
render: (element: HTMLElement, cell: KoliBriTableCell) => {
|
|
99
|
+
const { label } = cell as { label: string };
|
|
92
100
|
const commonProps = {
|
|
93
|
-
_label:
|
|
101
|
+
_label: label,
|
|
94
102
|
_icons: { right: 'kolicon-kolibri' },
|
|
95
103
|
};
|
|
96
104
|
getRoot(createReactRenderElement(element)).render(
|
|
97
|
-
|
|
105
|
+
label === 'button-link' ? <KolButtonLink {...commonProps} /> : <KolLink _href="#/back-page" {...commonProps} />,
|
|
98
106
|
);
|
|
99
107
|
},
|
|
100
108
|
},
|
|
101
109
|
],
|
|
102
110
|
],
|
|
103
|
-
vertical: [
|
|
111
|
+
vertical: [
|
|
112
|
+
[
|
|
113
|
+
{ label: 'Link', width: 140 },
|
|
114
|
+
{ label: 'Button-Link', width: 140 },
|
|
115
|
+
],
|
|
116
|
+
],
|
|
104
117
|
}}
|
|
105
118
|
_data={[
|
|
106
119
|
{
|
|
@@ -49,10 +49,12 @@ const BACKLOG_DATA: BacklogEntry[] = Array.from({ length: 15 }).map((_, index) =
|
|
|
49
49
|
status: STATUS_SEQUENCE[index % STATUS_SEQUENCE.length],
|
|
50
50
|
openTickets: (index * 3) % 11,
|
|
51
51
|
}));
|
|
52
|
+
|
|
52
53
|
const TABLE_HEADER_CELLS: KoliBriTableHeaderCellWithLogic[] = [
|
|
53
54
|
{
|
|
54
55
|
label: 'Assignee',
|
|
55
56
|
key: 'assignee',
|
|
57
|
+
|
|
56
58
|
compareFn: (data0: KoliBriTableDataType, data1: KoliBriTableDataType) =>
|
|
57
59
|
(data0 as BacklogEntry).assignee.localeCompare((data1 as BacklogEntry).assignee, 'de'),
|
|
58
60
|
sortDirection: 'ASC',
|
|
@@ -60,12 +62,14 @@ const TABLE_HEADER_CELLS: KoliBriTableHeaderCellWithLogic[] = [
|
|
|
60
62
|
{
|
|
61
63
|
label: 'Department',
|
|
62
64
|
key: 'department',
|
|
65
|
+
|
|
63
66
|
compareFn: (data0: KoliBriTableDataType, data1: KoliBriTableDataType) =>
|
|
64
67
|
(data0 as BacklogEntry).department.localeCompare((data1 as BacklogEntry).department, 'de'),
|
|
65
68
|
},
|
|
66
69
|
{
|
|
67
70
|
label: 'Priority',
|
|
68
71
|
key: 'priority',
|
|
72
|
+
|
|
69
73
|
textAlign: 'center',
|
|
70
74
|
compareFn: (data0: KoliBriTableDataType, data1: KoliBriTableDataType) =>
|
|
71
75
|
PRIORITY_ORDER[(data0 as BacklogEntry).priority] - PRIORITY_ORDER[(data1 as BacklogEntry).priority],
|
|
@@ -74,6 +78,7 @@ const TABLE_HEADER_CELLS: KoliBriTableHeaderCellWithLogic[] = [
|
|
|
74
78
|
{
|
|
75
79
|
label: 'Status',
|
|
76
80
|
key: 'status',
|
|
81
|
+
|
|
77
82
|
textAlign: 'center',
|
|
78
83
|
compareFn: (data0: KoliBriTableDataType, data1: KoliBriTableDataType) =>
|
|
79
84
|
STATUS_ORDER[(data0 as BacklogEntry).status] - STATUS_ORDER[(data1 as BacklogEntry).status],
|
|
@@ -81,12 +86,14 @@ const TABLE_HEADER_CELLS: KoliBriTableHeaderCellWithLogic[] = [
|
|
|
81
86
|
{
|
|
82
87
|
label: 'Open tickets',
|
|
83
88
|
key: 'openTickets',
|
|
89
|
+
|
|
84
90
|
textAlign: 'right',
|
|
85
91
|
compareFn: (data0: KoliBriTableDataType, data1: KoliBriTableDataType) => (data0 as BacklogEntry).openTickets - (data1 as BacklogEntry).openTickets,
|
|
86
92
|
},
|
|
87
93
|
{
|
|
88
94
|
label: 'Last updated',
|
|
89
95
|
key: 'date',
|
|
96
|
+
|
|
90
97
|
textAlign: 'center',
|
|
91
98
|
render: (_el, _cell, tuple) => DATE_FORMATTER.format((tuple as BacklogEntry).date),
|
|
92
99
|
compareFn: (data0: KoliBriTableDataType, data1: KoliBriTableDataType) => {
|
|
@@ -123,7 +130,6 @@ export const MultiSortTable: FC = () => {
|
|
|
123
130
|
<KolButtonLink _label="Reset Table" _on={{ onClick: () => setVerticalHeader({ vertical: [[...TABLE_HEADER_CELLS]] }) }}></KolButtonLink>
|
|
124
131
|
<KolTableStateful
|
|
125
132
|
_label="Sort Table with Order and Date"
|
|
126
|
-
_minWidth="auto"
|
|
127
133
|
_data={BACKLOG_DATA.slice(0, 10)}
|
|
128
134
|
_headers={verticallHeader}
|
|
129
135
|
className="block"
|
|
@@ -133,14 +139,7 @@ export const MultiSortTable: FC = () => {
|
|
|
133
139
|
<section className="grid gap-4">
|
|
134
140
|
<KolHeading _level={2} _label="Horizontal" />
|
|
135
141
|
<KolButtonLink _label="Reset Table" _on={{ onClick: () => setHorizontalHeader({ horizontal: [[...TABLE_HEADER_CELLS]] }) }}></KolButtonLink>
|
|
136
|
-
<KolTableStateful
|
|
137
|
-
_label="Sort Table with Order and Date"
|
|
138
|
-
_minWidth="auto"
|
|
139
|
-
_data={BACKLOG_DATA}
|
|
140
|
-
_headers={horizontalHeader}
|
|
141
|
-
className="block"
|
|
142
|
-
_allowMultiSort={true}
|
|
143
|
-
/>
|
|
142
|
+
<KolTableStateful _label="Sort Table with Order and Date" _data={BACKLOG_DATA} _headers={horizontalHeader} className="block" _allowMultiSort={true} />
|
|
144
143
|
</section>
|
|
145
144
|
</section>
|
|
146
145
|
</>
|
|
@@ -16,14 +16,13 @@ export const TableNonHidableColumns: FC = () => (
|
|
|
16
16
|
|
|
17
17
|
<KolTableStateful
|
|
18
18
|
_label="Table with a non-hidable column"
|
|
19
|
-
_minWidth="auto"
|
|
20
19
|
_hasSettingsMenu
|
|
21
20
|
_headers={{
|
|
22
21
|
horizontal: [
|
|
23
22
|
[
|
|
24
|
-
{ key: 'id', label: 'ID', hidable: false },
|
|
25
|
-
{ key: 'name', label: 'Name' },
|
|
26
|
-
{ key: 'age', label: 'Age' },
|
|
23
|
+
{ key: 'id', label: 'ID', hidable: false, width: 160 },
|
|
24
|
+
{ key: 'name', label: 'Name', width: 160 },
|
|
25
|
+
{ key: 'age', label: 'Age', width: 160 },
|
|
27
26
|
],
|
|
28
27
|
],
|
|
29
28
|
}}
|