Nathan Vasse
b530e966ae
✨ (react) add textItems to Field
...
This allow to add bullet points lists below inputs, the best example
is when we want to list multiple errors from form validation.
Fixes #147
2023-09-05 11:48:04 +02:00
Romain Le Cellier
3e1cdbe9d6
🚑 ️(react) fix unexisting import
...
Since b72d0d5c90 InputRefType doesn't
exist.
We missed some usage of it that are removed in this fix.
2023-08-10 18:37:15 +02:00
Romain Le Cellier
b72d0d5c90
✨ (react) react-hook-form Input example
...
Our form elements needs to be usable with react-hook-form
2023-08-07 16:25:00 +02:00
Nathan Vasse
d85f9edac8
🚨 (lint) update file for prettier 3.0.0
...
Prettier 3.0.0 comes with new standards so we need to upgrade our files
to comply with it.
2023-07-18 16:59:39 +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
d4a574c30f
🔧 (react) fix types file broken imports
...
Generated types for the react package were broken because they were
still using absolute imports which cannot work in standalone .d.ts
files because they cannot rely on the local baseUrl compiler option.
Thus, we introduced an alias that we are able to reliably replace
during type generation.
2023-05-04 16:53:29 +02:00
Nathan Vasse
feea284ec8
✨ (react) add Input component
...
Finally the first form component of the design system. It wraps and enhance
the native input element.
2023-04-25 11:28:32 +02:00