aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/molecules/card/card.test.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): extract MetaItem from MetaListArmand Philippot2023-11-201-2/+11
| | | | | | * replace `items` prop on MetaList with `children` prop: it was too restrictive and the global options was not really useful. It is better too give control to the consumers.
* refactor(components): rewrite Card componentArmand Philippot2023-11-111-0/+129
* make the component more generic * merge `<Summary />` and `<Comment />` styles into card component to avoid repeating the same structure * remove most of the props to use composition However the CSS is a bit complex because of the two variants... Also, the component should be refactored when the CSS pseudo-class `:has` has enough support: the provider and the `cover` and `meta` props should be removed.