@meith/theme-default 0.3.2 → 0.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meith/theme-default",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Meith's default theme — every slot and every token, and the reference for what a complete theme fills.",
5
5
  "license": "LGPL-3.0-or-later",
6
6
  "repository": {
@@ -20,8 +20,8 @@
20
20
  "access": "public"
21
21
  },
22
22
  "dependencies": {
23
- "@meith/theme-kit": "^0.3.2",
24
- "@meith/ui": "^0.3.2"
23
+ "@meith/theme-kit": "^0.3.3",
24
+ "@meith/ui": "^0.3.3"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "react": "^19.2.0"
@@ -1,16 +1,18 @@
1
1
  import { cn } from '@meith/ui'
2
2
  import type { PanelPageModel, PanelSectionModel } from '@meith/theme-kit'
3
3
 
4
- import { MUTED_LINK } from '../shared'
4
+ import { MUTED_LINK, PAGE, pageAt } from '../shared'
5
5
 
6
- export function PanelPage({ title, back, width, gap, regions, children }: PanelPageModel) {
6
+ export function PanelPage({ title, back, frame, width, gap, regions, children }: PanelPageModel) {
7
7
  return (
8
8
  <main
9
9
  id="board-content"
10
10
  tabIndex={-1}
11
11
  className={cn(
12
- 'flex w-full flex-col px-6 py-8',
13
- width === 'wide' ? 'max-w-none' : 'max-w-4xl',
12
+ 'flex w-full flex-col py-8',
13
+ frame === 'standalone'
14
+ ? `flex-1 ${width === 'wide' ? PAGE : pageAt('max-w-4xl')}`
15
+ : `px-6 ${width === 'wide' ? 'max-w-none' : 'max-w-4xl'}`,
14
16
  gap === 'loose' ? 'gap-8' : 'gap-6',
15
17
  )}
16
18
  >