@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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.3
|
|
4
|
+
|
|
5
|
+
- A kind's `HeaderAction` renders in its own gapless row (`.mxc-kind-actions`): tap-target buttons space themselves, and the pane's 2px action gap tripped the tap-target misuse guard over the tab strip (seen live with Quick Chat).
|
|
6
|
+
|
|
7
|
+
### Consumer action
|
|
8
|
+
|
|
9
|
+
- None.
|
|
10
|
+
|
|
3
11
|
## 0.5.2
|
|
4
12
|
|
|
5
13
|
Live check at a 380px canvas with five tabs: background tabs still showed ~3 letters.
|
package/dist/react.cjs
CHANGED
|
@@ -2827,7 +2827,10 @@ function CanvasPaneView({ paneId }) {
|
|
|
2827
2827
|
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(CanvasHeaderButton, { className: "mxc-new-tab", label: "New tab", onClick: () => void canvas.newTab(paneId), children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(PlusIcon, {}) })
|
|
2828
2828
|
] }),
|
|
2829
2829
|
leading: Leading && kindProps ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Leading, { ...kindProps }) : null,
|
|
2830
|
-
actions: Action && kindProps ?
|
|
2830
|
+
actions: Action && kindProps ? (
|
|
2831
|
+
// Its own gapless row: a kind's tap buttons space themselves (the tap-target placement rule).
|
|
2832
|
+
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "mxc-kind-actions", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Action, { ...kindProps }) })
|
|
2833
|
+
) : null,
|
|
2831
2834
|
renderMenu: () => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(PaneMenu, { paneId, windowId, activeItem: active, kind, kindProps, tabCount: pane.itemIds.length, role }),
|
|
2832
2835
|
expanded: isFullscreen,
|
|
2833
2836
|
onToggleExpand: () => canvas.setFullscreen(!isFullscreen),
|