@tomo-inc/tomo-ui 0.0.11 → 0.0.13
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/README.md +217 -0
- package/dist/index.cjs +1069 -0
- package/dist/index.js +976 -0
- package/dist/tailwind/plugin.cjs +67 -0
- package/dist/tailwind/plugin.js +42 -0
- package/dist/theme/animations/index.d.mts +105 -0
- package/dist/theme/animations/index.d.ts +105 -0
- package/dist/theme/animations/index.js +133 -0
- package/dist/theme/animations/index.mjs +6 -0
- package/dist/theme/chunk-3HDE5SVQ.mjs +241 -0
- package/dist/theme/chunk-3K3T5W6T.mjs +210 -0
- package/dist/theme/chunk-3LKKH4AR.mjs +17 -0
- package/dist/theme/chunk-5UIRR2JQ.mjs +31 -0
- package/dist/theme/chunk-63DOJZ5V.mjs +108 -0
- package/dist/theme/chunk-6JJPIEK7.mjs +28 -0
- package/dist/theme/chunk-6N2H53XF.mjs +42 -0
- package/dist/theme/chunk-6PXDSEN7.mjs +418 -0
- package/dist/theme/chunk-7ZMFUXZH.mjs +229 -0
- package/dist/theme/chunk-A2K7D7MR.mjs +446 -0
- package/dist/theme/chunk-BSQAJJ3Q.mjs +164 -0
- package/dist/theme/chunk-CAM646RT.mjs +491 -0
- package/dist/theme/chunk-CR75Q2EZ.mjs +218 -0
- package/dist/theme/chunk-CT4RPJWF.mjs +17 -0
- package/dist/theme/chunk-CWYZ2GEH.mjs +0 -0
- package/dist/theme/chunk-D2DWF4OD.mjs +195 -0
- package/dist/theme/chunk-D2FF7S3A.mjs +188 -0
- package/dist/theme/chunk-D2XMP2NC.mjs +6 -0
- package/dist/theme/chunk-DCEG5LGX.mjs +17 -0
- package/dist/theme/chunk-DJLZADVO.mjs +33 -0
- package/dist/theme/chunk-DOGZ47O4.mjs +15 -0
- package/dist/theme/chunk-DWPAOIB3.mjs +341 -0
- package/dist/theme/chunk-FCBE5KQW.mjs +388 -0
- package/dist/theme/chunk-FNXKWQV3.mjs +247 -0
- package/dist/theme/chunk-G4RCK475.mjs +155 -0
- package/dist/theme/chunk-GCJZQJCJ.mjs +426 -0
- package/dist/theme/chunk-GHZ36ATJ.mjs +17 -0
- package/dist/theme/chunk-GQT3YUX3.mjs +77 -0
- package/dist/theme/chunk-GSRZWDGA.mjs +62 -0
- package/dist/theme/chunk-HN25UZIQ.mjs +372 -0
- package/dist/theme/chunk-HSSYMEQU.mjs +178 -0
- package/dist/theme/chunk-HUBDRSA4.mjs +49 -0
- package/dist/theme/chunk-IAS3SFA4.mjs +42 -0
- package/dist/theme/chunk-JGY6VQQQ.mjs +87 -0
- package/dist/theme/chunk-JUEOCLA3.mjs +17 -0
- package/dist/theme/chunk-KGFOLKLU.mjs +157 -0
- package/dist/theme/chunk-KUNVFLXJ.mjs +41 -0
- package/dist/theme/chunk-KUROSFJE.mjs +12 -0
- package/dist/theme/chunk-KXPLHLA6.mjs +109 -0
- package/dist/theme/chunk-L2OL7R23.mjs +17 -0
- package/dist/theme/chunk-M63AFAHO.mjs +0 -0
- package/dist/theme/chunk-MPVWW3DX.mjs +30 -0
- package/dist/theme/chunk-NY7ORCUI.mjs +36 -0
- package/dist/theme/chunk-O5X46N53.mjs +21 -0
- package/dist/theme/chunk-OA5N2ZUW.mjs +385 -0
- package/dist/theme/chunk-OR5PUD24.mjs +17 -0
- package/dist/theme/chunk-OZTMQS2F.mjs +496 -0
- package/dist/theme/chunk-PI7LN7ID.mjs +449 -0
- package/dist/theme/chunk-PLHTHAXH.mjs +63 -0
- package/dist/theme/chunk-POSTVCTR.mjs +18 -0
- package/dist/theme/chunk-QPMYACSN.mjs +140 -0
- package/dist/theme/chunk-QZTWGJ72.mjs +16 -0
- package/dist/theme/chunk-R2M62V4J.mjs +417 -0
- package/dist/theme/chunk-RUIUXVZ4.mjs +26 -0
- package/dist/theme/chunk-S4SSZHUU.mjs +60 -0
- package/dist/theme/chunk-SBOMX3YT.mjs +21 -0
- package/dist/theme/chunk-SCJBZBCG.mjs +308 -0
- package/dist/theme/chunk-SJ6TR3DD.mjs +0 -0
- package/dist/theme/chunk-SJT6KBYE.mjs +62 -0
- package/dist/theme/chunk-SZIFQ3NN.mjs +288 -0
- package/dist/theme/chunk-T3GWIVAM.mjs +17 -0
- package/dist/theme/chunk-TFDLNKJZ.mjs +891 -0
- package/dist/theme/chunk-TX3FPB7D.mjs +28 -0
- package/dist/theme/chunk-UFVD3L5A.mjs +33 -0
- package/dist/theme/chunk-UQQ5KWB7.mjs +844 -0
- package/dist/theme/chunk-US4SNHVL.mjs +12 -0
- package/dist/theme/chunk-USYXK6WO.mjs +852 -0
- package/dist/theme/chunk-WBQAMGXK.mjs +0 -0
- package/dist/theme/chunk-WH6SPIFG.mjs +30 -0
- package/dist/theme/chunk-WQEDQHKX.mjs +0 -0
- package/dist/theme/chunk-WY2VNUPE.mjs +98 -0
- package/dist/theme/chunk-XRG7KRVS.mjs +310 -0
- package/dist/theme/chunk-YJLQTC7L.mjs +0 -0
- package/dist/theme/chunk-YOGOMZU6.mjs +465 -0
- package/dist/theme/chunk-YZFP7WEH.mjs +193 -0
- package/dist/theme/chunk-YZXRWBZX.mjs +24 -0
- package/dist/theme/chunk-YZYGFPNK.mjs +17 -0
- package/dist/theme/chunk-ZQGNWTBN.mjs +450 -0
- package/dist/theme/colors/blue.d.mts +14 -0
- package/dist/theme/colors/blue.d.ts +14 -0
- package/dist/theme/colors/blue.js +41 -0
- package/dist/theme/colors/blue.mjs +6 -0
- package/dist/theme/colors/common.d.mts +103 -0
- package/dist/theme/colors/common.d.ts +103 -0
- package/dist/theme/colors/common.js +155 -0
- package/dist/theme/colors/common.mjs +14 -0
- package/dist/theme/colors/cyan.d.mts +14 -0
- package/dist/theme/colors/cyan.d.ts +14 -0
- package/dist/theme/colors/cyan.js +41 -0
- package/dist/theme/colors/cyan.mjs +6 -0
- package/dist/theme/colors/green.d.mts +14 -0
- package/dist/theme/colors/green.d.ts +14 -0
- package/dist/theme/colors/green.js +41 -0
- package/dist/theme/colors/green.mjs +6 -0
- package/dist/theme/colors/index.d.mts +109 -0
- package/dist/theme/colors/index.d.ts +109 -0
- package/dist/theme/colors/index.js +339 -0
- package/dist/theme/colors/index.mjs +24 -0
- package/dist/theme/colors/pink.d.mts +14 -0
- package/dist/theme/colors/pink.d.ts +14 -0
- package/dist/theme/colors/pink.js +41 -0
- package/dist/theme/colors/pink.mjs +6 -0
- package/dist/theme/colors/purple.d.mts +14 -0
- package/dist/theme/colors/purple.d.ts +14 -0
- package/dist/theme/colors/purple.js +41 -0
- package/dist/theme/colors/purple.mjs +6 -0
- package/dist/theme/colors/red.d.mts +14 -0
- package/dist/theme/colors/red.d.ts +14 -0
- package/dist/theme/colors/red.js +41 -0
- package/dist/theme/colors/red.mjs +6 -0
- package/dist/theme/colors/semantic.d.mts +10 -0
- package/dist/theme/colors/semantic.d.ts +10 -0
- package/dist/theme/colors/semantic.js +331 -0
- package/dist/theme/colors/semantic.mjs +20 -0
- package/dist/theme/colors/types.d.mts +39 -0
- package/dist/theme/colors/types.d.ts +39 -0
- package/dist/theme/colors/types.js +18 -0
- package/dist/theme/colors/types.mjs +1 -0
- package/dist/theme/colors/yellow.d.mts +14 -0
- package/dist/theme/colors/yellow.d.ts +14 -0
- package/dist/theme/colors/yellow.js +41 -0
- package/dist/theme/colors/yellow.mjs +6 -0
- package/dist/theme/colors/zinc.d.mts +14 -0
- package/dist/theme/colors/zinc.d.ts +14 -0
- package/dist/theme/colors/zinc.js +41 -0
- package/dist/theme/colors/zinc.mjs +6 -0
- package/dist/theme/colors.d.mts +4 -0
- package/dist/theme/colors.d.ts +4 -0
- package/dist/theme/colors.js +339 -0
- package/dist/theme/colors.mjs +25 -0
- package/dist/theme/components/accordion.d.mts +228 -0
- package/dist/theme/components/accordion.d.ts +228 -0
- package/dist/theme/components/accordion.js +334 -0
- package/dist/theme/components/accordion.mjs +21 -0
- package/dist/theme/components/alert.d.mts +211 -0
- package/dist/theme/components/alert.d.ts +211 -0
- package/dist/theme/components/alert.js +641 -0
- package/dist/theme/components/alert.mjs +19 -0
- package/dist/theme/components/autocomplete.d.mts +95 -0
- package/dist/theme/components/autocomplete.d.ts +95 -0
- package/dist/theme/components/autocomplete.js +292 -0
- package/dist/theme/components/autocomplete.mjs +14 -0
- package/dist/theme/components/avatar.d.mts +300 -0
- package/dist/theme/components/avatar.d.ts +300 -0
- package/dist/theme/components/avatar.js +508 -0
- package/dist/theme/components/avatar.mjs +21 -0
- package/dist/theme/components/badge.d.mts +223 -0
- package/dist/theme/components/badge.d.ts +223 -0
- package/dist/theme/components/badge.js +688 -0
- package/dist/theme/components/badge.mjs +19 -0
- package/dist/theme/components/breadcrumbs.d.mts +379 -0
- package/dist/theme/components/breadcrumbs.d.ts +379 -0
- package/dist/theme/components/breadcrumbs.js +481 -0
- package/dist/theme/components/breadcrumbs.mjs +21 -0
- package/dist/theme/components/button.d.mts +188 -0
- package/dist/theme/components/button.d.ts +188 -0
- package/dist/theme/components/button.js +766 -0
- package/dist/theme/components/button.mjs +21 -0
- package/dist/theme/components/calendar.d.mts +279 -0
- package/dist/theme/components/calendar.d.ts +279 -0
- package/dist/theme/components/calendar.js +679 -0
- package/dist/theme/components/calendar.mjs +19 -0
- package/dist/theme/components/card.d.mts +257 -0
- package/dist/theme/components/card.d.ts +257 -0
- package/dist/theme/components/card.js +392 -0
- package/dist/theme/components/card.mjs +19 -0
- package/dist/theme/components/checkbox.d.mts +375 -0
- package/dist/theme/components/checkbox.d.ts +375 -0
- package/dist/theme/components/checkbox.js +478 -0
- package/dist/theme/components/checkbox.mjs +21 -0
- package/dist/theme/components/chip.d.mts +340 -0
- package/dist/theme/components/chip.d.ts +340 -0
- package/dist/theme/components/chip.js +802 -0
- package/dist/theme/components/chip.mjs +19 -0
- package/dist/theme/components/code.d.mts +80 -0
- package/dist/theme/components/code.d.ts +80 -0
- package/dist/theme/components/code.js +342 -0
- package/dist/theme/components/code.mjs +19 -0
- package/dist/theme/components/date-input.d.mts +377 -0
- package/dist/theme/components/date-input.d.ts +377 -0
- package/dist/theme/components/date-input.js +694 -0
- package/dist/theme/components/date-input.mjs +14 -0
- package/dist/theme/components/date-picker.d.mts +220 -0
- package/dist/theme/components/date-picker.d.ts +220 -0
- package/dist/theme/components/date-picker.js +261 -0
- package/dist/theme/components/date-picker.mjs +16 -0
- package/dist/theme/components/divider.d.mts +31 -0
- package/dist/theme/components/divider.d.ts +31 -0
- package/dist/theme/components/divider.js +250 -0
- package/dist/theme/components/divider.mjs +14 -0
- package/dist/theme/components/drawer.d.mts +169 -0
- package/dist/theme/components/drawer.d.ts +169 -0
- package/dist/theme/components/drawer.js +291 -0
- package/dist/theme/components/drawer.mjs +14 -0
- package/dist/theme/components/drip.d.mts +13 -0
- package/dist/theme/components/drip.d.ts +13 -0
- package/dist/theme/components/drip.js +241 -0
- package/dist/theme/components/drip.mjs +14 -0
- package/dist/theme/components/dropdown.d.mts +247 -0
- package/dist/theme/components/dropdown.d.ts +247 -0
- package/dist/theme/components/dropdown.js +610 -0
- package/dist/theme/components/dropdown.mjs +25 -0
- package/dist/theme/components/form.d.mts +19 -0
- package/dist/theme/components/form.d.ts +19 -0
- package/dist/theme/components/form.js +241 -0
- package/dist/theme/components/form.mjs +14 -0
- package/dist/theme/components/image.d.mts +174 -0
- package/dist/theme/components/image.d.ts +174 -0
- package/dist/theme/components/image.js +369 -0
- package/dist/theme/components/image.mjs +14 -0
- package/dist/theme/components/index.d.mts +46 -0
- package/dist/theme/components/index.d.ts +46 -0
- package/dist/theme/components/index.js +11850 -0
- package/dist/theme/components/index.mjs +226 -0
- package/dist/theme/components/input-otp.d.mts +282 -0
- package/dist/theme/components/input-otp.d.ts +282 -0
- package/dist/theme/components/input-otp.js +684 -0
- package/dist/theme/components/input-otp.mjs +19 -0
- package/dist/theme/components/input.d.mts +458 -0
- package/dist/theme/components/input.d.ts +458 -0
- package/dist/theme/components/input.js +1133 -0
- package/dist/theme/components/input.mjs +19 -0
- package/dist/theme/components/kbd.d.mts +50 -0
- package/dist/theme/components/kbd.d.ts +50 -0
- package/dist/theme/components/kbd.js +262 -0
- package/dist/theme/components/kbd.mjs +14 -0
- package/dist/theme/components/link.d.mts +107 -0
- package/dist/theme/components/link.d.ts +107 -0
- package/dist/theme/components/link.js +344 -0
- package/dist/theme/components/link.mjs +21 -0
- package/dist/theme/components/listbox.d.mts +3 -0
- package/dist/theme/components/listbox.d.ts +3 -0
- package/dist/theme/components/listbox.js +728 -0
- package/dist/theme/components/listbox.mjs +24 -0
- package/dist/theme/components/menu.d.mts +324 -0
- package/dist/theme/components/menu.d.ts +324 -0
- package/dist/theme/components/menu.js +728 -0
- package/dist/theme/components/menu.mjs +23 -0
- package/dist/theme/components/modal.d.mts +380 -0
- package/dist/theme/components/modal.d.ts +380 -0
- package/dist/theme/components/modal.js +428 -0
- package/dist/theme/components/modal.mjs +19 -0
- package/dist/theme/components/navbar.d.mts +246 -0
- package/dist/theme/components/navbar.d.ts +246 -0
- package/dist/theme/components/navbar.js +445 -0
- package/dist/theme/components/navbar.mjs +19 -0
- package/dist/theme/components/number-input.d.mts +461 -0
- package/dist/theme/components/number-input.d.ts +461 -0
- package/dist/theme/components/number-input.js +1094 -0
- package/dist/theme/components/number-input.mjs +19 -0
- package/dist/theme/components/pagination.d.mts +282 -0
- package/dist/theme/components/pagination.d.ts +282 -0
- package/dist/theme/components/pagination.js +732 -0
- package/dist/theme/components/pagination.mjs +19 -0
- package/dist/theme/components/popover.d.mts +339 -0
- package/dist/theme/components/popover.d.ts +339 -0
- package/dist/theme/components/popover.js +494 -0
- package/dist/theme/components/popover.mjs +19 -0
- package/dist/theme/components/progress.d.mts +498 -0
- package/dist/theme/components/progress.d.ts +498 -0
- package/dist/theme/components/progress.js +471 -0
- package/dist/theme/components/progress.mjs +16 -0
- package/dist/theme/components/radio.d.mts +354 -0
- package/dist/theme/components/radio.d.ts +354 -0
- package/dist/theme/components/radio.js +424 -0
- package/dist/theme/components/radio.mjs +21 -0
- package/dist/theme/components/scroll-shadow.d.mts +45 -0
- package/dist/theme/components/scroll-shadow.d.ts +45 -0
- package/dist/theme/components/scroll-shadow.js +265 -0
- package/dist/theme/components/scroll-shadow.mjs +14 -0
- package/dist/theme/components/select.d.mts +515 -0
- package/dist/theme/components/select.d.ts +515 -0
- package/dist/theme/components/select.js +1077 -0
- package/dist/theme/components/select.mjs +19 -0
- package/dist/theme/components/skeleton.d.mts +60 -0
- package/dist/theme/components/skeleton.d.ts +60 -0
- package/dist/theme/components/skeleton.js +289 -0
- package/dist/theme/components/skeleton.mjs +14 -0
- package/dist/theme/components/slider.d.mts +482 -0
- package/dist/theme/components/slider.d.ts +482 -0
- package/dist/theme/components/slider.js +618 -0
- package/dist/theme/components/slider.mjs +19 -0
- package/dist/theme/components/snippet.d.mts +206 -0
- package/dist/theme/components/snippet.d.ts +206 -0
- package/dist/theme/components/snippet.js +610 -0
- package/dist/theme/components/snippet.mjs +19 -0
- package/dist/theme/components/spacer.d.mts +31 -0
- package/dist/theme/components/spacer.d.ts +31 -0
- package/dist/theme/components/spacer.js +250 -0
- package/dist/theme/components/spacer.mjs +14 -0
- package/dist/theme/components/spinner.d.mts +398 -0
- package/dist/theme/components/spinner.d.ts +398 -0
- package/dist/theme/components/spinner.js +537 -0
- package/dist/theme/components/spinner.mjs +14 -0
- package/dist/theme/components/table.d.mts +428 -0
- package/dist/theme/components/table.d.ts +428 -0
- package/dist/theme/components/table.js +521 -0
- package/dist/theme/components/table.mjs +19 -0
- package/dist/theme/components/tabs.d.mts +359 -0
- package/dist/theme/components/tabs.d.ts +359 -0
- package/dist/theme/components/tabs.js +724 -0
- package/dist/theme/components/tabs.mjs +19 -0
- package/dist/theme/components/toast.d.mts +329 -0
- package/dist/theme/components/toast.d.ts +329 -0
- package/dist/theme/components/toast.js +718 -0
- package/dist/theme/components/toast.mjs +21 -0
- package/dist/theme/components/toggle.d.mts +243 -0
- package/dist/theme/components/toggle.d.ts +243 -0
- package/dist/theme/components/toggle.js +437 -0
- package/dist/theme/components/toggle.mjs +19 -0
- package/dist/theme/components/user.d.mts +63 -0
- package/dist/theme/components/user.d.ts +63 -0
- package/dist/theme/components/user.js +259 -0
- package/dist/theme/components/user.mjs +19 -0
- package/dist/theme/default-layout.d.mts +8 -0
- package/dist/theme/default-layout.d.ts +8 -0
- package/dist/theme/default-layout.js +75 -0
- package/dist/theme/default-layout.mjs +10 -0
- package/dist/theme/index.d.mts +62 -0
- package/dist/theme/index.d.ts +62 -0
- package/dist/theme/index.js +12601 -0
- package/dist/theme/index.mjs +300 -0
- package/dist/theme/plugin.d.mts +12 -0
- package/dist/theme/plugin.d.ts +12 -0
- package/dist/theme/plugin.js +866 -0
- package/dist/theme/plugin.mjs +30 -0
- package/dist/theme/types.d.mts +138 -0
- package/dist/theme/types.d.ts +138 -0
- package/dist/theme/types.js +18 -0
- package/dist/theme/types.mjs +1 -0
- package/dist/theme/utilities/animation.d.mts +15 -0
- package/dist/theme/utilities/animation.d.ts +15 -0
- package/dist/theme/utilities/animation.js +38 -0
- package/dist/theme/utilities/animation.mjs +6 -0
- package/dist/theme/utilities/custom.d.mts +27 -0
- package/dist/theme/utilities/custom.d.ts +27 -0
- package/dist/theme/utilities/custom.js +50 -0
- package/dist/theme/utilities/custom.mjs +6 -0
- package/dist/theme/utilities/index.d.mts +114 -0
- package/dist/theme/utilities/index.d.ts +114 -0
- package/dist/theme/utilities/index.js +188 -0
- package/dist/theme/utilities/index.mjs +11 -0
- package/dist/theme/utilities/scrollbar-hide.d.mts +24 -0
- package/dist/theme/utilities/scrollbar-hide.d.ts +24 -0
- package/dist/theme/utilities/scrollbar-hide.js +50 -0
- package/dist/theme/utilities/scrollbar-hide.mjs +6 -0
- package/dist/theme/utilities/text.d.mts +23 -0
- package/dist/theme/utilities/text.d.ts +23 -0
- package/dist/theme/utilities/text.js +46 -0
- package/dist/theme/utilities/text.mjs +6 -0
- package/dist/theme/utilities/transition.d.mts +58 -0
- package/dist/theme/utilities/transition.d.ts +58 -0
- package/dist/theme/utilities/transition.js +86 -0
- package/dist/theme/utilities/transition.mjs +8 -0
- package/dist/theme/utils/classes.d.mts +35 -0
- package/dist/theme/utils/classes.d.ts +35 -0
- package/dist/theme/utils/classes.js +119 -0
- package/dist/theme/utils/classes.mjs +22 -0
- package/dist/theme/utils/cn.d.mts +5 -0
- package/dist/theme/utils/cn.d.ts +5 -0
- package/dist/theme/utils/cn.js +231 -0
- package/dist/theme/utils/cn.mjs +13 -0
- package/dist/theme/utils/index.d.mts +8 -0
- package/dist/theme/utils/index.d.ts +8 -0
- package/dist/theme/utils/index.js +421 -0
- package/dist/theme/utils/index.mjs +47 -0
- package/dist/theme/utils/merge-classes.d.mts +12 -0
- package/dist/theme/utils/merge-classes.d.ts +12 -0
- package/dist/theme/utils/merge-classes.js +41 -0
- package/dist/theme/utils/merge-classes.mjs +6 -0
- package/dist/theme/utils/object.d.mts +12 -0
- package/dist/theme/utils/object.d.ts +12 -0
- package/dist/theme/utils/object.js +77 -0
- package/dist/theme/utils/object.mjs +10 -0
- package/dist/theme/utils/theme.d.mts +9 -0
- package/dist/theme/utils/theme.d.ts +9 -0
- package/dist/theme/utils/theme.js +30 -0
- package/dist/theme/utils/theme.mjs +6 -0
- package/dist/theme/utils/tv.d.mts +5 -0
- package/dist/theme/utils/tv.d.ts +5 -0
- package/dist/theme/utils/tv.js +234 -0
- package/dist/theme/utils/tv.mjs +13 -0
- package/dist/theme/utils/tw-merge-config.d.mts +25 -0
- package/dist/theme/utils/tw-merge-config.d.ts +25 -0
- package/dist/theme/utils/tw-merge-config.js +215 -0
- package/dist/theme/utils/tw-merge-config.mjs +14 -0
- package/dist/theme/utils/types.d.mts +10 -0
- package/dist/theme/utils/types.d.ts +10 -0
- package/dist/theme/utils/types.js +18 -0
- package/dist/theme/utils/types.mjs +0 -0
- package/dist/theme/utils/variants.d.mts +67 -0
- package/dist/theme/utils/variants.d.ts +67 -0
- package/dist/theme/utils/variants.js +101 -0
- package/dist/theme/utils/variants.mjs +6 -0
- package/package.json +22 -8
- package/project.json +15 -8
- package/scripts/copy-heroui-theme.mjs +26 -0
- package/src/components/formatted-number/type.ts +7 -5
- package/src/components/mfaTypeChoose/index.tsx +2 -1
- package/src/index.ts +3 -1
- package/src/tailwind/plugin.ts +2 -188
- package/src/theme-context.tsx +6 -1
- package/src/theme-provider.tsx +1 -1
- package/src/types.ts +1 -0
- package/tsup.config.ts +16 -0
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
import {
|
|
2
|
+
tv
|
|
3
|
+
} from "./chunk-TX3FPB7D.mjs";
|
|
4
|
+
|
|
5
|
+
// src/components/spinner.ts
|
|
6
|
+
var spinner = tv({
|
|
7
|
+
slots: {
|
|
8
|
+
base: "relative inline-flex flex-col gap-2 items-center justify-center",
|
|
9
|
+
wrapper: "relative flex",
|
|
10
|
+
label: "text-foreground dark:text-foreground-dark font-regular",
|
|
11
|
+
circle1: "absolute w-full h-full rounded-full",
|
|
12
|
+
circle2: "absolute w-full h-full rounded-full",
|
|
13
|
+
dots: "relative rounded-full mx-auto",
|
|
14
|
+
spinnerBars: [
|
|
15
|
+
"absolute",
|
|
16
|
+
"animate-fade-out",
|
|
17
|
+
"rounded-full",
|
|
18
|
+
"w-[25%]",
|
|
19
|
+
"h-[8%]",
|
|
20
|
+
"left-[calc(37.5%)]",
|
|
21
|
+
"top-[calc(46%)]",
|
|
22
|
+
"spinner-bar-animation"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
variants: {
|
|
26
|
+
size: {
|
|
27
|
+
sm: {
|
|
28
|
+
wrapper: "w-5 h-5",
|
|
29
|
+
circle1: "border-2",
|
|
30
|
+
circle2: "border-2",
|
|
31
|
+
dots: "size-1",
|
|
32
|
+
label: "text-small"
|
|
33
|
+
},
|
|
34
|
+
md: {
|
|
35
|
+
wrapper: "w-8 h-8",
|
|
36
|
+
circle1: "border-3",
|
|
37
|
+
circle2: "border-3",
|
|
38
|
+
dots: "size-1.5",
|
|
39
|
+
label: "text-medium"
|
|
40
|
+
},
|
|
41
|
+
lg: {
|
|
42
|
+
wrapper: "w-10 h-10",
|
|
43
|
+
circle1: "border-3",
|
|
44
|
+
circle2: "border-3",
|
|
45
|
+
dots: "size-2",
|
|
46
|
+
label: "text-large"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
color: {
|
|
50
|
+
current: {
|
|
51
|
+
circle1: "border-b-current",
|
|
52
|
+
circle2: "border-b-current",
|
|
53
|
+
dots: "bg-current",
|
|
54
|
+
spinnerBars: "bg-current"
|
|
55
|
+
},
|
|
56
|
+
white: {
|
|
57
|
+
circle1: "border-b-white",
|
|
58
|
+
circle2: "border-b-white",
|
|
59
|
+
dots: "bg-white",
|
|
60
|
+
spinnerBars: "bg-white"
|
|
61
|
+
},
|
|
62
|
+
default: {
|
|
63
|
+
circle1: "border-b-default",
|
|
64
|
+
circle2: "border-b-default",
|
|
65
|
+
dots: "bg-default",
|
|
66
|
+
spinnerBars: "bg-default"
|
|
67
|
+
},
|
|
68
|
+
primary: {
|
|
69
|
+
circle1: "border-b-primary",
|
|
70
|
+
circle2: "border-b-primary",
|
|
71
|
+
dots: "bg-primary",
|
|
72
|
+
spinnerBars: "bg-primary"
|
|
73
|
+
},
|
|
74
|
+
secondary: {
|
|
75
|
+
circle1: "border-b-secondary",
|
|
76
|
+
circle2: "border-b-secondary",
|
|
77
|
+
dots: "bg-secondary",
|
|
78
|
+
spinnerBars: "bg-secondary"
|
|
79
|
+
},
|
|
80
|
+
success: {
|
|
81
|
+
circle1: "border-b-success",
|
|
82
|
+
circle2: "border-b-success",
|
|
83
|
+
dots: "bg-success",
|
|
84
|
+
spinnerBars: "bg-success"
|
|
85
|
+
},
|
|
86
|
+
warning: {
|
|
87
|
+
circle1: "border-b-warning",
|
|
88
|
+
circle2: "border-b-warning",
|
|
89
|
+
dots: "bg-warning",
|
|
90
|
+
spinnerBars: "bg-warning"
|
|
91
|
+
},
|
|
92
|
+
danger: {
|
|
93
|
+
circle1: "border-b-danger",
|
|
94
|
+
circle2: "border-b-danger",
|
|
95
|
+
dots: "bg-danger",
|
|
96
|
+
spinnerBars: "bg-danger"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
labelColor: {
|
|
100
|
+
foreground: {
|
|
101
|
+
label: "text-foreground"
|
|
102
|
+
},
|
|
103
|
+
primary: {
|
|
104
|
+
label: "text-primary"
|
|
105
|
+
},
|
|
106
|
+
secondary: {
|
|
107
|
+
label: "text-secondary"
|
|
108
|
+
},
|
|
109
|
+
success: {
|
|
110
|
+
label: "text-success"
|
|
111
|
+
},
|
|
112
|
+
warning: {
|
|
113
|
+
label: "text-warning"
|
|
114
|
+
},
|
|
115
|
+
danger: {
|
|
116
|
+
label: "text-danger"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
variant: {
|
|
120
|
+
default: {
|
|
121
|
+
circle1: [
|
|
122
|
+
"animate-spinner-ease-spin",
|
|
123
|
+
"border-solid",
|
|
124
|
+
"border-t-transparent",
|
|
125
|
+
"border-l-transparent",
|
|
126
|
+
"border-r-transparent"
|
|
127
|
+
],
|
|
128
|
+
circle2: [
|
|
129
|
+
"opacity-75",
|
|
130
|
+
"animate-spinner-linear-spin",
|
|
131
|
+
"border-dotted",
|
|
132
|
+
"border-t-transparent",
|
|
133
|
+
"border-l-transparent",
|
|
134
|
+
"border-r-transparent"
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
gradient: {
|
|
138
|
+
circle1: [
|
|
139
|
+
"border-0",
|
|
140
|
+
"bg-gradient-to-b",
|
|
141
|
+
"from-transparent",
|
|
142
|
+
"via-transparent",
|
|
143
|
+
"to-primary",
|
|
144
|
+
"animate-spinner-linear-spin",
|
|
145
|
+
"[animation-duration:1s]",
|
|
146
|
+
"[-webkit-mask:radial-gradient(closest-side,rgba(0,0,0,0.0)calc(100%-3px),rgba(0,0,0,1)calc(100%-3px))]"
|
|
147
|
+
],
|
|
148
|
+
circle2: ["hidden"]
|
|
149
|
+
},
|
|
150
|
+
wave: {
|
|
151
|
+
wrapper: "translate-y-3/4",
|
|
152
|
+
dots: ["animate-sway", "spinner-dot-animation"]
|
|
153
|
+
},
|
|
154
|
+
dots: {
|
|
155
|
+
wrapper: "translate-y-2/4",
|
|
156
|
+
dots: ["animate-blink", "spinner-dot-blink-animation"]
|
|
157
|
+
},
|
|
158
|
+
spinner: {},
|
|
159
|
+
simple: {
|
|
160
|
+
wrapper: "text-foreground h-5 w-5 animate-spin",
|
|
161
|
+
circle1: "opacity-25",
|
|
162
|
+
circle2: "opacity-75"
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
defaultVariants: {
|
|
167
|
+
size: "md",
|
|
168
|
+
color: "primary",
|
|
169
|
+
labelColor: "foreground",
|
|
170
|
+
variant: "default"
|
|
171
|
+
},
|
|
172
|
+
compoundVariants: [
|
|
173
|
+
{ variant: "gradient", color: "current", class: { circle1: "to-current" } },
|
|
174
|
+
{ variant: "gradient", color: "white", class: { circle1: "to-white" } },
|
|
175
|
+
{ variant: "gradient", color: "default", class: { circle1: "to-default" } },
|
|
176
|
+
{ variant: "gradient", color: "primary", class: { circle1: "to-primary" } },
|
|
177
|
+
{ variant: "gradient", color: "secondary", class: { circle1: "to-secondary" } },
|
|
178
|
+
{ variant: "gradient", color: "success", class: { circle1: "to-success" } },
|
|
179
|
+
{ variant: "gradient", color: "warning", class: { circle1: "to-warning" } },
|
|
180
|
+
{ variant: "gradient", color: "danger", class: { circle1: "to-danger" } },
|
|
181
|
+
{
|
|
182
|
+
variant: "wave",
|
|
183
|
+
size: "sm",
|
|
184
|
+
class: {
|
|
185
|
+
wrapper: "w-5 h-5"
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
variant: "wave",
|
|
190
|
+
size: "md",
|
|
191
|
+
class: {
|
|
192
|
+
wrapper: "w-8 h-8"
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
variant: "wave",
|
|
197
|
+
size: "lg",
|
|
198
|
+
class: {
|
|
199
|
+
wrapper: "w-12 h-12"
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
variant: "dots",
|
|
204
|
+
size: "sm",
|
|
205
|
+
class: {
|
|
206
|
+
wrapper: "w-5 h-5"
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
variant: "dots",
|
|
211
|
+
size: "md",
|
|
212
|
+
class: {
|
|
213
|
+
wrapper: "w-8 h-8"
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
variant: "dots",
|
|
218
|
+
size: "lg",
|
|
219
|
+
class: {
|
|
220
|
+
wrapper: "w-12 h-12"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
// Simple variants
|
|
224
|
+
// Size
|
|
225
|
+
{
|
|
226
|
+
variant: "simple",
|
|
227
|
+
size: "sm",
|
|
228
|
+
class: {
|
|
229
|
+
wrapper: "w-5 h-5"
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
variant: "simple",
|
|
234
|
+
size: "md",
|
|
235
|
+
class: {
|
|
236
|
+
wrapper: "w-8 h-8"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
variant: "simple",
|
|
241
|
+
size: "lg",
|
|
242
|
+
class: {
|
|
243
|
+
wrapper: "w-12 h-12"
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
// Color
|
|
247
|
+
{
|
|
248
|
+
variant: "simple",
|
|
249
|
+
color: "current",
|
|
250
|
+
class: {
|
|
251
|
+
wrapper: "text-current"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
variant: "simple",
|
|
256
|
+
color: "white",
|
|
257
|
+
class: {
|
|
258
|
+
wrapper: "text-white"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
variant: "simple",
|
|
263
|
+
color: "default",
|
|
264
|
+
class: {
|
|
265
|
+
wrapper: "text-default"
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
variant: "simple",
|
|
270
|
+
color: "primary",
|
|
271
|
+
class: {
|
|
272
|
+
wrapper: "text-primary"
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
variant: "simple",
|
|
277
|
+
color: "secondary",
|
|
278
|
+
class: {
|
|
279
|
+
wrapper: "text-secondary"
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
variant: "simple",
|
|
284
|
+
color: "success",
|
|
285
|
+
class: {
|
|
286
|
+
wrapper: "text-success"
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
variant: "simple",
|
|
291
|
+
color: "warning",
|
|
292
|
+
class: {
|
|
293
|
+
wrapper: "text-warning"
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
variant: "simple",
|
|
298
|
+
color: "danger",
|
|
299
|
+
class: {
|
|
300
|
+
wrapper: "text-danger"
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
]
|
|
304
|
+
});
|
|
305
|
+
|
|
306
|
+
export {
|
|
307
|
+
spinner
|
|
308
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import {
|
|
2
|
+
tv
|
|
3
|
+
} from "./chunk-TX3FPB7D.mjs";
|
|
4
|
+
|
|
5
|
+
// src/components/drawer.ts
|
|
6
|
+
var drawer = tv({
|
|
7
|
+
slots: {
|
|
8
|
+
base: ["absolute", "m-0", "sm:m-0", "overflow-y-auto"]
|
|
9
|
+
},
|
|
10
|
+
variants: {
|
|
11
|
+
size: {
|
|
12
|
+
xs: {
|
|
13
|
+
base: "max-w-xs max-h-[20rem]"
|
|
14
|
+
},
|
|
15
|
+
sm: {
|
|
16
|
+
base: "max-w-sm max-h-[24rem]"
|
|
17
|
+
},
|
|
18
|
+
md: {
|
|
19
|
+
base: "max-w-md max-h-[28rem]"
|
|
20
|
+
},
|
|
21
|
+
lg: {
|
|
22
|
+
base: "max-w-lg max-h-[32rem]"
|
|
23
|
+
},
|
|
24
|
+
xl: {
|
|
25
|
+
base: "max-w-xl max-h-[36rem]"
|
|
26
|
+
},
|
|
27
|
+
"2xl": {
|
|
28
|
+
base: "max-w-2xl max-h-[42rem]"
|
|
29
|
+
},
|
|
30
|
+
"3xl": {
|
|
31
|
+
base: "max-w-3xl max-h-[48rem]"
|
|
32
|
+
},
|
|
33
|
+
"4xl": {
|
|
34
|
+
base: "max-w-4xl max-h-[56rem]"
|
|
35
|
+
},
|
|
36
|
+
"5xl": {
|
|
37
|
+
base: "max-w-5xl max-h-[64rem]"
|
|
38
|
+
},
|
|
39
|
+
full: {
|
|
40
|
+
base: "max-w-full max-h-full h-[100dvh] !rounded-none"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
placement: {
|
|
44
|
+
top: {
|
|
45
|
+
base: "inset-x-0 top-0 max-w-[none] rounded-t-none"
|
|
46
|
+
},
|
|
47
|
+
right: {
|
|
48
|
+
base: "inset-y-0 right-0 max-h-[none] rounded-r-none"
|
|
49
|
+
},
|
|
50
|
+
bottom: {
|
|
51
|
+
base: "inset-x-0 bottom-0 max-w-[none] rounded-b-none"
|
|
52
|
+
},
|
|
53
|
+
left: {
|
|
54
|
+
base: "inset-y-0 left-0 max-h-[none] rounded-l-none"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
export {
|
|
61
|
+
drawer
|
|
62
|
+
};
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
import {
|
|
2
|
+
tv
|
|
3
|
+
} from "./chunk-TX3FPB7D.mjs";
|
|
4
|
+
import {
|
|
5
|
+
dataFocusVisibleClasses
|
|
6
|
+
} from "./chunk-JGY6VQQQ.mjs";
|
|
7
|
+
|
|
8
|
+
// src/components/table.ts
|
|
9
|
+
var table = tv({
|
|
10
|
+
slots: {
|
|
11
|
+
base: "flex flex-col relative gap-4",
|
|
12
|
+
wrapper: [
|
|
13
|
+
"p-4",
|
|
14
|
+
"z-0",
|
|
15
|
+
"flex",
|
|
16
|
+
"flex-col",
|
|
17
|
+
"relative",
|
|
18
|
+
"justify-between",
|
|
19
|
+
"gap-4",
|
|
20
|
+
"shadow-small",
|
|
21
|
+
"bg-content1",
|
|
22
|
+
"overflow-auto"
|
|
23
|
+
],
|
|
24
|
+
table: "min-w-full h-auto",
|
|
25
|
+
thead: "[&>tr]:first:rounded-lg",
|
|
26
|
+
tbody: "after:block",
|
|
27
|
+
tr: ["group/tr", "outline-solid outline-transparent", ...dataFocusVisibleClasses],
|
|
28
|
+
th: [
|
|
29
|
+
"group/th",
|
|
30
|
+
"px-3",
|
|
31
|
+
"h-10",
|
|
32
|
+
"text-start",
|
|
33
|
+
"align-middle",
|
|
34
|
+
"bg-default-100",
|
|
35
|
+
"whitespace-nowrap",
|
|
36
|
+
"text-foreground-500",
|
|
37
|
+
"text-tiny",
|
|
38
|
+
"font-semibold",
|
|
39
|
+
"first:rounded-s-lg",
|
|
40
|
+
"last:rounded-e-lg",
|
|
41
|
+
"outline-solid outline-transparent",
|
|
42
|
+
"data-[sortable=true]:cursor-pointer",
|
|
43
|
+
"data-[hover=true]:text-foreground-400",
|
|
44
|
+
...dataFocusVisibleClasses
|
|
45
|
+
],
|
|
46
|
+
td: [
|
|
47
|
+
"py-2",
|
|
48
|
+
"px-3",
|
|
49
|
+
"relative",
|
|
50
|
+
"align-middle",
|
|
51
|
+
"whitespace-normal",
|
|
52
|
+
"text-small",
|
|
53
|
+
"font-normal",
|
|
54
|
+
"outline-solid outline-transparent",
|
|
55
|
+
"[&>*]:z-1",
|
|
56
|
+
"[&>*]:relative",
|
|
57
|
+
...dataFocusVisibleClasses,
|
|
58
|
+
// before content for selection
|
|
59
|
+
"before:pointer-events-none",
|
|
60
|
+
"before:content-['']",
|
|
61
|
+
"before:absolute",
|
|
62
|
+
"before:z-0",
|
|
63
|
+
"before:inset-0",
|
|
64
|
+
"before:opacity-0",
|
|
65
|
+
"data-[selected=true]:before:opacity-100",
|
|
66
|
+
// disabled
|
|
67
|
+
"group-data-[disabled=true]/tr:text-foreground-300",
|
|
68
|
+
"group-data-[disabled=true]/tr:cursor-not-allowed"
|
|
69
|
+
],
|
|
70
|
+
tfoot: "",
|
|
71
|
+
sortIcon: [
|
|
72
|
+
"ms-2",
|
|
73
|
+
"mb-px",
|
|
74
|
+
"opacity-0",
|
|
75
|
+
"text-inherit",
|
|
76
|
+
"inline-block",
|
|
77
|
+
"transition-transform-opacity",
|
|
78
|
+
"data-[visible=true]:opacity-100",
|
|
79
|
+
"group-data-[hover=true]/th:opacity-100",
|
|
80
|
+
"data-[direction=ascending]:rotate-180"
|
|
81
|
+
],
|
|
82
|
+
emptyWrapper: "text-foreground-400 align-middle text-center h-40",
|
|
83
|
+
loadingWrapper: "absolute inset-0 flex items-center justify-center"
|
|
84
|
+
},
|
|
85
|
+
variants: {
|
|
86
|
+
color: {
|
|
87
|
+
default: {
|
|
88
|
+
td: "before:bg-default/60 data-[selected=true]:text-default-foreground"
|
|
89
|
+
},
|
|
90
|
+
primary: {
|
|
91
|
+
td: "before:bg-primary/20 data-[selected=true]:text-primary"
|
|
92
|
+
},
|
|
93
|
+
secondary: {
|
|
94
|
+
td: "before:bg-secondary/20 data-[selected=true]:text-secondary"
|
|
95
|
+
},
|
|
96
|
+
success: {
|
|
97
|
+
td: "before:bg-success/20 data-[selected=true]:text-success-600 dark:data-[selected=true]:text-success"
|
|
98
|
+
},
|
|
99
|
+
warning: {
|
|
100
|
+
td: "before:bg-warning/20 data-[selected=true]:text-warning-600 dark:data-[selected=true]:text-warning"
|
|
101
|
+
},
|
|
102
|
+
danger: {
|
|
103
|
+
td: "before:bg-danger/20 data-[selected=true]:text-danger dark:data-[selected=true]:text-danger-500"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
layout: {
|
|
107
|
+
auto: {
|
|
108
|
+
table: "table-auto"
|
|
109
|
+
},
|
|
110
|
+
fixed: {
|
|
111
|
+
table: "table-fixed"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
shadow: {
|
|
115
|
+
none: {
|
|
116
|
+
wrapper: "shadow-none"
|
|
117
|
+
},
|
|
118
|
+
sm: {
|
|
119
|
+
wrapper: "shadow-small"
|
|
120
|
+
},
|
|
121
|
+
md: {
|
|
122
|
+
wrapper: "shadow-medium"
|
|
123
|
+
},
|
|
124
|
+
lg: {
|
|
125
|
+
wrapper: "shadow-large"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
hideHeader: {
|
|
129
|
+
true: {
|
|
130
|
+
thead: "hidden"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
isStriped: {
|
|
134
|
+
true: {
|
|
135
|
+
td: [
|
|
136
|
+
"group-data-[odd=true]/tr:before:bg-default-100",
|
|
137
|
+
"group-data-[odd=true]/tr:before:opacity-100",
|
|
138
|
+
"group-data-[odd=true]/tr:before:-z-10"
|
|
139
|
+
]
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
isCompact: {
|
|
143
|
+
true: {
|
|
144
|
+
td: "py-1"
|
|
145
|
+
},
|
|
146
|
+
false: {}
|
|
147
|
+
},
|
|
148
|
+
isHeaderSticky: {
|
|
149
|
+
true: {
|
|
150
|
+
thead: "sticky top-0 z-20 [&>tr]:first:shadow-small"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
isSelectable: {
|
|
154
|
+
true: {
|
|
155
|
+
tr: "cursor-default",
|
|
156
|
+
td: [
|
|
157
|
+
"group-aria-[selected=false]/tr:group-data-[hover=true]/tr:before:bg-default-100",
|
|
158
|
+
"group-aria-[selected=false]/tr:group-data-[hover=true]/tr:before:opacity-70"
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
isMultiSelectable: {
|
|
163
|
+
true: {
|
|
164
|
+
td: [
|
|
165
|
+
// first
|
|
166
|
+
"group-data-[first=true]/tr:first:before:rounded-ss-lg",
|
|
167
|
+
"group-data-[first=true]/tr:last:before:rounded-se-lg",
|
|
168
|
+
// middle
|
|
169
|
+
"group-data-[middle=true]/tr:before:rounded-none",
|
|
170
|
+
// last
|
|
171
|
+
"group-data-[last=true]/tr:first:before:rounded-es-lg",
|
|
172
|
+
"group-data-[last=true]/tr:last:before:rounded-ee-lg"
|
|
173
|
+
]
|
|
174
|
+
},
|
|
175
|
+
false: {
|
|
176
|
+
td: ["first:before:rounded-s-lg", "last:before:rounded-e-lg"]
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
radius: {
|
|
180
|
+
none: {
|
|
181
|
+
wrapper: "rounded-none",
|
|
182
|
+
th: [
|
|
183
|
+
"first:rounded-s-none",
|
|
184
|
+
"first:before:rounded-s-none",
|
|
185
|
+
"last:rounded-e-none",
|
|
186
|
+
"last:before:rounded-e-none"
|
|
187
|
+
],
|
|
188
|
+
td: [
|
|
189
|
+
"first:before:rounded-s-none",
|
|
190
|
+
"last:before:rounded-e-none",
|
|
191
|
+
"group-data-[first=true]/tr:first:before:rounded-ss-none",
|
|
192
|
+
"group-data-[first=true]/tr:last:before:rounded-se-none",
|
|
193
|
+
"group-data-[last=true]/tr:first:before:rounded-es-none",
|
|
194
|
+
"group-data-[last=true]/tr:last:before:rounded-ee-none"
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
sm: {
|
|
198
|
+
wrapper: "rounded-small"
|
|
199
|
+
},
|
|
200
|
+
md: {
|
|
201
|
+
wrapper: "rounded-medium"
|
|
202
|
+
},
|
|
203
|
+
lg: {
|
|
204
|
+
wrapper: "rounded-large"
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
fullWidth: {
|
|
208
|
+
true: {
|
|
209
|
+
base: "w-full",
|
|
210
|
+
wrapper: "w-full",
|
|
211
|
+
table: "w-full"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
align: {
|
|
215
|
+
start: {
|
|
216
|
+
th: "text-start",
|
|
217
|
+
td: "text-start"
|
|
218
|
+
},
|
|
219
|
+
center: {
|
|
220
|
+
th: "text-center",
|
|
221
|
+
td: "text-center"
|
|
222
|
+
},
|
|
223
|
+
end: {
|
|
224
|
+
th: "text-end",
|
|
225
|
+
td: "text-end"
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
defaultVariants: {
|
|
230
|
+
layout: "auto",
|
|
231
|
+
shadow: "sm",
|
|
232
|
+
radius: "lg",
|
|
233
|
+
color: "default",
|
|
234
|
+
isCompact: false,
|
|
235
|
+
hideHeader: false,
|
|
236
|
+
isStriped: false,
|
|
237
|
+
fullWidth: true,
|
|
238
|
+
align: "start"
|
|
239
|
+
},
|
|
240
|
+
compoundVariants: [
|
|
241
|
+
{
|
|
242
|
+
isStriped: true,
|
|
243
|
+
color: "default",
|
|
244
|
+
class: {
|
|
245
|
+
td: "group-data-[odd=true]/tr:data-[selected=true]/tr:before:bg-default/60"
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
isStriped: true,
|
|
250
|
+
color: "primary",
|
|
251
|
+
class: {
|
|
252
|
+
td: "group-data-[odd=true]/tr:data-[selected=true]/tr:before:bg-primary/20"
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
isStriped: true,
|
|
257
|
+
color: "secondary",
|
|
258
|
+
class: {
|
|
259
|
+
td: "group-data-[odd=true]/tr:data-[selected=true]/tr:before:bg-secondary/20"
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
isStriped: true,
|
|
264
|
+
color: "success",
|
|
265
|
+
class: {
|
|
266
|
+
td: "group-data-[odd=true]/tr:data-[selected=true]/tr:before:bg-success/20"
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
isStriped: true,
|
|
271
|
+
color: "warning",
|
|
272
|
+
class: {
|
|
273
|
+
td: "group-data-[odd=true]/tr:data-[selected=true]/tr:before:bg-warning/20"
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
isStriped: true,
|
|
278
|
+
color: "danger",
|
|
279
|
+
class: {
|
|
280
|
+
td: "group-data-[odd=true]/tr:data-[selected=true]/tr:before:bg-danger/20"
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
]
|
|
284
|
+
});
|
|
285
|
+
|
|
286
|
+
export {
|
|
287
|
+
table
|
|
288
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// src/colors/cyan.ts
|
|
2
|
+
var cyan = {
|
|
3
|
+
50: "#F0FCFF",
|
|
4
|
+
100: "#E6FAFE",
|
|
5
|
+
200: "#D7F8FE",
|
|
6
|
+
300: "#C3F4FD",
|
|
7
|
+
400: "#A5EEFD",
|
|
8
|
+
500: "#7EE7FC",
|
|
9
|
+
600: "#06B7DB",
|
|
10
|
+
700: "#09AACD",
|
|
11
|
+
800: "#0E8AAA",
|
|
12
|
+
900: "#053B48"
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
cyan
|
|
17
|
+
};
|