Skip to content

Commit

Permalink
docs: nest component recipes under components
Browse files Browse the repository at this point in the history
- move individual implementation examples under related components
- label them as such
- note: some recipes are used in stories, which breaks convention
- update snapshots
  • Loading branch information
booc0mtaco committed Jul 31, 2023
1 parent c9a5079 commit 1cd1764
Show file tree
Hide file tree
Showing 29 changed files with 2,394 additions and 768 deletions.
12 changes: 12 additions & 0 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,17 @@ export const parameters = {
...createPaperReleaseConfig('1.2'),
...createPaperReleaseConfig('1.1'),
...createPaperReleaseConfig('1.0'),
implementationExample: {
styles: {
backgroundColor: '#ffffff',
borderColor: '#000000',
color: '#000000',
},
title: 'Implementation Example',
tooltip: {
title: `About Implementation Examples`,
desc: 'Implementation examples show how you might combine existing EDS components to create custom recipes.',
},
},
},
};
20 changes: 0 additions & 20 deletions .storybook/recipes/Filters/Filters.stories.tsx

This file was deleted.

1 change: 0 additions & 1 deletion .storybook/recipes/Filters/index.ts

This file was deleted.

95 changes: 0 additions & 95 deletions .storybook/recipes/LoadingProfileCard.stories.tsx

This file was deleted.

64 changes: 0 additions & 64 deletions .storybook/recipes/MenuWithAvatarButton.stories.tsx

This file was deleted.

75 changes: 0 additions & 75 deletions .storybook/recipes/MenuWithIconButton.stories.tsx

This file was deleted.

46 changes: 0 additions & 46 deletions .storybook/recipes/RaiseCardOnHover.stories.tsx

This file was deleted.

Loading

0 comments on commit 1cd1764

Please sign in to comment.