@ai-matrx/design-system 0.18.13 → 0.18.14
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 +6 -0
- package/dist/content-transfer.cjs +5 -1
- package/dist/content-transfer.cjs.map +1 -1
- package/dist/content-transfer.css +20 -6
- package/dist/content-transfer.js +5 -1
- package/dist/content-transfer.js.map +1 -1
- package/dist/data-table/data-row-inspector.cjs +5 -1
- package/dist/data-table/data-row-inspector.cjs.map +1 -1
- package/dist/data-table/data-row-inspector.js +5 -1
- package/dist/data-table/data-row-inspector.js.map +1 -1
- package/dist/data-table/data-row-window.cjs +5 -1
- package/dist/data-table/data-row-window.cjs.map +1 -1
- package/dist/data-table/data-row-window.js +5 -1
- package/dist/data-table/data-row-window.js.map +1 -1
- package/dist/data-table/index.cjs +24 -18
- package/dist/data-table/index.cjs.map +1 -1
- package/dist/data-table/index.js +24 -18
- package/dist/data-table/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -49,6 +49,7 @@ var import_content_transfer2 = require("@ai-matrx/kit/content-transfer");
|
|
|
49
49
|
|
|
50
50
|
// src/content-transfer/index.tsx
|
|
51
51
|
var React7 = __toESM(require("react"), 1);
|
|
52
|
+
var import_react_dom = require("react-dom");
|
|
52
53
|
var import_content_transfer = require("@ai-matrx/kit/content-transfer");
|
|
53
54
|
|
|
54
55
|
// src/button.tsx
|
|
@@ -999,7 +1000,10 @@ function ContentTransferMenuSession({ source, surface, label, projection, sectio
|
|
|
999
1000
|
}, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(MenuPresentation, { ...action, label: action.label }) }, action.id)) }) : null
|
|
1000
1001
|
] })
|
|
1001
1002
|
] }),
|
|
1002
|
-
notice ? /* @__PURE__ */ (0, import_jsx_runtime7.
|
|
1003
|
+
notice && triggerRef.current ? (0, import_react_dom.createPortal)(/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "matrx-alchemy-feedback", children: [
|
|
1004
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { role: "status", children: notice }),
|
|
1005
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("button", { type: "button", "aria-label": "Dismiss Alchemy feedback", onClick: () => setNotice(null), children: "\xD7" })
|
|
1006
|
+
] }), triggerRef.current.ownerDocument.body) : null,
|
|
1003
1007
|
Object.values(workspaces).map((saved) => /* @__PURE__ */ (0, import_jsx_runtime7.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))
|
|
1004
1008
|
] });
|
|
1005
1009
|
}
|