aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/index.ts
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): rewrite Notice componentArmand Philippot2023-11-111-0/+1
| | | | * Rename message prop to children prop and set ReactNode as type
* feat(components): replace icons with a generic Icon componentArmand Philippot2023-10-241-1/+0
| | | | | Sizes are also predefined and can be set using the `size` prop, so the consumers should no longer adjust the size in CSS.
* feat(components): add Article, Aside, Footer, Header, Main & NavArmand Philippot2023-10-241-0/+1
| | | | | Some components have been renamed to be able to create Footer, Header and Nav.
* refactor(components): rewrite Heading componentArmand Philippot2023-10-241-1/+1
| | | | | | | | | * 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
* refactor(components): rewrite form componentsArmand Philippot2023-10-241-0/+1
|
* refactor: use named export for everything except pagesArmand Philippot2023-09-201-0/+9
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.