aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/lists/description-list.stories.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): rewrite DescriptionList componentArmand Philippot2023-11-111-131/+0
| | | | | | | | | | | | | * add a `spacing` prop * replace `layout` prop with `isInline` prop * remove `items` prop (and classNames props) in favor of new components: Description, Group, Term * remove `withSeparator` prop (CSS content is announced by screen readers and Firefox/Safari have no support for alternative text so the consumer should add itself an element with `aria-hidden` if it need a separator) Be aware, Meta component and its consumers can be visually broken, they should be refactored before using them in production.
* refactor: use named export for everything except pagesArmand Philippot2023-09-201-1/+1
| | | | | | Next expect a default export for pages so only those components should use default exports. Everything else should use named exports to reduce the number of import statements.
* refactor: rewrite DescriptionList and Meta componentsArmand Philippot2022-05-091-14/+66
| | | | | | The meta can have different layout. The previous implementation was not enough to easily change the layout. Also, I prefer to restrict the meta types and it prevents me to repeat myself for the labels.
* refactor(storybook): reorganize design systemArmand Philippot2022-04-201-1/+7
| | | | | Add more stories for each components and change some components categories for better organization.
* chore: add a Card componentArmand Philippot2022-04-131-0/+18
|
* refactor: use a consistent classname prop and avoid children propArmand Philippot2022-04-081-3/+3
| | | | | | | | I was using the FunctionComponent type for some component that do not use children. So I change the type to VoidFunctionComponent to avoid mistakes. I also rename all the "classes" or "additionalClasses" props to "className" to keep consistency between each components.
* chore: add a DescriptionList componentArmand Philippot2022-04-071-0/+55