@almadar/core 10.110.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 (102) hide show
  1. package/dist/builders.d.ts +5 -5
  2. package/dist/builders.js +78 -9
  3. package/dist/builders.js.map +1 -1
  4. package/dist/{bus-CuAsuaHW.d.ts → bus-BZ9ekDiD.d.ts} +4 -2
  5. package/dist/{domain-Bf6sf9NR.d.ts → domain-DV8lmH3r.d.ts} +1857 -39
  6. package/dist/{effect-2JoKc8Zj.d.ts → effect-B9nMpTKN.d.ts} +27 -3
  7. package/dist/{entityAccess-CuKaSX0N.d.ts → entityAccess-Ak_ZvGXZ.d.ts} +3 -3
  8. package/dist/{expression-DhTTuu2W.d.ts → expression-Dz84kipC.d.ts} +4 -2
  9. package/dist/factory/index.d.ts +81 -7
  10. package/dist/factory/index.js +560 -16
  11. package/dist/factory/index.js.map +1 -1
  12. package/dist/factory-runtime/index.d.ts +5 -5
  13. package/dist/factory-runtime/index.js +78 -9
  14. package/dist/factory-runtime/index.js.map +1 -1
  15. package/dist/fixtures.d.ts +3 -3
  16. package/dist/fixtures.js +1 -1
  17. package/dist/fixtures.js.map +1 -1
  18. package/dist/i18n/index.js +36 -4
  19. package/dist/i18n/index.js.map +1 -1
  20. package/dist/{index-bC0n_h8G.d.ts → index-DmkUMeXz.d.ts} +79 -10
  21. package/dist/index.d.ts +71 -20
  22. package/dist/index.js +17101 -5233
  23. package/dist/index.js.map +1 -1
  24. package/dist/mock/index.d.ts +20 -7
  25. package/dist/mock/index.js +38 -11
  26. package/dist/mock/index.js.map +1 -1
  27. package/dist/patterns/component-mapping.json +1 -1
  28. package/dist/patterns/event-contracts.json +1 -1
  29. package/dist/patterns/index.d.ts +1042 -228
  30. package/dist/patterns/index.js +392 -13
  31. package/dist/patterns/index.js.map +1 -1
  32. package/dist/patterns/patterns-registry.json +382 -10
  33. package/dist/patterns/registry.json +382 -10
  34. package/dist/{schema-DqBoP7Ab.d.ts → schema-C-HLTS_Q.d.ts} +2969 -44
  35. package/dist/state-machine/index.d.ts +1 -1
  36. package/dist/state-machine/index.js +32 -7
  37. package/dist/state-machine/index.js.map +1 -1
  38. package/dist/themes/index.d.ts +1 -1
  39. package/dist/themes/index.js +16303 -5151
  40. package/dist/themes/index.js.map +1 -1
  41. package/dist/{trait-S5uhI089.d.ts → trait-CRgDZSy_.d.ts} +10 -2
  42. package/dist/types/index.d.ts +8 -8
  43. package/dist/types/index.js +115 -10
  44. package/dist/types/index.js.map +1 -1
  45. package/dist/{types-2uS2WfIo.d.ts → types-C3nlpTDW.d.ts} +2 -2
  46. package/package.json +1 -1
  47. package/themes/almadar-website.json +7 -0
  48. package/themes/almadar.json +16 -4
  49. package/themes/aqua.json +420 -0
  50. package/themes/arabesque.json +512 -0
  51. package/themes/art-deco.json +340 -0
  52. package/themes/art-nouveau.json +340 -0
  53. package/themes/atelier.json +43 -187
  54. package/themes/bauhaus.json +330 -0
  55. package/themes/bloomberg-dense.json +69 -213
  56. package/themes/blueprint.json +330 -0
  57. package/themes/clay.json +53 -188
  58. package/themes/comic.json +107 -146
  59. package/themes/constructivist.json +340 -0
  60. package/themes/corporate.json +62 -197
  61. package/themes/cyberpunk.json +418 -0
  62. package/themes/frutiger-aero.json +422 -0
  63. package/themes/game-adventure.json +46 -21
  64. package/themes/game-rpg.json +48 -22
  65. package/themes/game-sci-fi.json +47 -21
  66. package/themes/game-ui-pack.json +39 -17
  67. package/themes/gazette.json +50 -194
  68. package/themes/glass.json +78 -201
  69. package/themes/gothic.json +329 -0
  70. package/themes/ink-wash.json +512 -0
  71. package/themes/kawaii.json +512 -0
  72. package/themes/kiosk.json +70 -200
  73. package/themes/linear-clean.json +67 -202
  74. package/themes/luxury.json +322 -0
  75. package/themes/mac-classic.json +330 -0
  76. package/themes/material.json +328 -0
  77. package/themes/memphis.json +337 -0
  78. package/themes/mid-century.json +338 -0
  79. package/themes/minimalist.json +60 -204
  80. package/themes/mudcloth.json +512 -0
  81. package/themes/neon.json +51 -212
  82. package/themes/neumorphic.json +322 -0
  83. package/themes/newsprint.json +330 -0
  84. package/themes/notion-editorial.json +51 -186
  85. package/themes/pixel.json +321 -0
  86. package/themes/prism.json +66 -69
  87. package/themes/retro.json +126 -165
  88. package/themes/risograph.json +325 -0
  89. package/themes/scandi.json +512 -0
  90. package/themes/sketch.json +330 -0
  91. package/themes/solarpunk.json +512 -0
  92. package/themes/steampunk.json +327 -0
  93. package/themes/swiss.json +338 -0
  94. package/themes/terminal.json +86 -156
  95. package/themes/trait-wars.json +143 -184
  96. package/themes/ukiyo-e.json +512 -0
  97. package/themes/vaporwave.json +420 -0
  98. package/themes/victorian.json +337 -0
  99. package/themes/wabi-sabi.json +512 -0
  100. package/themes/win95.json +324 -0
  101. package/themes/wireframe.json +44 -179
  102. package/themes/zine.json +330 -0
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "name": "linear-clean",
3
+ "displayName": "Linear Clean",
3
4
  "tokens": {
4
5
  "density": {
5
6
  "spacing": {
@@ -18,24 +19,24 @@
18
19
  "space12": "48px"
19
20
  },
20
21
  "buttonHeightSm": "28px",
21
- "buttonHeightMd": "32px",
22
+ "buttonHeightMd": "30px",
22
23
  "buttonHeightLg": "36px",
23
24
  "inputHeightSm": "28px",
24
- "inputHeightMd": "32px",
25
+ "inputHeightMd": "30px",
25
26
  "inputHeightLg": "36px",
26
27
  "rowHeightCompact": "32px",
27
- "rowHeightNormal": "36px",
28
+ "rowHeightNormal": "34px",
28
29
  "rowHeightSpacious": "44px",
29
30
  "cardPaddingSm": "12px",
30
- "cardPaddingMd": "16px",
31
+ "cardPaddingMd": "14px",
31
32
  "cardPaddingLg": "20px",
32
33
  "dialogPadding": "24px",
33
34
  "sectionGap": "32px"
34
35
  },
35
36
  "typeScale": {
36
- "displayFamily": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
37
- "bodyFamily": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
38
- "monoFamily": "\"JetBrains Mono\", ui-monospace, SFMono-Regular, Menlo, monospace",
37
+ "displayFamily": "\"Geist\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
38
+ "bodyFamily": "\"Geist\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
39
+ "monoFamily": "\"Geist Mono\", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",
39
40
  "scale": {
40
41
  "xs": {
41
42
  "size": "11px",
@@ -114,7 +115,13 @@
114
115
  "size": "sm",
115
116
  "weight": "medium"
116
117
  }
117
- }
118
+ },
119
+ "fontImport": "https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500&display=swap",
120
+ "headingWeight": "600",
121
+ "headingTransform": "none",
122
+ "headingTracking": "-0.022em",
123
+ "headingStyle": "normal",
124
+ "headingShadow": "none"
118
125
  },
119
126
  "motion": {
120
127
  "durations": {
@@ -126,9 +133,18 @@
126
133
  },
127
134
  "easings": {
128
135
  "linear": "linear",
129
- "standard": "linear",
130
- "emphasized": "linear",
136
+ "standard": "cubic-bezier(0.25, 0.1, 0.25, 1)",
137
+ "emphasized": "cubic-bezier(0.2, 0, 0, 1)",
131
138
  "spring": "linear"
139
+ },
140
+ "shapes": {
141
+ "modalEnter": "scale(0.98)",
142
+ "modalExit": "scale(0.98)",
143
+ "pageEnter": "translateY(4px)",
144
+ "popoverEnter": "scale(0.98)",
145
+ "popoverExit": "scale(0.98)",
146
+ "toastEnter": "translateY(8px)",
147
+ "toastExit": "translateY(8px)"
132
148
  }
133
149
  },
134
150
  "iconography": {
@@ -137,18 +153,24 @@
137
153
  "defaultSize": "16px"
138
154
  },
139
155
  "elevation": {
140
- "cardElevation": "none",
141
- "popoverElevation": "none",
142
- "dialogElevation": "none",
143
- "toastElevation": "none"
156
+ "cardElevation": "var(--shadow-main)",
157
+ "popoverElevation": "var(--shadow-lg)",
158
+ "dialogElevation": "var(--shadow-lg)",
159
+ "toastElevation": "var(--shadow-lg)",
160
+ "interactiveElevation": "var(--shadow-sm)",
161
+ "pressedElevation": "var(--shadow-active)"
144
162
  },
145
163
  "geometry": {
146
164
  "radiusContainer": "8px",
147
- "radiusInteractive": "6px",
165
+ "radiusInteractive": "8px",
148
166
  "radiusPill": "9999px",
149
167
  "borderHairline": "1px",
150
168
  "borderStandard": "1px",
151
- "borderHeavy": "1px"
169
+ "borderHeavy": "1px",
170
+ "cornerShape": "squircle",
171
+ "cornerShapePill": "squircle",
172
+ "borderStyle": "solid",
173
+ "borderStyleInteractive": "solid"
152
174
  },
153
175
  "colors": {
154
176
  "primary": "#0066ff",
@@ -186,37 +208,37 @@
186
208
  },
187
209
  "radii": {
188
210
  "none": "0px",
189
- "sm": "4px",
211
+ "sm": "6px",
190
212
  "md": "8px",
191
- "lg": "12px",
213
+ "lg": "10px",
192
214
  "xl": "12px",
193
215
  "full": "9999px"
194
216
  },
195
217
  "shadows": {
218
+ "main": "0 0 0 1px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.9)",
219
+ "sm": "inset 0 1px 0 rgba(255, 255, 255, 0.9)",
220
+ "lg": "0 8px 24px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9)",
221
+ "inner": "inset 0 1px 0 rgba(0, 0, 0, 0.04)",
196
222
  "none": "none",
197
- "sm": "none",
198
- "main": "none",
199
- "lg": "none",
200
- "inner": "none",
201
- "hover": "none",
202
- "active": "none"
223
+ "hover": "0 0 0 1px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9)",
224
+ "active": "inset 0 1px 0 rgba(0, 0, 0, 0.05)"
203
225
  },
204
226
  "typography": {
205
227
  "border-width": "1px",
206
228
  "border-width-thin": "1px",
207
229
  "border-width-thick": "1px",
208
- "font-family": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
230
+ "font-family": "\"Geist\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
209
231
  "font-weight-normal": "400",
210
232
  "font-weight-medium": "500",
211
233
  "font-weight-bold": "600",
212
- "letter-spacing": "-0.01em",
213
- "line-height": "1.4",
234
+ "letter-spacing": "-0.011em",
235
+ "line-height": "1.45",
214
236
  "intent-numeric-family": "var(--font-family-mono)",
215
237
  "icon-color": "currentColor",
216
- "transition-fast": "80ms",
217
- "transition-normal": "120ms",
238
+ "transition-fast": "90ms",
239
+ "transition-normal": "140ms",
218
240
  "transition-slow": "180ms",
219
- "transition-timing": "linear",
241
+ "transition-timing": "cubic-bezier(0.25, 0.1, 0.25, 1)",
220
242
  "hover-scale": "1",
221
243
  "hover-translate-y": "0",
222
244
  "hover-translate-x": "0",
@@ -229,155 +251,6 @@
229
251
  },
230
252
  "variants": {
231
253
  "dark": {
232
- "density": {
233
- "spacing": {
234
- "space0": "0px",
235
- "space1": "4px",
236
- "space2": "8px",
237
- "space3": "12px",
238
- "space4": "16px",
239
- "space5": "20px",
240
- "space6": "24px",
241
- "space7": "28px",
242
- "space8": "32px",
243
- "space9": "36px",
244
- "space10": "40px",
245
- "space11": "44px",
246
- "space12": "48px"
247
- },
248
- "buttonHeightSm": "28px",
249
- "buttonHeightMd": "32px",
250
- "buttonHeightLg": "36px",
251
- "inputHeightSm": "28px",
252
- "inputHeightMd": "32px",
253
- "inputHeightLg": "36px",
254
- "rowHeightCompact": "32px",
255
- "rowHeightNormal": "36px",
256
- "rowHeightSpacious": "44px",
257
- "cardPaddingSm": "12px",
258
- "cardPaddingMd": "16px",
259
- "cardPaddingLg": "20px",
260
- "dialogPadding": "24px",
261
- "sectionGap": "32px"
262
- },
263
- "typeScale": {
264
- "displayFamily": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
265
- "bodyFamily": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
266
- "monoFamily": "\"JetBrains Mono\", ui-monospace, SFMono-Regular, Menlo, monospace",
267
- "scale": {
268
- "xs": {
269
- "size": "11px",
270
- "lineHeight": "14px"
271
- },
272
- "sm": {
273
- "size": "13px",
274
- "lineHeight": "18px"
275
- },
276
- "base": {
277
- "size": "14px",
278
- "lineHeight": "20px"
279
- },
280
- "lg": {
281
- "size": "16px",
282
- "lineHeight": "22px"
283
- },
284
- "xl": {
285
- "size": "18px",
286
- "lineHeight": "24px"
287
- },
288
- "2xl": {
289
- "size": "22px",
290
- "lineHeight": "28px"
291
- },
292
- "3xl": {
293
- "size": "28px",
294
- "lineHeight": "34px"
295
- },
296
- "4xl": {
297
- "size": "34px",
298
- "lineHeight": "40px"
299
- },
300
- "display-1": {
301
- "size": "44px",
302
- "lineHeight": "48px"
303
- },
304
- "display-2": {
305
- "size": "56px",
306
- "lineHeight": "60px"
307
- }
308
- },
309
- "intents": {
310
- "headingMajor": {
311
- "slot": "display",
312
- "size": "2xl",
313
- "weight": "bold"
314
- },
315
- "headingMinor": {
316
- "slot": "display",
317
- "size": "lg",
318
- "weight": "bold"
319
- },
320
- "bodyEmphasis": {
321
- "slot": "body",
322
- "size": "sm",
323
- "weight": "medium"
324
- },
325
- "bodyDefault": {
326
- "slot": "body",
327
- "size": "sm",
328
- "weight": "normal"
329
- },
330
- "bodyQuiet": {
331
- "slot": "body",
332
- "size": "xs",
333
- "weight": "normal"
334
- },
335
- "caption": {
336
- "slot": "body",
337
- "size": "xs",
338
- "weight": "medium"
339
- },
340
- "numeric": {
341
- "slot": "mono",
342
- "size": "sm",
343
- "weight": "medium"
344
- }
345
- }
346
- },
347
- "motion": {
348
- "durations": {
349
- "instant": "0ms",
350
- "fast": "80ms",
351
- "normal": "120ms",
352
- "slow": "180ms",
353
- "dramatic": "240ms"
354
- },
355
- "easings": {
356
- "linear": "linear",
357
- "standard": "linear",
358
- "emphasized": "linear",
359
- "spring": "linear"
360
- }
361
- },
362
- "iconography": {
363
- "family": "lucide",
364
- "strokeWidth": "1.5",
365
- "defaultSize": "16px"
366
- },
367
- "elevation": {
368
- "cardElevation": "none",
369
- "popoverElevation": "none",
370
- "dialogElevation": "none",
371
- "toastElevation": "none"
372
- },
373
- "geometry": {
374
- "radiusContainer": "8px",
375
- "radiusInteractive": "6px",
376
- "radiusPill": "9999px",
377
- "borderHairline": "1px",
378
- "borderStandard": "1px",
379
- "borderHeavy": "1px"
380
- },
381
254
  "colors": {
382
255
  "primary": "#4d8bff",
383
256
  "primary-hover": "#6ea2ff",
@@ -412,39 +285,22 @@
412
285
  "info": "#4d8bff",
413
286
  "info-foreground": "#0a0a0c"
414
287
  },
415
- "radii": {
416
- "none": "0px",
417
- "sm": "4px",
418
- "md": "8px",
419
- "lg": "12px",
420
- "xl": "12px",
421
- "full": "9999px"
422
- },
423
- "shadows": {
424
- "none": "none",
425
- "sm": "none",
426
- "main": "none",
427
- "lg": "none",
428
- "inner": "none",
429
- "hover": "none",
430
- "active": "none"
431
- },
432
288
  "typography": {
433
289
  "border-width": "1px",
434
290
  "border-width-thin": "1px",
435
291
  "border-width-thick": "1px",
436
- "font-family": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
292
+ "font-family": "\"Geist\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
437
293
  "font-weight-normal": "400",
438
294
  "font-weight-medium": "500",
439
295
  "font-weight-bold": "600",
440
- "letter-spacing": "-0.01em",
441
- "line-height": "1.4",
296
+ "letter-spacing": "-0.011em",
297
+ "line-height": "1.45",
442
298
  "intent-numeric-family": "var(--font-family-mono)",
443
299
  "icon-color": "currentColor",
444
- "transition-fast": "80ms",
445
- "transition-normal": "120ms",
300
+ "transition-fast": "90ms",
301
+ "transition-normal": "140ms",
446
302
  "transition-slow": "180ms",
447
- "transition-timing": "linear",
303
+ "transition-timing": "cubic-bezier(0.25, 0.1, 0.25, 1)",
448
304
  "hover-scale": "1",
449
305
  "hover-translate-y": "0",
450
306
  "hover-translate-x": "0",
@@ -453,6 +309,15 @@
453
309
  "focus-ring-width": "2px",
454
310
  "focus-ring-offset": "2px",
455
311
  "focus-ring-color": "#4d8bff"
312
+ },
313
+ "shadows": {
314
+ "main": "inset 0 1px 0 rgba(255, 255, 255, 0.05)",
315
+ "sm": "inset 0 1px 0 rgba(255, 255, 255, 0.05)",
316
+ "lg": "0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05)",
317
+ "inner": "inset 0 1px 0 rgba(0, 0, 0, 0.3)",
318
+ "none": "none",
319
+ "hover": "0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06)",
320
+ "active": "inset 0 1px 0 rgba(0, 0, 0, 0.3)"
456
321
  }
457
322
  }
458
323
  }