@almadar/core 10.96.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-CN16-h3i.d.ts → index-CHHuux4I.d.ts} +9 -375
  20. package/dist/index.d.ts +19 -15
  21. package/dist/index.js +9070 -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 +208 -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": "neon",
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": "28px",
21
+ "buttonHeightMd": "36px",
22
+ "buttonHeightLg": "44px",
23
+ "inputHeightSm": "28px",
24
+ "inputHeightMd": "36px",
25
+ "inputHeightLg": "44px",
26
+ "rowHeightCompact": "32px",
27
+ "rowHeightNormal": "40px",
28
+ "rowHeightSpacious": "48px",
29
+ "cardPaddingSm": "12px",
30
+ "cardPaddingMd": "16px",
31
+ "cardPaddingLg": "24px",
32
+ "dialogPadding": "24px",
33
+ "sectionGap": "32px"
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": "bold"
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": "600ms"
126
+ },
127
+ "easings": {
128
+ "linear": "linear",
129
+ "standard": "var(--transition-timing)",
130
+ "emphasized": "cubic-bezier(0.2, 0, 0, 1)",
131
+ "spring": "cubic-bezier(0.34, 1.56, 0.64, 1)"
132
+ }
133
+ },
134
+ "iconography": {
135
+ "family": "lucide",
136
+ "strokeWidth": "2.0",
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-md)",
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": "#0e7490",
155
+ "primary-hover": "#155e75",
156
+ "primary-foreground": "#ffffff",
157
+ "secondary": "#ccfbf1",
158
+ "secondary-hover": "#99f6e4",
159
+ "secondary-foreground": "#134e4a",
160
+ "accent": "#be185d",
161
+ "accent-foreground": "#ffffff",
162
+ "muted": "#ccfbf1",
163
+ "muted-foreground": "#475569",
164
+ "background": "#f0fdfa",
165
+ "foreground": "#134e4a",
166
+ "card": "#ffffff",
167
+ "card-foreground": "#134e4a",
168
+ "surface": "#ccfbf1",
169
+ "border": "rgba(34, 211, 238, 0.3)",
170
+ "input": "rgba(34, 211, 238, 0.35)",
171
+ "ring": "#22d3ee",
172
+ "error": "#dc2626",
173
+ "error-foreground": "#ffffff",
174
+ "success": "#15803d",
175
+ "success-foreground": "#ffffff",
176
+ "warning": "#ca8a04",
177
+ "warning-foreground": "#000000",
178
+ "info": "#2563eb",
179
+ "info-foreground": "#ffffff"
180
+ },
181
+ "radii": {
182
+ "none": "0px",
183
+ "sm": "2px",
184
+ "md": "6px",
185
+ "lg": "10px",
186
+ "xl": "6px",
187
+ "full": "9999px"
188
+ },
189
+ "shadows": {
190
+ "main": "0 2px 8px rgba(34, 211, 238, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05)",
191
+ "sm": "0 1px 4px rgba(34, 211, 238, 0.08)",
192
+ "lg": "0 6px 20px rgba(34, 211, 238, 0.12), 0 3px 8px rgba(0, 0, 0, 0.06)",
193
+ "inner": "inset 0 1px 3px rgba(34, 211, 238, 0.06)",
194
+ "none": "none",
195
+ "hover": "0 6px 24px rgba(34, 211, 238, 0.16), 0 2px 8px rgba(244, 114, 182, 0.06)",
196
+ "active": "0 1px 4px rgba(34, 211, 238, 0.1)"
197
+ },
198
+ "typography": {
199
+ "border-width": "2px",
200
+ "border-width-thin": "1px",
201
+ "border-width-thick": "3px",
202
+ "font-family": "\"Plus Jakarta Sans\", \"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
203
+ "font-weight-normal": "500",
204
+ "font-weight-medium": "600",
205
+ "font-weight-bold": "800",
206
+ "letter-spacing": "0.05em",
207
+ "line-height": "1.5",
208
+ "icon-color": "#22d3ee",
209
+ "transition-fast": "50ms",
210
+ "transition-normal": "100ms",
211
+ "transition-slow": "150ms",
212
+ "transition-timing": "linear",
213
+ "hover-scale": "1.0",
214
+ "hover-translate-y": "0",
215
+ "hover-translate-x": "0",
216
+ "active-scale": "0.98",
217
+ "active-translate-y": "0",
218
+ "focus-ring-width": "2px",
219
+ "focus-ring-offset": "2px",
220
+ "focus-ring-color": "#22d3ee"
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": "28px",
242
+ "buttonHeightMd": "36px",
243
+ "buttonHeightLg": "44px",
244
+ "inputHeightSm": "28px",
245
+ "inputHeightMd": "36px",
246
+ "inputHeightLg": "44px",
247
+ "rowHeightCompact": "32px",
248
+ "rowHeightNormal": "40px",
249
+ "rowHeightSpacious": "48px",
250
+ "cardPaddingSm": "12px",
251
+ "cardPaddingMd": "16px",
252
+ "cardPaddingLg": "24px",
253
+ "dialogPadding": "24px",
254
+ "sectionGap": "32px"
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": "bold"
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": "600ms"
347
+ },
348
+ "easings": {
349
+ "linear": "linear",
350
+ "standard": "var(--transition-timing)",
351
+ "emphasized": "cubic-bezier(0.2, 0, 0, 1)",
352
+ "spring": "cubic-bezier(0.34, 1.56, 0.64, 1)"
353
+ }
354
+ },
355
+ "iconography": {
356
+ "family": "lucide",
357
+ "strokeWidth": "2.0",
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-md)",
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": "#22d3ee",
376
+ "primary-hover": "#06b6d4",
377
+ "primary-foreground": "#042f2e",
378
+ "secondary": "#0f172a",
379
+ "secondary-hover": "#1e293b",
380
+ "secondary-foreground": "#e2e8f0",
381
+ "accent": "#f472b6",
382
+ "accent-foreground": "#4a044e",
383
+ "muted": "#1e293b",
384
+ "muted-foreground": "#67e8f9",
385
+ "background": "#020617",
386
+ "foreground": "#e2e8f0",
387
+ "card": "#0f172a",
388
+ "card-foreground": "#e2e8f0",
389
+ "surface": "#1e293b",
390
+ "border": "rgba(34, 211, 238, 0.3)",
391
+ "input": "rgba(34, 211, 238, 0.35)",
392
+ "ring": "#22d3ee",
393
+ "error": "#ff6b6b",
394
+ "error-foreground": "#000000",
395
+ "success": "#4ade80",
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": "2px",
405
+ "md": "6px",
406
+ "lg": "10px",
407
+ "xl": "6px",
408
+ "full": "9999px"
409
+ },
410
+ "shadows": {
411
+ "main": "0 0 12px rgba(34, 211, 238, 0.3), 0 4px 14px rgba(0, 0, 0, 0.4)",
412
+ "sm": "0 0 6px rgba(34, 211, 238, 0.2), 0 2px 6px rgba(0, 0, 0, 0.3)",
413
+ "lg": "0 0 24px rgba(34, 211, 238, 0.4), 0 8px 30px rgba(0, 0, 0, 0.5)",
414
+ "inner": "inset 0 0 8px rgba(34, 211, 238, 0.15), inset 0 1px 3px rgba(0, 0, 0, 0.3)",
415
+ "none": "none",
416
+ "hover": "0 0 20px rgba(34, 211, 238, 0.5), 0 0 40px rgba(244, 114, 182, 0.2)",
417
+ "active": "0 0 8px rgba(34, 211, 238, 0.25), 0 2px 6px rgba(0, 0, 0, 0.3)"
418
+ },
419
+ "typography": {
420
+ "border-width": "2px",
421
+ "border-width-thin": "1px",
422
+ "border-width-thick": "3px",
423
+ "font-family": "\"Plus Jakarta Sans\", \"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
424
+ "font-weight-normal": "500",
425
+ "font-weight-medium": "600",
426
+ "font-weight-bold": "800",
427
+ "letter-spacing": "0.05em",
428
+ "line-height": "1.5",
429
+ "icon-color": "#22d3ee",
430
+ "transition-fast": "50ms",
431
+ "transition-normal": "100ms",
432
+ "transition-slow": "150ms",
433
+ "transition-timing": "linear",
434
+ "hover-scale": "1.0",
435
+ "hover-translate-y": "0",
436
+ "hover-translate-x": "0",
437
+ "active-scale": "0.98",
438
+ "active-translate-y": "0",
439
+ "focus-ring-width": "2px",
440
+ "focus-ring-offset": "2px",
441
+ "focus-ring-color": "#22d3ee"
442
+ }
443
+ }
444
+ }
445
+ }