@medalsocial/meda 2.5.0 → 2.5.2

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.
@@ -7,5 +7,10 @@ const layoutClass = {
7
7
  fullbleed: 'w-full',
8
8
  };
9
9
  export function ShellMain({ layout = 'workspace', className, children }) {
10
- return (_jsx("main", { "data-meda-shell-main-layout": layout, className: cn('flex-1 min-w-0 overflow-y-auto bg-shell-main', layoutClass[layout], className), children: children }));
10
+ return (_jsx("main", { "data-meda-shell-main-layout": layout, className: cn(
11
+ // `flex flex-col` is required so full-height content regions (pages that
12
+ // use `flex-1` to fill the main area) get a flex-column parent with a
13
+ // definite height. Without it, those regions collapse and clip their
14
+ // content (e.g. the Posts list rendered but stayed blank).
15
+ 'flex flex-col flex-1 min-w-0 overflow-y-auto bg-shell-main', layoutClass[layout], className), children: children }));
11
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medalsocial/meda",
3
- "version": "2.5.0",
3
+ "version": "2.5.2",
4
4
  "description": "Shared Meda UI shell and runtime package.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -168,7 +168,7 @@
168
168
  }
169
169
  },
170
170
  "dependencies": {
171
- "@base-ui/react": "1.5.0",
171
+ "@base-ui/react": "1.6.0",
172
172
  "@fontsource-variable/geist": "5.2.8",
173
173
  "@fontsource-variable/geist-mono": "5.2.7",
174
174
  "class-variance-authority": "0.7.1",