aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/molecules/card/card.stories.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(stories): migrate stories to CSF3 formatArmand Philippot2023-12-151-431/+440
|
* refactor(components): extract MetaItem from MetaListArmand Philippot2023-11-201-150/+111
| | | | | | * 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.
* build(components, hooks): fix type errors introduced by deps upgradeArmand Philippot2023-11-161-2/+4
| | | | Since #7e37f2b Typescript was complaining about some types.
* refactor(components): rewrite Card componentArmand Philippot2023-11-111-0/+545
* 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.