summaryrefslogtreecommitdiffstats
path: root/src/components/atoms/buttons/button.tsx
Commit message (Collapse)AuthorAgeFilesLines
* fix: improve help button accessibility with aria-pressedArmand Philippot2022-06-021-4/+8
|
* fix: close Ackee tooltip on button clickArmand Philippot2022-05-211-13/+22
| | | | | | | The tooltip was closing and reopening on click because of a conflict between the button event and the hook useClickOutside. By checking that the event target is not the button, the tooltip is now closing as expected.
* refactor: support React 18Armand Philippot2022-04-161-1/+5
| | | | | | | | 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 CommentForm componentArmand Philippot2022-04-151-4/+2
|
* refactor: use a consistent classname prop and avoid children propArmand Philippot2022-04-081-5/+5
| | | | | | | | 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-3/+10
| | | | I also added a new shape to the button base.
* chore: add a back to top componentArmand Philippot2022-04-011-1/+7
|
* chore: add a button componentArmand Philippot2022-03-311-0/+53