-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'next' into yann/rename-testing-utils-to-portable-stories
- Loading branch information
Showing
29 changed files
with
216 additions
and
217 deletions.
There are no files selected for viewing
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
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,44 +1,66 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<!--suppress HtmlUnknownTarget --> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<title>Storybook</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<title>Storybook</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<link | ||
rel="prefetch" | ||
href="./sb-common-assets/nunito-sans-regular.woff2" | ||
as="font" | ||
type="font/woff2" | ||
crossorigin | ||
/> | ||
<link | ||
rel="prefetch" | ||
href="./sb-common-assets/nunito-sans-italic.woff2" | ||
as="font" | ||
type="font/woff2" | ||
crossorigin | ||
/> | ||
<link | ||
rel="prefetch" | ||
href="./sb-common-assets/nunito-sans-bold.woff2" | ||
as="font" | ||
type="font/woff2" | ||
crossorigin | ||
/> | ||
<link | ||
rel="prefetch" | ||
href="./sb-common-assets/nunito-sans-bold-italic.woff2" | ||
as="font" | ||
type="font/woff2" | ||
crossorigin | ||
/> | ||
<link rel="stylesheet" href="./sb-common-assets/fonts.css" /> | ||
|
||
<link rel="prefetch" href="./sb-common-assets/nunito-sans-regular.woff2" as="font" type="font/woff2" crossorigin /> | ||
<link rel="prefetch" href="./sb-common-assets/nunito-sans-italic.woff2" as="font" type="font/woff2" crossorigin /> | ||
<link rel="prefetch" href="./sb-common-assets/nunito-sans-bold.woff2" as="font" type="font/woff2" crossorigin /> | ||
<link rel="prefetch" href="./sb-common-assets/nunito-sans-bold-italic.woff2" as="font" type="font/woff2" crossorigin /> | ||
<link rel="stylesheet" href="./sb-common-assets/fonts.css" /> | ||
<script> | ||
window.CONFIG_TYPE = '[CONFIG_TYPE HERE]'; | ||
window.LOGLEVEL = '[LOGLEVEL HERE]'; | ||
window.FRAMEWORK_OPTIONS = '[FRAMEWORK_OPTIONS HERE]'; | ||
window.CHANNEL_OPTIONS = '[CHANNEL_OPTIONS HERE]'; | ||
window.FEATURES = '[FEATURES HERE]'; | ||
window.STORIES = '[STORIES HERE]'; | ||
window.DOCS_OPTIONS = '[DOCS_OPTIONS HERE]'; | ||
window.TAGS_OPTIONS = '[TAGS_OPTIONS HERE]'; | ||
|
||
<script> | ||
window.CONFIG_TYPE = '[CONFIG_TYPE HERE]'; | ||
window.LOGLEVEL = '[LOGLEVEL HERE]'; | ||
window.FRAMEWORK_OPTIONS = '[FRAMEWORK_OPTIONS HERE]'; | ||
window.CHANNEL_OPTIONS = '[CHANNEL_OPTIONS HERE]'; | ||
window.FEATURES = '[FEATURES HERE]'; | ||
window.STORIES = '[STORIES HERE]'; | ||
window.DOCS_OPTIONS = '[DOCS_OPTIONS HERE]'; | ||
window.TAGS_OPTIONS = '[TAGS_OPTIONS HERE]'; | ||
('OTHER_GLOBLALS HERE'); | ||
|
||
('OTHER_GLOBLALS HERE'); | ||
// We do this so that "module && module.hot" etc. in Storybook source code | ||
// doesn't fail (it will simply be disabled) | ||
window.module = undefined; | ||
window.global = window; | ||
</script> | ||
<!-- [HEAD HTML SNIPPET HERE] --> | ||
</head> | ||
|
||
// We do this so that "module && module.hot" etc. in Storybook source code | ||
// doesn't fail (it will simply be disabled) | ||
window.module = undefined; | ||
window.global = window; | ||
</script> | ||
<!-- [HEAD HTML SNIPPET HERE] --> | ||
</head> | ||
|
||
<body> | ||
<!-- [BODY HTML SNIPPET HERE] --> | ||
<div id="storybook-root"></div> | ||
<div id="storybook-docs"></div> | ||
<script type="module" src="./sb-preview/runtime.js"></script> | ||
<script type="module" src="/virtual:/@storybook/builder-vite/vite-app.js"></script> | ||
</body> | ||
|
||
</html> | ||
<body> | ||
<!-- [BODY HTML SNIPPET HERE] --> | ||
<div id="storybook-root"></div> | ||
<div id="storybook-docs"></div> | ||
<script type="module" src="./sb-preview/runtime.js"></script> | ||
<script type="module" src="/virtual:/@storybook/builder-vite/vite-app.js"></script> | ||
</body> | ||
</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
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
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,15 +1,11 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"types": [ | ||
"node" | ||
], | ||
"types": ["node"], | ||
"strict": true, | ||
"skipLibCheck": true, | ||
"resolveJsonModule": true, | ||
"noEmit": true | ||
}, | ||
"include": [ | ||
"src/**/*" | ||
] | ||
} | ||
"include": ["src/**/*"] | ||
} |
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
13 changes: 4 additions & 9 deletions
13
code/presets/server-webpack/src/lib/compiler/__testfixtures__/a11y.snapshot
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,23 +1,18 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`json-to-csf-compiler a11y.json 1`] = ` | ||
" | ||
export default { | ||
title: \\"Addons/a11y\\", | ||
title: "Addons/a11y", | ||
parameters: { | ||
options: { | ||
selectedPanel: \\"storybook/a11y/panel\\" | ||
selectedPanel: "storybook/a11y/panel" | ||
} | ||
} | ||
}; | ||
|
||
export const Label = { | ||
name: \\"Label\\", | ||
name: "Label", | ||
parameters: { | ||
server: { | ||
id: \\"addons/a11y/label\\" | ||
id: "addons/a11y/label" | ||
} | ||
} | ||
}; | ||
" | ||
`; |
17 changes: 6 additions & 11 deletions
17
code/presets/server-webpack/src/lib/compiler/__testfixtures__/actions.snapshot
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,30 +1,25 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`json-to-csf-compiler actions.json 1`] = ` | ||
" | ||
export default { | ||
title: \\"Addons/Actions\\", | ||
title: "Addons/Actions", | ||
parameters: { | ||
options: { | ||
selectedPanel: \\"storybook/actions/panel\\" | ||
selectedPanel: "storybook/actions/panel" | ||
} | ||
} | ||
}; | ||
|
||
export const Multiple_actions_config = { | ||
name: \\"Multiple actions + config\\", | ||
name: "Multiple actions + config", | ||
parameters: { | ||
actions: [ | ||
\\"click\\", | ||
\\"contextmenu\\", | ||
"click", | ||
"contextmenu", | ||
{ | ||
clearOnStoryChange: false | ||
} | ||
], | ||
server: { | ||
id: \\"addons/actions/story3\\" | ||
id: "addons/actions/story3" | ||
} | ||
} | ||
}; | ||
" | ||
`; |
19 changes: 7 additions & 12 deletions
19
code/presets/server-webpack/src/lib/compiler/__testfixtures__/backgrounds.snapshot
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,31 +1,26 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`json-to-csf-compiler backgrounds.json 1`] = ` | ||
" | ||
export default { | ||
title: \\"Addons/Backgrounds\\", | ||
title: "Addons/Backgrounds", | ||
parameters: { | ||
backgrounds: [ | ||
{ | ||
name: \\"light\\", | ||
value: \\"#eeeeee\\" | ||
name: "light", | ||
value: "#eeeeee" | ||
}, | ||
{ | ||
name: \\"dark\\", | ||
value: \\"#222222\\", | ||
name: "dark", | ||
value: "#222222", | ||
default: true | ||
} | ||
] | ||
} | ||
}; | ||
|
||
export const Story_1 = { | ||
name: \\"Story 1\\", | ||
name: "Story 1", | ||
parameters: { | ||
server: { | ||
id: \\"addons/backgrounds/story1\\" | ||
id: "addons/backgrounds/story1" | ||
} | ||
} | ||
}; | ||
" | ||
`; |
Oops, something went wrong.