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