Commit Graph

11 Commits

Author SHA1 Message Date
jbpenrath
56d9ed88f0 💥(react) upgrade to React 19
https://react.dev/blog/2024/04/25/react-19-upgrade-guide
https://react.dev/blog/2024/12/05/react-19
2025-01-08 11:02:50 +01:00
Nathan Vasse
06fca5b34e ♻️(react) disable animation when Chromatic is running
We need to disable Javascript animation when Chromatic is taking
snapshots in order to avoid having changes detected each time a build
is ran.
2024-03-25 15:40:27 +01:00
Nathan Vasse
9c614953b8 ♻️(react) remove faker usage from stories
Random data in stories was causing Chromatic to detect changes during
each build.
2024-03-25 15:40:27 +01:00
Nathan Vasse
6d1da169e7 ♻️(react) prevent animate usage on some envs
This animate function is not supported by some testing environments,
to prevent any crashes on consumers side we need to first make sure
this function is defined.

Fixes #281
2024-02-28 10:51:47 +01:00
Nathan Vasse
f685abb36c ♻️(react) use info design tokens
Some info variant of components were using primary design token instead
of info.
2024-02-13 15:14:05 +01:00
Nathan Vasse
1445f4a222 (react) add Modal
Here it is! Our really wanted Modal component, based on Figma sketches.
2024-02-05 15:23:03 +01:00
Nathan Vasse
1b049f5b03 🧪(react) fix Toast flacky test
This tests was sometimes failing due to this really low duration of
the Toast.
2024-01-08 16:34:43 +01:00
Nathan Vasse
cef284b6ab 💄(react) update Alert and Toast icons
For aesthetic reasons we decided to use the circled versions of
icons.
2024-01-08 15:49:34 +01:00
Nathan Vasse
540cdc6896 💄(react) update Alert and Toast icon size
We realized that even if the Figma sketches indicates that the icons
are 16px in reality the rendered DOM was not visualy matching the
sketches. We needs 19px to match the sketches.
2024-01-08 15:49:34 +01:00
Nathan Vasse
692b4a817d 📝(react) add Toast doc
With various examples and how-to guides.
2024-01-05 16:38:09 +01:00
Nathan Vasse
132b676ff7 (react) add Toast component
This component allows to create dynamic Toast appearing at the bottom
of the screen for few seconds.
2024-01-05 16:38:09 +01:00