-
Notifications
You must be signed in to change notification settings - Fork 601
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
normalize storybook fixtures (#6316)
* add storybook types and renderComponent helper * add ES2017.Object lib to tsconfig * update eslintrc * add hidden debug story * move accordion types to options module * move anchor types to options module * move anchored-region types to options module * move button types to options module * move horizontal-scroll types to options module * move picker types to options module * move slider types to options module * normalize accordion stories * normalize accordion-item stories * normalize anchor stories * normalize anchored-region stories * normalize avatar stories * normalize badge stories * normalize breadcrumb stories * normalize breadcrumb-item stories * normalize button stories * normalize calendar stories * normalize card stories * normalize checkbox stories * normalize combobox stories * normalize data-grid, data-grid-row, and data-grid-cell stories * normalize dialog stories * normalize disclosure stories * normalize divider stories * normalize flipper stories * normalize horizontal-scroll stories * normalize listbox stories * normalize listbox-option stories * normalize menu stories * normalize menu-item stories * normalize number-field stories * normalize picker stories * normalize progress stories * normalize progress and progress-ring stories * normalize radio stories * normalize radio-group stories * normalize search stories * normalize select stories * normalize skeleton stories * normalize slider stories * normalize slider-label stories * normalize switch stories * normalize tab stories * normalize tab-panel stories * normalize tabs stories * normalize text-area stories * normalize text-field stories * normalize toolbar stories * normalize tooltip stories * normalize tree-item stories * normalize tree-view stories * update api-report and READMEs * Change files * patch flipper
- Loading branch information
Showing
102 changed files
with
2,728 additions
and
2,047 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@microsoft-fast-foundation-6f10b9c9-3154-4b85-a95c-f22a452e7d7a.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": "prerelease", | ||
"comment": "normalize storybook stories", | ||
"packageName": "@microsoft/fast-foundation", | ||
"email": "[email protected]", | ||
"dependentChangeType": "prerelease" | ||
} |
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
13 changes: 13 additions & 0 deletions
13
packages/web-components/fast-foundation/.storybook/debug.stories.ts
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,13 @@ | ||
/** | ||
* This is a special story that allows us to load a blank preview page for | ||
* playwright tests which need to generate elements and insert them directly, | ||
* rather than start with a pre-determined element. | ||
*/ | ||
|
||
import type { Meta } from "@storybook/html"; | ||
|
||
export default { | ||
title: "Debug", | ||
} as Meta; | ||
|
||
export const Blank = () => ""; |
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
6 changes: 6 additions & 0 deletions
6
packages/web-components/fast-foundation/.storybook/manager-head.html
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,6 @@ | ||
<style> | ||
/* hide the blank debug "story" from the sidebar */ | ||
[data-item-id*="debug"] { | ||
display: none !important; | ||
} | ||
</style> |
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
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
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
Oops, something went wrong.