File tree Expand file tree Collapse file tree 3 files changed +0
-22
lines changed
__docs__/wonder-blocks-modal Expand file tree Collapse file tree 3 files changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import {
1515import ComponentInfo from "../components/component-info" ;
1616import packageConfig from "../../packages/wonder-blocks-modal/package.json" ;
1717import modalDialogArgtypes from "./modal-dialog.argtypes" ;
18- import { allModes } from "../../.storybook/modes" ;
1918
2019/**
2120 * `ModalDialog` is a component that contains these elements:
@@ -54,10 +53,6 @@ export default {
5453 } ,
5554 } ,
5655 chromatic : {
57- modes : {
58- small : allModes . small ,
59- large : allModes . large ,
60- } ,
6156 // We already have screenshots in one-pane-dialog.stories.tsx
6257 disableSnapshot : true ,
6358 } ,
@@ -219,13 +214,6 @@ export const WithLauncher: StoryComponentType = {
219214 </ ModalLauncher >
220215 ) ;
221216 } ,
222- parameters : {
223- chromatic : {
224- // Don't take screenshots of this story since it would only show a
225- // button and not the actual modal.
226- disableSnapshot : true ,
227- } ,
228- } ,
229217} ;
230218
231219const styles = StyleSheet . create ( {
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import {
1515import packageConfig from "../../packages/wonder-blocks-modal/package.json" ;
1616
1717import ComponentInfo from "../components/component-info" ;
18- import { allModes } from "../../.storybook/modes" ;
1918
2019const longBody = (
2120 < >
@@ -105,10 +104,6 @@ export default {
105104 } ,
106105 } ,
107106 chromatic : {
108- modes : {
109- small : allModes . small ,
110- large : allModes . large ,
111- } ,
112107 // We already have screenshots of other stories in
113108 // one-pane-dialog.stories.tsx
114109 disableSnapshot : true ,
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ import packageConfig from "../../packages/wonder-blocks-modal/package.json";
1919
2020import ComponentInfo from "../components/component-info" ;
2121import ModalHeaderArgtypes from "./modal-header.argtypes" ;
22- import { allModes } from "../../.storybook/modes" ;
2322
2423const longBody = (
2524 < >
@@ -132,10 +131,6 @@ export default {
132131 } ,
133132 } ,
134133 chromatic : {
135- modes : {
136- small : allModes . small ,
137- large : allModes . large ,
138- } ,
139134 // We already have screenshots of other stories in
140135 // one-pane-dialog.stories.tsx
141136 disableSnapshot : true ,
You can’t perform that action at this time.
0 commit comments