@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
@@ -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",
@@ -182,41 +204,42 @@
182
204
  "warning": "#b54708",
183
205
  "warning-foreground": "#ffffff",
184
206
  "info": "#0066ff",
185
- "info-foreground": "#ffffff"
207
+ "info-foreground": "#ffffff",
208
+ "scrim": "rgba(0, 0, 0, 0.6)"
186
209
  },
187
210
  "radii": {
188
211
  "none": "0px",
189
- "sm": "4px",
212
+ "sm": "6px",
190
213
  "md": "8px",
191
- "lg": "12px",
214
+ "lg": "10px",
192
215
  "xl": "12px",
193
216
  "full": "9999px"
194
217
  },
195
218
  "shadows": {
219
+ "main": "0 0 0 1px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.9)",
220
+ "sm": "inset 0 1px 0 rgba(255, 255, 255, 0.9)",
221
+ "lg": "0 8px 24px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9)",
222
+ "inner": "inset 0 1px 0 rgba(0, 0, 0, 0.04)",
196
223
  "none": "none",
197
- "sm": "none",
198
- "main": "none",
199
- "lg": "none",
200
- "inner": "none",
201
- "hover": "none",
202
- "active": "none"
224
+ "hover": "0 0 0 1px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9)",
225
+ "active": "inset 0 1px 0 rgba(0, 0, 0, 0.05)"
203
226
  },
204
227
  "typography": {
205
228
  "border-width": "1px",
206
229
  "border-width-thin": "1px",
207
230
  "border-width-thick": "1px",
208
- "font-family": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
231
+ "font-family": "\"Geist\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
209
232
  "font-weight-normal": "400",
210
233
  "font-weight-medium": "500",
211
234
  "font-weight-bold": "600",
212
- "letter-spacing": "-0.01em",
213
- "line-height": "1.4",
235
+ "letter-spacing": "-0.011em",
236
+ "line-height": "1.45",
214
237
  "intent-numeric-family": "var(--font-family-mono)",
215
238
  "icon-color": "currentColor",
216
- "transition-fast": "80ms",
217
- "transition-normal": "120ms",
239
+ "transition-fast": "90ms",
240
+ "transition-normal": "140ms",
218
241
  "transition-slow": "180ms",
219
- "transition-timing": "linear",
242
+ "transition-timing": "cubic-bezier(0.25, 0.1, 0.25, 1)",
220
243
  "hover-scale": "1",
221
244
  "hover-translate-y": "0",
222
245
  "hover-translate-x": "0",
@@ -229,155 +252,6 @@
229
252
  },
230
253
  "variants": {
231
254
  "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
255
  "colors": {
382
256
  "primary": "#4d8bff",
383
257
  "primary-hover": "#6ea2ff",
@@ -410,41 +284,25 @@
410
284
  "warning": "#fdb022",
411
285
  "warning-foreground": "#0a0a0c",
412
286
  "info": "#4d8bff",
413
- "info-foreground": "#0a0a0c"
414
- },
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"
287
+ "info-foreground": "#0a0a0c",
288
+ "scrim": "rgba(0, 0, 0, 0.7)"
431
289
  },
432
290
  "typography": {
433
291
  "border-width": "1px",
434
292
  "border-width-thin": "1px",
435
293
  "border-width-thick": "1px",
436
- "font-family": "\"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
294
+ "font-family": "\"Geist\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
437
295
  "font-weight-normal": "400",
438
296
  "font-weight-medium": "500",
439
297
  "font-weight-bold": "600",
440
- "letter-spacing": "-0.01em",
441
- "line-height": "1.4",
298
+ "letter-spacing": "-0.011em",
299
+ "line-height": "1.45",
442
300
  "intent-numeric-family": "var(--font-family-mono)",
443
301
  "icon-color": "currentColor",
444
- "transition-fast": "80ms",
445
- "transition-normal": "120ms",
302
+ "transition-fast": "90ms",
303
+ "transition-normal": "140ms",
446
304
  "transition-slow": "180ms",
447
- "transition-timing": "linear",
305
+ "transition-timing": "cubic-bezier(0.25, 0.1, 0.25, 1)",
448
306
  "hover-scale": "1",
449
307
  "hover-translate-y": "0",
450
308
  "hover-translate-x": "0",
@@ -453,6 +311,15 @@
453
311
  "focus-ring-width": "2px",
454
312
  "focus-ring-offset": "2px",
455
313
  "focus-ring-color": "#4d8bff"
314
+ },
315
+ "shadows": {
316
+ "main": "inset 0 1px 0 rgba(255, 255, 255, 0.05)",
317
+ "sm": "inset 0 1px 0 rgba(255, 255, 255, 0.05)",
318
+ "lg": "0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05)",
319
+ "inner": "inset 0 1px 0 rgba(0, 0, 0, 0.3)",
320
+ "none": "none",
321
+ "hover": "0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06)",
322
+ "active": "inset 0 1px 0 rgba(0, 0, 0, 0.3)"
456
323
  }
457
324
  }
458
325
  }