@ai-matrx/canvas 0.5.2 → 0.5.3
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 +8 -0
- package/dist/react.cjs +4 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +4 -1
- package/dist/react.js.map +1 -1
- package/dist/styles.css +8 -0
- package/package.json +1 -1
package/dist/react.js
CHANGED
|
@@ -2786,7 +2786,10 @@ function CanvasPaneView({ paneId }) {
|
|
|
2786
2786
|
/* @__PURE__ */ jsx7(CanvasHeaderButton, { className: "mxc-new-tab", label: "New tab", onClick: () => void canvas.newTab(paneId), children: /* @__PURE__ */ jsx7(PlusIcon, {}) })
|
|
2787
2787
|
] }),
|
|
2788
2788
|
leading: Leading && kindProps ? /* @__PURE__ */ jsx7(Leading, { ...kindProps }) : null,
|
|
2789
|
-
actions: Action && kindProps ?
|
|
2789
|
+
actions: Action && kindProps ? (
|
|
2790
|
+
// Its own gapless row: a kind's tap buttons space themselves (the tap-target placement rule).
|
|
2791
|
+
/* @__PURE__ */ jsx7("span", { className: "mxc-kind-actions", children: /* @__PURE__ */ jsx7(Action, { ...kindProps }) })
|
|
2792
|
+
) : null,
|
|
2790
2793
|
renderMenu: () => /* @__PURE__ */ jsx7(PaneMenu, { paneId, windowId, activeItem: active, kind, kindProps, tabCount: pane.itemIds.length, role }),
|
|
2791
2794
|
expanded: isFullscreen,
|
|
2792
2795
|
onToggleExpand: () => canvas.setFullscreen(!isFullscreen),
|