| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | refactor(components): extract SettingsForm component form SettingsModal | Armand Philippot | 2023-11-11 | 4 | -158/+0 |
| | | | | | | | We could use an array of items and map over it instead of repeating the Switch component for each settings but with translations, it becomes quickly unreadable. So I prefer to keep separate components. | ||||
| * | feat(hooks): add useBoolean and useToggle hooks | Armand Philippot | 2023-11-11 | 1 | -10/+7 |
| | | |||||
| * | refactor(hooks,providers): rewrite useAckee hook and AckeeProvider | Armand Philippot | 2023-11-11 | 4 | -54/+10 |
| | | |||||
| * | refactor(hooks): rewrite useLocalStorage hook | Armand Philippot | 2023-11-11 | 1 | -2/+6 |
| | | | | | | | | * 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 | 3 | -3/+3 |
| | | |||||
| * | refactor(components): rewrite List component | Armand Philippot | 2023-11-11 | 1 | -30/+27 |
| | | | | | | | | | | * change `items` prop to children * replace `kind` prop with `isHierarchical`, `isOrdered` & `isInline` props * add `hideMarker` prop * add `spacing` prop to control item spacing * move lists styles to Sass placeholders to avoid repeats because of headless WordPress | ||||
| * | 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/+203 |
