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

Upgrade @primer/stylelint-config to latest version 13.0.1 #3101

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

Conversation

jonrohan
Copy link
Member

Authors: Please fill out this form carefully and completely.

Reviewers: By approving this Pull Request you are approving the code change, as well as its deployment and mitigation plans.
Please read this description carefully. If you feel there is anything unclear or missing, please ask for updates.

What are you trying to accomplish?

Screenshots

Integration

List the issues that this change affects.

Closes # (type the GitHub issue number after #)

Risk Assessment

  • Low risk the change is small, highly observable, and easily rolled back.
  • Medium risk changes that are isolated, reduced in scope or could impact few users. The change will not impact library availability.
  • High risk changes are those that could impact customers and SLOs, low or no test coverage, low observability, or slow to rollback.

What approach did you choose and why?

Anything you want to highlight for special attention from reviewers?

Accessibility

  • Fixes axe scan violation - This change fixes an existing axe scan violation.
  • No new axe scan violation - This change does not introduce any new axe scan violations.
  • New axe violation - This change introduces a new axe scan violation. Please describe why the violation cannot be resolved below.

Merge checklist

  • Added/updated tests
  • Added/updated documentation
  • Added/updated previews (Lookbook)
  • 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.

@jonrohan jonrohan requested review from a team as code owners September 20, 2024 02:40
@jonrohan jonrohan requested review from langermank and removed request for a team September 20, 2024 02:40
Copy link

changeset-bot bot commented Sep 20, 2024

⚠️ No Changeset found

Latest commit: 8a75573

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@@ -492,7 +502,7 @@ nav-list {

& .ActionListItem-multiSelectIconRect {
fill: var(--bgColor-default);
border: var(--borderWidth-thin, 1px) solid var(--control-borderColor-rest);
border: var(--borderWidth-thin, var(--borderWidth-thin)) solid var(--control-borderColor-rest);
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
border: var(--borderWidth-thin, var(--borderWidth-thin)) solid var(--control-borderColor-rest);
border: var(--borderWidth-thin) solid var(--control-borderColor-rest);

Comment on lines +44 to 46
/* stylelint-disable-next-line primer/colors */
color: var(--control-borderColor-danger);
fill: var(--control-borderColor-danger);
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
/* stylelint-disable-next-line primer/colors */
color: var(--control-borderColor-danger);
fill: var(--control-borderColor-danger);
color: var(--control-danger-fgColor-rest);
fill: var(--control-danger-fgColor-rest);

Comment on lines +57 to 59
/* stylelint-disable-next-line primer/colors */
color: var(--control-borderColor-success);
fill: var(--control-borderColor-success);
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
/* stylelint-disable-next-line primer/colors */
color: var(--control-borderColor-success);
fill: var(--control-borderColor-success);
color: var(--fgColor-success);
fill: var(--fgColor-success);

@@ -154,7 +162,7 @@
transition: 80ms cubic-bezier(0.33, 1, 0.68, 1);
transition-property: color, background-color, box-shadow, border-color;
padding-inline: var(--control-medium-paddingInline-condensed);
padding-block: calc(var(--control-medium-paddingBlock, 6px) - var(--borderWidth-thin, 1px));
padding-block: calc(var(--control-medium-paddingBlock, var(--base-size-6)) - var(--borderWidth-thin, 1px));
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
padding-block: calc(var(--control-medium-paddingBlock, var(--base-size-6)) - var(--borderWidth-thin, 1px));
padding-block: calc(var(--control-medium-paddingBlock) - var(--borderWidth-thin));

display: flex;
width: var(--base-size-16);
/* stylelint-disable-next-line primer/spacing */
margin-top: 0.063rem;
Copy link
Contributor

Choose a reason for hiding this comment

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

holy cow

@@ -59,7 +62,7 @@
& .Box-btn-octicon {
&.btn-octicon {
padding: var(--stack-padding-spacious);
margin: calc(var(--stack-gap-spacious) * -1) calc(var(--stack-gap-spacious) * -1);
margin: calc(var(--stack-gap-spacious) * -1);
Copy link
Contributor

Choose a reason for hiding this comment

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

this change looks sus

Comment on lines +284 to +285
padding: var(--control-medium-paddingInline-spacious);
margin: calc(var(--controlStack-small-gap-spacious) * -1);
Copy link
Contributor

Choose a reason for hiding this comment

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

Same with these, but not sure?

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