aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/molecules/buttons/help-button.tsx
Commit message (Collapse)AuthorAgeFilesLines
* fix: improve help button accessibility with aria-pressedArmand Philippot2022-06-021-1/+4
|
* chore: complete Storybook storiesArmand Philippot2022-05-211-8/+3
|
* fix: close Ackee tooltip on button clickArmand Philippot2022-05-211-4/+8
| | | | | | | 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-3/+3
| | | | | | | | 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.
* 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 SelectWithTooltip componentArmand Philippot2022-04-071-3/+12
|
* chore: add a HelpButton componentArmand Philippot2022-04-061-0/+29
I also added a new shape to the button base.