@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": "terminal",
3
+ "tokens": {
4
+ "density": {
5
+ "spacing": {
6
+ "space0": "0px",
7
+ "space1": "3px",
8
+ "space2": "6px",
9
+ "space3": "9px",
10
+ "space4": "12px",
11
+ "space5": "15px",
12
+ "space6": "18px",
13
+ "space7": "21px",
14
+ "space8": "24px",
15
+ "space9": "27px",
16
+ "space10": "30px",
17
+ "space11": "33px",
18
+ "space12": "36px"
19
+ },
20
+ "buttonHeightSm": "20px",
21
+ "buttonHeightMd": "24px",
22
+ "buttonHeightLg": "30px",
23
+ "inputHeightSm": "20px",
24
+ "inputHeightMd": "24px",
25
+ "inputHeightLg": "30px",
26
+ "rowHeightCompact": "22px",
27
+ "rowHeightNormal": "28px",
28
+ "rowHeightSpacious": "34px",
29
+ "cardPaddingSm": "6px",
30
+ "cardPaddingMd": "8px",
31
+ "cardPaddingLg": "12px",
32
+ "dialogPadding": "12px",
33
+ "sectionGap": "16px"
34
+ },
35
+ "typeScale": {
36
+ "displayFamily": "\"JetBrains Mono\", \"Fira Code\", \"SF Mono\", ui-monospace",
37
+ "bodyFamily": "\"JetBrains Mono\", \"Fira Code\", \"SF Mono\", ui-monospace",
38
+ "monoFamily": "\"JetBrains Mono\", \"Fira Code\", \"SF Mono\", ui-monospace",
39
+ "scale": {
40
+ "xs": {
41
+ "size": "11px",
42
+ "lineHeight": "14px"
43
+ },
44
+ "sm": {
45
+ "size": "12px",
46
+ "lineHeight": "16px"
47
+ },
48
+ "base": {
49
+ "size": "13px",
50
+ "lineHeight": "17px"
51
+ },
52
+ "lg": {
53
+ "size": "14px",
54
+ "lineHeight": "18px"
55
+ },
56
+ "xl": {
57
+ "size": "15px",
58
+ "lineHeight": "20px"
59
+ },
60
+ "2xl": {
61
+ "size": "16px",
62
+ "lineHeight": "20px"
63
+ },
64
+ "3xl": {
65
+ "size": "18px",
66
+ "lineHeight": "22px"
67
+ },
68
+ "4xl": {
69
+ "size": "20px",
70
+ "lineHeight": "24px"
71
+ },
72
+ "display-1": {
73
+ "size": "24px",
74
+ "lineHeight": "28px"
75
+ },
76
+ "display-2": {
77
+ "size": "28px",
78
+ "lineHeight": "32px"
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": "sm",
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": "200ms"
126
+ },
127
+ "easings": {
128
+ "linear": "linear",
129
+ "standard": "linear",
130
+ "emphasized": "linear",
131
+ "spring": "linear"
132
+ }
133
+ },
134
+ "iconography": {
135
+ "family": "phosphor-fill",
136
+ "strokeWidth": "0",
137
+ "defaultSize": "14px"
138
+ },
139
+ "elevation": {
140
+ "cardElevation": "none",
141
+ "popoverElevation": "none",
142
+ "dialogElevation": "none",
143
+ "toastElevation": "none"
144
+ },
145
+ "geometry": {
146
+ "radiusContainer": "0px",
147
+ "radiusInteractive": "0px",
148
+ "radiusPill": "0px",
149
+ "borderHairline": "1px",
150
+ "borderStandard": "var(--border-width)",
151
+ "borderHeavy": "var(--border-width-thick)"
152
+ },
153
+ "colors": {
154
+ "primary": "#00ff66",
155
+ "primary-hover": "#00cc52",
156
+ "primary-foreground": "#000000",
157
+ "secondary": "#000000",
158
+ "secondary-hover": "#1a1a1a",
159
+ "secondary-foreground": "#ffffff",
160
+ "accent": "#ffb300",
161
+ "accent-foreground": "#000000",
162
+ "muted": "#f2f2f2",
163
+ "muted-foreground": "#555555",
164
+ "background": "#ffffff",
165
+ "foreground": "#000000",
166
+ "card": "#ffffff",
167
+ "card-foreground": "#000000",
168
+ "surface": "#f2f2f2",
169
+ "border": "#000000",
170
+ "input": "#000000",
171
+ "ring": "#00ff66",
172
+ "table-header": "#000000",
173
+ "table-border": "#000000",
174
+ "table-row-hover": "#f2f2f2",
175
+ "surface-hover": "#e8e8e8",
176
+ "border-hover": "#000000",
177
+ "placeholder": "#777777",
178
+ "error": "#e6002e",
179
+ "error-foreground": "#ffffff",
180
+ "success": "#00cc52",
181
+ "success-foreground": "#000000",
182
+ "warning": "#ffb300",
183
+ "warning-foreground": "#000000",
184
+ "info": "#00aaff",
185
+ "info-foreground": "#000000"
186
+ },
187
+ "radii": {
188
+ "none": "0px",
189
+ "sm": "0px",
190
+ "md": "0px",
191
+ "lg": "0px",
192
+ "xl": "0px",
193
+ "full": "9999px"
194
+ },
195
+ "shadows": {
196
+ "none": "none",
197
+ "sm": "none",
198
+ "main": "none",
199
+ "lg": "none",
200
+ "inner": "none",
201
+ "hover": "none",
202
+ "active": "none"
203
+ },
204
+ "typography": {
205
+ "border-width": "2px",
206
+ "border-width-thin": "1px",
207
+ "border-width-thick": "3px",
208
+ "font-family": "\"JetBrains Mono\", \"Fira Code\", \"SF Mono\", ui-monospace",
209
+ "font-weight-normal": "400",
210
+ "font-weight-medium": "500",
211
+ "font-weight-bold": "700",
212
+ "letter-spacing": "0",
213
+ "line-height": "1.35",
214
+ "icon-color": "currentColor",
215
+ "transition-fast": "60ms",
216
+ "transition-normal": "100ms",
217
+ "transition-slow": "140ms",
218
+ "transition-timing": "linear",
219
+ "hover-scale": "1",
220
+ "hover-translate-y": "0",
221
+ "hover-translate-x": "0",
222
+ "active-scale": "1",
223
+ "active-translate-y": "0",
224
+ "focus-ring-width": "2px",
225
+ "focus-ring-offset": "0px",
226
+ "focus-ring-color": "#00ff66"
227
+ }
228
+ },
229
+ "variants": {
230
+ "dark": {
231
+ "density": {
232
+ "spacing": {
233
+ "space0": "0px",
234
+ "space1": "3px",
235
+ "space2": "6px",
236
+ "space3": "9px",
237
+ "space4": "12px",
238
+ "space5": "15px",
239
+ "space6": "18px",
240
+ "space7": "21px",
241
+ "space8": "24px",
242
+ "space9": "27px",
243
+ "space10": "30px",
244
+ "space11": "33px",
245
+ "space12": "36px"
246
+ },
247
+ "buttonHeightSm": "20px",
248
+ "buttonHeightMd": "24px",
249
+ "buttonHeightLg": "30px",
250
+ "inputHeightSm": "20px",
251
+ "inputHeightMd": "24px",
252
+ "inputHeightLg": "30px",
253
+ "rowHeightCompact": "22px",
254
+ "rowHeightNormal": "28px",
255
+ "rowHeightSpacious": "34px",
256
+ "cardPaddingSm": "6px",
257
+ "cardPaddingMd": "8px",
258
+ "cardPaddingLg": "12px",
259
+ "dialogPadding": "12px",
260
+ "sectionGap": "16px"
261
+ },
262
+ "typeScale": {
263
+ "displayFamily": "\"JetBrains Mono\", \"Fira Code\", \"SF Mono\", ui-monospace",
264
+ "bodyFamily": "\"JetBrains Mono\", \"Fira Code\", \"SF Mono\", ui-monospace",
265
+ "monoFamily": "\"JetBrains Mono\", \"Fira Code\", \"SF Mono\", ui-monospace",
266
+ "scale": {
267
+ "xs": {
268
+ "size": "11px",
269
+ "lineHeight": "14px"
270
+ },
271
+ "sm": {
272
+ "size": "12px",
273
+ "lineHeight": "16px"
274
+ },
275
+ "base": {
276
+ "size": "13px",
277
+ "lineHeight": "17px"
278
+ },
279
+ "lg": {
280
+ "size": "14px",
281
+ "lineHeight": "18px"
282
+ },
283
+ "xl": {
284
+ "size": "15px",
285
+ "lineHeight": "20px"
286
+ },
287
+ "2xl": {
288
+ "size": "16px",
289
+ "lineHeight": "20px"
290
+ },
291
+ "3xl": {
292
+ "size": "18px",
293
+ "lineHeight": "22px"
294
+ },
295
+ "4xl": {
296
+ "size": "20px",
297
+ "lineHeight": "24px"
298
+ },
299
+ "display-1": {
300
+ "size": "24px",
301
+ "lineHeight": "28px"
302
+ },
303
+ "display-2": {
304
+ "size": "28px",
305
+ "lineHeight": "32px"
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": "sm",
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": "200ms"
353
+ },
354
+ "easings": {
355
+ "linear": "linear",
356
+ "standard": "linear",
357
+ "emphasized": "linear",
358
+ "spring": "linear"
359
+ }
360
+ },
361
+ "iconography": {
362
+ "family": "phosphor-fill",
363
+ "strokeWidth": "0",
364
+ "defaultSize": "14px"
365
+ },
366
+ "elevation": {
367
+ "cardElevation": "none",
368
+ "popoverElevation": "none",
369
+ "dialogElevation": "none",
370
+ "toastElevation": "none"
371
+ },
372
+ "geometry": {
373
+ "radiusContainer": "0px",
374
+ "radiusInteractive": "0px",
375
+ "radiusPill": "0px",
376
+ "borderHairline": "1px",
377
+ "borderStandard": "var(--border-width)",
378
+ "borderHeavy": "var(--border-width-thick)"
379
+ },
380
+ "colors": {
381
+ "primary": "#00ff66",
382
+ "primary-hover": "#33ff85",
383
+ "primary-foreground": "#000000",
384
+ "secondary": "#1a1a1a",
385
+ "secondary-hover": "#262626",
386
+ "secondary-foreground": "#00ff66",
387
+ "accent": "#ffb300",
388
+ "accent-foreground": "#000000",
389
+ "muted": "#0d0d0d",
390
+ "muted-foreground": "#888888",
391
+ "background": "#000000",
392
+ "foreground": "#aaffaa",
393
+ "card": "#050505",
394
+ "card-foreground": "#00ff66",
395
+ "surface": "#0d0d0d",
396
+ "border": "#00ff66",
397
+ "input": "#00ff66",
398
+ "ring": "#00ff66",
399
+ "table-header": "#00ff66",
400
+ "table-border": "#00ff66",
401
+ "table-row-hover": "#0d0d0d",
402
+ "surface-hover": "#1a1a1a",
403
+ "border-hover": "#33ff85",
404
+ "placeholder": "#557755",
405
+ "error": "#ff3355",
406
+ "error-foreground": "#000000",
407
+ "success": "#00ff66",
408
+ "success-foreground": "#000000",
409
+ "warning": "#ffb300",
410
+ "warning-foreground": "#000000",
411
+ "info": "#00ccff",
412
+ "info-foreground": "#000000"
413
+ },
414
+ "radii": {
415
+ "none": "0px",
416
+ "sm": "0px",
417
+ "md": "0px",
418
+ "lg": "0px",
419
+ "xl": "0px",
420
+ "full": "9999px"
421
+ },
422
+ "shadows": {
423
+ "none": "none",
424
+ "sm": "none",
425
+ "main": "none",
426
+ "lg": "none",
427
+ "inner": "none",
428
+ "hover": "none",
429
+ "active": "none"
430
+ },
431
+ "typography": {
432
+ "border-width": "2px",
433
+ "border-width-thin": "1px",
434
+ "border-width-thick": "3px",
435
+ "font-family": "\"JetBrains Mono\", \"Fira Code\", \"SF Mono\", ui-monospace",
436
+ "font-weight-normal": "400",
437
+ "font-weight-medium": "500",
438
+ "font-weight-bold": "700",
439
+ "letter-spacing": "0",
440
+ "line-height": "1.35",
441
+ "icon-color": "currentColor",
442
+ "transition-fast": "60ms",
443
+ "transition-normal": "100ms",
444
+ "transition-slow": "140ms",
445
+ "transition-timing": "linear",
446
+ "hover-scale": "1",
447
+ "hover-translate-y": "0",
448
+ "hover-translate-x": "0",
449
+ "active-scale": "1",
450
+ "active-translate-y": "0",
451
+ "focus-ring-width": "2px",
452
+ "focus-ring-offset": "0px",
453
+ "focus-ring-color": "#00ff66"
454
+ }
455
+ }
456
+ }
457
+ }