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

move Primer::BorderBoxComponent and Header, to Beta::BorderBox #1255

Merged
merged 21 commits into from
Aug 2, 2022

Conversation

mxriverlynn
Copy link
Contributor

@mxriverlynn mxriverlynn commented Aug 1, 2022

split from #676

this PR renames the Primer::BorderBoxComponent and moves it into the beta folder, along with it's Header sub-component.

  • Primer::BorderBoxComponent -> Primer::Beta::BorderBox
  • Primer::BorderBoxComponent::Header -> Primer::Beta::BorderBox::Header

it also updates all of the tests, documentation, stories, links, and references to these components. and it re-creates the original BorderBoxComponent as a deprecated component, inheriting from the beta version.

files to note when reviewing

there are a lot of files updated in this PR, due to the component and sub-component both moving. these are the files you should pay most attention to, while reviewing:

screenshots

updated documentation navigation and url:
image

updated stories component tree and url:
image

@changeset-bot
Copy link

changeset-bot bot commented Aug 1, 2022

🦋 Changeset detected

Latest commit: 1b425f9

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

@primer-css primer-css temporarily deployed to github-pages August 1, 2022 17:34 Inactive
@primer-css primer-css temporarily deployed to github-pages August 2, 2022 13:50 Inactive
@mxriverlynn mxriverlynn mentioned this pull request Aug 2, 2022
54 tasks
@mxriverlynn mxriverlynn temporarily deployed to github-pages August 2, 2022 14:30 Inactive
@mxriverlynn mxriverlynn temporarily deployed to github-pages August 2, 2022 14:47 Inactive
@mxriverlynn mxriverlynn changed the title [WIP] move Primer::BorderBoxComponent to Beta::BorderBox move Primer::BorderBoxComponent and Header, to Beta::BorderBox Aug 2, 2022
@mxriverlynn mxriverlynn marked this pull request as ready for review August 2, 2022 14:59
@mxriverlynn mxriverlynn requested review from a team and camertron August 2, 2022 14:59
# `BorderBox::Header` is used inside `BorderBox` to render its header slot.
#
# @accessibility When using `header.title`, set `tag` to one of `h1`, `h2`, `h3`, etc. based on what is appropriate for the page context. <%= link_to_heading_practices %>
class Header < Primer::Component
status :beta
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe only top-level components have statuses?

@camertron
Copy link
Contributor

@mxriverlynn oh also, please add a changeset 😄

@primer-css primer-css temporarily deployed to github-pages August 2, 2022 18:55 Inactive
@mxriverlynn mxriverlynn temporarily deployed to github-pages August 2, 2022 20:14 Inactive
@mxriverlynn mxriverlynn enabled auto-merge (squash) August 2, 2022 20:19
@mxriverlynn mxriverlynn temporarily deployed to github-pages August 2, 2022 20:20 Inactive
@mxriverlynn mxriverlynn merged commit 3729a9b into main Aug 2, 2022
@mxriverlynn mxriverlynn deleted the move-border-box-to-beta branch August 2, 2022 20:25
@primer-css primer-css mentioned this pull request Aug 2, 2022
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.

4 participants