@deepnoid/ui 0.0.112 → 0.1.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/.eslintrc.cjs +4 -0
- package/.turbo/turbo-build.log +365 -0
- package/babel.config.js +8 -0
- package/dist/NanumSquare_acB-VMSVRKSM.ttf +0 -0
- package/dist/NanumSquare_acEB-HRZ3QLG2.ttf +0 -0
- package/dist/NanumSquare_acL-FSAAP5CK.ttf +0 -0
- package/dist/NanumSquare_acR-RZCHPXSJ.ttf +0 -0
- package/dist/{chunk-LCI6RPWE.mjs → chunk-24NQEB73.mjs} +7 -5
- package/dist/chunk-2TJDQIKB.mjs +82 -0
- package/dist/chunk-2ZT6V4QR.mjs +591 -0
- package/dist/chunk-56VCX2QR.mjs +170 -0
- package/dist/chunk-6PNKRBUT.mjs +34 -0
- package/dist/{chunk-IZ6II3QA.mjs → chunk-AC6TWLRT.mjs} +1 -13
- package/dist/{chunk-PRLGHYFO.mjs → chunk-AMA53H3C.mjs} +7 -7
- package/dist/chunk-AYWI2CRE.mjs +211 -0
- package/dist/{chunk-OJ2OEI5B.mjs → chunk-BKE6QF6W.mjs} +7 -0
- package/dist/chunk-CF6O6TCF.mjs +63 -0
- package/dist/chunk-DUOYMLZL.mjs +283 -0
- package/dist/{chunk-7HHFRKJU.mjs → chunk-GLBASISV.mjs} +2 -2
- package/dist/{chunk-FDKT4IBP.mjs → chunk-HKXUNG3H.mjs} +4 -4
- package/dist/chunk-J5WJD6XZ.mjs +221 -0
- package/dist/chunk-LXHUO6VM.mjs +46 -0
- package/dist/chunk-M2IRRTFM.mjs +79 -0
- package/dist/{chunk-NGQ3MK2J.mjs → chunk-N4F3R6HG.mjs} +1 -1
- package/dist/chunk-ON5SGXHZ.mjs +29 -0
- package/dist/chunk-OQS4LGZK.mjs +27 -0
- package/dist/{chunk-IOCRFIQF.mjs → chunk-P2TMIZRH.mjs} +131 -30
- package/dist/chunk-RCU5MLBU.mjs +198 -0
- package/dist/chunk-RT5NKQX4.mjs +285 -0
- package/dist/chunk-S65S7QZ5.mjs +413 -0
- package/dist/chunk-SE5TU755.mjs +1 -0
- package/dist/chunk-SPX2BHO2.mjs +314 -0
- package/dist/{chunk-TSMVRGDO.mjs → chunk-SSEQSF5F.mjs} +14 -8
- package/dist/chunk-U2YKMXVG.mjs +145 -0
- package/dist/{chunk-JN7EGKJL.mjs → chunk-VRGHUYRU.mjs} +11 -5
- package/dist/{chunk-EYY4CRRR.mjs → chunk-VVOOYDJS.mjs} +15 -17
- package/dist/chunk-WSIADHVC.mjs +126 -0
- package/dist/{chunk-PXUBPWKU.mjs → chunk-XIHAABHB.mjs} +4 -4
- package/dist/{chunk-BCN5F2MN.mjs → chunk-YCMZELLD.mjs} +2 -2
- package/dist/{chunk-RZZWHI6O.mjs → chunk-YZNQ2QGK.mjs} +8 -3
- package/dist/chunk-Z74QNVPG.mjs +127 -0
- package/dist/{chunk-KRI5IALM.mjs → chunk-ZEZ6ZA3N.mjs} +6 -3
- package/dist/{chunk-KCBBBRSF.mjs → chunk-ZMOAFSYE.mjs} +1 -1
- package/dist/components/avatar/avatar.d.mts +80 -0
- package/dist/components/avatar/avatar.d.ts +80 -0
- package/dist/components/{accordion/accordionItem.js → avatar/avatar.js} +454 -213
- package/dist/components/avatar/avatar.mjs +10 -0
- package/dist/components/avatar/index.d.mts +4 -0
- package/dist/components/avatar/index.d.ts +4 -0
- package/dist/components/{accordion → avatar}/index.js +836 -676
- package/dist/components/avatar/index.mjs +11 -0
- package/dist/components/backdrop/backdrop.d.mts +11 -0
- package/dist/components/backdrop/backdrop.d.ts +11 -0
- package/dist/components/backdrop/backdrop.js +345 -0
- package/dist/components/backdrop/backdrop.mjs +9 -0
- package/dist/components/backdrop/index.d.mts +2 -0
- package/dist/components/backdrop/index.d.ts +2 -0
- package/dist/components/backdrop/index.js +351 -0
- package/dist/components/backdrop/index.mjs +10 -0
- package/dist/components/breadcrumb/breadcrumb.d.mts +96 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +96 -0
- package/dist/components/breadcrumb/breadcrumb.js +4067 -0
- package/dist/components/breadcrumb/breadcrumb.mjs +12 -0
- package/dist/components/breadcrumb/index.d.mts +7 -0
- package/dist/components/breadcrumb/index.d.ts +7 -0
- package/dist/components/breadcrumb/index.js +4073 -0
- package/dist/components/breadcrumb/index.mjs +13 -0
- package/dist/components/button/button-group.d.mts +5 -4
- package/dist/components/button/button-group.d.ts +5 -4
- package/dist/components/button/button-group.js +278 -9
- package/dist/components/button/button-group.mjs +3 -3
- package/dist/components/button/button.d.mts +27 -180
- package/dist/components/button/button.d.ts +27 -180
- package/dist/components/button/button.js +600 -426
- package/dist/components/button/button.mjs +8 -5
- package/dist/components/button/index.d.mts +0 -1
- package/dist/components/button/index.d.ts +0 -1
- package/dist/components/button/index.js +605 -431
- package/dist/components/button/index.mjs +9 -6
- package/dist/components/checkbox/checkbox.d.mts +50 -206
- package/dist/components/checkbox/checkbox.d.ts +50 -206
- package/dist/components/checkbox/checkbox.js +464 -127
- package/dist/components/checkbox/checkbox.mjs +4 -3
- package/dist/components/checkbox/index.d.mts +0 -1
- package/dist/components/checkbox/index.d.ts +0 -1
- package/dist/components/checkbox/index.js +464 -127
- package/dist/components/checkbox/index.mjs +4 -3
- package/dist/components/chip/chip.d.mts +119 -0
- package/dist/components/chip/chip.d.ts +119 -0
- package/dist/components/chip/chip.js +4200 -0
- package/dist/components/chip/chip.mjs +13 -0
- package/dist/components/chip/index.d.mts +7 -0
- package/dist/components/chip/index.d.ts +7 -0
- package/dist/components/chip/index.js +4206 -0
- package/dist/components/chip/index.mjs +14 -0
- package/dist/components/dateTimePicker/calendar.d.mts +3 -53
- package/dist/components/dateTimePicker/calendar.d.ts +3 -53
- package/dist/components/dateTimePicker/calendar.js +415 -43
- package/dist/components/dateTimePicker/calendar.mjs +5 -5
- package/dist/components/dateTimePicker/dateTimePicker.d.mts +23 -180
- package/dist/components/dateTimePicker/dateTimePicker.d.ts +23 -180
- package/dist/components/dateTimePicker/dateTimePicker.js +674 -151
- package/dist/components/dateTimePicker/dateTimePicker.mjs +11 -10
- package/dist/components/dateTimePicker/index.d.mts +0 -1
- package/dist/components/dateTimePicker/index.d.ts +0 -1
- package/dist/components/dateTimePicker/index.js +674 -151
- package/dist/components/dateTimePicker/index.mjs +11 -10
- package/dist/components/dateTimePicker/timePicker.js +4218 -130
- package/dist/components/dateTimePicker/timePicker.mjs +9 -5
- package/dist/components/dateTimePicker/useDateTimePicker.d.mts +4 -4
- package/dist/components/dateTimePicker/useDateTimePicker.d.ts +4 -4
- package/dist/components/dateTimePicker/useDateTimePicker.mjs +1 -1
- package/dist/components/dateTimePicker/util.mjs +1 -1
- package/dist/components/icon/Icon.d.mts +30 -5
- package/dist/components/icon/Icon.d.ts +30 -5
- package/dist/components/icon/Icon.js +137 -34
- package/dist/components/icon/Icon.mjs +3 -3
- package/dist/components/icon/index.d.mts +1 -0
- package/dist/components/icon/index.d.ts +1 -0
- package/dist/components/icon/index.js +137 -34
- package/dist/components/icon/index.mjs +3 -3
- package/dist/components/icon/template.d.mts +7 -1
- package/dist/components/icon/template.d.ts +7 -1
- package/dist/components/icon/template.js +131 -30
- package/dist/components/icon/template.mjs +2 -2
- package/dist/components/input/index.d.mts +1 -2
- package/dist/components/input/index.d.ts +1 -2
- package/dist/components/input/index.js +634 -197
- package/dist/components/input/index.mjs +6 -5
- package/dist/components/input/input.d.mts +114 -256
- package/dist/components/input/input.d.ts +114 -256
- package/dist/components/input/input.js +634 -197
- package/dist/components/input/input.mjs +6 -5
- package/dist/components/list/index.d.mts +5 -2
- package/dist/components/list/index.d.ts +5 -2
- package/dist/components/list/index.js +4161 -73
- package/dist/components/list/index.mjs +8 -4
- package/dist/components/list/list.d.mts +17 -67
- package/dist/components/list/list.d.ts +17 -67
- package/dist/components/list/list.js +290 -23
- package/dist/components/list/list.mjs +3 -3
- package/dist/components/list/listItem.d.mts +108 -113
- package/dist/components/list/listItem.d.ts +108 -113
- package/dist/components/list/listItem.js +4159 -61
- package/dist/components/list/listItem.mjs +7 -3
- package/dist/components/modal/index.d.mts +0 -1
- package/dist/components/modal/index.d.ts +0 -1
- package/dist/components/modal/index.js +630 -454
- package/dist/components/modal/index.mjs +10 -7
- package/dist/components/modal/modal.d.mts +3 -76
- package/dist/components/modal/modal.d.ts +3 -76
- package/dist/components/modal/modal.js +630 -454
- package/dist/components/modal/modal.mjs +10 -7
- package/dist/components/pagination/index.d.mts +1 -1
- package/dist/components/pagination/index.d.ts +1 -1
- package/dist/components/pagination/index.js +740 -302
- package/dist/components/pagination/index.mjs +8 -7
- package/dist/components/pagination/pagination.d.mts +50 -112
- package/dist/components/pagination/pagination.d.ts +50 -112
- package/dist/components/pagination/pagination.js +742 -306
- package/dist/components/pagination/pagination.mjs +10 -11
- package/dist/components/pagination/usePagination.mjs +1 -1
- package/dist/components/radio/index.d.mts +0 -1
- package/dist/components/radio/index.d.ts +0 -1
- package/dist/components/radio/index.js +424 -111
- package/dist/components/radio/index.mjs +4 -3
- package/dist/components/radio/radio.d.mts +113 -183
- package/dist/components/radio/radio.d.ts +113 -183
- package/dist/components/radio/radio.js +424 -111
- package/dist/components/radio/radio.mjs +4 -3
- package/dist/components/ripple/index.d.mts +4 -0
- package/dist/components/ripple/index.d.ts +4 -0
- package/dist/components/ripple/index.js +98 -0
- package/dist/components/ripple/index.mjs +13 -0
- package/dist/components/ripple/ripple.d.mts +21 -0
- package/dist/components/ripple/ripple.d.ts +21 -0
- package/dist/components/ripple/ripple.js +65 -0
- package/dist/components/ripple/ripple.mjs +8 -0
- package/dist/components/ripple/useRipple.d.mts +17 -0
- package/dist/components/ripple/useRipple.d.ts +17 -0
- package/dist/components/ripple/useRipple.js +57 -0
- package/dist/components/ripple/useRipple.mjs +10 -0
- package/dist/components/select/index.d.mts +0 -1
- package/dist/components/select/index.d.ts +0 -1
- package/dist/components/select/index.js +437 -44
- package/dist/components/select/index.mjs +6 -6
- package/dist/components/select/option.d.mts +2 -3
- package/dist/components/select/option.d.ts +2 -3
- package/dist/components/select/option.js +431 -44
- package/dist/components/select/option.mjs +5 -5
- package/dist/components/select/select.d.mts +19 -180
- package/dist/components/select/select.d.ts +19 -180
- package/dist/components/select/select.js +437 -44
- package/dist/components/select/select.mjs +6 -6
- package/dist/components/select/useSelect.d.mts +3 -4
- package/dist/components/select/useSelect.d.ts +3 -4
- package/dist/components/select/useSelect.mjs +1 -1
- package/dist/components/switch/index.d.mts +1 -2
- package/dist/components/switch/index.d.ts +1 -2
- package/dist/components/switch/index.js +54 -77
- package/dist/components/switch/index.mjs +2 -2
- package/dist/components/switch/switch.d.mts +56 -190
- package/dist/components/switch/switch.d.ts +56 -190
- package/dist/components/switch/switch.js +55 -83
- package/dist/components/switch/switch.mjs +4 -6
- package/dist/components/table/index.d.mts +0 -1
- package/dist/components/table/index.d.ts +0 -1
- package/dist/components/table/index.js +1730 -910
- package/dist/components/table/index.mjs +14 -9
- package/dist/components/table/table-body.d.mts +9 -16
- package/dist/components/table/table-body.d.ts +9 -16
- package/dist/components/table/table-body.js +517 -3856
- package/dist/components/table/table-body.mjs +4 -7
- package/dist/components/table/table-head.d.mts +6 -9
- package/dist/components/table/table-head.d.ts +6 -9
- package/dist/components/table/table-head.js +430 -162
- package/dist/components/table/table-head.mjs +4 -4
- package/dist/components/table/table.d.mts +98 -578
- package/dist/components/table/table.d.ts +98 -578
- package/dist/components/table/table.js +1730 -910
- package/dist/components/table/table.mjs +14 -9
- package/dist/components/tabs/index.d.mts +0 -1
- package/dist/components/tabs/index.d.ts +0 -1
- package/dist/components/tabs/index.js +291 -9
- package/dist/components/tabs/index.mjs +3 -3
- package/dist/components/tabs/tabs.d.mts +12 -99
- package/dist/components/tabs/tabs.d.ts +12 -99
- package/dist/components/tabs/tabs.js +291 -9
- package/dist/components/tabs/tabs.mjs +3 -3
- package/dist/components/textarea/index.d.mts +0 -1
- package/dist/components/textarea/index.d.ts +0 -1
- package/dist/components/textarea/index.js +7 -0
- package/dist/components/textarea/index.mjs +2 -2
- package/dist/components/textarea/textarea.d.mts +19 -271
- package/dist/components/textarea/textarea.d.ts +19 -271
- package/dist/components/textarea/textarea.js +7 -0
- package/dist/components/textarea/textarea.mjs +2 -2
- package/dist/components/toast/index.d.mts +1 -1
- package/dist/components/toast/index.d.ts +1 -1
- package/dist/components/toast/index.js +426 -44
- package/dist/components/toast/index.mjs +6 -6
- package/dist/components/toast/toast-utils.mjs +1 -1
- package/dist/components/toast/toast.d.mts +4 -87
- package/dist/components/toast/toast.d.ts +4 -87
- package/dist/components/toast/toast.js +425 -43
- package/dist/components/toast/toast.mjs +5 -5
- package/dist/components/toast/use-toast.d.mts +1 -0
- package/dist/components/toast/use-toast.d.ts +1 -0
- package/dist/components/toast/use-toast.js +426 -44
- package/dist/components/toast/use-toast.mjs +6 -6
- package/dist/components/tooltip/index.d.mts +1 -2
- package/dist/components/tooltip/index.d.ts +1 -2
- package/dist/components/tooltip/index.js +412 -54
- package/dist/components/tooltip/index.mjs +5 -5
- package/dist/components/tooltip/tooltip-utils.d.mts +1 -1
- package/dist/components/tooltip/tooltip-utils.d.ts +1 -1
- package/dist/components/tooltip/tooltip-utils.js +67 -0
- package/dist/components/tooltip/tooltip-utils.mjs +6 -2
- package/dist/components/tooltip/tooltip.d.mts +37 -85
- package/dist/components/tooltip/tooltip.d.ts +37 -85
- package/dist/components/tooltip/tooltip.js +412 -54
- package/dist/components/tooltip/tooltip.mjs +5 -5
- package/dist/components/tooltip/useTooltip.d.mts +1 -1
- package/dist/components/tooltip/useTooltip.d.ts +1 -1
- package/dist/components/tooltip/useTooltip.mjs +3 -3
- package/dist/fonts/NanumSquare_acB.js +4 -0
- package/dist/fonts/NanumSquare_acB.mjs +8 -0
- package/dist/fonts/NanumSquare_acB.ttf +0 -0
- package/dist/fonts/NanumSquare_acEB.js +4 -0
- package/dist/fonts/NanumSquare_acEB.mjs +8 -0
- package/dist/fonts/NanumSquare_acEB.ttf +0 -0
- package/dist/fonts/NanumSquare_acL.js +4 -0
- package/dist/fonts/NanumSquare_acL.mjs +8 -0
- package/dist/fonts/NanumSquare_acL.ttf +0 -0
- package/dist/fonts/NanumSquare_acR.js +4 -0
- package/dist/fonts/NanumSquare_acR.mjs +8 -0
- package/dist/fonts/NanumSquare_acR.ttf +0 -0
- package/dist/fonts/font.css +36 -0
- package/dist/index.d.mts +6 -8
- package/dist/index.d.ts +6 -8
- package/dist/index.js +3929 -4355
- package/dist/index.mjs +70 -795
- package/dist/tooltip-utils-DO3LQaVM.d.mts +52 -0
- package/dist/tooltip-utils-DO3LQaVM.d.ts +52 -0
- package/dist/utils/clsx.mjs +1 -1
- package/dist/utils/props.mjs +1 -1
- package/dist/utils/tailwind-variants.d.mts +1 -21
- package/dist/utils/tailwind-variants.d.ts +1 -21
- package/dist/utils/tailwind-variants.js +288 -9
- package/dist/utils/tailwind-variants.mjs +2 -2
- package/dist/utils/types.d.mts +5 -4
- package/dist/utils/types.d.ts +5 -4
- package/package.json +34 -37
- package/postcss.config.js +6 -0
- package/tailwind.config.ts +7 -0
- package/tsup.config.ts +8 -0
- package/dist/chunk-2ALY3PH5.mjs +0 -66
- package/dist/chunk-A3RWT3JJ.mjs +0 -197
- package/dist/chunk-ANYPMQH4.mjs +0 -200
- package/dist/chunk-FNPWLOGV.mjs +0 -12875
- package/dist/chunk-H7BLXC5M.mjs +0 -5965
- package/dist/chunk-J725QONZ.mjs +0 -24
- package/dist/chunk-L6BQA6GI.mjs +0 -160
- package/dist/chunk-N2JULHST.mjs +0 -141
- package/dist/chunk-ODMRJXLJ.mjs +0 -61
- package/dist/chunk-PO3ADNA5.mjs +0 -56
- package/dist/chunk-QGZEHOKA.mjs +0 -342
- package/dist/chunk-QWFOYO3D.mjs +0 -173
- package/dist/chunk-S3O52LLG.mjs +0 -151
- package/dist/chunk-S4DTK5GI.mjs +0 -4036
- package/dist/chunk-SWR7E3NU.mjs +0 -78
- package/dist/chunk-U74WK5VI.mjs +0 -123
- package/dist/chunk-UR64ZUAU.mjs +0 -671
- package/dist/chunk-V77MALL4.mjs +0 -112
- package/dist/chunk-VWD26TIQ.mjs +0 -139
- package/dist/chunk-YRMFIXXC.mjs +0 -277
- package/dist/chunk-ZNEEYSIK.mjs +0 -257
- package/dist/components/accordion/accordion.d.mts +0 -154
- package/dist/components/accordion/accordion.d.ts +0 -154
- package/dist/components/accordion/accordion.js +0 -142
- package/dist/components/accordion/accordion.mjs +0 -10
- package/dist/components/accordion/accordion.test.js +0 -13015
- package/dist/components/accordion/accordion.test.mjs +0 -25
- package/dist/components/accordion/accordionItem.d.mts +0 -282
- package/dist/components/accordion/accordionItem.d.ts +0 -282
- package/dist/components/accordion/accordionItem.mjs +0 -13
- package/dist/components/accordion/index.d.mts +0 -6
- package/dist/components/accordion/index.d.ts +0 -6
- package/dist/components/accordion/index.mjs +0 -18
- package/dist/components/button/button-group.test.js +0 -21247
- package/dist/components/button/button-group.test.mjs +0 -57
- package/dist/components/button/button.test.js +0 -23148
- package/dist/components/button/button.test.mjs +0 -52
- package/dist/components/card/card.d.mts +0 -124
- package/dist/components/card/card.d.ts +0 -124
- package/dist/components/card/card.js +0 -103
- package/dist/components/card/card.mjs +0 -9
- package/dist/components/card/card.test.js +0 -12986
- package/dist/components/card/card.test.mjs +0 -24
- package/dist/components/card/index.d.mts +0 -5
- package/dist/components/card/index.d.ts +0 -5
- package/dist/components/card/index.js +0 -109
- package/dist/components/card/index.mjs +0 -10
- package/dist/components/checkbox/checkbox.test.js +0 -17237
- package/dist/components/checkbox/checkbox.test.mjs +0 -100
- package/dist/components/input/input.test.d.mts +0 -2
- package/dist/components/input/input.test.d.ts +0 -2
- package/dist/components/input/input.test.js +0 -22782
- package/dist/components/input/input.test.mjs +0 -99
- package/dist/components/list/list.test.d.mts +0 -2
- package/dist/components/list/list.test.d.ts +0 -2
- package/dist/components/list/list.test.js +0 -12995
- package/dist/components/list/list.test.mjs +0 -25
- package/dist/components/modal/modal.test.d.mts +0 -2
- package/dist/components/modal/modal.test.d.ts +0 -2
- package/dist/components/modal/modal.test.js +0 -17376
- package/dist/components/modal/modal.test.mjs +0 -39
- package/dist/components/pagination/pagination.test.d.mts +0 -2
- package/dist/components/pagination/pagination.test.d.ts +0 -2
- package/dist/components/pagination/pagination.test.js +0 -17051
- package/dist/components/pagination/pagination.test.mjs +0 -38
- package/dist/components/progress/index.d.mts +0 -5
- package/dist/components/progress/index.d.ts +0 -5
- package/dist/components/progress/index.js +0 -184
- package/dist/components/progress/index.mjs +0 -10
- package/dist/components/progress/progress.d.mts +0 -281
- package/dist/components/progress/progress.d.ts +0 -281
- package/dist/components/progress/progress.js +0 -178
- package/dist/components/progress/progress.mjs +0 -9
- package/dist/components/progress/progress.test.d.mts +0 -2
- package/dist/components/progress/progress.test.d.ts +0 -2
- package/dist/components/progress/progress.test.js +0 -13087
- package/dist/components/progress/progress.test.mjs +0 -50
- package/dist/components/radio/radio.test.d.mts +0 -2
- package/dist/components/radio/radio.test.d.ts +0 -2
- package/dist/components/radio/radio.test.js +0 -13147
- package/dist/components/radio/radio.test.mjs +0 -63
- package/dist/components/select/select.test.d.mts +0 -2
- package/dist/components/select/select.test.d.ts +0 -2
- package/dist/components/select/select.test.js +0 -20928
- package/dist/components/select/select.test.mjs +0 -71
- package/dist/components/slider/index.d.mts +0 -5
- package/dist/components/slider/index.d.ts +0 -5
- package/dist/components/slider/index.js +0 -239
- package/dist/components/slider/index.mjs +0 -10
- package/dist/components/slider/slider.d.mts +0 -359
- package/dist/components/slider/slider.d.ts +0 -359
- package/dist/components/slider/slider.js +0 -238
- package/dist/components/slider/slider.mjs +0 -11
- package/dist/components/slider/slider.test.d.mts +0 -2
- package/dist/components/slider/slider.test.d.ts +0 -2
- package/dist/components/slider/slider.test.js +0 -13122
- package/dist/components/slider/slider.test.mjs +0 -30
- package/dist/components/switch/switch.test.d.mts +0 -2
- package/dist/components/switch/switch.test.d.ts +0 -2
- package/dist/components/switch/switch.test.js +0 -13098
- package/dist/components/switch/switch.test.mjs +0 -52
- package/dist/components/table/table.test.d.mts +0 -2
- package/dist/components/table/table.test.d.ts +0 -2
- package/dist/components/table/table.test.js +0 -17256
- package/dist/components/table/table.test.mjs +0 -42
- package/dist/components/tabs/tabs.test.d.mts +0 -2
- package/dist/components/tabs/tabs.test.d.ts +0 -2
- package/dist/components/tabs/tabs.test.js +0 -17223
- package/dist/components/tabs/tabs.test.mjs +0 -70
- package/dist/components/textarea/textarea.test.d.mts +0 -2
- package/dist/components/textarea/textarea.test.d.ts +0 -2
- package/dist/components/textarea/textarea.test.js +0 -19117
- package/dist/components/textarea/textarea.test.mjs +0 -66
- package/dist/components/toast/toast.test.d.mts +0 -2
- package/dist/components/toast/toast.test.d.ts +0 -2
- package/dist/components/toast/toast.test.js +0 -16620
- package/dist/components/toast/toast.test.mjs +0 -28
- package/dist/components/tooltip/tooltip.test.d.mts +0 -2
- package/dist/components/tooltip/tooltip.test.d.ts +0 -2
- package/dist/components/tooltip/tooltip.test.js +0 -17381
- package/dist/components/tooltip/tooltip.test.mjs +0 -39
- package/dist/tooltip-utils-DR0UEfBN.d.mts +0 -31
- package/dist/tooltip-utils-DR0UEfBN.d.ts +0 -31
- /package/dist/{chunk-7VOQKIIK.mjs → chunk-6WSACUIB.mjs} +0 -0
- /package/dist/{chunk-HAOK24MK.mjs → chunk-7DLOYKVC.mjs} +0 -0
- /package/dist/{chunk-MV2WCFK7.mjs → chunk-KYIODWXL.mjs} +0 -0
- /package/dist/{chunk-NMSDSEBD.mjs → chunk-MGEWSREV.mjs} +0 -0
- /package/dist/{components/accordion/accordion.test.d.mts → fonts/NanumSquare_acB.d.mts} +0 -0
- /package/dist/{components/accordion/accordion.test.d.ts → fonts/NanumSquare_acB.d.ts} +0 -0
- /package/dist/{components/button/button-group.test.d.mts → fonts/NanumSquare_acEB.d.mts} +0 -0
- /package/dist/{components/button/button-group.test.d.ts → fonts/NanumSquare_acEB.d.ts} +0 -0
- /package/dist/{components/button/button.test.d.mts → fonts/NanumSquare_acL.d.mts} +0 -0
- /package/dist/{components/button/button.test.d.ts → fonts/NanumSquare_acL.d.ts} +0 -0
- /package/dist/{components/card/card.test.d.mts → fonts/NanumSquare_acR.d.mts} +0 -0
- /package/dist/{components/card/card.test.d.ts → fonts/NanumSquare_acR.d.ts} +0 -0
- /package/dist/{components/checkbox/checkbox.test.d.mts → fonts/font.d.mts} +0 -0
- /package/dist/{components/checkbox/checkbox.test.d.ts → fonts/font.d.ts} +0 -0
|
@@ -1,676 +1,191 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
import * as
|
|
4
|
-
import
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import { ComponentPropsWithRef, ReactElement, ReactNode } from 'react';
|
|
5
5
|
import { SlotsToClasses } from '../../utils/types.js';
|
|
6
6
|
|
|
7
|
-
interface
|
|
7
|
+
interface TableBaseProps extends Omit<ComponentPropsWithRef<"table">, "ref" | "color" | "slot" | "size" | "height" | "defaultChecked" | "defaultValue"> {
|
|
8
8
|
rows: TableRow[];
|
|
9
9
|
columns: TableColumn[];
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
selectableRows?: boolean;
|
|
11
|
+
totalData?: number;
|
|
12
|
+
pagination?: {
|
|
13
|
+
page: number;
|
|
14
|
+
perPage: number;
|
|
15
|
+
};
|
|
16
|
+
onPageChange: (pagination: {
|
|
17
|
+
page: number;
|
|
18
|
+
perPage: number;
|
|
19
|
+
}) => void;
|
|
20
|
+
emptyContent?: ReactNode;
|
|
13
21
|
classNames?: SlotsToClasses<TableSlots>;
|
|
14
|
-
onRowAction?: (e: React__default.MouseEvent, params: TableRow) => void;
|
|
15
22
|
}
|
|
16
23
|
interface TableRef {
|
|
17
24
|
checkedRows: Set<number>;
|
|
18
25
|
setCheckedRows: (rows: Set<number>) => void;
|
|
19
26
|
}
|
|
20
|
-
declare const Table:
|
|
27
|
+
declare const Table: react.ForwardRefExoticComponent<TableBaseProps & TableVariantProps & react.RefAttributes<TableRef>>;
|
|
21
28
|
|
|
22
|
-
declare const
|
|
29
|
+
declare const tableStyle: tailwind_variants.TVReturnType<{
|
|
23
30
|
variant: {
|
|
24
31
|
solid: {
|
|
25
|
-
tbody: string;
|
|
32
|
+
tbody: string[];
|
|
26
33
|
};
|
|
27
|
-
|
|
28
|
-
|
|
34
|
+
outline: {
|
|
35
|
+
tbody: string[];
|
|
36
|
+
th: string[];
|
|
37
|
+
td: string[];
|
|
29
38
|
};
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
39
|
+
underline: {
|
|
40
|
+
tbody: string[];
|
|
41
|
+
th: string[];
|
|
33
42
|
};
|
|
34
43
|
};
|
|
35
44
|
size: {
|
|
36
45
|
sm: {
|
|
37
|
-
tr: string;
|
|
46
|
+
tr: string[];
|
|
38
47
|
};
|
|
39
48
|
md: {
|
|
40
|
-
tr: string;
|
|
49
|
+
tr: string[];
|
|
41
50
|
};
|
|
42
51
|
lg: {
|
|
43
|
-
tr: string;
|
|
52
|
+
tr: string[];
|
|
53
|
+
};
|
|
54
|
+
xl: {
|
|
55
|
+
tr: string[];
|
|
44
56
|
};
|
|
45
57
|
};
|
|
46
58
|
color: {
|
|
47
59
|
primary: {
|
|
48
|
-
|
|
49
|
-
tr: string;
|
|
50
|
-
td: string;
|
|
51
|
-
expandedTr: string;
|
|
60
|
+
tbody: string[];
|
|
52
61
|
};
|
|
53
62
|
secondary: {
|
|
54
|
-
|
|
55
|
-
tr: string;
|
|
56
|
-
td: string;
|
|
57
|
-
expandedTr: string;
|
|
63
|
+
tbody: string[];
|
|
58
64
|
};
|
|
59
65
|
neutral: {
|
|
60
|
-
|
|
61
|
-
tr: string;
|
|
62
|
-
td: string;
|
|
63
|
-
expandedTr: string;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
isLoading: {
|
|
67
|
-
true: {
|
|
68
|
-
loadingWrapper: string;
|
|
69
|
-
};
|
|
70
|
-
false: {
|
|
71
|
-
loadingWrapper: string;
|
|
66
|
+
tbody: string[];
|
|
72
67
|
};
|
|
73
68
|
};
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
isMultiSelect: {
|
|
78
|
-
true: {};
|
|
79
|
-
};
|
|
80
|
-
isChecked: {
|
|
81
|
-
true: {};
|
|
82
|
-
};
|
|
83
|
-
isCheckedRow: {
|
|
84
|
-
true: {
|
|
85
|
-
tr: string;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
hideHeader: {
|
|
89
|
-
true: {
|
|
90
|
-
thead: string;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
isCompact: {
|
|
94
|
-
true: {
|
|
95
|
-
td: string;
|
|
96
|
-
};
|
|
97
|
-
false: {};
|
|
98
|
-
};
|
|
99
|
-
isHeaderSticky: {
|
|
100
|
-
true: {
|
|
101
|
-
thead: string;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
isExpanded: {
|
|
105
|
-
true: {
|
|
106
|
-
tr: string;
|
|
107
|
-
};
|
|
69
|
+
height: {
|
|
70
|
+
narrow: {};
|
|
71
|
+
wide: {};
|
|
108
72
|
};
|
|
109
73
|
}, {
|
|
110
|
-
base: string;
|
|
111
|
-
table: string;
|
|
112
|
-
thead: string;
|
|
113
|
-
tbody: string;
|
|
74
|
+
base: string[];
|
|
75
|
+
table: string[];
|
|
76
|
+
thead: string[];
|
|
77
|
+
tbody: string[];
|
|
114
78
|
tr: string[];
|
|
115
79
|
th: string[];
|
|
116
80
|
td: string[];
|
|
117
|
-
|
|
118
|
-
expandedTr: string;
|
|
119
|
-
sortIcon: string[];
|
|
120
|
-
emptyWrapper: string;
|
|
121
|
-
loadingWrapper: string[];
|
|
122
|
-
}, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
123
|
-
variant: {
|
|
124
|
-
solid: {
|
|
125
|
-
tbody: string;
|
|
126
|
-
};
|
|
127
|
-
stripe: {
|
|
128
|
-
thead: string;
|
|
129
|
-
};
|
|
130
|
-
line: {
|
|
131
|
-
tr: string;
|
|
132
|
-
thead: string;
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
|
-
size: {
|
|
136
|
-
sm: {
|
|
137
|
-
tr: string;
|
|
138
|
-
};
|
|
139
|
-
md: {
|
|
140
|
-
tr: string;
|
|
141
|
-
};
|
|
142
|
-
lg: {
|
|
143
|
-
tr: string;
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
color: {
|
|
147
|
-
primary: {
|
|
148
|
-
thead: string;
|
|
149
|
-
tr: string;
|
|
150
|
-
td: string;
|
|
151
|
-
expandedTr: string;
|
|
152
|
-
};
|
|
153
|
-
secondary: {
|
|
154
|
-
thead: string;
|
|
155
|
-
tr: string;
|
|
156
|
-
td: string;
|
|
157
|
-
expandedTr: string;
|
|
158
|
-
};
|
|
159
|
-
neutral: {
|
|
160
|
-
thead: string;
|
|
161
|
-
tr: string;
|
|
162
|
-
td: string;
|
|
163
|
-
expandedTr: string;
|
|
164
|
-
};
|
|
165
|
-
};
|
|
166
|
-
isLoading: {
|
|
167
|
-
true: {
|
|
168
|
-
loadingWrapper: string;
|
|
169
|
-
};
|
|
170
|
-
false: {
|
|
171
|
-
loadingWrapper: string;
|
|
172
|
-
};
|
|
173
|
-
};
|
|
174
|
-
isSelected: {
|
|
175
|
-
true: {};
|
|
176
|
-
};
|
|
177
|
-
isMultiSelect: {
|
|
178
|
-
true: {};
|
|
179
|
-
};
|
|
180
|
-
isChecked: {
|
|
181
|
-
true: {};
|
|
182
|
-
};
|
|
183
|
-
isCheckedRow: {
|
|
184
|
-
true: {
|
|
185
|
-
tr: string;
|
|
186
|
-
};
|
|
187
|
-
};
|
|
188
|
-
hideHeader: {
|
|
189
|
-
true: {
|
|
190
|
-
thead: string;
|
|
191
|
-
};
|
|
192
|
-
};
|
|
193
|
-
isCompact: {
|
|
194
|
-
true: {
|
|
195
|
-
td: string;
|
|
196
|
-
};
|
|
197
|
-
false: {};
|
|
198
|
-
};
|
|
199
|
-
isHeaderSticky: {
|
|
200
|
-
true: {
|
|
201
|
-
thead: string;
|
|
202
|
-
};
|
|
203
|
-
};
|
|
204
|
-
isExpanded: {
|
|
205
|
-
true: {
|
|
206
|
-
tr: string;
|
|
207
|
-
};
|
|
208
|
-
};
|
|
209
|
-
}, {
|
|
81
|
+
}, undefined, {
|
|
210
82
|
variant: {
|
|
211
83
|
solid: {
|
|
212
|
-
tbody: string;
|
|
84
|
+
tbody: string[];
|
|
213
85
|
};
|
|
214
|
-
|
|
215
|
-
|
|
86
|
+
outline: {
|
|
87
|
+
tbody: string[];
|
|
88
|
+
th: string[];
|
|
89
|
+
td: string[];
|
|
216
90
|
};
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
91
|
+
underline: {
|
|
92
|
+
tbody: string[];
|
|
93
|
+
th: string[];
|
|
220
94
|
};
|
|
221
95
|
};
|
|
222
96
|
size: {
|
|
223
97
|
sm: {
|
|
224
|
-
tr: string;
|
|
98
|
+
tr: string[];
|
|
225
99
|
};
|
|
226
100
|
md: {
|
|
227
|
-
tr: string;
|
|
101
|
+
tr: string[];
|
|
228
102
|
};
|
|
229
103
|
lg: {
|
|
230
|
-
tr: string;
|
|
231
|
-
};
|
|
232
|
-
};
|
|
233
|
-
color: {
|
|
234
|
-
primary: {
|
|
235
|
-
thead: string;
|
|
236
|
-
tr: string;
|
|
237
|
-
td: string;
|
|
238
|
-
expandedTr: string;
|
|
239
|
-
};
|
|
240
|
-
secondary: {
|
|
241
|
-
thead: string;
|
|
242
|
-
tr: string;
|
|
243
|
-
td: string;
|
|
244
|
-
expandedTr: string;
|
|
245
|
-
};
|
|
246
|
-
neutral: {
|
|
247
|
-
thead: string;
|
|
248
|
-
tr: string;
|
|
249
|
-
td: string;
|
|
250
|
-
expandedTr: string;
|
|
251
|
-
};
|
|
252
|
-
};
|
|
253
|
-
isLoading: {
|
|
254
|
-
true: {
|
|
255
|
-
loadingWrapper: string;
|
|
256
|
-
};
|
|
257
|
-
false: {
|
|
258
|
-
loadingWrapper: string;
|
|
259
|
-
};
|
|
260
|
-
};
|
|
261
|
-
isSelected: {
|
|
262
|
-
true: {};
|
|
263
|
-
};
|
|
264
|
-
isMultiSelect: {
|
|
265
|
-
true: {};
|
|
266
|
-
};
|
|
267
|
-
isChecked: {
|
|
268
|
-
true: {};
|
|
269
|
-
};
|
|
270
|
-
isCheckedRow: {
|
|
271
|
-
true: {
|
|
272
|
-
tr: string;
|
|
273
|
-
};
|
|
274
|
-
};
|
|
275
|
-
hideHeader: {
|
|
276
|
-
true: {
|
|
277
|
-
thead: string;
|
|
278
|
-
};
|
|
279
|
-
};
|
|
280
|
-
isCompact: {
|
|
281
|
-
true: {
|
|
282
|
-
td: string;
|
|
104
|
+
tr: string[];
|
|
283
105
|
};
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
isHeaderSticky: {
|
|
287
|
-
true: {
|
|
288
|
-
thead: string;
|
|
289
|
-
};
|
|
290
|
-
};
|
|
291
|
-
isExpanded: {
|
|
292
|
-
true: {
|
|
293
|
-
tr: string;
|
|
294
|
-
};
|
|
295
|
-
};
|
|
296
|
-
}>, {
|
|
297
|
-
variant: {
|
|
298
|
-
solid: {
|
|
299
|
-
tbody: string;
|
|
300
|
-
};
|
|
301
|
-
stripe: {
|
|
302
|
-
thead: string;
|
|
303
|
-
};
|
|
304
|
-
line: {
|
|
305
|
-
tr: string;
|
|
306
|
-
thead: string;
|
|
307
|
-
};
|
|
308
|
-
};
|
|
309
|
-
size: {
|
|
310
|
-
sm: {
|
|
311
|
-
tr: string;
|
|
312
|
-
};
|
|
313
|
-
md: {
|
|
314
|
-
tr: string;
|
|
315
|
-
};
|
|
316
|
-
lg: {
|
|
317
|
-
tr: string;
|
|
106
|
+
xl: {
|
|
107
|
+
tr: string[];
|
|
318
108
|
};
|
|
319
109
|
};
|
|
320
110
|
color: {
|
|
321
111
|
primary: {
|
|
322
|
-
|
|
323
|
-
tr: string;
|
|
324
|
-
td: string;
|
|
325
|
-
expandedTr: string;
|
|
112
|
+
tbody: string[];
|
|
326
113
|
};
|
|
327
114
|
secondary: {
|
|
328
|
-
|
|
329
|
-
tr: string;
|
|
330
|
-
td: string;
|
|
331
|
-
expandedTr: string;
|
|
115
|
+
tbody: string[];
|
|
332
116
|
};
|
|
333
117
|
neutral: {
|
|
334
|
-
|
|
335
|
-
tr: string;
|
|
336
|
-
td: string;
|
|
337
|
-
expandedTr: string;
|
|
338
|
-
};
|
|
339
|
-
};
|
|
340
|
-
isLoading: {
|
|
341
|
-
true: {
|
|
342
|
-
loadingWrapper: string;
|
|
343
|
-
};
|
|
344
|
-
false: {
|
|
345
|
-
loadingWrapper: string;
|
|
346
|
-
};
|
|
347
|
-
};
|
|
348
|
-
isSelected: {
|
|
349
|
-
true: {};
|
|
350
|
-
};
|
|
351
|
-
isMultiSelect: {
|
|
352
|
-
true: {};
|
|
353
|
-
};
|
|
354
|
-
isChecked: {
|
|
355
|
-
true: {};
|
|
356
|
-
};
|
|
357
|
-
isCheckedRow: {
|
|
358
|
-
true: {
|
|
359
|
-
tr: string;
|
|
118
|
+
tbody: string[];
|
|
360
119
|
};
|
|
361
120
|
};
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
};
|
|
366
|
-
};
|
|
367
|
-
isCompact: {
|
|
368
|
-
true: {
|
|
369
|
-
td: string;
|
|
370
|
-
};
|
|
371
|
-
false: {};
|
|
372
|
-
};
|
|
373
|
-
isHeaderSticky: {
|
|
374
|
-
true: {
|
|
375
|
-
thead: string;
|
|
376
|
-
};
|
|
377
|
-
};
|
|
378
|
-
isExpanded: {
|
|
379
|
-
true: {
|
|
380
|
-
tr: string;
|
|
381
|
-
};
|
|
121
|
+
height: {
|
|
122
|
+
narrow: {};
|
|
123
|
+
wide: {};
|
|
382
124
|
};
|
|
383
125
|
}, {
|
|
384
|
-
base: string;
|
|
385
|
-
table: string;
|
|
386
|
-
thead: string;
|
|
387
|
-
tbody: string;
|
|
126
|
+
base: string[];
|
|
127
|
+
table: string[];
|
|
128
|
+
thead: string[];
|
|
129
|
+
tbody: string[];
|
|
388
130
|
tr: string[];
|
|
389
131
|
th: string[];
|
|
390
132
|
td: string[];
|
|
391
|
-
tfoot: string;
|
|
392
|
-
expandedTr: string;
|
|
393
|
-
sortIcon: string[];
|
|
394
|
-
emptyWrapper: string;
|
|
395
|
-
loadingWrapper: string[];
|
|
396
133
|
}, tailwind_variants.TVReturnType<{
|
|
397
134
|
variant: {
|
|
398
135
|
solid: {
|
|
399
|
-
tbody: string;
|
|
136
|
+
tbody: string[];
|
|
400
137
|
};
|
|
401
|
-
|
|
402
|
-
|
|
138
|
+
outline: {
|
|
139
|
+
tbody: string[];
|
|
140
|
+
th: string[];
|
|
141
|
+
td: string[];
|
|
403
142
|
};
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
143
|
+
underline: {
|
|
144
|
+
tbody: string[];
|
|
145
|
+
th: string[];
|
|
407
146
|
};
|
|
408
147
|
};
|
|
409
148
|
size: {
|
|
410
149
|
sm: {
|
|
411
|
-
tr: string;
|
|
150
|
+
tr: string[];
|
|
412
151
|
};
|
|
413
152
|
md: {
|
|
414
|
-
tr: string;
|
|
153
|
+
tr: string[];
|
|
415
154
|
};
|
|
416
155
|
lg: {
|
|
417
|
-
tr: string;
|
|
156
|
+
tr: string[];
|
|
157
|
+
};
|
|
158
|
+
xl: {
|
|
159
|
+
tr: string[];
|
|
418
160
|
};
|
|
419
161
|
};
|
|
420
162
|
color: {
|
|
421
163
|
primary: {
|
|
422
|
-
|
|
423
|
-
tr: string;
|
|
424
|
-
td: string;
|
|
425
|
-
expandedTr: string;
|
|
164
|
+
tbody: string[];
|
|
426
165
|
};
|
|
427
166
|
secondary: {
|
|
428
|
-
|
|
429
|
-
tr: string;
|
|
430
|
-
td: string;
|
|
431
|
-
expandedTr: string;
|
|
167
|
+
tbody: string[];
|
|
432
168
|
};
|
|
433
169
|
neutral: {
|
|
434
|
-
|
|
435
|
-
tr: string;
|
|
436
|
-
td: string;
|
|
437
|
-
expandedTr: string;
|
|
438
|
-
};
|
|
439
|
-
};
|
|
440
|
-
isLoading: {
|
|
441
|
-
true: {
|
|
442
|
-
loadingWrapper: string;
|
|
170
|
+
tbody: string[];
|
|
443
171
|
};
|
|
444
|
-
false: {
|
|
445
|
-
loadingWrapper: string;
|
|
446
|
-
};
|
|
447
|
-
};
|
|
448
|
-
isSelected: {
|
|
449
|
-
true: {};
|
|
450
|
-
};
|
|
451
|
-
isMultiSelect: {
|
|
452
|
-
true: {};
|
|
453
172
|
};
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
isCheckedRow: {
|
|
458
|
-
true: {
|
|
459
|
-
tr: string;
|
|
460
|
-
};
|
|
461
|
-
};
|
|
462
|
-
hideHeader: {
|
|
463
|
-
true: {
|
|
464
|
-
thead: string;
|
|
465
|
-
};
|
|
466
|
-
};
|
|
467
|
-
isCompact: {
|
|
468
|
-
true: {
|
|
469
|
-
td: string;
|
|
470
|
-
};
|
|
471
|
-
false: {};
|
|
472
|
-
};
|
|
473
|
-
isHeaderSticky: {
|
|
474
|
-
true: {
|
|
475
|
-
thead: string;
|
|
476
|
-
};
|
|
477
|
-
};
|
|
478
|
-
isExpanded: {
|
|
479
|
-
true: {
|
|
480
|
-
tr: string;
|
|
481
|
-
};
|
|
173
|
+
height: {
|
|
174
|
+
narrow: {};
|
|
175
|
+
wide: {};
|
|
482
176
|
};
|
|
483
177
|
}, {
|
|
484
|
-
base: string;
|
|
485
|
-
table: string;
|
|
486
|
-
thead: string;
|
|
487
|
-
tbody: string;
|
|
178
|
+
base: string[];
|
|
179
|
+
table: string[];
|
|
180
|
+
thead: string[];
|
|
181
|
+
tbody: string[];
|
|
488
182
|
tr: string[];
|
|
489
183
|
th: string[];
|
|
490
184
|
td: string[];
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
loadingWrapper: string[];
|
|
496
|
-
}, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
497
|
-
variant: {
|
|
498
|
-
solid: {
|
|
499
|
-
tbody: string;
|
|
500
|
-
};
|
|
501
|
-
stripe: {
|
|
502
|
-
thead: string;
|
|
503
|
-
};
|
|
504
|
-
line: {
|
|
505
|
-
tr: string;
|
|
506
|
-
thead: string;
|
|
507
|
-
};
|
|
508
|
-
};
|
|
509
|
-
size: {
|
|
510
|
-
sm: {
|
|
511
|
-
tr: string;
|
|
512
|
-
};
|
|
513
|
-
md: {
|
|
514
|
-
tr: string;
|
|
515
|
-
};
|
|
516
|
-
lg: {
|
|
517
|
-
tr: string;
|
|
518
|
-
};
|
|
519
|
-
};
|
|
520
|
-
color: {
|
|
521
|
-
primary: {
|
|
522
|
-
thead: string;
|
|
523
|
-
tr: string;
|
|
524
|
-
td: string;
|
|
525
|
-
expandedTr: string;
|
|
526
|
-
};
|
|
527
|
-
secondary: {
|
|
528
|
-
thead: string;
|
|
529
|
-
tr: string;
|
|
530
|
-
td: string;
|
|
531
|
-
expandedTr: string;
|
|
532
|
-
};
|
|
533
|
-
neutral: {
|
|
534
|
-
thead: string;
|
|
535
|
-
tr: string;
|
|
536
|
-
td: string;
|
|
537
|
-
expandedTr: string;
|
|
538
|
-
};
|
|
539
|
-
};
|
|
540
|
-
isLoading: {
|
|
541
|
-
true: {
|
|
542
|
-
loadingWrapper: string;
|
|
543
|
-
};
|
|
544
|
-
false: {
|
|
545
|
-
loadingWrapper: string;
|
|
546
|
-
};
|
|
547
|
-
};
|
|
548
|
-
isSelected: {
|
|
549
|
-
true: {};
|
|
550
|
-
};
|
|
551
|
-
isMultiSelect: {
|
|
552
|
-
true: {};
|
|
553
|
-
};
|
|
554
|
-
isChecked: {
|
|
555
|
-
true: {};
|
|
556
|
-
};
|
|
557
|
-
isCheckedRow: {
|
|
558
|
-
true: {
|
|
559
|
-
tr: string;
|
|
560
|
-
};
|
|
561
|
-
};
|
|
562
|
-
hideHeader: {
|
|
563
|
-
true: {
|
|
564
|
-
thead: string;
|
|
565
|
-
};
|
|
566
|
-
};
|
|
567
|
-
isCompact: {
|
|
568
|
-
true: {
|
|
569
|
-
td: string;
|
|
570
|
-
};
|
|
571
|
-
false: {};
|
|
572
|
-
};
|
|
573
|
-
isHeaderSticky: {
|
|
574
|
-
true: {
|
|
575
|
-
thead: string;
|
|
576
|
-
};
|
|
577
|
-
};
|
|
578
|
-
isExpanded: {
|
|
579
|
-
true: {
|
|
580
|
-
tr: string;
|
|
581
|
-
};
|
|
582
|
-
};
|
|
583
|
-
}, {
|
|
584
|
-
variant: {
|
|
585
|
-
solid: {
|
|
586
|
-
tbody: string;
|
|
587
|
-
};
|
|
588
|
-
stripe: {
|
|
589
|
-
thead: string;
|
|
590
|
-
};
|
|
591
|
-
line: {
|
|
592
|
-
tr: string;
|
|
593
|
-
thead: string;
|
|
594
|
-
};
|
|
595
|
-
};
|
|
596
|
-
size: {
|
|
597
|
-
sm: {
|
|
598
|
-
tr: string;
|
|
599
|
-
};
|
|
600
|
-
md: {
|
|
601
|
-
tr: string;
|
|
602
|
-
};
|
|
603
|
-
lg: {
|
|
604
|
-
tr: string;
|
|
605
|
-
};
|
|
606
|
-
};
|
|
607
|
-
color: {
|
|
608
|
-
primary: {
|
|
609
|
-
thead: string;
|
|
610
|
-
tr: string;
|
|
611
|
-
td: string;
|
|
612
|
-
expandedTr: string;
|
|
613
|
-
};
|
|
614
|
-
secondary: {
|
|
615
|
-
thead: string;
|
|
616
|
-
tr: string;
|
|
617
|
-
td: string;
|
|
618
|
-
expandedTr: string;
|
|
619
|
-
};
|
|
620
|
-
neutral: {
|
|
621
|
-
thead: string;
|
|
622
|
-
tr: string;
|
|
623
|
-
td: string;
|
|
624
|
-
expandedTr: string;
|
|
625
|
-
};
|
|
626
|
-
};
|
|
627
|
-
isLoading: {
|
|
628
|
-
true: {
|
|
629
|
-
loadingWrapper: string;
|
|
630
|
-
};
|
|
631
|
-
false: {
|
|
632
|
-
loadingWrapper: string;
|
|
633
|
-
};
|
|
634
|
-
};
|
|
635
|
-
isSelected: {
|
|
636
|
-
true: {};
|
|
637
|
-
};
|
|
638
|
-
isMultiSelect: {
|
|
639
|
-
true: {};
|
|
640
|
-
};
|
|
641
|
-
isChecked: {
|
|
642
|
-
true: {};
|
|
643
|
-
};
|
|
644
|
-
isCheckedRow: {
|
|
645
|
-
true: {
|
|
646
|
-
tr: string;
|
|
647
|
-
};
|
|
648
|
-
};
|
|
649
|
-
hideHeader: {
|
|
650
|
-
true: {
|
|
651
|
-
thead: string;
|
|
652
|
-
};
|
|
653
|
-
};
|
|
654
|
-
isCompact: {
|
|
655
|
-
true: {
|
|
656
|
-
td: string;
|
|
657
|
-
};
|
|
658
|
-
false: {};
|
|
659
|
-
};
|
|
660
|
-
isHeaderSticky: {
|
|
661
|
-
true: {
|
|
662
|
-
thead: string;
|
|
663
|
-
};
|
|
664
|
-
};
|
|
665
|
-
isExpanded: {
|
|
666
|
-
true: {
|
|
667
|
-
tr: string;
|
|
668
|
-
};
|
|
669
|
-
};
|
|
670
|
-
}>, unknown, unknown, undefined>>;
|
|
671
|
-
type TableVariantProps = VariantProps<typeof table>;
|
|
672
|
-
type TableSlots = keyof ReturnType<typeof table>;
|
|
673
|
-
type TableReturnType = ReturnType<typeof table>;
|
|
185
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
186
|
+
type TableVariantProps = VariantProps<typeof tableStyle>;
|
|
187
|
+
type TableSlots = keyof ReturnType<typeof tableStyle>;
|
|
188
|
+
type TableReturnType = ReturnType<typeof tableStyle>;
|
|
674
189
|
type RowValue = Record<string | symbol, any>;
|
|
675
190
|
type CellParams<R extends RowValue = any, V = any, F = V> = {
|
|
676
191
|
id: string | number;
|
|
@@ -688,9 +203,14 @@ type TableRow<R extends RowValue = RowValue> = R;
|
|
|
688
203
|
type TableColumn<R extends RowValue = RowValue, V = any, F = V> = {
|
|
689
204
|
field: string;
|
|
690
205
|
headerName?: string | ReactElement;
|
|
206
|
+
align?: "left" | "center" | "right";
|
|
207
|
+
width?: number;
|
|
208
|
+
minWidth?: number;
|
|
209
|
+
maxWidth?: number;
|
|
210
|
+
height?: number;
|
|
691
211
|
className?: string;
|
|
212
|
+
renderCell?: (params: CellParams<R, V, F>) => ReactNode;
|
|
692
213
|
valueFormatter?: (params: ValueFormatterParams<V>) => F;
|
|
693
|
-
renderCell?: (params: CellParams<R, V, F>) => React__default.ReactNode;
|
|
694
214
|
};
|
|
695
215
|
|
|
696
216
|
export { type TableColumn, type TableRef, type TableReturnType, type TableRow, type TableSlots, type TableVariantProps, Table as default };
|