aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/molecules/buttons/heading-button.tsx
Commit message (Collapse)AuthorAgeFilesLines
* feat(components): replace icons with a generic Icon componentArmand Philippot2023-10-241-2/+2
| | | | | 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-241-7/+10
| | | | | | | | | * 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: use named export for everything except pagesArmand Philippot2023-09-201-6/+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.
* 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 Widget componentArmand Philippot2022-04-151-9/+10
|
* chore: add a HeadingButton componentArmand Philippot2022-04-071-0/+66