aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/forms/comment-form/comment-form.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): rewrite CommentForm componentArmand Philippot2023-11-111-206/+144
| | | | | | * remove `Notice` prop to handle it directly in the form * replace `saveComment` prop with `onSubmit` * use `useForm` hook to handle the form
* feat(hooks): add useBoolean and useToggle hooksArmand Philippot2023-11-111-6/+11
|
* refactor(components): rewrite Spinner componentArmand Philippot2023-10-241-9/+7
| | | | | | | * Message should be set as children * Default message is no longer available (depending on use case, the consumer might prefer aria-label instead) * It is now possible to define the message position
* refactor(components): rewrite Heading componentArmand Philippot2023-10-241-56/+66
| | | | | | | | | * remove `alignment` and `withMargin` props (consumer should handle that) * move styles to Sass placeholders to avoid repeats with headings coming from WordPress * refactor some other components that depend on Heading to avoid ESlint errors
* refactor(components): rewrite form componentsArmand Philippot2023-10-241-0/+251