aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/forms
Commit message (Collapse)AuthorAgeFilesLines
* refactor(stories): migrate stories to CSF3 formatArmand Philippot2023-12-1511-852/+556
|
* refactor(components): replace Toolbar with Navbar componentArmand Philippot2023-11-113-38/+69
| | | | | | | | * remove SearchModal and SettingsModal components * add a generic NavbarItem component (instead of the previous toolbar items to avoid unreadable styles...) * move FlippingLabel component logic into NavbarItem since it is only used here
* refactor(components): make form components compliant with Eslint rulesArmand Philippot2023-11-1126-120/+99
|
* build: convert project to esmArmand Philippot2023-10-2410-0/+10
|
* refactor(components): rewrite form componentsArmand Philippot2023-10-2452-607/+1138
|
* refactor: use named export for everything except pagesArmand Philippot2023-09-2015-111/+61
| | | | | | Next expect a default export for pages so only those components should use default exports. Everything else should use named exports to reduce the number of import statements.
* refactor(build): replace paths aliases with relative pathsArmand Philippot2023-09-197-8/+8
| | | | | | Using paths aliases starting with "@" can be confusing and can lead to conflict with existings modules. I prefer to use relative paths to avoid extra configuration in tools because of these aliases.
* chore: add a label to progress barArmand Philippot2022-06-071-0/+1
| | | | | | The progress element is a form element, so a label is required to be accessible. Since I'm not using it without label, I transform the optional info parameter to a mandatory label parameter.
* test: install and configure cypressArmand Philippot2022-06-025-5/+5
| | | | I also configure Jest to avoid conflicts between Cypress and Jest.
* chore: replace the Ackee select by a toggle componentArmand Philippot2022-06-015-216/+0
|
* chore: replace the toggle componentArmand Philippot2022-06-011-2/+2
|
* chore: add a Fieldset componentArmand Philippot2022-05-315-0/+216
|
* chore: replace Checkbox component with a BooleanField componentArmand Philippot2022-05-317-176/+302
| | | | | Checkbox and radio buttons are working the same way so I decided to group them in a same component.
* fix(settings): reduce font-size on small devicesArmand Philippot2022-05-251-1/+9
| | | | | With French translation, words are a little longer so I reduce the font size on small devices to avoid line breaking.
* chore: give autofocus to the toolbar search formArmand Philippot2022-05-241-10/+14
|
* chore(toolbar): change icons to close button when activatedArmand Philippot2022-05-242-0/+17
|
* chore: adjust and complete missing stylesArmand Philippot2022-05-161-2/+1
| | | | | | * add logo to topics pages and links * add Prism styles to articles * and a few other adjustements
* refactor(storybook): reorganize design systemArmand Philippot2022-04-204-9/+83
| | | | | Add more stories for each components and change some components categories for better organization.
* refactor: support React 18Armand Philippot2022-04-166-9/+21
| | | | | | | | I replaced the deprecated VFC type with FC type and made all children explicits. Formatjs is still not compatible with React 18 so I need to skip type checking when comitting. There are some type errors because of IntlProvider in Storybook stories.
* chore: add a Settings componentArmand Philippot2022-04-141-0/+1
|
* refactor(toggle): use Checkbox component and move it to moleculesArmand Philippot2022-04-094-294/+0
|
* chore: add a Checkbox componentArmand Philippot2022-04-093-0/+170
|
* chore: add a Settings modal componentArmand Philippot2022-04-0813-55/+287
|
* refactor: use a consistent classname prop and avoid children propArmand Philippot2022-04-083-8/+35
| | | | | | | | I was using the FunctionComponent type for some component that do not use children. So I change the type to VoidFunctionComponent to avoid mistakes. I also rename all the "classes" or "additionalClasses" props to "className" to keep consistency between each components.
* chore: add a SelectWithTooltip componentArmand Philippot2022-04-073-3/+55
|
* chore: add a Toggle componentArmand Philippot2022-04-064-0/+262
|
* chore: add a labelled select field componentArmand Philippot2022-04-012-11/+5
|
* chore: add labelled field componentArmand Philippot2022-04-013-14/+26
|
* chore: add a Label componentArmand Philippot2022-03-314-0/+97
|
* chore: add a Select componentArmand Philippot2022-03-313-0/+197
|
* chore: add a Field componentArmand Philippot2022-03-314-0/+323