@ai-matrx/alchemy 0.1.3 → 0.1.4

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.4
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/alchemy/v0.1.3..npm/alchemy/v0.1.4 -- apps/shared/alchemy`).
7
+ No source changes intended and no consumer action required.
8
+
3
9
  ## 0.1.3 — 2026-09-12
4
10
 
5
11
  Refreshes the distribution with the compact Alchemy format palette, its
package/dist/alchemy.svg CHANGED
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M4.5 5.5h8v11h-8z"/><path d="M8.5 9.5h8v9h-8z"/><path d="m18.5 3 .65 1.85L21 5.5l-1.85.65L18.5 8l-.65-1.85L16 5.5l1.85-.65z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M9 3h6"/><path d="M10 3v6l-5.2 8.7A2 2 0 0 0 6.5 21h11a2 2 0 0 0 1.7-3.3L14 9V3"/><path d="M8 15h8"/></svg>
package/dist/styles.css CHANGED
@@ -42,6 +42,21 @@
42
42
  padding: 0.4375rem;
43
43
  max-height: var(--radix-popover-content-available-height, 80dvh);
44
44
  }
45
+ .matrx-alchemy-output {
46
+ display: grid;
47
+ gap: 0.375rem;
48
+ padding: 0.375rem;
49
+ border: 1px solid hsl(var(--border, 240 6% 90%));
50
+ border-radius: 0.5rem;
51
+ }
52
+ .matrx-alchemy-output > h3 {
53
+ margin: 0.125rem 0.125rem 0;
54
+ color: hsl(var(--muted-foreground, 240 4% 46%));
55
+ font-size: 0.6875rem;
56
+ font-weight: 600;
57
+ letter-spacing: 0.04em;
58
+ text-transform: uppercase;
59
+ }
45
60
  .matrx-alchemy-mode {
46
61
  display: flex;
47
62
  gap: 0.1875rem;
@@ -79,8 +94,9 @@
79
94
  color: hsl(var(--muted-foreground, 240 4% 46%));
80
95
  }
81
96
  .matrx-alchemy-workspace {
82
- max-height: min(90dvh, 56rem);
83
- overflow: auto;
97
+ max-height: min(90dvh, 48rem);
98
+ overflow: hidden;
99
+ grid-template-rows: auto minmax(0, 1fr) auto;
84
100
  }
85
101
  .matrx-alchemy-workspace-grid {
86
102
  display: grid;
@@ -88,8 +104,15 @@
88
104
  gap: 1rem;
89
105
  min-height: 0;
90
106
  }
107
+ .matrx-alchemy-workspace-body {
108
+ min-height: 0;
109
+ overflow: auto;
110
+ overscroll-behavior: contain;
111
+ padding-right: 0.125rem;
112
+ }
91
113
  .matrx-alchemy-main {
92
114
  display: grid;
115
+ align-content: start;
93
116
  gap: 0.75rem;
94
117
  min-width: 0;
95
118
  }
@@ -128,6 +151,15 @@
128
151
  border-radius: 0.375rem;
129
152
  padding: 0.625rem;
130
153
  }
154
+ .matrx-alchemy-options > fieldset {
155
+ display: grid;
156
+ gap: 0.5rem;
157
+ min-width: 0;
158
+ margin: 0.625rem 0 0;
159
+ padding: 0;
160
+ border: 0;
161
+ }
162
+ .matrx-alchemy-options summary { cursor: pointer; }
131
163
  .matrx-alchemy-options legend {
132
164
  padding: 0 0.25rem;
133
165
  font-size: 0.8125rem;
@@ -287,13 +319,11 @@
287
319
  .matrx-alchemy-workspace {
288
320
  position: fixed;
289
321
  z-index: 10001;
290
- top: 50%;
291
- left: 50%;
292
- right: auto;
293
- bottom: auto;
294
- margin: 0;
295
- translate: -50% -50%;
296
- width: min(64rem, calc(100vw - 2rem));
322
+ inset: 0;
323
+ margin: auto;
324
+ translate: none;
325
+ height: fit-content;
326
+ width: min(56rem, calc(100vw - 2rem));
297
327
  max-width: calc(100vw - 2rem);
298
328
  padding: 1.5rem;
299
329
  display: grid;
@@ -327,27 +357,35 @@
327
357
  gap: 0.5rem;
328
358
  align-items: center;
329
359
  }
330
- .matrx-alchemy-workspace button {
360
+ .matrx-alchemy-workspace-secondary,
361
+ .matrx-alchemy-workspace-primary {
331
362
  display: inline-flex;
332
363
  align-items: center;
333
364
  justify-content: center;
334
- gap: 0.375rem;
335
365
  min-height: 2rem;
336
366
  padding: 0.375rem 0.75rem;
337
- border: 1px solid hsl(var(--border, 240 6% 90%));
338
367
  border-radius: 0.375rem;
339
- background: hsl(var(--background, 0 0% 100%));
340
- color: inherit;
368
+ cursor: pointer;
341
369
  font: inherit;
342
370
  font-size: 0.8125rem;
343
- cursor: pointer;
344
371
  }
345
- .matrx-alchemy-workspace button:hover {
346
- background: hsl(var(--accent, 240 5% 96%));
372
+ .matrx-alchemy-workspace-secondary {
373
+ border: 1px solid hsl(var(--border, 240 6% 90%));
374
+ background: hsl(var(--background, 0 0% 100%));
375
+ color: hsl(var(--foreground, 240 10% 4%));
347
376
  }
348
- .matrx-alchemy-workspace button:disabled {
349
- opacity: 0.5;
350
- cursor: not-allowed;
377
+ .matrx-alchemy-workspace-primary {
378
+ border: 1px solid hsl(var(--primary, 262 43% 51%));
379
+ background: hsl(var(--primary, 262 43% 51%));
380
+ color: hsl(var(--primary-foreground, 0 0% 100%));
381
+ }
382
+ .matrx-alchemy-workspace :is(.matrx-alchemy-workspace-secondary, .matrx-alchemy-workspace-primary):disabled { opacity: 0.5; cursor: not-allowed; }
383
+ .matrx-alchemy-workspace-secondary:hover { background: hsl(var(--accent, 240 5% 96%)); }
384
+ .matrx-alchemy-workspace-primary:hover { filter: brightness(0.96); }
385
+ .matrx-alchemy-configuration {
386
+ width: min(40rem, calc(100vw - 2rem));
387
+ max-height: min(90dvh, 42rem);
388
+ overflow: hidden;
351
389
  }
352
390
  .matrx-alchemy-workspace button:focus-visible,
353
391
  .matrx-alchemy-workspace :is(input, textarea, select):focus-visible {
@@ -379,10 +417,7 @@
379
417
  }
380
418
  @media (max-width: 767px) {
381
419
  .matrx-alchemy-workspace {
382
- top: auto;
383
- bottom: 0;
384
- left: 0;
385
- translate: none;
420
+ inset: auto 0 0;
386
421
  width: 100%;
387
422
  max-width: 100%;
388
423
  max-height: 92dvh;
@@ -393,3 +428,31 @@
393
428
 
394
429
  .matrx-alchemy-menu *, .matrx-alchemy-workspace * { box-sizing: border-box; }
395
430
  .matrx-alchemy-workspace-grid:not(:has(aside)) { grid-template-columns: minmax(0, 1fr); }
431
+
432
+ /* Table toolbar matches the canonical tap-target 44 / 28 / 14 geometry.
433
+ tap-target depends on design-system, so this primitive cannot import it. */
434
+ .matrx-alchemy-toolbar-target .matrx-alchemy-trigger {
435
+ position: relative;
436
+ flex-shrink: 0;
437
+ width: 2.75rem;
438
+ height: 2.75rem;
439
+ background: transparent;
440
+ touch-action: manipulation;
441
+ }
442
+ .matrx-alchemy-toolbar-target .matrx-alchemy-trigger::before {
443
+ content: "";
444
+ position: absolute;
445
+ width: 1.75rem;
446
+ height: 1.75rem;
447
+ border-radius: 9999px;
448
+ transition: background-color 150ms ease, transform 100ms ease;
449
+ }
450
+ .matrx-alchemy-toolbar-target .matrx-alchemy-trigger:hover::before {
451
+ background: hsl(var(--accent, 240 5% 96%));
452
+ }
453
+ .matrx-alchemy-toolbar-target .matrx-alchemy-trigger:active::before { transform: scale(0.92); }
454
+ .matrx-alchemy-toolbar-target .matrx-alchemy-trigger svg {
455
+ position: relative;
456
+ width: 0.875rem;
457
+ height: 0.875rem;
458
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/alchemy",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Matrx Alchemy: the complete Matrx copy, prepare-for-AI, and export experience, with framework-neutral core, React menu, glyph, styles and Matrx integration.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -131,7 +131,7 @@
131
131
  "scripts": {
132
132
  "build": "pnpm clean && tsup && node ./scripts/copy-assets.mjs && node ./scripts/assert-distribution-artifacts.mjs",
133
133
  "clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
134
- "check:package": "pnpm build && publint && pnpm verify:tarball",
134
+ "check:package": "pnpm build && node ../scripts/check-exports-agreement.mjs && publint && pnpm verify:tarball",
135
135
  "typecheck": "tsc -p tsconfig.json --noEmit",
136
136
  "test": "vitest run",
137
137
  "verify:tarball": "node ./scripts/verify-tarball.mjs"