@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
@@ -0,0 +1,338 @@
1
+ {
2
+ "name": "mid-century",
3
+ "displayName": "Mid-Century Modern",
4
+ "tokens": {
5
+ "density": {
6
+ "spacing": {
7
+ "space0": "0px",
8
+ "space1": "4px",
9
+ "space2": "8px",
10
+ "space3": "12px",
11
+ "space4": "16px",
12
+ "space5": "20px",
13
+ "space6": "24px",
14
+ "space7": "28px",
15
+ "space8": "32px",
16
+ "space9": "36px",
17
+ "space10": "40px",
18
+ "space11": "44px",
19
+ "space12": "48px"
20
+ },
21
+ "buttonHeightSm": "32px",
22
+ "buttonHeightMd": "42px",
23
+ "buttonHeightLg": "52px",
24
+ "inputHeightSm": "32px",
25
+ "inputHeightMd": "42px",
26
+ "inputHeightLg": "52px",
27
+ "rowHeightCompact": "36px",
28
+ "rowHeightNormal": "46px",
29
+ "rowHeightSpacious": "56px",
30
+ "cardPaddingSm": "16px",
31
+ "cardPaddingMd": "22px",
32
+ "cardPaddingLg": "30px",
33
+ "dialogPadding": "30px",
34
+ "sectionGap": "36px"
35
+ },
36
+ "typeScale": {
37
+ "displayFamily": "\"DM Serif Display\", Georgia, serif",
38
+ "bodyFamily": "\"Work Sans\", \"Helvetica Neue\", sans-serif",
39
+ "monoFamily": "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",
40
+ "fontImport": "https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Work+Sans:wght@400;500;700&display=swap",
41
+ "headingWeight": "400",
42
+ "headingTransform": "none",
43
+ "headingTracking": "0em",
44
+ "headingStyle": "normal",
45
+ "headingShadow": "none",
46
+ "scale": {
47
+ "xs": {
48
+ "size": "12px",
49
+ "lineHeight": "16px"
50
+ },
51
+ "sm": {
52
+ "size": "14px",
53
+ "lineHeight": "20px"
54
+ },
55
+ "base": {
56
+ "size": "16px",
57
+ "lineHeight": "24px"
58
+ },
59
+ "lg": {
60
+ "size": "18px",
61
+ "lineHeight": "28px"
62
+ },
63
+ "xl": {
64
+ "size": "20px",
65
+ "lineHeight": "28px"
66
+ },
67
+ "2xl": {
68
+ "size": "24px",
69
+ "lineHeight": "32px"
70
+ },
71
+ "3xl": {
72
+ "size": "30px",
73
+ "lineHeight": "36px"
74
+ },
75
+ "4xl": {
76
+ "size": "36px",
77
+ "lineHeight": "40px"
78
+ },
79
+ "display-1": {
80
+ "size": "48px",
81
+ "lineHeight": "52px"
82
+ },
83
+ "display-2": {
84
+ "size": "60px",
85
+ "lineHeight": "64px"
86
+ }
87
+ },
88
+ "intents": {
89
+ "headingMajor": {
90
+ "slot": "display",
91
+ "size": "2xl",
92
+ "weight": "bold"
93
+ },
94
+ "headingMinor": {
95
+ "slot": "display",
96
+ "size": "lg",
97
+ "weight": "bold"
98
+ },
99
+ "bodyEmphasis": {
100
+ "slot": "body",
101
+ "size": "base",
102
+ "weight": "medium"
103
+ },
104
+ "bodyDefault": {
105
+ "slot": "body",
106
+ "size": "sm",
107
+ "weight": "normal"
108
+ },
109
+ "bodyQuiet": {
110
+ "slot": "body",
111
+ "size": "sm",
112
+ "weight": "normal"
113
+ },
114
+ "caption": {
115
+ "slot": "body",
116
+ "size": "xs",
117
+ "weight": "normal"
118
+ },
119
+ "numeric": {
120
+ "slot": "mono",
121
+ "size": "sm",
122
+ "weight": "medium"
123
+ }
124
+ }
125
+ },
126
+ "motion": {
127
+ "durations": {
128
+ "instant": "0ms",
129
+ "fast": "var(--transition-fast)",
130
+ "normal": "var(--transition-normal)",
131
+ "slow": "var(--transition-slow)",
132
+ "dramatic": "500ms"
133
+ },
134
+ "easings": {
135
+ "linear": "linear",
136
+ "standard": "var(--transition-timing)",
137
+ "emphasized": "cubic-bezier(0.25, 0.8, 0.25, 1)",
138
+ "spring": "cubic-bezier(0.3, 1.25, 0.5, 1)"
139
+ },
140
+ "shapes": {
141
+ "modalEnter": "scale(0.9)",
142
+ "modalExit": "scale(0.9)",
143
+ "pageEnter": "translateY(10px)",
144
+ "popoverEnter": "scale(0.95)",
145
+ "popoverExit": "scale(0.95)",
146
+ "toastEnter": "translateX(16px)",
147
+ "toastExit": "translateX(16px)"
148
+ }
149
+ },
150
+ "iconography": {
151
+ "family": "phosphor-duotone",
152
+ "strokeWidth": "1.75",
153
+ "defaultSize": "18px"
154
+ },
155
+ "elevation": {
156
+ "cardElevation": "var(--shadow-sm)",
157
+ "popoverElevation": "var(--shadow-main)",
158
+ "dialogElevation": "var(--shadow-lg)",
159
+ "toastElevation": "var(--shadow-main)",
160
+ "interactiveElevation": "var(--shadow-sm)",
161
+ "pressedElevation": "var(--shadow-active)"
162
+ },
163
+ "geometry": {
164
+ "radiusContainer": "var(--radius-md)",
165
+ "radiusInteractive": "var(--radius-md)",
166
+ "radiusPill": "var(--radius-full)",
167
+ "cornerShape": "squircle",
168
+ "cornerShapePill": "round",
169
+ "borderHairline": "1px",
170
+ "borderStandard": "var(--border-width)",
171
+ "borderHeavy": "var(--border-width-thick)",
172
+ "borderStyle": "solid",
173
+ "borderStyleInteractive": "solid"
174
+ },
175
+ "colors": {
176
+ "primary": "#b5531a",
177
+ "primary-hover": "#94430f",
178
+ "primary-foreground": "#fff8ea",
179
+ "secondary": "#1f7a7a",
180
+ "secondary-hover": "#186262",
181
+ "secondary-foreground": "#f2fffe",
182
+ "accent": "#ddaa24",
183
+ "accent-foreground": "#2a1c00",
184
+ "muted": "#efe3c6",
185
+ "muted-foreground": "#5a4630",
186
+ "background": "#f8efd9",
187
+ "foreground": "#33231a",
188
+ "card": "#fff9ea",
189
+ "card-foreground": "#33231a",
190
+ "surface": "#f1e5c8",
191
+ "border": "#6b4a32",
192
+ "input": "#6b4a32",
193
+ "ring": "#1f7a7a",
194
+ "table-header": "#f1e5c8",
195
+ "table-border": "#6b4a32",
196
+ "table-row-hover": "#f8efd9",
197
+ "surface-hover": "#eadbb8",
198
+ "border-hover": "#b5531a",
199
+ "placeholder": "#7c6650",
200
+ "error": "#a82a1c",
201
+ "error-foreground": "#ffffff",
202
+ "success": "#2f7a3a",
203
+ "success-foreground": "#ffffff",
204
+ "warning": "#ddaa24",
205
+ "warning-foreground": "#2a1c00",
206
+ "info": "#1f6a8a",
207
+ "info-foreground": "#ffffff"
208
+ },
209
+ "radii": {
210
+ "none": "0px",
211
+ "sm": "8px",
212
+ "md": "14px",
213
+ "lg": "20px",
214
+ "xl": "28px",
215
+ "full": "9999px"
216
+ },
217
+ "shadows": {
218
+ "main": "0 4px 10px rgba(107,74,50,0.2)",
219
+ "sm": "0 2px 4px rgba(107,74,50,0.16)",
220
+ "lg": "0 10px 24px rgba(107,74,50,0.24)",
221
+ "inner": "inset 0 2px 4px rgba(107,74,50,0.14)",
222
+ "none": "none",
223
+ "hover": "0 6px 14px rgba(107,74,50,0.26)",
224
+ "active": "0 1px 2px rgba(107,74,50,0.2)"
225
+ },
226
+ "typography": {
227
+ "border-width": "2px",
228
+ "border-width-thin": "1px",
229
+ "border-width-thick": "3px",
230
+ "font-family": "\"Work Sans\", \"Helvetica Neue\", sans-serif",
231
+ "font-weight-normal": "400",
232
+ "font-weight-medium": "500",
233
+ "font-weight-bold": "700",
234
+ "letter-spacing": "0em",
235
+ "line-height": "1.55",
236
+ "icon-color": "#b5531a",
237
+ "transition-fast": "140ms",
238
+ "transition-normal": "240ms",
239
+ "transition-slow": "380ms",
240
+ "transition-timing": "cubic-bezier(0.25, 0.8, 0.25, 1)",
241
+ "hover-scale": "1.02",
242
+ "hover-translate-y": "-1px",
243
+ "hover-translate-x": "0",
244
+ "active-scale": "0.98",
245
+ "active-translate-y": "1px",
246
+ "focus-ring-width": "3px",
247
+ "focus-ring-offset": "2px",
248
+ "focus-ring-color": "#1f7a7a"
249
+ },
250
+ "surface": {
251
+ "pageImage": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><g stroke='%23c8772a' stroke-width='1.5' opacity='.18' stroke-linecap='round'><path d='M70 54V86M54 70H86M58.7 58.7L81.3 81.3M81.3 58.7L58.7 81.3'/></g><circle cx='70' cy='70' r='3' fill='%232a8a8a' opacity='.22'/><circle cx='70' cy='54' r='2' fill='%23d9a21b' opacity='.3'/><circle cx='70' cy='86' r='2' fill='%23d9a21b' opacity='.3'/><circle cx='54' cy='70' r='2' fill='%23d9a21b' opacity='.3'/><circle cx='86' cy='70' r='2' fill='%23d9a21b' opacity='.3'/></svg>\")",
252
+ "pageImageSize": "140px 140px"
253
+ }
254
+ },
255
+ "variants": {
256
+ "dark": {
257
+ "colors": {
258
+ "primary": "#f08a4a",
259
+ "primary-hover": "#f4a06a",
260
+ "primary-foreground": "#2a1004",
261
+ "secondary": "#3fb0b0",
262
+ "secondary-hover": "#62c4c4",
263
+ "secondary-foreground": "#042222",
264
+ "accent": "#f0c04a",
265
+ "accent-foreground": "#2a1c00",
266
+ "muted": "#3a2b22",
267
+ "muted-foreground": "#dccdb0",
268
+ "background": "#26190f",
269
+ "foreground": "#f7ecd2",
270
+ "card": "#33241a",
271
+ "card-foreground": "#f7ecd2",
272
+ "surface": "#2d1f15",
273
+ "border": "#b38a64",
274
+ "input": "#b38a64",
275
+ "ring": "#3fb0b0",
276
+ "table-header": "#2d1f15",
277
+ "table-border": "#b38a64",
278
+ "table-row-hover": "#3a2a1f",
279
+ "surface-hover": "#443226",
280
+ "border-hover": "#f08a4a",
281
+ "placeholder": "#ae9a7c",
282
+ "error": "#ff8a78",
283
+ "error-foreground": "#2a0804",
284
+ "success": "#7ed08a",
285
+ "success-foreground": "#05190a",
286
+ "warning": "#f0c04a",
287
+ "warning-foreground": "#2a1c00",
288
+ "info": "#7fc4e0",
289
+ "info-foreground": "#05222e"
290
+ },
291
+ "shadows": {
292
+ "main": "0 4px 10px rgba(0,0,0,0.4)",
293
+ "sm": "0 2px 4px rgba(0,0,0,0.35)",
294
+ "lg": "0 10px 24px rgba(0,0,0,0.45)",
295
+ "inner": "inset 0 2px 4px rgba(0,0,0,0.35)",
296
+ "none": "none",
297
+ "hover": "0 6px 14px rgba(0,0,0,0.45)",
298
+ "active": "0 1px 2px rgba(0,0,0,0.45)"
299
+ },
300
+ "typography": {
301
+ "border-width": "2px",
302
+ "border-width-thin": "1px",
303
+ "border-width-thick": "3px",
304
+ "font-family": "\"Work Sans\", \"Helvetica Neue\", sans-serif",
305
+ "font-weight-normal": "400",
306
+ "font-weight-medium": "500",
307
+ "font-weight-bold": "700",
308
+ "letter-spacing": "0em",
309
+ "line-height": "1.55",
310
+ "icon-color": "#f08a4a",
311
+ "transition-fast": "140ms",
312
+ "transition-normal": "240ms",
313
+ "transition-slow": "380ms",
314
+ "transition-timing": "cubic-bezier(0.25, 0.8, 0.25, 1)",
315
+ "hover-scale": "1.02",
316
+ "hover-translate-y": "-1px",
317
+ "hover-translate-x": "0",
318
+ "active-scale": "0.98",
319
+ "active-translate-y": "1px",
320
+ "focus-ring-width": "3px",
321
+ "focus-ring-offset": "2px",
322
+ "focus-ring-color": "#3fb0b0"
323
+ },
324
+ "radii": {
325
+ "none": "0px",
326
+ "sm": "8px",
327
+ "md": "14px",
328
+ "lg": "20px",
329
+ "xl": "28px",
330
+ "full": "9999px"
331
+ },
332
+ "surface": {
333
+ "pageImage": "url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><g stroke='%23c8772a' stroke-width='1.5' opacity='.18' stroke-linecap='round'><path d='M70 54V86M54 70H86M58.7 58.7L81.3 81.3M81.3 58.7L58.7 81.3'/></g><circle cx='70' cy='70' r='3' fill='%232a8a8a' opacity='.22'/><circle cx='70' cy='54' r='2' fill='%23d9a21b' opacity='.3'/><circle cx='70' cy='86' r='2' fill='%23d9a21b' opacity='.3'/><circle cx='54' cy='70' r='2' fill='%23d9a21b' opacity='.3'/><circle cx='86' cy='70' r='2' fill='%23d9a21b' opacity='.3'/></svg>\")",
334
+ "pageImageSize": "140px 140px"
335
+ }
336
+ }
337
+ }
338
+ }