aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/buttons/button.stories.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): rewrite Button and ButtonLink componentsArmand Philippot2023-10-241-172/+0
| | | | | | | | | | | | | | Both: * move styles to Sass placeholders Button: * add `isPressed` prop to Button * add `isLoading` prop to Button (to differentiate state from disabled) ButtonLink: * replace `external` prop with `isExternal` prop * replace `href` prop with `to` prop
* refactor: use named export for everything except pagesArmand Philippot2023-09-201-1/+1
| | | | | | 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(storybook): reorganize design systemArmand Philippot2022-04-201-9/+33
| | | | | Add more stories for each components and change some components categories for better organization.
* chore: add a CommentForm componentArmand Philippot2022-04-151-2/+2
|
* refactor: use a consistent classname prop and avoid children propArmand Philippot2022-04-081-0/+13
| | | | | | | | 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 HelpButton componentArmand Philippot2022-04-061-1/+1
| | | | I also added a new shape to the button base.
* chore: add a back to top componentArmand Philippot2022-04-011-0/+15
|
* chore: add a button componentArmand Philippot2022-03-311-0/+120