@ai-matrx/design-system 0.17.4 → 0.18.1
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 +35 -0
- package/README.md +1 -0
- package/dist/content-transfer/alchemy.svg +1 -0
- package/dist/content-transfer/icon.cjs +28 -0
- package/dist/content-transfer/icon.cjs.map +1 -0
- package/dist/content-transfer/icon.d.cts +4 -0
- package/dist/content-transfer/icon.d.ts +4 -0
- package/dist/content-transfer/icon.js +8 -0
- package/dist/content-transfer/icon.js.map +1 -0
- package/dist/content-transfer.cjs +1978 -0
- package/dist/content-transfer.cjs.map +1 -0
- package/dist/content-transfer.css +382 -0
- package/dist/content-transfer.d.cts +208 -0
- package/dist/content-transfer.d.ts +208 -0
- package/dist/content-transfer.js +1974 -0
- package/dist/content-transfer.js.map +1 -0
- package/dist/data-table/copy-helpers.d.cts +1 -1
- package/dist/data-table/copy-helpers.d.ts +1 -1
- package/dist/data-table/copy-types.cjs.map +1 -1
- package/dist/data-table/copy-types.d.cts +2 -0
- package/dist/data-table/copy-types.d.ts +2 -0
- package/dist/data-table/data-row-inspector.cjs +1603 -319
- package/dist/data-table/data-row-inspector.cjs.map +1 -1
- package/dist/data-table/data-row-inspector.js +1634 -324
- package/dist/data-table/data-row-inspector.js.map +1 -1
- package/dist/data-table/data-row-window.cjs +1531 -245
- package/dist/data-table/data-row-window.cjs.map +1 -1
- package/dist/data-table/data-row-window.js +1561 -249
- 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 +2455 -1055
- 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 +2472 -1042
- 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/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/xlsx.d.cts +1 -1
- package/dist/data-table/xlsx.d.ts +1 -1
- package/dist/styles.css +2 -0
- package/dist/{types-pZ95iFk5.d.ts → types-BhSkeZQ_.d.ts} +14 -0
- package/dist/{types-4fmLG5AN.d.cts → types-CD4xGL5Z.d.cts} +14 -0
- package/package.json +25 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.18.1 — 2026-09-12
|
|
4
|
+
|
|
5
|
+
Reorderable table columns now drag from the visible header label instead of a
|
|
6
|
+
separate grip. Ordinary click, Enter, and Space sorting remain intact, compact
|
|
7
|
+
headers remain accessible, and sticky headers continue to be the default.
|
|
8
|
+
|
|
9
|
+
### Consumer action
|
|
10
|
+
|
|
11
|
+
Update to 0.18.1 to use direct header-label column dragging. No table
|
|
12
|
+
configuration changes are required.
|
|
13
|
+
|
|
14
|
+
## 0.18.0 — 2026-09-12
|
|
15
|
+
|
|
16
|
+
Portable data-table copy controls now use the canonical Alchemy menu for rows,
|
|
17
|
+
selections, toolbars, and detail windows. Existing custom sources and export
|
|
18
|
+
actions are preserved. Row identity resets preparation when a detail changes
|
|
19
|
+
records. The required structural stylesheet includes Alchemy styling; host
|
|
20
|
+
copy adapters remain explicit until their consuming application adopts it.
|
|
21
|
+
|
|
22
|
+
`MatrxDataTable` now passes vertical wheel gestures from content-height table
|
|
23
|
+
wrappers to the nearest real page scroller. Horizontally wide tables retain
|
|
24
|
+
native horizontal scrolling, and bounded-height tables retain their own
|
|
25
|
+
vertical scroll.
|
|
26
|
+
|
|
27
|
+
`MatrxDataTable` now supports opt-in local append processing, exact receipt completion, source snapshot and load-size controls, and hook-owned sequential Load all / Stop controls.
|
|
28
|
+
|
|
29
|
+
Matrx Alchemy is available at `@ai-matrx/design-system/content-transfer` with a single inlined SVG glyph and one copy-first menu/workspace. It captures direct, scoped, alternate, and format-specific sources on user action; composes deterministic controls from one immutable original; retains manual buffers and variant sessions; binds limits before all-matching paging; fences stale async/AI results; and routes rich clipboard, registered formats, actions, and nested-path XLSX artifacts through the supplied transport. Import `content-transfer.css` with the package styles.
|
|
30
|
+
|
|
31
|
+
### Consumer action
|
|
32
|
+
|
|
33
|
+
Update to 0.18.0 before adopting the Alchemy Menu or the new controlled-append
|
|
34
|
+
lifecycle. Import `@ai-matrx/design-system/content-transfer.css` anywhere the
|
|
35
|
+
Alchemy Menu is rendered. Existing table and design-system consumers remain
|
|
36
|
+
compatible without configuration changes.
|
|
37
|
+
|
|
3
38
|
## 0.17.4 — 2026-09-12
|
|
4
39
|
|
|
5
40
|
`MatrxDataTable` now renders next-page progress as a sticky 64px row inside
|
package/README.md
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
The small, semantic UI foundation shared by AI Matrx React applications — primitives whose behavior and variants are identical across Vite and Next.js hosts.
|
|
4
4
|
|
|
5
5
|
**Controls:** Button, Badge, Label, Separator, the Input family, the Textarea family, Checkbox, Switch, RadioGroup, Slider, Toggle + ToggleGroup, Avatar, Progress.
|
|
6
|
+
**Content transfer:** `@ai-matrx/design-system/content-transfer` supplies Matrx Alchemy's inlined glyph, accessible menu, projected capture workspace, optional AI capability seam, and locally scoped `SurfaceHandle` provider. Its source is captured on user action; preparation keeps an immutable original, preserves manual and alternate-source sessions, fences stale async results, and routes every copy/download through `Transport`. Import `@ai-matrx/design-system/content-transfer.css` with the package structural sheets.
|
|
6
7
|
**Surfaces:** Card, Table, Tabs, Accordion, Collapsible, ScrollArea, Popover, Tooltip, HoverCard, Sheet, Dialog, AlertDialog, Drawer, BottomSheet + TabbedBottomSheet, Alert, Resizable, Skeleton.
|
|
7
8
|
**Menus:** DropdownMenu, ContextMenu, Command / CommandDialog, Select, CreatablePicker.
|
|
8
9
|
**Composed:** EditableLabel, SegmentedControl, ArchiveFilter, ScoreRing, OverflowToolbar, ConfirmDialog + ConfirmDialogHost.
|
|
@@ -0,0 +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>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/content-transfer/icon.ts
|
|
22
|
+
var icon_exports = {};
|
|
23
|
+
__export(icon_exports, {
|
|
24
|
+
ALCHEMY_GLYPH_SVG: () => ALCHEMY_GLYPH_SVG
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(icon_exports);
|
|
27
|
+
var ALCHEMY_GLYPH_SVG = '<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>';
|
|
28
|
+
//# sourceMappingURL=icon.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/content-transfer/icon.ts"],"sourcesContent":["/** Pure Alchemy asset export. Safe to import without React or browser APIs. */\nexport const ALCHEMY_GLYPH_SVG = '<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>';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACO,IAAM,oBAAoB;","names":[]}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** Pure Alchemy asset export. Safe to import without React or browser APIs. */
|
|
2
|
+
declare const ALCHEMY_GLYPH_SVG = "<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>";
|
|
3
|
+
|
|
4
|
+
export { ALCHEMY_GLYPH_SVG };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** Pure Alchemy asset export. Safe to import without React or browser APIs. */
|
|
2
|
+
declare const ALCHEMY_GLYPH_SVG = "<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>";
|
|
3
|
+
|
|
4
|
+
export { ALCHEMY_GLYPH_SVG };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// src/content-transfer/icon.ts
|
|
4
|
+
var ALCHEMY_GLYPH_SVG = '<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>';
|
|
5
|
+
export {
|
|
6
|
+
ALCHEMY_GLYPH_SVG
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/content-transfer/icon.ts"],"sourcesContent":["/** Pure Alchemy asset export. Safe to import without React or browser APIs. */\nexport const ALCHEMY_GLYPH_SVG = '<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>';\n"],"mappings":";;;AACO,IAAM,oBAAoB;","names":[]}
|