@deepnoid/ui 0.0.111 → 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-UZL66GNP.mjs → chunk-RQ76IOYC.mjs} +66 -7
- 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-2BCJZILI.mjs → chunk-VBFXKJTI.mjs} +13 -7
- 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 +4354 -88
- package/dist/components/pagination/index.mjs +8 -3
- package/dist/components/pagination/pagination.d.mts +22 -27
- package/dist/components/pagination/pagination.d.ts +22 -27
- package/dist/components/pagination/pagination.js +4354 -88
- package/dist/components/pagination/pagination.mjs +8 -3
- 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 +2291 -2534
- package/dist/index.mjs +59 -770
- 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 -13205
- package/dist/components/pagination/pagination.test.mjs +0 -33
- 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
|
@@ -5,19 +5,9 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var
|
|
9
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
10
|
-
}) : x)(function(x) {
|
|
11
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
12
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
13
|
-
});
|
|
14
|
-
var __commonJS = (cb, mod) => function __require2() {
|
|
8
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
15
9
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
16
10
|
};
|
|
17
|
-
var __export = (target, all) => {
|
|
18
|
-
for (var name in all)
|
|
19
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
20
|
-
};
|
|
21
11
|
var __copyProps = (to, from, except, desc) => {
|
|
22
12
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
23
13
|
for (let key of __getOwnPropNames(from))
|
|
@@ -36,8 +26,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
36
26
|
));
|
|
37
27
|
|
|
38
28
|
export {
|
|
39
|
-
__require,
|
|
40
29
|
__commonJS,
|
|
41
|
-
__export,
|
|
42
30
|
__toESM
|
|
43
31
|
};
|
|
@@ -118,6 +118,13 @@ var textareaStyle = tv({
|
|
|
118
118
|
textarea: "text-lg rounded-lg",
|
|
119
119
|
label: "text-lg",
|
|
120
120
|
errorMessage: "text-lg"
|
|
121
|
+
},
|
|
122
|
+
xl: {
|
|
123
|
+
base: "gap-[10px]",
|
|
124
|
+
textareaWrapper: "w-[240px] rounded-xl p-[10px]",
|
|
125
|
+
textarea: "text-xl rounded-xl",
|
|
126
|
+
label: "text-xl",
|
|
127
|
+
errorMessage: "text-xl"
|
|
121
128
|
}
|
|
122
129
|
},
|
|
123
130
|
radius: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
list_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5S4XGPBB.mjs";
|
|
5
5
|
import {
|
|
6
6
|
listItem_default
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MW6Y3FSE.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/dateTimePicker/timePicker.tsx
|
|
10
10
|
import { useState, useRef, useEffect } from "react";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Icon_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-24NQEB73.mjs";
|
|
5
|
+
import {
|
|
6
|
+
tv
|
|
7
|
+
} from "./chunk-IE2BRM7Z.mjs";
|
|
5
8
|
import {
|
|
6
9
|
mapPropsVariants
|
|
7
10
|
} from "./chunk-E3G5QXSH.mjs";
|
|
8
|
-
import {
|
|
9
|
-
tv
|
|
10
|
-
} from "./chunk-J725QONZ.mjs";
|
|
11
11
|
|
|
12
12
|
// src/components/toast/toast.tsx
|
|
13
13
|
import { forwardRef, useCallback, useImperativeHandle, useMemo, useRef } from "react";
|
|
@@ -0,0 +1,600 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
__commonJS,
|
|
4
|
+
__toESM
|
|
5
|
+
} from "./chunk-AC6TWLRT.mjs";
|
|
6
|
+
|
|
7
|
+
// ../../node_modules/tailwindcss/lib/util/createPlugin.js
|
|
8
|
+
var require_createPlugin = __commonJS({
|
|
9
|
+
"../../node_modules/tailwindcss/lib/util/createPlugin.js"(exports) {
|
|
10
|
+
"use strict";
|
|
11
|
+
Object.defineProperty(exports, "__esModule", {
|
|
12
|
+
value: true
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "default", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function() {
|
|
17
|
+
return _default;
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
function createPlugin(plugin2, config) {
|
|
21
|
+
return {
|
|
22
|
+
handler: plugin2,
|
|
23
|
+
config
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
createPlugin.withOptions = function(pluginFunction, configFunction = () => ({})) {
|
|
27
|
+
const optionsFunction = function(options) {
|
|
28
|
+
return {
|
|
29
|
+
__options: options,
|
|
30
|
+
handler: pluginFunction(options),
|
|
31
|
+
config: configFunction(options)
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
optionsFunction.__isOptionsFunction = true;
|
|
35
|
+
optionsFunction.__pluginFunction = pluginFunction;
|
|
36
|
+
optionsFunction.__configFunction = configFunction;
|
|
37
|
+
return optionsFunction;
|
|
38
|
+
};
|
|
39
|
+
var _default = createPlugin;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
// ../../node_modules/tailwindcss/lib/public/create-plugin.js
|
|
44
|
+
var require_create_plugin = __commonJS({
|
|
45
|
+
"../../node_modules/tailwindcss/lib/public/create-plugin.js"(exports) {
|
|
46
|
+
"use strict";
|
|
47
|
+
Object.defineProperty(exports, "__esModule", {
|
|
48
|
+
value: true
|
|
49
|
+
});
|
|
50
|
+
Object.defineProperty(exports, "default", {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function() {
|
|
53
|
+
return _default;
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
var _createPlugin = /* @__PURE__ */ _interop_require_default(require_createPlugin());
|
|
57
|
+
function _interop_require_default(obj) {
|
|
58
|
+
return obj && obj.__esModule ? obj : {
|
|
59
|
+
default: obj
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
var _default = _createPlugin.default;
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
// ../../node_modules/tailwindcss/plugin.js
|
|
67
|
+
var require_plugin = __commonJS({
|
|
68
|
+
"../../node_modules/tailwindcss/plugin.js"(exports, module) {
|
|
69
|
+
"use strict";
|
|
70
|
+
var createPlugin = require_create_plugin();
|
|
71
|
+
module.exports = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default;
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
// src/utils/tailwind-variants.ts
|
|
76
|
+
import { createTV } from "tailwind-variants";
|
|
77
|
+
|
|
78
|
+
// ../tailwind-config/src/plugin.ts
|
|
79
|
+
var import_plugin = __toESM(require_plugin());
|
|
80
|
+
|
|
81
|
+
// ../tailwind-config/src/colors/semantic-palette.ts
|
|
82
|
+
var semanticPalette = {
|
|
83
|
+
light: {
|
|
84
|
+
primary: {
|
|
85
|
+
soft: "#EFF8FF",
|
|
86
|
+
light: "#C7E5FA",
|
|
87
|
+
main: "#3F9CF2",
|
|
88
|
+
dark: "#2980E7",
|
|
89
|
+
strong: "#204A88"
|
|
90
|
+
},
|
|
91
|
+
secondary: {
|
|
92
|
+
soft: "#F8F1FF",
|
|
93
|
+
light: "#DEC1FA",
|
|
94
|
+
main: "#9B3FF2",
|
|
95
|
+
dark: "#7E27CF",
|
|
96
|
+
strong: "#3E0C6D"
|
|
97
|
+
},
|
|
98
|
+
body: {
|
|
99
|
+
foreground: "#333333",
|
|
100
|
+
background: "#FFFFFF"
|
|
101
|
+
},
|
|
102
|
+
neutral: {
|
|
103
|
+
soft: "#F2F3F4",
|
|
104
|
+
light: "#DFE2E7",
|
|
105
|
+
main: "#808488",
|
|
106
|
+
dark: "#5B5E62",
|
|
107
|
+
strong: "#383A3E"
|
|
108
|
+
},
|
|
109
|
+
trans: {
|
|
110
|
+
soft: "#000000, 0.05",
|
|
111
|
+
light: "#000000, 0.1",
|
|
112
|
+
main: "#000000, 0.2",
|
|
113
|
+
dark: "#000000, 0.3",
|
|
114
|
+
strong: "#000000, 0.6"
|
|
115
|
+
},
|
|
116
|
+
common: {
|
|
117
|
+
black: "#333333",
|
|
118
|
+
white: "#FFFFFF",
|
|
119
|
+
transparent: "#FFFFFF, 0"
|
|
120
|
+
},
|
|
121
|
+
info: {
|
|
122
|
+
soft: "#F3FBFB",
|
|
123
|
+
light: "#B5F0F0",
|
|
124
|
+
main: "#1FAFAF",
|
|
125
|
+
dark: "#189494",
|
|
126
|
+
strong: ""
|
|
127
|
+
},
|
|
128
|
+
success: {
|
|
129
|
+
soft: "#F0FBF0",
|
|
130
|
+
light: "#92DCB2",
|
|
131
|
+
main: "#24A25B",
|
|
132
|
+
dark: "#137F42",
|
|
133
|
+
strong: ""
|
|
134
|
+
},
|
|
135
|
+
warning: {
|
|
136
|
+
soft: "#FEF8EB",
|
|
137
|
+
light: "#F9C967",
|
|
138
|
+
main: "#EDA410",
|
|
139
|
+
dark: "#C8890A",
|
|
140
|
+
strong: ""
|
|
141
|
+
},
|
|
142
|
+
danger: {
|
|
143
|
+
soft: "#FFF3F7",
|
|
144
|
+
light: "#FFBAD1",
|
|
145
|
+
main: "#FF4684",
|
|
146
|
+
dark: "#C62F62",
|
|
147
|
+
strong: ""
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
dark: {
|
|
151
|
+
primary: {
|
|
152
|
+
soft: "#EFF8FF",
|
|
153
|
+
light: "#C7E5FA",
|
|
154
|
+
main: "#3F9CF2",
|
|
155
|
+
dark: "#2980E7",
|
|
156
|
+
strong: "#204A88"
|
|
157
|
+
},
|
|
158
|
+
secondary: {
|
|
159
|
+
soft: "#F8F1FF",
|
|
160
|
+
light: "#DEC1FA",
|
|
161
|
+
main: "#9B3FF2",
|
|
162
|
+
dark: "#7E27CF",
|
|
163
|
+
strong: "#3E0C6D"
|
|
164
|
+
},
|
|
165
|
+
body: {
|
|
166
|
+
foreground: "#333333",
|
|
167
|
+
background: "#FFFFFF"
|
|
168
|
+
},
|
|
169
|
+
neutral: {
|
|
170
|
+
soft: "#F2F3F4",
|
|
171
|
+
light: "#DFE2E7",
|
|
172
|
+
main: "#808488",
|
|
173
|
+
dark: "#5B5E62",
|
|
174
|
+
strong: "#383A3E"
|
|
175
|
+
},
|
|
176
|
+
trans: {
|
|
177
|
+
soft: "#000000, 0.05",
|
|
178
|
+
light: "#000000, 0.1",
|
|
179
|
+
main: "#000000, 0.2",
|
|
180
|
+
dark: "#000000, 0.3",
|
|
181
|
+
strong: "#000000, 0.6"
|
|
182
|
+
},
|
|
183
|
+
common: {
|
|
184
|
+
black: "#333333",
|
|
185
|
+
white: "#FFFFFF",
|
|
186
|
+
transparent: "#FFFFFF, 0"
|
|
187
|
+
},
|
|
188
|
+
info: {
|
|
189
|
+
soft: "#F3FBFB",
|
|
190
|
+
light: "#B5F0F0",
|
|
191
|
+
main: "#1FAFAF",
|
|
192
|
+
dark: "#189494",
|
|
193
|
+
strong: ""
|
|
194
|
+
},
|
|
195
|
+
success: {
|
|
196
|
+
soft: "#F0FBF0",
|
|
197
|
+
light: "#92DCB2",
|
|
198
|
+
main: "#24A25B",
|
|
199
|
+
dark: "#137F42",
|
|
200
|
+
strong: ""
|
|
201
|
+
},
|
|
202
|
+
warning: {
|
|
203
|
+
soft: "#FEF8EB",
|
|
204
|
+
light: "#F9C967",
|
|
205
|
+
main: "#EDA410",
|
|
206
|
+
dark: "#C8890A",
|
|
207
|
+
strong: ""
|
|
208
|
+
},
|
|
209
|
+
danger: {
|
|
210
|
+
soft: "#FFF3F7",
|
|
211
|
+
light: "#FFBAD1",
|
|
212
|
+
main: "#FF4684",
|
|
213
|
+
dark: "#C62F62",
|
|
214
|
+
strong: ""
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
// ../tailwind-config/src/typography/font.ts
|
|
220
|
+
var fontSize = {
|
|
221
|
+
h1: [
|
|
222
|
+
"40px",
|
|
223
|
+
{
|
|
224
|
+
letterSpacing: "-2%",
|
|
225
|
+
fontWeight: "700"
|
|
226
|
+
}
|
|
227
|
+
],
|
|
228
|
+
h2: [
|
|
229
|
+
"34px",
|
|
230
|
+
{
|
|
231
|
+
letterSpacing: "-2%",
|
|
232
|
+
fontWeight: "700"
|
|
233
|
+
}
|
|
234
|
+
],
|
|
235
|
+
h3: [
|
|
236
|
+
"28px",
|
|
237
|
+
{
|
|
238
|
+
letterSpacing: "-2%",
|
|
239
|
+
fontWeight: "700"
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
h4: [
|
|
243
|
+
"24px",
|
|
244
|
+
{
|
|
245
|
+
letterSpacing: "-2%",
|
|
246
|
+
fontWeight: "700"
|
|
247
|
+
}
|
|
248
|
+
],
|
|
249
|
+
h5: [
|
|
250
|
+
"20px",
|
|
251
|
+
{
|
|
252
|
+
letterSpacing: "-2%",
|
|
253
|
+
fontWeight: "600"
|
|
254
|
+
}
|
|
255
|
+
],
|
|
256
|
+
sm: [
|
|
257
|
+
"12px",
|
|
258
|
+
{
|
|
259
|
+
lineHeight: "18px",
|
|
260
|
+
letterSpacing: "-2%",
|
|
261
|
+
fontWeight: "400"
|
|
262
|
+
}
|
|
263
|
+
],
|
|
264
|
+
md: [
|
|
265
|
+
"14px",
|
|
266
|
+
{
|
|
267
|
+
lineHeight: "21px",
|
|
268
|
+
letterSpacing: "-2%",
|
|
269
|
+
fontWeight: "400"
|
|
270
|
+
}
|
|
271
|
+
],
|
|
272
|
+
lg: [
|
|
273
|
+
"16px",
|
|
274
|
+
{
|
|
275
|
+
lineHeight: "24px",
|
|
276
|
+
letterSpacing: "-2%",
|
|
277
|
+
fontWeight: "400"
|
|
278
|
+
}
|
|
279
|
+
],
|
|
280
|
+
xl: [
|
|
281
|
+
"18px",
|
|
282
|
+
{
|
|
283
|
+
lineHeight: "27px",
|
|
284
|
+
letterSpacing: "-2%",
|
|
285
|
+
fontWeight: "400"
|
|
286
|
+
}
|
|
287
|
+
]
|
|
288
|
+
};
|
|
289
|
+
|
|
290
|
+
// ../tailwind-config/src/animation/slide.ts
|
|
291
|
+
var sliceAnimation = {
|
|
292
|
+
slideInFromTop: "slideInFromTop 0.5s ease-out",
|
|
293
|
+
slideInFromBottom: "slideInFromBottom 0.5s ease-out",
|
|
294
|
+
slideInFromLeft: "slideInFromLeft 0.5s ease-out",
|
|
295
|
+
slideInFromRight: "slideInFromRight 0.5s ease-out",
|
|
296
|
+
slideOutToTop: "slideOutToTop 0.5s ease-in",
|
|
297
|
+
slideOutToBottom: "slideOutToBottom 0.5s ease-in",
|
|
298
|
+
slideOutToLeft: "slideOutToLeft 0.5s ease-in",
|
|
299
|
+
slideOutToRight: "slideOutToRight 0.5s ease-in"
|
|
300
|
+
};
|
|
301
|
+
var sliceKeyframe = {
|
|
302
|
+
slideInFromTop: {
|
|
303
|
+
"0%": {
|
|
304
|
+
transform: "translateY(-10px)",
|
|
305
|
+
opacity: "0"
|
|
306
|
+
},
|
|
307
|
+
"100%": {
|
|
308
|
+
transform: "translateY(0)",
|
|
309
|
+
opacity: "1"
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
slideInFromBottom: {
|
|
313
|
+
"0%": {
|
|
314
|
+
transform: "translateY(10px)",
|
|
315
|
+
opacity: "0"
|
|
316
|
+
},
|
|
317
|
+
"100%": {
|
|
318
|
+
transform: "translateY(0)",
|
|
319
|
+
opacity: "1"
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
slideInFromLeft: {
|
|
323
|
+
"0%": {
|
|
324
|
+
transform: "translateX(-10px)",
|
|
325
|
+
opacity: "0"
|
|
326
|
+
},
|
|
327
|
+
"100%": {
|
|
328
|
+
transform: "translateX(0)",
|
|
329
|
+
opacity: "1"
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
slideInFromRight: {
|
|
333
|
+
"0%": {
|
|
334
|
+
transform: "translateX(10px)",
|
|
335
|
+
opacity: "0"
|
|
336
|
+
},
|
|
337
|
+
"100%": {
|
|
338
|
+
transform: "translateX(0)",
|
|
339
|
+
opacity: "1"
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
slideOutToTop: {
|
|
343
|
+
"0%": {
|
|
344
|
+
transform: "translateY(0)",
|
|
345
|
+
opacity: "1"
|
|
346
|
+
},
|
|
347
|
+
"100%": {
|
|
348
|
+
transform: "translateY(-10px)",
|
|
349
|
+
opacity: "0"
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
slideOutToBottom: {
|
|
353
|
+
"0%": {
|
|
354
|
+
transform: "translateY(0)",
|
|
355
|
+
opacity: "1"
|
|
356
|
+
},
|
|
357
|
+
"100%": {
|
|
358
|
+
transform: "translateY(10px)",
|
|
359
|
+
opacity: "0"
|
|
360
|
+
}
|
|
361
|
+
},
|
|
362
|
+
slideOutToLeft: {
|
|
363
|
+
"0%": {
|
|
364
|
+
transform: "translateX(0)",
|
|
365
|
+
opacity: "1"
|
|
366
|
+
},
|
|
367
|
+
"100%": {
|
|
368
|
+
transform: "translateX(-10px)",
|
|
369
|
+
opacity: "0"
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
slideOutToRight: {
|
|
373
|
+
"0%": {
|
|
374
|
+
transform: "translateX(0)",
|
|
375
|
+
opacity: "1"
|
|
376
|
+
},
|
|
377
|
+
"100%": {
|
|
378
|
+
transform: "translateX(10px)",
|
|
379
|
+
opacity: "0"
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
// ../tailwind-config/src/animation/index.ts
|
|
385
|
+
var animation = { ...sliceAnimation };
|
|
386
|
+
var keyframes = { ...sliceKeyframe };
|
|
387
|
+
|
|
388
|
+
// ../tailwind-config/src/shadow/index.ts
|
|
389
|
+
var boxShadow = {
|
|
390
|
+
"border-1": "inner 0 0 0 1px inset",
|
|
391
|
+
"border-2": "inner 0 0 0 2px inset",
|
|
392
|
+
"border-3": "inner 0 0 0 3px inset",
|
|
393
|
+
"border-4": "inner 0 0 0 4px inset",
|
|
394
|
+
"border-5": "inner 0 0 0 5px inset",
|
|
395
|
+
"border-6": "inner 0 0 0 6px inset",
|
|
396
|
+
"border-7": "inner 0 0 0 7px inset",
|
|
397
|
+
"border-8": "inner 0 0 0 8px inset",
|
|
398
|
+
"border-9": "inner 0 0 0 9px inset",
|
|
399
|
+
"border-10": "inner 0 0 0 10px inset",
|
|
400
|
+
inner: "inset 0 4px 8px 0 rgba(36, 39, 44, 0.2)",
|
|
401
|
+
drop: "0 20px 40px 0 rgba(36, 39, 44, 0.2)"
|
|
402
|
+
};
|
|
403
|
+
|
|
404
|
+
// ../tailwind-config/src/border/radius.ts
|
|
405
|
+
var borderRadius = {
|
|
406
|
+
sm: "4px",
|
|
407
|
+
md: "6px",
|
|
408
|
+
lg: "8px",
|
|
409
|
+
xl: "10px",
|
|
410
|
+
none: "0",
|
|
411
|
+
full: "9999px"
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
// ../tailwind-config/src/border/width.ts
|
|
415
|
+
var borderWidth = {
|
|
416
|
+
sm: "1px",
|
|
417
|
+
md: "1.25px",
|
|
418
|
+
lg: "1.5px",
|
|
419
|
+
xl: "1.75px"
|
|
420
|
+
};
|
|
421
|
+
|
|
422
|
+
// ../tailwind-config/src/space/gap.ts
|
|
423
|
+
var gap = {
|
|
424
|
+
sm: "4px",
|
|
425
|
+
md: "6px",
|
|
426
|
+
lg: "8px",
|
|
427
|
+
xl: "10px"
|
|
428
|
+
};
|
|
429
|
+
|
|
430
|
+
// ../tailwind-config/src/utils/color.ts
|
|
431
|
+
var getTransColor = (hex, alpha) => {
|
|
432
|
+
const bigint = parseInt(hex.slice(1), 16);
|
|
433
|
+
const r = bigint >> 16 & 255;
|
|
434
|
+
const g = bigint >> 8 & 255;
|
|
435
|
+
const b = bigint & 255;
|
|
436
|
+
return `rgba(${r},${g},${b},${alpha})`;
|
|
437
|
+
};
|
|
438
|
+
|
|
439
|
+
// ../tailwind-config/src/plugin.ts
|
|
440
|
+
var resolveConfig = (themes = {}, defaultTheme, prefix = "dn") => {
|
|
441
|
+
const resolved = {
|
|
442
|
+
variants: [],
|
|
443
|
+
utilities: {},
|
|
444
|
+
colors: {},
|
|
445
|
+
boxShadow: {}
|
|
446
|
+
};
|
|
447
|
+
for (const [themeName, { extend, colors }] of Object.entries(themes)) {
|
|
448
|
+
let cssSelector = `.${themeName},[data-theme="${themeName}"]`;
|
|
449
|
+
const scheme = themeName === "light" || themeName === "dark" ? themeName : extend;
|
|
450
|
+
if (themeName === defaultTheme) cssSelector = `:root,${cssSelector}`;
|
|
451
|
+
resolved.utilities[cssSelector] = scheme ? { "color-scheme": scheme } : {};
|
|
452
|
+
resolved.variants.push({
|
|
453
|
+
name: themeName,
|
|
454
|
+
definition: [`&.${themeName}`, `&[data-theme='${themeName}']`]
|
|
455
|
+
});
|
|
456
|
+
const flatColors = flattenThemeObject(colors);
|
|
457
|
+
for (const [colorName, colorValue] of Object.entries(flatColors)) {
|
|
458
|
+
if (!colorValue) continue;
|
|
459
|
+
try {
|
|
460
|
+
const ColorVariable = `--${prefix}-${colorName}`;
|
|
461
|
+
resolved.utilities[cssSelector][ColorVariable] = colorValue;
|
|
462
|
+
if (colorValue.includes(",")) {
|
|
463
|
+
const [hex, alpha] = colorValue.split(",").map((s) => s.trim());
|
|
464
|
+
if ((hex == null ? void 0 : hex.startsWith("#")) && alpha !== void 0) {
|
|
465
|
+
resolved.colors[colorName] = () => {
|
|
466
|
+
return getTransColor(hex, parseFloat(alpha) || 1);
|
|
467
|
+
};
|
|
468
|
+
}
|
|
469
|
+
} else {
|
|
470
|
+
resolved.colors[colorName] = () => {
|
|
471
|
+
return `var(${ColorVariable})`;
|
|
472
|
+
};
|
|
473
|
+
}
|
|
474
|
+
} catch (error) {
|
|
475
|
+
console.error("error", error == null ? void 0 : error.message);
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
resolved.utilities = {
|
|
480
|
+
...resolved.utilities,
|
|
481
|
+
".scrollbar-hide": {
|
|
482
|
+
"-ms-overflow-style": "none",
|
|
483
|
+
"scrollbar-width": "none",
|
|
484
|
+
"&::-webkit-scrollbar": {
|
|
485
|
+
display: "none"
|
|
486
|
+
}
|
|
487
|
+
},
|
|
488
|
+
".input-arrow-hide": {
|
|
489
|
+
"&[type='number']::-webkit-inner-spin-button": {
|
|
490
|
+
"-webkit-appearance": "none",
|
|
491
|
+
margin: "0"
|
|
492
|
+
},
|
|
493
|
+
"&[type='number']::-webkit-outer-spin-button": {
|
|
494
|
+
"-webkit-appearance": "none",
|
|
495
|
+
margin: "0"
|
|
496
|
+
},
|
|
497
|
+
"&[type='number']": {
|
|
498
|
+
"-moz-appearance": "textfield"
|
|
499
|
+
// Firefox용
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
};
|
|
503
|
+
return resolved;
|
|
504
|
+
};
|
|
505
|
+
var flattenThemeObject = (theme) => {
|
|
506
|
+
const result = {};
|
|
507
|
+
for (const [key, value] of Object.entries(theme)) {
|
|
508
|
+
if (typeof value === "string") {
|
|
509
|
+
result[key] = value;
|
|
510
|
+
} else if (typeof value === "object") {
|
|
511
|
+
for (const [subKey, subValue] of Object.entries(value)) {
|
|
512
|
+
result[`${key}-${subKey}`] = subValue;
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
return result;
|
|
517
|
+
};
|
|
518
|
+
var deepnoidUi = (colorChip = {}, defaultTheme = "light") => {
|
|
519
|
+
const lightPalette = structuredClone(semanticPalette.light);
|
|
520
|
+
const darkPalette = structuredClone(semanticPalette.dark);
|
|
521
|
+
const mergedLight = { ...lightPalette, ...colorChip.light };
|
|
522
|
+
const mergedDark = { ...darkPalette, ...colorChip.dark };
|
|
523
|
+
const themes = {
|
|
524
|
+
light: { extend: "light", colors: mergedLight },
|
|
525
|
+
dark: { extend: "dark", colors: mergedDark }
|
|
526
|
+
};
|
|
527
|
+
const resolved = resolveConfig(themes, defaultTheme);
|
|
528
|
+
return (0, import_plugin.default)(
|
|
529
|
+
({ addBase, addUtilities, addVariant }) => {
|
|
530
|
+
addBase({
|
|
531
|
+
html: {
|
|
532
|
+
fontFamily: "NanumSquare"
|
|
533
|
+
},
|
|
534
|
+
'input[type="time"]::-webkit-calendar-picker-indicator': {
|
|
535
|
+
display: "none",
|
|
536
|
+
"-webkit-appearance": "none"
|
|
537
|
+
},
|
|
538
|
+
'input[type="date"]::-webkit-calendar-picker-indicator': {
|
|
539
|
+
display: "none",
|
|
540
|
+
"-webkit-appearance": "none"
|
|
541
|
+
}
|
|
542
|
+
});
|
|
543
|
+
addUtilities({ ...resolved == null ? void 0 : resolved.utilities });
|
|
544
|
+
resolved == null ? void 0 : resolved.variants.forEach((variant) => {
|
|
545
|
+
addVariant(variant.name, variant.definition);
|
|
546
|
+
});
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
theme: {
|
|
550
|
+
extend: {
|
|
551
|
+
fontFamily: {
|
|
552
|
+
NanumSquare: [
|
|
553
|
+
"NanumSquare",
|
|
554
|
+
"-apple-system",
|
|
555
|
+
".SFNSText-Regular",
|
|
556
|
+
"San Francisco",
|
|
557
|
+
"BlinkMacSystemFont",
|
|
558
|
+
"Segoe UI",
|
|
559
|
+
"Helvetica Neue",
|
|
560
|
+
"Helvetica",
|
|
561
|
+
"Arial",
|
|
562
|
+
"sans-serif"
|
|
563
|
+
]
|
|
564
|
+
},
|
|
565
|
+
// @ts-ignore
|
|
566
|
+
colors: { ...resolved == null ? void 0 : resolved.colors },
|
|
567
|
+
borderRadius,
|
|
568
|
+
borderWidth,
|
|
569
|
+
fontSize,
|
|
570
|
+
boxShadow,
|
|
571
|
+
gap,
|
|
572
|
+
keyframes,
|
|
573
|
+
animation
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
);
|
|
578
|
+
};
|
|
579
|
+
|
|
580
|
+
// src/utils/tailwind-variants.ts
|
|
581
|
+
function typedKeys(obj) {
|
|
582
|
+
return Object.keys(obj);
|
|
583
|
+
}
|
|
584
|
+
var COMMON_SIZE = ["sm", "md", "lg", "xl"];
|
|
585
|
+
var tv = createTV({
|
|
586
|
+
twMergeConfig: {
|
|
587
|
+
classGroups: {
|
|
588
|
+
fontSize: [{ text: [...typedKeys(fontSize)] }],
|
|
589
|
+
borderRadius: [{ rounded: [...typedKeys(borderRadius)] }],
|
|
590
|
+
boxShadow: [{ shadow: [...typedKeys(boxShadow)] }],
|
|
591
|
+
padding: [{ p: [...COMMON_SIZE] }],
|
|
592
|
+
gap: [{ gap: [...typedKeys(gap)] }]
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
});
|
|
596
|
+
|
|
597
|
+
export {
|
|
598
|
+
deepnoidUi,
|
|
599
|
+
tv
|
|
600
|
+
};
|