@ai-matrx/canvas 0.2.0 → 0.2.1

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,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.1
4
+
5
+ - `BrowserBar` keeps its own 40px height in a panel body. 0.2.0 gave it `flex: 1 1 auto`, so in a column body it grew and sat in the middle of the panel (seen in the desktop browser panel). It still fills the width in a header's leading slot.
6
+
7
+ ### Consumer action
8
+
9
+ - None.
10
+
3
11
  ## 0.2.0
4
12
 
5
13
  One canvas for the web app and the desktop app: the package now owns the pane chrome everywhere and carries what an Electron host needs (a store in the main process, native views, several windows).
package/dist/styles.css CHANGED
@@ -393,8 +393,9 @@
393
393
 
394
394
  /* ── browser bar ────────────────────────────────────────────────────────── */
395
395
 
396
+ /* In a body column it keeps its own height; in a header's leading slot it fills the width. */
396
397
  .mxc-browser-bar {
397
- flex: 1 1 auto;
398
+ flex: none;
398
399
  min-width: 0;
399
400
  display: flex;
400
401
  align-items: center;
@@ -404,6 +405,7 @@
404
405
  }
405
406
 
406
407
  .mxc-pane-leading > .mxc-browser-bar {
408
+ flex: 1 1 auto;
407
409
  height: auto;
408
410
  padding: 0;
409
411
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/canvas",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "The AI Matrx canvas: a docked right-hand column with split panes, tabs, full screen, a kind registry, Redux-compatible state and persistence.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",