aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/widgets/links-list-widget.stories.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): replace LinksListWidget with LinksWidgetArmand Philippot2023-11-141-91/+0
| | | | | | | * avoid List component repeat * rewrite tests and CSS * add an id to LinksWidgetItemData (previously LinksListItems) type because the label could be duplicated
* refactor(components): merge HeadingButton and Widget componentsArmand Philippot2023-11-111-26/+11
| | | | | | The HeadingButton component was only used inside Widget component and it is not very useful on its own so I merge the two components in a new Collapsible component.
* refactor(components): rewrite List componentArmand Philippot2023-11-111-19/+3
| | | | | | | | | * 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
* 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.
* chore: complete Storybook storiesArmand Philippot2022-05-211-8/+13
|
* refactor(storybook): reorganize design systemArmand Philippot2022-04-201-6/+31
| | | | | Add more stories for each components and change some components categories for better organization.
* chore: add a LinksListWidget componentArmand Philippot2022-04-151-0/+92