@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,459 @@
1
+ {
2
+ "name": "bloomberg-dense",
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": "26px",
21
+ "buttonHeightMd": "30px",
22
+ "buttonHeightLg": "34px",
23
+ "inputHeightSm": "26px",
24
+ "inputHeightMd": "30px",
25
+ "inputHeightLg": "34px",
26
+ "rowHeightCompact": "30px",
27
+ "rowHeightNormal": "36px",
28
+ "rowHeightSpacious": "44px",
29
+ "cardPaddingSm": "12px",
30
+ "cardPaddingMd": "16px",
31
+ "cardPaddingLg": "20px",
32
+ "dialogPadding": "22px",
33
+ "sectionGap": "28px"
34
+ },
35
+ "typeScale": {
36
+ "displayFamily": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
37
+ "bodyFamily": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
38
+ "monoFamily": "\"JetBrains Mono\", \"SFMono-Regular\", ui-monospace, Menlo, Consolas, monospace",
39
+ "scale": {
40
+ "xs": {
41
+ "size": "11px",
42
+ "lineHeight": "15px"
43
+ },
44
+ "sm": {
45
+ "size": "13px",
46
+ "lineHeight": "18px"
47
+ },
48
+ "base": {
49
+ "size": "14px",
50
+ "lineHeight": "20px"
51
+ },
52
+ "lg": {
53
+ "size": "16px",
54
+ "lineHeight": "22px"
55
+ },
56
+ "xl": {
57
+ "size": "18px",
58
+ "lineHeight": "24px"
59
+ },
60
+ "2xl": {
61
+ "size": "21px",
62
+ "lineHeight": "27px"
63
+ },
64
+ "3xl": {
65
+ "size": "25px",
66
+ "lineHeight": "32px"
67
+ },
68
+ "4xl": {
69
+ "size": "31px",
70
+ "lineHeight": "40px"
71
+ },
72
+ "display-1": {
73
+ "size": "40px",
74
+ "lineHeight": "50px"
75
+ },
76
+ "display-2": {
77
+ "size": "52px",
78
+ "lineHeight": "62px"
79
+ }
80
+ },
81
+ "intents": {
82
+ "headingMajor": {
83
+ "slot": "display",
84
+ "size": "xl",
85
+ "weight": "bold"
86
+ },
87
+ "headingMinor": {
88
+ "slot": "display",
89
+ "size": "base",
90
+ "weight": "bold"
91
+ },
92
+ "bodyEmphasis": {
93
+ "slot": "body",
94
+ "size": "sm",
95
+ "weight": "medium"
96
+ },
97
+ "bodyDefault": {
98
+ "slot": "body",
99
+ "size": "sm",
100
+ "weight": "normal"
101
+ },
102
+ "bodyQuiet": {
103
+ "slot": "body",
104
+ "size": "xs",
105
+ "weight": "normal"
106
+ },
107
+ "caption": {
108
+ "slot": "body",
109
+ "size": "xs",
110
+ "weight": "medium"
111
+ },
112
+ "numeric": {
113
+ "slot": "mono",
114
+ "size": "sm",
115
+ "weight": "bold"
116
+ }
117
+ }
118
+ },
119
+ "motion": {
120
+ "durations": {
121
+ "instant": "0ms",
122
+ "fast": "120ms",
123
+ "normal": "180ms",
124
+ "slow": "260ms",
125
+ "dramatic": "420ms"
126
+ },
127
+ "easings": {
128
+ "linear": "linear",
129
+ "standard": "cubic-bezier(0.2, 0, 0, 1)",
130
+ "emphasized": "cubic-bezier(0.3, 0, 0, 1)",
131
+ "spring": "cubic-bezier(0.34, 1.4, 0.64, 1)"
132
+ }
133
+ },
134
+ "iconography": {
135
+ "family": "lucide",
136
+ "strokeWidth": "1.5",
137
+ "defaultSize": "15px"
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": "6px",
147
+ "radiusInteractive": "4px",
148
+ "radiusPill": "9999px",
149
+ "borderHairline": "1px",
150
+ "borderStandard": "1px",
151
+ "borderHeavy": "2px"
152
+ },
153
+ "colors": {
154
+ "primary": "#0e7490",
155
+ "primary-hover": "#155e75",
156
+ "primary-foreground": "#ffffff",
157
+ "secondary": "#eef2f8",
158
+ "secondary-hover": "#e1e7f0",
159
+ "secondary-foreground": "#0c1424",
160
+ "accent": "#b45309",
161
+ "accent-foreground": "#ffffff",
162
+ "muted": "#eef2f8",
163
+ "muted-foreground": "#4a5876",
164
+ "background": "#f6f8fc",
165
+ "foreground": "#0c1424",
166
+ "card": "#ffffff",
167
+ "card-foreground": "#0c1424",
168
+ "surface": "#eef2f8",
169
+ "border": "#d6deeb",
170
+ "input": "#c2cee0",
171
+ "ring": "#0e7490",
172
+ "table-header": "#eef2f8",
173
+ "table-border": "#d6deeb",
174
+ "table-row-hover": "#eef2f8",
175
+ "surface-hover": "#e1e7f0",
176
+ "border-hover": "#aab8cd",
177
+ "placeholder": "#6b7a96",
178
+ "error": "#c2410c",
179
+ "error-foreground": "#ffffff",
180
+ "success": "#047857",
181
+ "success-foreground": "#ffffff",
182
+ "warning": "#b45309",
183
+ "warning-foreground": "#ffffff",
184
+ "info": "#0e7490",
185
+ "info-foreground": "#ffffff"
186
+ },
187
+ "radii": {
188
+ "none": "0px",
189
+ "sm": "3px",
190
+ "md": "4px",
191
+ "lg": "6px",
192
+ "xl": "8px",
193
+ "full": "9999px"
194
+ },
195
+ "shadows": {
196
+ "none": "none",
197
+ "sm": "0 1px 2px rgba(12, 20, 36, 0.06)",
198
+ "main": "0 4px 12px rgba(12, 20, 36, 0.08), 0 0 0 1px rgba(14, 116, 144, 0.06)",
199
+ "lg": "0 12px 28px rgba(12, 20, 36, 0.10), 0 2px 6px rgba(12, 20, 36, 0.05)",
200
+ "inner": "inset 0 1px 2px rgba(12, 20, 36, 0.05)",
201
+ "hover": "0 6px 16px rgba(12, 20, 36, 0.10), 0 0 0 1px rgba(14, 116, 144, 0.10)",
202
+ "active": "0 1px 3px rgba(12, 20, 36, 0.08)"
203
+ },
204
+ "typography": {
205
+ "border-width": "1px",
206
+ "border-width-thin": "1px",
207
+ "border-width-thick": "2px",
208
+ "font-family": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
209
+ "font-weight-normal": "400",
210
+ "font-weight-medium": "500",
211
+ "font-weight-bold": "600",
212
+ "letter-spacing": "-0.011em",
213
+ "line-height": "1.45",
214
+ "intent-numeric-family": "var(--font-family-mono)",
215
+ "icon-color": "currentColor",
216
+ "transition-fast": "120ms",
217
+ "transition-normal": "180ms",
218
+ "transition-slow": "260ms",
219
+ "transition-timing": "cubic-bezier(0.2, 0, 0, 1)",
220
+ "hover-scale": "1",
221
+ "hover-translate-y": "-1px",
222
+ "hover-translate-x": "0",
223
+ "active-scale": "0.99",
224
+ "active-translate-y": "0",
225
+ "focus-ring-width": "2px",
226
+ "focus-ring-offset": "2px",
227
+ "focus-ring-color": "#0e7490"
228
+ }
229
+ },
230
+ "variants": {
231
+ "dark": {
232
+ "density": {
233
+ "spacing": {
234
+ "space0": "0px",
235
+ "space1": "4px",
236
+ "space2": "8px",
237
+ "space3": "12px",
238
+ "space4": "16px",
239
+ "space5": "20px",
240
+ "space6": "24px",
241
+ "space7": "28px",
242
+ "space8": "32px",
243
+ "space9": "36px",
244
+ "space10": "40px",
245
+ "space11": "44px",
246
+ "space12": "48px"
247
+ },
248
+ "buttonHeightSm": "26px",
249
+ "buttonHeightMd": "30px",
250
+ "buttonHeightLg": "34px",
251
+ "inputHeightSm": "26px",
252
+ "inputHeightMd": "30px",
253
+ "inputHeightLg": "34px",
254
+ "rowHeightCompact": "30px",
255
+ "rowHeightNormal": "36px",
256
+ "rowHeightSpacious": "44px",
257
+ "cardPaddingSm": "12px",
258
+ "cardPaddingMd": "16px",
259
+ "cardPaddingLg": "20px",
260
+ "dialogPadding": "22px",
261
+ "sectionGap": "28px"
262
+ },
263
+ "typeScale": {
264
+ "displayFamily": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
265
+ "bodyFamily": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
266
+ "monoFamily": "\"JetBrains Mono\", \"SFMono-Regular\", ui-monospace, Menlo, Consolas, monospace",
267
+ "scale": {
268
+ "xs": {
269
+ "size": "11px",
270
+ "lineHeight": "15px"
271
+ },
272
+ "sm": {
273
+ "size": "13px",
274
+ "lineHeight": "18px"
275
+ },
276
+ "base": {
277
+ "size": "14px",
278
+ "lineHeight": "20px"
279
+ },
280
+ "lg": {
281
+ "size": "16px",
282
+ "lineHeight": "22px"
283
+ },
284
+ "xl": {
285
+ "size": "18px",
286
+ "lineHeight": "24px"
287
+ },
288
+ "2xl": {
289
+ "size": "21px",
290
+ "lineHeight": "27px"
291
+ },
292
+ "3xl": {
293
+ "size": "25px",
294
+ "lineHeight": "32px"
295
+ },
296
+ "4xl": {
297
+ "size": "31px",
298
+ "lineHeight": "40px"
299
+ },
300
+ "display-1": {
301
+ "size": "40px",
302
+ "lineHeight": "50px"
303
+ },
304
+ "display-2": {
305
+ "size": "52px",
306
+ "lineHeight": "62px"
307
+ }
308
+ },
309
+ "intents": {
310
+ "headingMajor": {
311
+ "slot": "display",
312
+ "size": "xl",
313
+ "weight": "bold"
314
+ },
315
+ "headingMinor": {
316
+ "slot": "display",
317
+ "size": "base",
318
+ "weight": "bold"
319
+ },
320
+ "bodyEmphasis": {
321
+ "slot": "body",
322
+ "size": "sm",
323
+ "weight": "medium"
324
+ },
325
+ "bodyDefault": {
326
+ "slot": "body",
327
+ "size": "sm",
328
+ "weight": "normal"
329
+ },
330
+ "bodyQuiet": {
331
+ "slot": "body",
332
+ "size": "xs",
333
+ "weight": "normal"
334
+ },
335
+ "caption": {
336
+ "slot": "body",
337
+ "size": "xs",
338
+ "weight": "medium"
339
+ },
340
+ "numeric": {
341
+ "slot": "mono",
342
+ "size": "sm",
343
+ "weight": "bold"
344
+ }
345
+ }
346
+ },
347
+ "motion": {
348
+ "durations": {
349
+ "instant": "0ms",
350
+ "fast": "120ms",
351
+ "normal": "180ms",
352
+ "slow": "260ms",
353
+ "dramatic": "420ms"
354
+ },
355
+ "easings": {
356
+ "linear": "linear",
357
+ "standard": "cubic-bezier(0.2, 0, 0, 1)",
358
+ "emphasized": "cubic-bezier(0.3, 0, 0, 1)",
359
+ "spring": "cubic-bezier(0.34, 1.4, 0.64, 1)"
360
+ }
361
+ },
362
+ "iconography": {
363
+ "family": "lucide",
364
+ "strokeWidth": "1.5",
365
+ "defaultSize": "15px"
366
+ },
367
+ "elevation": {
368
+ "cardElevation": "var(--shadow-sm)",
369
+ "popoverElevation": "var(--shadow-main)",
370
+ "dialogElevation": "var(--shadow-lg)",
371
+ "toastElevation": "var(--shadow-main)"
372
+ },
373
+ "geometry": {
374
+ "radiusContainer": "6px",
375
+ "radiusInteractive": "4px",
376
+ "radiusPill": "9999px",
377
+ "borderHairline": "1px",
378
+ "borderStandard": "1px",
379
+ "borderHeavy": "2px"
380
+ },
381
+ "colors": {
382
+ "primary": "#22d3ee",
383
+ "primary-hover": "#67e8f9",
384
+ "primary-foreground": "#06131a",
385
+ "secondary": "#16233d",
386
+ "secondary-hover": "#1d2d4c",
387
+ "secondary-foreground": "#d6e0ef",
388
+ "accent": "#fbbf24",
389
+ "accent-foreground": "#1a1206",
390
+ "muted": "#131f36",
391
+ "muted-foreground": "#8e9db8",
392
+ "background": "#0a0f1c",
393
+ "foreground": "#e6edf7",
394
+ "card": "#0f1626",
395
+ "card-foreground": "#e6edf7",
396
+ "surface": "#131f36",
397
+ "border": "#20304e",
398
+ "input": "#2d4163",
399
+ "ring": "#22d3ee",
400
+ "table-header": "#131f36",
401
+ "table-border": "#20304e",
402
+ "table-row-hover": "#16233d",
403
+ "surface-hover": "#1d2d4c",
404
+ "border-hover": "#36506f",
405
+ "placeholder": "#5a6b88",
406
+ "error": "#f87171",
407
+ "error-foreground": "#1a0a0a",
408
+ "success": "#34d399",
409
+ "success-foreground": "#06170f",
410
+ "warning": "#fbbf24",
411
+ "warning-foreground": "#1a1206",
412
+ "info": "#38bdf8",
413
+ "info-foreground": "#061318"
414
+ },
415
+ "radii": {
416
+ "none": "0px",
417
+ "sm": "3px",
418
+ "md": "4px",
419
+ "lg": "6px",
420
+ "xl": "8px",
421
+ "full": "9999px"
422
+ },
423
+ "shadows": {
424
+ "none": "none",
425
+ "sm": "0 1px 2px rgba(0, 0, 0, 0.4)",
426
+ "main": "0 4px 14px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(34, 211, 238, 0.06)",
427
+ "lg": "0 14px 34px rgba(0, 0, 0, 0.6), 0 0 26px rgba(34, 211, 238, 0.07)",
428
+ "inner": "inset 0 1px 2px rgba(0, 0, 0, 0.4)",
429
+ "hover": "0 8px 22px rgba(0, 0, 0, 0.55), 0 0 18px rgba(34, 211, 238, 0.12)",
430
+ "active": "0 1px 3px rgba(0, 0, 0, 0.45)"
431
+ },
432
+ "typography": {
433
+ "border-width": "1px",
434
+ "border-width-thin": "1px",
435
+ "border-width-thick": "2px",
436
+ "font-family": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
437
+ "font-weight-normal": "400",
438
+ "font-weight-medium": "500",
439
+ "font-weight-bold": "600",
440
+ "letter-spacing": "-0.011em",
441
+ "line-height": "1.45",
442
+ "intent-numeric-family": "var(--font-family-mono)",
443
+ "icon-color": "currentColor",
444
+ "transition-fast": "120ms",
445
+ "transition-normal": "180ms",
446
+ "transition-slow": "260ms",
447
+ "transition-timing": "cubic-bezier(0.2, 0, 0, 1)",
448
+ "hover-scale": "1",
449
+ "hover-translate-y": "-1px",
450
+ "hover-translate-x": "0",
451
+ "active-scale": "0.99",
452
+ "active-translate-y": "0",
453
+ "focus-ring-width": "2px",
454
+ "focus-ring-offset": "2px",
455
+ "focus-ring-color": "#22d3ee"
456
+ }
457
+ }
458
+ }
459
+ }