@almadar/ui 6.28.0 → 6.30.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 (54) hide show
  1. package/dist/{EntityBindingContext-C6FgxdfG.d.cts → EntityBindingContext-ChCONv2W.d.cts} +3 -39
  2. package/dist/{EntityBindingContext-C6FgxdfG.d.ts → EntityBindingContext-ChCONv2W.d.ts} +3 -39
  3. package/dist/avl/index.cjs +74 -48
  4. package/dist/avl/index.js +74 -48
  5. package/dist/components/index.cjs +54 -45
  6. package/dist/components/index.d.cts +1 -1
  7. package/dist/components/index.d.ts +1 -1
  8. package/dist/components/index.js +54 -45
  9. package/dist/context/index.cjs +135 -105
  10. package/dist/context/index.d.cts +2 -60
  11. package/dist/context/index.d.ts +2 -60
  12. package/dist/context/index.js +135 -105
  13. package/dist/lib/index.cjs +455 -0
  14. package/dist/lib/index.d.cts +42 -1
  15. package/dist/lib/index.d.ts +42 -1
  16. package/dist/lib/index.js +438 -1
  17. package/dist/marketing/index.cjs +4 -5
  18. package/dist/marketing/index.js +4 -5
  19. package/dist/providers/index.cjs +194 -156
  20. package/dist/providers/index.d.cts +1 -1
  21. package/dist/providers/index.d.ts +1 -1
  22. package/dist/providers/index.js +194 -156
  23. package/dist/runtime/index.cjs +74 -48
  24. package/dist/runtime/index.d.cts +16 -2
  25. package/dist/runtime/index.d.ts +16 -2
  26. package/dist/runtime/index.js +74 -48
  27. package/dist/themeTokens-DVRwufw8.d.cts +112 -0
  28. package/dist/themeTokens-DVRwufw8.d.ts +112 -0
  29. package/package.json +7 -6
  30. package/scripts/audit-tailwind-safelist.ts +4 -0
  31. package/tailwind-preset.cjs +155 -28
  32. package/themes/almadar-website.css +37 -107
  33. package/themes/almadar.css +37 -108
  34. package/themes/atelier.css +145 -240
  35. package/themes/bloomberg-dense.css +145 -252
  36. package/themes/clay.css +39 -137
  37. package/themes/comic.css +39 -145
  38. package/themes/corporate.css +39 -131
  39. package/themes/game-adventure.css +22 -87
  40. package/themes/game-rpg.css +22 -84
  41. package/themes/game-sci-fi.css +22 -88
  42. package/themes/game-ui-pack.css +22 -85
  43. package/themes/gazette.css +43 -135
  44. package/themes/glass.css +39 -148
  45. package/themes/kiosk.css +51 -146
  46. package/themes/linear-clean.css +145 -215
  47. package/themes/minimalist.css +39 -125
  48. package/themes/neon.css +39 -132
  49. package/themes/notion-editorial.css +145 -215
  50. package/themes/prism.css +37 -100
  51. package/themes/retro.css +39 -130
  52. package/themes/terminal.css +61 -152
  53. package/themes/trait-wars.css +121 -285
  54. package/themes/wireframe.css +41 -128
@@ -1,58 +1,20 @@
1
1
  /**
2
- * Linear Clean Theme
3
- *
4
- * Personality: minimalist product-tool aesthetic Linear/Stripe lineage. Warm-grey
5
- * neutrals, a single confident blue accent, snappy linear motion, and outline icons.
6
- * Tight 4pt rhythm and small button heights signal speed without being cramped.
7
- *
8
- * Spec axes (per docs/Almadar_Std_Variations.md §2.4):
9
- * Color warm-grey + single blue accent
10
- * Density compact (4pt rhythm, 28/32/36 buttons)
11
- * Type tech (Inter everywhere, mono numerics, tight leading)
12
- * Geometry soft (4/8/12 radius, hairline borders)
13
- * Elevation flat (no shadows, borders only)
14
- * Motion snappy (linear, 80/120/180ms)
15
- * Iconography outline (lucide, stroke 1.5)
16
- * Illustration minimal (icon+text empty states)
2
+ * GENERATED do not edit by hand.
3
+ * Source: packages/almadar-core/themes/linear-clean.json
4
+ * Regenerate: node tools/almadar-pattern-sync/dist/index.js themes (or `almadar-sync themes`)
17
5
  */
18
6
 
19
- /* ==========================================================================
20
- * LIGHT MODE
21
- * ========================================================================== */
22
7
  [data-theme="linear-clean-light"] {
23
- --shadow-none: none;
24
- --shadow-sm: none;
25
- --shadow-main: none;
26
- --shadow-lg: none;
27
- --shadow-inner: none;
28
- --shadow-hover: none;
29
- --shadow-active: none;
30
-
31
- --radius-none: 0px;
32
- --radius-sm: 4px;
33
- --radius-md: 8px;
34
- --radius-lg: 12px;
35
- --radius-xl: 12px;
36
- --radius-full: 9999px;
37
-
38
- --border-width: 1px;
39
- --border-width-thin: 1px;
40
- --border-width-thick: 1px;
41
-
42
8
  --color-primary: #0066ff;
43
9
  --color-primary-hover: #0052cc;
44
10
  --color-primary-foreground: #ffffff;
45
-
46
11
  --color-secondary: #f4f4f2;
47
12
  --color-secondary-hover: #ececea;
48
13
  --color-secondary-foreground: #0a0a0a;
49
-
50
14
  --color-accent: #0066ff;
51
15
  --color-accent-foreground: #ffffff;
52
-
53
16
  --color-muted: #f4f4f2;
54
17
  --color-muted-foreground: #6b6b66;
55
-
56
18
  --color-background: #fafafa;
57
19
  --color-foreground: #0a0a0a;
58
20
  --color-card: #ffffff;
@@ -61,14 +23,12 @@
61
23
  --color-border: #e6e6e2;
62
24
  --color-input: #d8d8d4;
63
25
  --color-ring: #0066ff;
64
-
65
26
  --color-table-header: #f7f7f5;
66
27
  --color-table-border: #e6e6e2;
67
28
  --color-table-row-hover: #f4f4f2;
68
29
  --color-surface-hover: #ececea;
69
30
  --color-border-hover: #c9c9c4;
70
31
  --color-placeholder: #9a998f;
71
-
72
32
  --color-error: #d92d20;
73
33
  --color-error-foreground: #ffffff;
74
34
  --color-success: #067647;
@@ -77,21 +37,72 @@
77
37
  --color-warning-foreground: #ffffff;
78
38
  --color-info: #0066ff;
79
39
  --color-info-foreground: #ffffff;
80
-
81
- --font-family:
82
- "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
83
- --font-family-display:
84
- "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
85
- --font-family-body:
86
- "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
87
- --font-family-mono:
88
- "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
40
+ --radius-none: 0px;
41
+ --radius-sm: 4px;
42
+ --radius-md: 8px;
43
+ --radius-lg: 12px;
44
+ --radius-xl: 12px;
45
+ --radius-full: 9999px;
46
+ --border-width: 1px;
47
+ --border-width-thin: 1px;
48
+ --border-width-thick: 1px;
49
+ --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
89
50
  --font-weight-normal: 400;
90
51
  --font-weight-medium: 500;
91
52
  --font-weight-bold: 600;
92
53
  --letter-spacing: -0.01em;
93
54
  --line-height: 1.4;
94
-
55
+ --intent-numeric-family: var(--font-family-mono);
56
+ --icon-color: currentColor;
57
+ --transition-fast: 80ms;
58
+ --transition-normal: 120ms;
59
+ --transition-slow: 180ms;
60
+ --transition-timing: linear;
61
+ --hover-scale: 1;
62
+ --hover-translate-y: 0;
63
+ --hover-translate-x: 0;
64
+ --active-scale: 1;
65
+ --active-translate-y: 0;
66
+ --focus-ring-width: 2px;
67
+ --focus-ring-offset: 2px;
68
+ --focus-ring-color: #0066ff;
69
+ --shadow-none: none;
70
+ --shadow-sm: none;
71
+ --shadow-main: none;
72
+ --shadow-lg: none;
73
+ --shadow-inner: none;
74
+ --shadow-hover: none;
75
+ --shadow-active: none;
76
+ --space-0: 0px;
77
+ --space-1: 4px;
78
+ --space-2: 8px;
79
+ --space-3: 12px;
80
+ --space-4: 16px;
81
+ --space-5: 20px;
82
+ --space-6: 24px;
83
+ --space-7: 28px;
84
+ --space-8: 32px;
85
+ --space-9: 36px;
86
+ --space-10: 40px;
87
+ --space-11: 44px;
88
+ --space-12: 48px;
89
+ --button-height-sm: 28px;
90
+ --button-height-md: 32px;
91
+ --button-height-lg: 36px;
92
+ --input-height-sm: 28px;
93
+ --input-height-md: 32px;
94
+ --input-height-lg: 36px;
95
+ --row-height-compact: 32px;
96
+ --row-height-normal: 36px;
97
+ --row-height-spacious: 44px;
98
+ --card-padding-sm: 12px;
99
+ --card-padding-md: 16px;
100
+ --card-padding-lg: 20px;
101
+ --dialog-padding: 24px;
102
+ --section-gap: 32px;
103
+ --font-family-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
104
+ --font-family-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
105
+ --font-family-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
95
106
  --text-xs: 11px;
96
107
  --leading-xs: 14px;
97
108
  --text-sm: 13px;
@@ -112,7 +123,6 @@
112
123
  --leading-display-1: 48px;
113
124
  --text-display-2: 56px;
114
125
  --leading-display-2: 60px;
115
-
116
126
  --intent-heading-major-size: var(--text-2xl);
117
127
  --intent-heading-major-weight: var(--font-weight-bold);
118
128
  --intent-heading-major-leading: var(--leading-2xl);
@@ -134,118 +144,41 @@
134
144
  --intent-numeric-size: var(--text-sm);
135
145
  --intent-numeric-weight: var(--font-weight-medium);
136
146
  --intent-numeric-leading: var(--leading-sm);
137
- --intent-numeric-family: var(--font-family-mono);
138
-
139
- --space-0: 0px;
140
- --space-1: 4px;
141
- --space-2: 8px;
142
- --space-3: 12px;
143
- --space-4: 16px;
144
- --space-5: 20px;
145
- --space-6: 24px;
146
- --space-7: 28px;
147
- --space-8: 32px;
148
- --space-9: 36px;
149
- --space-10: 40px;
150
- --space-11: 44px;
151
- --space-12: 48px;
152
-
153
- --button-height-sm: 28px;
154
- --button-height-md: 32px;
155
- --button-height-lg: 36px;
156
- --input-height-sm: 28px;
157
- --input-height-md: 32px;
158
- --input-height-lg: 36px;
159
- --row-height-compact: 32px;
160
- --row-height-normal: 36px;
161
- --row-height-spacious: 44px;
162
-
163
- --card-padding-sm: 12px;
164
- --card-padding-md: 16px;
165
- --card-padding-lg: 20px;
166
- --dialog-padding: 24px;
167
- --section-gap: 32px;
168
-
147
+ --duration-instant: 0ms;
148
+ --duration-fast: 80ms;
149
+ --duration-normal: 120ms;
150
+ --duration-slow: 180ms;
151
+ --duration-dramatic: 240ms;
152
+ --easing-linear: linear;
153
+ --easing-standard: linear;
154
+ --easing-emphasized: linear;
155
+ --easing-spring: linear;
169
156
  --icon-family: lucide;
170
- --icon-default-size: 16px;
171
157
  --icon-stroke-width: 1.5;
172
- --icon-color: currentColor;
173
-
158
+ --icon-default-size: 16px;
174
159
  --elevation-card: none;
175
160
  --elevation-popover: none;
176
161
  --elevation-dialog: none;
177
162
  --elevation-toast: none;
178
-
179
163
  --radius-container: 8px;
180
164
  --radius-interactive: 6px;
181
165
  --radius-pill: 9999px;
182
166
  --border-hairline: 1px;
183
167
  --border-standard: 1px;
184
168
  --border-heavy: 1px;
185
-
186
- --transition-fast: 80ms;
187
- --transition-normal: 120ms;
188
- --transition-slow: 180ms;
189
- --transition-timing: linear;
190
-
191
- --duration-instant: 0ms;
192
- --duration-fast: 80ms;
193
- --duration-normal: 120ms;
194
- --duration-slow: 180ms;
195
- --duration-dramatic: 240ms;
196
- --easing-linear: linear;
197
- --easing-standard: linear;
198
- --easing-emphasized: linear;
199
- --easing-spring: linear;
200
-
201
- --hover-scale: 1;
202
- --hover-translate-y: 0;
203
- --hover-translate-x: 0;
204
- --active-scale: 1;
205
- --active-translate-y: 0;
206
-
207
- --focus-ring-width: 2px;
208
- --focus-ring-offset: 2px;
209
- --focus-ring-color: #0066ff;
210
169
  }
211
170
 
212
- /* ==========================================================================
213
- * DARK MODE
214
- * ========================================================================== */
215
171
  [data-theme="linear-clean-dark"] {
216
- --shadow-none: none;
217
- --shadow-sm: none;
218
- --shadow-main: none;
219
- --shadow-lg: none;
220
- --shadow-inner: none;
221
- --shadow-hover: none;
222
- --shadow-active: none;
223
-
224
- --radius-none: 0px;
225
- --radius-sm: 4px;
226
- --radius-md: 8px;
227
- --radius-lg: 12px;
228
- --radius-xl: 12px;
229
- --radius-full: 9999px;
230
-
231
- --border-width: 1px;
232
- --border-width-thin: 1px;
233
- --border-width-thick: 1px;
234
-
235
172
  --color-primary: #4d8bff;
236
173
  --color-primary-hover: #6ea2ff;
237
174
  --color-primary-foreground: #0a0a0c;
238
-
239
175
  --color-secondary: #18181b;
240
176
  --color-secondary-hover: #222226;
241
177
  --color-secondary-foreground: #fafafa;
242
-
243
178
  --color-accent: #4d8bff;
244
179
  --color-accent-foreground: #0a0a0c;
245
-
246
180
  --color-muted: #18181b;
247
181
  --color-muted-foreground: #8b8b90;
248
-
249
182
  --color-background: #0a0a0c;
250
183
  --color-foreground: #fafafa;
251
184
  --color-card: #121214;
@@ -254,14 +187,12 @@
254
187
  --color-border: #26262b;
255
188
  --color-input: #2e2e34;
256
189
  --color-ring: #4d8bff;
257
-
258
190
  --color-table-header: #18181b;
259
191
  --color-table-border: #26262b;
260
192
  --color-table-row-hover: #161618;
261
193
  --color-surface-hover: #222226;
262
194
  --color-border-hover: #3a3a40;
263
195
  --color-placeholder: #6b6b70;
264
-
265
196
  --color-error: #f97066;
266
197
  --color-error-foreground: #0a0a0c;
267
198
  --color-success: #47cd89;
@@ -270,21 +201,72 @@
270
201
  --color-warning-foreground: #0a0a0c;
271
202
  --color-info: #4d8bff;
272
203
  --color-info-foreground: #0a0a0c;
273
-
274
- --font-family:
275
- "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
276
- --font-family-display:
277
- "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
278
- --font-family-body:
279
- "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
280
- --font-family-mono:
281
- "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
204
+ --radius-none: 0px;
205
+ --radius-sm: 4px;
206
+ --radius-md: 8px;
207
+ --radius-lg: 12px;
208
+ --radius-xl: 12px;
209
+ --radius-full: 9999px;
210
+ --border-width: 1px;
211
+ --border-width-thin: 1px;
212
+ --border-width-thick: 1px;
213
+ --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
282
214
  --font-weight-normal: 400;
283
215
  --font-weight-medium: 500;
284
216
  --font-weight-bold: 600;
285
217
  --letter-spacing: -0.01em;
286
218
  --line-height: 1.4;
287
-
219
+ --intent-numeric-family: var(--font-family-mono);
220
+ --icon-color: currentColor;
221
+ --transition-fast: 80ms;
222
+ --transition-normal: 120ms;
223
+ --transition-slow: 180ms;
224
+ --transition-timing: linear;
225
+ --hover-scale: 1;
226
+ --hover-translate-y: 0;
227
+ --hover-translate-x: 0;
228
+ --active-scale: 1;
229
+ --active-translate-y: 0;
230
+ --focus-ring-width: 2px;
231
+ --focus-ring-offset: 2px;
232
+ --focus-ring-color: #4d8bff;
233
+ --shadow-none: none;
234
+ --shadow-sm: none;
235
+ --shadow-main: none;
236
+ --shadow-lg: none;
237
+ --shadow-inner: none;
238
+ --shadow-hover: none;
239
+ --shadow-active: none;
240
+ --space-0: 0px;
241
+ --space-1: 4px;
242
+ --space-2: 8px;
243
+ --space-3: 12px;
244
+ --space-4: 16px;
245
+ --space-5: 20px;
246
+ --space-6: 24px;
247
+ --space-7: 28px;
248
+ --space-8: 32px;
249
+ --space-9: 36px;
250
+ --space-10: 40px;
251
+ --space-11: 44px;
252
+ --space-12: 48px;
253
+ --button-height-sm: 28px;
254
+ --button-height-md: 32px;
255
+ --button-height-lg: 36px;
256
+ --input-height-sm: 28px;
257
+ --input-height-md: 32px;
258
+ --input-height-lg: 36px;
259
+ --row-height-compact: 32px;
260
+ --row-height-normal: 36px;
261
+ --row-height-spacious: 44px;
262
+ --card-padding-sm: 12px;
263
+ --card-padding-md: 16px;
264
+ --card-padding-lg: 20px;
265
+ --dialog-padding: 24px;
266
+ --section-gap: 32px;
267
+ --font-family-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
268
+ --font-family-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
269
+ --font-family-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
288
270
  --text-xs: 11px;
289
271
  --leading-xs: 14px;
290
272
  --text-sm: 13px;
@@ -305,7 +287,6 @@
305
287
  --leading-display-1: 48px;
306
288
  --text-display-2: 56px;
307
289
  --leading-display-2: 60px;
308
-
309
290
  --intent-heading-major-size: var(--text-2xl);
310
291
  --intent-heading-major-weight: var(--font-weight-bold);
311
292
  --intent-heading-major-leading: var(--leading-2xl);
@@ -327,77 +308,26 @@
327
308
  --intent-numeric-size: var(--text-sm);
328
309
  --intent-numeric-weight: var(--font-weight-medium);
329
310
  --intent-numeric-leading: var(--leading-sm);
330
- --intent-numeric-family: var(--font-family-mono);
331
-
332
- --space-0: 0px;
333
- --space-1: 4px;
334
- --space-2: 8px;
335
- --space-3: 12px;
336
- --space-4: 16px;
337
- --space-5: 20px;
338
- --space-6: 24px;
339
- --space-7: 28px;
340
- --space-8: 32px;
341
- --space-9: 36px;
342
- --space-10: 40px;
343
- --space-11: 44px;
344
- --space-12: 48px;
345
-
346
- --button-height-sm: 28px;
347
- --button-height-md: 32px;
348
- --button-height-lg: 36px;
349
- --input-height-sm: 28px;
350
- --input-height-md: 32px;
351
- --input-height-lg: 36px;
352
- --row-height-compact: 32px;
353
- --row-height-normal: 36px;
354
- --row-height-spacious: 44px;
355
-
356
- --card-padding-sm: 12px;
357
- --card-padding-md: 16px;
358
- --card-padding-lg: 20px;
359
- --dialog-padding: 24px;
360
- --section-gap: 32px;
361
-
311
+ --duration-instant: 0ms;
312
+ --duration-fast: 80ms;
313
+ --duration-normal: 120ms;
314
+ --duration-slow: 180ms;
315
+ --duration-dramatic: 240ms;
316
+ --easing-linear: linear;
317
+ --easing-standard: linear;
318
+ --easing-emphasized: linear;
319
+ --easing-spring: linear;
362
320
  --icon-family: lucide;
363
- --icon-default-size: 16px;
364
321
  --icon-stroke-width: 1.5;
365
- --icon-color: currentColor;
366
-
322
+ --icon-default-size: 16px;
367
323
  --elevation-card: none;
368
324
  --elevation-popover: none;
369
325
  --elevation-dialog: none;
370
326
  --elevation-toast: none;
371
-
372
327
  --radius-container: 8px;
373
328
  --radius-interactive: 6px;
374
329
  --radius-pill: 9999px;
375
330
  --border-hairline: 1px;
376
331
  --border-standard: 1px;
377
332
  --border-heavy: 1px;
378
-
379
- --transition-fast: 80ms;
380
- --transition-normal: 120ms;
381
- --transition-slow: 180ms;
382
- --transition-timing: linear;
383
-
384
- --duration-instant: 0ms;
385
- --duration-fast: 80ms;
386
- --duration-normal: 120ms;
387
- --duration-slow: 180ms;
388
- --duration-dramatic: 240ms;
389
- --easing-linear: linear;
390
- --easing-standard: linear;
391
- --easing-emphasized: linear;
392
- --easing-spring: linear;
393
-
394
- --hover-scale: 1;
395
- --hover-translate-y: 0;
396
- --hover-translate-x: 0;
397
- --active-scale: 1;
398
- --active-translate-y: 0;
399
-
400
- --focus-ring-width: 2px;
401
- --focus-ring-offset: 2px;
402
- --focus-ring-color: #4d8bff;
403
333
  }