aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/lists/list.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): rewrite List componentArmand Philippot2023-11-111-74/+0
| | | | | | | | | * 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: use named export for everything except pagesArmand Philippot2023-09-201-8/+3
| | | | | | 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.
* chore: update some stylesArmand Philippot2022-05-211-10/+2
| | | | | | | * Improve wp-blocks-columns, wp-block-quote and some images * Make Sharing widget consistent between pages * Remove margin option from lists * Fix Topic logo alignement
* chore: add homepageArmand Philippot2022-05-031-2/+2
|
* refactor: support React 18Armand Philippot2022-04-161-2/+2
| | | | | | | | 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 LinksListWidget componentArmand Philippot2022-04-151-3/+8
|
* chore: add a MainNav componentArmand Philippot2022-04-141-3/+15
|
* refactor: use a consistent classname prop and avoid children propArmand Philippot2022-04-081-9/+6
| | | | | | | | 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 List componentArmand Philippot2022-04-051-0/+73