aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/abstracts/placeholders/_lists.scss
Commit message (Collapse)AuthorAgeFilesLines
* feat(components): add a generic Grid componentArmand Philippot2023-11-111-2/+1
| | | | | * merge Columns, Gallery and CardsList into Grid component * add more options to control the grid
* refactor(components): replace Meta component with MetaListArmand Philippot2023-11-111-1/+1
| | | | | | It removes items complexity by allowing consumers to use any label/value association. Translations should also be defined by the consumer. Each item can now be configured separately (borders, layout...).
* refactor(components): rewrite DescriptionList componentArmand Philippot2023-11-111-2/+28
| | | | | | | | | | | | | * 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(components): rewrite List componentArmand Philippot2023-11-111-0/+53
* 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