@tenerife.music/ui 1.0.0 → 1.0.2

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.
Files changed (143) hide show
  1. package/dist/ThemeProvider-CaUX_Jam.cjs +2 -0
  2. package/dist/ThemeProvider-ltuW-773.js +1227 -0
  3. package/dist/animation/index.d.ts +9 -0
  4. package/dist/animation/index.d.ts.map +1 -0
  5. package/dist/animation/presets.d.ts +304 -0
  6. package/dist/animation/presets.d.ts.map +1 -0
  7. package/dist/animation/tas.d.ts +80 -0
  8. package/dist/animation/tas.d.ts.map +1 -0
  9. package/dist/animation/types.d.ts +106 -0
  10. package/dist/animation/types.d.ts.map +1 -0
  11. package/dist/animation/utils.d.ts +7 -0
  12. package/dist/animation/utils.d.ts.map +1 -0
  13. package/dist/components/SectionBuilder.d.ts +37 -0
  14. package/dist/components/SectionBuilder.d.ts.map +1 -0
  15. package/dist/components/SectionBuilder.presets.d.ts +229 -0
  16. package/dist/components/SectionBuilder.presets.d.ts.map +1 -0
  17. package/dist/components/SectionBuilder.types.d.ts +327 -0
  18. package/dist/components/SectionBuilder.types.d.ts.map +1 -0
  19. package/dist/components/auth/ProfileCard.d.ts.map +1 -1
  20. package/dist/components/cards/EventCard.d.ts +32 -31
  21. package/dist/components/cards/EventCard.d.ts.map +1 -1
  22. package/dist/components/cards/VenueCard.d.ts +32 -33
  23. package/dist/components/cards/VenueCard.d.ts.map +1 -1
  24. package/dist/components/data/List.d.ts.map +1 -1
  25. package/dist/components/data/Table.d.ts.map +1 -1
  26. package/dist/components/data/Timeline.d.ts.map +1 -1
  27. package/dist/components/feedback/Alert.d.ts +1 -1
  28. package/dist/components/feedback/Alert.d.ts.map +1 -1
  29. package/dist/components/feedback/Progress.d.ts.map +1 -1
  30. package/dist/components/filters/FilterSelect.d.ts.map +1 -1
  31. package/dist/components/image/Image.d.ts.map +1 -1
  32. package/dist/components/layout/Box.d.ts +82 -0
  33. package/dist/components/layout/Box.d.ts.map +1 -0
  34. package/dist/components/layout/Container.d.ts.map +1 -1
  35. package/dist/components/layout/Flex.d.ts +27 -6
  36. package/dist/components/layout/Flex.d.ts.map +1 -1
  37. package/dist/components/layout/Grid.d.ts +42 -3
  38. package/dist/components/layout/Grid.d.ts.map +1 -1
  39. package/dist/components/layout/Navbar.d.ts +2 -2
  40. package/dist/components/layout/Navbar.d.ts.map +1 -1
  41. package/dist/components/layout/Section.d.ts.map +1 -1
  42. package/dist/components/layout/Stack.d.ts +21 -4
  43. package/dist/components/layout/Stack.d.ts.map +1 -1
  44. package/dist/components/layout/index.d.ts +15 -0
  45. package/dist/components/layout/index.d.ts.map +1 -0
  46. package/dist/components/layout/layout.types.d.ts +92 -0
  47. package/dist/components/layout/layout.types.d.ts.map +1 -0
  48. package/dist/components/menus/DropdownMenu.d.ts.map +1 -1
  49. package/dist/components/menus/NavigationMenu.d.ts.map +1 -1
  50. package/dist/components/menus/Tabs.d.ts.map +1 -1
  51. package/dist/components/modals/ConfirmDialog.d.ts +2 -2
  52. package/dist/components/modals/ConfirmDialog.d.ts.map +1 -1
  53. package/dist/components/modals/Modal.d.ts.map +1 -1
  54. package/dist/components/modals/SimpleModal.d.ts +3 -1
  55. package/dist/components/modals/SimpleModal.d.ts.map +1 -1
  56. package/dist/components/navigation/Breadcrumbs.d.ts +1 -0
  57. package/dist/components/navigation/Breadcrumbs.d.ts.map +1 -1
  58. package/dist/components/navigation/Pagination.d.ts +1 -0
  59. package/dist/components/navigation/Pagination.d.ts.map +1 -1
  60. package/dist/components/overlays/OverlayPortal.d.ts.map +1 -1
  61. package/dist/components/overlays/Popover.d.ts +4 -4
  62. package/dist/components/overlays/Popover.d.ts.map +1 -1
  63. package/dist/components/overlays/Tooltip.d.ts +2 -2
  64. package/dist/components/overlays/Tooltip.d.ts.map +1 -1
  65. package/dist/components/primitives/Badge.d.ts +1 -1
  66. package/dist/components/primitives/Badge.d.ts.map +1 -1
  67. package/dist/components/primitives/Card.d.ts.map +1 -1
  68. package/dist/components/primitives/Divider.d.ts.map +1 -1
  69. package/dist/components/primitives/Label.d.ts.map +1 -1
  70. package/dist/components/primitives/Link.d.ts +4 -2
  71. package/dist/components/primitives/Link.d.ts.map +1 -1
  72. package/dist/components/primitives/ThemeSwitch.d.ts +2 -2
  73. package/dist/components/primitives/ThemeSwitch.d.ts.map +1 -1
  74. package/dist/components/primitives/Typography.d.ts +2 -2
  75. package/dist/components/primitives/Typography.d.ts.map +1 -1
  76. package/dist/components/search/SearchBar.d.ts.map +1 -1
  77. package/dist/components/sections/ArticlesSection.d.ts +14 -4
  78. package/dist/components/sections/ArticlesSection.d.ts.map +1 -1
  79. package/dist/components/sections/CTASection.d.ts +38 -0
  80. package/dist/components/sections/CTASection.d.ts.map +1 -0
  81. package/dist/components/sections/FeatureSection.d.ts +34 -0
  82. package/dist/components/sections/FeatureSection.d.ts.map +1 -0
  83. package/dist/components/sections/HeroSection.d.ts +28 -0
  84. package/dist/components/sections/HeroSection.d.ts.map +1 -0
  85. package/dist/components/sections/TrendingSection.d.ts +15 -3
  86. package/dist/components/sections/TrendingSection.d.ts.map +1 -1
  87. package/dist/components/toasts/Toast.d.ts +1 -1
  88. package/dist/components/toasts/Toast.d.ts.map +1 -1
  89. package/dist/components/toasts/ToastProvider.d.ts.map +1 -1
  90. package/dist/components/ui/button.d.ts +4 -2
  91. package/dist/components/ui/button.d.ts.map +1 -1
  92. package/dist/components/ui/card.d.ts.map +1 -1
  93. package/dist/components/ui/dialog.d.ts.map +1 -1
  94. package/dist/components/ui/input.d.ts.map +1 -1
  95. package/dist/components/ui/label.d.ts.map +1 -1
  96. package/dist/components/ui/tooltip.d.ts.map +1 -1
  97. package/dist/index.cjs +1 -1
  98. package/dist/index.d.ts +27 -18
  99. package/dist/index.d.ts.map +1 -1
  100. package/dist/index.mjs +3897 -2372
  101. package/dist/lib/a11y.d.ts +16 -0
  102. package/dist/lib/a11y.d.ts.map +1 -0
  103. package/dist/lib/responsive-props.d.ts +64 -0
  104. package/dist/lib/responsive-props.d.ts.map +1 -0
  105. package/dist/motion-4SRNkZlz.cjs +2 -0
  106. package/dist/motion-CuHacXY1.js +722 -0
  107. package/dist/test/animation-utils.d.ts +60 -0
  108. package/dist/test/animation-utils.d.ts.map +1 -0
  109. package/dist/theme/ThemeProvider.d.ts +19 -8
  110. package/dist/theme/ThemeProvider.d.ts.map +1 -1
  111. package/dist/theme/applyMode.d.ts +11 -2
  112. package/dist/theme/applyMode.d.ts.map +1 -1
  113. package/dist/theme/index.cjs +1 -1
  114. package/dist/theme/index.d.ts +3 -0
  115. package/dist/theme/index.d.ts.map +1 -1
  116. package/dist/theme/index.mjs +236 -101
  117. package/dist/theme/loader.d.ts +64 -0
  118. package/dist/theme/loader.d.ts.map +1 -0
  119. package/dist/theme/registry.d.ts +71 -0
  120. package/dist/theme/registry.d.ts.map +1 -0
  121. package/dist/theme/schema.d.ts +125 -0
  122. package/dist/theme/schema.d.ts.map +1 -0
  123. package/dist/themes/brand_engine.d.ts +102 -0
  124. package/dist/themes/brand_engine.d.ts.map +1 -0
  125. package/dist/themes/index.d.ts +3 -0
  126. package/dist/themes/index.d.ts.map +1 -1
  127. package/dist/themes/minimal.d.ts +7 -0
  128. package/dist/themes/minimal.d.ts.map +1 -0
  129. package/dist/themes/neon.d.ts +7 -0
  130. package/dist/themes/neon.d.ts.map +1 -0
  131. package/dist/themes/types.d.ts +220 -5
  132. package/dist/themes/types.d.ts.map +1 -1
  133. package/dist/tokens/css-variables.d.ts +21 -0
  134. package/dist/tokens/css-variables.d.ts.map +1 -1
  135. package/dist/tokens/index.cjs +3 -3
  136. package/dist/tokens/index.mjs +295 -551
  137. package/dist/tokens/motion.d.ts +77 -0
  138. package/dist/tokens/motion.d.ts.map +1 -1
  139. package/package.json +20 -7
  140. package/dist/applyMode-Bh7sEqT6.js +0 -144
  141. package/dist/applyMode-DCenL-Bg.cjs +0 -2
  142. package/dist/colors-BGRiFoSZ.cjs +0 -2
  143. package/dist/colors-ClemXPPi.js +0 -377
@@ -0,0 +1,722 @@
1
+ "use client";
2
+ const o = {
3
+ 50: "210 40% 98%",
4
+ // Lightest blue
5
+ 100: "210 40% 96%",
6
+ 200: "217 32.6% 17.5%",
7
+ 300: "216 28% 26%",
8
+ 400: "215 25% 27%",
9
+ 500: "215 20% 35%",
10
+ // Base primary
11
+ 600: "215 16% 47%",
12
+ 700: "216 12% 54%",
13
+ 800: "217 10% 62%",
14
+ 900: "222 47.4% 11.2%",
15
+ 950: "222 84% 4.9%"
16
+ // Darkest blue
17
+ }, n = {
18
+ 50: "280 100% 98%",
19
+ 100: "280 65% 96%",
20
+ 200: "280 60% 85%",
21
+ 300: "280 55% 75%",
22
+ 400: "280 50% 65%",
23
+ 500: "280 70% 67%",
24
+ // Base accent (night mode primary)
25
+ 600: "259 65% 58%",
26
+ 700: "259 60% 50%",
27
+ 800: "259 55% 45%",
28
+ 900: "259 50% 40%",
29
+ 950: "259 45% 30%"
30
+ }, t = {
31
+ 50: "173 100% 98%",
32
+ 100: "173 100% 95%",
33
+ 200: "173 100% 85%",
34
+ 300: "173 100% 70%",
35
+ 400: "173 100% 55%",
36
+ 500: "173 100% 37%",
37
+ // Base secondary (Tenerife #00bfa6)
38
+ 600: "173 100% 32%",
39
+ 700: "173 95% 27%",
40
+ 800: "173 90% 22%",
41
+ 900: "173 85% 17%",
42
+ 950: "173 80% 12%"
43
+ }, i = {
44
+ day: {
45
+ base: "0 0% 100%",
46
+ // White background
47
+ elevated1: "0 0% 98%",
48
+ // Slightly elevated
49
+ elevated2: "0 0% 96%",
50
+ // More elevated
51
+ elevated3: "0 0% 94%",
52
+ // Most elevated
53
+ overlay: "0 0% 0% / 0.5",
54
+ // Overlay backdrop
55
+ glass: "0 0% 100% / 0.8"
56
+ // Glass effect
57
+ },
58
+ night: {
59
+ base: "240 10% 3.9%",
60
+ // Dark background (#0b0b10)
61
+ elevated1: "240 10% 5.1%",
62
+ // #0e1016
63
+ elevated2: "240 10% 6.3%",
64
+ // Slightly lighter
65
+ elevated3: "240 10% 7.5%",
66
+ // Even lighter
67
+ overlay: "0 0% 0% / 0.7",
68
+ // Darker overlay
69
+ glass: "240 10% 10% / 0.9"
70
+ // Dark glass effect
71
+ }
72
+ }, s = {
73
+ day: {
74
+ success: "142 70% 28%",
75
+ // Darker green for better contrast
76
+ successForeground: "0 0% 100%",
77
+ error: "0 80% 40%",
78
+ // Richer red for contrast
79
+ errorForeground: "0 0% 100%",
80
+ warning: "38 92% 50%",
81
+ // Orange
82
+ warningForeground: "0 0% 9%",
83
+ info: "199 89% 48%",
84
+ // Blue
85
+ infoForeground: "0 0% 100%"
86
+ },
87
+ night: {
88
+ success: "142 70% 45%",
89
+ successForeground: "0 0% 100%",
90
+ error: "0 62.8% 30.6%",
91
+ // Darker red
92
+ errorForeground: "0 0% 98%",
93
+ warning: "38 92% 60%",
94
+ // Brighter orange
95
+ warningForeground: "0 0% 9%",
96
+ info: "199 89% 55%",
97
+ // Brighter blue
98
+ infoForeground: "0 0% 9%"
99
+ }
100
+ }, l = {
101
+ day: {
102
+ primary: "0 0% 9%",
103
+ // Almost black
104
+ secondary: "0 0% 45%",
105
+ // Medium gray
106
+ tertiary: "0 0% 65%",
107
+ // Light gray
108
+ muted: "0 0% 38%",
109
+ // Muted gray with stronger contrast
110
+ inverse: "0 0% 100%"
111
+ // White (for dark backgrounds)
112
+ },
113
+ night: {
114
+ primary: "0 0% 89.8%",
115
+ // Light gray (#e5e7eb)
116
+ secondary: "240 5% 64.9%",
117
+ // Medium gray
118
+ tertiary: "240 5% 50%",
119
+ // Darker gray
120
+ muted: "240 5% 64.9%",
121
+ // Muted gray
122
+ inverse: "0 0% 9%"
123
+ // Almost black (for light backgrounds)
124
+ }
125
+ }, d = {
126
+ day: {
127
+ background: "0 0% 100%",
128
+ foreground: "0 0% 9%",
129
+ card: "0 0% 100%",
130
+ cardForeground: "0 0% 9%",
131
+ popover: "0 0% 100%",
132
+ popoverForeground: "0 0% 9%",
133
+ border: "0 0% 89.8%",
134
+ input: "0 0% 89.8%",
135
+ ring: "0 0% 3.9%"
136
+ },
137
+ night: {
138
+ background: "240 10% 3.9%",
139
+ // #0b0b10
140
+ foreground: "0 0% 89.8%",
141
+ // #e5e7eb
142
+ card: "240 10% 3.9%",
143
+ cardForeground: "0 0% 89.8%",
144
+ popover: "240 10% 5.1%",
145
+ // #0e1016
146
+ popoverForeground: "0 0% 89.8%",
147
+ border: "240 3.7% 15.9%",
148
+ input: "240 3.7% 15.9%",
149
+ ring: "240 4.9% 83.9%"
150
+ }
151
+ }, m = {
152
+ day: {
153
+ ...d.day,
154
+ primary: "hsl(var(--tm-primary))",
155
+ primaryForeground: "hsl(var(--tm-primary-foreground))",
156
+ secondary: "hsl(var(--tm-secondary))",
157
+ secondaryForeground: "hsl(var(--tm-secondary-foreground))",
158
+ muted: "hsl(var(--muted))",
159
+ mutedForeground: "hsl(var(--muted-foreground))",
160
+ accent: "hsl(var(--tm-accent))",
161
+ accentForeground: "hsl(var(--tm-accent-foreground))",
162
+ destructive: `hsl(${s.day.error})`,
163
+ destructiveForeground: s.day.errorForeground,
164
+ chart1: "hsl(12, 76%, 61%)",
165
+ chart2: "hsl(173, 58%, 39%)",
166
+ chart3: "hsl(197, 37%, 24%)",
167
+ chart4: "hsl(43, 74%, 66%)",
168
+ chart5: "hsl(27, 87%, 67%)"
169
+ },
170
+ night: {
171
+ ...d.night,
172
+ primary: "hsl(var(--tm-primary))",
173
+ primaryForeground: "hsl(var(--tm-primary-foreground))",
174
+ secondary: "hsl(var(--tm-secondary))",
175
+ secondaryForeground: "hsl(var(--tm-secondary-foreground))",
176
+ muted: "hsl(var(--muted))",
177
+ mutedForeground: "hsl(var(--muted-foreground))",
178
+ accent: "hsl(var(--tm-accent))",
179
+ accentForeground: "hsl(var(--tm-accent-foreground))",
180
+ destructive: `hsl(${s.night.error})`,
181
+ destructiveForeground: s.night.errorForeground,
182
+ chart1: "hsl(220, 70%, 50%)",
183
+ chart2: "hsl(160, 60%, 45%)",
184
+ chart3: "hsl(30, 80%, 55%)",
185
+ chart4: "hsl(280, 65%, 60%)",
186
+ chart5: "hsl(340, 75%, 55%)"
187
+ }
188
+ }, f = {
189
+ // Primary scale
190
+ "--primary-50": o[50],
191
+ "--primary-100": o[100],
192
+ "--primary-200": o[200],
193
+ "--primary-300": o[300],
194
+ "--primary-400": o[400],
195
+ "--primary-500": o[500],
196
+ "--primary-600": o[600],
197
+ "--primary-700": o[700],
198
+ "--primary-800": o[800],
199
+ "--primary-900": o[900],
200
+ "--primary-950": o[950],
201
+ // Accent scale
202
+ "--accent-50": n[50],
203
+ "--accent-100": n[100],
204
+ "--accent-200": n[200],
205
+ "--accent-300": n[300],
206
+ "--accent-400": n[400],
207
+ "--accent-500": n[500],
208
+ "--accent-600": n[600],
209
+ "--accent-700": n[700],
210
+ "--accent-800": n[800],
211
+ "--accent-900": n[900],
212
+ "--accent-950": n[950],
213
+ // Secondary scale
214
+ "--secondary-50": t[50],
215
+ "--secondary-100": t[100],
216
+ "--secondary-200": t[200],
217
+ "--secondary-300": t[300],
218
+ "--secondary-400": t[400],
219
+ "--secondary-500": t[500],
220
+ "--secondary-600": t[600],
221
+ "--secondary-700": t[700],
222
+ "--secondary-800": t[800],
223
+ "--secondary-900": t[900],
224
+ "--secondary-950": t[950],
225
+ // Surface colors (mode-dependent, will be set by theme)
226
+ "--surface-base": i.day.base,
227
+ "--surface-elevated1": i.day.elevated1,
228
+ "--surface-elevated2": i.day.elevated2,
229
+ "--surface-elevated3": i.day.elevated3,
230
+ "--surface-overlay": i.day.overlay,
231
+ "--surface-glass": i.day.glass,
232
+ // Semantic colors (mode-dependent)
233
+ "--semantic-success": s.day.success,
234
+ "--semantic-success-foreground": s.day.successForeground,
235
+ "--semantic-error": s.day.error,
236
+ "--semantic-error-foreground": s.day.errorForeground,
237
+ "--semantic-warning": s.day.warning,
238
+ "--semantic-warning-foreground": s.day.warningForeground,
239
+ "--semantic-info": s.day.info,
240
+ "--semantic-info-foreground": s.day.infoForeground,
241
+ // Text colors (mode-dependent)
242
+ "--text-primary": l.day.primary,
243
+ "--text-secondary": l.day.secondary,
244
+ "--text-tertiary": l.day.tertiary,
245
+ "--text-muted": l.day.muted,
246
+ "--text-inverse": l.day.inverse
247
+ }, y = {
248
+ // Base colors
249
+ background: "hsl(var(--background))",
250
+ foreground: "hsl(var(--foreground))",
251
+ // Card colors
252
+ card: {
253
+ DEFAULT: "hsl(var(--card))",
254
+ foreground: "hsl(var(--card-foreground))"
255
+ },
256
+ // Popover colors
257
+ popover: {
258
+ DEFAULT: "hsl(var(--popover))",
259
+ foreground: "hsl(var(--popover-foreground))"
260
+ },
261
+ // Primary colors (using CSS variables)
262
+ primary: {
263
+ DEFAULT: "hsl(var(--tm-primary))",
264
+ foreground: "hsl(var(--tm-primary-foreground))",
265
+ 50: "hsl(var(--primary-50))",
266
+ 100: "hsl(var(--primary-100))",
267
+ 200: "hsl(var(--primary-200))",
268
+ 300: "hsl(var(--primary-300))",
269
+ 400: "hsl(var(--primary-400))",
270
+ 500: "hsl(var(--primary-500))",
271
+ 600: "hsl(var(--primary-600))",
272
+ 700: "hsl(var(--primary-700))",
273
+ 800: "hsl(var(--primary-800))",
274
+ 900: "hsl(var(--primary-900))",
275
+ 950: "hsl(var(--primary-950))"
276
+ },
277
+ // Secondary colors
278
+ secondary: {
279
+ DEFAULT: "hsl(var(--tm-secondary))",
280
+ foreground: "hsl(var(--tm-secondary-foreground))",
281
+ 50: "hsl(var(--secondary-50))",
282
+ 100: "hsl(var(--secondary-100))",
283
+ 200: "hsl(var(--secondary-200))",
284
+ 300: "hsl(var(--secondary-300))",
285
+ 400: "hsl(var(--secondary-400))",
286
+ 500: "hsl(var(--secondary-500))",
287
+ 600: "hsl(var(--secondary-600))",
288
+ 700: "hsl(var(--secondary-700))",
289
+ 800: "hsl(var(--secondary-800))",
290
+ 900: "hsl(var(--secondary-900))",
291
+ 950: "hsl(var(--secondary-950))"
292
+ },
293
+ // Accent colors
294
+ accent: {
295
+ DEFAULT: "hsl(var(--tm-accent))",
296
+ foreground: "hsl(var(--tm-accent-foreground))",
297
+ 50: "hsl(var(--accent-50))",
298
+ 100: "hsl(var(--accent-100))",
299
+ 200: "hsl(var(--accent-200))",
300
+ 300: "hsl(var(--accent-300))",
301
+ 400: "hsl(var(--accent-400))",
302
+ 500: "hsl(var(--accent-500))",
303
+ 600: "hsl(var(--accent-600))",
304
+ 700: "hsl(var(--accent-700))",
305
+ 800: "hsl(var(--accent-800))",
306
+ 900: "hsl(var(--accent-900))",
307
+ 950: "hsl(var(--accent-950))"
308
+ },
309
+ // Muted colors
310
+ muted: {
311
+ DEFAULT: "hsl(var(--muted))",
312
+ foreground: "hsl(var(--muted-foreground))"
313
+ },
314
+ // Destructive colors (semantic error)
315
+ destructive: {
316
+ DEFAULT: "hsl(var(--destructive))",
317
+ foreground: "hsl(var(--destructive-foreground))"
318
+ },
319
+ // Semantic colors
320
+ success: {
321
+ DEFAULT: "hsl(var(--semantic-success))",
322
+ foreground: "hsl(var(--semantic-success-foreground))"
323
+ },
324
+ error: {
325
+ DEFAULT: "hsl(var(--semantic-error))",
326
+ foreground: "hsl(var(--semantic-error-foreground))"
327
+ },
328
+ warning: {
329
+ DEFAULT: "hsl(var(--semantic-warning))",
330
+ foreground: "hsl(var(--semantic-warning-foreground))"
331
+ },
332
+ info: {
333
+ DEFAULT: "hsl(var(--semantic-info))",
334
+ foreground: "hsl(var(--semantic-info-foreground))"
335
+ },
336
+ // Surface colors
337
+ surface: {
338
+ base: "hsl(var(--surface-base))",
339
+ elevated1: "hsl(var(--surface-elevated1))",
340
+ elevated2: "hsl(var(--surface-elevated2))",
341
+ elevated3: "hsl(var(--surface-elevated3))",
342
+ overlay: "hsl(var(--surface-overlay))",
343
+ glass: "hsl(var(--surface-glass))"
344
+ },
345
+ // Text colors
346
+ text: {
347
+ primary: "hsl(var(--text-primary))",
348
+ secondary: "hsl(var(--text-secondary))",
349
+ tertiary: "hsl(var(--text-tertiary))",
350
+ muted: "hsl(var(--text-muted))",
351
+ inverse: "hsl(var(--text-inverse))"
352
+ },
353
+ // Border and input
354
+ border: "hsl(var(--border))",
355
+ input: "hsl(var(--input))",
356
+ ring: "hsl(var(--ring))",
357
+ // Chart colors
358
+ chart: {
359
+ 1: "hsl(var(--chart-1))",
360
+ 2: "hsl(var(--chart-2))",
361
+ 3: "hsl(var(--chart-3))",
362
+ 4: "hsl(var(--chart-4))",
363
+ 5: "hsl(var(--chart-5))"
364
+ }
365
+ }, a = {
366
+ instant: "0ms",
367
+ fast: "150ms",
368
+ // 1.5 × base (quick interactions)
369
+ normal: "300ms",
370
+ // 3 × base (default)
371
+ slow: "500ms",
372
+ // 5 × base (emphasized)
373
+ slower: "700ms",
374
+ // 7 × base (very emphasized)
375
+ slowest: "1000ms",
376
+ // 10 × base (maximum emphasis)
377
+ // Additional granular durations
378
+ 75: "75ms",
379
+ // Ultra-fast
380
+ 100: "100ms",
381
+ // Base unit
382
+ 200: "200ms",
383
+ // Fast-normal
384
+ 250: "250ms",
385
+ // Between fast and normal
386
+ 400: "400ms",
387
+ // Between normal and slow
388
+ 600: "600ms",
389
+ // Between slow and slower
390
+ 800: "800ms"
391
+ // Between slower and slowest
392
+ }, r = {
393
+ // Linear (no easing)
394
+ linear: "linear",
395
+ // Ease-in (accelerate) - cubic-bezier
396
+ "ease-in": "cubic-bezier(0.4, 0, 1, 1)",
397
+ // Ease-out (decelerate) - recommended for most UI - cubic-bezier
398
+ "ease-out": "cubic-bezier(0, 0, 0.2, 1)",
399
+ // Ease-in-out (accelerate and decelerate)
400
+ "ease-in-out": "cubic-bezier(0.4, 0, 0.2, 1)",
401
+ // Standard easing functions
402
+ ease: "ease",
403
+ // Advanced easing functions
404
+ bounce: "cubic-bezier(0.68, -0.55, 0.265, 1.55)",
405
+ elastic: "cubic-bezier(0.175, 0.885, 0.32, 1.275)",
406
+ // Material Design easing
407
+ "ease-out-cubic": "cubic-bezier(0.215, 0.61, 0.355, 1)",
408
+ "ease-in-cubic": "cubic-bezier(0.55, 0.055, 0.675, 0.19)",
409
+ "ease-in-out-cubic": "cubic-bezier(0.645, 0.045, 0.355, 1)"
410
+ }, e = {
411
+ // Fast transitions (quick interactions)
412
+ fast: `${a.fast} ${r["ease-out"]}`,
413
+ "fast-in": `${a.fast} ${r["ease-in"]}`,
414
+ "fast-out": `${a.fast} ${r["ease-out"]}`,
415
+ "fast-in-out": `${a.fast} ${r["ease-in-out"]}`,
416
+ // Normal transitions (default)
417
+ normal: `${a.normal} ${r["ease-in-out"]}`,
418
+ "normal-in": `${a.normal} ${r["ease-in"]}`,
419
+ "normal-out": `${a.normal} ${r["ease-out"]}`,
420
+ "normal-in-out": `${a.normal} ${r["ease-in-out"]}`,
421
+ // Slow transitions (emphasized)
422
+ slow: `${a.slow} ${r["ease-in-out"]}`,
423
+ "slow-in": `${a.slow} ${r["ease-in"]}`,
424
+ "slow-out": `${a.slow} ${r["ease-out"]}`,
425
+ "slow-in-out": `${a.slow} ${r["ease-in-out"]}`,
426
+ // Special transitions
427
+ bounce: `${a.normal} ${r.bounce}`,
428
+ elastic: `${a.slow} ${r.elastic}`,
429
+ // Default (normal)
430
+ DEFAULT: `${a.normal} ${r["ease-in-out"]}`
431
+ }, u = {
432
+ // Fade animations
433
+ fadeIn: {
434
+ from: { opacity: 0 },
435
+ to: { opacity: 1 }
436
+ },
437
+ fadeOut: {
438
+ from: { opacity: 1 },
439
+ to: { opacity: 0 }
440
+ },
441
+ // Slide animations
442
+ slideInUp: {
443
+ from: { transform: "translateY(100%)", opacity: 0 },
444
+ to: { transform: "translateY(0)", opacity: 1 }
445
+ },
446
+ slideInDown: {
447
+ from: { transform: "translateY(-100%)", opacity: 0 },
448
+ to: { transform: "translateY(0)", opacity: 1 }
449
+ },
450
+ slideInLeft: {
451
+ from: { transform: "translateX(-100%)", opacity: 0 },
452
+ to: { transform: "translateX(0)", opacity: 1 }
453
+ },
454
+ slideInRight: {
455
+ from: { transform: "translateX(100%)", opacity: 0 },
456
+ to: { transform: "translateX(0)", opacity: 1 }
457
+ },
458
+ slideOutUp: {
459
+ from: { transform: "translateY(0)", opacity: 1 },
460
+ to: { transform: "translateY(-100%)", opacity: 0 }
461
+ },
462
+ slideOutDown: {
463
+ from: { transform: "translateY(0)", opacity: 1 },
464
+ to: { transform: "translateY(100%)", opacity: 0 }
465
+ },
466
+ slideOutLeft: {
467
+ from: { transform: "translateX(0)", opacity: 1 },
468
+ to: { transform: "translateX(-100%)", opacity: 0 }
469
+ },
470
+ slideOutRight: {
471
+ from: { transform: "translateX(0)", opacity: 1 },
472
+ to: { transform: "translateX(100%)", opacity: 0 }
473
+ },
474
+ // Scale animations
475
+ scaleIn: {
476
+ from: { transform: "scale(0.95)", opacity: 0 },
477
+ to: { transform: "scale(1)", opacity: 1 }
478
+ },
479
+ scaleOut: {
480
+ from: { transform: "scale(1)", opacity: 1 },
481
+ to: { transform: "scale(0.95)", opacity: 0 }
482
+ },
483
+ scaleUp: {
484
+ from: { transform: "scale(1)" },
485
+ to: { transform: "scale(1.05)" }
486
+ },
487
+ scaleDown: {
488
+ from: { transform: "scale(1.05)" },
489
+ to: { transform: "scale(1)" }
490
+ },
491
+ // Rotation animations
492
+ spin: {
493
+ from: { transform: "rotate(0deg)" },
494
+ to: { transform: "rotate(360deg)" }
495
+ },
496
+ spinReverse: {
497
+ from: { transform: "rotate(360deg)" },
498
+ to: { transform: "rotate(0deg)" }
499
+ },
500
+ // Pulse and bounce
501
+ pulse: {
502
+ "0%, 100%": { opacity: 1 },
503
+ "50%": { opacity: 0.5 }
504
+ },
505
+ bounce: {
506
+ "0%, 100%": {
507
+ transform: "translateY(-25%)",
508
+ animationTimingFunction: "cubic-bezier(0.8, 0, 1, 1)"
509
+ },
510
+ "50%": {
511
+ transform: "translateY(0)",
512
+ animationTimingFunction: "cubic-bezier(0, 0, 0.2, 1)"
513
+ }
514
+ },
515
+ // Shake animation
516
+ shake: {
517
+ "0%, 100%": { transform: "translateX(0)" },
518
+ "10%, 30%, 50%, 70%, 90%": { transform: "translateX(-4px)" },
519
+ "20%, 40%, 60%, 80%": { transform: "translateX(4px)" }
520
+ },
521
+ // Ping animation
522
+ ping: {
523
+ "75%, 100%": {
524
+ transform: "scale(2)",
525
+ opacity: 0
526
+ }
527
+ },
528
+ // Accordion animations (for Radix UI)
529
+ "accordion-down": {
530
+ from: { height: "0" },
531
+ to: { height: "var(--radix-accordion-content-height)" }
532
+ },
533
+ "accordion-up": {
534
+ from: { height: "var(--radix-accordion-content-height)" },
535
+ to: { height: "0" }
536
+ }
537
+ }, c = {
538
+ // Fade animations
539
+ fadeIn: `fadeIn ${a.normal} ${r["ease-out"]}`,
540
+ fadeOut: `fadeOut ${a.fast} ${r["ease-in"]}`,
541
+ // Slide animations
542
+ slideInUp: `slideInUp ${a.normal} ${r["ease-out"]}`,
543
+ slideInDown: `slideInDown ${a.normal} ${r["ease-out"]}`,
544
+ slideInLeft: `slideInLeft ${a.normal} ${r["ease-out"]}`,
545
+ slideInRight: `slideInRight ${a.normal} ${r["ease-out"]}`,
546
+ slideOutUp: `slideOutUp ${a.fast} ${r["ease-in"]}`,
547
+ slideOutDown: `slideOutDown ${a.fast} ${r["ease-in"]}`,
548
+ slideOutLeft: `slideOutLeft ${a.fast} ${r["ease-in"]}`,
549
+ slideOutRight: `slideOutRight ${a.fast} ${r["ease-in"]}`,
550
+ // Scale animations
551
+ scaleIn: `scaleIn ${a.normal} ${r["ease-out"]}`,
552
+ scaleOut: `scaleOut ${a.fast} ${r["ease-in"]}`,
553
+ // Continuous animations
554
+ spin: `spin 1s ${r.linear} infinite`,
555
+ pulse: `pulse 2s ${r["ease-in-out"]} infinite`,
556
+ bounce: `bounce 1s ${r.linear} infinite`,
557
+ ping: `ping 1s ${r["ease-out"]} cubic-bezier(0, 0, 0.2, 1) infinite`,
558
+ shake: `shake 0.5s ${r["ease-in-out"]}`,
559
+ // Accordion animations
560
+ "accordion-down": `accordion-down ${a.normal} ${r["ease-out"]}`,
561
+ "accordion-up": `accordion-up ${a.normal} ${r["ease-out"]}`
562
+ }, h = {
563
+ // Gentle spring (subtle, smooth)
564
+ gentle: {
565
+ type: "spring",
566
+ stiffness: 120,
567
+ damping: 14,
568
+ mass: 1
569
+ },
570
+ // Default spring (balanced)
571
+ default: {
572
+ type: "spring",
573
+ stiffness: 300,
574
+ damping: 30,
575
+ mass: 1
576
+ },
577
+ // Wobbly spring (bouncy, playful)
578
+ wobbly: {
579
+ type: "spring",
580
+ stiffness: 180,
581
+ damping: 12,
582
+ mass: 1
583
+ },
584
+ // Stiff spring (quick, precise)
585
+ stiff: {
586
+ type: "spring",
587
+ stiffness: 400,
588
+ damping: 30,
589
+ mass: 1
590
+ },
591
+ // Slow spring (smooth, deliberate)
592
+ slow: {
593
+ type: "spring",
594
+ stiffness: 200,
595
+ damping: 25,
596
+ mass: 1
597
+ },
598
+ // Bouncy spring (energetic, fun)
599
+ bouncy: {
600
+ type: "spring",
601
+ stiffness: 400,
602
+ damping: 10,
603
+ mass: 1
604
+ },
605
+ // No bounce (damped, controlled)
606
+ noBounce: {
607
+ type: "spring",
608
+ stiffness: 300,
609
+ damping: 35,
610
+ mass: 1
611
+ }
612
+ }, p = {
613
+ // Reduced motion duration (instant or minimal)
614
+ duration: "0ms",
615
+ // Reduced motion easing (linear for instant)
616
+ easing: "linear",
617
+ // Reduced motion transition (instant)
618
+ transition: "0ms linear",
619
+ // CSS media query for reduced motion
620
+ mediaQuery: "@media (prefers-reduced-motion: reduce)",
621
+ // Utility class to disable animations
622
+ disableAnimations: "animation: none !important; transition: none !important;",
623
+ // Reduced motion spring (instant, no animation)
624
+ spring: {
625
+ type: "spring",
626
+ stiffness: 1e3,
627
+ damping: 100,
628
+ mass: 1
629
+ }
630
+ }, g = {
631
+ // Durations
632
+ "--duration-instant": a.instant,
633
+ "--duration-fast": a.fast,
634
+ "--duration-normal": a.normal,
635
+ "--duration-slow": a.slow,
636
+ "--duration-slower": a.slower,
637
+ "--duration-slowest": a.slowest,
638
+ // Additional granular durations
639
+ "--duration-75": a[75],
640
+ "--duration-100": a[100],
641
+ "--duration-200": a[200],
642
+ "--duration-250": a[250],
643
+ "--duration-400": a[400],
644
+ "--duration-600": a[600],
645
+ "--duration-800": a[800],
646
+ // Easings
647
+ "--ease-linear": r.linear,
648
+ "--ease-in": r["ease-in"],
649
+ "--ease-out": r["ease-out"],
650
+ "--ease-in-out": r["ease-in-out"],
651
+ "--ease-bounce": r.bounce,
652
+ "--ease-elastic": r.elastic,
653
+ "--ease-out-cubic": r["ease-out-cubic"],
654
+ "--ease-in-cubic": r["ease-in-cubic"],
655
+ "--ease-in-out-cubic": r["ease-in-out-cubic"],
656
+ // Transitions
657
+ "--transition-fast": e.fast,
658
+ "--transition-normal": e.normal,
659
+ "--transition-slow": e.slow,
660
+ "--transition-default": e.DEFAULT,
661
+ "--transition-fast-in": e["fast-in"],
662
+ "--transition-fast-out": e["fast-out"],
663
+ "--transition-fast-in-out": e["fast-in-out"],
664
+ "--transition-normal-in": e["normal-in"],
665
+ "--transition-normal-out": e["normal-out"],
666
+ "--transition-normal-in-out": e["normal-in-out"],
667
+ "--transition-slow-in": e["slow-in"],
668
+ "--transition-slow-out": e["slow-out"],
669
+ "--transition-slow-in-out": e["slow-in-out"],
670
+ "--transition-bounce": e.bounce,
671
+ "--transition-elastic": e.elastic
672
+ }, v = {
673
+ transitionDuration: {
674
+ ...a
675
+ },
676
+ transitionTimingFunction: {
677
+ ...r
678
+ },
679
+ transitionProperty: {
680
+ DEFAULT: "color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",
681
+ colors: "color, background-color, border-color, text-decoration-color, fill, stroke",
682
+ opacity: "opacity",
683
+ shadow: "box-shadow",
684
+ transform: "transform",
685
+ all: "all",
686
+ none: "none"
687
+ },
688
+ keyframes: {
689
+ ...u
690
+ },
691
+ animation: {
692
+ ...c,
693
+ // Additional animation utilities
694
+ none: "none",
695
+ spin: c.spin,
696
+ pulse: c.pulse,
697
+ bounce: c.bounce,
698
+ ping: c.ping,
699
+ shake: c.shake
700
+ }
701
+ };
702
+ export {
703
+ n as a,
704
+ d as b,
705
+ i as c,
706
+ s as d,
707
+ a as e,
708
+ h as f,
709
+ r as g,
710
+ m as h,
711
+ f as i,
712
+ y as j,
713
+ e as k,
714
+ u as l,
715
+ g as m,
716
+ c as n,
717
+ v as o,
718
+ o as p,
719
+ p as r,
720
+ t as s,
721
+ l as t
722
+ };