-
Notifications
You must be signed in to change notification settings - Fork 542
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
feat(LabelGroup): Remove sxProp #5425
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 48a5d19 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
👋 Hi, this pull request contains changes to the source code that github/github depends on. If you are GitHub staff, we recommend testing these changes with github/github using the integration workflow. Thanks! |
size-limit report 📦
|
👋 Hi, there are new commits since the last successful integration test. We recommend running the integration workflow once more, unless you are sure the new changes do not affect github/github. Thanks! |
👋 Hi, there are new commits since the last successful integration test. We recommend running the integration workflow once more, unless you are sure the new changes do not affect github/github. Thanks! |
@@ -29,6 +29,11 @@ export interface SxProp { | |||
sx?: BetterSystemStyleObject | |||
} | |||
|
|||
export interface DeprecatedSxProp { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding DeprecatedSxProp
for other components to use in the batch: https://github.com/github/primer/issues/4261
cc: @lindseywild
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe Stack won't work very well here, I'm not really sure. If we keep the classes could we rename them to be more specific like how we write component CSS elsewhere? I know these are generated but just thinking it could be cleaner for this case to be named 😄 this is nitpicky and not blocking
<div className={classes.Div_0} style={{width: overlayWidth, padding: `${overlayPaddingPx}px`}}> | ||
<div className={classes.Div_1}>{children}</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<div className={classes.Div_0} style={{width: overlayWidth, padding: `${overlayPaddingPx}px`}}> | |
<div className={classes.Div_1}>{children}</div> | |
<Stack align="start" style={{width: overlayWidth, padding: `${overlayPaddingPx}px`}}> | |
<StackItem><Stack wrap="wrap" gap="condensed">{children}</Stack></StackItem> |
I guess condensed
is 8px, though 🤷
👋 Hi, there are new commits since the last successful integration test. We recommend running the integration workflow once more, unless you are sure the new changes do not affect github/github. Thanks! |
@langermank let me know what you think of the new classnames (naming is hard 😅): a32da29. Since removing sx is intended for the next |
👋 Hi, there are new commits since the last successful integration test. We recommend running the integration workflow once more, unless you are sure the new changes do not affect github/github. Thanks! |
👋 Hi, there are new commits since the last successful integration test. We recommend running the integration workflow once more, unless you are sure the new changes do not affect github/github. Thanks! |
👋 Hi from github/github! Your integration PR is ready: https://github.com/github/github/pull/354877 |
🟢 golden-jobs completed with status |
Changelog
New
Add
DeprecatedSxProp
interface for future deprecated sx componentsChanged
Convert
Box
to divRemoved
Remove SxProp from LabelGroup because there are no results on Primer Query: https://primer-query.githubapp.com/?attribute=%22sx%22&name=labelgroup
Rollout strategy
Testing & Reviewing
Merge checklist