ZopaPublic / react-components

Shared React components for the Zopa projects.
https://zrc.netlify.app
MIT License
41 stars 14 forks source link

Button pressed state #1063

Closed admmasters closed 1 month ago

admmasters commented 1 month ago

Improvement to button pressed state logic

This commit modifies the Button component to prevent hover styles from being applied when the button is in an active state. This is achieved by adding a :not(:active) pseudo-class to the existing :hover pseudo-class in the button's CSS.

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: 81fb8f0e4334453470e7dbc6d9dc857ac30072be

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

This PR includes changesets to release 1 package | Name | Type | | ------------------------ | ----- | | @zopauk/react-components | 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[bot] commented 1 month ago

👋 Hey there!

Thank you for you contribution. Below is a preview of the release notes if your PR gets merged. Please, make sure it includes all your significant changes with descriptive messages. Keep in mind that release notes are automatically generated from the commit messages. More info in the contribution section.


5.57.0 (2024-07-12)

Bug Fixes

Features

netlify[bot] commented 1 month ago

Deploy Preview for zrc ready!

Name Link
Latest commit 81fb8f0e4334453470e7dbc6d9dc857ac30072be
Latest deploy log https://app.netlify.com/sites/zrc/deploys/6691592ba3d5a0000777add0
Deploy Preview https://deploy-preview-1063--zrc.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

github-actions[bot] commented 1 month ago

👋 Hey there!

Thank you for you contribution. Below is a preview of the release notes if your PR gets merged. Please, make sure it includes all your significant changes with descriptive messages. Keep in mind that release notes are automatically generated from the commit messages. More info in the contribution section.


5.57.0 (2024-07-12)

Bug Fixes

Features