Skip to content

Conversation

tylersticka
Copy link
Member

@tylersticka tylersticka commented Nov 9, 2021

Overview

Replaces our property-specific "fluid" mixins with a more versatile fluid-clamp function based on an example by @Paul-Hebert. The output is greatly simplified by replacing media queries with the clamp function.

I marked this as a breaking change since it slightly reduces browser support, it removes mixins that were previous available, and it changes the argument order of the remaining functions (what we had previously wasn't very intuitive). But I'm open to feedback if that feels too aggressive.

Testing

Compare various components, objects and prototypes on the deploy preview and compare to the v-next version for regressions.


@changeset-bot
Copy link

changeset-bot bot commented Nov 9, 2021

🦋 Changeset detected

Latest commit: f849544

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

This PR includes changesets to release 1 package
Name Type
@cloudfour/patterns Major

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

@netlify
Copy link

netlify bot commented Nov 9, 2021

✔️ Deploy Preview for cloudfour-patterns ready!

🔨 Explore the source changes: f849544

🔍 Inspect the deploy log: https://app.netlify.com/sites/cloudfour-patterns/deploys/618af72c2ff17c0008485faa

😎 Browse the preview: https://deploy-preview-1578--cloudfour-patterns.netlify.app

@tylersticka tylersticka marked this pull request as ready for review November 9, 2021 22:45
@tylersticka tylersticka requested a review from a team November 9, 2021 22:45
Copy link
Member

@spaceninja spaceninja left a comment

Choose a reason for hiding this comment

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

Code looks good, and a quick review of the deploy environment didn't show any obvious regressions.

@tylersticka tylersticka merged commit 42e87b2 into v-next Nov 15, 2021
@tylersticka tylersticka deleted the feature/fluid-clamp branch November 15, 2021 19:02
@github-actions github-actions bot mentioned this pull request Nov 15, 2021
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.

Simplify fluid calculations
2 participants