@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
|
@@ -6,6 +6,9 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
6
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
7
|
var __getProtoOf = Object.getPrototypeOf;
|
|
8
8
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
10
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
11
|
+
};
|
|
9
12
|
var __export = (target, all) => {
|
|
10
13
|
for (var name in all)
|
|
11
14
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -28,6 +31,74 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
31
|
));
|
|
29
32
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
30
33
|
|
|
34
|
+
// ../../node_modules/tailwindcss/lib/util/createPlugin.js
|
|
35
|
+
var require_createPlugin = __commonJS({
|
|
36
|
+
"../../node_modules/tailwindcss/lib/util/createPlugin.js"(exports2) {
|
|
37
|
+
"use strict";
|
|
38
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
39
|
+
value: true
|
|
40
|
+
});
|
|
41
|
+
Object.defineProperty(exports2, "default", {
|
|
42
|
+
enumerable: true,
|
|
43
|
+
get: function() {
|
|
44
|
+
return _default;
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
function createPlugin(plugin2, config) {
|
|
48
|
+
return {
|
|
49
|
+
handler: plugin2,
|
|
50
|
+
config
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
createPlugin.withOptions = function(pluginFunction, configFunction = () => ({})) {
|
|
54
|
+
const optionsFunction = function(options) {
|
|
55
|
+
return {
|
|
56
|
+
__options: options,
|
|
57
|
+
handler: pluginFunction(options),
|
|
58
|
+
config: configFunction(options)
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
optionsFunction.__isOptionsFunction = true;
|
|
62
|
+
optionsFunction.__pluginFunction = pluginFunction;
|
|
63
|
+
optionsFunction.__configFunction = configFunction;
|
|
64
|
+
return optionsFunction;
|
|
65
|
+
};
|
|
66
|
+
var _default = createPlugin;
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
// ../../node_modules/tailwindcss/lib/public/create-plugin.js
|
|
71
|
+
var require_create_plugin = __commonJS({
|
|
72
|
+
"../../node_modules/tailwindcss/lib/public/create-plugin.js"(exports2) {
|
|
73
|
+
"use strict";
|
|
74
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
75
|
+
value: true
|
|
76
|
+
});
|
|
77
|
+
Object.defineProperty(exports2, "default", {
|
|
78
|
+
enumerable: true,
|
|
79
|
+
get: function() {
|
|
80
|
+
return _default;
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
var _createPlugin = /* @__PURE__ */ _interop_require_default(require_createPlugin());
|
|
84
|
+
function _interop_require_default(obj) {
|
|
85
|
+
return obj && obj.__esModule ? obj : {
|
|
86
|
+
default: obj
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
var _default = _createPlugin.default;
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
// ../../node_modules/tailwindcss/plugin.js
|
|
94
|
+
var require_plugin = __commonJS({
|
|
95
|
+
"../../node_modules/tailwindcss/plugin.js"(exports2, module2) {
|
|
96
|
+
"use strict";
|
|
97
|
+
var createPlugin = require_create_plugin();
|
|
98
|
+
module2.exports = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default;
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
|
|
31
102
|
// src/components/pagination/index.ts
|
|
32
103
|
var pagination_exports = {};
|
|
33
104
|
__export(pagination_exports, {
|
|
@@ -40,19 +111,217 @@ var import_react3 = require("react");
|
|
|
40
111
|
|
|
41
112
|
// src/utils/tailwind-variants.ts
|
|
42
113
|
var import_tailwind_variants = require("tailwind-variants");
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
var
|
|
46
|
-
|
|
114
|
+
|
|
115
|
+
// ../tailwind-config/src/plugin.ts
|
|
116
|
+
var import_plugin = __toESM(require_plugin());
|
|
117
|
+
|
|
118
|
+
// ../tailwind-config/src/typography/font.ts
|
|
119
|
+
var fontSize = {
|
|
120
|
+
h1: [
|
|
121
|
+
"40px",
|
|
122
|
+
{
|
|
123
|
+
fontWeight: "700"
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
h2: [
|
|
127
|
+
"34px",
|
|
128
|
+
{
|
|
129
|
+
fontWeight: "700"
|
|
130
|
+
}
|
|
131
|
+
],
|
|
132
|
+
h3: [
|
|
133
|
+
"28px",
|
|
134
|
+
{
|
|
135
|
+
fontWeight: "700"
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
h4: [
|
|
139
|
+
"24px",
|
|
140
|
+
{
|
|
141
|
+
fontWeight: "700"
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
h5: [
|
|
145
|
+
"20px",
|
|
146
|
+
{
|
|
147
|
+
fontWeight: "600"
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
sm: [
|
|
151
|
+
"12px",
|
|
152
|
+
{
|
|
153
|
+
lineHeight: "18px",
|
|
154
|
+
fontWeight: "400"
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
md: [
|
|
158
|
+
"14px",
|
|
159
|
+
{
|
|
160
|
+
lineHeight: "21px",
|
|
161
|
+
fontWeight: "400"
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
lg: [
|
|
165
|
+
"16px",
|
|
166
|
+
{
|
|
167
|
+
lineHeight: "24px",
|
|
168
|
+
fontWeight: "400"
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
xl: [
|
|
172
|
+
"18px",
|
|
173
|
+
{
|
|
174
|
+
lineHeight: "27px",
|
|
175
|
+
fontWeight: "400"
|
|
176
|
+
}
|
|
177
|
+
]
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
// ../tailwind-config/src/animation/slide.ts
|
|
181
|
+
var sliceAnimation = {
|
|
182
|
+
slideInFromTop: "slideInFromTop 0.5s ease-out",
|
|
183
|
+
slideInFromBottom: "slideInFromBottom 0.5s ease-out",
|
|
184
|
+
slideInFromLeft: "slideInFromLeft 0.5s ease-out",
|
|
185
|
+
slideInFromRight: "slideInFromRight 0.5s ease-out",
|
|
186
|
+
slideOutToTop: "slideOutToTop 0.5s ease-in",
|
|
187
|
+
slideOutToBottom: "slideOutToBottom 0.5s ease-in",
|
|
188
|
+
slideOutToLeft: "slideOutToLeft 0.5s ease-in",
|
|
189
|
+
slideOutToRight: "slideOutToRight 0.5s ease-in"
|
|
190
|
+
};
|
|
191
|
+
var sliceKeyframe = {
|
|
192
|
+
slideInFromTop: {
|
|
193
|
+
"0%": {
|
|
194
|
+
transform: "translateY(-10px)",
|
|
195
|
+
opacity: "0"
|
|
196
|
+
},
|
|
197
|
+
"100%": {
|
|
198
|
+
transform: "translateY(0)",
|
|
199
|
+
opacity: "1"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
slideInFromBottom: {
|
|
203
|
+
"0%": {
|
|
204
|
+
transform: "translateY(10px)",
|
|
205
|
+
opacity: "0"
|
|
206
|
+
},
|
|
207
|
+
"100%": {
|
|
208
|
+
transform: "translateY(0)",
|
|
209
|
+
opacity: "1"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
slideInFromLeft: {
|
|
213
|
+
"0%": {
|
|
214
|
+
transform: "translateX(-10px)",
|
|
215
|
+
opacity: "0"
|
|
216
|
+
},
|
|
217
|
+
"100%": {
|
|
218
|
+
transform: "translateX(0)",
|
|
219
|
+
opacity: "1"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
slideInFromRight: {
|
|
223
|
+
"0%": {
|
|
224
|
+
transform: "translateX(10px)",
|
|
225
|
+
opacity: "0"
|
|
226
|
+
},
|
|
227
|
+
"100%": {
|
|
228
|
+
transform: "translateX(0)",
|
|
229
|
+
opacity: "1"
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
slideOutToTop: {
|
|
233
|
+
"0%": {
|
|
234
|
+
transform: "translateY(0)",
|
|
235
|
+
opacity: "1"
|
|
236
|
+
},
|
|
237
|
+
"100%": {
|
|
238
|
+
transform: "translateY(-10px)",
|
|
239
|
+
opacity: "0"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
slideOutToBottom: {
|
|
243
|
+
"0%": {
|
|
244
|
+
transform: "translateY(0)",
|
|
245
|
+
opacity: "1"
|
|
246
|
+
},
|
|
247
|
+
"100%": {
|
|
248
|
+
transform: "translateY(10px)",
|
|
249
|
+
opacity: "0"
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
slideOutToLeft: {
|
|
253
|
+
"0%": {
|
|
254
|
+
transform: "translateX(0)",
|
|
255
|
+
opacity: "1"
|
|
256
|
+
},
|
|
257
|
+
"100%": {
|
|
258
|
+
transform: "translateX(-10px)",
|
|
259
|
+
opacity: "0"
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
slideOutToRight: {
|
|
263
|
+
"0%": {
|
|
264
|
+
transform: "translateX(0)",
|
|
265
|
+
opacity: "1"
|
|
266
|
+
},
|
|
267
|
+
"100%": {
|
|
268
|
+
transform: "translateX(10px)",
|
|
269
|
+
opacity: "0"
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
// ../tailwind-config/src/animation/index.ts
|
|
275
|
+
var animation = { ...sliceAnimation };
|
|
276
|
+
var keyframes = { ...sliceKeyframe };
|
|
277
|
+
|
|
278
|
+
// ../tailwind-config/src/shadow/index.ts
|
|
279
|
+
var boxShadow = {
|
|
280
|
+
"border-1": "inner 0 0 0 1px inset",
|
|
281
|
+
"border-2": "inner 0 0 0 2px inset",
|
|
282
|
+
"border-3": "inner 0 0 0 3px inset",
|
|
283
|
+
"border-4": "inner 0 0 0 4px inset",
|
|
284
|
+
"border-5": "inner 0 0 0 5px inset",
|
|
285
|
+
"border-6": "inner 0 0 0 6px inset",
|
|
286
|
+
"border-7": "inner 0 0 0 7px inset",
|
|
287
|
+
"border-8": "inner 0 0 0 8px inset",
|
|
288
|
+
"border-9": "inner 0 0 0 9px inset",
|
|
289
|
+
"border-10": "inner 0 0 0 10px inset",
|
|
290
|
+
inner: "inset 0 4px 8px 0 rgba(36, 39, 44, 0.2)",
|
|
291
|
+
drop: "0 20px 40px 0 rgba(36, 39, 44, 0.2)"
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
// ../tailwind-config/src/border/radius.ts
|
|
295
|
+
var borderRadius = {
|
|
296
|
+
sm: "4px",
|
|
297
|
+
md: "6px",
|
|
298
|
+
lg: "8px",
|
|
299
|
+
xl: "10px",
|
|
300
|
+
none: "0",
|
|
301
|
+
full: "9999px"
|
|
302
|
+
};
|
|
303
|
+
|
|
304
|
+
// ../tailwind-config/src/space/gap.ts
|
|
305
|
+
var gap = {
|
|
306
|
+
sm: "4px",
|
|
307
|
+
md: "6px",
|
|
308
|
+
lg: "8px",
|
|
309
|
+
xl: "10px"
|
|
310
|
+
};
|
|
311
|
+
|
|
312
|
+
// src/utils/tailwind-variants.ts
|
|
313
|
+
function typedKeys(obj) {
|
|
314
|
+
return Object.keys(obj);
|
|
315
|
+
}
|
|
316
|
+
var COMMON_SIZE = ["sm", "md", "lg", "xl"];
|
|
47
317
|
var tv = (0, import_tailwind_variants.createTV)({
|
|
48
|
-
// twMerge: false,
|
|
49
318
|
twMergeConfig: {
|
|
50
319
|
classGroups: {
|
|
51
|
-
fontSize: [{ text: [...
|
|
52
|
-
borderRadius: [{ rounded: [...
|
|
53
|
-
boxShadow: [{ shadow: [...
|
|
320
|
+
fontSize: [{ text: [...typedKeys(fontSize)] }],
|
|
321
|
+
borderRadius: [{ rounded: [...typedKeys(borderRadius)] }],
|
|
322
|
+
boxShadow: [{ shadow: [...typedKeys(boxShadow)] }],
|
|
54
323
|
padding: [{ p: [...COMMON_SIZE] }],
|
|
55
|
-
gap: [{ gap: [...
|
|
324
|
+
gap: [{ gap: [...typedKeys(gap)] }]
|
|
56
325
|
}
|
|
57
326
|
}
|
|
58
327
|
});
|
|
@@ -108,6 +377,137 @@ var import_react2 = __toESM(require("react"));
|
|
|
108
377
|
// src/components/icon/template.tsx
|
|
109
378
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
110
379
|
var template = {
|
|
380
|
+
"left-chevron": ({ className }) => {
|
|
381
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
382
|
+
"svg",
|
|
383
|
+
{
|
|
384
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
385
|
+
width: "18",
|
|
386
|
+
height: "18",
|
|
387
|
+
viewBox: "0 0 18 18",
|
|
388
|
+
fill: "none",
|
|
389
|
+
className,
|
|
390
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M11 13L7 9L11 5", strokeLinecap: "round", "stroke-linejoin": "round" })
|
|
391
|
+
}
|
|
392
|
+
);
|
|
393
|
+
},
|
|
394
|
+
"right-chevron": ({ className }) => {
|
|
395
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
396
|
+
"svg",
|
|
397
|
+
{
|
|
398
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
399
|
+
width: "18",
|
|
400
|
+
height: "18",
|
|
401
|
+
viewBox: "0 0 18 18",
|
|
402
|
+
fill: "none",
|
|
403
|
+
className,
|
|
404
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M7 5L11 9L7 13", strokeLinecap: "round", "stroke-linejoin": "round" })
|
|
405
|
+
}
|
|
406
|
+
);
|
|
407
|
+
},
|
|
408
|
+
"left-double-chevron": ({ className }) => {
|
|
409
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
410
|
+
"svg",
|
|
411
|
+
{
|
|
412
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
413
|
+
width: "18",
|
|
414
|
+
height: "18",
|
|
415
|
+
viewBox: "0 0 18 18",
|
|
416
|
+
fill: "none",
|
|
417
|
+
className,
|
|
418
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M13 5L8.55556 9L13 13M9.44444 5L5 9L9.44444 13", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
419
|
+
}
|
|
420
|
+
);
|
|
421
|
+
},
|
|
422
|
+
"right-double-chevron": ({ className }) => {
|
|
423
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
424
|
+
"svg",
|
|
425
|
+
{
|
|
426
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
427
|
+
width: "18",
|
|
428
|
+
height: "18",
|
|
429
|
+
viewBox: "0 0 18 18",
|
|
430
|
+
fill: "none",
|
|
431
|
+
className,
|
|
432
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M5 5L9.44444 9L5 13M8.55556 5L13 9L8.55556 13", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
433
|
+
}
|
|
434
|
+
);
|
|
435
|
+
},
|
|
436
|
+
star: ({ className, fill }) => {
|
|
437
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
438
|
+
"svg",
|
|
439
|
+
{
|
|
440
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
441
|
+
width: "18",
|
|
442
|
+
height: "18",
|
|
443
|
+
viewBox: "0 0 18 18",
|
|
444
|
+
fill: "none",
|
|
445
|
+
className,
|
|
446
|
+
children: fill ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
447
|
+
"path",
|
|
448
|
+
{
|
|
449
|
+
fillRule: "evenodd",
|
|
450
|
+
clipRule: "evenodd",
|
|
451
|
+
d: "M8.26603 3.51086C8.53733 2.82971 9.46267 2.82971 9.73397 3.51086L10.9948 6.67687L14.2674 6.95135C14.9723 7.01017 15.2582 7.92848 14.721 8.40913L12.2278 10.6398L12.989 13.9746C13.1531 14.6931 12.4052 15.2604 11.8021 14.8759L9 13.0886L6.19794 14.8759C5.59478 15.2604 4.84687 14.6925 5.01099 13.9746L5.77221 10.6398L3.27901 8.40913C2.74185 7.92848 3.02769 7.01017 3.73259 6.95135L7.00519 6.67687L8.26603 3.51086Z"
|
|
452
|
+
}
|
|
453
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
454
|
+
"path",
|
|
455
|
+
{
|
|
456
|
+
d: "M8.65925 3.23957C8.68697 3.16871 8.73417 3.1081 8.79484 3.06544C8.85552 3.02278 8.92693 3 9 3C9.07306 3 9.14448 3.02278 9.20515 3.06544C9.26583 3.1081 9.31303 3.16871 9.34074 3.23957L10.7332 6.74977C10.7593 6.81546 10.8021 6.87233 10.857 6.91413C10.912 6.95594 10.9768 6.98105 11.0445 6.98672L14.6603 7.29028C14.9873 7.31775 15.1196 7.74563 14.8706 7.96883L12.1158 10.4427C12.0644 10.4888 12.026 10.5489 12.005 10.6164C11.984 10.6839 11.981 10.7561 11.9966 10.8252L12.8386 14.5236C12.8555 14.5978 12.8511 14.6756 12.8259 14.7471C12.8006 14.8187 12.7557 14.8808 12.6968 14.9257C12.6379 14.9705 12.5677 14.996 12.495 14.999C12.4222 15.002 12.3503 14.9824 12.2882 14.9425L9.19199 12.9611C9.13418 12.9241 9.06775 12.9045 9 12.9045C8.93225 12.9045 8.86581 12.9241 8.808 12.9611L5.71181 14.9432C5.64973 14.9831 5.57778 15.0027 5.50504 14.9997C5.43231 14.9967 5.36206 14.9712 5.30316 14.9263C5.24426 14.8815 5.19936 14.8194 5.17412 14.7478C5.14889 14.6763 5.14445 14.5985 5.16138 14.5243L6.00341 10.8252C6.01903 10.7561 6.01616 10.6838 5.99511 10.6164C5.97407 10.5489 5.93568 10.4888 5.88415 10.4427L3.12936 7.96883C3.07389 7.91927 3.03369 7.85357 3.01387 7.78005C2.99405 7.70652 2.9955 7.62849 3.01802 7.55583C3.04055 7.48317 3.08314 7.41915 3.1404 7.37188C3.19767 7.3246 3.26703 7.29621 3.33971 7.29028L6.95553 6.98672C7.02319 6.98105 7.08804 6.95594 7.14296 6.91413C7.19787 6.87233 7.24072 6.81546 7.26679 6.74977L8.65925 3.23957Z",
|
|
457
|
+
strokeLinecap: "round",
|
|
458
|
+
strokeLinejoin: "round"
|
|
459
|
+
}
|
|
460
|
+
)
|
|
461
|
+
}
|
|
462
|
+
);
|
|
463
|
+
},
|
|
464
|
+
right: ({ className }) => {
|
|
465
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
466
|
+
"svg",
|
|
467
|
+
{
|
|
468
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
469
|
+
width: "18",
|
|
470
|
+
height: "18",
|
|
471
|
+
viewBox: "0 0 18 18",
|
|
472
|
+
fill: "none",
|
|
473
|
+
className,
|
|
474
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M6.5 4L11.5 9L6.5 14", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
475
|
+
}
|
|
476
|
+
);
|
|
477
|
+
},
|
|
478
|
+
// ----------------------------------- old ---------------------------------
|
|
479
|
+
// ** avatar icon **
|
|
480
|
+
avatar: ({ className }) => {
|
|
481
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
482
|
+
"svg",
|
|
483
|
+
{
|
|
484
|
+
width: "50",
|
|
485
|
+
height: "50",
|
|
486
|
+
viewBox: "0 0 50 50",
|
|
487
|
+
fill: "none",
|
|
488
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
489
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
490
|
+
className,
|
|
491
|
+
children: [
|
|
492
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { id: "Rectangle 6445", width: "50", height: "50", rx: "5", fill: "url(#pattern0_10_7240)" }),
|
|
493
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("defs", { children: [
|
|
494
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("pattern", { id: "pattern0_10_7240", patternContentUnits: "objectBoundingBox", width: "1", height: "1", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("use", { xlinkHref: "#image0_10_7240", transform: "scale(0.00195312)" }) }),
|
|
495
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
496
|
+
"image",
|
|
497
|
+
{
|
|
498
|
+
id: "image0_10_7240",
|
|
499
|
+
"data-name": "man.png",
|
|
500
|
+
width: "512",
|
|
501
|
+
height: "512",
|
|
502
|
+
preserveAspectRatio: "none",
|
|
503
|
+
xlinkHref: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAIABJREFUeJzt3WucXXV97/Hvb+2ZhCTILSAXuShIEagt4JCZTGaCe2a4pWJFIV5RQY8VaKl9tWptezxpj56WtqevnhZtbRXFtorj9YimBuZiZibDXCJCldaWquApoA2Ei4EkM7PX7zwAbYi5zCR779+6fN5PeDgfYPb8v7PW2nskAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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3eCAAA9Zalsy4TA4D7/wCAksjMcwCZGADc/wcAlEVWngPIxADI0j0RAAAaKStnXiYGQJbuiQAA0EhZOfPCBwD3/wEAJZOJ5wDCBwD3/wEAZZOF5wDCB0BW7oUAANAsWTj7wgdAVu6FAADQLFk4+0IHAPf/AQAlFf4cQOgA4P4/AKCsop8DCB0AWbgHAgBAhOgzMHQAZOEeCAAAEaLPwLABwP1/AEDJhT4HEDYAuP8PACi7yOcAwgZA9L0PAACiRZ6FYQMg+t4HAADRIs/CkAHA/X8AACQFPgcQMgC4/w8AwDOingMIGQDc/wcA4BlRZ2LIAOD+PwAAz4g6E5s+ALj/DwDAc4Q8B9D0AcD9fwAAniviOYCmDwDu/wMA8FwRZ2PTBwD3/wEAeK6Is7GpA4D7/wAA7FHTnwNo6gDg/j8AAHvW7OcAmjoAuP8PAMCeNfuMbOoA4P4/AAB71uwzsmkDgPv/AADsU1OfA2jaAOD+PwAA+9bM5wCaNgC4/w8AwL4186xs2gDg/j8AAPvWzLPSmvFFRkY2Hz9rtYea8bUAAMizVq+csHp128ON/jpNuQIw67Uzm/F1AADIuzn5qc34Ok0ZAJboxGZ8HQAAci9JT2nGl/n/dyvPEpZtWw8AAAAASUVORK5CYII="
|
|
504
|
+
}
|
|
505
|
+
)
|
|
506
|
+
] })
|
|
507
|
+
]
|
|
508
|
+
}
|
|
509
|
+
);
|
|
510
|
+
},
|
|
111
511
|
// ** Status **
|
|
112
512
|
plus: ({ className, fill }) => {
|
|
113
513
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
@@ -996,36 +1396,6 @@ var template = {
|
|
|
996
1396
|
}
|
|
997
1397
|
);
|
|
998
1398
|
},
|
|
999
|
-
star: ({ className, fill }) => {
|
|
1000
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1001
|
-
"svg",
|
|
1002
|
-
{
|
|
1003
|
-
width: "24",
|
|
1004
|
-
height: "24",
|
|
1005
|
-
viewBox: "0 0 24 24",
|
|
1006
|
-
fill: "none",
|
|
1007
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1008
|
-
className,
|
|
1009
|
-
children: fill ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1010
|
-
"path",
|
|
1011
|
-
{
|
|
1012
|
-
fillRule: "evenodd",
|
|
1013
|
-
clipRule: "evenodd",
|
|
1014
|
-
d: "M10.7875 3.21009C11.2355 2.13309 12.7635 2.13309 13.2115 3.21009L15.2935 8.21609L20.6975 8.65009C21.8615 8.74309 22.3335 10.1951 21.4465 10.9551L17.3295 14.4821L18.5865 19.7551C18.8575 20.8911 17.6225 21.7881 16.6265 21.1801L11.9995 18.3541L7.37251 21.1801C6.37651 21.7881 5.14151 20.8901 5.41251 19.7551L6.66951 14.4821L2.55251 10.9551C1.66551 10.1951 2.13751 8.74309 3.30151 8.65009L8.70551 8.21609L10.7875 3.21009Z",
|
|
1015
|
-
fill: "currentColor"
|
|
1016
|
-
}
|
|
1017
|
-
) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1018
|
-
"path",
|
|
1019
|
-
{
|
|
1020
|
-
d: "M11.4802 3.49921C11.5225 3.39605 11.5945 3.30779 11.6871 3.24567C11.7797 3.18356 11.8887 3.15039 12.0002 3.15039C12.1117 3.15039 12.2206 3.18356 12.3132 3.24567C12.4058 3.30779 12.4779 3.39605 12.5202 3.49921L14.6452 8.61021C14.6849 8.70585 14.7503 8.78866 14.8341 8.84953C14.9179 8.9104 15.0169 8.94697 15.1202 8.95521L20.6382 9.39721C21.1372 9.43721 21.3392 10.0602 20.9592 10.3852L16.7552 13.9872C16.6766 14.0544 16.6181 14.1419 16.586 14.2402C16.5539 14.3384 16.5494 14.4436 16.5732 14.5442L17.8582 19.9292C17.884 20.0373 17.8772 20.1505 17.8387 20.2547C17.8002 20.3589 17.7317 20.4494 17.6418 20.5146C17.5519 20.5799 17.4447 20.6171 17.3337 20.6214C17.2227 20.6258 17.1129 20.5972 17.0182 20.5392L12.2932 17.6542C12.2049 17.6003 12.1036 17.5718 12.0002 17.5718C11.8968 17.5718 11.7954 17.6003 11.7072 17.6542L6.98216 20.5402C6.88742 20.5982 6.77762 20.6268 6.66662 20.6224C6.55562 20.6181 6.44841 20.5809 6.35853 20.5156C6.26865 20.4504 6.20013 20.3599 6.16162 20.2557C6.12311 20.1515 6.11634 20.0383 6.14216 19.9302L7.42716 14.5442C7.451 14.4436 7.44661 14.3384 7.4145 14.2401C7.38239 14.1418 7.3238 14.0543 7.24516 13.9872L3.04116 10.3852C2.95651 10.313 2.89517 10.2174 2.86492 10.1103C2.83468 10.0033 2.83688 9.88966 2.87125 9.78386C2.90563 9.67807 2.97062 9.58485 3.05802 9.51602C3.14541 9.44719 3.25126 9.40584 3.36216 9.39721L8.88016 8.95521C8.98341 8.94697 9.08239 8.9104 9.16619 8.84953C9.25 8.78866 9.31539 8.70585 9.35516 8.61021L11.4802 3.49921Z",
|
|
1021
|
-
stroke: "currentColor",
|
|
1022
|
-
strokeLinecap: "round",
|
|
1023
|
-
strokeLinejoin: "round"
|
|
1024
|
-
}
|
|
1025
|
-
)
|
|
1026
|
-
}
|
|
1027
|
-
);
|
|
1028
|
-
},
|
|
1029
1399
|
heart: ({ className, fill }) => {
|
|
1030
1400
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
1031
1401
|
"svg",
|
|
@@ -3656,14 +4026,16 @@ var Icon = ({ name, size = "md", fill = false, className, onClick, ...props }) =
|
|
|
3656
4026
|
const getInputIconSize = (size2) => {
|
|
3657
4027
|
switch (size2) {
|
|
3658
4028
|
case "sm":
|
|
3659
|
-
return "size-[
|
|
4029
|
+
return "size-[18px]";
|
|
3660
4030
|
case "md":
|
|
3661
|
-
return "size-[
|
|
4031
|
+
return "size-[21px] stroke-[1.25px]";
|
|
3662
4032
|
case "lg":
|
|
3663
|
-
return "size-[
|
|
4033
|
+
return "size-[24px] stroke-[1.5px]";
|
|
4034
|
+
case "xl":
|
|
4035
|
+
return "size-[27px] stroke-[1.5px]";
|
|
3664
4036
|
}
|
|
3665
4037
|
};
|
|
3666
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: "
|
|
4038
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: "h-fit w-fit", onClick, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
3667
4039
|
SVGIcon,
|
|
3668
4040
|
{
|
|
3669
4041
|
fill,
|
|
@@ -3674,46 +4046,53 @@ var Icon = ({ name, size = "md", fill = false, className, onClick, ...props }) =
|
|
|
3674
4046
|
};
|
|
3675
4047
|
var Icon_default = Icon;
|
|
3676
4048
|
|
|
4049
|
+
// src/utils/clsx.ts
|
|
4050
|
+
function clsx(...args) {
|
|
4051
|
+
var i = 0, tmp, x, str = "";
|
|
4052
|
+
while (i < args.length) {
|
|
4053
|
+
if (tmp = args[i++]) {
|
|
4054
|
+
if (x = toVal(tmp)) {
|
|
4055
|
+
str && (str += " ");
|
|
4056
|
+
str += x;
|
|
4057
|
+
}
|
|
4058
|
+
}
|
|
4059
|
+
}
|
|
4060
|
+
return str;
|
|
4061
|
+
}
|
|
4062
|
+
function toVal(mix) {
|
|
4063
|
+
var k, y, str = "";
|
|
4064
|
+
if (typeof mix === "string" || typeof mix === "number") {
|
|
4065
|
+
str += mix;
|
|
4066
|
+
} else if (typeof mix === "object") {
|
|
4067
|
+
if (Array.isArray(mix)) {
|
|
4068
|
+
var len = mix.length;
|
|
4069
|
+
for (k = 0; k < len; k++) {
|
|
4070
|
+
if (mix[k]) {
|
|
4071
|
+
if (y = toVal(mix[k])) {
|
|
4072
|
+
str && (str += " ");
|
|
4073
|
+
str += y;
|
|
4074
|
+
}
|
|
4075
|
+
}
|
|
4076
|
+
}
|
|
4077
|
+
} else {
|
|
4078
|
+
for (y in mix) {
|
|
4079
|
+
if (mix[y]) {
|
|
4080
|
+
str && (str += " ");
|
|
4081
|
+
str += y;
|
|
4082
|
+
}
|
|
4083
|
+
}
|
|
4084
|
+
}
|
|
4085
|
+
}
|
|
4086
|
+
return str;
|
|
4087
|
+
}
|
|
4088
|
+
|
|
3677
4089
|
// src/components/input/input.tsx
|
|
3678
4090
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
3679
4091
|
var Input = (0, import_react2.forwardRef)((originalProps, ref) => {
|
|
3680
4092
|
const [props, variantProps] = mapPropsVariants(originalProps, inputStyle.variantKeys);
|
|
3681
|
-
const { classNames, label,
|
|
4093
|
+
const { classNames, label, helperText, errorText, startContent, endContent, ...inputProps } = props;
|
|
3682
4094
|
const inputRef = (0, import_react2.useRef)(null);
|
|
3683
4095
|
const slots = (0, import_react2.useMemo)(() => inputStyle({ ...variantProps }), [variantProps]);
|
|
3684
|
-
const getBaseProps = (0, import_react2.useCallback)(
|
|
3685
|
-
() => ({
|
|
3686
|
-
className: slots.base({ class: classNames == null ? void 0 : classNames.base })
|
|
3687
|
-
}),
|
|
3688
|
-
[slots, classNames]
|
|
3689
|
-
);
|
|
3690
|
-
const getLabelProps = (0, import_react2.useCallback)(
|
|
3691
|
-
() => ({
|
|
3692
|
-
className: slots.label({ class: classNames == null ? void 0 : classNames.label })
|
|
3693
|
-
}),
|
|
3694
|
-
[slots, classNames]
|
|
3695
|
-
);
|
|
3696
|
-
const getInnerWrapperProps = (0, import_react2.useCallback)(
|
|
3697
|
-
() => ({
|
|
3698
|
-
className: slots.innerWrapper({ class: classNames == null ? void 0 : classNames.innerWrapper })
|
|
3699
|
-
}),
|
|
3700
|
-
[slots, classNames]
|
|
3701
|
-
);
|
|
3702
|
-
const getInputWrapperProps = (0, import_react2.useCallback)(
|
|
3703
|
-
() => ({
|
|
3704
|
-
className: slots.inputWrapper({ class: classNames == null ? void 0 : classNames.inputWrapper })
|
|
3705
|
-
}),
|
|
3706
|
-
[slots, classNames]
|
|
3707
|
-
);
|
|
3708
|
-
const getInputProps = (0, import_react2.useCallback)(
|
|
3709
|
-
() => ({
|
|
3710
|
-
...inputProps,
|
|
3711
|
-
ref: ref || inputRef,
|
|
3712
|
-
className: slots.input({ class: classNames == null ? void 0 : classNames.input }),
|
|
3713
|
-
size: 0
|
|
3714
|
-
}),
|
|
3715
|
-
[slots, classNames, inputProps, ref]
|
|
3716
|
-
);
|
|
3717
4096
|
const getContentProps = (0, import_react2.useCallback)(
|
|
3718
4097
|
() => ({
|
|
3719
4098
|
className: slots.content({ class: classNames == null ? void 0 : classNames.content }),
|
|
@@ -3721,12 +4100,6 @@ var Input = (0, import_react2.forwardRef)((originalProps, ref) => {
|
|
|
3721
4100
|
}),
|
|
3722
4101
|
[slots, classNames, originalProps.size]
|
|
3723
4102
|
);
|
|
3724
|
-
const getErrorMessageProps = (0, import_react2.useCallback)(
|
|
3725
|
-
() => ({
|
|
3726
|
-
className: slots.errorMessage({ class: classNames == null ? void 0 : classNames.errorMessage })
|
|
3727
|
-
}),
|
|
3728
|
-
[slots, classNames]
|
|
3729
|
-
);
|
|
3730
4103
|
const renderStartContent = () => {
|
|
3731
4104
|
if (import_react2.default.isValidElement(startContent)) {
|
|
3732
4105
|
const existingProps = startContent.props;
|
|
@@ -3760,7 +4133,7 @@ var Input = (0, import_react2.forwardRef)((originalProps, ref) => {
|
|
|
3760
4133
|
className: `${getContentProps().className || ""} ${existingProps.className || ""}`.trim()
|
|
3761
4134
|
};
|
|
3762
4135
|
return import_react2.default.cloneElement(endContent, mergedProps);
|
|
3763
|
-
} else if (
|
|
4136
|
+
} else if (errorText) {
|
|
3764
4137
|
const iconProps = { ...getContentProps(), className: getContentProps().className };
|
|
3765
4138
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { ...iconProps, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "exclamation-circle", fill: true, size: originalProps.size }) });
|
|
3766
4139
|
} else {
|
|
@@ -3779,146 +4152,210 @@ var Input = (0, import_react2.forwardRef)((originalProps, ref) => {
|
|
|
3779
4152
|
return renderContentWithIcon();
|
|
3780
4153
|
}
|
|
3781
4154
|
};
|
|
3782
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
4155
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
4156
|
+
"div",
|
|
4157
|
+
{
|
|
4158
|
+
className: clsx(
|
|
4159
|
+
slots.base({ class: classNames == null ? void 0 : classNames.base }),
|
|
4160
|
+
variantProps.direction === "vertical" ? slots.vertical({ class: classNames == null ? void 0 : classNames.vertical }) : slots.horizon({ class: classNames == null ? void 0 : classNames.horizon })
|
|
4161
|
+
),
|
|
4162
|
+
children: [
|
|
4163
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("label", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: label }),
|
|
4164
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: slots.innerWrapper({ class: classNames == null ? void 0 : classNames.innerWrapper }), children: [
|
|
4165
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
4166
|
+
"div",
|
|
4167
|
+
{
|
|
4168
|
+
className: clsx(
|
|
4169
|
+
slots.inputWrapper({ class: classNames == null ? void 0 : classNames.inputWrapper }),
|
|
4170
|
+
inputProps.readOnly ? slots.readonly({ class: classNames == null ? void 0 : classNames.readonly }) : ""
|
|
4171
|
+
),
|
|
4172
|
+
children: [
|
|
4173
|
+
startContent && renderStartContent(),
|
|
4174
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("input", { ...inputProps, ref: ref || inputRef, className: slots.input({ class: classNames == null ? void 0 : classNames.input }), size: 0 }),
|
|
4175
|
+
renderEndContent()
|
|
4176
|
+
]
|
|
4177
|
+
}
|
|
4178
|
+
),
|
|
4179
|
+
helperText && !errorText && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: slots.helperText({ class: classNames == null ? void 0 : classNames.helperText }), children: helperText }),
|
|
4180
|
+
errorText && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: clsx("error", slots.errorText({ class: classNames == null ? void 0 : classNames.errorText })), children: errorText })
|
|
4181
|
+
] })
|
|
4182
|
+
]
|
|
4183
|
+
}
|
|
4184
|
+
);
|
|
3793
4185
|
});
|
|
3794
4186
|
Input.displayName = "Input";
|
|
3795
4187
|
var input_default = Input;
|
|
3796
4188
|
var inputStyle = tv({
|
|
3797
4189
|
slots: {
|
|
3798
|
-
base: ["group/input", "flex"
|
|
3799
|
-
|
|
4190
|
+
base: ["group/input", "flex"],
|
|
4191
|
+
vertical: ["flex-col"],
|
|
4192
|
+
horizon: ["flex-row", "gap-0"],
|
|
4193
|
+
label: ["flex", "items-center", "font-bold", "text-body-foreground", "w-[80px]"],
|
|
3800
4194
|
innerWrapper: ["flex", "flex-col"],
|
|
3801
|
-
inputWrapper: [
|
|
4195
|
+
inputWrapper: ["flex", "items-center", "transition", "duration-200", "group-has-[p.error]/input:bg-danger-soft"],
|
|
4196
|
+
input: [
|
|
4197
|
+
"w-full",
|
|
4198
|
+
"h-full",
|
|
4199
|
+
"bg-transparent",
|
|
4200
|
+
"text-neutral-main",
|
|
4201
|
+
"placeholder:text-neutral-main",
|
|
4202
|
+
"focus:outline-none",
|
|
4203
|
+
"focus:ring-0",
|
|
4204
|
+
"group-has-[:hover]/input:text-neutral-dark",
|
|
4205
|
+
"group-has-[:hover]/input:placeholder:text-neutral-dark",
|
|
4206
|
+
"group-has-[:focus]/input:text-neutral-dark",
|
|
4207
|
+
"group-has-[:focus]/input:placeholder:text-neutral-dark",
|
|
4208
|
+
"group-has-[p.error]/input:text-danger-main",
|
|
4209
|
+
"group-has-[p.error]/input:placeholder:text-danger-main"
|
|
4210
|
+
],
|
|
4211
|
+
content: [
|
|
3802
4212
|
"flex",
|
|
3803
4213
|
"items-center",
|
|
3804
|
-
"
|
|
3805
|
-
"
|
|
3806
|
-
"group-has-[
|
|
3807
|
-
"group-has-[p]/input:
|
|
4214
|
+
"select-none",
|
|
4215
|
+
"text-neutral-main",
|
|
4216
|
+
"group-has-[:hover]/input:text-neutral-dark",
|
|
4217
|
+
"group-has-[p.error]/input:text-danger-main"
|
|
3808
4218
|
],
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
4219
|
+
helperText: ["text-neutral-main", "group-has-[:hover]/input:text-neutral-dark"],
|
|
4220
|
+
errorText: ["text-danger-main"],
|
|
4221
|
+
readonly: ["pointer-events-none"]
|
|
3812
4222
|
},
|
|
3813
4223
|
variants: {
|
|
3814
4224
|
variant: {
|
|
3815
4225
|
solid: {
|
|
3816
|
-
inputWrapper: ["
|
|
4226
|
+
inputWrapper: ["!border-transparent", "bg-trans-soft", "group-has-[:focus]/input:text-body-foreground"],
|
|
4227
|
+
readonly: ["!bg-trans-light"]
|
|
3817
4228
|
},
|
|
3818
|
-
|
|
4229
|
+
outline: {
|
|
3819
4230
|
inputWrapper: [
|
|
3820
|
-
"
|
|
3821
|
-
"
|
|
3822
|
-
"
|
|
3823
|
-
"
|
|
3824
|
-
|
|
3825
|
-
]
|
|
4231
|
+
"border-neutral-light",
|
|
4232
|
+
"group-has-[:hover]/input:bg-trans-soft",
|
|
4233
|
+
"group-has-[:focus]/input:bg-body-background",
|
|
4234
|
+
"group-has-[p.error]/input:border-danger-main"
|
|
4235
|
+
],
|
|
4236
|
+
readonly: ["!bg-trans-soft"]
|
|
3826
4237
|
},
|
|
3827
|
-
|
|
4238
|
+
underline: {
|
|
3828
4239
|
inputWrapper: [
|
|
3829
4240
|
"bg-transparent",
|
|
3830
|
-
"border-b",
|
|
3831
|
-
"border-neutral-main",
|
|
3832
4241
|
"!rounded-none",
|
|
3833
|
-
"
|
|
3834
|
-
"
|
|
3835
|
-
|
|
4242
|
+
"!border-t-transparent",
|
|
4243
|
+
"!border-l-transparent",
|
|
4244
|
+
"!border-r-transparent",
|
|
4245
|
+
"group-has-[:hover]/input:bg-trans-soft",
|
|
4246
|
+
"group-has-[:focus]/input:bg-body-background",
|
|
4247
|
+
"group-has-[p.error]/input:border-danger-main"
|
|
4248
|
+
],
|
|
4249
|
+
readonly: ["!bg-trans-soft"]
|
|
3836
4250
|
}
|
|
3837
4251
|
},
|
|
3838
4252
|
color: {
|
|
3839
4253
|
primary: {
|
|
3840
|
-
|
|
3841
|
-
|
|
4254
|
+
content: [
|
|
4255
|
+
"group-has-[:focus]/input:text-primary-main",
|
|
4256
|
+
"!group-has-[p.error]:not(input:focus):hover/input:text-primary-main"
|
|
4257
|
+
],
|
|
4258
|
+
helperText: [
|
|
4259
|
+
"group-has-[:focus]/input:text-primary-main",
|
|
4260
|
+
"group-has-[:focus:hover]/input:text-primary-main",
|
|
4261
|
+
"group-has-[:focus]/input:hover:text-primary-main"
|
|
4262
|
+
]
|
|
3842
4263
|
},
|
|
3843
4264
|
secondary: {
|
|
3844
|
-
|
|
3845
|
-
|
|
4265
|
+
content: [
|
|
4266
|
+
"group-has-[:focus]/input:text-secondary-main",
|
|
4267
|
+
"!group-has-[p.error]:not(input:focus):hover/input:text-secondary-main"
|
|
4268
|
+
],
|
|
4269
|
+
helperText: [
|
|
4270
|
+
"group-has-[:focus]/input:text-secondary-main",
|
|
4271
|
+
"group-has-[:focus:hover]/input:text-secondary-main",
|
|
4272
|
+
"group-has-[:focus]/input:hover:text-secondary-main"
|
|
4273
|
+
]
|
|
3846
4274
|
}
|
|
3847
4275
|
},
|
|
3848
4276
|
size: {
|
|
3849
4277
|
sm: {
|
|
3850
|
-
base: ["text-sm", "gap-[
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
4278
|
+
base: ["text-sm", "gap-[4px]"],
|
|
4279
|
+
label: ["text-sm"],
|
|
4280
|
+
innerWrapper: ["gap-[4px]"],
|
|
4281
|
+
inputWrapper: ["w-[240px]", "h-[24px]", "rounded-sm", "px-[4px]", "border-sm"],
|
|
4282
|
+
helperText: ["text-sm"],
|
|
4283
|
+
errorText: ["text-sm"]
|
|
3854
4284
|
},
|
|
3855
4285
|
md: {
|
|
3856
|
-
base: ["text-md", "gap-[
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
4286
|
+
base: ["text-md", "gap-[6px]"],
|
|
4287
|
+
label: ["text-md"],
|
|
4288
|
+
innerWrapper: ["gap-[6px]"],
|
|
4289
|
+
inputWrapper: ["w-[240px]", "h-[32px]", "rounded-md", "px-[6px]", "border-md"],
|
|
4290
|
+
helperText: ["text-sm"],
|
|
4291
|
+
errorText: ["text-sm"]
|
|
3860
4292
|
},
|
|
3861
4293
|
lg: {
|
|
3862
|
-
base: ["text-lg", "gap-[
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
radius: {
|
|
3869
|
-
default: "",
|
|
3870
|
-
none: {
|
|
3871
|
-
inputWrapper: ["rounded-none"]
|
|
4294
|
+
base: ["text-lg", "gap-[8px]"],
|
|
4295
|
+
label: ["text-lg"],
|
|
4296
|
+
innerWrapper: ["gap-[8px]"],
|
|
4297
|
+
inputWrapper: ["w-[240px]", "h-[40px]", "rounded-lg", "px-[8px]", "border-lg"],
|
|
4298
|
+
helperText: ["text-md"],
|
|
4299
|
+
errorText: ["text-md"]
|
|
3872
4300
|
},
|
|
3873
|
-
|
|
3874
|
-
|
|
4301
|
+
xl: {
|
|
4302
|
+
base: ["text-xl", "gap-[10px]"],
|
|
4303
|
+
label: ["text-xl"],
|
|
4304
|
+
innerWrapper: ["gap-[10px]"],
|
|
4305
|
+
inputWrapper: ["w-[240px]", "h-[50px]", "rounded-lg", "px-[10px]", "border-xl"],
|
|
4306
|
+
helperText: ["text-md"],
|
|
4307
|
+
errorText: ["text-md"]
|
|
3875
4308
|
}
|
|
3876
4309
|
},
|
|
3877
|
-
|
|
4310
|
+
direction: {
|
|
4311
|
+
vertical: "",
|
|
4312
|
+
horizon: ""
|
|
4313
|
+
},
|
|
4314
|
+
full: {
|
|
3878
4315
|
true: {
|
|
3879
4316
|
base: ["w-full"],
|
|
3880
4317
|
innerWrapper: ["flex-1"],
|
|
3881
4318
|
inputWrapper: ["w-full"]
|
|
3882
4319
|
}
|
|
3883
4320
|
},
|
|
3884
|
-
|
|
4321
|
+
disabled: {
|
|
3885
4322
|
true: {
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
4323
|
+
inputWrapper: ["!bg-neutral-soft", "pointer-events-none", "!group-has-[p.error]/input:text-danger-light"],
|
|
4324
|
+
input: [
|
|
4325
|
+
"text-neutral-light",
|
|
4326
|
+
"placeholder:text-neutral-light",
|
|
4327
|
+
"group-has-[p.error]/input:text-danger-light",
|
|
4328
|
+
"group-has-[p.error]/input:placeholder:text-danger-light"
|
|
4329
|
+
],
|
|
4330
|
+
content: ["text-neutral-light", "group-has-[p.error]/input:text-danger-light"],
|
|
4331
|
+
helperText: ["!text-neutral-light"],
|
|
4332
|
+
errorText: ["!text-danger-light"]
|
|
3896
4333
|
}
|
|
3897
4334
|
}
|
|
3898
4335
|
},
|
|
3899
|
-
defaultVariants: {
|
|
3900
|
-
variant: "solid",
|
|
3901
|
-
color: "primary",
|
|
3902
|
-
size: "md",
|
|
3903
|
-
fullWidth: false,
|
|
3904
|
-
isDisabled: false,
|
|
3905
|
-
isRequired: false
|
|
3906
|
-
},
|
|
3907
4336
|
compoundVariants: [
|
|
3908
4337
|
{
|
|
3909
|
-
|
|
3910
|
-
|
|
4338
|
+
disabled: true,
|
|
4339
|
+
variant: ["outline", "underline"],
|
|
3911
4340
|
class: {
|
|
3912
|
-
|
|
4341
|
+
inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:border-danger-light"]
|
|
3913
4342
|
}
|
|
3914
4343
|
}
|
|
3915
|
-
]
|
|
4344
|
+
],
|
|
4345
|
+
defaultVariants: {
|
|
4346
|
+
variant: "solid",
|
|
4347
|
+
color: "primary",
|
|
4348
|
+
size: "md",
|
|
4349
|
+
direction: "vertical",
|
|
4350
|
+
disabled: false,
|
|
4351
|
+
readonly: false
|
|
4352
|
+
}
|
|
3916
4353
|
});
|
|
3917
4354
|
|
|
3918
4355
|
// src/components/pagination/pagination.tsx
|
|
3919
4356
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
3920
4357
|
var Pagination = (0, import_react3.forwardRef)((originalProps, ref) => {
|
|
3921
|
-
const [props, variantProps] = mapPropsVariants(originalProps,
|
|
4358
|
+
const [props, variantProps] = mapPropsVariants(originalProps, paginationStyle.variantKeys);
|
|
3922
4359
|
const {
|
|
3923
4360
|
classNames,
|
|
3924
4361
|
currentPage,
|
|
@@ -3926,74 +4363,37 @@ var Pagination = (0, import_react3.forwardRef)((originalProps, ref) => {
|
|
|
3926
4363
|
totalPage,
|
|
3927
4364
|
showPageNumber = true,
|
|
3928
4365
|
showPageLabel,
|
|
3929
|
-
showPageInput,
|
|
3930
4366
|
showFirstLastButtons,
|
|
3931
|
-
handleChangePage
|
|
3932
|
-
|
|
3933
|
-
|
|
4367
|
+
handleChangePage,
|
|
4368
|
+
variant,
|
|
4369
|
+
size
|
|
4370
|
+
} = { ...props, ...variantProps };
|
|
4371
|
+
const [inputPage, setInputPage] = (0, import_react3.useState)(currentPage);
|
|
4372
|
+
const slots = (0, import_react3.useMemo)(() => paginationStyle(variantProps), [variantProps]);
|
|
4373
|
+
const { pageList, handleClickMovePage } = usePagination_default({
|
|
3934
4374
|
currentPage,
|
|
3935
4375
|
totalPage,
|
|
3936
4376
|
groupSize,
|
|
3937
4377
|
handleChangePage
|
|
3938
4378
|
});
|
|
3939
|
-
const
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
);
|
|
3945
|
-
const getWrapperProps = (0, import_react3.useCallback)(
|
|
3946
|
-
() => ({ className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }) }),
|
|
3947
|
-
[slots, classNames]
|
|
3948
|
-
);
|
|
3949
|
-
const getIconProps = (0, import_react3.useCallback)(() => ({ className: slots.icon({ class: classNames == null ? void 0 : classNames.icon }) }), [slots, classNames]);
|
|
3950
|
-
const getButtonProps = (0, import_react3.useCallback)(
|
|
3951
|
-
() => ({ className: slots.button({ class: classNames == null ? void 0 : classNames.button }) }),
|
|
3952
|
-
[slots, classNames]
|
|
3953
|
-
);
|
|
3954
|
-
const getLabelWrapperProps = (0, import_react3.useCallback)(
|
|
3955
|
-
() => ({
|
|
3956
|
-
className: "flex shrink-0",
|
|
3957
|
-
onSubmit: (e) => {
|
|
3958
|
-
e.preventDefault();
|
|
3959
|
-
if (showPageInput && handleChangePage) {
|
|
3960
|
-
const formData = new FormData(e.target);
|
|
3961
|
-
const page = formData.get("pagination-input");
|
|
3962
|
-
if (page) handleChangePage(+page);
|
|
3963
|
-
}
|
|
4379
|
+
const handleKeyDown = (e) => {
|
|
4380
|
+
if (e.key === "Enter") {
|
|
4381
|
+
const parsed = Number(inputPage);
|
|
4382
|
+
if (!isNaN(parsed) && parsed >= 1 && parsed <= totalPage) {
|
|
4383
|
+
handleChangePage == null ? void 0 : handleChangePage(parsed);
|
|
3964
4384
|
}
|
|
3965
|
-
}
|
|
3966
|
-
|
|
3967
|
-
)
|
|
3968
|
-
|
|
3969
|
-
() => ({
|
|
3970
|
-
defaultValue: currentPage,
|
|
3971
|
-
size: "sm",
|
|
3972
|
-
name: "pagination-input",
|
|
3973
|
-
type: "number",
|
|
3974
|
-
max: totalPage,
|
|
3975
|
-
min: 1,
|
|
3976
|
-
classNames: { inputWrapper: "!w-[48px] h-[20px] px-[6px]", input: "input-arrow-hide" }
|
|
3977
|
-
}),
|
|
3978
|
-
[currentPage, totalPage]
|
|
3979
|
-
);
|
|
3980
|
-
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { ...getBaseProps(), children: [
|
|
3981
|
-
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("form", { ...getLabelWrapperProps(), children: [
|
|
3982
|
-
showPageInput && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(input_default, { ...getInputProps() }, `${currentPage}+pagination-input`),
|
|
3983
|
-
showPageLabel && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("span", { ...getLabelProps(), children: [
|
|
3984
|
-
!showPageInput && currentPage,
|
|
3985
|
-
` of ${totalPage}`
|
|
3986
|
-
] })
|
|
3987
|
-
] }),
|
|
3988
|
-
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { ...getWrapperProps(), children: [
|
|
4385
|
+
}
|
|
4386
|
+
};
|
|
4387
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: slots.base({ class: classNames == null ? void 0 : classNames.base }), ref, children: [
|
|
4388
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: [
|
|
3989
4389
|
showFirstLastButtons && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
3990
4390
|
"div",
|
|
3991
4391
|
{
|
|
3992
4392
|
"aria-label": "firstPage",
|
|
3993
4393
|
"data-is-active": currentPage > 1,
|
|
3994
|
-
|
|
4394
|
+
className: slots.icon({ class: classNames == null ? void 0 : classNames.icon }),
|
|
3995
4395
|
onClick: currentPage > 1 ? handleClickMovePage(1) : void 0,
|
|
3996
|
-
children: "
|
|
4396
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon_default, { name: "left-double-chevron" })
|
|
3997
4397
|
}
|
|
3998
4398
|
),
|
|
3999
4399
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
@@ -4001,15 +4401,15 @@ var Pagination = (0, import_react3.forwardRef)((originalProps, ref) => {
|
|
|
4001
4401
|
{
|
|
4002
4402
|
"aria-label": "prevPage",
|
|
4003
4403
|
"data-is-active": currentPage > 1,
|
|
4004
|
-
|
|
4404
|
+
className: slots.icon({ class: classNames == null ? void 0 : classNames.icon }),
|
|
4005
4405
|
onClick: currentPage > 1 ? handleClickMovePage(currentPage - 1) : void 0,
|
|
4006
|
-
children: "
|
|
4406
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon_default, { name: "left-chevron" })
|
|
4007
4407
|
}
|
|
4008
4408
|
),
|
|
4009
4409
|
showPageNumber && pageList.map((page, index) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
4010
4410
|
"div",
|
|
4011
4411
|
{
|
|
4012
|
-
|
|
4412
|
+
className: slots.button({ class: classNames == null ? void 0 : classNames.button }),
|
|
4013
4413
|
"data-selected": currentPage === page,
|
|
4014
4414
|
onClick: handleClickMovePage(page),
|
|
4015
4415
|
children: page
|
|
@@ -4021,9 +4421,9 @@ var Pagination = (0, import_react3.forwardRef)((originalProps, ref) => {
|
|
|
4021
4421
|
{
|
|
4022
4422
|
"aria-label": "nextPage",
|
|
4023
4423
|
"data-is-active": currentPage < totalPage,
|
|
4024
|
-
|
|
4424
|
+
className: slots.icon({ class: classNames == null ? void 0 : classNames.icon }),
|
|
4025
4425
|
onClick: currentPage < totalPage ? handleClickMovePage(currentPage + 1) : void 0,
|
|
4026
|
-
children: "
|
|
4426
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon_default, { name: "right-chevron" })
|
|
4027
4427
|
}
|
|
4028
4428
|
),
|
|
4029
4429
|
showFirstLastButtons && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
@@ -4031,141 +4431,179 @@ var Pagination = (0, import_react3.forwardRef)((originalProps, ref) => {
|
|
|
4031
4431
|
{
|
|
4032
4432
|
"aria-label": "lastPage",
|
|
4033
4433
|
"data-is-active": currentPage < totalPage,
|
|
4034
|
-
|
|
4434
|
+
className: slots.icon({ class: classNames == null ? void 0 : classNames.icon }),
|
|
4035
4435
|
onClick: currentPage < totalPage ? handleClickMovePage(totalPage) : void 0,
|
|
4036
|
-
children: "
|
|
4436
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon_default, { name: "right-double-chevron" })
|
|
4037
4437
|
}
|
|
4038
4438
|
)
|
|
4439
|
+
] }),
|
|
4440
|
+
showPageLabel && /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: [
|
|
4441
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
4442
|
+
input_default,
|
|
4443
|
+
{
|
|
4444
|
+
value: inputPage || 1,
|
|
4445
|
+
onChange: (e) => setInputPage(Number(e.target.value)),
|
|
4446
|
+
onKeyDown: handleKeyDown,
|
|
4447
|
+
width: 50,
|
|
4448
|
+
height: 24,
|
|
4449
|
+
size: "sm",
|
|
4450
|
+
classNames: {
|
|
4451
|
+
inputWrapper: clsx(
|
|
4452
|
+
"w-[50px] h-[24px] rounded-sm",
|
|
4453
|
+
variant === "solid" ? "" : "bg-body-background border border-neutral-light"
|
|
4454
|
+
)
|
|
4455
|
+
}
|
|
4456
|
+
}
|
|
4457
|
+
),
|
|
4458
|
+
` of ${totalPage.toLocaleString("ko-kr")}`
|
|
4039
4459
|
] })
|
|
4040
4460
|
] });
|
|
4041
4461
|
});
|
|
4042
4462
|
Pagination.displayName = "Pagination";
|
|
4043
4463
|
var pagination_default = Pagination;
|
|
4044
|
-
var
|
|
4464
|
+
var paginationStyle = tv(
|
|
4045
4465
|
{
|
|
4046
4466
|
slots: {
|
|
4047
|
-
base: "flex items-center select-none",
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4467
|
+
base: ["flex", "items-center", "select-none", "gap-[20px]"],
|
|
4468
|
+
wrapper: ["flex", "items-center", "overflow-hidden", "gap-[5px]"],
|
|
4469
|
+
icon: [
|
|
4470
|
+
"flex",
|
|
4471
|
+
"items-center",
|
|
4472
|
+
"justify-center",
|
|
4473
|
+
"cursor-pointer",
|
|
4474
|
+
"stroke-neutral-main",
|
|
4475
|
+
"data-[is-active=false]:stroke-neutral-light",
|
|
4476
|
+
"data-[is-active=false]:cursor-default"
|
|
4477
|
+
],
|
|
4478
|
+
button: [
|
|
4479
|
+
"flex",
|
|
4480
|
+
"items-center",
|
|
4481
|
+
"justify-center",
|
|
4482
|
+
"cursor-pointer",
|
|
4483
|
+
"transition",
|
|
4484
|
+
"duration-200",
|
|
4485
|
+
"px-[6px]",
|
|
4486
|
+
"py-[4px]",
|
|
4487
|
+
"text-neutral-main",
|
|
4488
|
+
"data-[selected=true]:font-bold"
|
|
4489
|
+
],
|
|
4490
|
+
label: ["whitespace-nowrap", "text-neutral-main", "flex", "items-center", "gap-[5px]", "text-sm"]
|
|
4052
4491
|
},
|
|
4053
4492
|
variants: {
|
|
4054
4493
|
variant: {
|
|
4055
4494
|
solid: {
|
|
4056
|
-
button: ["
|
|
4057
|
-
icon: "text-neutral-dark data-[is-active=false]:text-neutral-light data-[is-active=false]:cursor-default"
|
|
4495
|
+
button: ["rounded-[5px]", "border-transparent"]
|
|
4058
4496
|
},
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
button: ["text-foreground"],
|
|
4062
|
-
icon: "text-foreground data-[is-active=false]:text-neutral-light data-[is-active=false]:cursor-default first-of-type:border-l-0"
|
|
4497
|
+
underline: {
|
|
4498
|
+
button: ["rounded-0", "border-transparent"]
|
|
4063
4499
|
}
|
|
4064
4500
|
},
|
|
4065
4501
|
size: {
|
|
4066
4502
|
sm: {
|
|
4067
|
-
|
|
4068
|
-
label: "min-w-[85px] text-sm mr-[10px]",
|
|
4069
|
-
icon: ["h-[15px] text-sm"],
|
|
4070
|
-
button: ["min-w-[28px] h-[15px] text-sm"]
|
|
4503
|
+
button: ["text-sm", "data-[selected=true]:border-sm"]
|
|
4071
4504
|
},
|
|
4072
4505
|
md: {
|
|
4073
|
-
|
|
4074
|
-
label: "min-w-[95px] text-md mr-[12px]",
|
|
4075
|
-
icon: ["h-[17px] text-md"],
|
|
4076
|
-
button: ["min-w-[32px] h-[17px] text-md"]
|
|
4506
|
+
button: ["text-md", "data-[selected=true]:border-md"]
|
|
4077
4507
|
},
|
|
4078
4508
|
lg: {
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
button: ["
|
|
4509
|
+
button: ["text-lg", "data-[selected=true]:border-lg"]
|
|
4510
|
+
},
|
|
4511
|
+
xl: {
|
|
4512
|
+
button: ["text-xl", "data-[selected=true]:border-xl"]
|
|
4083
4513
|
}
|
|
4084
4514
|
},
|
|
4085
4515
|
color: {
|
|
4086
|
-
primary: {
|
|
4087
|
-
|
|
4088
|
-
}
|
|
4089
|
-
secondary: {
|
|
4090
|
-
label: "text-secondary-main"
|
|
4091
|
-
}
|
|
4516
|
+
primary: {},
|
|
4517
|
+
secondary: {},
|
|
4518
|
+
neutral: {}
|
|
4092
4519
|
},
|
|
4093
4520
|
isDisabled: {
|
|
4094
4521
|
true: {
|
|
4095
|
-
icon: "!text-neutral-light !cursor-default",
|
|
4096
|
-
button: "!text-neutral-light !cursor-default"
|
|
4522
|
+
icon: ["!text-neutral-light", "!cursor-default"],
|
|
4523
|
+
button: ["!text-neutral-light", "!cursor-default"]
|
|
4097
4524
|
}
|
|
4098
4525
|
}
|
|
4099
4526
|
},
|
|
4100
|
-
defaultVariants: {
|
|
4101
|
-
variant: "solid",
|
|
4102
|
-
color: "primary",
|
|
4103
|
-
size: "md",
|
|
4104
|
-
isDisabled: false
|
|
4105
|
-
},
|
|
4106
4527
|
compoundVariants: [
|
|
4107
4528
|
{
|
|
4108
4529
|
variant: "solid",
|
|
4109
4530
|
color: "primary",
|
|
4110
4531
|
class: {
|
|
4111
|
-
button:
|
|
4112
|
-
|
|
4532
|
+
button: [
|
|
4533
|
+
"hover:text-primary-main",
|
|
4534
|
+
"data-[selected=true]:text-primary-main",
|
|
4535
|
+
"data-[selected=true]:bg-primary-soft"
|
|
4536
|
+
],
|
|
4537
|
+
icon: ["hover:stroke-primary-main"]
|
|
4113
4538
|
}
|
|
4114
4539
|
},
|
|
4115
4540
|
{
|
|
4116
4541
|
variant: "solid",
|
|
4117
4542
|
color: "secondary",
|
|
4118
4543
|
class: {
|
|
4119
|
-
button:
|
|
4120
|
-
|
|
4544
|
+
button: [
|
|
4545
|
+
"hover:text-secondary-main",
|
|
4546
|
+
"data-[selected=true]:text-secondary-main",
|
|
4547
|
+
"data-[selected=true]:bg-secondary-soft"
|
|
4548
|
+
],
|
|
4549
|
+
icon: ["hover:stroke-secondary-main"]
|
|
4121
4550
|
}
|
|
4122
4551
|
},
|
|
4123
4552
|
{
|
|
4124
|
-
variant: "
|
|
4125
|
-
|
|
4126
|
-
class: {
|
|
4127
|
-
wrapper: "border rounded-sm gap-0",
|
|
4128
|
-
button: "!min-w-[40px] h-[20px] border-l",
|
|
4129
|
-
icon: "min-w-[40px] h-[20px] border-l"
|
|
4130
|
-
}
|
|
4131
|
-
},
|
|
4132
|
-
{
|
|
4133
|
-
variant: "line",
|
|
4134
|
-
size: "md",
|
|
4553
|
+
variant: "solid",
|
|
4554
|
+
color: "neutral",
|
|
4135
4555
|
class: {
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4556
|
+
button: [
|
|
4557
|
+
"hover:text-neutral-dark",
|
|
4558
|
+
"data-[selected=true]:text-neutral-dark",
|
|
4559
|
+
"data-[selected=true]:bg-neutral-soft"
|
|
4560
|
+
],
|
|
4561
|
+
icon: ["hover:stroke-neutral-main"]
|
|
4139
4562
|
}
|
|
4140
4563
|
},
|
|
4141
4564
|
{
|
|
4142
|
-
variant: "
|
|
4143
|
-
|
|
4565
|
+
variant: "underline",
|
|
4566
|
+
color: "primary",
|
|
4144
4567
|
class: {
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4568
|
+
button: [
|
|
4569
|
+
"hover:text-primary-main",
|
|
4570
|
+
"data-[selected=true]:text-primary-main",
|
|
4571
|
+
"data-[selected=true]:border-b-primary-main"
|
|
4572
|
+
],
|
|
4573
|
+
icon: ["hover:stroke-primary-main"]
|
|
4148
4574
|
}
|
|
4149
4575
|
},
|
|
4150
4576
|
{
|
|
4151
|
-
variant: "
|
|
4152
|
-
color: "
|
|
4577
|
+
variant: "underline",
|
|
4578
|
+
color: "secondary",
|
|
4153
4579
|
class: {
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4580
|
+
button: [
|
|
4581
|
+
"hover:text-secondary-main",
|
|
4582
|
+
"data-[selected=true]:text-secondary-main",
|
|
4583
|
+
"data-[selected=true]:border-b-secondary-main"
|
|
4584
|
+
],
|
|
4585
|
+
icon: ["hover:stroke-secondary-main"]
|
|
4157
4586
|
}
|
|
4158
4587
|
},
|
|
4159
4588
|
{
|
|
4160
|
-
variant: "
|
|
4161
|
-
color: "
|
|
4589
|
+
variant: "underline",
|
|
4590
|
+
color: "neutral",
|
|
4162
4591
|
class: {
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4592
|
+
button: [
|
|
4593
|
+
"hover:text-neutral-dark",
|
|
4594
|
+
"data-[selected=true]:text-neutral-dark",
|
|
4595
|
+
"data-[selected=true]:border-b-neutral-main"
|
|
4596
|
+
],
|
|
4597
|
+
icon: ["hover:stroke-neutral-main"]
|
|
4166
4598
|
}
|
|
4167
4599
|
}
|
|
4168
|
-
]
|
|
4600
|
+
],
|
|
4601
|
+
defaultVariants: {
|
|
4602
|
+
variant: "solid",
|
|
4603
|
+
color: "primary",
|
|
4604
|
+
size: "md",
|
|
4605
|
+
isDisabled: false
|
|
4606
|
+
}
|
|
4169
4607
|
},
|
|
4170
4608
|
{
|
|
4171
4609
|
twMerge: false
|