Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to PanelStack2 #7291

Open
ggdouglas opened this issue Mar 2, 2025 · 0 comments
Open

Migrate to PanelStack2 #7291

ggdouglas opened this issue Mar 2, 2025 · 0 comments
Assignees
Milestone

Comments

@ggdouglas
Copy link
Contributor

Transition from the deprecated PanelStack to the standardized PanelStack2.

Note: PanelStack has been deprecated since @blueprintjs/core v3.40.0

Tasks:

  • Replace deprecated components with v2 versions:
    • Rename panelStack2.tsx to panelStack.tsx
    • Rename panelView2.tsx to panelView.tsx
    • Rename _panel-stack2.scss to _panel-stack.scss
  • Remove legacy tests, documentation, and examples related to PanelStack.
  • Update exported modules to use PanelStack2.

References

https://blueprintjs.com/docs/#core/components/panel-stack

This API is deprecated since @blueprintjs/core v3.40.0 in favor of the new PanelStack2 component. You should migrate to the new API which will become the standard in a future major version of Blueprint.

https://blueprintjs.com/docs/#core/components/panel-stack2

PanelStack2 is a replacement for PanelStack. It will become the standard API in a future major version of Blueprint. You are encouraged to use this new API now for forwards-compatibility. See the full migration guide on the wiki.

// TODO(@adidahiya): Blueprint v6
// PanelStack: "PanelStack2",

PanelStack2 migration guide

@ggdouglas ggdouglas added this to the 6.0.0 milestone Mar 2, 2025
@ggdouglas ggdouglas changed the title Migrate to PanelStack2 Migrate to PanelStack2 Mar 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants