@tipp/ui 1.0.0 → 1.0.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/dist/atoms/alert-dialog.cjs +31 -0
- package/dist/atoms/alert-dialog.cjs.map +1 -0
- package/dist/atoms/alert-dialog.d.cts +1 -0
- package/dist/atoms/alert-dialog.d.ts +0 -1
- package/dist/atoms/alert-dialog.js +6 -2
- package/dist/atoms/alert-dialog.js.map +1 -0
- package/dist/atoms/aspect-ratio.cjs +31 -0
- package/dist/atoms/aspect-ratio.cjs.map +1 -0
- package/dist/atoms/aspect-ratio.d.cts +1 -0
- package/dist/atoms/aspect-ratio.d.ts +0 -1
- package/dist/atoms/aspect-ratio.js +6 -2
- package/dist/atoms/aspect-ratio.js.map +1 -0
- package/dist/atoms/avatar.cjs +83 -0
- package/dist/atoms/avatar.cjs.map +1 -0
- package/dist/atoms/avatar.d.cts +11 -0
- package/dist/atoms/avatar.d.ts +11 -2
- package/dist/atoms/avatar.js +6 -2
- package/dist/atoms/avatar.js.map +1 -0
- package/dist/atoms/badge.cjs +92 -0
- package/dist/atoms/badge.cjs.map +1 -0
- package/dist/atoms/badge.d.cts +13 -0
- package/dist/atoms/badge.d.ts +13 -2
- package/dist/atoms/badge.js +6 -2
- package/dist/atoms/badge.js.map +1 -0
- package/dist/atoms/blockquote.cjs +31 -0
- package/dist/atoms/blockquote.cjs.map +1 -0
- package/dist/atoms/blockquote.d.cts +1 -0
- package/dist/atoms/blockquote.d.ts +1 -2
- package/dist/atoms/blockquote.js +6 -2
- package/dist/atoms/blockquote.js.map +1 -0
- package/dist/atoms/box.cjs +31 -0
- package/dist/atoms/box.cjs.map +1 -0
- package/dist/atoms/box.d.cts +1 -0
- package/dist/atoms/box.d.ts +1 -2
- package/dist/atoms/box.js +6 -2
- package/dist/atoms/box.js.map +1 -0
- package/dist/atoms/button.cjs +81 -0
- package/dist/atoms/button.cjs.map +1 -0
- package/dist/atoms/button.d.cts +11 -0
- package/dist/atoms/button.d.ts +11 -2
- package/dist/atoms/button.js +6 -2
- package/dist/atoms/button.js.map +1 -0
- package/dist/atoms/call-out.cjs +31 -0
- package/dist/atoms/call-out.cjs.map +1 -0
- package/dist/atoms/call-out.d.cts +1 -0
- package/dist/atoms/call-out.d.ts +0 -1
- package/dist/atoms/call-out.js +6 -2
- package/dist/atoms/call-out.js.map +1 -0
- package/dist/atoms/card.cjs +31 -0
- package/dist/atoms/card.cjs.map +1 -0
- package/dist/atoms/card.d.cts +1 -0
- package/dist/atoms/card.d.ts +1 -2
- package/dist/atoms/card.js +6 -2
- package/dist/atoms/card.js.map +1 -0
- package/dist/atoms/check-box-card.cjs +31 -0
- package/dist/atoms/check-box-card.cjs.map +1 -0
- package/dist/atoms/check-box-card.d.cts +1 -0
- package/dist/atoms/check-box-card.d.ts +0 -1
- package/dist/atoms/check-box-card.js +6 -2
- package/dist/atoms/check-box-card.js.map +1 -0
- package/dist/atoms/check-box-group.cjs +82 -0
- package/dist/atoms/check-box-group.cjs.map +1 -0
- package/dist/atoms/check-box-group.d.cts +11 -0
- package/dist/atoms/check-box-group.d.ts +11 -2
- package/dist/atoms/check-box-group.js +6 -2
- package/dist/atoms/check-box-group.js.map +1 -0
- package/dist/atoms/check-box.cjs +79 -0
- package/dist/atoms/check-box.cjs.map +1 -0
- package/dist/atoms/check-box.d.cts +11 -0
- package/dist/atoms/check-box.d.ts +11 -2
- package/dist/atoms/check-box.js +6 -2
- package/dist/atoms/check-box.js.map +1 -0
- package/dist/atoms/code.cjs +31 -0
- package/dist/atoms/code.cjs.map +1 -0
- package/dist/atoms/code.d.cts +1 -0
- package/dist/atoms/code.d.ts +1 -2
- package/dist/atoms/code.js +6 -2
- package/dist/atoms/code.js.map +1 -0
- package/dist/atoms/collapse.cjs +50 -0
- package/dist/atoms/collapse.cjs.map +1 -0
- package/dist/atoms/collapse.d.cts +10 -0
- package/dist/atoms/collapse.d.ts +10 -0
- package/dist/atoms/collapse.js +8 -0
- package/dist/atoms/collapse.js.map +1 -0
- package/dist/atoms/container.cjs +31 -0
- package/dist/atoms/container.cjs.map +1 -0
- package/dist/atoms/container.d.cts +1 -0
- package/dist/atoms/container.d.ts +1 -2
- package/dist/atoms/container.js +6 -2
- package/dist/atoms/container.js.map +1 -0
- package/dist/atoms/data-list.cjs +31 -0
- package/dist/atoms/data-list.cjs.map +1 -0
- package/dist/atoms/data-list.d.cts +1 -0
- package/dist/atoms/data-list.d.ts +0 -1
- package/dist/atoms/data-list.js +6 -2
- package/dist/atoms/data-list.js.map +1 -0
- package/dist/atoms/date-picker/index.cjs +73 -0
- package/dist/atoms/date-picker/index.cjs.map +1 -0
- package/dist/atoms/date-picker/index.d.cts +7 -0
- package/dist/atoms/date-picker/index.d.ts +5 -5
- package/dist/atoms/date-picker/index.js +6 -6250
- package/dist/atoms/date-picker/index.js.map +1 -0
- package/dist/atoms/dialog.cjs +31 -0
- package/dist/atoms/dialog.cjs.map +1 -0
- package/dist/atoms/dialog.d.cts +1 -0
- package/dist/atoms/dialog.d.ts +0 -1
- package/dist/atoms/dialog.js +6 -2
- package/dist/atoms/dialog.js.map +1 -0
- package/dist/atoms/dropdown-menu.cjs +31 -0
- package/dist/atoms/dropdown-menu.cjs.map +1 -0
- package/dist/atoms/dropdown-menu.d.cts +1 -0
- package/dist/atoms/dropdown-menu.d.ts +0 -1
- package/dist/atoms/dropdown-menu.js +6 -2
- package/dist/atoms/dropdown-menu.js.map +1 -0
- package/dist/atoms/ellipsis-tooltip.cjs +129 -0
- package/dist/atoms/ellipsis-tooltip.cjs.map +1 -0
- package/dist/atoms/ellipsis-tooltip.d.cts +11 -0
- package/dist/atoms/ellipsis-tooltip.d.ts +11 -0
- package/dist/atoms/ellipsis-tooltip.js +10 -0
- package/dist/atoms/ellipsis-tooltip.js.map +1 -0
- package/dist/atoms/em.cjs +31 -0
- package/dist/atoms/em.cjs.map +1 -0
- package/dist/atoms/em.d.cts +1 -0
- package/dist/atoms/em.d.ts +1 -2
- package/dist/atoms/em.js +6 -2
- package/dist/atoms/em.js.map +1 -0
- package/dist/atoms/field-error-wrapper.cjs +99 -0
- package/dist/atoms/field-error-wrapper.cjs.map +1 -0
- package/dist/atoms/field-error-wrapper.d.cts +9 -0
- package/dist/atoms/field-error-wrapper.d.ts +9 -0
- package/dist/atoms/field-error-wrapper.js +10 -0
- package/dist/atoms/field-error-wrapper.js.map +1 -0
- package/dist/atoms/flex.cjs +31 -0
- package/dist/atoms/flex.cjs.map +1 -0
- package/dist/atoms/flex.d.cts +1 -0
- package/dist/atoms/flex.d.ts +1 -2
- package/dist/atoms/flex.js +6 -2
- package/dist/atoms/flex.js.map +1 -0
- package/dist/atoms/grid.cjs +31 -0
- package/dist/atoms/grid.cjs.map +1 -0
- package/dist/atoms/grid.d.cts +1 -0
- package/dist/atoms/grid.d.ts +1 -2
- package/dist/atoms/grid.js +6 -2
- package/dist/atoms/grid.js.map +1 -0
- package/dist/atoms/heading.cjs +83 -0
- package/dist/atoms/heading.cjs.map +1 -0
- package/dist/atoms/heading.d.cts +9 -0
- package/dist/atoms/heading.d.ts +9 -2
- package/dist/atoms/heading.js +8 -2
- package/dist/atoms/heading.js.map +1 -0
- package/dist/atoms/hover-card.cjs +31 -0
- package/dist/atoms/hover-card.cjs.map +1 -0
- package/dist/atoms/hover-card.d.cts +1 -0
- package/dist/atoms/hover-card.d.ts +0 -1
- package/dist/atoms/hover-card.js +6 -2
- package/dist/atoms/hover-card.js.map +1 -0
- package/dist/atoms/icon-button.cjs +31 -0
- package/dist/atoms/icon-button.cjs.map +1 -0
- package/dist/atoms/icon-button.d.cts +1 -0
- package/dist/atoms/icon-button.d.ts +1 -2
- package/dist/atoms/icon-button.js +6 -2
- package/dist/atoms/icon-button.js.map +1 -0
- package/dist/atoms/index.cjs +672 -0
- package/dist/atoms/index.cjs.map +1 -0
- package/dist/atoms/index.d.cts +16 -0
- package/dist/atoms/index.d.ts +16 -0
- package/dist/atoms/index.js +214 -0
- package/dist/atoms/index.js.map +1 -0
- package/dist/atoms/inset.cjs +31 -0
- package/dist/atoms/inset.cjs.map +1 -0
- package/dist/atoms/inset.d.cts +1 -0
- package/dist/atoms/inset.d.ts +1 -2
- package/dist/atoms/inset.js +6 -2
- package/dist/atoms/inset.js.map +1 -0
- package/dist/atoms/kbd.cjs +31 -0
- package/dist/atoms/kbd.cjs.map +1 -0
- package/dist/atoms/kbd.d.cts +1 -0
- package/dist/atoms/kbd.d.ts +1 -2
- package/dist/atoms/kbd.js +6 -2
- package/dist/atoms/kbd.js.map +1 -0
- package/dist/atoms/link.cjs +81 -0
- package/dist/atoms/link.cjs.map +1 -0
- package/dist/atoms/link.d.cts +9 -0
- package/dist/atoms/link.d.ts +9 -2
- package/dist/atoms/link.js +8 -2
- package/dist/atoms/link.js.map +1 -0
- package/dist/atoms/pagination.cjs +175 -0
- package/dist/atoms/pagination.cjs.map +1 -0
- package/dist/atoms/pagination.d.cts +15 -0
- package/dist/atoms/pagination.d.ts +15 -0
- package/dist/atoms/pagination.js +12 -0
- package/dist/atoms/pagination.js.map +1 -0
- package/dist/atoms/popover.cjs +31 -0
- package/dist/atoms/popover.cjs.map +1 -0
- package/dist/atoms/popover.d.cts +1 -0
- package/dist/atoms/popover.d.ts +0 -1
- package/dist/atoms/popover.js +6 -2
- package/dist/atoms/popover.js.map +1 -0
- package/dist/atoms/progress.cjs +31 -0
- package/dist/atoms/progress.cjs.map +1 -0
- package/dist/atoms/progress.d.cts +1 -0
- package/dist/atoms/progress.d.ts +1 -2
- package/dist/atoms/progress.js +6 -2
- package/dist/atoms/progress.js.map +1 -0
- package/dist/atoms/quote.cjs +31 -0
- package/dist/atoms/quote.cjs.map +1 -0
- package/dist/atoms/quote.d.cts +1 -0
- package/dist/atoms/quote.d.ts +1 -2
- package/dist/atoms/quote.js +6 -2
- package/dist/atoms/quote.js.map +1 -0
- package/dist/atoms/radio-cards.cjs +31 -0
- package/dist/atoms/radio-cards.cjs.map +1 -0
- package/dist/atoms/radio-cards.d.cts +1 -0
- package/dist/atoms/radio-cards.d.ts +0 -1
- package/dist/atoms/radio-cards.js +6 -2
- package/dist/atoms/radio-cards.js.map +1 -0
- package/dist/atoms/radio-group.cjs +31 -0
- package/dist/atoms/radio-group.cjs.map +1 -0
- package/dist/atoms/radio-group.d.cts +1 -0
- package/dist/atoms/radio-group.d.ts +0 -1
- package/dist/atoms/radio-group.js +6 -2
- package/dist/atoms/radio-group.js.map +1 -0
- package/dist/atoms/radio.cjs +31 -0
- package/dist/atoms/radio.cjs.map +1 -0
- package/dist/atoms/radio.d.cts +1 -0
- package/dist/atoms/radio.d.ts +1 -2
- package/dist/atoms/radio.js +6 -2
- package/dist/atoms/radio.js.map +1 -0
- package/dist/atoms/scroll-area.cjs +31 -0
- package/dist/atoms/scroll-area.cjs.map +1 -0
- package/dist/atoms/scroll-area.d.cts +1 -0
- package/dist/atoms/scroll-area.d.ts +1 -2
- package/dist/atoms/scroll-area.js +6 -2
- package/dist/atoms/scroll-area.js.map +1 -0
- package/dist/atoms/section.cjs +31 -0
- package/dist/atoms/section.cjs.map +1 -0
- package/dist/atoms/section.d.cts +1 -0
- package/dist/atoms/section.d.ts +1 -2
- package/dist/atoms/section.js +6 -2
- package/dist/atoms/section.js.map +1 -0
- package/dist/atoms/segmented-control.cjs +31 -0
- package/dist/atoms/segmented-control.cjs.map +1 -0
- package/dist/atoms/segmented-control.d.cts +1 -0
- package/dist/atoms/segmented-control.d.ts +0 -1
- package/dist/atoms/segmented-control.js +6 -2
- package/dist/atoms/segmented-control.js.map +1 -0
- package/dist/atoms/select.cjs +31 -0
- package/dist/atoms/select.cjs.map +1 -0
- package/dist/atoms/select.d.cts +1 -0
- package/dist/atoms/select.d.ts +0 -1
- package/dist/atoms/select.js +6 -2
- package/dist/atoms/select.js.map +1 -0
- package/dist/atoms/separator.cjs +31 -0
- package/dist/atoms/separator.cjs.map +1 -0
- package/dist/atoms/separator.d.cts +1 -0
- package/dist/atoms/separator.d.ts +1 -2
- package/dist/atoms/separator.js +6 -2
- package/dist/atoms/separator.js.map +1 -0
- package/dist/atoms/skeleton.cjs +31 -0
- package/dist/atoms/skeleton.cjs.map +1 -0
- package/dist/atoms/skeleton.d.cts +1 -0
- package/dist/atoms/skeleton.d.ts +1 -2
- package/dist/atoms/skeleton.js +6 -2
- package/dist/atoms/skeleton.js.map +1 -0
- package/dist/atoms/spinner.cjs +31 -0
- package/dist/atoms/spinner.cjs.map +1 -0
- package/dist/atoms/spinner.d.cts +1 -0
- package/dist/atoms/spinner.d.ts +1 -0
- package/dist/atoms/spinner.js +8 -0
- package/dist/atoms/spinner.js.map +1 -0
- package/dist/atoms/strong.cjs +31 -0
- package/dist/atoms/strong.cjs.map +1 -0
- package/dist/atoms/strong.d.cts +1 -0
- package/dist/atoms/strong.d.ts +1 -2
- package/dist/atoms/strong.js +6 -2
- package/dist/atoms/strong.js.map +1 -0
- package/dist/atoms/switch.cjs +31 -0
- package/dist/atoms/switch.cjs.map +1 -0
- package/dist/atoms/switch.d.cts +1 -0
- package/dist/atoms/switch.d.ts +1 -2
- package/dist/atoms/switch.js +6 -2
- package/dist/atoms/switch.js.map +1 -0
- package/dist/atoms/tab-nav.cjs +31 -0
- package/dist/atoms/tab-nav.cjs.map +1 -0
- package/dist/atoms/tab-nav.d.cts +1 -0
- package/dist/atoms/tab-nav.d.ts +0 -1
- package/dist/atoms/tab-nav.js +6 -2
- package/dist/atoms/tab-nav.js.map +1 -0
- package/dist/atoms/tabs.cjs +31 -0
- package/dist/atoms/tabs.cjs.map +1 -0
- package/dist/atoms/tabs.d.cts +1 -0
- package/dist/atoms/tabs.d.ts +0 -1
- package/dist/atoms/tabs.js +6 -2
- package/dist/atoms/tabs.js.map +1 -0
- package/dist/atoms/text-area.cjs +31 -0
- package/dist/atoms/text-area.cjs.map +1 -0
- package/dist/atoms/text-area.d.cts +1 -0
- package/dist/atoms/text-area.d.ts +1 -2
- package/dist/atoms/text-area.js +6 -2
- package/dist/atoms/text-area.js.map +1 -0
- package/dist/atoms/text-field.cjs +31 -0
- package/dist/atoms/text-field.cjs.map +1 -0
- package/dist/atoms/text-field.d.cts +1 -0
- package/dist/atoms/text-field.d.ts +0 -1
- package/dist/atoms/text-field.js +6 -2
- package/dist/atoms/text-field.js.map +1 -0
- package/dist/atoms/tooltip.cjs +31 -0
- package/dist/atoms/tooltip.cjs.map +1 -0
- package/dist/atoms/tooltip.d.cts +1 -0
- package/dist/atoms/tooltip.d.ts +1 -2
- package/dist/atoms/tooltip.js +6 -2
- package/dist/atoms/tooltip.js.map +1 -0
- package/dist/atoms/typo.cjs +82 -0
- package/dist/atoms/typo.cjs.map +1 -0
- package/dist/atoms/typo.d.cts +9 -0
- package/dist/atoms/typo.d.ts +9 -0
- package/dist/atoms/typo.js +8 -0
- package/dist/atoms/typo.js.map +1 -0
- package/dist/chart/chart.cjs +207 -0
- package/dist/chart/chart.cjs.map +1 -0
- package/dist/chart/chart.d.cts +176 -0
- package/dist/chart/chart.d.ts +176 -0
- package/dist/chart/chart.js +161 -0
- package/dist/chart/chart.js.map +1 -0
- package/dist/chunk-25HMMI7R.js +7 -0
- package/dist/chunk-25HMMI7R.js.map +1 -0
- package/dist/chunk-2A2IJOVV.js +60 -0
- package/dist/chunk-2A2IJOVV.js.map +1 -0
- package/dist/chunk-2DZ2Y3JI.js +7 -0
- package/dist/chunk-2DZ2Y3JI.js.map +1 -0
- package/dist/chunk-2JZ3UQAX.js +48 -0
- package/dist/chunk-2JZ3UQAX.js.map +1 -0
- package/dist/chunk-2KZSNTY7.js +23 -0
- package/dist/chunk-2KZSNTY7.js.map +1 -0
- package/dist/chunk-2TGD62PR.js +59 -0
- package/dist/chunk-2TGD62PR.js.map +1 -0
- package/dist/chunk-3427FUJN.js +46 -0
- package/dist/chunk-3427FUJN.js.map +1 -0
- package/dist/chunk-34P2PUMC.js +60 -0
- package/dist/chunk-34P2PUMC.js.map +1 -0
- package/dist/chunk-355MU6BH.js +7 -0
- package/dist/chunk-355MU6BH.js.map +1 -0
- package/dist/chunk-365QMK4D.js +7 -0
- package/dist/chunk-365QMK4D.js.map +1 -0
- package/dist/chunk-3I5CDBFN.js +104 -0
- package/dist/chunk-3I5CDBFN.js.map +1 -0
- package/dist/chunk-3KIARYD6.js +47 -0
- package/dist/chunk-3KIARYD6.js.map +1 -0
- package/dist/chunk-4IKPNQV5.js +58 -0
- package/dist/chunk-4IKPNQV5.js.map +1 -0
- package/dist/chunk-4RIBUNMS.js +49 -0
- package/dist/chunk-4RIBUNMS.js.map +1 -0
- package/dist/chunk-4Y5BEXVN.js +7 -0
- package/dist/chunk-4Y5BEXVN.js.map +1 -0
- package/dist/chunk-4ZQHR3JI.js +47 -0
- package/dist/chunk-4ZQHR3JI.js.map +1 -0
- package/dist/chunk-5AVBYDPB.js +7 -0
- package/dist/chunk-5AVBYDPB.js.map +1 -0
- package/dist/chunk-5H3YPCZK.js +7 -0
- package/dist/chunk-5H3YPCZK.js.map +1 -0
- package/dist/chunk-5JXZUWR3.js +104 -0
- package/dist/chunk-5JXZUWR3.js.map +1 -0
- package/dist/chunk-5ZITU5L7.js +7 -0
- package/dist/chunk-5ZITU5L7.js.map +1 -0
- package/dist/chunk-6BXAZV7N.js +63 -0
- package/dist/chunk-6BXAZV7N.js.map +1 -0
- package/dist/chunk-6DJOIRMF.js +7 -0
- package/dist/chunk-6DJOIRMF.js.map +1 -0
- package/dist/chunk-6GHADQAU.js +59 -0
- package/dist/chunk-6GHADQAU.js.map +1 -0
- package/dist/chunk-6IVCARWS.js +7 -0
- package/dist/chunk-6IVCARWS.js.map +1 -0
- package/dist/chunk-6SGXBZAF.js +62 -0
- package/dist/chunk-6SGXBZAF.js.map +1 -0
- package/dist/chunk-6XHVFBFO.js +38 -0
- package/dist/chunk-6XHVFBFO.js.map +1 -0
- package/dist/chunk-6ZEM4FBF.js +64 -0
- package/dist/chunk-6ZEM4FBF.js.map +1 -0
- package/dist/chunk-74DX4CU7.js +7 -0
- package/dist/chunk-74DX4CU7.js.map +1 -0
- package/dist/chunk-754LMJ5L.js +48 -0
- package/dist/chunk-754LMJ5L.js.map +1 -0
- package/dist/chunk-7FQZ3OZO.js +119 -0
- package/dist/chunk-7FQZ3OZO.js.map +1 -0
- package/dist/chunk-7VCJMEPY.js +60 -0
- package/dist/chunk-7VCJMEPY.js.map +1 -0
- package/dist/chunk-ACVANQJ4.js +7 -0
- package/dist/chunk-ACVANQJ4.js.map +1 -0
- package/dist/chunk-AD4LGJER.js +60 -0
- package/dist/chunk-AD4LGJER.js.map +1 -0
- package/dist/chunk-ALOPZ54P.js +47 -0
- package/dist/chunk-ALOPZ54P.js.map +1 -0
- package/dist/chunk-AS6NXGBN.js +59 -0
- package/dist/chunk-AS6NXGBN.js.map +1 -0
- package/dist/chunk-B6XJN6EC.js +7 -0
- package/dist/chunk-B6XJN6EC.js.map +1 -0
- package/dist/chunk-BH2MBAAY.js +59 -0
- package/dist/chunk-BH2MBAAY.js.map +1 -0
- package/dist/chunk-BSTJBBEX.js +39 -0
- package/dist/chunk-BSTJBBEX.js.map +1 -0
- package/dist/chunk-C5QSBSVB.js +59 -0
- package/dist/chunk-C5QSBSVB.js.map +1 -0
- package/dist/chunk-C7BS7VPF.js +46 -0
- package/dist/chunk-C7BS7VPF.js.map +1 -0
- package/dist/chunk-CC3GT7LT.js +53 -0
- package/dist/chunk-CC3GT7LT.js.map +1 -0
- package/dist/chunk-CHHLIPDN.js +23 -0
- package/dist/chunk-CHHLIPDN.js.map +1 -0
- package/dist/chunk-CMPIGFPT.js +60 -0
- package/dist/chunk-CMPIGFPT.js.map +1 -0
- package/dist/chunk-CNQ7RNNY.js +23 -0
- package/dist/chunk-CNQ7RNNY.js.map +1 -0
- package/dist/chunk-CODQBUIC.js +59 -0
- package/dist/chunk-CODQBUIC.js.map +1 -0
- package/dist/chunk-CVOLVQKD.js +60 -0
- package/dist/chunk-CVOLVQKD.js.map +1 -0
- package/dist/chunk-CXFAL52D.js +60 -0
- package/dist/chunk-CXFAL52D.js.map +1 -0
- package/dist/chunk-CZEGRZBK.js +38 -0
- package/dist/chunk-CZEGRZBK.js.map +1 -0
- package/dist/chunk-E6EPYWFL.js +53 -0
- package/dist/chunk-E6EPYWFL.js.map +1 -0
- package/dist/chunk-EAXUQEO5.js +7 -0
- package/dist/chunk-EAXUQEO5.js.map +1 -0
- package/dist/chunk-EGEQY3KT.js +7 -0
- package/dist/chunk-EGEQY3KT.js.map +1 -0
- package/dist/chunk-EJWIO6NJ.js +104 -0
- package/dist/chunk-EJWIO6NJ.js.map +1 -0
- package/dist/chunk-EM57H7XC.js +48 -0
- package/dist/chunk-EM57H7XC.js.map +1 -0
- package/dist/chunk-FFC2C2ID.js +1 -0
- package/dist/chunk-FFC2C2ID.js.map +1 -0
- package/dist/chunk-FHXW7BLD.js +61 -0
- package/dist/chunk-FHXW7BLD.js.map +1 -0
- package/dist/chunk-FPD73OHW.js +7 -0
- package/dist/chunk-FPD73OHW.js.map +1 -0
- package/dist/chunk-FR2GDOU2.js +7 -0
- package/dist/chunk-FR2GDOU2.js.map +1 -0
- package/dist/chunk-FVSPOU5C.js +48 -0
- package/dist/chunk-FVSPOU5C.js.map +1 -0
- package/dist/chunk-FYEASFUU.js +7 -0
- package/dist/chunk-FYEASFUU.js.map +1 -0
- package/dist/chunk-GOKKEO23.js +53 -0
- package/dist/chunk-GOKKEO23.js.map +1 -0
- package/dist/chunk-GZYKC7MR.js +119 -0
- package/dist/chunk-GZYKC7MR.js.map +1 -0
- package/dist/chunk-HLOY6BIP.js +37 -0
- package/dist/chunk-HLOY6BIP.js.map +1 -0
- package/dist/chunk-HRQSHRGQ.js +59 -0
- package/dist/chunk-HRQSHRGQ.js.map +1 -0
- package/dist/chunk-HVMWNAXK.js +60 -0
- package/dist/chunk-HVMWNAXK.js.map +1 -0
- package/dist/chunk-HYITAA4J.js +7 -0
- package/dist/chunk-HYITAA4J.js.map +1 -0
- package/dist/chunk-I3ZZQ6QJ.js +34 -0
- package/dist/chunk-I3ZZQ6QJ.js.map +1 -0
- package/dist/chunk-I6D4HPRN.js +60 -0
- package/dist/chunk-I6D4HPRN.js.map +1 -0
- package/dist/chunk-I7YPDRXO.js +62 -0
- package/dist/chunk-I7YPDRXO.js.map +1 -0
- package/dist/chunk-IIBITN2G.js +27 -0
- package/dist/chunk-IIBITN2G.js.map +1 -0
- package/dist/chunk-ILRUXI2E.js +7 -0
- package/dist/chunk-ILRUXI2E.js.map +1 -0
- package/dist/chunk-IQEEPHOY.js +35 -0
- package/dist/chunk-IQEEPHOY.js.map +1 -0
- package/dist/chunk-J242TTFH.js +7 -0
- package/dist/chunk-J242TTFH.js.map +1 -0
- package/dist/chunk-JEHDCZQU.js +34 -0
- package/dist/chunk-JEHDCZQU.js.map +1 -0
- package/dist/chunk-JJ5IIAB2.js +119 -0
- package/dist/chunk-JJ5IIAB2.js.map +1 -0
- package/dist/chunk-JPIZP2PZ.js +7 -0
- package/dist/chunk-JPIZP2PZ.js.map +1 -0
- package/dist/chunk-K66WIGIV.js +119 -0
- package/dist/chunk-K66WIGIV.js.map +1 -0
- package/dist/chunk-KACFRYIH.js +23 -0
- package/dist/chunk-KACFRYIH.js.map +1 -0
- package/dist/chunk-KATXJW5H.js +23 -0
- package/dist/chunk-KATXJW5H.js.map +1 -0
- package/dist/chunk-KFAG5R3H.js +64 -0
- package/dist/chunk-KFAG5R3H.js.map +1 -0
- package/dist/chunk-KGN7AVRJ.js +45 -0
- package/dist/chunk-KGN7AVRJ.js.map +1 -0
- package/dist/chunk-KXJM7U4I.js +47 -0
- package/dist/chunk-KXJM7U4I.js.map +1 -0
- package/dist/chunk-L6YPLUNG.js +104 -0
- package/dist/chunk-L6YPLUNG.js.map +1 -0
- package/dist/chunk-LA6FLXGE.js +47 -0
- package/dist/chunk-LA6FLXGE.js.map +1 -0
- package/dist/chunk-LUVANORR.js +23 -0
- package/dist/chunk-LUVANORR.js.map +1 -0
- package/dist/chunk-MASTHXWN.js +1 -0
- package/dist/chunk-MASTHXWN.js.map +1 -0
- package/dist/chunk-MIMJ7LON.js +7 -0
- package/dist/chunk-MIMJ7LON.js.map +1 -0
- package/dist/chunk-MMAV5BRZ.js +31 -0
- package/dist/chunk-MMAV5BRZ.js.map +1 -0
- package/dist/chunk-MMGP4GEQ.js +7 -0
- package/dist/chunk-MMGP4GEQ.js.map +1 -0
- package/dist/chunk-MUNMDHRF.js +7 -0
- package/dist/chunk-MUNMDHRF.js.map +1 -0
- package/dist/chunk-N552FDTV.js +38 -0
- package/dist/chunk-N552FDTV.js.map +1 -0
- package/dist/chunk-NDUKDKGB.js +39 -0
- package/dist/chunk-NDUKDKGB.js.map +1 -0
- package/dist/chunk-NFGNQEVV.js +46 -0
- package/dist/chunk-NFGNQEVV.js.map +1 -0
- package/dist/chunk-NVKNDAIN.js +7 -0
- package/dist/chunk-NVKNDAIN.js.map +1 -0
- package/dist/chunk-O3DNDMV3.js +7 -0
- package/dist/chunk-O3DNDMV3.js.map +1 -0
- package/dist/chunk-O3T3TM3V.js +7 -0
- package/dist/chunk-O3T3TM3V.js.map +1 -0
- package/dist/chunk-O3XTRD7R.js +35 -0
- package/dist/chunk-O3XTRD7R.js.map +1 -0
- package/dist/chunk-O4GMX5TL.js +55 -0
- package/dist/chunk-O4GMX5TL.js.map +1 -0
- package/dist/chunk-OCJNQGHN.js +26 -0
- package/dist/chunk-OCJNQGHN.js.map +1 -0
- package/dist/chunk-OHMOP5PV.js +7 -0
- package/dist/chunk-OHMOP5PV.js.map +1 -0
- package/dist/chunk-OJ5XUBZN.js +46 -0
- package/dist/chunk-OJ5XUBZN.js.map +1 -0
- package/dist/chunk-OYM4XCHQ.js +7 -0
- package/dist/chunk-OYM4XCHQ.js.map +1 -0
- package/dist/chunk-OZLC6KYP.js +104 -0
- package/dist/chunk-OZLC6KYP.js.map +1 -0
- package/dist/chunk-P66OQ4ZQ.js +104 -0
- package/dist/chunk-P66OQ4ZQ.js.map +1 -0
- package/dist/chunk-P6B2PNYI.js +7 -0
- package/dist/chunk-P6B2PNYI.js.map +1 -0
- package/dist/chunk-PBPRWY2V.js +70 -0
- package/dist/chunk-PBPRWY2V.js.map +1 -0
- package/dist/chunk-PL3Q4UVY.js +15 -0
- package/dist/chunk-PL3Q4UVY.js.map +1 -0
- package/dist/chunk-PLG3AXHM.js +59 -0
- package/dist/chunk-PLG3AXHM.js.map +1 -0
- package/dist/chunk-PQBRLX37.js +48 -0
- package/dist/chunk-PQBRLX37.js.map +1 -0
- package/dist/chunk-Q37G2GS6.js +7 -0
- package/dist/chunk-Q37G2GS6.js.map +1 -0
- package/dist/chunk-QIKFIRGO.js +59 -0
- package/dist/chunk-QIKFIRGO.js.map +1 -0
- package/dist/chunk-RAJAKQXU.js +59 -0
- package/dist/chunk-RAJAKQXU.js.map +1 -0
- package/dist/chunk-RC4WJLQA.js +119 -0
- package/dist/chunk-RC4WJLQA.js.map +1 -0
- package/dist/chunk-RET725VL.js +36 -0
- package/dist/chunk-RET725VL.js.map +1 -0
- package/dist/chunk-RNB2T5NJ.js +48 -0
- package/dist/chunk-RNB2T5NJ.js.map +1 -0
- package/dist/chunk-SQ5HD7LD.js +1 -0
- package/dist/chunk-SQ5HD7LD.js.map +1 -0
- package/dist/chunk-TBXRPM4O.js +59 -0
- package/dist/chunk-TBXRPM4O.js.map +1 -0
- package/dist/chunk-TJGELI4L.js +53 -0
- package/dist/chunk-TJGELI4L.js.map +1 -0
- package/dist/chunk-TULWX7D6.js +7 -0
- package/dist/chunk-TULWX7D6.js.map +1 -0
- package/dist/chunk-TVDKGMBI.js +7 -0
- package/dist/chunk-TVDKGMBI.js.map +1 -0
- package/dist/chunk-TVJ4Z7MD.js +46 -0
- package/dist/chunk-TVJ4Z7MD.js.map +1 -0
- package/dist/chunk-UCEASXHW.js +47 -0
- package/dist/chunk-UCEASXHW.js.map +1 -0
- package/dist/chunk-UGSJR77F.js +48 -0
- package/dist/chunk-UGSJR77F.js.map +1 -0
- package/dist/chunk-UQPA2QGC.js +45 -0
- package/dist/chunk-UQPA2QGC.js.map +1 -0
- package/dist/chunk-V2AYMNSS.js +46 -0
- package/dist/chunk-V2AYMNSS.js.map +1 -0
- package/dist/chunk-VC2TT56B.js +46 -0
- package/dist/chunk-VC2TT56B.js.map +1 -0
- package/dist/chunk-VCOQG6JF.js +119 -0
- package/dist/chunk-VCOQG6JF.js.map +1 -0
- package/dist/chunk-VOR32EFU.js +59 -0
- package/dist/chunk-VOR32EFU.js.map +1 -0
- package/dist/chunk-VTJZMOSP.js +7 -0
- package/dist/chunk-VTJZMOSP.js.map +1 -0
- package/dist/chunk-W6Z2XJJ2.js +45 -0
- package/dist/chunk-W6Z2XJJ2.js.map +1 -0
- package/dist/chunk-WG7AQQRT.js +59 -0
- package/dist/chunk-WG7AQQRT.js.map +1 -0
- package/dist/chunk-WWCWPFEJ.js +1 -0
- package/dist/chunk-WWCWPFEJ.js.map +1 -0
- package/dist/chunk-WZZEI2W4.js +59 -0
- package/dist/chunk-WZZEI2W4.js.map +1 -0
- package/dist/chunk-XDCANCKF.js +59 -0
- package/dist/chunk-XDCANCKF.js.map +1 -0
- package/dist/chunk-XQOL7UBI.js +7 -0
- package/dist/chunk-XQOL7UBI.js.map +1 -0
- package/dist/chunk-XQOZWYUA.js +35 -0
- package/dist/chunk-XQOZWYUA.js.map +1 -0
- package/dist/chunk-XZN2SS2K.js +119 -0
- package/dist/chunk-XZN2SS2K.js.map +1 -0
- package/dist/chunk-YGL6SWKN.js +7 -0
- package/dist/chunk-YGL6SWKN.js.map +1 -0
- package/dist/chunk-YGS4JU4E.js +60 -0
- package/dist/chunk-YGS4JU4E.js.map +1 -0
- package/dist/chunk-YJ7ZFOYL.js +7 -0
- package/dist/chunk-YJ7ZFOYL.js.map +1 -0
- package/dist/chunk-YKEXHUPR.js +48 -0
- package/dist/chunk-YKEXHUPR.js.map +1 -0
- package/dist/chunk-YO3BQW6S.js +7 -0
- package/dist/chunk-YO3BQW6S.js.map +1 -0
- package/dist/chunk-YTZSKMX3.js +7 -0
- package/dist/chunk-YTZSKMX3.js.map +1 -0
- package/dist/chunk-ZKZDVS7G.js +7 -0
- package/dist/chunk-ZKZDVS7G.js.map +1 -0
- package/dist/chunk-ZY2OMVQQ.js +119 -0
- package/dist/chunk-ZY2OMVQQ.js.map +1 -0
- package/dist/icon.cjs +53 -0
- package/dist/icon.cjs.map +1 -0
- package/dist/icon.d.cts +3 -0
- package/dist/icon.d.ts +3 -2
- package/dist/icon.js +28 -9
- package/dist/icon.js.map +1 -0
- package/dist/icons/down.cjs +96 -0
- package/dist/icons/down.cjs.map +1 -0
- package/dist/icons/down.d.cts +6 -0
- package/dist/icons/down.d.ts +6 -0
- package/dist/icons/down.js +8 -0
- package/dist/icons/down.js.map +1 -0
- package/dist/icons/types.cjs +19 -0
- package/dist/icons/types.cjs.map +1 -0
- package/dist/icons/types.d.cts +6 -0
- package/dist/icons/types.d.ts +6 -0
- package/dist/icons/types.js +1 -0
- package/dist/icons/types.js.map +1 -0
- package/dist/icons/up.cjs +96 -0
- package/dist/icons/up.cjs.map +1 -0
- package/dist/icons/up.d.cts +6 -0
- package/dist/icons/up.d.ts +6 -0
- package/dist/icons/up.js +8 -0
- package/dist/icons/up.js.map +1 -0
- package/dist/index.cjs +931 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.css +27846 -0
- package/dist/index.d.cts +23 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.js +261 -0
- package/dist/index.js.map +1 -0
- package/dist/molecules/expand-table/index.cjs +623 -0
- package/dist/molecules/expand-table/index.cjs.map +1 -0
- package/dist/molecules/expand-table/index.d.cts +21 -0
- package/dist/molecules/expand-table/index.d.ts +21 -0
- package/dist/molecules/expand-table/index.js +67 -0
- package/dist/molecules/expand-table/index.js.map +1 -0
- package/dist/molecules/expand-table/row.cjs +471 -0
- package/dist/molecules/expand-table/row.cjs.map +1 -0
- package/dist/molecules/expand-table/row.d.cts +16 -0
- package/dist/molecules/expand-table/row.d.ts +16 -0
- package/dist/molecules/expand-table/row.js +62 -0
- package/dist/molecules/expand-table/row.js.map +1 -0
- package/dist/molecules/index.cjs +625 -0
- package/dist/molecules/index.cjs.map +1 -0
- package/dist/molecules/index.d.cts +4 -0
- package/dist/molecules/index.d.ts +4 -0
- package/dist/molecules/index.js +68 -0
- package/dist/molecules/index.js.map +1 -0
- package/dist/theme/theme-provider.cjs +49 -0
- package/dist/theme/theme-provider.cjs.map +1 -0
- package/dist/theme/theme-provider.d.cts +10 -0
- package/dist/theme/theme-provider.d.ts +6 -6
- package/dist/theme/theme-provider.js +6 -6
- package/dist/theme/theme-provider.js.map +1 -0
- package/dist/theme/use-theme.cjs +31 -0
- package/dist/theme/use-theme.cjs.map +1 -0
- package/dist/theme/use-theme.d.cts +1 -0
- package/dist/theme/use-theme.d.ts +0 -1
- package/dist/theme/use-theme.js +6 -2
- package/dist/theme/use-theme.js.map +1 -0
- package/dist/types/react-table.d.cjs +5 -0
- package/dist/types/react-table.d.cjs.map +1 -0
- package/dist/types/react-table.d.d.cts +17 -0
- package/dist/types/react-table.d.d.ts +17 -0
- package/dist/types/react-table.d.js +3 -0
- package/dist/types/react-table.d.js.map +1 -0
- package/dist/ui-props/index.cjs +41 -0
- package/dist/ui-props/index.cjs.map +1 -0
- package/dist/ui-props/index.d.cts +2 -0
- package/dist/ui-props/index.d.ts +2 -3
- package/dist/ui-props/index.js +6 -684
- package/dist/ui-props/index.js.map +1 -0
- package/package.json +76 -27
- package/src/atoms/alert-dialog.tsx +1 -0
- package/src/atoms/aspect-ratio.tsx +1 -0
- package/src/atoms/avatar.tsx +37 -0
- package/src/atoms/badge.tsx +47 -0
- package/src/atoms/blockquote.tsx +1 -0
- package/src/atoms/box.tsx +1 -0
- package/src/atoms/button.tsx +32 -0
- package/src/atoms/call-out.tsx +1 -0
- package/src/atoms/card.tsx +1 -0
- package/src/atoms/check-box-card.tsx +1 -0
- package/src/atoms/check-box-group.tsx +38 -0
- package/src/atoms/check-box.tsx +30 -0
- package/src/atoms/code.tsx +1 -0
- package/src/atoms/collapse.tsx +32 -0
- package/src/atoms/container.tsx +1 -0
- package/src/atoms/data-list.tsx +1 -0
- package/src/atoms/date-picker/index.tsx +25 -0
- package/src/atoms/dialog.tsx +1 -0
- package/src/atoms/dropdown-menu.tsx +1 -0
- package/src/atoms/ellipsis-tooltip.tsx +57 -0
- package/src/atoms/em.tsx +1 -0
- package/src/atoms/field-error-wrapper.tsx +24 -0
- package/src/atoms/flex.tsx +1 -0
- package/src/atoms/grid.tsx +1 -0
- package/src/atoms/heading.tsx +35 -0
- package/src/atoms/hover-card.tsx +1 -0
- package/src/atoms/icon-button.tsx +1 -0
- package/src/atoms/index.ts +53 -0
- package/src/atoms/inset.tsx +1 -0
- package/src/atoms/kbd.tsx +1 -0
- package/src/atoms/link.tsx +33 -0
- package/src/atoms/pagination.tsx +108 -0
- package/src/atoms/popover.tsx +1 -0
- package/src/atoms/progress.tsx +1 -0
- package/src/atoms/quote.tsx +1 -0
- package/src/atoms/radio-cards.tsx +1 -0
- package/src/atoms/radio-group.tsx +1 -0
- package/src/atoms/radio.tsx +1 -0
- package/src/atoms/scroll-area.tsx +1 -0
- package/src/atoms/section.tsx +1 -0
- package/src/atoms/segmented-control.tsx +1 -0
- package/src/atoms/select.tsx +1 -0
- package/src/atoms/separator.tsx +1 -0
- package/src/atoms/skeleton.tsx +1 -0
- package/src/atoms/spinner.tsx +1 -0
- package/src/atoms/strong.tsx +1 -0
- package/src/atoms/switch.tsx +1 -0
- package/src/atoms/tab-nav.tsx +1 -0
- package/src/atoms/tabs.tsx +1 -0
- package/src/atoms/text-area.tsx +1 -0
- package/src/atoms/text-field.tsx +1 -0
- package/src/atoms/tooltip.tsx +1 -0
- package/src/atoms/typo.tsx +34 -0
- package/src/chart/chart-theme.json +136 -0
- package/src/chart/chart.tsx +22 -0
- package/src/icon.ts +14 -0
- package/src/icons/down.tsx +25 -0
- package/src/icons/types.ts +4 -0
- package/src/icons/up.tsx +25 -0
- package/src/index.ts +6 -0
- package/src/molecules/expand-table/index.tsx +144 -0
- package/src/molecules/expand-table/row.tsx +75 -0
- package/src/molecules/index.ts +1 -0
- package/src/theme/theme-provider.tsx +12 -0
- package/src/theme/use-theme.tsx +1 -0
- package/src/types/react-table.d.ts +19 -0
- package/src/ui-props/index.ts +3 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
- package/dist/alert-dialog-D1kwc80j.js +0 -143
- package/dist/as-child.prop-Dmk_dqBI.js +0 -4
- package/dist/assets/index.css +0 -1
- package/dist/assets/theme-provider.css +0 -1
- package/dist/atoms/alert-dialog.d.ts.map +0 -1
- package/dist/atoms/aspect-ratio.d.ts.map +0 -1
- package/dist/atoms/avatar.d.ts.map +0 -1
- package/dist/atoms/badge.d.ts.map +0 -1
- package/dist/atoms/blockquote.d.ts.map +0 -1
- package/dist/atoms/box.d.ts.map +0 -1
- package/dist/atoms/button.d.ts.map +0 -1
- package/dist/atoms/call-out.d.ts.map +0 -1
- package/dist/atoms/card.d.ts.map +0 -1
- package/dist/atoms/check-box-card.d.ts.map +0 -1
- package/dist/atoms/check-box-group.d.ts.map +0 -1
- package/dist/atoms/check-box.d.ts.map +0 -1
- package/dist/atoms/code.d.ts.map +0 -1
- package/dist/atoms/container.d.ts.map +0 -1
- package/dist/atoms/data-list.d.ts.map +0 -1
- package/dist/atoms/date-picker/index.d.ts.map +0 -1
- package/dist/atoms/dialog.d.ts.map +0 -1
- package/dist/atoms/dropdown-menu.d.ts.map +0 -1
- package/dist/atoms/em.d.ts.map +0 -1
- package/dist/atoms/flex.d.ts.map +0 -1
- package/dist/atoms/grid.d.ts.map +0 -1
- package/dist/atoms/heading.d.ts.map +0 -1
- package/dist/atoms/hover-card.d.ts.map +0 -1
- package/dist/atoms/icon-button.d.ts.map +0 -1
- package/dist/atoms/inset.d.ts.map +0 -1
- package/dist/atoms/kbd.d.ts.map +0 -1
- package/dist/atoms/link.d.ts.map +0 -1
- package/dist/atoms/popover.d.ts.map +0 -1
- package/dist/atoms/progress.d.ts.map +0 -1
- package/dist/atoms/quote.d.ts.map +0 -1
- package/dist/atoms/radio-cards.d.ts.map +0 -1
- package/dist/atoms/radio-group.d.ts.map +0 -1
- package/dist/atoms/radio.d.ts.map +0 -1
- package/dist/atoms/scroll-area.d.ts.map +0 -1
- package/dist/atoms/section.d.ts.map +0 -1
- package/dist/atoms/segmented-control.d.ts.map +0 -1
- package/dist/atoms/select.d.ts.map +0 -1
- package/dist/atoms/separator.d.ts.map +0 -1
- package/dist/atoms/skeleton.d.ts.map +0 -1
- package/dist/atoms/strong.d.ts.map +0 -1
- package/dist/atoms/switch.d.ts.map +0 -1
- package/dist/atoms/tab-nav.d.ts.map +0 -1
- package/dist/atoms/tabs.d.ts.map +0 -1
- package/dist/atoms/text-area.d.ts.map +0 -1
- package/dist/atoms/text-field.d.ts.map +0 -1
- package/dist/atoms/text.d.ts +0 -2
- package/dist/atoms/text.d.ts.map +0 -1
- package/dist/atoms/text.js +0 -4
- package/dist/atoms/tooltip.d.ts.map +0 -1
- package/dist/avatar-CzjF7NU3.js +0 -85
- package/dist/badge-CyCKR1Mg.js +0 -17
- package/dist/base-button-i6PPsCdc.js +0 -27
- package/dist/base-checkbox.props-Bk4tRAY3.js +0 -132
- package/dist/base-tab-list.props-hSCtMjn2.js +0 -6
- package/dist/blockquote-7gbFi2zf.js +0 -12
- package/dist/box-C071drmz.js +0 -15
- package/dist/button-DpVTjBrm.js +0 -8
- package/dist/callout-K8Sm-FQT.js +0 -31
- package/dist/card-BX55hIZ3.js +0 -14
- package/dist/chart-BkQy6rli.js +0 -14554
- package/dist/charts/chart.d.ts +0 -6
- package/dist/charts/chart.d.ts.map +0 -1
- package/dist/charts/chart.js +0 -5
- package/dist/charts-DLVAfnBm.js +0 -10821
- package/dist/checkbox-DhyOlPGH.js +0 -14
- package/dist/checkbox-cards-C9ZL84Ml.js +0 -30
- package/dist/checkbox-group-CoGGFZk-.js +0 -33
- package/dist/checkbox-group.primitive-DuerVc21.js +0 -33
- package/dist/code-BJLnPPB0.js +0 -18
- package/dist/color.prop-C1QiQO-6.js +0 -7
- package/dist/components-MfAfNvnv.js +0 -9496
- package/dist/container-DBjG5yxq.js +0 -25
- package/dist/customGraphicKeyframeAnimation-BL_3uxsi.js +0 -7247
- package/dist/data-list-DXP5-QCf.js +0 -36
- package/dist/dialog-BYhSvWm4.js +0 -35
- package/dist/dialog.props-DOLpgre6.js +0 -255
- package/dist/dropdown-menu-B34afpui.js +0 -870
- package/dist/em-CxdNq9zL.js +0 -14
- package/dist/extract-props-CujC3IXc.js +0 -36
- package/dist/features-Dezrf84n.js +0 -1221
- package/dist/flex-BY0BY2TI.js +0 -15
- package/dist/flex.props-DNysJgUY.js +0 -9
- package/dist/floating-ui.dom-Pi62VK_7.js +0 -1084
- package/dist/gap.props-DSJMAfZN.js +0 -4
- package/dist/get-subtree-DW8zSv8E.js +0 -10
- package/dist/grid-BcK4nkHz.js +0 -24
- package/dist/heading-BNO0Ttlj.js +0 -19
- package/dist/height.props-COFNk7EY.js +0 -4
- package/dist/high-contrast.prop-BGHYAKb9.js +0 -4
- package/dist/hover-card-C86JJDjR.js +0 -198
- package/dist/icon-button-BiYGmnT9.js +0 -8
- package/dist/icon.d.ts.map +0 -1
- package/dist/icons-B-Giprot.js +0 -12
- package/dist/index--Kmch3aI.js +0 -19069
- package/dist/index-BGHne2on.js +0 -66
- package/dist/index-BGU-u5wR.js +0 -48
- package/dist/index-BLlMKB6v.js +0 -35
- package/dist/index-BQ0fI5eo.js +0 -14
- package/dist/index-BUzFfodu.js +0 -134
- package/dist/index-BZPx6jYI.js +0 -8
- package/dist/index-CBWtNqYj.js +0 -218
- package/dist/index-CMas7-m1.js +0 -32
- package/dist/index-CWqnkG-p.js +0 -67
- package/dist/index-Chf_UJBH.js +0 -27
- package/dist/index-DIx1pnae.js +0 -14
- package/dist/index-DLeNytVF.js +0 -9
- package/dist/index-DQu1RzkN.js +0 -41
- package/dist/index-DbtrAyPY.js +0 -48
- package/dist/index-Dei2uCbS.js +0 -16
- package/dist/index-DgaYqXVD.js +0 -178
- package/dist/index-DoIe4nVR.js +0 -42
- package/dist/index-DxFjXziY.js +0 -32
- package/dist/index-J-pu07YR.js +0 -13
- package/dist/index-KdR831JA.js +0 -669
- package/dist/index-W3PwLn5U.js +0 -531
- package/dist/inset-B8urCQ4C.js +0 -18
- package/dist/kbd-D56CgGV_.js +0 -14
- package/dist/labelGuideHelper-CcngZb4a.js +0 -224
- package/dist/labelLayoutHelper-ZwNI-nB_.js +0 -211
- package/dist/layout.props-CKENeFj3.js +0 -7
- package/dist/link-C49WMJKQ.js +0 -18
- package/dist/main.d.ts +0 -53
- package/dist/main.d.ts.map +0 -1
- package/dist/main.js +0 -113
- package/dist/map-prop-values-pmPyYjFd.js +0 -22
- package/dist/margin.props-ClY9lUrP.js +0 -4
- package/dist/merge-styles-B1pWeU8q.js +0 -68
- package/dist/padding.props-DHz7-7K8.js +0 -4
- package/dist/popover-pOSzBkqq.js +0 -251
- package/dist/progress-WApo2WEO.js +0 -93
- package/dist/quote-BSvwdJNj.js +0 -14
- package/dist/radio-DAyHCNZG.js +0 -16
- package/dist/radio-cards-z3X1kLpc.js +0 -24
- package/dist/radio-group-B9V-hq03.js +0 -33
- package/dist/radius.prop-CH9lMann.js +0 -5
- package/dist/react-icons.esm-D7QiCqNB.js +0 -147
- package/dist/renderers-Bb3odh12.js +0 -1250
- package/dist/require-react-element-D_SFiikK.js +0 -8
- package/dist/scroll-area-eDccU6Jg.js +0 -26
- package/dist/section-DMnSE0_D.js +0 -19
- package/dist/segmented-control-kJXQrfMF.js +0 -173
- package/dist/select-BEBm0Xc8.js +0 -832
- package/dist/separator-Ba0Kgvyq.js +0 -13
- package/dist/skeleton-CUQFQIjD.js +0 -17
- package/dist/strong-ejFErGyG.js +0 -14
- package/dist/switch-BhvdoZJT.js +0 -123
- package/dist/tab-nav-B-m2dwou.js +0 -608
- package/dist/tabs-33tSzanC.js +0 -186
- package/dist/text-YN9kC4kc.js +0 -19
- package/dist/text-align.prop-BXpq--l6.js +0 -5
- package/dist/text-area-DBR9oL6S.js +0 -14
- package/dist/text-field-CgtdAE3v.js +0 -43
- package/dist/theme/theme-provider.d.ts.map +0 -1
- package/dist/theme/use-theme.d.ts.map +0 -1
- package/dist/theme-7Cjo8_Y6.js +0 -795
- package/dist/tooltip-jaEtV9Zg.js +0 -14
- package/dist/truncate.prop-BeER2hSO.js +0 -5
- package/dist/ui-props/index.d.ts.map +0 -1
- package/dist/weight.prop-DBiHURhF.js +0 -4
- package/dist/width.props-BFC_4RNX.js +0 -4
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
|
2
|
+
import { ChevronLeftIcon, ChevronRightIcon } from '../icon';
|
|
3
|
+
import type { IconButtonProps } from './icon-button';
|
|
4
|
+
import { IconButton } from './icon-button';
|
|
5
|
+
import { Flex } from './flex';
|
|
6
|
+
import { Typo } from './typo';
|
|
7
|
+
|
|
8
|
+
export interface PaginationProps {
|
|
9
|
+
/** 현재 선택된 페이지 */
|
|
10
|
+
page?: number;
|
|
11
|
+
/** 기본 선택 페이지, page보다 낮은 우선 순위를 갖는다 */
|
|
12
|
+
defaultPage?: number;
|
|
13
|
+
/** 선택한 페이지 변경 이벤트 cb */
|
|
14
|
+
onChange?: (page: number) => void;
|
|
15
|
+
/** 전체 페이지의 수 */
|
|
16
|
+
count?: number;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export function Pagination(props: PaginationProps): React.ReactNode {
|
|
20
|
+
const { onChange, count = 0 } = props;
|
|
21
|
+
const siblingCount = 2;
|
|
22
|
+
|
|
23
|
+
const [page, setPage] = useState(() => props.page || props.defaultPage || 1);
|
|
24
|
+
|
|
25
|
+
const visibleItems = useMemo(() => {
|
|
26
|
+
let start = Math.max(1, page - siblingCount);
|
|
27
|
+
let end = Math.min(count, page + siblingCount);
|
|
28
|
+
if (page - siblingCount <= 0 && end < count) {
|
|
29
|
+
end = Math.min(count, end + Math.abs(page - siblingCount) + 1);
|
|
30
|
+
} else if (page + siblingCount > count && start > 1) {
|
|
31
|
+
start = Math.max(1, start - (page + siblingCount - count));
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
return Array.from({ length: end - start + 1 }, (_, i) => i + start);
|
|
35
|
+
}, [count, page]);
|
|
36
|
+
|
|
37
|
+
useEffect(() => {
|
|
38
|
+
onChange?.(page);
|
|
39
|
+
}, [onChange, page]);
|
|
40
|
+
|
|
41
|
+
useEffect(() => {
|
|
42
|
+
if (props.page) {
|
|
43
|
+
setPage(props.page);
|
|
44
|
+
}
|
|
45
|
+
}, [props.page]);
|
|
46
|
+
|
|
47
|
+
const onClickPrev = useCallback(() => {
|
|
48
|
+
setPage((prev) => Math.max(1, prev - 1));
|
|
49
|
+
}, []);
|
|
50
|
+
|
|
51
|
+
const onClickNext = useCallback(() => {
|
|
52
|
+
setPage((prev) => Math.min(count, prev + 1));
|
|
53
|
+
}, [count]);
|
|
54
|
+
|
|
55
|
+
const moveButtonProps: IconButtonProps = {
|
|
56
|
+
variant: 'ghost',
|
|
57
|
+
size: '3',
|
|
58
|
+
style: { borderRadius: '50%' },
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
const iconSize = {
|
|
62
|
+
height: 24,
|
|
63
|
+
width: 24,
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
const prevDisabled = useMemo(() => {
|
|
67
|
+
return page - siblingCount <= 1;
|
|
68
|
+
}, [page]);
|
|
69
|
+
|
|
70
|
+
const nextDisabled = useMemo(() => {
|
|
71
|
+
return page + siblingCount >= count;
|
|
72
|
+
}, [count, page]);
|
|
73
|
+
|
|
74
|
+
return (
|
|
75
|
+
<Flex align="center" className="tipp-pagination" gap="4">
|
|
76
|
+
<IconButton
|
|
77
|
+
disabled={prevDisabled}
|
|
78
|
+
onClick={onClickPrev}
|
|
79
|
+
{...moveButtonProps}
|
|
80
|
+
>
|
|
81
|
+
<ChevronLeftIcon {...iconSize} />
|
|
82
|
+
</IconButton>
|
|
83
|
+
<Flex gap="1">
|
|
84
|
+
{visibleItems.map((item) => {
|
|
85
|
+
return (
|
|
86
|
+
<button
|
|
87
|
+
className={`page-button ${item === page ? 'active' : ''}`}
|
|
88
|
+
key={item}
|
|
89
|
+
onClick={() => {
|
|
90
|
+
setPage(item);
|
|
91
|
+
}}
|
|
92
|
+
type="button"
|
|
93
|
+
>
|
|
94
|
+
<Typo variant="body">{item}</Typo>
|
|
95
|
+
</button>
|
|
96
|
+
);
|
|
97
|
+
})}
|
|
98
|
+
</Flex>
|
|
99
|
+
<IconButton
|
|
100
|
+
disabled={nextDisabled}
|
|
101
|
+
onClick={onClickNext}
|
|
102
|
+
{...moveButtonProps}
|
|
103
|
+
>
|
|
104
|
+
<ChevronRightIcon {...iconSize} />
|
|
105
|
+
</IconButton>
|
|
106
|
+
</Flex>
|
|
107
|
+
);
|
|
108
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Popover } from '@radix-ui/themes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Progress, type ProgressProps } from '@radix-ui/themes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Quote, type QuoteProps } from '@radix-ui/themes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RadioCards } from '@radix-ui/themes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RadioGroup } from '@radix-ui/themes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Radio, type RadioProps } from '@radix-ui/themes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ScrollArea, type ScrollAreaProps } from '@radix-ui/themes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Section, type SectionProps } from '@radix-ui/themes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SegmentedControl } from '@radix-ui/themes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Select } from '@radix-ui/themes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Separator, type SeparatorProps } from '@radix-ui/themes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Skeleton, type SkeletonProps } from '@radix-ui/themes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Spinner, type SpinnerProps } from '@radix-ui/themes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Strong, type StrongProps } from '@radix-ui/themes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Switch, type SwitchProps } from '@radix-ui/themes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TabNav } from '@radix-ui/themes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Tabs } from '@radix-ui/themes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TextArea, type TextAreaProps } from '@radix-ui/themes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TextField } from '@radix-ui/themes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Tooltip, type TooltipProps } from '@radix-ui/themes';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { TextProps as RadixTextProps } from '@radix-ui/themes';
|
|
2
|
+
import { Text as RadixText } from '@radix-ui/themes';
|
|
3
|
+
import React, { useMemo, forwardRef } from 'react';
|
|
4
|
+
|
|
5
|
+
export type TypoProps = RadixTextProps & {
|
|
6
|
+
variant?: 'body' | 'caption' | 'subtitle';
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export const Typo = forwardRef<HTMLSpanElement, TypoProps>(
|
|
10
|
+
(props: TypoProps, ref): React.ReactNode => {
|
|
11
|
+
const { size, variant, children, ...rest } = props;
|
|
12
|
+
|
|
13
|
+
const radixSize = useMemo<RadixTextProps['size']>(() => {
|
|
14
|
+
if (size !== undefined) return size;
|
|
15
|
+
switch (variant) {
|
|
16
|
+
case 'caption':
|
|
17
|
+
return '1';
|
|
18
|
+
case 'subtitle':
|
|
19
|
+
return '3';
|
|
20
|
+
case 'body':
|
|
21
|
+
default:
|
|
22
|
+
return '2';
|
|
23
|
+
}
|
|
24
|
+
}, [size, variant]);
|
|
25
|
+
|
|
26
|
+
return (
|
|
27
|
+
<RadixText {...rest} ref={ref} size={radixSize}>
|
|
28
|
+
{children}
|
|
29
|
+
</RadixText>
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
Typo.displayName = 'Typo';
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"themeName": "customed",
|
|
4
|
+
"theme": {
|
|
5
|
+
"seriesCnt": "5",
|
|
6
|
+
"backgroundColor": "rgba(0,0,0,0)",
|
|
7
|
+
"titleColor": "#1c2024",
|
|
8
|
+
"subtitleColor": "#8d8d8d",
|
|
9
|
+
"textColorShow": false,
|
|
10
|
+
"textColor": "#333",
|
|
11
|
+
"markTextColor": "#ffffff",
|
|
12
|
+
"color": [
|
|
13
|
+
"#ffe629",
|
|
14
|
+
"#3e63dd",
|
|
15
|
+
"#ec9455",
|
|
16
|
+
"#5bb98b",
|
|
17
|
+
"#cb1d63",
|
|
18
|
+
"#3ba272",
|
|
19
|
+
"#fc8452",
|
|
20
|
+
"#9a60b4",
|
|
21
|
+
"#ea7ccc"
|
|
22
|
+
],
|
|
23
|
+
"borderColor": "#8d8d8d",
|
|
24
|
+
"borderWidth": 0,
|
|
25
|
+
"visualMapColor": ["#bf444c", "#d88273", "#f6efa6"],
|
|
26
|
+
"legendTextColor": "#1c2024",
|
|
27
|
+
"kColor": "#eb5454",
|
|
28
|
+
"kColor0": "#47b262",
|
|
29
|
+
"kBorderColor": "#eb5454",
|
|
30
|
+
"kBorderColor0": "#47b262",
|
|
31
|
+
"kBorderWidth": 1,
|
|
32
|
+
"lineWidth": 2,
|
|
33
|
+
"symbolSize": 4,
|
|
34
|
+
"symbol": "emptyCircle",
|
|
35
|
+
"symbolBorderWidth": 1,
|
|
36
|
+
"lineSmooth": false,
|
|
37
|
+
"graphLineWidth": 1,
|
|
38
|
+
"graphLineColor": "#aaa",
|
|
39
|
+
"mapLabelColor": "#000",
|
|
40
|
+
"mapLabelColorE": "rgb(100,0,0)",
|
|
41
|
+
"mapBorderColor": "#444",
|
|
42
|
+
"mapBorderColorE": "#444",
|
|
43
|
+
"mapBorderWidth": 0.5,
|
|
44
|
+
"mapBorderWidthE": 1,
|
|
45
|
+
"mapAreaColor": "#eee",
|
|
46
|
+
"mapAreaColorE": "rgba(255,215,0,0.8)",
|
|
47
|
+
"axes": [
|
|
48
|
+
{
|
|
49
|
+
"type": "all",
|
|
50
|
+
"name": "通用坐标轴",
|
|
51
|
+
"axisLineShow": true,
|
|
52
|
+
"axisLineColor": "#6E7079",
|
|
53
|
+
"axisTickShow": true,
|
|
54
|
+
"axisTickColor": "#6E7079",
|
|
55
|
+
"axisLabelShow": true,
|
|
56
|
+
"axisLabelColor": "#6E7079",
|
|
57
|
+
"splitLineShow": true,
|
|
58
|
+
"splitLineColor": ["#E0E6F1"],
|
|
59
|
+
"splitAreaShow": false,
|
|
60
|
+
"splitAreaColor": ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"type": "category",
|
|
64
|
+
"name": "类目坐标轴",
|
|
65
|
+
"axisLineShow": true,
|
|
66
|
+
"axisLineColor": "#6E7079",
|
|
67
|
+
"axisTickShow": true,
|
|
68
|
+
"axisTickColor": "#6E7079",
|
|
69
|
+
"axisLabelShow": true,
|
|
70
|
+
"axisLabelColor": "#6E7079",
|
|
71
|
+
"splitLineShow": false,
|
|
72
|
+
"splitLineColor": ["#E0E6F1"],
|
|
73
|
+
"splitAreaShow": false,
|
|
74
|
+
"splitAreaColor": ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"type": "value",
|
|
78
|
+
"name": "数值坐标轴",
|
|
79
|
+
"axisLineShow": false,
|
|
80
|
+
"axisLineColor": "#6E7079",
|
|
81
|
+
"axisTickShow": false,
|
|
82
|
+
"axisTickColor": "#6E7079",
|
|
83
|
+
"axisLabelShow": true,
|
|
84
|
+
"axisLabelColor": "#6E7079",
|
|
85
|
+
"splitLineShow": true,
|
|
86
|
+
"splitLineColor": ["#E0E6F1"],
|
|
87
|
+
"splitAreaShow": false,
|
|
88
|
+
"splitAreaColor": ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"type": "log",
|
|
92
|
+
"name": "对数坐标轴",
|
|
93
|
+
"axisLineShow": false,
|
|
94
|
+
"axisLineColor": "#6E7079",
|
|
95
|
+
"axisTickShow": false,
|
|
96
|
+
"axisTickColor": "#6E7079",
|
|
97
|
+
"axisLabelShow": true,
|
|
98
|
+
"axisLabelColor": "#6E7079",
|
|
99
|
+
"splitLineShow": true,
|
|
100
|
+
"splitLineColor": ["#E0E6F1"],
|
|
101
|
+
"splitAreaShow": false,
|
|
102
|
+
"splitAreaColor": ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"type": "time",
|
|
106
|
+
"name": "时间坐标轴",
|
|
107
|
+
"axisLineShow": true,
|
|
108
|
+
"axisLineColor": "#6E7079",
|
|
109
|
+
"axisTickShow": true,
|
|
110
|
+
"axisTickColor": "#6E7079",
|
|
111
|
+
"axisLabelShow": true,
|
|
112
|
+
"axisLabelColor": "#6E7079",
|
|
113
|
+
"splitLineShow": false,
|
|
114
|
+
"splitLineColor": ["#E0E6F1"],
|
|
115
|
+
"splitAreaShow": false,
|
|
116
|
+
"splitAreaColor": ["rgba(250,250,250,0.2)", "rgba(210,219,238,0.2)"]
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
"axisSeperateSetting": true,
|
|
120
|
+
"toolboxColor": "#8d8d8d",
|
|
121
|
+
"toolboxEmphasisColor": "#1c2024",
|
|
122
|
+
"tooltipAxisColor": "#cccccc",
|
|
123
|
+
"tooltipAxisWidth": 1,
|
|
124
|
+
"timelineLineColor": "#dae1f5",
|
|
125
|
+
"timelineLineWidth": 2,
|
|
126
|
+
"timelineItemColor": "#a4b1d7",
|
|
127
|
+
"timelineItemColorE": "#ffffff",
|
|
128
|
+
"timelineCheckColor": "#316bf3",
|
|
129
|
+
"timelineCheckBorderColor": "#ffffff",
|
|
130
|
+
"timelineItemBorderWidth": 1,
|
|
131
|
+
"timelineControlColor": "#a4b1d7",
|
|
132
|
+
"timelineControlBorderColor": "#a4b1d7",
|
|
133
|
+
"timelineControlBorderWidth": 1,
|
|
134
|
+
"timelineLabelColor": "#a4b1d7"
|
|
135
|
+
}
|
|
136
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { useResizeDetector } from 'react-resize-detector';
|
|
3
|
+
import ReactECharts from 'echarts-for-react';
|
|
4
|
+
import chartTheme from './chart-theme.json';
|
|
5
|
+
|
|
6
|
+
export { chartTheme };
|
|
7
|
+
|
|
8
|
+
export type ChartProps = React.ComponentProps<typeof ReactECharts>;
|
|
9
|
+
|
|
10
|
+
export function Chart(props: ChartProps): JSX.Element {
|
|
11
|
+
const { width, height, ref } = useResizeDetector({
|
|
12
|
+
handleHeight: false,
|
|
13
|
+
refreshMode: 'debounce',
|
|
14
|
+
refreshRate: 100,
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
return (
|
|
18
|
+
<div ref={ref} style={{ width: '100%', height: '100%' }}>
|
|
19
|
+
<ReactECharts style={{ width, height }} theme={chartTheme} {...props} />
|
|
20
|
+
</div>
|
|
21
|
+
);
|
|
22
|
+
}
|
package/src/icon.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export {
|
|
2
|
+
BookmarkIcon,
|
|
3
|
+
ExitIcon,
|
|
4
|
+
InfoCircledIcon,
|
|
5
|
+
ExclamationTriangleIcon,
|
|
6
|
+
MagnifyingGlassIcon,
|
|
7
|
+
DotsHorizontalIcon,
|
|
8
|
+
ChatBubbleIcon,
|
|
9
|
+
PlusIcon,
|
|
10
|
+
BookmarkFilledIcon,
|
|
11
|
+
MixerHorizontalIcon,
|
|
12
|
+
ChevronLeftIcon,
|
|
13
|
+
ChevronRightIcon,
|
|
14
|
+
} from '@radix-ui/react-icons';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { IconProps } from './types';
|
|
3
|
+
|
|
4
|
+
export const TriangleArrowDownIcon = React.forwardRef<SVGSVGElement, IconProps>(
|
|
5
|
+
({ color = 'currentColor', ...props }, forwardedRef) => {
|
|
6
|
+
return (
|
|
7
|
+
<svg
|
|
8
|
+
fill="none"
|
|
9
|
+
height="7"
|
|
10
|
+
viewBox="0 0 8 7"
|
|
11
|
+
width="8"
|
|
12
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
13
|
+
{...props}
|
|
14
|
+
ref={forwardedRef}
|
|
15
|
+
>
|
|
16
|
+
<path
|
|
17
|
+
d="M7.10844 0.8125H0.891554C0.197392 0.8125 -0.177096 1.62672 0.274659 2.15377L3.3831 5.78029C3.70737 6.1586 4.29263 6.1586 4.6169 5.78029L7.72534 2.15377C8.1771 1.62672 7.80261 0.8125 7.10844 0.8125Z"
|
|
18
|
+
fill={color}
|
|
19
|
+
/>
|
|
20
|
+
</svg>
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
|
|
25
|
+
TriangleArrowDownIcon.displayName = 'ArrowDownIcon';
|
package/src/icons/up.tsx
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { IconProps } from './types';
|
|
3
|
+
|
|
4
|
+
export const TriangleArrowUpIcon = React.forwardRef<SVGSVGElement, IconProps>(
|
|
5
|
+
({ color = 'currentColor', ...props }, forwardedRef) => {
|
|
6
|
+
return (
|
|
7
|
+
<svg
|
|
8
|
+
fill="none"
|
|
9
|
+
height="7"
|
|
10
|
+
viewBox="0 0 8 7"
|
|
11
|
+
width="8"
|
|
12
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
13
|
+
{...props}
|
|
14
|
+
ref={forwardedRef}
|
|
15
|
+
>
|
|
16
|
+
<path
|
|
17
|
+
d="M0.891555 6.1875L7.10845 6.1875C7.80261 6.1875 8.1771 5.37328 7.72534 4.84623L4.6169 1.21971C4.29263 0.841403 3.70737 0.841403 3.3831 1.21971L0.274659 4.84623C-0.177095 5.37328 0.197393 6.1875 0.891555 6.1875Z"
|
|
18
|
+
fill={color}
|
|
19
|
+
/>
|
|
20
|
+
</svg>
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
|
|
25
|
+
TriangleArrowUpIcon.displayName = 'ArrowUpIcon';
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import type { ColumnDef, SortingState, RowData } from '@tanstack/react-table';
|
|
2
|
+
import type { CSSProperties } from 'react';
|
|
3
|
+
import {
|
|
4
|
+
flexRender,
|
|
5
|
+
getCoreRowModel,
|
|
6
|
+
useReactTable,
|
|
7
|
+
getSortedRowModel,
|
|
8
|
+
createColumnHelper,
|
|
9
|
+
} from '@tanstack/react-table';
|
|
10
|
+
import React, { useMemo, useState } from 'react';
|
|
11
|
+
import { Flex, Typo } from '../../atoms';
|
|
12
|
+
import { TriangleArrowDownIcon } from '../../icons/down';
|
|
13
|
+
import { TriangleArrowUpIcon } from '../../icons/up';
|
|
14
|
+
import { Row, type ExpandComp, type OnRowClick } from './row';
|
|
15
|
+
|
|
16
|
+
export type { ExpandComp, OnRowClick, ColumnDef };
|
|
17
|
+
export { createColumnHelper };
|
|
18
|
+
|
|
19
|
+
export interface ExpandTableProps<Datum extends RowData> {
|
|
20
|
+
/** 렌더할 데이터 배열 */
|
|
21
|
+
data?: Datum[];
|
|
22
|
+
/** 테이블 컬럼의 메타 데이터 */
|
|
23
|
+
columns: ColumnDef<Datum>[];
|
|
24
|
+
/** Row의 open이 true인 경우 하단의 collapse에 렌더할 컴포넌트 */
|
|
25
|
+
ExpandComp?: ExpandComp<Datum>;
|
|
26
|
+
/** 데이테가 없을 시 화면에 표시할 컴포넌트 */
|
|
27
|
+
placeholder?: React.ReactNode;
|
|
28
|
+
/** 행 클릭 시 실행할 콜백 */
|
|
29
|
+
onRowClick?: OnRowClick<Datum>;
|
|
30
|
+
rowStyle?: CSSProperties;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export function ExpandTable<Datum extends RowData>(
|
|
34
|
+
props: ExpandTableProps<Datum>
|
|
35
|
+
): React.ReactNode {
|
|
36
|
+
const { data, columns, ExpandComp, placeholder, onRowClick } = props;
|
|
37
|
+
|
|
38
|
+
const [sorting, setSorting] = useState<SortingState>([]);
|
|
39
|
+
const { getRowModel, getHeaderGroups } = useReactTable({
|
|
40
|
+
data: data || [],
|
|
41
|
+
columns,
|
|
42
|
+
getCoreRowModel: getCoreRowModel(),
|
|
43
|
+
getSortedRowModel: getSortedRowModel(),
|
|
44
|
+
state: {
|
|
45
|
+
sorting,
|
|
46
|
+
},
|
|
47
|
+
onSortingChange: setSorting,
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
const gridColTemp = useMemo<string>(() => {
|
|
51
|
+
return columns
|
|
52
|
+
.map((col) => {
|
|
53
|
+
if (col.meta?.autoSize) return '1fr';
|
|
54
|
+
return `${col.size || 150}px`;
|
|
55
|
+
})
|
|
56
|
+
.join(' ');
|
|
57
|
+
}, [columns]);
|
|
58
|
+
|
|
59
|
+
const rowModels = getRowModel();
|
|
60
|
+
|
|
61
|
+
return (
|
|
62
|
+
<div className="expand-table">
|
|
63
|
+
<div className="thead">
|
|
64
|
+
{getHeaderGroups().map((headerGroup) => (
|
|
65
|
+
<div
|
|
66
|
+
className="tr"
|
|
67
|
+
key={headerGroup.id}
|
|
68
|
+
style={{ gridTemplateColumns: gridColTemp }}
|
|
69
|
+
>
|
|
70
|
+
{headerGroup.headers.map((header) => {
|
|
71
|
+
const sortable = header.column.getCanSort();
|
|
72
|
+
const sortedState = header.column.getIsSorted();
|
|
73
|
+
|
|
74
|
+
return (
|
|
75
|
+
<div className="th" key={header.id}>
|
|
76
|
+
<button
|
|
77
|
+
onClick={header.column.getToggleSortingHandler()}
|
|
78
|
+
style={sortable ? { cursor: 'pointer' } : undefined}
|
|
79
|
+
type="button"
|
|
80
|
+
>
|
|
81
|
+
<Typo variant="body">
|
|
82
|
+
{flexRender(
|
|
83
|
+
header.column.columnDef.header,
|
|
84
|
+
header.getContext()
|
|
85
|
+
)}
|
|
86
|
+
</Typo>
|
|
87
|
+
{sortable ? (
|
|
88
|
+
<Flex
|
|
89
|
+
direction="column"
|
|
90
|
+
style={{ marginLeft: 'var(--space-2)' }}
|
|
91
|
+
>
|
|
92
|
+
<TriangleArrowUpIcon
|
|
93
|
+
color={
|
|
94
|
+
sortedState === 'asc'
|
|
95
|
+
? 'var(--iris-10)'
|
|
96
|
+
: 'var(--iris-6)'
|
|
97
|
+
}
|
|
98
|
+
/>
|
|
99
|
+
<TriangleArrowDownIcon
|
|
100
|
+
color={
|
|
101
|
+
sortedState === 'desc'
|
|
102
|
+
? 'var(--iris-10)'
|
|
103
|
+
: 'var(--iris-6)'
|
|
104
|
+
}
|
|
105
|
+
/>
|
|
106
|
+
</Flex>
|
|
107
|
+
) : null}
|
|
108
|
+
</button>
|
|
109
|
+
</div>
|
|
110
|
+
);
|
|
111
|
+
})}
|
|
112
|
+
</div>
|
|
113
|
+
))}
|
|
114
|
+
</div>
|
|
115
|
+
<div className="tbody">
|
|
116
|
+
{/* 데이터가 없을 시 표시되는 노드 */}
|
|
117
|
+
{rowModels.rows.length === 0 && (
|
|
118
|
+
<div className="tr" key="expand_placeholder">
|
|
119
|
+
<Flex align="center" justify="center">
|
|
120
|
+
{placeholder || (
|
|
121
|
+
<Typo color="gray" mb="6" mt="6" variant="body">
|
|
122
|
+
데이터가 없습니다
|
|
123
|
+
</Typo>
|
|
124
|
+
)}
|
|
125
|
+
</Flex>
|
|
126
|
+
</div>
|
|
127
|
+
)}
|
|
128
|
+
|
|
129
|
+
{/* 행을 렌더하는 로직 */}
|
|
130
|
+
{rowModels.rows.map((row) => {
|
|
131
|
+
return (
|
|
132
|
+
<Row
|
|
133
|
+
ExpandComp={ExpandComp}
|
|
134
|
+
gridColTemp={gridColTemp}
|
|
135
|
+
key={`row_${row.id}`}
|
|
136
|
+
onRowClick={onRowClick}
|
|
137
|
+
row={row}
|
|
138
|
+
/>
|
|
139
|
+
);
|
|
140
|
+
})}
|
|
141
|
+
</div>
|
|
142
|
+
</div>
|
|
143
|
+
);
|
|
144
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import {
|
|
2
|
+
type Row as TanstackRow,
|
|
3
|
+
type RowData,
|
|
4
|
+
flexRender,
|
|
5
|
+
} from '@tanstack/react-table';
|
|
6
|
+
import React, { useCallback, useState } from 'react';
|
|
7
|
+
import { Collapse } from '../../atoms';
|
|
8
|
+
|
|
9
|
+
export type ExpandComp<Datum> = React.FC<{ row: TanstackRow<Datum> }>;
|
|
10
|
+
export type OnRowClick<Datum> = (data: Datum) => void;
|
|
11
|
+
|
|
12
|
+
interface RowProps<Datum extends RowData> {
|
|
13
|
+
row: TanstackRow<Datum>;
|
|
14
|
+
ExpandComp?: ExpandComp<Datum>;
|
|
15
|
+
onRowClick?: OnRowClick<Datum>;
|
|
16
|
+
gridColTemp: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export function Row<Datum extends RowData>(
|
|
20
|
+
props: RowProps<Datum>
|
|
21
|
+
): React.ReactNode {
|
|
22
|
+
const { row, ExpandComp, gridColTemp } = props;
|
|
23
|
+
const [open, setOpen] = useState(false);
|
|
24
|
+
|
|
25
|
+
const onClickRow = useCallback(() => {
|
|
26
|
+
props.onRowClick?.(row.original);
|
|
27
|
+
setOpen((prev) => !prev);
|
|
28
|
+
}, [props, row.original]);
|
|
29
|
+
|
|
30
|
+
return (
|
|
31
|
+
<div
|
|
32
|
+
className={`tr-wrapper ${ExpandComp ? 'expandable' : ''}`}
|
|
33
|
+
key={`tr-wrapper_${row.id}`}
|
|
34
|
+
>
|
|
35
|
+
<button
|
|
36
|
+
className="tr"
|
|
37
|
+
key={`tr_${row.id}`}
|
|
38
|
+
onClick={onClickRow}
|
|
39
|
+
style={{ gridTemplateColumns: gridColTemp }}
|
|
40
|
+
type="button"
|
|
41
|
+
>
|
|
42
|
+
{row.getVisibleCells().map((cell) => {
|
|
43
|
+
const autoSize = cell.column.columnDef.meta?.autoSize;
|
|
44
|
+
|
|
45
|
+
return (
|
|
46
|
+
<div
|
|
47
|
+
className="td"
|
|
48
|
+
key={cell.id}
|
|
49
|
+
style={{
|
|
50
|
+
minWidth: autoSize ? undefined : cell.column.getSize(),
|
|
51
|
+
flexGrow: autoSize ? 1 : undefined,
|
|
52
|
+
}}
|
|
53
|
+
>
|
|
54
|
+
{flexRender(cell.column.columnDef.cell, cell.getContext())}
|
|
55
|
+
{cell.column.columnDef.meta?.OpenBtn ? (
|
|
56
|
+
<cell.column.columnDef.meta.OpenBtn
|
|
57
|
+
data={row.original}
|
|
58
|
+
open={open}
|
|
59
|
+
setIsOpen={setOpen}
|
|
60
|
+
/>
|
|
61
|
+
) : null}
|
|
62
|
+
</div>
|
|
63
|
+
);
|
|
64
|
+
})}
|
|
65
|
+
</button>
|
|
66
|
+
{ExpandComp ? (
|
|
67
|
+
<Collapse open={open}>
|
|
68
|
+
<div className="expand-comp-wrapper">
|
|
69
|
+
<ExpandComp row={row} />
|
|
70
|
+
</div>
|
|
71
|
+
</Collapse>
|
|
72
|
+
) : null}
|
|
73
|
+
</div>
|
|
74
|
+
);
|
|
75
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './expand-table';
|