strapi / design-system

Strapi.io's design system :rocket:
https://design-system.strapi.io
MIT License
472 stars 166 forks source link

fix: floating point precision errors #1795

Closed butcherZ closed 1 month ago

butcherZ commented 1 month ago

What does it do?

Why is it needed?

Because javascript

0.1+0.2 = 0.30000000000000004

How to test it?

Related issue(s)/PR(s)

1369

#18138 DX-1674

changeset-bot[bot] commented 1 month ago

⚠️ No Changeset found

Latest commit: f758abc73f6ea51da462cf70072666eada1b84fe

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

vercel[bot] commented 1 month ago

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

Name Status Preview Comments Updated (UTC)
design-system ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 9, 2024 3:53pm