@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/neon.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "name": "neon",
3
+ "displayName": "Neon",
3
4
  "tokens": {
4
5
  "density": {
5
6
  "spacing": {
@@ -33,8 +34,8 @@
33
34
  "sectionGap": "32px"
34
35
  },
35
36
  "typeScale": {
36
- "displayFamily": "var(--font-family)",
37
- "bodyFamily": "var(--font-family)",
37
+ "displayFamily": "\"Tilt Neon\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
38
+ "bodyFamily": "\"Exo 2\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
38
39
  "monoFamily": "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",
39
40
  "scale": {
40
41
  "xs": {
@@ -114,7 +115,13 @@
114
115
  "size": "sm",
115
116
  "weight": "medium"
116
117
  }
117
- }
118
+ },
119
+ "fontImport": "https://fonts.googleapis.com/css2?family=Tilt+Neon&family=Exo+2:wght@300;400;500;600;700&display=swap",
120
+ "headingWeight": "400",
121
+ "headingTransform": "uppercase",
122
+ "headingTracking": "0.08em",
123
+ "headingStyle": "normal",
124
+ "headingShadow": "0 0 2px rgba(255,255,255,0.8), 0 0 10px rgba(34,211,238,0.55)"
118
125
  },
119
126
  "motion": {
120
127
  "durations": {
@@ -122,33 +129,48 @@
122
129
  "fast": "var(--transition-fast)",
123
130
  "normal": "var(--transition-normal)",
124
131
  "slow": "var(--transition-slow)",
125
- "dramatic": "600ms"
132
+ "dramatic": "400ms"
126
133
  },
127
134
  "easings": {
128
135
  "linear": "linear",
129
- "standard": "var(--transition-timing)",
136
+ "standard": "cubic-bezier(0.4, 0, 0.6, 1)",
130
137
  "emphasized": "cubic-bezier(0.2, 0, 0, 1)",
131
138
  "spring": "cubic-bezier(0.34, 1.56, 0.64, 1)"
139
+ },
140
+ "shapes": {
141
+ "modalEnter": "scale(1.04)",
142
+ "modalExit": "scale(1.04)",
143
+ "pageEnter": "none",
144
+ "popoverEnter": "scale(1.02)",
145
+ "popoverExit": "scale(1.02)",
146
+ "toastEnter": "translateX(16px)",
147
+ "toastExit": "translateX(16px)"
132
148
  }
133
149
  },
134
150
  "iconography": {
135
151
  "family": "lucide",
136
- "strokeWidth": "2.0",
152
+ "strokeWidth": "2",
137
153
  "defaultSize": "16px"
138
154
  },
139
155
  "elevation": {
140
156
  "cardElevation": "var(--shadow-sm)",
141
157
  "popoverElevation": "var(--shadow-main)",
142
158
  "dialogElevation": "var(--shadow-lg)",
143
- "toastElevation": "var(--shadow-main)"
159
+ "toastElevation": "var(--shadow-main)",
160
+ "interactiveElevation": "var(--shadow-sm)",
161
+ "pressedElevation": "var(--shadow-active)"
144
162
  },
145
163
  "geometry": {
146
164
  "radiusContainer": "var(--radius-md)",
147
- "radiusInteractive": "var(--radius-md)",
165
+ "radiusInteractive": "var(--radius-sm)",
148
166
  "radiusPill": "var(--radius-full)",
149
167
  "borderHairline": "1px",
150
168
  "borderStandard": "var(--border-width)",
151
- "borderHeavy": "var(--border-width-thick)"
169
+ "borderHeavy": "var(--border-width-thick)",
170
+ "cornerShape": "round",
171
+ "cornerShapePill": "round",
172
+ "borderStyle": "solid",
173
+ "borderStyleInteractive": "solid"
152
174
  },
153
175
  "colors": {
154
176
  "primary": "#0e7490",
@@ -176,40 +198,41 @@
176
198
  "warning": "#ca8a04",
177
199
  "warning-foreground": "#000000",
178
200
  "info": "#2563eb",
179
- "info-foreground": "#ffffff"
201
+ "info-foreground": "#ffffff",
202
+ "scrim": "rgba(0, 0, 0, 0.6)"
180
203
  },
181
204
  "radii": {
182
205
  "none": "0px",
183
- "sm": "2px",
206
+ "sm": "3px",
184
207
  "md": "6px",
185
208
  "lg": "10px",
186
- "xl": "6px",
209
+ "xl": "14px",
187
210
  "full": "9999px"
188
211
  },
189
212
  "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)",
213
+ "main": "0 0 8px rgba(34,211,238,0.6), 0 0 22px rgba(34,211,238,0.35), inset 0 0 10px rgba(34,211,238,0.15)",
214
+ "sm": "0 0 5px rgba(34,211,238,0.6), 0 0 12px rgba(34,211,238,0.3)",
215
+ "lg": "0 0 12px rgba(34,211,238,0.75), 0 0 40px rgba(34,211,238,0.45), 0 0 80px rgba(244,114,182,0.25)",
216
+ "inner": "inset 0 0 12px rgba(34,211,238,0.25)",
194
217
  "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)"
218
+ "hover": "0 0 12px rgba(244,114,182,0.75), 0 0 30px rgba(244,114,182,0.45)",
219
+ "active": "0 0 4px rgba(34,211,238,0.8), inset 0 0 14px rgba(34,211,238,0.35)"
197
220
  },
198
221
  "typography": {
199
222
  "border-width": "2px",
200
223
  "border-width-thin": "1px",
201
224
  "border-width-thick": "3px",
202
- "font-family": "\"Plus Jakarta Sans\", \"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
225
+ "font-family": "\"Exo 2\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
203
226
  "font-weight-normal": "500",
204
227
  "font-weight-medium": "600",
205
228
  "font-weight-bold": "800",
206
- "letter-spacing": "0.05em",
229
+ "letter-spacing": "0.03em",
207
230
  "line-height": "1.5",
208
231
  "icon-color": "#22d3ee",
209
- "transition-fast": "50ms",
210
- "transition-normal": "100ms",
232
+ "transition-fast": "80ms",
233
+ "transition-normal": "160ms",
211
234
  "transition-slow": "150ms",
212
- "transition-timing": "linear",
235
+ "transition-timing": "cubic-bezier(0.4, 0, 0.6, 1)",
213
236
  "hover-scale": "1.0",
214
237
  "hover-translate-y": "0",
215
238
  "hover-translate-x": "0",
@@ -218,159 +241,13 @@
218
241
  "focus-ring-width": "2px",
219
242
  "focus-ring-offset": "2px",
220
243
  "focus-ring-color": "#22d3ee"
244
+ },
245
+ "surface": {
246
+ "pageImage": "radial-gradient(circle at 20% 10%, rgba(34,211,238,0.10), transparent 45%), radial-gradient(circle at 80% 90%, rgba(244,114,182,0.10), transparent 45%)"
221
247
  }
222
248
  },
223
249
  "variants": {
224
250
  "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
251
  "colors": {
375
252
  "primary": "#22d3ee",
376
253
  "primary-hover": "#06b6d4",
@@ -387,7 +264,7 @@
387
264
  "card": "#0f172a",
388
265
  "card-foreground": "#e2e8f0",
389
266
  "surface": "#1e293b",
390
- "border": "rgba(34, 211, 238, 0.3)",
267
+ "border": "rgba(34, 211, 238, 0.85)",
391
268
  "input": "rgba(34, 211, 238, 0.35)",
392
269
  "ring": "#22d3ee",
393
270
  "error": "#ff6b6b",
@@ -397,48 +274,12 @@
397
274
  "warning": "#fbbf24",
398
275
  "warning-foreground": "#000000",
399
276
  "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)"
277
+ "info-foreground": "#000000",
278
+ "scrim": "rgba(0, 0, 0, 0.7)"
418
279
  },
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"
280
+ "surface": {
281
+ "pageImage": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='30'><path d='M0 .5h60M0 15.5h60M30 .5v15M0 15.5v15M60 15.5v15' stroke='%23ffffff' stroke-opacity='.06' fill='none'/></svg>\")",
282
+ "pageImageSize": "60px 30px"
442
283
  }
443
284
  }
444
285
  }