summaryrefslogtreecommitdiffstats
path: root/src/components/molecules/forms/motion-toggle.tsx
Commit message (Collapse)AuthorAgeFilesLines
* fix(settings): avoid cropped tooltip on small devicesArmand Philippot2022-06-091-2/+3
| | | | | | 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.
* chore: replace the Ackee select by a toggle componentArmand Philippot2022-06-011-1/+1
|
* chore: replace the toggle componentArmand Philippot2022-06-011-19/+63
|
* fix(settings): reduce font-size on small devicesArmand Philippot2022-05-251-1/+1
| | | | | With French translation, words are a little longer so I reduce the font size on small devices to avoid line breaking.
* refactor: rewrite Prism hooks and providersArmand Philippot2022-05-191-1/+2
| | | | | It avoid some hydratation errors on project pages (not in article however) and the hooks are now reusable.
* chore: handle settings changeArmand Philippot2022-05-181-6/+28
|
* refactor: support React 18Armand Philippot2022-04-161-4/+4
| | | | | | | | 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(toggle): use Checkbox component and move it to moleculesArmand Philippot2022-04-091-1/+1
|
* chore: add a Settings modal componentArmand Philippot2022-04-081-3/+5
|
* chore: add a MotionToggle componentArmand Philippot2022-04-071-0/+50