@almadar/core 10.111.0 → 10.113.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 (98) hide show
  1. package/dist/builders.d.ts +4 -4
  2. package/dist/builders.js +79 -9
  3. package/dist/builders.js.map +1 -1
  4. package/dist/{bus-DS-GzSrs.d.ts → bus-CJ7jZVcV.d.ts} +3 -1
  5. package/dist/{domain-Bf6sf9NR.d.ts → domain-CkvF0zvD.d.ts} +1863 -44
  6. package/dist/{effect-BD47AL48.d.ts → effect-BLZKE5PN.d.ts} +51 -3
  7. package/dist/{entityAccess-Dc6o3AYo.d.ts → entityAccess-utY3tRcQ.d.ts} +2 -2
  8. package/dist/factory/index.d.ts +4 -4
  9. package/dist/factory/index.js +1238 -72
  10. package/dist/factory/index.js.map +1 -1
  11. package/dist/factory-runtime/index.d.ts +4 -4
  12. package/dist/factory-runtime/index.js +79 -9
  13. package/dist/factory-runtime/index.js.map +1 -1
  14. package/dist/fixtures.d.ts +2 -2
  15. package/dist/fixtures.js.map +1 -1
  16. package/dist/i18n/index.js +37 -4
  17. package/dist/i18n/index.js.map +1 -1
  18. package/dist/{index-DgD_3g5F.d.ts → index-BiHNP9jd.d.ts} +14 -7
  19. package/dist/index.d.ts +68 -17
  20. package/dist/index.js +17878 -5337
  21. package/dist/index.js.map +1 -1
  22. package/dist/mock/index.d.ts +5 -5
  23. package/dist/mock/index.js +12 -6
  24. package/dist/mock/index.js.map +1 -1
  25. package/dist/patterns/component-mapping.json +1 -1
  26. package/dist/patterns/event-contracts.json +1 -8
  27. package/dist/patterns/index.d.ts +2496 -185
  28. package/dist/patterns/index.js +1249 -83
  29. package/dist/patterns/index.js.map +1 -1
  30. package/dist/patterns/patterns-registry.json +1239 -73
  31. package/dist/patterns/registry.json +1239 -73
  32. package/dist/{schema-B3GE83sz.d.ts → schema-BJGPvTln.d.ts} +3208 -283
  33. package/dist/themes/index.d.ts +1 -1
  34. package/dist/themes/index.js +16232 -4971
  35. package/dist/themes/index.js.map +1 -1
  36. package/dist/{trait-BNxIGRUF.d.ts → trait-DlZMxzEB.d.ts} +61 -53
  37. package/dist/types/index.d.ts +7 -7
  38. package/dist/types/index.js +86 -10
  39. package/dist/types/index.js.map +1 -1
  40. package/dist/{types-5IX1FGgd.d.ts → types-7d7mtx4j.d.ts} +2 -2
  41. package/fixtures/theme-tokens/every-key.json +2 -1
  42. package/package.json +2 -2
  43. package/themes/almadar-website.json +11 -2
  44. package/themes/almadar.json +20 -6
  45. package/themes/aqua.json +422 -0
  46. package/themes/arabesque.json +514 -0
  47. package/themes/art-deco.json +342 -0
  48. package/themes/art-nouveau.json +342 -0
  49. package/themes/atelier.json +47 -189
  50. package/themes/bauhaus.json +332 -0
  51. package/themes/bloomberg-dense.json +73 -215
  52. package/themes/blueprint.json +332 -0
  53. package/themes/clay.json +57 -190
  54. package/themes/comic.json +110 -147
  55. package/themes/constructivist.json +342 -0
  56. package/themes/corporate.json +66 -199
  57. package/themes/cyberpunk.json +420 -0
  58. package/themes/frutiger-aero.json +424 -0
  59. package/themes/game-adventure.json +48 -22
  60. package/themes/game-rpg.json +50 -23
  61. package/themes/game-sci-fi.json +49 -22
  62. package/themes/game-ui-pack.json +41 -18
  63. package/themes/gazette.json +54 -196
  64. package/themes/glass.json +82 -203
  65. package/themes/gothic.json +331 -0
  66. package/themes/ink-wash.json +514 -0
  67. package/themes/kawaii.json +514 -0
  68. package/themes/kiosk.json +74 -202
  69. package/themes/linear-clean.json +71 -204
  70. package/themes/luxury.json +324 -0
  71. package/themes/mac-classic.json +332 -0
  72. package/themes/material.json +330 -0
  73. package/themes/memphis.json +339 -0
  74. package/themes/mid-century.json +340 -0
  75. package/themes/minimalist.json +64 -206
  76. package/themes/mudcloth.json +514 -0
  77. package/themes/neon.json +55 -214
  78. package/themes/neumorphic.json +324 -0
  79. package/themes/newsprint.json +332 -0
  80. package/themes/notion-editorial.json +55 -188
  81. package/themes/pixel.json +323 -0
  82. package/themes/prism.json +70 -71
  83. package/themes/retro.json +129 -166
  84. package/themes/risograph.json +327 -0
  85. package/themes/scandi.json +514 -0
  86. package/themes/sketch.json +332 -0
  87. package/themes/solarpunk.json +514 -0
  88. package/themes/steampunk.json +329 -0
  89. package/themes/swiss.json +340 -0
  90. package/themes/terminal.json +89 -157
  91. package/themes/trait-wars.json +146 -185
  92. package/themes/ukiyo-e.json +514 -0
  93. package/themes/vaporwave.json +422 -0
  94. package/themes/victorian.json +339 -0
  95. package/themes/wabi-sabi.json +514 -0
  96. package/themes/win95.json +326 -0
  97. package/themes/wireframe.json +48 -181
  98. package/themes/zine.json +332 -0
package/themes/kiosk.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "name": "kiosk",
3
+ "displayName": "Kiosk",
3
4
  "tokens": {
4
5
  "density": {
5
6
  "spacing": {
@@ -18,23 +19,23 @@
18
19
  "space12": "80px"
19
20
  },
20
21
  "buttonHeightSm": "44px",
21
- "buttonHeightMd": "52px",
22
- "buttonHeightLg": "64px",
22
+ "buttonHeightMd": "60px",
23
+ "buttonHeightLg": "72px",
23
24
  "inputHeightSm": "44px",
24
- "inputHeightMd": "52px",
25
- "inputHeightLg": "64px",
25
+ "inputHeightMd": "60px",
26
+ "inputHeightLg": "72px",
26
27
  "rowHeightCompact": "56px",
27
- "rowHeightNormal": "72px",
28
+ "rowHeightNormal": "64px",
28
29
  "rowHeightSpacious": "88px",
29
30
  "cardPaddingSm": "16px",
30
- "cardPaddingMd": "24px",
31
- "cardPaddingLg": "32px",
31
+ "cardPaddingMd": "28px",
32
+ "cardPaddingLg": "36px",
32
33
  "dialogPadding": "32px",
33
34
  "sectionGap": "48px"
34
35
  },
35
36
  "typeScale": {
36
- "displayFamily": "\"Manrope\", \"Inter\", -apple-system, BlinkMacSystemFont, sans-serif",
37
- "bodyFamily": "\"Manrope\", \"Inter\", -apple-system, BlinkMacSystemFont, sans-serif",
37
+ "displayFamily": "\"Manrope\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
38
+ "bodyFamily": "\"Manrope\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
38
39
  "monoFamily": "\"JetBrains Mono\", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",
39
40
  "scale": {
40
41
  "xs": {
@@ -109,7 +110,13 @@
109
110
  "size": "base",
110
111
  "weight": "bold"
111
112
  }
112
- }
113
+ },
114
+ "fontImport": "https://fonts.googleapis.com/css2?family=Manrope:wght@500;700;800&family=JetBrains+Mono:wght@400;700&display=swap",
115
+ "headingWeight": "800",
116
+ "headingTransform": "none",
117
+ "headingTracking": "-0.02em",
118
+ "headingStyle": "normal",
119
+ "headingShadow": "none"
113
120
  },
114
121
  "motion": {
115
122
  "durations": {
@@ -124,6 +131,15 @@
124
131
  "standard": "cubic-bezier(0.16, 1, 0.3, 1)",
125
132
  "emphasized": "cubic-bezier(0.16, 1, 0.3, 1)",
126
133
  "spring": "cubic-bezier(0.34, 1.56, 0.64, 1)"
134
+ },
135
+ "shapes": {
136
+ "modalEnter": "translateY(48px)",
137
+ "modalExit": "translateY(48px)",
138
+ "pageEnter": "translateY(24px)",
139
+ "popoverEnter": "translateY(12px)",
140
+ "popoverExit": "translateY(12px)",
141
+ "toastEnter": "translateY(32px)",
142
+ "toastExit": "translateY(32px)"
127
143
  }
128
144
  },
129
145
  "iconography": {
@@ -135,15 +151,21 @@
135
151
  "cardElevation": "var(--shadow-lg)",
136
152
  "popoverElevation": "var(--shadow-lg)",
137
153
  "dialogElevation": "var(--shadow-lg)",
138
- "toastElevation": "var(--shadow-main)"
154
+ "toastElevation": "var(--shadow-main)",
155
+ "interactiveElevation": "var(--shadow-main)",
156
+ "pressedElevation": "var(--shadow-active)"
139
157
  },
140
158
  "geometry": {
141
- "radiusContainer": "16px",
159
+ "radiusContainer": "var(--radius-xl)",
142
160
  "radiusInteractive": "9999px",
143
- "radiusPill": "9999px",
161
+ "radiusPill": "var(--radius-full)",
144
162
  "borderHairline": "1px",
145
- "borderStandard": "2px",
146
- "borderHeavy": "3px"
163
+ "borderStandard": "var(--border-width)",
164
+ "borderHeavy": "var(--border-width-thick)",
165
+ "cornerShape": "round",
166
+ "cornerShapePill": "round",
167
+ "borderStyle": "solid",
168
+ "borderStyleInteractive": "solid"
147
169
  },
148
170
  "colors": {
149
171
  "primary": "#dc2626",
@@ -161,7 +183,7 @@
161
183
  "card": "#ffffff",
162
184
  "card-foreground": "#1a1a1a",
163
185
  "surface": "#fff8f6",
164
- "border": "#e6e6e6",
186
+ "border": "#8a8a8a",
165
187
  "input": "#d4d4d4",
166
188
  "ring": "#ff5a4f",
167
189
  "error": "#b91c1c",
@@ -171,35 +193,36 @@
171
193
  "warning": "#f59e0b",
172
194
  "warning-foreground": "#1a1a1a",
173
195
  "info": "#0369a1",
174
- "info-foreground": "#ffffff"
196
+ "info-foreground": "#ffffff",
197
+ "scrim": "rgba(0, 0, 0, 0.6)"
175
198
  },
176
199
  "radii": {
177
200
  "none": "0px",
178
- "sm": "10px",
179
- "md": "14px",
180
- "lg": "20px",
181
- "xl": "28px",
201
+ "sm": "14px",
202
+ "md": "20px",
203
+ "lg": "26px",
204
+ "xl": "32px",
182
205
  "full": "9999px"
183
206
  },
184
207
  "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)",
208
+ "main": "0 10px 30px rgba(0,0,0,0.16)",
209
+ "sm": "0 5px 14px rgba(0,0,0,0.14)",
210
+ "lg": "0 24px 60px rgba(0,0,0,0.26)",
211
+ "inner": "inset 0 3px 6px rgba(0,0,0,0.12)",
189
212
  "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)"
213
+ "hover": "0 14px 36px rgba(0,0,0,0.22)",
214
+ "active": "0 2px 8px rgba(0,0,0,0.18)"
192
215
  },
193
216
  "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",
217
+ "border-width": "3px",
218
+ "border-width-thin": "2px",
219
+ "border-width-thick": "4px",
220
+ "font-family": "\"Manrope\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
198
221
  "font-weight-normal": "500",
199
222
  "font-weight-medium": "600",
200
223
  "font-weight-bold": "800",
201
- "letter-spacing": "-0.01em",
202
- "line-height": "1.55",
224
+ "letter-spacing": "0",
225
+ "line-height": "1.5",
203
226
  "icon-color": "#1a1a1a",
204
227
  "transition-fast": "300ms",
205
228
  "transition-normal": "500ms",
@@ -220,150 +243,6 @@
220
243
  },
221
244
  "variants": {
222
245
  "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
246
  "colors": {
368
247
  "primary": "#ff6b5e",
369
248
  "primary-hover": "#ff8478",
@@ -380,7 +259,7 @@
380
259
  "card": "#122038",
381
260
  "card-foreground": "#ffffff",
382
261
  "surface": "#16243c",
383
- "border": "rgba(255, 255, 255, 0.12)",
262
+ "border": "rgba(255, 255, 255, 0.38)",
384
263
  "input": "rgba(255, 255, 255, 0.16)",
385
264
  "ring": "#ff6b5e",
386
265
  "error": "#ff7a7a",
@@ -390,35 +269,19 @@
390
269
  "warning": "#fbbf24",
391
270
  "warning-foreground": "#1a1106",
392
271
  "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)"
272
+ "info-foreground": "#062235",
273
+ "scrim": "rgba(0, 0, 0, 0.7)"
411
274
  },
412
275
  "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",
276
+ "border-width": "3px",
277
+ "border-width-thin": "2px",
278
+ "border-width-thick": "4px",
279
+ "font-family": "\"Manrope\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
417
280
  "font-weight-normal": "500",
418
281
  "font-weight-medium": "600",
419
282
  "font-weight-bold": "800",
420
- "letter-spacing": "-0.01em",
421
- "line-height": "1.55",
283
+ "letter-spacing": "0",
284
+ "line-height": "1.5",
422
285
  "icon-color": "#ffffff",
423
286
  "transition-fast": "300ms",
424
287
  "transition-normal": "500ms",
@@ -435,6 +298,15 @@
435
298
  "intent-heading-major-size": "28px",
436
299
  "intent-heading-major-weight": "var(--font-weight-bold)",
437
300
  "intent-heading-major-leading": "36px"
301
+ },
302
+ "shadows": {
303
+ "main": "0 10px 30px rgba(0,0,0,0.5)",
304
+ "sm": "0 5px 14px rgba(0,0,0,0.45)",
305
+ "lg": "0 24px 60px rgba(0,0,0,0.6)",
306
+ "inner": "inset 0 3px 6px rgba(0,0,0,0.4)",
307
+ "none": "none",
308
+ "hover": "0 14px 36px rgba(0,0,0,0.55)",
309
+ "active": "0 2px 8px rgba(0,0,0,0.5)"
438
310
  }
439
311
  }
440
312
  }