@nextui-org/theme 0.0.0-canary-20240429052129
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.ts +71 -0
- package/dist/animations/index.js +98 -0
- package/dist/animations/index.mjs +6 -0
- package/dist/chunk-2PIR7DFM.mjs +77 -0
- package/dist/chunk-3FZU25GR.mjs +33 -0
- package/dist/chunk-3LKKH4AR.mjs +17 -0
- package/dist/chunk-4Z22WXZX.mjs +21 -0
- package/dist/chunk-4ZM6AI3H.mjs +366 -0
- package/dist/chunk-6XJJCV76.mjs +243 -0
- package/dist/chunk-726LN7M3.mjs +20 -0
- package/dist/chunk-7ODIBITJ.mjs +172 -0
- package/dist/chunk-7TJINK3S.mjs +390 -0
- package/dist/chunk-AC6F4DT6.mjs +485 -0
- package/dist/chunk-AGUZRGXC.mjs +12 -0
- package/dist/chunk-AO2AAOEJ.mjs +56 -0
- package/dist/chunk-AT4OXKKK.mjs +58 -0
- package/dist/chunk-CMYR6AOY.mjs +0 -0
- package/dist/chunk-CQY2A2EX.mjs +401 -0
- package/dist/chunk-CTY7IP65.mjs +723 -0
- package/dist/chunk-CUUGEIPA.mjs +474 -0
- package/dist/chunk-D2XMP2NC.mjs +6 -0
- package/dist/chunk-DCEG5LGX.mjs +17 -0
- package/dist/chunk-DI2L75XK.mjs +22 -0
- package/dist/chunk-DMASP6FA.mjs +74 -0
- package/dist/chunk-ECP4S2VZ.mjs +36 -0
- package/dist/chunk-FRI2VDCA.mjs +306 -0
- package/dist/chunk-G4RCK475.mjs +155 -0
- package/dist/chunk-GHZ36ATJ.mjs +17 -0
- package/dist/chunk-GMMETTYU.mjs +30 -0
- package/dist/chunk-HPFX3B3F.mjs +59 -0
- package/dist/chunk-HUBDRSA4.mjs +49 -0
- package/dist/chunk-I6ESTKKY.mjs +422 -0
- package/dist/chunk-IAS3SFA4.mjs +42 -0
- package/dist/chunk-IP3D7KVB.mjs +181 -0
- package/dist/chunk-JQTFOIV7.mjs +108 -0
- package/dist/chunk-JUEOCLA3.mjs +17 -0
- package/dist/chunk-K7LK7NCE.mjs +0 -0
- package/dist/chunk-KA5SSSWD.mjs +177 -0
- package/dist/chunk-KCOC3H6R.mjs +98 -0
- package/dist/chunk-KUNVFLXJ.mjs +41 -0
- package/dist/chunk-KVPPQD2E.mjs +231 -0
- package/dist/chunk-L2OL7R23.mjs +17 -0
- package/dist/chunk-LDBYFTHC.mjs +134 -0
- package/dist/chunk-LKKSQVZ6.mjs +163 -0
- package/dist/chunk-M3MKSQ42.mjs +124 -0
- package/dist/chunk-M63AFAHO.mjs +0 -0
- package/dist/chunk-MUWHEIW6.mjs +831 -0
- package/dist/chunk-NAUU2OUH.mjs +23 -0
- package/dist/chunk-NYSEAAK5.mjs +214 -0
- package/dist/chunk-OQIS4MXV.mjs +205 -0
- package/dist/chunk-OR5PUD24.mjs +17 -0
- package/dist/chunk-PSEUPXFL.mjs +122 -0
- package/dist/chunk-QZTWGJ72.mjs +16 -0
- package/dist/chunk-RNAP5C4C.mjs +406 -0
- package/dist/chunk-S573WUYY.mjs +381 -0
- package/dist/chunk-SEKJ6A6T.mjs +396 -0
- package/dist/chunk-T3GWIVAM.mjs +17 -0
- package/dist/chunk-UODOTC2G.mjs +21 -0
- package/dist/chunk-UVXYPGDZ.mjs +0 -0
- package/dist/chunk-V5ZTBGGO.mjs +42 -0
- package/dist/chunk-VDRJHB4F.mjs +187 -0
- package/dist/chunk-VFJ7C5ZV.mjs +391 -0
- package/dist/chunk-VJTX4YUQ.mjs +31 -0
- package/dist/chunk-W6DVXJB3.mjs +21 -0
- package/dist/chunk-WAAJG22Y.mjs +90 -0
- package/dist/chunk-WBQAMGXK.mjs +0 -0
- package/dist/chunk-WQEDQHKX.mjs +0 -0
- package/dist/chunk-X7N3NQ6S.mjs +158 -0
- package/dist/chunk-XHQUSKIE.mjs +60 -0
- package/dist/chunk-YJLQTC7L.mjs +0 -0
- package/dist/chunk-YSA7EQBH.mjs +237 -0
- package/dist/chunk-YZYGFPNK.mjs +17 -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.ts +103 -0
- package/dist/colors/common.js +155 -0
- package/dist/colors/common.mjs +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.ts +14 -0
- package/dist/colors/green.js +41 -0
- package/dist/colors/green.mjs +6 -0
- package/dist/colors/index.d.ts +109 -0
- package/dist/colors/index.js +335 -0
- package/dist/colors/index.mjs +24 -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.ts +14 -0
- package/dist/colors/purple.js +41 -0
- package/dist/colors/purple.mjs +6 -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.ts +10 -0
- package/dist/colors/semantic.js +327 -0
- package/dist/colors/semantic.mjs +20 -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.ts +14 -0
- package/dist/colors/yellow.js +41 -0
- package/dist/colors/yellow.mjs +6 -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.ts +4 -0
- package/dist/colors.js +335 -0
- package/dist/colors.mjs +25 -0
- package/dist/components/accordion.d.ts +402 -0
- package/dist/components/accordion.js +154 -0
- package/dist/components/accordion.mjs +13 -0
- package/dist/components/autocomplete.d.ts +180 -0
- package/dist/components/autocomplete.js +107 -0
- package/dist/components/autocomplete.mjs +7 -0
- package/dist/components/avatar.d.ts +572 -0
- package/dist/components/avatar.js +320 -0
- package/dist/components/avatar.mjs +13 -0
- package/dist/components/badge.d.ts +484 -0
- package/dist/components/badge.js +501 -0
- package/dist/components/badge.mjs +11 -0
- package/dist/components/breadcrumbs.d.ts +816 -0
- package/dist/components/breadcrumbs.js +299 -0
- package/dist/components/breadcrumbs.mjs +13 -0
- package/dist/components/button.d.ts +393 -0
- package/dist/components/button.js +556 -0
- package/dist/components/button.mjs +13 -0
- package/dist/components/calendar.d.ts +495 -0
- package/dist/components/calendar.js +456 -0
- package/dist/components/calendar.mjs +11 -0
- package/dist/components/card.d.ts +550 -0
- package/dist/components/card.js +213 -0
- package/dist/components/card.mjs +11 -0
- package/dist/components/checkbox.d.ts +773 -0
- package/dist/components/checkbox.js +271 -0
- package/dist/components/checkbox.mjs +13 -0
- package/dist/components/chip.d.ts +737 -0
- package/dist/components/chip.js +611 -0
- package/dist/components/chip.mjs +11 -0
- package/dist/components/circular-progress.d.ts +430 -0
- package/dist/components/circular-progress.js +139 -0
- package/dist/components/circular-progress.mjs +7 -0
- package/dist/components/code.d.ts +165 -0
- package/dist/components/code.js +162 -0
- package/dist/components/code.mjs +11 -0
- package/dist/components/date-input.d.ts +815 -0
- package/dist/components/date-input.js +439 -0
- package/dist/components/date-input.mjs +7 -0
- package/dist/components/date-picker.d.ts +325 -0
- package/dist/components/date-picker.js +81 -0
- package/dist/components/date-picker.mjs +9 -0
- package/dist/components/divider.d.ts +52 -0
- package/dist/components/divider.js +70 -0
- package/dist/components/divider.mjs +7 -0
- package/dist/components/drip.d.ts +14 -0
- package/dist/components/drip.js +61 -0
- package/dist/components/drip.mjs +7 -0
- package/dist/components/dropdown.d.ts +417 -0
- package/dist/components/dropdown.js +424 -0
- package/dist/components/dropdown.mjs +17 -0
- package/dist/components/image.d.ts +355 -0
- package/dist/components/image.js +183 -0
- package/dist/components/image.mjs +7 -0
- package/dist/components/index.d.ts +41 -0
- package/dist/components/index.js +8804 -0
- package/dist/components/index.mjs +194 -0
- package/dist/components/input.d.ts +942 -0
- package/dist/components/input.js +893 -0
- package/dist/components/input.mjs +11 -0
- package/dist/components/kbd.d.ts +51 -0
- package/dist/components/kbd.js +82 -0
- package/dist/components/kbd.mjs +7 -0
- package/dist/components/link.d.ts +232 -0
- package/dist/components/link.js +164 -0
- package/dist/components/link.mjs +13 -0
- package/dist/components/listbox.d.ts +3 -0
- package/dist/components/listbox.js +531 -0
- package/dist/components/listbox.mjs +16 -0
- package/dist/components/menu.d.ts +512 -0
- package/dist/components/menu.js +531 -0
- package/dist/components/menu.mjs +15 -0
- package/dist/components/modal.d.ts +765 -0
- package/dist/components/modal.js +236 -0
- package/dist/components/modal.mjs +11 -0
- package/dist/components/navbar.d.ts +463 -0
- package/dist/components/navbar.js +260 -0
- package/dist/components/navbar.mjs +11 -0
- package/dist/components/pagination.d.ts +587 -0
- package/dist/components/pagination.js +532 -0
- package/dist/components/pagination.mjs +11 -0
- package/dist/components/popover.d.ts +715 -0
- package/dist/components/popover.js +303 -0
- package/dist/components/popover.mjs +11 -0
- package/dist/components/progress.d.ts +294 -0
- package/dist/components/progress.js +173 -0
- package/dist/components/progress.mjs +7 -0
- package/dist/components/radio.d.ts +708 -0
- package/dist/components/radio.js +220 -0
- package/dist/components/radio.mjs +13 -0
- package/dist/components/scroll-shadow.d.ts +82 -0
- package/dist/components/scroll-shadow.js +85 -0
- package/dist/components/scroll-shadow.mjs +7 -0
- package/dist/components/select.d.ts +901 -0
- package/dist/components/select.js +778 -0
- package/dist/components/select.mjs +11 -0
- package/dist/components/skeleton.d.ts +105 -0
- package/dist/components/skeleton.js +105 -0
- package/dist/components/skeleton.mjs +7 -0
- package/dist/components/slider.d.ts +1024 -0
- package/dist/components/slider.js +446 -0
- package/dist/components/slider.mjs +11 -0
- package/dist/components/snippet.d.ts +415 -0
- package/dist/components/snippet.js +426 -0
- package/dist/components/snippet.mjs +11 -0
- package/dist/components/spacer.d.ts +52 -0
- package/dist/components/spacer.js +70 -0
- package/dist/components/spacer.mjs +7 -0
- package/dist/components/spinner.d.ts +564 -0
- package/dist/components/spinner.js +171 -0
- package/dist/components/spinner.mjs +7 -0
- package/dist/components/table.d.ts +777 -0
- package/dist/components/table.js +286 -0
- package/dist/components/table.mjs +11 -0
- package/dist/components/tabs.d.ts +772 -0
- package/dist/components/tabs.js +522 -0
- package/dist/components/tabs.mjs +11 -0
- package/dist/components/toggle.d.ts +485 -0
- package/dist/components/toggle.js +228 -0
- package/dist/components/toggle.mjs +11 -0
- package/dist/components/user.d.ts +81 -0
- package/dist/components/user.js +78 -0
- package/dist/components/user.mjs +11 -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.ts +52 -0
- package/dist/index.js +9585 -0
- package/dist/index.mjs +252 -0
- package/dist/plugin.d.ts +12 -0
- package/dist/plugin.js +775 -0
- package/dist/plugin.mjs +28 -0
- package/dist/types.d.ts +138 -0
- package/dist/types.js +18 -0
- package/dist/types.mjs +1 -0
- package/dist/utilities/custom.d.ts +22 -0
- package/dist/utilities/custom.js +44 -0
- package/dist/utilities/custom.mjs +6 -0
- package/dist/utilities/index.d.ts +83 -0
- package/dist/utilities/index.js +128 -0
- package/dist/utilities/index.mjs +9 -0
- package/dist/utilities/scrollbar-hide.d.ts +24 -0
- package/dist/utilities/scrollbar-hide.js +43 -0
- package/dist/utilities/scrollbar-hide.mjs +6 -0
- package/dist/utilities/transition.d.ts +58 -0
- package/dist/utilities/transition.js +83 -0
- package/dist/utilities/transition.mjs +8 -0
- package/dist/utils/classes.d.ts +34 -0
- package/dist/utils/classes.js +91 -0
- package/dist/utils/classes.mjs +20 -0
- package/dist/utils/index.d.ts +4 -0
- package/dist/utils/index.js +169 -0
- package/dist/utils/index.mjs +26 -0
- package/dist/utils/object.d.ts +12 -0
- package/dist/utils/object.js +73 -0
- package/dist/utils/object.mjs +10 -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.ts +5 -0
- package/dist/utils/tv.js +54 -0
- package/dist/utils/tv.mjs +6 -0
- package/dist/utils/types.d.ts +10 -0
- package/dist/utils/types.js +18 -0
- package/dist/utils/types.mjs +1 -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 +100 -0
- package/plugin.d.ts +1 -0
- package/plugin.js +1 -0
|
@@ -0,0 +1,474 @@
|
|
|
1
|
+
import {
|
|
2
|
+
tv
|
|
3
|
+
} from "./chunk-GMMETTYU.mjs";
|
|
4
|
+
import {
|
|
5
|
+
dataFocusVisibleClasses
|
|
6
|
+
} from "./chunk-XHQUSKIE.mjs";
|
|
7
|
+
|
|
8
|
+
// src/components/menu.ts
|
|
9
|
+
var menu = tv({
|
|
10
|
+
slots: {
|
|
11
|
+
base: "w-full relative flex flex-col gap-1 p-1",
|
|
12
|
+
list: "w-full flex flex-col gap-0.5 outline-none",
|
|
13
|
+
emptyContent: [
|
|
14
|
+
"h-10",
|
|
15
|
+
"px-2",
|
|
16
|
+
"py-1.5",
|
|
17
|
+
"w-full",
|
|
18
|
+
"h-full",
|
|
19
|
+
"text-foreground-400",
|
|
20
|
+
"text-start"
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
var menuItem = tv({
|
|
25
|
+
slots: {
|
|
26
|
+
base: [
|
|
27
|
+
"flex",
|
|
28
|
+
"group",
|
|
29
|
+
"gap-2",
|
|
30
|
+
"items-center",
|
|
31
|
+
"justify-between",
|
|
32
|
+
"relative",
|
|
33
|
+
"px-2",
|
|
34
|
+
"py-1.5",
|
|
35
|
+
"w-full",
|
|
36
|
+
"h-full",
|
|
37
|
+
"box-border",
|
|
38
|
+
"rounded-small",
|
|
39
|
+
"subpixel-antialiased",
|
|
40
|
+
"outline-none",
|
|
41
|
+
"cursor-pointer",
|
|
42
|
+
"tap-highlight-transparent",
|
|
43
|
+
...dataFocusVisibleClasses,
|
|
44
|
+
"data-[focus-visible=true]:dark:ring-offset-background-content1"
|
|
45
|
+
],
|
|
46
|
+
wrapper: "w-full flex flex-col items-start justify-center",
|
|
47
|
+
title: "flex-1 text-small font-normal truncate",
|
|
48
|
+
description: ["w-full", "text-tiny", "text-foreground-500", "group-hover:text-current"],
|
|
49
|
+
selectedIcon: ["text-inherit", "w-3", "h-3", "flex-shrink-0"],
|
|
50
|
+
shortcut: [
|
|
51
|
+
"px-1",
|
|
52
|
+
"py-0.5",
|
|
53
|
+
"rounded",
|
|
54
|
+
"font-sans",
|
|
55
|
+
"text-foreground-500",
|
|
56
|
+
"text-tiny",
|
|
57
|
+
"border-small",
|
|
58
|
+
"border-default-300",
|
|
59
|
+
"group-hover:border-current"
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
variants: {
|
|
63
|
+
variant: {
|
|
64
|
+
solid: {
|
|
65
|
+
base: ""
|
|
66
|
+
},
|
|
67
|
+
bordered: {
|
|
68
|
+
base: "border-medium border-transparent bg-transparent"
|
|
69
|
+
},
|
|
70
|
+
light: {
|
|
71
|
+
base: "bg-transparent"
|
|
72
|
+
},
|
|
73
|
+
faded: {
|
|
74
|
+
base: [
|
|
75
|
+
"border-small border-transparent hover:border-default data-[hover=true]:bg-default-100",
|
|
76
|
+
"data-[selectable=true]:focus:border-default data-[selectable=true]:focus:bg-default-100"
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
flat: {
|
|
80
|
+
base: ""
|
|
81
|
+
},
|
|
82
|
+
shadow: {
|
|
83
|
+
base: "data-[hover=true]:shadow-lg"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
color: {
|
|
87
|
+
default: {},
|
|
88
|
+
primary: {},
|
|
89
|
+
secondary: {},
|
|
90
|
+
success: {},
|
|
91
|
+
warning: {},
|
|
92
|
+
danger: {}
|
|
93
|
+
},
|
|
94
|
+
showDivider: {
|
|
95
|
+
true: {
|
|
96
|
+
base: [
|
|
97
|
+
"mb-1.5",
|
|
98
|
+
"after:content-['']",
|
|
99
|
+
"after:absolute",
|
|
100
|
+
"after:-bottom-1",
|
|
101
|
+
"after:left-0",
|
|
102
|
+
"after:right-0",
|
|
103
|
+
"after:h-divider",
|
|
104
|
+
"after:bg-divider"
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
false: {}
|
|
108
|
+
},
|
|
109
|
+
isDisabled: {
|
|
110
|
+
true: {
|
|
111
|
+
base: "opacity-disabled pointer-events-none"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
disableAnimation: {
|
|
115
|
+
true: {},
|
|
116
|
+
false: {
|
|
117
|
+
base: "data-[hover=true]:transition-colors"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
defaultVariants: {
|
|
122
|
+
variant: "solid",
|
|
123
|
+
color: "default",
|
|
124
|
+
disableAnimation: false,
|
|
125
|
+
showDivider: false
|
|
126
|
+
},
|
|
127
|
+
compoundVariants: [
|
|
128
|
+
{
|
|
129
|
+
variant: "solid",
|
|
130
|
+
color: "default",
|
|
131
|
+
class: {
|
|
132
|
+
base: [
|
|
133
|
+
"data-[hover=true]:bg-default",
|
|
134
|
+
"data-[hover=true]:text-default-foreground",
|
|
135
|
+
"data-[selectable=true]:focus:bg-default",
|
|
136
|
+
"data-[selectable=true]:focus:text-default-foreground"
|
|
137
|
+
]
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
variant: "solid",
|
|
142
|
+
color: "primary",
|
|
143
|
+
class: {
|
|
144
|
+
base: [
|
|
145
|
+
"data-[hover=true]:bg-primary data-[hover=true]:text-primary-foreground",
|
|
146
|
+
"data-[selectable=true]:focus:bg-primary data-[selectable=true]:focus:text-primary-foreground"
|
|
147
|
+
]
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
variant: "solid",
|
|
152
|
+
color: "secondary",
|
|
153
|
+
class: {
|
|
154
|
+
base: [
|
|
155
|
+
"data-[hover=true]:bg-secondary data-[hover=true]:text-secondary-foreground",
|
|
156
|
+
"data-[selectable=true]:focus:bg-secondary data-[selectable=true]:focus:text-secondary-foreground"
|
|
157
|
+
]
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
variant: "solid",
|
|
162
|
+
color: "success",
|
|
163
|
+
class: {
|
|
164
|
+
base: [
|
|
165
|
+
"data-[hover=true]:bg-success data-[hover=true]:text-success-foreground",
|
|
166
|
+
"data-[selectable=true]:focus:bg-success data-[selectable=true]:focus:text-success-foreground"
|
|
167
|
+
]
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
variant: "solid",
|
|
172
|
+
color: "warning",
|
|
173
|
+
class: {
|
|
174
|
+
base: [
|
|
175
|
+
"data-[hover=true]:bg-warning data-[hover=true]:text-warning-foreground",
|
|
176
|
+
"data-[selectable=true]:focus:bg-warning data-[selectable=true]:focus:text-warning-foreground"
|
|
177
|
+
]
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
variant: "solid",
|
|
182
|
+
color: "danger",
|
|
183
|
+
class: {
|
|
184
|
+
base: [
|
|
185
|
+
"data-[hover=true]:bg-danger data-[hover=true]:text-danger-foreground",
|
|
186
|
+
"data-[selectable=true]:focus:bg-danger data-[selectable=true]:focus:text-danger-foreground"
|
|
187
|
+
]
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
variant: "shadow",
|
|
192
|
+
color: "default",
|
|
193
|
+
class: {
|
|
194
|
+
base: [
|
|
195
|
+
"data-[hover=true]:shadow-default/50 data-[hover=true]:bg-default data-[hover=true]:text-default-foreground",
|
|
196
|
+
"data-[selectable=true]:focus:shadow-default/50 data-[selectable=true]:focus:bg-default data-[selectable=true]:focus:text-default-foreground"
|
|
197
|
+
]
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
variant: "shadow",
|
|
202
|
+
color: "primary",
|
|
203
|
+
class: {
|
|
204
|
+
base: [
|
|
205
|
+
"data-[hover=true]:shadow-primary/30 data-[hover=true]:bg-primary data-[hover=true]:text-primary-foreground",
|
|
206
|
+
"data-[selectable=true]:focus:shadow-primary/30 data-[selectable=true]:focus:bg-primary data-[selectable=true]:focus:text-primary-foreground"
|
|
207
|
+
]
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
variant: "shadow",
|
|
212
|
+
color: "secondary",
|
|
213
|
+
class: {
|
|
214
|
+
base: [
|
|
215
|
+
"data-[hover=true]:shadow-secondary/30 data-[hover=true]:bg-secondary data-[hover=true]:text-secondary-foreground",
|
|
216
|
+
"data-[selectable=true]:focus:shadow-secondary/30 data-[selectable=true]:focus:bg-secondary data-[selectable=true]:focus:text-secondary-foreground"
|
|
217
|
+
]
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
variant: "shadow",
|
|
222
|
+
color: "success",
|
|
223
|
+
class: {
|
|
224
|
+
base: [
|
|
225
|
+
"data-[hover=true]:shadow-success/30 data-[hover=true]:bg-success data-[hover=true]:text-success-foreground",
|
|
226
|
+
"data-[selectable=true]:focus:shadow-success/30 data-[selectable=true]:focus:bg-success data-[selectable=true]:focus:text-success-foreground"
|
|
227
|
+
]
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
variant: "shadow",
|
|
232
|
+
color: "warning",
|
|
233
|
+
class: {
|
|
234
|
+
base: [
|
|
235
|
+
"data-[hover=true]:shadow-warning/30 data-[hover=true]:bg-warning data-[hover=true]:text-warning-foreground",
|
|
236
|
+
"data-[selectable=true]:focus:shadow-warning/30 data-[selectable=true]:focus:bg-warning data-[selectable=true]:focus:text-warning-foreground"
|
|
237
|
+
]
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
variant: "shadow",
|
|
242
|
+
color: "danger",
|
|
243
|
+
class: {
|
|
244
|
+
base: [
|
|
245
|
+
"data-[hover=true]:shadow-danger/30 data-[hover=true]:bg-danger data-[hover=true]:text-danger-foreground",
|
|
246
|
+
"data-[selectable=true]:focus:shadow-danger/30 data-[selectable=true]:focus:bg-danger data-[selectable=true]:focus:text-danger-foreground"
|
|
247
|
+
]
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
variant: "bordered",
|
|
252
|
+
color: "default",
|
|
253
|
+
class: {
|
|
254
|
+
base: ["data-[hover=true]:border-default", "data-[selectable=true]:focus:border-default"]
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
variant: "bordered",
|
|
259
|
+
color: "primary",
|
|
260
|
+
class: {
|
|
261
|
+
base: [
|
|
262
|
+
"data-[hover=true]:border-primary data-[hover=true]:text-primary",
|
|
263
|
+
"data-[selectable=true]:focus:border-primary data-[selectable=true]:focus:text-primary"
|
|
264
|
+
]
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
variant: "bordered",
|
|
269
|
+
color: "secondary",
|
|
270
|
+
class: {
|
|
271
|
+
base: [
|
|
272
|
+
"data-[hover=true]:border-secondary data-[hover=true]:text-secondary",
|
|
273
|
+
"data-[selectable=true]:focus:border-secondary data-[selectable=true]:focus:text-secondary"
|
|
274
|
+
]
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
variant: "bordered",
|
|
279
|
+
color: "success",
|
|
280
|
+
class: {
|
|
281
|
+
base: [
|
|
282
|
+
"data-[hover=true]:border-success data-[hover=true]:text-success",
|
|
283
|
+
"data-[selectable=true]:focus:border-success data-[selectable=true]:focus:text-success"
|
|
284
|
+
]
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
variant: "bordered",
|
|
289
|
+
color: "warning",
|
|
290
|
+
class: {
|
|
291
|
+
base: [
|
|
292
|
+
"data-[hover=true]:border-warning data-[hover=true]:text-warning",
|
|
293
|
+
"data-[selectable=true]:focus:border-warning data-[selectable=true]:focus:text-warning"
|
|
294
|
+
]
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
variant: "bordered",
|
|
299
|
+
color: "danger",
|
|
300
|
+
class: {
|
|
301
|
+
base: [
|
|
302
|
+
"data-[hover=true]:border-danger data-[hover=true]:text-danger",
|
|
303
|
+
"data-[selectable=true]:focus:border-danger data-[selectable=true]:focus:text-danger"
|
|
304
|
+
]
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
variant: "flat",
|
|
309
|
+
color: "default",
|
|
310
|
+
class: {
|
|
311
|
+
base: [
|
|
312
|
+
"data-[hover=true]:bg-default/40",
|
|
313
|
+
"data-[hover=true]:text-default-foreground",
|
|
314
|
+
"data-[selectable=true]:focus:bg-default/40",
|
|
315
|
+
"data-[selectable=true]:focus:text-default-foreground"
|
|
316
|
+
]
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
variant: "flat",
|
|
321
|
+
color: "primary",
|
|
322
|
+
class: {
|
|
323
|
+
base: [
|
|
324
|
+
"data-[hover=true]:bg-primary/20 data-[hover=true]:text-primary",
|
|
325
|
+
"data-[selectable=true]:focus:bg-primary/20 data-[selectable=true]:focus:text-primary"
|
|
326
|
+
]
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
variant: "flat",
|
|
331
|
+
color: "secondary",
|
|
332
|
+
class: {
|
|
333
|
+
base: [
|
|
334
|
+
"data-[hover=true]:bg-secondary/20 data-[hover=true]:text-secondary",
|
|
335
|
+
"data-[selectable=true]:focus:bg-secondary/20 data-[selectable=true]:focus:text-secondary"
|
|
336
|
+
]
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
variant: "flat",
|
|
341
|
+
color: "success",
|
|
342
|
+
class: {
|
|
343
|
+
base: [
|
|
344
|
+
"data-[hover=true]:bg-success/20 data-[hover=true]:text-success",
|
|
345
|
+
"data-[selectable=true]:focus:bg-success/20 data-[selectable=true]:focus:text-success"
|
|
346
|
+
]
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
variant: "flat",
|
|
351
|
+
color: "warning",
|
|
352
|
+
class: {
|
|
353
|
+
base: [
|
|
354
|
+
"data-[hover=true]:bg-warning/20 data-[hover=true]:text-warning",
|
|
355
|
+
"data-[selectable=true]:focus:bg-warning/20 data-[selectable=true]:focus:text-warning"
|
|
356
|
+
]
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
variant: "flat",
|
|
361
|
+
color: "danger",
|
|
362
|
+
class: {
|
|
363
|
+
base: [
|
|
364
|
+
"data-[hover=true]:bg-danger/20 data-[hover=true]:text-danger",
|
|
365
|
+
"data-[selectable=true]:focus:bg-danger/20 data-[selectable=true]:focus:text-danger"
|
|
366
|
+
]
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
variant: "faded",
|
|
371
|
+
color: "default",
|
|
372
|
+
class: {
|
|
373
|
+
base: [
|
|
374
|
+
"data-[hover=true]:text-default-foreground",
|
|
375
|
+
"data-[selectable=true]:focus:text-default-foreground"
|
|
376
|
+
]
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
variant: "faded",
|
|
381
|
+
color: "primary",
|
|
382
|
+
class: {
|
|
383
|
+
base: ["data-[hover=true]:text-primary", "data-[selectable=true]:focus:text-primary"]
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
variant: "faded",
|
|
388
|
+
color: "secondary",
|
|
389
|
+
class: {
|
|
390
|
+
base: ["data-[hover=true]:text-secondary", "data-[selectable=true]:focus:text-secondary"]
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
variant: "faded",
|
|
395
|
+
color: "success",
|
|
396
|
+
class: {
|
|
397
|
+
base: ["data-[hover=true]:text-success", "data-[selectable=true]:focus:text-success"]
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
variant: "faded",
|
|
402
|
+
color: "warning",
|
|
403
|
+
class: {
|
|
404
|
+
base: ["data-[hover=true]:text-warning", "data-[selectable=true]:focus:text-warning"]
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
variant: "faded",
|
|
409
|
+
color: "danger",
|
|
410
|
+
class: {
|
|
411
|
+
base: ["data-[hover=true]:text-danger", "data-[selectable=true]:focus:text-danger"]
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
variant: "light",
|
|
416
|
+
color: "default",
|
|
417
|
+
class: {
|
|
418
|
+
base: [
|
|
419
|
+
"data-[hover=true]:text-default-500",
|
|
420
|
+
"data-[selectable=true]:focus:text-default-500"
|
|
421
|
+
]
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
variant: "light",
|
|
426
|
+
color: "primary",
|
|
427
|
+
class: {
|
|
428
|
+
base: ["data-[hover=true]:text-primary", "data-[selectable=true]:focus:text-primary"]
|
|
429
|
+
}
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
variant: "light",
|
|
433
|
+
color: "secondary",
|
|
434
|
+
class: {
|
|
435
|
+
base: ["data-[hover=true]:text-secondary", "data-[selectable=true]:focus:text-secondary"]
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
variant: "light",
|
|
440
|
+
color: "success",
|
|
441
|
+
class: {
|
|
442
|
+
base: ["data-[hover=true]:text-success", "data-[selectable=true]:focus:text-success"]
|
|
443
|
+
}
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
variant: "light",
|
|
447
|
+
color: "warning",
|
|
448
|
+
class: {
|
|
449
|
+
base: ["data-[hover=true]:text-warning", "data-[selectable=true]:focus:text-warning"]
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
variant: "light",
|
|
454
|
+
color: "danger",
|
|
455
|
+
class: {
|
|
456
|
+
base: ["data-[hover=true]:text-danger", "data-[selectable=true]:focus:text-danger"]
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
]
|
|
460
|
+
});
|
|
461
|
+
var menuSection = tv({
|
|
462
|
+
slots: {
|
|
463
|
+
base: "relative mb-2",
|
|
464
|
+
heading: "pl-1 text-tiny text-foreground-500",
|
|
465
|
+
group: "data-[has-title=true]:pt-1",
|
|
466
|
+
divider: "mt-2"
|
|
467
|
+
}
|
|
468
|
+
});
|
|
469
|
+
|
|
470
|
+
export {
|
|
471
|
+
menu,
|
|
472
|
+
menuItem,
|
|
473
|
+
menuSection
|
|
474
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// src/colors/pink.ts
|
|
2
|
+
var pink = {
|
|
3
|
+
50: "#ffedfa",
|
|
4
|
+
100: "#ffdcf5",
|
|
5
|
+
200: "#ffb8eb",
|
|
6
|
+
300: "#ff95e1",
|
|
7
|
+
400: "#ff71d7",
|
|
8
|
+
500: "#ff4ecd",
|
|
9
|
+
600: "#cc3ea4",
|
|
10
|
+
700: "#992f7b",
|
|
11
|
+
800: "#661f52",
|
|
12
|
+
900: "#331029"
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
pink
|
|
17
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// src/utilities/custom.ts
|
|
2
|
+
var custom_default = {
|
|
3
|
+
".leading-inherit": {
|
|
4
|
+
"line-height": "inherit"
|
|
5
|
+
},
|
|
6
|
+
".bg-img-inherit": {
|
|
7
|
+
"background-image": "inherit"
|
|
8
|
+
},
|
|
9
|
+
".bg-clip-inherit": {
|
|
10
|
+
"background-clip": "inherit"
|
|
11
|
+
},
|
|
12
|
+
".text-fill-inherit": {
|
|
13
|
+
"-webkit-text-fill-color": "inherit"
|
|
14
|
+
},
|
|
15
|
+
".tap-highlight-transparent": {
|
|
16
|
+
"-webkit-tap-highlight-color": "transparent"
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export {
|
|
21
|
+
custom_default
|
|
22
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
// src/animations/index.ts
|
|
2
|
+
var animations = {
|
|
3
|
+
animation: {
|
|
4
|
+
"drip-expand": "drip-expand 420ms linear",
|
|
5
|
+
"spinner-ease-spin": "spinner-spin 0.8s ease infinite",
|
|
6
|
+
"spinner-linear-spin": "spinner-spin 0.8s linear infinite",
|
|
7
|
+
"appearance-in": "appearance-in 250ms ease-out normal both",
|
|
8
|
+
"appearance-out": "appearance-out 60ms ease-in normal both",
|
|
9
|
+
"indeterminate-bar": "indeterminate-bar 1.5s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite normal none running"
|
|
10
|
+
},
|
|
11
|
+
keyframes: {
|
|
12
|
+
shimmer: {
|
|
13
|
+
"100%": {
|
|
14
|
+
transform: "translateX(100%)"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"spinner-spin": {
|
|
18
|
+
"0%": {
|
|
19
|
+
transform: "rotate(0deg)"
|
|
20
|
+
},
|
|
21
|
+
"100%": {
|
|
22
|
+
transform: "rotate(360deg)"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"drip-expand": {
|
|
26
|
+
"0%": {
|
|
27
|
+
opacity: "0.2",
|
|
28
|
+
transform: "scale(0)"
|
|
29
|
+
},
|
|
30
|
+
"100%": {
|
|
31
|
+
opacity: "0",
|
|
32
|
+
transform: "scale(2)"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"appearance-in": {
|
|
36
|
+
"0%": {
|
|
37
|
+
opacity: "0",
|
|
38
|
+
transform: "translateZ(0) scale(0.95)"
|
|
39
|
+
},
|
|
40
|
+
"60%": {
|
|
41
|
+
opacity: "0.75",
|
|
42
|
+
backfaceVisibility: "hidden",
|
|
43
|
+
webkitFontSmoothing: "antialiased",
|
|
44
|
+
transform: "translateZ(0) scale(1.05)"
|
|
45
|
+
},
|
|
46
|
+
"100%": {
|
|
47
|
+
opacity: "1",
|
|
48
|
+
transform: "translateZ(0) scale(1)"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"appearance-out": {
|
|
52
|
+
"0%": {
|
|
53
|
+
opacity: "1",
|
|
54
|
+
transform: "scale(1)"
|
|
55
|
+
},
|
|
56
|
+
"100%": {
|
|
57
|
+
opacity: "0",
|
|
58
|
+
transform: "scale(0.85)"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"indeterminate-bar": {
|
|
62
|
+
"0%": {
|
|
63
|
+
transform: "translateX(-50%) scaleX(0.2)"
|
|
64
|
+
},
|
|
65
|
+
"100%": {
|
|
66
|
+
transform: "translateX(100%) scaleX(1)"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
export {
|
|
73
|
+
animations
|
|
74
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import {
|
|
2
|
+
tv
|
|
3
|
+
} from "./chunk-GMMETTYU.mjs";
|
|
4
|
+
|
|
5
|
+
// src/components/scroll-shadow.ts
|
|
6
|
+
var verticalShadow = [
|
|
7
|
+
"data-[top-scroll=true]:[mask-image:linear-gradient(0deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]",
|
|
8
|
+
"data-[bottom-scroll=true]:[mask-image:linear-gradient(180deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]",
|
|
9
|
+
"data-[top-bottom-scroll=true]:[mask-image:linear-gradient(#000,#000,transparent_0,#000_var(--scroll-shadow-size),#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]"
|
|
10
|
+
];
|
|
11
|
+
var horizontalShadow = [
|
|
12
|
+
"data-[left-scroll=true]:[mask-image:linear-gradient(270deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]",
|
|
13
|
+
"data-[right-scroll=true]:[mask-image:linear-gradient(90deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]",
|
|
14
|
+
"data-[left-right-scroll=true]:[mask-image:linear-gradient(to_right,#000,#000,transparent_0,#000_var(--scroll-shadow-size),#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]"
|
|
15
|
+
];
|
|
16
|
+
var scrollShadow = tv({
|
|
17
|
+
base: [],
|
|
18
|
+
variants: {
|
|
19
|
+
orientation: {
|
|
20
|
+
vertical: ["overflow-y-auto", ...verticalShadow],
|
|
21
|
+
horizontal: ["overflow-x-auto", ...horizontalShadow]
|
|
22
|
+
},
|
|
23
|
+
hideScrollBar: {
|
|
24
|
+
true: "scrollbar-hide",
|
|
25
|
+
false: ""
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
defaultVariants: {
|
|
29
|
+
orientation: "vertical",
|
|
30
|
+
hideScrollBar: false
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
export {
|
|
35
|
+
scrollShadow
|
|
36
|
+
};
|