Skip to content

Commit

Permalink
DP-20568-storybook-navigation-update (#1290)
Browse files Browse the repository at this point in the history
* Added navigation update

* Update meta.json

* Re-organize links

* Deleted some test files

* Updated links

Co-authored-by: Minghua Sun <[email protected]>
  • Loading branch information
tkoleary and clairesunstudio authored Dec 8, 2020
1 parent 6870cb6 commit 9522627
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 35 deletions.
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"
}
}

0 comments on commit 9522627

Please sign in to comment.