@almadar/ui 5.123.0 → 5.124.0

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 (57) hide show
  1. package/dist/{TraitProvider-YkK6tXDw.d.cts → TraitProvider-Ch79cUcb.d.cts} +6 -1
  2. package/dist/{TraitProvider-YkK6tXDw.d.ts → TraitProvider-Ch79cUcb.d.ts} +6 -1
  3. package/dist/{UserContext-bziZwgFL.d.cts → UserContext-BKckAUv7.d.cts} +5 -5
  4. package/dist/{UserContext-bziZwgFL.d.ts → UserContext-BKckAUv7.d.ts} +5 -5
  5. package/dist/avl/index.cjs +265 -227
  6. package/dist/avl/index.js +267 -229
  7. package/dist/components/index.cjs +208 -200
  8. package/dist/components/index.d.cts +4 -3
  9. package/dist/components/index.d.ts +4 -3
  10. package/dist/components/index.js +208 -200
  11. package/dist/context/index.cjs +25 -66
  12. package/dist/context/index.d.cts +1 -1
  13. package/dist/context/index.d.ts +1 -1
  14. package/dist/context/index.js +25 -66
  15. package/dist/providers/index.cjs +286 -219
  16. package/dist/providers/index.d.cts +4 -4
  17. package/dist/providers/index.d.ts +4 -4
  18. package/dist/providers/index.js +286 -219
  19. package/dist/runtime/index.cjs +258 -220
  20. package/dist/runtime/index.d.cts +4 -2
  21. package/dist/runtime/index.d.ts +4 -2
  22. package/dist/runtime/index.js +260 -222
  23. package/package.json +8 -7
  24. package/themes/_contract.md +2 -0
  25. package/themes/almadar-website.css +3 -3
  26. package/themes/almadar.css +4 -4
  27. package/themes/bloomberg-dense.css +2 -2
  28. package/themes/clay.css +417 -0
  29. package/themes/corporate.css +411 -0
  30. package/themes/game-adventure.css +3 -3
  31. package/themes/game-rpg.css +2 -2
  32. package/themes/game-sci-fi.css +1 -1
  33. package/themes/game-ui-pack.css +2 -2
  34. package/themes/gazette.css +2 -2
  35. package/themes/glass.css +428 -0
  36. package/themes/index.css +9 -13
  37. package/themes/kiosk.css +5 -5
  38. package/themes/linear-clean.css +1 -1
  39. package/themes/minimalist.css +2 -2
  40. package/themes/neon.css +3 -3
  41. package/themes/notion-editorial.css +1 -1
  42. package/themes/prism.css +3 -3
  43. package/themes/retro.css +410 -0
  44. package/themes/terminal.css +1 -1
  45. package/themes/trait-wars.css +8 -8
  46. package/themes/wireframe.css +2 -2
  47. package/themes/arctic.css +0 -235
  48. package/themes/copper.css +0 -235
  49. package/themes/ember.css +0 -238
  50. package/themes/forest.css +0 -238
  51. package/themes/lavender.css +0 -233
  52. package/themes/midnight.css +0 -234
  53. package/themes/ocean.css +0 -238
  54. package/themes/rose.css +0 -233
  55. package/themes/sand.css +0 -234
  56. package/themes/slate.css +0 -233
  57. package/themes/sunset.css +0 -238
package/themes/slate.css DELETED
@@ -1,233 +0,0 @@
1
- /**
2
- * Slate Theme — "Corporate Edge"
3
- *
4
- * A cool gray, professional palette built for corporate dashboards
5
- * and business applications. Features sharp, almost-square corners,
6
- * minimal shadows with small offsets, and snappy transitions that
7
- * convey precision and efficiency. Heavy Inter weights anchor the
8
- * typography with tight negative letter-spacing for a dense, data-rich feel.
9
- */
10
-
11
- /* ==========================================================================
12
- * LIGHT MODE
13
- * ========================================================================== */
14
- [data-theme="slate-light"] {
15
- /* Shadows - Sharp minimal (small offset, low blur) */
16
- --shadow-main: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 1px rgba(15, 23, 42, 0.04);
17
- --shadow-sm: 0 1px 1px rgba(15, 23, 42, 0.04);
18
- --shadow-lg: 0 4px 8px -2px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
19
- --shadow-inner: inset 0 1px 2px rgba(15, 23, 42, 0.05);
20
- --shadow-none: none;
21
- --shadow-hover: 0 4px 12px -4px rgba(15, 23, 42, 0.1);
22
- --shadow-active: 0 1px 1px rgba(15, 23, 42, 0.04);
23
-
24
- /* Border radius - Almost sharp, corporate */
25
- --radius-none: 0px;
26
- --radius-sm: 2px;
27
- --radius-md: 6px;
28
- --radius-lg: 10px;
29
- --radius-xl: 8px;
30
- --radius-full: 9999px;
31
-
32
- /* Border width */
33
- --border-width: 1px;
34
- --border-width-thin: 1px;
35
- --border-width-thick: 2px;
36
-
37
- /* Colors - Cool slate grays */
38
- --color-primary: #475569;
39
- --color-primary-hover: #334155;
40
- --color-primary-foreground: #ffffff;
41
-
42
- --color-secondary: #f1f5f9;
43
- --color-secondary-hover: #e2e8f0;
44
- --color-secondary-foreground: #1e293b;
45
-
46
- --color-accent: #0ea5e9;
47
- --color-accent-foreground: #ffffff;
48
-
49
- --color-muted: #f1f5f9;
50
- --color-muted-foreground: #64748b;
51
-
52
- --color-background: #f8fafc;
53
- --color-foreground: #0f172a;
54
- --color-card: #ffffff;
55
- --color-card-foreground: #0f172a;
56
- --color-surface: #f1f5f9;
57
- --color-border: #cbd5e1;
58
- --color-input: #cbd5e1;
59
- --color-ring: #475569;
60
-
61
- /* Semantic colors */
62
- --color-error: #dc2626;
63
- --color-error-foreground: #ffffff;
64
- --color-success: #16a34a;
65
- --color-success-foreground: #ffffff;
66
- --color-warning: #ca8a04;
67
- --color-warning-foreground: #000000;
68
- --color-info: #2563eb;
69
- --color-info-foreground: #ffffff;
70
-
71
- /* Icon styling */
72
- --icon-stroke-width: 1.75;
73
- --icon-color: #475569;
74
-
75
- /* Transitions - Snappy */
76
- --transition-fast: 100ms;
77
- --transition-normal: 200ms;
78
- --transition-slow: 300ms;
79
- --transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
80
-
81
- /* Hover/Active transforms - No scale, subtle vertical lift */
82
- --hover-scale: 1.0;
83
- --hover-translate-y: -1px;
84
- --hover-translate-x: 0;
85
- --active-scale: 0.99;
86
- --active-translate-y: 0;
87
-
88
- /* Focus ring */
89
- --focus-ring-width: 2px;
90
- --focus-ring-offset: 2px;
91
- --focus-ring-color: #475569;
92
-
93
- /* Layer 1 — backfill (preserves current visual output, see themes/_contract.md) */
94
- /* Motion axis — duration palette */
95
- --duration-instant: 0ms;
96
- --duration-fast: var(--transition-fast);
97
- --duration-normal: var(--transition-normal);
98
- --duration-slow: var(--transition-slow);
99
- --duration-dramatic: 600ms;
100
- /* Motion axis — easing palette */
101
- --easing-linear: linear;
102
- --easing-standard: var(--transition-timing);
103
- --easing-emphasized: cubic-bezier(0.2, 0, 0, 1);
104
- --easing-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
105
- /* Iconography axis */
106
- --icon-family: lucide;
107
- --icon-default-size: 16px;
108
- /* Elevation axis — per-layer mapping */
109
- --elevation-card: var(--shadow-sm);
110
- --elevation-popover: var(--shadow-main);
111
- --elevation-dialog: var(--shadow-lg);
112
- --elevation-toast: var(--shadow-main);
113
- /* Geometry axis — radius rhythm with intent */
114
- --radius-container: var(--radius-md);
115
- --radius-interactive: var(--radius-md);
116
- --radius-pill: var(--radius-full);
117
- /* Geometry axis — border-width rhythm */
118
- --border-hairline: 1px;
119
- --border-standard: var(--border-width);
120
- --border-heavy: var(--border-width-thick);
121
- }
122
-
123
- /* ==========================================================================
124
- * DARK MODE
125
- * ========================================================================== */
126
- [data-theme="slate-dark"] {
127
- /* Shadows - Subtle dark corporate */
128
- --shadow-main: 0 1px 2px rgba(0, 0, 0, 0.2), 0 1px 1px rgba(0, 0, 0, 0.15);
129
- --shadow-sm: 0 1px 1px rgba(0, 0, 0, 0.15);
130
- --shadow-lg: 0 4px 8px -2px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
131
- --shadow-inner: inset 0 1px 2px rgba(0, 0, 0, 0.2);
132
- --shadow-none: none;
133
- --shadow-hover: 0 4px 12px -4px rgba(0, 0, 0, 0.35);
134
- --shadow-active: 0 1px 1px rgba(0, 0, 0, 0.15);
135
-
136
- /* Border radius - Almost sharp, corporate */
137
- --radius-none: 0px;
138
- --radius-sm: 2px;
139
- --radius-md: 6px;
140
- --radius-lg: 10px;
141
- --radius-xl: 8px;
142
- --radius-full: 9999px;
143
-
144
- /* Border width */
145
- --border-width: 1px;
146
- --border-width-thin: 1px;
147
- --border-width-thick: 2px;
148
-
149
- /* Colors - Deep slate dark */
150
- --color-primary: #94a3b8;
151
- --color-primary-hover: #cbd5e1;
152
- --color-primary-foreground: #0b1120;
153
-
154
- --color-secondary: #1e293b;
155
- --color-secondary-hover: #334155;
156
- --color-secondary-foreground: #e2e8f0;
157
-
158
- --color-accent: #0ea5e9;
159
- --color-accent-foreground: #ffffff;
160
-
161
- --color-muted: #1e293b;
162
- --color-muted-foreground: #94a3b8;
163
-
164
- --color-background: #0b1120;
165
- --color-foreground: #f1f5f9;
166
- --color-card: #1e293b;
167
- --color-card-foreground: #f1f5f9;
168
- --color-surface: #1e293b;
169
- --color-border: #334155;
170
- --color-input: #334155;
171
- --color-ring: #0ea5e9;
172
-
173
- /* Semantic colors - Brighter for dark mode */
174
- --color-error: #f87171;
175
- --color-error-foreground: #000000;
176
- --color-success: #4ade80;
177
- --color-success-foreground: #000000;
178
- --color-warning: #fbbf24;
179
- --color-warning-foreground: #000000;
180
- --color-info: #60a5fa;
181
- --color-info-foreground: #000000;
182
-
183
- /* Icon styling */
184
- --icon-stroke-width: 1.75;
185
- --icon-color: #94a3b8;
186
-
187
- /* Transitions - Snappy */
188
- --transition-fast: 100ms;
189
- --transition-normal: 200ms;
190
- --transition-slow: 300ms;
191
- --transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
192
-
193
- /* Hover/Active transforms - No scale, subtle vertical lift */
194
- --hover-scale: 1.0;
195
- --hover-translate-y: -1px;
196
- --hover-translate-x: 0;
197
- --active-scale: 0.99;
198
- --active-translate-y: 0;
199
-
200
- /* Focus ring */
201
- --focus-ring-width: 2px;
202
- --focus-ring-offset: 2px;
203
- --focus-ring-color: #0ea5e9;
204
-
205
- /* Layer 1 — backfill (preserves current visual output, see themes/_contract.md) */
206
- /* Motion axis — duration palette */
207
- --duration-instant: 0ms;
208
- --duration-fast: var(--transition-fast);
209
- --duration-normal: var(--transition-normal);
210
- --duration-slow: var(--transition-slow);
211
- --duration-dramatic: 600ms;
212
- /* Motion axis — easing palette */
213
- --easing-linear: linear;
214
- --easing-standard: var(--transition-timing);
215
- --easing-emphasized: cubic-bezier(0.2, 0, 0, 1);
216
- --easing-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
217
- /* Iconography axis */
218
- --icon-family: lucide;
219
- --icon-default-size: 16px;
220
- /* Elevation axis — per-layer mapping */
221
- --elevation-card: var(--shadow-sm);
222
- --elevation-popover: var(--shadow-main);
223
- --elevation-dialog: var(--shadow-lg);
224
- --elevation-toast: var(--shadow-main);
225
- /* Geometry axis — radius rhythm with intent */
226
- --radius-container: var(--radius-md);
227
- --radius-interactive: var(--radius-md);
228
- --radius-pill: var(--radius-full);
229
- /* Geometry axis — border-width rhythm */
230
- --border-hairline: 1px;
231
- --border-standard: var(--border-width);
232
- --border-heavy: var(--border-width-thick);
233
- }
package/themes/sunset.css DELETED
@@ -1,238 +0,0 @@
1
- /**
2
- * Sunset Theme - "Golden Hour"
3
- *
4
- * Inspired by the warmth of a setting sun. Features golden glowing shadows,
5
- * very rounded playful border radii, and a vibrant coral-to-amber palette.
6
- * Pronounced hover lifts and snappy transitions create an energetic, warm,
7
- * inviting experience full of buoyant energy.
8
- */
9
-
10
- /* ==========================================================================
11
- * LIGHT MODE
12
- * ========================================================================== */
13
- [data-theme="sunset-light"] {
14
- /* Shadows - Warm golden glow */
15
- --shadow-main:
16
- 0 4px 12px rgba(231, 111, 81, 0.1), 0 1px 3px rgba(244, 162, 97, 0.08);
17
- --shadow-sm: 0 2px 5px rgba(244, 162, 97, 0.08);
18
- --shadow-lg:
19
- 0 8px 28px rgba(231, 111, 81, 0.14), 0 4px 10px rgba(244, 162, 97, 0.08);
20
- --shadow-inner: inset 0 1px 2px rgba(231, 111, 81, 0.06);
21
- --shadow-none: none;
22
- --shadow-hover:
23
- 0 12px 36px rgba(231, 111, 81, 0.2), 0 4px 12px rgba(244, 162, 97, 0.12);
24
- --shadow-active: 0 2px 6px rgba(231, 111, 81, 0.12);
25
-
26
- /* Border radius - Very rounded, playful */
27
- --radius-none: 0px;
28
- --radius-sm: 10px;
29
- --radius-md: 14px;
30
- --radius-lg: 20px;
31
- --radius-xl: 24px;
32
- --radius-full: 9999px;
33
-
34
- /* Border width */
35
- --border-width: 1px;
36
- --border-width-thin: 1px;
37
- --border-width-thick: 2px;
38
-
39
- /* Colors - Coral on warm light background */
40
- --color-primary: #c2410c;
41
- --color-primary-hover: #9a3412;
42
- --color-primary-foreground: #ffffff;
43
-
44
- --color-secondary: #fef3ee;
45
- --color-secondary-hover: #fce5d8;
46
- --color-secondary-foreground: #5c2a1a;
47
-
48
- --color-accent: #f4a261;
49
- --color-accent-foreground: #3d1e0a;
50
-
51
- --color-muted: #fef3ee;
52
- --color-muted-foreground: #8c6354;
53
-
54
- --color-background: #fefaf8;
55
- --color-foreground: #2c1810;
56
- --color-card: #ffffff;
57
- --color-card-foreground: #2c1810;
58
- --color-surface: #fef3ee;
59
- --color-border: rgba(231, 111, 81, 0.2);
60
- --color-input: rgba(231, 111, 81, 0.15);
61
- --color-ring: #e76f51;
62
-
63
- /* Semantic colors */
64
- --color-error: #dc2626;
65
- --color-error-foreground: #ffffff;
66
- --color-success: #16a34a;
67
- --color-success-foreground: #ffffff;
68
- --color-warning: #ca8a04;
69
- --color-warning-foreground: #000000;
70
- --color-info: #0ea5e9;
71
- --color-info-foreground: #ffffff;
72
-
73
- /* Icon styling */
74
- --icon-stroke-width: 1.75;
75
- --icon-color: #e76f51;
76
-
77
- /* Transitions - Snappy and warm */
78
- --transition-fast: 150ms;
79
- --transition-normal: 280ms;
80
- --transition-slow: 450ms;
81
- --transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
82
-
83
- /* Hover/Active transforms - Larger scale, pronounced lift */
84
- --hover-scale: 1.03;
85
- --hover-translate-y: -3px;
86
- --hover-translate-x: 0;
87
- --active-scale: 0.97;
88
- --active-translate-y: 0;
89
-
90
- /* Focus ring */
91
- --focus-ring-width: 2px;
92
- --focus-ring-offset: 2px;
93
- --focus-ring-color: #e76f51;
94
-
95
- /* Layer 1 — backfill (preserves current visual output, see themes/_contract.md) */
96
- /* Motion axis — duration palette */
97
- --duration-instant: 0ms;
98
- --duration-fast: var(--transition-fast);
99
- --duration-normal: var(--transition-normal);
100
- --duration-slow: var(--transition-slow);
101
- --duration-dramatic: 600ms;
102
- /* Motion axis — easing palette */
103
- --easing-linear: linear;
104
- --easing-standard: var(--transition-timing);
105
- --easing-emphasized: cubic-bezier(0.2, 0, 0, 1);
106
- --easing-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
107
- /* Iconography axis */
108
- --icon-family: lucide;
109
- --icon-default-size: 16px;
110
- /* Elevation axis — per-layer mapping */
111
- --elevation-card: var(--shadow-sm);
112
- --elevation-popover: var(--shadow-main);
113
- --elevation-dialog: var(--shadow-lg);
114
- --elevation-toast: var(--shadow-main);
115
- /* Geometry axis — radius rhythm with intent */
116
- --radius-container: var(--radius-md);
117
- --radius-interactive: var(--radius-md);
118
- --radius-pill: var(--radius-full);
119
- /* Geometry axis — border-width rhythm */
120
- --border-hairline: 1px;
121
- --border-standard: var(--border-width);
122
- --border-heavy: var(--border-width-thick);
123
- }
124
-
125
- /* ==========================================================================
126
- * DARK MODE
127
- * ========================================================================== */
128
- [data-theme="sunset-dark"] {
129
- /* Shadows - Warm amber glow from primary */
130
- --shadow-main:
131
- 0 4px 14px rgba(244, 132, 95, 0.12), 0 1px 3px rgba(0, 0, 0, 0.15);
132
- --shadow-sm: 0 2px 6px rgba(244, 132, 95, 0.08);
133
- --shadow-lg:
134
- 0 8px 30px rgba(244, 132, 95, 0.2), 0 4px 10px rgba(0, 0, 0, 0.12);
135
- --shadow-inner: inset 0 1px 3px rgba(0, 0, 0, 0.15);
136
- --shadow-none: none;
137
- --shadow-hover:
138
- 0 12px 40px rgba(244, 132, 95, 0.3), 0 4px 12px rgba(244, 162, 97, 0.15);
139
- --shadow-active: 0 2px 8px rgba(244, 132, 95, 0.18);
140
-
141
- /* Border radius - Very rounded, playful */
142
- --radius-none: 0px;
143
- --radius-sm: 10px;
144
- --radius-md: 14px;
145
- --radius-lg: 20px;
146
- --radius-xl: 24px;
147
- --radius-full: 9999px;
148
-
149
- /* Border width */
150
- --border-width: 1px;
151
- --border-width-thin: 1px;
152
- --border-width-thick: 2px;
153
-
154
- /* Colors - Bright coral on deep amber */
155
- --color-primary: #f4845f;
156
- --color-primary-hover: #f6a085;
157
- --color-primary-foreground: #1a0800;
158
-
159
- --color-secondary: #261510;
160
- --color-secondary-hover: #3a201a;
161
- --color-secondary-foreground: #f5ddd4;
162
-
163
- --color-accent: #f4a261;
164
- --color-accent-foreground: #1a0e08;
165
-
166
- --color-muted: #261510;
167
- --color-muted-foreground: #b88a78;
168
-
169
- --color-background: #1a0e08;
170
- --color-foreground: #f5ebe6;
171
- --color-card: #221612;
172
- --color-card-foreground: #f5ebe6;
173
- --color-surface: #261510;
174
- --color-border: rgba(244, 132, 95, 0.22);
175
- --color-input: rgba(244, 132, 95, 0.25);
176
- --color-ring: #f4845f;
177
-
178
- /* Semantic colors - Brighter for dark mode */
179
- --color-error: #f87171;
180
- --color-error-foreground: #000000;
181
- --color-success: #4ade80;
182
- --color-success-foreground: #000000;
183
- --color-warning: #fbbf24;
184
- --color-warning-foreground: #000000;
185
- --color-info: #38bdf8;
186
- --color-info-foreground: #000000;
187
-
188
- /* Icon styling */
189
- --icon-stroke-width: 1.75;
190
- --icon-color: #f4845f;
191
-
192
- /* Transitions - Snappy and warm */
193
- --transition-fast: 150ms;
194
- --transition-normal: 280ms;
195
- --transition-slow: 450ms;
196
- --transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
197
-
198
- /* Hover/Active transforms - Larger scale, pronounced lift */
199
- --hover-scale: 1.03;
200
- --hover-translate-y: -3px;
201
- --hover-translate-x: 0;
202
- --active-scale: 0.97;
203
- --active-translate-y: 0;
204
-
205
- /* Focus ring */
206
- --focus-ring-width: 2px;
207
- --focus-ring-offset: 2px;
208
- --focus-ring-color: #f4845f;
209
-
210
- /* Layer 1 — backfill (preserves current visual output, see themes/_contract.md) */
211
- /* Motion axis — duration palette */
212
- --duration-instant: 0ms;
213
- --duration-fast: var(--transition-fast);
214
- --duration-normal: var(--transition-normal);
215
- --duration-slow: var(--transition-slow);
216
- --duration-dramatic: 600ms;
217
- /* Motion axis — easing palette */
218
- --easing-linear: linear;
219
- --easing-standard: var(--transition-timing);
220
- --easing-emphasized: cubic-bezier(0.2, 0, 0, 1);
221
- --easing-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
222
- /* Iconography axis */
223
- --icon-family: lucide;
224
- --icon-default-size: 16px;
225
- /* Elevation axis — per-layer mapping */
226
- --elevation-card: var(--shadow-sm);
227
- --elevation-popover: var(--shadow-main);
228
- --elevation-dialog: var(--shadow-lg);
229
- --elevation-toast: var(--shadow-main);
230
- /* Geometry axis — radius rhythm with intent */
231
- --radius-container: var(--radius-md);
232
- --radius-interactive: var(--radius-md);
233
- --radius-pill: var(--radius-full);
234
- /* Geometry axis — border-width rhythm */
235
- --border-hairline: 1px;
236
- --border-standard: var(--border-width);
237
- --border-heavy: var(--border-width-thick);
238
- }