Skip to content

Deprecate Primer::ButtonComponent in favor of Primer::Beta::Button#1396

Merged
mxriverlynn merged 4 commits intomainfrom
mxriverlynn/deprecate-button-component
Sep 21, 2022
Merged

Deprecate Primer::ButtonComponent in favor of Primer::Beta::Button#1396
mxriverlynn merged 4 commits intomainfrom
mxriverlynn/deprecate-button-component

Conversation

@mxriverlynn
Copy link
Contributor

with the CI changes that have been made in the dotcom repo, we can safely deprecate components in PVC without requiring an all-or-nothing update in dotcom.

this PR marks the Primer::ButtonComponent as deprecated in favor of Primer::Beta::Button. it also corrects the primer.style navigation so the Button link in the nav takes you to the beta button instead of the deprecated version.

image

@changeset-bot
Copy link

changeset-bot bot commented Sep 21, 2022

🦋 Changeset detected

Latest commit: 91500c1

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

This PR includes changesets to release 1 package
Name Type
@primer/view-components Patch

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

@mxriverlynn mxriverlynn temporarily deployed to github-pages September 21, 2022 15:13 Inactive
@mxriverlynn mxriverlynn marked this pull request as ready for review September 21, 2022 15:45
@mxriverlynn mxriverlynn requested review from a team, joelhawksley and jonrohan September 21, 2022 15:45
Copy link
Member

@jonrohan jonrohan left a comment

Choose a reason for hiding this comment

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

Woo hoo 🥇

@mxriverlynn mxriverlynn merged commit e0c50dc into main Sep 21, 2022
@mxriverlynn mxriverlynn deleted the mxriverlynn/deprecate-button-component branch September 21, 2022 15:58
@primer-css primer-css mentioned this pull request Sep 21, 2022
mxriverlynn added a commit that referenced this pull request Sep 28, 2022
mxriverlynn added a commit that referenced this pull request Sep 28, 2022
* Revert "Deprecate Primer::ButtonComponent in favor of Primer::Beta::Button (#1396)"

This reverts commit e0c50dc.

* re-fix the navigation for button

* added changeset
jonrohan pushed a commit that referenced this pull request Sep 30, 2022
* Revert "Deprecate Primer::ButtonComponent in favor of Primer::Beta::Button (#1396)"

This reverts commit e0c50dc.

* re-fix the navigation for button

* added changeset
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.

3 participants