@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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.18.14
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/design-system/v0.18.13..npm/design-system/v0.18.14 -- apps/shared/design-system`).
7
+ No source changes intended and no consumer action required.
8
+
3
9
  ## 0.18.13
4
10
 
5
11
  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
@@ -1611,7 +1612,10 @@ function ContentTransferMenuSession({ source, surface, label, projection, sectio
1611
1612
  }, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(MenuPresentation, { ...action, label: action.label }) }, action.id)) }) : null
1612
1613
  ] })
1613
1614
  ] }),
1614
- notice ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "matrx-alchemy-notice", role: "status", children: notice }) : null,
1615
+ notice && triggerRef.current ? (0, import_react_dom.createPortal)(/* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { className: "matrx-alchemy-feedback", children: [
1616
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { role: "status", children: notice }),
1617
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("button", { type: "button", "aria-label": "Dismiss Alchemy feedback", onClick: () => setNotice(null), children: "\xD7" })
1618
+ ] }), triggerRef.current.ownerDocument.body) : null,
1615
1619
  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
1620
  ] });
1617
1621
  }