diff --git a/examples/official-storybook/stories/__snapshots__/addon-actions.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-actions.stories.storyshot index e0a17b8e673..74b0823d8e6 100644 --- a/examples/official-storybook/stories/__snapshots__/addon-actions.stories.storyshot +++ b/examples/official-storybook/stories/__snapshots__/addon-actions.stories.storyshot @@ -113,14 +113,6 @@ exports[`Storyshots Addons|Actions Circular Payload 1`] = ` `; -exports[`Storyshots Addons|Actions Decorated Action (deprecated) 1`] = ` - -`; - exports[`Storyshots Addons|Actions Decorated action + config 1`] = ` +`; diff --git a/examples/official-storybook/stories/__snapshots__/addon-backgrounds.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-backgrounds.stories.storyshot index 129514ebf52..ddcf188c21b 100644 --- a/examples/official-storybook/stories/__snapshots__/addon-backgrounds.stories.storyshot +++ b/examples/official-storybook/stories/__snapshots__/addon-backgrounds.stories.storyshot @@ -1,11 +1,23 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP +exports[`Storyshots Addons|Backgrounds disabled via [] 1`] = ` + +`; + exports[`Storyshots Addons|Backgrounds overriden 1`] = ` `; +exports[`Storyshots Addons|Backgrounds skipped via disable:true 1`] = ` + +`; + exports[`Storyshots Addons|Backgrounds story 1 1`] = ` `; -exports[`Storyshots Addons|Backgrounds, parameters disabled via [] 1`] = ` - -`; - -exports[`Storyshots Addons|Backgrounds, parameters overriden 1`] = ` +exports[`Storyshots Addons|Backgrounds.deprecated overriden 1`] = ` `; -exports[`Storyshots Addons|Backgrounds, parameters skipped via disable:true 1`] = ` - -`; - -exports[`Storyshots Addons|Backgrounds, parameters story 1 1`] = ` +exports[`Storyshots Addons|Backgrounds.deprecated story 1 1`] = ` `; -exports[`Storyshots Addons|Backgrounds, parameters story 2 1`] = ` +exports[`Storyshots Addons|Backgrounds.deprecated story 2 1`] = ` diff --git a/examples/official-storybook/stories/__snapshots__/addon-events.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-events.stories.storyshot index ad487ed5f71..33ebbe96475 100644 --- a/examples/official-storybook/stories/__snapshots__/addon-events.stories.storyshot +++ b/examples/official-storybook/stories/__snapshots__/addon-events.stories.storyshot @@ -13,7 +13,7 @@ exports[`Storyshots Addons|Events Logger 1`] = ` `; -exports[`Storyshots Addons|Events/WithEvents (deprecated) Logger 1`] = ` +exports[`Storyshots Addons|Events.deprecated Logger 1`] = `
diff --git a/examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot index 04f742dd04c..01124a48a60 100644 --- a/examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot +++ b/examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot @@ -48,7 +48,7 @@ exports[`Storyshots Addons|Info.Decorator Use Info as story decorator 1`] = `
- Info could be used as a global or local decorator as well. + Info can take options via the global or local decorator as well.
@@ -816,10 +816,10 @@ exports[`Storyshots Addons|Info.Markdown Displays Markdown in description 1`] = style="margin-bottom:0" >

- You can use markdown in your withInfo() description. + You can use markdown in your withInfo description.

- You can use markdown in your withInfo() description. + You can use markdown in your withInfo description.

`; + +exports[`Storyshots Addons|Info.deprecated Displays Markdown in description 1`] = ` +
+
+ +
+ +
+ +
+
+
+

+ Addons|Info.deprecated +

+

+ Displays Markdown in description +

+
+
+

+ You can use markdown in your withInfo description. +

+
+ Sometimes you might want to manually include some code examples: +
+
+            
+              const Button = () => <button />;
+            
+          
+
+ Maybe include a + + link + + to your project as well. +
+
+
+

+ Story Source +

+
+            
+
+ + <BaseButton + + + + + + onClick + + + = + + { + + clicked + + } + + + + + + + label + + + = + + " + + Button + + " + + + + + + + /> + +
+
+ +
+
+
+

+ Prop Types +

+
+

+ "BaseButton" Component +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ property + + propType + + required + + default + + description +
+ disabled + + + + - + + + false + + +
+ label + + + + yes + + - + +
+ onClick + + + + - + + + onClick + + +
+ style + + + + - + + + {} + + +
+
+
+
+
+
+
+`; diff --git a/examples/official-storybook/stories/__snapshots__/addon-notes.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-notes.stories.storyshot index a8dd3941c96..94e74767d4a 100644 --- a/examples/official-storybook/stories/__snapshots__/addon-notes.stories.storyshot +++ b/examples/official-storybook/stories/__snapshots__/addon-notes.stories.storyshot @@ -1,17 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`Storyshots Addons|Notes using decorator arguments, withMarkdownNotes 1`] = ` - -`; - -exports[`Storyshots Addons|Notes using decorator arguments, withNotes 1`] = ` - -`; - exports[`Storyshots Addons|Notes with a markdown table 1`] = ` `; + +exports[`Storyshots Addons|Notes.deprecated using decorator arguments, withMarkdownNotes 1`] = ` + +`; + +exports[`Storyshots Addons|Notes.deprecated using decorator arguments, withNotes 1`] = ` + +`; diff --git a/examples/official-storybook/stories/__snapshots__/addon-viewport.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-viewport.stories.storyshot index d9e98e0fad7..9f7e1f3f1f3 100644 --- a/examples/official-storybook/stories/__snapshots__/addon-viewport.stories.storyshot +++ b/examples/official-storybook/stories/__snapshots__/addon-viewport.stories.storyshot @@ -20,7 +20,19 @@ exports[`Storyshots Addons|Viewport.Custom Default (Kindle Fire 2) Inherited 1`]
`; -exports[`Storyshots Addons|Viewport.Custom Default (Kindle Fire 2) Overridden via "Viewport" component (deprecated) 1`] = ` +exports[`Storyshots Addons|Viewport.Custom Default (Kindle Fire 2) Overridden via "withViewport" parameterized decorator 1`] = ` +
+ I respect my parents but I should be looking good on + + iPad + + . +
+`; + +exports[`Storyshots Addons|Viewport.deprecated Overridden via "Viewport" component 1`] = `
@@ -32,7 +44,7 @@ exports[`Storyshots Addons|Viewport.Custom Default (Kindle Fire 2) Overridden vi
`; -exports[`Storyshots Addons|Viewport.Custom Default (Kindle Fire 2) Overridden via "withViewport" decorator (deprecated) 1`] = ` +exports[`Storyshots Addons|Viewport.deprecated Overridden via "withViewport" decorator 1`] = `
@@ -44,18 +56,6 @@ exports[`Storyshots Addons|Viewport.Custom Default (Kindle Fire 2) Overridden vi
`; -exports[`Storyshots Addons|Viewport.Custom Default (Kindle Fire 2) Overridden via "withViewport" parameterized decorator 1`] = ` -
- I respect my parents but I should be looking good on - - iPad - - . -
-`; - exports[`Storyshots Addons|Viewport.withViewport onViewportChange 1`] = `