@ai-matrx/design-system 0.18.13 → 0.18.15
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 +12 -0
- package/dist/content-transfer.cjs +23 -12
- package/dist/content-transfer.cjs.map +1 -1
- package/dist/content-transfer.css +28 -6
- package/dist/content-transfer.js +23 -12
- package/dist/content-transfer.js.map +1 -1
- package/dist/data-table/data-row-inspector.cjs +23 -12
- package/dist/data-table/data-row-inspector.cjs.map +1 -1
- package/dist/data-table/data-row-inspector.js +23 -12
- package/dist/data-table/data-row-inspector.js.map +1 -1
- package/dist/data-table/data-row-window.cjs +23 -12
- package/dist/data-table/data-row-window.cjs.map +1 -1
- package/dist/data-table/data-row-window.js +23 -12
- package/dist/data-table/data-row-window.js.map +1 -1
- package/dist/data-table/index.cjs +42 -29
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.js +42 -29
- package/dist/data-table/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.18.15
|
|
4
|
+
|
|
5
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
6
|
+
`git diff npm/design-system/v0.18.14..npm/design-system/v0.18.15 -- apps/shared/design-system`).
|
|
7
|
+
No source changes intended and no consumer action required.
|
|
8
|
+
|
|
9
|
+
## 0.18.14
|
|
10
|
+
|
|
11
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
12
|
+
`git diff npm/design-system/v0.18.13..npm/design-system/v0.18.14 -- apps/shared/design-system`).
|
|
13
|
+
No source changes intended and no consumer action required.
|
|
14
|
+
|
|
3
15
|
## 0.18.13
|
|
4
16
|
|
|
5
17
|
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
@@ -48,6 +48,7 @@ __export(content_transfer_exports, {
|
|
|
48
48
|
});
|
|
49
49
|
module.exports = __toCommonJS(content_transfer_exports);
|
|
50
50
|
var React8 = __toESM(require("react"), 1);
|
|
51
|
+
var import_react_dom = require("react-dom");
|
|
51
52
|
var import_content_transfer2 = require("@ai-matrx/kit/content-transfer");
|
|
52
53
|
|
|
53
54
|
// src/button.tsx
|
|
@@ -504,15 +505,18 @@ var structuredPayload = (value) => {
|
|
|
504
505
|
);
|
|
505
506
|
return {
|
|
506
507
|
kind: "json",
|
|
507
|
-
value: (0, import_content_transfer.normalizeTransferJson)(
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
508
|
+
value: (0, import_content_transfer.normalizeTransferJson)(
|
|
509
|
+
{
|
|
510
|
+
kind: value.kind,
|
|
511
|
+
location: value.location,
|
|
512
|
+
description: value.description,
|
|
513
|
+
data: value.data,
|
|
514
|
+
...value.summary !== void 0 ? { summary: value.summary } : {},
|
|
515
|
+
attributes: clean(value.attributes),
|
|
516
|
+
context: clean(value.context)
|
|
517
|
+
},
|
|
518
|
+
{ omitUndefinedObjectProperties: true }
|
|
519
|
+
)
|
|
516
520
|
};
|
|
517
521
|
};
|
|
518
522
|
var actionDone = (message) => ({
|
|
@@ -567,12 +571,16 @@ function MatrxCopyMenuSession(props) {
|
|
|
567
571
|
})) : void 0;
|
|
568
572
|
const json = aiVisible && props.json !== void 0 ? make("json", () => ({
|
|
569
573
|
kind: "json",
|
|
570
|
-
value: (0, import_content_transfer.normalizeTransferJson)(resolve(props.json)
|
|
574
|
+
value: (0, import_content_transfer.normalizeTransferJson)(resolve(props.json), {
|
|
575
|
+
omitUndefinedObjectProperties: true
|
|
576
|
+
})
|
|
571
577
|
})) : void 0;
|
|
572
578
|
const agent = aiVisible && props.agent !== void 0 ? make("agent", () => asPayload(resolve(props.agent))) : void 0;
|
|
573
579
|
const structuredAgent = aiVisible && props.agent !== void 0 ? make("structured-agent", () => structuredPayload(resolve(props.agent))) : void 0;
|
|
574
580
|
const table = (exportVisible || props.primarySource === "table") && props.export?.sheetRows ? make("rows", () => {
|
|
575
|
-
const value = (0, import_content_transfer.normalizeTransferJson)(props.export.sheetRows()
|
|
581
|
+
const value = (0, import_content_transfer.normalizeTransferJson)(props.export.sheetRows(), {
|
|
582
|
+
omitUndefinedObjectProperties: true
|
|
583
|
+
});
|
|
576
584
|
if (!Array.isArray(value) || value.some(
|
|
577
585
|
(row) => row === null || typeof row !== "object" || Array.isArray(row)
|
|
578
586
|
))
|
|
@@ -1611,7 +1619,10 @@ function ContentTransferMenuSession({ source, surface, label, projection, sectio
|
|
|
1611
1619
|
}, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(MenuPresentation, { ...action, label: action.label }) }, action.id)) }) : null
|
|
1612
1620
|
] })
|
|
1613
1621
|
] }),
|
|
1614
|
-
notice ? /* @__PURE__ */ (0, import_jsx_runtime8.
|
|
1622
|
+
notice && triggerRef.current ? (0, import_react_dom.createPortal)(/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "matrx-alchemy-feedback", children: [
|
|
1623
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { role: "status", children: notice }),
|
|
1624
|
+
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)("button", { type: "button", "aria-label": "Dismiss Alchemy feedback", onClick: () => setNotice(null), children: "\xD7" })
|
|
1625
|
+
] }), triggerRef.current.ownerDocument.body) : null,
|
|
1615
1626
|
Object.values(workspaces).map((saved) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(PreparationWorkspace, { restoreFocus: () => triggerRef.current?.focus(), open: workspaceOpen && workspaceKey === saved.key, state: saved, scopes, onClose: () => setWorkspaceOpen(false), onChange: (next) => setWorkspaces((current) => ({ ...current, [saved.key]: next })), transport, adapters, captureScope: workspaceCaptures.current.get(saved.key) ?? capturePrimary, ...ai ? { ai } : {}, onOutcome: report }, saved.key))
|
|
1616
1627
|
] });
|
|
1617
1628
|
}
|