@almadar/core 10.97.0 → 10.99.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 (101) hide show
  1. package/README.md +25 -0
  2. package/dist/builders.d.ts +5 -4
  3. package/dist/builders.js +60 -34
  4. package/dist/builders.js.map +1 -1
  5. package/dist/bus-BGDM3Xot.d.ts +565 -0
  6. package/dist/domain-Ds_7wZIL.d.ts +16213 -0
  7. package/dist/{effect-Bw8T4qh5.d.ts → effect-CW_IT0Jn.d.ts} +59 -4
  8. package/dist/{entityAccess-DfoXs9mc.d.ts → entityAccess-BLpOMojb.d.ts} +3 -3
  9. package/dist/{expression-WfTp2arD.d.ts → expression-DRwzVnMu.d.ts} +5 -1
  10. package/dist/factory/index.d.ts +5 -5
  11. package/dist/factory/index.js +22 -0
  12. package/dist/factory/index.js.map +1 -1
  13. package/dist/factory-runtime/index.d.ts +5 -4
  14. package/dist/factory-runtime/index.js +176 -34
  15. package/dist/factory-runtime/index.js.map +1 -1
  16. package/dist/fixtures.d.ts +45 -0
  17. package/dist/fixtures.js +693 -0
  18. package/dist/fixtures.js.map +1 -0
  19. package/dist/{index-H0bOi9oP.d.ts → index-CHHuux4I.d.ts} +8 -375
  20. package/dist/index.d.ts +19 -15
  21. package/dist/index.js +9069 -44
  22. package/dist/index.js.map +1 -1
  23. package/dist/mock/index.d.ts +6 -5
  24. package/dist/mock/index.js +14 -0
  25. package/dist/mock/index.js.map +1 -1
  26. package/dist/patterns/component-mapping.json +1 -1
  27. package/dist/patterns/event-contracts.json +1 -1
  28. package/dist/patterns/index.d.ts +12 -8
  29. package/dist/patterns/index.js +15 -4
  30. package/dist/patterns/index.js.map +1 -1
  31. package/dist/patterns/patterns-registry.json +1 -1
  32. package/dist/patterns/registry.json +1 -1
  33. package/dist/{schema-DPpES4qj.d.ts → schema-BVjtoRYf.d.ts} +2134 -23608
  34. package/dist/state-machine/index.d.ts +1 -1
  35. package/dist/themes/index.d.ts +19 -0
  36. package/dist/themes/index.js +9251 -0
  37. package/dist/themes/index.js.map +1 -0
  38. package/dist/{trait-DXXRrRMP.d.ts → trait-C9lr222u.d.ts} +26 -26
  39. package/dist/types/index.d.ts +8 -6
  40. package/dist/types/index.js +207 -41
  41. package/dist/types/index.js.map +1 -1
  42. package/dist/{types-BMaTUGyk.d.ts → types-BoyvM79n.d.ts} +2 -2
  43. package/fixtures/events-wire/cascade-emitted-events/request.json +9 -0
  44. package/fixtures/events-wire/cascade-emitted-events/response.json +30 -0
  45. package/fixtures/events-wire/client-effects-by-trait/request.json +4 -0
  46. package/fixtures/events-wire/client-effects-by-trait/response.json +52 -0
  47. package/fixtures/events-wire/effect-results/request.json +9 -0
  48. package/fixtures/events-wire/effect-results/response.json +42 -0
  49. package/fixtures/events-wire/effect-results-every-kind/request.json +9 -0
  50. package/fixtures/events-wire/effect-results-every-kind/response.json +70 -0
  51. package/fixtures/events-wire/guard-rejected/request.json +6 -0
  52. package/fixtures/events-wire/guard-rejected/response.json +11 -0
  53. package/fixtures/events-wire/live-push/live-push.json +12 -0
  54. package/fixtures/events-wire/live-push/request.json +9 -0
  55. package/fixtures/events-wire/live-push/response.json +33 -0
  56. package/fixtures/events-wire/navigate-1/request.json +5 -0
  57. package/fixtures/events-wire/navigate-1/response.json +16 -0
  58. package/fixtures/events-wire/navigate-2/request.json +8 -0
  59. package/fixtures/events-wire/navigate-2/response.json +19 -0
  60. package/fixtures/events-wire/navigate-3/request.json +8 -0
  61. package/fixtures/events-wire/navigate-3/response.json +22 -0
  62. package/fixtures/events-wire/navigate-back/request.json +5 -0
  63. package/fixtures/events-wire/navigate-back/response.json +15 -0
  64. package/fixtures/events-wire/render-ui-3/request.json +5 -0
  65. package/fixtures/events-wire/render-ui-3/response.json +20 -0
  66. package/fixtures/events-wire/render-ui-4/request.json +5 -0
  67. package/fixtures/events-wire/render-ui-4/response.json +41 -0
  68. package/fixtures/events-wire/render-ui-5/request.json +9 -0
  69. package/fixtures/events-wire/render-ui-5/response.json +52 -0
  70. package/fixtures/events-wire/render-ui-clear/request.json +5 -0
  71. package/fixtures/events-wire/render-ui-clear/response.json +27 -0
  72. package/fixtures/events-wire/sse-stream/request.json +9 -0
  73. package/fixtures/events-wire/sse-stream/response.json +79 -0
  74. package/fixtures/events-wire/sse-stream/stream.json +131 -0
  75. package/fixtures/events-wire/stateless-traits/request.json +27 -0
  76. package/fixtures/events-wire/stateless-traits/response.json +15 -0
  77. package/fixtures/theme-tokens/every-key.json +43 -0
  78. package/package.json +18 -3
  79. package/themes/almadar-website.json +207 -0
  80. package/themes/almadar.json +203 -0
  81. package/themes/atelier.json +459 -0
  82. package/themes/bloomberg-dense.json +459 -0
  83. package/themes/clay.json +445 -0
  84. package/themes/comic.json +457 -0
  85. package/themes/corporate.json +445 -0
  86. package/themes/game-adventure.json +229 -0
  87. package/themes/game-rpg.json +230 -0
  88. package/themes/game-sci-fi.json +229 -0
  89. package/themes/game-ui-pack.json +230 -0
  90. package/themes/gazette.json +445 -0
  91. package/themes/glass.json +445 -0
  92. package/themes/kiosk.json +441 -0
  93. package/themes/linear-clean.json +459 -0
  94. package/themes/minimalist.json +445 -0
  95. package/themes/neon.json +445 -0
  96. package/themes/notion-editorial.json +459 -0
  97. package/themes/prism.json +203 -0
  98. package/themes/retro.json +445 -0
  99. package/themes/terminal.json +457 -0
  100. package/themes/trait-wars.json +493 -0
  101. package/themes/wireframe.json +445 -0
@@ -0,0 +1,445 @@
1
+ {
2
+ "name": "glass",
3
+ "tokens": {
4
+ "density": {
5
+ "spacing": {
6
+ "space0": "0px",
7
+ "space1": "4px",
8
+ "space2": "8px",
9
+ "space3": "12px",
10
+ "space4": "16px",
11
+ "space5": "20px",
12
+ "space6": "24px",
13
+ "space7": "28px",
14
+ "space8": "32px",
15
+ "space9": "36px",
16
+ "space10": "40px",
17
+ "space11": "44px",
18
+ "space12": "48px"
19
+ },
20
+ "buttonHeightSm": "32px",
21
+ "buttonHeightMd": "40px",
22
+ "buttonHeightLg": "48px",
23
+ "inputHeightSm": "32px",
24
+ "inputHeightMd": "40px",
25
+ "inputHeightLg": "48px",
26
+ "rowHeightCompact": "36px",
27
+ "rowHeightNormal": "44px",
28
+ "rowHeightSpacious": "52px",
29
+ "cardPaddingSm": "16px",
30
+ "cardPaddingMd": "20px",
31
+ "cardPaddingLg": "28px",
32
+ "dialogPadding": "28px",
33
+ "sectionGap": "40px"
34
+ },
35
+ "typeScale": {
36
+ "displayFamily": "var(--font-family)",
37
+ "bodyFamily": "var(--font-family)",
38
+ "monoFamily": "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",
39
+ "scale": {
40
+ "xs": {
41
+ "size": "12px",
42
+ "lineHeight": "16px"
43
+ },
44
+ "sm": {
45
+ "size": "14px",
46
+ "lineHeight": "20px"
47
+ },
48
+ "base": {
49
+ "size": "16px",
50
+ "lineHeight": "24px"
51
+ },
52
+ "lg": {
53
+ "size": "18px",
54
+ "lineHeight": "28px"
55
+ },
56
+ "xl": {
57
+ "size": "20px",
58
+ "lineHeight": "28px"
59
+ },
60
+ "2xl": {
61
+ "size": "24px",
62
+ "lineHeight": "32px"
63
+ },
64
+ "3xl": {
65
+ "size": "30px",
66
+ "lineHeight": "36px"
67
+ },
68
+ "4xl": {
69
+ "size": "36px",
70
+ "lineHeight": "40px"
71
+ },
72
+ "display-1": {
73
+ "size": "48px",
74
+ "lineHeight": "52px"
75
+ },
76
+ "display-2": {
77
+ "size": "60px",
78
+ "lineHeight": "64px"
79
+ }
80
+ },
81
+ "intents": {
82
+ "headingMajor": {
83
+ "slot": "display",
84
+ "size": "2xl",
85
+ "weight": "bold"
86
+ },
87
+ "headingMinor": {
88
+ "slot": "display",
89
+ "size": "lg",
90
+ "weight": "medium"
91
+ },
92
+ "bodyEmphasis": {
93
+ "slot": "body",
94
+ "size": "base",
95
+ "weight": "medium"
96
+ },
97
+ "bodyDefault": {
98
+ "slot": "body",
99
+ "size": "sm",
100
+ "weight": "normal"
101
+ },
102
+ "bodyQuiet": {
103
+ "slot": "body",
104
+ "size": "sm",
105
+ "weight": "normal"
106
+ },
107
+ "caption": {
108
+ "slot": "body",
109
+ "size": "xs",
110
+ "weight": "normal"
111
+ },
112
+ "numeric": {
113
+ "slot": "mono",
114
+ "size": "sm",
115
+ "weight": "medium"
116
+ }
117
+ }
118
+ },
119
+ "motion": {
120
+ "durations": {
121
+ "instant": "0ms",
122
+ "fast": "var(--transition-fast)",
123
+ "normal": "var(--transition-normal)",
124
+ "slow": "var(--transition-slow)",
125
+ "dramatic": "800ms"
126
+ },
127
+ "easings": {
128
+ "linear": "linear",
129
+ "standard": "var(--transition-timing)",
130
+ "emphasized": "cubic-bezier(0.22, 1, 0.36, 1)",
131
+ "spring": "cubic-bezier(0.34, 1.56, 0.64, 1)"
132
+ }
133
+ },
134
+ "iconography": {
135
+ "family": "lucide",
136
+ "strokeWidth": "1.5",
137
+ "defaultSize": "16px"
138
+ },
139
+ "elevation": {
140
+ "cardElevation": "var(--shadow-sm)",
141
+ "popoverElevation": "var(--shadow-main)",
142
+ "dialogElevation": "var(--shadow-lg)",
143
+ "toastElevation": "var(--shadow-main)"
144
+ },
145
+ "geometry": {
146
+ "radiusContainer": "var(--radius-lg)",
147
+ "radiusInteractive": "var(--radius-md)",
148
+ "radiusPill": "var(--radius-full)",
149
+ "borderHairline": "1px",
150
+ "borderStandard": "var(--border-width)",
151
+ "borderHeavy": "var(--border-width-thick)"
152
+ },
153
+ "colors": {
154
+ "primary": "#5b5df0",
155
+ "primary-hover": "#4f46e5",
156
+ "primary-foreground": "#ffffff",
157
+ "secondary": "rgba(255, 255, 255, 0.55)",
158
+ "secondary-hover": "rgba(255, 255, 255, 0.7)",
159
+ "secondary-foreground": "#3f3d56",
160
+ "accent": "#8347f3",
161
+ "accent-foreground": "#ffffff",
162
+ "muted": "rgba(255, 255, 255, 0.5)",
163
+ "muted-foreground": "#5d6a7f",
164
+ "background": "#eef1f8",
165
+ "foreground": "#1e2235",
166
+ "card": "rgba(255, 255, 255, 0.62)",
167
+ "card-foreground": "#1e2235",
168
+ "surface": "rgba(255, 255, 255, 0.55)",
169
+ "border": "rgba(255, 255, 255, 0.65)",
170
+ "input": "rgba(99, 102, 241, 0.25)",
171
+ "ring": "#6366f1",
172
+ "error": "#e11d48",
173
+ "error-foreground": "#ffffff",
174
+ "success": "#047857",
175
+ "success-foreground": "#ffffff",
176
+ "warning": "#d97706",
177
+ "warning-foreground": "#000000",
178
+ "info": "#0270ae",
179
+ "info-foreground": "#ffffff"
180
+ },
181
+ "radii": {
182
+ "none": "0px",
183
+ "sm": "10px",
184
+ "md": "14px",
185
+ "lg": "18px",
186
+ "xl": "20px",
187
+ "full": "9999px"
188
+ },
189
+ "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)",
194
+ "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)"
197
+ },
198
+ "typography": {
199
+ "border-width": "1px",
200
+ "border-width-thin": "1px",
201
+ "border-width-thick": "2px",
202
+ "font-family": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
203
+ "font-weight-normal": "400",
204
+ "font-weight-medium": "500",
205
+ "font-weight-bold": "650",
206
+ "letter-spacing": "-0.01em",
207
+ "line-height": "1.6",
208
+ "icon-color": "#6366f1",
209
+ "transition-fast": "120ms",
210
+ "transition-normal": "220ms",
211
+ "transition-slow": "320ms",
212
+ "transition-timing": "cubic-bezier(0.34, 1.3, 0.64, 1)",
213
+ "hover-scale": "1.01",
214
+ "hover-translate-y": "-1px",
215
+ "hover-translate-x": "0",
216
+ "active-scale": "0.99",
217
+ "active-translate-y": "0",
218
+ "focus-ring-width": "2px",
219
+ "focus-ring-offset": "2px",
220
+ "focus-ring-color": "#6366f1"
221
+ }
222
+ },
223
+ "variants": {
224
+ "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
+ "colors": {
375
+ "primary": "#818cf8",
376
+ "primary-hover": "#6b72f5",
377
+ "primary-foreground": "#0b1020",
378
+ "secondary": "rgba(30, 36, 66, 0.55)",
379
+ "secondary-hover": "rgba(38, 45, 80, 0.65)",
380
+ "secondary-foreground": "#e2e5f4",
381
+ "accent": "#a78bfa",
382
+ "accent-foreground": "#160b2e",
383
+ "muted": "rgba(30, 36, 66, 0.55)",
384
+ "muted-foreground": "#8f96b8",
385
+ "background": "#0b1020",
386
+ "foreground": "#e7e9f5",
387
+ "card": "rgba(22, 27, 51, 0.58)",
388
+ "card-foreground": "#e7e9f5",
389
+ "surface": "rgba(30, 36, 66, 0.55)",
390
+ "border": "rgba(255, 255, 255, 0.14)",
391
+ "input": "rgba(255, 255, 255, 0.2)",
392
+ "ring": "#818cf8",
393
+ "error": "#fb7185",
394
+ "error-foreground": "#000000",
395
+ "success": "#34d399",
396
+ "success-foreground": "#000000",
397
+ "warning": "#fbbf24",
398
+ "warning-foreground": "#000000",
399
+ "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)"
418
+ },
419
+ "typography": {
420
+ "border-width": "1px",
421
+ "border-width-thin": "1px",
422
+ "border-width-thick": "2px",
423
+ "font-family": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
424
+ "font-weight-normal": "400",
425
+ "font-weight-medium": "500",
426
+ "font-weight-bold": "650",
427
+ "letter-spacing": "-0.01em",
428
+ "line-height": "1.6",
429
+ "icon-color": "#818cf8",
430
+ "transition-fast": "120ms",
431
+ "transition-normal": "220ms",
432
+ "transition-slow": "320ms",
433
+ "transition-timing": "cubic-bezier(0.34, 1.3, 0.64, 1)",
434
+ "hover-scale": "1.01",
435
+ "hover-translate-y": "-1px",
436
+ "hover-translate-x": "0",
437
+ "active-scale": "0.99",
438
+ "active-translate-y": "0",
439
+ "focus-ring-width": "2px",
440
+ "focus-ring-offset": "2px",
441
+ "focus-ring-color": "#818cf8"
442
+ }
443
+ }
444
+ }
445
+ }