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

Update slot use in examples for all components in the beta folder #1293

Merged
merged 16 commits into from
Aug 10, 2022

Conversation

mxriverlynn
Copy link
Contributor

@mxriverlynn mxriverlynn commented Aug 10, 2022

this PR updates all components in the beta/ folder to use the new .with_#{slot_name} syntax in docs examples

it also adds the missing status :beta to Beta::BorderBox::Header

Updated components

  • Beta::AutoComplete
  • Beta::AvatarStack
  • Beta::BorderBox / BorderBox::Header
  • Beta::BreadCrumbs
  • Beta::ButtonGroup
  • Beta::Flash
  • Beta::Truncate

Screenshots

auto complete:
image

avatar stack:
image

border box:
image

bread crumbs:
image

button group:
image

flash:
image

truncate:
image

@changeset-bot
Copy link

changeset-bot bot commented Aug 10, 2022

🦋 Changeset detected

Latest commit: e5c4d1d

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 August 10, 2022 14:09 Inactive
@mxriverlynn mxriverlynn temporarily deployed to github-pages August 10, 2022 14:39 Inactive
@mxriverlynn mxriverlynn temporarily deployed to github-pages August 10, 2022 14:45 Inactive
@primer-css primer-css temporarily deployed to github-pages August 10, 2022 14:51 Inactive
class Header < Primer::Component
status :beta
Copy link
Contributor Author

Choose a reason for hiding this comment

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

i was previously told sub components don't need a status, but i found that they show up as alpha status in static/statuses.json if they don't have one specifically set. so i think we should include them

@mxriverlynn mxriverlynn changed the title [WIP] Update slot use in examples for all components in the beta folder Update slot use in examples for all components in the beta folder Aug 10, 2022
@mxriverlynn mxriverlynn marked this pull request as ready for review August 10, 2022 15:04
@mxriverlynn mxriverlynn enabled auto-merge (squash) August 10, 2022 15:04
@mxriverlynn mxriverlynn temporarily deployed to github-pages August 10, 2022 15:07 Inactive
@mxriverlynn mxriverlynn merged commit 4d1e8d2 into main Aug 10, 2022
@mxriverlynn mxriverlynn deleted the mxriverlynn/beta-component-slot-updates branch August 10, 2022 19:24
@primer-css primer-css mentioned this pull request Aug 10, 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