aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/molecules/nav/breadcrumb.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): rewrite Breadcrumbs componentArmand Philippot2023-11-111-130/+0
|
* refactor(components): rewrite List componentArmand Philippot2023-11-111-12/+17
| | | | | | | | | * 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-5/+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.
* refactor(build): replace paths aliases with relative pathsArmand Philippot2023-09-191-2/+2
| | | | | | 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 PageLayout componentArmand Philippot2022-04-251-4/+18
|
* 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 Breadcrumb componentArmand Philippot2022-04-111-0/+113