@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,417 @@
|
|
|
1
|
+
import {
|
|
2
|
+
colorVariants
|
|
3
|
+
} from "./chunk-GQT3YUX3.mjs";
|
|
4
|
+
import {
|
|
5
|
+
tv
|
|
6
|
+
} from "./chunk-TX3FPB7D.mjs";
|
|
7
|
+
|
|
8
|
+
// src/components/toast.ts
|
|
9
|
+
var toastRegion = tv({
|
|
10
|
+
slots: {
|
|
11
|
+
base: "relative z-[100]"
|
|
12
|
+
},
|
|
13
|
+
variants: {
|
|
14
|
+
disableAnimation: {
|
|
15
|
+
false: {
|
|
16
|
+
base: ""
|
|
17
|
+
},
|
|
18
|
+
true: {
|
|
19
|
+
base: [
|
|
20
|
+
"data-[placement=bottom-right]:bottom-0 data-[placement=bottom-right]:right-0 w-full px-2 sm:w-auto sm:px-0 data-[placement=bottom-right]:fixed data-[placement=bottom-right]:flex data-[placement=bottom-right]:flex-col",
|
|
21
|
+
"data-[placement=bottom-left]:bottom-0 data-[placement=bottom-left]:left-0 w-full px-2 sm:w-auto sm:px-0 data-[placement=bottom-left]:fixed data-[placement=bottom-left]:flex data-[placement=bottom-left]:flex-col",
|
|
22
|
+
"data-[placement=bottom-center]:bottom-0 data-[placement=bottom-center]:fixed w-full px-2 sm:w-auto sm:px-0 data-[placement=bottom-center]:flex data-[placement=bottom-center]:flex-col data-[placement=bottom-center]:left-1/2 data-[placement=bottom-center]:-translate-x-1/2",
|
|
23
|
+
"data-[placement=top-right]:top-0 data-[placement=top-right]:right-0 w-full px-2 sm:w-auto sm:px-0 data-[placement=top-right]:fixed data-[placement=top-right]:flex data-[placement=top-right]:flex-col",
|
|
24
|
+
"data-[placement=top-left]:top-0 data-[placement=top-left]:left-0 w-full px-2 sm:w-auto sm:px-0 data-[placement=top-left]:fixed data-[placement=top-left]:flex data-[placement=top-left]:flex-col",
|
|
25
|
+
"data-[placement=top-center]:top-0 data-[placement=top-center]:fixed w-full px-2 sm:w-auto sm:px-0 data-[placement=top-center]:flex data-[placement=top-center]:flex-col data-[placement=top-center]:left-1/2 data-[placement=top-center]:-translate-x-1/2"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
defaultVariants: {
|
|
31
|
+
disableAnimation: false
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
var toast = tv({
|
|
35
|
+
slots: {
|
|
36
|
+
base: [
|
|
37
|
+
"flex gap-x-4 items-center",
|
|
38
|
+
"group",
|
|
39
|
+
"cursor-pointer",
|
|
40
|
+
"relative",
|
|
41
|
+
"z-50",
|
|
42
|
+
"box-border",
|
|
43
|
+
"outline-solid outline-transparent",
|
|
44
|
+
"p-3 sm:mx-1",
|
|
45
|
+
"my-1",
|
|
46
|
+
"w-full sm:w-[356px]",
|
|
47
|
+
"min-h-4",
|
|
48
|
+
"before:content-['']",
|
|
49
|
+
"before:absolute",
|
|
50
|
+
"before:left-0",
|
|
51
|
+
"before:right-0",
|
|
52
|
+
"data-[placement=bottom-right]:before:h-[var(--top-extension,16px)]",
|
|
53
|
+
"data-[placement=bottom-left]:before:h-[var(--top-extension,16px)]",
|
|
54
|
+
"data-[placement=bottom-center]:before:h-[var(--top-extension,16px)]",
|
|
55
|
+
"data-[placement=bottom-right]:before:top-[calc(-1*var(--top-extension,16px))]",
|
|
56
|
+
"data-[placement=bottom-left]:before:top-[calc(-1*var(--top-extension,16px))]",
|
|
57
|
+
"data-[placement=bottom-center]:before:top-[calc(-1*var(--top-extension,16px))]",
|
|
58
|
+
"before:z-[-1]",
|
|
59
|
+
"before:pointer-events-auto",
|
|
60
|
+
"before:bg-transparent",
|
|
61
|
+
"after:content-['']",
|
|
62
|
+
"after:absolute",
|
|
63
|
+
"after:left-0",
|
|
64
|
+
"after:right-0",
|
|
65
|
+
"data-[placement=bottom-right]:after:h-[var(--bottom-extension,16px)]",
|
|
66
|
+
"data-[placement=bottom-left]:after:h-[var(--bottom-extension,16px)]",
|
|
67
|
+
"data-[placement=bottom-center]:after:h-[var(--bottom-extension,16px)]",
|
|
68
|
+
"data-[placement=bottom-right]:after:bottom-[calc(-1*var(--bottom-extension,16px))]",
|
|
69
|
+
"data-[placement=bottom-left]:after:bottom-[calc(-1*var(--bottom-extension,16px))]",
|
|
70
|
+
"data-[placement=bottom-center]:after:bottom-[calc(-1*var(--bottom-extension,16px))]",
|
|
71
|
+
"after:z-[-1]",
|
|
72
|
+
"after:pointer-events-auto",
|
|
73
|
+
"after:bg-transparent",
|
|
74
|
+
"transform-gpu",
|
|
75
|
+
"will-change-transform",
|
|
76
|
+
"backface-visibility-hidden"
|
|
77
|
+
],
|
|
78
|
+
wrapper: ["flex flex-col gap-y-0"],
|
|
79
|
+
title: ["text-sm", "me-4", "font-medium", "text-foreground"],
|
|
80
|
+
description: ["text-sm", "me-4", "text-default-500"],
|
|
81
|
+
icon: ["w-6 h-6 flex-none fill-current"],
|
|
82
|
+
loadingComponent: ["w-6 h-6 flex-none fill-current"],
|
|
83
|
+
content: ["flex flex-grow flex-row gap-x-4 items-center relative"],
|
|
84
|
+
progressTrack: ["absolute inset-0 pointer-events-none bg-transparent overflow-hidden"],
|
|
85
|
+
progressIndicator: ["h-full bg-default-400 opacity-20"],
|
|
86
|
+
motionDiv: [
|
|
87
|
+
"fixed",
|
|
88
|
+
"px-4 sm:px-0",
|
|
89
|
+
"data-[placement=bottom-right]:bottom-0 data-[placement=bottom-right]:right-0 data-[placement=bottom-right]:mx-auto w-full sm:data-[placement=bottom-right]:w-max mb-1 sm:data-[placement=bottom-right]:mr-2",
|
|
90
|
+
"data-[placement=bottom-left]:bottom-0 data-[placement=bottom-left]:left-0 data-[placement=bottom-left]:mx-auto w-full sm:data-[placement=bottom-left]:w-max mb-1 sm:data-[placement=bottom-left]:ml-2",
|
|
91
|
+
"data-[placement=bottom-center]:bottom-0 data-[placement=bottom-center]:left-0 data-[placement=bottom-center]:right-0 w-full sm:data-[placement=bottom-center]:w-max sm:data-[placement=bottom-center]:mx-auto",
|
|
92
|
+
"data-[placement=top-right]:top-0 data-[placement=top-right]:right-0 data-[placement=top-right]:mx-auto w-full sm:data-[placement=top-right]:w-max sm:data-[placement=top-right]:mr-2",
|
|
93
|
+
"data-[placement=top-left]:top-0 data-[placement=top-left]:left-0 data-[placement=top-left]:mx-auto w-full sm:data-[placement=top-left]:w-max sm:data-[placement=top-left]:ml-2",
|
|
94
|
+
"data-[placement=top-center]:top-0 data-[placement=top-center]:left-0 data-[placement=top-center]:right-0 w-full sm:data-[placement=top-center]:w-max sm:data-[placement=top-center]:mx-auto"
|
|
95
|
+
],
|
|
96
|
+
closeButton: [
|
|
97
|
+
"opacity-0 group-hover:opacity-100",
|
|
98
|
+
"transform-gpu",
|
|
99
|
+
"transition-all duration-200 ease-out",
|
|
100
|
+
"will-change-opacity will-change-transform",
|
|
101
|
+
"p-0 group-hover:pointer-events-auto w-6 h-6 min-w-4 absolute -right-2 -top-2 items-center justify-center bg-transparent text-default-400 hover:text-default-600 border border-3 border-transparent",
|
|
102
|
+
"data-[hidden=true]:hidden"
|
|
103
|
+
],
|
|
104
|
+
closeIcon: ["rounded-full w-full h-full p-0.5 border border-default-400 bg-default-100"]
|
|
105
|
+
},
|
|
106
|
+
variants: {
|
|
107
|
+
size: {
|
|
108
|
+
sm: {
|
|
109
|
+
icon: "w-5 h-5",
|
|
110
|
+
loadingComponent: "w-5 h-5"
|
|
111
|
+
},
|
|
112
|
+
md: {},
|
|
113
|
+
lg: {}
|
|
114
|
+
},
|
|
115
|
+
variant: {
|
|
116
|
+
flat: "bg-content1 border border-default-100",
|
|
117
|
+
solid: colorVariants.solid.default,
|
|
118
|
+
bordered: "bg-background border border-default-200"
|
|
119
|
+
},
|
|
120
|
+
color: {
|
|
121
|
+
default: "",
|
|
122
|
+
foreground: {
|
|
123
|
+
progressIndicator: "h-full opacity-20 bg-foreground-400"
|
|
124
|
+
},
|
|
125
|
+
primary: {
|
|
126
|
+
progressIndicator: "h-full opacity-20 bg-primary-400"
|
|
127
|
+
},
|
|
128
|
+
secondary: {
|
|
129
|
+
progressIndicator: "h-full opacity-20 bg-secondary-400"
|
|
130
|
+
},
|
|
131
|
+
success: {
|
|
132
|
+
progressIndicator: "h-full opacity-20 bg-success-400"
|
|
133
|
+
},
|
|
134
|
+
warning: {
|
|
135
|
+
progressIndicator: "h-full opacity-20 bg-warning-400"
|
|
136
|
+
},
|
|
137
|
+
danger: {
|
|
138
|
+
progressIndicator: "h-full opacity-20 bg-danger-400"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
radius: {
|
|
142
|
+
none: {
|
|
143
|
+
base: "rounded-none",
|
|
144
|
+
progressTrack: "rounded-none"
|
|
145
|
+
},
|
|
146
|
+
sm: {
|
|
147
|
+
base: "rounded-small",
|
|
148
|
+
progressTrack: "rounded-small"
|
|
149
|
+
},
|
|
150
|
+
md: {
|
|
151
|
+
base: "rounded-medium",
|
|
152
|
+
progressTrack: "rounded-medium"
|
|
153
|
+
},
|
|
154
|
+
lg: {
|
|
155
|
+
base: "rounded-large",
|
|
156
|
+
progressTrack: "rounded-large"
|
|
157
|
+
},
|
|
158
|
+
full: {
|
|
159
|
+
base: "rounded-full",
|
|
160
|
+
closeButton: "-top-px -right-px",
|
|
161
|
+
progressTrack: "rounded-full"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
disableAnimation: {
|
|
165
|
+
true: {
|
|
166
|
+
closeButton: "transition-none",
|
|
167
|
+
base: "data-[animation=exiting]:opacity-0 transition-none"
|
|
168
|
+
},
|
|
169
|
+
false: {
|
|
170
|
+
closeButton: "transition-all ease-out duration-200",
|
|
171
|
+
base: [
|
|
172
|
+
"data-[toast-exiting=true]:transform-gpu",
|
|
173
|
+
"data-[toast-exiting=true]:will-change-transform",
|
|
174
|
+
"data-[toast-exiting=true]:transition-all",
|
|
175
|
+
"data-[toast-exiting=true]:ease-out",
|
|
176
|
+
"data-[toast-exiting=true]:data-[placement=bottom-right]:translate-x-full",
|
|
177
|
+
"data-[toast-exiting=true]:data-[placement=bottom-left]:-translate-x-full",
|
|
178
|
+
"data-[toast-exiting=true]:data-[placement=bottom-center]:translate-y-full",
|
|
179
|
+
"data-[toast-exiting=true]:data-[placement=top-right]:translate-x-full",
|
|
180
|
+
"data-[toast-exiting=true]:data-[placement=top-left]:-translate-x-full",
|
|
181
|
+
"data-[toast-exiting=true]:data-[placement=top-center]:-translate-y-full",
|
|
182
|
+
"data-[toast-exiting=true]:opacity-0",
|
|
183
|
+
"data-[toast-exiting=true]:duration-300",
|
|
184
|
+
"data-[toast-exiting=true]:ease-out"
|
|
185
|
+
]
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
shadow: {
|
|
189
|
+
none: {
|
|
190
|
+
base: "shadow-none"
|
|
191
|
+
},
|
|
192
|
+
sm: {
|
|
193
|
+
base: "shadow-small"
|
|
194
|
+
},
|
|
195
|
+
md: {
|
|
196
|
+
base: "shadow-medium"
|
|
197
|
+
},
|
|
198
|
+
lg: {
|
|
199
|
+
base: "shadow-large"
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
defaultVariants: {
|
|
204
|
+
size: "md",
|
|
205
|
+
variant: "flat",
|
|
206
|
+
radius: "md",
|
|
207
|
+
shadow: "sm"
|
|
208
|
+
},
|
|
209
|
+
compoundVariants: [
|
|
210
|
+
// flat and color
|
|
211
|
+
{
|
|
212
|
+
variant: "flat",
|
|
213
|
+
color: "foreground",
|
|
214
|
+
class: {
|
|
215
|
+
base: "bg-foreground text-background",
|
|
216
|
+
closeButton: "text-foreground-400 hover:text-foreground-600",
|
|
217
|
+
closeIcon: "border border-foreground-400 bg-foreground-100",
|
|
218
|
+
title: "text-background-600",
|
|
219
|
+
description: "text-background-500"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
variant: "flat",
|
|
224
|
+
color: "primary",
|
|
225
|
+
class: {
|
|
226
|
+
base: "bg-primary-50 text-primary-600 border-primary-100",
|
|
227
|
+
closeButton: "text-primary-400 hover:text-primary-600",
|
|
228
|
+
closeIcon: "border border-primary-400 bg-primary-100",
|
|
229
|
+
title: "text-primary-600",
|
|
230
|
+
description: "text-primary-500"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
variant: "flat",
|
|
235
|
+
color: "secondary",
|
|
236
|
+
class: {
|
|
237
|
+
base: "bg-secondary-50 text-secondary-600 border-secondary-100",
|
|
238
|
+
closeButton: "text-secondary-400 hover:text-secondary-600",
|
|
239
|
+
closeIcon: "border border-secondary-400 bg-secondary-100",
|
|
240
|
+
title: "text-secondary-600",
|
|
241
|
+
description: "text-secondary-500"
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
variant: "flat",
|
|
246
|
+
color: "success",
|
|
247
|
+
class: {
|
|
248
|
+
base: "bg-success-50 text-success-600 border-success-100",
|
|
249
|
+
closeButton: "text-success-400 hover:text-success-600",
|
|
250
|
+
closeIcon: "border border-success-400 bg-success-100",
|
|
251
|
+
title: "text-success-600",
|
|
252
|
+
description: "text-success-500"
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
variant: "flat",
|
|
257
|
+
color: "warning",
|
|
258
|
+
class: {
|
|
259
|
+
base: "bg-warning-50 text-warning-600 border-warning-100",
|
|
260
|
+
closeButton: "text-warning-400 hover:text-warning-600",
|
|
261
|
+
closeIcon: "border border-warning-400 bg-warning-100",
|
|
262
|
+
title: "text-warning-600",
|
|
263
|
+
description: "text-warning-500"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
variant: "flat",
|
|
268
|
+
color: "danger",
|
|
269
|
+
class: {
|
|
270
|
+
base: "bg-danger-50 text-danger-600 border-danger-100",
|
|
271
|
+
closeButton: "text-danger-400 hover:text-danger-600",
|
|
272
|
+
closeIcon: "border border-danger-400 bg-danger-100",
|
|
273
|
+
title: "text-danger-600",
|
|
274
|
+
description: "text-danger-500"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
// bordered and color
|
|
278
|
+
{
|
|
279
|
+
variant: "bordered",
|
|
280
|
+
color: "foreground",
|
|
281
|
+
class: {
|
|
282
|
+
base: "bg-foreground border-foreground-400 text-background",
|
|
283
|
+
closeButton: "text-foreground-400 hover:text-foreground-600",
|
|
284
|
+
closeIcon: "border border-foreground-400 bg-foreground-100",
|
|
285
|
+
title: "text-background-600",
|
|
286
|
+
description: "text-background-500"
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
variant: "bordered",
|
|
291
|
+
color: "primary",
|
|
292
|
+
class: {
|
|
293
|
+
base: "border-primary-400 text-primary-600",
|
|
294
|
+
closeButton: "text-primary-400 hover:text-primary-600",
|
|
295
|
+
closeIcon: "border border-primary-400 bg-primary-100",
|
|
296
|
+
title: "text-primary-600",
|
|
297
|
+
description: "text-primary-500"
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
variant: "bordered",
|
|
302
|
+
color: "secondary",
|
|
303
|
+
class: {
|
|
304
|
+
base: "border-secondary-400 text-secondary-600",
|
|
305
|
+
closeButton: "text-secondary-400 hover:text-secondary-600",
|
|
306
|
+
closeIcon: "border border-secondary-400 bg-secondary-100",
|
|
307
|
+
title: "text-secondary-600",
|
|
308
|
+
description: "text-secondary-500"
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
variant: "bordered",
|
|
313
|
+
color: "success",
|
|
314
|
+
class: {
|
|
315
|
+
base: "border-success-400 text-success-600",
|
|
316
|
+
closeButton: "text-success-400 hover:text-success-600",
|
|
317
|
+
closeIcon: "border border-success-400 bg-success-100",
|
|
318
|
+
title: "text-success-600",
|
|
319
|
+
description: "text-success-500"
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
variant: "bordered",
|
|
324
|
+
color: "warning",
|
|
325
|
+
class: {
|
|
326
|
+
base: "border-warning-400 text-warning-600",
|
|
327
|
+
closeButton: "text-warning-400 hover:text-warning-600",
|
|
328
|
+
closeIcon: "border border-warning-400 bg-warning-100",
|
|
329
|
+
title: "text-warning-600",
|
|
330
|
+
description: "text-warning-500"
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
variant: "bordered",
|
|
335
|
+
color: "danger",
|
|
336
|
+
class: {
|
|
337
|
+
base: "border-danger-400 text-danger-600",
|
|
338
|
+
closeButton: "text-danger-400 hover:text-danger-600",
|
|
339
|
+
closeIcon: "border border-danger-400 bg-danger-100",
|
|
340
|
+
title: "text-danger-600",
|
|
341
|
+
description: "text-danger-500"
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
// solid and color
|
|
345
|
+
{
|
|
346
|
+
variant: "solid",
|
|
347
|
+
color: "foreground",
|
|
348
|
+
class: {
|
|
349
|
+
base: colorVariants.solid.foreground,
|
|
350
|
+
closeButton: "text-foreground-400 hover:text-foreground-600",
|
|
351
|
+
closeIcon: "border border-foreground-400 bg-foreground-100",
|
|
352
|
+
title: "text-background",
|
|
353
|
+
description: "text-background"
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
variant: "solid",
|
|
358
|
+
color: "primary",
|
|
359
|
+
class: {
|
|
360
|
+
base: colorVariants.solid.primary,
|
|
361
|
+
closeButton: "text-primary-400 hover:text-primary-600",
|
|
362
|
+
closeIcon: "border border-primary-400 bg-primary-100",
|
|
363
|
+
title: "text-primary-foreground",
|
|
364
|
+
description: "text-primary-foreground"
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
variant: "solid",
|
|
369
|
+
color: "secondary",
|
|
370
|
+
class: {
|
|
371
|
+
base: colorVariants.solid.secondary,
|
|
372
|
+
closeButton: "text-secondary-400 hover:text-secondary-600",
|
|
373
|
+
closeIcon: "border border-secondary-400 bg-secondary-100",
|
|
374
|
+
title: "text-secondary-foreground",
|
|
375
|
+
description: "text-secondary-foreground"
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
variant: "solid",
|
|
380
|
+
color: "success",
|
|
381
|
+
class: {
|
|
382
|
+
base: colorVariants.solid.success,
|
|
383
|
+
closeButton: "text-success-400 hover:text-success-600",
|
|
384
|
+
closeIcon: "border border-success-400 bg-success-100",
|
|
385
|
+
title: "text-success-foreground",
|
|
386
|
+
description: "text-success-foreground"
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
variant: "solid",
|
|
391
|
+
color: "warning",
|
|
392
|
+
class: {
|
|
393
|
+
base: colorVariants.solid.warning,
|
|
394
|
+
closeButton: "text-warning-400 hover:text-warning-600",
|
|
395
|
+
closeIcon: "border border-warning-400 bg-warning-100",
|
|
396
|
+
title: "text-warning-foreground",
|
|
397
|
+
description: "text-warning-foreground"
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
variant: "solid",
|
|
402
|
+
color: "danger",
|
|
403
|
+
class: {
|
|
404
|
+
base: colorVariants.solid.danger,
|
|
405
|
+
closeButton: "text-danger-400 hover:text-danger-600",
|
|
406
|
+
closeIcon: "border border-danger-400 bg-danger-100",
|
|
407
|
+
title: "text-danger-foreground",
|
|
408
|
+
description: "text-danger-foreground"
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
]
|
|
412
|
+
});
|
|
413
|
+
|
|
414
|
+
export {
|
|
415
|
+
toastRegion,
|
|
416
|
+
toast
|
|
417
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// src/utilities/text.ts
|
|
2
|
+
var text_default = {
|
|
3
|
+
/**
|
|
4
|
+
* Text utilities
|
|
5
|
+
*/
|
|
6
|
+
".text-tiny": {
|
|
7
|
+
"font-size": "var(--heroui-font-size-tiny)",
|
|
8
|
+
"line-height": "var(--heroui-line-height-tiny)"
|
|
9
|
+
},
|
|
10
|
+
".text-small": {
|
|
11
|
+
"font-size": "var(--heroui-font-size-small)",
|
|
12
|
+
"line-height": "var(--heroui-line-height-small)"
|
|
13
|
+
},
|
|
14
|
+
".text-medium": {
|
|
15
|
+
"font-size": "var(--heroui-font-size-medium)",
|
|
16
|
+
"line-height": "var(--heroui-line-height-medium)"
|
|
17
|
+
},
|
|
18
|
+
".text-large": {
|
|
19
|
+
"font-size": "var(--heroui-font-size-large)",
|
|
20
|
+
"line-height": "var(--heroui-line-height-large)"
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export {
|
|
25
|
+
text_default
|
|
26
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import {
|
|
2
|
+
tv
|
|
3
|
+
} from "./chunk-TX3FPB7D.mjs";
|
|
4
|
+
|
|
5
|
+
// src/components/skeleton.ts
|
|
6
|
+
var skeleton = tv({
|
|
7
|
+
slots: {
|
|
8
|
+
base: [
|
|
9
|
+
"group",
|
|
10
|
+
"relative",
|
|
11
|
+
"overflow-hidden",
|
|
12
|
+
"bg-content3 dark:bg-content2",
|
|
13
|
+
"pointer-events-none",
|
|
14
|
+
// before
|
|
15
|
+
"before:opacity-100",
|
|
16
|
+
"before:absolute",
|
|
17
|
+
"before:inset-0",
|
|
18
|
+
"before:-translate-x-full",
|
|
19
|
+
"before:animate-shimmer",
|
|
20
|
+
"before:border-t",
|
|
21
|
+
"before:border-content4/30",
|
|
22
|
+
"before:bg-gradient-to-r",
|
|
23
|
+
"before:from-transparent",
|
|
24
|
+
"before:via-content4",
|
|
25
|
+
"dark:before:via-default-700/10",
|
|
26
|
+
"before:to-transparent",
|
|
27
|
+
//after
|
|
28
|
+
"after:opacity-100",
|
|
29
|
+
"after:absolute",
|
|
30
|
+
"after:inset-0",
|
|
31
|
+
"after:-z-10",
|
|
32
|
+
"after:bg-content3",
|
|
33
|
+
"dark:after:bg-content2",
|
|
34
|
+
// state
|
|
35
|
+
"data-[loaded=true]:pointer-events-auto",
|
|
36
|
+
"data-[loaded=true]:overflow-visible",
|
|
37
|
+
"data-[loaded=true]:!bg-transparent",
|
|
38
|
+
"data-[loaded=true]:before:opacity-0 data-[loaded=true]:before:-z-10 data-[loaded=true]:before:animate-none",
|
|
39
|
+
"data-[loaded=true]:after:opacity-0"
|
|
40
|
+
],
|
|
41
|
+
content: ["opacity-0", "group-data-[loaded=true]:opacity-100"]
|
|
42
|
+
},
|
|
43
|
+
variants: {
|
|
44
|
+
disableAnimation: {
|
|
45
|
+
true: {
|
|
46
|
+
base: "before:animate-none before:transition-none after:transition-none",
|
|
47
|
+
content: "transition-none"
|
|
48
|
+
},
|
|
49
|
+
false: {
|
|
50
|
+
base: "transition-background !duration-300",
|
|
51
|
+
content: "transition-opacity motion-reduce:transition-none !duration-300"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
defaultVariants: {}
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
export {
|
|
59
|
+
skeleton
|
|
60
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
tv
|
|
3
|
+
} from "./chunk-TX3FPB7D.mjs";
|
|
4
|
+
|
|
5
|
+
// src/components/spacer.ts
|
|
6
|
+
var spacer = tv({
|
|
7
|
+
base: "w-px h-px inline-block",
|
|
8
|
+
variants: {
|
|
9
|
+
isInline: {
|
|
10
|
+
true: "inline-block",
|
|
11
|
+
false: "block"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
defaultVariants: {
|
|
15
|
+
isInline: false
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
export {
|
|
20
|
+
spacer
|
|
21
|
+
};
|