-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(react-components): align storybook configuration with rest of t…
…he suite (#25661) * refactor(scripts): update spec name * chore(react-components): align storybook configuration with rest of the suite * generate changefiles
- Loading branch information
Showing
11 changed files
with
11 additions
and
212 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@fluentui-react-components-86bce013-cba7-4aa0-90f0-c34579c716d4.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "none", | ||
"comment": "chore(react-components): align storybook configuration with rest of the suite", | ||
"packageName": "@fluentui/react-components", | ||
"email": "[email protected]", | ||
"dependentChangeType": "none" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
121 changes: 0 additions & 121 deletions
121
packages/react-components/react-components/.storybook/manager-head.html
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
packages/react-components/react-components/.storybook/manager.js
This file was deleted.
Oops, something went wrong.
33 changes: 2 additions & 31 deletions
33
packages/react-components/react-components/.storybook/preview.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,7 @@ | ||
import * as rootPreview from '../../../../.storybook/preview'; | ||
|
||
/** @type {NonNullable<import('@storybook/react').Story['decorators']>} */ | ||
export const decorators = rootPreview.decorators; | ||
export const decorators = [...rootPreview.decorators]; | ||
|
||
/** @type {typeof rootPreview.parameters} */ | ||
export const parameters = { | ||
...rootPreview.parameters, | ||
docs: { | ||
...rootPreview.parameters.docs, | ||
}, | ||
options: { | ||
storySort: { | ||
method: 'alphabetical', | ||
/** | ||
* @see https://storybook.js.org/docs/react/writing-stories/naming-components-and-hierarchy#sorting-stories | ||
*/ | ||
order: [ | ||
'Concepts', | ||
[ | ||
'Introduction', | ||
'Developer', | ||
['Quick Start', 'Styling Components', 'Positioning Components', 'Accessibility', ['*', 'Components']], | ||
'Upgrading', | ||
[ | ||
'from v8', | ||
['Overview', 'Important changes', 'Planning your journey', 'Component Mapping', 'Troubleshooting'], | ||
], | ||
], | ||
'Theme', | ||
'Components', | ||
'Migrations', | ||
], | ||
}, | ||
}, | ||
}; | ||
export const parameters = { ...rootPreview.parameters }; |
41 changes: 0 additions & 41 deletions
41
packages/react-components/react-components/.storybook/theme.js
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-182 KB
packages/react-components/react-components/public/fluentui-banner2.jpg
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters