@deepnoid/ui 0.0.112 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.cjs +4 -0
- package/.turbo/turbo-build.log +365 -0
- package/babel.config.js +8 -0
- package/dist/NanumSquare_acB-VMSVRKSM.ttf +0 -0
- package/dist/NanumSquare_acEB-HRZ3QLG2.ttf +0 -0
- package/dist/NanumSquare_acL-FSAAP5CK.ttf +0 -0
- package/dist/NanumSquare_acR-RZCHPXSJ.ttf +0 -0
- package/dist/{chunk-LCI6RPWE.mjs → chunk-24NQEB73.mjs} +7 -5
- package/dist/chunk-2TJDQIKB.mjs +82 -0
- package/dist/chunk-2ZT6V4QR.mjs +591 -0
- package/dist/chunk-56VCX2QR.mjs +170 -0
- package/dist/chunk-6PNKRBUT.mjs +34 -0
- package/dist/{chunk-IZ6II3QA.mjs → chunk-AC6TWLRT.mjs} +1 -13
- package/dist/{chunk-PRLGHYFO.mjs → chunk-AMA53H3C.mjs} +7 -7
- package/dist/chunk-AYWI2CRE.mjs +211 -0
- package/dist/{chunk-OJ2OEI5B.mjs → chunk-BKE6QF6W.mjs} +7 -0
- package/dist/chunk-CF6O6TCF.mjs +63 -0
- package/dist/chunk-DUOYMLZL.mjs +283 -0
- package/dist/{chunk-7HHFRKJU.mjs → chunk-GLBASISV.mjs} +2 -2
- package/dist/{chunk-FDKT4IBP.mjs → chunk-HKXUNG3H.mjs} +4 -4
- package/dist/chunk-J5WJD6XZ.mjs +221 -0
- package/dist/chunk-LXHUO6VM.mjs +46 -0
- package/dist/chunk-M2IRRTFM.mjs +79 -0
- package/dist/{chunk-NGQ3MK2J.mjs → chunk-N4F3R6HG.mjs} +1 -1
- package/dist/chunk-ON5SGXHZ.mjs +29 -0
- package/dist/chunk-OQS4LGZK.mjs +27 -0
- package/dist/{chunk-IOCRFIQF.mjs → chunk-P2TMIZRH.mjs} +131 -30
- package/dist/chunk-RCU5MLBU.mjs +198 -0
- package/dist/chunk-RT5NKQX4.mjs +285 -0
- package/dist/chunk-S65S7QZ5.mjs +413 -0
- package/dist/chunk-SE5TU755.mjs +1 -0
- package/dist/chunk-SPX2BHO2.mjs +314 -0
- package/dist/{chunk-TSMVRGDO.mjs → chunk-SSEQSF5F.mjs} +14 -8
- package/dist/chunk-U2YKMXVG.mjs +145 -0
- package/dist/{chunk-JN7EGKJL.mjs → chunk-VRGHUYRU.mjs} +11 -5
- package/dist/{chunk-EYY4CRRR.mjs → chunk-VVOOYDJS.mjs} +15 -17
- package/dist/chunk-WSIADHVC.mjs +126 -0
- package/dist/{chunk-PXUBPWKU.mjs → chunk-XIHAABHB.mjs} +4 -4
- package/dist/{chunk-BCN5F2MN.mjs → chunk-YCMZELLD.mjs} +2 -2
- package/dist/{chunk-RZZWHI6O.mjs → chunk-YZNQ2QGK.mjs} +8 -3
- package/dist/chunk-Z74QNVPG.mjs +127 -0
- package/dist/{chunk-KRI5IALM.mjs → chunk-ZEZ6ZA3N.mjs} +6 -3
- package/dist/{chunk-KCBBBRSF.mjs → chunk-ZMOAFSYE.mjs} +1 -1
- package/dist/components/avatar/avatar.d.mts +80 -0
- package/dist/components/avatar/avatar.d.ts +80 -0
- package/dist/components/{accordion/accordionItem.js → avatar/avatar.js} +454 -213
- package/dist/components/avatar/avatar.mjs +10 -0
- package/dist/components/avatar/index.d.mts +4 -0
- package/dist/components/avatar/index.d.ts +4 -0
- package/dist/components/{accordion → avatar}/index.js +836 -676
- package/dist/components/avatar/index.mjs +11 -0
- package/dist/components/backdrop/backdrop.d.mts +11 -0
- package/dist/components/backdrop/backdrop.d.ts +11 -0
- package/dist/components/backdrop/backdrop.js +345 -0
- package/dist/components/backdrop/backdrop.mjs +9 -0
- package/dist/components/backdrop/index.d.mts +2 -0
- package/dist/components/backdrop/index.d.ts +2 -0
- package/dist/components/backdrop/index.js +351 -0
- package/dist/components/backdrop/index.mjs +10 -0
- package/dist/components/breadcrumb/breadcrumb.d.mts +96 -0
- package/dist/components/breadcrumb/breadcrumb.d.ts +96 -0
- package/dist/components/breadcrumb/breadcrumb.js +4067 -0
- package/dist/components/breadcrumb/breadcrumb.mjs +12 -0
- package/dist/components/breadcrumb/index.d.mts +7 -0
- package/dist/components/breadcrumb/index.d.ts +7 -0
- package/dist/components/breadcrumb/index.js +4073 -0
- package/dist/components/breadcrumb/index.mjs +13 -0
- package/dist/components/button/button-group.d.mts +5 -4
- package/dist/components/button/button-group.d.ts +5 -4
- package/dist/components/button/button-group.js +278 -9
- package/dist/components/button/button-group.mjs +3 -3
- package/dist/components/button/button.d.mts +27 -180
- package/dist/components/button/button.d.ts +27 -180
- package/dist/components/button/button.js +600 -426
- package/dist/components/button/button.mjs +8 -5
- package/dist/components/button/index.d.mts +0 -1
- package/dist/components/button/index.d.ts +0 -1
- package/dist/components/button/index.js +605 -431
- package/dist/components/button/index.mjs +9 -6
- package/dist/components/checkbox/checkbox.d.mts +50 -206
- package/dist/components/checkbox/checkbox.d.ts +50 -206
- package/dist/components/checkbox/checkbox.js +464 -127
- package/dist/components/checkbox/checkbox.mjs +4 -3
- package/dist/components/checkbox/index.d.mts +0 -1
- package/dist/components/checkbox/index.d.ts +0 -1
- package/dist/components/checkbox/index.js +464 -127
- package/dist/components/checkbox/index.mjs +4 -3
- package/dist/components/chip/chip.d.mts +119 -0
- package/dist/components/chip/chip.d.ts +119 -0
- package/dist/components/chip/chip.js +4200 -0
- package/dist/components/chip/chip.mjs +13 -0
- package/dist/components/chip/index.d.mts +7 -0
- package/dist/components/chip/index.d.ts +7 -0
- package/dist/components/chip/index.js +4206 -0
- package/dist/components/chip/index.mjs +14 -0
- package/dist/components/dateTimePicker/calendar.d.mts +3 -53
- package/dist/components/dateTimePicker/calendar.d.ts +3 -53
- package/dist/components/dateTimePicker/calendar.js +415 -43
- package/dist/components/dateTimePicker/calendar.mjs +5 -5
- package/dist/components/dateTimePicker/dateTimePicker.d.mts +23 -180
- package/dist/components/dateTimePicker/dateTimePicker.d.ts +23 -180
- package/dist/components/dateTimePicker/dateTimePicker.js +674 -151
- package/dist/components/dateTimePicker/dateTimePicker.mjs +11 -10
- package/dist/components/dateTimePicker/index.d.mts +0 -1
- package/dist/components/dateTimePicker/index.d.ts +0 -1
- package/dist/components/dateTimePicker/index.js +674 -151
- package/dist/components/dateTimePicker/index.mjs +11 -10
- package/dist/components/dateTimePicker/timePicker.js +4218 -130
- package/dist/components/dateTimePicker/timePicker.mjs +9 -5
- package/dist/components/dateTimePicker/useDateTimePicker.d.mts +4 -4
- package/dist/components/dateTimePicker/useDateTimePicker.d.ts +4 -4
- package/dist/components/dateTimePicker/useDateTimePicker.mjs +1 -1
- package/dist/components/dateTimePicker/util.mjs +1 -1
- package/dist/components/icon/Icon.d.mts +30 -5
- package/dist/components/icon/Icon.d.ts +30 -5
- package/dist/components/icon/Icon.js +137 -34
- package/dist/components/icon/Icon.mjs +3 -3
- package/dist/components/icon/index.d.mts +1 -0
- package/dist/components/icon/index.d.ts +1 -0
- package/dist/components/icon/index.js +137 -34
- package/dist/components/icon/index.mjs +3 -3
- package/dist/components/icon/template.d.mts +7 -1
- package/dist/components/icon/template.d.ts +7 -1
- package/dist/components/icon/template.js +131 -30
- package/dist/components/icon/template.mjs +2 -2
- package/dist/components/input/index.d.mts +1 -2
- package/dist/components/input/index.d.ts +1 -2
- package/dist/components/input/index.js +634 -197
- package/dist/components/input/index.mjs +6 -5
- package/dist/components/input/input.d.mts +114 -256
- package/dist/components/input/input.d.ts +114 -256
- package/dist/components/input/input.js +634 -197
- package/dist/components/input/input.mjs +6 -5
- package/dist/components/list/index.d.mts +5 -2
- package/dist/components/list/index.d.ts +5 -2
- package/dist/components/list/index.js +4161 -73
- package/dist/components/list/index.mjs +8 -4
- package/dist/components/list/list.d.mts +17 -67
- package/dist/components/list/list.d.ts +17 -67
- package/dist/components/list/list.js +290 -23
- package/dist/components/list/list.mjs +3 -3
- package/dist/components/list/listItem.d.mts +108 -113
- package/dist/components/list/listItem.d.ts +108 -113
- package/dist/components/list/listItem.js +4159 -61
- package/dist/components/list/listItem.mjs +7 -3
- package/dist/components/modal/index.d.mts +0 -1
- package/dist/components/modal/index.d.ts +0 -1
- package/dist/components/modal/index.js +630 -454
- package/dist/components/modal/index.mjs +10 -7
- package/dist/components/modal/modal.d.mts +3 -76
- package/dist/components/modal/modal.d.ts +3 -76
- package/dist/components/modal/modal.js +630 -454
- package/dist/components/modal/modal.mjs +10 -7
- package/dist/components/pagination/index.d.mts +1 -1
- package/dist/components/pagination/index.d.ts +1 -1
- package/dist/components/pagination/index.js +740 -302
- package/dist/components/pagination/index.mjs +8 -7
- package/dist/components/pagination/pagination.d.mts +50 -112
- package/dist/components/pagination/pagination.d.ts +50 -112
- package/dist/components/pagination/pagination.js +742 -306
- package/dist/components/pagination/pagination.mjs +10 -11
- package/dist/components/pagination/usePagination.mjs +1 -1
- package/dist/components/radio/index.d.mts +0 -1
- package/dist/components/radio/index.d.ts +0 -1
- package/dist/components/radio/index.js +424 -111
- package/dist/components/radio/index.mjs +4 -3
- package/dist/components/radio/radio.d.mts +113 -183
- package/dist/components/radio/radio.d.ts +113 -183
- package/dist/components/radio/radio.js +424 -111
- package/dist/components/radio/radio.mjs +4 -3
- package/dist/components/ripple/index.d.mts +4 -0
- package/dist/components/ripple/index.d.ts +4 -0
- package/dist/components/ripple/index.js +98 -0
- package/dist/components/ripple/index.mjs +13 -0
- package/dist/components/ripple/ripple.d.mts +21 -0
- package/dist/components/ripple/ripple.d.ts +21 -0
- package/dist/components/ripple/ripple.js +65 -0
- package/dist/components/ripple/ripple.mjs +8 -0
- package/dist/components/ripple/useRipple.d.mts +17 -0
- package/dist/components/ripple/useRipple.d.ts +17 -0
- package/dist/components/ripple/useRipple.js +57 -0
- package/dist/components/ripple/useRipple.mjs +10 -0
- package/dist/components/select/index.d.mts +0 -1
- package/dist/components/select/index.d.ts +0 -1
- package/dist/components/select/index.js +437 -44
- package/dist/components/select/index.mjs +6 -6
- package/dist/components/select/option.d.mts +2 -3
- package/dist/components/select/option.d.ts +2 -3
- package/dist/components/select/option.js +431 -44
- package/dist/components/select/option.mjs +5 -5
- package/dist/components/select/select.d.mts +19 -180
- package/dist/components/select/select.d.ts +19 -180
- package/dist/components/select/select.js +437 -44
- package/dist/components/select/select.mjs +6 -6
- package/dist/components/select/useSelect.d.mts +3 -4
- package/dist/components/select/useSelect.d.ts +3 -4
- package/dist/components/select/useSelect.mjs +1 -1
- package/dist/components/switch/index.d.mts +1 -2
- package/dist/components/switch/index.d.ts +1 -2
- package/dist/components/switch/index.js +54 -77
- package/dist/components/switch/index.mjs +2 -2
- package/dist/components/switch/switch.d.mts +56 -190
- package/dist/components/switch/switch.d.ts +56 -190
- package/dist/components/switch/switch.js +55 -83
- package/dist/components/switch/switch.mjs +4 -6
- package/dist/components/table/index.d.mts +0 -1
- package/dist/components/table/index.d.ts +0 -1
- package/dist/components/table/index.js +1730 -910
- package/dist/components/table/index.mjs +14 -9
- package/dist/components/table/table-body.d.mts +9 -16
- package/dist/components/table/table-body.d.ts +9 -16
- package/dist/components/table/table-body.js +517 -3856
- package/dist/components/table/table-body.mjs +4 -7
- package/dist/components/table/table-head.d.mts +6 -9
- package/dist/components/table/table-head.d.ts +6 -9
- package/dist/components/table/table-head.js +430 -162
- package/dist/components/table/table-head.mjs +4 -4
- package/dist/components/table/table.d.mts +98 -578
- package/dist/components/table/table.d.ts +98 -578
- package/dist/components/table/table.js +1730 -910
- package/dist/components/table/table.mjs +14 -9
- package/dist/components/tabs/index.d.mts +0 -1
- package/dist/components/tabs/index.d.ts +0 -1
- package/dist/components/tabs/index.js +291 -9
- package/dist/components/tabs/index.mjs +3 -3
- package/dist/components/tabs/tabs.d.mts +12 -99
- package/dist/components/tabs/tabs.d.ts +12 -99
- package/dist/components/tabs/tabs.js +291 -9
- package/dist/components/tabs/tabs.mjs +3 -3
- package/dist/components/textarea/index.d.mts +0 -1
- package/dist/components/textarea/index.d.ts +0 -1
- package/dist/components/textarea/index.js +7 -0
- package/dist/components/textarea/index.mjs +2 -2
- package/dist/components/textarea/textarea.d.mts +19 -271
- package/dist/components/textarea/textarea.d.ts +19 -271
- package/dist/components/textarea/textarea.js +7 -0
- package/dist/components/textarea/textarea.mjs +2 -2
- package/dist/components/toast/index.d.mts +1 -1
- package/dist/components/toast/index.d.ts +1 -1
- package/dist/components/toast/index.js +426 -44
- package/dist/components/toast/index.mjs +6 -6
- package/dist/components/toast/toast-utils.mjs +1 -1
- package/dist/components/toast/toast.d.mts +4 -87
- package/dist/components/toast/toast.d.ts +4 -87
- package/dist/components/toast/toast.js +425 -43
- package/dist/components/toast/toast.mjs +5 -5
- package/dist/components/toast/use-toast.d.mts +1 -0
- package/dist/components/toast/use-toast.d.ts +1 -0
- package/dist/components/toast/use-toast.js +426 -44
- package/dist/components/toast/use-toast.mjs +6 -6
- package/dist/components/tooltip/index.d.mts +1 -2
- package/dist/components/tooltip/index.d.ts +1 -2
- package/dist/components/tooltip/index.js +412 -54
- package/dist/components/tooltip/index.mjs +5 -5
- package/dist/components/tooltip/tooltip-utils.d.mts +1 -1
- package/dist/components/tooltip/tooltip-utils.d.ts +1 -1
- package/dist/components/tooltip/tooltip-utils.js +67 -0
- package/dist/components/tooltip/tooltip-utils.mjs +6 -2
- package/dist/components/tooltip/tooltip.d.mts +37 -85
- package/dist/components/tooltip/tooltip.d.ts +37 -85
- package/dist/components/tooltip/tooltip.js +412 -54
- package/dist/components/tooltip/tooltip.mjs +5 -5
- package/dist/components/tooltip/useTooltip.d.mts +1 -1
- package/dist/components/tooltip/useTooltip.d.ts +1 -1
- package/dist/components/tooltip/useTooltip.mjs +3 -3
- package/dist/fonts/NanumSquare_acB.js +4 -0
- package/dist/fonts/NanumSquare_acB.mjs +8 -0
- package/dist/fonts/NanumSquare_acB.ttf +0 -0
- package/dist/fonts/NanumSquare_acEB.js +4 -0
- package/dist/fonts/NanumSquare_acEB.mjs +8 -0
- package/dist/fonts/NanumSquare_acEB.ttf +0 -0
- package/dist/fonts/NanumSquare_acL.js +4 -0
- package/dist/fonts/NanumSquare_acL.mjs +8 -0
- package/dist/fonts/NanumSquare_acL.ttf +0 -0
- package/dist/fonts/NanumSquare_acR.js +4 -0
- package/dist/fonts/NanumSquare_acR.mjs +8 -0
- package/dist/fonts/NanumSquare_acR.ttf +0 -0
- package/dist/fonts/font.css +36 -0
- package/dist/index.d.mts +6 -8
- package/dist/index.d.ts +6 -8
- package/dist/index.js +3929 -4355
- package/dist/index.mjs +70 -795
- package/dist/tooltip-utils-DO3LQaVM.d.mts +52 -0
- package/dist/tooltip-utils-DO3LQaVM.d.ts +52 -0
- package/dist/utils/clsx.mjs +1 -1
- package/dist/utils/props.mjs +1 -1
- package/dist/utils/tailwind-variants.d.mts +1 -21
- package/dist/utils/tailwind-variants.d.ts +1 -21
- package/dist/utils/tailwind-variants.js +288 -9
- package/dist/utils/tailwind-variants.mjs +2 -2
- package/dist/utils/types.d.mts +5 -4
- package/dist/utils/types.d.ts +5 -4
- package/package.json +34 -37
- package/postcss.config.js +6 -0
- package/tailwind.config.ts +7 -0
- package/tsup.config.ts +8 -0
- package/dist/chunk-2ALY3PH5.mjs +0 -66
- package/dist/chunk-A3RWT3JJ.mjs +0 -197
- package/dist/chunk-ANYPMQH4.mjs +0 -200
- package/dist/chunk-FNPWLOGV.mjs +0 -12875
- package/dist/chunk-H7BLXC5M.mjs +0 -5965
- package/dist/chunk-J725QONZ.mjs +0 -24
- package/dist/chunk-L6BQA6GI.mjs +0 -160
- package/dist/chunk-N2JULHST.mjs +0 -141
- package/dist/chunk-ODMRJXLJ.mjs +0 -61
- package/dist/chunk-PO3ADNA5.mjs +0 -56
- package/dist/chunk-QGZEHOKA.mjs +0 -342
- package/dist/chunk-QWFOYO3D.mjs +0 -173
- package/dist/chunk-S3O52LLG.mjs +0 -151
- package/dist/chunk-S4DTK5GI.mjs +0 -4036
- package/dist/chunk-SWR7E3NU.mjs +0 -78
- package/dist/chunk-U74WK5VI.mjs +0 -123
- package/dist/chunk-UR64ZUAU.mjs +0 -671
- package/dist/chunk-V77MALL4.mjs +0 -112
- package/dist/chunk-VWD26TIQ.mjs +0 -139
- package/dist/chunk-YRMFIXXC.mjs +0 -277
- package/dist/chunk-ZNEEYSIK.mjs +0 -257
- package/dist/components/accordion/accordion.d.mts +0 -154
- package/dist/components/accordion/accordion.d.ts +0 -154
- package/dist/components/accordion/accordion.js +0 -142
- package/dist/components/accordion/accordion.mjs +0 -10
- package/dist/components/accordion/accordion.test.js +0 -13015
- package/dist/components/accordion/accordion.test.mjs +0 -25
- package/dist/components/accordion/accordionItem.d.mts +0 -282
- package/dist/components/accordion/accordionItem.d.ts +0 -282
- package/dist/components/accordion/accordionItem.mjs +0 -13
- package/dist/components/accordion/index.d.mts +0 -6
- package/dist/components/accordion/index.d.ts +0 -6
- package/dist/components/accordion/index.mjs +0 -18
- package/dist/components/button/button-group.test.js +0 -21247
- package/dist/components/button/button-group.test.mjs +0 -57
- package/dist/components/button/button.test.js +0 -23148
- package/dist/components/button/button.test.mjs +0 -52
- package/dist/components/card/card.d.mts +0 -124
- package/dist/components/card/card.d.ts +0 -124
- package/dist/components/card/card.js +0 -103
- package/dist/components/card/card.mjs +0 -9
- package/dist/components/card/card.test.js +0 -12986
- package/dist/components/card/card.test.mjs +0 -24
- package/dist/components/card/index.d.mts +0 -5
- package/dist/components/card/index.d.ts +0 -5
- package/dist/components/card/index.js +0 -109
- package/dist/components/card/index.mjs +0 -10
- package/dist/components/checkbox/checkbox.test.js +0 -17237
- package/dist/components/checkbox/checkbox.test.mjs +0 -100
- package/dist/components/input/input.test.d.mts +0 -2
- package/dist/components/input/input.test.d.ts +0 -2
- package/dist/components/input/input.test.js +0 -22782
- package/dist/components/input/input.test.mjs +0 -99
- package/dist/components/list/list.test.d.mts +0 -2
- package/dist/components/list/list.test.d.ts +0 -2
- package/dist/components/list/list.test.js +0 -12995
- package/dist/components/list/list.test.mjs +0 -25
- package/dist/components/modal/modal.test.d.mts +0 -2
- package/dist/components/modal/modal.test.d.ts +0 -2
- package/dist/components/modal/modal.test.js +0 -17376
- package/dist/components/modal/modal.test.mjs +0 -39
- package/dist/components/pagination/pagination.test.d.mts +0 -2
- package/dist/components/pagination/pagination.test.d.ts +0 -2
- package/dist/components/pagination/pagination.test.js +0 -17051
- package/dist/components/pagination/pagination.test.mjs +0 -38
- package/dist/components/progress/index.d.mts +0 -5
- package/dist/components/progress/index.d.ts +0 -5
- package/dist/components/progress/index.js +0 -184
- package/dist/components/progress/index.mjs +0 -10
- package/dist/components/progress/progress.d.mts +0 -281
- package/dist/components/progress/progress.d.ts +0 -281
- package/dist/components/progress/progress.js +0 -178
- package/dist/components/progress/progress.mjs +0 -9
- package/dist/components/progress/progress.test.d.mts +0 -2
- package/dist/components/progress/progress.test.d.ts +0 -2
- package/dist/components/progress/progress.test.js +0 -13087
- package/dist/components/progress/progress.test.mjs +0 -50
- package/dist/components/radio/radio.test.d.mts +0 -2
- package/dist/components/radio/radio.test.d.ts +0 -2
- package/dist/components/radio/radio.test.js +0 -13147
- package/dist/components/radio/radio.test.mjs +0 -63
- package/dist/components/select/select.test.d.mts +0 -2
- package/dist/components/select/select.test.d.ts +0 -2
- package/dist/components/select/select.test.js +0 -20928
- package/dist/components/select/select.test.mjs +0 -71
- package/dist/components/slider/index.d.mts +0 -5
- package/dist/components/slider/index.d.ts +0 -5
- package/dist/components/slider/index.js +0 -239
- package/dist/components/slider/index.mjs +0 -10
- package/dist/components/slider/slider.d.mts +0 -359
- package/dist/components/slider/slider.d.ts +0 -359
- package/dist/components/slider/slider.js +0 -238
- package/dist/components/slider/slider.mjs +0 -11
- package/dist/components/slider/slider.test.d.mts +0 -2
- package/dist/components/slider/slider.test.d.ts +0 -2
- package/dist/components/slider/slider.test.js +0 -13122
- package/dist/components/slider/slider.test.mjs +0 -30
- package/dist/components/switch/switch.test.d.mts +0 -2
- package/dist/components/switch/switch.test.d.ts +0 -2
- package/dist/components/switch/switch.test.js +0 -13098
- package/dist/components/switch/switch.test.mjs +0 -52
- package/dist/components/table/table.test.d.mts +0 -2
- package/dist/components/table/table.test.d.ts +0 -2
- package/dist/components/table/table.test.js +0 -17256
- package/dist/components/table/table.test.mjs +0 -42
- package/dist/components/tabs/tabs.test.d.mts +0 -2
- package/dist/components/tabs/tabs.test.d.ts +0 -2
- package/dist/components/tabs/tabs.test.js +0 -17223
- package/dist/components/tabs/tabs.test.mjs +0 -70
- package/dist/components/textarea/textarea.test.d.mts +0 -2
- package/dist/components/textarea/textarea.test.d.ts +0 -2
- package/dist/components/textarea/textarea.test.js +0 -19117
- package/dist/components/textarea/textarea.test.mjs +0 -66
- package/dist/components/toast/toast.test.d.mts +0 -2
- package/dist/components/toast/toast.test.d.ts +0 -2
- package/dist/components/toast/toast.test.js +0 -16620
- package/dist/components/toast/toast.test.mjs +0 -28
- package/dist/components/tooltip/tooltip.test.d.mts +0 -2
- package/dist/components/tooltip/tooltip.test.d.ts +0 -2
- package/dist/components/tooltip/tooltip.test.js +0 -17381
- package/dist/components/tooltip/tooltip.test.mjs +0 -39
- package/dist/tooltip-utils-DR0UEfBN.d.mts +0 -31
- package/dist/tooltip-utils-DR0UEfBN.d.ts +0 -31
- /package/dist/{chunk-7VOQKIIK.mjs → chunk-6WSACUIB.mjs} +0 -0
- /package/dist/{chunk-HAOK24MK.mjs → chunk-7DLOYKVC.mjs} +0 -0
- /package/dist/{chunk-MV2WCFK7.mjs → chunk-KYIODWXL.mjs} +0 -0
- /package/dist/{chunk-NMSDSEBD.mjs → chunk-MGEWSREV.mjs} +0 -0
- /package/dist/{components/accordion/accordion.test.d.mts → fonts/NanumSquare_acB.d.mts} +0 -0
- /package/dist/{components/accordion/accordion.test.d.ts → fonts/NanumSquare_acB.d.ts} +0 -0
- /package/dist/{components/button/button-group.test.d.mts → fonts/NanumSquare_acEB.d.mts} +0 -0
- /package/dist/{components/button/button-group.test.d.ts → fonts/NanumSquare_acEB.d.ts} +0 -0
- /package/dist/{components/button/button.test.d.mts → fonts/NanumSquare_acL.d.mts} +0 -0
- /package/dist/{components/button/button.test.d.ts → fonts/NanumSquare_acL.d.ts} +0 -0
- /package/dist/{components/card/card.test.d.mts → fonts/NanumSquare_acR.d.mts} +0 -0
- /package/dist/{components/card/card.test.d.ts → fonts/NanumSquare_acR.d.ts} +0 -0
- /package/dist/{components/checkbox/checkbox.test.d.mts → fonts/font.d.mts} +0 -0
- /package/dist/{components/checkbox/checkbox.test.d.ts → fonts/font.d.ts} +0 -0
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
pagination,
|
|
3
|
+
paginationStyle,
|
|
5
4
|
pagination_default
|
|
6
|
-
} from "../../chunk-
|
|
7
|
-
import "../../chunk-F3HENRVM.mjs";
|
|
5
|
+
} from "../../chunk-DUOYMLZL.mjs";
|
|
8
6
|
import "../../chunk-2GCSFWHD.mjs";
|
|
9
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-RT5NKQX4.mjs";
|
|
8
|
+
import "../../chunk-F3HENRVM.mjs";
|
|
10
9
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-24NQEB73.mjs";
|
|
11
|
+
import "../../chunk-P2TMIZRH.mjs";
|
|
12
|
+
import "../../chunk-2ZT6V4QR.mjs";
|
|
13
|
+
import "../../chunk-27Y6K5NK.mjs";
|
|
13
14
|
import "../../chunk-E3G5QXSH.mjs";
|
|
14
|
-
import "../../chunk-
|
|
15
|
-
import "../../chunk-IZ6II3QA.mjs";
|
|
15
|
+
import "../../chunk-AC6TWLRT.mjs";
|
|
16
16
|
export {
|
|
17
|
-
Pagination,
|
|
18
17
|
pagination_default as default,
|
|
19
|
-
|
|
18
|
+
paginationStyle
|
|
20
19
|
};
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
|
+
var __create = Object.create;
|
|
3
4
|
var __defProp = Object.defineProperty;
|
|
4
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
8
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
10
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
11
|
+
};
|
|
7
12
|
var __export = (target, all) => {
|
|
8
13
|
for (var name in all)
|
|
9
14
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -16,8 +21,84 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
21
|
}
|
|
17
22
|
return to;
|
|
18
23
|
};
|
|
24
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
25
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
26
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
27
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
28
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
29
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
30
|
+
mod
|
|
31
|
+
));
|
|
19
32
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
33
|
|
|
34
|
+
// ../../node_modules/tailwindcss/lib/util/createPlugin.js
|
|
35
|
+
var require_createPlugin = __commonJS({
|
|
36
|
+
"../../node_modules/tailwindcss/lib/util/createPlugin.js"(exports2) {
|
|
37
|
+
"use strict";
|
|
38
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
39
|
+
value: true
|
|
40
|
+
});
|
|
41
|
+
Object.defineProperty(exports2, "default", {
|
|
42
|
+
enumerable: true,
|
|
43
|
+
get: function() {
|
|
44
|
+
return _default;
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
function createPlugin(plugin2, config) {
|
|
48
|
+
return {
|
|
49
|
+
handler: plugin2,
|
|
50
|
+
config
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
createPlugin.withOptions = function(pluginFunction, configFunction = () => ({})) {
|
|
54
|
+
const optionsFunction = function(options) {
|
|
55
|
+
return {
|
|
56
|
+
__options: options,
|
|
57
|
+
handler: pluginFunction(options),
|
|
58
|
+
config: configFunction(options)
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
optionsFunction.__isOptionsFunction = true;
|
|
62
|
+
optionsFunction.__pluginFunction = pluginFunction;
|
|
63
|
+
optionsFunction.__configFunction = configFunction;
|
|
64
|
+
return optionsFunction;
|
|
65
|
+
};
|
|
66
|
+
var _default = createPlugin;
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
// ../../node_modules/tailwindcss/lib/public/create-plugin.js
|
|
71
|
+
var require_create_plugin = __commonJS({
|
|
72
|
+
"../../node_modules/tailwindcss/lib/public/create-plugin.js"(exports2) {
|
|
73
|
+
"use strict";
|
|
74
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
75
|
+
value: true
|
|
76
|
+
});
|
|
77
|
+
Object.defineProperty(exports2, "default", {
|
|
78
|
+
enumerable: true,
|
|
79
|
+
get: function() {
|
|
80
|
+
return _default;
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
var _createPlugin = /* @__PURE__ */ _interop_require_default(require_createPlugin());
|
|
84
|
+
function _interop_require_default(obj) {
|
|
85
|
+
return obj && obj.__esModule ? obj : {
|
|
86
|
+
default: obj
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
var _default = _createPlugin.default;
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
// ../../node_modules/tailwindcss/plugin.js
|
|
94
|
+
var require_plugin = __commonJS({
|
|
95
|
+
"../../node_modules/tailwindcss/plugin.js"(exports2, module2) {
|
|
96
|
+
"use strict";
|
|
97
|
+
var createPlugin = require_create_plugin();
|
|
98
|
+
module2.exports = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default;
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
|
|
21
102
|
// src/components/radio/index.ts
|
|
22
103
|
var radio_exports = {};
|
|
23
104
|
__export(radio_exports, {
|
|
@@ -30,19 +111,217 @@ var import_react = require("react");
|
|
|
30
111
|
|
|
31
112
|
// src/utils/tailwind-variants.ts
|
|
32
113
|
var import_tailwind_variants = require("tailwind-variants");
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
var
|
|
36
|
-
|
|
114
|
+
|
|
115
|
+
// ../tailwind-config/src/plugin.ts
|
|
116
|
+
var import_plugin = __toESM(require_plugin());
|
|
117
|
+
|
|
118
|
+
// ../tailwind-config/src/typography/font.ts
|
|
119
|
+
var fontSize = {
|
|
120
|
+
h1: [
|
|
121
|
+
"40px",
|
|
122
|
+
{
|
|
123
|
+
fontWeight: "700"
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
h2: [
|
|
127
|
+
"34px",
|
|
128
|
+
{
|
|
129
|
+
fontWeight: "700"
|
|
130
|
+
}
|
|
131
|
+
],
|
|
132
|
+
h3: [
|
|
133
|
+
"28px",
|
|
134
|
+
{
|
|
135
|
+
fontWeight: "700"
|
|
136
|
+
}
|
|
137
|
+
],
|
|
138
|
+
h4: [
|
|
139
|
+
"24px",
|
|
140
|
+
{
|
|
141
|
+
fontWeight: "700"
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
h5: [
|
|
145
|
+
"20px",
|
|
146
|
+
{
|
|
147
|
+
fontWeight: "600"
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
sm: [
|
|
151
|
+
"12px",
|
|
152
|
+
{
|
|
153
|
+
lineHeight: "18px",
|
|
154
|
+
fontWeight: "400"
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
md: [
|
|
158
|
+
"14px",
|
|
159
|
+
{
|
|
160
|
+
lineHeight: "21px",
|
|
161
|
+
fontWeight: "400"
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
lg: [
|
|
165
|
+
"16px",
|
|
166
|
+
{
|
|
167
|
+
lineHeight: "24px",
|
|
168
|
+
fontWeight: "400"
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
xl: [
|
|
172
|
+
"18px",
|
|
173
|
+
{
|
|
174
|
+
lineHeight: "27px",
|
|
175
|
+
fontWeight: "400"
|
|
176
|
+
}
|
|
177
|
+
]
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
// ../tailwind-config/src/animation/slide.ts
|
|
181
|
+
var sliceAnimation = {
|
|
182
|
+
slideInFromTop: "slideInFromTop 0.5s ease-out",
|
|
183
|
+
slideInFromBottom: "slideInFromBottom 0.5s ease-out",
|
|
184
|
+
slideInFromLeft: "slideInFromLeft 0.5s ease-out",
|
|
185
|
+
slideInFromRight: "slideInFromRight 0.5s ease-out",
|
|
186
|
+
slideOutToTop: "slideOutToTop 0.5s ease-in",
|
|
187
|
+
slideOutToBottom: "slideOutToBottom 0.5s ease-in",
|
|
188
|
+
slideOutToLeft: "slideOutToLeft 0.5s ease-in",
|
|
189
|
+
slideOutToRight: "slideOutToRight 0.5s ease-in"
|
|
190
|
+
};
|
|
191
|
+
var sliceKeyframe = {
|
|
192
|
+
slideInFromTop: {
|
|
193
|
+
"0%": {
|
|
194
|
+
transform: "translateY(-10px)",
|
|
195
|
+
opacity: "0"
|
|
196
|
+
},
|
|
197
|
+
"100%": {
|
|
198
|
+
transform: "translateY(0)",
|
|
199
|
+
opacity: "1"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
slideInFromBottom: {
|
|
203
|
+
"0%": {
|
|
204
|
+
transform: "translateY(10px)",
|
|
205
|
+
opacity: "0"
|
|
206
|
+
},
|
|
207
|
+
"100%": {
|
|
208
|
+
transform: "translateY(0)",
|
|
209
|
+
opacity: "1"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
slideInFromLeft: {
|
|
213
|
+
"0%": {
|
|
214
|
+
transform: "translateX(-10px)",
|
|
215
|
+
opacity: "0"
|
|
216
|
+
},
|
|
217
|
+
"100%": {
|
|
218
|
+
transform: "translateX(0)",
|
|
219
|
+
opacity: "1"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
slideInFromRight: {
|
|
223
|
+
"0%": {
|
|
224
|
+
transform: "translateX(10px)",
|
|
225
|
+
opacity: "0"
|
|
226
|
+
},
|
|
227
|
+
"100%": {
|
|
228
|
+
transform: "translateX(0)",
|
|
229
|
+
opacity: "1"
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
slideOutToTop: {
|
|
233
|
+
"0%": {
|
|
234
|
+
transform: "translateY(0)",
|
|
235
|
+
opacity: "1"
|
|
236
|
+
},
|
|
237
|
+
"100%": {
|
|
238
|
+
transform: "translateY(-10px)",
|
|
239
|
+
opacity: "0"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
slideOutToBottom: {
|
|
243
|
+
"0%": {
|
|
244
|
+
transform: "translateY(0)",
|
|
245
|
+
opacity: "1"
|
|
246
|
+
},
|
|
247
|
+
"100%": {
|
|
248
|
+
transform: "translateY(10px)",
|
|
249
|
+
opacity: "0"
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
slideOutToLeft: {
|
|
253
|
+
"0%": {
|
|
254
|
+
transform: "translateX(0)",
|
|
255
|
+
opacity: "1"
|
|
256
|
+
},
|
|
257
|
+
"100%": {
|
|
258
|
+
transform: "translateX(-10px)",
|
|
259
|
+
opacity: "0"
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
slideOutToRight: {
|
|
263
|
+
"0%": {
|
|
264
|
+
transform: "translateX(0)",
|
|
265
|
+
opacity: "1"
|
|
266
|
+
},
|
|
267
|
+
"100%": {
|
|
268
|
+
transform: "translateX(10px)",
|
|
269
|
+
opacity: "0"
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
// ../tailwind-config/src/animation/index.ts
|
|
275
|
+
var animation = { ...sliceAnimation };
|
|
276
|
+
var keyframes = { ...sliceKeyframe };
|
|
277
|
+
|
|
278
|
+
// ../tailwind-config/src/shadow/index.ts
|
|
279
|
+
var boxShadow = {
|
|
280
|
+
"border-1": "inner 0 0 0 1px inset",
|
|
281
|
+
"border-2": "inner 0 0 0 2px inset",
|
|
282
|
+
"border-3": "inner 0 0 0 3px inset",
|
|
283
|
+
"border-4": "inner 0 0 0 4px inset",
|
|
284
|
+
"border-5": "inner 0 0 0 5px inset",
|
|
285
|
+
"border-6": "inner 0 0 0 6px inset",
|
|
286
|
+
"border-7": "inner 0 0 0 7px inset",
|
|
287
|
+
"border-8": "inner 0 0 0 8px inset",
|
|
288
|
+
"border-9": "inner 0 0 0 9px inset",
|
|
289
|
+
"border-10": "inner 0 0 0 10px inset",
|
|
290
|
+
inner: "inset 0 4px 8px 0 rgba(36, 39, 44, 0.2)",
|
|
291
|
+
drop: "0 20px 40px 0 rgba(36, 39, 44, 0.2)"
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
// ../tailwind-config/src/border/radius.ts
|
|
295
|
+
var borderRadius = {
|
|
296
|
+
sm: "4px",
|
|
297
|
+
md: "6px",
|
|
298
|
+
lg: "8px",
|
|
299
|
+
xl: "10px",
|
|
300
|
+
none: "0",
|
|
301
|
+
full: "9999px"
|
|
302
|
+
};
|
|
303
|
+
|
|
304
|
+
// ../tailwind-config/src/space/gap.ts
|
|
305
|
+
var gap = {
|
|
306
|
+
sm: "4px",
|
|
307
|
+
md: "6px",
|
|
308
|
+
lg: "8px",
|
|
309
|
+
xl: "10px"
|
|
310
|
+
};
|
|
311
|
+
|
|
312
|
+
// src/utils/tailwind-variants.ts
|
|
313
|
+
function typedKeys(obj) {
|
|
314
|
+
return Object.keys(obj);
|
|
315
|
+
}
|
|
316
|
+
var COMMON_SIZE = ["sm", "md", "lg", "xl"];
|
|
37
317
|
var tv = (0, import_tailwind_variants.createTV)({
|
|
38
|
-
// twMerge: false,
|
|
39
318
|
twMergeConfig: {
|
|
40
319
|
classGroups: {
|
|
41
|
-
fontSize: [{ text: [...
|
|
42
|
-
borderRadius: [{ rounded: [...
|
|
43
|
-
boxShadow: [{ shadow: [...
|
|
320
|
+
fontSize: [{ text: [...typedKeys(fontSize)] }],
|
|
321
|
+
borderRadius: [{ rounded: [...typedKeys(borderRadius)] }],
|
|
322
|
+
boxShadow: [{ shadow: [...typedKeys(boxShadow)] }],
|
|
44
323
|
padding: [{ p: [...COMMON_SIZE] }],
|
|
45
|
-
gap: [{ gap: [...
|
|
324
|
+
gap: [{ gap: [...typedKeys(gap)] }]
|
|
46
325
|
}
|
|
47
326
|
}
|
|
48
327
|
});
|
|
@@ -67,50 +346,70 @@ var mapPropsVariants = (props, variantKeys, removeVariantProps = true) => {
|
|
|
67
346
|
}
|
|
68
347
|
};
|
|
69
348
|
|
|
349
|
+
// src/utils/clsx.ts
|
|
350
|
+
function clsx(...args) {
|
|
351
|
+
var i = 0, tmp, x, str = "";
|
|
352
|
+
while (i < args.length) {
|
|
353
|
+
if (tmp = args[i++]) {
|
|
354
|
+
if (x = toVal(tmp)) {
|
|
355
|
+
str && (str += " ");
|
|
356
|
+
str += x;
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
return str;
|
|
361
|
+
}
|
|
362
|
+
function toVal(mix) {
|
|
363
|
+
var k, y, str = "";
|
|
364
|
+
if (typeof mix === "string" || typeof mix === "number") {
|
|
365
|
+
str += mix;
|
|
366
|
+
} else if (typeof mix === "object") {
|
|
367
|
+
if (Array.isArray(mix)) {
|
|
368
|
+
var len = mix.length;
|
|
369
|
+
for (k = 0; k < len; k++) {
|
|
370
|
+
if (mix[k]) {
|
|
371
|
+
if (y = toVal(mix[k])) {
|
|
372
|
+
str && (str += " ");
|
|
373
|
+
str += y;
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
} else {
|
|
378
|
+
for (y in mix) {
|
|
379
|
+
if (mix[y]) {
|
|
380
|
+
str && (str += " ");
|
|
381
|
+
str += y;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
return str;
|
|
387
|
+
}
|
|
388
|
+
|
|
70
389
|
// src/components/radio/radio.tsx
|
|
71
390
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
72
391
|
var Radio = (0, import_react.forwardRef)((originalProps, ref) => {
|
|
73
|
-
const [props, variantProps] = mapPropsVariants(originalProps,
|
|
74
|
-
const { children, classNames, ...inputProps } = props;
|
|
75
|
-
const slots = (0, import_react.useMemo)(() =>
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
392
|
+
const [props, variantProps] = mapPropsVariants(originalProps, radioStyle.variantKeys);
|
|
393
|
+
const { children, classNames, labelPosition = "end", ...inputProps } = props;
|
|
394
|
+
const slots = (0, import_react.useMemo)(() => radioStyle({ ...variantProps }), [variantProps]);
|
|
395
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
396
|
+
"label",
|
|
397
|
+
{
|
|
398
|
+
className: clsx(
|
|
399
|
+
slots.base({ class: classNames == null ? void 0 : classNames.base }),
|
|
400
|
+
labelPosition === "start" && slots.labelReverse({ class: classNames == null ? void 0 : classNames.labelReverse })
|
|
401
|
+
),
|
|
402
|
+
children: [
|
|
403
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("input", { ...inputProps, type: "radio", ref }) }),
|
|
404
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.outerDot({ class: classNames == null ? void 0 : classNames.outerDot }), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.innerDot({ class: classNames == null ? void 0 : classNames.innerDot }) }) }),
|
|
405
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: slots.labelWrapper({ class: classNames == null ? void 0 : classNames.labelWrapper }), children: children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children }) })
|
|
406
|
+
]
|
|
407
|
+
}
|
|
81
408
|
);
|
|
82
|
-
const getInputProps = (0, import_react.useCallback)(() => {
|
|
83
|
-
return {
|
|
84
|
-
...inputProps,
|
|
85
|
-
type: "radio",
|
|
86
|
-
ref,
|
|
87
|
-
size: 0
|
|
88
|
-
};
|
|
89
|
-
}, [slots, classNames, inputProps]);
|
|
90
|
-
const getIconProps = (0, import_react.useCallback)(() => {
|
|
91
|
-
return {
|
|
92
|
-
className: slots.icon({ class: classNames == null ? void 0 : classNames.icon })
|
|
93
|
-
};
|
|
94
|
-
}, [slots, classNames]);
|
|
95
|
-
const getLabelProps = (0, import_react.useCallback)(() => {
|
|
96
|
-
return {
|
|
97
|
-
className: slots.label({ class: classNames == null ? void 0 : classNames.label })
|
|
98
|
-
};
|
|
99
|
-
}, [slots, classNames]);
|
|
100
|
-
const getLabelWrapperProps = (0, import_react.useCallback)(() => {
|
|
101
|
-
return {
|
|
102
|
-
className: slots.labelWrapper({ class: classNames == null ? void 0 : classNames.labelWrapper })
|
|
103
|
-
};
|
|
104
|
-
}, [slots, classNames]);
|
|
105
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("label", { ...getBaseProps(), children: [
|
|
106
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("input", { ...getInputProps() }) }),
|
|
107
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { ...getIconProps() }),
|
|
108
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { ...getLabelWrapperProps(), children: children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { ...getLabelProps(), children }) })
|
|
109
|
-
] });
|
|
110
409
|
});
|
|
111
410
|
Radio.displayName = "Radio";
|
|
112
411
|
var radio_default = Radio;
|
|
113
|
-
var
|
|
412
|
+
var radioStyle = tv({
|
|
114
413
|
slots: {
|
|
115
414
|
base: [
|
|
116
415
|
"group/radio",
|
|
@@ -122,109 +421,123 @@ var radio = tv({
|
|
|
122
421
|
"cursor-pointer",
|
|
123
422
|
"tap-highlight-transparent"
|
|
124
423
|
],
|
|
125
|
-
|
|
126
|
-
"relative",
|
|
424
|
+
outerDot: [
|
|
127
425
|
"inline-flex",
|
|
128
426
|
"items-center",
|
|
129
427
|
"justify-center",
|
|
428
|
+
"relative",
|
|
130
429
|
"flex-shrink-0",
|
|
131
|
-
"
|
|
132
|
-
|
|
430
|
+
"w-[15px]",
|
|
431
|
+
"h-[15px]",
|
|
432
|
+
"rounded-full",
|
|
433
|
+
"border",
|
|
434
|
+
"border-default",
|
|
133
435
|
"before:content-['']",
|
|
134
436
|
"before:absolute",
|
|
135
437
|
"before:inset-0",
|
|
136
|
-
"before:
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"after:scale-50",
|
|
148
|
-
"after:opacity-0",
|
|
149
|
-
"after:top-1/2",
|
|
150
|
-
"after:left-1/2",
|
|
151
|
-
"after:-translate-x-1/2",
|
|
152
|
-
"after:-translate-y-1/2",
|
|
153
|
-
"group-has-[:checked]/radio:after:opacity-100",
|
|
154
|
-
"group-has-[:checked]/radio:after:scale-100",
|
|
155
|
-
// hover
|
|
156
|
-
"group-hover/radio:before:bg-neutral-soft",
|
|
157
|
-
"before:transition duration-200",
|
|
158
|
-
// focus ring
|
|
159
|
-
"outline-none",
|
|
160
|
-
"group-focus/radio:z-10",
|
|
161
|
-
"group-focus/radio:ring-2",
|
|
162
|
-
"group-focus/radio:ring-focus",
|
|
163
|
-
"group-focus/radio:ring-offset-2",
|
|
164
|
-
"group-focus/radio:ring-offset-background"
|
|
438
|
+
"before:rounded-full"
|
|
439
|
+
],
|
|
440
|
+
innerDot: [
|
|
441
|
+
"inline-block",
|
|
442
|
+
"w-[8px]",
|
|
443
|
+
"h-[8px]",
|
|
444
|
+
"rounded-full",
|
|
445
|
+
"bg-primary-main",
|
|
446
|
+
"opacity-0",
|
|
447
|
+
"transition-opacity",
|
|
448
|
+
"group-has-[:checked]/radio:opacity-100"
|
|
165
449
|
],
|
|
166
|
-
labelWrapper: "flex flex-col",
|
|
167
|
-
|
|
450
|
+
labelWrapper: ["flex", "flex-col"],
|
|
451
|
+
labelReverse: ["flex-row-reverse"],
|
|
452
|
+
label: ["text-foreground", "select-none"]
|
|
168
453
|
},
|
|
169
454
|
variants: {
|
|
170
455
|
color: {
|
|
171
456
|
primary: {
|
|
172
|
-
|
|
457
|
+
outerDot: [
|
|
458
|
+
"group-has-[:checked]/radio:border-primary-main",
|
|
459
|
+
"group-has-[:checked]/radio:border-primary-main",
|
|
460
|
+
"group-hover/radio:border-primary-light",
|
|
461
|
+
"group-hover/radio:bg-primary-soft"
|
|
462
|
+
],
|
|
463
|
+
innerDot: ["bg-primary-main"]
|
|
173
464
|
},
|
|
174
465
|
secondary: {
|
|
175
|
-
|
|
466
|
+
outerDot: [
|
|
467
|
+
"group-has-[:checked]/radio:border-secondary-main",
|
|
468
|
+
"group-hover/radio:border-secondary-light",
|
|
469
|
+
"group-hover/radio:bg-secondary-soft"
|
|
470
|
+
],
|
|
471
|
+
innerDot: ["bg-secondary-main"]
|
|
472
|
+
},
|
|
473
|
+
neutral: {
|
|
474
|
+
outerDot: [
|
|
475
|
+
"group-has-[:checked]/radio:border-neutral-main",
|
|
476
|
+
"group-hover/radio:border-neutral-light",
|
|
477
|
+
"group-hover/radio:bg-neutral-soft"
|
|
478
|
+
],
|
|
479
|
+
innerDot: ["bg-neutral-main"]
|
|
176
480
|
}
|
|
177
481
|
},
|
|
178
482
|
size: {
|
|
179
483
|
sm: {
|
|
180
|
-
|
|
181
|
-
|
|
484
|
+
base: ["gap-[8px]"],
|
|
485
|
+
outerDot: ["w-[12px]", "h-[12px]", "border-sm"],
|
|
486
|
+
innerDot: ["w-[6px]", "h-[6px]"],
|
|
487
|
+
label: ["text-sm"]
|
|
182
488
|
},
|
|
183
489
|
md: {
|
|
184
|
-
|
|
185
|
-
|
|
490
|
+
base: ["gap-[8px]"],
|
|
491
|
+
outerDot: ["w-[15px]", "h-[15px]", "border-md"],
|
|
492
|
+
innerDot: ["w-[8px]", "h-[8px]"],
|
|
493
|
+
label: ["text-md"]
|
|
186
494
|
},
|
|
187
495
|
lg: {
|
|
188
|
-
|
|
189
|
-
|
|
496
|
+
base: ["gap-[10px]"],
|
|
497
|
+
outerDot: ["w-[18px]", "h-[18px]", "border-lg"],
|
|
498
|
+
innerDot: ["w-[10px]", "h-[10px]"],
|
|
499
|
+
label: ["text-lg"]
|
|
500
|
+
},
|
|
501
|
+
xl: {
|
|
502
|
+
base: ["gap-[10px]"],
|
|
503
|
+
outerDot: ["w-[21px]", "h-[21px]", "border-xl"],
|
|
504
|
+
innerDot: ["w-[12px]", "h-[12px]"],
|
|
505
|
+
label: ["text-xl"]
|
|
190
506
|
}
|
|
191
507
|
},
|
|
192
508
|
isInvalid: {
|
|
193
509
|
true: {
|
|
194
|
-
|
|
195
|
-
"
|
|
196
|
-
"
|
|
197
|
-
"group-
|
|
510
|
+
outerDot: [
|
|
511
|
+
"border-danger-main",
|
|
512
|
+
"group-has-[:checked]/radio:border-danger-main",
|
|
513
|
+
"group-hover/radio:border-danger-light",
|
|
514
|
+
"group-hover/radio:bg-danger-soft"
|
|
198
515
|
],
|
|
199
|
-
|
|
516
|
+
innerDot: ["bg-danger-main"],
|
|
517
|
+
label: ["text-danger-main"]
|
|
200
518
|
}
|
|
201
519
|
},
|
|
202
520
|
isDisabled: {
|
|
203
521
|
true: {
|
|
204
|
-
base: ["opacity-disabled", "pointer-events-
|
|
205
|
-
|
|
206
|
-
"
|
|
207
|
-
"
|
|
208
|
-
"
|
|
209
|
-
"group-has-[:checked]/radio:
|
|
522
|
+
base: ["opacity-disabled", "cursor-not-allowed", "pointer-events-auto", "text-neutral-light"],
|
|
523
|
+
outerDot: [
|
|
524
|
+
"cursor-not-allowed",
|
|
525
|
+
"border-neutral-light",
|
|
526
|
+
"bg-neutral-soft",
|
|
527
|
+
"group-has-[:checked]/radio:bg-neutral-soft",
|
|
528
|
+
"group-has-[:checked]/radio:border-neutral-light",
|
|
529
|
+
"group-hover/radio:border-neutral-light",
|
|
530
|
+
"group-hover/radio:bg-neutral-soft"
|
|
210
531
|
],
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
},
|
|
214
|
-
disableAnimation: {
|
|
215
|
-
true: {},
|
|
216
|
-
false: {
|
|
217
|
-
icon: ["group-active/radio:scale-95", "transition-transform-colors", "motion-reduce:transition-none"],
|
|
218
|
-
label: ["transition-colors", "motion-reduce:transition-none"]
|
|
532
|
+
innerDot: ["bg-neutral-soft"],
|
|
533
|
+
label: ["text-neutral-light"]
|
|
219
534
|
}
|
|
220
535
|
}
|
|
221
536
|
},
|
|
222
537
|
defaultVariants: {
|
|
223
538
|
color: "primary",
|
|
224
539
|
size: "md",
|
|
225
|
-
isDisabled: false
|
|
226
|
-
isInvalid: false,
|
|
227
|
-
disableAnimation: false
|
|
540
|
+
isDisabled: false
|
|
228
541
|
}
|
|
229
542
|
});
|
|
230
543
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
import "../../chunk-TPFN22HR.mjs";
|
|
3
3
|
import {
|
|
4
4
|
radio_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-56VCX2QR.mjs";
|
|
6
|
+
import "../../chunk-2ZT6V4QR.mjs";
|
|
7
|
+
import "../../chunk-27Y6K5NK.mjs";
|
|
6
8
|
import "../../chunk-E3G5QXSH.mjs";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-IZ6II3QA.mjs";
|
|
9
|
+
import "../../chunk-AC6TWLRT.mjs";
|
|
9
10
|
export {
|
|
10
11
|
radio_default as Radio
|
|
11
12
|
};
|