(frontend) new Form components

- improve the Form component to abstract the few things we'll certainly
do all the time (data parsing, action buttons rendering)
- add a Field component, the main way to render form fields. It mainly
wraps react aria components with our styling. The Checkbox component is
a bit tricky to go around some current limitations with react aria
This commit is contained in:
Emmanuel Pelletier
2024-07-23 19:51:06 +02:00
parent df5f0dbf9f
commit c8f96b1f22
13 changed files with 616 additions and 98 deletions

View File

@@ -233,7 +233,7 @@ const config: Config = {
paragraph: { value: '{spacing.1}' },
heading: { value: '{spacing.1}' },
gutter: { value: '{spacing.1}' },
textfield: { value: '{spacing.0.5}' },
textfield: { value: '{spacing.1}' },
},
}),
textStyles: defineTextStyles({