Skip to content

feat: remove sx prop from Button, LinkButton, IconButton, and ButtonG…#6828

Closed
joshblack wants to merge 1 commit into
mainfrom
6760-remove-sx-prop-from-button
Closed

feat: remove sx prop from Button, LinkButton, IconButton, and ButtonG…#6828
joshblack wants to merge 1 commit into
mainfrom
6760-remove-sx-prop-from-button

Conversation

@joshblack

Copy link
Copy Markdown
Member

…roup

Closes #

Changelog

New

Changed

Removed

Rollout strategy

  • Patch release
  • Minor release
  • Major release; if selected, include a written rollout or migration plan
  • None; if selected, include a brief description as to why

Testing & Reviewing

Merge checklist

@changeset-bot

changeset-bot Bot commented Sep 10, 2025

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 813b059

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

@github-actions github-actions Bot added staff Author is a staff member integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm labels Sep 10, 2025
@github-actions

Copy link
Copy Markdown
Contributor

👋 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!

@github-actions
github-actions Bot temporarily deployed to storybook-preview-6828 September 10, 2025 16:31 Inactive
@joshblack joshblack closed this Sep 16, 2025
@joshblack
joshblack deleted the 6760-remove-sx-prop-from-button branch September 16, 2025 15:52
janmaarten-a11y added a commit that referenced this pull request Jul 7, 2026
…nts to Private/ namespace

Add packages/react/src/Timeline/internal/timelineStoryHelpers.{tsx,module.css}
with six story-only helpers (VariantSection, RealisticTimeline, Examples,
BoldLink, InlineAvatar, MutedTime) for the Timeline event-story surfaces to
share. Never exported from the package index (stories don't ship), so no public
API surface. BoldLink/InlineAvatar/MutedTime shim live-GitHub styling Primer
doesn't express yet (tracked in github/primer#6826/#6827/#6828).

Retitle the Comments stories to Private/Components/Timeline/Events/Comments and
consume the shared VariantSection + RealisticTimeline. Pure refactor — Storybook
rendering unchanged.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
janmaarten-a11y added a commit that referenced this pull request Jul 7, 2026
Swap the Code Scanning story's local scaffolding for the shared internal helpers
in ./internal/timelineStoryHelpers: VariantSection (captioned section),
Examples / RealisticTimeline (wrappers), BoldLink (#6826), InlineAvatar (#6827),
and MutedTime (#6828). EventFixed has no in-text links, so it uses the
no-links RealisticTimeline wrapper; the link-bearing groups keep Examples.
Delete the now-duplicated local classes (.Variant, .VariantLabel,
.RealisticTimeline, .LinkWithBoldStyle, .InlineAvatar, .Timestamp). Pure refactor
— no rendered output change; the workflow sub-row icon label and tool-version
Label are untouched.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
janmaarten-a11y added a commit that referenced this pull request Jul 7, 2026
…nts to Private/ namespace

Add packages/react/src/Timeline/internal/timelineStoryHelpers.{tsx,module.css}
with six story-only helpers (VariantSection, RealisticTimeline, Examples,
BoldLink, InlineAvatar, MutedTime) for the Timeline event-story surfaces to
share. Never exported from the package index (stories don't ship), so no public
API surface. BoldLink/InlineAvatar/MutedTime shim live-GitHub styling Primer
doesn't express yet (tracked in github/primer#6826/#6827/#6828).

Retitle the Comments stories to Private/Components/Timeline/Events/Comments and
consume the shared VariantSection + RealisticTimeline. Pure refactor — Storybook
rendering unchanged.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
janmaarten-a11y added a commit that referenced this pull request Jul 7, 2026
Swap the Code Scanning story's local scaffolding for the shared internal helpers
in ./internal/timelineStoryHelpers: VariantSection (captioned section),
Examples / RealisticTimeline (wrappers), BoldLink (#6826), InlineAvatar (#6827),
and MutedTime (#6828). EventFixed has no in-text links, so it uses the
no-links RealisticTimeline wrapper; the link-bearing groups keep Examples.
Delete the now-duplicated local classes (.Variant, .VariantLabel,
.RealisticTimeline, .LinkWithBoldStyle, .InlineAvatar, .Timestamp). Pure refactor
— no rendered output change; the workflow sub-row icon label and tool-version
Label are untouched.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
janmaarten-a11y added a commit that referenced this pull request Jul 8, 2026
Swap the Code Scanning story's local scaffolding for the shared internal helpers
in ./internal/timelineStoryHelpers: VariantSection (captioned section),
Examples / RealisticTimeline (wrappers), BoldLink (#6826), InlineAvatar (#6827),
and MutedTime (#6828). EventFixed has no in-text links, so it uses the
no-links RealisticTimeline wrapper; the link-bearing groups keep Examples.
Delete the now-duplicated local classes (.Variant, .VariantLabel,
.RealisticTimeline, .LinkWithBoldStyle, .InlineAvatar, .Timestamp). Pure refactor
— no rendered output change; the workflow sub-row icon label and tool-version
Label are untouched.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
janmaarten-a11y added a commit that referenced this pull request Jul 8, 2026
Swap the Code Scanning story's local scaffolding for the shared internal helpers
in ./internal/timelineStoryHelpers: VariantSection (captioned section),
Examples / RealisticTimeline (wrappers), BoldLink (#6826), InlineAvatar (#6827),
and MutedTime (#6828). EventFixed has no in-text links, so it uses the
no-links RealisticTimeline wrapper; the link-bearing groups keep Examples.
Delete the now-duplicated local classes (.Variant, .VariantLabel,
.RealisticTimeline, .LinkWithBoldStyle, .InlineAvatar, .Timestamp). Pure refactor
— no rendered output change; the workflow sub-row icon label and tool-version
Label are untouched.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm staff Author is a staff member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant