Skip to content

📝 Deprecate ConfirmationPanel #3789

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

KenAJoh
Copy link
Collaborator

@KenAJoh KenAJoh commented May 14, 2025

Description

https://github.com/navikt/team-aksel/issues/707

https://aksel.nav.no/komponenter/legacy/confirmationpanel#99622218e7f0

Component Checklist 📝

  • JSDoc
  • Examples
  • Documentation / Decision Records
  • Storybook
  • Style mappings (@navikt/core/css/config/_mappings.js)
  • Component tokens (@navikt/core/css/tokens.json)
  • CSS class deprecations (@navikt/aksel-stylelint/src/deprecations.ts)
  • Exports (@navikt/core/react/src/index.ts and @navikt/core/react/package.json)
  • New component? CSS import (@navikt/core/css/index.css)
  • Breaking change? Update migration guide. Consider codemod.
  • Changeset (Format: <Component>: <gitmoji?> <Text>. E.g. "Button: ✨ Add feature xyz.")

@KenAJoh KenAJoh requested a review from Copilot May 14, 2025 11:30
Copy link

changeset-bot bot commented May 14, 2025

🦋 Changeset detected

Latest commit: 231930e

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR deprecates the ConfirmationPanel component by adding a deprecation notice to its JSDoc and updating the associated documentation references.

  • Added a deprecation tag in ConfirmationPanel.tsx with a new documentation link suggesting to use Checkbox instead.
  • Introduced a changeset file documenting the deprecation.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
@navikt/core/react/src/form/confirmation-panel/ConfirmationPanel.tsx Added a deprecation notice in the JSDoc comment.
.changeset/chatty-things-yawn.md Added a changeset entry indicating deprecation.

Copy link
Contributor

Storybook demo / Chromatic

2bbb57596 | 91 components | 135 stories

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant