aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/atoms/lists/index.ts
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): rewrite DescriptionList componentArmand Philippot2023-11-111-1/+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-0/+3
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.