@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
|
@@ -387,6 +387,7 @@ import {
|
|
|
387
387
|
|
|
388
388
|
// src/content-transfer/index.tsx
|
|
389
389
|
import * as React7 from "react";
|
|
390
|
+
import { createPortal } from "react-dom";
|
|
390
391
|
import {
|
|
391
392
|
applySectionSelection,
|
|
392
393
|
applyTransferLimits,
|
|
@@ -1043,7 +1044,10 @@ function ContentTransferMenuSession({ source, surface, label, projection, sectio
|
|
|
1043
1044
|
}, children: /* @__PURE__ */ jsx10(MenuPresentation, { ...action, label: action.label }) }, action.id)) }) : null
|
|
1044
1045
|
] })
|
|
1045
1046
|
] }),
|
|
1046
|
-
notice ? /* @__PURE__ */
|
|
1047
|
+
notice && triggerRef.current ? createPortal(/* @__PURE__ */ jsxs5("div", { className: "matrx-alchemy-feedback", children: [
|
|
1048
|
+
/* @__PURE__ */ jsx10("span", { role: "status", children: notice }),
|
|
1049
|
+
/* @__PURE__ */ jsx10("button", { type: "button", "aria-label": "Dismiss Alchemy feedback", onClick: () => setNotice(null), children: "\xD7" })
|
|
1050
|
+
] }), triggerRef.current.ownerDocument.body) : null,
|
|
1047
1051
|
Object.values(workspaces).map((saved) => /* @__PURE__ */ jsx10(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))
|
|
1048
1052
|
] });
|
|
1049
1053
|
}
|