| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | refactor(hooks,provider): move reduce motion setter | Armand Philippot | 2023-11-11 | 4 | -69/+9 |
| | | | | | | | | | | | Since the local storage key is not meant to change between the components, it should be set directly inside the app file. So both the local storage and the data attribute should be handle in a provider. I also added a custom document because we need a script to retrieve the stored value in local storage earlier to avoid flashing on hydration. | ||||
| * | refactor(hooks): rewrite useLocalStorage hook | Armand Philippot | 2023-11-11 | 1 | -3/+7 |
| | | | | | | | | * return a tuple instead of an object * add a validator function as parameter (if the stored value is manually changed, it is not safe to cast its type) * add tests | ||||
| * | refactor(components): make form components compliant with Eslint rules | Armand Philippot | 2023-11-11 | 4 | -8/+12 |
| | | |||||
| * | build: convert project to esm | Armand Philippot | 2023-10-24 | 1 | -0/+1 |
| | | |||||
| * | refactor(components): rewrite form components | Armand Philippot | 2023-10-24 | 5 | -0/+153 |
