@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": "corporate",
3
+ "displayName": "Corporate",
3
4
  "tokens": {
4
5
  "density": {
5
6
  "spacing": {
@@ -18,24 +19,24 @@
18
19
  "space12": "48px"
19
20
  },
20
21
  "buttonHeightSm": "30px",
21
- "buttonHeightMd": "38px",
22
+ "buttonHeightMd": "34px",
22
23
  "buttonHeightLg": "46px",
23
24
  "inputHeightSm": "30px",
24
- "inputHeightMd": "38px",
25
+ "inputHeightMd": "34px",
25
26
  "inputHeightLg": "46px",
26
27
  "rowHeightCompact": "36px",
27
- "rowHeightNormal": "44px",
28
+ "rowHeightNormal": "36px",
28
29
  "rowHeightSpacious": "52px",
29
30
  "cardPaddingSm": "16px",
30
- "cardPaddingMd": "20px",
31
+ "cardPaddingMd": "16px",
31
32
  "cardPaddingLg": "28px",
32
33
  "dialogPadding": "28px",
33
34
  "sectionGap": "40px"
34
35
  },
35
36
  "typeScale": {
36
- "displayFamily": "var(--font-family)",
37
- "bodyFamily": "var(--font-family)",
38
- "monoFamily": "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",
37
+ "displayFamily": "\"IBM Plex Sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
38
+ "bodyFamily": "\"IBM Plex Sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
39
+ "monoFamily": "\"IBM Plex Mono\", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",
39
40
  "scale": {
40
41
  "xs": {
41
42
  "size": "12px",
@@ -114,7 +115,13 @@
114
115
  "size": "sm",
115
116
  "weight": "medium"
116
117
  }
117
- }
118
+ },
119
+ "fontImport": "https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap",
120
+ "headingWeight": "600",
121
+ "headingTransform": "none",
122
+ "headingTracking": "-0.005em",
123
+ "headingStyle": "normal",
124
+ "headingShadow": "none"
118
125
  },
119
126
  "motion": {
120
127
  "durations": {
@@ -122,13 +129,22 @@
122
129
  "fast": "var(--transition-fast)",
123
130
  "normal": "var(--transition-normal)",
124
131
  "slow": "var(--transition-slow)",
125
- "dramatic": "400ms"
132
+ "dramatic": "300ms"
126
133
  },
127
134
  "easings": {
128
135
  "linear": "linear",
129
- "standard": "var(--transition-timing)",
130
- "emphasized": "cubic-bezier(0.2, 0, 0, 1)",
136
+ "standard": "cubic-bezier(0.4, 0, 0.2, 1)",
137
+ "emphasized": "cubic-bezier(0.4, 0, 0.2, 1)",
131
138
  "spring": "cubic-bezier(0.34, 1.56, 0.64, 1)"
139
+ },
140
+ "shapes": {
141
+ "modalEnter": "translateY(8px)",
142
+ "modalExit": "translateY(8px)",
143
+ "pageEnter": "translateY(4px)",
144
+ "popoverEnter": "translateY(4px)",
145
+ "popoverExit": "translateY(4px)",
146
+ "toastEnter": "translateY(8px)",
147
+ "toastExit": "translateY(8px)"
132
148
  }
133
149
  },
134
150
  "iconography": {
@@ -140,15 +156,21 @@
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": "none"
144
162
  },
145
163
  "geometry": {
146
- "radiusContainer": "var(--radius-md)",
147
- "radiusInteractive": "var(--radius-md)",
148
- "radiusPill": "var(--radius-full)",
164
+ "radiusContainer": "2px",
165
+ "radiusInteractive": "2px",
166
+ "radiusPill": "9999px",
149
167
  "borderHairline": "1px",
150
- "borderStandard": "var(--border-width)",
151
- "borderHeavy": "var(--border-width-thick)"
168
+ "borderStandard": "1px",
169
+ "borderHeavy": "2px",
170
+ "cornerShape": "round",
171
+ "cornerShapePill": "round",
172
+ "borderStyle": "solid",
173
+ "borderStyleInteractive": "solid"
152
174
  },
153
175
  "colors": {
154
176
  "primary": "#1d4ed8",
@@ -176,35 +198,36 @@
176
198
  "warning": "#b45309",
177
199
  "warning-foreground": "#ffffff",
178
200
  "info": "#1d4ed8",
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": "4px",
184
- "md": "6px",
185
- "lg": "8px",
186
- "xl": "10px",
206
+ "sm": "2px",
207
+ "md": "2px",
208
+ "lg": "2px",
209
+ "xl": "4px",
187
210
  "full": "9999px"
188
211
  },
189
212
  "shadows": {
190
- "main": "0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04)",
191
- "sm": "0 1px 2px rgba(15, 23, 42, 0.06)",
192
- "lg": "0 4px 12px rgba(15, 23, 42, 0.10), 0 2px 4px rgba(15, 23, 42, 0.05)",
193
- "inner": "inset 0 1px 2px rgba(15, 23, 42, 0.05)",
213
+ "main": "0 1px 0 rgba(15, 23, 42, 0.12)",
214
+ "sm": "0 1px 0 rgba(15, 23, 42, 0.08)",
215
+ "lg": "0 2px 0 rgba(15, 23, 42, 0.14), 0 6px 12px rgba(15, 23, 42, 0.08)",
216
+ "inner": "inset 0 1px 0 rgba(15, 23, 42, 0.06)",
194
217
  "none": "none",
195
- "hover": "0 4px 10px rgba(15, 23, 42, 0.10), 0 1px 3px rgba(15, 23, 42, 0.06)",
196
- "active": "0 1px 2px rgba(15, 23, 42, 0.08)"
218
+ "hover": "0 1px 0 rgba(15, 23, 42, 0.18)",
219
+ "active": "none"
197
220
  },
198
221
  "typography": {
199
222
  "border-width": "1px",
200
223
  "border-width-thin": "1px",
201
224
  "border-width-thick": "2px",
202
- "font-family": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", Arial, sans-serif",
225
+ "font-family": "\"IBM Plex Sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
203
226
  "font-weight-normal": "400",
204
227
  "font-weight-medium": "500",
205
228
  "font-weight-bold": "600",
206
229
  "letter-spacing": "normal",
207
- "line-height": "1.5",
230
+ "line-height": "1.45",
208
231
  "icon-color": "#475569",
209
232
  "transition-fast": "100ms",
210
233
  "transition-normal": "150ms",
@@ -222,155 +245,6 @@
222
245
  },
223
246
  "variants": {
224
247
  "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": "30px",
242
- "buttonHeightMd": "38px",
243
- "buttonHeightLg": "46px",
244
- "inputHeightSm": "30px",
245
- "inputHeightMd": "38px",
246
- "inputHeightLg": "46px",
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": "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": "400ms"
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": "1.75",
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
248
  "colors": {
375
249
  "primary": "#5b8def",
376
250
  "primary-hover": "#7aa5f5",
@@ -397,35 +271,19 @@
397
271
  "warning": "#fbbf24",
398
272
  "warning-foreground": "#0d1526",
399
273
  "info": "#7aa5f5",
400
- "info-foreground": "#0d1526"
401
- },
402
- "radii": {
403
- "none": "0px",
404
- "sm": "4px",
405
- "md": "6px",
406
- "lg": "8px",
407
- "xl": "10px",
408
- "full": "9999px"
409
- },
410
- "shadows": {
411
- "main": "0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3)",
412
- "sm": "0 1px 2px rgba(0, 0, 0, 0.35)",
413
- "lg": "0 4px 12px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.35)",
414
- "inner": "inset 0 1px 2px rgba(0, 0, 0, 0.3)",
415
- "none": "none",
416
- "hover": "0 4px 10px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.35)",
417
- "active": "0 1px 2px rgba(0, 0, 0, 0.4)"
274
+ "info-foreground": "#0d1526",
275
+ "scrim": "rgba(0, 0, 0, 0.7)"
418
276
  },
419
277
  "typography": {
420
278
  "border-width": "1px",
421
279
  "border-width-thin": "1px",
422
280
  "border-width-thick": "2px",
423
- "font-family": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", Arial, sans-serif",
281
+ "font-family": "\"IBM Plex Sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
424
282
  "font-weight-normal": "400",
425
283
  "font-weight-medium": "500",
426
284
  "font-weight-bold": "600",
427
285
  "letter-spacing": "normal",
428
- "line-height": "1.5",
286
+ "line-height": "1.45",
429
287
  "icon-color": "#94a3b8",
430
288
  "transition-fast": "100ms",
431
289
  "transition-normal": "150ms",
@@ -439,6 +297,15 @@
439
297
  "focus-ring-width": "2px",
440
298
  "focus-ring-offset": "2px",
441
299
  "focus-ring-color": "#5b8def"
300
+ },
301
+ "shadows": {
302
+ "main": "0 1px 0 rgba(0, 0, 0, 0.45)",
303
+ "sm": "0 1px 0 rgba(0, 0, 0, 0.35)",
304
+ "lg": "0 2px 0 rgba(0, 0, 0, 0.5), 0 6px 12px rgba(0, 0, 0, 0.4)",
305
+ "inner": "inset 0 1px 0 rgba(0, 0, 0, 0.3)",
306
+ "none": "none",
307
+ "hover": "0 1px 0 rgba(0, 0, 0, 0.55)",
308
+ "active": "none"
442
309
  }
443
310
  }
444
311
  }