@almadar/core 10.111.0 → 10.113.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 (98) hide show
  1. package/dist/builders.d.ts +4 -4
  2. package/dist/builders.js +79 -9
  3. package/dist/builders.js.map +1 -1
  4. package/dist/{bus-DS-GzSrs.d.ts → bus-CJ7jZVcV.d.ts} +3 -1
  5. package/dist/{domain-Bf6sf9NR.d.ts → domain-CkvF0zvD.d.ts} +1863 -44
  6. package/dist/{effect-BD47AL48.d.ts → effect-BLZKE5PN.d.ts} +51 -3
  7. package/dist/{entityAccess-Dc6o3AYo.d.ts → entityAccess-utY3tRcQ.d.ts} +2 -2
  8. package/dist/factory/index.d.ts +4 -4
  9. package/dist/factory/index.js +1238 -72
  10. package/dist/factory/index.js.map +1 -1
  11. package/dist/factory-runtime/index.d.ts +4 -4
  12. package/dist/factory-runtime/index.js +79 -9
  13. package/dist/factory-runtime/index.js.map +1 -1
  14. package/dist/fixtures.d.ts +2 -2
  15. package/dist/fixtures.js.map +1 -1
  16. package/dist/i18n/index.js +37 -4
  17. package/dist/i18n/index.js.map +1 -1
  18. package/dist/{index-DgD_3g5F.d.ts → index-BiHNP9jd.d.ts} +14 -7
  19. package/dist/index.d.ts +68 -17
  20. package/dist/index.js +17878 -5337
  21. package/dist/index.js.map +1 -1
  22. package/dist/mock/index.d.ts +5 -5
  23. package/dist/mock/index.js +12 -6
  24. package/dist/mock/index.js.map +1 -1
  25. package/dist/patterns/component-mapping.json +1 -1
  26. package/dist/patterns/event-contracts.json +1 -8
  27. package/dist/patterns/index.d.ts +2496 -185
  28. package/dist/patterns/index.js +1249 -83
  29. package/dist/patterns/index.js.map +1 -1
  30. package/dist/patterns/patterns-registry.json +1239 -73
  31. package/dist/patterns/registry.json +1239 -73
  32. package/dist/{schema-B3GE83sz.d.ts → schema-BJGPvTln.d.ts} +3208 -283
  33. package/dist/themes/index.d.ts +1 -1
  34. package/dist/themes/index.js +16232 -4971
  35. package/dist/themes/index.js.map +1 -1
  36. package/dist/{trait-BNxIGRUF.d.ts → trait-DlZMxzEB.d.ts} +61 -53
  37. package/dist/types/index.d.ts +7 -7
  38. package/dist/types/index.js +86 -10
  39. package/dist/types/index.js.map +1 -1
  40. package/dist/{types-5IX1FGgd.d.ts → types-7d7mtx4j.d.ts} +2 -2
  41. package/fixtures/theme-tokens/every-key.json +2 -1
  42. package/package.json +2 -2
  43. package/themes/almadar-website.json +11 -2
  44. package/themes/almadar.json +20 -6
  45. package/themes/aqua.json +422 -0
  46. package/themes/arabesque.json +514 -0
  47. package/themes/art-deco.json +342 -0
  48. package/themes/art-nouveau.json +342 -0
  49. package/themes/atelier.json +47 -189
  50. package/themes/bauhaus.json +332 -0
  51. package/themes/bloomberg-dense.json +73 -215
  52. package/themes/blueprint.json +332 -0
  53. package/themes/clay.json +57 -190
  54. package/themes/comic.json +110 -147
  55. package/themes/constructivist.json +342 -0
  56. package/themes/corporate.json +66 -199
  57. package/themes/cyberpunk.json +420 -0
  58. package/themes/frutiger-aero.json +424 -0
  59. package/themes/game-adventure.json +48 -22
  60. package/themes/game-rpg.json +50 -23
  61. package/themes/game-sci-fi.json +49 -22
  62. package/themes/game-ui-pack.json +41 -18
  63. package/themes/gazette.json +54 -196
  64. package/themes/glass.json +82 -203
  65. package/themes/gothic.json +331 -0
  66. package/themes/ink-wash.json +514 -0
  67. package/themes/kawaii.json +514 -0
  68. package/themes/kiosk.json +74 -202
  69. package/themes/linear-clean.json +71 -204
  70. package/themes/luxury.json +324 -0
  71. package/themes/mac-classic.json +332 -0
  72. package/themes/material.json +330 -0
  73. package/themes/memphis.json +339 -0
  74. package/themes/mid-century.json +340 -0
  75. package/themes/minimalist.json +64 -206
  76. package/themes/mudcloth.json +514 -0
  77. package/themes/neon.json +55 -214
  78. package/themes/neumorphic.json +324 -0
  79. package/themes/newsprint.json +332 -0
  80. package/themes/notion-editorial.json +55 -188
  81. package/themes/pixel.json +323 -0
  82. package/themes/prism.json +70 -71
  83. package/themes/retro.json +129 -166
  84. package/themes/risograph.json +327 -0
  85. package/themes/scandi.json +514 -0
  86. package/themes/sketch.json +332 -0
  87. package/themes/solarpunk.json +514 -0
  88. package/themes/steampunk.json +329 -0
  89. package/themes/swiss.json +340 -0
  90. package/themes/terminal.json +89 -157
  91. package/themes/trait-wars.json +146 -185
  92. package/themes/ukiyo-e.json +514 -0
  93. package/themes/vaporwave.json +422 -0
  94. package/themes/victorian.json +339 -0
  95. package/themes/wabi-sabi.json +514 -0
  96. package/themes/win95.json +326 -0
  97. package/themes/wireframe.json +48 -181
  98. package/themes/zine.json +332 -0
package/themes/glass.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "name": "glass",
3
+ "displayName": "Glass",
3
4
  "tokens": {
4
5
  "density": {
5
6
  "spacing": {
@@ -33,8 +34,8 @@
33
34
  "sectionGap": "40px"
34
35
  },
35
36
  "typeScale": {
36
- "displayFamily": "var(--font-family)",
37
- "bodyFamily": "var(--font-family)",
37
+ "displayFamily": "\"Sora\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
38
+ "bodyFamily": "\"Outfit\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
38
39
  "monoFamily": "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",
39
40
  "scale": {
40
41
  "xs": {
@@ -114,7 +115,13 @@
114
115
  "size": "sm",
115
116
  "weight": "medium"
116
117
  }
117
- }
118
+ },
119
+ "fontImport": "https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&family=Outfit:wght@300;400;500;600&display=swap",
120
+ "headingWeight": "600",
121
+ "headingTransform": "none",
122
+ "headingTracking": "-0.02em",
123
+ "headingStyle": "normal",
124
+ "headingShadow": "none"
118
125
  },
119
126
  "motion": {
120
127
  "durations": {
@@ -122,33 +129,48 @@
122
129
  "fast": "var(--transition-fast)",
123
130
  "normal": "var(--transition-normal)",
124
131
  "slow": "var(--transition-slow)",
125
- "dramatic": "800ms"
132
+ "dramatic": "700ms"
126
133
  },
127
134
  "easings": {
128
135
  "linear": "linear",
129
- "standard": "var(--transition-timing)",
130
- "emphasized": "cubic-bezier(0.22, 1, 0.36, 1)",
136
+ "standard": "cubic-bezier(0.22, 1, 0.36, 1)",
137
+ "emphasized": "cubic-bezier(0.2, 0, 0, 1)",
131
138
  "spring": "cubic-bezier(0.34, 1.56, 0.64, 1)"
139
+ },
140
+ "shapes": {
141
+ "modalEnter": "scale(0.92) translateY(12px)",
142
+ "modalExit": "scale(0.92) translateY(12px)",
143
+ "pageEnter": "translateY(12px)",
144
+ "popoverEnter": "scale(0.95)",
145
+ "popoverExit": "scale(0.95)",
146
+ "toastEnter": "translateY(16px)",
147
+ "toastExit": "translateY(16px)"
132
148
  }
133
149
  },
134
150
  "iconography": {
135
- "family": "lucide",
151
+ "family": "phosphor-duotone",
136
152
  "strokeWidth": "1.5",
137
153
  "defaultSize": "16px"
138
154
  },
139
155
  "elevation": {
140
- "cardElevation": "var(--shadow-sm)",
141
- "popoverElevation": "var(--shadow-main)",
156
+ "cardElevation": "var(--shadow-main)",
157
+ "popoverElevation": "var(--shadow-lg)",
142
158
  "dialogElevation": "var(--shadow-lg)",
143
- "toastElevation": "var(--shadow-main)"
159
+ "toastElevation": "var(--shadow-main)",
160
+ "interactiveElevation": "var(--shadow-sm)",
161
+ "pressedElevation": "var(--shadow-inner)"
144
162
  },
145
163
  "geometry": {
146
- "radiusContainer": "var(--radius-lg)",
147
- "radiusInteractive": "var(--radius-md)",
164
+ "radiusContainer": "var(--radius-xl)",
165
+ "radiusInteractive": "var(--radius-lg)",
148
166
  "radiusPill": "var(--radius-full)",
149
167
  "borderHairline": "1px",
150
168
  "borderStandard": "var(--border-width)",
151
- "borderHeavy": "var(--border-width-thick)"
169
+ "borderHeavy": "var(--border-width-thick)",
170
+ "cornerShape": "round",
171
+ "cornerShapePill": "round",
172
+ "borderStyle": "solid",
173
+ "borderStyleInteractive": "solid"
152
174
  },
153
175
  "colors": {
154
176
  "primary": "#5b5df0",
@@ -166,7 +188,7 @@
166
188
  "card": "rgba(255, 255, 255, 0.62)",
167
189
  "card-foreground": "#1e2235",
168
190
  "surface": "rgba(255, 255, 255, 0.55)",
169
- "border": "rgba(255, 255, 255, 0.65)",
191
+ "border": "rgba(255, 255, 255, 0.35)",
170
192
  "input": "rgba(99, 102, 241, 0.25)",
171
193
  "ring": "#6366f1",
172
194
  "error": "#e11d48",
@@ -176,40 +198,41 @@
176
198
  "warning": "#d97706",
177
199
  "warning-foreground": "#000000",
178
200
  "info": "#0270ae",
179
- "info-foreground": "#ffffff"
201
+ "info-foreground": "#ffffff",
202
+ "scrim": "rgba(0, 0, 0, 0.6)"
180
203
  },
181
204
  "radii": {
182
205
  "none": "0px",
183
- "sm": "10px",
184
- "md": "14px",
185
- "lg": "18px",
186
- "xl": "20px",
206
+ "sm": "12px",
207
+ "md": "16px",
208
+ "lg": "22px",
209
+ "xl": "28px",
187
210
  "full": "9999px"
188
211
  },
189
212
  "shadows": {
190
- "main": "0 4px 16px rgba(99, 102, 241, 0.1), 0 2px 6px rgba(15, 23, 42, 0.05)",
191
- "sm": "0 1px 6px rgba(99, 102, 241, 0.08)",
192
- "lg": "0 12px 32px rgba(99, 102, 241, 0.14), 0 4px 12px rgba(15, 23, 42, 0.06)",
193
- "inner": "inset 0 1px 4px rgba(99, 102, 241, 0.08)",
213
+ "main": "0 8px 32px rgba(31,38,135,0.14)",
214
+ "sm": "0 4px 16px rgba(31,38,135,0.10)",
215
+ "lg": "0 16px 48px rgba(31,38,135,0.20)",
216
+ "inner": "inset 0 1px 0 rgba(255,255,255,0.6)",
194
217
  "none": "none",
195
- "hover": "0 12px 36px rgba(99, 102, 241, 0.2), 0 4px 12px rgba(139, 92, 246, 0.08)",
196
- "active": "0 2px 8px rgba(99, 102, 241, 0.12)"
218
+ "hover": "0 12px 40px rgba(31,38,135,0.22)",
219
+ "active": "0 2px 8px rgba(31,38,135,0.12)"
197
220
  },
198
221
  "typography": {
199
222
  "border-width": "1px",
200
223
  "border-width-thin": "1px",
201
224
  "border-width-thick": "2px",
202
- "font-family": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
225
+ "font-family": "\"Outfit\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
203
226
  "font-weight-normal": "400",
204
227
  "font-weight-medium": "500",
205
228
  "font-weight-bold": "650",
206
- "letter-spacing": "-0.01em",
229
+ "letter-spacing": "-0.005em",
207
230
  "line-height": "1.6",
208
231
  "icon-color": "#6366f1",
209
232
  "transition-fast": "120ms",
210
- "transition-normal": "220ms",
211
- "transition-slow": "320ms",
212
- "transition-timing": "cubic-bezier(0.34, 1.3, 0.64, 1)",
233
+ "transition-normal": "300ms",
234
+ "transition-slow": "500ms",
235
+ "transition-timing": "cubic-bezier(0.22, 1, 0.36, 1)",
213
236
  "hover-scale": "1.01",
214
237
  "hover-translate-y": "-1px",
215
238
  "hover-translate-x": "0",
@@ -218,159 +241,16 @@
218
241
  "focus-ring-width": "2px",
219
242
  "focus-ring-offset": "2px",
220
243
  "focus-ring-color": "#6366f1"
244
+ },
245
+ "surface": {
246
+ "backdrop": "blur(20px) saturate(1.6)",
247
+ "cardImage": "linear-gradient(135deg, rgba(255,255,255,0.45), rgba(255,255,255,0.05))",
248
+ "pageImage": "radial-gradient(60% 50% at 15% 10%, rgba(91,93,240,0.35), transparent 70%), radial-gradient(50% 45% at 85% 20%, rgba(236,72,153,0.28), transparent 70%), radial-gradient(55% 50% at 70% 90%, rgba(34,211,238,0.30), transparent 70%), radial-gradient(45% 40% at 10% 85%, rgba(168,85,247,0.25), transparent 70%)",
249
+ "pageImageSize": "100% 100%"
221
250
  }
222
251
  },
223
252
  "variants": {
224
253
  "dark": {
225
- "density": {
226
- "spacing": {
227
- "space0": "0px",
228
- "space1": "4px",
229
- "space2": "8px",
230
- "space3": "12px",
231
- "space4": "16px",
232
- "space5": "20px",
233
- "space6": "24px",
234
- "space7": "28px",
235
- "space8": "32px",
236
- "space9": "36px",
237
- "space10": "40px",
238
- "space11": "44px",
239
- "space12": "48px"
240
- },
241
- "buttonHeightSm": "32px",
242
- "buttonHeightMd": "40px",
243
- "buttonHeightLg": "48px",
244
- "inputHeightSm": "32px",
245
- "inputHeightMd": "40px",
246
- "inputHeightLg": "48px",
247
- "rowHeightCompact": "36px",
248
- "rowHeightNormal": "44px",
249
- "rowHeightSpacious": "52px",
250
- "cardPaddingSm": "16px",
251
- "cardPaddingMd": "20px",
252
- "cardPaddingLg": "28px",
253
- "dialogPadding": "28px",
254
- "sectionGap": "40px"
255
- },
256
- "typeScale": {
257
- "displayFamily": "var(--font-family)",
258
- "bodyFamily": "var(--font-family)",
259
- "monoFamily": "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",
260
- "scale": {
261
- "xs": {
262
- "size": "12px",
263
- "lineHeight": "16px"
264
- },
265
- "sm": {
266
- "size": "14px",
267
- "lineHeight": "20px"
268
- },
269
- "base": {
270
- "size": "16px",
271
- "lineHeight": "24px"
272
- },
273
- "lg": {
274
- "size": "18px",
275
- "lineHeight": "28px"
276
- },
277
- "xl": {
278
- "size": "20px",
279
- "lineHeight": "28px"
280
- },
281
- "2xl": {
282
- "size": "24px",
283
- "lineHeight": "32px"
284
- },
285
- "3xl": {
286
- "size": "30px",
287
- "lineHeight": "36px"
288
- },
289
- "4xl": {
290
- "size": "36px",
291
- "lineHeight": "40px"
292
- },
293
- "display-1": {
294
- "size": "48px",
295
- "lineHeight": "52px"
296
- },
297
- "display-2": {
298
- "size": "60px",
299
- "lineHeight": "64px"
300
- }
301
- },
302
- "intents": {
303
- "headingMajor": {
304
- "slot": "display",
305
- "size": "2xl",
306
- "weight": "bold"
307
- },
308
- "headingMinor": {
309
- "slot": "display",
310
- "size": "lg",
311
- "weight": "medium"
312
- },
313
- "bodyEmphasis": {
314
- "slot": "body",
315
- "size": "base",
316
- "weight": "medium"
317
- },
318
- "bodyDefault": {
319
- "slot": "body",
320
- "size": "sm",
321
- "weight": "normal"
322
- },
323
- "bodyQuiet": {
324
- "slot": "body",
325
- "size": "sm",
326
- "weight": "normal"
327
- },
328
- "caption": {
329
- "slot": "body",
330
- "size": "xs",
331
- "weight": "normal"
332
- },
333
- "numeric": {
334
- "slot": "mono",
335
- "size": "sm",
336
- "weight": "medium"
337
- }
338
- }
339
- },
340
- "motion": {
341
- "durations": {
342
- "instant": "0ms",
343
- "fast": "var(--transition-fast)",
344
- "normal": "var(--transition-normal)",
345
- "slow": "var(--transition-slow)",
346
- "dramatic": "800ms"
347
- },
348
- "easings": {
349
- "linear": "linear",
350
- "standard": "var(--transition-timing)",
351
- "emphasized": "cubic-bezier(0.22, 1, 0.36, 1)",
352
- "spring": "cubic-bezier(0.34, 1.56, 0.64, 1)"
353
- }
354
- },
355
- "iconography": {
356
- "family": "lucide",
357
- "strokeWidth": "1.5",
358
- "defaultSize": "16px"
359
- },
360
- "elevation": {
361
- "cardElevation": "var(--shadow-sm)",
362
- "popoverElevation": "var(--shadow-main)",
363
- "dialogElevation": "var(--shadow-lg)",
364
- "toastElevation": "var(--shadow-main)"
365
- },
366
- "geometry": {
367
- "radiusContainer": "var(--radius-lg)",
368
- "radiusInteractive": "var(--radius-md)",
369
- "radiusPill": "var(--radius-full)",
370
- "borderHairline": "1px",
371
- "borderStandard": "var(--border-width)",
372
- "borderHeavy": "var(--border-width-thick)"
373
- },
374
254
  "colors": {
375
255
  "primary": "#818cf8",
376
256
  "primary-hover": "#6b72f5",
@@ -387,7 +267,7 @@
387
267
  "card": "rgba(22, 27, 51, 0.58)",
388
268
  "card-foreground": "#e7e9f5",
389
269
  "surface": "rgba(30, 36, 66, 0.55)",
390
- "border": "rgba(255, 255, 255, 0.14)",
270
+ "border": "rgba(255, 255, 255, 0.35)",
391
271
  "input": "rgba(255, 255, 255, 0.2)",
392
272
  "ring": "#818cf8",
393
273
  "error": "#fb7185",
@@ -397,40 +277,24 @@
397
277
  "warning": "#fbbf24",
398
278
  "warning-foreground": "#000000",
399
279
  "info": "#38bdf8",
400
- "info-foreground": "#000000"
401
- },
402
- "radii": {
403
- "none": "0px",
404
- "sm": "10px",
405
- "md": "14px",
406
- "lg": "18px",
407
- "xl": "20px",
408
- "full": "9999px"
409
- },
410
- "shadows": {
411
- "main": "0 4px 18px rgba(0, 0, 0, 0.45), 0 0 14px rgba(129, 140, 248, 0.12)",
412
- "sm": "0 1px 6px rgba(0, 0, 0, 0.35), 0 0 8px rgba(129, 140, 248, 0.08)",
413
- "lg": "0 14px 40px rgba(0, 0, 0, 0.55), 0 0 28px rgba(129, 140, 248, 0.16)",
414
- "inner": "inset 0 1px 4px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(129, 140, 248, 0.06)",
415
- "none": "none",
416
- "hover": "0 14px 44px rgba(0, 0, 0, 0.6), 0 0 32px rgba(167, 139, 250, 0.22)",
417
- "active": "0 2px 8px rgba(0, 0, 0, 0.4), 0 0 10px rgba(129, 140, 248, 0.1)"
280
+ "info-foreground": "#000000",
281
+ "scrim": "rgba(0, 0, 0, 0.7)"
418
282
  },
419
283
  "typography": {
420
284
  "border-width": "1px",
421
285
  "border-width-thin": "1px",
422
286
  "border-width-thick": "2px",
423
- "font-family": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
287
+ "font-family": "\"Outfit\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
424
288
  "font-weight-normal": "400",
425
289
  "font-weight-medium": "500",
426
290
  "font-weight-bold": "650",
427
- "letter-spacing": "-0.01em",
291
+ "letter-spacing": "-0.005em",
428
292
  "line-height": "1.6",
429
293
  "icon-color": "#818cf8",
430
294
  "transition-fast": "120ms",
431
- "transition-normal": "220ms",
432
- "transition-slow": "320ms",
433
- "transition-timing": "cubic-bezier(0.34, 1.3, 0.64, 1)",
295
+ "transition-normal": "300ms",
296
+ "transition-slow": "500ms",
297
+ "transition-timing": "cubic-bezier(0.22, 1, 0.36, 1)",
434
298
  "hover-scale": "1.01",
435
299
  "hover-translate-y": "-1px",
436
300
  "hover-translate-x": "0",
@@ -439,6 +303,21 @@
439
303
  "focus-ring-width": "2px",
440
304
  "focus-ring-offset": "2px",
441
305
  "focus-ring-color": "#818cf8"
306
+ },
307
+ "shadows": {
308
+ "main": "0 8px 32px rgba(0,0,0,0.40)",
309
+ "sm": "0 4px 16px rgba(0,0,0,0.30)",
310
+ "lg": "0 16px 48px rgba(0,0,0,0.55)",
311
+ "inner": "inset 0 1px 0 rgba(255,255,255,0.10)",
312
+ "none": "none",
313
+ "hover": "0 12px 40px rgba(0,0,0,0.50)",
314
+ "active": "0 2px 8px rgba(0,0,0,0.35)"
315
+ },
316
+ "surface": {
317
+ "backdrop": "blur(20px) saturate(1.6)",
318
+ "cardImage": "linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.01))",
319
+ "pageImage": "radial-gradient(60% 50% at 15% 10%, rgba(99,102,241,0.40), transparent 70%), radial-gradient(50% 45% at 85% 20%, rgba(236,72,153,0.28), transparent 70%), radial-gradient(55% 50% at 70% 90%, rgba(34,211,238,0.25), transparent 70%), radial-gradient(45% 40% at 10% 85%, rgba(168,85,247,0.30), transparent 70%)",
320
+ "pageImageSize": "100% 100%"
442
321
  }
443
322
  }
444
323
  }