@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
|
@@ -52,60 +52,17 @@ var mapPropsVariants = (props, variantKeys, removeVariantProps = true) => {
|
|
|
52
52
|
// src/components/switch/switch.tsx
|
|
53
53
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
54
54
|
var Switch = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
55
|
-
const [
|
|
56
|
-
const {
|
|
57
|
-
const slots = (0, import_react.useMemo)(
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}),
|
|
61
|
-
[...Object.values(variantProps)]
|
|
62
|
-
);
|
|
63
|
-
const getBaseProps = () => ({
|
|
64
|
-
className: slots.base({ class: classNames == null ? void 0 : classNames.base })
|
|
65
|
-
});
|
|
66
|
-
const getOuterWrapperProps = (0, import_react.useCallback)(
|
|
67
|
-
() => ({
|
|
68
|
-
className: slots.outerWrapper({ class: classNames == null ? void 0 : classNames.outerWrapper })
|
|
69
|
-
}),
|
|
70
|
-
[slots, classNames == null ? void 0 : classNames.outerWrapper]
|
|
71
|
-
);
|
|
72
|
-
const getWrapperProps = (0, import_react.useCallback)(
|
|
73
|
-
() => ({
|
|
74
|
-
className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper })
|
|
75
|
-
}),
|
|
76
|
-
[slots, classNames]
|
|
77
|
-
);
|
|
78
|
-
const getInputProps = () => ({
|
|
79
|
-
...switchProps,
|
|
80
|
-
type: "checkbox",
|
|
81
|
-
disabled: originalProps.isDisabled,
|
|
82
|
-
ref,
|
|
83
|
-
id: switchProps.id,
|
|
84
|
-
size: 0
|
|
85
|
-
});
|
|
86
|
-
const getThumbProps = (0, import_react.useCallback)(
|
|
87
|
-
(props2 = {}) => ({
|
|
88
|
-
...props2,
|
|
89
|
-
className: slots.thumb({ class: classNames == null ? void 0 : classNames.thumb })
|
|
90
|
-
}),
|
|
91
|
-
[slots, classNames == null ? void 0 : classNames.thumb]
|
|
92
|
-
);
|
|
93
|
-
const getLabelProps = (0, import_react.useCallback)(
|
|
94
|
-
(props2 = {}) => ({
|
|
95
|
-
...props2,
|
|
96
|
-
className: slots.label({ class: classNames == null ? void 0 : classNames.label })
|
|
97
|
-
}),
|
|
98
|
-
[slots, classNames == null ? void 0 : classNames.label]
|
|
99
|
-
);
|
|
100
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("label", { ...getBaseProps(), children: [
|
|
101
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("input", { ...getInputProps() }) }),
|
|
102
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { ...getOuterWrapperProps(), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { ...getWrapperProps(), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { ...getThumbProps() }) }) }),
|
|
103
|
-
children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { ...getLabelProps(), children })
|
|
55
|
+
const [rawProps, variantProps] = mapPropsVariants(originalProps, switchStyle.variantKeys);
|
|
56
|
+
const { size, color, isDisabled, disableAnimation, id, classNames, ...inputProps } = { ...rawProps, ...variantProps };
|
|
57
|
+
const slots = (0, import_react.useMemo)(() => switchStyle({ ...variantProps }), [variantProps]);
|
|
58
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("label", { className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
|
|
59
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("input", { ...inputProps, id, ref, type: "checkbox", disabled: isDisabled, className: "hidden" }),
|
|
60
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.outerWrapper({ class: classNames == null ? void 0 : classNames.outerWrapper }), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.thumb({ class: classNames == null ? void 0 : classNames.thumb }) }) }) })
|
|
104
61
|
] });
|
|
105
62
|
});
|
|
106
63
|
Switch.displayName = "Switch";
|
|
107
64
|
var switch_default = Switch;
|
|
108
|
-
var
|
|
65
|
+
var switchStyle = (0, import_tailwind_variants.tv)({
|
|
109
66
|
slots: {
|
|
110
67
|
base: ["group/switch", "relative", "max-w-fit", "inline-flex", "items-center", "justify-start", "cursor-pointer"],
|
|
111
68
|
outerWrapper: [
|
|
@@ -116,8 +73,7 @@ var toggle = (0, import_tailwind_variants.tv)({
|
|
|
116
73
|
"flex-shrink-0",
|
|
117
74
|
"bg-neutral-soft",
|
|
118
75
|
"overflow-hidden",
|
|
119
|
-
"rounded-full"
|
|
120
|
-
"px-[2px]"
|
|
76
|
+
"rounded-full"
|
|
121
77
|
],
|
|
122
78
|
wrapper: [
|
|
123
79
|
"relative",
|
|
@@ -127,8 +83,7 @@ var toggle = (0, import_tailwind_variants.tv)({
|
|
|
127
83
|
"flex-shrink-0",
|
|
128
84
|
"overflow-hidden",
|
|
129
85
|
"bg-neutral-light",
|
|
130
|
-
"rounded-full"
|
|
131
|
-
"group-has-[:checked]/switch:bg-primary-main"
|
|
86
|
+
"rounded-full"
|
|
132
87
|
],
|
|
133
88
|
thumb: [
|
|
134
89
|
"z-10",
|
|
@@ -139,54 +94,76 @@ var toggle = (0, import_tailwind_variants.tv)({
|
|
|
139
94
|
"shadow-small",
|
|
140
95
|
"rounded-full",
|
|
141
96
|
"origin-right"
|
|
142
|
-
]
|
|
143
|
-
label: ["relative", "text-foreground", "select-none"]
|
|
97
|
+
]
|
|
144
98
|
},
|
|
145
99
|
variants: {
|
|
146
100
|
size: {
|
|
147
101
|
sm: {
|
|
148
|
-
outerWrapper: ["w-[
|
|
149
|
-
wrapper: ["w-[
|
|
150
|
-
thumb: ["w-[
|
|
151
|
-
label: "text-sm"
|
|
102
|
+
outerWrapper: ["w-[32px]", "h-[16px]", "p-[2px]"],
|
|
103
|
+
wrapper: ["w-[28px]", "h-[12px]", "p-[2px]"],
|
|
104
|
+
thumb: ["w-[8px]", "h-[8px]", "group-has-[:checked]/switch:ml-[16px]"]
|
|
152
105
|
},
|
|
153
106
|
md: {
|
|
154
|
-
outerWrapper: ["w-[
|
|
155
|
-
wrapper: ["w-[
|
|
156
|
-
thumb: ["w-[
|
|
157
|
-
label: "text-md"
|
|
107
|
+
outerWrapper: ["w-[48px]", "h-[24px]", "px-[3px]"],
|
|
108
|
+
wrapper: ["w-[42px]", "h-[16px]", "px-[3px]"],
|
|
109
|
+
thumb: ["w-[12px]", "h-[12px]", "group-has-[:checked]/switch:ml-[24px]"]
|
|
158
110
|
},
|
|
159
111
|
lg: {
|
|
160
|
-
outerWrapper: ["w-[
|
|
161
|
-
wrapper: ["w-[
|
|
162
|
-
thumb: ["w-[
|
|
163
|
-
|
|
112
|
+
outerWrapper: ["w-[64px]", "h-[32px]", "px-[4px]"],
|
|
113
|
+
wrapper: ["w-[56px]", "h-[24px]", "px-[4px]"],
|
|
114
|
+
thumb: ["w-[16px]", "h-[16px]", "group-has-[:checked]/switch:ml-[32px]"]
|
|
115
|
+
},
|
|
116
|
+
xl: {
|
|
117
|
+
outerWrapper: ["w-[80px]", "h-[40px]", "px-[5px]"],
|
|
118
|
+
wrapper: ["w-[70px]", "h-[30px]", "px-[5px]"],
|
|
119
|
+
thumb: ["w-[20px]", "h-[20px]", "group-has-[:checked]/switch:ml-[40px]"]
|
|
164
120
|
}
|
|
165
121
|
},
|
|
122
|
+
color: {
|
|
123
|
+
primary: {},
|
|
124
|
+
secondary: {}
|
|
125
|
+
},
|
|
166
126
|
isDisabled: {
|
|
167
127
|
true: {
|
|
168
|
-
base: "pointer-events-none",
|
|
169
|
-
|
|
170
|
-
|
|
128
|
+
base: ["!pointer-events-none"],
|
|
129
|
+
outerWrapper: ["!bg-neutral-soft"],
|
|
130
|
+
wrapper: ["!bg-neutral-light", "!group-has-[:checked]/switch:bg-neutral-light", "!hover:bg-neutral-light"],
|
|
131
|
+
thumb: ["!bg-trans-light"]
|
|
171
132
|
}
|
|
172
133
|
},
|
|
173
134
|
disableAnimation: {
|
|
174
135
|
true: {
|
|
175
|
-
wrapper: "transition-none",
|
|
176
|
-
thumb: "transition-none"
|
|
136
|
+
wrapper: ["transition-none"],
|
|
137
|
+
thumb: ["transition-none"]
|
|
177
138
|
},
|
|
178
139
|
false: {
|
|
179
|
-
wrapper: "transition-background",
|
|
180
|
-
thumb: "transition-all"
|
|
140
|
+
wrapper: ["transition-background"],
|
|
141
|
+
thumb: ["transition-all"]
|
|
181
142
|
}
|
|
182
143
|
}
|
|
183
144
|
},
|
|
145
|
+
compoundVariants: [
|
|
146
|
+
{
|
|
147
|
+
color: "primary",
|
|
148
|
+
class: {
|
|
149
|
+
outerWrapper: ["group-has-[:checked]/switch:bg-primary-light"],
|
|
150
|
+
wrapper: ["group-has-[:checked]/switch:bg-primary-main", "hover:bg-primary-light"]
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
color: "secondary",
|
|
155
|
+
class: {
|
|
156
|
+
outerWrapper: ["group-has-[:checked]/switch:bg-secondary-light"],
|
|
157
|
+
wrapper: ["group-has-[:checked]/switch:bg-secondary-main", "hover:bg-secondary-light"]
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
],
|
|
184
161
|
defaultVariants: {
|
|
185
162
|
size: "md",
|
|
163
|
+
color: "primary",
|
|
186
164
|
isDisabled: false,
|
|
187
165
|
disableAnimation: false
|
|
188
|
-
}
|
|
189
|
-
compoundVariants: []
|
|
166
|
+
}
|
|
190
167
|
});
|
|
191
168
|
// Annotate the CommonJS export names for ESM import in node:
|
|
192
169
|
0 && (module.exports = {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import "../../chunk-LVFI2NOH.mjs";
|
|
3
3
|
import {
|
|
4
4
|
switch_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-Z74QNVPG.mjs";
|
|
6
6
|
import "../../chunk-E3G5QXSH.mjs";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-AC6TWLRT.mjs";
|
|
8
8
|
export {
|
|
9
9
|
switch_default as Switch
|
|
10
10
|
};
|
|
@@ -1,54 +1,61 @@
|
|
|
1
1
|
import * as tailwind_variants from 'tailwind-variants';
|
|
2
2
|
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
import * as
|
|
4
|
-
import * as React from 'react';
|
|
3
|
+
import * as react from 'react';
|
|
5
4
|
import { ComponentPropsWithRef } from 'react';
|
|
6
|
-
import { SlotsToClasses } from '../../utils/types.mjs';
|
|
5
|
+
import { Size, SlotsToClasses } from '../../utils/types.mjs';
|
|
7
6
|
|
|
8
7
|
interface Props extends Omit<ComponentPropsWithRef<"input">, "ref" | "size"> {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
size?: Size;
|
|
9
|
+
color?: "primary" | "secondary";
|
|
10
|
+
isDisabled?: boolean;
|
|
11
|
+
disableAnimation?: boolean;
|
|
12
|
+
classNames?: SlotsToClasses<SwitchSlots>;
|
|
12
13
|
}
|
|
13
|
-
|
|
14
|
-
declare const Switch: React.ForwardRefExoticComponent<Props & ToggleVariantProps & React.RefAttributes<HTMLInputElement>>;
|
|
14
|
+
declare const Switch: react.ForwardRefExoticComponent<Props & SwitchVariantProps & react.RefAttributes<HTMLInputElement>>;
|
|
15
15
|
|
|
16
|
-
declare const
|
|
16
|
+
declare const switchStyle: tailwind_variants.TVReturnType<{
|
|
17
17
|
size: {
|
|
18
18
|
sm: {
|
|
19
19
|
outerWrapper: string[];
|
|
20
20
|
wrapper: string[];
|
|
21
21
|
thumb: string[];
|
|
22
|
-
label: string;
|
|
23
22
|
};
|
|
24
23
|
md: {
|
|
25
24
|
outerWrapper: string[];
|
|
26
25
|
wrapper: string[];
|
|
27
26
|
thumb: string[];
|
|
28
|
-
label: string;
|
|
29
27
|
};
|
|
30
28
|
lg: {
|
|
31
29
|
outerWrapper: string[];
|
|
32
30
|
wrapper: string[];
|
|
33
31
|
thumb: string[];
|
|
34
|
-
|
|
32
|
+
};
|
|
33
|
+
xl: {
|
|
34
|
+
outerWrapper: string[];
|
|
35
|
+
wrapper: string[];
|
|
36
|
+
thumb: string[];
|
|
35
37
|
};
|
|
36
38
|
};
|
|
39
|
+
color: {
|
|
40
|
+
primary: {};
|
|
41
|
+
secondary: {};
|
|
42
|
+
};
|
|
37
43
|
isDisabled: {
|
|
38
44
|
true: {
|
|
39
|
-
base: string;
|
|
40
|
-
|
|
41
|
-
|
|
45
|
+
base: string[];
|
|
46
|
+
outerWrapper: string[];
|
|
47
|
+
wrapper: string[];
|
|
48
|
+
thumb: string[];
|
|
42
49
|
};
|
|
43
50
|
};
|
|
44
51
|
disableAnimation: {
|
|
45
52
|
true: {
|
|
46
|
-
wrapper: string;
|
|
47
|
-
thumb: string;
|
|
53
|
+
wrapper: string[];
|
|
54
|
+
thumb: string[];
|
|
48
55
|
};
|
|
49
56
|
false: {
|
|
50
|
-
wrapper: string;
|
|
51
|
-
thumb: string;
|
|
57
|
+
wrapper: string[];
|
|
58
|
+
thumb: string[];
|
|
52
59
|
};
|
|
53
60
|
};
|
|
54
61
|
}, {
|
|
@@ -56,119 +63,49 @@ declare const toggle: tailwind_variants.TVReturnType<{
|
|
|
56
63
|
outerWrapper: string[];
|
|
57
64
|
wrapper: string[];
|
|
58
65
|
thumb: string[];
|
|
59
|
-
|
|
60
|
-
}, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
66
|
+
}, undefined, {
|
|
61
67
|
size: {
|
|
62
68
|
sm: {
|
|
63
69
|
outerWrapper: string[];
|
|
64
70
|
wrapper: string[];
|
|
65
71
|
thumb: string[];
|
|
66
|
-
label: string;
|
|
67
72
|
};
|
|
68
73
|
md: {
|
|
69
74
|
outerWrapper: string[];
|
|
70
75
|
wrapper: string[];
|
|
71
76
|
thumb: string[];
|
|
72
|
-
label: string;
|
|
73
77
|
};
|
|
74
78
|
lg: {
|
|
75
79
|
outerWrapper: string[];
|
|
76
80
|
wrapper: string[];
|
|
77
81
|
thumb: string[];
|
|
78
|
-
label: string;
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
isDisabled: {
|
|
82
|
-
true: {
|
|
83
|
-
base: string;
|
|
84
|
-
wrapper: string;
|
|
85
|
-
thumb: string;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
disableAnimation: {
|
|
89
|
-
true: {
|
|
90
|
-
wrapper: string;
|
|
91
|
-
thumb: string;
|
|
92
|
-
};
|
|
93
|
-
false: {
|
|
94
|
-
wrapper: string;
|
|
95
|
-
thumb: string;
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
}, {
|
|
99
|
-
size: {
|
|
100
|
-
sm: {
|
|
101
|
-
outerWrapper: string[];
|
|
102
|
-
wrapper: string[];
|
|
103
|
-
thumb: string[];
|
|
104
|
-
label: string;
|
|
105
|
-
};
|
|
106
|
-
md: {
|
|
107
|
-
outerWrapper: string[];
|
|
108
|
-
wrapper: string[];
|
|
109
|
-
thumb: string[];
|
|
110
|
-
label: string;
|
|
111
82
|
};
|
|
112
|
-
|
|
83
|
+
xl: {
|
|
113
84
|
outerWrapper: string[];
|
|
114
85
|
wrapper: string[];
|
|
115
86
|
thumb: string[];
|
|
116
|
-
label: string;
|
|
117
87
|
};
|
|
118
88
|
};
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
wrapper: string;
|
|
123
|
-
thumb: string;
|
|
124
|
-
};
|
|
89
|
+
color: {
|
|
90
|
+
primary: {};
|
|
91
|
+
secondary: {};
|
|
125
92
|
};
|
|
126
|
-
|
|
93
|
+
isDisabled: {
|
|
127
94
|
true: {
|
|
128
|
-
|
|
129
|
-
thumb: string;
|
|
130
|
-
};
|
|
131
|
-
false: {
|
|
132
|
-
wrapper: string;
|
|
133
|
-
thumb: string;
|
|
134
|
-
};
|
|
135
|
-
};
|
|
136
|
-
}>, {
|
|
137
|
-
size: {
|
|
138
|
-
sm: {
|
|
139
|
-
outerWrapper: string[];
|
|
140
|
-
wrapper: string[];
|
|
141
|
-
thumb: string[];
|
|
142
|
-
label: string;
|
|
143
|
-
};
|
|
144
|
-
md: {
|
|
145
|
-
outerWrapper: string[];
|
|
146
|
-
wrapper: string[];
|
|
147
|
-
thumb: string[];
|
|
148
|
-
label: string;
|
|
149
|
-
};
|
|
150
|
-
lg: {
|
|
95
|
+
base: string[];
|
|
151
96
|
outerWrapper: string[];
|
|
152
97
|
wrapper: string[];
|
|
153
98
|
thumb: string[];
|
|
154
|
-
label: string;
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
isDisabled: {
|
|
158
|
-
true: {
|
|
159
|
-
base: string;
|
|
160
|
-
wrapper: string;
|
|
161
|
-
thumb: string;
|
|
162
99
|
};
|
|
163
100
|
};
|
|
164
101
|
disableAnimation: {
|
|
165
102
|
true: {
|
|
166
|
-
wrapper: string;
|
|
167
|
-
thumb: string;
|
|
103
|
+
wrapper: string[];
|
|
104
|
+
thumb: string[];
|
|
168
105
|
};
|
|
169
106
|
false: {
|
|
170
|
-
wrapper: string;
|
|
171
|
-
thumb: string;
|
|
107
|
+
wrapper: string[];
|
|
108
|
+
thumb: string[];
|
|
172
109
|
};
|
|
173
110
|
};
|
|
174
111
|
}, {
|
|
@@ -176,129 +113,58 @@ declare const toggle: tailwind_variants.TVReturnType<{
|
|
|
176
113
|
outerWrapper: string[];
|
|
177
114
|
wrapper: string[];
|
|
178
115
|
thumb: string[];
|
|
179
|
-
label: string[];
|
|
180
116
|
}, tailwind_variants.TVReturnType<{
|
|
181
117
|
size: {
|
|
182
118
|
sm: {
|
|
183
119
|
outerWrapper: string[];
|
|
184
120
|
wrapper: string[];
|
|
185
121
|
thumb: string[];
|
|
186
|
-
label: string;
|
|
187
122
|
};
|
|
188
123
|
md: {
|
|
189
124
|
outerWrapper: string[];
|
|
190
125
|
wrapper: string[];
|
|
191
126
|
thumb: string[];
|
|
192
|
-
label: string;
|
|
193
127
|
};
|
|
194
128
|
lg: {
|
|
195
129
|
outerWrapper: string[];
|
|
196
130
|
wrapper: string[];
|
|
197
131
|
thumb: string[];
|
|
198
|
-
label: string;
|
|
199
|
-
};
|
|
200
|
-
};
|
|
201
|
-
isDisabled: {
|
|
202
|
-
true: {
|
|
203
|
-
base: string;
|
|
204
|
-
wrapper: string;
|
|
205
|
-
thumb: string;
|
|
206
|
-
};
|
|
207
|
-
};
|
|
208
|
-
disableAnimation: {
|
|
209
|
-
true: {
|
|
210
|
-
wrapper: string;
|
|
211
|
-
thumb: string;
|
|
212
|
-
};
|
|
213
|
-
false: {
|
|
214
|
-
wrapper: string;
|
|
215
|
-
thumb: string;
|
|
216
|
-
};
|
|
217
|
-
};
|
|
218
|
-
}, {
|
|
219
|
-
base: string[];
|
|
220
|
-
outerWrapper: string[];
|
|
221
|
-
wrapper: string[];
|
|
222
|
-
thumb: string[];
|
|
223
|
-
label: string[];
|
|
224
|
-
}, undefined, tailwind_variants_dist_config.TVConfig<{
|
|
225
|
-
size: {
|
|
226
|
-
sm: {
|
|
227
|
-
outerWrapper: string[];
|
|
228
|
-
wrapper: string[];
|
|
229
|
-
thumb: string[];
|
|
230
|
-
label: string;
|
|
231
|
-
};
|
|
232
|
-
md: {
|
|
233
|
-
outerWrapper: string[];
|
|
234
|
-
wrapper: string[];
|
|
235
|
-
thumb: string[];
|
|
236
|
-
label: string;
|
|
237
132
|
};
|
|
238
|
-
|
|
133
|
+
xl: {
|
|
239
134
|
outerWrapper: string[];
|
|
240
135
|
wrapper: string[];
|
|
241
136
|
thumb: string[];
|
|
242
|
-
label: string;
|
|
243
137
|
};
|
|
244
138
|
};
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
wrapper: string;
|
|
249
|
-
thumb: string;
|
|
250
|
-
};
|
|
139
|
+
color: {
|
|
140
|
+
primary: {};
|
|
141
|
+
secondary: {};
|
|
251
142
|
};
|
|
252
|
-
|
|
143
|
+
isDisabled: {
|
|
253
144
|
true: {
|
|
254
|
-
|
|
255
|
-
thumb: string;
|
|
256
|
-
};
|
|
257
|
-
false: {
|
|
258
|
-
wrapper: string;
|
|
259
|
-
thumb: string;
|
|
260
|
-
};
|
|
261
|
-
};
|
|
262
|
-
}, {
|
|
263
|
-
size: {
|
|
264
|
-
sm: {
|
|
265
|
-
outerWrapper: string[];
|
|
266
|
-
wrapper: string[];
|
|
267
|
-
thumb: string[];
|
|
268
|
-
label: string;
|
|
269
|
-
};
|
|
270
|
-
md: {
|
|
271
|
-
outerWrapper: string[];
|
|
272
|
-
wrapper: string[];
|
|
273
|
-
thumb: string[];
|
|
274
|
-
label: string;
|
|
275
|
-
};
|
|
276
|
-
lg: {
|
|
145
|
+
base: string[];
|
|
277
146
|
outerWrapper: string[];
|
|
278
147
|
wrapper: string[];
|
|
279
148
|
thumb: string[];
|
|
280
|
-
label: string;
|
|
281
|
-
};
|
|
282
|
-
};
|
|
283
|
-
isDisabled: {
|
|
284
|
-
true: {
|
|
285
|
-
base: string;
|
|
286
|
-
wrapper: string;
|
|
287
|
-
thumb: string;
|
|
288
149
|
};
|
|
289
150
|
};
|
|
290
151
|
disableAnimation: {
|
|
291
152
|
true: {
|
|
292
|
-
wrapper: string;
|
|
293
|
-
thumb: string;
|
|
153
|
+
wrapper: string[];
|
|
154
|
+
thumb: string[];
|
|
294
155
|
};
|
|
295
156
|
false: {
|
|
296
|
-
wrapper: string;
|
|
297
|
-
thumb: string;
|
|
157
|
+
wrapper: string[];
|
|
158
|
+
thumb: string[];
|
|
298
159
|
};
|
|
299
160
|
};
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
|
|
161
|
+
}, {
|
|
162
|
+
base: string[];
|
|
163
|
+
outerWrapper: string[];
|
|
164
|
+
wrapper: string[];
|
|
165
|
+
thumb: string[];
|
|
166
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
167
|
+
type SwitchVariantProps = VariantProps<typeof switchStyle>;
|
|
168
|
+
type SwitchSlots = keyof ReturnType<typeof switchStyle>;
|
|
303
169
|
|
|
304
|
-
export { type
|
|
170
|
+
export { type SwitchSlots, type SwitchVariantProps, Switch as default };
|