aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/forms
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): make form components compliant with Eslint rulesArmand Philippot2023-11-1118-43/+57
|
* refactor(components): rewrite List componentArmand Philippot2023-11-111-30/+27
| | | | | | | | | * change `items` prop to children * replace `kind` prop with `isHierarchical`, `isOrdered` & `isInline` props * add `hideMarker` prop * add `spacing` prop to control item spacing * move lists styles to Sass placeholders to avoid repeats because of headless WordPress
* refactor(components): rewrite Spinner componentArmand Philippot2023-10-242-60/+71
| | | | | | | * Message should be set as children * Default message is no longer available (depending on use case, the consumer might prefer aria-label instead) * It is now possible to define the message position
* feat(components): replace icons with a generic Icon componentArmand Philippot2023-10-243-28/+46
| | | | | Sizes are also predefined and can be set using the `size` prop, so the consumers should no longer adjust the size in CSS.
* refactor(components): rewrite Heading componentArmand Philippot2023-10-242-56/+72
| | | | | | | | | * remove `alignment` and `withMargin` props (consumer should handle that) * move styles to Sass placeholders to avoid repeats with headings coming from WordPress * refactor some other components that depend on Heading to avoid ESlint errors
* build: convert project to esmArmand Philippot2023-10-247-0/+7
|
* refactor(components): rewrite form componentsArmand Philippot2023-10-2437-249/+1007
|
* refactor: use named export for everything except pagesArmand Philippot2023-09-2010-76/+71
| | | | | | 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-22/+22
| | | | | | 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.
* fix(settings): avoid cropped tooltip on small devicesArmand Philippot2022-06-094-293/+0
| | | | | | I changed the settings disposition to make tooltip positioning easier. Jest complains about ref passed but everything seems to work as expected so I'm not sure it is relevant. Maybe a bug with cloneElement.
* test: install and configure cypressArmand Philippot2022-06-024-4/+4
| | | | I also configure Jest to avoid conflicts between Cypress and Jest.
* chore: replace the Ackee select by a toggle componentArmand Philippot2022-06-014-41/+49
|
* chore: replace the toggle componentArmand Philippot2022-06-014-21/+81
|
* fix(settings): reduce font-size on small devicesArmand Philippot2022-05-252-4/+28
| | | | | 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-9/+15
|
* chore: complete Storybook storiesArmand Philippot2022-05-214-8/+54
|
* chore: handle settings changeArmand Philippot2022-05-182-11/+59
|
* chore: close toolbar modals on click/focus outsideArmand Philippot2022-05-184-0/+133
|
* chore: adjust articles stylesArmand Philippot2022-05-171-3/+11
| | | | | * change animation on article card hover * change comments section alignment
* chore: adjust and complete missing stylesArmand Philippot2022-05-161-8/+4
| | | | | | * add logo to topics pages and links * add Prism styles to articles * and a few other adjustements
* chore: add Article pagesArmand Philippot2022-05-153-17/+39
|
* chore: add Search pageArmand Philippot2022-05-153-13/+14
|
* chore: add a Contact pageArmand Philippot2022-05-073-7/+17
|
* refactor(storybook): reorganize design systemArmand Philippot2022-04-203-27/+79
| | | | | Add more stories for each components and change some components categories for better organization.
* refactor: support React 18Armand Philippot2022-04-164-8/+12
| | | | | | | | 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 ContactForm componentArmand Philippot2022-04-154-0/+263
|
* chore: add a CommentForm componentArmand Philippot2022-04-154-0/+288
|
* chore: add a SearchForm componentArmand Philippot2022-04-144-0/+165