@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
package/dist/chunk-V77MALL4.mjs
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
mapPropsVariants
|
|
4
|
-
} from "./chunk-E3G5QXSH.mjs";
|
|
5
|
-
import {
|
|
6
|
-
tv
|
|
7
|
-
} from "./chunk-J725QONZ.mjs";
|
|
8
|
-
|
|
9
|
-
// src/components/list/listItem.tsx
|
|
10
|
-
import { forwardRef, useCallback, useMemo } from "react";
|
|
11
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
-
var ListItem = forwardRef((originalProps, ref) => {
|
|
13
|
-
const [props, variantProps] = mapPropsVariants(originalProps, listItem.variantKeys);
|
|
14
|
-
const { title, selected, startContent, endContent, classNames, onClick } = props;
|
|
15
|
-
const slots = useMemo(() => listItem({ ...variantProps }), [...Object.values(variantProps)]);
|
|
16
|
-
const getBaseProps = useCallback(() => {
|
|
17
|
-
return {
|
|
18
|
-
className: slots.base({ class: classNames == null ? void 0 : classNames.base }),
|
|
19
|
-
"data-selected": selected,
|
|
20
|
-
onClick
|
|
21
|
-
};
|
|
22
|
-
}, [slots, classNames == null ? void 0 : classNames.base, selected, onClick]);
|
|
23
|
-
const getTitleWrapperProps = useCallback(() => {
|
|
24
|
-
return {
|
|
25
|
-
className: slots.titleWrapper({ class: classNames == null ? void 0 : classNames.titleWrapper })
|
|
26
|
-
};
|
|
27
|
-
}, [slots, classNames == null ? void 0 : classNames.titleWrapper]);
|
|
28
|
-
const getTitleProps = useCallback(() => {
|
|
29
|
-
return {
|
|
30
|
-
className: slots.title({ class: classNames == null ? void 0 : classNames.title })
|
|
31
|
-
};
|
|
32
|
-
}, [slots, classNames == null ? void 0 : classNames.title]);
|
|
33
|
-
return /* @__PURE__ */ jsxs("div", { ref, ...getBaseProps(), children: [
|
|
34
|
-
/* @__PURE__ */ jsxs("div", { ...getTitleWrapperProps(), children: [
|
|
35
|
-
startContent && startContent,
|
|
36
|
-
/* @__PURE__ */ jsx("span", { ...getTitleProps(), children: title })
|
|
37
|
-
] }),
|
|
38
|
-
endContent && endContent
|
|
39
|
-
] });
|
|
40
|
-
});
|
|
41
|
-
ListItem.displayName = "ListItem";
|
|
42
|
-
var listItem_default = ListItem;
|
|
43
|
-
var listItem = tv({
|
|
44
|
-
slots: {
|
|
45
|
-
base: [
|
|
46
|
-
"group",
|
|
47
|
-
"w-full",
|
|
48
|
-
"flex",
|
|
49
|
-
"justify-between",
|
|
50
|
-
"items-center",
|
|
51
|
-
"text-foreground",
|
|
52
|
-
"bg-transparent",
|
|
53
|
-
"px-[10px]",
|
|
54
|
-
"cursor-pointer",
|
|
55
|
-
"select-none",
|
|
56
|
-
"gap-[10px]",
|
|
57
|
-
"hover:bg-neutral-soft"
|
|
58
|
-
],
|
|
59
|
-
titleWrapper: ["flex", "w-full", "gap-[10px]", "overflow-hidden", "whitespace-nowrap", "text-overflow-ellipsis"],
|
|
60
|
-
title: "truncate"
|
|
61
|
-
},
|
|
62
|
-
variants: {
|
|
63
|
-
variant: {
|
|
64
|
-
solid: {},
|
|
65
|
-
line: {}
|
|
66
|
-
},
|
|
67
|
-
size: {
|
|
68
|
-
sm: {
|
|
69
|
-
base: "min-h-[30px] text-sm"
|
|
70
|
-
},
|
|
71
|
-
md: {
|
|
72
|
-
base: "min-h-[40px] text-md"
|
|
73
|
-
},
|
|
74
|
-
lg: {
|
|
75
|
-
base: "min-h-[50px] text-lg"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
color: {
|
|
79
|
-
primary: {},
|
|
80
|
-
secondary: {}
|
|
81
|
-
},
|
|
82
|
-
isInGroup: {
|
|
83
|
-
true: ""
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
defaultVariants: {
|
|
87
|
-
variant: "solid",
|
|
88
|
-
color: "primary",
|
|
89
|
-
size: "md",
|
|
90
|
-
isInGroup: false
|
|
91
|
-
},
|
|
92
|
-
compoundVariants: [
|
|
93
|
-
{
|
|
94
|
-
variant: "solid",
|
|
95
|
-
color: "primary",
|
|
96
|
-
class: {
|
|
97
|
-
base: ["data-[selected=true]:text-primary-main", "data-[selected=true]:bg-primary-soft"]
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
variant: "solid",
|
|
102
|
-
color: "secondary",
|
|
103
|
-
class: {
|
|
104
|
-
base: ["data-[selected=true]:text-secondary-main", "data-[selected=true]:bg-secondary-soft"]
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
]
|
|
108
|
-
});
|
|
109
|
-
|
|
110
|
-
export {
|
|
111
|
-
listItem_default
|
|
112
|
-
};
|
package/dist/chunk-VWD26TIQ.mjs
DELETED
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
checkbox_default
|
|
4
|
-
} from "./chunk-ANYPMQH4.mjs";
|
|
5
|
-
import {
|
|
6
|
-
clsx
|
|
7
|
-
} from "./chunk-27Y6K5NK.mjs";
|
|
8
|
-
import {
|
|
9
|
-
Icon_default
|
|
10
|
-
} from "./chunk-LCI6RPWE.mjs";
|
|
11
|
-
|
|
12
|
-
// src/components/table/table-body.tsx
|
|
13
|
-
import React, { useState, useCallback, useEffect } from "react";
|
|
14
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
|
-
import { createElement } from "react";
|
|
16
|
-
var TableBody = ({
|
|
17
|
-
classNames,
|
|
18
|
-
size,
|
|
19
|
-
color,
|
|
20
|
-
slots,
|
|
21
|
-
rows,
|
|
22
|
-
columns,
|
|
23
|
-
isExpanded,
|
|
24
|
-
isSelected,
|
|
25
|
-
isChecked,
|
|
26
|
-
isCheckedRow,
|
|
27
|
-
checkedRows,
|
|
28
|
-
emptyContent,
|
|
29
|
-
onCheckedRow,
|
|
30
|
-
onRowAction
|
|
31
|
-
}) => {
|
|
32
|
-
const COL_SPAN_COUNT = columns.length + (isExpanded ? 1 : 0) + (isChecked ? 1 : 0);
|
|
33
|
-
const [expandedRows, setExpandedRows] = useState(/* @__PURE__ */ new Set());
|
|
34
|
-
useEffect(() => {
|
|
35
|
-
setExpandedRows(/* @__PURE__ */ new Set());
|
|
36
|
-
}, [rows]);
|
|
37
|
-
const getTbodyProps = useCallback(
|
|
38
|
-
() => ({
|
|
39
|
-
className: slots.tbody({ class: clsx(classNames == null ? void 0 : classNames.tbody) })
|
|
40
|
-
}),
|
|
41
|
-
[classNames == null ? void 0 : classNames.tbody, slots]
|
|
42
|
-
);
|
|
43
|
-
const getTrProps = useCallback(
|
|
44
|
-
({ index, isSelectedRow }) => ({
|
|
45
|
-
className: clsx(
|
|
46
|
-
slots.tr({ class: [classNames == null ? void 0 : classNames.tr, (isSelected || isCheckedRow || isExpanded) && "cursor-pointer"] })
|
|
47
|
-
),
|
|
48
|
-
"data-odd": index % 2 !== 0,
|
|
49
|
-
"data-expanded": expandedRows.has(index),
|
|
50
|
-
"data-selected": isSelectedRow
|
|
51
|
-
}),
|
|
52
|
-
[classNames == null ? void 0 : classNames.tr, expandedRows, isCheckedRow, isExpanded, isSelected, slots]
|
|
53
|
-
);
|
|
54
|
-
const getExpandedContentProps = useCallback(
|
|
55
|
-
() => ({
|
|
56
|
-
className: slots.expandedTr({ class: clsx(classNames == null ? void 0 : classNames.expandedTr) })
|
|
57
|
-
}),
|
|
58
|
-
[classNames == null ? void 0 : classNames.expandedTr, slots]
|
|
59
|
-
);
|
|
60
|
-
const getTdProps = useCallback(
|
|
61
|
-
(column, row, keys) => {
|
|
62
|
-
const { field, className, valueFormatter, renderCell } = column;
|
|
63
|
-
const key = keys.find((value2) => value2 === field);
|
|
64
|
-
const value = key && row[key];
|
|
65
|
-
const children = renderCell ? renderCell({
|
|
66
|
-
field,
|
|
67
|
-
id: field,
|
|
68
|
-
row,
|
|
69
|
-
value,
|
|
70
|
-
formattedValue: valueFormatter && valueFormatter({
|
|
71
|
-
id: field,
|
|
72
|
-
field,
|
|
73
|
-
value
|
|
74
|
-
})
|
|
75
|
-
}) : valueFormatter ? valueFormatter({
|
|
76
|
-
id: field,
|
|
77
|
-
field,
|
|
78
|
-
value
|
|
79
|
-
}) : value;
|
|
80
|
-
return {
|
|
81
|
-
children,
|
|
82
|
-
className: slots.td({ class: clsx(classNames == null ? void 0 : classNames.td, className) })
|
|
83
|
-
};
|
|
84
|
-
},
|
|
85
|
-
[classNames == null ? void 0 : classNames.td, columns, slots]
|
|
86
|
-
);
|
|
87
|
-
const onChangeExpandedRow = (index) => {
|
|
88
|
-
setExpandedRows((prevIndices) => {
|
|
89
|
-
const newIndices = new Set(prevIndices);
|
|
90
|
-
if (newIndices.has(index)) {
|
|
91
|
-
newIndices.delete(index);
|
|
92
|
-
} else {
|
|
93
|
-
newIndices.add(index);
|
|
94
|
-
}
|
|
95
|
-
return newIndices;
|
|
96
|
-
});
|
|
97
|
-
};
|
|
98
|
-
const handleRowClick = (index) => (e) => {
|
|
99
|
-
var _a;
|
|
100
|
-
e.stopPropagation();
|
|
101
|
-
e.preventDefault();
|
|
102
|
-
if (isExpanded) onChangeExpandedRow(index);
|
|
103
|
-
if (isChecked && isCheckedRow) onCheckedRow(index);
|
|
104
|
-
const row = rows[index];
|
|
105
|
-
if (row) {
|
|
106
|
-
(_a = row.onRowAction) == null ? void 0 : _a.call(row, e, row);
|
|
107
|
-
}
|
|
108
|
-
};
|
|
109
|
-
return /* @__PURE__ */ jsx("tbody", { ...getTbodyProps(), children: rows.length > 0 ? rows.map((row, rowIndex) => {
|
|
110
|
-
const keys = Object.keys(row);
|
|
111
|
-
return /* @__PURE__ */ jsxs(React.Fragment, { children: [
|
|
112
|
-
/* @__PURE__ */ jsxs(
|
|
113
|
-
"tr",
|
|
114
|
-
{
|
|
115
|
-
...getTrProps({ index: rowIndex, isSelectedRow: row.isSelectedRow }),
|
|
116
|
-
onClick: handleRowClick(rowIndex),
|
|
117
|
-
children: [
|
|
118
|
-
isChecked && /* @__PURE__ */ jsx("td", { ...getTdProps({ field: "checkbox" }, row, keys), onClick: () => onCheckedRow(rowIndex), children: /* @__PURE__ */ jsx(checkbox_default, { color, size, checked: checkedRows.has(rowIndex) }) }),
|
|
119
|
-
isExpanded && /* @__PURE__ */ jsx("td", { ...getTdProps({ field: "expandIcon" }, row, keys), children: /* @__PURE__ */ jsx(
|
|
120
|
-
Icon_default,
|
|
121
|
-
{
|
|
122
|
-
name: expandedRows.has(rowIndex) ? "brace-down" : "brace-right",
|
|
123
|
-
className: `ml-2 transition-transform`,
|
|
124
|
-
size
|
|
125
|
-
}
|
|
126
|
-
) }),
|
|
127
|
-
columns.map((column, colIndex) => /* @__PURE__ */ createElement("td", { ...getTdProps(column, row, keys), key: colIndex }))
|
|
128
|
-
]
|
|
129
|
-
}
|
|
130
|
-
),
|
|
131
|
-
isExpanded && expandedRows.has(rowIndex) && /* @__PURE__ */ jsx("tr", { ...getExpandedContentProps(), children: /* @__PURE__ */ jsx("td", { colSpan: COL_SPAN_COUNT, ...getTdProps({ field: "expandedRow" }, row, keys), children: row.renderExpandedRow && row.renderExpandedRow() }) })
|
|
132
|
-
] }, rowIndex);
|
|
133
|
-
}) : /* @__PURE__ */ jsx("tr", { ...getTrProps({ index: -1 }), children: /* @__PURE__ */ jsx("td", { colSpan: COL_SPAN_COUNT, children: emptyContent }) }) });
|
|
134
|
-
};
|
|
135
|
-
var table_body_default = TableBody;
|
|
136
|
-
|
|
137
|
-
export {
|
|
138
|
-
table_body_default
|
|
139
|
-
};
|
package/dist/chunk-YRMFIXXC.mjs
DELETED
|
@@ -1,277 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
usePagination_default
|
|
4
|
-
} from "./chunk-F3HENRVM.mjs";
|
|
5
|
-
import {
|
|
6
|
-
input_default
|
|
7
|
-
} from "./chunk-ZNEEYSIK.mjs";
|
|
8
|
-
import {
|
|
9
|
-
mapPropsVariants
|
|
10
|
-
} from "./chunk-E3G5QXSH.mjs";
|
|
11
|
-
import {
|
|
12
|
-
tv
|
|
13
|
-
} from "./chunk-J725QONZ.mjs";
|
|
14
|
-
|
|
15
|
-
// src/components/pagination/pagination.tsx
|
|
16
|
-
import { forwardRef, useCallback, useMemo } from "react";
|
|
17
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
18
|
-
var Pagination = forwardRef((originalProps, ref) => {
|
|
19
|
-
const [props, variantProps] = mapPropsVariants(originalProps, pagination.variantKeys);
|
|
20
|
-
const {
|
|
21
|
-
classNames,
|
|
22
|
-
currentPage,
|
|
23
|
-
groupSize,
|
|
24
|
-
totalPage,
|
|
25
|
-
showPageNumber = true,
|
|
26
|
-
showPageLabel,
|
|
27
|
-
showPageInput,
|
|
28
|
-
showFirstLastButtons,
|
|
29
|
-
handleChangePage
|
|
30
|
-
} = props;
|
|
31
|
-
const { startPage, endPage, pageList, handleClickMovePage } = usePagination_default({
|
|
32
|
-
currentPage,
|
|
33
|
-
totalPage,
|
|
34
|
-
groupSize,
|
|
35
|
-
handleChangePage
|
|
36
|
-
});
|
|
37
|
-
const slots = useMemo(() => pagination({ ...variantProps }), [variantProps]);
|
|
38
|
-
const getBaseProps = useCallback(() => ({ className: slots.base({ class: classNames == null ? void 0 : classNames.base }) }), [slots, classNames]);
|
|
39
|
-
const getLabelProps = useCallback(
|
|
40
|
-
() => ({ className: `${slots.label({ class: classNames == null ? void 0 : classNames.label })} + ${showPageInput && " !min-w-[55px]"}` }),
|
|
41
|
-
[slots, classNames, showPageInput]
|
|
42
|
-
);
|
|
43
|
-
const getWrapperProps = useCallback(
|
|
44
|
-
() => ({ className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }) }),
|
|
45
|
-
[slots, classNames]
|
|
46
|
-
);
|
|
47
|
-
const getIconProps = useCallback(() => ({ className: slots.icon({ class: classNames == null ? void 0 : classNames.icon }) }), [slots, classNames]);
|
|
48
|
-
const getButtonProps = useCallback(
|
|
49
|
-
() => ({ className: slots.button({ class: classNames == null ? void 0 : classNames.button }) }),
|
|
50
|
-
[slots, classNames]
|
|
51
|
-
);
|
|
52
|
-
const getLabelWrapperProps = useCallback(
|
|
53
|
-
() => ({
|
|
54
|
-
className: "flex shrink-0",
|
|
55
|
-
onSubmit: (e) => {
|
|
56
|
-
e.preventDefault();
|
|
57
|
-
if (showPageInput && handleChangePage) {
|
|
58
|
-
const formData = new FormData(e.target);
|
|
59
|
-
const page = formData.get("pagination-input");
|
|
60
|
-
if (page) handleChangePage(+page);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}),
|
|
64
|
-
[handleChangePage, showPageInput]
|
|
65
|
-
);
|
|
66
|
-
const getInputProps = useCallback(
|
|
67
|
-
() => ({
|
|
68
|
-
defaultValue: currentPage,
|
|
69
|
-
size: "sm",
|
|
70
|
-
name: "pagination-input",
|
|
71
|
-
type: "number",
|
|
72
|
-
max: totalPage,
|
|
73
|
-
min: 1,
|
|
74
|
-
classNames: { inputWrapper: "!w-[48px] h-[20px] px-[6px]", input: "input-arrow-hide" }
|
|
75
|
-
}),
|
|
76
|
-
[currentPage, totalPage]
|
|
77
|
-
);
|
|
78
|
-
return /* @__PURE__ */ jsxs("div", { ...getBaseProps(), children: [
|
|
79
|
-
/* @__PURE__ */ jsxs("form", { ...getLabelWrapperProps(), children: [
|
|
80
|
-
showPageInput && /* @__PURE__ */ jsx(input_default, { ...getInputProps() }, `${currentPage}+pagination-input`),
|
|
81
|
-
showPageLabel && /* @__PURE__ */ jsxs("span", { ...getLabelProps(), children: [
|
|
82
|
-
!showPageInput && currentPage,
|
|
83
|
-
` of ${totalPage}`
|
|
84
|
-
] })
|
|
85
|
-
] }),
|
|
86
|
-
/* @__PURE__ */ jsxs("div", { ...getWrapperProps(), children: [
|
|
87
|
-
showFirstLastButtons && /* @__PURE__ */ jsx(
|
|
88
|
-
"div",
|
|
89
|
-
{
|
|
90
|
-
"aria-label": "firstPage",
|
|
91
|
-
"data-is-active": currentPage > 1,
|
|
92
|
-
...getIconProps(),
|
|
93
|
-
onClick: currentPage > 1 ? handleClickMovePage(1) : void 0,
|
|
94
|
-
children: "<<"
|
|
95
|
-
}
|
|
96
|
-
),
|
|
97
|
-
/* @__PURE__ */ jsx(
|
|
98
|
-
"div",
|
|
99
|
-
{
|
|
100
|
-
"aria-label": "prevPage",
|
|
101
|
-
"data-is-active": currentPage > 1,
|
|
102
|
-
...getIconProps(),
|
|
103
|
-
onClick: currentPage > 1 ? handleClickMovePage(currentPage - 1) : void 0,
|
|
104
|
-
children: "<"
|
|
105
|
-
}
|
|
106
|
-
),
|
|
107
|
-
showPageNumber && pageList.map((page, index) => /* @__PURE__ */ jsx(
|
|
108
|
-
"div",
|
|
109
|
-
{
|
|
110
|
-
...getButtonProps(),
|
|
111
|
-
"data-selected": currentPage === page,
|
|
112
|
-
onClick: handleClickMovePage(page),
|
|
113
|
-
children: page
|
|
114
|
-
},
|
|
115
|
-
index
|
|
116
|
-
)),
|
|
117
|
-
/* @__PURE__ */ jsx(
|
|
118
|
-
"div",
|
|
119
|
-
{
|
|
120
|
-
"aria-label": "nextPage",
|
|
121
|
-
"data-is-active": currentPage < totalPage,
|
|
122
|
-
...getIconProps(),
|
|
123
|
-
onClick: currentPage < totalPage ? handleClickMovePage(currentPage + 1) : void 0,
|
|
124
|
-
children: ">"
|
|
125
|
-
}
|
|
126
|
-
),
|
|
127
|
-
showFirstLastButtons && /* @__PURE__ */ jsx(
|
|
128
|
-
"div",
|
|
129
|
-
{
|
|
130
|
-
"aria-label": "lastPage",
|
|
131
|
-
"data-is-active": currentPage < totalPage,
|
|
132
|
-
...getIconProps(),
|
|
133
|
-
onClick: currentPage < totalPage ? handleClickMovePage(totalPage) : void 0,
|
|
134
|
-
children: ">>"
|
|
135
|
-
}
|
|
136
|
-
)
|
|
137
|
-
] })
|
|
138
|
-
] });
|
|
139
|
-
});
|
|
140
|
-
Pagination.displayName = "Pagination";
|
|
141
|
-
var pagination_default = Pagination;
|
|
142
|
-
var pagination = tv(
|
|
143
|
-
{
|
|
144
|
-
slots: {
|
|
145
|
-
base: "flex items-center select-none",
|
|
146
|
-
label: "text-primary-main text-right whitespace-nowrap",
|
|
147
|
-
wrapper: "flex overflow-hidden",
|
|
148
|
-
icon: "flex items-center justify-center cursor-pointer",
|
|
149
|
-
button: "flex items-center justify-center cursor-pointer data-[selected=true]:font-[600] transition duration-200"
|
|
150
|
-
},
|
|
151
|
-
variants: {
|
|
152
|
-
variant: {
|
|
153
|
-
solid: {
|
|
154
|
-
button: ["text-neutral-dark"],
|
|
155
|
-
icon: "text-neutral-dark data-[is-active=false]:text-neutral-light data-[is-active=false]:cursor-default"
|
|
156
|
-
},
|
|
157
|
-
line: {
|
|
158
|
-
wrapper: "!gap-0",
|
|
159
|
-
button: ["text-foreground"],
|
|
160
|
-
icon: "text-foreground data-[is-active=false]:text-neutral-light data-[is-active=false]:cursor-default first-of-type:border-l-0"
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
size: {
|
|
164
|
-
sm: {
|
|
165
|
-
wrapper: "gap-[6px]",
|
|
166
|
-
label: "min-w-[85px] text-sm mr-[10px]",
|
|
167
|
-
icon: ["h-[15px] text-sm"],
|
|
168
|
-
button: ["min-w-[28px] h-[15px] text-sm"]
|
|
169
|
-
},
|
|
170
|
-
md: {
|
|
171
|
-
wrapper: "gap-[8px]",
|
|
172
|
-
label: "min-w-[95px] text-md mr-[12px]",
|
|
173
|
-
icon: ["h-[17px] text-md"],
|
|
174
|
-
button: ["min-w-[32px] h-[17px] text-md"]
|
|
175
|
-
},
|
|
176
|
-
lg: {
|
|
177
|
-
wrapper: "gap-[10px]",
|
|
178
|
-
label: "min-w-[105px] text-lg mr-[14px]",
|
|
179
|
-
icon: ["h-[20px] text-lg"],
|
|
180
|
-
button: ["min-w-[37px] h-[20px] text-lg"]
|
|
181
|
-
}
|
|
182
|
-
},
|
|
183
|
-
color: {
|
|
184
|
-
primary: {
|
|
185
|
-
label: "text-primary-main"
|
|
186
|
-
},
|
|
187
|
-
secondary: {
|
|
188
|
-
label: "text-secondary-main"
|
|
189
|
-
}
|
|
190
|
-
},
|
|
191
|
-
isDisabled: {
|
|
192
|
-
true: {
|
|
193
|
-
icon: "!text-neutral-light !cursor-default",
|
|
194
|
-
button: "!text-neutral-light !cursor-default"
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
},
|
|
198
|
-
defaultVariants: {
|
|
199
|
-
variant: "solid",
|
|
200
|
-
color: "primary",
|
|
201
|
-
size: "md",
|
|
202
|
-
isDisabled: false
|
|
203
|
-
},
|
|
204
|
-
compoundVariants: [
|
|
205
|
-
{
|
|
206
|
-
variant: "solid",
|
|
207
|
-
color: "primary",
|
|
208
|
-
class: {
|
|
209
|
-
button: "hover:text-primary-main data-[selected=true]:text-primary-main data-[selected=true]:border-primary-main",
|
|
210
|
-
icon: "hover:text-primary-main"
|
|
211
|
-
}
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
variant: "solid",
|
|
215
|
-
color: "secondary",
|
|
216
|
-
class: {
|
|
217
|
-
button: "hover:text-secondary-main data-[selected=true]:text-secondary-main data-[selected=true]:border-secondary-main",
|
|
218
|
-
icon: "hover:text-secondary-main"
|
|
219
|
-
}
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
variant: "line",
|
|
223
|
-
size: "sm",
|
|
224
|
-
class: {
|
|
225
|
-
wrapper: "border rounded-sm gap-0",
|
|
226
|
-
button: "!min-w-[40px] h-[20px] border-l",
|
|
227
|
-
icon: "min-w-[40px] h-[20px] border-l"
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
variant: "line",
|
|
232
|
-
size: "md",
|
|
233
|
-
class: {
|
|
234
|
-
wrapper: "border rounded-md gap-0",
|
|
235
|
-
button: "!min-w-[45px] h-[22px] border-l",
|
|
236
|
-
icon: "min-w-[45px] h-[22px] border-l"
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
variant: "line",
|
|
241
|
-
size: "lg",
|
|
242
|
-
class: {
|
|
243
|
-
wrapper: "border rounded-lg gap-0",
|
|
244
|
-
button: "!min-w-[50px] h-[24px] border-l",
|
|
245
|
-
icon: "min-w-[50px] h-[24px] border-l"
|
|
246
|
-
}
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
variant: "line",
|
|
250
|
-
color: "primary",
|
|
251
|
-
class: {
|
|
252
|
-
wrapper: "border-primary-main",
|
|
253
|
-
button: "border-primary-main hover:bg-primary-soft hover:text-primary-main data-[selected=true]:bg-primary-soft data-[selected=true]:text-primary-main",
|
|
254
|
-
icon: "border-primary-main data-[selected=true]:bg-primary-soft data-[selected=true]:text-primary-main data-[is-active=true]:hover:text-primary-main data-[is-active=true]:hover:bg-primary-soft"
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
variant: "line",
|
|
259
|
-
color: "secondary",
|
|
260
|
-
class: {
|
|
261
|
-
wrapper: "border-secondary-main",
|
|
262
|
-
button: "border-secondary-main hover:bg-secondary-soft hover:text-secondary-main data-[selected=true]:bg-secondary-soft data-[selected=true]:text-secondary-main",
|
|
263
|
-
icon: "border-secondary-main data-[selected=true]:bg-secondary-soft data-[selected=true]:text-secondary-main data-[is-active=true]:hover:text-secondary-main data-[is-active=true]:hover:bg-secondary-soft"
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
]
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
twMerge: false
|
|
270
|
-
}
|
|
271
|
-
);
|
|
272
|
-
|
|
273
|
-
export {
|
|
274
|
-
Pagination,
|
|
275
|
-
pagination_default,
|
|
276
|
-
pagination
|
|
277
|
-
};
|