You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| output | Specifies the filename for the generated asketch.json file or a folder when outputBy === 'kind'. | string |`"dist/stories.asketch.json"`|
114
-
| input | The location of Storybook's generated iframe.html. Use this over `url` if possible for performance. | string |`"dist/iframe.html"`|
115
-
| url | Storybook iframe URL. Will end in `iframe.html`. Prefer `input` for performance if possible. | string |`"http://localhost:9001/iframe.html"`|
116
-
| stories | Stories to extract from Storybook. You should probably override the default. | object/string |`"all"`|
117
-
| concurrency | Number of headless Chrome tabs to run in parallel. Drastically impacts performance. | integer |`4`|
118
-
| symbolGutter | Gutter to place between symbols in Sketch. | integer |`100`|
119
-
| viewports | Viewport configuration. Will be arranged left-to-right by width. Try to avoid changing the key, as this is used to identify the symbol. | object | Mobile viewport (320px wide) and desktop viewport (1920px wide). See example below. |
120
-
| querySelector | Query selector to select your node on each page. Uses `document.querySelectorAll`. | string |`"#root"`|
| fixPseudo | Attempt to insert real elements in place of pseudo-elements | boolean |`false`|
123
-
| puppeteerOptions | Options to be passed directly to `puppeteer.launch`. See [puppeteer docs](https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#puppeteerlaunchoptions) for usage. | object |`{}`|
124
-
| removePreviewMargin | Remove preview margin from the iframe body. | boolean |`true`|
125
-
| layoutBy |How to layout the stories. (values: 'kind') | string | null |
126
-
| outputBy |How to output the stories (values: 'kind') | string | null |
111
+
| Parameter | Explanation | Input Type | Default |
| output | Specifies the filename for the generated asketch.json file or a folder when outputBy === 'kind'. | string |`"dist/stories.asketch.json"`|
114
+
| input | The location of Storybook's generated iframe.html. Use this over `url` if possible for performance. | string |`"dist/iframe.html"`|
115
+
| url | Storybook iframe URL. Will end in `iframe.html`. Prefer `input` for performance if possible. | string |`"http://localhost:9001/iframe.html"`|
116
+
| stories | Stories to extract from Storybook. You should probably override the default. | object/string |`"all"`|
117
+
| concurrency | Number of headless Chrome tabs to run in parallel. Drastically impacts performance. | integer |`4`|
118
+
| symbolGutter | Gutter to place between symbols in Sketch. | integer |`100`|
119
+
| viewports | Viewport configuration. Will be arranged left-to-right by width. Try to avoid changing the key, as this is used to identify the symbol. | object | Mobile viewport (320px wide) and desktop viewport (1920px wide). See example below. |
120
+
| querySelector | Query selector to select your node on each page. Uses `document.querySelectorAll`. | string |`"#root"`|
| fixPseudo | Attempt to insert real elements in place of pseudo-elements | boolean |`false`|
123
+
| puppeteerOptions | Options to be passed directly to `puppeteer.launch`. See [puppeteer docs](https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#puppeteerlaunchoptions) for usage. | object |`{}`|
124
+
| removePreviewMargin | Remove preview margin from the iframe body. | boolean |`true`|
125
+
| layoutBy |Group symboles in the sketch output by the "kind" or "group" key| "kind" \| "group"| null |
126
+
| outputBy |Write multiple sketch files by "kind" or the "group" key| "kind" \| "group"| null |
0 commit comments