@deepnoid/ui 0.0.112 → 0.1.0
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-RZZWHI6O.mjs → chunk-2HSK6XGZ.mjs} +8 -3
- package/dist/{chunk-TSMVRGDO.mjs → chunk-3AMZ55Y6.mjs} +14 -8
- package/dist/{chunk-VWD26TIQ.mjs → chunk-5IQKKLZY.mjs} +4 -4
- package/dist/{chunk-EYY4CRRR.mjs → chunk-5S4XGPBB.mjs} +15 -17
- package/dist/chunk-6PNKRBUT.mjs +34 -0
- package/dist/{chunk-IZ6II3QA.mjs → chunk-AC6TWLRT.mjs} +1 -13
- package/dist/{chunk-OJ2OEI5B.mjs → chunk-BKE6QF6W.mjs} +7 -0
- package/dist/{chunk-BCN5F2MN.mjs → chunk-CATOSBI7.mjs} +2 -2
- package/dist/{chunk-PXUBPWKU.mjs → chunk-FYJZ7Q5L.mjs} +4 -4
- package/dist/chunk-IE2BRM7Z.mjs +600 -0
- package/dist/chunk-KCYJYS66.mjs +198 -0
- package/dist/chunk-LXHUO6VM.mjs +46 -0
- package/dist/chunk-MW6Y3FSE.mjs +211 -0
- package/dist/{chunk-IOCRFIQF.mjs → chunk-P2TMIZRH.mjs} +131 -30
- package/dist/{chunk-KRI5IALM.mjs → chunk-P5WT7WJO.mjs} +6 -3
- package/dist/{chunk-PO3ADNA5.mjs → chunk-PFYYYUJW.mjs} +1 -1
- package/dist/chunk-PKVQXVCS.mjs +170 -0
- package/dist/{chunk-NGQ3MK2J.mjs → chunk-Q5WACGVP.mjs} +1 -1
- package/dist/{chunk-FDKT4IBP.mjs → chunk-QJHZJRSQ.mjs} +4 -4
- package/dist/{chunk-7HHFRKJU.mjs → chunk-QNA2GDTN.mjs} +2 -2
- package/dist/{chunk-YRMFIXXC.mjs → chunk-RQ76IOYC.mjs} +29 -6
- package/dist/chunk-RRL6KBU4.mjs +145 -0
- package/dist/chunk-SE5TU755.mjs +1 -0
- package/dist/{chunk-ZNEEYSIK.mjs → chunk-SK2A72R2.mjs} +10 -4
- package/dist/{chunk-PRLGHYFO.mjs → chunk-UAMIPCUD.mjs} +7 -7
- package/dist/{chunk-JN7EGKJL.mjs → chunk-VBFXKJTI.mjs} +11 -5
- package/dist/chunk-VWMXZUR2.mjs +82 -0
- package/dist/chunk-WQBOPCH6.mjs +29 -0
- package/dist/chunk-WSIADHVC.mjs +126 -0
- package/dist/chunk-X2MQCISM.mjs +413 -0
- package/dist/chunk-XAA5KY6A.mjs +63 -0
- package/dist/chunk-XTGRSVYO.mjs +221 -0
- package/dist/{chunk-QGZEHOKA.mjs → chunk-YGOEKSNZ.mjs} +5 -2
- package/dist/chunk-Z74QNVPG.mjs +127 -0
- 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} +463 -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 +845 -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 +354 -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 +360 -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 +4076 -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 +4082 -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 +287 -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 +609 -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 +614 -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 +473 -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 +473 -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 +4209 -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 +4215 -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 +424 -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 +683 -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 +683 -151
- package/dist/components/dateTimePicker/index.mjs +11 -10
- package/dist/components/dateTimePicker/timePicker.js +4227 -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 +0 -1
- package/dist/components/input/index.d.ts +0 -1
- package/dist/components/input/index.js +430 -43
- package/dist/components/input/index.mjs +5 -5
- package/dist/components/input/input.d.mts +23 -180
- package/dist/components/input/input.d.ts +23 -180
- package/dist/components/input/input.js +430 -43
- package/dist/components/input/input.mjs +5 -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 +4170 -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 +299 -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 +4168 -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 +639 -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 +639 -454
- package/dist/components/modal/modal.mjs +10 -7
- package/dist/components/pagination/index.js +455 -45
- package/dist/components/pagination/index.mjs +6 -6
- package/dist/components/pagination/pagination.d.mts +21 -27
- package/dist/components/pagination/pagination.d.ts +21 -27
- package/dist/components/pagination/pagination.js +455 -45
- package/dist/components/pagination/pagination.mjs +6 -6
- 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 +433 -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 +433 -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 +446 -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 +440 -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 +446 -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 +563 -161
- package/dist/components/table/index.mjs +9 -9
- package/dist/components/table/table-body.d.mts +4 -5
- package/dist/components/table/table-body.d.ts +4 -5
- package/dist/components/table/table-body.js +560 -161
- package/dist/components/table/table-body.mjs +7 -7
- package/dist/components/table/table-head.d.mts +2 -3
- package/dist/components/table/table-head.d.ts +2 -3
- package/dist/components/table/table-head.js +433 -127
- package/dist/components/table/table-head.mjs +4 -4
- package/dist/components/table/table.d.mts +14 -354
- package/dist/components/table/table.d.ts +14 -354
- package/dist/components/table/table.js +563 -161
- package/dist/components/table/table.mjs +9 -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 +300 -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 +300 -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 +435 -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 +434 -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 +435 -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 +421 -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 +421 -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 +2287 -2577
- package/dist/index.mjs +62 -787
- 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 +297 -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-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/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
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
tv
|
|
4
|
+
} from "./chunk-IE2BRM7Z.mjs";
|
|
5
|
+
import {
|
|
6
|
+
clsx
|
|
7
|
+
} from "./chunk-27Y6K5NK.mjs";
|
|
8
|
+
import {
|
|
9
|
+
mapPropsVariants
|
|
10
|
+
} from "./chunk-E3G5QXSH.mjs";
|
|
11
|
+
|
|
12
|
+
// src/components/checkbox/checkbox.tsx
|
|
13
|
+
import { forwardRef, useMemo } from "react";
|
|
14
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
|
+
var CheckBox = forwardRef((originalProps, ref) => {
|
|
16
|
+
var _a, _b;
|
|
17
|
+
const [props, variantProps] = mapPropsVariants(originalProps, checkboxStyle.variantKeys);
|
|
18
|
+
const { children, classNames, labelPosition = "end", ...inputProps } = props;
|
|
19
|
+
const slots = useMemo(() => checkboxStyle({ ...variantProps }), [variantProps]);
|
|
20
|
+
const isSelected = (_b = (_a = inputProps.checked) != null ? _a : inputProps.defaultChecked) != null ? _b : false;
|
|
21
|
+
return /* @__PURE__ */ jsxs(
|
|
22
|
+
"label",
|
|
23
|
+
{
|
|
24
|
+
className: clsx(
|
|
25
|
+
slots.base({ class: classNames == null ? void 0 : classNames.base }),
|
|
26
|
+
labelPosition === "start" && slots.labelReverse({ class: classNames == null ? void 0 : classNames.labelReverse })
|
|
27
|
+
),
|
|
28
|
+
children: [
|
|
29
|
+
/* @__PURE__ */ jsx("div", { className: "hidden", children: /* @__PURE__ */ jsx("input", { ...inputProps, type: "checkbox", ref }) }),
|
|
30
|
+
/* @__PURE__ */ jsx("span", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: /* @__PURE__ */ jsx(
|
|
31
|
+
CheckBoxIcon,
|
|
32
|
+
{
|
|
33
|
+
size: variantProps.size,
|
|
34
|
+
isSelected,
|
|
35
|
+
className: slots.icon({ class: classNames == null ? void 0 : classNames.icon })
|
|
36
|
+
}
|
|
37
|
+
) }),
|
|
38
|
+
children && /* @__PURE__ */ jsx("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children })
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
);
|
|
42
|
+
});
|
|
43
|
+
CheckBox.displayName = "CheckBox";
|
|
44
|
+
var checkbox_default = CheckBox;
|
|
45
|
+
var CheckBoxIcon = ({ size, isSelected, className }) => {
|
|
46
|
+
const strokeWidth = useMemo(() => {
|
|
47
|
+
switch (size) {
|
|
48
|
+
case "sm":
|
|
49
|
+
return 1;
|
|
50
|
+
case "md":
|
|
51
|
+
return 1.25;
|
|
52
|
+
case "lg":
|
|
53
|
+
return 1.5;
|
|
54
|
+
case "xl":
|
|
55
|
+
return 1.75;
|
|
56
|
+
default:
|
|
57
|
+
return 1.25;
|
|
58
|
+
}
|
|
59
|
+
}, [size]);
|
|
60
|
+
return /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 13 13", fill: "none", className, children: /* @__PURE__ */ jsx(
|
|
61
|
+
"path",
|
|
62
|
+
{
|
|
63
|
+
d: "M2.16667 6.90123L5.63334 10.1111L10.8333 2.88889",
|
|
64
|
+
stroke: "white",
|
|
65
|
+
strokeWidth,
|
|
66
|
+
strokeLinecap: "round",
|
|
67
|
+
strokeLinejoin: "round",
|
|
68
|
+
style: isSelected ? { transition: "stroke-dashoffset 250ms linear 0.2s" } : {}
|
|
69
|
+
}
|
|
70
|
+
) });
|
|
71
|
+
};
|
|
72
|
+
var checkboxStyle = tv({
|
|
73
|
+
slots: {
|
|
74
|
+
base: ["group", "relative", "inline-flex", "items-center", "cursor-pointer"],
|
|
75
|
+
wrapper: [
|
|
76
|
+
"relative",
|
|
77
|
+
"inline-flex",
|
|
78
|
+
"items-center",
|
|
79
|
+
"justify-center",
|
|
80
|
+
"before:content-['']",
|
|
81
|
+
"before:bg-body-background",
|
|
82
|
+
"before:absolute",
|
|
83
|
+
"before:inset-0",
|
|
84
|
+
"before:border",
|
|
85
|
+
"before:border-neutral-light",
|
|
86
|
+
"before:box-border",
|
|
87
|
+
"before:z-10",
|
|
88
|
+
"after:content-['']",
|
|
89
|
+
"after:absolute",
|
|
90
|
+
"after:inset-0",
|
|
91
|
+
"after:scale-50",
|
|
92
|
+
"after:opacity-0",
|
|
93
|
+
"group-has-[:checked]:after:scale-100",
|
|
94
|
+
"group-has-[:checked]:after:opacity-100",
|
|
95
|
+
"before:transition duration-200"
|
|
96
|
+
],
|
|
97
|
+
icon: ["z-10", "opacity-0", "group-has-[:checked]:opacity-100", "text-neutral-light"],
|
|
98
|
+
labelReverse: ["flex-row-reverse"],
|
|
99
|
+
label: ["relative", "text-body-foreground", "select-none"]
|
|
100
|
+
},
|
|
101
|
+
variants: {
|
|
102
|
+
color: {
|
|
103
|
+
primary: {
|
|
104
|
+
wrapper: [
|
|
105
|
+
"group-has-[:checked]:before:border-primary-main",
|
|
106
|
+
"group-has-[:checked]:before:bg-primary-main",
|
|
107
|
+
"group-hover:before:border-primary-light",
|
|
108
|
+
"group-hover:before:bg-primary-soft"
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
secondary: {
|
|
112
|
+
wrapper: [
|
|
113
|
+
"group-has-[:checked]:before:border-secondary-main",
|
|
114
|
+
"group-has-[:checked]:before:bg-secondary-main",
|
|
115
|
+
"group-hover:before:border-secondary-light",
|
|
116
|
+
"group-hover:before:bg-secondary-soft"
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
neutral: {
|
|
120
|
+
wrapper: [
|
|
121
|
+
"group-has-[:checked]:before:border-neutral-main",
|
|
122
|
+
"group-has-[:checked]:before:bg-neutral-main",
|
|
123
|
+
"group-hover:before:border-neutral-light",
|
|
124
|
+
"group-hover:before:bg-neutral-soft"
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
size: {
|
|
129
|
+
sm: {
|
|
130
|
+
base: ["gap-[8px]"],
|
|
131
|
+
wrapper: [
|
|
132
|
+
"w-[12px]",
|
|
133
|
+
"h-[12px]",
|
|
134
|
+
"rounded-[2px]",
|
|
135
|
+
"before:border-sm",
|
|
136
|
+
"before:rounded-[2px]",
|
|
137
|
+
"after:rounded-[2px]"
|
|
138
|
+
],
|
|
139
|
+
label: ["text-sm"],
|
|
140
|
+
icon: ["w-[10px]", "h-[10px]"]
|
|
141
|
+
},
|
|
142
|
+
md: {
|
|
143
|
+
base: ["gap-[8px]"],
|
|
144
|
+
wrapper: [
|
|
145
|
+
"w-[15px]",
|
|
146
|
+
"h-[15px]",
|
|
147
|
+
"rounded-[2px]",
|
|
148
|
+
"before:border-md",
|
|
149
|
+
"before:rounded-[2px]",
|
|
150
|
+
"after:rounded-[2px]"
|
|
151
|
+
],
|
|
152
|
+
label: ["text-md"],
|
|
153
|
+
icon: ["w-[13px]", "h-[13px]"]
|
|
154
|
+
},
|
|
155
|
+
lg: {
|
|
156
|
+
base: ["gap-[10px]"],
|
|
157
|
+
wrapper: [
|
|
158
|
+
"w-[18px]",
|
|
159
|
+
"h-[18px]",
|
|
160
|
+
"rounded-[4px]",
|
|
161
|
+
"before:border-lg",
|
|
162
|
+
"before:rounded-[4px]",
|
|
163
|
+
"after:rounded-[4px]"
|
|
164
|
+
],
|
|
165
|
+
label: ["text-lg"],
|
|
166
|
+
icon: ["w-[16px]", "h-[16px]"]
|
|
167
|
+
},
|
|
168
|
+
xl: {
|
|
169
|
+
base: ["gap-[10px]"],
|
|
170
|
+
wrapper: [
|
|
171
|
+
"w-[21px]",
|
|
172
|
+
"h-[21px]",
|
|
173
|
+
"rounded-[4px]",
|
|
174
|
+
"before:border-xl",
|
|
175
|
+
"before:rounded-[2px]",
|
|
176
|
+
"after:rounded-[2px]"
|
|
177
|
+
],
|
|
178
|
+
label: ["text-xl"],
|
|
179
|
+
icon: ["w-[19px]", "h-[19px]"]
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
isInvalid: {
|
|
183
|
+
true: {
|
|
184
|
+
wrapper: [
|
|
185
|
+
"before:border-danger-main",
|
|
186
|
+
"group-has-[:checked]:before:bg-danger-main",
|
|
187
|
+
"group-has-[:checked]:before:border-danger-main",
|
|
188
|
+
"group-hover:before:border-danger-light",
|
|
189
|
+
"group-hover:before:bg-danger-soft"
|
|
190
|
+
],
|
|
191
|
+
label: ["text-danger-main"]
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
isDisabled: {
|
|
195
|
+
true: {
|
|
196
|
+
base: ["opacity-disabled", "cursor-not-allowed", "pointer-events-auto", "text-neutral-light"],
|
|
197
|
+
wrapper: [
|
|
198
|
+
"cursor-not-allowed",
|
|
199
|
+
"after:bg-neutral-soft",
|
|
200
|
+
"before:border-neutral-light",
|
|
201
|
+
"before:bg-neutral-soft",
|
|
202
|
+
"group-has-[:checked]:before:bg-neutral-soft",
|
|
203
|
+
"group-has-[:checked]:before:border-neutral-light",
|
|
204
|
+
"group-hover:before:border-neutral-light",
|
|
205
|
+
"group-hover:before:bg-neutral-soft"
|
|
206
|
+
],
|
|
207
|
+
label: ["text-neutral-light"],
|
|
208
|
+
icon: ["text-neutral-light", "opacity-0"]
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
defaultVariants: {
|
|
213
|
+
color: "primary",
|
|
214
|
+
size: "md",
|
|
215
|
+
isDisabled: false
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
|
|
219
|
+
export {
|
|
220
|
+
checkbox_default
|
|
221
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
table_body_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5IQKKLZY.mjs";
|
|
5
5
|
import {
|
|
6
6
|
table_head_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PFYYYUJW.mjs";
|
|
8
8
|
import {
|
|
9
9
|
clsx
|
|
10
10
|
} from "./chunk-27Y6K5NK.mjs";
|
|
@@ -183,6 +183,9 @@ var table = tv({
|
|
|
183
183
|
},
|
|
184
184
|
lg: {
|
|
185
185
|
tr: "h-[50px] text-lg"
|
|
186
|
+
},
|
|
187
|
+
xl: {
|
|
188
|
+
tr: "h-[50px] text-xl"
|
|
186
189
|
}
|
|
187
190
|
},
|
|
188
191
|
color: {
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
mapPropsVariants
|
|
4
|
+
} from "./chunk-E3G5QXSH.mjs";
|
|
5
|
+
|
|
6
|
+
// src/components/switch/switch.tsx
|
|
7
|
+
import { forwardRef, useMemo } from "react";
|
|
8
|
+
import { tv } from "tailwind-variants";
|
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
var Switch = forwardRef((originalProps, ref) => {
|
|
11
|
+
const [rawProps, variantProps] = mapPropsVariants(originalProps, switchStyle.variantKeys);
|
|
12
|
+
const { size, color, isDisabled, disableAnimation, id, classNames, ...inputProps } = { ...rawProps, ...variantProps };
|
|
13
|
+
const slots = useMemo(() => switchStyle({ ...variantProps }), [variantProps]);
|
|
14
|
+
return /* @__PURE__ */ jsxs("label", { className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
|
|
15
|
+
/* @__PURE__ */ jsx("input", { ...inputProps, id, ref, type: "checkbox", disabled: isDisabled, className: "hidden" }),
|
|
16
|
+
/* @__PURE__ */ jsx("span", { className: slots.outerWrapper({ class: classNames == null ? void 0 : classNames.outerWrapper }), children: /* @__PURE__ */ jsx("span", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: /* @__PURE__ */ jsx("span", { className: slots.thumb({ class: classNames == null ? void 0 : classNames.thumb }) }) }) })
|
|
17
|
+
] });
|
|
18
|
+
});
|
|
19
|
+
Switch.displayName = "Switch";
|
|
20
|
+
var switch_default = Switch;
|
|
21
|
+
var switchStyle = tv({
|
|
22
|
+
slots: {
|
|
23
|
+
base: ["group/switch", "relative", "max-w-fit", "inline-flex", "items-center", "justify-start", "cursor-pointer"],
|
|
24
|
+
outerWrapper: [
|
|
25
|
+
"relative",
|
|
26
|
+
"inline-flex",
|
|
27
|
+
"items-center",
|
|
28
|
+
"justify-start",
|
|
29
|
+
"flex-shrink-0",
|
|
30
|
+
"bg-neutral-soft",
|
|
31
|
+
"overflow-hidden",
|
|
32
|
+
"rounded-full"
|
|
33
|
+
],
|
|
34
|
+
wrapper: [
|
|
35
|
+
"relative",
|
|
36
|
+
"inline-flex",
|
|
37
|
+
"items-center",
|
|
38
|
+
"justify-start",
|
|
39
|
+
"flex-shrink-0",
|
|
40
|
+
"overflow-hidden",
|
|
41
|
+
"bg-neutral-light",
|
|
42
|
+
"rounded-full"
|
|
43
|
+
],
|
|
44
|
+
thumb: [
|
|
45
|
+
"z-10",
|
|
46
|
+
"flex",
|
|
47
|
+
"items-center",
|
|
48
|
+
"justify-center",
|
|
49
|
+
"bg-white",
|
|
50
|
+
"shadow-small",
|
|
51
|
+
"rounded-full",
|
|
52
|
+
"origin-right"
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
variants: {
|
|
56
|
+
size: {
|
|
57
|
+
sm: {
|
|
58
|
+
outerWrapper: ["w-[32px]", "h-[16px]", "p-[2px]"],
|
|
59
|
+
wrapper: ["w-[28px]", "h-[12px]", "p-[2px]"],
|
|
60
|
+
thumb: ["w-[8px]", "h-[8px]", "group-has-[:checked]/switch:ml-[16px]"]
|
|
61
|
+
},
|
|
62
|
+
md: {
|
|
63
|
+
outerWrapper: ["w-[48px]", "h-[24px]", "px-[3px]"],
|
|
64
|
+
wrapper: ["w-[42px]", "h-[16px]", "px-[3px]"],
|
|
65
|
+
thumb: ["w-[12px]", "h-[12px]", "group-has-[:checked]/switch:ml-[24px]"]
|
|
66
|
+
},
|
|
67
|
+
lg: {
|
|
68
|
+
outerWrapper: ["w-[64px]", "h-[32px]", "px-[4px]"],
|
|
69
|
+
wrapper: ["w-[56px]", "h-[24px]", "px-[4px]"],
|
|
70
|
+
thumb: ["w-[16px]", "h-[16px]", "group-has-[:checked]/switch:ml-[32px]"]
|
|
71
|
+
},
|
|
72
|
+
xl: {
|
|
73
|
+
outerWrapper: ["w-[80px]", "h-[40px]", "px-[5px]"],
|
|
74
|
+
wrapper: ["w-[70px]", "h-[30px]", "px-[5px]"],
|
|
75
|
+
thumb: ["w-[20px]", "h-[20px]", "group-has-[:checked]/switch:ml-[40px]"]
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
color: {
|
|
79
|
+
primary: {},
|
|
80
|
+
secondary: {}
|
|
81
|
+
},
|
|
82
|
+
isDisabled: {
|
|
83
|
+
true: {
|
|
84
|
+
base: ["!pointer-events-none"],
|
|
85
|
+
outerWrapper: ["!bg-neutral-soft"],
|
|
86
|
+
wrapper: ["!bg-neutral-light", "!group-has-[:checked]/switch:bg-neutral-light", "!hover:bg-neutral-light"],
|
|
87
|
+
thumb: ["!bg-trans-light"]
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
disableAnimation: {
|
|
91
|
+
true: {
|
|
92
|
+
wrapper: ["transition-none"],
|
|
93
|
+
thumb: ["transition-none"]
|
|
94
|
+
},
|
|
95
|
+
false: {
|
|
96
|
+
wrapper: ["transition-background"],
|
|
97
|
+
thumb: ["transition-all"]
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
compoundVariants: [
|
|
102
|
+
{
|
|
103
|
+
color: "primary",
|
|
104
|
+
class: {
|
|
105
|
+
outerWrapper: ["group-has-[:checked]/switch:bg-primary-light"],
|
|
106
|
+
wrapper: ["group-has-[:checked]/switch:bg-primary-main", "hover:bg-primary-light"]
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
color: "secondary",
|
|
111
|
+
class: {
|
|
112
|
+
outerWrapper: ["group-has-[:checked]/switch:bg-secondary-light"],
|
|
113
|
+
wrapper: ["group-has-[:checked]/switch:bg-secondary-main", "hover:bg-secondary-light"]
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
defaultVariants: {
|
|
118
|
+
size: "md",
|
|
119
|
+
color: "primary",
|
|
120
|
+
isDisabled: false,
|
|
121
|
+
disableAnimation: false
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
|
|
125
|
+
export {
|
|
126
|
+
switch_default
|
|
127
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import { SlotsToClasses } from '../../utils/types.mjs';
|
|
5
|
+
|
|
6
|
+
interface AvatarProps extends VariantProps<typeof avatarStyle> {
|
|
7
|
+
classNames?: SlotsToClasses<AvatarSlots>;
|
|
8
|
+
}
|
|
9
|
+
declare const Avatar: react.ForwardRefExoticComponent<AvatarProps & react.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
|
|
11
|
+
declare const avatarStyle: tailwind_variants.TVReturnType<{
|
|
12
|
+
variant: {
|
|
13
|
+
square: {};
|
|
14
|
+
round: {};
|
|
15
|
+
};
|
|
16
|
+
size: {
|
|
17
|
+
sm: {
|
|
18
|
+
base: string[];
|
|
19
|
+
};
|
|
20
|
+
md: {
|
|
21
|
+
base: string[];
|
|
22
|
+
};
|
|
23
|
+
lg: {
|
|
24
|
+
base: string[];
|
|
25
|
+
};
|
|
26
|
+
xl: {
|
|
27
|
+
base: string[];
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
}, {
|
|
31
|
+
base: string[];
|
|
32
|
+
content: never[];
|
|
33
|
+
}, undefined, {
|
|
34
|
+
variant: {
|
|
35
|
+
square: {};
|
|
36
|
+
round: {};
|
|
37
|
+
};
|
|
38
|
+
size: {
|
|
39
|
+
sm: {
|
|
40
|
+
base: string[];
|
|
41
|
+
};
|
|
42
|
+
md: {
|
|
43
|
+
base: string[];
|
|
44
|
+
};
|
|
45
|
+
lg: {
|
|
46
|
+
base: string[];
|
|
47
|
+
};
|
|
48
|
+
xl: {
|
|
49
|
+
base: string[];
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
}, {
|
|
53
|
+
base: string[];
|
|
54
|
+
content: never[];
|
|
55
|
+
}, tailwind_variants.TVReturnType<{
|
|
56
|
+
variant: {
|
|
57
|
+
square: {};
|
|
58
|
+
round: {};
|
|
59
|
+
};
|
|
60
|
+
size: {
|
|
61
|
+
sm: {
|
|
62
|
+
base: string[];
|
|
63
|
+
};
|
|
64
|
+
md: {
|
|
65
|
+
base: string[];
|
|
66
|
+
};
|
|
67
|
+
lg: {
|
|
68
|
+
base: string[];
|
|
69
|
+
};
|
|
70
|
+
xl: {
|
|
71
|
+
base: string[];
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
}, {
|
|
75
|
+
base: string[];
|
|
76
|
+
content: never[];
|
|
77
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
78
|
+
type AvatarSlots = keyof ReturnType<typeof avatarStyle>;
|
|
79
|
+
|
|
80
|
+
export { type AvatarProps, Avatar as default };
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
import * as react from 'react';
|
|
4
|
+
import { SlotsToClasses } from '../../utils/types.js';
|
|
5
|
+
|
|
6
|
+
interface AvatarProps extends VariantProps<typeof avatarStyle> {
|
|
7
|
+
classNames?: SlotsToClasses<AvatarSlots>;
|
|
8
|
+
}
|
|
9
|
+
declare const Avatar: react.ForwardRefExoticComponent<AvatarProps & react.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
|
|
11
|
+
declare const avatarStyle: tailwind_variants.TVReturnType<{
|
|
12
|
+
variant: {
|
|
13
|
+
square: {};
|
|
14
|
+
round: {};
|
|
15
|
+
};
|
|
16
|
+
size: {
|
|
17
|
+
sm: {
|
|
18
|
+
base: string[];
|
|
19
|
+
};
|
|
20
|
+
md: {
|
|
21
|
+
base: string[];
|
|
22
|
+
};
|
|
23
|
+
lg: {
|
|
24
|
+
base: string[];
|
|
25
|
+
};
|
|
26
|
+
xl: {
|
|
27
|
+
base: string[];
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
}, {
|
|
31
|
+
base: string[];
|
|
32
|
+
content: never[];
|
|
33
|
+
}, undefined, {
|
|
34
|
+
variant: {
|
|
35
|
+
square: {};
|
|
36
|
+
round: {};
|
|
37
|
+
};
|
|
38
|
+
size: {
|
|
39
|
+
sm: {
|
|
40
|
+
base: string[];
|
|
41
|
+
};
|
|
42
|
+
md: {
|
|
43
|
+
base: string[];
|
|
44
|
+
};
|
|
45
|
+
lg: {
|
|
46
|
+
base: string[];
|
|
47
|
+
};
|
|
48
|
+
xl: {
|
|
49
|
+
base: string[];
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
}, {
|
|
53
|
+
base: string[];
|
|
54
|
+
content: never[];
|
|
55
|
+
}, tailwind_variants.TVReturnType<{
|
|
56
|
+
variant: {
|
|
57
|
+
square: {};
|
|
58
|
+
round: {};
|
|
59
|
+
};
|
|
60
|
+
size: {
|
|
61
|
+
sm: {
|
|
62
|
+
base: string[];
|
|
63
|
+
};
|
|
64
|
+
md: {
|
|
65
|
+
base: string[];
|
|
66
|
+
};
|
|
67
|
+
lg: {
|
|
68
|
+
base: string[];
|
|
69
|
+
};
|
|
70
|
+
xl: {
|
|
71
|
+
base: string[];
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
}, {
|
|
75
|
+
base: string[];
|
|
76
|
+
content: never[];
|
|
77
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
78
|
+
type AvatarSlots = keyof ReturnType<typeof avatarStyle>;
|
|
79
|
+
|
|
80
|
+
export { type AvatarProps, Avatar as default };
|