aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/modals/settings-modal.tsx
Commit message (Collapse)AuthorAgeFilesLines
* feat(components): replace icons with a generic Icon componentArmand Philippot2023-10-241-5/+9
| | | | | 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 form componentsArmand Philippot2023-10-241-37/+23
|
* refactor: use named export for everything except pagesArmand Philippot2023-09-201-17/+16
| | | | | | 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-8/+8
| | | | | | 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.
* fix(settings): avoid cropped tooltip on small devicesArmand Philippot2022-06-091-18/+66
| | | | | | I changed the settings disposition to make tooltip positioning easier. Jest complains about ref passed but everything seems to work as expected so I'm not sure it is relevant. Maybe a bug with cloneElement.
* fix(settings): close tooltip when modal is closingArmand Philippot2022-06-081-1/+0
| | | | | The event was not captured so the tooltip remained open when the settings was closed. It prevented to click on the toolbar buttons.
* chore: replace the Ackee select by a toggle componentArmand Philippot2022-06-011-6/+1
|
* chore: handle settings changeArmand Philippot2022-05-181-1/+5
|
* chore: close toolbar modals on click/focus outsideArmand Philippot2022-05-181-28/+14
|
* refactor: support React 18Armand Philippot2022-04-161-6/+8
| | | | | | | | 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 Settings componentArmand Philippot2022-04-141-3/+11
|
* chore: add a Settings modal componentArmand Philippot2022-04-081-0/+51