aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/layout/posts-list.fixture.ts
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): replace Summary component with PostPreviewArmand Philippot2023-11-111-61/+0
| | | | | | | | | | | * rename component to PostPreview because Summary is an HTML element and it could lead to confusion * replace `title` and `titleLevel` with `heading` and `headingLvl` because `title` is a native attribute * rename `intro` prop to `excerpt` * extract `cover` from `meta` prop * rewrite meta type * extract meta logic into a new component
* refactor(components): rewrite SearchForm componentArmand Philippot2023-11-111-2/+0
| | | | | | * remove searchPage prop (the consumer should handle the submit) * change onSubmit type * use `useForm` hook to handle the form
* refactor(components): rewrite List componentArmand Philippot2023-11-111-0/+63
* 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