@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,457 @@
1
+ {
2
+ "name": "comic",
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": "30px",
21
+ "buttonHeightMd": "40px",
22
+ "buttonHeightLg": "48px",
23
+ "inputHeightSm": "30px",
24
+ "inputHeightMd": "40px",
25
+ "inputHeightLg": "48px",
26
+ "rowHeightCompact": "32px",
27
+ "rowHeightNormal": "40px",
28
+ "rowHeightSpacious": "48px",
29
+ "cardPaddingSm": "12px",
30
+ "cardPaddingMd": "18px",
31
+ "cardPaddingLg": "24px",
32
+ "dialogPadding": "24px",
33
+ "sectionGap": "32px"
34
+ },
35
+ "typeScale": {
36
+ "displayFamily": "\"Fredoka\", \"Inter\", -apple-system, BlinkMacSystemFont, sans-serif",
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.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-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": "#c2301b",
155
+ "primary-hover": "#a92814",
156
+ "primary-foreground": "#fff8e7",
157
+ "secondary": "#a9e8d3",
158
+ "secondary-hover": "#8fdcc1",
159
+ "secondary-foreground": "#0f3d2c",
160
+ "accent": "#8f6300",
161
+ "accent-foreground": "#fff8e7",
162
+ "muted": "#f5e9c9",
163
+ "muted-foreground": "#6b5a34",
164
+ "background": "#fff8e7",
165
+ "foreground": "#1c1c28",
166
+ "card": "#ffffff",
167
+ "card-foreground": "#1c1c28",
168
+ "surface": "#fff1d6",
169
+ "border": "#1c1c28",
170
+ "input": "#2b2b3d",
171
+ "ring": "#2f6fed",
172
+ "table-header": "#fff1d6",
173
+ "table-border": "#1c1c28",
174
+ "table-row-hover": "#fff8e7",
175
+ "surface-hover": "#ffe9bc",
176
+ "border-hover": "#c2301b",
177
+ "placeholder": "#8a7a54",
178
+ "error": "#e0293b",
179
+ "error-foreground": "#ffffff",
180
+ "success": "#12874f",
181
+ "success-foreground": "#ffffff",
182
+ "warning": "#f5a623",
183
+ "warning-foreground": "#2a1a00",
184
+ "info": "#2f6fed",
185
+ "info-foreground": "#ffffff"
186
+ },
187
+ "radii": {
188
+ "none": "0px",
189
+ "sm": "8px",
190
+ "md": "14px",
191
+ "lg": "20px",
192
+ "xl": "28px",
193
+ "full": "9999px"
194
+ },
195
+ "shadows": {
196
+ "main": "4px 4px 0 0 #1c1c28",
197
+ "sm": "2px 2px 0 0 #1c1c28",
198
+ "lg": "6px 6px 0 0 #1c1c28",
199
+ "inner": "inset 2px 2px 0 0 rgba(28, 28, 40, 0.15)",
200
+ "none": "none",
201
+ "hover": "6px 6px 0 0 #1c1c28",
202
+ "active": "1px 1px 0 0 #1c1c28"
203
+ },
204
+ "typography": {
205
+ "border-width": "3px",
206
+ "border-width-thin": "2px",
207
+ "border-width-thick": "4px",
208
+ "font-family": "\"Fredoka\", \"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
209
+ "font-weight-normal": "400",
210
+ "font-weight-medium": "500",
211
+ "font-weight-bold": "700",
212
+ "letter-spacing": "0em",
213
+ "line-height": "1.55",
214
+ "icon-color": "#c2301b",
215
+ "transition-fast": "120ms",
216
+ "transition-normal": "200ms",
217
+ "transition-slow": "320ms",
218
+ "transition-timing": "cubic-bezier(0.34, 1.56, 0.64, 1)",
219
+ "hover-scale": "1.03",
220
+ "hover-translate-y": "-2px",
221
+ "hover-translate-x": "-1px",
222
+ "active-scale": "0.97",
223
+ "active-translate-y": "1px",
224
+ "focus-ring-width": "3px",
225
+ "focus-ring-offset": "2px",
226
+ "focus-ring-color": "#2f6fed"
227
+ }
228
+ },
229
+ "variants": {
230
+ "dark": {
231
+ "density": {
232
+ "spacing": {
233
+ "space0": "0px",
234
+ "space1": "4px",
235
+ "space2": "8px",
236
+ "space3": "12px",
237
+ "space4": "16px",
238
+ "space5": "20px",
239
+ "space6": "24px",
240
+ "space7": "28px",
241
+ "space8": "32px",
242
+ "space9": "36px",
243
+ "space10": "40px",
244
+ "space11": "44px",
245
+ "space12": "48px"
246
+ },
247
+ "buttonHeightSm": "30px",
248
+ "buttonHeightMd": "40px",
249
+ "buttonHeightLg": "48px",
250
+ "inputHeightSm": "30px",
251
+ "inputHeightMd": "40px",
252
+ "inputHeightLg": "48px",
253
+ "rowHeightCompact": "32px",
254
+ "rowHeightNormal": "40px",
255
+ "rowHeightSpacious": "48px",
256
+ "cardPaddingSm": "12px",
257
+ "cardPaddingMd": "18px",
258
+ "cardPaddingLg": "24px",
259
+ "dialogPadding": "24px",
260
+ "sectionGap": "32px"
261
+ },
262
+ "typeScale": {
263
+ "displayFamily": "\"Fredoka\", \"Inter\", -apple-system, BlinkMacSystemFont, sans-serif",
264
+ "bodyFamily": "var(--font-family)",
265
+ "monoFamily": "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",
266
+ "scale": {
267
+ "xs": {
268
+ "size": "12px",
269
+ "lineHeight": "16px"
270
+ },
271
+ "sm": {
272
+ "size": "14px",
273
+ "lineHeight": "20px"
274
+ },
275
+ "base": {
276
+ "size": "16px",
277
+ "lineHeight": "24px"
278
+ },
279
+ "lg": {
280
+ "size": "18px",
281
+ "lineHeight": "28px"
282
+ },
283
+ "xl": {
284
+ "size": "20px",
285
+ "lineHeight": "28px"
286
+ },
287
+ "2xl": {
288
+ "size": "24px",
289
+ "lineHeight": "32px"
290
+ },
291
+ "3xl": {
292
+ "size": "30px",
293
+ "lineHeight": "36px"
294
+ },
295
+ "4xl": {
296
+ "size": "36px",
297
+ "lineHeight": "40px"
298
+ },
299
+ "display-1": {
300
+ "size": "48px",
301
+ "lineHeight": "52px"
302
+ },
303
+ "display-2": {
304
+ "size": "60px",
305
+ "lineHeight": "64px"
306
+ }
307
+ },
308
+ "intents": {
309
+ "headingMajor": {
310
+ "slot": "display",
311
+ "size": "2xl",
312
+ "weight": "bold"
313
+ },
314
+ "headingMinor": {
315
+ "slot": "display",
316
+ "size": "lg",
317
+ "weight": "bold"
318
+ },
319
+ "bodyEmphasis": {
320
+ "slot": "body",
321
+ "size": "base",
322
+ "weight": "medium"
323
+ },
324
+ "bodyDefault": {
325
+ "slot": "body",
326
+ "size": "sm",
327
+ "weight": "normal"
328
+ },
329
+ "bodyQuiet": {
330
+ "slot": "body",
331
+ "size": "sm",
332
+ "weight": "normal"
333
+ },
334
+ "caption": {
335
+ "slot": "body",
336
+ "size": "xs",
337
+ "weight": "normal"
338
+ },
339
+ "numeric": {
340
+ "slot": "mono",
341
+ "size": "sm",
342
+ "weight": "medium"
343
+ }
344
+ }
345
+ },
346
+ "motion": {
347
+ "durations": {
348
+ "instant": "0ms",
349
+ "fast": "var(--transition-fast)",
350
+ "normal": "var(--transition-normal)",
351
+ "slow": "var(--transition-slow)",
352
+ "dramatic": "600ms"
353
+ },
354
+ "easings": {
355
+ "linear": "linear",
356
+ "standard": "var(--transition-timing)",
357
+ "emphasized": "cubic-bezier(0.2, 0, 0, 1)",
358
+ "spring": "cubic-bezier(0.34, 1.56, 0.64, 1)"
359
+ }
360
+ },
361
+ "iconography": {
362
+ "family": "lucide",
363
+ "strokeWidth": "2.5",
364
+ "defaultSize": "16px"
365
+ },
366
+ "elevation": {
367
+ "cardElevation": "var(--shadow-sm)",
368
+ "popoverElevation": "var(--shadow-main)",
369
+ "dialogElevation": "var(--shadow-lg)",
370
+ "toastElevation": "var(--shadow-main)"
371
+ },
372
+ "geometry": {
373
+ "radiusContainer": "var(--radius-md)",
374
+ "radiusInteractive": "var(--radius-md)",
375
+ "radiusPill": "var(--radius-full)",
376
+ "borderHairline": "1px",
377
+ "borderStandard": "var(--border-width)",
378
+ "borderHeavy": "var(--border-width-thick)"
379
+ },
380
+ "colors": {
381
+ "primary": "#ff7a5c",
382
+ "primary-hover": "#ff9174",
383
+ "primary-foreground": "#180a05",
384
+ "secondary": "#6fe3c4",
385
+ "secondary-hover": "#8ceccf",
386
+ "secondary-foreground": "#062a1e",
387
+ "accent": "#ffdd57",
388
+ "accent-foreground": "#2a1e00",
389
+ "muted": "#262a4d",
390
+ "muted-foreground": "#b7bbe3",
391
+ "background": "#14162c",
392
+ "foreground": "#f5efe0",
393
+ "card": "#1d2044",
394
+ "card-foreground": "#f5efe0",
395
+ "surface": "#1a1d3c",
396
+ "border": "#f0e9d8",
397
+ "input": "#c9c2a9",
398
+ "ring": "#6fa8ff",
399
+ "table-header": "#1a1d3c",
400
+ "table-border": "#f0e9d8",
401
+ "table-row-hover": "#20244a",
402
+ "surface-hover": "#262a52",
403
+ "border-hover": "#ff7a5c",
404
+ "placeholder": "#8e92c0",
405
+ "error": "#ff6b6b",
406
+ "error-foreground": "#180505",
407
+ "success": "#4ede93",
408
+ "success-foreground": "#04210f",
409
+ "warning": "#ffc24c",
410
+ "warning-foreground": "#2a1a00",
411
+ "info": "#6fa8ff",
412
+ "info-foreground": "#071b3d"
413
+ },
414
+ "radii": {
415
+ "none": "0px",
416
+ "sm": "8px",
417
+ "md": "14px",
418
+ "lg": "20px",
419
+ "xl": "28px",
420
+ "full": "9999px"
421
+ },
422
+ "shadows": {
423
+ "main": "4px 4px 0 0 #f0e9d8",
424
+ "sm": "2px 2px 0 0 #f0e9d8",
425
+ "lg": "6px 6px 0 0 #f0e9d8",
426
+ "inner": "inset 2px 2px 0 0 rgba(240, 233, 216, 0.15)",
427
+ "none": "none",
428
+ "hover": "6px 6px 0 0 #f0e9d8",
429
+ "active": "1px 1px 0 0 #f0e9d8"
430
+ },
431
+ "typography": {
432
+ "border-width": "3px",
433
+ "border-width-thin": "2px",
434
+ "border-width-thick": "4px",
435
+ "font-family": "\"Fredoka\", \"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
436
+ "font-weight-normal": "400",
437
+ "font-weight-medium": "500",
438
+ "font-weight-bold": "700",
439
+ "letter-spacing": "0em",
440
+ "line-height": "1.55",
441
+ "icon-color": "#ff7a5c",
442
+ "transition-fast": "120ms",
443
+ "transition-normal": "200ms",
444
+ "transition-slow": "320ms",
445
+ "transition-timing": "cubic-bezier(0.34, 1.56, 0.64, 1)",
446
+ "hover-scale": "1.03",
447
+ "hover-translate-y": "-2px",
448
+ "hover-translate-x": "-1px",
449
+ "active-scale": "0.97",
450
+ "active-translate-y": "1px",
451
+ "focus-ring-width": "3px",
452
+ "focus-ring-offset": "2px",
453
+ "focus-ring-color": "#6fa8ff"
454
+ }
455
+ }
456
+ }
457
+ }