Skip to content

Add horizontal alignment to column configuration #3068

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

Merged
merged 5 commits into from
Mar 28, 2023
Merged

Conversation

mperrotti
Copy link
Contributor

Closes https://github.com/github/primer/issues/1959

Screenshots

Kapture 2023-03-23 at 10 25 54

Merge checklist

  • Added/updated tests
  • Added/updated documentation
  • Tested in Chrome
  • Tested in Firefox
  • Tested in Safari
  • Tested in Edge

Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.

@mperrotti mperrotti requested review from a team and joshblack March 23, 2023 15:12
@changeset-bot
Copy link

changeset-bot bot commented Mar 23, 2023

🦋 Changeset detected

Latest commit: fb61132

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

This PR includes changesets to release 1 package
Name Type
@primer/react Minor

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

@github-actions
Copy link
Contributor

github-actions bot commented Mar 23, 2023

size-limit report 📦

Path Size
dist/browser.esm.js 95 KB (0%)
dist/browser.umd.js 95.55 KB (0%)

@mperrotti mperrotti temporarily deployed to github-pages March 23, 2023 15:19 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-3068 March 23, 2023 15:20 Inactive
Copy link
Member

@joshblack joshblack left a comment

Choose a reason for hiding this comment

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

Looks great! Just left a comment for the CSS Selector.

Also wanted to ask if we wanted a shared Alignment or BlockAlignment type after seeing the ToggleSwitch update. I think seeing CellAlignment there was unexpected since I didn't think of it as a cell but totally get wanting alignment values to be consistent across the library/design system 👍

justify-content: flex-end;
}

.TableHeader[data-cell-align='end'] > button {
Copy link
Member

Choose a reason for hiding this comment

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

Could we add a class to the table sort button instead of using an element selector?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure!

@mperrotti mperrotti requested a review from joshblack March 23, 2023 22:13
@mperrotti mperrotti temporarily deployed to github-pages March 23, 2023 22:19 — with GitHub Actions Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-3068 March 23, 2023 22:19 Inactive
Copy link
Member

@joshblack joshblack left a comment

Choose a reason for hiding this comment

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

🥳

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.

2 participants