Commit Graph

70 Commits

Author SHA1 Message Date
renovate[bot]
69cc847b62 ⬆️(dependencies) update js dependencies 2024-06-03 11:10:24 +02:00
renovate[bot]
79df983d0c ⬆️(dependencies) update js dependencies 2024-05-27 12:36:44 +02:00
renovate[bot]
0e98dfa1b7 ⬆️(dependencies) update js dependencies 2024-05-21 15:00:12 +02:00
jbpenrath
a61e6ec169 📌(deps) pin eslint to version less than 9
Eslint 9 has been recently released but some related dependencies are
not yet compatible (e.g: @typescript-eslint/parser). So we have to pin
this deps awaiting the support by other deps.
2024-04-29 15:38:22 +02:00
renovate[bot]
737c8f4b4d ⬆️(dependencies) update js dependencies 2024-04-29 15:38:22 +02:00
Nathan Vasse
6ebeb116d3 ♻️(react) migrate Modals to react modal
We encoutered an issue where stacked modal backdrop were not rendered
above the modal below. It was caused by the dialog element that is
natively rendered on the top layer regardless where it is create in
the DOM. So we decided to use react modal that provides hand crafted
dialog, and implementing a11y features.

Closes #314
2024-04-23 14:38:44 +02:00
Nathan Vasse
f10e0e2fde (react) add Chromatic support
We need to be able to run some visual testing during our releases,
Chromatic is the best choice for Storybook.
2024-03-25 15:40:27 +01:00
Nathan Vasse
e97e00de03 ⬆️(deps) upgrade to Storybook 8
This upgrade also imply to upgrade the gfm addon.
2024-03-21 17:00:04 +01:00
Nathan Vasse
0ef7684b12 (react) add Tooltip component
This component will allow to provide contextual information on any
DOM node.

Closes #239
2024-03-21 16:14:55 +01:00
renovate[bot]
91a7b2369f ⬆️(dependencies) update js dependencies 2024-03-11 16:29:45 +01:00
renovate[bot]
95a6d6dec7 ⬆️(dependencies) update js dependencies 2024-02-19 17:24:21 +01:00
renovate[bot]
364a15596a ⬆️(dependencies) update js dependencies 2024-02-12 11:37:18 +01:00
renovate[bot]
a92ef3244b ⬆️(dependencies) update js dependencies 2024-01-29 16:34:31 +01:00
Nathan Vasse
3616c72673 (demo) new demo
This new demo aims to take advantage of all the new Cunningham's
components. The old demo was kind of a draft, this new one gives
a better overview of what Cunningham is capable of.
2024-01-25 15:58:33 +01:00
renovate[bot]
b870fbb760 ⬆️(dependencies) update js dependencies 2024-01-22 17:29:30 +01:00
renovate[bot]
894bf5c155 ⬆️(dependencies) update js dependencies 2024-01-18 17:47:47 +01:00
renovate[bot]
08b5f75b38 ⬆️(dependencies) update js dependencies 2024-01-08 16:34:43 +01:00
Nathan Vasse
77921e018c (react) switch icons to material-icons-outlined
We decided to switch to this new icons family for aesthetic reasons.
2024-01-08 15:49:34 +01:00
renovate[bot]
bdf17929ba ⬆️(dependencies) update js dependencies 2023-12-12 11:13:30 +01:00
Nathan Vasse
66e55e9647 ⬇️(deps) downgrade Typescript to 5.2.2
This new Typescript version introduced a crash when executing ts-node
in order to run cunningham.ts file. We need to wait for ts-node
to update their package too. Please see the related issue:
https://github.com/microsoft/TypeScript/issues/56492
2023-11-27 12:34:30 +01:00
renovate[bot]
516cb4e8cb ⬆️(dependencies) update js dependencies 2023-11-27 12:34:30 +01:00
renovate[bot]
35d0821287 ⬆️(dependencies) update js dependencies 2023-11-21 17:00:07 +01:00
renovate[bot]
611eebf0a4 ⬆️(dependencies) update js dependencies 2023-10-18 15:19:12 +02:00
Nathan Vasse
c370970ec4 📌(deps) pin remark-gfm to 3.0.1
The MDX package is still broken as it does not support the new major
version of remark-gfm.
2023-10-03 11:52:23 +02:00
renovate[bot]
6c3259a4ac ⬆️(dependencies) update js dependencies 2023-10-03 11:52:23 +02:00
Nathan Vasse
fe5daa918f 📌(deps) set @testing-library/dom as resolution
The renovate PR made the tests fail due to lots of new warnings.
This kind of warning: update not wrapped inside act ...
They were mainly throwed from user event API calls, but internally
this library already calls act() so it is not supposed to happen.
In reality it happen when different versions of @testing-library/dom
are used by the framework wrapper and the main one loaded by our
project.

See https://github.com/testing-library/user-event/discussions/906
2023-09-28 11:05:51 +02:00
Nathan Vasse
3e2d5994f3 ⬇️(deps) downgrade @types/react to 18.2.21
It was causing compilation issue when using React.StrictMode, see this
https://github.com/DefinitelyTyped/DefinitelyTyped/issues/66841
2023-09-28 11:05:51 +02:00
Nathan Vasse
9c8331be5b ⬇️(react) downgrade remark-gfm to 3.0.1
It was causing crashes because the other MDX deps are not already
up-to-date to support remark-gfm 4.0.0 for now. See
https://github.com/remarkjs/remark-gfm/issues/57
2023-09-28 11:05:51 +02:00
renovate[bot]
f82aeee9ac ⬆️(dependencies) update js dependencies 2023-09-28 11:05:51 +02:00
renovate[bot]
be5559d9fe ⬆️(dependencies) update js dependencies 2023-09-12 15:28:58 +02:00
renovate[bot]
25b8f696ed ⬆️(dependencies) update js dependencies 2023-08-21 15:33:50 +02:00
Anthony Le Courric
4f4f1682a6 🔧(packages) make scripts cross platform friendly
Some scripts had errors when running on windows.
We now use some cross platform cli tools to be
able to run the scripts on every platform.
2023-08-21 12:32:14 +02:00
jbpenrath
944370cc02 🔧(react) enforce to use UTC timezone in our test
Currently, the timezone used in test depends to the local environment
that is weird. So we enforce the use of UTC timezone in our tests.
2023-08-11 17:10:57 +02:00
Romain Le Cellier
bdc08cf043 (dependencies) add yup
Our form elements needs to be usable with react-hook-form
This lib is needed to create examples stories
2023-08-07 16:25:00 +02:00
Romain Le Cellier
1953d52cdb (dependencies) add @hookform/resolvers
Our form elements needs to be usable with react-hook-form
This lib is needed to create examples stories
2023-08-07 16:25:00 +02:00
Romain Le Cellier
314462a3c8 (dependencies) add react-hook-form
Our form elements needs to be usable with react-hook-form
This lib is needed to create examples stories
2023-08-07 16:25:00 +02:00
renovate[bot]
5f63c2a606 ⬆️(dependencies) update js dependencies 2023-07-18 16:59:39 +02:00
Nathan Vasse
b9f5227332 ⬇️(deps) downgrade vite-plugins-ts to 2.3.0
Since the upgrade we had an error during the types rollups, please see
https://github.com/qmhc/vite-plugin-dts/issues/242.
2023-07-13 15:38:23 +02:00
Nathan Vasse
72ebd56568 📌(deps) downgrade prettier versions
For now there is a conflict with the new Prettier version, so for now
we just keep the previous version to check it later during the next
renovate pull request.
2023-07-12 15:47:35 +02:00
renovate[bot]
6ffb537cd0 ⬆️(dependencies) update js dependencies 2023-07-12 15:47:35 +02:00
jbpenrath
6aca0a3d85 💚(ci) fix performance issue of test job
Currently the test job seems to hit the maximum CPU resource available.
In order to prevent that we try to run tests on several workers.
2023-07-04 17:08:11 +02:00
renovate[bot]
93bfaae502 ⬆️(dependencies) update js dependencies 2023-06-27 17:15:59 +02:00
Lebaud Antoine
60ff04c2d9 📦️(react) add react-aria dependecies
Working on the date picker, we looked for an headless
UI components library. React-aria was chosen to support
the new form's component development. They developped a suite of
headless UI components that seemed quite easy to style.
2023-06-12 18:57:20 +02:00
jbpenrath
aa4dcdd800 (react) fix flaky test about Input component
A test of Input component was flaky and raise some `act` warnings.
Forcing the use of testing library 9 seems to fix the issue.
2023-06-01 18:00:36 +02:00
Nathan Vasse
0153b5043b 📝(react) add forms examples to documentation
We think doing this really illustrates what the design system looks
in real life, all components living together next to each other.
2023-06-01 12:05:32 +02:00
Nathan Vasse
cfdac8dba9 💄(react) migrate to Roboto Flex
Previously we were using standard Roboto Font but we were struggling to
get the same boldness as the ones from the Figma sketches. It appears
that Figma uses Roboto Flex, so by installing it we can now nearly
perfectly align our visuals with the ones form the sketches. I had to
do some custom tweaks with the weights of the font because if we
use exactly the same font-weight as in Figma the render is still different.
2023-05-26 16:39:02 +02:00
renovate[bot]
1eda301637 ⬆️(dependencies) update js dependencies 2023-05-26 16:39:02 +02:00
Nathan Vasse
77721c3b6d ♻️(react) migrate to Storybook 7
This new release comes with breaking changes for stories and mdx docs.
2023-05-15 11:04:06 +02:00
renovate[bot]
ed2409e50c ⬆️(dependencies) update js dependencies 2023-05-15 11:04:06 +02:00
Nathan Vasse
2ff5fc5d29 (react) add Select component
Finally our powerful Select component is available to make great forms!
2023-05-12 11:13:38 +02:00