@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": "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",
@@ -180,31 +202,31 @@
180
202
  },
181
203
  "radii": {
182
204
  "none": "0px",
183
- "sm": "4px",
184
- "md": "6px",
185
- "lg": "8px",
186
- "xl": "10px",
205
+ "sm": "2px",
206
+ "md": "2px",
207
+ "lg": "2px",
208
+ "xl": "4px",
187
209
  "full": "9999px"
188
210
  },
189
211
  "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)",
212
+ "main": "0 1px 0 rgba(15, 23, 42, 0.12)",
213
+ "sm": "0 1px 0 rgba(15, 23, 42, 0.08)",
214
+ "lg": "0 2px 0 rgba(15, 23, 42, 0.14), 0 6px 12px rgba(15, 23, 42, 0.08)",
215
+ "inner": "inset 0 1px 0 rgba(15, 23, 42, 0.06)",
194
216
  "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)"
217
+ "hover": "0 1px 0 rgba(15, 23, 42, 0.18)",
218
+ "active": "none"
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": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", Arial, sans-serif",
224
+ "font-family": "\"IBM Plex Sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
203
225
  "font-weight-normal": "400",
204
226
  "font-weight-medium": "500",
205
227
  "font-weight-bold": "600",
206
228
  "letter-spacing": "normal",
207
- "line-height": "1.5",
229
+ "line-height": "1.45",
208
230
  "icon-color": "#475569",
209
231
  "transition-fast": "100ms",
210
232
  "transition-normal": "150ms",
@@ -222,155 +244,6 @@
222
244
  },
223
245
  "variants": {
224
246
  "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
247
  "colors": {
375
248
  "primary": "#5b8def",
376
249
  "primary-hover": "#7aa5f5",
@@ -399,33 +272,16 @@
399
272
  "info": "#7aa5f5",
400
273
  "info-foreground": "#0d1526"
401
274
  },
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)"
418
- },
419
275
  "typography": {
420
276
  "border-width": "1px",
421
277
  "border-width-thin": "1px",
422
278
  "border-width-thick": "2px",
423
- "font-family": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", \"Roboto\", \"Helvetica Neue\", Arial, sans-serif",
279
+ "font-family": "\"IBM Plex Sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
424
280
  "font-weight-normal": "400",
425
281
  "font-weight-medium": "500",
426
282
  "font-weight-bold": "600",
427
283
  "letter-spacing": "normal",
428
- "line-height": "1.5",
284
+ "line-height": "1.45",
429
285
  "icon-color": "#94a3b8",
430
286
  "transition-fast": "100ms",
431
287
  "transition-normal": "150ms",
@@ -439,6 +295,15 @@
439
295
  "focus-ring-width": "2px",
440
296
  "focus-ring-offset": "2px",
441
297
  "focus-ring-color": "#5b8def"
298
+ },
299
+ "shadows": {
300
+ "main": "0 1px 0 rgba(0, 0, 0, 0.45)",
301
+ "sm": "0 1px 0 rgba(0, 0, 0, 0.35)",
302
+ "lg": "0 2px 0 rgba(0, 0, 0, 0.5), 0 6px 12px rgba(0, 0, 0, 0.4)",
303
+ "inner": "inset 0 1px 0 rgba(0, 0, 0, 0.3)",
304
+ "none": "none",
305
+ "hover": "0 1px 0 rgba(0, 0, 0, 0.55)",
306
+ "active": "none"
442
307
  }
443
308
  }
444
309
  }