Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/codemod-node-engines.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@chakra-ui/codemod": patch
---

Require Node.js >=22 (Node 18 and 20 are end-of-life)
7 changes: 7 additions & 0 deletions .changeset/floating-panel-min-size.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@chakra-ui/react": patch
---

Add a default `minSize` of `{ width: 240, height: 100 }` to `FloatingPanel.Root`
to prevent the panel from being resized to zero. Pass your own `minSize` to
override it.
2 changes: 1 addition & 1 deletion apps/www/docs.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ const docsLinks: NavItem = {
{ title: "Action Bar", url: "action-bar" },
{ title: "Dialog", url: "dialog" },
{ title: "Drawer", url: "drawer" },
// { title: "Floating Panel", url: "floating-panel", status: "new" },
{ title: "Floating Panel", url: "floating-panel", status: "new" },
{ title: "Hover Card", url: "hover-card" },
{ title: "Menu", url: "menu" },
{ title: "Overlay Manager", url: "overlay-manager" },
Expand Down
11 changes: 2 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,8 @@
"vitest-axe": "0.1.0",
"vitest-matchmedia-mock": "2.0.3"
},
"pnpm": {
"overrides": {
"react": "19.2.6",
"react-dom": "19.2.6",
"immer": ">=11.0.1"
}
},
"packageManager": "pnpm@10.33.0",
"packageManager": "pnpm@11.5.3",
"engines": {
"node": ">=20.x"
"node": ">=22.x"
}
}
2 changes: 1 addition & 1 deletion packages/codemod/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@
"./package.json": "./package.json"
},
"engines": {
"node": ">=18"
"node": ">=22"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,13 @@ export interface FloatingPanelRootProps extends FloatingPanelRootBaseProps {

export const FloatingPanelRoot = withRootProvider<FloatingPanelRootProps>(
ArkFloatingPanel.Root,
{ defaultProps: { lazyMount: true, unmountOnExit: true } },
{
defaultProps: {
lazyMount: true,
unmountOnExit: true,
minSize: { width: 240, height: 100 },
},
},
)

////////////////////////////////////////////////////////////////////////////////////
Expand Down
58 changes: 5 additions & 53 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@ packages:
- sandbox/**
- apps/**

overrides:
react: 19.2.6
react-dom: 19.2.6
immer: ">=11.0.1"

allowBuilds:
esbuild: true
sharp: true
unrs-resolver: true

onlyBuiltDependencies:
- esbuild
- sharp
Expand Down
Loading