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

fix: correct hueRotate and backdropHueRotate functions #8057

Merged
merged 3 commits into from Nov 9, 2023

Conversation

hirotomoyamada
Copy link
Contributor

@hirotomoyamada hirotomoyamada commented Oct 8, 2023

Closes #8056

📝 Description

When specified filter="auto" and hueRotate="90" in the props, expected the variable's value to be hue-rotate(90deg), but it was 90deg.

⛳️ Current behavior (updates)

After adding filter="auto" to the props, specify hueRotate or backdropHueRotate.

e.g., if you specify 90,

Expected Result:
--chakra-hue-rotate: hue-rotate(90deg)

Actual Result:
--chakra-hue-rotate: 90deg

🚀 New behavior

Just like other filter properties, invoked wrap function and converted it to a css function.

💣 Is this a breaking change (Yes/No):

No

📝 Additional Information

@changeset-bot
Copy link

changeset-bot bot commented Oct 8, 2023

🦋 Changeset detected

Latest commit: 682bfe7

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

This PR includes changesets to release 7 packages
Name Type
@chakra-ui/styled-system Patch
@chakra-ui/react Patch
@chakra-ui/toast Patch
@chakra-ui/system Patch
@chakra-ui/theme-utils Patch
@chakra-ui/provider Patch
@chakra-ui/test-utils 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

@vercel
Copy link

vercel bot commented Oct 8, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
chakra-ui-storybook ✅ Ready (Inspect) Visit Preview Nov 7, 2023 3:44am

@segunadebayo segunadebayo merged commit 4168094 into chakra-ui:main Nov 9, 2023
1 check passed
@github-actions github-actions bot mentioned this pull request Nov 9, 2023
Copy link

@Csaba1205 Csaba1205 left a comment

Choose a reason for hiding this comment

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

B

Copy link

@Csaba1205 Csaba1205 left a comment

Choose a reason for hiding this comment

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

S

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.

The hueRotate and backdropHueRotate are not working.
4 participants