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

Change euiCanAnimate to a constant #29

Merged
merged 1 commit into from
Apr 21, 2022

Conversation

thompsongl
Copy link

@thompsongl thompsongl commented Apr 20, 2022

css(euiCanAnimate(content)) -> css'${euiCanAnimate} {content}'

cc// @chandlerprall @cchaos

We still have the option to keep this a function, but the conditional css wrapper seems confusing to me. Also, no way to keep the className chaining tidy with the conditional css wrapper.

@@ -433,7 +433,7 @@ exports[`EuiTourStep is rendered 1`] = `
style="left: 0px; top: 10px;"
>
<div
class="euiBeacon euiTour__beacon css-se6i5w-euiBeacon-euiCanAnimate-euiBeacon"
class="euiBeacon euiTour__beacon css-c8h4zr-euiBeacon"
Copy link

Choose a reason for hiding this comment

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

Huzzah!

Copy link
Owner

Choose a reason for hiding this comment

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

Much better! 🎉 Thanks @thompsongl!

@miukimiu miukimiu merged commit 0fa006b into miukimiu:beacon-emotion Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants