@ai-matrx/design-system 0.41.0 → 0.42.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.
- package/CHANGELOG.md +31 -0
- package/dist/data-table/copy-helpers.d.cts +2 -1
- package/dist/data-table/copy-helpers.d.ts +2 -1
- package/dist/data-table/data-row-inspector.cjs.map +1 -1
- package/dist/data-table/data-row-inspector.js.map +1 -1
- package/dist/data-table/data-row-window.cjs.map +1 -1
- package/dist/data-table/data-row-window.js.map +1 -1
- package/dist/data-table/filter-engine.d.cts +2 -1
- package/dist/data-table/filter-engine.d.ts +2 -1
- package/dist/data-table/host.cjs.map +1 -1
- package/dist/data-table/host.d.cts +18 -4
- package/dist/data-table/host.d.ts +18 -4
- package/dist/data-table/host.js.map +1 -1
- package/dist/data-table/index.cjs +1810 -1649
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.d.cts +4 -4
- package/dist/data-table/index.d.ts +4 -4
- package/dist/data-table/index.js +1810 -1649
- package/dist/data-table/index.js.map +1 -1
- package/dist/data-table/infer-filter.d.cts +2 -1
- package/dist/data-table/infer-filter.d.ts +2 -1
- package/dist/data-table/layered-filters.d.cts +2 -1
- package/dist/data-table/layered-filters.d.ts +2 -1
- package/dist/data-table/menu-targets.cjs +27 -0
- package/dist/data-table/menu-targets.cjs.map +1 -1
- package/dist/data-table/menu-targets.d.cts +49 -1
- package/dist/data-table/menu-targets.d.ts +49 -1
- package/dist/data-table/menu-targets.js +27 -0
- package/dist/data-table/menu-targets.js.map +1 -1
- package/dist/data-table/pagination.cjs.map +1 -1
- package/dist/data-table/pagination.js.map +1 -1
- package/dist/data-table/query-control.d.cts +2 -1
- package/dist/data-table/query-control.d.ts +2 -1
- package/dist/data-table/spreadsheet.cjs +24 -8
- package/dist/data-table/spreadsheet.cjs.map +1 -1
- package/dist/data-table/spreadsheet.d.cts +20 -3
- package/dist/data-table/spreadsheet.d.ts +20 -3
- package/dist/data-table/spreadsheet.js +24 -8
- package/dist/data-table/spreadsheet.js.map +1 -1
- package/dist/data-table/types.cjs.map +1 -1
- package/dist/data-table/types.d.cts +2 -1
- package/dist/data-table/types.d.ts +2 -1
- package/dist/data-table/url-state.d.cts +2 -1
- package/dist/data-table/url-state.d.ts +2 -1
- package/dist/data-table/uuid-cell.cjs.map +1 -1
- package/dist/data-table/uuid-cell.js.map +1 -1
- package/dist/data-table/xlsx.d.cts +2 -1
- package/dist/data-table/xlsx.d.ts +2 -1
- package/dist/{types-Dx5hJgCi.d.ts → types-afUz93xo.d.ts} +33 -1
- package/dist/{types-DNkbHRVK.d.cts → types-q5ficDSo.d.cts} +33 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.42.0 (2026-09-25)
|
|
4
|
+
|
|
5
|
+
### Lane data-tables-grid-overhaul — merge step 3 (2026-09-25)
|
|
6
|
+
|
|
7
|
+
* **Neutral right-click sections.** `contextMenu.sections(payload)` answers plain
|
|
8
|
+
`MatrxTableMenuSection`s — a title and items with label, icon name
|
|
9
|
+
(`MATRX_TABLE_MENU_ICON_NAMES`), shortcut hint, `disabledReason`, `destructive`,
|
|
10
|
+
`onSelect` and `submenu` — for the level that was right-clicked (cell, row, column
|
|
11
|
+
header, selection, table), with that level's row, column, values or range TSV. The
|
|
12
|
+
table hands its host's `ContextMenuBoundary` a `sections(target)` resolver
|
|
13
|
+
(`TableContextMenuBoundaryProps.sections`) only when a consumer declared sections;
|
|
14
|
+
a new optional host port `MenuIcon` maps icon names to glyphs. Unbound, the boundary
|
|
15
|
+
receives exactly what it did before.
|
|
16
|
+
* **Header-menu slot.** `MatrxColumnDef.headerMenu` adds the consumer's column actions
|
|
17
|
+
(rename, insert left/right, row label, colour by, settings) to the header's one
|
|
18
|
+
popover under the built-in sort and filter; a disabled item stays and says why; a
|
|
19
|
+
submenu opens in place; a column with no sort and no filter gets a menu when it has
|
|
20
|
+
actions.
|
|
21
|
+
* **Range selection and copy for readers.** `spreadsheet.readOnly` (separate from
|
|
22
|
+
editing) gives a person who may not write the whole range cursor — click, drag,
|
|
23
|
+
shift-click, arrows, select-all, Cmd-C — with no `onPatch` required (`onPatch` is
|
|
24
|
+
now optional). Cut still copies; cut, paste, clear, fill-down, undo and redo each say
|
|
25
|
+
`readOnlyReason` (default: a plain view-only sentence) and write nothing; no fill
|
|
26
|
+
handle; the range cursor opens no editor. A writable grid without `onPatch` refuses
|
|
27
|
+
the same way instead of dropping the write.
|
|
28
|
+
* Suite `MatrxDataTable.merge-step-3.test.tsx`: RED 8/12 on the prior bytes (the four
|
|
29
|
+
that pass pin the unbound behaviour and reader selection that ran but was not
|
|
30
|
+
typeable), GREEN 12/12; package 1190/1190. **Consumer action:** none; records-ui
|
|
31
|
+
wires a reader with `spreadsheet: { enabled: true, readOnly: true }` in the branch
|
|
32
|
+
that today passes nothing.
|
|
33
|
+
|
|
3
34
|
## 0.41.0 (2026-09-25)
|
|
4
35
|
|
|
5
36
|
### Lane MERGE-STEP-2 (data-tables-grid-overhaul, 2026-09-25)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AgentPayloadInput } from './copy-types.cjs';
|
|
2
|
-
import { g as MatrxDataTableCopyConfig, M as MatrxColumnDef } from '../types-
|
|
2
|
+
import { g as MatrxDataTableCopyConfig, M as MatrxColumnDef } from '../types-q5ficDSo.cjs';
|
|
3
3
|
import '../content-transfer.cjs';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '@ai-matrx/kit/content-transfer';
|
|
@@ -12,6 +12,7 @@ import './facets.cjs';
|
|
|
12
12
|
import './spreadsheet.cjs';
|
|
13
13
|
import './grid-selection.cjs';
|
|
14
14
|
import './date-filter.cjs';
|
|
15
|
+
import './menu-targets.cjs';
|
|
15
16
|
|
|
16
17
|
/**
|
|
17
18
|
* Typed, declared-column capture for MatrxDataTable's built-in Alchemy source.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AgentPayloadInput } from './copy-types.js';
|
|
2
|
-
import { g as MatrxDataTableCopyConfig, M as MatrxColumnDef } from '../types-
|
|
2
|
+
import { g as MatrxDataTableCopyConfig, M as MatrxColumnDef } from '../types-afUz93xo.js';
|
|
3
3
|
import '../content-transfer.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '@ai-matrx/kit/content-transfer';
|
|
@@ -12,6 +12,7 @@ import './facets.js';
|
|
|
12
12
|
import './spreadsheet.js';
|
|
13
13
|
import './grid-selection.js';
|
|
14
14
|
import './date-filter.js';
|
|
15
|
+
import './menu-targets.js';
|
|
15
16
|
|
|
16
17
|
/**
|
|
17
18
|
* Typed, declared-column capture for MatrxDataTable's built-in Alchemy source.
|