aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/lists/list/list.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components,pages): extract MDX components mapping from pagesArmand Philippot2023-11-221-6/+6
| | | | | | | Instead of repeating the overriding on each pages, we should define it in one place and reuse it in pages. By default it is not possible to override native HTML tags with MDX so I added a plugin in next config to allow it.
* refactor(components): rewrite List componentArmand Philippot2023-11-111-0/+150
* 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