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

Bug fix: invisible Button variant missing background color when disabled #4928

Merged
merged 7 commits into from
Sep 6, 2024

Conversation

langermank
Copy link
Contributor

Bug fix: invisible button variant missing bg color when disabled

Copy link

changeset-bot bot commented Sep 6, 2024

🦋 Changeset detected

Latest commit: 105426a

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

Copy link
Contributor

github-actions bot commented Sep 6, 2024

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 96.42 KB (-0.13% 🔽)
packages/react/dist/browser.umd.js 96.77 KB (-0.06% 🔽)

@github-actions github-actions bot temporarily deployed to storybook-preview-4928 September 6, 2024 17:04 Inactive
@langermank langermank marked this pull request as ready for review September 6, 2024 17:56
@langermank langermank requested a review from a team as a code owner September 6, 2024 17:56
@@ -1680,6 +1680,7 @@ exports[`Button styles invisible button appropriately 1`] = `
cursor: not-allowed;
box-shadow: none;
color: primer.fg.disabled;
background-color: var(--button-invisible-bgColor-disabled,undefined);
Copy link
Member

Choose a reason for hiding this comment

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

What should the fallback value here be? Seems to be showing up as undefined 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh weird... lemme fix that

@langermank langermank requested a review from a team as a code owner September 6, 2024 18:02
Merged via the queue into main with commit caf4bcf Sep 6, 2024
30 checks passed
@langermank langermank deleted the fix-invisible-disabled-bd branch September 6, 2024 18:44
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.

3 participants