@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/index.js
CHANGED
|
@@ -1021,7 +1021,11 @@ var CANVAS_PANE_MIN_WIDTH = 280;
|
|
|
1021
1021
|
var CANVAS_WEB_LAYOUT_RULES = {
|
|
1022
1022
|
defaultWidth: CANVAS_DEFAULT_WIDTH,
|
|
1023
1023
|
minWidth: CANVAS_MIN_WIDTH,
|
|
1024
|
-
|
|
1024
|
+
// The page beside the canvas keeps room for its route header (title, mode switch,
|
|
1025
|
+
// the shell's own controls): a 2026-10-03 census of 40 routes found headers 29-67px
|
|
1026
|
+
// wide at 420 with a 900px canvas. Hosts pass `regionWidth` so this is the PAGE's
|
|
1027
|
+
// width, not the window's.
|
|
1028
|
+
centreMinWidth: 600,
|
|
1025
1029
|
// Split down 70/30 like the desktop: what opens below (notifications, a feed) is the smaller pane.
|
|
1026
1030
|
stackSplit: 0.7,
|
|
1027
1031
|
sideSplit: 0.5,
|