@almadar/core 10.111.0 → 10.112.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 (97) hide show
  1. package/dist/builders.d.ts +4 -4
  2. package/dist/builders.js +77 -8
  3. package/dist/builders.js.map +1 -1
  4. package/dist/{bus-DS-GzSrs.d.ts → bus-BZ9ekDiD.d.ts} +3 -1
  5. package/dist/{domain-Bf6sf9NR.d.ts → domain-DV8lmH3r.d.ts} +1857 -39
  6. package/dist/{effect-BD47AL48.d.ts → effect-B9nMpTKN.d.ts} +26 -2
  7. package/dist/{entityAccess-Dc6o3AYo.d.ts → entityAccess-Ak_ZvGXZ.d.ts} +2 -2
  8. package/dist/factory/index.d.ts +4 -4
  9. package/dist/factory/index.js +381 -9
  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 +77 -8
  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 +36 -4
  17. package/dist/i18n/index.js.map +1 -1
  18. package/dist/{index-DgD_3g5F.d.ts → index-DmkUMeXz.d.ts} +14 -7
  19. package/dist/index.d.ts +68 -17
  20. package/dist/index.js +16867 -5223
  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 -1
  27. package/dist/patterns/index.d.ts +1041 -227
  28. package/dist/patterns/index.js +392 -13
  29. package/dist/patterns/index.js.map +1 -1
  30. package/dist/patterns/patterns-registry.json +382 -10
  31. package/dist/patterns/registry.json +382 -10
  32. package/dist/{schema-B3GE83sz.d.ts → schema-C-HLTS_Q.d.ts} +2968 -43
  33. package/dist/themes/index.d.ts +1 -1
  34. package/dist/themes/index.js +16303 -5151
  35. package/dist/themes/index.js.map +1 -1
  36. package/dist/{trait-BNxIGRUF.d.ts → trait-CRgDZSy_.d.ts} +9 -1
  37. package/dist/types/index.d.ts +7 -7
  38. package/dist/types/index.js +84 -9
  39. package/dist/types/index.js.map +1 -1
  40. package/dist/{types-5IX1FGgd.d.ts → types-C3nlpTDW.d.ts} +2 -2
  41. package/package.json +1 -1
  42. package/themes/almadar-website.json +7 -0
  43. package/themes/almadar.json +16 -4
  44. package/themes/aqua.json +420 -0
  45. package/themes/arabesque.json +512 -0
  46. package/themes/art-deco.json +340 -0
  47. package/themes/art-nouveau.json +340 -0
  48. package/themes/atelier.json +43 -187
  49. package/themes/bauhaus.json +330 -0
  50. package/themes/bloomberg-dense.json +69 -213
  51. package/themes/blueprint.json +330 -0
  52. package/themes/clay.json +53 -188
  53. package/themes/comic.json +107 -146
  54. package/themes/constructivist.json +340 -0
  55. package/themes/corporate.json +62 -197
  56. package/themes/cyberpunk.json +418 -0
  57. package/themes/frutiger-aero.json +422 -0
  58. package/themes/game-adventure.json +46 -21
  59. package/themes/game-rpg.json +48 -22
  60. package/themes/game-sci-fi.json +47 -21
  61. package/themes/game-ui-pack.json +39 -17
  62. package/themes/gazette.json +50 -194
  63. package/themes/glass.json +78 -201
  64. package/themes/gothic.json +329 -0
  65. package/themes/ink-wash.json +512 -0
  66. package/themes/kawaii.json +512 -0
  67. package/themes/kiosk.json +70 -200
  68. package/themes/linear-clean.json +67 -202
  69. package/themes/luxury.json +322 -0
  70. package/themes/mac-classic.json +330 -0
  71. package/themes/material.json +328 -0
  72. package/themes/memphis.json +337 -0
  73. package/themes/mid-century.json +338 -0
  74. package/themes/minimalist.json +60 -204
  75. package/themes/mudcloth.json +512 -0
  76. package/themes/neon.json +51 -212
  77. package/themes/neumorphic.json +322 -0
  78. package/themes/newsprint.json +330 -0
  79. package/themes/notion-editorial.json +51 -186
  80. package/themes/pixel.json +321 -0
  81. package/themes/prism.json +66 -69
  82. package/themes/retro.json +126 -165
  83. package/themes/risograph.json +325 -0
  84. package/themes/scandi.json +512 -0
  85. package/themes/sketch.json +330 -0
  86. package/themes/solarpunk.json +512 -0
  87. package/themes/steampunk.json +327 -0
  88. package/themes/swiss.json +338 -0
  89. package/themes/terminal.json +86 -156
  90. package/themes/trait-wars.json +143 -184
  91. package/themes/ukiyo-e.json +512 -0
  92. package/themes/vaporwave.json +420 -0
  93. package/themes/victorian.json +337 -0
  94. package/themes/wabi-sabi.json +512 -0
  95. package/themes/win95.json +324 -0
  96. package/themes/wireframe.json +44 -179
  97. package/themes/zine.json +330 -0
package/themes/glass.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "name": "glass",
3
+ "displayName": "Glass",
3
4
  "tokens": {
4
5
  "density": {
5
6
  "spacing": {
@@ -33,8 +34,8 @@
33
34
  "sectionGap": "40px"
34
35
  },
35
36
  "typeScale": {
36
- "displayFamily": "var(--font-family)",
37
- "bodyFamily": "var(--font-family)",
37
+ "displayFamily": "\"Sora\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
38
+ "bodyFamily": "\"Outfit\", -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=Sora:wght@400;600;700&family=Outfit:wght@300;400;500;600&display=swap",
120
+ "headingWeight": "600",
121
+ "headingTransform": "none",
122
+ "headingTracking": "-0.02em",
123
+ "headingStyle": "normal",
124
+ "headingShadow": "none"
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": "800ms"
132
+ "dramatic": "700ms"
126
133
  },
127
134
  "easings": {
128
135
  "linear": "linear",
129
- "standard": "var(--transition-timing)",
130
- "emphasized": "cubic-bezier(0.22, 1, 0.36, 1)",
136
+ "standard": "cubic-bezier(0.22, 1, 0.36, 1)",
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(0.92) translateY(12px)",
142
+ "modalExit": "scale(0.92) translateY(12px)",
143
+ "pageEnter": "translateY(12px)",
144
+ "popoverEnter": "scale(0.95)",
145
+ "popoverExit": "scale(0.95)",
146
+ "toastEnter": "translateY(16px)",
147
+ "toastExit": "translateY(16px)"
132
148
  }
133
149
  },
134
150
  "iconography": {
135
- "family": "lucide",
151
+ "family": "phosphor-duotone",
136
152
  "strokeWidth": "1.5",
137
153
  "defaultSize": "16px"
138
154
  },
139
155
  "elevation": {
140
- "cardElevation": "var(--shadow-sm)",
141
- "popoverElevation": "var(--shadow-main)",
156
+ "cardElevation": "var(--shadow-main)",
157
+ "popoverElevation": "var(--shadow-lg)",
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-inner)"
144
162
  },
145
163
  "geometry": {
146
- "radiusContainer": "var(--radius-lg)",
147
- "radiusInteractive": "var(--radius-md)",
164
+ "radiusContainer": "var(--radius-xl)",
165
+ "radiusInteractive": "var(--radius-lg)",
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": "#5b5df0",
@@ -166,7 +188,7 @@
166
188
  "card": "rgba(255, 255, 255, 0.62)",
167
189
  "card-foreground": "#1e2235",
168
190
  "surface": "rgba(255, 255, 255, 0.55)",
169
- "border": "rgba(255, 255, 255, 0.65)",
191
+ "border": "rgba(255, 255, 255, 0.35)",
170
192
  "input": "rgba(99, 102, 241, 0.25)",
171
193
  "ring": "#6366f1",
172
194
  "error": "#e11d48",
@@ -180,36 +202,36 @@
180
202
  },
181
203
  "radii": {
182
204
  "none": "0px",
183
- "sm": "10px",
184
- "md": "14px",
185
- "lg": "18px",
186
- "xl": "20px",
205
+ "sm": "12px",
206
+ "md": "16px",
207
+ "lg": "22px",
208
+ "xl": "28px",
187
209
  "full": "9999px"
188
210
  },
189
211
  "shadows": {
190
- "main": "0 4px 16px rgba(99, 102, 241, 0.1), 0 2px 6px rgba(15, 23, 42, 0.05)",
191
- "sm": "0 1px 6px rgba(99, 102, 241, 0.08)",
192
- "lg": "0 12px 32px rgba(99, 102, 241, 0.14), 0 4px 12px rgba(15, 23, 42, 0.06)",
193
- "inner": "inset 0 1px 4px rgba(99, 102, 241, 0.08)",
212
+ "main": "0 8px 32px rgba(31,38,135,0.14)",
213
+ "sm": "0 4px 16px rgba(31,38,135,0.10)",
214
+ "lg": "0 16px 48px rgba(31,38,135,0.20)",
215
+ "inner": "inset 0 1px 0 rgba(255,255,255,0.6)",
194
216
  "none": "none",
195
- "hover": "0 12px 36px rgba(99, 102, 241, 0.2), 0 4px 12px rgba(139, 92, 246, 0.08)",
196
- "active": "0 2px 8px rgba(99, 102, 241, 0.12)"
217
+ "hover": "0 12px 40px rgba(31,38,135,0.22)",
218
+ "active": "0 2px 8px rgba(31,38,135,0.12)"
197
219
  },
198
220
  "typography": {
199
221
  "border-width": "1px",
200
222
  "border-width-thin": "1px",
201
223
  "border-width-thick": "2px",
202
- "font-family": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
224
+ "font-family": "\"Outfit\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
203
225
  "font-weight-normal": "400",
204
226
  "font-weight-medium": "500",
205
227
  "font-weight-bold": "650",
206
- "letter-spacing": "-0.01em",
228
+ "letter-spacing": "-0.005em",
207
229
  "line-height": "1.6",
208
230
  "icon-color": "#6366f1",
209
231
  "transition-fast": "120ms",
210
- "transition-normal": "220ms",
211
- "transition-slow": "320ms",
212
- "transition-timing": "cubic-bezier(0.34, 1.3, 0.64, 1)",
232
+ "transition-normal": "300ms",
233
+ "transition-slow": "500ms",
234
+ "transition-timing": "cubic-bezier(0.22, 1, 0.36, 1)",
213
235
  "hover-scale": "1.01",
214
236
  "hover-translate-y": "-1px",
215
237
  "hover-translate-x": "0",
@@ -218,159 +240,16 @@
218
240
  "focus-ring-width": "2px",
219
241
  "focus-ring-offset": "2px",
220
242
  "focus-ring-color": "#6366f1"
243
+ },
244
+ "surface": {
245
+ "backdrop": "blur(20px) saturate(1.6)",
246
+ "cardImage": "linear-gradient(135deg, rgba(255,255,255,0.45), rgba(255,255,255,0.05))",
247
+ "pageImage": "radial-gradient(60% 50% at 15% 10%, rgba(91,93,240,0.35), transparent 70%), radial-gradient(50% 45% at 85% 20%, rgba(236,72,153,0.28), transparent 70%), radial-gradient(55% 50% at 70% 90%, rgba(34,211,238,0.30), transparent 70%), radial-gradient(45% 40% at 10% 85%, rgba(168,85,247,0.25), transparent 70%)",
248
+ "pageImageSize": "100% 100%"
221
249
  }
222
250
  },
223
251
  "variants": {
224
252
  "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": "32px",
242
- "buttonHeightMd": "40px",
243
- "buttonHeightLg": "48px",
244
- "inputHeightSm": "32px",
245
- "inputHeightMd": "40px",
246
- "inputHeightLg": "48px",
247
- "rowHeightCompact": "36px",
248
- "rowHeightNormal": "44px",
249
- "rowHeightSpacious": "52px",
250
- "cardPaddingSm": "16px",
251
- "cardPaddingMd": "20px",
252
- "cardPaddingLg": "28px",
253
- "dialogPadding": "28px",
254
- "sectionGap": "40px"
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": "medium"
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": "800ms"
347
- },
348
- "easings": {
349
- "linear": "linear",
350
- "standard": "var(--transition-timing)",
351
- "emphasized": "cubic-bezier(0.22, 1, 0.36, 1)",
352
- "spring": "cubic-bezier(0.34, 1.56, 0.64, 1)"
353
- }
354
- },
355
- "iconography": {
356
- "family": "lucide",
357
- "strokeWidth": "1.5",
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-lg)",
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
253
  "colors": {
375
254
  "primary": "#818cf8",
376
255
  "primary-hover": "#6b72f5",
@@ -387,7 +266,7 @@
387
266
  "card": "rgba(22, 27, 51, 0.58)",
388
267
  "card-foreground": "#e7e9f5",
389
268
  "surface": "rgba(30, 36, 66, 0.55)",
390
- "border": "rgba(255, 255, 255, 0.14)",
269
+ "border": "rgba(255, 255, 255, 0.35)",
391
270
  "input": "rgba(255, 255, 255, 0.2)",
392
271
  "ring": "#818cf8",
393
272
  "error": "#fb7185",
@@ -399,38 +278,21 @@
399
278
  "info": "#38bdf8",
400
279
  "info-foreground": "#000000"
401
280
  },
402
- "radii": {
403
- "none": "0px",
404
- "sm": "10px",
405
- "md": "14px",
406
- "lg": "18px",
407
- "xl": "20px",
408
- "full": "9999px"
409
- },
410
- "shadows": {
411
- "main": "0 4px 18px rgba(0, 0, 0, 0.45), 0 0 14px rgba(129, 140, 248, 0.12)",
412
- "sm": "0 1px 6px rgba(0, 0, 0, 0.35), 0 0 8px rgba(129, 140, 248, 0.08)",
413
- "lg": "0 14px 40px rgba(0, 0, 0, 0.55), 0 0 28px rgba(129, 140, 248, 0.16)",
414
- "inner": "inset 0 1px 4px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(129, 140, 248, 0.06)",
415
- "none": "none",
416
- "hover": "0 14px 44px rgba(0, 0, 0, 0.6), 0 0 32px rgba(167, 139, 250, 0.22)",
417
- "active": "0 2px 8px rgba(0, 0, 0, 0.4), 0 0 10px rgba(129, 140, 248, 0.1)"
418
- },
419
281
  "typography": {
420
282
  "border-width": "1px",
421
283
  "border-width-thin": "1px",
422
284
  "border-width-thick": "2px",
423
- "font-family": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
285
+ "font-family": "\"Outfit\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
424
286
  "font-weight-normal": "400",
425
287
  "font-weight-medium": "500",
426
288
  "font-weight-bold": "650",
427
- "letter-spacing": "-0.01em",
289
+ "letter-spacing": "-0.005em",
428
290
  "line-height": "1.6",
429
291
  "icon-color": "#818cf8",
430
292
  "transition-fast": "120ms",
431
- "transition-normal": "220ms",
432
- "transition-slow": "320ms",
433
- "transition-timing": "cubic-bezier(0.34, 1.3, 0.64, 1)",
293
+ "transition-normal": "300ms",
294
+ "transition-slow": "500ms",
295
+ "transition-timing": "cubic-bezier(0.22, 1, 0.36, 1)",
434
296
  "hover-scale": "1.01",
435
297
  "hover-translate-y": "-1px",
436
298
  "hover-translate-x": "0",
@@ -439,6 +301,21 @@
439
301
  "focus-ring-width": "2px",
440
302
  "focus-ring-offset": "2px",
441
303
  "focus-ring-color": "#818cf8"
304
+ },
305
+ "shadows": {
306
+ "main": "0 8px 32px rgba(0,0,0,0.40)",
307
+ "sm": "0 4px 16px rgba(0,0,0,0.30)",
308
+ "lg": "0 16px 48px rgba(0,0,0,0.55)",
309
+ "inner": "inset 0 1px 0 rgba(255,255,255,0.10)",
310
+ "none": "none",
311
+ "hover": "0 12px 40px rgba(0,0,0,0.50)",
312
+ "active": "0 2px 8px rgba(0,0,0,0.35)"
313
+ },
314
+ "surface": {
315
+ "backdrop": "blur(20px) saturate(1.6)",
316
+ "cardImage": "linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.01))",
317
+ "pageImage": "radial-gradient(60% 50% at 15% 10%, rgba(99,102,241,0.40), transparent 70%), radial-gradient(50% 45% at 85% 20%, rgba(236,72,153,0.28), transparent 70%), radial-gradient(55% 50% at 70% 90%, rgba(34,211,238,0.25), transparent 70%), radial-gradient(45% 40% at 10% 85%, rgba(168,85,247,0.30), transparent 70%)",
318
+ "pageImageSize": "100% 100%"
442
319
  }
443
320
  }
444
321
  }