@ai-matrx/canvas 0.7.2 → 0.7.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 +10 -0
- package/README.md +1 -1
- package/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/react.cjs +5 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.js +5 -1
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
package/dist/react.cjs
CHANGED
|
@@ -1057,7 +1057,11 @@ var CANVAS_PANE_MIN_WIDTH = 280;
|
|
|
1057
1057
|
var CANVAS_WEB_LAYOUT_RULES = {
|
|
1058
1058
|
defaultWidth: CANVAS_DEFAULT_WIDTH,
|
|
1059
1059
|
minWidth: CANVAS_MIN_WIDTH,
|
|
1060
|
-
|
|
1060
|
+
// The page beside the canvas keeps room for its route header (title, mode switch,
|
|
1061
|
+
// the shell's own controls): a 2026-10-03 census of 40 routes found headers 29-67px
|
|
1062
|
+
// wide at 420 with a 900px canvas. Hosts pass `regionWidth` so this is the PAGE's
|
|
1063
|
+
// width, not the window's.
|
|
1064
|
+
centreMinWidth: 600,
|
|
1061
1065
|
// Split down 70/30 like the desktop: what opens below (notifications, a feed) is the smaller pane.
|
|
1062
1066
|
stackSplit: 0.7,
|
|
1063
1067
|
sideSplit: 0.5,
|