Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DP-20568-storybook-navigation-update #1290

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions packages/core/.storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import mayflowerTheme from './mayflowerTheme';

export const parameters = {
options: {
options: {
storySort: {
order: [
'Get Started', [
'Overview', [
'Introduction',
'Examples'
'Usage',
'Examples'
],
'Get Started',
'Principles', [
'Brand Pillars',
'Accessibility'
Expand All @@ -22,10 +22,10 @@ export const parameters = {
'Elements',
'Components', [
'Header',
'Footer'
],
],
order: storyKindOrder
'Footer',
'Template'
]
]
},
},
actions: { argTypesRegex: "^on[A-Z].*" },
Expand Down
54 changes: 27 additions & 27 deletions packages/core/stories/meta.json
Original file line number Diff line number Diff line change
@@ -1,74 +1,74 @@
{
"Introduction": {
"group": "Get Started",
"group": "Overview",
"title": "Introduction"
},
"Usage": {
"group": "Get Started",
"title": "Install Mayflower"
},
"Examples": {
"group": "Get Started",
"group": "Overview",
"title": "Examples"
},
"Usage": {
"group": "Overview",
"title": "Usage"
},
"BrandPillars": {
"group": "Design Principles",
"group": "Principles",
"title": "Brand Pillars"
},
"DesignGuidelines": {
"group": "Design Principles",
"group": "Principles",
"title": "Guidelines"
},
"Accessibility": {
"group": "Design Principles",
"group": "Principles",
"title": "Accessibility"
},
"Colors": {
"group": "Design Tokens",
"title": "Colors"
"group": "Foundation",
"title": "Color"
},
"Icons": {
"group": "Design Tokens",
"title": "Icons"
"group": "Foundation",
"title": "Iconography"
},
"Logo": {
"group": "Design Tokens",
"group": "Foundation",
"title": "Logo"
},
"Typography": {
"group": "Design Tokens",
"title": "Typeface"
"group": "Foundation",
"title": "Typography"
},
"Button": {
"group": "Base Elements",
"group": "Elements",
"title": "Buttons"
},
"Heading": {
"group": "Base Elements",
"group": "Elements",
"title": "Heading"
},
"Link": {
"group": "Base Elements",
"group": "Elements",
"title": "Link"
},
"Headings": {
"group": "Base Elements",
"group": "Elements",
"title": "Headings"
},
"Links": {
"group": "Base Elements",
"group": "Elements",
"title": "Links"
},
"Template": {
"group": "Components",
"title": "Template"
},
"Header": {
"group": "Brand Components",
"group": "Components",
"title": "Header"
},
"Footer": {
"group": "Brand Components",
"group": "Components",
"title": "Footer"
},
"Template": {
"group": "Brand Components",
"title": "Template"
}
}