@sytechui/theme 2.4.26
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/LICENSE +21 -0
- package/README.md +24 -0
- package/colors.d.ts +1 -0
- package/colors.js +1 -0
- package/dist/animations/index.d.mts +105 -0
- package/dist/animations/index.d.ts +105 -0
- package/dist/animations/index.js +133 -0
- package/dist/animations/index.mjs +6 -0
- package/dist/chunk-3LKKH4AR.mjs +17 -0
- package/dist/chunk-5ICJA2GK.mjs +71 -0
- package/dist/chunk-6FGGVHAY.mjs +63 -0
- package/dist/chunk-6GMZ2XIO.mjs +241 -0
- package/dist/chunk-7V3PIXOO.mjs +28 -0
- package/dist/chunk-A3QMPIR3.mjs +12 -0
- package/dist/chunk-AWXUGVFR.mjs +19 -0
- package/dist/chunk-B3WML4XC.mjs +37 -0
- package/dist/chunk-B5YWUSAH.mjs +307 -0
- package/dist/chunk-D2XMP2NC.mjs +6 -0
- package/dist/chunk-DCEG5LGX.mjs +17 -0
- package/dist/chunk-DKJNATV2.mjs +13 -0
- package/dist/chunk-EJLBCE3V.mjs +12 -0
- package/dist/chunk-GHZ36ATJ.mjs +17 -0
- package/dist/chunk-GMH4QQZS.mjs +16 -0
- package/dist/chunk-GQT3YUX3.mjs +77 -0
- package/dist/chunk-GSRZWDGA.mjs +62 -0
- package/dist/chunk-HJWFZEER.mjs +225 -0
- package/dist/chunk-HO2ILFC5.mjs +33 -0
- package/dist/chunk-HUBDRSA4.mjs +49 -0
- package/dist/chunk-JC3ABGTC.mjs +155 -0
- package/dist/chunk-JFTCRIQA.mjs +21 -0
- package/dist/chunk-JGY6VQQQ.mjs +87 -0
- package/dist/chunk-JLA3YAT4.mjs +470 -0
- package/dist/chunk-JUEOCLA3.mjs +17 -0
- package/dist/chunk-KKENQYAQ.mjs +21 -0
- package/dist/chunk-KXPLHLA6.mjs +109 -0
- package/dist/chunk-L2OL7R23.mjs +17 -0
- package/dist/chunk-M63AFAHO.mjs +0 -0
- package/dist/chunk-MPVWW3DX.mjs +30 -0
- package/dist/chunk-NPGM3ZLN.mjs +31 -0
- package/dist/chunk-NTTT6BHX.mjs +42 -0
- package/dist/chunk-OR5PUD24.mjs +17 -0
- package/dist/chunk-PGQDBCOS.mjs +28 -0
- package/dist/chunk-Q7SJBJ2C.mjs +140 -0
- package/dist/chunk-QPJMPRZG.mjs +33 -0
- package/dist/chunk-RUIUXVZ4.mjs +26 -0
- package/dist/chunk-T3FWPDDU.mjs +10411 -0
- package/dist/chunk-T3GWIVAM.mjs +17 -0
- package/dist/chunk-T7YZ5PRR.mjs +59 -0
- package/dist/chunk-U5MU6YGM.mjs +62 -0
- package/dist/chunk-UCUZEPMT.mjs +74 -0
- package/dist/chunk-WBQAMGXK.mjs +0 -0
- package/dist/chunk-WH6SPIFG.mjs +30 -0
- package/dist/chunk-WQEDQHKX.mjs +0 -0
- package/dist/chunk-YZYGFPNK.mjs +17 -0
- package/dist/colors/blue.d.mts +14 -0
- package/dist/colors/blue.d.ts +14 -0
- package/dist/colors/blue.js +41 -0
- package/dist/colors/blue.mjs +6 -0
- package/dist/colors/common.d.mts +103 -0
- package/dist/colors/common.d.ts +103 -0
- package/dist/colors/common.js +155 -0
- package/dist/colors/common.mjs +14 -0
- package/dist/colors/cyan.d.mts +14 -0
- package/dist/colors/cyan.d.ts +14 -0
- package/dist/colors/cyan.js +41 -0
- package/dist/colors/cyan.mjs +6 -0
- package/dist/colors/green.d.mts +14 -0
- package/dist/colors/green.d.ts +14 -0
- package/dist/colors/green.js +41 -0
- package/dist/colors/green.mjs +6 -0
- package/dist/colors/index.d.mts +109 -0
- package/dist/colors/index.d.ts +109 -0
- package/dist/colors/index.js +328 -0
- package/dist/colors/index.mjs +24 -0
- package/dist/colors/pink.d.mts +14 -0
- package/dist/colors/pink.d.ts +14 -0
- package/dist/colors/pink.js +41 -0
- package/dist/colors/pink.mjs +6 -0
- package/dist/colors/purple.d.mts +14 -0
- package/dist/colors/purple.d.ts +14 -0
- package/dist/colors/purple.js +41 -0
- package/dist/colors/purple.mjs +6 -0
- package/dist/colors/red.d.mts +14 -0
- package/dist/colors/red.d.ts +14 -0
- package/dist/colors/red.js +41 -0
- package/dist/colors/red.mjs +6 -0
- package/dist/colors/semantic.d.mts +10 -0
- package/dist/colors/semantic.d.ts +10 -0
- package/dist/colors/semantic.js +320 -0
- package/dist/colors/semantic.mjs +20 -0
- package/dist/colors/types.d.mts +39 -0
- package/dist/colors/types.d.ts +39 -0
- package/dist/colors/types.js +18 -0
- package/dist/colors/types.mjs +1 -0
- package/dist/colors/yellow.d.mts +14 -0
- package/dist/colors/yellow.d.ts +14 -0
- package/dist/colors/yellow.js +41 -0
- package/dist/colors/yellow.mjs +6 -0
- package/dist/colors/zinc.d.mts +14 -0
- package/dist/colors/zinc.d.ts +14 -0
- package/dist/colors/zinc.js +41 -0
- package/dist/colors/zinc.mjs +6 -0
- package/dist/colors.d.mts +4 -0
- package/dist/colors.d.ts +4 -0
- package/dist/colors.js +328 -0
- package/dist/colors.mjs +25 -0
- package/dist/components/accordion.d.mts +228 -0
- package/dist/components/accordion.d.ts +228 -0
- package/dist/components/accordion.js +335 -0
- package/dist/components/accordion.mjs +53 -0
- package/dist/components/alert.d.mts +211 -0
- package/dist/components/alert.d.ts +211 -0
- package/dist/components/alert.js +642 -0
- package/dist/components/alert.mjs +51 -0
- package/dist/components/autocomplete.d.mts +95 -0
- package/dist/components/autocomplete.d.ts +95 -0
- package/dist/components/autocomplete.js +293 -0
- package/dist/components/autocomplete.mjs +14 -0
- package/dist/components/avatar.d.mts +300 -0
- package/dist/components/avatar.d.ts +300 -0
- package/dist/components/avatar.js +509 -0
- package/dist/components/avatar.mjs +53 -0
- package/dist/components/badge.d.mts +223 -0
- package/dist/components/badge.d.ts +223 -0
- package/dist/components/badge.js +689 -0
- package/dist/components/badge.mjs +51 -0
- package/dist/components/breadcrumbs.d.mts +379 -0
- package/dist/components/breadcrumbs.d.ts +379 -0
- package/dist/components/breadcrumbs.js +482 -0
- package/dist/components/breadcrumbs.mjs +53 -0
- package/dist/components/button.d.mts +188 -0
- package/dist/components/button.d.ts +188 -0
- package/dist/components/button.js +767 -0
- package/dist/components/button.mjs +53 -0
- package/dist/components/calendar.d.mts +279 -0
- package/dist/components/calendar.d.ts +279 -0
- package/dist/components/calendar.js +680 -0
- package/dist/components/calendar.mjs +51 -0
- package/dist/components/card.d.mts +257 -0
- package/dist/components/card.d.ts +257 -0
- package/dist/components/card.js +393 -0
- package/dist/components/card.mjs +51 -0
- package/dist/components/checkbox.d.mts +375 -0
- package/dist/components/checkbox.d.ts +375 -0
- package/dist/components/checkbox.js +479 -0
- package/dist/components/checkbox.mjs +53 -0
- package/dist/components/chip.d.mts +340 -0
- package/dist/components/chip.d.ts +340 -0
- package/dist/components/chip.js +803 -0
- package/dist/components/chip.mjs +51 -0
- package/dist/components/code.d.mts +80 -0
- package/dist/components/code.d.ts +80 -0
- package/dist/components/code.js +343 -0
- package/dist/components/code.mjs +51 -0
- package/dist/components/date-input.d.mts +392 -0
- package/dist/components/date-input.d.ts +392 -0
- package/dist/components/date-input.js +700 -0
- package/dist/components/date-input.mjs +14 -0
- package/dist/components/date-picker.d.mts +220 -0
- package/dist/components/date-picker.d.ts +220 -0
- package/dist/components/date-picker.js +262 -0
- package/dist/components/date-picker.mjs +16 -0
- package/dist/components/divider.d.mts +31 -0
- package/dist/components/divider.d.ts +31 -0
- package/dist/components/divider.js +251 -0
- package/dist/components/divider.mjs +14 -0
- package/dist/components/drawer.d.mts +169 -0
- package/dist/components/drawer.d.ts +169 -0
- package/dist/components/drawer.js +292 -0
- package/dist/components/drawer.mjs +14 -0
- package/dist/components/drip.d.mts +13 -0
- package/dist/components/drip.d.ts +13 -0
- package/dist/components/drip.js +242 -0
- package/dist/components/drip.mjs +14 -0
- package/dist/components/drop-zone.d.mts +434 -0
- package/dist/components/drop-zone.d.ts +434 -0
- package/dist/components/drop-zone.js +546 -0
- package/dist/components/drop-zone.mjs +51 -0
- package/dist/components/dropdown.d.mts +247 -0
- package/dist/components/dropdown.d.ts +247 -0
- package/dist/components/dropdown.js +611 -0
- package/dist/components/dropdown.mjs +57 -0
- package/dist/components/form.d.mts +19 -0
- package/dist/components/form.d.ts +19 -0
- package/dist/components/form.js +242 -0
- package/dist/components/form.mjs +14 -0
- package/dist/components/image.d.mts +174 -0
- package/dist/components/image.d.ts +174 -0
- package/dist/components/image.js +370 -0
- package/dist/components/image.mjs +14 -0
- package/dist/components/index.d.mts +48 -0
- package/dist/components/index.d.ts +48 -0
- package/dist/components/index.js +12311 -0
- package/dist/components/index.mjs +189 -0
- package/dist/components/input-otp.d.mts +282 -0
- package/dist/components/input-otp.d.ts +282 -0
- package/dist/components/input-otp.js +685 -0
- package/dist/components/input-otp.mjs +51 -0
- package/dist/components/input.d.mts +458 -0
- package/dist/components/input.d.ts +458 -0
- package/dist/components/input.js +1153 -0
- package/dist/components/input.mjs +51 -0
- package/dist/components/kbd.d.mts +50 -0
- package/dist/components/kbd.d.ts +50 -0
- package/dist/components/kbd.js +263 -0
- package/dist/components/kbd.mjs +14 -0
- package/dist/components/link.d.mts +107 -0
- package/dist/components/link.d.ts +107 -0
- package/dist/components/link.js +345 -0
- package/dist/components/link.mjs +53 -0
- package/dist/components/listbox.d.mts +3 -0
- package/dist/components/listbox.d.ts +3 -0
- package/dist/components/listbox.js +729 -0
- package/dist/components/listbox.mjs +55 -0
- package/dist/components/menu.d.mts +324 -0
- package/dist/components/menu.d.ts +324 -0
- package/dist/components/menu.js +729 -0
- package/dist/components/menu.mjs +55 -0
- package/dist/components/modal.d.mts +380 -0
- package/dist/components/modal.d.ts +380 -0
- package/dist/components/modal.js +429 -0
- package/dist/components/modal.mjs +51 -0
- package/dist/components/navbar.d.mts +246 -0
- package/dist/components/navbar.d.ts +246 -0
- package/dist/components/navbar.js +446 -0
- package/dist/components/navbar.mjs +51 -0
- package/dist/components/number-input.d.mts +476 -0
- package/dist/components/number-input.d.ts +476 -0
- package/dist/components/number-input.js +1118 -0
- package/dist/components/number-input.mjs +51 -0
- package/dist/components/pagination.d.mts +288 -0
- package/dist/components/pagination.d.ts +288 -0
- package/dist/components/pagination.js +736 -0
- package/dist/components/pagination.mjs +51 -0
- package/dist/components/popover.d.mts +339 -0
- package/dist/components/popover.d.ts +339 -0
- package/dist/components/popover.js +495 -0
- package/dist/components/popover.mjs +51 -0
- package/dist/components/progress.d.mts +498 -0
- package/dist/components/progress.d.ts +498 -0
- package/dist/components/progress.js +472 -0
- package/dist/components/progress.mjs +16 -0
- package/dist/components/radio.d.mts +354 -0
- package/dist/components/radio.d.ts +354 -0
- package/dist/components/radio.js +425 -0
- package/dist/components/radio.mjs +53 -0
- package/dist/components/scroll-area.d.mts +109 -0
- package/dist/components/scroll-area.d.ts +109 -0
- package/dist/components/scroll-area.js +304 -0
- package/dist/components/scroll-area.mjs +14 -0
- package/dist/components/scroll-shadow.d.mts +48 -0
- package/dist/components/scroll-shadow.d.ts +48 -0
- package/dist/components/scroll-shadow.js +267 -0
- package/dist/components/scroll-shadow.mjs +14 -0
- package/dist/components/select.d.mts +530 -0
- package/dist/components/select.d.ts +530 -0
- package/dist/components/select.js +1118 -0
- package/dist/components/select.mjs +51 -0
- package/dist/components/skeleton.d.mts +60 -0
- package/dist/components/skeleton.d.ts +60 -0
- package/dist/components/skeleton.js +289 -0
- package/dist/components/skeleton.mjs +14 -0
- package/dist/components/slider.d.mts +482 -0
- package/dist/components/slider.d.ts +482 -0
- package/dist/components/slider.js +619 -0
- package/dist/components/slider.mjs +51 -0
- package/dist/components/snippet.d.mts +206 -0
- package/dist/components/snippet.d.ts +206 -0
- package/dist/components/snippet.js +611 -0
- package/dist/components/snippet.mjs +51 -0
- package/dist/components/spacer.d.mts +31 -0
- package/dist/components/spacer.d.ts +31 -0
- package/dist/components/spacer.js +251 -0
- package/dist/components/spacer.mjs +14 -0
- package/dist/components/spinner.d.mts +398 -0
- package/dist/components/spinner.d.ts +398 -0
- package/dist/components/spinner.js +537 -0
- package/dist/components/spinner.mjs +14 -0
- package/dist/components/table.d.mts +428 -0
- package/dist/components/table.d.ts +428 -0
- package/dist/components/table.js +522 -0
- package/dist/components/table.mjs +51 -0
- package/dist/components/tabs.d.mts +347 -0
- package/dist/components/tabs.d.ts +347 -0
- package/dist/components/tabs.js +723 -0
- package/dist/components/tabs.mjs +51 -0
- package/dist/components/toast.d.mts +329 -0
- package/dist/components/toast.d.ts +329 -0
- package/dist/components/toast.js +719 -0
- package/dist/components/toast.mjs +53 -0
- package/dist/components/toggle.d.mts +243 -0
- package/dist/components/toggle.d.ts +243 -0
- package/dist/components/toggle.js +438 -0
- package/dist/components/toggle.mjs +51 -0
- package/dist/components/user.d.mts +63 -0
- package/dist/components/user.d.ts +63 -0
- package/dist/components/user.js +260 -0
- package/dist/components/user.mjs +51 -0
- package/dist/default-layout.d.mts +8 -0
- package/dist/default-layout.d.ts +8 -0
- package/dist/default-layout.js +75 -0
- package/dist/default-layout.mjs +10 -0
- package/dist/index.d.mts +63 -0
- package/dist/index.d.ts +63 -0
- package/dist/index.js +13087 -0
- package/dist/index.mjs +243 -0
- package/dist/plugin.d.mts +12 -0
- package/dist/plugin.d.ts +12 -0
- package/dist/plugin.js +895 -0
- package/dist/plugin.mjs +30 -0
- package/dist/types.d.mts +138 -0
- package/dist/types.d.ts +138 -0
- package/dist/types.js +18 -0
- package/dist/types.mjs +1 -0
- package/dist/utilities/animation.d.mts +16 -0
- package/dist/utilities/animation.d.ts +16 -0
- package/dist/utilities/animation.js +39 -0
- package/dist/utilities/animation.mjs +6 -0
- package/dist/utilities/custom.d.mts +27 -0
- package/dist/utilities/custom.d.ts +27 -0
- package/dist/utilities/custom.js +50 -0
- package/dist/utilities/custom.mjs +6 -0
- package/dist/utilities/index.d.mts +115 -0
- package/dist/utilities/index.d.ts +115 -0
- package/dist/utilities/index.js +189 -0
- package/dist/utilities/index.mjs +11 -0
- package/dist/utilities/scrollbar-hide.d.mts +24 -0
- package/dist/utilities/scrollbar-hide.d.ts +24 -0
- package/dist/utilities/scrollbar-hide.js +50 -0
- package/dist/utilities/scrollbar-hide.mjs +6 -0
- package/dist/utilities/text.d.mts +23 -0
- package/dist/utilities/text.d.ts +23 -0
- package/dist/utilities/text.js +46 -0
- package/dist/utilities/text.mjs +6 -0
- package/dist/utilities/transition.d.mts +58 -0
- package/dist/utilities/transition.d.ts +58 -0
- package/dist/utilities/transition.js +86 -0
- package/dist/utilities/transition.mjs +8 -0
- package/dist/utils/classes.d.mts +35 -0
- package/dist/utils/classes.d.ts +35 -0
- package/dist/utils/classes.js +119 -0
- package/dist/utils/classes.mjs +22 -0
- package/dist/utils/cn.d.mts +13 -0
- package/dist/utils/cn.d.ts +13 -0
- package/dist/utils/cn.js +220 -0
- package/dist/utils/cn.mjs +13 -0
- package/dist/utils/index.d.mts +7 -0
- package/dist/utils/index.d.ts +7 -0
- package/dist/utils/index.js +409 -0
- package/dist/utils/index.mjs +81 -0
- package/dist/utils/merge-classes.d.mts +12 -0
- package/dist/utils/merge-classes.d.ts +12 -0
- package/dist/utils/merge-classes.js +233 -0
- package/dist/utils/merge-classes.mjs +51 -0
- package/dist/utils/object.d.mts +13 -0
- package/dist/utils/object.d.ts +13 -0
- package/dist/utils/object.js +98 -0
- package/dist/utils/object.mjs +12 -0
- package/dist/utils/theme.d.mts +9 -0
- package/dist/utils/theme.d.ts +9 -0
- package/dist/utils/theme.js +30 -0
- package/dist/utils/theme.mjs +6 -0
- package/dist/utils/tv.d.mts +5 -0
- package/dist/utils/tv.d.ts +5 -0
- package/dist/utils/tv.js +235 -0
- package/dist/utils/tv.mjs +13 -0
- package/dist/utils/tw-merge-config.d.mts +25 -0
- package/dist/utils/tw-merge-config.d.ts +25 -0
- package/dist/utils/tw-merge-config.js +216 -0
- package/dist/utils/tw-merge-config.mjs +14 -0
- package/dist/utils/types.d.mts +10 -0
- package/dist/utils/types.d.ts +10 -0
- package/dist/utils/types.js +18 -0
- package/dist/utils/types.mjs +0 -0
- package/dist/utils/variants.d.mts +67 -0
- package/dist/utils/variants.d.ts +67 -0
- package/dist/utils/variants.js +101 -0
- package/dist/utils/variants.mjs +6 -0
- package/package.json +91 -0
- package/plugin.d.ts +1 -0
- package/plugin.js +1 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// src/colors/purple.ts
|
|
2
|
+
var purple = {
|
|
3
|
+
50: "#f2eafa",
|
|
4
|
+
100: "#e4d4f4",
|
|
5
|
+
200: "#c9a9e9",
|
|
6
|
+
300: "#ae7ede",
|
|
7
|
+
400: "#9353d3",
|
|
8
|
+
500: "#7828c8",
|
|
9
|
+
600: "#6020a0",
|
|
10
|
+
700: "#481878",
|
|
11
|
+
800: "#301050",
|
|
12
|
+
900: "#180828"
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
purple
|
|
17
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// src/utilities/custom.ts
|
|
2
|
+
var custom_default = {
|
|
3
|
+
/**
|
|
4
|
+
* Custom utilities
|
|
5
|
+
*/
|
|
6
|
+
".leading-inherit": {
|
|
7
|
+
"line-height": "inherit"
|
|
8
|
+
},
|
|
9
|
+
".bg-img-inherit": {
|
|
10
|
+
"background-image": "inherit"
|
|
11
|
+
},
|
|
12
|
+
".bg-clip-inherit": {
|
|
13
|
+
"background-clip": "inherit"
|
|
14
|
+
},
|
|
15
|
+
".text-fill-inherit": {
|
|
16
|
+
"-webkit-text-fill-color": "inherit"
|
|
17
|
+
},
|
|
18
|
+
".tap-highlight-transparent": {
|
|
19
|
+
"-webkit-tap-highlight-color": "transparent"
|
|
20
|
+
},
|
|
21
|
+
".input-search-cancel-button-none": {
|
|
22
|
+
"&::-webkit-search-cancel-button": {
|
|
23
|
+
"-webkit-appearance": "none"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export {
|
|
29
|
+
custom_default
|
|
30
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
tv
|
|
3
|
+
} from "./chunk-PGQDBCOS.mjs";
|
|
4
|
+
|
|
5
|
+
// src/components/date-picker.ts
|
|
6
|
+
var datePicker = tv({
|
|
7
|
+
slots: {
|
|
8
|
+
base: "group w-full",
|
|
9
|
+
selectorButton: "-mx-2 text-inherit",
|
|
10
|
+
selectorIcon: "text-lg text-inherit pointer-events-none shrink-0",
|
|
11
|
+
popoverContent: "p-0 w-full",
|
|
12
|
+
calendar: "w-[calc(var(--visible-months)_*_var(--calendar-width))] shadow-none",
|
|
13
|
+
calendarContent: "w-[calc(var(--visible-months)_*_var(--calendar-width))]",
|
|
14
|
+
timeInputLabel: "font-medium",
|
|
15
|
+
timeInput: "px-5 pb-4 flex-wrap gap-x-6"
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
var dateRangePicker = tv({
|
|
19
|
+
extend: datePicker,
|
|
20
|
+
slots: {
|
|
21
|
+
calendar: "group",
|
|
22
|
+
bottomContent: "flex flex-col gap-y-2",
|
|
23
|
+
timeInputWrapper: "flex flex-col group-data-[has-multiple-months=true]:flex-row",
|
|
24
|
+
separator: "-mx-1 text-inherit"
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
export {
|
|
29
|
+
datePicker,
|
|
30
|
+
dateRangePicker
|
|
31
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import {
|
|
2
|
+
pink
|
|
3
|
+
} from "./chunk-DCEG5LGX.mjs";
|
|
4
|
+
import {
|
|
5
|
+
purple
|
|
6
|
+
} from "./chunk-L2OL7R23.mjs";
|
|
7
|
+
import {
|
|
8
|
+
red
|
|
9
|
+
} from "./chunk-YZYGFPNK.mjs";
|
|
10
|
+
import {
|
|
11
|
+
yellow
|
|
12
|
+
} from "./chunk-JUEOCLA3.mjs";
|
|
13
|
+
import {
|
|
14
|
+
zinc
|
|
15
|
+
} from "./chunk-3LKKH4AR.mjs";
|
|
16
|
+
import {
|
|
17
|
+
blue
|
|
18
|
+
} from "./chunk-GHZ36ATJ.mjs";
|
|
19
|
+
import {
|
|
20
|
+
cyan
|
|
21
|
+
} from "./chunk-T3GWIVAM.mjs";
|
|
22
|
+
import {
|
|
23
|
+
green
|
|
24
|
+
} from "./chunk-OR5PUD24.mjs";
|
|
25
|
+
|
|
26
|
+
// src/colors/common.ts
|
|
27
|
+
var commonColors = {
|
|
28
|
+
white: "#ffffff",
|
|
29
|
+
black: "#000000",
|
|
30
|
+
blue,
|
|
31
|
+
green,
|
|
32
|
+
pink,
|
|
33
|
+
purple,
|
|
34
|
+
red,
|
|
35
|
+
yellow,
|
|
36
|
+
cyan,
|
|
37
|
+
zinc
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export {
|
|
41
|
+
commonColors
|
|
42
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// src/colors/green.ts
|
|
2
|
+
var green = {
|
|
3
|
+
50: "#e8faf0",
|
|
4
|
+
100: "#d1f4e0",
|
|
5
|
+
200: "#a2e9c1",
|
|
6
|
+
300: "#74dfa2",
|
|
7
|
+
400: "#45d483",
|
|
8
|
+
500: "#17c964",
|
|
9
|
+
600: "#12a150",
|
|
10
|
+
700: "#0e793c",
|
|
11
|
+
800: "#095028",
|
|
12
|
+
900: "#052814"
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
green
|
|
17
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import {
|
|
2
|
+
twMergeConfig
|
|
3
|
+
} from "./chunk-HO2ILFC5.mjs";
|
|
4
|
+
|
|
5
|
+
// src/utils/tv.ts
|
|
6
|
+
import { tv as tvBase } from "tailwind-variants";
|
|
7
|
+
var tv = (options, config) => {
|
|
8
|
+
var _a, _b, _c;
|
|
9
|
+
return tvBase(options, {
|
|
10
|
+
...config,
|
|
11
|
+
twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
|
|
12
|
+
twMergeConfig: {
|
|
13
|
+
...config == null ? void 0 : config.twMergeConfig,
|
|
14
|
+
theme: {
|
|
15
|
+
...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
|
|
16
|
+
...twMergeConfig.theme
|
|
17
|
+
},
|
|
18
|
+
classGroups: {
|
|
19
|
+
...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
|
|
20
|
+
...twMergeConfig.classGroups
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export {
|
|
27
|
+
tv
|
|
28
|
+
};
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import {
|
|
2
|
+
tv
|
|
3
|
+
} from "./chunk-PGQDBCOS.mjs";
|
|
4
|
+
|
|
5
|
+
// src/components/image.ts
|
|
6
|
+
var image = tv({
|
|
7
|
+
slots: {
|
|
8
|
+
wrapper: "relative shadow-black/5",
|
|
9
|
+
zoomedWrapper: "relative overflow-hidden rounded-inherit",
|
|
10
|
+
img: "relative z-10 opacity-0 shadow-black/5 data-[loaded=true]:opacity-100",
|
|
11
|
+
blurredImg: [
|
|
12
|
+
"absolute",
|
|
13
|
+
"z-0",
|
|
14
|
+
"inset-0",
|
|
15
|
+
"w-full",
|
|
16
|
+
"h-full",
|
|
17
|
+
"object-cover",
|
|
18
|
+
"filter",
|
|
19
|
+
"blur-lg",
|
|
20
|
+
"scale-105",
|
|
21
|
+
"saturate-150",
|
|
22
|
+
"opacity-30",
|
|
23
|
+
"translate-y-1"
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
variants: {
|
|
27
|
+
radius: {
|
|
28
|
+
none: {},
|
|
29
|
+
sm: {},
|
|
30
|
+
md: {},
|
|
31
|
+
lg: {},
|
|
32
|
+
full: {}
|
|
33
|
+
},
|
|
34
|
+
shadow: {
|
|
35
|
+
none: {
|
|
36
|
+
wrapper: "shadow-none",
|
|
37
|
+
img: "shadow-none"
|
|
38
|
+
},
|
|
39
|
+
sm: {
|
|
40
|
+
wrapper: "shadow-small",
|
|
41
|
+
img: "shadow-small"
|
|
42
|
+
},
|
|
43
|
+
md: {
|
|
44
|
+
wrapper: "shadow-medium",
|
|
45
|
+
img: "shadow-medium"
|
|
46
|
+
},
|
|
47
|
+
lg: {
|
|
48
|
+
wrapper: "shadow-large",
|
|
49
|
+
img: "shadow-large"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
isZoomed: {
|
|
53
|
+
true: {
|
|
54
|
+
img: ["object-cover", "transform", "hover:scale-125"]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
showSkeleton: {
|
|
58
|
+
true: {
|
|
59
|
+
wrapper: ["group", "relative", "overflow-hidden", "bg-content3 dark:bg-content2"],
|
|
60
|
+
img: "opacity-0"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
disableAnimation: {
|
|
64
|
+
true: {
|
|
65
|
+
img: "transition-none"
|
|
66
|
+
},
|
|
67
|
+
false: {
|
|
68
|
+
img: "transition-transform-opacity motion-reduce:transition-none !duration-300"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
defaultVariants: {
|
|
73
|
+
radius: "lg",
|
|
74
|
+
shadow: "none",
|
|
75
|
+
isZoomed: false,
|
|
76
|
+
isBlurred: false,
|
|
77
|
+
showSkeleton: false
|
|
78
|
+
},
|
|
79
|
+
compoundVariants: [
|
|
80
|
+
{
|
|
81
|
+
showSkeleton: true,
|
|
82
|
+
disableAnimation: false,
|
|
83
|
+
class: {
|
|
84
|
+
wrapper: [
|
|
85
|
+
// before
|
|
86
|
+
"before:opacity-100",
|
|
87
|
+
"before:absolute",
|
|
88
|
+
"before:inset-0",
|
|
89
|
+
"before:-translate-x-full",
|
|
90
|
+
"before:animate-shimmer",
|
|
91
|
+
"before:border-t",
|
|
92
|
+
"before:border-content4/30",
|
|
93
|
+
"before:bg-gradient-to-r",
|
|
94
|
+
"before:from-transparent",
|
|
95
|
+
"before:via-content4",
|
|
96
|
+
"dark:before:via-default-700/10",
|
|
97
|
+
"before:to-transparent",
|
|
98
|
+
//after
|
|
99
|
+
"after:opacity-100",
|
|
100
|
+
"after:absolute",
|
|
101
|
+
"after:inset-0",
|
|
102
|
+
"after:-z-10",
|
|
103
|
+
"after:bg-content3",
|
|
104
|
+
"dark:after:bg-content2"
|
|
105
|
+
]
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
compoundSlots: [
|
|
110
|
+
{
|
|
111
|
+
slots: ["wrapper", "img", "blurredImg", "zoomedWrapper"],
|
|
112
|
+
radius: "none",
|
|
113
|
+
class: "rounded-none"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
slots: ["wrapper", "img", "blurredImg", "zoomedWrapper"],
|
|
117
|
+
radius: "full",
|
|
118
|
+
class: "rounded-full"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
slots: ["wrapper", "img", "blurredImg", "zoomedWrapper"],
|
|
122
|
+
radius: "sm",
|
|
123
|
+
class: "rounded-small"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
slots: ["wrapper", "img", "blurredImg", "zoomedWrapper"],
|
|
127
|
+
radius: "md",
|
|
128
|
+
class: "rounded-md"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
slots: ["wrapper", "img", "blurredImg", "zoomedWrapper"],
|
|
132
|
+
radius: "lg",
|
|
133
|
+
class: "rounded-large"
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
});
|
|
137
|
+
|
|
138
|
+
export {
|
|
139
|
+
image
|
|
140
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import {
|
|
2
|
+
tv
|
|
3
|
+
} from "./chunk-PGQDBCOS.mjs";
|
|
4
|
+
|
|
5
|
+
// src/components/kbd.ts
|
|
6
|
+
var kbd = tv({
|
|
7
|
+
slots: {
|
|
8
|
+
base: [
|
|
9
|
+
"px-1.5",
|
|
10
|
+
"py-0.5",
|
|
11
|
+
"inline-flex",
|
|
12
|
+
"space-x-0.5",
|
|
13
|
+
"rtl:space-x-reverse",
|
|
14
|
+
"items-center",
|
|
15
|
+
"font-sans",
|
|
16
|
+
"font-normal",
|
|
17
|
+
"text-center",
|
|
18
|
+
"text-small",
|
|
19
|
+
"shadow-small",
|
|
20
|
+
"bg-default-100",
|
|
21
|
+
"text-foreground-600",
|
|
22
|
+
"rounded-small"
|
|
23
|
+
],
|
|
24
|
+
abbr: "no-underline",
|
|
25
|
+
content: ""
|
|
26
|
+
},
|
|
27
|
+
variants: {},
|
|
28
|
+
defaultVariants: {}
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
export {
|
|
32
|
+
kbd
|
|
33
|
+
};
|
|
@@ -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
|
+
};
|