@ai-matrx/design-system 0.18.4 → 0.18.6
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 +19 -0
- package/dist/content-transfer.cjs +12 -5
- package/dist/content-transfer.cjs.map +1 -1
- package/dist/content-transfer.d.cts +4 -0
- package/dist/content-transfer.d.ts +4 -0
- package/dist/content-transfer.js +12 -5
- package/dist/content-transfer.js.map +1 -1
- package/dist/data-table/copy-helpers.cjs +53 -0
- package/dist/data-table/copy-helpers.cjs.map +1 -1
- package/dist/data-table/copy-helpers.d.cts +13 -2
- package/dist/data-table/copy-helpers.d.ts +13 -2
- package/dist/data-table/copy-helpers.js +55 -0
- package/dist/data-table/copy-helpers.js.map +1 -1
- package/dist/data-table/copy-types.cjs.map +1 -1
- package/dist/data-table/copy-types.d.cts +5 -0
- package/dist/data-table/copy-types.d.ts +5 -0
- package/dist/data-table/data-row-inspector.cjs +70 -50
- package/dist/data-table/data-row-inspector.cjs.map +1 -1
- package/dist/data-table/data-row-inspector.js +70 -50
- package/dist/data-table/data-row-inspector.js.map +1 -1
- package/dist/data-table/data-row-window.cjs +70 -50
- package/dist/data-table/data-row-window.cjs.map +1 -1
- package/dist/data-table/data-row-window.js +70 -50
- package/dist/data-table/data-row-window.js.map +1 -1
- package/dist/data-table/filter-engine.d.cts +1 -1
- package/dist/data-table/filter-engine.d.ts +1 -1
- package/dist/data-table/index.cjs +621 -422
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.d.cts +2 -2
- package/dist/data-table/index.d.ts +2 -2
- package/dist/data-table/index.js +623 -422
- package/dist/data-table/index.js.map +1 -1
- package/dist/data-table/infer-filter.d.cts +1 -1
- package/dist/data-table/infer-filter.d.ts +1 -1
- package/dist/data-table/layered-filters.d.cts +1 -1
- package/dist/data-table/layered-filters.d.ts +1 -1
- package/dist/data-table/pagination.cjs +148 -90
- package/dist/data-table/pagination.cjs.map +1 -1
- package/dist/data-table/pagination.js +143 -85
- package/dist/data-table/pagination.js.map +1 -1
- package/dist/data-table/query-control.d.cts +1 -1
- package/dist/data-table/query-control.d.ts +1 -1
- package/dist/data-table/types.cjs.map +1 -1
- package/dist/data-table/types.d.cts +1 -1
- package/dist/data-table/types.d.ts +1 -1
- package/dist/data-table/url-state.d.cts +1 -1
- package/dist/data-table/url-state.d.ts +1 -1
- package/dist/data-table/uuid-cell.cjs +58 -45
- package/dist/data-table/uuid-cell.cjs.map +1 -1
- package/dist/data-table/uuid-cell.js +58 -45
- package/dist/data-table/uuid-cell.js.map +1 -1
- package/dist/data-table/xlsx.d.cts +1 -1
- package/dist/data-table/xlsx.d.ts +1 -1
- package/dist/{types-Bx9SfdJM.d.cts → types-0CNCWvdK.d.cts} +2 -2
- package/dist/{types-DyByb6tW.d.ts → types-cH8oLqUx.d.ts} +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.18.6 — 2026-09-12
|
|
4
|
+
|
|
5
|
+
Data tables now expose one canonical default Alchemy menu when copy is not
|
|
6
|
+
configured, using the visible declared columns for all built-in formats and
|
|
7
|
+
capturing row accessors once. Explicit `copy={false}` remains the opt-out.
|
|
8
|
+
Structured workbook cells, duplicate headings, column-visibility refreshes,
|
|
9
|
+
manual-draft freshness, safe filenames, and keyboard-accessible control
|
|
10
|
+
tooltips are covered by the shared package behavior.
|
|
11
|
+
|
|
12
|
+
### Consumer action
|
|
13
|
+
|
|
14
|
+
Update to 0.18.6. No host configuration changes are required.
|
|
15
|
+
|
|
16
|
+
## 0.18.5
|
|
17
|
+
|
|
18
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
19
|
+
`git diff npm/design-system/v0.18.4..npm/design-system/v0.18.5 -- apps/shared/design-system`).
|
|
20
|
+
No source changes intended and no consumer action required.
|
|
21
|
+
|
|
3
22
|
## 0.18.4 — 2026-09-12
|
|
4
23
|
|
|
5
24
|
Alchemy custom exports now preserve the exact captured filename through
|
|
@@ -706,14 +706,21 @@ function MatrxCopyMenuSession(props) {
|
|
|
706
706
|
))
|
|
707
707
|
throw new Error("Sheet rows must be JSON objects.");
|
|
708
708
|
const rows = value;
|
|
709
|
-
const
|
|
709
|
+
const suppliedColumns = props.export.sheetColumns?.();
|
|
710
|
+
const columns = suppliedColumns ?? [...new Set(rows.flatMap((row) => Object.keys(row)))].map((id) => ({ id, label: id }));
|
|
711
|
+
const ids = /* @__PURE__ */ new Set();
|
|
712
|
+
for (const column of columns) {
|
|
713
|
+
if (!column.id || !column.label || ids.has(column.id)) throw new Error("Sheet columns require unique nonempty ids and labels.");
|
|
714
|
+
ids.add(column.id);
|
|
715
|
+
}
|
|
716
|
+
for (const row of rows) for (const key of Object.keys(row)) if (!ids.has(key)) throw new Error("Table data contains a field outside its declared columns.");
|
|
710
717
|
return {
|
|
711
718
|
kind: "rows",
|
|
712
719
|
rows,
|
|
713
|
-
columns:
|
|
714
|
-
id:
|
|
715
|
-
label:
|
|
716
|
-
path: `/${
|
|
720
|
+
columns: columns.map((column) => ({
|
|
721
|
+
id: column.id,
|
|
722
|
+
label: column.label,
|
|
723
|
+
path: `/${column.id.replace(/~/g, "~0").replace(/\//g, "~1")}`,
|
|
717
724
|
visible: true
|
|
718
725
|
}))
|
|
719
726
|
};
|