From 6df02c249c8af7e6dd253ac3c6c03adda0fa5d5e Mon Sep 17 00:00:00 2001 From: Fatih Kalifa Date: Mon, 11 Mar 2019 15:48:44 +0700 Subject: [PATCH 001/371] fix code block in addon-info --- .../info/src/__snapshots__/index.test.js.snap | 1340 +++++++++++++++++ addons/info/src/components/markdown/code.js | 17 +- addons/info/src/index.test.js | 4 +- 3 files changed, 1357 insertions(+), 4 deletions(-) diff --git a/addons/info/src/__snapshots__/index.test.js.snap b/addons/info/src/__snapshots__/index.test.js.snap index 836ee6c3a6a0..ef70ad4dbd11 100644 --- a/addons/info/src/__snapshots__/index.test.js.snap +++ b/addons/info/src/__snapshots__/index.test.js.snap @@ -2589,6 +2589,237 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" `; exports[`addon Info should render component description if story kind matches component 1`] = ` +.emotion-5 { + position: relative; + overflow: hidden; + border: 1px solid rgba(0,0,0,.1); +} + +.emotion-2 { + position: relative; + overflow: auto; +} + +.emotion-2 code { + padding-right: 10px; +} + +.emotion-2 * .token { + font-family: "Operator Mono","Fira Code Retina","Fira Code","FiraCode-Retina","Andale Mono","Lucida Console",Consolas,Monaco,monospace; + -webkit-font-smoothing: antialiased; +} + +.emotion-2 * .token.comment { + color: #008000; + font-style: italic; +} + +.emotion-2 * .token.prolog { + color: #008000; + font-style: italic; +} + +.emotion-2 * .token.doctype { + color: #008000; + font-style: italic; +} + +.emotion-2 * .token.cdata { + color: #008000; + font-style: italic; +} + +.emotion-2 * .token.string { + color: #A31515; +} + +.emotion-2 * .token.punctuation { + color: #393A34; +} + +.emotion-2 * .token.operator { + color: #393A34; +} + +.emotion-2 * .token.url { + color: #36acaa; +} + +.emotion-2 * .token.symbol { + color: #36acaa; +} + +.emotion-2 * .token.number { + color: #36acaa; +} + +.emotion-2 * .token.boolean { + color: #36acaa; +} + +.emotion-2 * .token.variable { + color: #36acaa; +} + +.emotion-2 * .token.constant { + color: #36acaa; +} + +.emotion-2 * .token.inserted { + color: #36acaa; +} + +.emotion-2 * .token.atrule { + color: #0000ff; +} + +.emotion-2 * .token.keyword { + color: #0000ff; +} + +.emotion-2 * .token.attr-value { + color: #0000ff; +} + +.emotion-2 * .token.function { + color: #393A34; +} + +.emotion-2 * .token.deleted { + color: #9a050f; +} + +.emotion-2 * .token.important { + font-weight: bold; +} + +.emotion-2 * .token.bold { + font-weight: bold; +} + +.emotion-2 * .token.italic { + font-style: italic; +} + +.emotion-2 * .token.class-name { + color: #2B91AF; +} + +.emotion-2 * .token.tag { + color: #800000; +} + +.emotion-2 * .token.selector { + color: #800000; +} + +.emotion-2 * .token.attr-name { + color: #ff0000; +} + +.emotion-2 * .token.property { + color: #ff0000; +} + +.emotion-2 * .token.regex { + color: #ff0000; +} + +.emotion-2 * .token.entity { + color: #ff0000; +} + +.emotion-2 * .token.directive.tag .tag { + background: #ffff00; + color: #393A34; +} + +.emotion-2 * .language-json .token.boolean { + color: #0000ff; +} + +.emotion-2 * .language-json .token.number { + color: #0000ff; +} + +.emotion-2 * .language-json .token.property { + color: #2B91AF; +} + +.emotion-2 * .namespace { + opacity: 0.7; +} + +.emotion-1 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; + margin: 0; + padding: 10px; +} + +.emotion-0 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding-right: 0; + opacity: 1; +} + +.emotion-4 { + position: absolute; + bottom: 0; + right: 0; + max-width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + background: #FFFFFF; +} + +.emotion-3 { + border: 0 none; + padding: 4px 10px; + cursor: pointer; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + color: #333333; + background: #FFFFFF; + font-size: 12px; + line-height: 16px; + font-weight: 700; + border-top: 1px solid rgba(0,0,0,.1); + border-left: 1px solid rgba(0,0,0,.1); + margin-left: -1px; + border-radius: 4px 0 0 0; +} + +.emotion-3:not(:last-child) { + border-right: 1px solid rgba(0,0,0,.1); +} + +.emotion-3 + * { + border-left: 1px solid rgba(0,0,0,.1); + border-radius: 0; +} + +.emotion-3:focus { + box-shadow: #1EA7FD 0 -3px 0 0 inset; + outline: 0 none; +} +

+ + + + +
+ +
+ + +
+                                
+                                  
+                                    a
+                                    
+                                      ;
+                                    
+                                  
+                                
+                              
+
+
+
+
+ + +
+ + + +
+
+
+
+
+
+
+

+ + + + +
+ +
+ + +
+                                
+                                  
+                                    a
+                                    
+                                      ;
+                                    
+                                  
+                                
+                              
+
+
+
+
+ + +
+ + + +
+
+
+
+
+
+
+

? -const Code = ({ props }) => ; +const Code = ({ code, language, ...props }) => ( + + + {code} + + +); Code.propTypes = { - props: PropTypes.shape({}).isRequired, + code: PropTypes.string.isRequired, + language: PropTypes.string, +}; + +Code.defaultProps = { + language: null, }; export { Code }; diff --git a/addons/info/src/index.test.js b/addons/info/src/index.test.js index 339d4c669ad1..55bc463e6903 100644 --- a/addons/info/src/index.test.js +++ b/addons/info/src/index.test.js @@ -33,7 +33,9 @@ const storybookReactClassMock = { # Awesome test component description ## with markdown support **bold** *cursive* - `, +\`\`\`js +a; +\`\`\``, name: 'TestComponent', }, }; From 4c72dfa2afa36d48f0b733f569ca685e474166b6 Mon Sep 17 00:00:00 2001 From: Fatih Kalifa Date: Fri, 15 Mar 2019 23:58:27 +0700 Subject: [PATCH 002/371] update more snapshot --- .../info/src/__snapshots__/index.test.js.snap | 3152 ++++++++++++++++- .../addon-info.stories.storyshot | 1392 ++++++++ 2 files changed, 4390 insertions(+), 154 deletions(-) diff --git a/addons/info/src/__snapshots__/index.test.js.snap b/addons/info/src/__snapshots__/index.test.js.snap index ef70ad4dbd11..0703164e28b1 100644 --- a/addons/info/src/__snapshots__/index.test.js.snap +++ b/addons/info/src/__snapshots__/index.test.js.snap @@ -2589,15 +2589,171 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" `; exports[`addon Info should render component description if story kind matches component 1`] = ` -.emotion-5 { +.emotion-10 { position: relative; overflow: hidden; border: 1px solid rgba(0,0,0,.1); + background: #FFFFFF; +} + +.emotion-5 { + position: relative; +} + +.emotion-5 code { + padding-right: 10px; +} + +.emotion-5 * .token { + font-family: "Operator Mono","Fira Code Retina","Fira Code","FiraCode-Retina","Andale Mono","Lucida Console",Consolas,Monaco,monospace; + -webkit-font-smoothing: antialiased; +} + +.emotion-5 * .token.comment { + color: #008000; + font-style: italic; +} + +.emotion-5 * .token.prolog { + color: #008000; + font-style: italic; +} + +.emotion-5 * .token.doctype { + color: #008000; + font-style: italic; +} + +.emotion-5 * .token.cdata { + color: #008000; + font-style: italic; +} + +.emotion-5 * .token.string { + color: #A31515; +} + +.emotion-5 * .token.punctuation { + color: #393A34; +} + +.emotion-5 * .token.operator { + color: #393A34; +} + +.emotion-5 * .token.url { + color: #36acaa; +} + +.emotion-5 * .token.symbol { + color: #36acaa; +} + +.emotion-5 * .token.number { + color: #36acaa; +} + +.emotion-5 * .token.boolean { + color: #36acaa; +} + +.emotion-5 * .token.variable { + color: #36acaa; +} + +.emotion-5 * .token.constant { + color: #36acaa; +} + +.emotion-5 * .token.inserted { + color: #36acaa; +} + +.emotion-5 * .token.atrule { + color: #0000ff; +} + +.emotion-5 * .token.keyword { + color: #0000ff; +} + +.emotion-5 * .token.attr-value { + color: #0000ff; +} + +.emotion-5 * .token.function { + color: #393A34; +} + +.emotion-5 * .token.deleted { + color: #9a050f; +} + +.emotion-5 * .token.important { + font-weight: bold; +} + +.emotion-5 * .token.bold { + font-weight: bold; +} + +.emotion-5 * .token.italic { + font-style: italic; +} + +.emotion-5 * .token.class-name { + color: #2B91AF; +} + +.emotion-5 * .token.tag { + color: #800000; +} + +.emotion-5 * .token.selector { + color: #800000; +} + +.emotion-5 * .token.attr-name { + color: #ff0000; +} + +.emotion-5 * .token.property { + color: #ff0000; +} + +.emotion-5 * .token.regex { + color: #ff0000; +} + +.emotion-5 * .token.entity { + color: #ff0000; +} + +.emotion-5 * .token.directive.tag .tag { + background: #ffff00; + color: #393A34; +} + +.emotion-5 * .language-json .token.boolean { + color: #0000ff; +} + +.emotion-5 * .language-json .token.number { + color: #0000ff; +} + +.emotion-5 * .language-json .token.property { + color: #2B91AF; +} + +.emotion-5 * .namespace { + opacity: 0.7; } .emotion-2 { + overflow-y: auto; + overflow-x: auto; position: relative; - overflow: auto; } .emotion-2 code { @@ -2771,7 +2927,7 @@ exports[`addon Info should render component description if story kind matches co opacity: 1; } -.emotion-4 { +.emotion-9 { position: absolute; bottom: 0; right: 0; @@ -2783,7 +2939,7 @@ exports[`addon Info should render component description if story kind matches co background: #FFFFFF; } -.emotion-3 { +.emotion-8 { border: 0 none; padding: 4px 10px; cursor: pointer; @@ -2806,16 +2962,16 @@ exports[`addon Info should render component description if story kind matches co border-radius: 4px 0 0 0; } -.emotion-3:not(:last-child) { +.emotion-8:not(:last-child) { border-right: 1px solid rgba(0,0,0,.1); } -.emotion-3 + * { +.emotion-8 + * { border-left: 1px solid rgba(0,0,0,.1); border-radius: 0; } -.emotion-3:focus { +.emotion-8:focus { box-shadow: #1EA7FD 0 -3px 0 0 inset; outline: 0 none; } @@ -3188,6 +3344,7 @@ exports[`addon Info should render component description if story kind matches co "appBorderRadius": 4, "background": Object { "app": "#F6F9FC", + "bar": "#FFFFFF", "content": "#FFFFFF", "hoverable": "rgba(0,0,0,.05)", "negative": "#FEDED2", @@ -3382,7 +3539,6 @@ exports[`addon Info should render component description if story kind matches co
- -
+ - - -
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                        
+                                      ,
+                                      "ctr": 82,
+                                      "isSpeedy": false,
+                                      "key": "css",
+                                      "nonce": undefined,
+                                      "tags": Array [
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                        ,
+                                      ],
+                                    },
+                                  }
+                                }
+                                serialized={
+                                  Object {
+                                    "map": undefined,
+                                    "name": "6ym4y",
+                                    "next": undefined,
+                                    "styles": "[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start;width:inherit;height:inherit;max-width:inherit;max-height:inherit;}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit;}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto !important;height:auto !important;z-index:0;}.simplebar-offset{direction:inherit !important;box-sizing:inherit !important;resize:none !important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch;}.simplebar-content{direction:inherit;box-sizing:border-box !important;position:relative;display:block;height:100% /* Required for horizontal native scrollbar to not appear if parent is taller than natural height */;width:auto;visibility:visible;overflow:scroll;max-width:100% /* Not required for horizontal scroll to trigger */;max-height:100% /* Needed for vertical scroll to trigger */;}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none;}.simplebar-height-auto-observer-wrapper{box-sizing:inherit !important;height:100%;width:inherit;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0;}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1;}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;}.simplebar-scrollbar{position:absolute;right:2px;width:6px;min-height:10px;}.simplebar-scrollbar:before{position:absolute;content:\\"\\";border-radius:6px;left:0;right:0;opacity:0;transition:opacity 0.2s linear;background:#333333;}.simplebar-track .simplebar-scrollbar.simplebar-visible:before{opacity:0.2;transition:opacity 0s linear;}.simplebar-track.simplebar-vertical{top:0;width:10px;right:0;}.simplebar-track.simplebar-vertical .simplebar-scrollbar:before{top:2px;bottom:2px;}.simplebar-track.simplebar-horizontal{left:0;height:10px;bottom:0;}.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before{height:100%;left:2px;right:2px;}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:2px;height:6px;min-height:0;min-width:10px;width:auto;}[data-simplebar-direction=\\"rtl\\"] .simplebar-track.simplebar-vertical{right:auto;left:0;}.hs-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;}",
+                                  }
+                                }
+                              />
+                            
+                            
+                              
-                                
-                                  
+                                  
- a - - ; - - - -
-
-
-
-
+
+
+
+
+
+
+ + +
+                                                  
+                                                    
+                                                      a
+                                                      
+                                                        ;
+                                                      
+                                                    
+                                                  
+                                                
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + +
+
+
@@ -4004,6 +4359,239 @@ exports[`Storyshots Addons|Info/Parameters Disable the addon entirely 1`] = ` `; exports[`Storyshots Addons|Info/Parameters Overwrite the parameters with markdown variable 1`] = ` +.emotion-5 { + position: relative; + overflow: hidden; + border: 1px solid rgba(0,0,0,.1); + background: #FFFFFF; +} + +.emotion-2 { + overflow-y: auto; + overflow-x: auto; + position: relative; +} + +.emotion-2 code { + padding-right: 10px; +} + +.emotion-2 * .token { + font-family: "Operator Mono","Fira Code Retina","Fira Code","FiraCode-Retina","Andale Mono","Lucida Console",Consolas,Monaco,monospace; + -webkit-font-smoothing: antialiased; +} + +.emotion-2 * .token.comment { + color: #008000; + font-style: italic; +} + +.emotion-2 * .token.prolog { + color: #008000; + font-style: italic; +} + +.emotion-2 * .token.doctype { + color: #008000; + font-style: italic; +} + +.emotion-2 * .token.cdata { + color: #008000; + font-style: italic; +} + +.emotion-2 * .token.string { + color: #A31515; +} + +.emotion-2 * .token.punctuation { + color: #393A34; +} + +.emotion-2 * .token.operator { + color: #393A34; +} + +.emotion-2 * .token.url { + color: #36acaa; +} + +.emotion-2 * .token.symbol { + color: #36acaa; +} + +.emotion-2 * .token.number { + color: #36acaa; +} + +.emotion-2 * .token.boolean { + color: #36acaa; +} + +.emotion-2 * .token.variable { + color: #36acaa; +} + +.emotion-2 * .token.constant { + color: #36acaa; +} + +.emotion-2 * .token.inserted { + color: #36acaa; +} + +.emotion-2 * .token.atrule { + color: #0000ff; +} + +.emotion-2 * .token.keyword { + color: #0000ff; +} + +.emotion-2 * .token.attr-value { + color: #0000ff; +} + +.emotion-2 * .token.function { + color: #393A34; +} + +.emotion-2 * .token.deleted { + color: #9a050f; +} + +.emotion-2 * .token.important { + font-weight: bold; +} + +.emotion-2 * .token.bold { + font-weight: bold; +} + +.emotion-2 * .token.italic { + font-style: italic; +} + +.emotion-2 * .token.class-name { + color: #2B91AF; +} + +.emotion-2 * .token.tag { + color: #800000; +} + +.emotion-2 * .token.selector { + color: #800000; +} + +.emotion-2 * .token.attr-name { + color: #ff0000; +} + +.emotion-2 * .token.property { + color: #ff0000; +} + +.emotion-2 * .token.regex { + color: #ff0000; +} + +.emotion-2 * .token.entity { + color: #ff0000; +} + +.emotion-2 * .token.directive.tag .tag { + background: #ffff00; + color: #393A34; +} + +.emotion-2 * .language-json .token.boolean { + color: #0000ff; +} + +.emotion-2 * .language-json .token.number { + color: #0000ff; +} + +.emotion-2 * .language-json .token.property { + color: #2B91AF; +} + +.emotion-2 * .namespace { + opacity: 0.7; +} + +.emotion-1 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; + margin: 0; + padding: 10px; +} + +.emotion-0 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding-right: 0; + opacity: 1; +} + +.emotion-4 { + position: absolute; + bottom: 0; + right: 0; + max-width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + background: #FFFFFF; +} + +.emotion-3 { + border: 0 none; + padding: 4px 10px; + cursor: pointer; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + color: #333333; + background: #FFFFFF; + font-size: 12px; + line-height: 16px; + font-weight: 700; + border-top: 1px solid rgba(0,0,0,.1); + border-left: 1px solid rgba(0,0,0,.1); + margin-left: -1px; + border-radius: 4px 0 0 0; +} + +.emotion-3:not(:last-child) { + border-right: 1px solid rgba(0,0,0,.1); +} + +.emotion-3 + * { + border-left: 1px solid rgba(0,0,0,.1); + border-radius: 0; +} + +.emotion-3:focus { + box-shadow: #1EA7FD 0 -3px 0 0 inset; + outline: 0 none; +} +
Sometimes you might want to manually include some code examples:
+
+
+
+
+
+
+
+
+
+
+                        
+                          
+                            const
+                          
+                           
+                          
+                            Button
+                          
+                           
+                          
+                            =
+                          
+                           
+                          
+                            (
+                          
+                          
+                            )
+                          
+                           
+                          
+                            =>
+                          
+                           
+                          
+                            <
+                          
+                          button 
+                          
+                            /
+                          
+                          
+                            >
+                          
+                          
+                            ;
+                          
+                        
+                      
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
@@ -4287,6 +4997,239 @@ exports[`Storyshots Addons|Info/Parameters Overwrite the parameters with markdow `; exports[`Storyshots Addons|Info/Parameters Overwrite the text parameter with markdown inline 1`] = ` +.emotion-5 { + position: relative; + overflow: hidden; + border: 1px solid rgba(0,0,0,.1); + background: #FFFFFF; +} + +.emotion-2 { + overflow-y: auto; + overflow-x: auto; + position: relative; +} + +.emotion-2 code { + padding-right: 10px; +} + +.emotion-2 * .token { + font-family: "Operator Mono","Fira Code Retina","Fira Code","FiraCode-Retina","Andale Mono","Lucida Console",Consolas,Monaco,monospace; + -webkit-font-smoothing: antialiased; +} + +.emotion-2 * .token.comment { + color: #008000; + font-style: italic; +} + +.emotion-2 * .token.prolog { + color: #008000; + font-style: italic; +} + +.emotion-2 * .token.doctype { + color: #008000; + font-style: italic; +} + +.emotion-2 * .token.cdata { + color: #008000; + font-style: italic; +} + +.emotion-2 * .token.string { + color: #A31515; +} + +.emotion-2 * .token.punctuation { + color: #393A34; +} + +.emotion-2 * .token.operator { + color: #393A34; +} + +.emotion-2 * .token.url { + color: #36acaa; +} + +.emotion-2 * .token.symbol { + color: #36acaa; +} + +.emotion-2 * .token.number { + color: #36acaa; +} + +.emotion-2 * .token.boolean { + color: #36acaa; +} + +.emotion-2 * .token.variable { + color: #36acaa; +} + +.emotion-2 * .token.constant { + color: #36acaa; +} + +.emotion-2 * .token.inserted { + color: #36acaa; +} + +.emotion-2 * .token.atrule { + color: #0000ff; +} + +.emotion-2 * .token.keyword { + color: #0000ff; +} + +.emotion-2 * .token.attr-value { + color: #0000ff; +} + +.emotion-2 * .token.function { + color: #393A34; +} + +.emotion-2 * .token.deleted { + color: #9a050f; +} + +.emotion-2 * .token.important { + font-weight: bold; +} + +.emotion-2 * .token.bold { + font-weight: bold; +} + +.emotion-2 * .token.italic { + font-style: italic; +} + +.emotion-2 * .token.class-name { + color: #2B91AF; +} + +.emotion-2 * .token.tag { + color: #800000; +} + +.emotion-2 * .token.selector { + color: #800000; +} + +.emotion-2 * .token.attr-name { + color: #ff0000; +} + +.emotion-2 * .token.property { + color: #ff0000; +} + +.emotion-2 * .token.regex { + color: #ff0000; +} + +.emotion-2 * .token.entity { + color: #ff0000; +} + +.emotion-2 * .token.directive.tag .tag { + background: #ffff00; + color: #393A34; +} + +.emotion-2 * .language-json .token.boolean { + color: #0000ff; +} + +.emotion-2 * .language-json .token.number { + color: #0000ff; +} + +.emotion-2 * .language-json .token.property { + color: #2B91AF; +} + +.emotion-2 * .namespace { + opacity: 0.7; +} + +.emotion-1 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; + margin: 0; + padding: 10px; +} + +.emotion-0 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding-right: 0; + opacity: 1; +} + +.emotion-4 { + position: absolute; + bottom: 0; + right: 0; + max-width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + background: #FFFFFF; +} + +.emotion-3 { + border: 0 none; + padding: 4px 10px; + cursor: pointer; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + color: #333333; + background: #FFFFFF; + font-size: 12px; + line-height: 16px; + font-weight: 700; + border-top: 1px solid rgba(0,0,0,.1); + border-left: 1px solid rgba(0,0,0,.1); + margin-left: -1px; + border-radius: 4px 0 0 0; +} + +.emotion-3:not(:last-child) { + border-right: 1px solid rgba(0,0,0,.1); +} + +.emotion-3 + * { + border-left: 1px solid rgba(0,0,0,.1); + border-radius: 0; +} + +.emotion-3:focus { + box-shadow: #1EA7FD 0 -3px 0 0 inset; + outline: 0 none; +} +
description or documentation about my component, supports markdown
+
+
+
+
+
+
+
+
+
+
+                      
+                        
+                          <
+                        
+                        Button
+                        
+                          >
+                        
+                        Click Here
+                        
+                          <
+                        
+                        
+                          /
+                        
+                        Button
+                        
+                          >
+                        
+                      
+                    
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+

Sometimes you might want to manually include some code examples:
+
+
+
+
+
+
+
+
+
+
+                        
+                          
+                            const
+                          
+                           
+                          
+                            Button
+                          
+                           
+                          
+                            =
+                          
+                           
+                          
+                            (
+                          
+                          
+                            )
+                          
+                           
+                          
+                            =>
+                          
+                           
+                          
+                            <
+                          
+                          button 
+                          
+                            /
+                          
+                          
+                            >
+                          
+                          
+                            ;
+                          
+                        
+                      
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+
From e14d57e63c7bb9243af43cb84e333a92224fb731 Mon Sep 17 00:00:00 2001 From: RGR Date: Mon, 25 Mar 2019 21:55:44 +0100 Subject: [PATCH 003/371] fix(webpack-dev-server) : enable webpack to rebuild changes in node_modules by default --- lib/core/src/server/dev-server.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/core/src/server/dev-server.js b/lib/core/src/server/dev-server.js index 9962d613d89b..9bd19f080f77 100644 --- a/lib/core/src/server/dev-server.js +++ b/lib/core/src/server/dev-server.js @@ -99,7 +99,6 @@ export default function(options) { publicPath: previewConfig.output.publicPath, watchOptions: { aggregateTimeout: 1, - ignored: /node_modules/, ...(previewConfig.watchOptions || {}), }, // this actually causes 0 (regular) output from wdm & webpack From 6fd7687c34cc4ad0faf270ff10b038cb81b4c81a Mon Sep 17 00:00:00 2001 From: Rene-Pier Deshaies-Gelinas Date: Mon, 25 Mar 2019 20:49:33 -0400 Subject: [PATCH 004/371] feat: add PREVIEW_URL env option to customize preview bundling --- lib/core/src/server/build-dev.js | 1 + lib/core/src/server/build-static.js | 1 + lib/core/src/server/cli/dev.js | 4 ++++ lib/core/src/server/cli/prod.js | 4 ++++ lib/core/src/server/config/utils.js | 1 + lib/ui/src/components/preview/preview.js | 2 +- 6 files changed, 12 insertions(+), 1 deletion(-) diff --git a/lib/core/src/server/build-dev.js b/lib/core/src/server/build-dev.js index 9ff7d85e72ff..457bce23e857 100644 --- a/lib/core/src/server/build-dev.js +++ b/lib/core/src/server/build-dev.js @@ -341,5 +341,6 @@ export async function buildDev({ packageJson, ...loadOptions }) { ...loadOptions, packageJson, configDir: loadOptions.configDir || cliOptions.configDir || './.storybook', + ignorePreview: loadOptions.ignorePreview || cliOptions.ignorePreview, }); } diff --git a/lib/core/src/server/build-static.js b/lib/core/src/server/build-static.js index 484e457bdd9c..e8f24c3e012f 100644 --- a/lib/core/src/server/build-static.js +++ b/lib/core/src/server/build-static.js @@ -200,5 +200,6 @@ export function buildStatic({ packageJson, ...loadOptions }) { packageJson, configDir: loadOptions.configDir || cliOptions.configDir || './.storybook', outputDir: loadOptions.outputDir || cliOptions.outputDir || './storybook-static', + ignorePreview: loadOptions.ignorePreview || cliOptions.ignorePreview, }); } diff --git a/lib/core/src/server/cli/dev.js b/lib/core/src/server/cli/dev.js index 2b441cc6c031..fa86208b0c8a 100644 --- a/lib/core/src/server/cli/dev.js +++ b/lib/core/src/server/cli/dev.js @@ -36,6 +36,10 @@ async function getCLI(packageJson) { .option('--quiet', 'Suppress verbose build output') .option('--no-dll', 'Do not use dll reference') .option('--debug-webpack', 'Display final webpack configurations for debugging purposes') + .option( + '--ignore-preview', + 'Ignore the storybook default preview implementation so that you can rollout your own' + ) .parse(process.argv); // Workaround the `-h` shorthand conflict. diff --git a/lib/core/src/server/cli/prod.js b/lib/core/src/server/cli/prod.js index 98b3d7bb4535..3a8ae2714fbf 100644 --- a/lib/core/src/server/cli/prod.js +++ b/lib/core/src/server/cli/prod.js @@ -15,6 +15,10 @@ function getCLI(packageJson) { .option('--quiet', 'Suppress verbose build output') .option('--no-dll', 'Do not use dll reference') .option('--debug-webpack', 'Display final webpack configurations for debugging purposes') + .option( + '--ignore-preview', + 'Ignore the storybook default preview implementation so that you can rollout your own' + ) .parse(process.argv); logger.info(chalk.bold(`${packageJson.name} v${packageJson.version}\n`)); diff --git a/lib/core/src/server/config/utils.js b/lib/core/src/server/config/utils.js index 6a35ac9f7b21..6995e1fcd859 100644 --- a/lib/core/src/server/config/utils.js +++ b/lib/core/src/server/config/utils.js @@ -23,6 +23,7 @@ export function loadEnv(options = {}) { // even when deployed inside a subpath. (like in GitHub pages) // In development this is just empty as we always serves from the root. PUBLIC_URL: options.production ? '.' : '', + PREVIEW_URL: process.env.PREVIEW_URL, }; Object.keys(process.env) diff --git a/lib/ui/src/components/preview/preview.js b/lib/ui/src/components/preview/preview.js index 55093a54c734..855a3dad2886 100644 --- a/lib/ui/src/components/preview/preview.js +++ b/lib/ui/src/components/preview/preview.js @@ -299,7 +299,7 @@ Preview.defaultProps = { storyId: undefined, path: undefined, description: undefined, - baseUrl: 'iframe.html', + baseUrl: process.env.PREVIEW_URL || 'iframe.html', }; export { Preview }; From 972be4dca6b4b731467aa8f106d4ae44b70d140b Mon Sep 17 00:00:00 2001 From: Rene-Pier Deshaies-Gelinas Date: Mon, 1 Apr 2019 09:27:40 -0400 Subject: [PATCH 005/371] refac: ignorePreview flag to previewUrl --- lib/core/src/server/build-dev.js | 3 ++- lib/core/src/server/build-static.js | 3 ++- lib/core/src/server/cli/dev.js | 4 ++-- lib/core/src/server/cli/prod.js | 4 ++-- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/lib/core/src/server/build-dev.js b/lib/core/src/server/build-dev.js index 457bce23e857..f6b95f4f4e5e 100644 --- a/lib/core/src/server/build-dev.js +++ b/lib/core/src/server/build-dev.js @@ -335,12 +335,13 @@ export async function buildDevStandalone(options) { export async function buildDev({ packageJson, ...loadOptions }) { const cliOptions = await getDevCli(packageJson); + process.env.PREVIEW_URL = cliOptions.previewUrl; await buildDevStandalone({ ...cliOptions, ...loadOptions, packageJson, configDir: loadOptions.configDir || cliOptions.configDir || './.storybook', - ignorePreview: loadOptions.ignorePreview || cliOptions.ignorePreview, + ignorePreview: !!cliOptions.previewUrl, }); } diff --git a/lib/core/src/server/build-static.js b/lib/core/src/server/build-static.js index e8f24c3e012f..b8d318e493a5 100644 --- a/lib/core/src/server/build-static.js +++ b/lib/core/src/server/build-static.js @@ -193,6 +193,7 @@ export async function buildStaticStandalone(options) { export function buildStatic({ packageJson, ...loadOptions }) { const cliOptions = getProdCli(packageJson); + process.env.PREVIEW_URL = cliOptions.previewUrl; return buildStaticStandalone({ ...cliOptions, @@ -200,6 +201,6 @@ export function buildStatic({ packageJson, ...loadOptions }) { packageJson, configDir: loadOptions.configDir || cliOptions.configDir || './.storybook', outputDir: loadOptions.outputDir || cliOptions.outputDir || './storybook-static', - ignorePreview: loadOptions.ignorePreview || cliOptions.ignorePreview, + ignorePreview: !!cliOptions.previewUrl, }); } diff --git a/lib/core/src/server/cli/dev.js b/lib/core/src/server/cli/dev.js index fa86208b0c8a..ddefc6e50c4d 100644 --- a/lib/core/src/server/cli/dev.js +++ b/lib/core/src/server/cli/dev.js @@ -37,8 +37,8 @@ async function getCLI(packageJson) { .option('--no-dll', 'Do not use dll reference') .option('--debug-webpack', 'Display final webpack configurations for debugging purposes') .option( - '--ignore-preview', - 'Ignore the storybook default preview implementation so that you can rollout your own' + '--preview-url [string]', + 'Disables the default storybook preview and lets your use your own' ) .parse(process.argv); diff --git a/lib/core/src/server/cli/prod.js b/lib/core/src/server/cli/prod.js index 3a8ae2714fbf..7036d197f142 100644 --- a/lib/core/src/server/cli/prod.js +++ b/lib/core/src/server/cli/prod.js @@ -16,8 +16,8 @@ function getCLI(packageJson) { .option('--no-dll', 'Do not use dll reference') .option('--debug-webpack', 'Display final webpack configurations for debugging purposes') .option( - '--ignore-preview', - 'Ignore the storybook default preview implementation so that you can rollout your own' + '--preview-url [string]', + 'Disables the default storybook preview and lets your use your own' ) .parse(process.argv); From ff0f138157083ffa3a2f1bb99e9b9e7eb4c833a5 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Tue, 2 Apr 2019 19:07:13 +0800 Subject: [PATCH 006/371] Refactor story_store - don't touch URL - only emit events, don't listen on them - add tests --- lib/client-api/src/story_store.js | 35 +--------- lib/client-api/src/story_store.test.js | 59 ----------------- lib/core/src/client/preview/start.js | 42 +++++++----- lib/core/src/client/preview/start.test.js | 39 ++++++++++- lib/core/src/client/preview/url.js | 39 +++++++++++ lib/core/src/client/preview/url.test.js | 79 +++++++++++++++++++++++ 6 files changed, 184 insertions(+), 109 deletions(-) create mode 100644 lib/core/src/client/preview/url.js create mode 100644 lib/core/src/client/preview/url.test.js diff --git a/lib/client-api/src/story_store.js b/lib/client-api/src/story_store.js index f6dbf7c47bd3..13d25d71dbd2 100644 --- a/lib/client-api/src/story_store.js +++ b/lib/client-api/src/story_store.js @@ -1,16 +1,11 @@ /* eslint no-underscore-dangle: 0 */ -import { history, document } from 'global'; import EventEmitter from 'eventemitter3'; -import qs from 'qs'; import memoize from 'memoizerific'; import debounce from 'lodash.debounce'; import { stripIndents } from 'common-tags'; import Events from '@storybook/core-events'; import { logger } from '@storybook/client-logger'; -import { toId } from '@storybook/router/utils'; - -import pathToId from './pathToId'; // TODO: these are copies from components/nav/lib // refactor to DRY @@ -49,9 +44,6 @@ const toExtracted = obj => return Object.assign(acc, { [key]: value }); }, {}); -const getIdFromLegacyQuery = ({ path, selectedKind, selectedStory }) => - (path && pathToId(path)) || (selectedKind && selectedStory && toId(selectedKind, selectedStory)); - export default class StoryStore extends EventEmitter { constructor(params) { super(); @@ -61,19 +53,6 @@ export default class StoryStore extends EventEmitter { this._revision = 0; this._selection = {}; this._channel = params.channel; - - this.on(Events.STORY_INIT, () => { - let storyId = this.getIdOnPath(); - if (!storyId) { - const query = qs.parse(document.location.search, { ignoreQueryPrefix: true }); - storyId = getIdFromLegacyQuery(query); - if (storyId) { - const { path, selectedKind, selectedStory, ...rest } = query; - this.setPath(storyId, rest); - } - } - this.setSelection(this.fromId(storyId)); - }); } setChannel = channel => { @@ -82,16 +61,6 @@ export default class StoryStore extends EventEmitter { // NEW apis - getIdOnPath = () => { - const { id } = qs.parse(document.location.search, { ignoreQueryPrefix: true }); - return id; - }; - - setPath = (storyId, params = {}) => { - const path = `${document.location.pathname}?${qs.stringify({ ...params, id: storyId })}`; - history.replaceState({}, '', path); - }; - fromId = id => { try { const data = this._data[id]; @@ -126,8 +95,8 @@ export default class StoryStore extends EventEmitter { ); } - setSelection = data => { - this._selection = data; + setSelection = ({ storyId }) => { + this._selection = { storyId }; setTimeout(() => this.emit(Events.STORY_RENDER), 1); }; diff --git a/lib/client-api/src/story_store.test.js b/lib/client-api/src/story_store.test.js index b68499539f24..e587e62027aa 100644 --- a/lib/client-api/src/story_store.test.js +++ b/lib/client-api/src/story_store.test.js @@ -1,25 +1,9 @@ -import { history, document } from 'global'; import createChannel from '@storybook/channel-postmessage'; -import Events from '@storybook/core-events'; import { toId } from '@storybook/router/utils'; import StoryStore from './story_store'; import { defaultDecorateStory } from './client_api'; -jest.mock('global', () => ({ - history: { replaceState: jest.fn() }, - window: { - addEventListener: jest.fn(), - }, - document: { - location: { - pathname: 'pathname', - search: '', - }, - addEventListener: jest.fn(), - }, -})); - jest.mock('@storybook/node-logger', () => ({ logger: { info: jest.fn(), @@ -148,47 +132,4 @@ describe('preview.story_store', () => { }); }); }); - - describe('setPath', () => { - it('preserves custom URL params', () => { - const store = new StoryStore({ channel }); - - store.setPath('story--id', { foo: 'bar' }); - expect(history.replaceState).toHaveBeenCalledWith({}, '', 'pathname?foo=bar&id=story--id'); - }); - }); - - describe('STORY_INIT', () => { - const storyFn = () => 0; - - it('supports path params', () => { - document.location = { - pathname: 'pathname', - search: '?path=/story/kind--story&bar=baz', - }; - const store = new StoryStore({ channel }); - store.addStory(...make('kind', 'story', storyFn)); - store.setSelection = jest.fn(); - - store.emit(Events.STORY_INIT); - expect(history.replaceState).toHaveBeenCalledWith({}, '', 'pathname?bar=baz&id=kind--story'); - expect(store.setSelection).toHaveBeenCalled(); - expect(store.setSelection.mock.calls[0][0].getDecorated()).toEqual(storyFn); - }); - - it('supports story kind/name params', () => { - document.location = { - pathname: 'pathname', - search: '?selectedKind=kind&selectedStory=story&bar=baz', - }; - const store = new StoryStore({ channel }); - store.addStory(...make('kind', 'story', storyFn)); - store.setSelection = jest.fn(); - - store.emit(Events.STORY_INIT); - expect(history.replaceState).toHaveBeenCalledWith({}, '', 'pathname?bar=baz&id=kind--story'); - expect(store.setSelection).toHaveBeenCalled(); - expect(store.setSelection.mock.calls[0][0].getDecorated()).toEqual(storyFn); - }); - }); }); diff --git a/lib/core/src/client/preview/start.js b/lib/core/src/client/preview/start.js index deaa08b67749..6593ef2824aa 100644 --- a/lib/core/src/client/preview/start.js +++ b/lib/core/src/client/preview/start.js @@ -6,6 +6,7 @@ import { toId } from '@storybook/router/utils'; import { logger } from '@storybook/client-logger'; import Events from '@storybook/core-events'; import deprecate from 'util-deprecate'; +import { initializePath, setPath } from './url'; const classes = { MAIN: 'sb-show-main', @@ -114,8 +115,19 @@ export default function start(render, { decorateStory } = {}) { const renderMain = forceRender => { const revision = storyStore.getRevision(); - const selection = storyStore.getSelection(); - const { kind, name, getDecorated, id } = selection || {}; + const { storyId } = storyStore.getSelection(); + + const data = storyStore.fromId(storyId); + + const { kind, name, getDecorated, id } = data || {}; + + const renderContext = { + ...context, + ...data, + selectedKind: kind, + selectedStory: name, + forceRender, + }; if (getDecorated) { // Render story only if selectedKind or selectedStory have changed. @@ -135,21 +147,16 @@ export default function start(render, { decorateStory } = {}) { addons.getChannel().emit(Events.STORY_CHANGED, id); } - render({ - ...context, - ...selection, - selectedKind: kind, - selectedStory: name, - forceRender, - }); + previousRevision = revision; + previousKind = kind; + previousStory = name; + + render(renderContext); addons.getChannel().emit(Events.STORY_RENDERED, id); } else { showNopreview(); addons.getChannel().emit(Events.STORY_MISSING, id); } - previousRevision = revision; - previousKind = kind; - previousStory = name; if (!forceRender) { document.documentElement.scrollTop = 0; @@ -187,10 +194,8 @@ export default function start(render, { decorateStory } = {}) { storyId = deprecatedToId(kind, name); } - const data = storyStore.fromId(storyId); - - storyStore.setSelection(data); - storyStore.setPath(storyId); + storyStore.setSelection({ storyId }); + setPath({ storyId }); }); // Handle keyboard shortcuts @@ -205,6 +210,11 @@ export default function start(render, { decorateStory } = {}) { }; } + storyStore.on(Events.STORY_INIT, () => { + const { storyId } = initializePath(); + storyStore.setSelection({ storyId }); + }); + storyStore.on(Events.STORY_RENDER, renderUI); if (typeof window !== 'undefined') { diff --git a/lib/core/src/client/preview/start.test.js b/lib/core/src/client/preview/start.test.js index 4b9270593e16..df34092ab60c 100644 --- a/lib/core/src/client/preview/start.test.js +++ b/lib/core/src/client/preview/start.test.js @@ -1,9 +1,12 @@ -import { document } from 'global'; +/* eslint-disable no-underscore-dangle */ +import { history, document } from 'global'; +import Events from '@storybook/core-events'; import start from './start'; jest.mock('@storybook/client-logger'); jest.mock('global', () => ({ + history: { replaceState: jest.fn() }, navigator: { userAgent: 'browser', platform: '' }, window: { addEventListener: jest.fn(), @@ -85,3 +88,37 @@ it('emits an error and shows error when your framework calls showError', () => { expect(render).toHaveBeenCalled(); expect(document.body.classList.add).toHaveBeenCalledWith('sb-show-errordisplay'); }); + +describe('STORY_INIT', () => { + it('supports path params', () => { + document.location = { + pathname: 'pathname', + search: '?path=/story/kind--story&bar=baz', + }; + + const render = jest.fn(); + const { clientApi } = start(render); + const store = clientApi._storyStore; + store.setSelection = jest.fn(); + store.emit(Events.STORY_INIT); + + store.emit(); + expect(store.setSelection).toHaveBeenCalledWith({ storyId: 'kind--story' }); + }); + + it('supports story kind/name params', () => { + document.location = { + pathname: 'pathname', + search: '?selectedKind=kind&selectedStory=story&bar=baz', + }; + + const render = jest.fn(); + const { clientApi } = start(render); + const store = clientApi._storyStore; + store.setSelection = jest.fn(); + + store.emit(Events.STORY_INIT); + expect(history.replaceState).toHaveBeenCalledWith({}, '', 'pathname?bar=baz&id=kind--story'); + expect(store.setSelection).toHaveBeenCalledWith({ storyId: 'kind--story' }); + }); +}); diff --git a/lib/core/src/client/preview/url.js b/lib/core/src/client/preview/url.js new file mode 100644 index 000000000000..12c1c18bb75b --- /dev/null +++ b/lib/core/src/client/preview/url.js @@ -0,0 +1,39 @@ +import { history, document } from 'global'; +import qs from 'qs'; +import { toId } from '@storybook/router/utils'; + +export function pathToId(path) { + const match = (path || '').match(/^\/story\/(.+)/); + if (!match) { + throw new Error(`Invalid path '${path}', must start with '/story/'`); + } + return match[1]; +} + +export const setPath = ({ storyId }) => { + const { path, selectedKind, selectedStory, ...rest } = qs.parse(document.location.search, { + ignoreQueryPrefix: true, + }); + const newPath = `${document.location.pathname}?${qs.stringify({ ...rest, id: storyId })}`; + history.replaceState({}, '', newPath); +}; + +export const getIdFromLegacyQuery = ({ path, selectedKind, selectedStory }) => + (path && pathToId(path)) || (selectedKind && selectedStory && toId(selectedKind, selectedStory)); + +export const parseQueryParameters = search => { + const { id } = qs.parse(search, { ignoreQueryPrefix: true }); + return id; +}; + +export const initializePath = () => { + const query = qs.parse(document.location.search, { ignoreQueryPrefix: true }); + let { id: storyId } = query; + if (!storyId) { + storyId = getIdFromLegacyQuery(query); + if (storyId) { + setPath({ storyId }); + } + } + return { storyId }; +}; diff --git a/lib/core/src/client/preview/url.test.js b/lib/core/src/client/preview/url.test.js new file mode 100644 index 000000000000..0a33955e4c71 --- /dev/null +++ b/lib/core/src/client/preview/url.test.js @@ -0,0 +1,79 @@ +import { history, document } from 'global'; +import { + pathToId, + setPath, + getIdFromLegacyQuery, + parseQueryParameters, + initializePath, +} from './url'; + +jest.mock('global', () => ({ + history: { replaceState: jest.fn() }, + document: { + location: { + pathname: 'pathname', + search: '', + }, + }, +})); + +describe('url', () => { + describe('pathToId', () => { + it('should parse valid ids', () => { + expect(pathToId('/story/story--id')).toEqual('story--id'); + }); + it('should error on invalid ids', () => { + [null, '', '/whatever/story/story--id'].forEach(path => { + expect(() => pathToId(path)).toThrow(/Invalid/); + }); + }); + }); + + describe('setPath', () => { + it('should navigate to storyId', () => { + setPath({ storyId: 'story--id' }); + expect(history.replaceState).toHaveBeenCalledWith({}, '', 'pathname?id=story--id'); + }); + it('should replace legacy parameters but preserve others', () => { + document.location.search = 'foo=bar&selectedStory=selStory&selectedKind=selKind'; + setPath({ storyId: 'story--id' }); + expect(history.replaceState).toHaveBeenCalledWith({}, '', 'pathname?foo=bar&id=story--id'); + }); + }); + + describe('getIdFromLegacyQuery', () => { + it('should parse story paths', () => { + expect(getIdFromLegacyQuery({ path: '/story/story--id' })).toBe('story--id'); + }); + it('should parse legacy queries', () => { + expect( + getIdFromLegacyQuery({ path: null, selectedKind: 'kind', selectedStory: 'story' }) + ).toBe('kind--story'); + }); + it('should not parse non-queries', () => { + expect(getIdFromLegacyQuery({})).toBeUndefined(); + }); + }); + + describe('parseQueryParameters', () => { + it('should parse id', () => { + expect(parseQueryParameters('?foo=bar&id=story--id')).toBe('story--id'); + }); + it('should not parse non-ids', () => { + expect(parseQueryParameters('')).toBeUndefined(); + }); + }); + + describe('initializePath', () => { + it('should handle id queries', () => { + document.location.search = '?id=story--id'; + expect(initializePath()).toEqual({ storyId: 'story--id' }); + expect(history.replaceState).not.toHaveBeenCalled(); + }); + it('should redirect legacy queries', () => { + document.location.search = '?selectedKind=kind&selectedStory=story'; + expect(initializePath()).toEqual({ storyId: 'kind--story' }); + expect(history.replaceState).toHaveBeenCalledWith({}, '', 'pathname?id=kind--story'); + }); + }); +}); From fa123b35cbcc070504278f8f199caa10286fca12 Mon Sep 17 00:00:00 2001 From: Rob Snow Date: Tue, 9 Apr 2019 19:07:03 -0700 Subject: [PATCH 007/371] I've honestly no idea why I can't pass the function from config through. It gets called with the right values, but it always returns 'undefined' --- .../cra-kitchen-sink/.storybook/config.js | 1 + lib/api/src/version.ts | 2 +- .../components/sidebar/treeview/treeview.js | 20 +++++++++++++++---- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/examples/cra-kitchen-sink/.storybook/config.js b/examples/cra-kitchen-sink/.storybook/config.js index 14a944abd8bb..cc9cd5b74ec0 100644 --- a/examples/cra-kitchen-sink/.storybook/config.js +++ b/examples/cra-kitchen-sink/.storybook/config.js @@ -20,6 +20,7 @@ addParameters({ brandUrl: 'https://github.com/storybooks/storybook/tree/master/examples/cra-kitchen-sink', gridCellSize: 12, }), + storySort: (a, b) => (a.id > b.id ? -1 : 1), }, }); diff --git a/lib/api/src/version.ts b/lib/api/src/version.ts index 5a9b6eecceff..01e7170ca97a 100644 --- a/lib/api/src/version.ts +++ b/lib/api/src/version.ts @@ -1 +1 @@ -export const version = '5.1.0-alpha.23'; +export const version = '5.1.0-alpha.24'; diff --git a/lib/ui/src/components/sidebar/treeview/treeview.js b/lib/ui/src/components/sidebar/treeview/treeview.js index 9523aaa1bb01..b0f6c94b9303 100644 --- a/lib/ui/src/components/sidebar/treeview/treeview.js +++ b/lib/ui/src/components/sidebar/treeview/treeview.js @@ -138,12 +138,22 @@ const Tree = props => { } }; +const defaultAlphabeticalSort = (a, b) => (a.id > b.id ? 1 : -1); + const calculateTreeState = memoize(50)( - ({ dataset, selectedId }, { lastSelectedId, unfilteredExpanded }) => { + ({ dataset, selectedId }, { lastSelectedId, unfilteredExpanded, storySort }) => { if (selectedId === lastSelectedId) { return null; } + let storySortResolved = storySort; + if (Object.values(dataset).length > 0) { + const leafKey = Object.keys(dataset).find(key => dataset[key].isLeaf); + if (dataset[leafKey] && dataset[leafKey].parameters.options.storySort) { + storySortResolved = dataset[leafKey].parameters.options.storySort; + } + } + // If a new selection is made, we need to ensure it is part of the expanded set const selectedAncestorIds = selectedId ? getParents(selectedId, dataset).map(i => i.id) : []; @@ -156,6 +166,7 @@ const calculateTreeState = memoize(50)( ); return { + storySort: storySortResolved, lastSelectedId: selectedId, unfilteredExpanded: newExpanded, }; @@ -206,6 +217,7 @@ class TreeState extends PureComponent { filteredExpanded: {}, filter: null, lastSelectedId: null, + storySort: defaultAlphabeticalSort, }; static getDerivedStateFromProps(props, state) { @@ -310,7 +322,7 @@ class TreeState extends PureComponent { render() { const { events, - state: { filter, unfilteredExpanded, filteredExpanded }, + state: { filter, unfilteredExpanded, filteredExpanded, storySort }, props, } = this; const { prefix, dataset, selectedId } = props; @@ -334,7 +346,7 @@ class TreeState extends PureComponent { {Filter ? : null} {roots.length || others.length ? ( - {roots.map(({ id, name, children }) => ( + {roots.sort(storySort).map(({ id, name, children }) => (
{name} @@ -363,7 +375,7 @@ class TreeState extends PureComponent { Others ) : null} - {others.map(({ id }) => ( + {others.sort(storySort).map(({ id }) => ( Date: Thu, 11 Apr 2019 10:49:09 -0400 Subject: [PATCH 008/371] fix: chromatic integration tests with "undefined" PREVIEW_URL --- lib/ui/src/components/preview/preview.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/ui/src/components/preview/preview.js b/lib/ui/src/components/preview/preview.js index 855a3dad2886..d16c3d42282d 100644 --- a/lib/ui/src/components/preview/preview.js +++ b/lib/ui/src/components/preview/preview.js @@ -294,12 +294,20 @@ Preview.propTypes = { actions: PropTypes.shape({}).isRequired, baseUrl: PropTypes.string, }; + +function getBaseUrl() { + if (!process.env.PREVIEW_URL || process.env.PREVIEW_URL === 'undefined') { + return 'iframe.html'; + } + return process.env.PREVIEW_URL; +} + Preview.defaultProps = { viewMode: undefined, storyId: undefined, path: undefined, description: undefined, - baseUrl: process.env.PREVIEW_URL || 'iframe.html', + baseUrl: getBaseUrl(), }; export { Preview }; From f18f0d5464c5e98e12d762452270ba8363e2fd87 Mon Sep 17 00:00:00 2001 From: Rob Snow Date: Sat, 13 Apr 2019 10:41:20 -0700 Subject: [PATCH 009/371] Use localeCompare for sorting names Unsure if I should also remove the stuff for addParameters? --- examples/cra-kitchen-sink/.storybook/config.js | 3 +-- lib/api/src/version.ts | 2 +- lib/ui/README.md | 4 ++++ lib/ui/src/components/sidebar/treeview/treeview.js | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/examples/cra-kitchen-sink/.storybook/config.js b/examples/cra-kitchen-sink/.storybook/config.js index cc9cd5b74ec0..b5a6222ca531 100644 --- a/examples/cra-kitchen-sink/.storybook/config.js +++ b/examples/cra-kitchen-sink/.storybook/config.js @@ -20,12 +20,11 @@ addParameters({ brandUrl: 'https://github.com/storybooks/storybook/tree/master/examples/cra-kitchen-sink', gridCellSize: 12, }), - storySort: (a, b) => (a.id > b.id ? -1 : 1), }, }); function loadStories() { - // put welcome screen at the top of the list so it's the first one displayed + // order of imports has no bearing, they are default sorted by localeCompare require('../src/stories/welcome'); // automatically import all story js files that end with *.stories.js diff --git a/lib/api/src/version.ts b/lib/api/src/version.ts index 9d72e89c474c..af7da0418828 100644 --- a/lib/api/src/version.ts +++ b/lib/api/src/version.ts @@ -1 +1 @@ -export const version = '5.1.0-alpha.26'; \ No newline at end of file +export const version = '5.1.0-alpha.26'; diff --git a/lib/ui/README.md b/lib/ui/README.md index 39019e9c85e8..5b3e052735bf 100644 --- a/lib/ui/README.md +++ b/lib/ui/README.md @@ -174,3 +174,7 @@ The above action(or the `handleShortcut` method) accepts events as a constant de ### URL Changes TODO: state we use reach/router customized to query params + +### Story Order + +Stories are sorted alphabetically by the compareLocale function. The order in which they were imported has no bearing on the order. diff --git a/lib/ui/src/components/sidebar/treeview/treeview.js b/lib/ui/src/components/sidebar/treeview/treeview.js index b0f6c94b9303..c0eb434130ca 100644 --- a/lib/ui/src/components/sidebar/treeview/treeview.js +++ b/lib/ui/src/components/sidebar/treeview/treeview.js @@ -138,7 +138,7 @@ const Tree = props => { } }; -const defaultAlphabeticalSort = (a, b) => (a.id > b.id ? 1 : -1); +const defaultAlphabeticalSort = (a, b) => a.id.localeCompare(b.id); const calculateTreeState = memoize(50)( ({ dataset, selectedId }, { lastSelectedId, unfilteredExpanded, storySort }) => { From 924626363dfec4323f1f1b8017070e08c4c510be Mon Sep 17 00:00:00 2001 From: Filipp Riabchun Date: Sat, 13 Apr 2019 20:55:42 +0200 Subject: [PATCH 010/371] Watch `node_modules` in manager config --- lib/core/src/server/dev-server.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/core/src/server/dev-server.js b/lib/core/src/server/dev-server.js index 9bd19f080f77..0645bbe6ee7e 100644 --- a/lib/core/src/server/dev-server.js +++ b/lib/core/src/server/dev-server.js @@ -45,7 +45,6 @@ export default function(options) { webpack(config).watch( { aggregateTimeout: 1, - ignored: /node_modules/, }, (err, stats) => { managerTotalTime = process.hrtime(startTime); From a38266f3f11d1498f48aafc100173309ff1c1d69 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Fri, 26 Apr 2019 15:15:47 +0200 Subject: [PATCH 011/371] FIX snapshots --- .../info/src/__snapshots__/index.test.js.snap | 80 ++++++------------- 1 file changed, 26 insertions(+), 54 deletions(-) diff --git a/addons/info/src/__snapshots__/index.test.js.snap b/addons/info/src/__snapshots__/index.test.js.snap index aec8c30a6b07..7f135eace073 100644 --- a/addons/info/src/__snapshots__/index.test.js.snap +++ b/addons/info/src/__snapshots__/index.test.js.snap @@ -4476,25 +4476,13 @@ exports[`addon Info should render component description if story kind matches co "toString": [Function], }, "hoverable": Object { - "map": undefined, - "name": "wpaw6f", - "next": undefined, - "styles": " - transition: all 150ms ease-out; - transform: translate3d(0, 0, 0); - - &:hover { - transform: translate3d(0, -2px, 0); - } - - &:active { - transform: translate3d(0, 0, 0); - } -", + "map": "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9hbmltYXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBd0NxQiIsImZpbGUiOiIuLi9zcmMvYW5pbWF0aW9uLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzLCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcblxuZXhwb3J0IGNvbnN0IGVhc2luZyA9IHtcbiAgcnViYmVyOiAnY3ViaWMtYmV6aWVyKDAuMTc1LCAwLjg4NSwgMC4zMzUsIDEuMDUpJyxcbn07XG5cbmNvbnN0IHJvdGF0ZTM2MCA9IGtleWZyYW1lc2Bcblx0ZnJvbSB7XG5cdFx0dHJhbnNmb3JtOiByb3RhdGUoMGRlZyk7XG5cdH1cblx0dG8ge1xuXHRcdHRyYW5zZm9ybTogcm90YXRlKDM2MGRlZyk7XG5cdH1cbmA7XG5cbmNvbnN0IGdsb3cgPSBrZXlmcmFtZXNgXG4gIDAlLCAxMDAlIHsgb3BhY2l0eTogMTsgfVxuICA1MCUgeyBvcGFjaXR5OiAuNDsgfVxuYDtcblxuY29uc3QgZmxvYXQgPSBrZXlmcmFtZXNgXG4gIDAlIHsgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKDFweCk7IH1cbiAgMjUlIHsgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKDBweCk7IH1cbiAgNTAlIHsgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKC0zcHgpOyB9XG4gIDEwMCUgeyB0cmFuc2Zvcm06IHRyYW5zbGF0ZVkoMXB4KTsgfVxuYDtcblxuY29uc3QgamlnZ2xlID0ga2V5ZnJhbWVzYFxuICAwJSwgMTAwJSB7IHRyYW5zZm9ybTp0cmFuc2xhdGUzZCgwLDAsMCk7IH1cbiAgMTIuNSUsIDYyLjUlIHsgdHJhbnNmb3JtOnRyYW5zbGF0ZTNkKC00cHgsMCwwKTsgfVxuICAzNy41JSwgODcuNSUgeyAgdHJhbnNmb3JtOiB0cmFuc2xhdGUzZCg0cHgsMCwwKTsgIH1cbmA7XG5cbmNvbnN0IGlubGluZUdsb3cgPSBjc3NgXG4gIGFuaW1hdGlvbjogJHtnbG93fSAxLjVzIGVhc2UtaW4tb3V0IGluZmluaXRlO1xuICBjb2xvcjogdHJhbnNwYXJlbnQ7XG4gIGN1cnNvcjogcHJvZ3Jlc3M7XG5gO1xuXG4vLyBob3ZlciAmIGFjdGl2ZSBzdGF0ZSBmb3IgbGlua3MgYW5kIGJ1dHRvbnNcbmNvbnN0IGhvdmVyYWJsZSA9IGNzc2BcbiAgdHJhbnNpdGlvbjogYWxsIDE1MG1zIGVhc2Utb3V0O1xuICB0cmFuc2Zvcm06IHRyYW5zbGF0ZTNkKDAsIDAsIDApO1xuXG4gICY6aG92ZXIge1xuICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlM2QoMCwgLTJweCwgMCk7XG4gIH1cblxuICAmOmFjdGl2ZSB7XG4gICAgdHJhbnNmb3JtOiB0cmFuc2xhdGUzZCgwLCAwLCAwKTtcbiAgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGFuaW1hdGlvbiA9IHtcbiAgcm90YXRlMzYwLFxuICBnbG93LFxuICBmbG9hdCxcbiAgamlnZ2xlLFxuICBpbmxpbmVHbG93LFxuICBob3ZlcmFibGUsXG59O1xuIl19 */", + "name": "1023qba-hoverable", + "styles": "transition:all 150ms ease-out;transform:translate3d(0,0,0);&:hover{transform:translate3d(0,-2px,0);}&:active{transform:translate3d(0,0,0);}label:hoverable;", }, "inlineGlow": Object { - "map": undefined, - "name": "zv3h0s", + "map": "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9hbmltYXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBaUNzQiIsImZpbGUiOiIuLi9zcmMvYW5pbWF0aW9uLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzLCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcblxuZXhwb3J0IGNvbnN0IGVhc2luZyA9IHtcbiAgcnViYmVyOiAnY3ViaWMtYmV6aWVyKDAuMTc1LCAwLjg4NSwgMC4zMzUsIDEuMDUpJyxcbn07XG5cbmNvbnN0IHJvdGF0ZTM2MCA9IGtleWZyYW1lc2Bcblx0ZnJvbSB7XG5cdFx0dHJhbnNmb3JtOiByb3RhdGUoMGRlZyk7XG5cdH1cblx0dG8ge1xuXHRcdHRyYW5zZm9ybTogcm90YXRlKDM2MGRlZyk7XG5cdH1cbmA7XG5cbmNvbnN0IGdsb3cgPSBrZXlmcmFtZXNgXG4gIDAlLCAxMDAlIHsgb3BhY2l0eTogMTsgfVxuICA1MCUgeyBvcGFjaXR5OiAuNDsgfVxuYDtcblxuY29uc3QgZmxvYXQgPSBrZXlmcmFtZXNgXG4gIDAlIHsgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKDFweCk7IH1cbiAgMjUlIHsgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKDBweCk7IH1cbiAgNTAlIHsgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKC0zcHgpOyB9XG4gIDEwMCUgeyB0cmFuc2Zvcm06IHRyYW5zbGF0ZVkoMXB4KTsgfVxuYDtcblxuY29uc3QgamlnZ2xlID0ga2V5ZnJhbWVzYFxuICAwJSwgMTAwJSB7IHRyYW5zZm9ybTp0cmFuc2xhdGUzZCgwLDAsMCk7IH1cbiAgMTIuNSUsIDYyLjUlIHsgdHJhbnNmb3JtOnRyYW5zbGF0ZTNkKC00cHgsMCwwKTsgfVxuICAzNy41JSwgODcuNSUgeyAgdHJhbnNmb3JtOiB0cmFuc2xhdGUzZCg0cHgsMCwwKTsgIH1cbmA7XG5cbmNvbnN0IGlubGluZUdsb3cgPSBjc3NgXG4gIGFuaW1hdGlvbjogJHtnbG93fSAxLjVzIGVhc2UtaW4tb3V0IGluZmluaXRlO1xuICBjb2xvcjogdHJhbnNwYXJlbnQ7XG4gIGN1cnNvcjogcHJvZ3Jlc3M7XG5gO1xuXG4vLyBob3ZlciAmIGFjdGl2ZSBzdGF0ZSBmb3IgbGlua3MgYW5kIGJ1dHRvbnNcbmNvbnN0IGhvdmVyYWJsZSA9IGNzc2BcbiAgdHJhbnNpdGlvbjogYWxsIDE1MG1zIGVhc2Utb3V0O1xuICB0cmFuc2Zvcm06IHRyYW5zbGF0ZTNkKDAsIDAsIDApO1xuXG4gICY6aG92ZXIge1xuICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlM2QoMCwgLTJweCwgMCk7XG4gIH1cblxuICAmOmFjdGl2ZSB7XG4gICAgdHJhbnNmb3JtOiB0cmFuc2xhdGUzZCgwLCAwLCAwKTtcbiAgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGFuaW1hdGlvbiA9IHtcbiAgcm90YXRlMzYwLFxuICBnbG93LFxuICBmbG9hdCxcbiAgamlnZ2xlLFxuICBpbmxpbmVHbG93LFxuICBob3ZlcmFibGUsXG59O1xuIl19 */", + "name": "1euta6d-inlineGlow", "next": Object { "name": "animation-r0iffl", "next": undefined, @@ -4503,12 +4491,7 @@ exports[`addon Info should render component description if story kind matches co 50% { opacity: .4; } }", }, - "styles": " - animation: animation-r0iffl 1.5s ease-in-out infinite; - background: rgba(0,0,0,.1); - color: transparent; - cursor: progress; -", + "styles": "animation:animation-r0iffl 1.5s ease-in-out infinite;color:transparent;cursor:progress;label:inlineGlow;", }, "jiggle": Object { "anim": 1, @@ -4540,6 +4523,8 @@ exports[`addon Info should render component description if story kind matches co "app": "#F6F9FC", "bar": "#FFFFFF", "content": "#FFFFFF", + "critical": "#FF4400", + "gridCellSize": 10, "hoverable": "rgba(0,0,0,.05)", "negative": "#FEDED2", "positive": "#E1FFD4", @@ -4670,6 +4655,7 @@ exports[`addon Info should render component description if story kind matches co "color": Object { "ancillary": "#22a699", "border": "rgba(0,0,0,.1)", + "critical": "#FFFFFF", "dark": "#666666", "darker": "#444444", "darkest": "#333333", @@ -4730,7 +4716,7 @@ exports[`addon Info should render component description if story kind matches co } } > - -
- + @@ -6055,7 +6041,7 @@ exports[`addon Info should render component description if story kind matches co
- +
@@ -7730,25 +7716,13 @@ exports[`addon Info should render component description if story name matches co "toString": [Function], }, "hoverable": Object { - "map": undefined, - "name": "wpaw6f", - "next": undefined, - "styles": " - transition: all 150ms ease-out; - transform: translate3d(0, 0, 0); - - &:hover { - transform: translate3d(0, -2px, 0); - } - - &:active { - transform: translate3d(0, 0, 0); - } -", + "map": "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9hbmltYXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBd0NxQiIsImZpbGUiOiIuLi9zcmMvYW5pbWF0aW9uLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzLCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcblxuZXhwb3J0IGNvbnN0IGVhc2luZyA9IHtcbiAgcnViYmVyOiAnY3ViaWMtYmV6aWVyKDAuMTc1LCAwLjg4NSwgMC4zMzUsIDEuMDUpJyxcbn07XG5cbmNvbnN0IHJvdGF0ZTM2MCA9IGtleWZyYW1lc2Bcblx0ZnJvbSB7XG5cdFx0dHJhbnNmb3JtOiByb3RhdGUoMGRlZyk7XG5cdH1cblx0dG8ge1xuXHRcdHRyYW5zZm9ybTogcm90YXRlKDM2MGRlZyk7XG5cdH1cbmA7XG5cbmNvbnN0IGdsb3cgPSBrZXlmcmFtZXNgXG4gIDAlLCAxMDAlIHsgb3BhY2l0eTogMTsgfVxuICA1MCUgeyBvcGFjaXR5OiAuNDsgfVxuYDtcblxuY29uc3QgZmxvYXQgPSBrZXlmcmFtZXNgXG4gIDAlIHsgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKDFweCk7IH1cbiAgMjUlIHsgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKDBweCk7IH1cbiAgNTAlIHsgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKC0zcHgpOyB9XG4gIDEwMCUgeyB0cmFuc2Zvcm06IHRyYW5zbGF0ZVkoMXB4KTsgfVxuYDtcblxuY29uc3QgamlnZ2xlID0ga2V5ZnJhbWVzYFxuICAwJSwgMTAwJSB7IHRyYW5zZm9ybTp0cmFuc2xhdGUzZCgwLDAsMCk7IH1cbiAgMTIuNSUsIDYyLjUlIHsgdHJhbnNmb3JtOnRyYW5zbGF0ZTNkKC00cHgsMCwwKTsgfVxuICAzNy41JSwgODcuNSUgeyAgdHJhbnNmb3JtOiB0cmFuc2xhdGUzZCg0cHgsMCwwKTsgIH1cbmA7XG5cbmNvbnN0IGlubGluZUdsb3cgPSBjc3NgXG4gIGFuaW1hdGlvbjogJHtnbG93fSAxLjVzIGVhc2UtaW4tb3V0IGluZmluaXRlO1xuICBjb2xvcjogdHJhbnNwYXJlbnQ7XG4gIGN1cnNvcjogcHJvZ3Jlc3M7XG5gO1xuXG4vLyBob3ZlciAmIGFjdGl2ZSBzdGF0ZSBmb3IgbGlua3MgYW5kIGJ1dHRvbnNcbmNvbnN0IGhvdmVyYWJsZSA9IGNzc2BcbiAgdHJhbnNpdGlvbjogYWxsIDE1MG1zIGVhc2Utb3V0O1xuICB0cmFuc2Zvcm06IHRyYW5zbGF0ZTNkKDAsIDAsIDApO1xuXG4gICY6aG92ZXIge1xuICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlM2QoMCwgLTJweCwgMCk7XG4gIH1cblxuICAmOmFjdGl2ZSB7XG4gICAgdHJhbnNmb3JtOiB0cmFuc2xhdGUzZCgwLCAwLCAwKTtcbiAgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGFuaW1hdGlvbiA9IHtcbiAgcm90YXRlMzYwLFxuICBnbG93LFxuICBmbG9hdCxcbiAgamlnZ2xlLFxuICBpbmxpbmVHbG93LFxuICBob3ZlcmFibGUsXG59O1xuIl19 */", + "name": "1023qba-hoverable", + "styles": "transition:all 150ms ease-out;transform:translate3d(0,0,0);&:hover{transform:translate3d(0,-2px,0);}&:active{transform:translate3d(0,0,0);}label:hoverable;", }, "inlineGlow": Object { - "map": undefined, - "name": "zv3h0s", + "map": "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9hbmltYXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBaUNzQiIsImZpbGUiOiIuLi9zcmMvYW5pbWF0aW9uLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzLCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcblxuZXhwb3J0IGNvbnN0IGVhc2luZyA9IHtcbiAgcnViYmVyOiAnY3ViaWMtYmV6aWVyKDAuMTc1LCAwLjg4NSwgMC4zMzUsIDEuMDUpJyxcbn07XG5cbmNvbnN0IHJvdGF0ZTM2MCA9IGtleWZyYW1lc2Bcblx0ZnJvbSB7XG5cdFx0dHJhbnNmb3JtOiByb3RhdGUoMGRlZyk7XG5cdH1cblx0dG8ge1xuXHRcdHRyYW5zZm9ybTogcm90YXRlKDM2MGRlZyk7XG5cdH1cbmA7XG5cbmNvbnN0IGdsb3cgPSBrZXlmcmFtZXNgXG4gIDAlLCAxMDAlIHsgb3BhY2l0eTogMTsgfVxuICA1MCUgeyBvcGFjaXR5OiAuNDsgfVxuYDtcblxuY29uc3QgZmxvYXQgPSBrZXlmcmFtZXNgXG4gIDAlIHsgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKDFweCk7IH1cbiAgMjUlIHsgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKDBweCk7IH1cbiAgNTAlIHsgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKC0zcHgpOyB9XG4gIDEwMCUgeyB0cmFuc2Zvcm06IHRyYW5zbGF0ZVkoMXB4KTsgfVxuYDtcblxuY29uc3QgamlnZ2xlID0ga2V5ZnJhbWVzYFxuICAwJSwgMTAwJSB7IHRyYW5zZm9ybTp0cmFuc2xhdGUzZCgwLDAsMCk7IH1cbiAgMTIuNSUsIDYyLjUlIHsgdHJhbnNmb3JtOnRyYW5zbGF0ZTNkKC00cHgsMCwwKTsgfVxuICAzNy41JSwgODcuNSUgeyAgdHJhbnNmb3JtOiB0cmFuc2xhdGUzZCg0cHgsMCwwKTsgIH1cbmA7XG5cbmNvbnN0IGlubGluZUdsb3cgPSBjc3NgXG4gIGFuaW1hdGlvbjogJHtnbG93fSAxLjVzIGVhc2UtaW4tb3V0IGluZmluaXRlO1xuICBjb2xvcjogdHJhbnNwYXJlbnQ7XG4gIGN1cnNvcjogcHJvZ3Jlc3M7XG5gO1xuXG4vLyBob3ZlciAmIGFjdGl2ZSBzdGF0ZSBmb3IgbGlua3MgYW5kIGJ1dHRvbnNcbmNvbnN0IGhvdmVyYWJsZSA9IGNzc2BcbiAgdHJhbnNpdGlvbjogYWxsIDE1MG1zIGVhc2Utb3V0O1xuICB0cmFuc2Zvcm06IHRyYW5zbGF0ZTNkKDAsIDAsIDApO1xuXG4gICY6aG92ZXIge1xuICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlM2QoMCwgLTJweCwgMCk7XG4gIH1cblxuICAmOmFjdGl2ZSB7XG4gICAgdHJhbnNmb3JtOiB0cmFuc2xhdGUzZCgwLCAwLCAwKTtcbiAgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGFuaW1hdGlvbiA9IHtcbiAgcm90YXRlMzYwLFxuICBnbG93LFxuICBmbG9hdCxcbiAgamlnZ2xlLFxuICBpbmxpbmVHbG93LFxuICBob3ZlcmFibGUsXG59O1xuIl19 */", + "name": "1euta6d-inlineGlow", "next": Object { "name": "animation-r0iffl", "next": undefined, @@ -7757,12 +7731,7 @@ exports[`addon Info should render component description if story name matches co 50% { opacity: .4; } }", }, - "styles": " - animation: animation-r0iffl 1.5s ease-in-out infinite; - background: rgba(0,0,0,.1); - color: transparent; - cursor: progress; -", + "styles": "animation:animation-r0iffl 1.5s ease-in-out infinite;color:transparent;cursor:progress;label:inlineGlow;", }, "jiggle": Object { "anim": 1, @@ -7794,6 +7763,8 @@ exports[`addon Info should render component description if story name matches co "app": "#F6F9FC", "bar": "#FFFFFF", "content": "#FFFFFF", + "critical": "#FF4400", + "gridCellSize": 10, "hoverable": "rgba(0,0,0,.05)", "negative": "#FEDED2", "positive": "#E1FFD4", @@ -7924,6 +7895,7 @@ exports[`addon Info should render component description if story name matches co "color": Object { "ancillary": "#22a699", "border": "rgba(0,0,0,.1)", + "critical": "#FFFFFF", "dark": "#666666", "darker": "#444444", "darkest": "#333333", @@ -7984,7 +7956,7 @@ exports[`addon Info should render component description if story name matches co } } > - -
- + @@ -9423,7 +9395,7 @@ exports[`addon Info should render component description if story name matches co
- +

From aefa1623c8a80ce0ed7aa048ddf390c763dc0614 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Fri, 26 Apr 2019 17:49:23 +0200 Subject: [PATCH 012/371] FIX tests --- lib/ui/src/components/sidebar/treeview/treeview.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/ui/src/components/sidebar/treeview/treeview.js b/lib/ui/src/components/sidebar/treeview/treeview.js index c0eb434130ca..60342cc7c627 100644 --- a/lib/ui/src/components/sidebar/treeview/treeview.js +++ b/lib/ui/src/components/sidebar/treeview/treeview.js @@ -149,7 +149,12 @@ const calculateTreeState = memoize(50)( let storySortResolved = storySort; if (Object.values(dataset).length > 0) { const leafKey = Object.keys(dataset).find(key => dataset[key].isLeaf); - if (dataset[leafKey] && dataset[leafKey].parameters.options.storySort) { + if ( + dataset[leafKey] && + dataset[leafKey].parameters && + dataset[leafKey].parameters.options && + dataset[leafKey].parameters.options.storySort + ) { storySortResolved = dataset[leafKey].parameters.options.storySort; } } From 113588eb734a06d3072352063c360869400db651 Mon Sep 17 00:00:00 2001 From: Rob Snow Date: Fri, 3 May 2019 14:30:19 -0700 Subject: [PATCH 013/371] Sort in story_store so we aren't sorting on every render. Also, we can safely use the options object here because it hasn't been sent over the channel --- .../cra-kitchen-sink/.storybook/config.js | 1 + lib/client-api/src/story_store.js | 16 +++++++++--- .../components/sidebar/treeview/treeview.js | 25 +++---------------- 3 files changed, 17 insertions(+), 25 deletions(-) diff --git a/examples/cra-kitchen-sink/.storybook/config.js b/examples/cra-kitchen-sink/.storybook/config.js index b5a6222ca531..c6c72332c17d 100644 --- a/examples/cra-kitchen-sink/.storybook/config.js +++ b/examples/cra-kitchen-sink/.storybook/config.js @@ -20,6 +20,7 @@ addParameters({ brandUrl: 'https://github.com/storybooks/storybook/tree/master/examples/cra-kitchen-sink', gridCellSize: 12, }), + storySort: (a, b) => a[1].id.localeCompare(b[1].id), }, }); diff --git a/lib/client-api/src/story_store.js b/lib/client-api/src/story_store.js index a72e696a1782..e4b42a285cdf 100644 --- a/lib/client-api/src/story_store.js +++ b/lib/client-api/src/story_store.js @@ -109,11 +109,19 @@ export default class StoryStore extends EventEmitter { } extract() { + const stories = Object.entries(this._data); + // determine if we should apply a sort to the stories or just use default import order + if (Object.values(this._data).length > 0) { + const index = Object.keys(this._data).find( + key => this._data[key] && this._data[key].parameters && this._data[key].parameters.options + ); + if (index && this._data[index].parameters.options.storySort) { + const sortFn = this._data[index].parameters.options.storySort; + stories.sort(sortFn); + } + } // removes function values from all stories so they are safe to transport over the channel - return Object.entries(this._data).reduce( - (a, [k, v]) => Object.assign(a, { [k]: toExtracted(v) }), - {} - ); + return stories.reduce((a, [k, v]) => Object.assign(a, { [k]: toExtracted(v) }), {}); } setSelection = data => { diff --git a/lib/ui/src/components/sidebar/treeview/treeview.js b/lib/ui/src/components/sidebar/treeview/treeview.js index 60342cc7c627..9523aaa1bb01 100644 --- a/lib/ui/src/components/sidebar/treeview/treeview.js +++ b/lib/ui/src/components/sidebar/treeview/treeview.js @@ -138,27 +138,12 @@ const Tree = props => { } }; -const defaultAlphabeticalSort = (a, b) => a.id.localeCompare(b.id); - const calculateTreeState = memoize(50)( - ({ dataset, selectedId }, { lastSelectedId, unfilteredExpanded, storySort }) => { + ({ dataset, selectedId }, { lastSelectedId, unfilteredExpanded }) => { if (selectedId === lastSelectedId) { return null; } - let storySortResolved = storySort; - if (Object.values(dataset).length > 0) { - const leafKey = Object.keys(dataset).find(key => dataset[key].isLeaf); - if ( - dataset[leafKey] && - dataset[leafKey].parameters && - dataset[leafKey].parameters.options && - dataset[leafKey].parameters.options.storySort - ) { - storySortResolved = dataset[leafKey].parameters.options.storySort; - } - } - // If a new selection is made, we need to ensure it is part of the expanded set const selectedAncestorIds = selectedId ? getParents(selectedId, dataset).map(i => i.id) : []; @@ -171,7 +156,6 @@ const calculateTreeState = memoize(50)( ); return { - storySort: storySortResolved, lastSelectedId: selectedId, unfilteredExpanded: newExpanded, }; @@ -222,7 +206,6 @@ class TreeState extends PureComponent { filteredExpanded: {}, filter: null, lastSelectedId: null, - storySort: defaultAlphabeticalSort, }; static getDerivedStateFromProps(props, state) { @@ -327,7 +310,7 @@ class TreeState extends PureComponent { render() { const { events, - state: { filter, unfilteredExpanded, filteredExpanded, storySort }, + state: { filter, unfilteredExpanded, filteredExpanded }, props, } = this; const { prefix, dataset, selectedId } = props; @@ -351,7 +334,7 @@ class TreeState extends PureComponent { {Filter ? : null} {roots.length || others.length ? ( - {roots.sort(storySort).map(({ id, name, children }) => ( + {roots.map(({ id, name, children }) => (
{name} @@ -380,7 +363,7 @@ class TreeState extends PureComponent { Others ) : null} - {others.sort(storySort).map(({ id }) => ( + {others.map(({ id }) => ( Date: Fri, 3 May 2019 14:34:17 -0700 Subject: [PATCH 014/371] clarify messaging --- examples/cra-kitchen-sink/.storybook/config.js | 2 +- lib/ui/README.md | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/examples/cra-kitchen-sink/.storybook/config.js b/examples/cra-kitchen-sink/.storybook/config.js index c6c72332c17d..7268ac978804 100644 --- a/examples/cra-kitchen-sink/.storybook/config.js +++ b/examples/cra-kitchen-sink/.storybook/config.js @@ -25,7 +25,7 @@ addParameters({ }); function loadStories() { - // order of imports has no bearing, they are default sorted by localeCompare + // order of imports will determine the order of the stories unless a storySort is passed to the options object require('../src/stories/welcome'); // automatically import all story js files that end with *.stories.js diff --git a/lib/ui/README.md b/lib/ui/README.md index 5b3e052735bf..1aa70957c9a1 100644 --- a/lib/ui/README.md +++ b/lib/ui/README.md @@ -177,4 +177,11 @@ TODO: state we use reach/router customized to query params ### Story Order -Stories are sorted alphabetically by the compareLocale function. The order in which they were imported has no bearing on the order. +Stories are sorted in the order in which they were imported. This can be overridden by adding storySort to the Parameters for the stories in `.storybook/config.js`: +```js +addParameters({ + options: { + storySort: (a, b) => a[1].id.localeCompare(b[1].id), + }, +}); +``` From 2652ba8370281526a7074082601282511e6c32eb Mon Sep 17 00:00:00 2001 From: Rene-Pier Deshaies-Gelinas Date: Mon, 6 May 2019 14:03:20 -0400 Subject: [PATCH 015/371] fix: Pr update default value PREVIEW_URL --- lib/core/src/server/config/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/src/server/config/utils.js b/lib/core/src/server/config/utils.js index 6995e1fcd859..5061eb37dc32 100644 --- a/lib/core/src/server/config/utils.js +++ b/lib/core/src/server/config/utils.js @@ -23,7 +23,7 @@ export function loadEnv(options = {}) { // even when deployed inside a subpath. (like in GitHub pages) // In development this is just empty as we always serves from the root. PUBLIC_URL: options.production ? '.' : '', - PREVIEW_URL: process.env.PREVIEW_URL, + PREVIEW_URL: process.env.PREVIEW_URL || '', }; Object.keys(process.env) From 3fd010b4535cd5dd35b38b4e536b4a9d273a161d Mon Sep 17 00:00:00 2001 From: Rob Snow Date: Mon, 6 May 2019 11:17:23 -0700 Subject: [PATCH 016/371] Remove extra sort performed for keyboard navigation in the stories tree --- .../src/components/sidebar/treeview/utils.js | 20 +------------------ 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/lib/ui/src/components/sidebar/treeview/utils.js b/lib/ui/src/components/sidebar/treeview/utils.js index b32643ecc431..e3185dbd49e2 100644 --- a/lib/ui/src/components/sidebar/treeview/utils.js +++ b/lib/ui/src/components/sidebar/treeview/utils.js @@ -55,25 +55,7 @@ export const getParents = memoize(1000)((id, dataset) => { return [parent, ...getParents(parent.id, dataset)]; }); -export const getMains = memoize(1)(dataset => - toList(dataset) - .filter(m => m.depth === 0) - .sort((a, b) => { - if (a.isRoot && b.isRoot) { - return a.id > b.id; - } - if (!a.isRoot && !b.isRoot) { - return 0; - } - if (a.isRoot) { - return -1; - } - if (b.isRoot) { - return 1; - } - return 0; - }) -); +export const getMains = memoize(1)(dataset => toList(dataset).filter(m => m.depth === 0)); const getMainsKeys = memoize(1)(dataset => getMains(dataset).map(m => m.id)); export const getPrevious = ({ id, dataset, expanded }) => { From 453bb5dd4ff6f4c4a23256af5286988389f438b8 Mon Sep 17 00:00:00 2001 From: Rob Snow Date: Mon, 6 May 2019 11:22:26 -0700 Subject: [PATCH 017/371] update docs --- docs/src/pages/configurations/options-parameter/index.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/src/pages/configurations/options-parameter/index.md b/docs/src/pages/configurations/options-parameter/index.md index bdfaa48b5467..ad1c33103c8f 100644 --- a/docs/src/pages/configurations/options-parameter/index.md +++ b/docs/src/pages/configurations/options-parameter/index.md @@ -79,6 +79,14 @@ addParameters({ * theme storybook, see link below */ theme: undefined, + /** + * function to sort stories in the tree view + * common use is alphabetical `(a, b) => a[1].id.localeCompare(b[1].id)` + * if left undefined, then the order in which the stories are imported will + * be the order they display + * @type {Function} + */ + storySort: undefined }, }); ``` From d3a04d5a65b03d9f347a523d8947d53f0b56ed19 Mon Sep 17 00:00:00 2001 From: Rob Snow Date: Mon, 6 May 2019 21:10:33 -0700 Subject: [PATCH 018/371] Add a test for order, fix existing tests --- lib/client-api/src/story_store.test.js | 25 +++++++++++++++++++ .../components/sidebar/treeview/utils.test.js | 4 +-- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/lib/client-api/src/story_store.test.js b/lib/client-api/src/story_store.test.js index b68499539f24..3742173c89e9 100644 --- a/lib/client-api/src/story_store.test.js +++ b/lib/client-api/src/story_store.test.js @@ -191,4 +191,29 @@ describe('preview.story_store', () => { expect(store.setSelection.mock.calls[0][0].getDecorated()).toEqual(storyFn); }); }); + + describe('story sorting', () => { + const storySort = (a, b) => a[1].id.localeCompare(b[1].id); + it('should use the sorting function of the story parameter object', () => { + const store = new StoryStore({ channel }); + store.addStory( + ...make('kind-2', 'a-story-2.1', () => 0, { fileName: 'bar.js', options: { storySort } }) + ); + store.addStory( + ...make('kind-1', 'z-story-1.1', () => 0, { fileName: 'foo.js', options: { storySort } }) + ); + store.addStory( + ...make('kind-1', 'story-1.2', () => 0, { fileName: 'foo-2.js', options: { storySort } }) + ); + store.addStory( + ...make('kind-2', 'story-2.1', () => 0, { fileName: 'bar.js', options: { storySort } }) + ); + + const stories = Object.values(store.extract()); + expect(stories[0].id).toBe('kind-1--story-1-2'); + expect(stories[1].id).toBe('kind-1--z-story-1-1'); + expect(stories[2].id).toBe('kind-2--a-story-2-1'); + expect(stories[3].id).toBe('kind-2--story-2-1'); + }); + }); }); diff --git a/lib/ui/src/components/sidebar/treeview/utils.test.js b/lib/ui/src/components/sidebar/treeview/utils.test.js index ccd66037dcec..28881523f0f2 100644 --- a/lib/ui/src/components/sidebar/treeview/utils.test.js +++ b/lib/ui/src/components/sidebar/treeview/utils.test.js @@ -164,7 +164,7 @@ describe('getPrevious', () => { id: '3-31', ...withRoot, }); - expect(output).toBe(withRoot.dataset['1-12']); + expect(output).toBe(withRoot.dataset['2']); }); }); @@ -210,7 +210,7 @@ describe('getNext', () => { }); test('to next parent with root as parent - skip root', () => { const output = utils.getNext({ id: '1-12', ...withRoot }); - expect(output).toBe(withRoot.dataset['3-31']); + expect(output).toBe(withRoot.dataset['2']); }); }); From 12fd8067e338d1ba42e026ebdf6fe7e021772835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=CC=81=20Neves?= Date: Wed, 15 May 2019 15:33:07 +0100 Subject: [PATCH 019/371] Ensure unique knob names across knob groups --- addons/knobs/src/KnobManager.js | 17 ++++++++++------- addons/knobs/src/KnobManager.test.js | 2 ++ addons/knobs/src/components/PropForm.js | 2 +- .../__snapshots__/addon-knobs.stories.storyshot | 6 ++++++ .../stories/addon-knobs.stories.js | 4 ++++ 5 files changed, 23 insertions(+), 8 deletions(-) diff --git a/addons/knobs/src/KnobManager.js b/addons/knobs/src/KnobManager.js index dc76bd5ef47d..afad9bd3d642 100644 --- a/addons/knobs/src/KnobManager.js +++ b/addons/knobs/src/KnobManager.js @@ -58,8 +58,10 @@ export default class KnobManager { knob(name, options) { this._mayCallChannel(); + const knobName = options.groupId ? `${name}_${options.groupId}` : name; + const { knobStore } = this; - const existingKnob = knobStore.get(name); + const existingKnob = knobStore.get(knobName); // We need to return the value set by the knob editor via this. // Normally the knobs are reset and so re-use is safe as long as the types match @@ -77,22 +79,23 @@ export default class KnobManager { const knobInfo = { ...options, - name, + name: knobName, + label: name, }; - if (knobValuesFromUrl[name]) { - const value = deserializers[options.type](knobValuesFromUrl[name]); + if (knobValuesFromUrl[knobName]) { + const value = deserializers[options.type](knobValuesFromUrl[knobName]); knobInfo.defaultValue = value; knobInfo.value = value; - delete knobValuesFromUrl[name]; + delete knobValuesFromUrl[knobName]; } else { knobInfo.defaultValue = options.value; } - knobStore.set(name, knobInfo); - return this.getKnobValue(knobStore.get(name)); + knobStore.set(knobName, knobInfo); + return this.getKnobValue(knobStore.get(knobName)); } _mayCallChannel() { diff --git a/addons/knobs/src/KnobManager.test.js b/addons/knobs/src/KnobManager.test.js index f6a9e6db1db5..afb46034f516 100644 --- a/addons/knobs/src/KnobManager.test.js +++ b/addons/knobs/src/KnobManager.test.js @@ -56,6 +56,7 @@ describe('KnobManager', () => { const newKnob = { ...defaultKnob, + label: 'foo', defaultValue: defaultKnob.value, }; @@ -86,6 +87,7 @@ describe('KnobManager', () => { const newKnob = { ...defaultKnob, + label: 'foo', defaultValue: defaultKnob.value, }; diff --git a/addons/knobs/src/components/PropForm.js b/addons/knobs/src/components/PropForm.js index a477f502fbf8..2e984c1a46d8 100644 --- a/addons/knobs/src/components/PropForm.js +++ b/addons/knobs/src/components/PropForm.js @@ -26,7 +26,7 @@ export default class PropForm extends Component { const InputType = TypeMap[knob.type] || InvalidType; return ( - + ); diff --git a/examples/official-storybook/stories/__snapshots__/addon-knobs.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-knobs.stories.storyshot index 51c97243f729..af49726bbcd5 100644 --- a/examples/official-storybook/stories/__snapshots__/addon-knobs.stories.storyshot +++ b/examples/official-storybook/stories/__snapshots__/addon-knobs.stories.storyshot @@ -143,6 +143,9 @@ exports[`Storyshots Addons|Knobs.withKnobs tweaks static values organized in gro

Years in NY: 9

+

+ Notes: +


Favorites @@ -173,6 +176,9 @@ exports[`Storyshots Addons|Knobs.withKnobs tweaks static values organized in gro

When I'm by myself, I say: "Mumble"

+

+ Notes: +

`; diff --git a/examples/official-storybook/stories/addon-knobs.stories.js b/examples/official-storybook/stories/addon-knobs.stories.js index 932df0c432e6..25622355aacd 100644 --- a/examples/official-storybook/stories/addon-knobs.stories.js +++ b/examples/official-storybook/stories/addon-knobs.stories.js @@ -138,12 +138,14 @@ storiesOf('Addons|Knobs.withKnobs', module) GROUP_IDS.GENERAL ); const years = number('Years in NY', 9, {}, GROUP_IDS.GENERAL); + const generalNotes = text('Notes', '', GROUP_IDS.GENERAL); // Favorites const nice = boolean('Nice', true, GROUP_IDS.FAVORITES); const fruit = select('Fruit', fruits, 'apple', GROUP_IDS.FAVORITES); const otherFruit = radios('Other Fruit', otherFruits, 'watermelon', GROUP_IDS.FAVORITES); const items = array('Items', ['Laptop', 'Book', 'Whiskey'], ',', GROUP_IDS.FAVORITES); + const favoritesNotes = text('Notes', '', GROUP_IDS.FAVORITES); // Display const backgroundColor = color('Color', 'rgba(126, 211, 33, 0.22)', GROUP_IDS.DISPLAY); @@ -170,6 +172,7 @@ storiesOf('Addons|Knobs.withKnobs', module)

Birthday: {new Date(birthday).toLocaleDateString('en-US', dateOptions)}

Account Balance: {dollars}

Years in NY: {years}

+

Notes: {generalNotes}


Favorites

Catchphrase: {salutation}

@@ -182,6 +185,7 @@ storiesOf('Addons|Knobs.withKnobs', module) ))}

When I'm by myself, I say: "{ungrouped}"

+

Notes: {favoritesNotes}

); }) From 4a1852373211a85a137202d89b4acad6ef7359a0 Mon Sep 17 00:00:00 2001 From: Andrew Lisowski Date: Wed, 22 May 2019 17:30:46 -0700 Subject: [PATCH 020/371] add ability to have multiple sections in the notes panel --- addons/notes/README.md | 15 ++++++ addons/notes/src/Panel.tsx | 93 ++++++++++++++++++++++++++++---------- addons/notes/src/shared.ts | 8 +++- 3 files changed, 91 insertions(+), 25 deletions(-) diff --git a/addons/notes/README.md b/addons/notes/README.md index 368b117e4fe2..fc6a7411e7c6 100644 --- a/addons/notes/README.md +++ b/addons/notes/README.md @@ -81,3 +81,18 @@ When using Markdown, you can also embed gifs from Giphy into your Markdown. Curr ``` + +## Multiple Notes Sections + +If you need to display different notes for different consumers of your storybook (e.g design, developers), you can configure multiple notes pages. The following will render a tab with unique notes for both `Introduction` and `Design`. + +```js +import { storiesOf } from '@storybook/react'; +import Component from './Component'; +import intro from './intro.md'; +import design from './design.md'; + +storiesOf('Component', module).add('With Markdown', () => , { + notes: { Introduction: intro, 'Design Notes': design }, +}); +``` diff --git a/addons/notes/src/Panel.tsx b/addons/notes/src/Panel.tsx index 401e457c03aa..8dcee5a2240d 100644 --- a/addons/notes/src/Panel.tsx +++ b/addons/notes/src/Panel.tsx @@ -9,6 +9,8 @@ import { Placeholder, DocumentFormatting, Link, + TabWrapper, + TabsState, } from '@storybook/components'; import Markdown from 'markdown-to-jsx'; import Giphy from './giphy'; @@ -29,14 +31,14 @@ interface Props { api: API; } -function read(param: Parameters | undefined): string | undefined { +function read(param: Parameters | undefined): Record | string | undefined { if (!param) { return undefined; } if (typeof param === 'string') { return param; } - if ('disabled' in param) { + if ('disable' in param) { return undefined; } if ('text' in param) { @@ -45,6 +47,9 @@ function read(param: Parameters | undefined): string | undefined { if ('markdown' in param) { return param.markdown; } + if (typeof param === 'object') { + return param; + } return undefined; } @@ -108,7 +113,10 @@ interface Overrides { } type Options = typeof defaultOptions & Overrides; -const mapper = ({ state, api }: Combo): { value?: string; options: Options } => { +const mapper = ({ + state, + api, +}: Combo): { value?: string | Record; options: Options } => { const extraElements = Object.entries(api.getElements(types.NOTES_ELEMENT)).reduce( (acc, [k, v]) => ({ ...acc, [k]: v.render }), {} @@ -131,27 +139,64 @@ const NotesPanel = ({ active }: Props) => { return ( - {({ options, value }: { options: Options; value?: string }) => { - return value ? ( - - - {value} - - - ) : ( - - No notes yet - - Learn how to{' '} - - document components in Markdown - - - + {({ options, value }: { options: Options; value?: string | Record }) => { + if (!value) { + return ( + + No notes yet + + Learn how to{' '} + + document components in Markdown + + + + ); + } + + if (typeof value === 'string' || Object.keys(value).length === 1) { + return ( + + + + {typeof value === 'object' ? Object.values(value)[0] : value} + + + + ); + } + + const groups: { title: string; render: (props: { active: boolean }) => void }[] = []; + + Object.entries(value).forEach(([title, docs]) => { + groups.push({ + render: ({ active: isActive }) => ( + + + + {docs} + + + + ), + title, + }); + }); + + return ( +
+ + {groups.map(group => ( +
+ {group.render} +
+ ))} +
+
); }}
diff --git a/addons/notes/src/shared.ts b/addons/notes/src/shared.ts index effa90303b53..18079e1a3e24 100644 --- a/addons/notes/src/shared.ts +++ b/addons/notes/src/shared.ts @@ -11,5 +11,11 @@ interface MarkdownParameter { interface DisabledParameter { disable: boolean; } +type TabsParameter = Record; -export type Parameters = string | TextParameter | MarkdownParameter | DisabledParameter; +export type Parameters = + | string + | TextParameter + | MarkdownParameter + | DisabledParameter + | TabsParameter; From a8e6d1bcd90c0869a803110a79b13226086e59c8 Mon Sep 17 00:00:00 2001 From: Jimmy Somsanith Date: Fri, 31 May 2019 09:45:42 +0200 Subject: [PATCH 021/371] feat: disable option for addon tab --- addons/a11y/src/register.tsx | 3 ++- addons/actions/src/constants.ts | 1 + addons/actions/src/manager.tsx | 3 ++- addons/events/src/constants.js | 2 ++ addons/events/src/manager.js | 3 ++- addons/jest/src/register.tsx | 3 ++- addons/jest/src/shared.ts | 1 + addons/knobs/src/register.js | 3 ++- addons/knobs/src/shared.js | 1 + addons/ondevice-actions/src/index.tsx | 3 ++- addons/ondevice-backgrounds/src/constants.js | 1 + addons/ondevice-backgrounds/src/register.js | 3 ++- addons/ondevice-knobs/src/index.js | 1 + addons/ondevice-notes/src/register.js | 1 + lib/addons/src/index.ts | 1 + lib/ui/src/containers/panel.js | 19 ++++++++++++++++++- 16 files changed, 41 insertions(+), 8 deletions(-) diff --git a/addons/a11y/src/register.tsx b/addons/a11y/src/register.tsx index a0995ab4fcee..9b360ec97d4c 100644 --- a/addons/a11y/src/register.tsx +++ b/addons/a11y/src/register.tsx @@ -2,7 +2,7 @@ import React, { Fragment, FunctionComponent } from 'react'; import { styled } from '@storybook/theming'; import { addons, types } from '@storybook/addons'; -import { ADDON_ID, PANEL_ID } from './constants'; +import { ADDON_ID, PANEL_ID, PARAM_KEY } from './constants'; import { ColorBlindness } from './components/ColorBlindness'; import { A11YPanel } from './components/A11YPanel'; @@ -94,6 +94,7 @@ addons.register(ADDON_ID, api => { title: 'Accessibility', type: types.PANEL, render: ({ active, key }) => , + paramKey: PARAM_KEY, }); addons.add(PANEL_ID, { diff --git a/addons/actions/src/constants.ts b/addons/actions/src/constants.ts index 1bc018e8d9ba..9bc6f11ef5c4 100644 --- a/addons/actions/src/constants.ts +++ b/addons/actions/src/constants.ts @@ -1,3 +1,4 @@ +export const PARAM_KEY = 'actions'; export const ADDON_ID = 'storybook/actions'; export const PANEL_ID = `${ADDON_ID}/panel`; export const EVENT_ID = `${ADDON_ID}/action-event`; diff --git a/addons/actions/src/manager.tsx b/addons/actions/src/manager.tsx index be1e6f8e1261..d77272be077b 100644 --- a/addons/actions/src/manager.tsx +++ b/addons/actions/src/manager.tsx @@ -1,13 +1,14 @@ import React from 'react'; import addons from '@storybook/addons'; import ActionLogger from './containers/ActionLogger'; -import { ADDON_ID, PANEL_ID } from '.'; +import { ADDON_ID, PANEL_ID, PARAM_KEY } from './constants'; export function register() { addons.register(ADDON_ID, api => { addons.addPanel(PANEL_ID, { title: 'Actions', render: ({ active, key }) => , + paramKey: PARAM_KEY, }); }); } diff --git a/addons/events/src/constants.js b/addons/events/src/constants.js index cf57a2570904..3d765994293b 100644 --- a/addons/events/src/constants.js +++ b/addons/events/src/constants.js @@ -1,3 +1,5 @@ +export const PARAM_KEY = 'events'; + export const ADDON_ID = 'storybook/events'; export const PANEL_ID = `${ADDON_ID}/panel`; diff --git a/addons/events/src/manager.js b/addons/events/src/manager.js index 6d8bea634686..d7cab5bfc338 100644 --- a/addons/events/src/manager.js +++ b/addons/events/src/manager.js @@ -2,7 +2,7 @@ import React from 'react'; import addons from '@storybook/addons'; import Panel from './components/Panel'; -import { ADDON_ID, PANEL_ID } from './constants'; +import { ADDON_ID, PANEL_ID, PARAM_KEY } from './constants'; export function register() { addons.register(ADDON_ID, api => { @@ -10,6 +10,7 @@ export function register() { title: 'Events', // eslint-disable-next-line react/prop-types render: ({ active, key }) => , + paramKey: PARAM_KEY, }); }); } diff --git a/addons/jest/src/register.tsx b/addons/jest/src/register.tsx index b3058d321dd6..a8d3b2c97bad 100644 --- a/addons/jest/src/register.tsx +++ b/addons/jest/src/register.tsx @@ -1,6 +1,6 @@ import React from 'react'; import addons from '@storybook/addons'; -import { ADDON_ID, PANEL_ID } from './shared'; +import { ADDON_ID, PANEL_ID, PARAM_KEY } from './shared'; import Panel from './components/Panel'; @@ -8,5 +8,6 @@ addons.register(ADDON_ID, api => { addons.addPanel(PANEL_ID, { title: 'tests', render: ({ active, key }) => , + paramKey: PARAM_KEY, }); }); diff --git a/addons/jest/src/shared.ts b/addons/jest/src/shared.ts index 48e804cefe01..7028ab5ce2a8 100644 --- a/addons/jest/src/shared.ts +++ b/addons/jest/src/shared.ts @@ -1,4 +1,5 @@ // addons, panels and events get unique names using a prefix +export const PARAM_KEY = 'test'; export const ADDON_ID = 'storybooks/test'; export const PANEL_ID = `${ADDON_ID}/panel`; diff --git a/addons/knobs/src/register.js b/addons/knobs/src/register.js index e8eeddb512c1..2808815b3958 100644 --- a/addons/knobs/src/register.js +++ b/addons/knobs/src/register.js @@ -1,12 +1,13 @@ import React from 'react'; import addons from '@storybook/addons'; import Panel from './components/Panel'; -import { ADDON_ID, PANEL_ID } from './shared'; +import { ADDON_ID, PANEL_ID, PARAM_KEY } from './shared'; addons.register(ADDON_ID, api => { addons.addPanel(PANEL_ID, { title: 'Knobs', // eslint-disable-next-line react/prop-types render: ({ active, key }) => , + paramKey: PARAM_KEY, }); }); diff --git a/addons/knobs/src/shared.js b/addons/knobs/src/shared.js index 6aca6fe000fa..f8e3bfc0312b 100644 --- a/addons/knobs/src/shared.js +++ b/addons/knobs/src/shared.js @@ -1,4 +1,5 @@ // addons, panels and events get unique names using a prefix +export const PARAM_KEY = 'knobs'; export const ADDON_ID = 'storybooks/knobs'; export const PANEL_ID = `${ADDON_ID}/panel`; diff --git a/addons/ondevice-actions/src/index.tsx b/addons/ondevice-actions/src/index.tsx index 76602d22ae9c..63b71d68a676 100644 --- a/addons/ondevice-actions/src/index.tsx +++ b/addons/ondevice-actions/src/index.tsx @@ -1,6 +1,6 @@ import React from 'react'; import addons from '@storybook/addons'; -import { ADDON_ID, PANEL_ID } from '@storybook/addon-actions'; +import { ADDON_ID, PANEL_ID, PARAM_KEY } from '@storybook/addon-actions'; import ActionLogger from './containers/ActionLogger'; export function register() { @@ -8,6 +8,7 @@ export function register() { addons.addPanel(PANEL_ID, { title: 'Actions', render: ({ active, key }) => , + paramKey: PARAM_KEY, }); }); } diff --git a/addons/ondevice-backgrounds/src/constants.js b/addons/ondevice-backgrounds/src/constants.js index 7e0fcc42dae1..4c8f09259143 100644 --- a/addons/ondevice-backgrounds/src/constants.js +++ b/addons/ondevice-backgrounds/src/constants.js @@ -1,3 +1,4 @@ +export const PARAM_KEY = 'background'; export const ADDON_ID = 'storybook-addon-background'; export const PANEL_ID = `${ADDON_ID}/background-panel`; diff --git a/addons/ondevice-backgrounds/src/register.js b/addons/ondevice-backgrounds/src/register.js index 0bd614430dae..2714689abb25 100644 --- a/addons/ondevice-backgrounds/src/register.js +++ b/addons/ondevice-backgrounds/src/register.js @@ -1,7 +1,7 @@ import React from 'react'; import addons from '@storybook/addons'; -import { ADDON_ID, PANEL_ID } from './constants'; +import { ADDON_ID, PANEL_ID, PARAM_KEY } from './constants'; import BackgroundPanel from './BackgroundPanel'; addons.register(ADDON_ID, api => { @@ -10,5 +10,6 @@ addons.register(ADDON_ID, api => { title: 'Backgrounds', // eslint-disable-next-line react/prop-types render: ({ active }) => , + paramKey: PARAM_KEY, }); }); diff --git a/addons/ondevice-knobs/src/index.js b/addons/ondevice-knobs/src/index.js index 8286083ad1ed..9e46af4a4071 100644 --- a/addons/ondevice-knobs/src/index.js +++ b/addons/ondevice-knobs/src/index.js @@ -9,6 +9,7 @@ export function register() { title: 'Knobs', // eslint-disable-next-line react/prop-types render: ({ active, key }) => , + paramKey: 'knobs', }); }); } diff --git a/addons/ondevice-notes/src/register.js b/addons/ondevice-notes/src/register.js index 1ed3a38bfcdf..530eaac2354e 100644 --- a/addons/ondevice-notes/src/register.js +++ b/addons/ondevice-notes/src/register.js @@ -50,5 +50,6 @@ addons.register('storybook/notes', api => { addons.addPanel('storybook/notes/panel', { title: 'Notes', render: ({ active, key }) => , + paramKey: PARAM_KEY, }); }); diff --git a/lib/addons/src/index.ts b/lib/addons/src/index.ts index 4e593d6e8c3e..14f077b686da 100644 --- a/lib/addons/src/index.ts +++ b/lib/addons/src/index.ts @@ -24,6 +24,7 @@ export interface Addon { route?: (routeOptions: RouteOptions) => string; match?: (matchOptions: MatchOptions) => boolean; render: (renderOptions: RenderOptions) => ReactElement; + paramKey?: string; } export type Loader = (api: API) => void; diff --git a/lib/ui/src/containers/panel.js b/lib/ui/src/containers/panel.js index de4d62f233f2..2c8e60bfa041 100644 --- a/lib/ui/src/containers/panel.js +++ b/lib/ui/src/containers/panel.js @@ -10,8 +10,25 @@ const createPanelActions = memoize(1)(api => ({ togglePosition: () => api.togglePanelPosition(), })); +const filterPanel = (panels, storyParameters) => { + if (!panels || !storyParameters) { + return panels; + } + + const filteredPanels = {}; + Object.entries(panels).forEach(([id, panel]) => { + const { paramKey } = panel; + const panelParameters = paramKey && storyParameters[paramKey]; + if (!panelParameters || !panelParameters.disabled) { + filteredPanels[id] = panel; + } + }); + + return filteredPanels; +}; + const mapper = ({ state, api }) => ({ - panels: api.getPanels(), + panels: filterPanel(api.getPanels(), api.getParameters(state.storyId)), selectedPanel: api.getSelectedPanel(), panelPosition: state.layout.panelPosition, actions: createPanelActions(api), From c28af59e7db496ed01cec55dab70c98916d5d858 Mon Sep 17 00:00:00 2001 From: Vincent Lecrubier Date: Fri, 31 May 2019 09:49:38 +0100 Subject: [PATCH 022/371] Add pnp-webpack-plugin to dependencies --- lib/core/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/core/package.json b/lib/core/package.json index 642ed588453f..a4aa726e7dc7 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -65,6 +65,7 @@ "lazy-universal-dotenv": "^2.0.0", "node-fetch": "^2.6.0", "open": "^6.1.0", + "pnp-webpack-plugin": "1.4.3", "postcss-flexbugs-fixes": "^4.1.0", "postcss-loader": "^3.0.0", "pretty-hrtime": "^1.0.3", From 8c4d575620d232320f69fd487ca1f490146f2aae Mon Sep 17 00:00:00 2001 From: Vincent Lecrubier Date: Fri, 31 May 2019 09:54:04 +0100 Subject: [PATCH 023/371] Add dependencies to ui --- lib/ui/package.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/ui/package.json b/lib/ui/package.json index d69cfa4cdfb9..c67db143fd80 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -22,8 +22,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { + "@emotion/core": "^10.0.9", + "@emotion/styled": "^10.0.9", + "@emotion/styled-base": "^10.0.10", "@storybook/addons": "5.1.0-rc.3", "@storybook/api": "5.1.0-rc.3", + "@storybook/channels": "^5.0.11", "@storybook/client-logger": "5.1.0-rc.3", "@storybook/components": "5.1.0-rc.3", "@storybook/core-events": "5.1.0-rc.3", @@ -31,6 +35,7 @@ "@storybook/theming": "5.1.0-rc.3", "core-js": "^3.0.1", "core-js-pure": "^3.0.1", + "emotion-theming": "^10.0.10", "fast-deep-equal": "^2.0.1", "fuse.js": "^3.4.4", "global": "^4.3.2", @@ -47,6 +52,7 @@ "react-hotkeys": "2.0.0-pre4", "react-resize-detector": "^4.0.5", "recompose": "^0.30.0", + "regenerator-runtime": "^0.13.2", "resolve-from": "^5.0.0", "semver": "^6.0.0", "store2": "^2.7.1", From 0f4c306378e58af25008650d69dfe69e5168ab86 Mon Sep 17 00:00:00 2001 From: jamesgeorge007 Date: Sun, 2 Jun 2019 09:32:42 +0530 Subject: [PATCH 024/371] Adds new info command prints debugging information about the local environment --- lib/cli/bin/generate.js | 16 ++++++++++++++++ lib/cli/package.json | 1 + 2 files changed, 17 insertions(+) diff --git a/lib/cli/bin/generate.js b/lib/cli/bin/generate.js index 070d868d1401..da290b80f68c 100644 --- a/lib/cli/bin/generate.js +++ b/lib/cli/bin/generate.js @@ -1,5 +1,6 @@ import program from 'commander'; import chalk from 'chalk'; +import envinfo from 'envinfo'; import pkg from '../package.json'; import initiate from '../lib/initiate'; import { codeLog } from '../lib/helpers'; @@ -31,6 +32,21 @@ if (process.argv[1].includes('getstorybook')) { .option('-N --use-npm', 'Use NPM to build the Storybook server') .action((addonName, options) => add(addonName, options)); + program + .command('info') + .description('Prints debugging information about the local environment') + .action(() => { + console.log(chalk.bold('\nEnvironment Info:')); + envinfo + .run({ + System: ['OS', 'CPU'], + Binaries: ['Node', 'Yarn', 'npm'], + Browsers: ['Chrome', 'Edge', 'Firefox', 'Safari'], + npmGlobalPackages: ['@storybook/cli'], + }) + .then(console.log); + }); + program.command('*', { noHelp: true }).action(cmd => { logger.error('Invalid command: %s.\nSee --help for a list of available commands.', cmd); process.exit(1); diff --git a/lib/cli/package.json b/lib/cli/package.json index e1d950a4744b..397348deb76f 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -35,6 +35,7 @@ "commander": "^2.19.0", "core-js": "^3.0.1", "cross-spawn": "^6.0.5", + "envinfo": "^7.3.1", "inquirer": "^6.2.0", "jscodeshift": "^0.6.3", "json5": "^2.1.0", From e9722bddb6b246f1524b417e457f2fd0dbabb0a3 Mon Sep 17 00:00:00 2001 From: lonyele Date: Sun, 2 Jun 2019 14:34:36 +0900 Subject: [PATCH 025/371] Fix comparing proper values for updating --- addons/events/package.json | 1 + addons/events/src/components/Event.js | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/addons/events/package.json b/addons/events/package.json index 24d3c07768f5..cf3d1c10a0a7 100644 --- a/addons/events/package.json +++ b/addons/events/package.json @@ -29,6 +29,7 @@ "@storybook/theming": "5.1.0-rc.3", "core-js": "^3.0.1", "format-json": "^1.0.3", + "lodash": "^4.17.11", "prop-types": "^15.7.2", "react": "^16.8.4", "react-lifecycles-compat": "^3.0.4", diff --git a/addons/events/src/components/Event.js b/addons/events/src/components/Event.js index 3c3c1eb3348f..d127d540b30c 100644 --- a/addons/events/src/components/Event.js +++ b/addons/events/src/components/Event.js @@ -1,6 +1,7 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { polyfill } from 'react-lifecycles-compat'; +import { isEqual } from 'lodash'; import { styled } from '@storybook/theming'; import json from 'format-json'; @@ -133,14 +134,14 @@ class Item extends Component { }; static getDerivedStateFromProps = ({ payload }, { prevPayload }) => { - if (payload !== prevPayload) { + if (!isEqual(payload, prevPayload)) { const payloadString = json.plain(payload); - + const refinedPayload = getJSONFromString(payloadString); return { failed: false, - payload: getJSONFromString(payloadString), + payload: refinedPayload, payloadString, - prevPayload, + prevPayload: refinedPayload, }; } return null; From a0a7cc775999323dc37373561129d940c32e58b1 Mon Sep 17 00:00:00 2001 From: lonyele Date: Sun, 2 Jun 2019 20:29:54 +0900 Subject: [PATCH 026/371] Fix when linear-gradient is passed to polished library's functions --- lib/components/src/tooltip/Tooltip.tsx | 23 ++++++++++----------- lib/theming/src/index.ts | 2 ++ lib/theming/src/utils.ts | 21 +++++++++++++++++++ lib/ui/src/components/notifications/item.js | 7 ++----- 4 files changed, 36 insertions(+), 17 deletions(-) diff --git a/lib/components/src/tooltip/Tooltip.tsx b/lib/components/src/tooltip/Tooltip.tsx index d826789ab994..0d20450ede4b 100644 --- a/lib/components/src/tooltip/Tooltip.tsx +++ b/lib/components/src/tooltip/Tooltip.tsx @@ -1,8 +1,7 @@ import React, { FunctionComponent } from 'react'; import memoize from 'memoizerific'; -import { styled, Color } from '@storybook/theming'; -import { rgba, lighten, darken } from 'polished'; +import { styled, Color, lightenColor, darkenColor } from '@storybook/theming'; const match = memoize(1000)((requestes, actual, value, fallback = 0) => actual.split('-')[0] === requestes ? value : fallback @@ -40,32 +39,32 @@ const Arrow = styled.div( 'top', placement, theme.color[color] || color || theme.base === 'light' - ? rgba(`${lighten(1, theme.background.app)}`, 0.95) - : rgba(`${darken(1, theme.background.app)}`, 0.95), + ? lightenColor(theme.background.app) + : darkenColor(theme.background.app), 'transparent' ), borderBottomColor: match( 'bottom', placement, theme.color[color] || color || theme.base === 'light' - ? rgba(`${lighten(1, theme.background.app)}`, 0.95) - : rgba(`${darken(1, theme.background.app)}`, 0.95), + ? lightenColor(theme.background.app) + : darkenColor(theme.background.app), 'transparent' ), borderLeftColor: match( 'left', placement, theme.color[color] || color || theme.base === 'light' - ? rgba(`${lighten(1, theme.background.app)}`, 0.95) - : rgba(`${darken(1, theme.background.app)}`, 0.95), + ? lightenColor(theme.background.app) + : darkenColor(theme.background.app), 'transparent' ), borderRightColor: match( 'right', placement, theme.color[color] || color || theme.base === 'light' - ? rgba(`${lighten(1, theme.background.app)}`, 0.95) - : rgba(`${darken(1, theme.background.app)}`, 0.95), + ? lightenColor(theme.background.app) + : darkenColor(theme.background.app), 'transparent' ), }) @@ -93,8 +92,8 @@ const Wrapper = styled.div( background: theme.color[color] || color || theme.base === 'light' - ? rgba(`${lighten(1, theme.background.app)}`, 0.95) - : rgba(`${darken(1, theme.background.app)}`, 0.95), + ? lightenColor(theme.background.app) + : darkenColor(theme.background.app), filter: ` drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)) diff --git a/lib/theming/src/index.ts b/lib/theming/src/index.ts index 34e8fc20f69a..14668939b682 100644 --- a/lib/theming/src/index.ts +++ b/lib/theming/src/index.ts @@ -13,3 +13,5 @@ export { createGlobal, createReset } from './global'; export * from './create'; export * from './convert'; export * from './ensure'; + +export { lightenColor, darkenColor } from './utils'; diff --git a/lib/theming/src/utils.ts b/lib/theming/src/utils.ts index 87eee00c3c36..2583eb60bef3 100644 --- a/lib/theming/src/utils.ts +++ b/lib/theming/src/utils.ts @@ -1 +1,22 @@ +import { rgba, lighten, darken } from 'polished'; + export const mkColor = (color: string) => ({ color }); + +const isLinearGradient = (color: string) => { + return typeof color === 'string' && color.includes('linear-gradient'); +}; + +const colorFactory = (type: string) => (color: string) => { + if (type === 'darken') { + return isLinearGradient(color) ? color : rgba(`${darken(1, color)}`, 0.95); + } + + if (type === 'lighten') { + return isLinearGradient(color) ? color : rgba(`${lighten(1, color)}`, 0.95); + } + + return color; +}; + +export const lightenColor = colorFactory('lighten'); +export const darkenColor = colorFactory('darken'); diff --git a/lib/ui/src/components/notifications/item.js b/lib/ui/src/components/notifications/item.js index 6cd33b38b473..e4cf531b0e1a 100644 --- a/lib/ui/src/components/notifications/item.js +++ b/lib/ui/src/components/notifications/item.js @@ -1,8 +1,7 @@ import React from 'react'; import PropTypes from 'prop-types'; -import { styled } from '@storybook/theming'; +import { styled, lightenColor, darkenColor } from '@storybook/theming'; import { Link } from '@storybook/router'; -import { rgba, lighten, darken } from 'polished'; const baseStyle = ({ theme }) => ({ display: 'block', @@ -14,9 +13,7 @@ const baseStyle = ({ theme }) => ({ boxShadow: '0 5px 15px 0 rgba(0, 0, 0, 0.1), 0 2px 5px 0 rgba(0, 0, 0, 0.05)', color: theme.color.inverseText, backgroundColor: - theme.base === 'light' - ? rgba(`${darken(1, theme.background.app)}`, 0.95) - : rgba(`${lighten(1, theme.background.app)}`, 0.95), + theme.base === 'light' ? darkenColor(theme.background.app) : lightenColor(theme.background.app), textDecoration: 'none', }); From 703b5d545db8cd53f028da35f42450a13adabdee Mon Sep 17 00:00:00 2001 From: lonyele Date: Sun, 2 Jun 2019 20:59:31 +0900 Subject: [PATCH 027/371] Add comment on guarding linear-gradient --- lib/theming/src/utils.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/theming/src/utils.ts b/lib/theming/src/utils.ts index 2583eb60bef3..a39775a6defd 100644 --- a/lib/theming/src/utils.ts +++ b/lib/theming/src/utils.ts @@ -2,6 +2,10 @@ import { rgba, lighten, darken } from 'polished'; export const mkColor = (color: string) => ({ color }); +// Passing linear-gradient string to library polished's functions such as +// lighten or darken throws the error that crashes the entire storybook. +// It needs to be guarded when arguments of those functions are from +// user input. const isLinearGradient = (color: string) => { return typeof color === 'string' && color.includes('linear-gradient'); }; From a0e292659c6bf4bceda54cc55fc144591c039cfd Mon Sep 17 00:00:00 2001 From: lonyele Date: Mon, 3 Jun 2019 21:47:38 +0900 Subject: [PATCH 028/371] Change function names for consistency --- lib/components/src/tooltip/Tooltip.tsx | 22 ++++++++++----------- lib/theming/src/index.ts | 2 +- lib/ui/src/components/notifications/item.js | 4 ++-- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/lib/components/src/tooltip/Tooltip.tsx b/lib/components/src/tooltip/Tooltip.tsx index 0d20450ede4b..b6167dca6021 100644 --- a/lib/components/src/tooltip/Tooltip.tsx +++ b/lib/components/src/tooltip/Tooltip.tsx @@ -1,7 +1,7 @@ import React, { FunctionComponent } from 'react'; import memoize from 'memoizerific'; -import { styled, Color, lightenColor, darkenColor } from '@storybook/theming'; +import { styled, Color, lighten, darken } from '@storybook/theming'; const match = memoize(1000)((requestes, actual, value, fallback = 0) => actual.split('-')[0] === requestes ? value : fallback @@ -39,32 +39,32 @@ const Arrow = styled.div( 'top', placement, theme.color[color] || color || theme.base === 'light' - ? lightenColor(theme.background.app) - : darkenColor(theme.background.app), + ? lighten(theme.background.app) + : darken(theme.background.app), 'transparent' ), borderBottomColor: match( 'bottom', placement, theme.color[color] || color || theme.base === 'light' - ? lightenColor(theme.background.app) - : darkenColor(theme.background.app), + ? lighten(theme.background.app) + : darken(theme.background.app), 'transparent' ), borderLeftColor: match( 'left', placement, theme.color[color] || color || theme.base === 'light' - ? lightenColor(theme.background.app) - : darkenColor(theme.background.app), + ? lighten(theme.background.app) + : darken(theme.background.app), 'transparent' ), borderRightColor: match( 'right', placement, theme.color[color] || color || theme.base === 'light' - ? lightenColor(theme.background.app) - : darkenColor(theme.background.app), + ? lighten(theme.background.app) + : darken(theme.background.app), 'transparent' ), }) @@ -92,8 +92,8 @@ const Wrapper = styled.div( background: theme.color[color] || color || theme.base === 'light' - ? lightenColor(theme.background.app) - : darkenColor(theme.background.app), + ? lighten(theme.background.app) + : darken(theme.background.app), filter: ` drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)) diff --git a/lib/theming/src/index.ts b/lib/theming/src/index.ts index 14668939b682..4a8dd64f646e 100644 --- a/lib/theming/src/index.ts +++ b/lib/theming/src/index.ts @@ -14,4 +14,4 @@ export * from './create'; export * from './convert'; export * from './ensure'; -export { lightenColor, darkenColor } from './utils'; +export { lightenColor as lighten, darkenColor as darken } from './utils'; diff --git a/lib/ui/src/components/notifications/item.js b/lib/ui/src/components/notifications/item.js index e4cf531b0e1a..fea68afc950a 100644 --- a/lib/ui/src/components/notifications/item.js +++ b/lib/ui/src/components/notifications/item.js @@ -1,6 +1,6 @@ import React from 'react'; import PropTypes from 'prop-types'; -import { styled, lightenColor, darkenColor } from '@storybook/theming'; +import { styled, lightenColor, darken } from '@storybook/theming'; import { Link } from '@storybook/router'; const baseStyle = ({ theme }) => ({ @@ -13,7 +13,7 @@ const baseStyle = ({ theme }) => ({ boxShadow: '0 5px 15px 0 rgba(0, 0, 0, 0.1), 0 2px 5px 0 rgba(0, 0, 0, 0.05)', color: theme.color.inverseText, backgroundColor: - theme.base === 'light' ? darkenColor(theme.background.app) : lightenColor(theme.background.app), + theme.base === 'light' ? darken(theme.background.app) : lightenColor(theme.background.app), textDecoration: 'none', }); From f085a1a6379c04d3418a8ded76f9672c0660a84a Mon Sep 17 00:00:00 2001 From: lonyele Date: Mon, 3 Jun 2019 21:49:53 +0900 Subject: [PATCH 029/371] Improve comment for clarification --- lib/theming/src/utils.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/theming/src/utils.ts b/lib/theming/src/utils.ts index a39775a6defd..13ec6033b4b6 100644 --- a/lib/theming/src/utils.ts +++ b/lib/theming/src/utils.ts @@ -2,10 +2,10 @@ import { rgba, lighten, darken } from 'polished'; export const mkColor = (color: string) => ({ color }); -// Passing linear-gradient string to library polished's functions such as -// lighten or darken throws the error that crashes the entire storybook. -// It needs to be guarded when arguments of those functions are from -// user input. +// Passing arguments that can't be converted to RGB such as linear-gradient +// to library polished's functions such as lighten or darken throws the error +// that crashes the entire storybook. It needs to be guarded when arguments +// of those functions are from user input. const isLinearGradient = (color: string) => { return typeof color === 'string' && color.includes('linear-gradient'); }; From b5691748c71a578c39f7744b28c30aa31fc804b2 Mon Sep 17 00:00:00 2001 From: lonyele Date: Mon, 3 Jun 2019 21:52:39 +0900 Subject: [PATCH 030/371] Fix applying changed function names --- lib/ui/src/components/notifications/item.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ui/src/components/notifications/item.js b/lib/ui/src/components/notifications/item.js index fea68afc950a..e891f389992c 100644 --- a/lib/ui/src/components/notifications/item.js +++ b/lib/ui/src/components/notifications/item.js @@ -1,6 +1,6 @@ import React from 'react'; import PropTypes from 'prop-types'; -import { styled, lightenColor, darken } from '@storybook/theming'; +import { styled, lighten, darken } from '@storybook/theming'; import { Link } from '@storybook/router'; const baseStyle = ({ theme }) => ({ @@ -13,7 +13,7 @@ const baseStyle = ({ theme }) => ({ boxShadow: '0 5px 15px 0 rgba(0, 0, 0, 0.1), 0 2px 5px 0 rgba(0, 0, 0, 0.05)', color: theme.color.inverseText, backgroundColor: - theme.base === 'light' ? darken(theme.background.app) : lightenColor(theme.background.app), + theme.base === 'light' ? darken(theme.background.app) : lighten(theme.background.app), textDecoration: 'none', }); From 8f23700d8ec22e5ec899e09928110007a4664050 Mon Sep 17 00:00:00 2001 From: lonyele Date: Mon, 3 Jun 2019 22:25:13 +0900 Subject: [PATCH 031/371] Change guarding functions for broader cases --- lib/theming/src/utils.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/theming/src/utils.ts b/lib/theming/src/utils.ts index 13ec6033b4b6..d34a51b7a0d6 100644 --- a/lib/theming/src/utils.ts +++ b/lib/theming/src/utils.ts @@ -6,17 +6,17 @@ export const mkColor = (color: string) => ({ color }); // to library polished's functions such as lighten or darken throws the error // that crashes the entire storybook. It needs to be guarded when arguments // of those functions are from user input. -const isLinearGradient = (color: string) => { - return typeof color === 'string' && color.includes('linear-gradient'); +const isColorVarChangeable = (color: string) => { + return !!color.match(/(gradient|var)/); }; const colorFactory = (type: string) => (color: string) => { if (type === 'darken') { - return isLinearGradient(color) ? color : rgba(`${darken(1, color)}`, 0.95); + return isColorVarChangeable(color) ? color : rgba(`${darken(1, color)}`, 0.95); } if (type === 'lighten') { - return isLinearGradient(color) ? color : rgba(`${lighten(1, color)}`, 0.95); + return isColorVarChangeable(color) ? color : rgba(`${lighten(1, color)}`, 0.95); } return color; From 4f7e3dd8d2275197d6abb7e32e23ad0a2c8e9a38 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 4 Jun 2019 21:44:54 +0200 Subject: [PATCH 032/371] IMPROVE HMR error reporting, no refreshes needed for error recovery --- .../src/stories/App.stories.js | 12 ++--- lib/client-api/src/config_api.js | 49 ++++++------------- lib/client-api/src/story_store.js | 9 ++-- lib/core/package.json | 1 + lib/core/src/client/preview/start.js | 21 ++++++-- lib/core/src/server/preview/preview-preset.js | 4 +- .../server/templates/base-preview-body.html | 2 +- .../server/templates/base-preview-head.html | 17 ++++--- yarn.lock | 7 +++ 9 files changed, 65 insertions(+), 57 deletions(-) diff --git a/examples/cra-kitchen-sink/src/stories/App.stories.js b/examples/cra-kitchen-sink/src/stories/App.stories.js index f3e86bdfb9b5..b9e23a32d875 100644 --- a/examples/cra-kitchen-sink/src/stories/App.stories.js +++ b/examples/cra-kitchen-sink/src/stories/App.stories.js @@ -1,8 +1,8 @@ // FIXME: svgr issue @igor-dv -// import React from 'react'; -// import { storiesOf } from '@storybook/react'; -// -// import App from '../App'; -// -// storiesOf('App', module).add('full app', () => ); +import React from 'react'; +import { storiesOf } from '@storybook/react'; + +import App from '../App'; + +storiesOf('App', module).add('full app', () => ); diff --git a/lib/client-api/src/config_api.js b/lib/client-api/src/config_api.js index a59226a84a9b..9008244478c5 100644 --- a/lib/client-api/src/config_api.js +++ b/lib/client-api/src/config_api.js @@ -1,8 +1,6 @@ /* eslint no-underscore-dangle: 0 */ -import { location } from 'global'; import Events from '@storybook/core-events'; -import { logger } from '@storybook/client-logger'; export default class ConfigApi { constructor({ channel, storyStore, clearDecorators, clientApi }) { @@ -19,13 +17,7 @@ export default class ConfigApi { this._storyStore.emit(Events.STORY_INIT); } - _renderError(e) { - const { stack, message } = e; - const error = { stack, message }; - this._storyStore.setSelection({ error }); - } - - configure = (loaders, module) => { + configure = (loaders, m) => { const render = () => { const errors = []; @@ -34,40 +26,29 @@ export default class ConfigApi { loaders(); } } catch (e) { - logger.error(e); errors.push(e); } - try { - this._renderMain(); - } catch (e) { - logger.error(e); - errors.push(e); + + if (!errors.length) { + try { + this._renderMain(); + } catch (e) { + errors.push(e); + } } if (errors.length) { - if (module.hot && module.hot.status() === 'apply') { - // We got this issue, after webpack fixed it and applying it. - // Therefore error message is displayed forever even it's being fixed. - // So, we'll detect it reload the page. - logger.error('RELOAD THE PAGE', 'module.hot.status() === apply'); - location.reload(); - } else { - // If we are accessing the site, but the error is not fixed yet. - // There we can render the error. - this._renderError(errors[0]); + this._storyStore.setSelection(undefined, errors[0]); - // Clear out the store as chances as only some of the stories will have - // made it in before the error was thrown - // this._storyStore.clean(); - } + throw errors[0]; + } else { + this._storyStore.setSelection(undefined, null); } }; - if (module.hot) { - module.hot.accept(() => { - setTimeout(render); - }); - module.hot.dispose(() => { + if (m.hot) { + m.hot.accept(); + m.hot.dispose(() => { this._clearDecorators(); }); } diff --git a/lib/client-api/src/story_store.js b/lib/client-api/src/story_store.js index 52848511bf5b..fd94d3a06ba9 100644 --- a/lib/client-api/src/story_store.js +++ b/lib/client-api/src/story_store.js @@ -62,7 +62,7 @@ export default class StoryStore extends EventEmitter { this.setPath(storyId, rest); } } - this.setSelection(this.fromId(storyId)); + this.setSelection(this.fromId(storyId), null); }); } @@ -116,13 +116,16 @@ export default class StoryStore extends EventEmitter { ); } - setSelection = data => { - this._selection = data; + setSelection = (data, error) => { + this._selection = data === undefined ? this._selection : data; + this._error = error === undefined ? this._error : error; setTimeout(() => this.emit(Events.STORY_RENDER), 1); }; getSelection = () => this._selection; + getError = () => this._error; + remove = id => { const { _data } = this; delete _data[id]; diff --git a/lib/core/package.json b/lib/core/package.json index 5205554c39c4..48ab2f6b1f05 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -35,6 +35,7 @@ "@storybook/theming": "5.1.0-rc.5", "@storybook/ui": "5.1.0-rc.5", "airbnb-js-shims": "^1 || ^2", + "ansi-to-html": "^0.6.11", "autoprefixer": "^9.4.9", "babel-plugin-add-react-displayname": "^0.0.5", "babel-plugin-emotion": "^10.0.9", diff --git a/lib/core/src/client/preview/start.js b/lib/core/src/client/preview/start.js index ffb269892bdb..749241b2b3dd 100644 --- a/lib/core/src/client/preview/start.js +++ b/lib/core/src/client/preview/start.js @@ -6,6 +6,9 @@ import { toId } from '@storybook/router/utils'; import { logger } from '@storybook/client-logger'; import Events from '@storybook/core-events'; import deprecate from 'util-deprecate'; +import AnsiToHtml from 'ansi-to-html'; + +const ansiConverter = new AnsiToHtml(); const classes = { MAIN: 'sb-show-main', @@ -27,12 +30,13 @@ function showNopreview() { document.body.classList.add(classes.NOPREVIEW); } -function showErrorDisplay({ message, stack }) { - document.getElementById('error-message').textContent = message; - document.getElementById('error-stack').textContent = stack; +function showErrorDisplay({ message = '', stack = '' }) { + document.getElementById('error-message').innerHTML = ansiConverter.toHtml(message); + document.getElementById('error-stack').innerHTML = ansiConverter.toHtml(stack); document.body.classList.remove(classes.MAIN); document.body.classList.remove(classes.NOPREVIEW); + document.body.classList.add(classes.ERROR); } @@ -118,13 +122,17 @@ export default function start(render, { decorateStory } = {}) { let previousKind = ''; let previousStory = ''; let previousRevision = -1; + let previousError; const renderMain = forceRender => { const revision = storyStore.getRevision(); const selection = storyStore.getSelection(); - const { kind, name, getDecorated, id } = selection || {}; + const loadError = storyStore.getError(); + const { kind, name, getDecorated, id, error } = selection || {}; - if (getDecorated) { + if (loadError || error || (revision === previousRevision && previousError)) { + showErrorDisplay(loadError || error || previousError); + } else if (getDecorated) { // Render story only if selectedKind or selectedStory have changed. // However, we DO want the story to re-render if the store itself has changed // (which happens at the moment when HMR occurs) @@ -150,6 +158,7 @@ export default function start(render, { decorateStory } = {}) { forceRender, }); addons.getChannel().emit(Events.STORY_RENDERED, id); + showMain(); } else { showNopreview(); addons.getChannel().emit(Events.STORY_MISSING, id); @@ -158,6 +167,8 @@ export default function start(render, { decorateStory } = {}) { previousKind = kind; previousStory = name; + previousError = undefined; + if (!forceRender) { document.documentElement.scrollTop = 0; } diff --git a/lib/core/src/server/preview/preview-preset.js b/lib/core/src/server/preview/preview-preset.js index d82a9bd531f8..ef334b49eb65 100644 --- a/lib/core/src/server/preview/preview-preset.js +++ b/lib/core/src/server/preview/preview-preset.js @@ -11,7 +11,9 @@ export const entries = async (_, options) => { result = result.concat(await createPreviewEntry(options)); if (options.configType === 'DEVELOPMENT') { - result = result.concat(`${require.resolve('webpack-hot-middleware/client')}?reload=true`); + result = result.concat( + `${require.resolve('webpack-hot-middleware/client')}?reload=true&quiet=true` + ); } return result; diff --git a/lib/core/src/server/templates/base-preview-body.html b/lib/core/src/server/templates/base-preview-body.html index 503fec032107..71c0b67fde9b 100644 --- a/lib/core/src/server/templates/base-preview-body.html +++ b/lib/core/src/server/templates/base-preview-body.html @@ -11,6 +11,6 @@

No Preview

-
+

   
diff --git a/lib/core/src/server/templates/base-preview-head.html b/lib/core/src/server/templates/base-preview-head.html index ad751607514b..05bc52f069e2 100644 --- a/lib/core/src/server/templates/base-preview-head.html +++ b/lib/core/src/server/templates/base-preview-head.html @@ -14,12 +14,13 @@ left: 0; right: 0; padding: 20px; - font-family: -apple-system, ".SFNSText-Regular", "San Francisco", Roboto, "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif; + font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; + overflow: auto; } .sb-heading { - font-size: 20px; + font-size: 14px; font-weight: 600; letter-spacing: 0.2px; margin: 10px 0; @@ -43,14 +44,16 @@ } .sb-errordisplay { - background-color: rgb(187, 49, 49); - color: #FFF; + border: 20px solid rgb(187, 49, 49); + background: #222; + color: #fff; } .sb-errordisplay_code { - font-size: 14px; - width: 100vw; - overflow: auto; + padding: 10px; + background: #000; + color: #eee; + font-family: "Operator Mono", "Fira Code Retina", "Fira Code", "FiraCode-Retina", "Andale Mono", "Lucida Console", Consolas, Monaco, monospace; } diff --git a/yarn.lock b/yarn.lock index 17e6c9556b0e..3054e89794a4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4528,6 +4528,13 @@ ansi-styles@^3.0.0, ansi-styles@^3.2.0, ansi-styles@^3.2.1: dependencies: color-convert "^1.9.0" +ansi-to-html@^0.6.11: + version "0.6.11" + resolved "https://registry.yarnpkg.com/ansi-to-html/-/ansi-to-html-0.6.11.tgz#5093fc4962186c0e9343dec572a4f71abdc93439" + integrity sha512-88XZtrcwrfkyn6fGstHnkaF1kl7hGtNCYh4vSmItgEV+6JnQHryDBf7udF4f2RhTRQmYvJvPcTtqgaqrxzc9oA== + dependencies: + entities "^1.1.1" + ansi-wrap@0.1.0, ansi-wrap@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/ansi-wrap/-/ansi-wrap-0.1.0.tgz#a82250ddb0015e9a27ca82e82ea603bbfa45efaf" From 55a7bf1e640fd0782821feb23b68adebd1e0e57c Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 6 Jun 2019 00:59:10 +0200 Subject: [PATCH 033/371] ADD faster reset script --- .../storyshots-puppeteer/package.json | 7 +- package.json | 1 + scripts/bootstrap.js | 89 +++++++++--- scripts/reset.js | 41 ++++++ yarn.lock | 128 +++++++++++++++++- 5 files changed, 238 insertions(+), 28 deletions(-) create mode 100644 scripts/reset.js diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json index c1fcb848271e..1bcfdd9333b8 100644 --- a/addons/storyshots/storyshots-puppeteer/package.json +++ b/addons/storyshots/storyshots-puppeteer/package.json @@ -26,11 +26,14 @@ "@storybook/router": "5.1.0-rc.5", "core-js": "^3.0.1", "jest-image-snapshot": "^2.8.2", - "puppeteer": "^1.12.2", "regenerator-runtime": "^0.12.1" }, + "optionalDependencies": { + "puppeteer": "^1.12.2" + }, "peerDependencies": { - "@storybook/addon-storyshots": "5.1.0-rc.0" + "@storybook/addon-storyshots": "5.1.0-rc.0", + "puppeteer": "^1.12.2" }, "publishConfig": { "access": "public" diff --git a/package.json b/package.json index 9b2095c874a4..3a05f6e45064 100644 --- a/package.json +++ b/package.json @@ -196,6 +196,7 @@ "sort-package-json": "^1.21.0", "svelte": "^3.4.1", "svelte-jest": "^0.2.0", + "trash": "^6.0.0", "ts-jest": "^24.0.2", "typescript": "^3.4.1", "weak": "^1.0.1" diff --git a/scripts/bootstrap.js b/scripts/bootstrap.js index 3b9935785e31..13bf6a994e2a 100755 --- a/scripts/bootstrap.js +++ b/scripts/bootstrap.js @@ -37,15 +37,24 @@ const spawn = (command, options = {}) => { }; const main = program - .version('3.0.0') + .version('5.0.0') .option('--all', `Bootstrap everything ${chalk.gray('(all)')}`); -const createTask = ({ defaultValue, option, name, check = () => true, command, pre = [] }) => ({ +const createTask = ({ + defaultValue, + option, + name, + check = () => true, + command, + pre = [], + order, +}) => ({ value: false, defaultValue: defaultValue || false, option: option || undefined, name: name || 'unnamed task', check: check || (() => true), + order, command: () => { // run all pre tasks pre @@ -63,6 +72,16 @@ const createTask = ({ defaultValue, option, name, check = () => true, command, p }); const tasks = { + core: createTask({ + name: `Core, Dll & Examples ${chalk.gray('(core)')}`, + defaultValue: true, + option: '--core', + command: () => { + log.info(prefix, 'yarn workspace'); + }, + pre: ['install', 'build', 'dll'], + order: 1, + }), reset: createTask({ name: `Clean and re-install dependencies ${chalk.red('(reset)')}`, defaultValue: false, @@ -70,22 +89,27 @@ const tasks = { command: () => { log.info(prefix, 'git clean'); spawn('git clean -fdx --exclude=".vscode" --exclude=".idea"'); - log.info(prefix, 'yarn install'); - spawn('yarn install'); }, + order: 0, }), - core: createTask({ - name: `Core, Dll & Examples ${chalk.gray('(core)')}`, - defaultValue: true, - option: '--core', + install: createTask({ + name: `install dependencies ${chalk.gray('(install)')}`, + defaultValue: false, + option: '--install', + command: () => { + spawn('yarn install --ignore-optional --no-scripts'); + }, + order: 1, + }), + build: createTask({ + name: `Core, Dll & Examples ${chalk.gray('(build)')}`, + defaultValue: false, + option: '--build', command: () => { - log.info(prefix, 'yarn workspace'); - spawn('yarn install'); log.info(prefix, 'prepare'); spawn('lerna run prepare'); - log.info(prefix, 'dll'); - spawn('lerna run createDlls --scope "@storybook/ui"'); }, + order: 2, }), dll: createTask({ name: `Generate DLL ${chalk.gray('(dll)')}`, @@ -95,6 +119,7 @@ const tasks = { log.info(prefix, 'dll'); spawn('lerna run createDlls --scope "@storybook/ui"'); }, + order: 3, }), docs: createTask({ name: `Documentation ${chalk.gray('(docs)')}`, @@ -103,6 +128,7 @@ const tasks = { command: () => { spawn('yarn bootstrap:docs'); }, + order: 6, }), packs: createTask({ name: `Build tarballs of packages ${chalk.gray('(build-packs)')}`, @@ -112,6 +138,7 @@ const tasks = { spawn('yarn build-packs'); }, check: () => getDirectories(join(__dirname, '..', 'packs')).length > 0, + order: 5, }), registry: createTask({ name: `Run local registry ${chalk.gray('(reg)')}`, @@ -120,9 +147,16 @@ const tasks = { command: () => { spawn('./scripts/run-registry.js'); }, + order: 11, }), }; +const groups = { + main: ['core', 'docs'], + subtasks: ['install', 'build', 'dll', 'packs'], + devtasks: ['registry', 'reset'], +}; + Object.keys(tasks) .reduce((acc, key) => acc.option(tasks[key].option, tasks[key].name), main) .parse(process.argv); @@ -131,6 +165,21 @@ Object.keys(tasks).forEach(key => { tasks[key].value = program[tasks[key].option.replace('--', '')] || program.all; }); +const createSeperator = input => `- ${input}${' ---------'.substr(0, 12)}`; + +const choices = Object.values(groups) + .map(l => + l.map(key => ({ + name: tasks[key].name, + checked: tasks[key].defaultValue, + })) + ) + .reduce( + (acc, i, k) => + acc.concat(new inquirer.Separator(createSeperator(Object.keys(groups)[k]))).concat(i), + [] + ); + let selection; if ( !Object.keys(tasks) @@ -141,12 +190,10 @@ if ( .prompt([ { type: 'checkbox', - message: 'Select which packages to bootstrap', + message: 'Select the bootstrap activities', name: 'todo', - choices: Object.keys(tasks).map(key => ({ - name: tasks[key].name, - checked: tasks[key].defaultValue, - })), + pageSize: Object.keys(tasks).length + Object.keys(groups).length, + choices, }, ]) .then(({ todo }) => @@ -186,9 +233,11 @@ selection if (list.length === 0) { log.warn(prefix, 'Nothing to bootstrap'); } else { - list.forEach(key => { - key.command(); - }); + list + .sort((a, b) => a.order - b.order) + .forEach(key => { + key.command(); + }); process.stdout.write('\x07'); } }) diff --git a/scripts/reset.js b/scripts/reset.js new file mode 100644 index 000000000000..96f41a74f411 --- /dev/null +++ b/scripts/reset.js @@ -0,0 +1,41 @@ +import fs from 'fs'; +import { spawn, exec } from 'child_process'; +import trash from 'trash'; + +fs.writeFileSync('reset.log', ''); + +// let results = []; +const cleaningProcess = spawn('git', [ + 'clean', + '-xdf', + '-n', + '--exclude=".vscode"', + '--exclude=".idea"', +]); + +cleaningProcess.stdout.on('data', data => { + if (data && data.toString()) { + const l = data + .toString() + .split(/\n/) + .forEach(i => { + const [, uri] = i.match(/Would remove (.*)$/) || []; + + if (uri) { + trash(uri); + } + }); + } + fs.appendFile('reset.log', data, err => { + if (err) { + throw err; + } + }); +}); +cleaningProcess.on('exit', code => { + if (code === 0) { + console.log('all went well, files are being trashed now'); + } else { + console.error(code); + } +}); diff --git a/yarn.lock b/yarn.lock index 17e6c9556b0e..ac9c4c91ebf8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3190,6 +3190,18 @@ resolved "https://registry.yarnpkg.com/@sheerun/mutationobserver-shim/-/mutationobserver-shim-0.3.2.tgz#8013f2af54a2b7d735f71560ff360d3a8176a87b" integrity sha512-vTCdPp/T/Q3oSqwHmZ5Kpa9oI7iLtGl3RQaA/NyLHikvcrPxACkkKVr/XzkSPJWXHRhKGzVvb0urJsbMlRxi1Q== +"@sindresorhus/df@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@sindresorhus/df/-/df-1.0.1.tgz#c69b66f52f6fcdd287c807df210305dbaf78500d" + integrity sha1-xptm9S9vzdKHyAffIQMF2694UA0= + +"@sindresorhus/df@^2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@sindresorhus/df/-/df-2.1.0.tgz#d208cf27e06f0bb476d14d7deccd7d726e9aa389" + integrity sha1-0gjPJ+BvC7R20U197M19cm6ao4k= + dependencies: + execa "^0.2.2" + "@sindresorhus/is@^0.14.0": version "0.14.0" resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea" @@ -9192,6 +9204,17 @@ cosmiconfig@^5.0.0, cosmiconfig@^5.0.5, cosmiconfig@^5.1.0, cosmiconfig@^5.2.0: js-yaml "^3.13.1" parse-json "^4.0.0" +cp-file@^6.1.0: + version "6.2.0" + resolved "https://registry.yarnpkg.com/cp-file/-/cp-file-6.2.0.tgz#40d5ea4a1def2a9acdd07ba5c0b0246ef73dc10d" + integrity sha512-fmvV4caBnofhPe8kOcitBwSn2f39QLjnAnGq3gO9dfd75mUytzKNZB1hde6QHunW2Rt+OwuBOMc3i1tNElbszA== + dependencies: + graceful-fs "^4.1.2" + make-dir "^2.0.0" + nested-error-stacks "^2.0.0" + pify "^4.0.1" + safe-buffer "^5.0.1" + create-ecdh@^4.0.0: version "4.0.3" resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.3.tgz#c9111b6f33045c4697f144787f9254cdc77c45ff" @@ -9292,6 +9315,14 @@ cross-fetch@^1.0.0: node-fetch "1.7.3" whatwg-fetch "2.0.3" +cross-spawn-async@^2.1.1: + version "2.2.5" + resolved "https://registry.yarnpkg.com/cross-spawn-async/-/cross-spawn-async-2.2.5.tgz#845ff0c0834a3ded9d160daca6d390906bb288cc" + integrity sha1-hF/wwINKPe2dFg2sptOQkGuyiMw= + dependencies: + lru-cache "^4.0.0" + which "^1.2.8" + cross-spawn@5.1.0, cross-spawn@^5.0.1, cross-spawn@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" @@ -11975,6 +12006,17 @@ execa@^0.10.0: signal-exit "^3.0.0" strip-eof "^1.0.0" +execa@^0.2.2: + version "0.2.2" + resolved "https://registry.yarnpkg.com/execa/-/execa-0.2.2.tgz#e2ead472c2c31aad6f73f1ac956eef45e12320cb" + integrity sha1-4urUcsLDGq1vc/GslW7vReEjIMs= + dependencies: + cross-spawn-async "^2.1.1" + npm-run-path "^1.0.0" + object-assign "^4.0.1" + path-key "^1.0.0" + strip-eof "^1.0.0" + execa@^0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" @@ -15714,7 +15756,7 @@ is-path-inside@^1.0.0: dependencies: path-is-inside "^1.0.1" -is-path-inside@^2.1.0: +is-path-inside@^2.0.0, is-path-inside@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-2.1.0.tgz#7c9810587d659a40d27bcdb4d5616eab059494b2" integrity sha512-wiyhTzfDWsvwAW53OBWF5zuvaOGlZ6PwYxAbPVDhpm+gM09xKQGjBq/8uYN12aDvMxnAnq3dxTyoSoRNmg5YFg== @@ -19044,7 +19086,7 @@ lowlight@~1.9.1: fault "^1.0.2" highlight.js "~9.12.0" -lru-cache@^4.0.1, lru-cache@^4.1.1, lru-cache@^4.1.2, lru-cache@^4.1.3: +lru-cache@^4.0.0, lru-cache@^4.0.1, lru-cache@^4.1.1, lru-cache@^4.1.2, lru-cache@^4.1.3: version "4.1.5" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" integrity sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g== @@ -20296,6 +20338,15 @@ morgan@^1.9.0: on-finished "~2.3.0" on-headers "~1.0.1" +mount-point@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/mount-point/-/mount-point-3.0.0.tgz#665cb9edebe80d110e658db56c31d0aef51a8f97" + integrity sha1-Zly57evoDREOZY21bDHQrvUaj5c= + dependencies: + "@sindresorhus/df" "^1.0.1" + pify "^2.3.0" + pinkie-promise "^2.0.1" + mout@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/mout/-/mout-1.1.0.tgz#0b29d41e6a80fa9e2d4a5be9d602e1d9d02177f6" @@ -20313,6 +20364,15 @@ move-concurrently@^1.0.1: rimraf "^2.5.4" run-queue "^1.0.3" +move-file@^1.1.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/move-file/-/move-file-1.2.0.tgz#789f92d276c62511d214b1b285aa16e015c2f2fc" + integrity sha512-USHrRmxzGowUWAGBbJPdFjHzEqtxDU03pLHY0Rfqgtnq+q8FOIs8wvkkf+Udmg77SJKs47y9sI0jJvQeYsmiCA== + dependencies: + cp-file "^6.1.0" + make-dir "^3.0.0" + path-exists "^3.0.0" + ms@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" @@ -20460,6 +20520,11 @@ neo-async@^2.5.0, neo-async@^2.6.0: resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c" integrity sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw== +nested-error-stacks@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/nested-error-stacks/-/nested-error-stacks-2.1.0.tgz#0fbdcf3e13fe4994781280524f8b96b0cdff9c61" + integrity sha512-AO81vsIO1k1sM4Zrd6Hu7regmJN1NSiAja10gc4bX3F0wd+9rQmcuHQaHVQCYIEC8iFXnE+mavh23GOt7wBgug== + nested-object-assign@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/nested-object-assign/-/nested-object-assign-1.0.3.tgz#5aca69390d9affe5a612152b5f0843ae399ac597" @@ -20866,6 +20931,13 @@ npm-registry-fetch@^3.8.0, npm-registry-fetch@^3.9.0: make-fetch-happen "^4.0.1" npm-package-arg "^6.1.0" +npm-run-path@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-1.0.0.tgz#f5c32bf595fe81ae927daec52e82f8b000ac3c8f" + integrity sha1-9cMr9ZX+ga6Sfa7FLoL4sACsPI8= + dependencies: + path-key "^1.0.0" + npm-run-path@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" @@ -21400,7 +21472,7 @@ p-try@^1.0.0: resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" integrity sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M= -p-try@^2.0.0: +p-try@^2.0.0, p-try@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== @@ -21834,6 +21906,11 @@ path-is-inside@^1.0.1, path-is-inside@^1.0.2: resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= +path-key@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-1.0.0.tgz#5d53d578019646c0d68800db4e146e6bdc2ac7af" + integrity sha1-XVPVeAGWRsDWiADbThRua9wqx68= + path-key@^2.0.0, path-key@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" @@ -21955,7 +22032,7 @@ picomatch@^2.0.5: resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.0.7.tgz#514169d8c7cd0bdbeecc8a2609e34a7163de69f6" integrity sha512-oLHIdio3tZ0qH76NybpeneBhYVj0QFTfXEFTc/B3zKQspYfYYkWYgFsmzo+4kvId/bQRcNkVeguI3y+CD22BtA== -pify@^2.0.0, pify@^2.3.0: +pify@^2.0.0, pify@^2.2.0, pify@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" integrity sha1-7RQaasBDqEnqWISY59yosVMw6Qw= @@ -21970,7 +22047,7 @@ pify@^4.0.1: resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231" integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== -pinkie-promise@^2.0.0: +pinkie-promise@^2.0.0, pinkie-promise@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" integrity sha1-ITXW36ejWMBprJsXh3YogihFD/o= @@ -28635,6 +28712,20 @@ tr46@~0.0.3: resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" integrity sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o= +trash@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/trash/-/trash-6.0.0.tgz#9f2f1cfe83be1a3956e74f90d5ced706678246cd" + integrity sha512-5/ZF/7yPYX9Q8e4Dop2WMClV8VRJiWybUV2FhPovkm0I2csNlmY2DXpcCa50UObXx2+SE6421ViTa4sTpEA4WA== + dependencies: + globby "^7.1.1" + is-path-inside "^2.0.0" + make-dir "^3.0.0" + move-file "^1.1.0" + p-map "^2.0.0" + p-try "^2.2.0" + uuid "^3.3.2" + xdg-trashdir "^2.1.1" + tree-kill@1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.0.tgz#5846786237b4239014f05db156b643212d4c6f36" @@ -29483,6 +29574,13 @@ use@^3.1.0: resolved "https://registry.yarnpkg.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f" integrity sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ== +user-home@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/user-home/-/user-home-2.0.0.tgz#9c70bfd8169bc1dcbf48604e0f04b8b49cde9e9f" + integrity sha1-nHC/2Babwdy/SGBODwS4tJzenp8= + dependencies: + os-homedir "^1.0.0" + username-sync@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/username-sync/-/username-sync-1.0.2.tgz#0a3697909fb7b5768d29e2921f573acfdd427592" @@ -30540,7 +30638,7 @@ which-pm-runs@^1.0.0: resolved "https://registry.yarnpkg.com/which-pm-runs/-/which-pm-runs-1.0.0.tgz#670b3afbc552e0b55df6b7780ca74615f23ad1cb" integrity sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs= -which@1, which@^1.2.10, which@^1.2.12, which@^1.2.14, which@^1.2.9, which@^1.3.0, which@^1.3.1: +which@1, which@^1.2.10, which@^1.2.12, which@^1.2.14, which@^1.2.8, which@^1.2.9, which@^1.3.0, which@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== @@ -31030,11 +31128,29 @@ xcode@^1.0.0: simple-plist "^0.2.1" uuid "^3.3.2" +xdg-basedir@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-2.0.0.tgz#edbc903cc385fc04523d966a335504b5504d1bd2" + integrity sha1-7byQPMOF/ARSPZZqM1UEtVBNG9I= + dependencies: + os-homedir "^1.0.0" + xdg-basedir@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-3.0.0.tgz#496b2cc109eca8dbacfe2dc72b603c17c5870ad4" integrity sha1-SWsswQnsqNus/i3HK2A8F8WHCtQ= +xdg-trashdir@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/xdg-trashdir/-/xdg-trashdir-2.1.1.tgz#59a60aaf8e6f9240c1daed9a0944b2f514c27d8e" + integrity sha512-KcVhPaOu2ZurYNHSRTf1+ZHORkTZGCQ+u0JHN17QixRISJq4pXOnjt/lQcehvtHL5QAKhSzKgyjrcNnPdkPBHA== + dependencies: + "@sindresorhus/df" "^2.1.0" + mount-point "^3.0.0" + pify "^2.2.0" + user-home "^2.0.0" + xdg-basedir "^2.0.0" + xhr@^2.0.1: version "2.5.0" resolved "https://registry.yarnpkg.com/xhr/-/xhr-2.5.0.tgz#bed8d1676d5ca36108667692b74b316c496e49dd" From 371fe9053038f933a4a8b4af9097a216c2b8e607 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 6 Jun 2019 01:57:31 +0200 Subject: [PATCH 034/371] IMPROVE the reset script, it's now safe! won't permanently delete files --- package.json | 1 + scripts/bootstrap.js | 499 +++++++++++++++++++++++-------------------- scripts/reset.js | 11 +- 3 files changed, 279 insertions(+), 232 deletions(-) diff --git a/package.json b/package.json index 3a05f6e45064..646d74e44804 100644 --- a/package.json +++ b/package.json @@ -147,6 +147,7 @@ "core-js": "^3.0.1", "cross-env": "^5.2.0", "danger": "^7.0.15", + "del": "^4.1.1", "enzyme": "^3.9.0", "enzyme-adapter-react-16": "^1.9.1", "eslint": "^5.14.1", diff --git a/scripts/bootstrap.js b/scripts/bootstrap.js index 13bf6a994e2a..890f22dbe5e4 100755 --- a/scripts/bootstrap.js +++ b/scripts/bootstrap.js @@ -1,248 +1,285 @@ #!/usr/bin/env node -const inquirer = require('inquirer'); -const program = require('commander'); -const childProcess = require('child_process'); -const chalk = require('chalk'); -const log = require('npmlog'); +/* eslint-disable global-require, no-octal-escape */ +const childProcess = require('child_process'); const { lstatSync, readdirSync } = require('fs'); const { join } = require('path'); -const isTgz = source => lstatSync(source).isFile() && source.match(/.tgz$/); -const getDirectories = source => - readdirSync(source) - .map(name => join(source, name)) - .filter(isTgz); - -log.heading = 'storybook'; -const prefix = 'bootstrap'; -log.addLevel('aborted', 3001, { fg: 'red', bold: true }); - -const spawn = (command, options = {}) => { - const out = childProcess.spawnSync( - `${command}`, - Object.assign( - { - shell: true, - stdio: 'inherit', - }, - options - ) - ); +let cooldown = 0; - if (out.status !== 0) { - process.exit(out.status); - } - return out; -}; - -const main = program - .version('5.0.0') - .option('--all', `Bootstrap everything ${chalk.gray('(all)')}`); - -const createTask = ({ - defaultValue, - option, - name, - check = () => true, - command, - pre = [], - order, -}) => ({ - value: false, - defaultValue: defaultValue || false, - option: option || undefined, - name: name || 'unnamed task', - check: check || (() => true), - order, - command: () => { - // run all pre tasks - pre - // eslint-disable-next-line no-use-before-define - .map(key => tasks[key]) - .forEach(task => { - if (!task.check()) { - task.command(); - } - }); +try { + require('inquirer'); + require('commander'); + require('chalk'); + require('npmlog'); +} catch (e) { + console.log('🕘 running bootstrap on a clean repo, we have to install dependencies'); + childProcess.spawnSync('yarn', ['install', '--ignore-optional'], { + stdio: ['inherit', 'inherit', 'inherit'], + }); + process.stdout.write('\x07'); + process.stdout.write('\033c'); - log.info(prefix, name); - command(); - }, -}); + // give the filesystem some time + cooldown = 1000; +} finally { + // eslint-disable-next-line no-use-before-define + setTimeout(run, cooldown); +} -const tasks = { - core: createTask({ - name: `Core, Dll & Examples ${chalk.gray('(core)')}`, - defaultValue: true, - option: '--core', - command: () => { - log.info(prefix, 'yarn workspace'); - }, - pre: ['install', 'build', 'dll'], - order: 1, - }), - reset: createTask({ - name: `Clean and re-install dependencies ${chalk.red('(reset)')}`, - defaultValue: false, - option: '--reset', - command: () => { - log.info(prefix, 'git clean'); - spawn('git clean -fdx --exclude=".vscode" --exclude=".idea"'); - }, - order: 0, - }), - install: createTask({ - name: `install dependencies ${chalk.gray('(install)')}`, - defaultValue: false, - option: '--install', - command: () => { - spawn('yarn install --ignore-optional --no-scripts'); - }, - order: 1, - }), - build: createTask({ - name: `Core, Dll & Examples ${chalk.gray('(build)')}`, - defaultValue: false, - option: '--build', - command: () => { - log.info(prefix, 'prepare'); - spawn('lerna run prepare'); - }, - order: 2, - }), - dll: createTask({ - name: `Generate DLL ${chalk.gray('(dll)')}`, - defaultValue: false, - option: '--dll', - command: () => { - log.info(prefix, 'dll'); - spawn('lerna run createDlls --scope "@storybook/ui"'); - }, - order: 3, - }), - docs: createTask({ - name: `Documentation ${chalk.gray('(docs)')}`, - defaultValue: false, - option: '--docs', - command: () => { - spawn('yarn bootstrap:docs'); - }, - order: 6, - }), - packs: createTask({ - name: `Build tarballs of packages ${chalk.gray('(build-packs)')}`, - defaultValue: false, - option: '--packs', - command: () => { - spawn('yarn build-packs'); - }, - check: () => getDirectories(join(__dirname, '..', 'packs')).length > 0, - order: 5, - }), - registry: createTask({ - name: `Run local registry ${chalk.gray('(reg)')}`, - defaultValue: false, - option: '--reg', +function run() { + const inquirer = require('inquirer'); + const program = require('commander'); + const chalk = require('chalk'); + const log = require('npmlog'); + + const isTgz = source => lstatSync(source).isFile() && source.match(/.tgz$/); + const getDirectories = source => + readdirSync(source) + .map(name => join(source, name)) + .filter(isTgz); + + log.heading = 'storybook'; + const prefix = 'bootstrap'; + log.addLevel('aborted', 3001, { fg: 'red', bold: true }); + + const spawn = (command, options = {}) => { + const out = childProcess.spawnSync( + `${command}`, + Object.assign( + { + shell: true, + stdio: 'inherit', + }, + options + ) + ); + + if (out.status !== 0) { + process.exit(out.status); + } + return out; + }; + + const main = program + .version('5.0.0') + .option('--all', `Bootstrap everything ${chalk.gray('(all)')}`); + + const createTask = ({ + defaultValue, + option, + name, + check = () => true, + command, + pre = [], + order, + }) => ({ + value: false, + defaultValue: defaultValue || false, + option: option || undefined, + name: name || 'unnamed task', + check: check || (() => true), + order, command: () => { - spawn('./scripts/run-registry.js'); + // run all pre tasks + pre + // eslint-disable-next-line no-use-before-define + .map(key => tasks[key]) + .forEach(task => { + if (task.check()) { + task.command(); + } + }); + + log.info(prefix, name); + command(); }, - order: 11, - }), -}; - -const groups = { - main: ['core', 'docs'], - subtasks: ['install', 'build', 'dll', 'packs'], - devtasks: ['registry', 'reset'], -}; - -Object.keys(tasks) - .reduce((acc, key) => acc.option(tasks[key].option, tasks[key].name), main) - .parse(process.argv); - -Object.keys(tasks).forEach(key => { - tasks[key].value = program[tasks[key].option.replace('--', '')] || program.all; -}); - -const createSeperator = input => `- ${input}${' ---------'.substr(0, 12)}`; - -const choices = Object.values(groups) - .map(l => - l.map(key => ({ - name: tasks[key].name, - checked: tasks[key].defaultValue, - })) - ) - .reduce( - (acc, i, k) => - acc.concat(new inquirer.Separator(createSeperator(Object.keys(groups)[k]))).concat(i), - [] - ); - -let selection; -if ( - !Object.keys(tasks) - .map(key => tasks[key].value) - .filter(Boolean).length -) { - selection = inquirer - .prompt([ - { - type: 'checkbox', - message: 'Select the bootstrap activities', - name: 'todo', - pageSize: Object.keys(tasks).length + Object.keys(groups).length, - choices, + }); + + const tasks = { + core: createTask({ + name: `Core, Dll & Examples ${chalk.gray('(core)')}`, + defaultValue: true, + option: '--core', + command: () => { + log.info(prefix, 'yarn workspace'); + }, + pre: ['install', 'build', 'dll'], + order: 1, + }), + reset: createTask({ + name: `Clean repository ${chalk.red('(reset)')}`, + defaultValue: false, + option: '--reset', + command: () => { + log.info(prefix, 'git clean'); + spawn('node -r esm ./scripts/reset.js'); + }, + order: 0, + }), + install: createTask({ + name: `Install dependencies ${chalk.gray('(install)')}`, + defaultValue: false, + option: '--install', + command: () => { + spawn('yarn install --ignore-optional '); }, - ]) - .then(({ todo }) => - todo.map(name => tasks[Object.keys(tasks).find(i => tasks[i].name === name)]) + order: 1, + }), + build: createTask({ + name: `Build packages ${chalk.gray('(build)')}`, + defaultValue: false, + option: '--build', + command: () => { + log.info(prefix, 'prepare'); + spawn('lerna run prepare'); + }, + order: 2, + }), + dll: createTask({ + name: `Generate DLL ${chalk.gray('(dll)')}`, + defaultValue: false, + option: '--dll', + command: () => { + log.info(prefix, 'dll'); + spawn('lerna run createDlls --scope "@storybook/ui"'); + }, + order: 3, + }), + docs: createTask({ + name: `Documentation ${chalk.gray('(docs)')}`, + defaultValue: false, + option: '--docs', + command: () => { + spawn('yarn bootstrap:docs'); + }, + order: 6, + }), + packs: createTask({ + name: `Build tarballs of packages ${chalk.gray('(build-packs)')}`, + defaultValue: false, + option: '--packs', + command: () => { + spawn('yarn build-packs'); + }, + check: () => getDirectories(join(__dirname, '..', 'packs')).length === 0, + order: 5, + }), + registry: createTask({ + name: `Run local registry ${chalk.gray('(reg)')}`, + defaultValue: false, + option: '--reg', + command: () => { + spawn('./scripts/run-registry.js'); + }, + order: 11, + }), + dev: createTask({ + name: `Run build in watch mode ${chalk.gray('(dev)')}`, + defaultValue: false, + option: '--dev', + command: () => { + spawn('yarn dev'); + }, + order: 9, + }), + }; + + const groups = { + main: ['core', 'docs'], + buildtasks: ['install', 'build', 'dll', 'packs'], + devtasks: ['dev', 'registry', 'reset'], + }; + + Object.keys(tasks) + .reduce((acc, key) => acc.option(tasks[key].option, tasks[key].name), main) + .parse(process.argv); + + Object.keys(tasks).forEach(key => { + tasks[key].value = program[tasks[key].option.replace('--', '')] || program.all; + }); + + const createSeperator = input => `- ${input}${' ---------'.substr(0, 12)}`; + + const choices = Object.values(groups) + .map(l => + l.map(key => ({ + name: tasks[key].name, + checked: tasks[key].defaultValue, + })) ) + .reduce( + (acc, i, k) => + acc.concat(new inquirer.Separator(createSeperator(Object.keys(groups)[k]))).concat(i), + [] + ); + + let selection; + if ( + !Object.keys(tasks) + .map(key => tasks[key].value) + .filter(Boolean).length + ) { + selection = inquirer + .prompt([ + { + type: 'checkbox', + message: 'Select the bootstrap activities', + name: 'todo', + pageSize: Object.keys(tasks).length + Object.keys(groups).length, + choices, + }, + ]) + .then(({ todo }) => + todo.map(name => tasks[Object.keys(tasks).find(i => tasks[i].name === name)]) + ) + .then(list => { + if (list.find(i => i === tasks.reset)) { + return inquirer + .prompt([ + { + type: 'confirm', + message: `${chalk.red( + 'DESTRUCTIVE' + )} deletes node_modules, files not present in git ${chalk.underline( + 'will get trashed' + )}, except for .idea and .vscode, ${chalk.cyan('Continue?')}`, + name: 'sure', + }, + ]) + .then(({ sure }) => { + if (sure) { + return list; + } + throw new Error('problem is between keyboard and chair'); + }); + } + return list; + }); + } else { + selection = Promise.resolve( + Object.keys(tasks) + .map(key => tasks[key]) + .filter(item => item.value === true) + ); + } + + selection .then(list => { - if (list.find(i => i === tasks.reset)) { - return inquirer - .prompt([ - { - type: 'confirm', - message: `${chalk.red('DESTRUCTIVE')} files not present in git ${chalk.underline( - 'will get deleted' - )}, except for .idea and .vscode, ${chalk.cyan('Continue?')}`, - name: 'sure', - }, - ]) - .then(({ sure }) => { - if (sure) { - return list; - } - throw new Error('problem is between keyboard and chair'); + if (list.length === 0) { + log.warn(prefix, 'Nothing to bootstrap'); + } else { + list + .sort((a, b) => a.order - b.order) + .forEach(key => { + key.command(); }); + process.stdout.write('\x07'); } - return list; + }) + .catch(e => { + log.aborted(prefix, chalk.red(e.message)); + log.silly(prefix, e); + process.exit(1); }); -} else { - selection = Promise.resolve( - Object.keys(tasks) - .map(key => tasks[key]) - .filter(item => item.value === true) - ); } - -selection - .then(list => { - if (list.length === 0) { - log.warn(prefix, 'Nothing to bootstrap'); - } else { - list - .sort((a, b) => a.order - b.order) - .forEach(key => { - key.command(); - }); - process.stdout.write('\x07'); - } - }) - .catch(e => { - log.aborted(prefix, chalk.red(e.message)); - log.silly(prefix, e); - process.exit(1); - }); diff --git a/scripts/reset.js b/scripts/reset.js index 96f41a74f411..05f3b8bb7a51 100644 --- a/scripts/reset.js +++ b/scripts/reset.js @@ -1,6 +1,7 @@ import fs from 'fs'; import { spawn, exec } from 'child_process'; import trash from 'trash'; +import del from 'del'; fs.writeFileSync('reset.log', ''); @@ -22,7 +23,15 @@ cleaningProcess.stdout.on('data', data => { const [, uri] = i.match(/Would remove (.*)$/) || []; if (uri) { - trash(uri); + if (uri.match(/node_modules/)) { + del(uri).then(() => { + console.log('deleted ' + uri); + }); + } else { + trash(uri).then(() => { + console.log('trashed ' + uri); + }); + } } }); } From 71110826e79625f3bb9ae6ee4efa5e6c1ace04ae Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 6 Jun 2019 09:40:43 +0200 Subject: [PATCH 035/371] REMOVE previousError --- lib/core/src/client/preview/start.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/core/src/client/preview/start.js b/lib/core/src/client/preview/start.js index 749241b2b3dd..1a9fa04d737c 100644 --- a/lib/core/src/client/preview/start.js +++ b/lib/core/src/client/preview/start.js @@ -122,7 +122,6 @@ export default function start(render, { decorateStory } = {}) { let previousKind = ''; let previousStory = ''; let previousRevision = -1; - let previousError; const renderMain = forceRender => { const revision = storyStore.getRevision(); @@ -130,8 +129,8 @@ export default function start(render, { decorateStory } = {}) { const loadError = storyStore.getError(); const { kind, name, getDecorated, id, error } = selection || {}; - if (loadError || error || (revision === previousRevision && previousError)) { - showErrorDisplay(loadError || error || previousError); + if (loadError || error) { + showErrorDisplay(loadError || error); } else if (getDecorated) { // Render story only if selectedKind or selectedStory have changed. // However, we DO want the story to re-render if the store itself has changed @@ -167,8 +166,6 @@ export default function start(render, { decorateStory } = {}) { previousKind = kind; previousStory = name; - previousError = undefined; - if (!forceRender) { document.documentElement.scrollTop = 0; } From 7a399f77ef2d3455226aaf1908d5840079a45aaa Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 6 Jun 2019 10:03:43 +0200 Subject: [PATCH 036/371] FIX linting --- scripts/reset.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/reset.js b/scripts/reset.js index 05f3b8bb7a51..59f77675dc30 100644 --- a/scripts/reset.js +++ b/scripts/reset.js @@ -25,11 +25,11 @@ cleaningProcess.stdout.on('data', data => { if (uri) { if (uri.match(/node_modules/)) { del(uri).then(() => { - console.log('deleted ' + uri); + console.log(`deleted ${uri}`); }); } else { trash(uri).then(() => { - console.log('trashed ' + uri); + console.log(`trashed ${uri}`); }); } } From 4c114d0f477672c5e249e70e1da179ee5de27b62 Mon Sep 17 00:00:00 2001 From: Christophe Hurpeau Date: Thu, 6 Jun 2019 15:14:17 +0200 Subject: [PATCH 037/371] Use same version of webpack in @storybook/core and @storybook/react --- app/react/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/react/package.json b/app/react/package.json index 0b981f6cafab..d3f0fcedbef6 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -44,7 +44,7 @@ "react-dev-utils": "^9.0.0", "regenerator-runtime": "^0.12.1", "semver": "^6.0.0", - "webpack": "^4.28.0" + "webpack": "^4.32.0" }, "peerDependencies": { "babel-loader": "^7.0.0 || ^8.0.0", From 82394e12ec134ab083130ddc40bdb983b9d93d0b Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Fri, 7 Jun 2019 17:11:45 +0200 Subject: [PATCH 038/371] CHANGE contributing guide to show the yarn install command is no longer necessary --- CONTRIBUTING.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 12de650895e4..6955a15605a3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -27,7 +27,6 @@ To test your project against the current latest version of storybook, you can cl ```sh git clone https://github.com/storybookjs/storybook.git cd storybook -yarn install yarn bootstrap ``` @@ -139,7 +138,6 @@ A good way to do that is using the example `cra-kitchen-sink` app embedded in th # Download and build this repository: git clone https://github.com/storybookjs/storybook.git cd storybook -yarn install yarn bootstrap --core # make changes to try and reproduce the problem, such as adding components + stories From f979ecadca38961d579387cefd9a9950fd855cf4 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Fri, 7 Jun 2019 12:50:32 -0700 Subject: [PATCH 039/371] Add SCSS to presets gallery --- docs/src/pages/presets/preset-gallery/index.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/src/pages/presets/preset-gallery/index.md b/docs/src/pages/presets/preset-gallery/index.md index d993c54d65f1..450d98a61eef 100644 --- a/docs/src/pages/presets/preset-gallery/index.md +++ b/docs/src/pages/presets/preset-gallery/index.md @@ -11,7 +11,11 @@ Storybook-maintained presets are available in the [Presets repo](https://github. ### [Typescript](https://github.com/storybookjs/presets/tree/master/packages/preset-typescript) -Write your stories in typescript with a single line of configuration. +One-line Typescript w/ docgen configuration for storybook. + +### [SCSS](https://github.com/storybookjs/presets/tree/master/packages/preset-scss) + +One-line SCSS configuration for storybook. ## Community presets From 57db3f2813d8bd480e4ebb577c4ff9213c439cd5 Mon Sep 17 00:00:00 2001 From: lonyele Date: Sat, 8 Jun 2019 21:12:31 +0900 Subject: [PATCH 040/371] Refactor for better exception handling. --- lib/theming/src/utils.ts | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/lib/theming/src/utils.ts b/lib/theming/src/utils.ts index d34a51b7a0d6..d816cf79db22 100644 --- a/lib/theming/src/utils.ts +++ b/lib/theming/src/utils.ts @@ -10,17 +10,30 @@ const isColorVarChangeable = (color: string) => { return !!color.match(/(gradient|var)/); }; -const colorFactory = (type: string) => (color: string) => { +const applyPolished = (type: string, color: string) => { if (type === 'darken') { - return isColorVarChangeable(color) ? color : rgba(`${darken(1, color)}`, 0.95); + return rgba(`${darken(1, color)}`, 0.95); } if (type === 'lighten') { - return isColorVarChangeable(color) ? color : rgba(`${lighten(1, color)}`, 0.95); + return rgba(`${lighten(1, color)}`, 0.95); } return color; }; +const colorFactory = (type: string) => (color: string) => { + if (isColorVarChangeable(color)) { + return color; + } + + // Guard anything that is not working with polished. + try { + return applyPolished(type, color); + } catch (error) { + return color; + } +}; + export const lightenColor = colorFactory('lighten'); export const darkenColor = colorFactory('darken'); From f9aee6fab8256a3fdba3e66c6a260a169b8f38df Mon Sep 17 00:00:00 2001 From: lonyele Date: Sat, 8 Jun 2019 21:15:22 +0900 Subject: [PATCH 041/371] Add validation of user input --- lib/theming/src/utils.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/lib/theming/src/utils.ts b/lib/theming/src/utils.ts index d816cf79db22..293842acefcd 100644 --- a/lib/theming/src/utils.ts +++ b/lib/theming/src/utils.ts @@ -1,7 +1,23 @@ import { rgba, lighten, darken } from 'polished'; +import { logger } from '@storybook/client-logger'; + export const mkColor = (color: string) => ({ color }); +// Check if it is a string. This is for the sake of warning users +// and the successive guarding logics that use String methods. +const isColorString = (color: string) => { + if (typeof color !== 'string') { + logger.warn( + `Color passed to theme object should be a string. Instead` + + `${color}(${typeof color}) was passed.` + ); + return false; + } + + return true; +}; + // Passing arguments that can't be converted to RGB such as linear-gradient // to library polished's functions such as lighten or darken throws the error // that crashes the entire storybook. It needs to be guarded when arguments @@ -23,6 +39,10 @@ const applyPolished = (type: string, color: string) => { }; const colorFactory = (type: string) => (color: string) => { + if (!isColorString(color)) { + return color; + } + if (isColorVarChangeable(color)) { return color; } From 9f196500f3f6306e8e7fecd40fa7de2d5fbf17dc Mon Sep 17 00:00:00 2001 From: lonyele Date: Sat, 8 Jun 2019 21:16:38 +0900 Subject: [PATCH 042/371] Add css calc to guarding logic --- lib/theming/src/utils.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/theming/src/utils.ts b/lib/theming/src/utils.ts index 293842acefcd..11024bbc9add 100644 --- a/lib/theming/src/utils.ts +++ b/lib/theming/src/utils.ts @@ -22,8 +22,8 @@ const isColorString = (color: string) => { // to library polished's functions such as lighten or darken throws the error // that crashes the entire storybook. It needs to be guarded when arguments // of those functions are from user input. -const isColorVarChangeable = (color: string) => { - return !!color.match(/(gradient|var)/); +const isValidColorForPolished = (color: string) => { + return /(gradient|var|calc)/.test(color); }; const applyPolished = (type: string, color: string) => { @@ -43,7 +43,7 @@ const colorFactory = (type: string) => (color: string) => { return color; } - if (isColorVarChangeable(color)) { + if (!isValidColorForPolished(color)) { return color; } From 76939ac3e2978bccb5f7f0f33435b8c90e61f75d Mon Sep 17 00:00:00 2001 From: lonyele Date: Sat, 8 Jun 2019 22:48:20 +0900 Subject: [PATCH 043/371] Add tests for guarding invalid args to polished and fix typo --- lib/theming/src/tests/util.test.js | 67 ++++++++++++++++++++++++++++++ lib/theming/src/utils.ts | 2 +- 2 files changed, 68 insertions(+), 1 deletion(-) create mode 100644 lib/theming/src/tests/util.test.js diff --git a/lib/theming/src/tests/util.test.js b/lib/theming/src/tests/util.test.js new file mode 100644 index 000000000000..1cbba95d65a6 --- /dev/null +++ b/lib/theming/src/tests/util.test.js @@ -0,0 +1,67 @@ +import { lightenColor as lighten, darkenColor as darken } from '../utils'; + +describe('utils', () => { + it('should guard non-string value is being passed to color of theme object', () => { + const result = () => { + return lighten(1234); + }; + + expect(result).toThrow(); + }); + + it('should guard anything that is not working with polished', () => { + const color = '1234'; + + const result = lighten(color); + + expect(result).toEqual(color); + }); + + it('should guard css variables is being passed to polished functions', () => { + const color = 'var(--my-var, blue)'; + + const result = lighten(color); + + expect(result).toEqual(color); + }); + + it('should guard css calc is being passed to polished functions', () => { + const color = 'rgb(calc(0 + 100), calc(0 + 100), calc(0 + 100))'; + + const result = lighten(color); + + expect(result).toEqual(color); + }); + + it('should guard linear-gradient is being passed to polished functions', () => { + const color = `linear-gradient(to bottom, white, blue)`; + + const result = lighten(color); + + expect(result).toEqual(color); + }); + + it('should guard radial-gradient is being passed to polished functions', () => { + const color = `radial-gradient(red, green, blue)`; + + const result = lighten(color); + + expect(result).toEqual(color); + }); + + it('should guard repeating-linear-gradient is being passed to polished functions', () => { + const color = `repeating-linear-gradient(red, yellow 10%, green 20%)`; + + const result = lighten(color); + + expect(result).toEqual(color); + }); + + it('should guard repeating-radial-gradient is being passed to polished functions', () => { + const color = `repeating-radial-gradient(red, yellow 10%, green 20%)`; + + const result = lighten(color); + + expect(result).toEqual(color); + }); +}); diff --git a/lib/theming/src/utils.ts b/lib/theming/src/utils.ts index 11024bbc9add..48e27411828d 100644 --- a/lib/theming/src/utils.ts +++ b/lib/theming/src/utils.ts @@ -9,7 +9,7 @@ export const mkColor = (color: string) => ({ color }); const isColorString = (color: string) => { if (typeof color !== 'string') { logger.warn( - `Color passed to theme object should be a string. Instead` + + `Color passed to theme object should be a string. Instead ` + `${color}(${typeof color}) was passed.` ); return false; From 1d28365a5acea02609ac6d197e3022717b6e29bf Mon Sep 17 00:00:00 2001 From: Matt Tingen Date: Sat, 8 Jun 2019 16:01:26 -0400 Subject: [PATCH 044/371] Improve actions type If they need to be expanded, the `ActionsFunction` overloads can be generated with the following code: ```js function buildActionsFactoryOverloads(numParams) { const overloads = []; for (let n = 0; n < numParams; n++) { const handlerParams = []; for (let i = 1; i <= n + 1; i++) { handlerParams.push(`handler${i}: T`); } overloads.push( `(${handlerParams.join( ', ', )}, options?: ActionOptions): ActionsMap;`, ); } return overloads.join('\n'); } console.log(buildActionsFactoryOverloads(10)); ``` --- addons/actions/src/models/ActionsFunction.ts | 85 ++++++++++++++++++++ addons/actions/src/models/ActionsMap.ts | 4 +- addons/actions/src/models/index.ts | 1 + addons/actions/src/preview/actions.ts | 6 +- 4 files changed, 90 insertions(+), 6 deletions(-) create mode 100644 addons/actions/src/models/ActionsFunction.ts diff --git a/addons/actions/src/models/ActionsFunction.ts b/addons/actions/src/models/ActionsFunction.ts new file mode 100644 index 000000000000..6a096f97fee9 --- /dev/null +++ b/addons/actions/src/models/ActionsFunction.ts @@ -0,0 +1,85 @@ +import { ActionOptions } from './ActionOptions'; +import { ActionsMap } from './ActionsMap'; +import { HandlerFunction } from './HandlerFunction'; + +export interface ActionsFunction { + (handlerMap: Record, options?: ActionOptions): ActionsMap; + (...handlers: T[]): ActionsMap; + + (handler1: T, options?: ActionOptions): ActionsMap; + (handler1: T, handler2: T, options?: ActionOptions): ActionsMap; + (handler1: T, handler2: T, handler3: T, options?: ActionOptions): Record< + T, + HandlerFunction + >; + ( + handler1: T, + handler2: T, + handler3: T, + handler4: T, + options?: ActionOptions + ): ActionsMap; + ( + handler1: T, + handler2: T, + handler3: T, + handler4: T, + handler5: T, + options?: ActionOptions + ): ActionsMap; + ( + handler1: T, + handler2: T, + handler3: T, + handler4: T, + handler5: T, + handler6: T, + options?: ActionOptions + ): ActionsMap; + ( + handler1: T, + handler2: T, + handler3: T, + handler4: T, + handler5: T, + handler6: T, + handler7: T, + options?: ActionOptions + ): ActionsMap; + ( + handler1: T, + handler2: T, + handler3: T, + handler4: T, + handler5: T, + handler6: T, + handler7: T, + handler8: T, + options?: ActionOptions + ): ActionsMap; + ( + handler1: T, + handler2: T, + handler3: T, + handler4: T, + handler5: T, + handler6: T, + handler7: T, + handler8: T, + handler9: T, + options?: ActionOptions + ): ActionsMap; + ( + handler1: T, + handler2: T, + handler3: T, + handler4: T, + handler5: T, + handler6: T, + handler7: T, + handler8: T, + handler9: T, + handler10: T, + options?: ActionOptions + ): ActionsMap; +} diff --git a/addons/actions/src/models/ActionsMap.ts b/addons/actions/src/models/ActionsMap.ts index d7d1b6f05a37..7dde0c7c0ddd 100644 --- a/addons/actions/src/models/ActionsMap.ts +++ b/addons/actions/src/models/ActionsMap.ts @@ -1,5 +1,3 @@ import { HandlerFunction } from './HandlerFunction'; -export interface ActionsMap { - [key: string]: HandlerFunction; -} +export type ActionsMap = Record; diff --git a/addons/actions/src/models/index.ts b/addons/actions/src/models/index.ts index eb72774241b1..d8c7de6271d0 100644 --- a/addons/actions/src/models/index.ts +++ b/addons/actions/src/models/index.ts @@ -1,4 +1,5 @@ export * from './ActionDisplay'; +export * from './ActionsFunction'; export * from './ActionOptions'; export * from './ActionsMap'; export * from './DecoratorFunction'; diff --git a/addons/actions/src/preview/actions.ts b/addons/actions/src/preview/actions.ts index 416440a66cee..41c6d077a6a4 100644 --- a/addons/actions/src/preview/actions.ts +++ b/addons/actions/src/preview/actions.ts @@ -1,8 +1,8 @@ import { action } from './action'; -import { ActionOptions, ActionsMap } from '../models'; +import { ActionsFunction, ActionOptions, ActionsMap } from '../models'; import { config } from './configureActions'; -export function actions(...args: any[]): ActionsMap { +export const actions: ActionsFunction = (...args: any[]) => { let options: ActionOptions = config; const names = args; // last argument can be options @@ -26,4 +26,4 @@ export function actions(...args: any[]): ActionsMap { actionsObject[name] = action(namesObject[name], options); }); return actionsObject; -} +}; From 52035b9b72484e3cf997682c8dfb9f72284f59d7 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" Date: Tue, 11 Jun 2019 07:09:30 +0000 Subject: [PATCH 045/371] Bump fuse.js from 3.4.4 to 3.4.5 Bumps [fuse.js](https://github.com/krisk/Fuse) from 3.4.4 to 3.4.5. - [Release notes](https://github.com/krisk/Fuse/releases) - [Changelog](https://github.com/krisk/Fuse/blob/master/CHANGELOG.md) - [Commits](https://github.com/krisk/Fuse/compare/v3.4.4...v3.4.5) Signed-off-by: dependabot-preview[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 3de24a16bfd6..a130d09aec30 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12870,9 +12870,9 @@ functional-red-black-tree@^1.0.1: integrity sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc= fuse.js@^3.4.4: - version "3.4.4" - resolved "https://registry.yarnpkg.com/fuse.js/-/fuse.js-3.4.4.tgz#f98f55fcb3b595cf6a3e629c5ffaf10982103e95" - integrity sha512-pyLQo/1oR5Ywf+a/tY8z4JygnIglmRxVUOiyFAbd11o9keUDpUJSMGRWJngcnkURj30kDHPmhoKY8ChJiz3EpQ== + version "3.4.5" + resolved "https://registry.yarnpkg.com/fuse.js/-/fuse.js-3.4.5.tgz#8954fb43f9729bd5dbcb8c08f251db552595a7a6" + integrity sha512-s9PGTaQIkT69HaeoTVjwGsLfb8V8ScJLx5XGFcKHg0MqLUH/UZ4EKOtqtXX9k7AFqCGxD1aJmYb8Q5VYDibVRQ== g-status@^2.0.2: version "2.0.2" From d15de971bb69035a8885203e0293a523af06c310 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" Date: Tue, 11 Jun 2019 07:15:23 +0000 Subject: [PATCH 046/371] Bump enzyme from 3.9.0 to 3.10.0 Bumps [enzyme](https://github.com/airbnb/enzyme/tree/HEAD/packages/enzyme) from 3.9.0 to 3.10.0. - [Release notes](https://github.com/airbnb/enzyme/releases) - [Changelog](https://github.com/airbnb/enzyme/blob/master/CHANGELOG.md) - [Commits](https://github.com/airbnb/enzyme/commits/enzyme@3.10.0/packages/enzyme) Signed-off-by: dependabot-preview[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 3de24a16bfd6..8a77490ed3ce 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10718,9 +10718,9 @@ enzyme-to-json@^3.3.0, enzyme-to-json@^3.3.5: lodash "^4.17.4" enzyme@^3.9.0: - version "3.9.0" - resolved "https://registry.yarnpkg.com/enzyme/-/enzyme-3.9.0.tgz#2b491f06ca966eb56b6510068c7894a7e0be3909" - integrity sha512-JqxI2BRFHbmiP7/UFqvsjxTirWoM1HfeaJrmVSZ9a1EADKkZgdPcAuISPMpoUiHlac9J4dYt81MC5BBIrbJGMg== + version "3.10.0" + resolved "https://registry.yarnpkg.com/enzyme/-/enzyme-3.10.0.tgz#7218e347c4a7746e133f8e964aada4a3523452f6" + integrity sha512-p2yy9Y7t/PFbPoTvrWde7JIYB2ZyGC+NgTNbVEGvZ5/EyoYSr9aG/2rSbVvyNvMHEhw9/dmGUJHWtfQIEiX9pg== dependencies: array.prototype.flat "^1.2.1" cheerio "^1.0.0-rc.2" From 618e4d6e517f7118557b0dd385fde7bda219466e Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 11 Jun 2019 18:47:11 +0200 Subject: [PATCH 047/371] ADD addon/queryparams --- addons/queryparams/README.md | 32 ++++++++++++++ addons/queryparams/package.json | 44 +++++++++++++++++++ addons/queryparams/src/constants.ts | 3 ++ addons/queryparams/src/index.ts | 32 ++++++++++++++ addons/queryparams/src/typings.d.ts | 2 + addons/queryparams/tsconfig.json | 13 ++++++ examples/official-storybook/package.json | 1 + .../stories/addon-queryparams.stories.js | 22 ++++++++++ 8 files changed, 149 insertions(+) create mode 100644 addons/queryparams/README.md create mode 100644 addons/queryparams/package.json create mode 100755 addons/queryparams/src/constants.ts create mode 100644 addons/queryparams/src/index.ts create mode 100644 addons/queryparams/src/typings.d.ts create mode 100644 addons/queryparams/tsconfig.json create mode 100644 examples/official-storybook/stories/addon-queryparams.stories.js diff --git a/addons/queryparams/README.md b/addons/queryparams/README.md new file mode 100644 index 000000000000..8f3402004371 --- /dev/null +++ b/addons/queryparams/README.md @@ -0,0 +1,32 @@ +# storybook-addon-queryparams + +This storybook addon can be helpful if your components need special query parameters to work the way you want them. + +## Getting started + +First, install the addon. + +```sh +$ yarn add @storybook/addon-queryparams --dev +``` + +import the `withQuery` decorator so the url will be changed before rendering stories. + +```js +import React from 'react'; +import { storiesOf, addDecorator } from '@storybook/react'; +import { withQuery } from '@storybook/addon-queryparams'; + +storiesOf('button', module) + .addDecorator(withQuery) + .addParameters({ + query: { + mock: true, + } + }) + .add('Prints the document.search', () => ( +
+ This is the current document.search: {document.search}, it includes `mock`! +
+ )); +``` diff --git a/addons/queryparams/package.json b/addons/queryparams/package.json new file mode 100644 index 000000000000..1434411e8686 --- /dev/null +++ b/addons/queryparams/package.json @@ -0,0 +1,44 @@ +{ + "name": "@storybook/addon-queryparams", + "version": "5.1.1", + "description": "parameter addon for storybook", + "keywords": [ + "addon", + "storybook", + "query" + ], + "homepage": "https://github.com/storybooks/storybook#readme", + "bugs": { + "url": "https://github.com/storybooks/storybook/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/storybooks/storybook.git", + "directory": "addons/addon-queryparams" + }, + "license": "MIT", + "main": "dist/index.js", + "types": "dist/index.d.ts", + "scripts": { + "prepare": "node ../../scripts/prepare.js" + }, + "dependencies": { + "@storybook/addons": "5.1.1", + "@storybook/api": "5.1.1", + "@storybook/client-logger": "5.1.1", + "@storybook/components": "5.1.1", + "@storybook/core-events": "5.1.1", + "@storybook/theming": "5.1.1", + "common-tags": "^1.8.0", + "core-js": "^2.6.5", + "global": "^4.3.2", + "qs": "^6.6.0", + "react": "^16.8.3" + }, + "devDependencies": { + "@types/common-tags": "^1.8.0" + }, + "publishConfig": { + "access": "public" + } +} diff --git a/addons/queryparams/src/constants.ts b/addons/queryparams/src/constants.ts new file mode 100755 index 000000000000..d8fc643d74ba --- /dev/null +++ b/addons/queryparams/src/constants.ts @@ -0,0 +1,3 @@ +export const ADDON_ID = 'storybook/queryparams'; +export const PANEL_ID = `${ADDON_ID}/panel`; +export const PARAM_KEY = `query`; diff --git a/addons/queryparams/src/index.ts b/addons/queryparams/src/index.ts new file mode 100644 index 000000000000..10ea12c0e31d --- /dev/null +++ b/addons/queryparams/src/index.ts @@ -0,0 +1,32 @@ +import { document, history } from 'global'; +import qs from 'qs'; + +import { makeDecorator, StoryContext, StoryGetter } from '@storybook/addons'; + +import { PARAM_KEY } from './constants'; + +export const withQuery = makeDecorator({ + name: 'withQuery', + parameterName: PARAM_KEY, + wrapper: (getStory: StoryGetter, context: StoryContext, { parameters }) => { + const { location } = document; + const currentQuery = qs.parse(location.search, { ignoreQueryPrefix: true }); + const additionalQuery = + typeof parameters === 'string' + ? qs.parse(parameters, { ignoreQueryPrefix: true }) + : parameters; + + const newQuery = qs.stringify(Object.assign({}, currentQuery, additionalQuery)); + const newLocation = location.href.replace(location.search, `?${newQuery}`); + + console.log({ newLocation }); + + history.replaceState({}, document.title, newLocation); + + return getStory(context); + }, +}); + +if (module && module.hot && module.hot.decline) { + module.hot.decline(); +} diff --git a/addons/queryparams/src/typings.d.ts b/addons/queryparams/src/typings.d.ts new file mode 100644 index 000000000000..e2d982c525cd --- /dev/null +++ b/addons/queryparams/src/typings.d.ts @@ -0,0 +1,2 @@ +declare module 'global'; +declare module 'react-sizeme'; diff --git a/addons/queryparams/tsconfig.json b/addons/queryparams/tsconfig.json new file mode 100644 index 000000000000..8876bb6737a1 --- /dev/null +++ b/addons/queryparams/tsconfig.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "rootDir": "./src", + "types": ["webpack-env"] + }, + "include": [ + "src/**/*" + ], + "exclude": [ + "src/__tests__/**/*" + ] +} diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json index 8c2547b5abe0..2389259cb2cb 100644 --- a/examples/official-storybook/package.json +++ b/examples/official-storybook/package.json @@ -28,6 +28,7 @@ "@storybook/addon-links": "5.1.1", "@storybook/addon-notes": "5.1.1", "@storybook/addon-options": "5.1.1", + "@storybook/addon-queryparams": "5.1.1", "@storybook/addon-storyshots": "5.1.1", "@storybook/addon-storyshots-puppeteer": "5.1.1", "@storybook/addon-storysource": "5.1.1", diff --git a/examples/official-storybook/stories/addon-queryparams.stories.js b/examples/official-storybook/stories/addon-queryparams.stories.js new file mode 100644 index 000000000000..7c32fca677e3 --- /dev/null +++ b/examples/official-storybook/stories/addon-queryparams.stories.js @@ -0,0 +1,22 @@ +import { document } from 'global'; +import React from 'react'; +import { storiesOf } from '@storybook/react'; +import { withQuery } from '@storybook/addon-queryparams'; + +// debugger; + +storiesOf('Addons|QueryParams', module) + .addDecorator(withQuery) + .addParameters({ + query: { + mock: true, + }, + }) + .add('mock is true', () => ( +
This story should have an extra url query param: {document.location.search}
+ )) + .add( + 'mock is 4', + () =>
This story should have an extra url query param: {document.location.search}
, + { query: { mock: 4 } } + ); From 8926239fb2f89f5ce6f85092aca7946ee8b973c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20R=C3=B6der?= Date: Tue, 11 Jun 2019 22:19:13 +0200 Subject: [PATCH 048/371] Migrate app-react to typescript cra-config.test.ts needs to be fixed next --- app/react/package.json | 8 +++- app/react/src/client/{index.js => index.ts} | 0 ...t_check.test.js => element_check.test.tsx} | 4 +- .../{element_check.js => element_check.ts} | 6 +-- .../client/preview/{globals.js => globals.ts} | 0 .../preview/{index.test.js => index.test.ts} | 14 +++--- .../src/client/preview/{index.js => index.ts} | 0 .../client/preview/{render.js => render.tsx} | 5 ++- app/react/src/client/preview/types.ts | 15 +++++++ app/react/src/demo/{Button.js => Button.tsx} | 8 +++- .../src/demo/{Welcome.js => Welcome.tsx} | 43 ++++++++++++++++--- .../{mockConfig.js => mockConfig.ts} | 0 .../__mocks__/{mockRules.js => mockRules.ts} | 0 app/react/src/server/{build.js => build.ts} | 0 ...{cra-config.test.js => cra-config.test.ts} | 6 ++- .../server/{cra-config.js => cra-config.ts} | 17 ++++---- ...-preset-cra.js => framework-preset-cra.ts} | 7 +-- ... => framework-preset-react-docgen.test.ts} | 5 ++- ...en.js => framework-preset-react-docgen.ts} | 4 +- ...set-react.js => framework-preset-react.ts} | 4 +- app/react/src/server/{index.js => index.ts} | 0 .../src/server/{options.js => options.ts} | 0 app/react/src/typings.d.ts | 4 ++ app/react/tsconfig.json | 14 ++++++ yarn.lock | 14 +++++- 25 files changed, 140 insertions(+), 38 deletions(-) rename app/react/src/client/{index.js => index.ts} (100%) rename app/react/src/client/preview/{element_check.test.js => element_check.test.tsx} (97%) rename app/react/src/client/preview/{element_check.js => element_check.ts} (86%) rename app/react/src/client/preview/{globals.js => globals.ts} (100%) rename app/react/src/client/preview/{index.test.js => index.test.ts} (73%) rename app/react/src/client/preview/{index.js => index.ts} (100%) rename app/react/src/client/preview/{render.js => render.tsx} (93%) create mode 100644 app/react/src/client/preview/types.ts rename app/react/src/demo/{Button.js => Button.tsx} (78%) rename app/react/src/demo/{Welcome.js => Welcome.tsx} (74%) rename app/react/src/server/__mocks__/{mockConfig.js => mockConfig.ts} (100%) rename app/react/src/server/__mocks__/{mockRules.js => mockRules.ts} (100%) rename app/react/src/server/{build.js => build.ts} (100%) mode change 100755 => 100644 rename app/react/src/server/{cra-config.test.js => cra-config.test.ts} (95%) rename app/react/src/server/{cra-config.js => cra-config.ts} (90%) rename app/react/src/server/{framework-preset-cra.js => framework-preset-cra.ts} (81%) rename app/react/src/server/{framework-preset-react-docgen.test.js => framework-preset-react-docgen.test.ts} (93%) rename app/react/src/server/{framework-preset-react-docgen.js => framework-preset-react-docgen.ts} (84%) rename app/react/src/server/{framework-preset-react.js => framework-preset-react.ts} (77%) rename app/react/src/server/{index.js => index.ts} (100%) mode change 100755 => 100644 rename app/react/src/server/{options.js => options.ts} (100%) create mode 100644 app/react/src/typings.d.ts create mode 100644 app/react/tsconfig.json diff --git a/app/react/package.json b/app/react/package.json index 0b981f6cafab..0cd149f01b34 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -16,7 +16,7 @@ }, "license": "MIT", "main": "dist/client/index.js", - "jsnext:main": "src/client/index.js", + "types": "dist/public_api.d.ts", "bin": { "build-storybook": "./bin/build.js", "start-storybook": "./bin/index.js", @@ -48,9 +48,15 @@ }, "peerDependencies": { "babel-loader": "^7.0.0 || ^8.0.0", + "@babel/core": "^7.0.1", "react": "*", "react-dom": "*" }, + "devDependencies": { + "@types/mini-css-extract-plugin": "^0.2.1", + "@types/node": "^12.0.8", + "@types/webpack": "^4.4.32" + }, "engines": { "node": ">=8.0.0" }, diff --git a/app/react/src/client/index.js b/app/react/src/client/index.ts similarity index 100% rename from app/react/src/client/index.js rename to app/react/src/client/index.ts diff --git a/app/react/src/client/preview/element_check.test.js b/app/react/src/client/preview/element_check.test.tsx similarity index 97% rename from app/react/src/client/preview/element_check.test.js rename to app/react/src/client/preview/element_check.test.tsx index 293446612a64..862eee2a548e 100644 --- a/app/react/src/client/preview/element_check.test.js +++ b/app/react/src/client/preview/element_check.test.tsx @@ -60,10 +60,11 @@ describe('element_check.isReactRenderable', () => { const number = 1337; const element = what's up; const array = [string, number, element]; - const object = { key: null }; + const object = { key: null } as any; it('allows rendering React elements only prior to React Fiber', () => { // mutate version for the purpose of the test + // @ts-ignore React.version = '15.5.4'; expect(isReactRenderable(string)).toBe(false); @@ -75,6 +76,7 @@ describe('element_check.isReactRenderable', () => { it('allows rendering string, numbers, arrays and React elements with React Fiber', () => { // mutate version for the purpose of the test + // @ts-ignore React.version = '16.0.0-alpha.13'; expect(isReactRenderable(string)).toBe(true); diff --git a/app/react/src/client/preview/element_check.js b/app/react/src/client/preview/element_check.ts similarity index 86% rename from app/react/src/client/preview/element_check.js rename to app/react/src/client/preview/element_check.ts index 185281bb3b36..42f6b551c453 100644 --- a/app/react/src/client/preview/element_check.js +++ b/app/react/src/client/preview/element_check.ts @@ -2,17 +2,17 @@ import React from 'react'; import flattenDeep from 'lodash/flattenDeep'; // return true if the element is renderable with react fiber -export const isValidFiberElement = element => +export const isValidFiberElement = (element: React.ReactElement) => typeof element === 'string' || typeof element === 'number' || React.isValidElement(element); -export const isPriorToFiber = version => { +export const isPriorToFiber = (version: string) => { const [majorVersion] = version.split('.'); return Number(majorVersion) < 16; }; // accepts an element and return true if renderable else return false -const isReactRenderable = element => { +const isReactRenderable = (element: React.ReactElement): boolean => { // storybook is running with a version prior to fiber, // run a simple check on the element if (isPriorToFiber(React.version)) { diff --git a/app/react/src/client/preview/globals.js b/app/react/src/client/preview/globals.ts similarity index 100% rename from app/react/src/client/preview/globals.js rename to app/react/src/client/preview/globals.ts diff --git a/app/react/src/client/preview/index.test.js b/app/react/src/client/preview/index.test.ts similarity index 73% rename from app/react/src/client/preview/index.test.js rename to app/react/src/client/preview/index.test.ts index cba87bb5e2d4..bd25fc3ca828 100644 --- a/app/react/src/client/preview/index.test.js +++ b/app/react/src/client/preview/index.test.ts @@ -4,7 +4,7 @@ describe('preview', () => { jest.resetModules(); }); - const isFunction = value => typeof value === 'function'; + const isFunction = (value: unknown) => typeof value === 'function'; it('should return the client api in a browser environment', () => { const api = require('.'); @@ -13,10 +13,14 @@ describe('preview', () => { }); it('should return the client api in a node.js environment', () => { - jest.mock('global', () => ({ - document: undefined, - window: undefined, - })); + jest.mock( + 'global', + () => + ({ + document: undefined, + window: undefined, + } as any) + ); const api = require('.'); expect(Object.keys(api).length).toBeGreaterThan(0); expect(Object.values(api).every(isFunction)).toEqual(true); diff --git a/app/react/src/client/preview/index.js b/app/react/src/client/preview/index.ts similarity index 100% rename from app/react/src/client/preview/index.js rename to app/react/src/client/preview/index.ts diff --git a/app/react/src/client/preview/render.js b/app/react/src/client/preview/render.tsx similarity index 93% rename from app/react/src/client/preview/render.js rename to app/react/src/client/preview/render.tsx index bf5fe9c139a2..373edb0706d7 100644 --- a/app/react/src/client/preview/render.js +++ b/app/react/src/client/preview/render.tsx @@ -3,10 +3,11 @@ import React from 'react'; import ReactDOM from 'react-dom'; import { stripIndents } from 'common-tags'; import isReactRenderable from './element_check'; +import { RenderMainArgs } from './types'; const rootEl = document ? document.getElementById('root') : null; -function render(node, el) { +function render(node: React.ReactElement, el: Element) { ReactDOM.render( process.env.STORYBOOK_EXAMPLE_APP ? {node} : node, el @@ -20,7 +21,7 @@ export default function renderMain({ showMain, showError, forceRender, -}) { +}: RenderMainArgs) { const element = storyFn(); if (!element) { diff --git a/app/react/src/client/preview/types.ts b/app/react/src/client/preview/types.ts new file mode 100644 index 000000000000..11d992f8d13d --- /dev/null +++ b/app/react/src/client/preview/types.ts @@ -0,0 +1,15 @@ +import React from 'react'; + +export interface ShowErrorArgs { + title: string; + description: string; +} + +export interface RenderMainArgs { + storyFn: () => React.ReactElement | undefined; + selectedKind: string; + selectedStory: string; + showMain: () => void; + showError: (args: ShowErrorArgs) => void; + forceRender: boolean; +} diff --git a/app/react/src/demo/Button.js b/app/react/src/demo/Button.tsx similarity index 78% rename from app/react/src/demo/Button.js rename to app/react/src/demo/Button.tsx index 901d0e8aa7ee..33811af2d287 100644 --- a/app/react/src/demo/Button.js +++ b/app/react/src/demo/Button.tsx @@ -11,7 +11,13 @@ const styles = { margin: 10, }; -const Button = ({ children, onClick }) => ( +const Button = ({ + children, + onClick, +}: { + children: React.ReactChildren; + onClick: (event: React.MouseEvent) => void; +}) => ( diff --git a/app/react/src/demo/Welcome.js b/app/react/src/demo/Welcome.tsx similarity index 74% rename from app/react/src/demo/Welcome.js rename to app/react/src/demo/Welcome.tsx index 0c5a4cafaf5f..78c87898d66f 100644 --- a/app/react/src/demo/Welcome.js +++ b/app/react/src/demo/Welcome.tsx @@ -1,7 +1,7 @@ import React from 'react'; import PropTypes from 'prop-types'; -const Main = props => ( +const Main = (props?: React.DetailedHTMLProps, HTMLElement>) => (
( /> ); -const Title = ({ children, ...props }) =>

{children}

; +const Title = ({ + children, + ...props +}: { + children: string; + props?: React.DetailedHTMLProps, HTMLHeadingElement>; +}) =>

{children}

; Title.propTypes = { children: PropTypes.node, }; @@ -21,7 +27,9 @@ Title.defaultProps = { children: undefined, }; -const Note = props => ( +const Note = ( + props?: React.DetailedHTMLProps, HTMLParagraphElement> +) => (

( /> ); -const InlineCode = props => ( +const InlineCode = ( + props?: React.DetailedHTMLProps, HTMLElement> +) => ( ( /> ); -const Link = ({ children, href, ...props }) => ( +const Link = ({ + children, + href, + target, + ...props +}: { + children: string; + href: string; + target: string; + rel: string; + props?: React.DetailedHTMLProps, HTMLAnchorElement>; +}) => ( ( +const NavButton = ({ + children, + onClick, + ...props +}: { + children: string; + onClick: (event: React.MouseEvent) => void; + props?: React.DetailedHTMLProps, HTMLButtonElement>; +}) => ( + ), + { notes: { disabled: true } } +); +``` + ## Global Configuration Sometimes you might want to configure an addon globally, as in the case of collocating stories with components, or just simply to keep your stories file cleaner. To do that, you can add your decorators to a config file, typically in `.storybook/config.js`. Here's an example of how you might do that. diff --git a/docs/src/pages/addons/writing-addons/index.md b/docs/src/pages/addons/writing-addons/index.md index eaa34bd36626..e634cd224023 100644 --- a/docs/src/pages/addons/writing-addons/index.md +++ b/docs/src/pages/addons/writing-addons/index.md @@ -110,6 +110,7 @@ addons.register(ADDON_ID, api => { type: types.PANEL, title, render, + paramKey: PARAM_KEY, }); }); ``` @@ -259,6 +260,34 @@ storiesOf('Button', module) }); ``` +### Disabling an addon panel + +It's possible to disable an addon panel for a particular story. + +To offer that capability, you need to pass the paramKey when you register the panel +```js +addons.register(ADDON_ID, () => { + addons.add(PANEL_ID, { + type: types.PANEL, + title: 'My Addon', + render: () =>

, + paramKey: 'myAddon', + }); +}); +``` + +While adding a story, you can then pass a `disabled` parameter. + +```js +storiesOf('Button', module) + .add('with text', () => , { + myAddon: { + disabled: true, + }, + }); +``` + + ## Styling your addon We use [emotion](https://emotion.sh) for styling, AND we provide a theme which can be set by the user! diff --git a/lib/addons/src/index.ts b/lib/addons/src/index.ts index 14f077b686da..4e593d6e8c3e 100644 --- a/lib/addons/src/index.ts +++ b/lib/addons/src/index.ts @@ -24,7 +24,6 @@ export interface Addon { route?: (routeOptions: RouteOptions) => string; match?: (matchOptions: MatchOptions) => boolean; render: (renderOptions: RenderOptions) => ReactElement; - paramKey?: string; } export type Loader = (api: API) => void; diff --git a/lib/api/src/modules/addons.ts b/lib/api/src/modules/addons.ts index d3ef5704a002..67e06a9ce14a 100644 --- a/lib/api/src/modules/addons.ts +++ b/lib/api/src/modules/addons.ts @@ -29,6 +29,7 @@ export interface Addon { route?: (routeOptions: RouteOptions) => string; match?: (matchOptions: MatchOptions) => boolean; render: (renderOptions: RenderOptions) => ReactElement; + paramKey: string; } export interface Collection { [key: string]: Addon; @@ -41,10 +42,15 @@ interface Panels { export interface SubAPI { getElements: (type: Types) => Collection; getPanels: () => Collection; + getPanelsForStory: (storyParameters: StoryParameters) => Collection; getSelectedPanel: () => string; setSelectedPanel: (panelName: string) => void; } +interface StoryParameters { + [key: string]: any; +} + export function ensurePanel(panels: Panels, selectedPanel?: string, currentPanel?: string) { const keys = Object.keys(panels); @@ -62,6 +68,23 @@ export default ({ provider, store }: Module) => { const api: SubAPI = { getElements: type => provider.getElements(type), getPanels: () => api.getElements(types.PANEL), + getPanelsForStory: (storyParameters: StoryParameters) => { + const panels = api.getPanels(); + if (!panels || !storyParameters) { + return panels; + } + + const filteredPanels: Collection = {}; + Object.entries(panels).forEach(([id, panel]) => { + const { paramKey } = panel; + if (paramKey && storyParameters[paramKey] && storyParameters[paramKey].disabled) { + return; + } + filteredPanels[id] = panel; + }); + + return filteredPanels; + }, getSelectedPanel: () => { const { selectedPanel } = store.getState(); return ensurePanel(api.getPanels(), selectedPanel, selectedPanel); diff --git a/lib/api/src/tests/addons.test.js b/lib/api/src/tests/addons.test.js new file mode 100644 index 000000000000..0053f44471f4 --- /dev/null +++ b/lib/api/src/tests/addons.test.js @@ -0,0 +1,147 @@ +import initAddons, { types } from '../modules/addons'; + +const PANELS = { + a11y: { + title: 'Accessibility', + paramKey: 'a11y', + }, + actions: { + title: 'Actions', + paramKey: 'actions', + }, + knobs: { + title: 'Knobs', + paramKey: 'knobs', + }, +}; + +const provider = { + getElements(type) { + if (type === types.PANEL) { + return PANELS; + } + return null; + }, +}; + +const store = { + getState: () => ({ + selectedPanel: '', + }), + setState: jest.fn(), +}; + +describe('Addons API', () => { + describe('#getElements', () => { + it('should return provider elements', () => { + // given + const { api } = initAddons({ provider, store }); + + // when + const panels = api.getElements(types.PANEL); + + // then + expect(panels).toBe(PANELS); + }); + }); + + describe('#getPanels', () => { + it('should return provider panels', () => { + // given + const { api } = initAddons({ provider, store }); + + // when + const panels = api.getPanels(); + + // then + expect(panels).toBe(PANELS); + }); + }); + + describe('#getPanelsForStory', () => { + it('should return all panels by default', () => { + // given + const { api } = initAddons({ provider, store }); + + // when + const filteredPanels = api.getPanelsForStory(); + + // then + expect(filteredPanels).toBe(PANELS); + }); + + it('should filter disabled addons', () => { + // given + const { api } = initAddons({ provider, store }); + const storyParameters = { + a11y: { disabled: true }, + }; + + // when + const filteredPanels = api.getPanelsForStory(storyParameters); + + // then + expect(filteredPanels).toEqual({ + actions: PANELS.actions, + knobs: PANELS.knobs, + }); + }); + }); + + describe('#getSelectedPanel', () => { + it('should return provider panels', () => { + // given + const storeWithSelectedPanel = { + getState: () => ({ + selectedPanel: 'actions', + }), + setState: jest.fn(), + }; + const { api } = initAddons({ provider, store: storeWithSelectedPanel }); + + // when + const selectedPanel = api.getSelectedPanel(); + + // then + expect(selectedPanel).toBe('actions'); + }); + + it('should return first panel when selected is not a panel', () => { + // given + const storeWithSelectedPanel = { + getState: () => ({ + selectedPanel: 'unknown', + }), + setState: jest.fn(), + }; + const { api } = initAddons({ provider, store: storeWithSelectedPanel }); + + // when + const selectedPanel = api.getSelectedPanel(); + + // then + expect(selectedPanel).toBe('a11y'); + }); + }); + + describe('#setSelectedPanel', () => { + it('should set value inn store', () => { + // given + const setState = jest.fn(); + const storeWithSelectedPanel = { + getState: () => ({ + selectedPanel: 'actions', + }), + setState, + }; + const { api } = initAddons({ provider, store: storeWithSelectedPanel }); + expect(setState).not.toHaveBeenCalled(); + + // when + api.setSelectedPanel('knobs'); + + // then + expect(setState).toHaveBeenCalledWith({ selectedPanel: 'knobs' }, { persistence: 'session' }); + }); + }); +}); diff --git a/lib/ui/src/containers/panel.js b/lib/ui/src/containers/panel.js index 2c8e60bfa041..6e6a5ceaafb7 100644 --- a/lib/ui/src/containers/panel.js +++ b/lib/ui/src/containers/panel.js @@ -10,25 +10,8 @@ const createPanelActions = memoize(1)(api => ({ togglePosition: () => api.togglePanelPosition(), })); -const filterPanel = (panels, storyParameters) => { - if (!panels || !storyParameters) { - return panels; - } - - const filteredPanels = {}; - Object.entries(panels).forEach(([id, panel]) => { - const { paramKey } = panel; - const panelParameters = paramKey && storyParameters[paramKey]; - if (!panelParameters || !panelParameters.disabled) { - filteredPanels[id] = panel; - } - }); - - return filteredPanels; -}; - const mapper = ({ state, api }) => ({ - panels: filterPanel(api.getPanels(), api.getParameters(state.storyId)), + panels: api.getPanelsForStory(api.getParameters(state.storyId)), selectedPanel: api.getSelectedPanel(), panelPosition: state.layout.panelPosition, actions: createPanelActions(api), diff --git a/lib/ui/src/containers/panel.stories.js b/lib/ui/src/containers/panel.stories.js new file mode 100644 index 000000000000..f920d6639ffb --- /dev/null +++ b/lib/ui/src/containers/panel.stories.js @@ -0,0 +1,22 @@ +import React from 'react'; +import { storiesOf } from '@storybook/react'; + +storiesOf('UI|Addon Panel', module) + .add('default', () =>
By default all addon panels are rendered
) + .add( + 'disable panel', + () => ( +
+ This story disables Actions and Accessibility panels +
+          {`storiesOf('UI|Addon Panel', module)
+  .add(
+    'my story',
+    ,
+    { a11y: { disable: true }, actions: { disable: true } }
+  );`}
+        
+
+ ), + { a11y: { disabled: true }, actions: { disabled: true } } + ); From 79e58491feacb35e313e904a8bc5d0af514f6253 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Wed, 12 Jun 2019 00:43:18 +0200 Subject: [PATCH 050/371] CLEANUP && FIX snapshots --- addons/queryparams/src/index.ts | 2 -- .../addon-queryparams.stories.storyshot | 13 +++++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 examples/official-storybook/stories/__snapshots__/addon-queryparams.stories.storyshot diff --git a/addons/queryparams/src/index.ts b/addons/queryparams/src/index.ts index 10ea12c0e31d..bdcc88545692 100644 --- a/addons/queryparams/src/index.ts +++ b/addons/queryparams/src/index.ts @@ -19,8 +19,6 @@ export const withQuery = makeDecorator({ const newQuery = qs.stringify(Object.assign({}, currentQuery, additionalQuery)); const newLocation = location.href.replace(location.search, `?${newQuery}`); - console.log({ newLocation }); - history.replaceState({}, document.title, newLocation); return getStory(context); diff --git a/examples/official-storybook/stories/__snapshots__/addon-queryparams.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-queryparams.stories.storyshot new file mode 100644 index 000000000000..954331075904 --- /dev/null +++ b/examples/official-storybook/stories/__snapshots__/addon-queryparams.stories.storyshot @@ -0,0 +1,13 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Storyshots Addons|QueryParams mock is 4 1`] = ` +
+ This story should have an extra url query param: ?mock=4 +
+`; + +exports[`Storyshots Addons|QueryParams mock is true 1`] = ` +
+ This story should have an extra url query param: ?mock=truehttp://localhost/ +
+`; From 70f932f150f07dda87809767e83c84d653738527 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Wed, 12 Jun 2019 01:34:38 +0200 Subject: [PATCH 051/371] FIX syntax highlighter plain text not visible --- .../tests/__snapshots__/storyshots.test.js.snap | 8 ++++---- lib/components/src/typography/DocumentFormatting.tsx | 2 +- lib/ui/src/settings/__snapshots__/about.stories.storyshot | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap index 37d15cd0840d..913118b84dc5 100644 --- a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap +++ b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap @@ -337,7 +337,7 @@ exports[`Storyshots Basics|DocumentFormatting withDOM 1`] = ` padding: 15px; margin: 0; white-space: pre-wrap; - color: #333333; + color: inherit; font-size: 13px; line-height: 19px; } @@ -772,7 +772,7 @@ exports[`Storyshots Basics|DocumentFormatting withDOM 1`] = ` padding: 15px; margin: 0; white-space: pre-wrap; - color: #333333; + color: inherit; font-size: 13px; line-height: 19px; } @@ -1533,7 +1533,7 @@ exports[`Storyshots Basics|DocumentFormatting withMarkdown 1`] = ` padding: 15px; margin: 0; white-space: pre-wrap; - color: #333333; + color: inherit; font-size: 13px; line-height: 19px; } @@ -1968,7 +1968,7 @@ exports[`Storyshots Basics|DocumentFormatting withMarkdown 1`] = ` padding: 15px; margin: 0; white-space: pre-wrap; - color: #333333; + color: inherit; font-size: 13px; line-height: 19px; } diff --git a/lib/components/src/typography/DocumentFormatting.tsx b/lib/components/src/typography/DocumentFormatting.tsx index c1c9afa0ff94..1e5a0f56f08c 100644 --- a/lib/components/src/typography/DocumentFormatting.tsx +++ b/lib/components/src/typography/DocumentFormatting.tsx @@ -50,7 +50,7 @@ const Wrapper = styled.div( margin: 0; white-space: pre-wrap; - color: ${props.theme.color.darkest}; + color: inherit; font-size: 13px; line-height: 19px; diff --git a/lib/ui/src/settings/__snapshots__/about.stories.storyshot b/lib/ui/src/settings/__snapshots__/about.stories.storyshot index 2289a015bfb8..2a58323dd789 100644 --- a/lib/ui/src/settings/__snapshots__/about.stories.storyshot +++ b/lib/ui/src/settings/__snapshots__/about.stories.storyshot @@ -990,7 +990,7 @@ exports[`Storyshots UI|Settings/AboutScreen new version required 1`] = ` padding: 15px; margin: 0; white-space: pre-wrap; - color: #333333; + color: inherit; font-size: 13px; line-height: 19px; } @@ -2519,7 +2519,7 @@ exports[`Storyshots UI|Settings/AboutScreen up to date 1`] = ` padding: 15px; margin: 0; white-space: pre-wrap; - color: #333333; + color: inherit; font-size: 13px; line-height: 19px; } From 355990fde1002a8dd138508a7b11e211c4a2a84f Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" Date: Wed, 12 Jun 2019 00:51:10 +0000 Subject: [PATCH 052/371] Bump global from 4.3.2 to 4.4.0 in /docs Bumps [global](https://github.com/Raynos/global) from 4.3.2 to 4.4.0. - [Release notes](https://github.com/Raynos/global/releases) - [Commits](https://github.com/Raynos/global/compare/v4.3.2...v4.4.0) Signed-off-by: dependabot-preview[bot] --- docs/package.json | 2 +- docs/yarn.lock | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/package.json b/docs/package.json index 58765a611b20..bc8148d766f5 100644 --- a/docs/package.json +++ b/docs/package.json @@ -32,7 +32,7 @@ "gatsby-remark-smartypants": "^1.4.12", "gatsby-source-filesystem": "^1.5.39", "gatsby-transformer-remark": "^1.7.44", - "global": "^4.3.2", + "global": "^4.4.0", "html-react-parser": "^0.7.0", "is-builtin-module": "^3.0.0", "lodash": "^4.17.11", diff --git a/docs/yarn.lock b/docs/yarn.lock index 44f996b61aa6..77f80416cce6 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -5166,7 +5166,15 @@ global-prefix@^1.0.1: is-windows "^1.0.1" which "^1.2.14" -global@^4.3.0, global@^4.3.2, global@~4.3.0: +global@^4.3.0, global@^4.3.2, global@^4.4.0: + version "4.4.0" + resolved "https://registry.yarnpkg.com/global/-/global-4.4.0.tgz#3e7b105179006a323ed71aafca3e9c57a5cc6406" + integrity sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w== + dependencies: + min-document "^2.19.0" + process "^0.11.10" + +global@~4.3.0: version "4.3.2" resolved "https://registry.yarnpkg.com/global/-/global-4.3.2.tgz#e76989268a6c74c38908b1305b10fc0e394e9d0f" integrity sha1-52mJJopsdMOJCLEwWxD8DjlOnQ8= From ad4fb3f654e2cb5e61f7af3a3445b61427a27c70 Mon Sep 17 00:00:00 2001 From: Mijung Lee Date: Tue, 11 Jun 2019 22:39:51 -0700 Subject: [PATCH 053/371] Fixes typo --- docs/src/pages/basics/introduction/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/pages/basics/introduction/index.md b/docs/src/pages/basics/introduction/index.md index c8575a7aeac1..e2969b0c8996 100644 --- a/docs/src/pages/basics/introduction/index.md +++ b/docs/src/pages/basics/introduction/index.md @@ -18,4 +18,4 @@ Here are some featured Storybooks to see how it works: - [Demo of React Dates](http://airbnb.io/react-dates/) - [source](https://github.com/airbnb/react-dates) - [Demo of React Native Web](http://necolas.github.io/react-native-web/storybook/) - [source](https://github.com/necolas/react-native-web) -Read the Learn Storyboook [tutorial](https://www.learnstorybook.com) for a step by step guide to building an app with Storybook and to see how building components in isolation can supercharge your app development workflow. +Read the Learn Storybook [tutorial](https://www.learnstorybook.com) for a step by step guide to building an app with Storybook and to see how building components in isolation can supercharge your app development workflow. From fdff13ad69e5b69829c72939c069c3beac1294de Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Wed, 12 Jun 2019 12:49:51 +0200 Subject: [PATCH 054/371] Update CODE_OF_CONDUCT.md --- CODE_OF_CONDUCT.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index cfc1b23f81fc..7d9ac3248c0a 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -34,7 +34,15 @@ This Code of Conduct applies both within project spaces and in public spaces whe ## Enforcement -Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at ndelangen@me.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. +Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting one of the Steering committee members: + +Norbert de Langen ~ @ndelangen - `ndelangen@me.com` +Igor Davydkin ~ @igordv - `davydkin.igor@gmail.com` +Tom Coleman ~ @tmeasday - `tom@thesnail.org` +Micheal Shilman ~ @shilman - `michael@lab80.co` +Philip Riabchun ~ @hypnosphi - `talpa@yandex.ru` + +The steering committee will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. From 3e8bf519f78a99967b8902b131308102d17dd77a Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Wed, 12 Jun 2019 13:26:44 +0200 Subject: [PATCH 055/371] CHANGE version to 5.2.0-unreleased, to stop the update PR spam --- addons/a11y/package.json | 14 ++--- addons/actions/package.json | 12 ++-- addons/backgrounds/package.json | 14 ++--- addons/centered/package.json | 2 +- addons/contexts/package.json | 10 ++-- addons/cssresources/package.json | 10 ++-- addons/design-assets/package.json | 14 ++--- addons/events/package.json | 8 +-- addons/google-analytics/package.json | 6 +- addons/graphql/package.json | 6 +- addons/info/package.json | 10 ++-- addons/jest/package.json | 12 ++-- addons/knobs/package.json | 12 ++-- addons/links/package.json | 8 +-- addons/notes/package.json | 16 ++--- addons/ondevice-actions/package.json | 8 +-- addons/ondevice-backgrounds/package.json | 4 +- addons/ondevice-knobs/package.json | 6 +- addons/ondevice-notes/package.json | 4 +- addons/options/package.json | 4 +- addons/queryparams/package.json | 14 ++--- .../storyshots/storyshots-core/package.json | 4 +- .../storyshots-puppeteer/package.json | 6 +- addons/storysource/package.json | 10 ++-- addons/viewport/package.json | 12 ++-- app/angular/package.json | 6 +- app/ember/package.json | 4 +- app/html/package.json | 4 +- app/marko/package.json | 4 +- app/mithril/package.json | 4 +- app/polymer/package.json | 4 +- app/preact/package.json | 4 +- app/rax/package.json | 4 +- app/react-native-server/package.json | 14 ++--- app/react-native/package.json | 12 ++-- app/react/package.json | 6 +- app/riot/package.json | 4 +- app/svelte/package.json | 4 +- app/vue/package.json | 4 +- dev-kits/addon-parameter/package.json | 14 ++--- dev-kits/addon-roundtrip/package.json | 14 ++--- docs/package.json | 4 +- docs/src/versions/latest.json | 2 +- .../crna-kitchen-sink/package.json | 18 +++--- examples/angular-cli/package.json | 28 ++++----- examples/cra-kitchen-sink/package.json | 34 +++++------ examples/cra-react15/package.json | 10 ++-- examples/cra-ts-kitchen-sink/package.json | 14 ++--- examples/dev-kits/package.json | 18 +++--- examples/ember-cli/package.json | 26 ++++----- examples/html-kitchen-sink/package.json | 36 ++++++------ examples/marko-cli/package.json | 16 ++--- examples/mithril-kitchen-sink/package.json | 28 ++++----- examples/official-storybook/package.json | 54 ++++++++--------- examples/polymer-cli/package.json | 22 +++---- examples/preact-kitchen-sink/package.json | 30 +++++----- examples/rax-kitchen-sink/package.json | 34 +++++------ examples/riot-kitchen-sink/package.json | 28 ++++----- examples/svelte-kitchen-sink/package.json | 28 ++++----- examples/vue-kitchen-sink/package.json | 30 +++++----- lerna.json | 2 +- lib/addons/package.json | 8 +-- lib/api/package.json | 12 ++-- lib/channel-postmessage/package.json | 6 +- lib/channel-websocket/package.json | 4 +- lib/channels/package.json | 2 +- lib/cli/package.json | 58 +++++++++---------- lib/client-api/package.json | 10 ++-- lib/client-logger/package.json | 2 +- lib/codemod/package.json | 2 +- lib/components/package.json | 6 +- lib/core-events/package.json | 2 +- lib/core/package.json | 20 +++---- lib/node-logger/package.json | 2 +- lib/router/package.json | 2 +- lib/theming/package.json | 4 +- lib/ui/package.json | 16 ++--- package.json | 2 +- 78 files changed, 476 insertions(+), 476 deletions(-) diff --git a/addons/a11y/package.json b/addons/a11y/package.json index e3d1d38b9cdf..f6c9dabf6128 100644 --- a/addons/a11y/package.json +++ b/addons/a11y/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-a11y", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "a11y addon for storybook", "keywords": [ "a11y", @@ -26,12 +26,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", - "@storybook/api": "5.1.1", - "@storybook/client-logger": "5.1.1", - "@storybook/components": "5.1.1", - "@storybook/core-events": "5.1.1", - "@storybook/theming": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/api": "5.2.0-unreleased.0", + "@storybook/client-logger": "5.2.0-unreleased.0", + "@storybook/components": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/theming": "5.2.0-unreleased.0", "axe-core": "^3.2.2", "common-tags": "^1.8.0", "core-js": "^3.0.1", diff --git a/addons/actions/package.json b/addons/actions/package.json index 90f9e733f901..670f225bf37e 100644 --- a/addons/actions/package.json +++ b/addons/actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-actions", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Action Logger addon for storybook", "keywords": [ "storybook" @@ -21,11 +21,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", - "@storybook/api": "5.1.1", - "@storybook/components": "5.1.1", - "@storybook/core-events": "5.1.1", - "@storybook/theming": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/api": "5.2.0-unreleased.0", + "@storybook/components": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/theming": "5.2.0-unreleased.0", "core-js": "^3.0.1", "fast-deep-equal": "^2.0.1", "global": "^4.3.2", diff --git a/addons/backgrounds/package.json b/addons/backgrounds/package.json index 166555543b0e..3e7be73e5979 100644 --- a/addons/backgrounds/package.json +++ b/addons/backgrounds/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-backgrounds", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "A storybook addon to show different backgrounds for your preview", "keywords": [ "addon", @@ -25,12 +25,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", - "@storybook/api": "5.1.1", - "@storybook/client-logger": "5.1.1", - "@storybook/components": "5.1.1", - "@storybook/core-events": "5.1.1", - "@storybook/theming": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/api": "5.2.0-unreleased.0", + "@storybook/client-logger": "5.2.0-unreleased.0", + "@storybook/components": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/theming": "5.2.0-unreleased.0", "core-js": "^3.0.1", "memoizerific": "^1.11.3", "react": "^16.8.3", diff --git a/addons/centered/package.json b/addons/centered/package.json index 3cde9dc7bf8f..f5a9cb21aaf9 100644 --- a/addons/centered/package.json +++ b/addons/centered/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-centered", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Storybook decorator to center components", "keywords": [ "addon", diff --git a/addons/contexts/package.json b/addons/contexts/package.json index 1f8f09f5ef41..24751544e9b5 100644 --- a/addons/contexts/package.json +++ b/addons/contexts/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-contexts", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Storybook Addon Contexts", "keywords": [ "storybook", @@ -28,10 +28,10 @@ "dev:check-types": "tsc --noEmit" }, "dependencies": { - "@storybook/addons": "5.1.1", - "@storybook/api": "5.1.1", - "@storybook/components": "5.1.1", - "@storybook/core-events": "5.1.1" + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/api": "5.2.0-unreleased.0", + "@storybook/components": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0" }, "peerDependencies": { "global": "*", diff --git a/addons/cssresources/package.json b/addons/cssresources/package.json index 0a04845933e0..aa17a9af4837 100644 --- a/addons/cssresources/package.json +++ b/addons/cssresources/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-cssresources", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "A storybook addon to switch between css resources at runtime for your story", "keywords": [ "addon", @@ -25,10 +25,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", - "@storybook/api": "5.1.1", - "@storybook/components": "5.1.1", - "@storybook/core-events": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/api": "5.2.0-unreleased.0", + "@storybook/components": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", "core-js": "^3.0.1", "global": "^4.3.2", "react": "^16.8.3" diff --git a/addons/design-assets/package.json b/addons/design-assets/package.json index 4af82c31c178..7d48245248f6 100644 --- a/addons/design-assets/package.json +++ b/addons/design-assets/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-design-assets", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Design asset preview for storybook", "keywords": [ "addon", @@ -27,12 +27,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", - "@storybook/api": "5.1.1", - "@storybook/client-logger": "5.1.1", - "@storybook/components": "5.1.1", - "@storybook/core-events": "5.1.1", - "@storybook/theming": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/api": "5.2.0-unreleased.0", + "@storybook/client-logger": "5.2.0-unreleased.0", + "@storybook/components": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/theming": "5.2.0-unreleased.0", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/addons/events/package.json b/addons/events/package.json index 7937db1befbf..bb6cd5d43dcc 100644 --- a/addons/events/package.json +++ b/addons/events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-events", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Add events to your Storybook stories.", "keywords": [ "addon", @@ -24,9 +24,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", - "@storybook/core-events": "5.1.1", - "@storybook/theming": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/theming": "5.2.0-unreleased.0", "core-js": "^3.0.1", "format-json": "^1.0.3", "prop-types": "^15.7.2", diff --git a/addons/google-analytics/package.json b/addons/google-analytics/package.json index 803bd2b8eaa8..54e32ed12cf0 100644 --- a/addons/google-analytics/package.json +++ b/addons/google-analytics/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-google-analytics", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Storybook addon for google analytics", "keywords": [ "addon", @@ -20,8 +20,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", - "@storybook/core-events": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", "core-js": "^3.0.1", "global": "^4.3.2", "react-ga": "^2.5.7" diff --git a/addons/graphql/package.json b/addons/graphql/package.json index e2c3593097c8..4c88b163dca3 100644 --- a/addons/graphql/package.json +++ b/addons/graphql/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-graphql", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Storybook addon to display the GraphiQL IDE", "keywords": [ "addon", @@ -22,8 +22,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", - "@storybook/api": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/api": "5.2.0-unreleased.0", "core-js": "^3.0.1", "global": "^4.3.2", "graphiql": "^0.13.0", diff --git a/addons/info/package.json b/addons/info/package.json index 978f8b966f49..775e80c0b4fd 100644 --- a/addons/info/package.json +++ b/addons/info/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-info", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "A Storybook addon to show additional information for your stories.", "keywords": [ "addon", @@ -22,10 +22,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", - "@storybook/client-logger": "5.1.1", - "@storybook/components": "5.1.1", - "@storybook/theming": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/client-logger": "5.2.0-unreleased.0", + "@storybook/components": "5.2.0-unreleased.0", + "@storybook/theming": "5.2.0-unreleased.0", "core-js": "^3.0.1", "global": "^4.3.2", "marksy": "^7.0.0", diff --git a/addons/jest/package.json b/addons/jest/package.json index ea5813cd4909..254d62ceba2a 100644 --- a/addons/jest/package.json +++ b/addons/jest/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-jest", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "React storybook addon that show component jest report", "keywords": [ "addon", @@ -28,11 +28,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", - "@storybook/api": "5.1.1", - "@storybook/components": "5.1.1", - "@storybook/core-events": "5.1.1", - "@storybook/theming": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/api": "5.2.0-unreleased.0", + "@storybook/components": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/theming": "5.2.0-unreleased.0", "core-js": "^3.0.1", "global": "^4.3.2", "react": "^16.8.3", diff --git a/addons/knobs/package.json b/addons/knobs/package.json index f91d491562e4..c4b0525751ed 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-knobs", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Storybook Addon Prop Editor Component", "keywords": [ "addon", @@ -22,11 +22,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", - "@storybook/client-api": "5.1.1", - "@storybook/components": "5.1.1", - "@storybook/core-events": "5.1.1", - "@storybook/theming": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/client-api": "5.2.0-unreleased.0", + "@storybook/components": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/theming": "5.2.0-unreleased.0", "copy-to-clipboard": "^3.0.8", "core-js": "^3.0.1", "escape-html": "^1.0.3", diff --git a/addons/links/package.json b/addons/links/package.json index d2550e8dc8e3..04ff1dc4dbc0 100644 --- a/addons/links/package.json +++ b/addons/links/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-links", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Story Links addon for storybook", "keywords": [ "addon", @@ -22,9 +22,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", - "@storybook/core-events": "5.1.1", - "@storybook/router": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/router": "5.2.0-unreleased.0", "common-tags": "^1.8.0", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/addons/notes/package.json b/addons/notes/package.json index 46e175a56be3..d5cbe7a5e076 100644 --- a/addons/notes/package.json +++ b/addons/notes/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-notes", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Write notes for your Storybook stories.", "keywords": [ "addon", @@ -23,13 +23,13 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", - "@storybook/api": "5.1.1", - "@storybook/client-logger": "5.1.1", - "@storybook/components": "5.1.1", - "@storybook/core-events": "5.1.1", - "@storybook/router": "5.1.1", - "@storybook/theming": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/api": "5.2.0-unreleased.0", + "@storybook/client-logger": "5.2.0-unreleased.0", + "@storybook/components": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/router": "5.2.0-unreleased.0", + "@storybook/theming": "5.2.0-unreleased.0", "core-js": "^3.0.1", "global": "^4.3.2", "markdown-to-jsx": "^6.9.3", diff --git a/addons/ondevice-actions/package.json b/addons/ondevice-actions/package.json index 3c457273efe8..5bdbcdaa5136 100644 --- a/addons/ondevice-actions/package.json +++ b/addons/ondevice-actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-ondevice-actions", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Action Logger addon for react-native storybook", "keywords": [ "storybook" @@ -19,13 +19,13 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", - "@storybook/core-events": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", "core-js": "^2.5.7", "fast-deep-equal": "^2.0.1" }, "devDependencies": { - "@storybook/addon-actions": "5.1.1" + "@storybook/addon-actions": "5.2.0-unreleased.0" }, "peerDependencies": { "@storybook/addon-actions": "*", diff --git a/addons/ondevice-backgrounds/package.json b/addons/ondevice-backgrounds/package.json index 1cb2493e9b32..37ea02fb9750 100644 --- a/addons/ondevice-backgrounds/package.json +++ b/addons/ondevice-backgrounds/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-ondevice-backgrounds", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "A react-native storybook addon to show different backgrounds for your preview", "keywords": [ "addon", @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", "core-js": "^3.0.1", "prop-types": "^15.7.2" }, diff --git a/addons/ondevice-knobs/package.json b/addons/ondevice-knobs/package.json index ca48fe330431..02663270847b 100644 --- a/addons/ondevice-knobs/package.json +++ b/addons/ondevice-knobs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-ondevice-knobs", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Display storybook story knobs on your deviced.", "keywords": [ "addon", @@ -21,8 +21,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", - "@storybook/core-events": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", "core-js": "^3.0.1", "deep-equal": "^1.0.1", "prop-types": "^15.7.2", diff --git a/addons/ondevice-notes/package.json b/addons/ondevice-notes/package.json index d30ad4686a33..db042a2c85c2 100644 --- a/addons/ondevice-notes/package.json +++ b/addons/ondevice-notes/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-ondevice-notes", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Write notes for your react-native Storybook stories.", "keywords": [ "addon", @@ -20,7 +20,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", "core-js": "^3.0.1", "prop-types": "^15.7.2", "react-native-simple-markdown": "^1.1.0" diff --git a/addons/options/package.json b/addons/options/package.json index a60b45593fdb..4f7442a31f2a 100644 --- a/addons/options/package.json +++ b/addons/options/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-options", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Options addon for storybook", "keywords": [ "addon", @@ -22,7 +22,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", "core-js": "^3.0.1", "util-deprecate": "^1.0.2" }, diff --git a/addons/queryparams/package.json b/addons/queryparams/package.json index 1434411e8686..12d85468efb8 100644 --- a/addons/queryparams/package.json +++ b/addons/queryparams/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-queryparams", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "parameter addon for storybook", "keywords": [ "addon", @@ -23,12 +23,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", - "@storybook/api": "5.1.1", - "@storybook/client-logger": "5.1.1", - "@storybook/components": "5.1.1", - "@storybook/core-events": "5.1.1", - "@storybook/theming": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/api": "5.2.0-unreleased.0", + "@storybook/client-logger": "5.2.0-unreleased.0", + "@storybook/components": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/theming": "5.2.0-unreleased.0", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/addons/storyshots/storyshots-core/package.json b/addons/storyshots/storyshots-core/package.json index dfb93fca7a93..80105b9f0e6b 100644 --- a/addons/storyshots/storyshots-core/package.json +++ b/addons/storyshots/storyshots-core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.", "keywords": [ "addon", @@ -25,7 +25,7 @@ "storybook": "start-storybook -p 6006" }, "dependencies": { - "@storybook/addons": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", "core-js": "^3.0.1", "glob": "^7.1.3", "global": "^4.3.2", diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json index 5a0f1df53b33..7da9107c997a 100644 --- a/addons/storyshots/storyshots-puppeteer/package.json +++ b/addons/storyshots/storyshots-puppeteer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots-puppeteer", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Image snappshots addition to StoryShots base on puppeteer", "keywords": [ "addon", @@ -22,8 +22,8 @@ "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/node-logger": "5.1.1", - "@storybook/router": "5.1.1", + "@storybook/node-logger": "5.2.0-unreleased.0", + "@storybook/router": "5.2.0-unreleased.0", "core-js": "^3.0.1", "jest-image-snapshot": "^2.8.2", "puppeteer": "^1.12.2", diff --git a/addons/storysource/package.json b/addons/storysource/package.json index 27984c68bd4c..c7e83d29e257 100644 --- a/addons/storysource/package.json +++ b/addons/storysource/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storysource", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Stories addon for storybook", "keywords": [ "addon", @@ -22,10 +22,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", - "@storybook/components": "5.1.1", - "@storybook/router": "5.1.1", - "@storybook/theming": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/components": "5.2.0-unreleased.0", + "@storybook/router": "5.2.0-unreleased.0", + "@storybook/theming": "5.2.0-unreleased.0", "core-js": "^3.0.1", "estraverse": "^4.2.0", "loader-utils": "^1.2.3", diff --git a/addons/viewport/package.json b/addons/viewport/package.json index 045470e27f6b..910212986952 100644 --- a/addons/viewport/package.json +++ b/addons/viewport/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-viewport", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Storybook addon to change the viewport size to mobile", "keywords": [ "addon", @@ -21,11 +21,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", - "@storybook/client-logger": "5.1.1", - "@storybook/components": "5.1.1", - "@storybook/core-events": "5.1.1", - "@storybook/theming": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/client-logger": "5.2.0-unreleased.0", + "@storybook/components": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/theming": "5.2.0-unreleased.0", "core-js": "^3.0.1", "global": "^4.3.2", "memoizerific": "^1.11.3", diff --git a/app/angular/package.json b/app/angular/package.json index ae26fd2ceee7..8d3ea8c6354b 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/angular", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -26,8 +26,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.1", - "@storybook/node-logger": "5.1.1", + "@storybook/core": "5.2.0-unreleased.0", + "@storybook/node-logger": "5.2.0-unreleased.0", "angular2-template-loader": "^0.6.2", "core-js": "^3.0.1", "fork-ts-checker-webpack-plugin": "^1.3.4", diff --git a/app/ember/package.json b/app/ember/package.json index 6d231d8b236c..3d6f0a8fa537 100644 --- a/app/ember/package.json +++ b/app/ember/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ember", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybookjs/storybook/tree/master/app/ember", "bugs": { @@ -24,7 +24,7 @@ }, "dependencies": { "@ember/test-helpers": "^1.5.0", - "@storybook/core": "5.1.1", + "@storybook/core": "5.2.0-unreleased.0", "common-tags": "^1.8.0", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/app/html/package.json b/app/html/package.json index ea965029d0a3..e42de31509f5 100644 --- a/app/html/package.json +++ b/app/html/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/html", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.1", + "@storybook/core": "5.2.0-unreleased.0", "common-tags": "^1.8.0", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/app/marko/package.json b/app/marko/package.json index d2bc523e066d..f5ff0d84a975 100644 --- a/app/marko/package.json +++ b/app/marko/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/marko", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.1", + "@storybook/core": "5.2.0-unreleased.0", "common-tags": "^1.8.0", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/app/mithril/package.json b/app/mithril/package.json index d378393e2bc9..06035b7e77dc 100644 --- a/app/mithril/package.json +++ b/app/mithril/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/mithril", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Storybook for Mithril: Develop Mithril Component in isolation.", "keywords": [ "storybook" @@ -27,7 +27,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/core": "5.1.1", + "@storybook/core": "5.2.0-unreleased.0", "common-tags": "^1.8.0", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/app/polymer/package.json b/app/polymer/package.json index b77fa96b7f31..4dfcb425587f 100644 --- a/app/polymer/package.json +++ b/app/polymer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/polymer", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.1", + "@storybook/core": "5.2.0-unreleased.0", "@webcomponents/webcomponentsjs": "^1.2.0", "common-tags": "^1.8.0", "core-js": "^3.0.1", diff --git a/app/preact/package.json b/app/preact/package.json index 3771772d355b..1a554163b296 100644 --- a/app/preact/package.json +++ b/app/preact/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preact", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Storybook for Preact: Develop Preact Component in isolation.", "keywords": [ "storybook" @@ -27,7 +27,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/core": "5.1.1", + "@storybook/core": "5.2.0-unreleased.0", "common-tags": "^1.8.0", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/app/rax/package.json b/app/rax/package.json index 38d7bdf9928d..16a90ded1ce1 100644 --- a/app/rax/package.json +++ b/app/rax/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/rax", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Storybook for Rax: Develop Rax Component in isolation.", "keywords": [ "storybook", @@ -28,7 +28,7 @@ }, "dependencies": { "babel-preset-rax": "^1.0.0-beta.0", - "@storybook/core": "5.1.1", + "@storybook/core": "5.2.0-unreleased.0", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/react-native-server/package.json b/app/react-native-server/package.json index a35c80488acc..f49bcc32959c 100644 --- a/app/react-native-server/package.json +++ b/app/react-native-server/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react-native-server", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "A better way to develop React Native Components for your app", "keywords": [ "react", @@ -24,12 +24,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", - "@storybook/api": "5.1.1", - "@storybook/channel-websocket": "5.1.1", - "@storybook/core": "5.1.1", - "@storybook/core-events": "5.1.1", - "@storybook/ui": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/api": "5.2.0-unreleased.0", + "@storybook/channel-websocket": "5.2.0-unreleased.0", + "@storybook/core": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/ui": "5.2.0-unreleased.0", "commander": "^2.19.0", "global": "^4.3.2", "react": "^16.6.0", diff --git a/app/react-native/package.json b/app/react-native/package.json index a44f91bb80b0..2f65f177c9d8 100644 --- a/app/react-native/package.json +++ b/app/react-native/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react-native", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "A better way to develop React Native Components for your app", "keywords": [ "react", @@ -23,11 +23,11 @@ }, "dependencies": { "@emotion/native": "^10.0.10", - "@storybook/addons": "5.1.1", - "@storybook/channel-websocket": "5.1.1", - "@storybook/channels": "5.1.1", - "@storybook/client-api": "5.1.1", - "@storybook/core-events": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/channel-websocket": "5.2.0-unreleased.0", + "@storybook/channels": "5.2.0-unreleased.0", + "@storybook/client-api": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", "core-js": "^3.0.1", "react-native-swipe-gestures": "^1.0.3", "rn-host-detect": "^1.1.5" diff --git a/app/react/package.json b/app/react/package.json index 8c44d4cf4cb5..dde303705f8e 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -29,8 +29,8 @@ "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/preset-flow": "^7.0.0", "@babel/preset-react": "^7.0.0", - "@storybook/core": "5.1.1", - "@storybook/node-logger": "5.1.1", + "@storybook/core": "5.2.0-unreleased.0", + "@storybook/node-logger": "5.2.0-unreleased.0", "@svgr/webpack": "^4.0.3", "babel-plugin-named-asset-import": "^0.3.1", "babel-plugin-react-docgen": "^3.0.0", diff --git a/app/riot/package.json b/app/riot/package.json index 6a7a66e75860..89e0ca738438 100644 --- a/app/riot/package.json +++ b/app/riot/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/riot", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.1", + "@storybook/core": "5.2.0-unreleased.0", "common-tags": "^1.8.0", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/app/svelte/package.json b/app/svelte/package.json index ef4d72579401..8cd79a7da44b 100644 --- a/app/svelte/package.json +++ b/app/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/svelte", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.1", + "@storybook/core": "5.2.0-unreleased.0", "common-tags": "^1.8.0", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/app/vue/package.json b/app/vue/package.json index 28d873e4864a..54a98c3f480a 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.1.1", + "@storybook/core": "5.2.0-unreleased.0", "common-tags": "^1.8.0", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/dev-kits/addon-parameter/package.json b/dev-kits/addon-parameter/package.json index 271f722150ef..f602ddbe580c 100644 --- a/dev-kits/addon-parameter/package.json +++ b/dev-kits/addon-parameter/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-parameter", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "parameter addon for storybook", "keywords": [ "devkit", @@ -24,12 +24,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", - "@storybook/api": "5.1.1", - "@storybook/client-logger": "5.1.1", - "@storybook/components": "5.1.1", - "@storybook/core-events": "5.1.1", - "@storybook/theming": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/api": "5.2.0-unreleased.0", + "@storybook/client-logger": "5.2.0-unreleased.0", + "@storybook/components": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/theming": "5.2.0-unreleased.0", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/dev-kits/addon-roundtrip/package.json b/dev-kits/addon-roundtrip/package.json index 5c05bd9e5bff..bcb1be65170f 100644 --- a/dev-kits/addon-roundtrip/package.json +++ b/dev-kits/addon-roundtrip/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-roundtrip", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "roundtrip addon for storybook", "keywords": [ "devkit", @@ -24,12 +24,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", - "@storybook/api": "5.1.1", - "@storybook/client-logger": "5.1.1", - "@storybook/components": "5.1.1", - "@storybook/core-events": "5.1.1", - "@storybook/theming": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/api": "5.2.0-unreleased.0", + "@storybook/client-logger": "5.2.0-unreleased.0", + "@storybook/components": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/theming": "5.2.0-unreleased.0", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/docs/package.json b/docs/package.json index bc8148d766f5..d87c8666ff65 100644 --- a/docs/package.json +++ b/docs/package.json @@ -15,8 +15,8 @@ "serve": "gatsby serve" }, "dependencies": { - "@storybook/components": "5.1.1", - "@storybook/theming": "5.1.1", + "@storybook/components": "5.2.0-unreleased.0", + "@storybook/theming": "5.2.0-unreleased.0", "babel-loader": "^6.4.1", "babel-plugin-styled-components": "^1.10.0", "bootstrap": "^4.3.1", diff --git a/docs/src/versions/latest.json b/docs/src/versions/latest.json index 7cb06f152337..dcba5389aa3e 100644 --- a/docs/src/versions/latest.json +++ b/docs/src/versions/latest.json @@ -1 +1 @@ -{"version":"5.1.1","info":{"plain":"Storybook 5.1 is a juicy upgrade including:\n\n- 📱 Mobile: Standalone package architecture for React Native\n- 🎟 A11y addon: Realtime accessibility checks and visual feedback\n- 🛠 Context addon: New UI for themes, internationalization, & more\n- 🎛 Presets: One-line configuration for babel, webpack, & addons\n\n5.1 contains hundreds more fixes, features, and tweaks. Browse the changelogs matching `5.1.0-alpha.*`, `5.1.0-beta.*`, and `5.1.0-rc.*` for the full list of changes. See [MIGRATION.md](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md) to ugprade from `5.0` or earlier."}} \ No newline at end of file +{"version":"5.2.0-unreleased.0","info":{"plain":"Storybook 5.1 is a juicy upgrade including:\n\n- 📱 Mobile: Standalone package architecture for React Native\n- 🎟 A11y addon: Realtime accessibility checks and visual feedback\n- 🛠 Context addon: New UI for themes, internationalization, & more\n- 🎛 Presets: One-line configuration for babel, webpack, & addons\n\n5.1 contains hundreds more fixes, features, and tweaks. Browse the changelogs matching `5.1.0-alpha.*`, `5.1.0-beta.*`, and `5.1.0-rc.*` for the full list of changes. See [MIGRATION.md](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md) to ugprade from `5.0` or earlier."}} \ No newline at end of file diff --git a/examples-native/crna-kitchen-sink/package.json b/examples-native/crna-kitchen-sink/package.json index 99e8ce7d7e1f..8387d9ab5ea6 100644 --- a/examples-native/crna-kitchen-sink/package.json +++ b/examples-native/crna-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "crna-kitchen-sink", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "private": true, "main": "node_modules/expo/AppEntry.js", "scripts": { @@ -24,14 +24,14 @@ "devDependencies": { "@babel/core": "^7.2.2", "@babel/plugin-transform-react-jsx-source": "^7.2.0", - "@storybook/addon-actions": "5.1.1", - "@storybook/addon-knobs": "5.1.1", - "@storybook/addon-ondevice-actions": "5.1.1", - "@storybook/addon-ondevice-backgrounds": "5.1.1", - "@storybook/addon-ondevice-knobs": "5.1.1", - "@storybook/addon-ondevice-notes": "5.1.1", - "@storybook/addons": "5.1.1", - "@storybook/react-native": "5.1.1", + "@storybook/addon-actions": "5.2.0-unreleased.0", + "@storybook/addon-knobs": "5.2.0-unreleased.0", + "@storybook/addon-ondevice-actions": "5.2.0-unreleased.0", + "@storybook/addon-ondevice-backgrounds": "5.2.0-unreleased.0", + "@storybook/addon-ondevice-knobs": "5.2.0-unreleased.0", + "@storybook/addon-ondevice-notes": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/react-native": "5.2.0-unreleased.0", "babel-loader": "^8.0.4", "babel-plugin-module-resolver": "^3.2.0", "babel-preset-expo": "^5.1.1", diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index abd5617a5841..a497483faf45 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -1,6 +1,6 @@ { "name": "angular-cli", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "private": true, "license": "MIT", "scripts": { @@ -34,19 +34,19 @@ "@angular-devkit/build-angular": "^0.13.4", "@angular/cli": "^7.3.6", "@angular/compiler-cli": "^7.2.6", - "@storybook/addon-a11y": "5.1.1", - "@storybook/addon-actions": "5.1.1", - "@storybook/addon-backgrounds": "5.1.1", - "@storybook/addon-centered": "5.1.1", - "@storybook/addon-jest": "5.1.1", - "@storybook/addon-knobs": "5.1.1", - "@storybook/addon-links": "5.1.1", - "@storybook/addon-notes": "5.1.1", - "@storybook/addon-options": "5.1.1", - "@storybook/addon-storyshots": "5.1.1", - "@storybook/addon-storysource": "5.1.1", - "@storybook/addons": "5.1.1", - "@storybook/angular": "5.1.1", + "@storybook/addon-a11y": "5.2.0-unreleased.0", + "@storybook/addon-actions": "5.2.0-unreleased.0", + "@storybook/addon-backgrounds": "5.2.0-unreleased.0", + "@storybook/addon-centered": "5.2.0-unreleased.0", + "@storybook/addon-jest": "5.2.0-unreleased.0", + "@storybook/addon-knobs": "5.2.0-unreleased.0", + "@storybook/addon-links": "5.2.0-unreleased.0", + "@storybook/addon-notes": "5.2.0-unreleased.0", + "@storybook/addon-options": "5.2.0-unreleased.0", + "@storybook/addon-storyshots": "5.2.0-unreleased.0", + "@storybook/addon-storysource": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/angular": "5.2.0-unreleased.0", "@types/core-js": "^2.5.0", "@types/jest": "^24.0.11", "@types/node": "~12.0.2", diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json index 91f8518f4726..f55592a0fecf 100644 --- a/examples/cra-kitchen-sink/package.json +++ b/examples/cra-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-kitchen-sink", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "private": true, "scripts": { "build": "react-scripts build", @@ -19,22 +19,22 @@ "react-lifecycles-compat": "^3.0.4" }, "devDependencies": { - "@storybook/addon-a11y": "5.1.1", - "@storybook/addon-actions": "5.1.1", - "@storybook/addon-backgrounds": "5.1.1", - "@storybook/addon-centered": "5.1.1", - "@storybook/addon-events": "5.1.1", - "@storybook/addon-info": "5.1.1", - "@storybook/addon-jest": "5.1.1", - "@storybook/addon-knobs": "5.1.1", - "@storybook/addon-links": "5.1.1", - "@storybook/addon-notes": "5.1.1", - "@storybook/addon-options": "5.1.1", - "@storybook/addon-storyshots": "5.1.1", - "@storybook/addons": "5.1.1", - "@storybook/client-logger": "5.1.1", - "@storybook/react": "5.1.1", - "@storybook/theming": "5.1.1", + "@storybook/addon-a11y": "5.2.0-unreleased.0", + "@storybook/addon-actions": "5.2.0-unreleased.0", + "@storybook/addon-backgrounds": "5.2.0-unreleased.0", + "@storybook/addon-centered": "5.2.0-unreleased.0", + "@storybook/addon-events": "5.2.0-unreleased.0", + "@storybook/addon-info": "5.2.0-unreleased.0", + "@storybook/addon-jest": "5.2.0-unreleased.0", + "@storybook/addon-knobs": "5.2.0-unreleased.0", + "@storybook/addon-links": "5.2.0-unreleased.0", + "@storybook/addon-notes": "5.2.0-unreleased.0", + "@storybook/addon-options": "5.2.0-unreleased.0", + "@storybook/addon-storyshots": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/client-logger": "5.2.0-unreleased.0", + "@storybook/react": "5.2.0-unreleased.0", + "@storybook/theming": "5.2.0-unreleased.0", "react-scripts": "^3.0.1" } } diff --git a/examples/cra-react15/package.json b/examples/cra-react15/package.json index 9c064378e5a8..6ed222bc70a4 100644 --- a/examples/cra-react15/package.json +++ b/examples/cra-react15/package.json @@ -1,6 +1,6 @@ { "name": "cra-react15", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "private": true, "dependencies": { "babel-loader": "8.0.6", @@ -19,10 +19,10 @@ "build-storybook": "build-storybook -s public" }, "devDependencies": { - "@storybook/addon-actions": "5.1.1", - "@storybook/addon-links": "5.1.1", - "@storybook/react": "5.1.1", - "@storybook/theming": "5.1.1", + "@storybook/addon-actions": "5.2.0-unreleased.0", + "@storybook/addon-links": "5.2.0-unreleased.0", + "@storybook/react": "5.2.0-unreleased.0", + "@storybook/theming": "5.2.0-unreleased.0", "babel-core": "6", "babel-runtime": "6" } diff --git a/examples/cra-ts-kitchen-sink/package.json b/examples/cra-ts-kitchen-sink/package.json index 4ba1bd2de2eb..05d56418ecda 100644 --- a/examples/cra-ts-kitchen-sink/package.json +++ b/examples/cra-ts-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-ts-kitchen-sink", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -14,12 +14,12 @@ "react-dom": "^16.8.3" }, "devDependencies": { - "@storybook/addon-a11y": "5.1.1", - "@storybook/addon-actions": "5.1.1", - "@storybook/addon-info": "5.1.1", - "@storybook/addon-options": "5.1.1", - "@storybook/addons": "5.1.1", - "@storybook/react": "5.1.1", + "@storybook/addon-a11y": "5.2.0-unreleased.0", + "@storybook/addon-actions": "5.2.0-unreleased.0", + "@storybook/addon-info": "5.2.0-unreleased.0", + "@storybook/addon-options": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/react": "5.2.0-unreleased.0", "@types/enzyme": "^3.9.0", "@types/react": "^16.8.3", "@types/react-dom": "^16.8.2", diff --git a/examples/dev-kits/package.json b/examples/dev-kits/package.json index a46f212ddf00..c2f97a78c62f 100644 --- a/examples/dev-kits/package.json +++ b/examples/dev-kits/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/example-devkits", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "private": true, "scripts": { "build-storybook": "build-storybook -c ./ -s built-storybooks", @@ -8,14 +8,14 @@ "storybook": "start-storybook -p 9011 -c ./" }, "devDependencies": { - "@storybook/addon-roundtrip": "5.1.1", - "@storybook/addon-parameter": "5.1.1", - "@storybook/addons": "5.1.1", - "@storybook/components": "5.1.1", - "@storybook/core-events": "5.1.1", - "@storybook/node-logger": "5.1.1", - "@storybook/react": "5.1.1", - "@storybook/theming": "5.1.1", + "@storybook/addon-roundtrip": "5.2.0-unreleased.0", + "@storybook/addon-parameter": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/components": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/node-logger": "5.2.0-unreleased.0", + "@storybook/react": "5.2.0-unreleased.0", + "@storybook/theming": "5.2.0-unreleased.0", "cors": "^2.8.5", "cross-env": "^5.2.0", "enzyme-to-json": "^3.3.5", diff --git a/examples/ember-cli/package.json b/examples/ember-cli/package.json index 53b12feb9d2b..124d4fcf76d3 100644 --- a/examples/ember-cli/package.json +++ b/examples/ember-cli/package.json @@ -1,6 +1,6 @@ { "name": "ember-example", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "private": true, "scripts": { "build": "ember build", @@ -15,18 +15,18 @@ }, "devDependencies": { "@babel/core": "^7.3.4", - "@storybook/addon-a11y": "5.1.1", - "@storybook/addon-actions": "5.1.1", - "@storybook/addon-backgrounds": "5.1.1", - "@storybook/addon-centered": "5.1.1", - "@storybook/addon-knobs": "5.1.1", - "@storybook/addon-links": "5.1.1", - "@storybook/addon-notes": "5.1.1", - "@storybook/addon-options": "5.1.1", - "@storybook/addon-storysource": "5.1.1", - "@storybook/addon-viewport": "5.1.1", - "@storybook/addons": "5.1.1", - "@storybook/ember": "5.1.1", + "@storybook/addon-a11y": "5.2.0-unreleased.0", + "@storybook/addon-actions": "5.2.0-unreleased.0", + "@storybook/addon-backgrounds": "5.2.0-unreleased.0", + "@storybook/addon-centered": "5.2.0-unreleased.0", + "@storybook/addon-knobs": "5.2.0-unreleased.0", + "@storybook/addon-links": "5.2.0-unreleased.0", + "@storybook/addon-notes": "5.2.0-unreleased.0", + "@storybook/addon-options": "5.2.0-unreleased.0", + "@storybook/addon-storysource": "5.2.0-unreleased.0", + "@storybook/addon-viewport": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/ember": "5.2.0-unreleased.0", "babel-loader": "^8", "broccoli-asset-rev": "^3.0.0", "cross-env": "^5.2.0", diff --git a/examples/html-kitchen-sink/package.json b/examples/html-kitchen-sink/package.json index 5dbe4d81af6f..fd89d4162c00 100644 --- a/examples/html-kitchen-sink/package.json +++ b/examples/html-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "html-kitchen-sink", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "private": true, "description": "", "keywords": [], @@ -14,23 +14,23 @@ "storybook": "start-storybook -p 9006" }, "devDependencies": { - "@storybook/addon-a11y": "5.1.1", - "@storybook/addon-actions": "5.1.1", - "@storybook/addon-backgrounds": "5.1.1", - "@storybook/addon-centered": "5.1.1", - "@storybook/addon-events": "5.1.1", - "@storybook/addon-jest": "5.1.1", - "@storybook/addon-knobs": "5.1.1", - "@storybook/addon-links": "5.1.1", - "@storybook/addon-notes": "5.1.1", - "@storybook/addon-options": "5.1.1", - "@storybook/addon-storyshots": "5.1.1", - "@storybook/addon-storysource": "5.1.1", - "@storybook/addon-viewport": "5.1.1", - "@storybook/addons": "5.1.1", - "@storybook/core": "5.1.1", - "@storybook/core-events": "5.1.1", - "@storybook/html": "5.1.1", + "@storybook/addon-a11y": "5.2.0-unreleased.0", + "@storybook/addon-actions": "5.2.0-unreleased.0", + "@storybook/addon-backgrounds": "5.2.0-unreleased.0", + "@storybook/addon-centered": "5.2.0-unreleased.0", + "@storybook/addon-events": "5.2.0-unreleased.0", + "@storybook/addon-jest": "5.2.0-unreleased.0", + "@storybook/addon-knobs": "5.2.0-unreleased.0", + "@storybook/addon-links": "5.2.0-unreleased.0", + "@storybook/addon-notes": "5.2.0-unreleased.0", + "@storybook/addon-options": "5.2.0-unreleased.0", + "@storybook/addon-storyshots": "5.2.0-unreleased.0", + "@storybook/addon-storysource": "5.2.0-unreleased.0", + "@storybook/addon-viewport": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/core": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/html": "5.2.0-unreleased.0", "eventemitter3": "^3.1.0", "format-json": "^1.0.3", "global": "^4.3.2" diff --git a/examples/marko-cli/package.json b/examples/marko-cli/package.json index f5018c62745d..6585798da66c 100644 --- a/examples/marko-cli/package.json +++ b/examples/marko-cli/package.json @@ -1,6 +1,6 @@ { "name": "marko-cli", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "private": true, "description": "Demo of how to build an app using marko-starter", "repository": { @@ -24,13 +24,13 @@ "marko-starter": "^2.0.4" }, "devDependencies": { - "@storybook/addon-a11y": "5.1.1", - "@storybook/addon-actions": "5.1.1", - "@storybook/addon-knobs": "5.1.1", - "@storybook/addon-options": "5.1.1", - "@storybook/addon-storysource": "5.1.1", - "@storybook/addons": "5.1.1", - "@storybook/marko": "5.1.1", + "@storybook/addon-a11y": "5.2.0-unreleased.0", + "@storybook/addon-actions": "5.2.0-unreleased.0", + "@storybook/addon-knobs": "5.2.0-unreleased.0", + "@storybook/addon-options": "5.2.0-unreleased.0", + "@storybook/addon-storysource": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/marko": "5.2.0-unreleased.0", "prettier": "^1.16.4", "webpack": "^4.33.0" } diff --git a/examples/mithril-kitchen-sink/package.json b/examples/mithril-kitchen-sink/package.json index 5d6e09795296..4ac42b770b4b 100644 --- a/examples/mithril-kitchen-sink/package.json +++ b/examples/mithril-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "mithril-example", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -11,19 +11,19 @@ "mithril": "^1.1.6" }, "devDependencies": { - "@storybook/addon-a11y": "5.1.1", - "@storybook/addon-actions": "5.1.1", - "@storybook/addon-backgrounds": "5.1.1", - "@storybook/addon-centered": "5.1.1", - "@storybook/addon-knobs": "5.1.1", - "@storybook/addon-links": "5.1.1", - "@storybook/addon-notes": "5.1.1", - "@storybook/addon-options": "5.1.1", - "@storybook/addon-storyshots": "5.1.1", - "@storybook/addon-storysource": "5.1.1", - "@storybook/addon-viewport": "5.1.1", - "@storybook/addons": "5.1.1", - "@storybook/mithril": "5.1.1", + "@storybook/addon-a11y": "5.2.0-unreleased.0", + "@storybook/addon-actions": "5.2.0-unreleased.0", + "@storybook/addon-backgrounds": "5.2.0-unreleased.0", + "@storybook/addon-centered": "5.2.0-unreleased.0", + "@storybook/addon-knobs": "5.2.0-unreleased.0", + "@storybook/addon-links": "5.2.0-unreleased.0", + "@storybook/addon-notes": "5.2.0-unreleased.0", + "@storybook/addon-options": "5.2.0-unreleased.0", + "@storybook/addon-storyshots": "5.2.0-unreleased.0", + "@storybook/addon-storysource": "5.2.0-unreleased.0", + "@storybook/addon-viewport": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/mithril": "5.2.0-unreleased.0", "webpack": "^4.33.0" } } diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json index 62e8a708a090..61448ccdc043 100644 --- a/examples/official-storybook/package.json +++ b/examples/official-storybook/package.json @@ -1,6 +1,6 @@ { "name": "official-storybook", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "private": true, "scripts": { "build-storybook": "build-storybook -c ./ -s built-storybooks", @@ -13,32 +13,32 @@ "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks --no-dll" }, "devDependencies": { - "@storybook/addon-a11y": "5.1.1", - "@storybook/addon-actions": "5.1.1", - "@storybook/addon-backgrounds": "5.1.1", - "@storybook/addon-centered": "5.1.1", - "@storybook/addon-contexts": "5.1.1", - "@storybook/addon-cssresources": "5.1.1", - "@storybook/addon-design-assets": "5.1.1", - "@storybook/addon-events": "5.1.1", - "@storybook/addon-graphql": "5.1.1", - "@storybook/addon-info": "5.1.1", - "@storybook/addon-jest": "5.1.1", - "@storybook/addon-knobs": "5.1.1", - "@storybook/addon-links": "5.1.1", - "@storybook/addon-notes": "5.1.1", - "@storybook/addon-options": "5.1.1", - "@storybook/addon-queryparams": "5.1.1", - "@storybook/addon-storyshots": "5.1.1", - "@storybook/addon-storyshots-puppeteer": "5.1.1", - "@storybook/addon-storysource": "5.1.1", - "@storybook/addon-viewport": "5.1.1", - "@storybook/addons": "5.1.1", - "@storybook/components": "5.1.1", - "@storybook/core-events": "5.1.1", - "@storybook/node-logger": "5.1.1", - "@storybook/react": "5.1.1", - "@storybook/theming": "5.1.1", + "@storybook/addon-a11y": "5.2.0-unreleased.0", + "@storybook/addon-actions": "5.2.0-unreleased.0", + "@storybook/addon-backgrounds": "5.2.0-unreleased.0", + "@storybook/addon-centered": "5.2.0-unreleased.0", + "@storybook/addon-contexts": "5.2.0-unreleased.0", + "@storybook/addon-cssresources": "5.2.0-unreleased.0", + "@storybook/addon-design-assets": "5.2.0-unreleased.0", + "@storybook/addon-events": "5.2.0-unreleased.0", + "@storybook/addon-graphql": "5.2.0-unreleased.0", + "@storybook/addon-info": "5.2.0-unreleased.0", + "@storybook/addon-jest": "5.2.0-unreleased.0", + "@storybook/addon-knobs": "5.2.0-unreleased.0", + "@storybook/addon-links": "5.2.0-unreleased.0", + "@storybook/addon-notes": "5.2.0-unreleased.0", + "@storybook/addon-options": "5.2.0-unreleased.0", + "@storybook/addon-queryparams": "5.2.0-unreleased.0", + "@storybook/addon-storyshots": "5.2.0-unreleased.0", + "@storybook/addon-storyshots-puppeteer": "5.2.0-unreleased.0", + "@storybook/addon-storysource": "5.2.0-unreleased.0", + "@storybook/addon-viewport": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/components": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/node-logger": "5.2.0-unreleased.0", + "@storybook/react": "5.2.0-unreleased.0", + "@storybook/theming": "5.2.0-unreleased.0", "cors": "^2.8.5", "cross-env": "^5.2.0", "enzyme-to-json": "^3.3.5", diff --git a/examples/polymer-cli/package.json b/examples/polymer-cli/package.json index 47f6a8b7dad5..2eb16aa14b1e 100644 --- a/examples/polymer-cli/package.json +++ b/examples/polymer-cli/package.json @@ -1,6 +1,6 @@ { "name": "polymer-cli", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -10,16 +10,16 @@ }, "dependencies": { "@polymer/polymer": "^2.6.0", - "@storybook/addon-a11y": "5.1.1", - "@storybook/addon-actions": "5.1.1", - "@storybook/addon-backgrounds": "5.1.1", - "@storybook/addon-knobs": "5.1.1", - "@storybook/addon-links": "5.1.1", - "@storybook/addon-notes": "5.1.1", - "@storybook/addon-options": "5.1.1", - "@storybook/addon-storysource": "5.1.1", - "@storybook/addon-viewport": "5.1.1", - "@storybook/polymer": "5.1.1", + "@storybook/addon-a11y": "5.2.0-unreleased.0", + "@storybook/addon-actions": "5.2.0-unreleased.0", + "@storybook/addon-backgrounds": "5.2.0-unreleased.0", + "@storybook/addon-knobs": "5.2.0-unreleased.0", + "@storybook/addon-links": "5.2.0-unreleased.0", + "@storybook/addon-notes": "5.2.0-unreleased.0", + "@storybook/addon-options": "5.2.0-unreleased.0", + "@storybook/addon-storysource": "5.2.0-unreleased.0", + "@storybook/addon-viewport": "5.2.0-unreleased.0", + "@storybook/polymer": "5.2.0-unreleased.0", "@webcomponents/webcomponentsjs": "^1.2.0", "global": "^4.3.2", "lit-html": "^1.0.0", diff --git a/examples/preact-kitchen-sink/package.json b/examples/preact-kitchen-sink/package.json index 0a880ae838ba..94be4175589f 100644 --- a/examples/preact-kitchen-sink/package.json +++ b/examples/preact-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "preact-example", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -16,20 +16,20 @@ "devDependencies": { "@babel/core": "^7.3.4", "@babel/plugin-transform-runtime": "^7.2.0", - "@storybook/addon-a11y": "5.1.1", - "@storybook/addon-actions": "5.1.1", - "@storybook/addon-backgrounds": "5.1.1", - "@storybook/addon-centered": "5.1.1", - "@storybook/addon-contexts": "5.1.1", - "@storybook/addon-knobs": "5.1.1", - "@storybook/addon-links": "5.1.1", - "@storybook/addon-notes": "5.1.1", - "@storybook/addon-options": "5.1.1", - "@storybook/addon-storyshots": "5.1.1", - "@storybook/addon-storysource": "5.1.1", - "@storybook/addon-viewport": "5.1.1", - "@storybook/addons": "5.1.1", - "@storybook/preact": "5.1.1", + "@storybook/addon-a11y": "5.2.0-unreleased.0", + "@storybook/addon-actions": "5.2.0-unreleased.0", + "@storybook/addon-backgrounds": "5.2.0-unreleased.0", + "@storybook/addon-centered": "5.2.0-unreleased.0", + "@storybook/addon-contexts": "5.2.0-unreleased.0", + "@storybook/addon-knobs": "5.2.0-unreleased.0", + "@storybook/addon-links": "5.2.0-unreleased.0", + "@storybook/addon-notes": "5.2.0-unreleased.0", + "@storybook/addon-options": "5.2.0-unreleased.0", + "@storybook/addon-storyshots": "5.2.0-unreleased.0", + "@storybook/addon-storysource": "5.2.0-unreleased.0", + "@storybook/addon-viewport": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/preact": "5.2.0-unreleased.0", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", "file-loader": "^3.0.1", diff --git a/examples/rax-kitchen-sink/package.json b/examples/rax-kitchen-sink/package.json index cb4bb9608422..daf251cafd6f 100644 --- a/examples/rax-kitchen-sink/package.json +++ b/examples/rax-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "rax-kitchen-sink", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "private": true, "scripts": { "test:generate-output": "jest --json --outputFile=jest-test-results.json --config=./jest-addon.config.js", @@ -24,22 +24,22 @@ "rax-view": "^0.6.5" }, "devDependencies": { - "@storybook/addon-a11y": "5.1.1", - "@storybook/addon-actions": "5.1.1", - "@storybook/addon-backgrounds": "5.1.1", - "@storybook/addon-centered": "5.1.1", - "@storybook/addon-events": "5.1.1", - "@storybook/addon-info": "5.1.1", - "@storybook/addon-jest": "5.1.1", - "@storybook/addon-knobs": "5.1.1", - "@storybook/addon-links": "5.1.1", - "@storybook/addon-notes": "5.1.1", - "@storybook/addon-options": "5.1.1", - "@storybook/addon-storyshots": "5.1.1", - "@storybook/addon-storysource": "5.1.1", - "@storybook/addon-viewport": "5.1.1", - "@storybook/addons": "5.1.1", - "@storybook/rax": "5.1.1", + "@storybook/addon-a11y": "5.2.0-unreleased.0", + "@storybook/addon-actions": "5.2.0-unreleased.0", + "@storybook/addon-backgrounds": "5.2.0-unreleased.0", + "@storybook/addon-centered": "5.2.0-unreleased.0", + "@storybook/addon-events": "5.2.0-unreleased.0", + "@storybook/addon-info": "5.2.0-unreleased.0", + "@storybook/addon-jest": "5.2.0-unreleased.0", + "@storybook/addon-knobs": "5.2.0-unreleased.0", + "@storybook/addon-links": "5.2.0-unreleased.0", + "@storybook/addon-notes": "5.2.0-unreleased.0", + "@storybook/addon-options": "5.2.0-unreleased.0", + "@storybook/addon-storyshots": "5.2.0-unreleased.0", + "@storybook/addon-storysource": "5.2.0-unreleased.0", + "@storybook/addon-viewport": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/rax": "5.2.0-unreleased.0", "babel-eslint": "^8.2.2", "babel-preset-rax": "^1.0.0-beta.0", "rax-scripts": "^1.0.0-beta.10", diff --git a/examples/riot-kitchen-sink/package.json b/examples/riot-kitchen-sink/package.json index b12cf181d402..c9470651f085 100644 --- a/examples/riot-kitchen-sink/package.json +++ b/examples/riot-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "riot-example", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -16,19 +16,19 @@ }, "devDependencies": { "@babel/core": "^7.3.4", - "@storybook/addon-a11y": "5.1.1", - "@storybook/addon-actions": "5.1.1", - "@storybook/addon-backgrounds": "5.1.1", - "@storybook/addon-centered": "5.1.1", - "@storybook/addon-knobs": "5.1.1", - "@storybook/addon-links": "5.1.1", - "@storybook/addon-notes": "5.1.1", - "@storybook/addon-options": "5.1.1", - "@storybook/addon-storyshots": "5.1.1", - "@storybook/addon-storysource": "5.1.1", - "@storybook/addon-viewport": "5.1.1", - "@storybook/addons": "5.1.1", - "@storybook/riot": "5.1.1", + "@storybook/addon-a11y": "5.2.0-unreleased.0", + "@storybook/addon-actions": "5.2.0-unreleased.0", + "@storybook/addon-backgrounds": "5.2.0-unreleased.0", + "@storybook/addon-centered": "5.2.0-unreleased.0", + "@storybook/addon-knobs": "5.2.0-unreleased.0", + "@storybook/addon-links": "5.2.0-unreleased.0", + "@storybook/addon-notes": "5.2.0-unreleased.0", + "@storybook/addon-options": "5.2.0-unreleased.0", + "@storybook/addon-storyshots": "5.2.0-unreleased.0", + "@storybook/addon-storysource": "5.2.0-unreleased.0", + "@storybook/addon-viewport": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/riot": "5.2.0-unreleased.0", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", "file-loader": "^3.0.1", diff --git a/examples/svelte-kitchen-sink/package.json b/examples/svelte-kitchen-sink/package.json index 455018802c35..6fbb4fc4d244 100644 --- a/examples/svelte-kitchen-sink/package.json +++ b/examples/svelte-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "svelte-example", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -11,18 +11,18 @@ "global": "^4.3.2" }, "devDependencies": { - "@storybook/addon-a11y": "5.1.1", - "@storybook/addon-actions": "5.1.1", - "@storybook/addon-backgrounds": "5.1.1", - "@storybook/addon-centered": "5.1.1", - "@storybook/addon-knobs": "5.1.1", - "@storybook/addon-links": "5.1.1", - "@storybook/addon-notes": "5.1.1", - "@storybook/addon-options": "5.1.1", - "@storybook/addon-storyshots": "5.1.1", - "@storybook/addon-storysource": "5.1.1", - "@storybook/addon-viewport": "5.1.1", - "@storybook/addons": "5.1.1", - "@storybook/svelte": "5.1.1" + "@storybook/addon-a11y": "5.2.0-unreleased.0", + "@storybook/addon-actions": "5.2.0-unreleased.0", + "@storybook/addon-backgrounds": "5.2.0-unreleased.0", + "@storybook/addon-centered": "5.2.0-unreleased.0", + "@storybook/addon-knobs": "5.2.0-unreleased.0", + "@storybook/addon-links": "5.2.0-unreleased.0", + "@storybook/addon-notes": "5.2.0-unreleased.0", + "@storybook/addon-options": "5.2.0-unreleased.0", + "@storybook/addon-storyshots": "5.2.0-unreleased.0", + "@storybook/addon-storysource": "5.2.0-unreleased.0", + "@storybook/addon-viewport": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/svelte": "5.2.0-unreleased.0" } } diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index b649d1efcab2..9741736637ef 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "vue-example", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -15,20 +15,20 @@ }, "devDependencies": { "@babel/core": "^7.3.4", - "@storybook/addon-a11y": "5.1.1", - "@storybook/addon-actions": "5.1.1", - "@storybook/addon-backgrounds": "5.1.1", - "@storybook/addon-centered": "5.1.1", - "@storybook/addon-contexts": "5.1.1", - "@storybook/addon-knobs": "5.1.1", - "@storybook/addon-links": "5.1.1", - "@storybook/addon-notes": "5.1.1", - "@storybook/addon-options": "5.1.1", - "@storybook/addon-storyshots": "5.1.1", - "@storybook/addon-storysource": "5.1.1", - "@storybook/addon-viewport": "5.1.1", - "@storybook/addons": "5.1.1", - "@storybook/vue": "5.1.1", + "@storybook/addon-a11y": "5.2.0-unreleased.0", + "@storybook/addon-actions": "5.2.0-unreleased.0", + "@storybook/addon-backgrounds": "5.2.0-unreleased.0", + "@storybook/addon-centered": "5.2.0-unreleased.0", + "@storybook/addon-contexts": "5.2.0-unreleased.0", + "@storybook/addon-knobs": "5.2.0-unreleased.0", + "@storybook/addon-links": "5.2.0-unreleased.0", + "@storybook/addon-notes": "5.2.0-unreleased.0", + "@storybook/addon-options": "5.2.0-unreleased.0", + "@storybook/addon-storyshots": "5.2.0-unreleased.0", + "@storybook/addon-storysource": "5.2.0-unreleased.0", + "@storybook/addon-viewport": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/vue": "5.2.0-unreleased.0", "babel-core": "^7.0.0-bridge.0", "babel-loader": "^8.0.5", "cross-env": "^5.2.0", diff --git a/lerna.json b/lerna.json index dbeb36db1816..89fd11c7e605 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "npmClient": "yarn", "useWorkspaces": true, "registry": "https://registry.npmjs.org", - "version": "5.1.1" + "version": "5.2.0-unreleased.0" } diff --git a/lib/addons/package.json b/lib/addons/package.json index 996ab512d33f..d80049800092 100644 --- a/lib/addons/package.json +++ b/lib/addons/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addons", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Storybook addons store", "keywords": [ "storybook" @@ -21,9 +21,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/api": "5.1.1", - "@storybook/channels": "5.1.1", - "@storybook/client-logger": "5.1.1", + "@storybook/api": "5.2.0-unreleased.0", + "@storybook/channels": "5.2.0-unreleased.0", + "@storybook/client-logger": "5.2.0-unreleased.0", "core-js": "^3.0.1", "global": "^4.3.2", "util-deprecate": "^1.0.2" diff --git a/lib/api/package.json b/lib/api/package.json index 98a6d8c54c1f..a51fd91b26fd 100644 --- a/lib/api/package.json +++ b/lib/api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/api", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Core Storybook API & Context", "keywords": [ "storybook" @@ -20,11 +20,11 @@ "prepare": "node ./scripts/generateVersion.js && node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.1.1", - "@storybook/client-logger": "5.1.1", - "@storybook/core-events": "5.1.1", - "@storybook/router": "5.1.1", - "@storybook/theming": "5.1.1", + "@storybook/channels": "5.2.0-unreleased.0", + "@storybook/client-logger": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/router": "5.2.0-unreleased.0", + "@storybook/theming": "5.2.0-unreleased.0", "core-js": "^3.0.1", "fast-deep-equal": "^2.0.1", "global": "^4.3.2", diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json index 7f16ac9cd3a8..df17808a51ed 100644 --- a/lib/channel-postmessage/package.json +++ b/lib/channel-postmessage/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-postmessage", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "", "keywords": [ "storybook" @@ -21,8 +21,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.1.1", - "@storybook/client-logger": "5.1.1", + "@storybook/channels": "5.2.0-unreleased.0", + "@storybook/client-logger": "5.2.0-unreleased.0", "core-js": "^3.0.1", "global": "^4.3.2", "telejson": "^2.2.1" diff --git a/lib/channel-websocket/package.json b/lib/channel-websocket/package.json index 439aece8b26f..b5e069e699a0 100644 --- a/lib/channel-websocket/package.json +++ b/lib/channel-websocket/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-websocket", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "", "keywords": [ "storybook" @@ -21,7 +21,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.1.1", + "@storybook/channels": "5.2.0-unreleased.0", "core-js": "^3.0.1", "global": "^4.3.2", "json-fn": "^1.1.1" diff --git a/lib/channels/package.json b/lib/channels/package.json index 68f65c751729..1f3c87bbef37 100644 --- a/lib/channels/package.json +++ b/lib/channels/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channels", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "", "keywords": [ "storybook" diff --git a/lib/cli/package.json b/lib/cli/package.json index f61744cbb44d..3235fad74b24 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/cli", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Storybook's CLI - easiest method of adding storybook to your projects", "keywords": [ "cli", @@ -30,7 +30,7 @@ "@babel/core": "^7.4.5", "@babel/preset-env": "^7.4.5", "@babel/register": "^7.0.0", - "@storybook/codemod": "5.1.1", + "@storybook/codemod": "5.2.0-unreleased.0", "chalk": "^2.4.1", "commander": "^2.19.0", "core-js": "^3.0.1", @@ -44,33 +44,33 @@ "update-notifier": "^3.0.0" }, "devDependencies": { - "@storybook/addon-actions": "5.1.1", - "@storybook/addon-centered": "5.1.1", - "@storybook/addon-graphql": "5.1.1", - "@storybook/addon-info": "5.1.1", - "@storybook/addon-knobs": "5.1.1", - "@storybook/addon-links": "5.1.1", - "@storybook/addon-notes": "5.1.1", - "@storybook/addon-options": "5.1.1", - "@storybook/addon-storyshots": "5.1.1", - "@storybook/addons": "5.1.1", - "@storybook/angular": "5.1.1", - "@storybook/channel-postmessage": "5.1.1", - "@storybook/channel-websocket": "5.1.1", - "@storybook/channels": "5.1.1", - "@storybook/ember": "5.1.1", - "@storybook/html": "5.1.1", - "@storybook/marko": "5.1.1", - "@storybook/mithril": "5.1.1", - "@storybook/polymer": "5.1.1", - "@storybook/preact": "5.1.1", - "@storybook/rax": "5.1.1", - "@storybook/react": "5.1.1", - "@storybook/react-native": "5.1.1", - "@storybook/riot": "5.1.1", - "@storybook/svelte": "5.1.1", - "@storybook/ui": "5.1.1", - "@storybook/vue": "5.1.1" + "@storybook/addon-actions": "5.2.0-unreleased.0", + "@storybook/addon-centered": "5.2.0-unreleased.0", + "@storybook/addon-graphql": "5.2.0-unreleased.0", + "@storybook/addon-info": "5.2.0-unreleased.0", + "@storybook/addon-knobs": "5.2.0-unreleased.0", + "@storybook/addon-links": "5.2.0-unreleased.0", + "@storybook/addon-notes": "5.2.0-unreleased.0", + "@storybook/addon-options": "5.2.0-unreleased.0", + "@storybook/addon-storyshots": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/angular": "5.2.0-unreleased.0", + "@storybook/channel-postmessage": "5.2.0-unreleased.0", + "@storybook/channel-websocket": "5.2.0-unreleased.0", + "@storybook/channels": "5.2.0-unreleased.0", + "@storybook/ember": "5.2.0-unreleased.0", + "@storybook/html": "5.2.0-unreleased.0", + "@storybook/marko": "5.2.0-unreleased.0", + "@storybook/mithril": "5.2.0-unreleased.0", + "@storybook/polymer": "5.2.0-unreleased.0", + "@storybook/preact": "5.2.0-unreleased.0", + "@storybook/rax": "5.2.0-unreleased.0", + "@storybook/react": "5.2.0-unreleased.0", + "@storybook/react-native": "5.2.0-unreleased.0", + "@storybook/riot": "5.2.0-unreleased.0", + "@storybook/svelte": "5.2.0-unreleased.0", + "@storybook/ui": "5.2.0-unreleased.0", + "@storybook/vue": "5.2.0-unreleased.0" }, "publishConfig": { "access": "public" diff --git a/lib/client-api/package.json b/lib/client-api/package.json index 57d60746a856..35b5013e530c 100644 --- a/lib/client-api/package.json +++ b/lib/client-api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-api", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Storybook Client API", "keywords": [ "storybook" @@ -20,10 +20,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", - "@storybook/client-logger": "5.1.1", - "@storybook/core-events": "5.1.1", - "@storybook/router": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/client-logger": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/router": "5.2.0-unreleased.0", "common-tags": "^1.8.0", "core-js": "^3.0.1", "eventemitter3": "^3.1.0", diff --git a/lib/client-logger/package.json b/lib/client-logger/package.json index 7dbf636f1e4e..2efd927b72c3 100644 --- a/lib/client-logger/package.json +++ b/lib/client-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-logger", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "", "keywords": [ "storybook" diff --git a/lib/codemod/package.json b/lib/codemod/package.json index 9eadffb5701f..65164f8aa834 100644 --- a/lib/codemod/package.json +++ b/lib/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/codemod", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "A collection of codemod scripts written with JSCodeshift", "keywords": [ "storybook" diff --git a/lib/components/package.json b/lib/components/package.json index da65968875fe..86093a6a420e 100644 --- a/lib/components/package.json +++ b/lib/components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/components", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -21,8 +21,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/client-logger": "5.1.1", - "@storybook/theming": "5.1.1", + "@storybook/client-logger": "5.2.0-unreleased.0", + "@storybook/theming": "5.2.0-unreleased.0", "core-js": "^3.0.1", "global": "^4.3.2", "markdown-to-jsx": "^6.9.1", diff --git a/lib/core-events/package.json b/lib/core-events/package.json index 88eb83200fa8..65cfb33e5614 100644 --- a/lib/core-events/package.json +++ b/lib/core-events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-events", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Event names used in storybook core", "keywords": [ "storybook" diff --git a/lib/core/package.json b/lib/core/package.json index 304510de616f..4ad432f4aadf 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" @@ -25,15 +25,15 @@ "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/preset-env": "^7.4.5", - "@storybook/addons": "5.1.1", - "@storybook/channel-postmessage": "5.1.1", - "@storybook/client-api": "5.1.1", - "@storybook/client-logger": "5.1.1", - "@storybook/core-events": "5.1.1", - "@storybook/node-logger": "5.1.1", - "@storybook/router": "5.1.1", - "@storybook/theming": "5.1.1", - "@storybook/ui": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/channel-postmessage": "5.2.0-unreleased.0", + "@storybook/client-api": "5.2.0-unreleased.0", + "@storybook/client-logger": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/node-logger": "5.2.0-unreleased.0", + "@storybook/router": "5.2.0-unreleased.0", + "@storybook/theming": "5.2.0-unreleased.0", + "@storybook/ui": "5.2.0-unreleased.0", "airbnb-js-shims": "^1 || ^2", "autoprefixer": "^9.4.9", "babel-plugin-add-react-displayname": "^0.0.5", diff --git a/lib/node-logger/package.json b/lib/node-logger/package.json index 28a119f5dbd2..394893e9d444 100644 --- a/lib/node-logger/package.json +++ b/lib/node-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/node-logger", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "", "keywords": [ "storybook" diff --git a/lib/router/package.json b/lib/router/package.json index 4524d2014695..8308f486b757 100644 --- a/lib/router/package.json +++ b/lib/router/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/router", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Core Storybook Router", "keywords": [ "storybook" diff --git a/lib/theming/package.json b/lib/theming/package.json index 3859142f0ca9..5361bdb4e362 100644 --- a/lib/theming/package.json +++ b/lib/theming/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/theming", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -23,7 +23,7 @@ "dependencies": { "@emotion/core": "^10.0.9", "@emotion/styled": "^10.0.7", - "@storybook/client-logger": "5.1.1", + "@storybook/client-logger": "5.2.0-unreleased.0", "common-tags": "^1.8.0", "core-js": "^3.0.1", "deep-object-diff": "^1.1.0", diff --git a/lib/ui/package.json b/lib/ui/package.json index bfeb5a346c44..5e26ff06b0ed 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ui", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "description": "Core Storybook UI", "keywords": [ "storybook" @@ -22,13 +22,13 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.1", - "@storybook/api": "5.1.1", - "@storybook/client-logger": "5.1.1", - "@storybook/components": "5.1.1", - "@storybook/core-events": "5.1.1", - "@storybook/router": "5.1.1", - "@storybook/theming": "5.1.1", + "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/api": "5.2.0-unreleased.0", + "@storybook/client-logger": "5.2.0-unreleased.0", + "@storybook/components": "5.2.0-unreleased.0", + "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/router": "5.2.0-unreleased.0", + "@storybook/theming": "5.2.0-unreleased.0", "copy-to-clipboard": "^3.0.8", "core-js": "^3.0.1", "core-js-pure": "^3.0.1", diff --git a/package.json b/package.json index 41eda81cefce..30003863bddd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/root", - "version": "5.1.1", + "version": "5.2.0-unreleased.0", "private": true, "description": "Storybook is an open source tool for developing UI components in isolation for React, Vue and Angular. It makes building stunning UIs organized and efficient.", "keywords": [ From fed2ffa5e2919220f0508e540b2eae848523fee5 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Wed, 12 Jun 2019 13:36:12 +0200 Subject: [PATCH 056/371] FIX version.ts --- lib/api/src/version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api/src/version.ts b/lib/api/src/version.ts index 1be85a5657c3..26f79de3bc32 100644 --- a/lib/api/src/version.ts +++ b/lib/api/src/version.ts @@ -1 +1 @@ -export const version = '5.1.1'; +export const version = '5.2.0-unreleased.0'; From 59316b9d31b4662342b8efad37cf8306a648930c Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Wed, 12 Jun 2019 21:17:01 +0200 Subject: [PATCH 057/371] FIX versions --- addons/ondevice-knobs/package.json | 2 +- addons/storyshots/storyshots-puppeteer/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/ondevice-knobs/package.json b/addons/ondevice-knobs/package.json index 02663270847b..2ed70641c0dd 100644 --- a/addons/ondevice-knobs/package.json +++ b/addons/ondevice-knobs/package.json @@ -32,7 +32,7 @@ "react-native-switch": "^1.5.0" }, "peerDependencies": { - "@storybook/addon-knobs": "5.1.0-rc.0", + "@storybook/addon-knobs": "5.2.0-unreleased.0", "react": "*", "react-native": "*" }, diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json index 7da9107c997a..e2da7555ea21 100644 --- a/addons/storyshots/storyshots-puppeteer/package.json +++ b/addons/storyshots/storyshots-puppeteer/package.json @@ -30,7 +30,7 @@ "regenerator-runtime": "^0.12.1" }, "peerDependencies": { - "@storybook/addon-storyshots": "5.1.0-rc.0" + "@storybook/addon-storyshots": "5.2.0-unreleased.0" }, "publishConfig": { "access": "public" From b64c2a4c1eafd2cb3d2d0fbe719846de2583abdd Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Wed, 12 Jun 2019 13:38:36 +0200 Subject: [PATCH 058/371] CHANGE netlify so it only builds docs --- netlify.toml | 4 +- scripts/netlify-build.sh | 117 --------------------------------------- 2 files changed, 2 insertions(+), 119 deletions(-) delete mode 100755 scripts/netlify-build.sh diff --git a/netlify.toml b/netlify.toml index a2251b21abba..3272e1a44e5e 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,6 @@ [build] - publish = "netlify-build" - command = "bash scripts/netlify-build.sh" + publish = "docs/public" + command = "yarn bootstrap --docs --core && yarn docs:build" [build.environment] NODE_VERSION = "8" YARN_VERSION = "1.3.2" diff --git a/scripts/netlify-build.sh b/scripts/netlify-build.sh deleted file mode 100755 index 06098fc89cbb..000000000000 --- a/scripts/netlify-build.sh +++ /dev/null @@ -1,117 +0,0 @@ -#!/bin/sh - -# Make sure to set $BUILD_CONTEXT in the Netlify "Deploy Settings" -echo "Building for Netlify. BUILD_CONTEXT: $BUILD_CONTEXT" - -# Fixes -npm i -g process-nextick-args util-deprecate gauge - -yarn -yarn bootstrap --core - -if [ "$BUILD_CONTEXT" = "DOCS" ]; then - pushd docs - yarn install - popd - yarn docs:build - mv docs/public netlify-build -elif [ "$BUILD_CONTEXT" = "CRA" ]; then - pushd examples/cra-kitchen-sink - yarn add tapable # quirk with netlify build instance - yarn build-storybook --quiet - mv storybook-static ../../netlify-build - popd -elif [ "$BUILD_CONTEXT" = "CRA_TS" ]; then - pushd examples/cra-ts-kitchen-sink - yarn add tapable # quirk with netlify build instance - yarn build-storybook --quiet - mv storybook-static ../../netlify-build - popd -elif [ "$BUILD_CONTEXT" = "CRA_REACT15" ]; then - pushd examples/cra-react15 - yarn add tapable # quirk with netlify build instance - yarn build-storybook --quiet - mv storybook-static ../../netlify-build - popd -elif [ "$BUILD_CONTEXT" = "VUE" ]; then - echo "netlify-build Vue examples" - pushd examples/vue-kitchen-sink - yarn - yarn build-storybook --quiet - mv storybook-static ../../netlify-build - popd -elif [ "$BUILD_CONTEXT" = "SVELTE" ]; then - echo "netlify-build Svelte examples" - pushd examples/svelte-kitchen-sink - yarn - yarn build-storybook --quiet - mv storybook-static ../../netlify-build - popd -elif [ "$BUILD_CONTEXT" = "ANGULAR" ]; then - echo "netlify-build Angular examples" - pushd examples/angular-cli - yarn - yarn build-storybook --quiet - mv storybook-static ../../netlify-build - popd -elif [ "$BUILD_CONTEXT" = "EMBER" ]; then - echo "netlify-build Ember examples" - pushd examples/ember-cli - yarn - yarn build-storybook --quiet - mv storybook-static ../../netlify-build - popd -elif [ "$BUILD_CONTEXT" = "POLYMER" ]; then - echo "netlify-build Polymer examples" - pushd examples/polymer-cli - yarn - yarn build-storybook --quiet - mv storybook-static ../../netlify-build - popd -elif [ "$BUILD_CONTEXT" = "PREACT" ]; then - echo "netlify-build Preact examples" - pushd examples/preact-kitchen-sink - yarn - yarn build-storybook --quiet - mv storybook-static ../../netlify-build - popd -elif [ "$BUILD_CONTEXT" = "MITHRIL" ]; then - echo "netlify-build Mithril examples" - pushd examples/mithril-kitchen-sink - yarn - yarn build-storybook --quiet - mv storybook-static ../../netlify-build - popd -elif [ "$BUILD_CONTEXT" = "MARKO" ]; then - echo "netlify-build Marko examples" - pushd examples/marko-cli - yarn - yarn build-storybook --quiet - mv storybook-static ../../netlify-build - popd -elif [ "$BUILD_CONTEXT" = "HTML" ]; then - echo "netlify-build HTML examples" - pushd examples/html-kitchen-sink - yarn - yarn build-storybook --quiet - mv storybook-static ../../netlify-build - popd -elif [ "$BUILD_CONTEXT" = "OFFICIAL" ]; then - echo "netlify-build official examples" - pushd examples/official-storybook - yarn - yarn build-storybook --quiet - mv storybook-static ../../netlify-build - popd -elif [ "$BUILD_CONTEXT" = "RIOT" ]; then - echo "netlify-build riot examples" - pushd examples/riot-kitchen-sink - yarn - yarn build-storybook --quiet - mv storybook-static ../../netlify-build - popd -else - RED='\033[0;31m' - NOCOLOR='\033[0m' - echo "Unrecognized BUILD_CONTEXT \"${RED}$BUILD_CONTEXT${NOCOLOR}\"" 1>&2 -fi From a226c2d071c6cda36d2bbc52d27c1cdbefe98ff6 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Wed, 12 Jun 2019 21:20:55 +0200 Subject: [PATCH 059/371] Use published version for docs --- docs/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/package.json b/docs/package.json index d87c8666ff65..dd17b5d3de51 100644 --- a/docs/package.json +++ b/docs/package.json @@ -15,8 +15,8 @@ "serve": "gatsby serve" }, "dependencies": { - "@storybook/components": "5.2.0-unreleased.0", - "@storybook/theming": "5.2.0-unreleased.0", + "@storybook/components": "5.1.3", + "@storybook/theming": "5.1.3", "babel-loader": "^6.4.1", "babel-plugin-styled-components": "^1.10.0", "bootstrap": "^4.3.1", From 1fddb1f1dca902e05725eb4d0dc62f07fd6b5fde Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Wed, 12 Jun 2019 21:33:40 +0200 Subject: [PATCH 060/371] FIX lockfile for docs --- docs/yarn.lock | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/yarn.lock b/docs/yarn.lock index 77f80416cce6..88064121dbba 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -173,20 +173,20 @@ dependencies: "@ndhoule/map" "^2.0.1" -"@storybook/client-logger@5.1.1": - version "5.1.1" - resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-5.1.1.tgz#e62a214a801079e75b4b101afd73cc66c262701d" - integrity sha512-I0j9tGyjQpLC7dKhQuotJzaAl9j6++hJdUT5ieoqVIC4Hya15wIyc63lpa6ugXQLeRpW73x72CTFV8K+132Qow== +"@storybook/client-logger@5.1.3": + version "5.1.3" + resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-5.1.3.tgz#6d9f45fdac7d3f2f65d1238c35df11170c2f8b68" + integrity sha512-/86NGA7NPsAktpA0lSnw0NhgdqS7Grz08wE7Paz+qLDj1AxnttTvMZctWJ8bLAa3EeJ9wHXGak854CmGiVFnWA== dependencies: core-js "^3.0.1" -"@storybook/components@5.1.1": - version "5.1.1" - resolved "https://registry.yarnpkg.com/@storybook/components/-/components-5.1.1.tgz#4ca7343009ebd92cdfb79cfa373628d6f3bb12d0" - integrity sha512-17rqqxant4zqCNxcESLZR0yAhz1mGHDz6THj8fz5rUncEnSrPYIcdvRKIfeao8yDaiK1Bh48jAjSPdfUO8BngA== +"@storybook/components@5.1.3": + version "5.1.3" + resolved "https://registry.yarnpkg.com/@storybook/components/-/components-5.1.3.tgz#9c6898f8f66bf6b9dfdb3ecca73370f2d799e546" + integrity sha512-lM+iSdIl/UlmPlgH3vqo8NhMAdPUrWkgp40CVADfXsM6Yxai/23gpg8/HEoHiU5hFjNxowJUt76gTvwt9ak+gg== dependencies: - "@storybook/client-logger" "5.1.1" - "@storybook/theming" "5.1.1" + "@storybook/client-logger" "5.1.3" + "@storybook/theming" "5.1.3" core-js "^3.0.1" global "^4.3.2" markdown-to-jsx "^6.9.1" @@ -204,14 +204,14 @@ recompose "^0.30.0" simplebar-react "^1.0.0-alpha.6" -"@storybook/theming@5.1.1": - version "5.1.1" - resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-5.1.1.tgz#605572b650049457dbd102aa5686933ff2202ace" - integrity sha512-70Pf6XZnTI4wniItQxIhAOQjVi7fDRzR3xZUIBC+pEatbKD+OoyFOALwkww5uW66jeWBYC5AhRPEHWo7ylcXUQ== +"@storybook/theming@5.1.3": + version "5.1.3" + resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-5.1.3.tgz#705654392b020ef5654c6c500f4398cc7f067653" + integrity sha512-ScBAEMkpwY6pHPuD7SYqAwbQ3M4cOEYY2340HtLNR53M6EJ2mcd87rH2kwpTEgTzeA0VuUln6WXEoBz3WRBLYA== dependencies: "@emotion/core" "^10.0.9" "@emotion/styled" "^10.0.7" - "@storybook/client-logger" "5.1.1" + "@storybook/client-logger" "5.1.3" common-tags "^1.8.0" core-js "^3.0.1" deep-object-diff "^1.1.0" From da1a64c1c2a98c9413b62c8dc833d8775e87ae58 Mon Sep 17 00:00:00 2001 From: Jimmy Somsanith Date: Wed, 12 Jun 2019 21:37:18 +0200 Subject: [PATCH 061/371] Make getStoryPanels a full api method --- lib/api/src/modules/addons.ts | 5 +++-- lib/api/src/tests/addons.test.js | 27 ++++++++++++++++++++------- lib/ui/src/containers/panel.js | 2 +- 3 files changed, 24 insertions(+), 10 deletions(-) diff --git a/lib/api/src/modules/addons.ts b/lib/api/src/modules/addons.ts index 67e06a9ce14a..f8732bb1581f 100644 --- a/lib/api/src/modules/addons.ts +++ b/lib/api/src/modules/addons.ts @@ -42,7 +42,7 @@ interface Panels { export interface SubAPI { getElements: (type: Types) => Collection; getPanels: () => Collection; - getPanelsForStory: (storyParameters: StoryParameters) => Collection; + getStoryPanels: (storyId: string) => Collection; getSelectedPanel: () => string; setSelectedPanel: (panelName: string) => void; } @@ -68,7 +68,8 @@ export default ({ provider, store }: Module) => { const api: SubAPI = { getElements: type => provider.getElements(type), getPanels: () => api.getElements(types.PANEL), - getPanelsForStory: (storyParameters: StoryParameters) => { + getStoryPanels: storyId => { + const storyParameters = provider.getParameters(storyId); const panels = api.getPanels(); if (!panels || !storyParameters) { return panels; diff --git a/lib/api/src/tests/addons.test.js b/lib/api/src/tests/addons.test.js index 0053f44471f4..95a016a71508 100644 --- a/lib/api/src/tests/addons.test.js +++ b/lib/api/src/tests/addons.test.js @@ -58,13 +58,17 @@ describe('Addons API', () => { }); }); - describe('#getPanelsForStory', () => { + describe('#getStoryPanels', () => { it('should return all panels by default', () => { // given - const { api } = initAddons({ provider, store }); + const providerWithStoryParameters = { + ...provider, + getParameters: () => {}, + }; + const { api } = initAddons({ provider: providerWithStoryParameters, store }); // when - const filteredPanels = api.getPanelsForStory(); + const filteredPanels = api.getStoryPanels(); // then expect(filteredPanels).toBe(PANELS); @@ -72,13 +76,22 @@ describe('Addons API', () => { it('should filter disabled addons', () => { // given - const { api } = initAddons({ provider, store }); - const storyParameters = { - a11y: { disabled: true }, + const storyId = 'story 1'; + const providerWithStoryParameters = { + ...provider, + getParameters: id => { + if (id === storyId) { + return { + a11y: { disabled: true }, + }; + } + return null; + }, }; + const { api } = initAddons({ provider: providerWithStoryParameters, store }); // when - const filteredPanels = api.getPanelsForStory(storyParameters); + const filteredPanels = api.getStoryPanels(storyId); // then expect(filteredPanels).toEqual({ diff --git a/lib/ui/src/containers/panel.js b/lib/ui/src/containers/panel.js index 6e6a5ceaafb7..fcf2e7eca281 100644 --- a/lib/ui/src/containers/panel.js +++ b/lib/ui/src/containers/panel.js @@ -11,7 +11,7 @@ const createPanelActions = memoize(1)(api => ({ })); const mapper = ({ state, api }) => ({ - panels: api.getPanelsForStory(api.getParameters(state.storyId)), + panels: api.getStoryPanels(state.storyId), selectedPanel: api.getSelectedPanel(), panelPosition: state.layout.panelPosition, actions: createPanelActions(api), From 1d10ab1117dee91c269bc6a2de6d309bef90ed5f Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 13 Jun 2019 03:59:57 +0800 Subject: [PATCH 062/371] fix typo --- CODE_OF_CONDUCT.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 7d9ac3248c0a..988567141411 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -39,7 +39,7 @@ Instances of abusive, harassing, or otherwise unacceptable behavior may be repor Norbert de Langen ~ @ndelangen - `ndelangen@me.com` Igor Davydkin ~ @igordv - `davydkin.igor@gmail.com` Tom Coleman ~ @tmeasday - `tom@thesnail.org` -Micheal Shilman ~ @shilman - `michael@lab80.co` +Michael Shilman ~ @shilman - `michael@lab80.co` Philip Riabchun ~ @hypnosphi - `talpa@yandex.ru` The steering committee will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. From 50486926cef3e05fe6bc9140965a5ea22b592cd4 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Wed, 12 Jun 2019 23:05:07 +0200 Subject: [PATCH 063/371] simplify docs netlify command --- netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index 3272e1a44e5e..359e4c9a27f0 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,6 @@ [build] publish = "docs/public" - command = "yarn bootstrap --docs --core && yarn docs:build" + command = "cd docs && yarn && yarn build && cd .." [build.environment] NODE_VERSION = "8" YARN_VERSION = "1.3.2" From 78722470216bf193ddb672f40afc150599297e1c Mon Sep 17 00:00:00 2001 From: Jimmy Somsanith Date: Wed, 12 Jun 2019 23:05:17 +0200 Subject: [PATCH 064/371] Fix type --- lib/addons/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/addons/src/index.ts b/lib/addons/src/index.ts index 046b59d403cc..c0ccd03ed4de 100644 --- a/lib/addons/src/index.ts +++ b/lib/addons/src/index.ts @@ -24,6 +24,7 @@ export interface Addon { route?: (routeOptions: RouteOptions) => string; match?: (matchOptions: MatchOptions) => boolean; render: (renderOptions: RenderOptions) => ReactElement; + paramKey: string; } export type Loader = (api: API) => void; From 404f5901a66342fd28a242161cee6194711fcca0 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 13 Jun 2019 00:38:52 +0200 Subject: [PATCH 065/371] FIX sidebar loading visibility --- lib/ui/src/components/sidebar/SidebarItem.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/ui/src/components/sidebar/SidebarItem.js b/lib/ui/src/components/sidebar/SidebarItem.js index 6384ba727142..719cfe004677 100644 --- a/lib/ui/src/components/sidebar/SidebarItem.js +++ b/lib/ui/src/components/sidebar/SidebarItem.js @@ -86,6 +86,7 @@ export const Item = styled.div( }), ({ theme, loading }) => loading && { + '&& > svg + span': { background: theme.color.medium }, '&& > *': theme.animation.inlineGlow, '&& > span': { borderColor: 'transparent' }, } @@ -93,12 +94,10 @@ export const Item = styled.div( export default function SidebarItem({ name, - depth, isComponent, isLeaf, isExpanded, isSelected, - loading, ...props }) { let iconName; @@ -113,8 +112,6 @@ export default function SidebarItem({ return ( From fbee3cdd5f64d4e082d506e33806da8bad15a995 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 13 Jun 2019 00:50:44 +0200 Subject: [PATCH 066/371] CHANGE versions again, sorry, CLI tests use published version, we should really fix that! --- addons/a11y/package.json | 14 ++--- addons/actions/package.json | 12 ++-- addons/backgrounds/package.json | 14 ++--- addons/centered/package.json | 2 +- addons/contexts/package.json | 10 ++-- addons/cssresources/package.json | 10 ++-- addons/design-assets/package.json | 14 ++--- addons/events/package.json | 8 +-- addons/google-analytics/package.json | 6 +- addons/graphql/package.json | 6 +- addons/info/package.json | 10 ++-- addons/jest/package.json | 12 ++-- addons/knobs/package.json | 12 ++-- addons/links/package.json | 8 +-- addons/notes/package.json | 16 ++--- addons/ondevice-actions/package.json | 8 +-- addons/ondevice-backgrounds/package.json | 4 +- addons/ondevice-knobs/package.json | 8 +-- addons/ondevice-notes/package.json | 4 +- addons/options/package.json | 4 +- addons/queryparams/package.json | 14 ++--- .../storyshots/storyshots-core/package.json | 4 +- .../storyshots-puppeteer/package.json | 8 +-- addons/storysource/package.json | 10 ++-- addons/viewport/package.json | 12 ++-- app/angular/package.json | 6 +- app/ember/package.json | 4 +- app/html/package.json | 4 +- app/marko/package.json | 4 +- app/mithril/package.json | 4 +- app/polymer/package.json | 4 +- app/preact/package.json | 4 +- app/rax/package.json | 4 +- app/react-native-server/package.json | 14 ++--- app/react-native/package.json | 12 ++-- app/react/package.json | 6 +- app/riot/package.json | 4 +- app/svelte/package.json | 4 +- app/vue/package.json | 4 +- dev-kits/addon-parameter/package.json | 14 ++--- dev-kits/addon-roundtrip/package.json | 14 ++--- docs/package.json | 4 +- docs/src/versions/latest.json | 2 +- .../crna-kitchen-sink/package.json | 18 +++--- examples/angular-cli/package.json | 28 ++++----- examples/cra-kitchen-sink/package.json | 34 +++++------ examples/cra-react15/package.json | 10 ++-- examples/cra-ts-kitchen-sink/package.json | 14 ++--- examples/dev-kits/package.json | 18 +++--- examples/ember-cli/package.json | 26 ++++----- examples/html-kitchen-sink/package.json | 36 ++++++------ examples/marko-cli/package.json | 16 ++--- examples/mithril-kitchen-sink/package.json | 28 ++++----- examples/official-storybook/package.json | 54 ++++++++--------- examples/polymer-cli/package.json | 22 +++---- examples/preact-kitchen-sink/package.json | 30 +++++----- examples/rax-kitchen-sink/package.json | 34 +++++------ examples/riot-kitchen-sink/package.json | 28 ++++----- examples/svelte-kitchen-sink/package.json | 28 ++++----- examples/vue-kitchen-sink/package.json | 30 +++++----- lerna.json | 2 +- lib/addons/package.json | 8 +-- lib/api/package.json | 12 ++-- lib/channel-postmessage/package.json | 6 +- lib/channel-websocket/package.json | 4 +- lib/channels/package.json | 2 +- lib/cli/package.json | 58 +++++++++---------- lib/client-api/package.json | 10 ++-- lib/client-logger/package.json | 2 +- lib/codemod/package.json | 2 +- lib/components/package.json | 6 +- lib/core-events/package.json | 2 +- lib/core/package.json | 20 +++---- lib/node-logger/package.json | 2 +- lib/router/package.json | 2 +- lib/theming/package.json | 4 +- lib/ui/package.json | 16 ++--- package.json | 2 +- 78 files changed, 478 insertions(+), 478 deletions(-) diff --git a/addons/a11y/package.json b/addons/a11y/package.json index f6c9dabf6128..6462f86c1a86 100644 --- a/addons/a11y/package.json +++ b/addons/a11y/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-a11y", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "a11y addon for storybook", "keywords": [ "a11y", @@ -26,12 +26,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/api": "5.2.0-unreleased.0", - "@storybook/client-logger": "5.2.0-unreleased.0", - "@storybook/components": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", - "@storybook/theming": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/api": "5.2.0-alpha.23", + "@storybook/client-logger": "5.2.0-alpha.23", + "@storybook/components": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", + "@storybook/theming": "5.2.0-alpha.23", "axe-core": "^3.2.2", "common-tags": "^1.8.0", "core-js": "^3.0.1", diff --git a/addons/actions/package.json b/addons/actions/package.json index 670f225bf37e..9231d6135f48 100644 --- a/addons/actions/package.json +++ b/addons/actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-actions", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Action Logger addon for storybook", "keywords": [ "storybook" @@ -21,11 +21,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/api": "5.2.0-unreleased.0", - "@storybook/components": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", - "@storybook/theming": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/api": "5.2.0-alpha.23", + "@storybook/components": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", + "@storybook/theming": "5.2.0-alpha.23", "core-js": "^3.0.1", "fast-deep-equal": "^2.0.1", "global": "^4.3.2", diff --git a/addons/backgrounds/package.json b/addons/backgrounds/package.json index 3e7be73e5979..273d598a0d18 100644 --- a/addons/backgrounds/package.json +++ b/addons/backgrounds/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-backgrounds", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "A storybook addon to show different backgrounds for your preview", "keywords": [ "addon", @@ -25,12 +25,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/api": "5.2.0-unreleased.0", - "@storybook/client-logger": "5.2.0-unreleased.0", - "@storybook/components": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", - "@storybook/theming": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/api": "5.2.0-alpha.23", + "@storybook/client-logger": "5.2.0-alpha.23", + "@storybook/components": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", + "@storybook/theming": "5.2.0-alpha.23", "core-js": "^3.0.1", "memoizerific": "^1.11.3", "react": "^16.8.3", diff --git a/addons/centered/package.json b/addons/centered/package.json index f5a9cb21aaf9..da975b3c42a3 100644 --- a/addons/centered/package.json +++ b/addons/centered/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-centered", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Storybook decorator to center components", "keywords": [ "addon", diff --git a/addons/contexts/package.json b/addons/contexts/package.json index 24751544e9b5..4796b46bb4f5 100644 --- a/addons/contexts/package.json +++ b/addons/contexts/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-contexts", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Storybook Addon Contexts", "keywords": [ "storybook", @@ -28,10 +28,10 @@ "dev:check-types": "tsc --noEmit" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/api": "5.2.0-unreleased.0", - "@storybook/components": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0" + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/api": "5.2.0-alpha.23", + "@storybook/components": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23" }, "peerDependencies": { "global": "*", diff --git a/addons/cssresources/package.json b/addons/cssresources/package.json index aa17a9af4837..2acdafdd1736 100644 --- a/addons/cssresources/package.json +++ b/addons/cssresources/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-cssresources", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "A storybook addon to switch between css resources at runtime for your story", "keywords": [ "addon", @@ -25,10 +25,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/api": "5.2.0-unreleased.0", - "@storybook/components": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/api": "5.2.0-alpha.23", + "@storybook/components": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", "core-js": "^3.0.1", "global": "^4.3.2", "react": "^16.8.3" diff --git a/addons/design-assets/package.json b/addons/design-assets/package.json index 7d48245248f6..659b71f40534 100644 --- a/addons/design-assets/package.json +++ b/addons/design-assets/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-design-assets", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Design asset preview for storybook", "keywords": [ "addon", @@ -27,12 +27,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/api": "5.2.0-unreleased.0", - "@storybook/client-logger": "5.2.0-unreleased.0", - "@storybook/components": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", - "@storybook/theming": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/api": "5.2.0-alpha.23", + "@storybook/client-logger": "5.2.0-alpha.23", + "@storybook/components": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", + "@storybook/theming": "5.2.0-alpha.23", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/addons/events/package.json b/addons/events/package.json index bb6cd5d43dcc..9857a865a34a 100644 --- a/addons/events/package.json +++ b/addons/events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-events", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Add events to your Storybook stories.", "keywords": [ "addon", @@ -24,9 +24,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", - "@storybook/theming": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", + "@storybook/theming": "5.2.0-alpha.23", "core-js": "^3.0.1", "format-json": "^1.0.3", "prop-types": "^15.7.2", diff --git a/addons/google-analytics/package.json b/addons/google-analytics/package.json index 54e32ed12cf0..8597020c20ff 100644 --- a/addons/google-analytics/package.json +++ b/addons/google-analytics/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-google-analytics", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Storybook addon for google analytics", "keywords": [ "addon", @@ -20,8 +20,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", "core-js": "^3.0.1", "global": "^4.3.2", "react-ga": "^2.5.7" diff --git a/addons/graphql/package.json b/addons/graphql/package.json index 4c88b163dca3..e4a38145ee88 100644 --- a/addons/graphql/package.json +++ b/addons/graphql/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-graphql", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Storybook addon to display the GraphiQL IDE", "keywords": [ "addon", @@ -22,8 +22,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/api": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/api": "5.2.0-alpha.23", "core-js": "^3.0.1", "global": "^4.3.2", "graphiql": "^0.13.0", diff --git a/addons/info/package.json b/addons/info/package.json index 775e80c0b4fd..1dd2b8e3a6fd 100644 --- a/addons/info/package.json +++ b/addons/info/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-info", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "A Storybook addon to show additional information for your stories.", "keywords": [ "addon", @@ -22,10 +22,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/client-logger": "5.2.0-unreleased.0", - "@storybook/components": "5.2.0-unreleased.0", - "@storybook/theming": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/client-logger": "5.2.0-alpha.23", + "@storybook/components": "5.2.0-alpha.23", + "@storybook/theming": "5.2.0-alpha.23", "core-js": "^3.0.1", "global": "^4.3.2", "marksy": "^7.0.0", diff --git a/addons/jest/package.json b/addons/jest/package.json index 254d62ceba2a..3997f1a073d1 100644 --- a/addons/jest/package.json +++ b/addons/jest/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-jest", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "React storybook addon that show component jest report", "keywords": [ "addon", @@ -28,11 +28,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/api": "5.2.0-unreleased.0", - "@storybook/components": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", - "@storybook/theming": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/api": "5.2.0-alpha.23", + "@storybook/components": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", + "@storybook/theming": "5.2.0-alpha.23", "core-js": "^3.0.1", "global": "^4.3.2", "react": "^16.8.3", diff --git a/addons/knobs/package.json b/addons/knobs/package.json index c4b0525751ed..0d282c2187dc 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-knobs", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Storybook Addon Prop Editor Component", "keywords": [ "addon", @@ -22,11 +22,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/client-api": "5.2.0-unreleased.0", - "@storybook/components": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", - "@storybook/theming": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/client-api": "5.2.0-alpha.23", + "@storybook/components": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", + "@storybook/theming": "5.2.0-alpha.23", "copy-to-clipboard": "^3.0.8", "core-js": "^3.0.1", "escape-html": "^1.0.3", diff --git a/addons/links/package.json b/addons/links/package.json index 04ff1dc4dbc0..520f10cb7faf 100644 --- a/addons/links/package.json +++ b/addons/links/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-links", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Story Links addon for storybook", "keywords": [ "addon", @@ -22,9 +22,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", - "@storybook/router": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", + "@storybook/router": "5.2.0-alpha.23", "common-tags": "^1.8.0", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/addons/notes/package.json b/addons/notes/package.json index d5cbe7a5e076..acf676981449 100644 --- a/addons/notes/package.json +++ b/addons/notes/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-notes", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Write notes for your Storybook stories.", "keywords": [ "addon", @@ -23,13 +23,13 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/api": "5.2.0-unreleased.0", - "@storybook/client-logger": "5.2.0-unreleased.0", - "@storybook/components": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", - "@storybook/router": "5.2.0-unreleased.0", - "@storybook/theming": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/api": "5.2.0-alpha.23", + "@storybook/client-logger": "5.2.0-alpha.23", + "@storybook/components": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", + "@storybook/router": "5.2.0-alpha.23", + "@storybook/theming": "5.2.0-alpha.23", "core-js": "^3.0.1", "global": "^4.3.2", "markdown-to-jsx": "^6.9.3", diff --git a/addons/ondevice-actions/package.json b/addons/ondevice-actions/package.json index 5bdbcdaa5136..e1c5743b8664 100644 --- a/addons/ondevice-actions/package.json +++ b/addons/ondevice-actions/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-ondevice-actions", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Action Logger addon for react-native storybook", "keywords": [ "storybook" @@ -19,13 +19,13 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", "core-js": "^2.5.7", "fast-deep-equal": "^2.0.1" }, "devDependencies": { - "@storybook/addon-actions": "5.2.0-unreleased.0" + "@storybook/addon-actions": "5.2.0-alpha.23" }, "peerDependencies": { "@storybook/addon-actions": "*", diff --git a/addons/ondevice-backgrounds/package.json b/addons/ondevice-backgrounds/package.json index 37ea02fb9750..fb008630355a 100644 --- a/addons/ondevice-backgrounds/package.json +++ b/addons/ondevice-backgrounds/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-ondevice-backgrounds", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "A react-native storybook addon to show different backgrounds for your preview", "keywords": [ "addon", @@ -24,7 +24,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", "core-js": "^3.0.1", "prop-types": "^15.7.2" }, diff --git a/addons/ondevice-knobs/package.json b/addons/ondevice-knobs/package.json index 2ed70641c0dd..fbab2758ad0f 100644 --- a/addons/ondevice-knobs/package.json +++ b/addons/ondevice-knobs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-ondevice-knobs", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Display storybook story knobs on your deviced.", "keywords": [ "addon", @@ -21,8 +21,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", "core-js": "^3.0.1", "deep-equal": "^1.0.1", "prop-types": "^15.7.2", @@ -32,7 +32,7 @@ "react-native-switch": "^1.5.0" }, "peerDependencies": { - "@storybook/addon-knobs": "5.2.0-unreleased.0", + "@storybook/addon-knobs": "5.2.0-alpha.23", "react": "*", "react-native": "*" }, diff --git a/addons/ondevice-notes/package.json b/addons/ondevice-notes/package.json index db042a2c85c2..2f83a8ae86ad 100644 --- a/addons/ondevice-notes/package.json +++ b/addons/ondevice-notes/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-ondevice-notes", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Write notes for your react-native Storybook stories.", "keywords": [ "addon", @@ -20,7 +20,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", "core-js": "^3.0.1", "prop-types": "^15.7.2", "react-native-simple-markdown": "^1.1.0" diff --git a/addons/options/package.json b/addons/options/package.json index 4f7442a31f2a..c16a073f1954 100644 --- a/addons/options/package.json +++ b/addons/options/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-options", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Options addon for storybook", "keywords": [ "addon", @@ -22,7 +22,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", "core-js": "^3.0.1", "util-deprecate": "^1.0.2" }, diff --git a/addons/queryparams/package.json b/addons/queryparams/package.json index 12d85468efb8..854adf15c508 100644 --- a/addons/queryparams/package.json +++ b/addons/queryparams/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-queryparams", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "parameter addon for storybook", "keywords": [ "addon", @@ -23,12 +23,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/api": "5.2.0-unreleased.0", - "@storybook/client-logger": "5.2.0-unreleased.0", - "@storybook/components": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", - "@storybook/theming": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/api": "5.2.0-alpha.23", + "@storybook/client-logger": "5.2.0-alpha.23", + "@storybook/components": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", + "@storybook/theming": "5.2.0-alpha.23", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/addons/storyshots/storyshots-core/package.json b/addons/storyshots/storyshots-core/package.json index 80105b9f0e6b..fd0354d15b3d 100644 --- a/addons/storyshots/storyshots-core/package.json +++ b/addons/storyshots/storyshots-core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.", "keywords": [ "addon", @@ -25,7 +25,7 @@ "storybook": "start-storybook -p 6006" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", "core-js": "^3.0.1", "glob": "^7.1.3", "global": "^4.3.2", diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json index e2da7555ea21..10142f3faa38 100644 --- a/addons/storyshots/storyshots-puppeteer/package.json +++ b/addons/storyshots/storyshots-puppeteer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storyshots-puppeteer", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Image snappshots addition to StoryShots base on puppeteer", "keywords": [ "addon", @@ -22,15 +22,15 @@ "prepare": "node ../../../scripts/prepare.js" }, "dependencies": { - "@storybook/node-logger": "5.2.0-unreleased.0", - "@storybook/router": "5.2.0-unreleased.0", + "@storybook/node-logger": "5.2.0-alpha.23", + "@storybook/router": "5.2.0-alpha.23", "core-js": "^3.0.1", "jest-image-snapshot": "^2.8.2", "puppeteer": "^1.12.2", "regenerator-runtime": "^0.12.1" }, "peerDependencies": { - "@storybook/addon-storyshots": "5.2.0-unreleased.0" + "@storybook/addon-storyshots": "5.2.0-alpha.23" }, "publishConfig": { "access": "public" diff --git a/addons/storysource/package.json b/addons/storysource/package.json index c7e83d29e257..5acbe8de1a9e 100644 --- a/addons/storysource/package.json +++ b/addons/storysource/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-storysource", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Stories addon for storybook", "keywords": [ "addon", @@ -22,10 +22,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/components": "5.2.0-unreleased.0", - "@storybook/router": "5.2.0-unreleased.0", - "@storybook/theming": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/components": "5.2.0-alpha.23", + "@storybook/router": "5.2.0-alpha.23", + "@storybook/theming": "5.2.0-alpha.23", "core-js": "^3.0.1", "estraverse": "^4.2.0", "loader-utils": "^1.2.3", diff --git a/addons/viewport/package.json b/addons/viewport/package.json index 910212986952..a49570604932 100644 --- a/addons/viewport/package.json +++ b/addons/viewport/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-viewport", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Storybook addon to change the viewport size to mobile", "keywords": [ "addon", @@ -21,11 +21,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/client-logger": "5.2.0-unreleased.0", - "@storybook/components": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", - "@storybook/theming": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/client-logger": "5.2.0-alpha.23", + "@storybook/components": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", + "@storybook/theming": "5.2.0-alpha.23", "core-js": "^3.0.1", "global": "^4.3.2", "memoizerific": "^1.11.3", diff --git a/app/angular/package.json b/app/angular/package.json index 8d3ea8c6354b..a20e71f389b6 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/angular", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -26,8 +26,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.2.0-unreleased.0", - "@storybook/node-logger": "5.2.0-unreleased.0", + "@storybook/core": "5.2.0-alpha.23", + "@storybook/node-logger": "5.2.0-alpha.23", "angular2-template-loader": "^0.6.2", "core-js": "^3.0.1", "fork-ts-checker-webpack-plugin": "^1.3.4", diff --git a/app/ember/package.json b/app/ember/package.json index 3d6f0a8fa537..462b200a39a6 100644 --- a/app/ember/package.json +++ b/app/ember/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ember", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.", "homepage": "https://github.com/storybookjs/storybook/tree/master/app/ember", "bugs": { @@ -24,7 +24,7 @@ }, "dependencies": { "@ember/test-helpers": "^1.5.0", - "@storybook/core": "5.2.0-unreleased.0", + "@storybook/core": "5.2.0-alpha.23", "common-tags": "^1.8.0", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/app/html/package.json b/app/html/package.json index e42de31509f5..c59d4a049e22 100644 --- a/app/html/package.json +++ b/app/html/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/html", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.2.0-unreleased.0", + "@storybook/core": "5.2.0-alpha.23", "common-tags": "^1.8.0", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/app/marko/package.json b/app/marko/package.json index f5ff0d84a975..324ab8edded0 100644 --- a/app/marko/package.json +++ b/app/marko/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/marko", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.2.0-unreleased.0", + "@storybook/core": "5.2.0-alpha.23", "common-tags": "^1.8.0", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/app/mithril/package.json b/app/mithril/package.json index 06035b7e77dc..732e6ad3ee8c 100644 --- a/app/mithril/package.json +++ b/app/mithril/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/mithril", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Storybook for Mithril: Develop Mithril Component in isolation.", "keywords": [ "storybook" @@ -27,7 +27,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/core": "5.2.0-unreleased.0", + "@storybook/core": "5.2.0-alpha.23", "common-tags": "^1.8.0", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/app/polymer/package.json b/app/polymer/package.json index 4dfcb425587f..9904ee959114 100644 --- a/app/polymer/package.json +++ b/app/polymer/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/polymer", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.2.0-unreleased.0", + "@storybook/core": "5.2.0-alpha.23", "@webcomponents/webcomponentsjs": "^1.2.0", "common-tags": "^1.8.0", "core-js": "^3.0.1", diff --git a/app/preact/package.json b/app/preact/package.json index 1a554163b296..c673df82f16e 100644 --- a/app/preact/package.json +++ b/app/preact/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/preact", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Storybook for Preact: Develop Preact Component in isolation.", "keywords": [ "storybook" @@ -27,7 +27,7 @@ }, "dependencies": { "@babel/plugin-transform-react-jsx": "^7.3.0", - "@storybook/core": "5.2.0-unreleased.0", + "@storybook/core": "5.2.0-alpha.23", "common-tags": "^1.8.0", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/app/rax/package.json b/app/rax/package.json index 16a90ded1ce1..f76c26c8a9fc 100644 --- a/app/rax/package.json +++ b/app/rax/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/rax", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Storybook for Rax: Develop Rax Component in isolation.", "keywords": [ "storybook", @@ -28,7 +28,7 @@ }, "dependencies": { "babel-preset-rax": "^1.0.0-beta.0", - "@storybook/core": "5.2.0-unreleased.0", + "@storybook/core": "5.2.0-alpha.23", "common-tags": "^1.8.0", "core-js": "^2.6.2", "global": "^4.3.2", diff --git a/app/react-native-server/package.json b/app/react-native-server/package.json index f49bcc32959c..17acc5504495 100644 --- a/app/react-native-server/package.json +++ b/app/react-native-server/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react-native-server", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "A better way to develop React Native Components for your app", "keywords": [ "react", @@ -24,12 +24,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/api": "5.2.0-unreleased.0", - "@storybook/channel-websocket": "5.2.0-unreleased.0", - "@storybook/core": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", - "@storybook/ui": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/api": "5.2.0-alpha.23", + "@storybook/channel-websocket": "5.2.0-alpha.23", + "@storybook/core": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", + "@storybook/ui": "5.2.0-alpha.23", "commander": "^2.19.0", "global": "^4.3.2", "react": "^16.6.0", diff --git a/app/react-native/package.json b/app/react-native/package.json index 2f65f177c9d8..75e7cbf73b75 100644 --- a/app/react-native/package.json +++ b/app/react-native/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react-native", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "A better way to develop React Native Components for your app", "keywords": [ "react", @@ -23,11 +23,11 @@ }, "dependencies": { "@emotion/native": "^10.0.10", - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/channel-websocket": "5.2.0-unreleased.0", - "@storybook/channels": "5.2.0-unreleased.0", - "@storybook/client-api": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/channel-websocket": "5.2.0-alpha.23", + "@storybook/channels": "5.2.0-alpha.23", + "@storybook/client-api": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", "core-js": "^3.0.1", "react-native-swipe-gestures": "^1.0.3", "rn-host-detect": "^1.1.5" diff --git a/app/react/package.json b/app/react/package.json index dde303705f8e..af64149fb8d5 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/react", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -29,8 +29,8 @@ "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/preset-flow": "^7.0.0", "@babel/preset-react": "^7.0.0", - "@storybook/core": "5.2.0-unreleased.0", - "@storybook/node-logger": "5.2.0-unreleased.0", + "@storybook/core": "5.2.0-alpha.23", + "@storybook/node-logger": "5.2.0-alpha.23", "@svgr/webpack": "^4.0.3", "babel-plugin-named-asset-import": "^0.3.1", "babel-plugin-react-docgen": "^3.0.0", diff --git a/app/riot/package.json b/app/riot/package.json index 89e0ca738438..e89be376a7e3 100644 --- a/app/riot/package.json +++ b/app/riot/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/riot", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -25,7 +25,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.2.0-unreleased.0", + "@storybook/core": "5.2.0-alpha.23", "common-tags": "^1.8.0", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/app/svelte/package.json b/app/svelte/package.json index 8cd79a7da44b..b2abc4521c5d 100644 --- a/app/svelte/package.json +++ b/app/svelte/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/svelte", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.2.0-unreleased.0", + "@storybook/core": "5.2.0-alpha.23", "common-tags": "^1.8.0", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/app/vue/package.json b/app/vue/package.json index 54a98c3f480a..a0c164c698a9 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/vue", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.", "keywords": [ "storybook" @@ -26,7 +26,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/core": "5.2.0-unreleased.0", + "@storybook/core": "5.2.0-alpha.23", "common-tags": "^1.8.0", "core-js": "^3.0.1", "global": "^4.3.2", diff --git a/dev-kits/addon-parameter/package.json b/dev-kits/addon-parameter/package.json index f602ddbe580c..50f40cdf3ee6 100644 --- a/dev-kits/addon-parameter/package.json +++ b/dev-kits/addon-parameter/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-parameter", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "parameter addon for storybook", "keywords": [ "devkit", @@ -24,12 +24,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/api": "5.2.0-unreleased.0", - "@storybook/client-logger": "5.2.0-unreleased.0", - "@storybook/components": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", - "@storybook/theming": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/api": "5.2.0-alpha.23", + "@storybook/client-logger": "5.2.0-alpha.23", + "@storybook/components": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", + "@storybook/theming": "5.2.0-alpha.23", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/dev-kits/addon-roundtrip/package.json b/dev-kits/addon-roundtrip/package.json index bcb1be65170f..5aa760468255 100644 --- a/dev-kits/addon-roundtrip/package.json +++ b/dev-kits/addon-roundtrip/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-roundtrip", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "roundtrip addon for storybook", "keywords": [ "devkit", @@ -24,12 +24,12 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/api": "5.2.0-unreleased.0", - "@storybook/client-logger": "5.2.0-unreleased.0", - "@storybook/components": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", - "@storybook/theming": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/api": "5.2.0-alpha.23", + "@storybook/client-logger": "5.2.0-alpha.23", + "@storybook/components": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", + "@storybook/theming": "5.2.0-alpha.23", "common-tags": "^1.8.0", "core-js": "^2.6.5", "global": "^4.3.2", diff --git a/docs/package.json b/docs/package.json index d87c8666ff65..412f5fa79baa 100644 --- a/docs/package.json +++ b/docs/package.json @@ -15,8 +15,8 @@ "serve": "gatsby serve" }, "dependencies": { - "@storybook/components": "5.2.0-unreleased.0", - "@storybook/theming": "5.2.0-unreleased.0", + "@storybook/components": "5.2.0-alpha.23", + "@storybook/theming": "5.2.0-alpha.23", "babel-loader": "^6.4.1", "babel-plugin-styled-components": "^1.10.0", "bootstrap": "^4.3.1", diff --git a/docs/src/versions/latest.json b/docs/src/versions/latest.json index dcba5389aa3e..c0e4f2a14ad5 100644 --- a/docs/src/versions/latest.json +++ b/docs/src/versions/latest.json @@ -1 +1 @@ -{"version":"5.2.0-unreleased.0","info":{"plain":"Storybook 5.1 is a juicy upgrade including:\n\n- 📱 Mobile: Standalone package architecture for React Native\n- 🎟 A11y addon: Realtime accessibility checks and visual feedback\n- 🛠 Context addon: New UI for themes, internationalization, & more\n- 🎛 Presets: One-line configuration for babel, webpack, & addons\n\n5.1 contains hundreds more fixes, features, and tweaks. Browse the changelogs matching `5.1.0-alpha.*`, `5.1.0-beta.*`, and `5.1.0-rc.*` for the full list of changes. See [MIGRATION.md](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md) to ugprade from `5.0` or earlier."}} \ No newline at end of file +{"version":"5.2.0-alpha.23","info":{"plain":"Storybook 5.1 is a juicy upgrade including:\n\n- 📱 Mobile: Standalone package architecture for React Native\n- 🎟 A11y addon: Realtime accessibility checks and visual feedback\n- 🛠 Context addon: New UI for themes, internationalization, & more\n- 🎛 Presets: One-line configuration for babel, webpack, & addons\n\n5.1 contains hundreds more fixes, features, and tweaks. Browse the changelogs matching `5.1.0-alpha.*`, `5.1.0-beta.*`, and `5.1.0-rc.*` for the full list of changes. See [MIGRATION.md](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md) to ugprade from `5.0` or earlier."}} \ No newline at end of file diff --git a/examples-native/crna-kitchen-sink/package.json b/examples-native/crna-kitchen-sink/package.json index 8387d9ab5ea6..6f9371f2654e 100644 --- a/examples-native/crna-kitchen-sink/package.json +++ b/examples-native/crna-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "crna-kitchen-sink", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "private": true, "main": "node_modules/expo/AppEntry.js", "scripts": { @@ -24,14 +24,14 @@ "devDependencies": { "@babel/core": "^7.2.2", "@babel/plugin-transform-react-jsx-source": "^7.2.0", - "@storybook/addon-actions": "5.2.0-unreleased.0", - "@storybook/addon-knobs": "5.2.0-unreleased.0", - "@storybook/addon-ondevice-actions": "5.2.0-unreleased.0", - "@storybook/addon-ondevice-backgrounds": "5.2.0-unreleased.0", - "@storybook/addon-ondevice-knobs": "5.2.0-unreleased.0", - "@storybook/addon-ondevice-notes": "5.2.0-unreleased.0", - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/react-native": "5.2.0-unreleased.0", + "@storybook/addon-actions": "5.2.0-alpha.23", + "@storybook/addon-knobs": "5.2.0-alpha.23", + "@storybook/addon-ondevice-actions": "5.2.0-alpha.23", + "@storybook/addon-ondevice-backgrounds": "5.2.0-alpha.23", + "@storybook/addon-ondevice-knobs": "5.2.0-alpha.23", + "@storybook/addon-ondevice-notes": "5.2.0-alpha.23", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/react-native": "5.2.0-alpha.23", "babel-loader": "^8.0.4", "babel-plugin-module-resolver": "^3.2.0", "babel-preset-expo": "^5.1.1", diff --git a/examples/angular-cli/package.json b/examples/angular-cli/package.json index a497483faf45..2b17909bceb9 100644 --- a/examples/angular-cli/package.json +++ b/examples/angular-cli/package.json @@ -1,6 +1,6 @@ { "name": "angular-cli", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "private": true, "license": "MIT", "scripts": { @@ -34,19 +34,19 @@ "@angular-devkit/build-angular": "^0.13.4", "@angular/cli": "^7.3.6", "@angular/compiler-cli": "^7.2.6", - "@storybook/addon-a11y": "5.2.0-unreleased.0", - "@storybook/addon-actions": "5.2.0-unreleased.0", - "@storybook/addon-backgrounds": "5.2.0-unreleased.0", - "@storybook/addon-centered": "5.2.0-unreleased.0", - "@storybook/addon-jest": "5.2.0-unreleased.0", - "@storybook/addon-knobs": "5.2.0-unreleased.0", - "@storybook/addon-links": "5.2.0-unreleased.0", - "@storybook/addon-notes": "5.2.0-unreleased.0", - "@storybook/addon-options": "5.2.0-unreleased.0", - "@storybook/addon-storyshots": "5.2.0-unreleased.0", - "@storybook/addon-storysource": "5.2.0-unreleased.0", - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/angular": "5.2.0-unreleased.0", + "@storybook/addon-a11y": "5.2.0-alpha.23", + "@storybook/addon-actions": "5.2.0-alpha.23", + "@storybook/addon-backgrounds": "5.2.0-alpha.23", + "@storybook/addon-centered": "5.2.0-alpha.23", + "@storybook/addon-jest": "5.2.0-alpha.23", + "@storybook/addon-knobs": "5.2.0-alpha.23", + "@storybook/addon-links": "5.2.0-alpha.23", + "@storybook/addon-notes": "5.2.0-alpha.23", + "@storybook/addon-options": "5.2.0-alpha.23", + "@storybook/addon-storyshots": "5.2.0-alpha.23", + "@storybook/addon-storysource": "5.2.0-alpha.23", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/angular": "5.2.0-alpha.23", "@types/core-js": "^2.5.0", "@types/jest": "^24.0.11", "@types/node": "~12.0.2", diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json index f55592a0fecf..cdc1c2c38ca0 100644 --- a/examples/cra-kitchen-sink/package.json +++ b/examples/cra-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-kitchen-sink", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "private": true, "scripts": { "build": "react-scripts build", @@ -19,22 +19,22 @@ "react-lifecycles-compat": "^3.0.4" }, "devDependencies": { - "@storybook/addon-a11y": "5.2.0-unreleased.0", - "@storybook/addon-actions": "5.2.0-unreleased.0", - "@storybook/addon-backgrounds": "5.2.0-unreleased.0", - "@storybook/addon-centered": "5.2.0-unreleased.0", - "@storybook/addon-events": "5.2.0-unreleased.0", - "@storybook/addon-info": "5.2.0-unreleased.0", - "@storybook/addon-jest": "5.2.0-unreleased.0", - "@storybook/addon-knobs": "5.2.0-unreleased.0", - "@storybook/addon-links": "5.2.0-unreleased.0", - "@storybook/addon-notes": "5.2.0-unreleased.0", - "@storybook/addon-options": "5.2.0-unreleased.0", - "@storybook/addon-storyshots": "5.2.0-unreleased.0", - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/client-logger": "5.2.0-unreleased.0", - "@storybook/react": "5.2.0-unreleased.0", - "@storybook/theming": "5.2.0-unreleased.0", + "@storybook/addon-a11y": "5.2.0-alpha.23", + "@storybook/addon-actions": "5.2.0-alpha.23", + "@storybook/addon-backgrounds": "5.2.0-alpha.23", + "@storybook/addon-centered": "5.2.0-alpha.23", + "@storybook/addon-events": "5.2.0-alpha.23", + "@storybook/addon-info": "5.2.0-alpha.23", + "@storybook/addon-jest": "5.2.0-alpha.23", + "@storybook/addon-knobs": "5.2.0-alpha.23", + "@storybook/addon-links": "5.2.0-alpha.23", + "@storybook/addon-notes": "5.2.0-alpha.23", + "@storybook/addon-options": "5.2.0-alpha.23", + "@storybook/addon-storyshots": "5.2.0-alpha.23", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/client-logger": "5.2.0-alpha.23", + "@storybook/react": "5.2.0-alpha.23", + "@storybook/theming": "5.2.0-alpha.23", "react-scripts": "^3.0.1" } } diff --git a/examples/cra-react15/package.json b/examples/cra-react15/package.json index 6ed222bc70a4..39af8718dafa 100644 --- a/examples/cra-react15/package.json +++ b/examples/cra-react15/package.json @@ -1,6 +1,6 @@ { "name": "cra-react15", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "private": true, "dependencies": { "babel-loader": "8.0.6", @@ -19,10 +19,10 @@ "build-storybook": "build-storybook -s public" }, "devDependencies": { - "@storybook/addon-actions": "5.2.0-unreleased.0", - "@storybook/addon-links": "5.2.0-unreleased.0", - "@storybook/react": "5.2.0-unreleased.0", - "@storybook/theming": "5.2.0-unreleased.0", + "@storybook/addon-actions": "5.2.0-alpha.23", + "@storybook/addon-links": "5.2.0-alpha.23", + "@storybook/react": "5.2.0-alpha.23", + "@storybook/theming": "5.2.0-alpha.23", "babel-core": "6", "babel-runtime": "6" } diff --git a/examples/cra-ts-kitchen-sink/package.json b/examples/cra-ts-kitchen-sink/package.json index 05d56418ecda..344b2e251fc4 100644 --- a/examples/cra-ts-kitchen-sink/package.json +++ b/examples/cra-ts-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-ts-kitchen-sink", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -14,12 +14,12 @@ "react-dom": "^16.8.3" }, "devDependencies": { - "@storybook/addon-a11y": "5.2.0-unreleased.0", - "@storybook/addon-actions": "5.2.0-unreleased.0", - "@storybook/addon-info": "5.2.0-unreleased.0", - "@storybook/addon-options": "5.2.0-unreleased.0", - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/react": "5.2.0-unreleased.0", + "@storybook/addon-a11y": "5.2.0-alpha.23", + "@storybook/addon-actions": "5.2.0-alpha.23", + "@storybook/addon-info": "5.2.0-alpha.23", + "@storybook/addon-options": "5.2.0-alpha.23", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/react": "5.2.0-alpha.23", "@types/enzyme": "^3.9.0", "@types/react": "^16.8.3", "@types/react-dom": "^16.8.2", diff --git a/examples/dev-kits/package.json b/examples/dev-kits/package.json index c2f97a78c62f..5b8d3e94ba4e 100644 --- a/examples/dev-kits/package.json +++ b/examples/dev-kits/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/example-devkits", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "private": true, "scripts": { "build-storybook": "build-storybook -c ./ -s built-storybooks", @@ -8,14 +8,14 @@ "storybook": "start-storybook -p 9011 -c ./" }, "devDependencies": { - "@storybook/addon-roundtrip": "5.2.0-unreleased.0", - "@storybook/addon-parameter": "5.2.0-unreleased.0", - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/components": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", - "@storybook/node-logger": "5.2.0-unreleased.0", - "@storybook/react": "5.2.0-unreleased.0", - "@storybook/theming": "5.2.0-unreleased.0", + "@storybook/addon-roundtrip": "5.2.0-alpha.23", + "@storybook/addon-parameter": "5.2.0-alpha.23", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/components": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", + "@storybook/node-logger": "5.2.0-alpha.23", + "@storybook/react": "5.2.0-alpha.23", + "@storybook/theming": "5.2.0-alpha.23", "cors": "^2.8.5", "cross-env": "^5.2.0", "enzyme-to-json": "^3.3.5", diff --git a/examples/ember-cli/package.json b/examples/ember-cli/package.json index 124d4fcf76d3..6425b7f90722 100644 --- a/examples/ember-cli/package.json +++ b/examples/ember-cli/package.json @@ -1,6 +1,6 @@ { "name": "ember-example", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "private": true, "scripts": { "build": "ember build", @@ -15,18 +15,18 @@ }, "devDependencies": { "@babel/core": "^7.3.4", - "@storybook/addon-a11y": "5.2.0-unreleased.0", - "@storybook/addon-actions": "5.2.0-unreleased.0", - "@storybook/addon-backgrounds": "5.2.0-unreleased.0", - "@storybook/addon-centered": "5.2.0-unreleased.0", - "@storybook/addon-knobs": "5.2.0-unreleased.0", - "@storybook/addon-links": "5.2.0-unreleased.0", - "@storybook/addon-notes": "5.2.0-unreleased.0", - "@storybook/addon-options": "5.2.0-unreleased.0", - "@storybook/addon-storysource": "5.2.0-unreleased.0", - "@storybook/addon-viewport": "5.2.0-unreleased.0", - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/ember": "5.2.0-unreleased.0", + "@storybook/addon-a11y": "5.2.0-alpha.23", + "@storybook/addon-actions": "5.2.0-alpha.23", + "@storybook/addon-backgrounds": "5.2.0-alpha.23", + "@storybook/addon-centered": "5.2.0-alpha.23", + "@storybook/addon-knobs": "5.2.0-alpha.23", + "@storybook/addon-links": "5.2.0-alpha.23", + "@storybook/addon-notes": "5.2.0-alpha.23", + "@storybook/addon-options": "5.2.0-alpha.23", + "@storybook/addon-storysource": "5.2.0-alpha.23", + "@storybook/addon-viewport": "5.2.0-alpha.23", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/ember": "5.2.0-alpha.23", "babel-loader": "^8", "broccoli-asset-rev": "^3.0.0", "cross-env": "^5.2.0", diff --git a/examples/html-kitchen-sink/package.json b/examples/html-kitchen-sink/package.json index fd89d4162c00..ff3ce8a491df 100644 --- a/examples/html-kitchen-sink/package.json +++ b/examples/html-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "html-kitchen-sink", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "private": true, "description": "", "keywords": [], @@ -14,23 +14,23 @@ "storybook": "start-storybook -p 9006" }, "devDependencies": { - "@storybook/addon-a11y": "5.2.0-unreleased.0", - "@storybook/addon-actions": "5.2.0-unreleased.0", - "@storybook/addon-backgrounds": "5.2.0-unreleased.0", - "@storybook/addon-centered": "5.2.0-unreleased.0", - "@storybook/addon-events": "5.2.0-unreleased.0", - "@storybook/addon-jest": "5.2.0-unreleased.0", - "@storybook/addon-knobs": "5.2.0-unreleased.0", - "@storybook/addon-links": "5.2.0-unreleased.0", - "@storybook/addon-notes": "5.2.0-unreleased.0", - "@storybook/addon-options": "5.2.0-unreleased.0", - "@storybook/addon-storyshots": "5.2.0-unreleased.0", - "@storybook/addon-storysource": "5.2.0-unreleased.0", - "@storybook/addon-viewport": "5.2.0-unreleased.0", - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/core": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", - "@storybook/html": "5.2.0-unreleased.0", + "@storybook/addon-a11y": "5.2.0-alpha.23", + "@storybook/addon-actions": "5.2.0-alpha.23", + "@storybook/addon-backgrounds": "5.2.0-alpha.23", + "@storybook/addon-centered": "5.2.0-alpha.23", + "@storybook/addon-events": "5.2.0-alpha.23", + "@storybook/addon-jest": "5.2.0-alpha.23", + "@storybook/addon-knobs": "5.2.0-alpha.23", + "@storybook/addon-links": "5.2.0-alpha.23", + "@storybook/addon-notes": "5.2.0-alpha.23", + "@storybook/addon-options": "5.2.0-alpha.23", + "@storybook/addon-storyshots": "5.2.0-alpha.23", + "@storybook/addon-storysource": "5.2.0-alpha.23", + "@storybook/addon-viewport": "5.2.0-alpha.23", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/core": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", + "@storybook/html": "5.2.0-alpha.23", "eventemitter3": "^3.1.0", "format-json": "^1.0.3", "global": "^4.3.2" diff --git a/examples/marko-cli/package.json b/examples/marko-cli/package.json index 6585798da66c..57d3538ab5ca 100644 --- a/examples/marko-cli/package.json +++ b/examples/marko-cli/package.json @@ -1,6 +1,6 @@ { "name": "marko-cli", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "private": true, "description": "Demo of how to build an app using marko-starter", "repository": { @@ -24,13 +24,13 @@ "marko-starter": "^2.0.4" }, "devDependencies": { - "@storybook/addon-a11y": "5.2.0-unreleased.0", - "@storybook/addon-actions": "5.2.0-unreleased.0", - "@storybook/addon-knobs": "5.2.0-unreleased.0", - "@storybook/addon-options": "5.2.0-unreleased.0", - "@storybook/addon-storysource": "5.2.0-unreleased.0", - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/marko": "5.2.0-unreleased.0", + "@storybook/addon-a11y": "5.2.0-alpha.23", + "@storybook/addon-actions": "5.2.0-alpha.23", + "@storybook/addon-knobs": "5.2.0-alpha.23", + "@storybook/addon-options": "5.2.0-alpha.23", + "@storybook/addon-storysource": "5.2.0-alpha.23", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/marko": "5.2.0-alpha.23", "prettier": "^1.16.4", "webpack": "^4.33.0" } diff --git a/examples/mithril-kitchen-sink/package.json b/examples/mithril-kitchen-sink/package.json index 4ac42b770b4b..ea7802446a95 100644 --- a/examples/mithril-kitchen-sink/package.json +++ b/examples/mithril-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "mithril-example", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -11,19 +11,19 @@ "mithril": "^1.1.6" }, "devDependencies": { - "@storybook/addon-a11y": "5.2.0-unreleased.0", - "@storybook/addon-actions": "5.2.0-unreleased.0", - "@storybook/addon-backgrounds": "5.2.0-unreleased.0", - "@storybook/addon-centered": "5.2.0-unreleased.0", - "@storybook/addon-knobs": "5.2.0-unreleased.0", - "@storybook/addon-links": "5.2.0-unreleased.0", - "@storybook/addon-notes": "5.2.0-unreleased.0", - "@storybook/addon-options": "5.2.0-unreleased.0", - "@storybook/addon-storyshots": "5.2.0-unreleased.0", - "@storybook/addon-storysource": "5.2.0-unreleased.0", - "@storybook/addon-viewport": "5.2.0-unreleased.0", - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/mithril": "5.2.0-unreleased.0", + "@storybook/addon-a11y": "5.2.0-alpha.23", + "@storybook/addon-actions": "5.2.0-alpha.23", + "@storybook/addon-backgrounds": "5.2.0-alpha.23", + "@storybook/addon-centered": "5.2.0-alpha.23", + "@storybook/addon-knobs": "5.2.0-alpha.23", + "@storybook/addon-links": "5.2.0-alpha.23", + "@storybook/addon-notes": "5.2.0-alpha.23", + "@storybook/addon-options": "5.2.0-alpha.23", + "@storybook/addon-storyshots": "5.2.0-alpha.23", + "@storybook/addon-storysource": "5.2.0-alpha.23", + "@storybook/addon-viewport": "5.2.0-alpha.23", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/mithril": "5.2.0-alpha.23", "webpack": "^4.33.0" } } diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json index 61448ccdc043..da0b260ec49e 100644 --- a/examples/official-storybook/package.json +++ b/examples/official-storybook/package.json @@ -1,6 +1,6 @@ { "name": "official-storybook", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "private": true, "scripts": { "build-storybook": "build-storybook -c ./ -s built-storybooks", @@ -13,32 +13,32 @@ "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks --no-dll" }, "devDependencies": { - "@storybook/addon-a11y": "5.2.0-unreleased.0", - "@storybook/addon-actions": "5.2.0-unreleased.0", - "@storybook/addon-backgrounds": "5.2.0-unreleased.0", - "@storybook/addon-centered": "5.2.0-unreleased.0", - "@storybook/addon-contexts": "5.2.0-unreleased.0", - "@storybook/addon-cssresources": "5.2.0-unreleased.0", - "@storybook/addon-design-assets": "5.2.0-unreleased.0", - "@storybook/addon-events": "5.2.0-unreleased.0", - "@storybook/addon-graphql": "5.2.0-unreleased.0", - "@storybook/addon-info": "5.2.0-unreleased.0", - "@storybook/addon-jest": "5.2.0-unreleased.0", - "@storybook/addon-knobs": "5.2.0-unreleased.0", - "@storybook/addon-links": "5.2.0-unreleased.0", - "@storybook/addon-notes": "5.2.0-unreleased.0", - "@storybook/addon-options": "5.2.0-unreleased.0", - "@storybook/addon-queryparams": "5.2.0-unreleased.0", - "@storybook/addon-storyshots": "5.2.0-unreleased.0", - "@storybook/addon-storyshots-puppeteer": "5.2.0-unreleased.0", - "@storybook/addon-storysource": "5.2.0-unreleased.0", - "@storybook/addon-viewport": "5.2.0-unreleased.0", - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/components": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", - "@storybook/node-logger": "5.2.0-unreleased.0", - "@storybook/react": "5.2.0-unreleased.0", - "@storybook/theming": "5.2.0-unreleased.0", + "@storybook/addon-a11y": "5.2.0-alpha.23", + "@storybook/addon-actions": "5.2.0-alpha.23", + "@storybook/addon-backgrounds": "5.2.0-alpha.23", + "@storybook/addon-centered": "5.2.0-alpha.23", + "@storybook/addon-contexts": "5.2.0-alpha.23", + "@storybook/addon-cssresources": "5.2.0-alpha.23", + "@storybook/addon-design-assets": "5.2.0-alpha.23", + "@storybook/addon-events": "5.2.0-alpha.23", + "@storybook/addon-graphql": "5.2.0-alpha.23", + "@storybook/addon-info": "5.2.0-alpha.23", + "@storybook/addon-jest": "5.2.0-alpha.23", + "@storybook/addon-knobs": "5.2.0-alpha.23", + "@storybook/addon-links": "5.2.0-alpha.23", + "@storybook/addon-notes": "5.2.0-alpha.23", + "@storybook/addon-options": "5.2.0-alpha.23", + "@storybook/addon-queryparams": "5.2.0-alpha.23", + "@storybook/addon-storyshots": "5.2.0-alpha.23", + "@storybook/addon-storyshots-puppeteer": "5.2.0-alpha.23", + "@storybook/addon-storysource": "5.2.0-alpha.23", + "@storybook/addon-viewport": "5.2.0-alpha.23", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/components": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", + "@storybook/node-logger": "5.2.0-alpha.23", + "@storybook/react": "5.2.0-alpha.23", + "@storybook/theming": "5.2.0-alpha.23", "cors": "^2.8.5", "cross-env": "^5.2.0", "enzyme-to-json": "^3.3.5", diff --git a/examples/polymer-cli/package.json b/examples/polymer-cli/package.json index 2eb16aa14b1e..ba93e8862d40 100644 --- a/examples/polymer-cli/package.json +++ b/examples/polymer-cli/package.json @@ -1,6 +1,6 @@ { "name": "polymer-cli", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -10,16 +10,16 @@ }, "dependencies": { "@polymer/polymer": "^2.6.0", - "@storybook/addon-a11y": "5.2.0-unreleased.0", - "@storybook/addon-actions": "5.2.0-unreleased.0", - "@storybook/addon-backgrounds": "5.2.0-unreleased.0", - "@storybook/addon-knobs": "5.2.0-unreleased.0", - "@storybook/addon-links": "5.2.0-unreleased.0", - "@storybook/addon-notes": "5.2.0-unreleased.0", - "@storybook/addon-options": "5.2.0-unreleased.0", - "@storybook/addon-storysource": "5.2.0-unreleased.0", - "@storybook/addon-viewport": "5.2.0-unreleased.0", - "@storybook/polymer": "5.2.0-unreleased.0", + "@storybook/addon-a11y": "5.2.0-alpha.23", + "@storybook/addon-actions": "5.2.0-alpha.23", + "@storybook/addon-backgrounds": "5.2.0-alpha.23", + "@storybook/addon-knobs": "5.2.0-alpha.23", + "@storybook/addon-links": "5.2.0-alpha.23", + "@storybook/addon-notes": "5.2.0-alpha.23", + "@storybook/addon-options": "5.2.0-alpha.23", + "@storybook/addon-storysource": "5.2.0-alpha.23", + "@storybook/addon-viewport": "5.2.0-alpha.23", + "@storybook/polymer": "5.2.0-alpha.23", "@webcomponents/webcomponentsjs": "^1.2.0", "global": "^4.3.2", "lit-html": "^1.0.0", diff --git a/examples/preact-kitchen-sink/package.json b/examples/preact-kitchen-sink/package.json index 94be4175589f..5b3d6aa7a813 100644 --- a/examples/preact-kitchen-sink/package.json +++ b/examples/preact-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "preact-example", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -16,20 +16,20 @@ "devDependencies": { "@babel/core": "^7.3.4", "@babel/plugin-transform-runtime": "^7.2.0", - "@storybook/addon-a11y": "5.2.0-unreleased.0", - "@storybook/addon-actions": "5.2.0-unreleased.0", - "@storybook/addon-backgrounds": "5.2.0-unreleased.0", - "@storybook/addon-centered": "5.2.0-unreleased.0", - "@storybook/addon-contexts": "5.2.0-unreleased.0", - "@storybook/addon-knobs": "5.2.0-unreleased.0", - "@storybook/addon-links": "5.2.0-unreleased.0", - "@storybook/addon-notes": "5.2.0-unreleased.0", - "@storybook/addon-options": "5.2.0-unreleased.0", - "@storybook/addon-storyshots": "5.2.0-unreleased.0", - "@storybook/addon-storysource": "5.2.0-unreleased.0", - "@storybook/addon-viewport": "5.2.0-unreleased.0", - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/preact": "5.2.0-unreleased.0", + "@storybook/addon-a11y": "5.2.0-alpha.23", + "@storybook/addon-actions": "5.2.0-alpha.23", + "@storybook/addon-backgrounds": "5.2.0-alpha.23", + "@storybook/addon-centered": "5.2.0-alpha.23", + "@storybook/addon-contexts": "5.2.0-alpha.23", + "@storybook/addon-knobs": "5.2.0-alpha.23", + "@storybook/addon-links": "5.2.0-alpha.23", + "@storybook/addon-notes": "5.2.0-alpha.23", + "@storybook/addon-options": "5.2.0-alpha.23", + "@storybook/addon-storyshots": "5.2.0-alpha.23", + "@storybook/addon-storysource": "5.2.0-alpha.23", + "@storybook/addon-viewport": "5.2.0-alpha.23", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/preact": "5.2.0-alpha.23", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", "file-loader": "^3.0.1", diff --git a/examples/rax-kitchen-sink/package.json b/examples/rax-kitchen-sink/package.json index daf251cafd6f..98ca817db918 100644 --- a/examples/rax-kitchen-sink/package.json +++ b/examples/rax-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "rax-kitchen-sink", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "private": true, "scripts": { "test:generate-output": "jest --json --outputFile=jest-test-results.json --config=./jest-addon.config.js", @@ -24,22 +24,22 @@ "rax-view": "^0.6.5" }, "devDependencies": { - "@storybook/addon-a11y": "5.2.0-unreleased.0", - "@storybook/addon-actions": "5.2.0-unreleased.0", - "@storybook/addon-backgrounds": "5.2.0-unreleased.0", - "@storybook/addon-centered": "5.2.0-unreleased.0", - "@storybook/addon-events": "5.2.0-unreleased.0", - "@storybook/addon-info": "5.2.0-unreleased.0", - "@storybook/addon-jest": "5.2.0-unreleased.0", - "@storybook/addon-knobs": "5.2.0-unreleased.0", - "@storybook/addon-links": "5.2.0-unreleased.0", - "@storybook/addon-notes": "5.2.0-unreleased.0", - "@storybook/addon-options": "5.2.0-unreleased.0", - "@storybook/addon-storyshots": "5.2.0-unreleased.0", - "@storybook/addon-storysource": "5.2.0-unreleased.0", - "@storybook/addon-viewport": "5.2.0-unreleased.0", - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/rax": "5.2.0-unreleased.0", + "@storybook/addon-a11y": "5.2.0-alpha.23", + "@storybook/addon-actions": "5.2.0-alpha.23", + "@storybook/addon-backgrounds": "5.2.0-alpha.23", + "@storybook/addon-centered": "5.2.0-alpha.23", + "@storybook/addon-events": "5.2.0-alpha.23", + "@storybook/addon-info": "5.2.0-alpha.23", + "@storybook/addon-jest": "5.2.0-alpha.23", + "@storybook/addon-knobs": "5.2.0-alpha.23", + "@storybook/addon-links": "5.2.0-alpha.23", + "@storybook/addon-notes": "5.2.0-alpha.23", + "@storybook/addon-options": "5.2.0-alpha.23", + "@storybook/addon-storyshots": "5.2.0-alpha.23", + "@storybook/addon-storysource": "5.2.0-alpha.23", + "@storybook/addon-viewport": "5.2.0-alpha.23", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/rax": "5.2.0-alpha.23", "babel-eslint": "^8.2.2", "babel-preset-rax": "^1.0.0-beta.0", "rax-scripts": "^1.0.0-beta.10", diff --git a/examples/riot-kitchen-sink/package.json b/examples/riot-kitchen-sink/package.json index c9470651f085..cf3f892e7380 100644 --- a/examples/riot-kitchen-sink/package.json +++ b/examples/riot-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "riot-example", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -16,19 +16,19 @@ }, "devDependencies": { "@babel/core": "^7.3.4", - "@storybook/addon-a11y": "5.2.0-unreleased.0", - "@storybook/addon-actions": "5.2.0-unreleased.0", - "@storybook/addon-backgrounds": "5.2.0-unreleased.0", - "@storybook/addon-centered": "5.2.0-unreleased.0", - "@storybook/addon-knobs": "5.2.0-unreleased.0", - "@storybook/addon-links": "5.2.0-unreleased.0", - "@storybook/addon-notes": "5.2.0-unreleased.0", - "@storybook/addon-options": "5.2.0-unreleased.0", - "@storybook/addon-storyshots": "5.2.0-unreleased.0", - "@storybook/addon-storysource": "5.2.0-unreleased.0", - "@storybook/addon-viewport": "5.2.0-unreleased.0", - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/riot": "5.2.0-unreleased.0", + "@storybook/addon-a11y": "5.2.0-alpha.23", + "@storybook/addon-actions": "5.2.0-alpha.23", + "@storybook/addon-backgrounds": "5.2.0-alpha.23", + "@storybook/addon-centered": "5.2.0-alpha.23", + "@storybook/addon-knobs": "5.2.0-alpha.23", + "@storybook/addon-links": "5.2.0-alpha.23", + "@storybook/addon-notes": "5.2.0-alpha.23", + "@storybook/addon-options": "5.2.0-alpha.23", + "@storybook/addon-storyshots": "5.2.0-alpha.23", + "@storybook/addon-storysource": "5.2.0-alpha.23", + "@storybook/addon-viewport": "5.2.0-alpha.23", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/riot": "5.2.0-alpha.23", "babel-loader": "^8.0.4", "cross-env": "^5.2.0", "file-loader": "^3.0.1", diff --git a/examples/svelte-kitchen-sink/package.json b/examples/svelte-kitchen-sink/package.json index 6fbb4fc4d244..4eac0f34f862 100644 --- a/examples/svelte-kitchen-sink/package.json +++ b/examples/svelte-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "svelte-example", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -11,18 +11,18 @@ "global": "^4.3.2" }, "devDependencies": { - "@storybook/addon-a11y": "5.2.0-unreleased.0", - "@storybook/addon-actions": "5.2.0-unreleased.0", - "@storybook/addon-backgrounds": "5.2.0-unreleased.0", - "@storybook/addon-centered": "5.2.0-unreleased.0", - "@storybook/addon-knobs": "5.2.0-unreleased.0", - "@storybook/addon-links": "5.2.0-unreleased.0", - "@storybook/addon-notes": "5.2.0-unreleased.0", - "@storybook/addon-options": "5.2.0-unreleased.0", - "@storybook/addon-storyshots": "5.2.0-unreleased.0", - "@storybook/addon-storysource": "5.2.0-unreleased.0", - "@storybook/addon-viewport": "5.2.0-unreleased.0", - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/svelte": "5.2.0-unreleased.0" + "@storybook/addon-a11y": "5.2.0-alpha.23", + "@storybook/addon-actions": "5.2.0-alpha.23", + "@storybook/addon-backgrounds": "5.2.0-alpha.23", + "@storybook/addon-centered": "5.2.0-alpha.23", + "@storybook/addon-knobs": "5.2.0-alpha.23", + "@storybook/addon-links": "5.2.0-alpha.23", + "@storybook/addon-notes": "5.2.0-alpha.23", + "@storybook/addon-options": "5.2.0-alpha.23", + "@storybook/addon-storyshots": "5.2.0-alpha.23", + "@storybook/addon-storysource": "5.2.0-alpha.23", + "@storybook/addon-viewport": "5.2.0-alpha.23", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/svelte": "5.2.0-alpha.23" } } diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index 9741736637ef..5ee3052f862f 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "vue-example", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "private": true, "scripts": { "build": "cross-env NODE_ENV=production webpack --progress --hide-modules", @@ -15,20 +15,20 @@ }, "devDependencies": { "@babel/core": "^7.3.4", - "@storybook/addon-a11y": "5.2.0-unreleased.0", - "@storybook/addon-actions": "5.2.0-unreleased.0", - "@storybook/addon-backgrounds": "5.2.0-unreleased.0", - "@storybook/addon-centered": "5.2.0-unreleased.0", - "@storybook/addon-contexts": "5.2.0-unreleased.0", - "@storybook/addon-knobs": "5.2.0-unreleased.0", - "@storybook/addon-links": "5.2.0-unreleased.0", - "@storybook/addon-notes": "5.2.0-unreleased.0", - "@storybook/addon-options": "5.2.0-unreleased.0", - "@storybook/addon-storyshots": "5.2.0-unreleased.0", - "@storybook/addon-storysource": "5.2.0-unreleased.0", - "@storybook/addon-viewport": "5.2.0-unreleased.0", - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/vue": "5.2.0-unreleased.0", + "@storybook/addon-a11y": "5.2.0-alpha.23", + "@storybook/addon-actions": "5.2.0-alpha.23", + "@storybook/addon-backgrounds": "5.2.0-alpha.23", + "@storybook/addon-centered": "5.2.0-alpha.23", + "@storybook/addon-contexts": "5.2.0-alpha.23", + "@storybook/addon-knobs": "5.2.0-alpha.23", + "@storybook/addon-links": "5.2.0-alpha.23", + "@storybook/addon-notes": "5.2.0-alpha.23", + "@storybook/addon-options": "5.2.0-alpha.23", + "@storybook/addon-storyshots": "5.2.0-alpha.23", + "@storybook/addon-storysource": "5.2.0-alpha.23", + "@storybook/addon-viewport": "5.2.0-alpha.23", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/vue": "5.2.0-alpha.23", "babel-core": "^7.0.0-bridge.0", "babel-loader": "^8.0.5", "cross-env": "^5.2.0", diff --git a/lerna.json b/lerna.json index 89fd11c7e605..0305f8a07fd4 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "npmClient": "yarn", "useWorkspaces": true, "registry": "https://registry.npmjs.org", - "version": "5.2.0-unreleased.0" + "version": "5.2.0-alpha.23" } diff --git a/lib/addons/package.json b/lib/addons/package.json index d80049800092..8d360840d0b9 100644 --- a/lib/addons/package.json +++ b/lib/addons/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addons", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Storybook addons store", "keywords": [ "storybook" @@ -21,9 +21,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/api": "5.2.0-unreleased.0", - "@storybook/channels": "5.2.0-unreleased.0", - "@storybook/client-logger": "5.2.0-unreleased.0", + "@storybook/api": "5.2.0-alpha.23", + "@storybook/channels": "5.2.0-alpha.23", + "@storybook/client-logger": "5.2.0-alpha.23", "core-js": "^3.0.1", "global": "^4.3.2", "util-deprecate": "^1.0.2" diff --git a/lib/api/package.json b/lib/api/package.json index a51fd91b26fd..fd4301db46e3 100644 --- a/lib/api/package.json +++ b/lib/api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/api", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Core Storybook API & Context", "keywords": [ "storybook" @@ -20,11 +20,11 @@ "prepare": "node ./scripts/generateVersion.js && node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.2.0-unreleased.0", - "@storybook/client-logger": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", - "@storybook/router": "5.2.0-unreleased.0", - "@storybook/theming": "5.2.0-unreleased.0", + "@storybook/channels": "5.2.0-alpha.23", + "@storybook/client-logger": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", + "@storybook/router": "5.2.0-alpha.23", + "@storybook/theming": "5.2.0-alpha.23", "core-js": "^3.0.1", "fast-deep-equal": "^2.0.1", "global": "^4.3.2", diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json index df17808a51ed..812f92ca9ba1 100644 --- a/lib/channel-postmessage/package.json +++ b/lib/channel-postmessage/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-postmessage", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "", "keywords": [ "storybook" @@ -21,8 +21,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.2.0-unreleased.0", - "@storybook/client-logger": "5.2.0-unreleased.0", + "@storybook/channels": "5.2.0-alpha.23", + "@storybook/client-logger": "5.2.0-alpha.23", "core-js": "^3.0.1", "global": "^4.3.2", "telejson": "^2.2.1" diff --git a/lib/channel-websocket/package.json b/lib/channel-websocket/package.json index b5e069e699a0..86047f7ea804 100644 --- a/lib/channel-websocket/package.json +++ b/lib/channel-websocket/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channel-websocket", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "", "keywords": [ "storybook" @@ -21,7 +21,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/channels": "5.2.0-unreleased.0", + "@storybook/channels": "5.2.0-alpha.23", "core-js": "^3.0.1", "global": "^4.3.2", "json-fn": "^1.1.1" diff --git a/lib/channels/package.json b/lib/channels/package.json index 1f3c87bbef37..faf47c26ac53 100644 --- a/lib/channels/package.json +++ b/lib/channels/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/channels", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "", "keywords": [ "storybook" diff --git a/lib/cli/package.json b/lib/cli/package.json index 3235fad74b24..bcbfdf040903 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/cli", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Storybook's CLI - easiest method of adding storybook to your projects", "keywords": [ "cli", @@ -30,7 +30,7 @@ "@babel/core": "^7.4.5", "@babel/preset-env": "^7.4.5", "@babel/register": "^7.0.0", - "@storybook/codemod": "5.2.0-unreleased.0", + "@storybook/codemod": "5.2.0-alpha.23", "chalk": "^2.4.1", "commander": "^2.19.0", "core-js": "^3.0.1", @@ -44,33 +44,33 @@ "update-notifier": "^3.0.0" }, "devDependencies": { - "@storybook/addon-actions": "5.2.0-unreleased.0", - "@storybook/addon-centered": "5.2.0-unreleased.0", - "@storybook/addon-graphql": "5.2.0-unreleased.0", - "@storybook/addon-info": "5.2.0-unreleased.0", - "@storybook/addon-knobs": "5.2.0-unreleased.0", - "@storybook/addon-links": "5.2.0-unreleased.0", - "@storybook/addon-notes": "5.2.0-unreleased.0", - "@storybook/addon-options": "5.2.0-unreleased.0", - "@storybook/addon-storyshots": "5.2.0-unreleased.0", - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/angular": "5.2.0-unreleased.0", - "@storybook/channel-postmessage": "5.2.0-unreleased.0", - "@storybook/channel-websocket": "5.2.0-unreleased.0", - "@storybook/channels": "5.2.0-unreleased.0", - "@storybook/ember": "5.2.0-unreleased.0", - "@storybook/html": "5.2.0-unreleased.0", - "@storybook/marko": "5.2.0-unreleased.0", - "@storybook/mithril": "5.2.0-unreleased.0", - "@storybook/polymer": "5.2.0-unreleased.0", - "@storybook/preact": "5.2.0-unreleased.0", - "@storybook/rax": "5.2.0-unreleased.0", - "@storybook/react": "5.2.0-unreleased.0", - "@storybook/react-native": "5.2.0-unreleased.0", - "@storybook/riot": "5.2.0-unreleased.0", - "@storybook/svelte": "5.2.0-unreleased.0", - "@storybook/ui": "5.2.0-unreleased.0", - "@storybook/vue": "5.2.0-unreleased.0" + "@storybook/addon-actions": "5.2.0-alpha.23", + "@storybook/addon-centered": "5.2.0-alpha.23", + "@storybook/addon-graphql": "5.2.0-alpha.23", + "@storybook/addon-info": "5.2.0-alpha.23", + "@storybook/addon-knobs": "5.2.0-alpha.23", + "@storybook/addon-links": "5.2.0-alpha.23", + "@storybook/addon-notes": "5.2.0-alpha.23", + "@storybook/addon-options": "5.2.0-alpha.23", + "@storybook/addon-storyshots": "5.2.0-alpha.23", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/angular": "5.2.0-alpha.23", + "@storybook/channel-postmessage": "5.2.0-alpha.23", + "@storybook/channel-websocket": "5.2.0-alpha.23", + "@storybook/channels": "5.2.0-alpha.23", + "@storybook/ember": "5.2.0-alpha.23", + "@storybook/html": "5.2.0-alpha.23", + "@storybook/marko": "5.2.0-alpha.23", + "@storybook/mithril": "5.2.0-alpha.23", + "@storybook/polymer": "5.2.0-alpha.23", + "@storybook/preact": "5.2.0-alpha.23", + "@storybook/rax": "5.2.0-alpha.23", + "@storybook/react": "5.2.0-alpha.23", + "@storybook/react-native": "5.2.0-alpha.23", + "@storybook/riot": "5.2.0-alpha.23", + "@storybook/svelte": "5.2.0-alpha.23", + "@storybook/ui": "5.2.0-alpha.23", + "@storybook/vue": "5.2.0-alpha.23" }, "publishConfig": { "access": "public" diff --git a/lib/client-api/package.json b/lib/client-api/package.json index 35b5013e530c..d781b1ec6c13 100644 --- a/lib/client-api/package.json +++ b/lib/client-api/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-api", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Storybook Client API", "keywords": [ "storybook" @@ -20,10 +20,10 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/client-logger": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", - "@storybook/router": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/client-logger": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", + "@storybook/router": "5.2.0-alpha.23", "common-tags": "^1.8.0", "core-js": "^3.0.1", "eventemitter3": "^3.1.0", diff --git a/lib/client-logger/package.json b/lib/client-logger/package.json index 2efd927b72c3..ee741c4c72e3 100644 --- a/lib/client-logger/package.json +++ b/lib/client-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/client-logger", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "", "keywords": [ "storybook" diff --git a/lib/codemod/package.json b/lib/codemod/package.json index 65164f8aa834..a7adaa35a17f 100644 --- a/lib/codemod/package.json +++ b/lib/codemod/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/codemod", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "A collection of codemod scripts written with JSCodeshift", "keywords": [ "storybook" diff --git a/lib/components/package.json b/lib/components/package.json index 86093a6a420e..850c8da31186 100644 --- a/lib/components/package.json +++ b/lib/components/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/components", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -21,8 +21,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/client-logger": "5.2.0-unreleased.0", - "@storybook/theming": "5.2.0-unreleased.0", + "@storybook/client-logger": "5.2.0-alpha.23", + "@storybook/theming": "5.2.0-alpha.23", "core-js": "^3.0.1", "global": "^4.3.2", "markdown-to-jsx": "^6.9.1", diff --git a/lib/core-events/package.json b/lib/core-events/package.json index 65cfb33e5614..a81023ad6143 100644 --- a/lib/core-events/package.json +++ b/lib/core-events/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core-events", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Event names used in storybook core", "keywords": [ "storybook" diff --git a/lib/core/package.json b/lib/core/package.json index 4ad432f4aadf..3a48f831ba26 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/core", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Storybook framework-agnostic API", "keywords": [ "storybook" @@ -25,15 +25,15 @@ "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/plugin-transform-react-constant-elements": "^7.2.0", "@babel/preset-env": "^7.4.5", - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/channel-postmessage": "5.2.0-unreleased.0", - "@storybook/client-api": "5.2.0-unreleased.0", - "@storybook/client-logger": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", - "@storybook/node-logger": "5.2.0-unreleased.0", - "@storybook/router": "5.2.0-unreleased.0", - "@storybook/theming": "5.2.0-unreleased.0", - "@storybook/ui": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/channel-postmessage": "5.2.0-alpha.23", + "@storybook/client-api": "5.2.0-alpha.23", + "@storybook/client-logger": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", + "@storybook/node-logger": "5.2.0-alpha.23", + "@storybook/router": "5.2.0-alpha.23", + "@storybook/theming": "5.2.0-alpha.23", + "@storybook/ui": "5.2.0-alpha.23", "airbnb-js-shims": "^1 || ^2", "autoprefixer": "^9.4.9", "babel-plugin-add-react-displayname": "^0.0.5", diff --git a/lib/node-logger/package.json b/lib/node-logger/package.json index 394893e9d444..a528c78fe19a 100644 --- a/lib/node-logger/package.json +++ b/lib/node-logger/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/node-logger", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "", "keywords": [ "storybook" diff --git a/lib/router/package.json b/lib/router/package.json index 8308f486b757..40af241733f1 100644 --- a/lib/router/package.json +++ b/lib/router/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/router", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Core Storybook Router", "keywords": [ "storybook" diff --git a/lib/theming/package.json b/lib/theming/package.json index 5361bdb4e362..abd05eb752fe 100644 --- a/lib/theming/package.json +++ b/lib/theming/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/theming", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Core Storybook Components", "keywords": [ "storybook" @@ -23,7 +23,7 @@ "dependencies": { "@emotion/core": "^10.0.9", "@emotion/styled": "^10.0.7", - "@storybook/client-logger": "5.2.0-unreleased.0", + "@storybook/client-logger": "5.2.0-alpha.23", "common-tags": "^1.8.0", "core-js": "^3.0.1", "deep-object-diff": "^1.1.0", diff --git a/lib/ui/package.json b/lib/ui/package.json index 5e26ff06b0ed..afb6284864aa 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/ui", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "description": "Core Storybook UI", "keywords": [ "storybook" @@ -22,13 +22,13 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.2.0-unreleased.0", - "@storybook/api": "5.2.0-unreleased.0", - "@storybook/client-logger": "5.2.0-unreleased.0", - "@storybook/components": "5.2.0-unreleased.0", - "@storybook/core-events": "5.2.0-unreleased.0", - "@storybook/router": "5.2.0-unreleased.0", - "@storybook/theming": "5.2.0-unreleased.0", + "@storybook/addons": "5.2.0-alpha.23", + "@storybook/api": "5.2.0-alpha.23", + "@storybook/client-logger": "5.2.0-alpha.23", + "@storybook/components": "5.2.0-alpha.23", + "@storybook/core-events": "5.2.0-alpha.23", + "@storybook/router": "5.2.0-alpha.23", + "@storybook/theming": "5.2.0-alpha.23", "copy-to-clipboard": "^3.0.8", "core-js": "^3.0.1", "core-js-pure": "^3.0.1", diff --git a/package.json b/package.json index 30003863bddd..8150f2f30343 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/root", - "version": "5.2.0-unreleased.0", + "version": "5.2.0-alpha.23", "private": true, "description": "Storybook is an open source tool for developing UI components in isolation for React, Vue and Angular. It makes building stunning UIs organized and efficient.", "keywords": [ From 9c88277b41c87c910c2ed417fe6feade73d58874 Mon Sep 17 00:00:00 2001 From: lonyele Date: Thu, 13 Jun 2019 11:08:38 +0900 Subject: [PATCH 067/371] Change importing style of isEqual --- addons/events/src/components/Event.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/events/src/components/Event.js b/addons/events/src/components/Event.js index d127d540b30c..7e3634959479 100644 --- a/addons/events/src/components/Event.js +++ b/addons/events/src/components/Event.js @@ -1,7 +1,7 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { polyfill } from 'react-lifecycles-compat'; -import { isEqual } from 'lodash'; +import isEqual from 'lodash/isEqual'; import { styled } from '@storybook/theming'; import json from 'format-json'; From 6c3e6c38271514fb2349425413882d8e81fff737 Mon Sep 17 00:00:00 2001 From: lonyele Date: Thu, 13 Jun 2019 11:14:45 +0900 Subject: [PATCH 068/371] Update snapshots --- .../__snapshots__/storyshots.test.js.snap | 24 +++++++++---------- .../__snapshots__/Tooltip.stories.storyshot | 16 ++++++------- .../TooltipLinkList.stories.storyshot | 8 +++---- .../TooltipMessage.stories.storyshot | 16 ++++++------- .../WithTooltip.stories.storyshot | 4 ++-- 5 files changed, 34 insertions(+), 34 deletions(-) diff --git a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap index 6da1f644e7f3..69cfc39a9ca0 100644 --- a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap +++ b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap @@ -5381,7 +5381,7 @@ exports[`Storyshots UI|Notifications/Item longText 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: rgba(0,0,0,0.95); + background-color: #F6F9FC; -webkit-text-decoration: none; text-decoration: none; } @@ -5395,7 +5395,7 @@ exports[`Storyshots UI|Notifications/Item longText 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: rgba(0,0,0,0.95); + background-color: #F6F9FC; -webkit-text-decoration: none; text-decoration: none; } @@ -5421,7 +5421,7 @@ exports[`Storyshots UI|Notifications/Item simple 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: rgba(0,0,0,0.95); + background-color: #F6F9FC; -webkit-text-decoration: none; text-decoration: none; } @@ -5435,7 +5435,7 @@ exports[`Storyshots UI|Notifications/Item simple 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: rgba(0,0,0,0.95); + background-color: #F6F9FC; -webkit-text-decoration: none; text-decoration: none; } @@ -5461,7 +5461,7 @@ exports[`Storyshots UI|Notifications/Item withLink 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: rgba(0,0,0,0.95); + background-color: #F6F9FC; -webkit-text-decoration: none; text-decoration: none; } @@ -5475,7 +5475,7 @@ exports[`Storyshots UI|Notifications/Item withLink 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: rgba(0,0,0,0.95); + background-color: #F6F9FC; -webkit-text-decoration: none; text-decoration: none; } @@ -5502,7 +5502,7 @@ exports[`Storyshots UI|Notifications/Notifications all 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: rgba(0,0,0,0.95); + background-color: #F6F9FC; -webkit-text-decoration: none; text-decoration: none; } @@ -5532,7 +5532,7 @@ exports[`Storyshots UI|Notifications/Notifications all 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: rgba(0,0,0,0.95); + background-color: #F6F9FC; -webkit-text-decoration: none; text-decoration: none; } @@ -5589,7 +5589,7 @@ exports[`Storyshots UI|Notifications/Notifications placement 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: rgba(0,0,0,0.95); + background-color: #F6F9FC; -webkit-text-decoration: none; text-decoration: none; } @@ -5618,7 +5618,7 @@ exports[`Storyshots UI|Notifications/Notifications placement 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: rgba(0,0,0,0.95); + background-color: #F6F9FC; -webkit-text-decoration: none; text-decoration: none; } @@ -5674,7 +5674,7 @@ exports[`Storyshots UI|Notifications/Notifications single 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: rgba(0,0,0,0.95); + background-color: #F6F9FC; -webkit-text-decoration: none; text-decoration: none; } @@ -5704,7 +5704,7 @@ exports[`Storyshots UI|Notifications/Notifications single 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: rgba(0,0,0,0.95); + background-color: #F6F9FC; -webkit-text-decoration: none; text-decoration: none; } diff --git a/lib/components/src/tooltip/__snapshots__/Tooltip.stories.storyshot b/lib/components/src/tooltip/__snapshots__/Tooltip.stories.storyshot index baeb3ec46624..a09351e0cfd1 100644 --- a/lib/components/src/tooltip/__snapshots__/Tooltip.stories.storyshot +++ b/lib/components/src/tooltip/__snapshots__/Tooltip.stories.storyshot @@ -8,7 +8,7 @@ exports[`Storyshots basics/Tooltip/Tooltip basic, default 1`] = ` margin-top: 0px; margin-left: 0px; margin-right: 0px; - background: rgba(255,255,255,0.95); + background: #F6F9FC; -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); border-radius: 8px; @@ -30,7 +30,7 @@ exports[`Storyshots basics/Tooltip/Tooltip basic, default 1`] = ` border-top-width: 8px; border-right-width: 8px; border-left-width: 8px; - border-top-color: rgba(255,255,255,0.95); + border-top-color: #F6F9FC; border-bottom-color: transparent; border-left-color: transparent; border-right-color: transparent; @@ -77,7 +77,7 @@ exports[`Storyshots basics/Tooltip/Tooltip basic, default, bottom 1`] = ` margin-top: 10px; margin-left: 0px; margin-right: 0px; - background: rgba(255,255,255,0.95); + background: #F6F9FC; -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); border-radius: 8px; @@ -100,7 +100,7 @@ exports[`Storyshots basics/Tooltip/Tooltip basic, default, bottom 1`] = ` border-right-width: 8px; border-left-width: 8px; border-top-color: transparent; - border-bottom-color: rgba(255,255,255,0.95); + border-bottom-color: #F6F9FC; border-left-color: transparent; border-right-color: transparent; } @@ -136,7 +136,7 @@ exports[`Storyshots basics/Tooltip/Tooltip basic, default, left 1`] = ` margin-top: 0px; margin-left: 0px; margin-right: 10px; - background: rgba(255,255,255,0.95); + background: #F6F9FC; -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); border-radius: 8px; @@ -160,7 +160,7 @@ exports[`Storyshots basics/Tooltip/Tooltip basic, default, left 1`] = ` border-left-width: 8px; border-top-color: transparent; border-bottom-color: transparent; - border-left-color: rgba(255,255,255,0.95); + border-left-color: #F6F9FC; border-right-color: transparent; } @@ -195,7 +195,7 @@ exports[`Storyshots basics/Tooltip/Tooltip basic, default, right 1`] = ` margin-top: 0px; margin-left: 10px; margin-right: 0px; - background: rgba(255,255,255,0.95); + background: #F6F9FC; -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); border-radius: 8px; @@ -220,7 +220,7 @@ exports[`Storyshots basics/Tooltip/Tooltip basic, default, right 1`] = ` border-top-color: transparent; border-bottom-color: transparent; border-left-color: transparent; - border-right-color: rgba(255,255,255,0.95); + border-right-color: #F6F9FC; }
Date: Thu, 13 Jun 2019 10:46:16 +0200 Subject: [PATCH 069/371] chore(notes): add angular documentation --- addons/notes/README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/addons/notes/README.md b/addons/notes/README.md index c4371d530874..8253c03b1b99 100644 --- a/addons/notes/README.md +++ b/addons/notes/README.md @@ -58,6 +58,27 @@ storiesOf('MyButton', module).add( ); ``` +### With Angular + +```js +import { storiesOf } from '@storybook/vue'; + +import { ButtonComponent } from './button.component'; + +storiesOf('Button', module).add( + 'with some emoji', + () => ({ + component: ButtonComponent, + props: { + text: '😀 😎 👍 💯' + } + }), + { + notes: 'A very simple example of addon notes', + } +); +``` + ## Using Markdown Using Markdown in your notes is supported, Storybook will load Markdown as raw by default. From 14fc78f0af4173837287b90334d13d77689a2288 Mon Sep 17 00:00:00 2001 From: Jakub Werner Date: Thu, 13 Jun 2019 12:42:34 +0200 Subject: [PATCH 070/371] change for contexts title fallback --- .../src/manager/components/ToolBarControl.tsx | 2 +- .../src/manager/components/ToolBarMenu.tsx | 14 +++++++++----- .../stories/addon-contexts.stories.js | 1 - lib/api/src/version.ts | 2 +- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/addons/contexts/src/manager/components/ToolBarControl.tsx b/addons/contexts/src/manager/components/ToolBarControl.tsx index 0fab1e873ed6..20de51e25559 100644 --- a/addons/contexts/src/manager/components/ToolBarControl.tsx +++ b/addons/contexts/src/manager/components/ToolBarControl.tsx @@ -47,5 +47,5 @@ export const ToolBarControl: ToolBarControl = ({ }, }; - return icon && list.length && !options.disable ? : null; + return list.length && !options.disable ? : null; }; diff --git a/addons/contexts/src/manager/components/ToolBarMenu.tsx b/addons/contexts/src/manager/components/ToolBarMenu.tsx index efba73366bbe..1054bddf83ea 100644 --- a/addons/contexts/src/manager/components/ToolBarMenu.tsx +++ b/addons/contexts/src/manager/components/ToolBarMenu.tsx @@ -1,10 +1,10 @@ import React, { ComponentProps } from 'react'; -import { Icons, IconButton, WithTooltip } from '@storybook/components'; +import { Icons, IconButton, WithTooltip, TabButton } from '@storybook/components'; import { ToolBarMenuOptions } from './ToolBarMenuOptions'; import { ContextNode, FCNoChildren } from '../../shared/types.d'; type ToolBarMenu = FCNoChildren<{ - icon: ComponentProps['icon']; + icon?: ComponentProps['icon'] | '' | void; title: ContextNode['title']; active: boolean; expanded: boolean; @@ -28,8 +28,12 @@ export const ToolBarMenu: ToolBarMenu = ({ onVisibilityChange={setExpanded} tooltip={} > - - - + {icon ? ( + + + + ) : ( + {title} + )} ); diff --git a/examples/official-storybook/stories/addon-contexts.stories.js b/examples/official-storybook/stories/addon-contexts.stories.js index f7d8bb94ba60..7f646826d736 100644 --- a/examples/official-storybook/stories/addon-contexts.stories.js +++ b/examples/official-storybook/stories/addon-contexts.stories.js @@ -5,7 +5,6 @@ import { withContexts } from '@storybook/addon-contexts/react'; // Example A: Simple CSS Theming const topLevelContexts = [ { - icon: 'sidebaralt', title: 'CSS Themes', components: ['div'], params: [ diff --git a/lib/api/src/version.ts b/lib/api/src/version.ts index 26f79de3bc32..cc27aa191530 100644 --- a/lib/api/src/version.ts +++ b/lib/api/src/version.ts @@ -1 +1 @@ -export const version = '5.2.0-unreleased.0'; +export const version = '5.2.0-alpha.23'; From 11fdc16aeff3fe5c102339897ccbb8187eda084c Mon Sep 17 00:00:00 2001 From: Jakub Werner Date: Thu, 13 Jun 2019 12:49:48 +0200 Subject: [PATCH 071/371] adding test --- .../manager/components/ToolBarMenu.test.tsx | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/addons/contexts/src/manager/components/ToolBarMenu.test.tsx b/addons/contexts/src/manager/components/ToolBarMenu.test.tsx index dd1e7ef26f4c..2d4e9a6942b0 100644 --- a/addons/contexts/src/manager/components/ToolBarMenu.test.tsx +++ b/addons/contexts/src/manager/components/ToolBarMenu.test.tsx @@ -53,4 +53,51 @@ describe('Tests on addon-contexts component: ToolBarMenu', () => { `); }); + + it('should render TabButton with title if the icon is given', () => { + // given + const someProps = { + title: 'Some Context', + active: true, + expanded: false, + setExpanded: jest.fn, + optionsProps: { + activeName: 'A', + list: ['A', 'B'], + onSelectOption: jest.fn, + }, + }; + + // when + const result = shallow(); + + // then + expect(result).toMatchInlineSnapshot(` + + } + tooltipShown={false} + trigger="click" + > + + Some Context + + + `); + }); }); From f2de67904542686785dcb6cc2046c251169888f6 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 13 Jun 2019 13:05:52 +0200 Subject: [PATCH 072/371] FIX the issue --- lib/ui/src/components/sidebar/SidebarItem.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/ui/src/components/sidebar/SidebarItem.js b/lib/ui/src/components/sidebar/SidebarItem.js index 6384ba727142..e2830f341994 100644 --- a/lib/ui/src/components/sidebar/SidebarItem.js +++ b/lib/ui/src/components/sidebar/SidebarItem.js @@ -49,7 +49,9 @@ const Icon = styled(Icons)( ({ isSelected }) => (isSelected ? { color: 'inherit' } : {}) ); -export const Item = styled.div( +export const Item = styled(({ className, children }) => ( +
{children}
+))( { fontSize: 13, lineHeight: '16px', From 4167073cc5365d0340f2bfe6c0996df6bc19a798 Mon Sep 17 00:00:00 2001 From: "zoltan.kochan" Date: Thu, 13 Jun 2019 14:08:20 +0300 Subject: [PATCH 073/371] Add missing dependencies to ui/react --- app/react/package.json | 1 + lib/ui/package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/app/react/package.json b/app/react/package.json index af64149fb8d5..f86b8b938af5 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -32,6 +32,7 @@ "@storybook/core": "5.2.0-alpha.23", "@storybook/node-logger": "5.2.0-alpha.23", "@svgr/webpack": "^4.0.3", + "babel-plugin-add-react-displayname": "^0.0.5", "babel-plugin-named-asset-import": "^0.3.1", "babel-plugin-react-docgen": "^3.0.0", "babel-preset-react-app": "^9.0.0", diff --git a/lib/ui/package.json b/lib/ui/package.json index afb6284864aa..5ae92fedb22a 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -24,6 +24,7 @@ "dependencies": { "@storybook/addons": "5.2.0-alpha.23", "@storybook/api": "5.2.0-alpha.23", + "@storybook/channels": "5.2.0-alpha.23", "@storybook/client-logger": "5.2.0-alpha.23", "@storybook/components": "5.2.0-alpha.23", "@storybook/core-events": "5.2.0-alpha.23", From e3c0d9386596eb7ae1138d4ad050f098c7baa056 Mon Sep 17 00:00:00 2001 From: Alex Wilson Date: Thu, 13 Jun 2019 07:15:42 -0400 Subject: [PATCH 074/371] Update CONTRIBUTING.md removed "If you want to work on a UI feature, refer to the [Storybook UI](https://github.com/storybookjs/storybook/tree/master/lib/ui) page." because it was causing confusion and sending people to the hacking guide --- CONTRIBUTING.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ab00172371e1..9d85e25c3b9c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -251,8 +251,6 @@ If an issue is a `bug`, and it doesn't have a clear reproduction that you have p ## Development Guide -> If you want to work on a UI feature, refer to the [Storybook UI](https://github.com/storybookjs/storybook/tree/master/lib/ui) page. - ### Prerequisites Please have the **_latest_** stable versions of the following on your machine From 2a5778d9ecf7c31bf5d6febf5c1ee590ef52465e Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 13 Jun 2019 13:51:31 +0200 Subject: [PATCH 075/371] FIX missing ID --- lib/ui/src/components/sidebar/SidebarItem.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/ui/src/components/sidebar/SidebarItem.js b/lib/ui/src/components/sidebar/SidebarItem.js index e2830f341994..28f280440701 100644 --- a/lib/ui/src/components/sidebar/SidebarItem.js +++ b/lib/ui/src/components/sidebar/SidebarItem.js @@ -49,8 +49,10 @@ const Icon = styled(Icons)( ({ isSelected }) => (isSelected ? { color: 'inherit' } : {}) ); -export const Item = styled(({ className, children }) => ( -
{children}
+export const Item = styled(({ className, children, id }) => ( +
+ {children} +
))( { fontSize: 13, From aebabf8069a3aad09654d8272b48e5a5fbbb13af Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 13 Jun 2019 13:52:00 +0200 Subject: [PATCH 076/371] FIX version.ts file --- lib/api/src/version.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/api/src/version.ts b/lib/api/src/version.ts index 26f79de3bc32..cc27aa191530 100644 --- a/lib/api/src/version.ts +++ b/lib/api/src/version.ts @@ -1 +1 @@ -export const version = '5.2.0-unreleased.0'; +export const version = '5.2.0-alpha.23'; From be7e36c582295d06a6f5242edd5807322c1ceb29 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" Date: Thu, 13 Jun 2019 11:59:20 +0000 Subject: [PATCH 077/371] Bump styled-components from 4.3.0 to 4.3.1 in /docs Bumps [styled-components](https://github.com/styled-components/styled-components) from 4.3.0 to 4.3.1. - [Release notes](https://github.com/styled-components/styled-components/releases) - [Changelog](https://github.com/styled-components/styled-components/blob/master/CHANGELOG.md) - [Commits](https://github.com/styled-components/styled-components/compare/v4.3.0...v4.3.1) Signed-off-by: dependabot-preview[bot] --- docs/package.json | 2 +- docs/yarn.lock | 98 ++++++++++++++++++++++++++++++++++------------- 2 files changed, 73 insertions(+), 27 deletions(-) diff --git a/docs/package.json b/docs/package.json index 412f5fa79baa..f834a7402a3b 100644 --- a/docs/package.json +++ b/docs/package.json @@ -48,7 +48,7 @@ "react-stack-grid": "^0.7.1", "recompose": "^0.30.0", "sitemap": "^2.2.0", - "styled-components": "^4.3.0", + "styled-components": "^4.3.1", "validatorjs": "^3.15.1" } } diff --git a/docs/yarn.lock b/docs/yarn.lock index 88064121dbba..2efeceaa4413 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -166,6 +166,17 @@ dependencies: "@ndhoule/each" "^2.0.1" +"@reach/router@^1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@reach/router/-/router-1.2.1.tgz#34ae3541a5ac44fa7796e5506a5d7274a162be4e" + integrity sha512-kTaX08X4g27tzIFQGRukaHmNbtMYDS3LEWIS8+l6OayGIw6Oyo1HIF/JzeuR2FoF9z6oV+x/wJSVSq4v8tcUGQ== + dependencies: + create-react-context "^0.2.1" + invariant "^2.2.3" + prop-types "^15.6.1" + react-lifecycles-compat "^3.0.4" + warning "^3.0.0" + "@segment/snippet@^4.0.1": version "4.4.0" resolved "https://registry.yarnpkg.com/@segment/snippet/-/snippet-4.4.0.tgz#153f17b8048a2764bbb1343a61f3c3c24da038e2" @@ -173,20 +184,21 @@ dependencies: "@ndhoule/map" "^2.0.1" -"@storybook/client-logger@5.1.3": - version "5.1.3" - resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-5.1.3.tgz#6d9f45fdac7d3f2f65d1238c35df11170c2f8b68" - integrity sha512-/86NGA7NPsAktpA0lSnw0NhgdqS7Grz08wE7Paz+qLDj1AxnttTvMZctWJ8bLAa3EeJ9wHXGak854CmGiVFnWA== +"@storybook/client-logger@5.2.0-alpha.23": + version "5.2.0-alpha.23" + resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-5.2.0-alpha.23.tgz#c59078b0041b8f443edeb24841e4b7a4908e3d0c" + integrity sha512-2TdYE+LBfmiiefRPt3DXVfRAxIu28vkc5pksgCbEwk1jscL6rAtD423HvcwhNR2nMdIDTzjBjkxq0ISp5dEmxw== dependencies: core-js "^3.0.1" -"@storybook/components@5.1.3": - version "5.1.3" - resolved "https://registry.yarnpkg.com/@storybook/components/-/components-5.1.3.tgz#9c6898f8f66bf6b9dfdb3ecca73370f2d799e546" - integrity sha512-lM+iSdIl/UlmPlgH3vqo8NhMAdPUrWkgp40CVADfXsM6Yxai/23gpg8/HEoHiU5hFjNxowJUt76gTvwt9ak+gg== +"@storybook/components@5.2.0-alpha.23": + version "5.2.0-alpha.23" + resolved "https://registry.yarnpkg.com/@storybook/components/-/components-5.2.0-alpha.23.tgz#df38d9dc5cf8245025dec25b247f4ce1b593f2c6" + integrity sha512-NaeB+r3eZPoyfZ6FrZk58Sy4zJVoTpVLhUHpc1cAhlQol8chuptUxreBDo6aRFYtVKOd/9rnyU/7B32ddxI+OA== dependencies: - "@storybook/client-logger" "5.1.3" - "@storybook/theming" "5.1.3" + "@storybook/client-logger" "5.2.0-alpha.23" + "@storybook/router" "5.2.0-alpha.23" + "@storybook/theming" "5.2.0-alpha.23" core-js "^3.0.1" global "^4.3.2" markdown-to-jsx "^6.9.1" @@ -194,8 +206,9 @@ polished "^3.3.1" popper.js "^1.14.7" prop-types "^15.7.2" - react "^16.8.4" - react-dom "^16.8.4" + react "^16.8.3" + react-addons-create-fragment "^15.6.2" + react-dom "^16.8.3" react-focus-lock "^1.18.3" react-helmet-async "^1.0.2" react-popper-tooltip "^2.8.3" @@ -204,14 +217,25 @@ recompose "^0.30.0" simplebar-react "^1.0.0-alpha.6" -"@storybook/theming@5.1.3": - version "5.1.3" - resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-5.1.3.tgz#705654392b020ef5654c6c500f4398cc7f067653" - integrity sha512-ScBAEMkpwY6pHPuD7SYqAwbQ3M4cOEYY2340HtLNR53M6EJ2mcd87rH2kwpTEgTzeA0VuUln6WXEoBz3WRBLYA== +"@storybook/router@5.2.0-alpha.23": + version "5.2.0-alpha.23" + resolved "https://registry.yarnpkg.com/@storybook/router/-/router-5.2.0-alpha.23.tgz#ce3d1bf997ad0e18925fb270d48a92514242e456" + integrity sha512-eTjJUN3GzwCHIR+nXzcVNEqvr/dlJExhC68JmkQ8QuabHXodnhWYLRyrUNc8ATJjUxdlc2VT/PBj0xq+PsUuHg== + dependencies: + "@reach/router" "^1.2.1" + core-js "^3.0.1" + global "^4.3.2" + memoizerific "^1.11.3" + qs "^6.6.0" + +"@storybook/theming@5.2.0-alpha.23": + version "5.2.0-alpha.23" + resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-5.2.0-alpha.23.tgz#8f0ae7345416b605db619896656393f567a72396" + integrity sha512-8kUpX7ojq4pZH082MOxTC3lHLBrO7POwKrmviZHMWt+93FvaLfSerl9CK0lbEbWt+L8ZdsG+cXRNJbc+PJEI7A== dependencies: "@emotion/core" "^10.0.9" "@emotion/styled" "^10.0.7" - "@storybook/client-logger" "5.1.3" + "@storybook/client-logger" "5.2.0-alpha.23" common-tags "^1.8.0" core-js "^3.0.1" deep-object-diff "^1.1.0" @@ -2946,6 +2970,14 @@ create-react-context@<=0.2.2: fbjs "^0.8.0" gud "^1.0.0" +create-react-context@^0.2.1: + version "0.2.3" + resolved "https://registry.yarnpkg.com/create-react-context/-/create-react-context-0.2.3.tgz#9ec140a6914a22ef04b8b09b7771de89567cb6f3" + integrity sha512-CQBmD0+QGgTaxDL3OX1IDXYqjkp2It4RIbcb99jS6AEg27Ga+a9G3JtK6SIu0HBwPLZlmwt9F7UwWA4Bn92Rag== + dependencies: + fbjs "^0.8.0" + gud "^1.0.0" + cross-env@^3.1.1: version "3.2.4" resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-3.2.4.tgz#9e0585f277864ed421ce756f81a980ff0d698aba" @@ -4276,7 +4308,7 @@ fb-watchman@^2.0.0: dependencies: bser "^2.0.0" -fbjs@^0.8.0, fbjs@^0.8.1, fbjs@^0.8.14, fbjs@^0.8.9: +fbjs@^0.8.0, fbjs@^0.8.1, fbjs@^0.8.14, fbjs@^0.8.4, fbjs@^0.8.9: version "0.8.17" resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.17.tgz#c4d598ead6949112653d6588b01a5cdcd9f90fdd" integrity sha1-xNWY6taUkRJlPWWIsBpc3Nn5D90= @@ -5968,7 +6000,7 @@ interpret@^1.0.0: resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296" integrity sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw== -invariant@2.2.4, invariant@^2.2.0, invariant@^2.2.2, invariant@^2.2.4: +invariant@2.2.4, invariant@^2.2.0, invariant@^2.2.2, invariant@^2.2.3, invariant@^2.2.4: version "2.2.4" resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== @@ -9557,6 +9589,11 @@ qs@6.5.2, qs@~6.5.2: resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA== +qs@^6.6.0: + version "6.7.0" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.7.0.tgz#41dc1a015e3d581f1621776be31afb2876a9b1bc" + integrity sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ== + query-string@^4.1.0: version "4.3.4" resolved "https://registry.yarnpkg.com/query-string/-/query-string-4.3.4.tgz#bbb693b9ca915c232515b228b1a02b609043dbeb" @@ -9644,6 +9681,15 @@ rc@^1.0.1, rc@^1.1.2, rc@^1.1.6, rc@^1.2.7: minimist "^1.2.0" strip-json-comments "~2.0.1" +react-addons-create-fragment@^15.6.2: + version "15.6.2" + resolved "https://registry.yarnpkg.com/react-addons-create-fragment/-/react-addons-create-fragment-15.6.2.tgz#a394de7c2c7becd6b5475ba1b97ac472ce7c74f8" + integrity sha1-o5TefCx77Na1R1uhuXrEcs58dPg= + dependencies: + fbjs "^0.8.4" + loose-envify "^1.3.1" + object-assign "^4.1.0" + react-clientside-effect@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/react-clientside-effect/-/react-clientside-effect-1.2.0.tgz#db823695f75e9616a5e4dd6d908e5ea627fb2516" @@ -9706,7 +9752,7 @@ react-dom@^15.6.0: object-assign "^4.1.0" prop-types "^15.5.10" -react-dom@^16.8.4, react-dom@^16.8.6: +react-dom@^16.8.3, react-dom@^16.8.6: version "16.8.6" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.8.6.tgz#71d6303f631e8b0097f56165ef608f051ff6e10f" integrity sha512-1nL7PIq9LTL3fthPqwkvr2zY7phIPjYrT0jp4HjyEQrEROnw4dG41VVwi/wfoCneoleqrNX7iAD+pXebJZwrwA== @@ -9773,7 +9819,7 @@ react-is@^16.6.0, react-is@^16.7.0, react-is@^16.8.1: resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.6.tgz#5bbc1e2d29141c9fbdfed456343fe2bc430a6a16" integrity sha512-aUk3bHfZ2bRSVFFbbeVS4i+lNPZr3/WM5jT2J5omUVV1zzcs1nAaf3l51ctA5FFvCRbhrH0bdAsRRQddFJZPtA== -react-lifecycles-compat@^3.0.2: +react-lifecycles-compat@^3.0.2, react-lifecycles-compat@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362" integrity sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA== @@ -9904,7 +9950,7 @@ react@15, react@^15.6.0: object-assign "^4.1.0" prop-types "^15.5.10" -react@^16.8.4, react@^16.8.6: +react@^16.8.3, react@^16.8.6: version "16.8.6" resolved "https://registry.yarnpkg.com/react/-/react-16.8.6.tgz#ad6c3a9614fd3a4e9ef51117f54d888da01f2bbe" integrity sha512-pC0uMkhLaHm11ZSJULfOBqV4tIZkx87ZLvbbQYunNixAAvjnC+snJCg0XQXn9VIsttVsbZP/H/ewzgsd5fxKXw== @@ -11645,10 +11691,10 @@ style-to-object@0.2.2: dependencies: css "2.2.4" -styled-components@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-4.3.0.tgz#1dbc329b101e548b63184c6466d0bdd51c59bedc" - integrity sha512-bm2o63f49gRFIXHzcsYWmam5OzEK2MMKuYXBGDrhQh3C8srRLDDwldylAgD3lNZrQT8SH1fTU5icZp9PyWrBpg== +styled-components@^4.3.1: + version "4.3.1" + resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-4.3.1.tgz#18c3709f4ed9d582cd206b1acd8b758a211dd114" + integrity sha512-04XKQFFSEx3qTeN5I4kiSeajrwG6juDMw2+vUgvfxeXFegE40TuPKS4fFey8RJP1Ii1AoVQVUOglrdUUey0ZHw== dependencies: "@babel/helper-module-imports" "^7.0.0" "@emotion/is-prop-valid" "^0.7.3" From 1aba4afc204815ba08716b249479e74fbc355bb6 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 13 Jun 2019 14:05:12 +0200 Subject: [PATCH 078/371] FIX snapshots --- .../__snapshots__/storyshots.test.js.snap | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap index 913118b84dc5..55ea770a53a6 100644 --- a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap +++ b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap @@ -8061,6 +8061,10 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` padding-left: 9px; } +.emotion-11.emotion-11 > svg + span { + background: #DDDDDD; +} + .emotion-11.emotion-11 > * { -webkit-animation: animation-0 1.5s ease-in-out infinite; animation: animation-0 1.5s ease-in-out infinite; @@ -8093,6 +8097,10 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` padding-left: 24px; } +.emotion-19.emotion-19 > svg + span { + background: #DDDDDD; +} + .emotion-19.emotion-19 > * { -webkit-animation: animation-0 1.5s ease-in-out infinite; animation: animation-0 1.5s ease-in-out infinite; @@ -8125,6 +8133,10 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` padding-left: 39px; } +.emotion-27.emotion-27 > svg + span { + background: #DDDDDD; +} + .emotion-27.emotion-27 > * { -webkit-animation: animation-0 1.5s ease-in-out infinite; animation: animation-0 1.5s ease-in-out infinite; @@ -8157,6 +8169,10 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` padding-left: 54px; } +.emotion-31.emotion-31 > svg + span { + background: #DDDDDD; +} + .emotion-31.emotion-31 > * { -webkit-animation: animation-0 1.5s ease-in-out infinite; animation: animation-0 1.5s ease-in-out infinite; @@ -8421,6 +8437,10 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` padding-left: 9px; } +.emotion-11.emotion-11 > svg + span { + background: #DDDDDD; +} + .emotion-11.emotion-11 > * { -webkit-animation: animation-0 1.5s ease-in-out infinite; animation: animation-0 1.5s ease-in-out infinite; @@ -8453,6 +8473,10 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` padding-left: 24px; } +.emotion-19.emotion-19 > svg + span { + background: #DDDDDD; +} + .emotion-19.emotion-19 > * { -webkit-animation: animation-0 1.5s ease-in-out infinite; animation: animation-0 1.5s ease-in-out infinite; @@ -8485,6 +8509,10 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` padding-left: 39px; } +.emotion-27.emotion-27 > svg + span { + background: #DDDDDD; +} + .emotion-27.emotion-27 > * { -webkit-animation: animation-0 1.5s ease-in-out infinite; animation: animation-0 1.5s ease-in-out infinite; @@ -8517,6 +8545,10 @@ exports[`Storyshots UI|Sidebar/Sidebar loading 1`] = ` padding-left: 54px; } +.emotion-31.emotion-31 > svg + span { + background: #DDDDDD; +} + .emotion-31.emotion-31 > * { -webkit-animation: animation-0 1.5s ease-in-out infinite; animation: animation-0 1.5s ease-in-out infinite; @@ -13107,6 +13139,10 @@ exports[`Storyshots UI|Sidebar/SidebarItem loading 1`] = ` padding-left: 9px; } +.emotion-3.emotion-3 > svg + span { + background: #DDDDDD; +} + .emotion-3.emotion-3 > * { -webkit-animation: animation-0 1.5s ease-in-out infinite; animation: animation-0 1.5s ease-in-out infinite; @@ -13211,6 +13247,10 @@ exports[`Storyshots UI|Sidebar/SidebarItem loading 1`] = ` padding-left: 9px; } +.emotion-3.emotion-3 > svg + span { + background: #DDDDDD; +} + .emotion-3.emotion-3 > * { -webkit-animation: animation-0 1.5s ease-in-out infinite; animation: animation-0 1.5s ease-in-out infinite; @@ -15320,6 +15360,10 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = ` padding-left: 9px; } +.emotion-3.emotion-3 > svg + span { + background: #DDDDDD; +} + .emotion-3.emotion-3 > * { -webkit-animation: animation-0 1.5s ease-in-out infinite; animation: animation-0 1.5s ease-in-out infinite; @@ -15352,6 +15396,10 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = ` padding-left: 24px; } +.emotion-11.emotion-11 > svg + span { + background: #DDDDDD; +} + .emotion-11.emotion-11 > * { -webkit-animation: animation-0 1.5s ease-in-out infinite; animation: animation-0 1.5s ease-in-out infinite; @@ -15384,6 +15432,10 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = ` padding-left: 39px; } +.emotion-19.emotion-19 > svg + span { + background: #DDDDDD; +} + .emotion-19.emotion-19 > * { -webkit-animation: animation-0 1.5s ease-in-out infinite; animation: animation-0 1.5s ease-in-out infinite; @@ -15416,6 +15468,10 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = ` padding-left: 54px; } +.emotion-23.emotion-23 > svg + span { + background: #DDDDDD; +} + .emotion-23.emotion-23 > * { -webkit-animation: animation-0 1.5s ease-in-out infinite; animation: animation-0 1.5s ease-in-out infinite; @@ -15528,6 +15584,10 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = ` padding-left: 9px; } +.emotion-3.emotion-3 > svg + span { + background: #DDDDDD; +} + .emotion-3.emotion-3 > * { -webkit-animation: animation-0 1.5s ease-in-out infinite; animation: animation-0 1.5s ease-in-out infinite; @@ -15560,6 +15620,10 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = ` padding-left: 24px; } +.emotion-11.emotion-11 > svg + span { + background: #DDDDDD; +} + .emotion-11.emotion-11 > * { -webkit-animation: animation-0 1.5s ease-in-out infinite; animation: animation-0 1.5s ease-in-out infinite; @@ -15592,6 +15656,10 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = ` padding-left: 39px; } +.emotion-19.emotion-19 > svg + span { + background: #DDDDDD; +} + .emotion-19.emotion-19 > * { -webkit-animation: animation-0 1.5s ease-in-out infinite; animation: animation-0 1.5s ease-in-out infinite; @@ -15624,6 +15692,10 @@ exports[`Storyshots UI|Sidebar/SidebarStories loading 1`] = ` padding-left: 54px; } +.emotion-23.emotion-23 > svg + span { + background: #DDDDDD; +} + .emotion-23.emotion-23 > * { -webkit-animation: animation-0 1.5s ease-in-out infinite; animation: animation-0 1.5s ease-in-out infinite; From ecbe98544446098d7ce87dba5d81383f40f513f6 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 13 Jun 2019 16:08:04 +0200 Subject: [PATCH 079/371] UPGRADE the plugin for core-js fix --- lib/core/package.json | 2 +- lib/ui/package.json | 2 +- package.json | 2 +- yarn.lock | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/core/package.json b/lib/core/package.json index 3a48f831ba26..14b9d3ba7ad0 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -47,7 +47,7 @@ "commander": "^2.19.0", "common-tags": "^1.8.0", "core-js": "^3.0.1", - "corejs-upgrade-webpack-plugin": "^1.0.1", + "corejs-upgrade-webpack-plugin": "^2.0.0", "css-loader": "^2.1.1", "detect-port": "^1.3.0", "dotenv-webpack": "^1.7.0", diff --git a/lib/ui/package.json b/lib/ui/package.json index afb6284864aa..c06ef78f2f45 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -55,7 +55,7 @@ "util-deprecate": "^1.0.2" }, "devDependencies": { - "corejs-upgrade-webpack-plugin": "^1.0.1", + "corejs-upgrade-webpack-plugin": "^2.0.0", "flush-promises": "^1.0.2", "terser-webpack-plugin": "^1.2.4", "webpack": "^4.33.0" diff --git a/package.json b/package.json index 8150f2f30343..914cbf3eb0c3 100644 --- a/package.json +++ b/package.json @@ -161,7 +161,7 @@ "common-tags": "^1.8.0", "concurrently": "^4.0.1", "core-js": "^3.0.1", - "corejs-upgrade-webpack-plugin": "^1.0.1", + "corejs-upgrade-webpack-plugin": "^2.0.0", "cross-env": "^5.2.0", "danger": "^7.0.15", "detect-port": "^1.3.0", diff --git a/yarn.lock b/yarn.lock index fb0d95340de8..de90f12b16a7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8844,10 +8844,10 @@ core-util-is@1.0.2, core-util-is@~1.0.0: resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= -corejs-upgrade-webpack-plugin@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/corejs-upgrade-webpack-plugin/-/corejs-upgrade-webpack-plugin-1.0.1.tgz#6f54085a60da28e60c62d551dbd899812d16ad57" - integrity sha512-WWZ7X0ly4TpnyoNypDNqQtq55Dyq2525iz5wD2Zq5mBC3qxIKY9Mm1Tfqf6xJxvQ1At9eC8i8aN5vLr444cunw== +corejs-upgrade-webpack-plugin@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/corejs-upgrade-webpack-plugin/-/corejs-upgrade-webpack-plugin-2.0.0.tgz#adc05c9db427d87062c981373d28d4d174ddffcd" + integrity sha512-EiVJMYjo8uVkaj0JdQnfCW+ZuGPdloCDCSNTDdxr7R/9T+WHCx/4u2Q9kCNNMDRoB02jpyZPzrX5GBWNXM+Smg== dependencies: resolve-from "^5.0.0" webpack "^4.33.0" From 665b352de29a11d77fad5741867215d3edea88e6 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 13 Jun 2019 16:19:25 +0200 Subject: [PATCH 080/371] FIX lockfile --- yarn.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yarn.lock b/yarn.lock index 3de24a16bfd6..fa3b0f755ac6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10556,7 +10556,7 @@ emojis-list@^2.0.0: resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389" integrity sha1-TapNnbAPmBmIDHn6RXrlsJof04k= -emotion-theming@^10.0.9: +emotion-theming@^10.0.10, emotion-theming@^10.0.9: version "10.0.10" resolved "https://registry.yarnpkg.com/emotion-theming/-/emotion-theming-10.0.10.tgz#efe8751119751bdc70fdc1795fe4cde0fb0cf14c" integrity sha512-E4SQ3Y91avxxydDgubi/po/GaC5MM1XHm8kcClKg1PA/TeOye0PiLBzAzlgt9dBzDRV9+qHDunsayPvzVYIYng== @@ -20938,7 +20938,7 @@ pnp-webpack-plugin@1.2.1: dependencies: ts-pnp "^1.0.0" -pnp-webpack-plugin@^1.2.1: +pnp-webpack-plugin@1.4.3, pnp-webpack-plugin@^1.2.1: version "1.4.3" resolved "https://registry.yarnpkg.com/pnp-webpack-plugin/-/pnp-webpack-plugin-1.4.3.tgz#0a100b63f4a1d09cee6ee55a87393b69f03ab5c7" integrity sha512-ExrNwuFH3DudHwWY2uRMqyiCOBEDdhQYHIAsqW/CM6hIZlSgXC/ma/p08FoNOUhVyh9hl1NGnMpR94T5i3SHaQ== From ca6487386a1b3f00132b16030b52d4db7e9e3647 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" Date: Thu, 13 Jun 2019 15:14:42 +0000 Subject: [PATCH 081/371] Bump html-react-parser from 0.7.0 to 0.7.1 in /docs Bumps [html-react-parser](https://github.com/remarkablemark/html-react-parser) from 0.7.0 to 0.7.1. - [Release notes](https://github.com/remarkablemark/html-react-parser/releases) - [Changelog](https://github.com/remarkablemark/html-react-parser/blob/master/CHANGELOG.md) - [Commits](https://github.com/remarkablemark/html-react-parser/compare/v0.7.0...v0.7.1) Signed-off-by: dependabot-preview[bot] --- docs/package.json | 2 +- docs/yarn.lock | 66 +++++++++++++++++++++++++++++++++++------------ 2 files changed, 51 insertions(+), 17 deletions(-) diff --git a/docs/package.json b/docs/package.json index f834a7402a3b..5168568d94a4 100644 --- a/docs/package.json +++ b/docs/package.json @@ -33,7 +33,7 @@ "gatsby-source-filesystem": "^1.5.39", "gatsby-transformer-remark": "^1.7.44", "global": "^4.4.0", - "html-react-parser": "^0.7.0", + "html-react-parser": "^0.7.1", "is-builtin-module": "^3.0.0", "lodash": "^4.17.11", "marked": "^0.6.2", diff --git a/docs/yarn.lock b/docs/yarn.lock index 2efeceaa4413..6af46929b909 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -2895,6 +2895,11 @@ core-js@^2.4.0, core-js@^2.5.0: resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.5.tgz#44bc8d249e7fb2ff5d00e0341a7ffb94fbf67895" integrity sha512-klh/kDpwX8hryYL14M9w/xei6vrv6sE8gTHDG7/T/+SEovB/G4ejwcfE/CBzO6Edsu+OETZMZ3wcX/EjUkrl5A== +core-js@^2.4.1: + version "2.6.9" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.9.tgz#6b4b214620c834152e179323727fc19741b084f2" + integrity sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A== + core-js@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.0.1.tgz#1343182634298f7f38622f95e73f54e48ddf4738" @@ -4308,6 +4313,25 @@ fb-watchman@^2.0.0: dependencies: bser "^2.0.0" +fbjs-css-vars@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/fbjs-css-vars/-/fbjs-css-vars-1.0.2.tgz#216551136ae02fe255932c3ec8775f18e2c078b8" + integrity sha512-b2XGFAFdWZWg0phtAWLHCk836A1Xann+I+Dgd3Gk64MHKZO44FfoD1KxyvbSh0qZsIoXQGGlVztIY+oitJPpRQ== + +fbjs@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-1.0.0.tgz#52c215e0883a3c86af2a7a776ed51525ae8e0a5a" + integrity sha512-MUgcMEJaFhCaF1QtWGnmq9ZDRAzECTCRAF7O6UZIlAlkTs1SasiX9aP0Iw7wfD2mJ7wDTNfg2w7u5fSCwJk1OA== + dependencies: + core-js "^2.4.1" + fbjs-css-vars "^1.0.0" + isomorphic-fetch "^2.1.1" + loose-envify "^1.0.0" + object-assign "^4.1.0" + promise "^7.1.1" + setimmediate "^1.0.5" + ua-parser-js "^0.7.18" + fbjs@^0.8.0, fbjs@^0.8.1, fbjs@^0.8.14, fbjs@^0.8.4, fbjs@^0.8.9: version "0.8.17" resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.17.tgz#c4d598ead6949112653d6588b01a5cdcd9f90fdd" @@ -5723,14 +5747,14 @@ html-entities@^1.2.0: resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-1.2.1.tgz#0df29351f0721163515dfb9e5543e5f6eed5162f" integrity sha1-DfKTUfByEWNRXfueVUPl9u7VFi8= -html-react-parser@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/html-react-parser/-/html-react-parser-0.7.0.tgz#943b935ce76705bdbef13eed2fec7eee010e5d06" - integrity sha512-CheTifRqOK1mFmtTnFnDUeHPrA19knrus4Hx+7lS/V5ywHvjAl5BMM8phVLWwLo73rqP2QBpnfvraXMMBgHqMw== +html-react-parser@^0.7.1: + version "0.7.1" + resolved "https://registry.yarnpkg.com/html-react-parser/-/html-react-parser-0.7.1.tgz#4230717092e1d2ea486bbe5e6b7f8c955b29cf91" + integrity sha512-e1rvyL5F4BjtQ+p89Y00lQem9A6G45WksytIwEpgxr7rVz4tF0vh1+jcQc8JfAjxWh8hOvzt2VCn1rPPpFZsVQ== dependencies: "@types/domhandler" "2.4.1" html-dom-parser "0.2.1" - react-dom-core "0.0.4" + react-dom-core "0.1.1" style-to-object "0.2.2" html-void-elements@^1.0.0, html-void-elements@^1.0.1: @@ -8132,6 +8156,11 @@ oauth-sign@~0.9.0: resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ== +object-assign@4.1.1, object-assign@^4.0.0, object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" + integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= + object-assign@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-2.1.1.tgz#43c36e5d569ff8e4816c4efa8be02d26967c18aa" @@ -8142,11 +8171,6 @@ object-assign@^3.0.0: resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-3.0.0.tgz#9bedd5ca0897949bca47e7ff408062d549f587f2" integrity sha1-m+3VygiXlJvKR+f/QIBi1Un1h/I= -object-assign@^4.0.0, object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" - integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= - object-component@0.0.3: version "0.0.3" resolved "https://registry.yarnpkg.com/object-component/-/object-component-0.0.3.tgz#f0c69aa50efc95b866c186f400a33769cb2f1291" @@ -9681,6 +9705,14 @@ rc@^1.0.1, rc@^1.1.2, rc@^1.1.6, rc@^1.2.7: minimist "^1.2.0" strip-json-comments "~2.0.1" +react-15@0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/react-15/-/react-15-0.2.0.tgz#5cc915031b433c50bdec225d3ef8b80a07295175" + integrity sha512-9bdNuBo2I+2AerqURa37AcCKwHqjOvWuNrsd8wKXF+Y+ceBbJAJ1GkWeTliZV40RiEiAgRCLOzwCBxihCZvOfg== + dependencies: + fbjs "1.0.0" + object-assign "4.1.1" + react-addons-create-fragment@^15.6.2: version "15.6.2" resolved "https://registry.yarnpkg.com/react-addons-create-fragment/-/react-addons-create-fragment-15.6.2.tgz#a394de7c2c7becd6b5475ba1b97ac472ce7c74f8" @@ -9735,12 +9767,14 @@ react-document-title@^2.0.3: prop-types "^15.5.6" react-side-effect "^1.0.2" -react-dom-core@0.0.4: - version "0.0.4" - resolved "https://registry.yarnpkg.com/react-dom-core/-/react-dom-core-0.0.4.tgz#26ef74749c1235993b0e570a83308f323a485b2a" - integrity sha512-nJoncKG/Ltlv3K7f0uVwX3kEvhrRl3dyKguxpYR3OmFF1REcRHiWWxSkD1hJdgeVfoBFp/DPVp48JZuaQhwLoQ== +react-dom-core@0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/react-dom-core/-/react-dom-core-0.1.1.tgz#d580a72941f84f7b5b53d95d406b654181fb8021" + integrity sha512-06UPgimujyIOsR9owLdLy5731O8rxs/CZrFYX/ZPDLC6VUDwJuTkPWmLVA03es1tO7JqsqsET4rVe0cfKBEQXA== dependencies: - react "15" + fbjs "1.0.0" + object-assign "4.1.1" + react-15 "0.2.0" react-dom@^15.6.0: version "15.6.2" @@ -9939,7 +9973,7 @@ react-transition-group@^1.2.0: prop-types "^15.5.6" warning "^3.0.0" -react@15, react@^15.6.0: +react@^15.6.0: version "15.6.2" resolved "https://registry.yarnpkg.com/react/-/react-15.6.2.tgz#dba0434ab439cfe82f108f0f511663908179aa72" integrity sha1-26BDSrQ5z+gvEI8PURZjkIF5qnI= From 280fdb04603ed3371ace0721c1a6795e94243e5d Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 13 Jun 2019 17:30:46 +0200 Subject: [PATCH 082/371] ADD packtracker to official example --- examples/official-storybook/package.json | 4 ++- yarn.lock | 32 ++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json index da0b260ec49e..db7861c4175d 100644 --- a/examples/official-storybook/package.json +++ b/examples/official-storybook/package.json @@ -10,9 +10,11 @@ "graphql": "node ./graphql-server/index.js", "image-snapshots": "yarn run build-storybook && yarn run do-image-snapshots", "now-build": "node ../../scripts/bootstrap --core && yarn run build-storybook --quiet", - "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks --no-dll" + "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks --no-dll", + "packtracker": "yarn storybook --smoke-test && packtracker-upload --stats=./node_modules/.cache/storybook/manager-stats.json" }, "devDependencies": { + "@packtracker/webpack-plugin": "^2.0.1", "@storybook/addon-a11y": "5.2.0-alpha.23", "@storybook/addon-actions": "5.2.0-alpha.23", "@storybook/addon-backgrounds": "5.2.0-alpha.23", diff --git a/yarn.lock b/yarn.lock index fb0d95340de8..2beabbf41c81 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3240,6 +3240,17 @@ universal-user-agent "^2.0.0" url-template "^2.0.8" +"@packtracker/webpack-plugin@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@packtracker/webpack-plugin/-/webpack-plugin-2.0.1.tgz#bd188431f724b759231f844fad031b20bb4616f3" + integrity sha512-OjzXfDsEjQuxLqPpSwjDIktIDBV7ygw58j2vNk41cJo/lDS/aPuBwKCmcbW7PraL5y+gQ0yxurVSKdda9t5LgA== + dependencies: + lodash "^4.17.11" + minimist "^1.2.0" + omit-deep "^0.3.0" + tiny-json-http "^7.0.2" + webpack-bundle-analyzer "^3.0.4" + "@polymer/polymer@^2.6.0": version "2.7.2" resolved "https://registry.yarnpkg.com/@polymer/polymer/-/polymer-2.7.2.tgz#ae49d14b412acf065527ae44db3db5b802d16867" @@ -19932,6 +19943,14 @@ omggif@^1.0.9: resolved "https://registry.yarnpkg.com/omggif/-/omggif-1.0.9.tgz#dcb7024dacd50c52b4d303f04802c91c057c765f" integrity sha1-3LcCTazVDFK00wPwSALJHAV8dl8= +omit-deep@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/omit-deep/-/omit-deep-0.3.0.tgz#21c8af3499bcadd29651a232cbcacbc52445ebec" + integrity sha1-IcivNJm8rdKWUaIyy8rLxSRF6+w= + dependencies: + is-plain-object "^2.0.1" + unset-value "^0.1.1" + on-finished@~2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947" @@ -26720,6 +26739,11 @@ tiny-emitter@^2.0.0: resolved "https://registry.yarnpkg.com/tiny-emitter/-/tiny-emitter-2.1.0.tgz#1d1a56edfc51c43e863cbb5382a72330e3555423" integrity sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q== +tiny-json-http@^7.0.2: + version "7.1.2" + resolved "https://registry.yarnpkg.com/tiny-json-http/-/tiny-json-http-7.1.2.tgz#620e189849bab08992ec23fada7b48c7c61637b4" + integrity sha512-XB9Bu+ohdQso6ziPFNVqK+pcTt0l8BSRkW/CCBq0pUVlLxcYDsorpo7ae5yPhu2CF1xYgJuKVLF7cfOGeLCTlA== + tiny-lr@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/tiny-lr/-/tiny-lr-1.1.1.tgz#9fa547412f238fedb068ee295af8b682c98b2aab" @@ -27604,6 +27628,14 @@ unquote@^1.1.0, unquote@~1.1.1: resolved "https://registry.yarnpkg.com/unquote/-/unquote-1.1.1.tgz#8fded7324ec6e88a0ff8b905e7c098cdc086d544" integrity sha1-j97XMk7G6IoP+LkF58CYzcCG1UQ= +unset-value@^0.1.1: + version "0.1.2" + resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-0.1.2.tgz#506810b867f27c2a5a6e9b04833631f6de58d310" + integrity sha1-UGgQuGfyfCpabpsEgzYx9t5Y0xA= + dependencies: + has-value "^0.3.1" + isobject "^3.0.0" + unset-value@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559" From 0e3254613a54ad0cdbea5b70cd7b815f611db7da Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 13 Jun 2019 20:46:53 +0200 Subject: [PATCH 083/371] Found a really bad import, leading to the entire library of highlight.js being included --- addons/storysource/src/StoryPanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/storysource/src/StoryPanel.js b/addons/storysource/src/StoryPanel.js index 939629be46dd..afa1d63ce276 100644 --- a/addons/storysource/src/StoryPanel.js +++ b/addons/storysource/src/StoryPanel.js @@ -4,7 +4,7 @@ import { styled } from '@storybook/theming'; import { Link } from '@storybook/router'; import { SyntaxHighlighter } from '@storybook/components'; -import { createElement } from 'react-syntax-highlighter'; +import createElement from 'react-syntax-highlighter/create-element'; import { EVENT_ID } from './events'; const StyledStoryLink = styled(Link)(({ theme }) => ({ From c173bf0e8a7d7394dab806c190a9662e2a34028d Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Thu, 13 Jun 2019 21:07:26 +0200 Subject: [PATCH 084/371] ADD job to CircleCI --- .circleci/config.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4a162f629341..9f6b618ddb80 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -50,6 +50,17 @@ jobs: - run: name: Run chromatic on the pre-built storybook command: yarn chromatic -- -d ./storybook-static + packtracker: + <<: *defaults + steps: + - checkout + - attach_workspace: + at: . + - run: + name: Report webpack stats for manager of official storybook + command: | + cd examples/official-storybook + yarn packtracker examples: <<: *defaults steps: @@ -350,6 +361,9 @@ workflows: - smoke-tests: requires: - build + - packtracker: + requires: + - build - native-smoke-tests: requires: - build From b8ac710fbec1112c66371d6312cbac76279c01db Mon Sep 17 00:00:00 2001 From: lonyele Date: Fri, 14 Jun 2019 04:23:59 +0900 Subject: [PATCH 085/371] Fix stupid mistake --- lib/theming/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/theming/src/utils.ts b/lib/theming/src/utils.ts index 48e27411828d..445ce2f683d9 100644 --- a/lib/theming/src/utils.ts +++ b/lib/theming/src/utils.ts @@ -23,7 +23,7 @@ const isColorString = (color: string) => { // that crashes the entire storybook. It needs to be guarded when arguments // of those functions are from user input. const isValidColorForPolished = (color: string) => { - return /(gradient|var|calc)/.test(color); + return !/(gradient|var|calc)/.test(color); }; const applyPolished = (type: string, color: string) => { From 73fca95969f2914286a6c475e16c37d687f568c2 Mon Sep 17 00:00:00 2001 From: lonyele Date: Fri, 14 Jun 2019 04:52:15 +0900 Subject: [PATCH 086/371] Fix snapshots --- .../__snapshots__/storyshots.test.js.snap | 24 +++++++++---------- .../__snapshots__/Tooltip.stories.storyshot | 16 ++++++------- .../TooltipLinkList.stories.storyshot | 8 +++---- .../TooltipMessage.stories.storyshot | 16 ++++++------- .../WithTooltip.stories.storyshot | 4 ++-- 5 files changed, 34 insertions(+), 34 deletions(-) diff --git a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap index 69cfc39a9ca0..6da1f644e7f3 100644 --- a/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap +++ b/examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap @@ -5381,7 +5381,7 @@ exports[`Storyshots UI|Notifications/Item longText 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: #F6F9FC; + background-color: rgba(0,0,0,0.95); -webkit-text-decoration: none; text-decoration: none; } @@ -5395,7 +5395,7 @@ exports[`Storyshots UI|Notifications/Item longText 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: #F6F9FC; + background-color: rgba(0,0,0,0.95); -webkit-text-decoration: none; text-decoration: none; } @@ -5421,7 +5421,7 @@ exports[`Storyshots UI|Notifications/Item simple 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: #F6F9FC; + background-color: rgba(0,0,0,0.95); -webkit-text-decoration: none; text-decoration: none; } @@ -5435,7 +5435,7 @@ exports[`Storyshots UI|Notifications/Item simple 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: #F6F9FC; + background-color: rgba(0,0,0,0.95); -webkit-text-decoration: none; text-decoration: none; } @@ -5461,7 +5461,7 @@ exports[`Storyshots UI|Notifications/Item withLink 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: #F6F9FC; + background-color: rgba(0,0,0,0.95); -webkit-text-decoration: none; text-decoration: none; } @@ -5475,7 +5475,7 @@ exports[`Storyshots UI|Notifications/Item withLink 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: #F6F9FC; + background-color: rgba(0,0,0,0.95); -webkit-text-decoration: none; text-decoration: none; } @@ -5502,7 +5502,7 @@ exports[`Storyshots UI|Notifications/Notifications all 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: #F6F9FC; + background-color: rgba(0,0,0,0.95); -webkit-text-decoration: none; text-decoration: none; } @@ -5532,7 +5532,7 @@ exports[`Storyshots UI|Notifications/Notifications all 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: #F6F9FC; + background-color: rgba(0,0,0,0.95); -webkit-text-decoration: none; text-decoration: none; } @@ -5589,7 +5589,7 @@ exports[`Storyshots UI|Notifications/Notifications placement 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: #F6F9FC; + background-color: rgba(0,0,0,0.95); -webkit-text-decoration: none; text-decoration: none; } @@ -5618,7 +5618,7 @@ exports[`Storyshots UI|Notifications/Notifications placement 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: #F6F9FC; + background-color: rgba(0,0,0,0.95); -webkit-text-decoration: none; text-decoration: none; } @@ -5674,7 +5674,7 @@ exports[`Storyshots UI|Notifications/Notifications single 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: #F6F9FC; + background-color: rgba(0,0,0,0.95); -webkit-text-decoration: none; text-decoration: none; } @@ -5704,7 +5704,7 @@ exports[`Storyshots UI|Notifications/Notifications single 1`] = ` line-height: 16px; box-shadow: 0 5px 15px 0 rgba(0,0,0,0.1),0 2px 5px 0 rgba(0,0,0,0.05); color: #FFFFFF; - background-color: #F6F9FC; + background-color: rgba(0,0,0,0.95); -webkit-text-decoration: none; text-decoration: none; } diff --git a/lib/components/src/tooltip/__snapshots__/Tooltip.stories.storyshot b/lib/components/src/tooltip/__snapshots__/Tooltip.stories.storyshot index a09351e0cfd1..baeb3ec46624 100644 --- a/lib/components/src/tooltip/__snapshots__/Tooltip.stories.storyshot +++ b/lib/components/src/tooltip/__snapshots__/Tooltip.stories.storyshot @@ -8,7 +8,7 @@ exports[`Storyshots basics/Tooltip/Tooltip basic, default 1`] = ` margin-top: 0px; margin-left: 0px; margin-right: 0px; - background: #F6F9FC; + background: rgba(255,255,255,0.95); -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); border-radius: 8px; @@ -30,7 +30,7 @@ exports[`Storyshots basics/Tooltip/Tooltip basic, default 1`] = ` border-top-width: 8px; border-right-width: 8px; border-left-width: 8px; - border-top-color: #F6F9FC; + border-top-color: rgba(255,255,255,0.95); border-bottom-color: transparent; border-left-color: transparent; border-right-color: transparent; @@ -77,7 +77,7 @@ exports[`Storyshots basics/Tooltip/Tooltip basic, default, bottom 1`] = ` margin-top: 10px; margin-left: 0px; margin-right: 0px; - background: #F6F9FC; + background: rgba(255,255,255,0.95); -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); border-radius: 8px; @@ -100,7 +100,7 @@ exports[`Storyshots basics/Tooltip/Tooltip basic, default, bottom 1`] = ` border-right-width: 8px; border-left-width: 8px; border-top-color: transparent; - border-bottom-color: #F6F9FC; + border-bottom-color: rgba(255,255,255,0.95); border-left-color: transparent; border-right-color: transparent; } @@ -136,7 +136,7 @@ exports[`Storyshots basics/Tooltip/Tooltip basic, default, left 1`] = ` margin-top: 0px; margin-left: 0px; margin-right: 10px; - background: #F6F9FC; + background: rgba(255,255,255,0.95); -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); border-radius: 8px; @@ -160,7 +160,7 @@ exports[`Storyshots basics/Tooltip/Tooltip basic, default, left 1`] = ` border-left-width: 8px; border-top-color: transparent; border-bottom-color: transparent; - border-left-color: #F6F9FC; + border-left-color: rgba(255,255,255,0.95); border-right-color: transparent; } @@ -195,7 +195,7 @@ exports[`Storyshots basics/Tooltip/Tooltip basic, default, right 1`] = ` margin-top: 0px; margin-left: 10px; margin-right: 0px; - background: #F6F9FC; + background: rgba(255,255,255,0.95); -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); border-radius: 8px; @@ -220,7 +220,7 @@ exports[`Storyshots basics/Tooltip/Tooltip basic, default, right 1`] = ` border-top-color: transparent; border-bottom-color: transparent; border-left-color: transparent; - border-right-color: #F6F9FC; + border-right-color: rgba(255,255,255,0.95); }
Date: Fri, 14 Jun 2019 05:12:06 +0900 Subject: [PATCH 087/371] Add test case for valid arguments --- lib/theming/src/tests/util.test.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/theming/src/tests/util.test.js b/lib/theming/src/tests/util.test.js index 1cbba95d65a6..d2e6f57ffce5 100644 --- a/lib/theming/src/tests/util.test.js +++ b/lib/theming/src/tests/util.test.js @@ -1,6 +1,16 @@ import { lightenColor as lighten, darkenColor as darken } from '../utils'; describe('utils', () => { + it('should apply polished when valid arguments are passed', () => { + const lightColor = '#F6F9FC'; + const darkColor = '#2f2f2f'; + const darkenedColor = darken(lightColor); + const lightenedColor = lighten(darkColor); + + expect(darkenedColor).toEqual('rgba(0,0,0,0.95)'); + expect(lightenedColor).toEqual('rgba(255,255,255,0.95)'); + }); + it('should guard non-string value is being passed to color of theme object', () => { const result = () => { return lighten(1234); From bbb099ac4e0a7e3f6984e4c58509b462a7cf23ac Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Fri, 14 Jun 2019 04:45:19 +0800 Subject: [PATCH 088/371] Addon-contexts: Add core-js dep --- addons/contexts/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/contexts/package.json b/addons/contexts/package.json index 4796b46bb4f5..440d6de19e6a 100644 --- a/addons/contexts/package.json +++ b/addons/contexts/package.json @@ -31,7 +31,8 @@ "@storybook/addons": "5.2.0-alpha.23", "@storybook/api": "5.2.0-alpha.23", "@storybook/components": "5.2.0-alpha.23", - "@storybook/core-events": "5.2.0-alpha.23" + "@storybook/core-events": "5.2.0-alpha.23", + "core-js": "^3.0.1" }, "peerDependencies": { "global": "*", From 204d6ad3bebba76ca9a2d11abe216805e5ad0dd1 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Fri, 14 Jun 2019 05:05:19 +0800 Subject: [PATCH 089/371] RN-server: Add core-js dep --- app/react-native-server/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/app/react-native-server/package.json b/app/react-native-server/package.json index 17acc5504495..3909caf157e8 100644 --- a/app/react-native-server/package.json +++ b/app/react-native-server/package.json @@ -31,6 +31,7 @@ "@storybook/core-events": "5.2.0-alpha.23", "@storybook/ui": "5.2.0-alpha.23", "commander": "^2.19.0", + "core-js": "^3.0.1", "global": "^4.3.2", "react": "^16.6.0", "react-dom": "^16.8.3", From 7629704d44c183602d055472da0c9ab76d2f65d7 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Fri, 14 Jun 2019 00:42:40 +0200 Subject: [PATCH 090/371] IMPROVEMENTS on addon-info, I know shocker right? --- addons/info/package.json | 1 + addons/info/src/components/Node.js | 179 -------------------- addons/info/src/components/Story.js | 96 ++++------- addons/info/src/components/markdown/code.js | 4 +- addons/info/src/components/markdown/text.js | 20 +-- yarn.lock | 119 ++++++++++++- 6 files changed, 155 insertions(+), 264 deletions(-) delete mode 100644 addons/info/src/components/Node.js diff --git a/addons/info/package.json b/addons/info/package.json index 1dd2b8e3a6fd..65ddf062ed69 100644 --- a/addons/info/package.json +++ b/addons/info/package.json @@ -28,6 +28,7 @@ "@storybook/theming": "5.2.0-alpha.23", "core-js": "^3.0.1", "global": "^4.3.2", + "jsx-to-string": "^1.4.0", "marksy": "^7.0.0", "nested-object-assign": "^1.0.3", "prop-types": "^15.7.2", diff --git a/addons/info/src/components/Node.js b/addons/info/src/components/Node.js deleted file mode 100644 index a51c716a27ad..000000000000 --- a/addons/info/src/components/Node.js +++ /dev/null @@ -1,179 +0,0 @@ -import React from 'react'; -import { isForwardRef } from 'react-is'; -import PropTypes from 'prop-types'; -import Props from './Props'; -import { getDisplayName } from '../react-utils'; - -const stylesheet = { - containerStyle: {}, - tagStyle: { - color: '#444', - }, -}; - -function getData(element) { - const data = { - name: null, - text: null, - children: null, - }; - - if (element === null) { - return data; - } - - if (typeof element === 'string') { - data.text = element; - return data; - } - - if (typeof element === 'number') { - data.text = String.toString(element); - return data; - } - - data.children = element.props.children; - data.name = getDisplayName(element.type); - - return data; -} - -export default function Node(props) { - const { - node, - depth, - maxPropsIntoLine, - maxPropObjectKeys, - maxPropArrayLength, - maxPropStringLength, - } = props; - const { tagStyle, containerStyle } = stylesheet; - - const leftPad = { - paddingLeft: 3 + (depth + 1) * 15, - paddingRight: 3, - }; - - // Keep a copy so that further mutations to containerStyle don't impact us: - const containerStyleCopy = Object.assign({}, containerStyle, leftPad); - - const { name, text, children } = getData(node); - - // Just text - if (!name) { - return ( -
- {text} -
- ); - } - - if (isForwardRef(node) && !node.type.displayName) { - const childElement = node.type.render(node.props); - return ( -
-
- - < - {`ForwardRef`} - - - > -
- -
- - </ - {`ForwardRef`} - > - -
-
- ); - } - - // Single-line tag - if (!children) { - return ( -
- - < - {name} - - - /> -
- ); - } - - // tag with children - return ( -
-
- - < - {name} - - - > -
- {React.Children.map(children, childElement => ( - - ))} -
- - </ - {name} - > - -
-
- ); -} - -Node.defaultProps = { - node: null, - depth: 0, -}; - -Node.propTypes = { - node: PropTypes.node, - depth: PropTypes.number, - maxPropsIntoLine: PropTypes.number.isRequired, - maxPropObjectKeys: PropTypes.number.isRequired, - maxPropArrayLength: PropTypes.number.isRequired, - maxPropStringLength: PropTypes.number.isRequired, -}; diff --git a/addons/info/src/components/Story.js b/addons/info/src/components/Story.js index a8dc10026c6d..61d61cdda461 100644 --- a/addons/info/src/components/Story.js +++ b/addons/info/src/components/Story.js @@ -1,14 +1,14 @@ /* eslint no-underscore-dangle: 0 */ -import React, { Component, createElement } from 'react'; +import React, { Fragment, Component, createElement } from 'react'; import { isForwardRef } from 'react-is'; import { polyfill } from 'react-lifecycles-compat'; import PropTypes from 'prop-types'; import global from 'global'; import marksy from 'marksy'; -import Node from './Node'; -import { Pre } from './markdown'; +import jsxToString from 'react-element-to-jsx-string'; +import { Code } from './markdown'; import { getDisplayName, getType } from '../react-utils'; global.STORYBOOK_REACT_CLASSES = global.STORYBOOK_REACT_CLASSES || []; @@ -37,10 +37,9 @@ const stylesheetBase = { position: 'fixed', background: 'white', top: 0, - bottom: 0, left: 0, - right: 0, - padding: '0 40px', + height: '110vh', + width: '100vw', overflow: 'auto', zIndex: 99999, }, @@ -54,12 +53,9 @@ const stylesheetBase = { fontWeight: 300, lineHeight: 1.45, fontSize: '15px', - border: '1px solid #eee', padding: '20px 40px 40px', borderRadius: '2px', backgroundColor: '#fff', - marginTop: '20px', - marginBottom: '20px', }, infoContent: { marginBottom: 0, @@ -133,7 +129,7 @@ class Story extends Component { const { stylesheet } = this.state; return ( -
+ {this._renderInlineHeader()} {this._renderStory()}
@@ -144,7 +140,7 @@ class Story extends Component { {this._getPropTables()}
-
+ ); } @@ -187,7 +183,7 @@ class Story extends Component { }; return ( -
+
{children}
-
- -
-
- {this._getInfoHeader()} - {this._getInfoContent()} - {this._getComponentDescription()} - {this._getSourceCode()} - {this._getPropTables()} + {open ? ( +
+ +
+
+ {this._getInfoHeader()} + {this._getInfoContent()} + {this._getComponentDescription()} + {this._getSourceCode()} + {this._getPropTables()} +
-
-
+ ) : null} + ); } @@ -260,7 +258,8 @@ class Story extends Component { padding = matches[0].length; } const source = lines.map(s => s.slice(padding)).join('\n'); - return
{this.marksy(source).tree}
; + + return {this.marksy(source).tree}; } _getComponentDescription() { @@ -275,7 +274,7 @@ class Story extends Component { Object.keys(STORYBOOK_REACT_CLASSES).forEach(key => { if (validMatches.includes(STORYBOOK_REACT_CLASSES[key].name)) { const componentDescription = STORYBOOK_REACT_CLASSES[key].docgenInfo.description; - retDiv =
{this.marksy(componentDescription).tree}
; + retDiv = {this.marksy(componentDescription).tree}; } }); } @@ -284,14 +283,7 @@ class Story extends Component { } _getSourceCode() { - const { - showSource, - maxPropsIntoLine, - maxPropObjectKeys, - maxPropArrayLength, - maxPropStringLength, - children, - } = this.props; + const { showSource, children } = this.props; const { stylesheet } = this.state; if (!showSource) { @@ -299,22 +291,10 @@ class Story extends Component { } return ( -
+

Story Source

-
-          {React.Children.map(children, (root, idx) => (
-            
-          ))}
-        
-
+ + ); } @@ -404,16 +384,15 @@ class Story extends Component { } return ( -
+

Prop Types

{propTables} -
+ ); } render() { const { showInline } = this.props; - // return showInline ? this._renderInline() : this._renderOverlay(); } } @@ -437,7 +416,6 @@ Story.propTypes = { styles: PropTypes.func.isRequired, children: PropTypes.oneOfType([PropTypes.object, PropTypes.array]), components: PropTypes.shape({}), - maxPropsIntoLine: PropTypes.number.isRequired, maxPropObjectKeys: PropTypes.number.isRequired, maxPropArrayLength: PropTypes.number.isRequired, maxPropStringLength: PropTypes.number.isRequired, diff --git a/addons/info/src/components/markdown/code.js b/addons/info/src/components/markdown/code.js index 141aa3de5da5..3bd41509241c 100644 --- a/addons/info/src/components/markdown/code.js +++ b/addons/info/src/components/markdown/code.js @@ -3,9 +3,9 @@ import PropTypes from 'prop-types'; import { SyntaxHighlighter } from '@storybook/components'; import { ThemeProvider, convert } from '@storybook/theming'; -const Code = ({ code, language = 'plaintext' }) => ( +const Code = ({ code, language = 'plaintext', ...rest }) => ( - + {code} diff --git a/addons/info/src/components/markdown/text.js b/addons/info/src/components/markdown/text.js index f7928328bd5f..356a4575cd5e 100644 --- a/addons/info/src/components/markdown/text.js +++ b/addons/info/src/components/markdown/text.js @@ -5,35 +5,21 @@ const defaultProps = { children: null }; const propTypes = { children: PropTypes.node }; export function P({ children }) { - const style = { - fontSize: '15px', - }; - - //

is oftentimes used as a parent element of - // and

 elements, which is why 
- // is used as the outputted element when parsing - // marksy content rather than

. - return

{children}
; + return

{children}

; } P.defaultProps = defaultProps; P.propTypes = propTypes; export function LI({ children }) { - const style = { - fontSize: '15px', - }; - return
  • {children}
  • ; + return
  • {children}
  • ; } LI.defaultProps = defaultProps; LI.propTypes = propTypes; export function UL({ children }) { - const style = { - fontSize: '15px', - }; - return
      {children}
    ; + return
      {children}
    ; } UL.defaultProps = defaultProps; diff --git a/yarn.lock b/yarn.lock index de90f12b16a7..adeae948831e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4340,7 +4340,7 @@ acorn@^3.0.4: resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a" integrity sha1-ReN/s56No/JbruP/U2niu18iAXo= -acorn@^5.0.0, acorn@^5.5.0, acorn@^5.5.3, acorn@^5.6.2: +acorn@^5.0.0, acorn@^5.2.1, acorn@^5.5.0, acorn@^5.5.3, acorn@^5.6.2: version "5.7.3" resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279" integrity sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw== @@ -6428,6 +6428,11 @@ base32.js@0.1.0: resolved "https://registry.yarnpkg.com/base32.js/-/base32.js-0.1.0.tgz#b582dec693c2f11e893cf064ee6ac5b6131a2202" integrity sha1-tYLexpPC8R6JPPBk7mrFthMaIgI= +base62@^1.1.0: + version "1.2.8" + resolved "https://registry.yarnpkg.com/base62/-/base62-1.2.8.tgz#1264cb0fb848d875792877479dbe8bae6bae3428" + integrity sha512-V6YHUbjLxN1ymqNLb1DPHoU1CpfdL7d2YTIp5W3U4hhoG4hhxNmsFDs66M9EXxBiSEke5Bt5dwdfMwwZF70iLA== + base64-arraybuffer@0.1.5: version "0.1.5" resolved "https://registry.yarnpkg.com/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz#73926771923b5a19747ad666aa5cd4bf9c6e9ce8" @@ -8378,7 +8383,7 @@ commander@2.8.x: dependencies: graceful-readlink ">= 1.0.0" -commander@^2.11.0, commander@^2.12.1, commander@^2.14.1, commander@^2.15.1, commander@^2.18.0, commander@^2.19.0, commander@^2.6.0, commander@^2.8.1, commander@^2.9.0, commander@~2.20.0: +commander@^2.11.0, commander@^2.12.1, commander@^2.14.1, commander@^2.15.1, commander@^2.18.0, commander@^2.19.0, commander@^2.5.0, commander@^2.6.0, commander@^2.8.1, commander@^2.9.0, commander@~2.20.0: version "2.20.0" resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.0.tgz#d58bb2b5c1ee8f87b0d340027e9e94e222c5a422" integrity sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ== @@ -8403,6 +8408,21 @@ commondir@^1.0.1: resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" integrity sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs= +commoner@^0.10.1: + version "0.10.8" + resolved "https://registry.yarnpkg.com/commoner/-/commoner-0.10.8.tgz#34fc3672cd24393e8bb47e70caa0293811f4f2c5" + integrity sha1-NPw2cs0kOT6LtH5wyqApOBH08sU= + dependencies: + commander "^2.5.0" + detective "^4.3.1" + glob "^5.0.15" + graceful-fs "^4.1.2" + iconv-lite "^0.4.5" + mkdirp "^0.5.0" + private "^0.1.6" + q "^1.1.2" + recast "^0.11.17" + compare-func@^1.3.1: version "1.3.2" resolved "https://registry.yarnpkg.com/compare-func/-/compare-func-1.3.2.tgz#99dd0ba457e1f9bc722b12c08ec33eeab31fa648" @@ -9820,6 +9840,14 @@ detect-port@^1.3.0: address "^1.0.1" debug "^2.6.0" +detective@^4.3.1: + version "4.7.1" + resolved "https://registry.yarnpkg.com/detective/-/detective-4.7.1.tgz#0eca7314338442febb6d65da54c10bb1c82b246e" + integrity sha512-H6PmeeUcZloWtdt4DAkFyzFL94arpHr3NOwwmVILFiy+9Qd4JTxxXrzfyGk/lmct2qVGBwTSwSXagqu2BxmWig== + dependencies: + acorn "^5.2.1" + defined "^1.0.0" + detective@^5.0.2: version "5.2.0" resolved "https://registry.yarnpkg.com/detective/-/detective-5.2.0.tgz#feb2a77e85b904ecdea459ad897cc90a99bd2a7b" @@ -10674,6 +10702,14 @@ env-ci@^2.1.0: execa "^1.0.0" java-properties "^0.2.9" +envify@^3.0.0: + version "3.4.1" + resolved "https://registry.yarnpkg.com/envify/-/envify-3.4.1.tgz#d7122329e8df1688ba771b12501917c9ce5cbce8" + integrity sha1-1xIjKejfFoi6dxsSUBkXyc5cvOg= + dependencies: + jstransform "^11.0.3" + through "~2.3.4" + envinfo@5.10.0: version "5.10.0" resolved "https://registry.yarnpkg.com/envinfo/-/envinfo-5.10.0.tgz#503a9774ae15b93ea68bdfae2ccd6306624ea6df" @@ -11173,6 +11209,11 @@ espree@^5.0.1: acorn-jsx "^5.0.0" eslint-visitor-keys "^1.0.0" +esprima-fb@^15001.1.0-dev-harmony-fb: + version "15001.1.0-dev-harmony-fb" + resolved "https://registry.yarnpkg.com/esprima-fb/-/esprima-fb-15001.1.0-dev-harmony-fb.tgz#30a947303c6b8d5e955bee2b99b1d233206a6901" + integrity sha1-MKlHMDxrjV6VW+4rmbHSMyBqaQE= + esprima@^3.1.3, esprima@~3.1.0: version "3.1.3" resolved "https://registry.yarnpkg.com/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633" @@ -12215,6 +12256,17 @@ fbjs@0.8.17, fbjs@^0.8.0, fbjs@^0.8.1, fbjs@^0.8.4, fbjs@^0.8.9: setimmediate "^1.0.5" ua-parser-js "^0.7.18" +fbjs@^0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.6.1.tgz#9636b7705f5ba9684d44b72f78321254afc860f7" + integrity sha1-lja3cF9bqWhNRLcveDISVK/IYPc= + dependencies: + core-js "^1.0.0" + loose-envify "^1.0.0" + promise "^7.0.3" + ua-parser-js "^0.7.9" + whatwg-fetch "^0.9.0" + fbjs@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-1.0.0.tgz#52c215e0883a3c86af2a7a776ed51525ae8e0a5a" @@ -13177,7 +13229,7 @@ glob@7.1.3: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^5.0.10: +glob@^5.0.10, glob@^5.0.15: version "5.0.15" resolved "https://registry.yarnpkg.com/glob/-/glob-5.0.15.tgz#1bc936b9e02f4a603fcc222ecf7633d30b8b93b1" integrity sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E= @@ -14135,7 +14187,7 @@ iconv-lite@0.4.23: dependencies: safer-buffer ">= 2.1.2 < 3" -iconv-lite@0.4.24, iconv-lite@^0.4.17, iconv-lite@^0.4.24, iconv-lite@^0.4.4, iconv-lite@~0.4.13: +iconv-lite@0.4.24, iconv-lite@^0.4.17, iconv-lite@^0.4.24, iconv-lite@^0.4.4, iconv-lite@^0.4.5, iconv-lite@~0.4.13: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== @@ -14244,6 +14296,11 @@ immer@1.10.0: resolved "https://registry.yarnpkg.com/immer/-/immer-1.10.0.tgz#bad67605ba9c810275d91e1c2a47d4582e98286d" integrity sha512-O3sR1/opvCDGLEVcvrGTMtLac8GJ5IwZC4puPrLuRj3l7ICKvkmA0vGuU9OW8mV9WIBRnaxp5GJh9IEAaNOoYg== +immutable@^4.0.0-rc.9: + version "4.0.0-rc.12" + resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.0.0-rc.12.tgz#ca59a7e4c19ae8d9bf74a97bdf0f6e2f2a5d0217" + integrity sha512-0M2XxkZLx/mi3t8NVwIm1g8nHoEmM9p9UBl/G9k4+hm0kBgOVdMV/B3CY5dQ8qG8qc80NN4gDV4HQv6FTJ5q7A== + import-cwd@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/import-cwd/-/import-cwd-2.1.0.tgz#aa6cf36e722761285cb371ec6519f53e2435b0a9" @@ -16509,6 +16566,11 @@ json-stable-stringify@~0.0.0: dependencies: jsonify "~0.0.0" +json-stringify-pretty-compact@^1.0.1: + version "1.2.0" + resolved "https://registry.yarnpkg.com/json-stringify-pretty-compact/-/json-stringify-pretty-compact-1.2.0.tgz#0bc316b5e6831c07041fc35612487fb4e9ab98b8" + integrity sha512-/11Pj1OyX814QMKO7K8l85SHPTr/KsFxHp8GE2zVa0BtJgGimDjXHfM3FhC7keQdWDea7+nXf+f1de7ATZcZkQ== + json-stringify-safe@5.0.x, json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" @@ -16603,6 +16665,17 @@ jsprim@^1.2.2: json-schema "0.2.3" verror "1.10.0" +jstransform@^11.0.3: + version "11.0.3" + resolved "https://registry.yarnpkg.com/jstransform/-/jstransform-11.0.3.tgz#09a78993e0ae4d4ef4487f6155a91f6190cb4223" + integrity sha1-CaeJk+CuTU70SH9hVakfYZDLQiM= + dependencies: + base62 "^1.1.0" + commoner "^0.10.1" + esprima-fb "^15001.1.0-dev-harmony-fb" + object-assign "^2.0.0" + source-map "^0.4.2" + jsx-ast-utils@^2.0.1, jsx-ast-utils@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-2.1.0.tgz#0ee4e2c971fb9601c67b5641b71be80faecf0b36" @@ -16610,6 +16683,15 @@ jsx-ast-utils@^2.0.1, jsx-ast-utils@^2.1.0: dependencies: array-includes "^3.0.3" +jsx-to-string@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/jsx-to-string/-/jsx-to-string-1.4.0.tgz#66dc34d773dab9f40fe993cff9940e5da655b705" + integrity sha1-Ztw013PaufQP6ZPP+ZQOXaZVtwU= + dependencies: + immutable "^4.0.0-rc.9" + json-stringify-pretty-compact "^1.0.1" + react "^0.14.0" + jszip@^3.1.3: version "3.2.1" resolved "https://registry.yarnpkg.com/jszip/-/jszip-3.2.1.tgz#c5d32df7274042282b157efb16e522b43435e01a" @@ -19813,6 +19895,11 @@ object-assign@4.1.1, object-assign@^4, object-assign@^4.0.1, object-assign@^4.1. resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= +object-assign@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-2.1.1.tgz#43c36e5d569ff8e4816c4efa8be02d26967c18aa" + integrity sha1-Q8NuXVaf+OSBbE76i+AtJpZ8GKo= + object-component@0.0.3: version "0.0.3" resolved "https://registry.yarnpkg.com/object-component/-/object-component-0.0.3.tgz#f0c69aa50efc95b866c186f400a33769cb2f1291" @@ -21927,7 +22014,7 @@ promise@8.0.2: dependencies: asap "~2.0.6" -promise@^7.1.1: +promise@^7.0.3, promise@^7.1.1: version "7.3.1" resolved "https://registry.yarnpkg.com/promise/-/promise-7.3.1.tgz#064b72602b18f90f29192b8b1bc418ffd1ebd3bf" integrity sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg== @@ -23307,6 +23394,14 @@ react@*, react@16.8.6, react@^16.6.0, react@^16.8.3: prop-types "^15.6.2" scheduler "^0.13.6" +react@^0.14.0: + version "0.14.9" + resolved "https://registry.yarnpkg.com/react/-/react-0.14.9.tgz#9110a6497c49d44ba1c0edd317aec29c2e0d91d1" + integrity sha1-kRCmSXxJ1EuhwO3TF67CnC4NkdE= + dependencies: + envify "^3.0.0" + fbjs "^0.6.1" + react@^15.4.2: version "15.6.2" resolved "https://registry.yarnpkg.com/react/-/react-15.6.2.tgz#dba0434ab439cfe82f108f0f511663908179aa72" @@ -23557,7 +23652,7 @@ realpath-native@^1.0.0, realpath-native@^1.1.0: dependencies: util.promisify "^1.0.0" -recast@^0.11.3, recast@~0.11.12: +recast@^0.11.17, recast@^0.11.3, recast@~0.11.12: version "0.11.23" resolved "https://registry.yarnpkg.com/recast/-/recast-0.11.23.tgz#451fd3004ab1e4df9b4e4b66376b2a21912462d3" integrity sha1-RR/TAEqx5N+bTktmN2sqIZEkYtM= @@ -26666,7 +26761,7 @@ through2@^3.0.0, through2@^3.0.1: dependencies: readable-stream "2 || 3" -through@2, through@2.3.x, "through@>=2.2.7 <3", through@X.X.X, through@^2.3.4, through@^2.3.6, through@^2.3.8, through@~2.3.6: +through@2, through@2.3.x, "through@>=2.2.7 <3", through@X.X.X, through@^2.3.4, through@^2.3.6, through@^2.3.8, through@~2.3.4, through@~2.3.6: version "2.3.8" resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= @@ -27255,6 +27350,11 @@ ua-parser-js@^0.7.18, ua-parser-js@^0.7.19: resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.19.tgz#94151be4c0a7fb1d001af7022fdaca4642659e4b" integrity sha512-T3PVJ6uz8i0HzPxOF9SWzWAlfN/DavlpQqepn22xgve/5QecC+XMCAtmUNnY7C9StehaV6exjUCI801lOI7QlQ== +ua-parser-js@^0.7.9: + version "0.7.20" + resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.20.tgz#7527178b82f6a62a0f243d1f94fd30e3e3c21098" + integrity sha512-8OaIKfzL5cpx8eCMAhhvTlft8GYF8b2eQr6JkCyVdrgjcytyOmPCXrqXFcUnhonRpLlh5yxEZVohm6mzaowUOw== + uc.micro@^1.0.1, uc.micro@^1.0.5: version "1.0.6" resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.6.tgz#9c411a802a409a91fc6cf74081baba34b24499ac" @@ -28674,6 +28774,11 @@ whatwg-fetch@3.0.0, whatwg-fetch@>=0.10.0, whatwg-fetch@^3.0.0: resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz#fc804e458cc460009b1a2b966bc8817d2578aefb" integrity sha512-9GSJUgz1D4MfyKU7KRqwOjXCXTqWdFNvEr7eUBYchQiVc744mqK/MzXPNR2WsPkmkOa4ywfg8C2n8h+13Bey1Q== +whatwg-fetch@^0.9.0: + version "0.9.0" + resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-0.9.0.tgz#0e3684c6cb9995b43efc9df03e4c365d95fd9cc0" + integrity sha1-DjaExsuZlbQ+/J3wPkw2XZX9nMA= + whatwg-mimetype@^2.1.0, whatwg-mimetype@^2.2.0, whatwg-mimetype@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf" From a56011e961c483c8d9de73ed0b26d029fee5b903 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Fri, 14 Jun 2019 01:06:38 +0200 Subject: [PATCH 091/371] ADD token --- examples/official-storybook/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json index db7861c4175d..62534d8b0ec7 100644 --- a/examples/official-storybook/package.json +++ b/examples/official-storybook/package.json @@ -11,7 +11,7 @@ "image-snapshots": "yarn run build-storybook && yarn run do-image-snapshots", "now-build": "node ../../scripts/bootstrap --core && yarn run build-storybook --quiet", "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks --no-dll", - "packtracker": "yarn storybook --smoke-test && packtracker-upload --stats=./node_modules/.cache/storybook/manager-stats.json" + "packtracker": "yarn storybook --smoke-test && cross-env PT_PROJECT_TOKEN=1af1d41b-d737-41d4-ac00-53c8f3913b53 packtracker-upload --stats=./node_modules/.cache/storybook/manager-stats.json" }, "devDependencies": { "@packtracker/webpack-plugin": "^2.0.1", From 27bbe744a178772224416a0cd4718e4242c551e8 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Fri, 14 Jun 2019 01:08:01 +0200 Subject: [PATCH 092/371] less logs please --- examples/official-storybook/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json index 62534d8b0ec7..bea9479e0714 100644 --- a/examples/official-storybook/package.json +++ b/examples/official-storybook/package.json @@ -11,7 +11,7 @@ "image-snapshots": "yarn run build-storybook && yarn run do-image-snapshots", "now-build": "node ../../scripts/bootstrap --core && yarn run build-storybook --quiet", "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks --no-dll", - "packtracker": "yarn storybook --smoke-test && cross-env PT_PROJECT_TOKEN=1af1d41b-d737-41d4-ac00-53c8f3913b53 packtracker-upload --stats=./node_modules/.cache/storybook/manager-stats.json" + "packtracker": "yarn storybook --smoke-test --quiet && cross-env PT_PROJECT_TOKEN=1af1d41b-d737-41d4-ac00-53c8f3913b53 packtracker-upload --stats=./node_modules/.cache/storybook/manager-stats.json" }, "devDependencies": { "@packtracker/webpack-plugin": "^2.0.1", From 51f0a2bf78bdc351d02a15283385f46daa5bdba4 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 13 Jun 2019 15:22:07 +0800 Subject: [PATCH 093/371] Update .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 59f8c038fc3a..c32ab0154880 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ lib/**/dll .expo/packager-info.json scripts/storage htpasswd +/false \ No newline at end of file From c46c1706c93060cbd19d084bdbc64da4f6225629 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Fri, 14 Jun 2019 15:45:22 +0800 Subject: [PATCH 094/371] Add corejs migration notes --- MIGRATION.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/MIGRATION.md b/MIGRATION.md index ce02e51fc798..e768f1ba27ef 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -3,6 +3,7 @@ - [From version 5.0.x to 5.1.x](#from-version-50x-to-51x) - [React native server](#react-native-server) - [Angular 7](#angular-7) + - [CoreJS 3](#corejs-3) - [From version 5.0.1 to 5.0.2](#from-version-501-to-502) - [Deprecate webpack extend mode](#deprecate-webpack-extend-mode) - [From version 4.1.x to 5.0.x](#from-version-41x-to-50x) @@ -101,6 +102,18 @@ You should now be able to run Storybook and Angular 7 without any errors. Reference issue: [https://github.com/angular/angular-cli/issues/13954](https://github.com/angular/angular-cli/issues/13954) +### CoreJS 3 + +Following the rest of the JS ecosystem, Storybook 5.1 upgrades [CoreJS](https://github.com/zloirock/core-js) 2 to 3, which is a breaking change. + +This upgrade is problematic because many apps/libraries still rely on CoreJS 2, and many users get corejs-related errors due to bad resolution. To address this, we're using [corejs-upgrade-webpack-plugin](https://github.com/ndelangen/corejs-upgrade-webpack-plugin), which attempts to automatically upgrade code to CoreJS 3. + +After a few iterations, this approach seems to be working. However, there are a few exceptions: + +- If your app uses `babel-polyfill`, try to remove it + +We'll update this section as we find more problem cases. If you have a `core-js` problem, please file an issue (preferably with a repro), and we'll do our best to get you sorted. + ## From version 5.0.1 to 5.0.2 ### Deprecate webpack extend mode From 7411eb38c47b7fb1647526ae4a6f19ff88910623 Mon Sep 17 00:00:00 2001 From: Gytis Vinclovas Date: Fri, 14 Jun 2019 14:07:26 +0300 Subject: [PATCH 095/371] Updated template to not import addons These should not be imported in React Native. They are used for web and imported automatically. --- lib/cli/generators/REACT_NATIVE/template/storybook/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/cli/generators/REACT_NATIVE/template/storybook/index.js b/lib/cli/generators/REACT_NATIVE/template/storybook/index.js index 9e13b1e4243d..3f532f977435 100644 --- a/lib/cli/generators/REACT_NATIVE/template/storybook/index.js +++ b/lib/cli/generators/REACT_NATIVE/template/storybook/index.js @@ -1,7 +1,6 @@ import { AppRegistry } from 'react-native'; import { getStorybookUI, configure } from '@storybook/react-native'; -import './addons'; import './rn-addons'; // import stories From ae3484bb97d0b2081da20e108d2a5c6d9a19f4a4 Mon Sep 17 00:00:00 2001 From: Jimmy Somsanith Date: Fri, 14 Jun 2019 21:43:16 +0200 Subject: [PATCH 096/371] Add param key in graphql addon --- addons/graphql/src/register.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/graphql/src/register.ts b/addons/graphql/src/register.ts index d69b5af63619..68d41a5dd20e 100644 --- a/addons/graphql/src/register.ts +++ b/addons/graphql/src/register.ts @@ -1,7 +1,7 @@ import { addons, types } from '@storybook/addons'; import GQL from './manager'; -import { ADDON_ID } from '.'; +import { ADDON_ID, PARAM_KEY } from '.'; export const register = () => { addons.register(ADDON_ID, () => { @@ -11,6 +11,7 @@ export const register = () => { route: ({ storyId }) => `/graphql/${storyId}`, match: ({ viewMode }) => viewMode === 'graphql', render: GQL, + paramKey: PARAM_KEY, }); }); }; From f04b6e8191287a919774973b8d141e499976e230 Mon Sep 17 00:00:00 2001 From: Jimmy Somsanith Date: Fri, 14 Jun 2019 22:40:07 +0200 Subject: [PATCH 097/371] Fix type --- addons/design-assets/src/register.tsx | 3 ++- lib/addons/src/index.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/design-assets/src/register.tsx b/addons/design-assets/src/register.tsx index 61fda7a988db..fb903ec514e5 100644 --- a/addons/design-assets/src/register.tsx +++ b/addons/design-assets/src/register.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { addons, types } from '@storybook/addons'; import { AddonPanel } from '@storybook/components'; -import { ADDON_ID, PANEL_ID } from './constants'; +import { ADDON_ID, PANEL_ID, PARAM_KEY } from './constants'; import { Panel } from './panel'; addons.register(ADDON_ID, () => { @@ -14,5 +14,6 @@ addons.register(ADDON_ID, () => { ), + paramKey: PARAM_KEY, }); }); diff --git a/lib/addons/src/index.ts b/lib/addons/src/index.ts index c0ccd03ed4de..5e4843cbaf17 100644 --- a/lib/addons/src/index.ts +++ b/lib/addons/src/index.ts @@ -24,7 +24,7 @@ export interface Addon { route?: (routeOptions: RouteOptions) => string; match?: (matchOptions: MatchOptions) => boolean; render: (renderOptions: RenderOptions) => ReactElement; - paramKey: string; + paramKey?: string; } export type Loader = (api: API) => void; From 4ef875198695de3a7e07e5c21665a18c3537e875 Mon Sep 17 00:00:00 2001 From: Jimmy Somsanith Date: Fri, 14 Jun 2019 23:25:39 +0200 Subject: [PATCH 098/371] Cleann --- lib/api/src/modules/addons.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/api/src/modules/addons.ts b/lib/api/src/modules/addons.ts index d84525a18996..35db70f04758 100644 --- a/lib/api/src/modules/addons.ts +++ b/lib/api/src/modules/addons.ts @@ -1,6 +1,6 @@ import { ReactElement } from 'react'; -import { Module, State } from '../index'; +import { Module } from '../index'; import { Options } from '../store'; export enum types { @@ -31,7 +31,7 @@ export interface Addon { route?: (routeOptions: RouteOptions) => string; match?: (matchOptions: MatchOptions) => boolean; render: (renderOptions: RenderOptions) => ReactElement; - paramKey: string; + paramKey?: string; } export interface Collection { [key: string]: Addon; @@ -57,10 +57,6 @@ export interface SubAPI { getAddonState(addonId: string): S; } -interface StoryParameters { - [key: string]: any; -} - export function ensurePanel(panels: Panels, selectedPanel?: string, currentPanel?: string) { const keys = Object.keys(panels); From 521b2b0f228d5942db01b139158d519add6289c2 Mon Sep 17 00:00:00 2001 From: Jimmy Somsanith Date: Sat, 15 Jun 2019 00:00:50 +0200 Subject: [PATCH 099/371] Add snapshots of panel story --- .../__snapshots__/panel.stories.storyshot | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 lib/ui/src/containers/__snapshots__/panel.stories.storyshot diff --git a/lib/ui/src/containers/__snapshots__/panel.stories.storyshot b/lib/ui/src/containers/__snapshots__/panel.stories.storyshot new file mode 100644 index 000000000000..9ec192c6ca77 --- /dev/null +++ b/lib/ui/src/containers/__snapshots__/panel.stories.storyshot @@ -0,0 +1,21 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Storyshots UI|Addon Panel default 1`] = ` +
    + By default all addon panels are rendered +
    +`; + +exports[`Storyshots UI|Addon Panel disable panel 1`] = ` +
    + This story disables Actions and Accessibility panels +
    +    storiesOf('UI|Addon Panel', module)
    +  .add(
    +    'my story',
    +    <MyComponent />,
    +    { a11y: { disable: true }, actions: { disable: true } }
    +  );
    +  
    +
    +`; From 4bd6121f83dbcd698c77e7353bc34ff6925c1514 Mon Sep 17 00:00:00 2001 From: Laurent Debersaques Date: Sun, 16 Jun 2019 00:33:30 +0200 Subject: [PATCH 100/371] cli: replaced merge-dirs dependency by fs-extra --- lib/cli/generators/ANGULAR/index.js | 4 ++-- lib/cli/generators/EMBER/index.js | 4 ++-- lib/cli/generators/HTML/index.js | 4 ++-- lib/cli/generators/MARKO/index.js | 4 ++-- lib/cli/generators/METEOR/index.js | 4 ++-- lib/cli/generators/MITHRIL/index.js | 4 ++-- lib/cli/generators/POLYMER/index.js | 4 ++-- lib/cli/generators/PREACT/index.js | 4 ++-- lib/cli/generators/RAX/index.js | 4 ++-- lib/cli/generators/REACT/index.js | 4 ++-- lib/cli/generators/REACT_NATIVE/index.js | 4 ++-- lib/cli/generators/REACT_SCRIPTS/index.js | 4 ++-- lib/cli/generators/RIOT/index.js | 4 ++-- lib/cli/generators/SFC_VUE/index.js | 4 ++-- lib/cli/generators/SVELTE/index.js | 4 ++-- lib/cli/generators/VUE/index.js | 4 ++-- lib/cli/generators/WEBPACK_REACT/index.js | 4 ++-- lib/cli/package.json | 2 +- 18 files changed, 35 insertions(+), 35 deletions(-) diff --git a/lib/cli/generators/ANGULAR/index.js b/lib/cli/generators/ANGULAR/index.js index d437358cf96a..6c3e84e50b14 100644 --- a/lib/cli/generators/ANGULAR/index.js +++ b/lib/cli/generators/ANGULAR/index.js @@ -1,4 +1,4 @@ -import mergeDirs from 'merge-dirs'; +import fse from 'fs-extra'; import path from 'path'; import { editStorybookTsConfig, @@ -70,7 +70,7 @@ function editAngularAppTsConfig() { } export default async npmOptions => { - mergeDirs(path.resolve(__dirname, 'template'), '.', 'overwrite'); + fse.copySync(path.resolve(__dirname, 'template/'), '.', { overwrite: true }); await addDependencies(npmOptions); editAngularAppTsConfig(); diff --git a/lib/cli/generators/EMBER/index.js b/lib/cli/generators/EMBER/index.js index a9160e77c1df..cc4316c4c4f0 100644 --- a/lib/cli/generators/EMBER/index.js +++ b/lib/cli/generators/EMBER/index.js @@ -1,5 +1,5 @@ import path from 'path'; -import mergeDirs from 'merge-dirs'; +import fse from 'fs-extra'; import { getVersions, getPackageJson, @@ -17,7 +17,7 @@ export default async npmOptions => { '@storybook/addons' ); - mergeDirs(path.resolve(__dirname, 'template/'), '.', 'overwrite'); + fse.copySync(path.resolve(__dirname, 'template/'), '.', { overwrite: true }); const packageJson = getPackageJson(); diff --git a/lib/cli/generators/HTML/index.js b/lib/cli/generators/HTML/index.js index 33ad44256995..bef0abdc484f 100755 --- a/lib/cli/generators/HTML/index.js +++ b/lib/cli/generators/HTML/index.js @@ -1,4 +1,4 @@ -import mergeDirs from 'merge-dirs'; +import fse from 'fs-extra'; import path from 'path'; import npmInit from '../../lib/npm_init'; import { @@ -11,7 +11,7 @@ import { export default async npmOptions => { const storybookVersion = await getVersion(npmOptions, '@storybook/html'); - mergeDirs(path.resolve(__dirname, 'template'), '.', 'overwrite'); + fse.copySync(path.resolve(__dirname, 'template/'), '.', { overwrite: true }); let packageJson = getPackageJson(); if (!packageJson) { diff --git a/lib/cli/generators/MARKO/index.js b/lib/cli/generators/MARKO/index.js index 40de28c14a21..08ec019d813c 100644 --- a/lib/cli/generators/MARKO/index.js +++ b/lib/cli/generators/MARKO/index.js @@ -1,5 +1,5 @@ import path from 'path'; -import mergeDirs from 'merge-dirs'; +import fse from 'fs-extra'; import { getVersions, getPackageJson, @@ -16,7 +16,7 @@ export default async npmOptions => { '@storybook/addon-knobs' ); - mergeDirs(path.resolve(__dirname, 'template/'), '.', 'overwrite'); + fse.copySync(path.resolve(__dirname, 'template/'), '.', { overwrite: true }); const packageJson = getPackageJson(); diff --git a/lib/cli/generators/METEOR/index.js b/lib/cli/generators/METEOR/index.js index 27873d4fee9a..fbed7d7eaeb9 100644 --- a/lib/cli/generators/METEOR/index.js +++ b/lib/cli/generators/METEOR/index.js @@ -1,7 +1,7 @@ import path from 'path'; import fs from 'fs'; import JSON5 from 'json5'; -import mergeDirs from 'merge-dirs'; +import fse from 'fs-extra'; import { getVersions, getPackageJson, @@ -32,7 +32,7 @@ export default async npmOptions => { '@babel/preset-react' ); - mergeDirs(path.resolve(__dirname, 'template/'), '.', 'overwrite'); + fse.copySync(path.resolve(__dirname, 'template/'), '.', { overwrite: true }); const packageJson = getPackageJson(); packageJson.devDependencies = packageJson.devDependencies || {}; diff --git a/lib/cli/generators/MITHRIL/index.js b/lib/cli/generators/MITHRIL/index.js index 5a0efb948284..37f55bdb960d 100644 --- a/lib/cli/generators/MITHRIL/index.js +++ b/lib/cli/generators/MITHRIL/index.js @@ -1,5 +1,5 @@ import path from 'path'; -import mergeDirs from 'merge-dirs'; +import fse from 'fs-extra'; import { getVersions, getPackageJson, @@ -17,7 +17,7 @@ export default async npmOptions => { '@storybook/addons' ); - mergeDirs(path.resolve(__dirname, 'template/'), '.', 'overwrite'); + fse.copySync(path.resolve(__dirname, 'template/'), '.', { overwrite: true }); const packageJson = getPackageJson(); diff --git a/lib/cli/generators/POLYMER/index.js b/lib/cli/generators/POLYMER/index.js index 53758fc153c6..ee07fb87bb88 100755 --- a/lib/cli/generators/POLYMER/index.js +++ b/lib/cli/generators/POLYMER/index.js @@ -1,4 +1,4 @@ -import mergeDirs from 'merge-dirs'; +import fse from 'fs-extra'; import path from 'path'; import { getVersions, @@ -14,7 +14,7 @@ export default async npmOptions => { '@storybook/polymer', 'polymer-webpack-loader' ); - mergeDirs(path.resolve(__dirname, 'template'), '.', 'overwrite'); + fse.copySync(path.resolve(__dirname, 'template/'), '.', { overwrite: true }); const packageJson = getPackageJson() || {}; // Maybe we are in a bower only project, still we need a package json diff --git a/lib/cli/generators/PREACT/index.js b/lib/cli/generators/PREACT/index.js index 7b66fedbf545..b8e9b9c3e4aa 100644 --- a/lib/cli/generators/PREACT/index.js +++ b/lib/cli/generators/PREACT/index.js @@ -1,5 +1,5 @@ import path from 'path'; -import mergeDirs from 'merge-dirs'; +import fse from 'fs-extra'; import { getVersions, getPackageJson, @@ -17,7 +17,7 @@ export default async npmOptions => { '@storybook/addons' ); - mergeDirs(path.resolve(__dirname, 'template/'), '.', 'overwrite'); + fse.copySync(path.resolve(__dirname, 'template/'), '.', { overwrite: true }); const packageJson = getPackageJson(); diff --git a/lib/cli/generators/RAX/index.js b/lib/cli/generators/RAX/index.js index 48e7df53fd01..de4b9c9a9e46 100644 --- a/lib/cli/generators/RAX/index.js +++ b/lib/cli/generators/RAX/index.js @@ -1,5 +1,5 @@ import path from 'path'; -import mergeDirs from 'merge-dirs'; +import fse from 'fs-extra'; import { getVersions, getPackageJson, @@ -24,7 +24,7 @@ export default async npmOptions => { 'rax' ); - mergeDirs(path.resolve(__dirname, 'template/'), '.', 'overwrite'); + fse.copySync(path.resolve(__dirname, 'template/'), '.', { overwrite: true }); const packageJson = getPackageJson(); diff --git a/lib/cli/generators/REACT/index.js b/lib/cli/generators/REACT/index.js index 8e8566982467..31dbea118bb8 100644 --- a/lib/cli/generators/REACT/index.js +++ b/lib/cli/generators/REACT/index.js @@ -1,5 +1,5 @@ import path from 'path'; -import mergeDirs from 'merge-dirs'; +import fse from 'fs-extra'; import { getVersions, getPackageJson, @@ -17,7 +17,7 @@ export default async npmOptions => { '@storybook/addons' ); - mergeDirs(path.resolve(__dirname, 'template/'), '.', 'overwrite'); + fse.copySync(path.resolve(__dirname, 'template/'), '.', { overwrite: true }); const packageJson = getPackageJson(); diff --git a/lib/cli/generators/REACT_NATIVE/index.js b/lib/cli/generators/REACT_NATIVE/index.js index d59d4eb899a0..b488122772c8 100644 --- a/lib/cli/generators/REACT_NATIVE/index.js +++ b/lib/cli/generators/REACT_NATIVE/index.js @@ -1,4 +1,4 @@ -import mergeDirs from 'merge-dirs'; +import fse from 'fs-extra'; import path from 'path'; import shell from 'shelljs'; import chalk from 'chalk'; @@ -26,7 +26,7 @@ export default async (npmOptions, installServer) => { ); // copy all files from the template directory to project directory - mergeDirs(path.resolve(__dirname, 'template/'), '.', 'overwrite'); + fse.copySync(path.resolve(__dirname, 'template/'), '.', { overwrite: true }); // set correct project name on entry files if possible const dirname = shell.ls('-d', 'ios/*.xcodeproj').stdout; diff --git a/lib/cli/generators/REACT_SCRIPTS/index.js b/lib/cli/generators/REACT_SCRIPTS/index.js index 82e5906b5f47..a2eb912f192a 100644 --- a/lib/cli/generators/REACT_SCRIPTS/index.js +++ b/lib/cli/generators/REACT_SCRIPTS/index.js @@ -1,4 +1,4 @@ -import mergeDirs from 'merge-dirs'; +import fse from 'fs-extra'; import path from 'path'; import fs from 'fs'; import semver from 'semver'; @@ -19,7 +19,7 @@ export default async npmOptions => { '@storybook/addons' ); - mergeDirs(path.resolve(__dirname, 'template/'), '.', 'overwrite'); + fse.copySync(path.resolve(__dirname, 'template/'), '.', { overwrite: true }); const packageJson = getPackageJson(); diff --git a/lib/cli/generators/RIOT/index.js b/lib/cli/generators/RIOT/index.js index fcf5306edfef..6bbb43340334 100644 --- a/lib/cli/generators/RIOT/index.js +++ b/lib/cli/generators/RIOT/index.js @@ -1,4 +1,4 @@ -import mergeDirs from 'merge-dirs'; +import fse from 'fs-extra'; import path from 'path'; import { getVersions, @@ -24,7 +24,7 @@ export default async npmOptions => { 'riot-tag-loader' ); - mergeDirs(path.resolve(__dirname, 'template'), '.', 'overwrite'); + fse.copySync(path.resolve(__dirname, 'template/'), '.', { overwrite: true }); const packageJson = getPackageJson(); diff --git a/lib/cli/generators/SFC_VUE/index.js b/lib/cli/generators/SFC_VUE/index.js index 9cfa6b9aeff9..5a9ee4041577 100644 --- a/lib/cli/generators/SFC_VUE/index.js +++ b/lib/cli/generators/SFC_VUE/index.js @@ -1,4 +1,4 @@ -import mergeDirs from 'merge-dirs'; +import fse from 'fs-extra'; import path from 'path'; import { getVersions, @@ -17,7 +17,7 @@ export default async npmOptions => { '@storybook/addons' ); - mergeDirs(path.resolve(__dirname, 'template'), '.', 'overwrite'); + fse.copySync(path.resolve(__dirname, 'template/'), '.', { overwrite: true }); const packageJson = getPackageJson(); diff --git a/lib/cli/generators/SVELTE/index.js b/lib/cli/generators/SVELTE/index.js index e9a8e599f0d6..25d3b80e9d4c 100644 --- a/lib/cli/generators/SVELTE/index.js +++ b/lib/cli/generators/SVELTE/index.js @@ -1,5 +1,5 @@ import path from 'path'; -import mergeDirs from 'merge-dirs'; +import fse from 'fs-extra'; import { getVersions, getPackageJson, @@ -26,7 +26,7 @@ export default async npmOptions => { 'svelte-loader' ); - mergeDirs(path.resolve(__dirname, 'template/'), '.', 'overwrite'); + fse.copySync(path.resolve(__dirname, 'template/'), '.', { overwrite: true }); const packageJson = getPackageJson(); diff --git a/lib/cli/generators/VUE/index.js b/lib/cli/generators/VUE/index.js index 59c48aa88342..5c3b6b543e4d 100644 --- a/lib/cli/generators/VUE/index.js +++ b/lib/cli/generators/VUE/index.js @@ -1,4 +1,4 @@ -import mergeDirs from 'merge-dirs'; +import fse from 'fs-extra'; import path from 'path'; import { getVersions, @@ -27,7 +27,7 @@ export default async npmOptions => { '@babel/core' ); - mergeDirs(path.resolve(__dirname, 'template'), '.', 'overwrite'); + fse.copySync(path.resolve(__dirname, 'template/'), '.', { overwrite: true }); const packageJson = getPackageJson(); diff --git a/lib/cli/generators/WEBPACK_REACT/index.js b/lib/cli/generators/WEBPACK_REACT/index.js index c5098f240364..5447ea5b5856 100644 --- a/lib/cli/generators/WEBPACK_REACT/index.js +++ b/lib/cli/generators/WEBPACK_REACT/index.js @@ -1,4 +1,4 @@ -import mergeDirs from 'merge-dirs'; +import fse from 'fs-extra'; import path from 'path'; import { getVersions, @@ -17,7 +17,7 @@ export default async npmOptions => { '@storybook/addons' ); - mergeDirs(path.resolve(__dirname, 'template/'), '.', 'overwrite'); + fse.copySync(path.resolve(__dirname, 'template/'), '.', { overwrite: true }); const packageJson = getPackageJson(); diff --git a/lib/cli/package.json b/lib/cli/package.json index bcbfdf040903..7234a76e1c0e 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -35,10 +35,10 @@ "commander": "^2.19.0", "core-js": "^3.0.1", "cross-spawn": "^6.0.5", + "fs-extra": "^8.0.1", "inquirer": "^6.2.0", "jscodeshift": "^0.6.3", "json5": "^2.1.0", - "merge-dirs": "^0.2.1", "semver": "^6.0.0", "shelljs": "^0.8.3", "update-notifier": "^3.0.0" From e0d3ea256f8b474f336951c78a762f71863ada3b Mon Sep 17 00:00:00 2001 From: Laurent Debersaques Date: Sun, 16 Jun 2019 01:07:00 +0200 Subject: [PATCH 101/371] upgraded yarn.lock --- yarn.lock | 126 ++++-------------------------------------------------- 1 file changed, 9 insertions(+), 117 deletions(-) diff --git a/yarn.lock b/yarn.lock index fadfca9f6649..362ec7ff3152 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4547,11 +4547,6 @@ ansi-cyan@^0.1.1: dependencies: ansi-wrap "0.1.0" -ansi-escapes@^1.1.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-1.4.0.tgz#d3a8a83b319aa67793662b13e761c7911422306e" - integrity sha1-06ioOzGapneTZisT52HHkRQiMG4= - ansi-escapes@^3.0.0, ansi-escapes@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b" @@ -8061,13 +8056,6 @@ cli-boxes@^2.2.0: resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-2.2.0.tgz#538ecae8f9c6ca508e3c3c95b453fe93cb4c168d" integrity sha512-gpaBrMAizVEANOpfZp/EEUixTXDyGt7DFzdK5hU+UbWt/J0lB0w20ncZj59Z9a93xHb9u12zF5BS6i9RKbtg4w== -cli-cursor@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-1.0.2.tgz#64da3f7d56a54412e59794bd62dc35295e8f2987" - integrity sha1-ZNo/fValRBLll5S9Ytw1KV6PKYc= - dependencies: - restore-cursor "^1.0.1" - cli-cursor@^2.0.0, cli-cursor@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" @@ -8110,11 +8098,6 @@ cli-truncate@^0.2.1: slice-ansi "0.0.4" string-width "^1.0.1" -cli-width@^1.0.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-1.1.1.tgz#a4d293ef67ebb7b88d4a4d42c0ccf00c4d1e366d" - integrity sha1-pNKT72frt7iNSk1CwMzwDE0eNm0= - cli-width@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" @@ -11374,11 +11357,6 @@ exif-parser@^0.1.12: resolved "https://registry.yarnpkg.com/exif-parser/-/exif-parser-0.1.12.tgz#58a9d2d72c02c1f6f02a0ef4a9166272b7760922" integrity sha1-WKnS1ywCwfbwKg70qRZicrd2CSI= -exit-hook@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/exit-hook/-/exit-hook-1.1.1.tgz#f05ca233b48c05d54fff07765df8507e95c02ff8" - integrity sha1-8FyiM7SMBdVP/wd2XfhQfpXAL/g= - exit@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" @@ -12252,7 +12230,7 @@ figgy-pudding@^3.4.1, figgy-pudding@^3.5.1: resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.1.tgz#862470112901c727a0e495a80744bd5baa1d6790" integrity sha512-vNKxJHTEKNThjfrdJwHc7brvM6eVevuO5nTj6ez8ZQ1qbXTvGthucRF7S4vf2cr71QVnT70V34v0S1DyQsti0w== -figures@^1.3.5, figures@^1.7.0: +figures@^1.7.0: version "1.7.0" resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e" integrity sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4= @@ -14455,25 +14433,6 @@ inquirer@6.2.2: strip-ansi "^5.0.0" through "^2.3.6" -inquirer@^0.11.0: - version "0.11.4" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-0.11.4.tgz#81e3374e8361beaff2d97016206d359d0b32fa4d" - integrity sha1-geM3ToNhvq/y2XAWIG01nQsy+k0= - dependencies: - ansi-escapes "^1.1.0" - ansi-regex "^2.0.0" - chalk "^1.0.0" - cli-cursor "^1.0.1" - cli-width "^1.0.1" - figures "^1.3.5" - lodash "^3.3.1" - readline2 "^1.0.1" - run-async "^0.1.0" - rx-lite "^3.1.2" - string-width "^1.0.1" - strip-ansi "^3.0.0" - through "^2.3.6" - inquirer@^3.0.6: version "3.3.0" resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-3.3.0.tgz#9dd2f2ad765dcab1ff0443b491442a20ba227dc9" @@ -17843,11 +17802,6 @@ lodash@4.x, "lodash@>=3.5 <5", lodash@^4.0.0, lodash@^4.0.1, lodash@^4.13.1, lod resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d" integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg== -lodash@^3.3.1: - version "3.10.1" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6" - integrity sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y= - log-symbols@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18" @@ -18412,16 +18366,6 @@ merge-descriptors@1.0.1: resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" integrity sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E= -merge-dirs@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/merge-dirs/-/merge-dirs-0.2.1.tgz#21e648b2c6b0261712509e4df36c2424773160c9" - integrity sha1-IeZIssawJhcSUJ5N82wkJHcxYMk= - dependencies: - inquirer "^0.11.0" - minimist "^1.2.0" - node-fs "~0.1.7" - path "^0.12.7" - merge-source-map@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/merge-source-map/-/merge-source-map-1.1.0.tgz#2fdde7e6020939f70906a68f2d7ae685e4c8c646" @@ -19246,11 +19190,6 @@ mustache@^3.0.0: resolved "https://registry.yarnpkg.com/mustache/-/mustache-3.0.1.tgz#873855f23aa8a95b150fb96d9836edbc5a1d248a" integrity sha512-jFI/4UVRsRYdUbuDTKT7KzfOp7FiD5WzYmmwNwXyUVypC0xjoTL78Fqc0jHUPIvvGD+6DQSPHIt1NE7D1ArsqA== -mute-stream@0.0.5: - version "0.0.5" - resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.5.tgz#8fbfabb0a98a253d3184331f9e8deb7372fac6c0" - integrity sha1-j7+rsKmKJT0xhDMfno3rc3L6xsA= - mute-stream@0.0.7: version "0.0.7" resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" @@ -19438,11 +19377,6 @@ node-forge@0.7.6: resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-0.7.6.tgz#fdf3b418aee1f94f0ef642cd63486c77ca9724ac" integrity sha512-sol30LUpz1jQFBjOKwbjxijiE3b6pjd74YwfD0fJOKPjF+fONKb2Yg8rYgS6+bK6VDl+/wfr4IYpC7jDzLUIfw== -node-fs@~0.1.7: - version "0.1.7" - resolved "https://registry.yarnpkg.com/node-fs/-/node-fs-0.1.7.tgz#32323cccb46c9fbf0fc11812d45021cc31d325bb" - integrity sha1-MjI8zLRsn78PwRgS1FAhzDHTJbs= - node-gyp@^3.8.0: version "3.8.0" resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-3.8.0.tgz#540304261c330e80d0d5edce253a68cb3964218c" @@ -19970,11 +19904,6 @@ once@^1.3.0, once@^1.3.1, once@^1.4.0: dependencies: wrappy "1" -onetime@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-1.1.0.tgz#a1f7838f8314c516f05ecefcbc4ccfe04b4ed789" - integrity sha1-ofeDj4MUxRbwXs78vEzP4EtO14k= - onetime@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4" @@ -20761,14 +20690,6 @@ path-type@^3.0.0: dependencies: pify "^3.0.0" -path@^0.12.7: - version "0.12.7" - resolved "https://registry.yarnpkg.com/path/-/path-0.12.7.tgz#d4dc2a506c4ce2197eb481ebfcd5b36c0140b10f" - integrity sha1-1NwqUGxM4hl+tIHr/NWzbAFAsQ8= - dependencies: - process "^0.11.1" - util "^0.10.3" - paths.macro@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/paths.macro/-/paths.macro-2.0.2.tgz#7b7b3930170c9d41f42ec426c987b2df3505fb72" @@ -21867,7 +21788,7 @@ process-relative-require@^1.0.0: dependencies: node-modules-path "^1.0.0" -process@^0.11.1, process@^0.11.10, process@~0.11.0: +process@^0.11.10, process@~0.11.0: version "0.11.10" resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" integrity sha1-czIwDoQBYb2j5podHZGn1LwW8YI= @@ -23560,15 +23481,6 @@ readline-sync@^1.4.9: resolved "https://registry.yarnpkg.com/readline-sync/-/readline-sync-1.4.9.tgz#3eda8e65f23cd2a17e61301b1f0003396af5ecda" integrity sha1-PtqOZfI80qF+YTAbHwADOWr17No= -readline2@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/readline2/-/readline2-1.0.1.tgz#41059608ffc154757b715d9989d199ffbf372e35" - integrity sha1-QQWWCP/BVHV7cV2ZidGZ/783LjU= - dependencies: - code-point-at "^1.0.0" - is-fullwidth-code-point "^1.0.0" - mute-stream "0.0.5" - realpath-native@^1.0.0, realpath-native@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/realpath-native/-/realpath-native-1.1.0.tgz#2003294fea23fb0672f2476ebe22fcf498a2d65c" @@ -24365,14 +24277,6 @@ rest-handler@^1.2.16: path-based-router "^1.1.3" raptor-async "^1.1.2" -restore-cursor@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-1.0.1.tgz#34661f46886327fed2991479152252df92daa541" - integrity sha1-NGYfRohjJ/7SmRR5FSJS35LapUE= - dependencies: - exit-hook "^1.0.0" - onetime "^1.0.0" - restore-cursor@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf" @@ -24569,13 +24473,6 @@ rtl-detect@^1.0.2: resolved "https://registry.yarnpkg.com/rtl-detect/-/rtl-detect-1.0.2.tgz#8eca316f5c6563d54df4e406171dd7819adda67f" integrity sha512-5X1422hvphzg2a/bo4tIDbjFjbJUOaPZwqE6dnyyxqwFqfR+tBcvfqapJr0o0VygATVCGKiODEewhZtKF+90AA== -run-async@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/run-async/-/run-async-0.1.0.tgz#c8ad4a5e110661e402a7d21b530e009f25f8e389" - integrity sha1-yK1KXhEGYeQCp9IbUw4AnyX444k= - dependencies: - once "^1.3.0" - run-async@^2.2.0: version "2.3.0" resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0" @@ -24612,11 +24509,6 @@ rx-lite@*, rx-lite@^4.0.8: resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-4.0.8.tgz#0b1e11af8bc44836f04a6407e92da42467b79444" integrity sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ= -rx-lite@^3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-3.1.2.tgz#19ce502ca572665f3b647b10939f97fd1615f102" - integrity sha1-Gc5QLKVyZl87ZHsQk5+X/RYV8QI= - rxjs-compat@^6.4.0: version "6.5.2" resolved "https://registry.yarnpkg.com/rxjs-compat/-/rxjs-compat-6.5.2.tgz#e469070adf6260bdad195e9d4a39f444ae28b458" @@ -27819,13 +27711,6 @@ util@0.10.3: dependencies: inherits "2.0.1" -util@^0.10.3, util@~0.10.1: - version "0.10.4" - resolved "https://registry.yarnpkg.com/util/-/util-0.10.4.tgz#3aa0125bfe668a4672de58857d3ace27ecb76901" - integrity sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A== - dependencies: - inherits "2.0.3" - util@^0.11.0: version "0.11.1" resolved "https://registry.yarnpkg.com/util/-/util-0.11.1.tgz#3236733720ec64bb27f6e26f421aaa2e1b588d61" @@ -27833,6 +27718,13 @@ util@^0.11.0: dependencies: inherits "2.0.3" +util@~0.10.1: + version "0.10.4" + resolved "https://registry.yarnpkg.com/util/-/util-0.10.4.tgz#3aa0125bfe668a4672de58857d3ace27ecb76901" + integrity sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A== + dependencies: + inherits "2.0.3" + utila@^0.4.0, utila@~0.4: version "0.4.0" resolved "https://registry.yarnpkg.com/utila/-/utila-0.4.0.tgz#8a16a05d445657a3aea5eecc5b12a4fa5379772c" From 703c9fd6130f10a003f39d1da7a2ab1587eb3e3e Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Sun, 16 Jun 2019 21:07:37 +0200 Subject: [PATCH 102/371] IMPROVE reset script --- scripts/reset.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/scripts/reset.js b/scripts/reset.js index 59f77675dc30..d1066a7ac761 100644 --- a/scripts/reset.js +++ b/scripts/reset.js @@ -23,14 +23,19 @@ cleaningProcess.stdout.on('data', data => { const [, uri] = i.match(/Would remove (.*)$/) || []; if (uri) { - if (uri.match(/node_modules/)) { + if (uri.match(/node_modules/) || uri.match(/dist/) || uri.match(/\.cache/) || uri.match(/dll/)) { del(uri).then(() => { console.log(`deleted ${uri}`); }); } else { - trash(uri).then(() => { - console.log(`trashed ${uri}`); - }); + trash(uri) + .then(() => { + console.log(`trashed ${uri}`); + }) + .catch(e => { + console.log('failed to trash, will try permanent delete'); + trash(uri); + }); } } }); From 9c10103acd7cdd3a5811fed6d79e47965bf3d6f6 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" Date: Sun, 16 Jun 2019 20:42:58 +0000 Subject: [PATCH 103/371] Bump jest-expo from 32.0.1 to 33.0.2 Bumps [jest-expo](https://github.com/expo/jest-expo) from 32.0.1 to 33.0.2. - [Release notes](https://github.com/expo/jest-expo/releases) - [Commits](https://github.com/expo/jest-expo/commits) Signed-off-by: dependabot-preview[bot] --- .../crna-kitchen-sink/package.json | 2 +- yarn.lock | 521 +----------------- 2 files changed, 31 insertions(+), 492 deletions(-) diff --git a/examples-native/crna-kitchen-sink/package.json b/examples-native/crna-kitchen-sink/package.json index 6f9371f2654e..47d0403452f7 100644 --- a/examples-native/crna-kitchen-sink/package.json +++ b/examples-native/crna-kitchen-sink/package.json @@ -37,7 +37,7 @@ "babel-preset-expo": "^5.1.1", "core-js": "^3.0.1", "expo-cli": "^2.17.1", - "jest-expo": "^32.0.0", + "jest-expo": "^33.0.2", "react-test-renderer": "16.5.1", "schedule": "^0.5.0" }, diff --git a/yarn.lock b/yarn.lock index 0db46921ec2f..14a418ab504b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -195,7 +195,7 @@ optionalDependencies: chokidar "^2.0.4" -"@babel/code-frame@7.0.0", "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.0.0-beta.35", "@babel/code-frame@^7.0.0-beta.44": +"@babel/code-frame@7.0.0", "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.0.0-beta.44": version "7.0.0" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0.tgz#06e2ab19bdb535385559aabb5ba59729482800f8" integrity sha512-OfC2uemaknXr87bdLUkWog7nYuliM9Ij5HUcajsVcMCpQrcLmtxRbVFTIqmcSkSeYRBFBRxs2FiUqFJDLdiebA== @@ -4696,13 +4696,6 @@ app-root-path@^2.2.1: resolved "https://registry.yarnpkg.com/app-root-path/-/app-root-path-2.2.1.tgz#d0df4a682ee408273583d43f6f79e9892624bc9a" integrity sha512-91IFKeKk7FjfmezPKkwtaRvSpnUc4gDwPAjA1YZ9Gn0q0PPeW+vbeUsZuyDwjI7+QTHhcLen2v25fi/AmhvbJA== -append-transform@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/append-transform/-/append-transform-0.4.0.tgz#d76ebf8ca94d276e247a36bad44a4b74ab611991" - integrity sha1-126/jKlNJ24keja61EpLdKthGZE= - dependencies: - default-require-extensions "^1.0.0" - aproba@^1.0.3, aproba@^1.1.1: version "1.2.0" resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" @@ -5163,7 +5156,7 @@ babel-code-frame@^6.22.0, babel-code-frame@^6.26.0: esutils "^2.0.2" js-tokens "^3.0.2" -babel-core@6, babel-core@^6.0.0, babel-core@^6.26.0, babel-core@^6.7.2: +babel-core@6, babel-core@^6.26.0, babel-core@^6.7.2: version "6.26.3" resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.26.3.tgz#b2e2f09e342d0f0c88e2f02e067794125e75c207" integrity sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA== @@ -5400,14 +5393,6 @@ babel-helpers@^6.24.1: babel-runtime "^6.22.0" babel-template "^6.24.1" -babel-jest@^23.6.0: - version "23.6.0" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-23.6.0.tgz#a644232366557a2240a0c083da6b25786185a2f1" - integrity sha512-lqKGG6LYXYu+DQh/slrQ8nxXQkEkhugdXsU6St7GmhVS7Ilc/22ArwqXNJrf0QaOBjZB0360qZMwXqDYQHXaew== - dependencies: - babel-plugin-istanbul "^4.1.6" - babel-preset-jest "^23.2.0" - babel-jest@^24.7.1, babel-jest@^24.8.0: version "24.8.0" resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-24.8.0.tgz#5c15ff2b28e20b0f45df43fe6b7f2aae93dba589" @@ -5551,16 +5536,6 @@ babel-plugin-htmlbars-inline-precompile@^1.0.0: resolved "https://registry.yarnpkg.com/babel-plugin-htmlbars-inline-precompile/-/babel-plugin-htmlbars-inline-precompile-1.0.0.tgz#a9d2f6eaad8a3f3d361602de593a8cbef8179c22" integrity sha512-4jvKEHR1bAX03hBDZ94IXsYCj3bwk9vYsn6ux6JZNL2U5pvzCWjqyrGahfsGNrhERyxw8IqcirOi9Q6WCo3dkQ== -babel-plugin-istanbul@^4.1.6: - version "4.1.6" - resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-4.1.6.tgz#36c59b2192efce81c5b378321b74175add1c9a45" - integrity sha512-PWP9FQ1AhZhS01T/4qLSKoHGY/xvkZdVBGlKM/HuxxS3+sC66HhTNR7+MpbO/so/cz/wY94MeSWJuP1hXIPfwQ== - dependencies: - babel-plugin-syntax-object-rest-spread "^6.13.0" - find-up "^2.1.0" - istanbul-lib-instrument "^1.10.1" - test-exclude "^4.2.1" - babel-plugin-istanbul@^5.1.0: version "5.1.4" resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-5.1.4.tgz#841d16b9a58eeb407a0ddce622ba02fe87a752ba" @@ -5570,11 +5545,6 @@ babel-plugin-istanbul@^5.1.0: istanbul-lib-instrument "^3.3.0" test-exclude "^5.2.3" -babel-plugin-jest-hoist@^23.2.0: - version "23.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-23.2.0.tgz#e61fae05a1ca8801aadee57a6d66b8cefaf44167" - integrity sha1-5h+uBaHKiAGq3uV6bWa4zvr0QWc= - babel-plugin-jest-hoist@^24.6.0: version "24.6.0" resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-24.6.0.tgz#f7f7f7ad150ee96d7a5e8e2c5da8319579e78019" @@ -5746,7 +5716,7 @@ babel-plugin-syntax-jsx@^6.18.0, babel-plugin-syntax-jsx@^6.8.0: resolved "https://registry.yarnpkg.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946" integrity sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY= -babel-plugin-syntax-object-rest-spread@^6.13.0, babel-plugin-syntax-object-rest-spread@^6.8.0: +babel-plugin-syntax-object-rest-spread@^6.8.0: version "6.13.0" resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5" integrity sha1-/WU28rzhODb/o6VFjEkDpZe7O/U= @@ -6256,14 +6226,6 @@ babel-preset-flow@^6.23.0: dependencies: babel-plugin-transform-flow-strip-types "^6.22.0" -babel-preset-jest@^23.2.0: - version "23.2.0" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-23.2.0.tgz#8ec7a03a138f001a1a8fb1e8113652bf1a55da46" - integrity sha1-jsegOhOPABoaj7HoETZSvxpV2kY= - dependencies: - babel-plugin-jest-hoist "^23.2.0" - babel-plugin-syntax-object-rest-spread "^6.13.0" - babel-preset-jest@^24.6.0: version "24.6.0" resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-24.6.0.tgz#66f06136eefce87797539c0d63f1769cc3915984" @@ -6384,7 +6346,7 @@ babel-template@^6.16.0, babel-template@^6.24.1, babel-template@^6.26.0: babylon "^6.18.0" lodash "^4.17.4" -babel-traverse@^6.0.0, babel-traverse@^6.18.0, babel-traverse@^6.19.0, babel-traverse@^6.24.1, babel-traverse@^6.26.0: +babel-traverse@^6.18.0, babel-traverse@^6.19.0, babel-traverse@^6.24.1, babel-traverse@^6.26.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.26.0.tgz#46a9cbd7edcc62c8e5c064e2d2d8d0f4035766ee" integrity sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4= @@ -6399,7 +6361,7 @@ babel-traverse@^6.0.0, babel-traverse@^6.18.0, babel-traverse@^6.19.0, babel-tra invariant "^2.2.2" lodash "^4.17.4" -babel-types@^6.0.0, babel-types@^6.18.0, babel-types@^6.19.0, babel-types@^6.24.1, babel-types@^6.26.0: +babel-types@^6.18.0, babel-types@^6.19.0, babel-types@^6.24.1, babel-types@^6.26.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.26.0.tgz#a3b073f94ab49eb6fa55cd65227a334380632497" integrity sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc= @@ -9629,13 +9591,6 @@ default-gateway@^4.2.0: execa "^1.0.0" ip-regex "^2.1.0" -default-require-extensions@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/default-require-extensions/-/default-require-extensions-1.0.0.tgz#f37ea15d3e13ffd9b437d33e1a75b5fb97874cb8" - integrity sha1-836hXT4T/9m0N9M+GnW1+5eHTLg= - dependencies: - strip-bom "^2.0.0" - defaults@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.3.tgz#c656051e9817d9ff08ed881477f3fe4019f3ef7d" @@ -11443,18 +11398,6 @@ expand-tilde@^2.0.0, expand-tilde@^2.0.2: dependencies: homedir-polyfill "^1.0.1" -expect@^23.6.0: - version "23.6.0" - resolved "https://registry.yarnpkg.com/expect/-/expect-23.6.0.tgz#1e0c8d3ba9a581c87bd71fb9bc8862d443425f98" - integrity sha512-dgSoOHgmtn/aDGRVFWclQyPDKl2CQRq0hmIEoUAuQs/2rn2NcvCWcSCovm6BLeuB/7EZuLGu2QfnR+qRt5OM4w== - dependencies: - ansi-styles "^3.2.0" - jest-diff "^23.6.0" - jest-get-type "^22.1.0" - jest-matcher-utils "^23.6.0" - jest-message-util "^23.4.0" - jest-regex-util "^23.3.0" - expect@^24.8.0: version "24.8.0" resolved "https://registry.yarnpkg.com/expect/-/expect-24.8.0.tgz#471f8ec256b7b6129ca2524b2a62f030df38718d" @@ -12342,14 +12285,6 @@ filename-regex@^2.0.0: resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26" integrity sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY= -fileset@^2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/fileset/-/fileset-2.0.3.tgz#8e7548a96d3cc2327ee5e674168723a333bba2a0" - integrity sha1-jnVIqW08wjJ+5eZ0FocjozO7oqA= - dependencies: - glob "^7.0.3" - minimatch "^3.0.3" - filesize@3.6.1, filesize@^3.6.1: version "3.6.1" resolved "https://registry.yarnpkg.com/filesize/-/filesize-3.6.1.tgz#090bb3ee01b6f801a8a8be99d31710b3422bb317" @@ -13578,7 +13513,7 @@ handle-thing@^2.0.0: resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-2.0.0.tgz#0e039695ff50c93fc288557d696f3c1dc6776754" integrity sha512-d4sze1JNC454Wdo2fkuyzCr6aHcbL6PGGuFAz0Li/NcOm1tCHGnWDRmJP85dh9IhQErTc2svWFEX5xHIOo//kQ== -handlebars@^4.0.11, handlebars@^4.0.3, handlebars@^4.0.4, handlebars@^4.1.0, handlebars@^4.1.2: +handlebars@^4.0.11, handlebars@^4.0.4, handlebars@^4.1.0, handlebars@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.1.2.tgz#b6b37c1ced0306b221e094fc7aca3ec23b131b67" integrity sha512-nvfrjqvt9xQ8Z/w0ijewdD/vvWDTOweBUm96NTr66Wfvo1mJenBLwcYmPs3TIBP5ruzYGD7Hx/DaM9RmhroGPw== @@ -13626,11 +13561,6 @@ has-cors@1.1.0: resolved "https://registry.yarnpkg.com/has-cors/-/has-cors-1.1.0.tgz#5e474793f7ea9843d1bb99c23eef49ff126fff39" integrity sha1-XkdHk/fqmEPRu5nCPu9J/xJv/zk= -has-flag@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" - integrity sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo= - has-flag@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51" @@ -14829,11 +14759,6 @@ is-function@^1.0.1: resolved "https://registry.yarnpkg.com/is-function/-/is-function-1.0.1.tgz#12cfb98b65b57dd3d193a3121f5f6e2f437602b5" integrity sha1-Es+5i2W1fdPRk6MSH19uL0N2ArU= -is-generator-fn@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-1.0.0.tgz#969d49e1bb3329f6bb7f09089be26578b2ddd46a" - integrity sha1-lp1J4bszKfa7fwkIm+JleLLd1Go= - is-generator-fn@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" @@ -15218,23 +15143,6 @@ isstream@~0.1.2: resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo= -istanbul-api@^1.3.1: - version "1.3.7" - resolved "https://registry.yarnpkg.com/istanbul-api/-/istanbul-api-1.3.7.tgz#a86c770d2b03e11e3f778cd7aedd82d2722092aa" - integrity sha512-4/ApBnMVeEPG3EkSzcw25wDe4N66wxwn+KKn6b47vyek8Xb3NBAcg4xfuQbS7BqcZuTX4wxfD5lVagdggR3gyA== - dependencies: - async "^2.1.4" - fileset "^2.0.2" - istanbul-lib-coverage "^1.2.1" - istanbul-lib-hook "^1.2.2" - istanbul-lib-instrument "^1.10.2" - istanbul-lib-report "^1.1.5" - istanbul-lib-source-maps "^1.2.6" - istanbul-reports "^1.5.1" - js-yaml "^3.7.0" - mkdirp "^0.5.1" - once "^1.4.0" - istanbul-instrumenter-loader@3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/istanbul-instrumenter-loader/-/istanbul-instrumenter-loader-3.0.1.tgz#9957bd59252b373fae5c52b7b5188e6fde2a0949" @@ -15245,7 +15153,7 @@ istanbul-instrumenter-loader@3.0.1: loader-utils "^1.1.0" schema-utils "^0.3.0" -istanbul-lib-coverage@^1.2.0, istanbul-lib-coverage@^1.2.1: +istanbul-lib-coverage@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-1.2.1.tgz#ccf7edcd0a0bb9b8f729feeb0930470f9af664f0" integrity sha512-PzITeunAgyGbtY1ibVIUiV679EFChHjoMNRibEIobvmrCRaIgwLxNucOSimtNWUhEib/oO7QY2imD75JVgCJWQ== @@ -15255,14 +15163,7 @@ istanbul-lib-coverage@^2.0.2, istanbul-lib-coverage@^2.0.5: resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.5.tgz#675f0ab69503fad4b1d849f736baaca803344f49" integrity sha512-8aXznuEPCJvGnMSRft4udDRDtb1V3pkQkMMI5LI+6HuQz5oQ4J2UFn1H82raA3qJtyOLkkwVqICBQkjnGtn5mA== -istanbul-lib-hook@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/istanbul-lib-hook/-/istanbul-lib-hook-1.2.2.tgz#bc6bf07f12a641fbf1c85391d0daa8f0aea6bf86" - integrity sha512-/Jmq7Y1VeHnZEQ3TL10VHyb564mn6VrQXHchON9Jf/AEcmQ3ZIiyD1BVzNOKTZf/G3gE+kiGK6SmpF9y3qGPLw== - dependencies: - append-transform "^0.4.0" - -istanbul-lib-instrument@^1.10.1, istanbul-lib-instrument@^1.10.2, istanbul-lib-instrument@^1.7.3: +istanbul-lib-instrument@^1.7.3: version "1.10.2" resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-1.10.2.tgz#1f55ed10ac3c47f2bdddd5307935126754d0a9ca" integrity sha512-aWHxfxDqvh/ZlxR8BBaEPVSWDPUkGD63VjGQn3jcw8jCp7sHEMKcrj4xfJn/ABzdMEHiQNyvDQhqm5o8+SQg7A== @@ -15288,16 +15189,6 @@ istanbul-lib-instrument@^3.0.1, istanbul-lib-instrument@^3.3.0: istanbul-lib-coverage "^2.0.5" semver "^6.0.0" -istanbul-lib-report@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-1.1.5.tgz#f2a657fc6282f96170aaf281eb30a458f7f4170c" - integrity sha512-UsYfRMoi6QO/doUshYNqcKJqVmFe9w51GZz8BS3WB0lYxAllQYklka2wP9+dGZeHYaWIdcXUx8JGdbqaoXRXzw== - dependencies: - istanbul-lib-coverage "^1.2.1" - mkdirp "^0.5.1" - path-parse "^1.0.5" - supports-color "^3.1.2" - istanbul-lib-report@^2.0.4: version "2.0.8" resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-2.0.8.tgz#5a8113cd746d43c4889eba36ab10e7d50c9b4f33" @@ -15307,17 +15198,6 @@ istanbul-lib-report@^2.0.4: make-dir "^2.1.0" supports-color "^6.1.0" -istanbul-lib-source-maps@^1.2.4, istanbul-lib-source-maps@^1.2.6: - version "1.2.6" - resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-1.2.6.tgz#37b9ff661580f8fca11232752ee42e08c6675d8f" - integrity sha512-TtbsY5GIHgbMsMiRw35YBHGpZ1DVFEO19vxxeiDMYaeOFOCzfnYVxvl6pOUIZR4dtPhAGpSMup8OyF8ubsaqEg== - dependencies: - debug "^3.1.0" - istanbul-lib-coverage "^1.2.1" - mkdirp "^0.5.1" - rimraf "^2.6.1" - source-map "^0.5.3" - istanbul-lib-source-maps@^3.0.1: version "3.0.6" resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-3.0.6.tgz#284997c48211752ec486253da97e3879defba8c8" @@ -15329,13 +15209,6 @@ istanbul-lib-source-maps@^3.0.1: rimraf "^2.6.3" source-map "^0.6.1" -istanbul-reports@^1.5.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-1.5.1.tgz#97e4dbf3b515e8c484caea15d6524eebd3ff4e1a" - integrity sha512-+cfoZ0UXzWjhAdzosCPP3AN8vvef8XDkWtTfgaN+7L3YTpNYITnCaEkceo5SEYy644VkHka/P1FvkWvrG/rrJw== - dependencies: - handlebars "^4.0.3" - istanbul-reports@^2.1.1: version "2.2.6" resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-2.2.6.tgz#7b4f2660d82b29303a8fe6091f8ca4bf058da1af" @@ -15401,13 +15274,6 @@ java-properties@^0.2.9: resolved "https://registry.yarnpkg.com/java-properties/-/java-properties-0.2.10.tgz#2551560c25fa1ad94d998218178f233ad9b18f60" integrity sha512-CpKJh9VRNhS+XqZtg1UMejETGEiqwCGDC/uwPEEQwc2nfdbSm73SIE29TplG2gLYuBOOTNDqxzG6A9NtEPLt0w== -jest-changed-files@^23.4.2: - version "23.4.2" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-23.4.2.tgz#1eed688370cd5eebafe4ae93d34bb3b64968fe83" - integrity sha512-EyNhTAUWEfwnK0Is/09LxoqNDOn7mU7S3EHskG52djOFS/z+IT0jT3h3Ql61+dklcG7bJJitIWEMB4Sp1piHmA== - dependencies: - throat "^4.0.0" - jest-changed-files@^24.8.0: version "24.8.0" resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-24.8.0.tgz#7e7eb21cf687587a85e50f3d249d1327e15b157b" @@ -15417,48 +15283,6 @@ jest-changed-files@^24.8.0: execa "^1.0.0" throat "^4.0.0" -jest-cli@^23.6.0: - version "23.6.0" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-23.6.0.tgz#61ab917744338f443ef2baa282ddffdd658a5da4" - integrity sha512-hgeD1zRUp1E1zsiyOXjEn4LzRLWdJBV//ukAHGlx6s5mfCNJTbhbHjgxnDUXA8fsKWN/HqFFF6X5XcCwC/IvYQ== - dependencies: - ansi-escapes "^3.0.0" - chalk "^2.0.1" - exit "^0.1.2" - glob "^7.1.2" - graceful-fs "^4.1.11" - import-local "^1.0.0" - is-ci "^1.0.10" - istanbul-api "^1.3.1" - istanbul-lib-coverage "^1.2.0" - istanbul-lib-instrument "^1.10.1" - istanbul-lib-source-maps "^1.2.4" - jest-changed-files "^23.4.2" - jest-config "^23.6.0" - jest-environment-jsdom "^23.4.0" - jest-get-type "^22.1.0" - jest-haste-map "^23.6.0" - jest-message-util "^23.4.0" - jest-regex-util "^23.3.0" - jest-resolve-dependencies "^23.6.0" - jest-runner "^23.6.0" - jest-runtime "^23.6.0" - jest-snapshot "^23.6.0" - jest-util "^23.4.0" - jest-validate "^23.6.0" - jest-watcher "^23.4.0" - jest-worker "^23.2.0" - micromatch "^2.3.11" - node-notifier "^5.2.1" - prompts "^0.1.9" - realpath-native "^1.0.0" - rimraf "^2.5.4" - slash "^1.0.0" - string-length "^2.0.0" - strip-ansi "^4.0.0" - which "^1.2.12" - yargs "^11.0.0" - jest-cli@^24.7.1, jest-cli@^24.8.0: version "24.8.0" resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-24.8.0.tgz#b075ac914492ed114fa338ade7362a301693e989" @@ -15478,26 +15302,6 @@ jest-cli@^24.7.1, jest-cli@^24.8.0: realpath-native "^1.1.0" yargs "^12.0.2" -jest-config@^23.6.0: - version "23.6.0" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-23.6.0.tgz#f82546a90ade2d8c7026fbf6ac5207fc22f8eb1d" - integrity sha512-i8V7z9BeDXab1+VNo78WM0AtWpBRXJLnkT+lyT+Slx/cbP5sZJ0+NDuLcmBE5hXAoK0aUp7vI+MOxR+R4d8SRQ== - dependencies: - babel-core "^6.0.0" - babel-jest "^23.6.0" - chalk "^2.0.1" - glob "^7.1.1" - jest-environment-jsdom "^23.4.0" - jest-environment-node "^23.4.0" - jest-get-type "^22.1.0" - jest-jasmine2 "^23.6.0" - jest-regex-util "^23.3.0" - jest-resolve "^23.6.0" - jest-util "^23.4.0" - jest-validate "^23.6.0" - micromatch "^2.3.11" - pretty-format "^23.6.0" - jest-config@^24.0.0, jest-config@^24.8.0: version "24.8.0" resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-24.8.0.tgz#77db3d265a6f726294687cbbccc36f8a76ee0f4f" @@ -15521,16 +15325,6 @@ jest-config@^24.0.0, jest-config@^24.8.0: pretty-format "^24.8.0" realpath-native "^1.1.0" -jest-diff@^23.6.0: - version "23.6.0" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-23.6.0.tgz#1500f3f16e850bb3d71233408089be099f610c7d" - integrity sha512-Gz9l5Ov+X3aL5L37IT+8hoCUsof1CVYBb2QEkOupK64XyRR3h+uRpYIm97K7sY8diFxowR8pIGEdyfMKTixo3g== - dependencies: - chalk "^2.0.1" - diff "^3.2.0" - jest-get-type "^22.1.0" - pretty-format "^23.6.0" - jest-diff@^24.7.0, jest-diff@^24.8.0: version "24.8.0" resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-24.8.0.tgz#146435e7d1e3ffdf293d53ff97e193f1d1546172" @@ -15555,14 +15349,6 @@ jest-docblock@^24.3.0: dependencies: detect-newline "^2.1.0" -jest-each@^23.6.0: - version "23.6.0" - resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-23.6.0.tgz#ba0c3a82a8054387016139c733a05242d3d71575" - integrity sha512-x7V6M/WGJo6/kLoissORuvLIeAoyo2YqLOoCDkohgJ4XOXSqOtyvr8FbInlAWS77ojBsZrafbozWoKVRdtxFCg== - dependencies: - chalk "^2.0.1" - pretty-format "^23.6.0" - jest-each@^24.8.0: version "24.8.0" resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-24.8.0.tgz#a05fd2bf94ddc0b1da66c6d13ec2457f35e52775" @@ -15609,15 +15395,6 @@ jest-environment-jsdom-thirteen@^1.0.0, jest-environment-jsdom-thirteen@^1.0.1: jest-util "^24.0.0" jsdom "^13.0.0" -jest-environment-jsdom@^23.4.0: - version "23.4.0" - resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-23.4.0.tgz#056a7952b3fea513ac62a140a2c368c79d9e6023" - integrity sha1-BWp5UrP+pROsYqFAosNox52eYCM= - dependencies: - jest-mock "^23.2.0" - jest-util "^23.4.0" - jsdom "^11.5.1" - jest-environment-jsdom@^24.0.0, jest-environment-jsdom@^24.7.1, jest-environment-jsdom@^24.8.0: version "24.8.0" resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-24.8.0.tgz#300f6949a146cabe1c9357ad9e9ecf9f43f38857" @@ -15630,14 +15407,6 @@ jest-environment-jsdom@^24.0.0, jest-environment-jsdom@^24.7.1, jest-environment jest-util "^24.8.0" jsdom "^11.5.1" -jest-environment-node@^23.4.0: - version "23.4.0" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-23.4.0.tgz#57e80ed0841dea303167cce8cd79521debafde10" - integrity sha1-V+gO0IQd6jAxZ8zozXlSHeuv3hA= - dependencies: - jest-mock "^23.2.0" - jest-util "^23.4.0" - jest-environment-node@^24.8.0: version "24.8.0" resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-24.8.0.tgz#d3f726ba8bc53087a60e7a84ca08883a4c892231" @@ -15658,22 +15427,17 @@ jest-enzyme@^7.0.2: enzyme-to-json "^3.3.0" jest-environment-enzyme "^7.0.2" -jest-expo@^32.0.0: - version "32.0.1" - resolved "https://registry.yarnpkg.com/jest-expo/-/jest-expo-32.0.1.tgz#83bb16cba0d14d75bc635b8fb078bc33e82b99ad" - integrity sha512-FnqfaQ0LuzOgG3/qJh6G+pard5SnWnTfJ7Ad+NFl6CEyZhLp/sCu01fl+CGpal2LFSPODChheIaLYebgw69d+g== +jest-expo@^33.0.2: + version "33.0.2" + resolved "https://registry.yarnpkg.com/jest-expo/-/jest-expo-33.0.2.tgz#6e4c595162047eca2bbb9fcf214a067af3f21b0e" + integrity sha512-OSk8hVm9D8YSw8R7vOOjoERQIqlsAwNgQzqpFdNQROy2/TNzntGBy+8hLsic7y8h2CDXmKVsxvBtiKD4CTOZRg== dependencies: - "@babel/core" "^7.1.0" - babel-core "^7.0.0-bridge.0" - babel-jest "^23.6.0" - jest "^23.6.0" + babel-jest "^24.7.1" + jest "^24.7.1" json5 "^2.1.0" - react-test-renderer "^16.5.0" - -jest-get-type@^22.1.0: - version "22.4.3" - resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-22.4.3.tgz#e3a8504d8479342dd4420236b322869f18900ce4" - integrity sha512-/jsz0Y+V29w1chdXVygEKSz2nBoHoYqNShPe+QgxSNjAuP1i8+k4LbQNrfoliKej0P45sivkSCh7yiD6ubHS3w== + lodash "^4.5.0" + react-test-renderer "^16.8.6" + whatwg-fetch "^3.0.0" jest-get-type@^24.8.0: version "24.8.0" @@ -15694,20 +15458,6 @@ jest-haste-map@23.5.0: micromatch "^2.3.11" sane "^2.0.0" -jest-haste-map@^23.6.0: - version "23.6.0" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-23.6.0.tgz#2e3eb997814ca696d62afdb3f2529f5bbc935e16" - integrity sha512-uyNhMyl6dr6HaXGHp8VF7cK6KpC6G9z9LiMNsst+rJIZ8l7wY0tk8qwjPmEghczojZ2/ZhtEdIabZ0OQRJSGGg== - dependencies: - fb-watchman "^2.0.0" - graceful-fs "^4.1.11" - invariant "^2.2.4" - jest-docblock "^23.2.0" - jest-serializer "^23.0.1" - jest-worker "^23.2.0" - micromatch "^2.3.11" - sane "^2.0.0" - jest-haste-map@^24.8.0: version "24.8.0" resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-24.8.0.tgz#51794182d877b3ddfd6e6d23920e3fe72f305800" @@ -15740,24 +15490,6 @@ jest-image-snapshot@^2.8.2: pngjs "^3.3.3" rimraf "^2.6.2" -jest-jasmine2@^23.6.0: - version "23.6.0" - resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-23.6.0.tgz#840e937f848a6c8638df24360ab869cc718592e0" - integrity sha512-pe2Ytgs1nyCs8IvsEJRiRTPC0eVYd8L/dXJGU08GFuBwZ4sYH/lmFDdOL3ZmvJR8QKqV9MFuwlsAi/EWkFUbsQ== - dependencies: - babel-traverse "^6.0.0" - chalk "^2.0.1" - co "^4.6.0" - expect "^23.6.0" - is-generator-fn "^1.0.0" - jest-diff "^23.6.0" - jest-each "^23.6.0" - jest-matcher-utils "^23.6.0" - jest-message-util "^23.4.0" - jest-snapshot "^23.6.0" - jest-util "^23.4.0" - pretty-format "^23.6.0" - jest-jasmine2@^24.7.1, jest-jasmine2@^24.8.0: version "24.8.0" resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-24.8.0.tgz#a9c7e14c83dd77d8b15e820549ce8987cc8cd898" @@ -15780,13 +15512,6 @@ jest-jasmine2@^24.7.1, jest-jasmine2@^24.8.0: pretty-format "^24.8.0" throat "^4.0.0" -jest-leak-detector@^23.6.0: - version "23.6.0" - resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-23.6.0.tgz#e4230fd42cf381a1a1971237ad56897de7e171de" - integrity sha512-f/8zA04rsl1Nzj10HIyEsXvYlMpMPcy0QkQilVZDFOaPbv2ur71X5u2+C4ZQJGyV/xvVXtCCZ3wQ99IgQxftCg== - dependencies: - pretty-format "^23.6.0" - jest-leak-detector@^24.8.0: version "24.8.0" resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-24.8.0.tgz#c0086384e1f650c2d8348095df769f29b48e6980" @@ -15794,15 +15519,6 @@ jest-leak-detector@^24.8.0: dependencies: pretty-format "^24.8.0" -jest-matcher-utils@^23.6.0: - version "23.6.0" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-23.6.0.tgz#726bcea0c5294261a7417afb6da3186b4b8cac80" - integrity sha512-rosyCHQfBcol4NsckTn01cdelzWLU9Cq7aaigDf8VwwpIRvWE/9zLgX2bON+FkEW69/0UuYslUe22SOdEf2nog== - dependencies: - chalk "^2.0.1" - jest-get-type "^22.1.0" - pretty-format "^23.6.0" - jest-matcher-utils@^24.7.0, jest-matcher-utils@^24.8.0: version "24.8.0" resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-24.8.0.tgz#2bce42204c9af12bde46f83dc839efe8be832495" @@ -15813,17 +15529,6 @@ jest-matcher-utils@^24.7.0, jest-matcher-utils@^24.8.0: jest-get-type "^24.8.0" pretty-format "^24.8.0" -jest-message-util@^23.4.0: - version "23.4.0" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-23.4.0.tgz#17610c50942349508d01a3d1e0bda2c079086a9f" - integrity sha1-F2EMUJQjSVCNAaPR4L2iwHkIap8= - dependencies: - "@babel/code-frame" "^7.0.0-beta.35" - chalk "^2.0.1" - micromatch "^2.3.11" - slash "^1.0.0" - stack-utils "^1.0.1" - jest-message-util@^24.8.0: version "24.8.0" resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-24.8.0.tgz#0d6891e72a4beacc0292b638685df42e28d6218b" @@ -15838,11 +15543,6 @@ jest-message-util@^24.8.0: slash "^2.0.0" stack-utils "^1.0.1" -jest-mock@^23.2.0: - version "23.2.0" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-23.2.0.tgz#ad1c60f29e8719d47c26e1138098b6d18b261134" - integrity sha1-rRxg8p6HGdR8JuETgJi20YsmETQ= - jest-mock@^24.0.0, jest-mock@^24.5.0, jest-mock@^24.8.0: version "24.8.0" resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-24.8.0.tgz#2f9d14d37699e863f1febf4e4d5a33b7fdbbde56" @@ -15878,24 +15578,11 @@ jest-raw-loader@^1.0.1: resolved "https://registry.yarnpkg.com/jest-raw-loader/-/jest-raw-loader-1.0.1.tgz#ce9f56d54650f157c4a7d16d224ba5d613bcd626" integrity sha1-zp9W1UZQ8VfEp9FtIkul1hO81iY= -jest-regex-util@^23.3.0: - version "23.3.0" - resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-23.3.0.tgz#5f86729547c2785c4002ceaa8f849fe8ca471bc5" - integrity sha1-X4ZylUfCeFxAAs6qj4Sf6MpHG8U= - jest-regex-util@^24.3.0: version "24.3.0" resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-24.3.0.tgz#d5a65f60be1ae3e310d5214a0307581995227b36" integrity sha512-tXQR1NEOyGlfylyEjg1ImtScwMq8Oh3iJbGTjN7p0J23EuVX1MA8rwU69K4sLbCmwzgCUbVkm0FkSF9TdzOhtg== -jest-resolve-dependencies@^23.6.0: - version "23.6.0" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-23.6.0.tgz#b4526af24c8540d9a3fab102c15081cf509b723d" - integrity sha512-EkQWkFWjGKwRtRyIwRwI6rtPAEyPWlUC2MpzHissYnzJeHcyCn1Hc8j7Nn1xUVrS5C6W5+ZL37XTem4D4pLZdA== - dependencies: - jest-regex-util "^23.3.0" - jest-snapshot "^23.6.0" - jest-resolve-dependencies@^24.8.0: version "24.8.0" resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-24.8.0.tgz#19eec3241f2045d3f990dba331d0d7526acff8e0" @@ -15916,15 +15603,6 @@ jest-resolve@24.7.1: jest-pnp-resolver "^1.2.1" realpath-native "^1.1.0" -jest-resolve@^23.6.0: - version "23.6.0" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-23.6.0.tgz#cf1d1a24ce7ee7b23d661c33ba2150f3aebfa0ae" - integrity sha512-XyoRxNtO7YGpQDmtQCmZjum1MljDqUCob7XlZ6jy9gsMugHdN2hY4+Acz9Qvjz2mSsOnPSH7skBmDYCHXVZqkA== - dependencies: - browser-resolve "^1.11.3" - chalk "^2.0.1" - realpath-native "^1.0.0" - jest-resolve@^24.8.0: version "24.8.0" resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-24.8.0.tgz#84b8e5408c1f6a11539793e2b5feb1b6e722439f" @@ -15936,25 +15614,6 @@ jest-resolve@^24.8.0: jest-pnp-resolver "^1.2.1" realpath-native "^1.1.0" -jest-runner@^23.6.0: - version "23.6.0" - resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-23.6.0.tgz#3894bd219ffc3f3cb94dc48a4170a2e6f23a5a38" - integrity sha512-kw0+uj710dzSJKU6ygri851CObtCD9cN8aNkg8jWJf4ewFyEa6kwmiH/r/M1Ec5IL/6VFa0wnAk6w+gzUtjJzA== - dependencies: - exit "^0.1.2" - graceful-fs "^4.1.11" - jest-config "^23.6.0" - jest-docblock "^23.2.0" - jest-haste-map "^23.6.0" - jest-jasmine2 "^23.6.0" - jest-leak-detector "^23.6.0" - jest-message-util "^23.4.0" - jest-runtime "^23.6.0" - jest-util "^23.4.0" - jest-worker "^23.2.0" - source-map-support "^0.5.6" - throat "^4.0.0" - jest-runner@^24.8.0: version "24.8.0" resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-24.8.0.tgz#4f9ae07b767db27b740d7deffad0cf67ccb4c5bb" @@ -15980,33 +15639,6 @@ jest-runner@^24.8.0: source-map-support "^0.5.6" throat "^4.0.0" -jest-runtime@^23.6.0: - version "23.6.0" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-23.6.0.tgz#059e58c8ab445917cd0e0d84ac2ba68de8f23082" - integrity sha512-ycnLTNPT2Gv+TRhnAYAQ0B3SryEXhhRj1kA6hBPSeZaNQkJ7GbZsxOLUkwg6YmvWGdX3BB3PYKFLDQCAE1zNOw== - dependencies: - babel-core "^6.0.0" - babel-plugin-istanbul "^4.1.6" - chalk "^2.0.1" - convert-source-map "^1.4.0" - exit "^0.1.2" - fast-json-stable-stringify "^2.0.0" - graceful-fs "^4.1.11" - jest-config "^23.6.0" - jest-haste-map "^23.6.0" - jest-message-util "^23.4.0" - jest-regex-util "^23.3.0" - jest-resolve "^23.6.0" - jest-snapshot "^23.6.0" - jest-util "^23.4.0" - jest-validate "^23.6.0" - micromatch "^2.3.11" - realpath-native "^1.0.0" - slash "^1.0.0" - strip-bom "3.0.0" - write-file-atomic "^2.1.0" - yargs "^11.0.0" - jest-runtime@^24.8.0: version "24.8.0" resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-24.8.0.tgz#05f94d5b05c21f6dc54e427cd2e4980923350620" @@ -16046,22 +15678,6 @@ jest-serializer@^24.4.0: resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-24.4.0.tgz#f70c5918c8ea9235ccb1276d232e459080588db3" integrity sha512-k//0DtglVstc1fv+GY/VHDIjrtNjdYvYjMlbLUed4kxrE92sIUewOi5Hj3vrpB8CXfkJntRPDRjCrCvUhBdL8Q== -jest-snapshot@^23.6.0: - version "23.6.0" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-23.6.0.tgz#f9c2625d1b18acda01ec2d2b826c0ce58a5aa17a" - integrity sha512-tM7/Bprftun6Cvj2Awh/ikS7zV3pVwjRYU2qNYS51VZHgaAMBs5l4o/69AiDHhQrj5+LA2Lq4VIvK7zYk/bswg== - dependencies: - babel-types "^6.0.0" - chalk "^2.0.1" - jest-diff "^23.6.0" - jest-matcher-utils "^23.6.0" - jest-message-util "^23.4.0" - jest-resolve "^23.6.0" - mkdirp "^0.5.1" - natural-compare "^1.4.0" - pretty-format "^23.6.0" - semver "^5.5.0" - jest-snapshot@^24.1.0, jest-snapshot@^24.8.0: version "24.8.0" resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-24.8.0.tgz#3bec6a59da2ff7bc7d097a853fb67f9d415cb7c6" @@ -16087,20 +15703,6 @@ jest-specific-snapshot@^2.0.0: dependencies: jest-snapshot "^24.1.0" -jest-util@^23.4.0: - version "23.4.0" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-23.4.0.tgz#4d063cb927baf0a23831ff61bec2cbbf49793561" - integrity sha1-TQY8uSe68KI4Mf9hvsLLv0l5NWE= - dependencies: - callsites "^2.0.0" - chalk "^2.0.1" - graceful-fs "^4.1.11" - is-ci "^1.0.10" - jest-message-util "^23.4.0" - mkdirp "^0.5.1" - slash "^1.0.0" - source-map "^0.6.0" - jest-util@^24.0.0, jest-util@^24.5.0, jest-util@^24.8.0: version "24.8.0" resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-24.8.0.tgz#41f0e945da11df44cc76d64ffb915d0716f46cd1" @@ -16119,16 +15721,6 @@ jest-util@^24.0.0, jest-util@^24.5.0, jest-util@^24.8.0: slash "^2.0.0" source-map "^0.6.0" -jest-validate@^23.6.0: - version "23.6.0" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-23.6.0.tgz#36761f99d1ed33fcd425b4e4c5595d62b6597474" - integrity sha512-OFKapYxe72yz7agrDAWi8v2WL8GIfVqcbKRCLbRG9PAxtzF9b1SEDdTpytNDN12z2fJynoBwpMpvj2R39plI2A== - dependencies: - chalk "^2.0.1" - jest-get-type "^22.1.0" - leven "^2.1.0" - pretty-format "^23.6.0" - jest-validate@^24.8.0: version "24.8.0" resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-24.8.0.tgz#624c41533e6dfe356ffadc6e2423a35c2d3b4849" @@ -16175,15 +15767,6 @@ jest-watch-typeahead@^0.3.0: string-length "^2.0.0" strip-ansi "^5.0.0" -jest-watcher@^23.4.0: - version "23.4.0" - resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-23.4.0.tgz#d2e28ce74f8dad6c6afc922b92cabef6ed05c91c" - integrity sha1-0uKM50+NrWxq/JIrksq+9u0FyRw= - dependencies: - ansi-escapes "^3.0.0" - chalk "^2.0.1" - string-length "^2.0.0" - jest-watcher@^24.3.0, jest-watcher@^24.8.0: version "24.8.0" resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-24.8.0.tgz#58d49915ceddd2de85e238f6213cef1c93715de4" @@ -16225,14 +15808,6 @@ jest@24.7.1: import-local "^2.0.0" jest-cli "^24.7.1" -jest@^23.6.0: - version "23.6.0" - resolved "https://registry.yarnpkg.com/jest/-/jest-23.6.0.tgz#ad5835e923ebf6e19e7a1d7529a432edfee7813d" - integrity sha512-lWzcd+HSiqeuxyhG+EnZds6iO3Y3ZEnMrfZq/OTGvF/C+Z4fPMCdhWTGSAiO2Oym9rbEXfwddHhh6jqrTF3+Lw== - dependencies: - import-local "^1.0.0" - jest-cli "^23.6.0" - jest@^24.7.1: version "24.8.0" resolved "https://registry.yarnpkg.com/jest/-/jest-24.8.0.tgz#d5dff1984d0d1002196e9b7f12f75af1b2809081" @@ -16310,7 +15885,7 @@ js-tokens@^3.0.0, js-tokens@^3.0.2: resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== -js-yaml@^3.10.0, js-yaml@^3.12.1, js-yaml@^3.13.0, js-yaml@^3.13.1, js-yaml@^3.2.5, js-yaml@^3.2.7, js-yaml@^3.6.1, js-yaml@^3.7.0, js-yaml@^3.9.0: +js-yaml@^3.10.0, js-yaml@^3.12.1, js-yaml@^3.13.0, js-yaml@^3.13.1, js-yaml@^3.2.5, js-yaml@^3.2.7, js-yaml@^3.6.1, js-yaml@^3.9.0: version "3.13.1" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847" integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw== @@ -16725,11 +16300,6 @@ klaw@^1.0.0: optionalDependencies: graceful-fs "^4.1.9" -kleur@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/kleur/-/kleur-2.0.2.tgz#b704f4944d95e255d038f0cb05fb8a602c55a300" - integrity sha512-77XF9iTllATmG9lSlIv0qdQ2BQ/h9t0bJllHlbvsQ0zUWfU7Yi0S8L5JXzPZgkefIiajLmBJJ4BsMJmqcf7oxQ== - kleur@^3.0.2: version "3.0.3" resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" @@ -17839,7 +17409,7 @@ lodash@4.17.5: resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511" integrity sha512-svL3uiZf1RwhH+cWrfZn3A4+U58wbP0tGVTLQPbjplZxZ8ROD9VLuNgsRniTlLe7OlSqR79RUehXgpBW/s0IQw== -lodash@4.x, "lodash@>=3.5 <5", lodash@^4.0.0, lodash@^4.0.1, lodash@^4.13.1, lodash@^4.15.0, lodash@^4.16.6, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.6.1, lodash@~4.17.10: +lodash@4.x, "lodash@>=3.5 <5", lodash@^4.0.0, lodash@^4.0.1, lodash@^4.13.1, lodash@^4.15.0, lodash@^4.16.6, lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.5.0, lodash@^4.6.1, lodash@~4.17.10: version "4.17.11" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d" integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg== @@ -19008,7 +18578,7 @@ minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1: resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" integrity sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo= -"minimatch@2 || 3", minimatch@3.0.4, minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4, minimatch@~3.0.2: +"minimatch@2 || 3", minimatch@3.0.4, minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.4, minimatch@~3.0.2: version "3.0.4" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== @@ -20712,7 +20282,7 @@ path-key@^2.0.0, path-key@^2.0.1: resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= -path-parse@^1.0.5, path-parse@^1.0.6: +path-parse@^1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw== @@ -21951,14 +21521,6 @@ promise@^7.1.1: dependencies: asap "~2.0.3" -prompts@^0.1.9: - version "0.1.14" - resolved "https://registry.yarnpkg.com/prompts/-/prompts-0.1.14.tgz#a8e15c612c5c9ec8f8111847df3337c9cbd443b2" - integrity sha512-rxkyiE9YH6zAz/rZpywySLKkpaj0NMVyNw1qhsubdbjjSgcayjTShDreZGlFMcGSu5sab3bAKPfFk78PB90+8w== - dependencies: - kleur "^2.0.1" - sisteransi "^0.1.1" - prompts@^2.0.1: version "2.1.0" resolved "https://registry.yarnpkg.com/prompts/-/prompts-2.1.0.tgz#bf90bc71f6065d255ea2bdc0fe6520485c1b45db" @@ -23265,7 +22827,7 @@ react-test-renderer@16.5.1: react-is "^16.5.1" schedule "^0.4.0" -react-test-renderer@^16.0.0-0, react-test-renderer@^16.5.0, react-test-renderer@^16.8.3: +react-test-renderer@^16.0.0-0, react-test-renderer@^16.8.3, react-test-renderer@^16.8.6: version "16.8.6" resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.8.6.tgz#188d8029b8c39c786f998aa3efd3ffe7642d5ba1" integrity sha512-H2srzU5IWYT6cZXof6AhUcx/wEyJddQ8l7cLM/F7gDXYyPr4oq+vCIxJYXVGhId1J706sqziAjuOEjyNkfgoEw== @@ -23558,7 +23120,7 @@ readline-sync@^1.4.9: resolved "https://registry.yarnpkg.com/readline-sync/-/readline-sync-1.4.9.tgz#3eda8e65f23cd2a17e61301b1f0003396af5ecda" integrity sha1-PtqOZfI80qF+YTAbHwADOWr17No= -realpath-native@^1.0.0, realpath-native@^1.1.0: +realpath-native@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/realpath-native/-/realpath-native-1.1.0.tgz#2003294fea23fb0672f2476ebe22fcf498a2d65c" integrity sha512-wlgPA6cCIIg9gKz0fgAPjnzh4yR/LnXovwuo9hvyGvx3h8nX4+/iLZplfUWasXpqD8BdnGnP5njOFjkUwPzvjA== @@ -25212,11 +24774,6 @@ simplebar@^4.0.0: resize-observer-polyfill "^1.5.1" scrollbarwidth "^0.1.3" -sisteransi@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-0.1.1.tgz#5431447d5f7d1675aac667ccd0b865a4994cb3ce" - integrity sha512-PmGOd02bM9YO5ifxpw36nrNMBTptEtfRl4qUYl9SndkolplkrZZOW7PGHjrZL53QvMVj9nQ+TKqUnRsw4tJa4g== - sisteransi@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.0.tgz#77d9622ff909080f1c19e5f4a1df0c1b0a27b88c" @@ -26036,11 +25593,6 @@ strip-ansi@^4.0.0: dependencies: ansi-regex "^3.0.0" -strip-bom@3.0.0, strip-bom@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" - integrity sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM= - strip-bom@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" @@ -26048,6 +25600,11 @@ strip-bom@^2.0.0: dependencies: is-utf8 "^0.2.0" +strip-bom@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" + integrity sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM= + strip-color@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/strip-color/-/strip-color-0.1.0.tgz#106f65d3d3e6a2d9401cac0eb0ce8b8a702b4f7b" @@ -26214,13 +25771,6 @@ supports-color@^2.0.0: resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" integrity sha1-U10EXOa2Nj+kARcIRimZXp3zJMc= -supports-color@^3.1.2: - version "3.2.3" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.2.3.tgz#65ac0504b3954171d8a64946b2ae3cbb8a5f54f6" - integrity sha1-ZawFBLOVQXHYpklGsq48u4pfVPY= - dependencies: - has-flag "^1.0.0" - supports-color@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.5.0.tgz#be7a0de484dec5c5cddf8b3d59125044912f635b" @@ -26545,17 +26095,6 @@ terser@^3.16.1, terser@^3.17.0, terser@^3.7.5: source-map "~0.6.1" source-map-support "~0.5.10" -test-exclude@^4.2.1: - version "4.2.3" - resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-4.2.3.tgz#a9a5e64474e4398339245a0a769ad7c2f4a97c20" - integrity sha512-SYbXgY64PT+4GAL2ocI3HwPa4Q4TBKm0cwAVeKOt/Aoc0gSpNRjJX8w0pA1LMKZ3LBmd8pYBqApFNQLII9kavA== - dependencies: - arrify "^1.0.1" - micromatch "^2.3.11" - object-assign "^4.1.0" - read-pkg-up "^1.0.1" - require-main-filename "^1.0.1" - test-exclude@^5.2.3: version "5.2.3" resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-5.2.3.tgz#c3d3e1e311eb7ee405e092dac10aefd09091eac0" @@ -28739,7 +28278,7 @@ which-pm-runs@^1.0.0: resolved "https://registry.yarnpkg.com/which-pm-runs/-/which-pm-runs-1.0.0.tgz#670b3afbc552e0b55df6b7780ca74615f23ad1cb" integrity sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs= -which@1, which@^1.2.10, which@^1.2.12, which@^1.2.14, which@^1.2.8, which@^1.2.9, which@^1.3.0, which@^1.3.1: +which@1, which@^1.2.10, which@^1.2.14, which@^1.2.8, which@^1.2.9, which@^1.3.0, which@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== @@ -29116,7 +28655,7 @@ write-file-atomic@^1.2.0: imurmurhash "^0.1.4" slide "^1.1.5" -write-file-atomic@^2.0.0, write-file-atomic@^2.1.0, write-file-atomic@^2.3.0: +write-file-atomic@^2.0.0, write-file-atomic@^2.3.0: version "2.4.2" resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-2.4.2.tgz#a7181706dfba17855d221140a9c06e15fcdd87b9" integrity sha512-s0b6vB3xIVRLWywa6X9TOMA7k9zio0TMOsl9ZnDkliA/cfJlpHXAscj0gbHVJiTdIuAYpIyqS5GW91fqm6gG5g== From 23cc5a7ea6ac93c0373c8a14f20e11eac5891353 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Sun, 16 Jun 2019 23:28:48 +0200 Subject: [PATCH 104/371] FIX snapshots --- .../info/src/__snapshots__/index.test.js.snap | 18358 ++++++++-------- .../addon-info.stories.storyshot | 11192 ++-------- 2 files changed, 11058 insertions(+), 18492 deletions(-) diff --git a/addons/info/src/__snapshots__/index.test.js.snap b/addons/info/src/__snapshots__/index.test.js.snap index 4ac4d39e4cd6..64aa1bba1d58 100644 --- a/addons/info/src/__snapshots__/index.test.js.snap +++ b/addons/info/src/__snapshots__/index.test.js.snap @@ -33,1220 +33,101 @@ exports[`addon Info should render and external markdown 1`] = ` showSource={true} styles={[Function]} > -
    - - -
    +
    + It's a + story: + - -
    -
    -
    -

    -

    -

    -
    +

    + x => x + 1 +

    +

    + [object Object] +

    +

    + 1,2,3 +

    +

    + 7 +

    +
    + seven +
    +
    + true +
    +

    + undefined +

    + -
    HTML Mock

    ", - } - } - key="0" - /> -
    -
    -

    - Story Source -

    -
    -                
    -                  
    - - It's a - story: - -
    - } - > -
    -
    - - < - div - - - It's a - story: - -
    - } - singleLine={false} - > - - - - > - -
    - -
    - - It's a - -
    -
    - -
    - -
    -
    - -
    - - story: - -
    -
    - - } - > -
    - - < - TestComponent - - - } - singleLine={true} - > - - - -
    -    -
    - - func - - - = - - { - - - func - - - } - - -
    - - -
    -    -
    - - obj - - - = - - { - - - - { - - - a - - - : - - - 'a' - - - , - - - b - - - : - - - 'b' - - - } - - - - } - - -
    - - -
    -    -
    - - array - - - = - - { - - - - [ - - - - 1 - - - - , - - - - 2 - - - - , - - - - 3 - - - - ] - - - - } - - -
    - - -
    -    -
    - - number - - - = - - { - - - 7 - - - } - - -
    - - -
    -    -
    - - string - - - = - - " - - - seven - - - " - - -
    - - -
    -    -
    - - bool - -
    -
    -
    -
    - - /> - -
    -
    -
    - - </ - div - > - -
    -
    - - - - - - - - -
    -

    - Prop Types -

    -
    -

    - " - TestComponent - " Component -

    - - - - No propTypes defined! - - - -
    -
    + test +
    + + storiesOf + +
      +
    • + 1 +
    • +
    • + 2 +
    • +
    - + +
    `; @@ -1286,1302 +167,101 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)" showSource={true} styles={[Function]} > -
    -
    -
    - It's a - story: - -
    -

    - x => x + 1 -

    -

    - [object Object] -

    -

    - 1,2,3 -

    -

    - 7 -

    -
    - seven -
    -
    - true -
    -

    - undefined -

    - - test - - - storiesOf - -
      -
    • - 1 -
    • -
    • - 2 -
    • -
    -
    -
    -
    -
    - -
    +
    + It's a + story: + - -
    -
    -
    -

    -

    -

    -
    +

    + x => x + 1 +

    +

    + [object Object] +

    +

    + 1,2,3 +

    +

    + 7 +

    +
    + seven +
    +
    + true +
    +

    + undefined +

    + -

    -

    - Test story -

    - -

    -

    - with markdown info -

    - -

    -

    -

    -
    -
    -

    - Story Source -

    -
    -                
    -                  
    - - It's a - story: - -
    - } - > -
    -
    - - < - div - - - It's a - story: - -
    - } - singleLine={false} - > - - - - > - -
    - -
    - - It's a - -
    -
    - -
    - -
    -
    - -
    - - story: - -
    -
    - - } - > -
    - - < - TestComponent - - - } - singleLine={true} - > - - - -
    -    -
    - - func - - - = - - { - - - func - - - } - - -
    - - -
    -    -
    - - obj - - - = - - { - - - - { - - - a - - - : - - - 'a' - - - , - - - b - - - : - - - 'b' - - - } - - - - } - - -
    - - -
    -    -
    - - array - - - = - - { - - - - [ - - - - 1 - - - - , - - - - 2 - - - - , - - - - 3 - - - - ] - - - - } - - -
    - - -
    -    -
    - - number - - - = - - { - - - 7 - - - } - - -
    - - -
    -    -
    - - string - - - = - - " - - - seven - - - " - - -
    - - -
    -    -
    - - bool - -
    -
    -
    -
    - - /> - -
    -
    -
    - - </ - div - > - -
    -
    - -
    - - - - - -
    -
    -

    - Prop Types -

    -
    -

    - " - TestComponent - " Component -

    - - - - No propTypes defined! - - - -
    -
    + test + + + storiesOf + +
      +
    • + 1 +
    • +
    • + 2 +
    • +
    -
    +
    + `; @@ -2619,1155 +299,101 @@ exports[`addon Info should render for memoized component 1`] = ` showSource={true} styles={[Function]} > -
    -
    -
    - It's a - story: - -
    -

    - x => x + 1 -

    -

    - [object Object] -

    -

    - 1,2,3 -

    -

    - 7 -

    -
    - seven -
    -
    - true -
    -

    - undefined -

    - - test - - - storiesOf - -
      -
    • - 1 -
    • -
    • - 2 -
    • -
    -
    -
    -
    -
    - -
    +
    + It's a + story: + - -
    -
    -
    +

    + x => x + 1 +

    +

    + [object Object] +

    +

    + 1,2,3 +

    +

    + 7 +

    +
    + seven +
    +
    + true +
    +

    + undefined +

    + -

    -

    -

    -
    -

    - Story Source -

    -
    -                
    -                  
    - - It's a - story: - -
    - } - > -
    -
    - - < - div - - - It's a - story: - -
    - } - singleLine={false} - > - - - - > - -
    - -
    - - It's a - -
    -
    - -
    - -
    -
    - -
    - - story: - -
    -
    - - } - > -
    - - < - TestComponent - - - } - singleLine={true} - > - - - -
    -    -
    - - func - - - = - - { - - - func - - - } - - -
    - - -
    -    -
    - - obj - - - = - - { - - - - { - - - a - - - : - - - 'a' - - - , - - - b - - - : - - - 'b' - - - } - - - - } - - -
    - - -
    -    -
    - - array - - - = - - { - - - - [ - - - - 1 - - - - , - - - - 2 - - - - , - - - - 3 - - - - ] - - - - } - - -
    - - -
    -    -
    - - number - - - = - - { - - - 7 - - - } - - -
    - - -
    -    -
    - - string - - - = - - " - - - seven - - - " - - -
    - - -
    -    -
    - - bool - -
    -
    -
    -
    - - /> - -
    -
    -
    - - </ - div - > - -
    -
    - -
    - - - - - -
    + test + + + storiesOf + +
      +
    • + 1 +
    • +
    • + 2 +
    • +
    -
    +
    + `; @@ -4202,310 +828,296 @@ exports[`addon Info should render component description if story kind matches co styles={[Function]} >
    -
    +
    -
    -

    - TestComponent -

    -

    - Basic test -

    -
    -
    -
    -
    -
    - It's a - Basic test - story: - +

    -
    -

    - x => x + 1 -

    -

    - [object Object] -

    -

    - 1,2,3 -

    -

    - 7 -

    -
    - seven -
    -
    - true -
    -

    - undefined -

    - - test - - - storiesOf - -
      -
    • - 1 -
    • -
    • - 2 -
    • -
    -
    - + Basic test +

    +
    +
    -
    -

    -

    - Awesome test component description -

    - -

    + x => x + 1 +

    +

    + [object Object] +

    +

    + 1,2,3 +

    +

    + 7 +

    +
    + seven +
    +
    + true +
    +

    + undefined +

    + -

    - with markdown support -

    - -

    + + storiesOf + +

      +
    • + 1 +
    • +
    • + 2 +
    • +
    +
    + +
    +
    +
    +
    +

    +

    + Awesome test component description +

    + +

    +

    + with markdown support +

    + +

    +

    + -

    - - bold - - - - cursive - -
    -

    - + + - +

    +

    + + + + - - -
    + - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - , - "ctr": 82, - "isSpeedy": false, - "key": "css", - "nonce": undefined, - "tags": Array [ - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - ], - }, - } - } - serialized={ - Object { - "map": undefined, - "name": "nh5djz", - "next": undefined, - "styles": "[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start;}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit;}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto !important;height:auto !important;z-index:0;}.simplebar-offset{direction:inherit !important;resize:none !important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch;}.simplebar-content-wrapper{direction:inherit;position:relative;display:block;visibility:visible;}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none;}.simplebar-height-auto-observer-wrapper{height:100%;width:inherit;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0;}.simplebar-height-auto-observer{display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1;}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden;}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all;}.simplebar-scrollbar{position:absolute;right:2px;width:7px;min-height:10px;}.simplebar-scrollbar:before{position:absolute;content:\\"\\";border-radius:7px;left:0;right:0;opacity:0;transition:opacity 0.2s linear;background:#333333;}.simplebar-track .simplebar-scrollbar.simplebar-visible:before{opacity:0.5;transition:opacity 0s linear;}.simplebar-track.simplebar-vertical{top:0;width:11px;}.simplebar-track.simplebar-vertical .simplebar-scrollbar:before{top:2px;bottom:2px;}.simplebar-track.simplebar-horizontal{left:0;height:11px;}.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before{height:100%;left:2px;right:2px;}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:2px;height:7px;min-height:0;min-width:10px;width:auto;}[data-simplebar-direction=\\"rtl\\"] .simplebar-track.simplebar-vertical{right:auto;left:0;}", - } - } - /> - - - - -
    -
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + "ctr": 82, + "isSpeedy": false, + "key": "css", + "nonce": undefined, + "tags": Array [ + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ], + }, + } + } + serialized={ + Object { + "map": undefined, + "name": "nh5djz", + "next": undefined, + "styles": "[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start;}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit;}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto !important;height:auto !important;z-index:0;}.simplebar-offset{direction:inherit !important;resize:none !important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch;}.simplebar-content-wrapper{direction:inherit;position:relative;display:block;visibility:visible;}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none;}.simplebar-height-auto-observer-wrapper{height:100%;width:inherit;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0;}.simplebar-height-auto-observer{display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1;}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden;}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all;}.simplebar-scrollbar{position:absolute;right:2px;width:7px;min-height:10px;}.simplebar-scrollbar:before{position:absolute;content:\\"\\";border-radius:7px;left:0;right:0;opacity:0;transition:opacity 0.2s linear;background:#333333;}.simplebar-track .simplebar-scrollbar.simplebar-visible:before{opacity:0.5;transition:opacity 0s linear;}.simplebar-track.simplebar-vertical{top:0;width:11px;}.simplebar-track.simplebar-vertical .simplebar-scrollbar:before{top:2px;bottom:2px;}.simplebar-track.simplebar-horizontal{left:0;height:11px;}.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before{height:100%;left:2px;right:2px;}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:2px;height:7px;min-height:0;min-width:10px;width:auto;}[data-simplebar-direction=\\"rtl\\"] .simplebar-track.simplebar-vertical{right:auto;left:0;}", + } + } + /> + + + + +
    - -
    -    -
    - - number - - - = - - { - - - 7 - - - } - - - - - -
    -    -
    - - string - - - = - +
    +
    - " - - +
    - seven - - - " - - - - - -
    -    -
    - + + +
    +                                                
    +                                                  
    +                                                    a
    +                                                    
    +                                                      ;
    +                                                    
    +                                                  
    +                                                
    +                                              
    +
    +
    +
    +
    +
    +
    +
    +
    +
    - bool - -
    - - - - - /> - -
    - +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    - - </ - div - > - + +
    -
    - +
    +
    - + + + +

    + Story Source +

    + +
    " + format={false} + language="jsx" + > + + + +
    - - - - -
    -
    -
    - - -
    -`; - -exports[`addon Info should render component description if story name matches component 1`] = ` -.emotion-10 { - position: relative; - overflow: hidden; - color: #333333; - border: 1px solid rgba(0,0,0,.1); - background: #FFFFFF; -} - -.emotion-5 { - position: relative; -} - -.emotion-5 code { - padding-right: 10px; -} - -.emotion-5 * .token { - font-family: "Operator Mono","Fira Code Retina","Fira Code","FiraCode-Retina","Andale Mono","Lucida Console",Consolas,Monaco,monospace; - -webkit-font-smoothing: antialiased; -} - -.emotion-5 * .token.comment { - color: #008000; - font-style: italic; -} - -.emotion-5 * .token.prolog { - color: #008000; - font-style: italic; -} - -.emotion-5 * .token.doctype { - color: #008000; - font-style: italic; -} - -.emotion-5 * .token.cdata { - color: #008000; - font-style: italic; -} - -.emotion-5 * .token.string { - color: #A31515; -} - -.emotion-5 * .token.punctuation { - color: #393A34; -} - -.emotion-5 * .token.operator { - color: #393A34; -} - -.emotion-5 * .token.url { - color: #36acaa; -} - -.emotion-5 * .token.symbol { - color: #36acaa; -} - -.emotion-5 * .token.number { - color: #36acaa; -} - -.emotion-5 * .token.boolean { - color: #36acaa; -} - -.emotion-5 * .token.variable { - color: #36acaa; -} - -.emotion-5 * .token.constant { - color: #36acaa; -} - -.emotion-5 * .token.inserted { - color: #36acaa; -} - -.emotion-5 * .token.atrule { - color: #0000ff; -} - -.emotion-5 * .token.keyword { - color: #0000ff; -} - -.emotion-5 * .token.attr-value { - color: #0000ff; -} - -.emotion-5 * .token.function { - color: #393A34; -} - -.emotion-5 * .token.deleted { - color: #9a050f; -} - -.emotion-5 * .token.important { - font-weight: bold; -} - -.emotion-5 * .token.bold { - font-weight: bold; -} - -.emotion-5 * .token.italic { - font-style: italic; -} - -.emotion-5 * .token.class-name { - color: #2B91AF; -} - -.emotion-5 * .token.tag { - color: #800000; -} - -.emotion-5 * .token.selector { - color: #800000; -} - -.emotion-5 * .token.attr-name { - color: #ff0000; -} - -.emotion-5 * .token.property { - color: #ff0000; -} - -.emotion-5 * .token.regex { - color: #ff0000; -} - -.emotion-5 * .token.entity { - color: #ff0000; -} - -.emotion-5 * .token.directive.tag .tag { - background: #ffff00; - color: #393A34; -} - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + "ctr": 82, + "isSpeedy": false, + "key": "css", + "nonce": undefined, + "tags": Array [ + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ], + }, + } + } + serialized={ + Object { + "map": undefined, + "name": "nh5djz", + "next": undefined, + "styles": "[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start;}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit;}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto !important;height:auto !important;z-index:0;}.simplebar-offset{direction:inherit !important;resize:none !important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch;}.simplebar-content-wrapper{direction:inherit;position:relative;display:block;visibility:visible;}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none;}.simplebar-height-auto-observer-wrapper{height:100%;width:inherit;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0;}.simplebar-height-auto-observer{display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1;}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden;}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all;}.simplebar-scrollbar{position:absolute;right:2px;width:7px;min-height:10px;}.simplebar-scrollbar:before{position:absolute;content:\\"\\";border-radius:7px;left:0;right:0;opacity:0;transition:opacity 0.2s linear;background:#333333;}.simplebar-track .simplebar-scrollbar.simplebar-visible:before{opacity:0.5;transition:opacity 0s linear;}.simplebar-track.simplebar-vertical{top:0;width:11px;}.simplebar-track.simplebar-vertical .simplebar-scrollbar:before{top:2px;bottom:2px;}.simplebar-track.simplebar-horizontal{left:0;height:11px;}.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before{height:100%;left:2px;right:2px;}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:2px;height:7px;min-height:0;min-width:10px;width:auto;}[data-simplebar-direction=\\"rtl\\"] .simplebar-track.simplebar-vertical{right:auto;left:0;}", + } + } + /> + + + + +
    +
    +
    +
    +
    +
    +
    +
    +
    + + +
    +                                                
    +                                                  
    +                                                    
    +                                                      
    +                                                        
    +                                                          <
    +                                                        
    +                                                        div
    +                                                      
    +                                                      
    +                                                        >
    +                                                      
    +                                                    
    +                                                    
    +                                                      
    +  It's a Basic test story:
    +  
    +                                                    
    +                                                    
    +                                                      
    +                                                        
    +                                                          <
    +                                                        
    +                                                        
    +                                                          TestComponent
    +                                                        
    +                                                      
    +                                                      
    +    
    +                                                      
    +                                                        array
    +                                                      
    +                                                      
    +                                                        
    +                                                          =
    +                                                        
    +                                                        
    +                                                          {
    +                                                        
    +                                                        
    +                                                          [
    +                                                        
    +                                                        
    +      
    +                                                        
    +                                                          1
    +                                                        
    +                                                        
    +                                                          ,
    +                                                        
    +                                                        
    +      
    +                                                        
    +                                                          2
    +                                                        
    +                                                        
    +                                                          ,
    +                                                        
    +                                                        
    +      
    +                                                        
    +                                                          3
    +                                                        
    +                                                        
    +    
    +                                                        
    +                                                          ]
    +                                                        
    +                                                        
    +                                                          }
    +                                                        
    +                                                      
    +                                                      
    +    
    +                                                      
    +                                                        bool
    +                                                      
    +                                                      
    +    
    +                                                      
    +                                                        func
    +                                                      
    +                                                      
    +                                                        
    +                                                          =
    +                                                        
    +                                                        
    +                                                          {
    +                                                        
    +                                                        
    +                                                          function
    +                                                        
    +                                                         
    +                                                        
    +                                                          noRefCheck
    +                                                        
    +                                                        
    +                                                          (
    +                                                        
    +                                                        
    +                                                          )
    +                                                        
    +                                                         
    +                                                        
    +                                                          {
    +                                                        
    +                                                        
    +                                                          }
    +                                                        
    +                                                        
    +                                                          }
    +                                                        
    +                                                      
    +                                                      
    +    
    +                                                      
    +                                                        number
    +                                                      
    +                                                      
    +                                                        
    +                                                          =
    +                                                        
    +                                                        
    +                                                          {
    +                                                        
    +                                                        
    +                                                          7
    +                                                        
    +                                                        
    +                                                          }
    +                                                        
    +                                                      
    +                                                      
    +    
    +                                                      
    +                                                        obj
    +                                                      
    +                                                      
    +                                                        
    +                                                          =
    +                                                        
    +                                                        
    +                                                          {
    +                                                        
    +                                                        
    +                                                          {
    +                                                        
    +                                                        
    +      a
    +                                                        
    +                                                          :
    +                                                        
    +                                                         
    +                                                        
    +                                                          'a'
    +                                                        
    +                                                        
    +                                                          ,
    +                                                        
    +                                                        
    +      b
    +                                                        
    +                                                          :
    +                                                        
    +                                                         
    +                                                        
    +                                                          'b'
    +                                                        
    +                                                        
    +    
    +                                                        
    +                                                          }
    +                                                        
    +                                                        
    +                                                          }
    +                                                        
    +                                                      
    +                                                      
    +    
    +                                                      
    +                                                        string
    +                                                      
    +                                                      
    +                                                        
    +                                                          =
    +                                                        
    +                                                        
    +                                                          "
    +                                                        
    +                                                        seven
    +                                                        
    +                                                          "
    +                                                        
    +                                                      
    +                                                      
    +  
    +                                                      
    +                                                        />
    +                                                      
    +                                                    
    +                                                    
    +                                                      
    +
    +                                                    
    +                                                    
    +                                                      
    +                                                        
    +                                                          </
    +                                                        
    +                                                        div
    +                                                      
    +                                                      
    +                                                        >
    +                                                      
    +                                                    
    +                                                  
    +                                                
    +                                              
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + + + + + + +
    + + + +
    +
    +
    +
    + + + +
    +
    +
    + + +`; + +exports[`addon Info should render component description if story name matches component 1`] = ` +.emotion-10 { + position: relative; + overflow: hidden; + color: #333333; + border: 1px solid rgba(0,0,0,.1); + background: #FFFFFF; +} + +.emotion-5 { + position: relative; +} + +.emotion-5 code { + padding-right: 10px; +} + +.emotion-5 * .token { + font-family: "Operator Mono","Fira Code Retina","Fira Code","FiraCode-Retina","Andale Mono","Lucida Console",Consolas,Monaco,monospace; + -webkit-font-smoothing: antialiased; +} + +.emotion-5 * .token.comment { + color: #008000; + font-style: italic; +} + +.emotion-5 * .token.prolog { + color: #008000; + font-style: italic; +} + +.emotion-5 * .token.doctype { + color: #008000; + font-style: italic; +} + +.emotion-5 * .token.cdata { + color: #008000; + font-style: italic; +} + +.emotion-5 * .token.string { + color: #A31515; +} + +.emotion-5 * .token.punctuation { + color: #393A34; +} + +.emotion-5 * .token.operator { + color: #393A34; +} + +.emotion-5 * .token.url { + color: #36acaa; +} + +.emotion-5 * .token.symbol { + color: #36acaa; +} + +.emotion-5 * .token.number { + color: #36acaa; +} + +.emotion-5 * .token.boolean { + color: #36acaa; +} + +.emotion-5 * .token.variable { + color: #36acaa; +} + +.emotion-5 * .token.constant { + color: #36acaa; +} + +.emotion-5 * .token.inserted { + color: #36acaa; +} + +.emotion-5 * .token.atrule { + color: #0000ff; +} + +.emotion-5 * .token.keyword { + color: #0000ff; +} + +.emotion-5 * .token.attr-value { + color: #0000ff; +} + +.emotion-5 * .token.function { + color: #393A34; +} + +.emotion-5 * .token.deleted { + color: #9a050f; +} + +.emotion-5 * .token.important { + font-weight: bold; +} + +.emotion-5 * .token.bold { + font-weight: bold; +} + +.emotion-5 * .token.italic { + font-style: italic; +} + +.emotion-5 * .token.class-name { + color: #2B91AF; +} + +.emotion-5 * .token.tag { + color: #800000; +} + +.emotion-5 * .token.selector { + color: #800000; +} + +.emotion-5 * .token.attr-name { + color: #ff0000; +} + +.emotion-5 * .token.property { + color: #ff0000; +} + +.emotion-5 * .token.regex { + color: #ff0000; +} + +.emotion-5 * .token.entity { + color: #ff0000; +} + +.emotion-5 * .token.directive.tag .tag { + background: #ffff00; + color: #393A34; +} + .emotion-5 * .language-json .token.boolean { color: #0000ff; } @@ -7451,2933 +5385,4583 @@ exports[`addon Info should render component description if story name matches co styles={[Function]} >
    - +
    -
    -

    -

    - Awesome test component description -

    - -

    + x => x + 1 +

    +

    + [object Object] +

    +

    + 1,2,3 +

    +

    + 7 +

    +
    + seven +
    +
    + true +
    +

    + undefined +

    + -

    - with markdown support -

    - -

    + + storiesOf + +

      +
    • + 1 +
    • +
    • + 2 +
    • +
    +
    + +
    +
    +
    +
    +

    +

    + Awesome test component description +

    + +

    +

    + with markdown support +

    + +

    +

    + -

    - - bold - - - - cursive - -
    -

    - + + - +

    +

    + + - - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - , - "ctr": 82, - "isSpeedy": false, - "key": "css", - "nonce": undefined, - "tags": Array [ - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - , - ], - }, - } - } - serialized={ - Object { - "map": undefined, - "name": "nh5djz", - "next": undefined, - "styles": "[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start;}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit;}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto !important;height:auto !important;z-index:0;}.simplebar-offset{direction:inherit !important;resize:none !important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch;}.simplebar-content-wrapper{direction:inherit;position:relative;display:block;visibility:visible;}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none;}.simplebar-height-auto-observer-wrapper{height:100%;width:inherit;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0;}.simplebar-height-auto-observer{display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1;}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden;}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all;}.simplebar-scrollbar{position:absolute;right:2px;width:7px;min-height:10px;}.simplebar-scrollbar:before{position:absolute;content:\\"\\";border-radius:7px;left:0;right:0;opacity:0;transition:opacity 0.2s linear;background:#333333;}.simplebar-track .simplebar-scrollbar.simplebar-visible:before{opacity:0.5;transition:opacity 0s linear;}.simplebar-track.simplebar-vertical{top:0;width:11px;}.simplebar-track.simplebar-vertical .simplebar-scrollbar:before{top:2px;bottom:2px;}.simplebar-track.simplebar-horizontal{left:0;height:11px;}.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before{height:100%;left:2px;right:2px;}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:2px;height:7px;min-height:0;min-width:10px;width:auto;}[data-simplebar-direction=\\"rtl\\"] .simplebar-track.simplebar-vertical{right:auto;left:0;}", - } - } - /> - - + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + "ctr": 82, + "isSpeedy": false, + "key": "css", + "nonce": undefined, + "tags": Array [ + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ], + }, + } + } + serialized={ + Object { + "map": undefined, + "name": "nh5djz", + "next": undefined, + "styles": "[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start;}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit;}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto !important;height:auto !important;z-index:0;}.simplebar-offset{direction:inherit !important;resize:none !important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch;}.simplebar-content-wrapper{direction:inherit;position:relative;display:block;visibility:visible;}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none;}.simplebar-height-auto-observer-wrapper{height:100%;width:inherit;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0;}.simplebar-height-auto-observer{display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1;}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden;}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all;}.simplebar-scrollbar{position:absolute;right:2px;width:7px;min-height:10px;}.simplebar-scrollbar:before{position:absolute;content:\\"\\";border-radius:7px;left:0;right:0;opacity:0;transition:opacity 0.2s linear;background:#333333;}.simplebar-track .simplebar-scrollbar.simplebar-visible:before{opacity:0.5;transition:opacity 0s linear;}.simplebar-track.simplebar-vertical{top:0;width:11px;}.simplebar-track.simplebar-vertical .simplebar-scrollbar:before{top:2px;bottom:2px;}.simplebar-track.simplebar-horizontal{left:0;height:11px;}.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before{height:100%;left:2px;right:2px;}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:2px;height:7px;min-height:0;min-width:10px;width:auto;}[data-simplebar-direction=\\"rtl\\"] .simplebar-track.simplebar-vertical{right:auto;left:0;}", + } + } + /> + + + + - -
    +
    +
    +
    +
    +
    + + +
    +                                                
    +                                                  
    +                                                    a
    +                                                    
    +                                                      ;
    +                                                    
    +                                                  
    +                                                
    +                                              
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + + + + + + +
    + + + +
    +
    +
    +
    + + + +
    +

    + Story Source +

    + +
    " + format={false} + language="jsx" + > + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + "ctr": 82, + "isSpeedy": false, + "key": "css", + "nonce": undefined, + "tags": Array [ + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ], + }, } - } - > - < - TestComponent - - - } - singleLine={true} - > - - - -
    -    -
    - - func - - - = - - { - - - func - - - } - - -
    - - -
    -    -
    - - obj - - - = - - { - - - - { - - - a - - - : - - - 'a' - - - , - - - b - - - : - - - 'b' - - - } - - - - } - - -
    - +
    + + + +
    - -
    -    -
    - - array - - - = - +
    +
    +
    - { - - +
    - - [ - - - - 1 - - - - , - - - - 2 - - - - , - - + - - 3 - - - - ] - - - - } - - - - - -
    -    -
    - - number - - - = - - { - - - 7 - - - } - - -
    - - -
    -    -
    - + + + + + < + + div + + + > + + + + + It's a TestComponent story: + + + + + + < + + + TestComponent + + + + + + array + + + + = + + + { + + + [ + + + + + 1 + + + , + + + + + 2 + + + , + + + + + 3 + + + + + ] + + + } + + + + + + bool + + + + + func + + + + = + + + { + + + function + + + + noRefCheck + + + ( + + + ) + + + + { + + + } + + + } + + + + + + number + + + + = + + + { + + + 7 + + + } + + + + + + obj + + + + = + + + { + + + { + + + a + + : + + + + 'a' + + + , + + + b + + : + + + + 'b' + + + + + } + + + } + + + + + + string + + + + = + + + " + + seven + + " + + + + + + /> + + + + + + + + + + </ + + div + + + > + + + + + + + +
    +
    +
    +
    +
    +
    +
    - string - - - = - - " - - - seven - - - " - - - - - -
    -    -
    - +
    +
    - bool - -
    - - - - - /> - -
    - +
    +
    +
    + + + + + + + +
    - - </ - div - > - + +
    -
    - + +
    - - - - - -
    -
    + + + +
    diff --git a/examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot index c820d2d184e5..a1d1992bd3a5 100644 --- a/examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot +++ b/examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot @@ -1,7 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Storyshots Addons|Info/Decorator Use Info as story decorator 1`] = ` -
    +Array [
    @@ -10,243 +10,19 @@ exports[`Storyshots Addons|Info/Decorator Use Info as story decorator 1`] = ` > Button -
    +
    , - - + , +] `; exports[`Storyshots Addons|Info/ForwardRef Displays forwarded ref components correctly 1`] = ` -
    +Array [
    @@ -255,437 +31,19 @@ exports[`Storyshots Addons|Info/ForwardRef Displays forwarded ref components cor > Forwarded Ref Button -
    +
    , - - + , +] `; exports[`Storyshots Addons|Info/ForwardRef Uses forwardRef displayName if available 1`] = ` -
    +Array [
    @@ -694,356 +52,19 @@ exports[`Storyshots Addons|Info/ForwardRef Uses forwardRef displayName if availa > Forwarded Ref Button w/ Display Name -
    +
    , - - + , +] `; exports[`Storyshots Addons|Info/GitHub issues #1814 1`] = ` -
    +Array [
    @@ -1053,162 +74,40 @@ exports[`Storyshots Addons|Info/GitHub issues #1814 1`] = ` /> ); + +storiesOf('Addons|Info.GitHub issues', module).addDecorator(withSourceLoader(__STORY__, __ADDS_MAP__,__MAIN_FILE_LOCATION__,__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__)).add( + '#1814', + withInfo('Allow Duplicate DisplayNames for HOC #1814')(() => ( +
    + + ); + +storiesOf('Addons|Info.GitHub issues', module).addDecorator(withSourceLoader(__STORY__, __ADDS_MAP__,__MAIN_FILE_LOCATION__,__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__)).add( + '#1814', + withInfo('Allow Duplicate DisplayNames for HOC #1814')(() => ( +
    + + ); -storiesOf('Addons|Info.GitHub issues', module).addDecorator(withSourceLoader(__STORY__, __ADDS_MAP__,__MAIN_FILE_LOCATION__,__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__)).add( +storiesOf('Addons|Info.GitHub issues', module).add( '#1814', withInfo('Allow Duplicate DisplayNames for HOC #1814')(() => (
    @@ -334,11 +333,31 @@ stories.add('Flow Class', withInfo('Lorum Ipsum Nem')(() => )); " `; -exports[`inject-decorator positive - ts calculates "adds" map 1`] = `Object {}`; +exports[`inject-decorator positive - ts calculates "adds" map 1`] = ` +Object { + "ngrx-store--with-component": Object { + "endBody": Object { + "col": 3, + "line": 32, + }, + "endLoc": Object { + "col": 3, + "line": 32, + }, + "startBody": Object { + "col": 25, + "line": 28, + }, + "startLoc": Object { + "col": 7, + "line": 28, + }, + }, +} +`; exports[`inject-decorator positive - ts injects stories decorator after the all "storiesOf" functions 1`] = ` -"var addSourceDecorator = require(\\"@storybook/source-loader\\").addSource; -import { Component } from '@angular/core'; +"import { Component } from '@angular/core'; import { Store, StoreModule } from '@ngrx/store'; import { storiesOf, moduleMetadata } from '@storybook/angular'; @@ -358,7 +377,7 @@ class WithStoreComponent { } } -storiesOf('ngrx|Store', module) +storiesOf('ngrx|Store', module).addDecorator(withSourceLoader(__STORY__, __ADDS_MAP__,__MAIN_FILE_LOCATION__,__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__)) .addDecorator( moduleMetadata({ imports: [StoreModule.forRoot({})], @@ -787,8 +806,8 @@ storiesOf('Addons|Info.GitHub issues', module).addDecorator(withSourceLoader(__S `; exports[`inject-decorator stories with ugly comments in ts should delete ugly comments from the generated story source 1`] = ` -"/* global window */ -/* eslint-disable global-require, import/no-dynamic-require */ +" + import React from 'react'; @@ -808,17 +827,13 @@ class WithStoreComponent { } } -/* - eslint-disable some kind - of multi line ignore, though - I'm not sure it's possible. -*/ + import { storiesOf } from '@storybook/react'; -/* eslint-disable-line */ const x = 0; + const x = 0; + -// eslint-disable-line storiesOf('Foo', module) .add('bar', () =>
    baz
    ); diff --git a/lib/source-loader/src/abstract-syntax-tree/inject-decorator.js b/lib/source-loader/src/abstract-syntax-tree/inject-decorator.js index aa620eee0392..9cd8008f9f13 100644 --- a/lib/source-loader/src/abstract-syntax-tree/inject-decorator.js +++ b/lib/source-loader/src/abstract-syntax-tree/inject-decorator.js @@ -21,7 +21,7 @@ function extendOptions(source, comments, filepath, options) { } function inject(source, filepath, options = {}, log = message => {}) { - const { injectDecorator = true } = options; + const { injectDecorator = true, inspectDependencies } = options; const obviouslyNotCode = ['md', 'txt', 'json'].includes(options.parser); let parser = null; try { @@ -48,7 +48,9 @@ function inject(source, filepath, options = {}, log = message => {}) { const storySource = generateStorySource(extendOptions(source, comments, filepath, options)); const newAst = parser.parse(storySource); - const { dependencies, storiesOfIdentifiers } = generateDependencies(newAst); + const { dependencies, storiesOfIdentifiers } = inspectDependencies + ? generateDependencies(newAst) + : { dependencies: [], storiesOfIdentifiers: {} }; const { addsMap, idsToFrameworks } = generateStoriesLocationsMap(newAst, storiesOfIdentifiers); let newSource = cleanedSource; diff --git a/lib/source-loader/src/abstract-syntax-tree/inject-decorator.test.js b/lib/source-loader/src/abstract-syntax-tree/inject-decorator.test.js index 8b400a1a6675..755feb9117fd 100644 --- a/lib/source-loader/src/abstract-syntax-tree/inject-decorator.test.js +++ b/lib/source-loader/src/abstract-syntax-tree/inject-decorator.test.js @@ -2,18 +2,13 @@ import fs from 'fs'; import path from 'path'; import injectDecorator from './inject-decorator'; -const ADD_DECORATOR_STATEMENT = '.addDecorator(withStorySource(__STORY__, __ADDS_MAP__))'; - describe('inject-decorator', () => { describe('positive', () => { const mockFilePath = './__mocks__/inject-decorator.stories.txt'; const source = fs.readFileSync(mockFilePath, 'utf-8'); - const result = injectDecorator( - source, - ADD_DECORATOR_STATEMENT, - path.resolve(__dirname, mockFilePath), - { parser: 'javascript' } - ); + const result = injectDecorator(source, path.resolve(__dirname, mockFilePath), { + parser: 'javascript', + }); it('returns "changed" flag', () => { expect(result.changed).toBeTruthy(); @@ -31,12 +26,9 @@ describe('inject-decorator', () => { describe('positive - angular', () => { const mockFilePath = './__mocks__/inject-decorator.angular-stories.txt'; const source = fs.readFileSync(mockFilePath, 'utf-8'); - const result = injectDecorator( - source, - ADD_DECORATOR_STATEMENT, - path.resolve(__dirname, mockFilePath), - { parser: 'typescript' } - ); + const result = injectDecorator(source, path.resolve(__dirname, mockFilePath), { + parser: 'typescript', + }); it('returns "changed" flag', () => { expect(result.changed).toBeTruthy(); @@ -54,12 +46,9 @@ describe('inject-decorator', () => { describe('positive - flow', () => { const mockFilePath = './__mocks__/inject-decorator.flow-stories.txt'; const source = fs.readFileSync(mockFilePath, 'utf-8'); - const result = injectDecorator( - source, - ADD_DECORATOR_STATEMENT, - path.resolve(__dirname, mockFilePath), - { parser: 'flow' } - ); + const result = injectDecorator(source, path.resolve(__dirname, mockFilePath), { + parser: 'flow', + }); it('returns "changed" flag', () => { expect(result.changed).toBeTruthy(); @@ -77,17 +66,13 @@ describe('inject-decorator', () => { describe('positive - ts', () => { const mockFilePath = './__mocks__/inject-decorator.ts.txt'; const source = fs.readFileSync(mockFilePath, 'utf-8'); - const result = injectDecorator( - source, - ADD_DECORATOR_STATEMENT, - path.resolve(__dirname, mockFilePath), - { parser: 'typescript' } - ); - - // FIXME: failing test - // it('returns "changed" flag', () => { - // expect(result.changed).toBeTruthy(); - // }); + const result = injectDecorator(source, path.resolve(__dirname, mockFilePath), { + parser: 'typescript', + }); + + it('returns "changed" flag', () => { + expect(result.changed).toBeTruthy(); + }); it('injects stories decorator after the all "storiesOf" functions', () => { expect(result.source).toMatchSnapshot(); @@ -101,12 +86,9 @@ describe('inject-decorator', () => { describe('stories with ugly comments', () => { const mockFilePath = './__mocks__/inject-decorator.ugly-comments-stories.txt'; const source = fs.readFileSync(mockFilePath, 'utf-8'); - const result = injectDecorator( - source, - ADD_DECORATOR_STATEMENT, - path.resolve(__dirname, mockFilePath), - { parser: 'javascript' } - ); + const result = injectDecorator(source, path.resolve(__dirname, mockFilePath), { + parser: 'javascript', + }); it('should delete ugly comments from the generated story source', () => { expect(result.storySource).toMatchSnapshot(); @@ -116,12 +98,9 @@ describe('inject-decorator', () => { describe('stories with ugly comments in ts', () => { const mockFilePath = './__mocks__/inject-decorator.ts.ugly-comments-stories.txt'; const source = fs.readFileSync(mockFilePath, 'utf-8'); - const result = injectDecorator( - source, - ADD_DECORATOR_STATEMENT, - path.resolve(__dirname, mockFilePath), - { parser: 'typescript' } - ); + const result = injectDecorator(source, path.resolve(__dirname, mockFilePath), { + parser: 'typescript', + }); it('should delete ugly comments from the generated story source', () => { expect(result.storySource).toMatchSnapshot(); @@ -132,11 +111,7 @@ describe('inject-decorator', () => { const mockFilePath = './__mocks__/inject-decorator.no-stories.txt'; const source = fs.readFileSync(mockFilePath, 'utf-8'); - const result = injectDecorator( - source, - ADD_DECORATOR_STATEMENT, - path.resolve(__dirname, mockFilePath) - ); + const result = injectDecorator(source, path.resolve(__dirname, mockFilePath)); expect(result.changed).toBeFalsy(); expect(result.addsMap).toEqual({}); @@ -146,15 +121,10 @@ describe('inject-decorator', () => { describe('injectDecorator option is false', () => { const mockFilePath = './__mocks__/inject-decorator.stories.txt'; const source = fs.readFileSync(mockFilePath, 'utf-8'); - const result = injectDecorator( - source, - ADD_DECORATOR_STATEMENT, - path.resolve(__dirname, mockFilePath), - { - injectDecorator: false, - parser: 'javascript', - } - ); + const result = injectDecorator(source, path.resolve(__dirname, mockFilePath), { + injectDecorator: false, + parser: 'javascript', + }); it('does not inject stories decorator after the all "storiesOf" functions', () => { expect(result.source).toMatchSnapshot(); @@ -164,15 +134,10 @@ describe('inject-decorator', () => { describe('injectDecorator option is false - angular', () => { const mockFilePath = './__mocks__/inject-decorator.angular-stories.txt'; const source = fs.readFileSync(mockFilePath, 'utf-8'); - const result = injectDecorator( - source, - ADD_DECORATOR_STATEMENT, - path.resolve(__dirname, mockFilePath), - { - injectDecorator: false, - parser: 'typescript', - } - ); + const result = injectDecorator(source, path.resolve(__dirname, mockFilePath), { + injectDecorator: false, + parser: 'typescript', + }); it('does not inject stories decorator after the all "storiesOf" functions', () => { expect(result.source).toMatchSnapshot(); @@ -182,15 +147,10 @@ describe('inject-decorator', () => { describe('injectDecorator option is false - flow', () => { const mockFilePath = './__mocks__/inject-decorator.flow-stories.txt'; const source = fs.readFileSync(mockFilePath, 'utf-8'); - const result = injectDecorator( - source, - ADD_DECORATOR_STATEMENT, - path.resolve(__dirname, mockFilePath), - { - injectDecorator: false, - parser: 'flow', - } - ); + const result = injectDecorator(source, path.resolve(__dirname, mockFilePath), { + injectDecorator: false, + parser: 'flow', + }); it('does not inject stories decorator after the all "storiesOf" functions', () => { expect(result.source).toMatchSnapshot(); @@ -200,15 +160,10 @@ describe('inject-decorator', () => { describe('injectDecorator option is false - ts', () => { const mockFilePath = './__mocks__/inject-decorator.ts.txt'; const source = fs.readFileSync(mockFilePath, 'utf-8'); - const result = injectDecorator( - source, - ADD_DECORATOR_STATEMENT, - path.resolve(__dirname, mockFilePath), - { - injectDecorator: false, - parser: 'typescript', - } - ); + const result = injectDecorator(source, path.resolve(__dirname, mockFilePath), { + injectDecorator: false, + parser: 'typescript', + }); it('does not inject stories decorator after the all "storiesOf" functions', () => { expect(result.source).toMatchSnapshot(); diff --git a/lib/source-loader/src/dependencies-lookup/readAsObject.js b/lib/source-loader/src/dependencies-lookup/readAsObject.js index 4ab9f83d8b8b..3cff31e0b93b 100644 --- a/lib/source-loader/src/dependencies-lookup/readAsObject.js +++ b/lib/source-loader/src/dependencies-lookup/readAsObject.js @@ -26,6 +26,7 @@ function extractLocalDependenciesFrom(tree) { function readAsObject(classLoader, inputSource, mainFile) { const options = getOptions(classLoader) || {}; + const { inspectLocalDependencies } = options; const result = injectDecorator( inputSource, classLoader.resourcePath, @@ -47,7 +48,9 @@ function readAsObject(classLoader, inputSource, mainFile) { const resource = classLoader.resourcePath || classLoader.resource; const moduleDependencies = (result.dependencies || []).filter(d => d[0] === '.' || d[0] === '/'); - const workspaceFileNames = moduleDependencies.map(d => path.join(path.dirname(resource), d)); + const workspaceFileNames = inspectLocalDependencies + ? moduleDependencies.map(d => path.join(path.dirname(resource), d)) + : []; return Promise.all( workspaceFileNames.map( From ef14ecf3b5a61e0045ceaa4a310f7ec7c0a0e2fb Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 27 Jun 2019 10:56:35 +0800 Subject: [PATCH 223/371] Merge branch 'next' into pr/6472 --- .babelrc.js | 50 +- .circleci/config.yml | 45 + .eslintrc.js | 25 + .github/CODEOWNERS | 1 - .github/FUNDING.yml | 1 + .github/automention.yml | 5 +- .gitignore | 2 + .spelling | 2 +- .../OpenSourceProjects_Storybook/Project.kt | 197 - .../OpenSourceProjects_Storybook_Bootstrap.kt | 1 + .../OpenSourceProjects_Storybook_Build_2.kt | 115 - .../OpenSourceProjects_Storybook_Chromatic.kt | 77 - ...urceProjects_Storybook_CliTestLatestCra.kt | 82 - .../OpenSourceProjects_Storybook_Docs.kt | 58 - .../OpenSourceProjects_Storybook_Examples.kt | 112 - .../OpenSourceProjects_Storybook_Lint.kt | 77 - ...nSourceProjects_Storybook_Lint_Warnings.kt | 92 - ...OpenSourceProjects_Storybook_SmokeTests.kt | 80 - .../OpenSourceProjects_Storybook_Test.kt | 65 - .../buildTypes/StorybookApp.kt | 102 - .../1bda59b5-d08d-4fd8-b317-953e7d79d881.kts | 16 + .../1ea2b5bd-28f6-44f5-8ab3-6c659ce8fbd6.kts | 16 + .../2b9c73e2-0a6e-47ca-95ae-729cac42be2b.kts | 16 + .../42cfbb9a-f35b-4f96-afae-0b508927a737.kts | 16 + .../42cfbb9a-f35b-4f96-afae-0b508927a738.kts | 16 + ...47-4ca7-4f0d-940d-b0c422f501a6-angular.kts | 16 + ...-4ca7-4f0d-940d-b0c422f501a6-chromatic.kts | 16 + ...c5f747-4ca7-4f0d-940d-b0c422f501a6-cra.kts | 16 + ...ca7-4f0d-940d-b0c422f501a6-cra_react15.kts | 16 + ...747-4ca7-4f0d-940d-b0c422f501a6-cra_ts.kts | 16 + ...f747-4ca7-4f0d-940d-b0c422f501a6-ember.kts | 16 + ...5f747-4ca7-4f0d-940d-b0c422f501a6-html.kts | 16 + ...f747-4ca7-4f0d-940d-b0c422f501a6-marko.kts | 16 + ...47-4ca7-4f0d-940d-b0c422f501a6-mithril.kts | 16 + ...47-4ca7-4f0d-940d-b0c422f501a6-polymer.kts | 16 + ...747-4ca7-4f0d-940d-b0c422f501a6-preact.kts | 16 + ...5f747-4ca7-4f0d-940d-b0c422f501a6-riot.kts | 16 + ...747-4ca7-4f0d-940d-b0c422f501a6-svelte.kts | 16 + ...c5f747-4ca7-4f0d-940d-b0c422f501a6-vue.kts | 16 + .../8cc5f747-4ca7-4f0d-940d-b0c422f501a6.kts | 16 + .../9f9177e7-9ec9-4e2e-aabb-d304fd667711.kts | 5 + .../9f9177e7-9ec9-4e2e-aabb-d304fd667712.kts | 16 + .../d4320bd8-6094-4dd6-9bed-e13d6f0d12e2.kts | 16 + .../69382d9b-7791-418a-9ff6-1c83b86ed6b5.kts | 17 + .../OpenSourceProjects_Storybook/settings.kts | 35 - ...ubComStorybooksStorybookRefsHeadsMaster.kt | 2 +- ...bComStorybooksStorybookRefsHeadsMaster1.kt | 4 +- .teamcity/pom.xml | 104 - ADDONS_SUPPORT.md | 3 +- CHANGELOG.md | 8524 ++++---- CODE_OF_CONDUCT.md | 10 +- CONTRIBUTING.md | 32 +- HISTORY.md | 2 +- MIGRATION.md | 134 +- README.md | 48 +- RELEASES.md | 8 +- addons/a11y/README.md | 4 +- addons/a11y/package.json | 24 +- addons/a11y/src/components/A11YPanel.tsx | 3 +- .../HighlightToggle.test.js.snap | 5 +- .../__snapshots__/A11YPanel.test.js.snap | 241 +- addons/actions/README.md | 6 +- addons/actions/package.json | 28 +- .../src/containers/ActionLogger/index.tsx | 4 +- .../src/preview/__tests__/action.test.js | 130 +- addons/actions/src/preview/action.ts | 2 + addons/actions/src/preview/actions.ts | 8 +- addons/backgrounds/README.md | 4 +- addons/backgrounds/package.json | 24 +- .../src/containers/BackgroundSelector.tsx | 34 +- addons/backgrounds/src/index.ts | 2 +- addons/centered/README.md | 2 +- addons/centered/package.json | 20 +- addons/centered/rax.js | 1 + .../centered/src/{angular.js => angular.ts} | 8 +- .../centered/src/components/Centered.svelte | 10 +- addons/centered/src/{ember.js => ember.ts} | 4 +- .../src/helpers/{json2CSS.js => json2CSS.ts} | 6 +- addons/centered/src/{html.js => html.ts} | 6 +- addons/centered/src/{index.js => index.ts} | 0 .../centered/src/{mithril.js => mithril.tsx} | 6 +- addons/centered/src/{preact.js => preact.tsx} | 5 +- addons/centered/src/rax.js | 18 + addons/centered/src/{react.js => react.tsx} | 5 +- addons/centered/src/{styles.js => styles.ts} | 11 +- addons/centered/src/{svelte.js => svelte.ts} | 12 +- addons/centered/src/typings.d.ts | 2 + addons/centered/src/{vue.js => vue.ts} | 0 addons/centered/tsconfig.json | 13 + addons/contexts/README.md | 2 +- addons/contexts/package.json | 13 +- .../src/manager/components/ToolBar.test.tsx | 100 + .../src/manager/components/ToolBar.tsx | 8 +- .../components/ToolBarControl.test.tsx | 99 + .../manager/components/ToolBarMenu.test.tsx | 103 + .../src/manager/components/ToolBarMenu.tsx | 14 +- .../components/ToolBarMenuOptions.test.tsx | 51 + .../src/manager/components/ToolbarControl.tsx | 8 +- .../src/preview/libs/decorators.test.ts | 17 +- .../src/preview/libs/getContextNodes.test.ts | 10 +- .../src/preview/libs/getPropsMap.test.ts | 6 +- .../src/preview/libs/getRendererFrom.test.ts | 26 +- .../contexts/src/shared/serializers.test.ts | 11 +- addons/contexts/src/shared/serializers.ts | 24 +- addons/contexts/src/shared/types.d.ts | 4 +- addons/cssresources/README.md | 2 +- addons/cssresources/package.json | 18 +- addons/design-assets/README.md | 55 + addons/design-assets/package.json | 48 + addons/design-assets/register.js | 1 + addons/design-assets/src/constants.ts | 3 + addons/design-assets/src/panel.tsx | 79 + addons/design-assets/src/register.tsx | 18 + addons/design-assets/tsconfig.json | 13 + addons/docs/README.md | 88 + .../mdx-compiler-plugin.test.js.snap | 612 + addons/docs/blocks.js | 1 + addons/docs/common/index.js | 2 + addons/docs/common/preset.js | 82 + addons/docs/fixtures/decorators.mdx | 13 + addons/docs/fixtures/non-story-exports.mdx | 16 + addons/docs/fixtures/parameters.mdx | 12 + addons/docs/fixtures/previews.mdx | 19 + addons/docs/fixtures/story-current.mdx | 5 + addons/docs/fixtures/story-def-text-only.mdx | 7 + addons/docs/fixtures/story-definitions.mdx | 14 + addons/docs/fixtures/story-missing-props.mdx | 10 + addons/docs/fixtures/story-object.mdx | 19 + addons/docs/fixtures/story-references.mdx | 5 + addons/docs/fixtures/vanilla.mdx | 7 + addons/docs/mdx-compiler-plugin.js | 222 + addons/docs/mdx-compiler-plugin.test.js | 75 + addons/docs/package.json | 52 + addons/docs/react/index.js | 1 + addons/docs/react/preset.js | 1 + addons/docs/register.js | 1 + addons/docs/src/blocks/Description.tsx | 68 + addons/docs/src/blocks/DocsContainer.tsx | 52 + addons/docs/src/blocks/DocsContext.ts | 23 + addons/docs/src/blocks/DocsPage.tsx | 140 + addons/docs/src/blocks/Meta.tsx | 16 + addons/docs/src/blocks/Preview.tsx | 48 + addons/docs/src/blocks/Props.tsx | 57 + addons/docs/src/blocks/Source.tsx | 97 + addons/docs/src/blocks/Story.tsx | 69 + addons/docs/src/blocks/Wrapper.tsx | 9 + addons/docs/src/blocks/index.ts | 12 + addons/docs/src/blocks/shared.ts | 2 + addons/docs/src/lib/getPropDefs.ts | 88 + addons/docs/src/public_api.ts | 0 addons/docs/src/register.ts | 12 + addons/docs/src/shared.ts | 3 + addons/docs/src/typings.d.ts | 1 + addons/docs/tsconfig.json | 9 + addons/docs/vue/index.js | 1 + addons/docs/vue/preset.js | 1 + addons/events/README.md | 4 +- addons/events/package.json | 19 +- addons/events/src/components/Event.js | 9 +- addons/google-analytics/README.md | 2 +- addons/google-analytics/package.json | 14 +- addons/graphql/README.md | 4 +- addons/graphql/package.json | 16 +- .../FullScreen/{index.js => index.tsx} | 8 +- .../FullScreen/{style.js => style.ts} | 4 +- addons/graphql/src/{index.js => index.ts} | 0 .../graphql/src/{manager.js => manager.tsx} | 29 +- addons/graphql/src/preview.js | 37 - addons/graphql/src/preview.tsx | 31 + .../graphql/src/{register.js => register.ts} | 4 +- addons/graphql/src/shared.ts | 22 + addons/graphql/src/typings.d.ts | 7 + addons/graphql/tsconfig.json | 13 + addons/info/README.md | 12 +- addons/info/package.json | 25 +- .../info/src/__snapshots__/index.test.js.snap | 15590 ++++++++------ addons/info/src/components/Node.js | 179 - addons/info/src/components/Story.js | 105 +- addons/info/src/components/markdown/code.js | 11 +- addons/info/src/components/markdown/text.js | 20 +- addons/info/src/index.test.js | 4 +- addons/jest/README.md | 10 +- addons/jest/package.json | 22 +- addons/jest/src/components/Indicator.ts | 2 +- addons/jest/src/components/Message.tsx | 4 +- addons/jest/src/components/Panel.tsx | 48 +- addons/jest/src/hoc/provideJestResult.tsx | 12 +- addons/jest/src/shared.ts | 2 +- addons/jest/src/styles.js | 573 + addons/knobs/README.md | 2 +- addons/knobs/package.json | 22 +- addons/knobs/src/components/Panel.js | 16 +- addons/knobs/src/components/PropForm.js | 4 +- addons/knobs/src/registerKnobs.js | 2 +- addons/knobs/src/shared.js | 2 +- addons/links/README.md | 4 +- addons/links/package.json | 16 +- addons/links/src/preview.ts | 14 +- addons/links/src/react/components/link.tsx | 2 +- addons/notes/README.md | 40 +- addons/notes/package.json | 25 +- addons/notes/src/Panel.tsx | 105 +- addons/notes/src/formatter.ts | 26 + addons/notes/src/shared.ts | 10 +- addons/ondevice-actions/README.md | 6 +- addons/ondevice-actions/package.json | 14 +- addons/ondevice-backgrounds/package.json | 10 +- addons/ondevice-knobs/README.md | 6 +- addons/ondevice-knobs/package.json | 12 +- addons/ondevice-notes/package.json | 8 +- addons/options/README.md | 9 +- addons/options/package.json | 12 +- addons/options/src/constants.ts | 2 +- addons/options/src/index.ts | 2 +- addons/queryparams/README.md | 32 + addons/queryparams/package.json | 44 + addons/queryparams/src/constants.ts | 3 + addons/queryparams/src/index.ts | 30 + addons/queryparams/src/typings.d.ts | 2 + addons/queryparams/tsconfig.json | 13 + addons/storyshots/storyshots-core/README.md | 14 +- .../storyshots/storyshots-core/package.json | 16 +- .../src/frameworks/angular/helpers.ts | 71 +- .../src/frameworks/angular/loader.js | 5 +- .../src/frameworks/angular/types.ts | 1 - .../src/frameworks/hasDependency.js | 6 +- .../src/frameworks/svelte/renderTree.js | 6 +- .../required_with_context/Button.stories.js | 3 + .../required_with_context/Welcome.stories.js | 6 +- .../storyshots/storyshots-puppeteer/README.md | 4 +- .../storyshots-puppeteer/package.json | 23 +- addons/storysource/README.md | 2 +- addons/storysource/package.json | 18 +- addons/storysource/src/StoryPanel.js | 3 +- addons/viewport/README.md | 4 +- addons/viewport/package.json | 24 +- addons/viewport/src/{Tool.js => Tool.tsx} | 178 +- addons/viewport/src/constants.js | 9 - addons/viewport/src/constants.ts | 7 + .../viewport/src/{defaults.js => defaults.ts} | 4 +- .../src/legacy_preview/{index.js => index.ts} | 1 - .../{withViewport.js => withViewport.ts} | 4 +- addons/viewport/src/models/Viewport.ts | 19 + .../src/models/ViewportAddonParameter.ts | 12 + addons/viewport/src/models/index.ts | 2 + .../src/{register.js => register.tsx} | 4 +- addons/viewport/tsconfig.json | 13 + app/angular/README.md | 2 +- app/angular/index.d.ts | 1 - app/angular/package.json | 28 +- app/angular/src/client/index.js | 1 + .../src/client/preview/angular-polyfills.js | 4 +- .../src/client/preview/angular/helpers.ts | 88 +- .../src/client/preview/angular/types.ts | 1 - app/angular/src/client/preview/index.d.ts | 1 + app/angular/src/client/preview/index.js | 7 +- app/angular/src/typings.d.ts | 2 + app/ember/README.md | 2 +- app/ember/package.json | 15 +- app/ember/src/client/index.js | 1 + app/ember/src/client/preview/index.js | 7 +- app/html/README.md | 2 +- app/html/package.json | 15 +- app/html/src/client/index.js | 1 + app/html/src/client/preview/index.js | 7 +- app/html/src/client/preview/render.js | 4 +- app/marko/README.md | 2 +- app/marko/package.json | 17 +- app/marko/src/client/index.js | 1 + app/marko/src/client/preview/index.js | 7 +- app/mithril/README.md | 2 +- app/mithril/package.json | 15 +- app/mithril/src/client/index.js | 1 + app/mithril/src/client/preview/index.js | 7 +- app/polymer/README.md | 2 +- app/polymer/package.json | 17 +- app/polymer/src/client/index.js | 1 + app/polymer/src/client/preview/index.js | 7 +- app/preact/README.md | 2 +- app/preact/package.json | 15 +- app/preact/src/client/index.js | 1 + app/preact/src/client/preview/index.js | 7 +- app/rax/.npmignore | 2 + app/rax/README.md | 29 + app/rax/bin/build.js | 4 + app/rax/bin/index.js | 3 + app/rax/package.json | 47 + app/rax/src/client/index.js | 10 + app/rax/src/client/preview/globals.js | 5 + app/rax/src/client/preview/index.js | 19 + app/rax/src/client/preview/render.js | 31 + app/rax/src/server/build.js | 4 + app/rax/src/server/framework-preset-rax.js | 12 + app/rax/src/server/index.js | 4 + app/rax/src/server/options.js | 6 + app/rax/standalone.js | 8 + app/react-native-server/package.json | 28 +- .../src/client/manager/provider.js | 5 +- app/react-native/docs/addons.md | 4 +- app/react-native/package.json | 24 +- app/react-native/src/index.ts | 5 +- .../components/StoryListView/index.tsx | 1 + app/react/README.md | 2 +- app/react/package.json | 26 +- app/react/src/client/index.js | 1 + app/react/src/client/preview/index.js | 7 +- app/react/src/client/preview/render.js | 5 +- app/react/src/server/framework-preset-cra.js | 1 - app/riot/README.md | 2 +- app/riot/package.json | 17 +- app/riot/src/client/index.js | 1 + app/riot/src/client/preview/index.js | 7 +- .../src/client/preview/render-riot.test.js | 2 +- .../client/preview/rendering/stringified.js | 18 +- app/svelte/README.md | 2 +- app/svelte/package.json | 21 +- app/svelte/src/client/index.js | 1 + app/svelte/src/client/preview/index.js | 7 +- app/svelte/src/client/preview/render.js | 31 +- app/vue/README.md | 2 +- app/vue/package.json | 15 +- app/vue/src/client/index.js | 1 + app/vue/src/client/preview/index.js | 7 +- dev-kits/addon-parameter/README.md | 13 + dev-kits/addon-parameter/package.json | 44 + dev-kits/addon-parameter/register.js | 1 + dev-kits/addon-parameter/src/constants.ts | 3 + dev-kits/addon-parameter/src/register.tsx | 36 + dev-kits/addon-parameter/tsconfig.json | 13 + dev-kits/addon-roundtrip/README.md | 10 + dev-kits/addon-roundtrip/package.json | 44 + dev-kits/addon-roundtrip/register.js | 1 + dev-kits/addon-roundtrip/src/constants.ts | 8 + dev-kits/addon-roundtrip/src/index.ts | 14 + dev-kits/addon-roundtrip/src/panel.tsx | 47 + dev-kits/addon-roundtrip/src/register.tsx | 19 + dev-kits/addon-roundtrip/tsconfig.json | 13 + docs/.babelrc | 1 - docs/README.md | 4 +- docs/gatsby-config.js | 10 +- docs/package.json | 17 +- docs/src/components/Docs/Container/index.js | 2 +- docs/src/components/Docs/Content/index.js | 32 +- docs/src/components/Docs/Content/style.css | 12 +- docs/src/components/Docs/Nav/style.css | 3 +- docs/src/components/Footer/index.js | 2 +- docs/src/components/Grid/Examples/index.js | 2 +- docs/src/components/Highlight.js | 35 - .../components/Homepage/Platforms/index.js | 4 +- docs/src/layouts/index.js | 2 +- docs/src/new-components/basics/shared/site.js | 3 +- .../basics/tooltip/Tooltip.stories.js | 3 + .../basics/tooltip/TooltipLinkList.stories.js | 3 + .../basics/tooltip/TooltipMessage.stories.js | 3 + .../basics/tooltip/TooltipNote.stories.js | 3 + .../basics/tooltip/WithTooltip.stories.js | 3 + docs/src/new-components/layout/PageLayout.js | 1 + docs/src/pages/addons/addon-gallery/index.md | 42 +- docs/src/pages/addons/api/index.md | 262 +- docs/src/pages/addons/introduction/index.md | 2 +- docs/src/pages/addons/using-addons/index.md | 22 +- docs/src/pages/addons/writing-addons/index.md | 149 +- docs/src/pages/basics/community/index.md | 10 +- .../pages/basics/exporting-storybook/index.md | 2 +- docs/src/pages/basics/faq/index.md | 9 +- docs/src/pages/basics/introduction/index.md | 2 + docs/src/pages/basics/live-examples/index.md | 2 +- .../src/pages/basics/writing-stories/index.md | 18 +- .../pages/configurations/cli-options/index.md | 1 + .../custom-webpack-config/index.md | 12 +- .../configurations/default-config/index.md | 10 +- .../configurations/options-parameter/index.md | 7 +- .../src/pages/configurations/theming/index.md | 6 +- .../configurations/typescript-config/index.md | 6 +- docs/src/pages/guides/guide-ember/index.md | 2 +- docs/src/pages/guides/guide-rax/index.md | 120 + .../pages/guides/guide-react-native/index.md | 132 +- docs/src/pages/guides/guide-react/index.md | 2 +- docs/src/pages/guides/guide-svelte/index.md | 12 +- .../pages/guides/quick-start-guide/index.md | 2 +- docs/src/pages/presets/introduction/index.md | 55 + .../src/pages/presets/preset-gallery/index.md | 22 + .../pages/presets/writing-presets/index.md | 133 + .../testing/automated-visual-testing/index.md | 2 +- .../pages/testing/react-ui-testing/index.md | 3 +- .../pages/testing/structural-testing/index.md | 6 +- docs/src/templates/_docstemplate.jsx | 1 + docs/src/versions/latest.json | 2 +- docs/src/versions/next.json | 2 +- docs/yarn.lock | 1452 +- examples-native/crna-kitchen-sink/app.json | 2 +- .../crna-kitchen-sink/package.json | 28 +- .../storybook/stories/index.js | 8 +- examples/angular-cli/.storybook/addons.ts | 1 + examples/angular-cli/.storybook/config.ts | 4 +- examples/angular-cli/package.json | 33 +- examples/angular-cli/src/polyfills.ts | 4 +- .../addon-centered.stories.storyshot | 4 +- .../__snapshots__/core.stories.storyshot | 2 +- .../module-context/module-context.stories.ts | 11 +- .../cra-kitchen-sink/.storybook/config.js | 4 +- examples/cra-kitchen-sink/jest.config.js | 1 + examples/cra-kitchen-sink/package.json | 40 +- .../src/stories/App.stories.js | 12 +- .../__snapshots__/index.stories.storyshot | 2 +- .../src/stories/index.stories.js | 21 +- .../cra-kitchen-sink/src/stories/welcome.js | 6 +- .../cra-kitchen-sink/src/storyshots.test.js | 16 - examples/cra-react15/.storybook/addons.js | 2 + examples/cra-react15/.storybook/config.js | 14 + examples/cra-react15/README.md | 1 + examples/cra-react15/package.json | 29 + examples/cra-react15/public/favicon.ico | Bin 0 -> 3870 bytes examples/cra-react15/public/index.html | 40 + examples/cra-react15/public/manifest.json | 15 + examples/cra-react15/src/App.css | 32 + examples/cra-react15/src/App.js | 22 + examples/cra-react15/src/App.test.js | 10 + examples/cra-react15/src/index.css | 5 + examples/cra-react15/src/index.js | 7 + examples/cra-react15/src/logo.svg | 7 + examples/cra-react15/src/stories/index.js | 26 + .../cra-ts-kitchen-sink/.storybook/addons.js | 1 + .../cra-ts-kitchen-sink/.storybook/config.js | 4 +- examples/cra-ts-kitchen-sink/package.json | 26 +- .../src/types/@storybook/react.d.ts | 8 + examples/cra-ts-kitchen-sink/tsconfig.json | 2 + examples/dev-kits/README.md | 14 + examples/dev-kits/addons.js | 2 + examples/dev-kits/config.js | 12 + examples/dev-kits/package.json | 38 + examples/dev-kits/stories/addon-roundtrip.js | 12 + examples/ember-cli/.storybook/config.js | 4 +- examples/ember-cli/package.json | 29 +- .../stories/addon-centered.stories.js | 3 + .../ember-cli/stories/addon-knobs.stories.js | 2 +- .../html-kitchen-sink/.storybook/config.js | 13 +- examples/html-kitchen-sink/package.json | 37 +- .../addon-centered.stories.storyshot | 2 +- .../addon-knobs.stories.storyshot | 8 + .../stories/addon-knobs.stories.js | 11 +- examples/marko-cli/.storybook/addons.js | 1 + examples/marko-cli/.storybook/config.js | 4 +- examples/marko-cli/package.json | 20 +- .../src/stories/addon-actions.stories.js | 8 +- .../src/stories/addon-knobs.stories.js | 3 + .../marko-cli/src/stories/index.stories.js | 21 +- .../mithril-kitchen-sink/.storybook/addons.js | 1 + .../mithril-kitchen-sink/.storybook/config.js | 4 +- examples/mithril-kitchen-sink/package.json | 30 +- .../src/stories/addon-centered.stories.js | 3 + .../src/stories/index.stories.js | 13 +- examples/official-storybook/README.md | 6 + examples/official-storybook/addons.js | 2 + .../built-storybooks/cra-react15 | 1 + .../built-storybooks/ember-cli | 2 +- .../built-storybooks/preact-kitchen-sink | 2 +- examples/official-storybook/config.js | 82 +- examples/official-storybook/package.json | 72 +- examples/official-storybook/presets.js | 1 + .../addon-a11y.stories.storyshot | 396 - .../addon-actions.stories.storyshot | 2902 --- .../addon-backgrounds.stories.storyshot | 41 - .../addon-centered.stories.storyshot | 17 - .../addon-contexts.stories.storyshot | 17 - .../addon-cssresources.stories.storyshot | 18 - .../addon-events.stories.storyshot | 43 - .../addon-graphql.stories.storyshot | 7 - .../addon-info.stories.storyshot | 10121 --------- .../addon-jest.stories.storyshot | 7 - .../addon-knobs.stories.storyshot | 183 - .../addon-links.stories.storyshot | 112 - .../addon-notes.stories.storyshot | 41 - .../addon-options.stories.storyshot | 13 - .../addon-storyshots.stories.storyshot | 14 - .../addon-viewport.stories.storyshot | 41 - .../app-acceptance.stories.storyshot | 81 - .../other-demo.stories.storyshot | 114 - .../other-dirname.stories.storyshot | 17 - .../stories/addon-a11y.stories.js | 9 + .../stories/addon-contexts.stories.js | 1 - .../stories/addon-design-assets.stories.js | 48 + .../stories/addon-docs.stories.js | 43 + .../stories/addon-docs.stories.mdx | 88 + .../stories/addon-info.stories.js | 29 +- .../stories/addon-knobs.stories.js | 3 + .../stories/addon-notes.stories.js | 25 + .../stories/addon-queryparams.stories.js | 22 + .../stories/app-acceptance.stories.js | 1 + .../stories/core/errors.stories.js | 44 +- .../stories/core/events.stories.js | 2 +- .../stories/core/parameters.stories.js | 6 +- .../stories/core/scroll.stories.js | 4 +- .../stories/notes/notes.mdx | 3 + .../stories/other-demo.stories.js | 11 +- .../__snapshots__/storyshots.test.js.snap | 17663 ---------------- .../tests/storyshots.test.js | 20 - examples/official-storybook/webpack.config.js | 2 +- examples/polymer-cli/.storybook/addons.js | 1 + examples/polymer-cli/.storybook/config.js | 4 +- examples/polymer-cli/package.json | 26 +- .../preact-kitchen-sink/.storybook/addons.js | 1 + .../preact-kitchen-sink/.storybook/config.js | 4 +- examples/preact-kitchen-sink/package.json | 36 +- .../addon-centered.stories.storyshot | 9 +- .../src/stories/addon-centered.stories.js | 3 + .../src/stories/index.stories.js | 9 +- examples/rax-kitchen-sink/.babelrc.js | 6 + examples/rax-kitchen-sink/.env | 2 + examples/rax-kitchen-sink/.eslintrc.js | 7 + examples/rax-kitchen-sink/.gitignore | 21 + .../rax-kitchen-sink/.storybook/addons.js | 10 + .../rax-kitchen-sink/.storybook/config.js | 27 + .../.storybook/webpack.config.js | 18 + examples/rax-kitchen-sink/README.md | 24 + .../rax-kitchen-sink/jest-addon.config.js | 12 + examples/rax-kitchen-sink/jest.config.js | 13 + examples/rax-kitchen-sink/package.json | 50 + examples/rax-kitchen-sink/public/index.html | 27 + examples/rax-kitchen-sink/public/rax-logo.png | Bin 0 -> 55885 bytes .../src/components/App/App.test.js | 9 + .../App/__snapshots__/App.test.js.snap | 66 + .../src/components/App/index.js | 17 + .../src/components/App/index.stylesheet | 27 + .../rax-kitchen-sink/src/components/Logger.js | 107 + .../src/components/Welcome/Welcome.test.js | 9 + .../__snapshots__/Welcome.test.js.snap | 270 + .../src/components/Welcome/index.js | 70 + examples/rax-kitchen-sink/src/index.js | 4 + .../src/stories/addon-a11y.stories.js | 31 + .../src/stories/addon-actions.stories.js | 16 + .../src/stories/addon-centered.stories.js | 15 + .../src/stories/addon-events.stories.js | 35 + .../src/stories/addon-jest.stories.js | 12 + .../src/stories/addon-knobs.stories.js | 48 + .../src/stories/addon-links.stories.js | 20 + .../src/stories/addon-notes.stories.js | 17 + .../src/stories/index.stories.js | 9 + examples/rax-kitchen-sink/src/stories/note.md | 11 + .../riot-kitchen-sink/.storybook/addons.js | 1 + .../riot-kitchen-sink/.storybook/config.js | 4 +- examples/riot-kitchen-sink/package.json | 34 +- .../__snapshots__/core.stories.storyshot | 2 +- .../src/stories/story-code.stories.js | 2 +- .../svelte-kitchen-sink/.storybook/addons.js | 1 + .../svelte-kitchen-sink/.storybook/config.js | 4 +- examples/svelte-kitchen-sink/jest.config.js | 2 +- examples/svelte-kitchen-sink/package.json | 28 +- .../src/components/Button.svelte | 42 +- .../src/components/Button.test.js | 16 +- .../addon-actions.stories.storyshot | 32 +- .../addon-backgrounds.stories.storyshot | 24 +- .../addon-centered.stories.storyshot | 16 +- .../addon-links.stories.storyshot | 3 +- .../addon-notes.stories.storyshot | 48 +- .../src/stories/__snapshots__/index.storyshot | 48 +- .../src/stories/addon-actions.stories.js | 4 +- .../src/stories/addon-centered.stories.js | 5 +- .../src/stories/addon-knobs.stories.js | 2 +- .../src/stories/addon-notes.stories.js | 2 +- .../svelte-kitchen-sink/src/stories/index.js | 4 +- .../src/stories/views/ActionKnobView.svelte | 12 +- .../src/stories/views/ActionLinkView.svelte | 16 +- .../src/stories/views/ButtonView.svelte | 35 +- .../vue-kitchen-sink/.storybook/addons.js | 2 + .../vue-kitchen-sink/.storybook/config.js | 6 +- examples/vue-kitchen-sink/package.json | 35 +- .../addon-centered.stories.storyshot | 2 +- .../__snapshots__/core.stories.storyshot | 2 +- .../src/stories/addon-centered.stories.js | 3 + .../vue-kitchen-sink/src/stories/index.js | 20 +- jest.config.js | 26 +- lerna.json | 2 +- lib/addons/package.json | 16 +- lib/addons/src/index.ts | 13 + lib/api/package.json | 32 +- lib/api/src/index.tsx | 121 +- lib/api/src/lib/merge.ts | 4 +- lib/api/src/modules/addons.ts | 32 +- lib/api/src/modules/layout.ts | 10 +- lib/api/src/modules/stories.ts | 25 +- lib/api/src/modules/url.ts | 19 +- lib/api/src/store.ts | 2 +- lib/api/src/tests/layout.test.js | 2 +- lib/api/src/tests/stories.test.js | 2 +- lib/api/src/tests/url.test.js | 24 +- lib/api/src/typings.d.ts | 3 + lib/api/src/version.ts | 2 +- lib/channel-postmessage/package.json | 16 +- lib/channel-postmessage/src/index.ts | 13 +- lib/channel-websocket/README.md | 2 +- lib/channel-websocket/package.json | 12 +- lib/channels/package.json | 10 +- lib/cli/.babelrc | 7 +- lib/cli/README.md | 4 +- lib/cli/bin/generate.js | 16 + lib/cli/generators/ANGULAR/angular-helpers.js | 37 + lib/cli/generators/ANGULAR/index.js | 15 +- .../ANGULAR/template/.storybook/tsconfig.json | 21 +- lib/cli/generators/EMBER/index.js | 4 +- lib/cli/generators/HTML/index.js | 4 +- lib/cli/generators/MARKO/index.js | 4 +- lib/cli/generators/METEOR/index.js | 6 +- lib/cli/generators/MITHRIL/index.js | 4 +- lib/cli/generators/POLYMER/index.js | 4 +- lib/cli/generators/PREACT/index.js | 4 +- lib/cli/generators/RAX/index.js | 61 + .../RAX/template/.storybook/addons.js | 2 + .../RAX/template/.storybook/config.js | 27 + .../RAX/template/stories/Welcome.js | 119 + .../RAX/template/stories/index.stories.js | 24 + lib/cli/generators/REACT/index.js | 4 +- lib/cli/generators/REACT_NATIVE/index.js | 6 +- .../REACT_NATIVE/template/storybook/index.js | 3 +- lib/cli/generators/REACT_SCRIPTS/index.js | 9 +- lib/cli/generators/RIOT/index.js | 4 +- .../RIOT/template/stories/Welcome.tag | 2 +- lib/cli/generators/SFC_VUE/index.js | 4 +- .../SFC_VUE/template/src/stories/Welcome.vue | 2 +- .../template/src/stories/index.stories.js | 4 +- lib/cli/generators/SVELTE/index.js | 4 +- .../SVELTE/template/stories/button.svelte | 16 +- .../SVELTE/template/stories/index.stories.js | 4 +- lib/cli/generators/VUE/index.js | 6 +- .../VUE/template/stories/Welcome.js | 2 +- .../VUE/template/stories/index.stories.js | 4 +- lib/cli/generators/WEBPACK_REACT/index.js | 4 +- lib/cli/lib/detect.js | 7 + lib/cli/lib/helpers.js | 39 +- lib/cli/lib/initiate.js | 8 +- lib/cli/lib/project_types.js | 2 + lib/cli/package.json | 74 +- .../test/fixtures/angular-cli-v6/package.json | 2 +- .../fixtures/angular-cli-v6/src/polyfills.ts | 5 +- .../test/fixtures/angular-cli-v7/package.json | 2 +- .../fixtures/angular-cli-v7/src/polyfills.ts | 4 +- .../react_babel_config_js/babel.config.js | 4 + .../react_babel_config_js/package.json | 2 + lib/cli/test/fixtures/react_scripts/README.md | 6 +- lib/cli/test/fixtures/riot/package.json | 4 +- lib/cli/test/fixtures/sfc_vue/package.json | 6 +- .../test/fixtures/webpack_react/package.json | 2 +- .../webpack_react_frozen_lock/package.json | 2 +- lib/cli/test/run_tests.sh | 21 +- lib/cli/test/test_latest_cra.sh | 2 +- lib/client-api/package.json | 24 +- lib/client-api/src/client_api.js | 15 +- lib/client-api/src/client_api.test.js | 59 + lib/client-api/src/config_api.js | 49 +- lib/client-api/src/story_store.js | 45 +- lib/client-api/src/story_store.test.js | 59 - lib/client-logger/package.json | 10 +- lib/codemod/README.md | 122 +- lib/codemod/package.json | 11 +- .../add-component-parameters.input.js | 44 + .../add-component-parameters.output.js | 64 + .../convert-to-module-format/basic.input.js | 16 + .../convert-to-module-format/basic.output.js | 28 + .../decorators.input.js | 9 + .../decorators.output.js | 14 + .../convert-to-module-format/module.input.js | 12 + .../convert-to-module-format/module.output.js | 12 + .../convert-to-module-format/multi.input.js | 14 + .../convert-to-module-format/multi.output.js | 17 + .../parameters.input.js | 10 + .../parameters.output.js | 19 + .../story-parameters.input.js | 14 + .../story-parameters.output.js | 26 + .../update-addon-info.input.js | 4 +- .../update-addon-info.output.js | 4 +- .../add-component-parameters.test.js | 8 + .../convert-to-module-format.test.js | 7 + .../transforms/add-component-parameters.js | 62 + .../transforms/convert-to-module-format.js | 205 + lib/components/package.json | 30 +- lib/components/src/ActionBar/ActionBar.tsx | 1 + lib/components/src/Button/Button.tsx | 2 +- .../src/ScrollArea/ScrollArea.stories.tsx | 17 +- lib/components/src/ScrollArea/ScrollArea.tsx | 2 + .../src/ScrollArea/ScrollAreaStyles.tsx | 48 +- lib/components/src/StoryLinkWrapper.ts | 34 - .../src/addon-panel/addon-panel.tsx | 33 + lib/components/src/bar/bar.tsx | 4 +- lib/components/src/bar/button.ts | 4 +- lib/components/src/bar/separator.tsx | 2 +- .../src/blocks/BlockBackgroundStyles.tsx | 9 + .../src/blocks/ColorPalette.stories.tsx | 32 + lib/components/src/blocks/ColorPalette.tsx | 164 + .../src/blocks/Description.stories.tsx | 17 + lib/components/src/blocks/Description.tsx | 14 + .../src/blocks/DocsPage.stories.tsx | 67 + lib/components/src/blocks/DocsPage.tsx | 84 + .../src/blocks/DocsPageExampleCaption.md | 93 + .../src/blocks/DocsPageExampleCaption.mdx | 93 + .../src/blocks/EmptyBlock.stories.tsx | 12 + lib/components/src/blocks/EmptyBlock.tsx | 21 + lib/components/src/blocks/IFrame.tsx | 63 + .../src/blocks/IconGallery.stories.tsx | 34 + lib/components/src/blocks/IconGallery.tsx | 63 + lib/components/src/blocks/Preview.stories.tsx | 82 + lib/components/src/blocks/Preview.tsx | 96 + .../src/blocks/PropsTable/PropDef.ts | 7 + .../src/blocks/PropsTable/PropRow.stories.tsx | 114 + .../src/blocks/PropsTable/PropRow.tsx | 102 + .../blocks/PropsTable/PropsTable.stories.tsx | 16 + .../src/blocks/PropsTable/PropsTable.tsx | 166 + lib/components/src/blocks/Source.stories.tsx | 40 + lib/components/src/blocks/Source.tsx | 67 + lib/components/src/blocks/Story.stories.tsx | 16 + lib/components/src/blocks/Story.tsx | 80 + lib/components/src/blocks/Typeset.stories.tsx | 19 + lib/components/src/blocks/Typeset.tsx | 67 + lib/components/src/blocks/index.ts | 10 + lib/components/src/icon/svg.tsx | 2 +- lib/components/src/index.ts | 4 + .../src/placeholder/placeholder.stories.tsx | 5 +- lib/components/src/spaced/Spaced.tsx | 2 +- .../syntaxhighlighter.stories.storyshot | 4005 ++-- .../src/syntaxhighlighter/formatter.test.js | 90 + .../src/syntaxhighlighter/formatter.ts | 26 + .../syntaxhighlighter.stories.tsx | 52 +- .../syntaxhighlighter/syntaxhighlighter.tsx | 36 +- .../tabs/__snapshots__/tabs.stories.storyshot | 538 +- lib/components/src/tabs/tabs.tsx | 15 +- lib/components/src/tooltip/ListItem.tsx | 10 +- lib/components/src/tooltip/Tooltip.tsx | 27 +- .../src/tooltip/TooltipLinkList.stories.tsx | 30 +- lib/components/src/tooltip/WithTooltip.tsx | 2 +- .../src/typography/DocumentFormatting.tsx | 2 +- lib/components/src/typography/link/link.tsx | 6 +- lib/core-events/package.json | 10 +- lib/core/package.json | 61 +- lib/core/src/client/preview/start.js | 208 +- lib/core/src/client/preview/start.test.js | 75 +- lib/core/src/client/preview/url.js | 43 + lib/core/src/client/preview/url.test.js | 79 + lib/core/src/server/build-dev.js | 1 + lib/core/src/server/build-static.js | 2 + lib/core/src/server/cli/dev.js | 4 +- lib/core/src/server/cli/prod.js | 3 + lib/core/src/server/common/babel.js | 2 +- lib/core/src/server/common/polyfills.js | 2 +- .../server/manager/manager-webpack.config.js | 19 +- .../server/preview/iframe-webpack.config.js | 16 +- lib/core/src/server/preview/preview-preset.js | 4 +- .../server/templates/base-preview-body.html | 2 +- .../server/templates/base-preview-head.html | 17 +- .../server/utils/load-custom-babel-config.js | 34 +- lib/node-logger/package.json | 10 +- lib/node-logger/src/index.ts | 3 + lib/router/package.json | 11 +- lib/router/src/visibility.ts | 9 - lib/router/src/visibility.tsx | 10 + lib/router/utils.d.ts | 33 + lib/source-loader/package.json | 38 + .../inject-decorator.test.js.snap | 858 + .../abstract-syntax-tree/default-options.js | 12 + .../abstract-syntax-tree/generate-helpers.js | 172 + .../abstract-syntax-tree/inject-decorator.js | 84 + .../inject-decorator.test.js | 217 + .../src/abstract-syntax-tree/parse-helpers.js | 159 + .../src/abstract-syntax-tree/parsers/index.js | 20 + .../parsers/parser-flow.js | 13 + .../abstract-syntax-tree/parsers/parser-js.js | 21 + .../abstract-syntax-tree/parsers/parser-ts.js | 21 + .../abstract-syntax-tree/traverse-helpers.js | 208 + lib/source-loader/src/build.js | 30 + .../getRidOfUselessFilePrefixes.js | 46 + .../src/dependencies-lookup/readAsObject.js | 119 + lib/source-loader/src/events.js | 2 + lib/source-loader/src/index.js | 6 + lib/source-loader/src/preview.js | 92 + lib/theming/create.js | 1 + lib/theming/package.json | 18 +- lib/theming/paths.js | 9 +- lib/theming/src/base.ts | 86 - lib/theming/src/convert.ts | 179 + lib/theming/src/create.ts | 181 +- lib/theming/src/ensure.ts | 4 +- lib/theming/src/global.ts | 2 +- lib/theming/src/index.ts | 16 +- lib/theming/src/modules/syntax.ts | 94 + lib/theming/src/tests/convert.test.js | 58 + lib/theming/src/tests/create.test.js | 56 +- lib/theming/src/tests/util.test.js | 77 + lib/theming/src/themes/dark.ts | 3 +- lib/theming/src/themes/light.ts | 3 +- lib/theming/src/types.ts | 87 + lib/theming/src/utils.ts | 58 + lib/ui/README.md | 2 +- lib/ui/package.json | 52 +- lib/ui/paths.js | 26 +- lib/ui/scripts/createDlls.js | 2 - lib/ui/scripts/webpackDllsConfig.js | 8 +- lib/ui/src/app.js | 41 +- .../__snapshots__/layout.stories.storyshot | 12 +- lib/ui/src/components/layout/container.js | 34 +- lib/ui/src/components/layout/desktop.js | 2 +- .../src/components/layout/layout.stories.js | 6 + lib/ui/src/components/layout/mobile.js | 3 +- lib/ui/src/components/layout/persist.js | 2 +- lib/ui/src/components/notifications/item.js | 7 +- .../__snapshots__/panel.stories.storyshot | 95 +- lib/ui/src/components/panel/panel.js | 1 - lib/ui/src/components/panel/panel.stories.js | 3 + .../__snapshots__/preview.stories.storyshot | 469 +- lib/ui/src/components/preview/background.js | 2 +- lib/ui/src/components/preview/iframe.js | 19 +- lib/ui/src/components/preview/preview.js | 114 +- .../src/components/preview/preview.stories.js | 3 + lib/ui/src/components/sidebar/SidebarItem.js | 11 +- .../components/sidebar/SidebarItem.stories.js | 2 +- .../sidebar/SidebarSubheading.stories.js | 8 +- .../components/sidebar/treeview/treeview.js | 1 - lib/ui/src/containers/nav.js | 2 +- lib/ui/src/containers/preview.js | 31 +- lib/ui/src/index.js | 9 +- lib/ui/src/libs/merge.js | 4 +- lib/ui/src/settings/SettingsFooter.js | 2 +- .../__snapshots__/about.stories.storyshot | 1446 +- lib/ui/src/settings/about.js | 9 +- lib/ui/src/settings/about.stories.js | 6 + lib/ui/src/settings/shortcuts.stories.js | 2 +- netlify.toml | 4 +- now.json | 83 +- package.json | 95 +- scripts/bootstrap.js | 450 +- scripts/build-storybooks.sh | 2 +- scripts/jest.init.js | 2 + scripts/netlify-build.sh | 111 - scripts/reset.js | 60 + scripts/run-registry.js | 59 +- scripts/test.js | 6 - svelte-transform.js | 17 + yarn.lock | 13950 ++++++------ 835 files changed, 43564 insertions(+), 56041 deletions(-) create mode 100644 .github/FUNDING.yml delete mode 100644 .teamcity/OpenSourceProjects_Storybook/Project.kt delete mode 100644 .teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Build_2.kt delete mode 100644 .teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Chromatic.kt delete mode 100644 .teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_CliTestLatestCra.kt delete mode 100644 .teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Docs.kt delete mode 100644 .teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Examples.kt delete mode 100644 .teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Lint.kt delete mode 100644 .teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Lint_Warnings.kt delete mode 100644 .teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_SmokeTests.kt delete mode 100644 .teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Test.kt delete mode 100644 .teamcity/OpenSourceProjects_Storybook/buildTypes/StorybookApp.kt create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/1bda59b5-d08d-4fd8-b317-953e7d79d881.kts create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/1ea2b5bd-28f6-44f5-8ab3-6c659ce8fbd6.kts create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/2b9c73e2-0a6e-47ca-95ae-729cac42be2b.kts create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/42cfbb9a-f35b-4f96-afae-0b508927a737.kts create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/42cfbb9a-f35b-4f96-afae-0b508927a738.kts create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-angular.kts create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-chromatic.kts create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra.kts create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra_react15.kts create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra_ts.kts create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-ember.kts create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-html.kts create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-marko.kts create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-mithril.kts create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-polymer.kts create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-preact.kts create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-riot.kts create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-svelte.kts create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-vue.kts create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6.kts create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/9f9177e7-9ec9-4e2e-aabb-d304fd667712.kts create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/d4320bd8-6094-4dd6-9bed-e13d6f0d12e2.kts create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/projects/69382d9b-7791-418a-9ff6-1c83b86ed6b5.kts delete mode 100644 .teamcity/OpenSourceProjects_Storybook/settings.kts delete mode 100644 .teamcity/pom.xml create mode 100644 addons/centered/rax.js rename addons/centered/src/{angular.js => angular.ts} (86%) rename addons/centered/src/{ember.js => ember.ts} (82%) rename addons/centered/src/helpers/{json2CSS.js => json2CSS.ts} (75%) rename addons/centered/src/{html.js => html.ts} (82%) rename addons/centered/src/{index.js => index.ts} (100%) rename addons/centered/src/{mithril.js => mithril.tsx} (68%) rename addons/centered/src/{preact.js => preact.tsx} (56%) create mode 100644 addons/centered/src/rax.js rename addons/centered/src/{react.js => react.tsx} (64%) rename addons/centered/src/{styles.js => styles.ts} (76%) rename addons/centered/src/{svelte.js => svelte.ts} (74%) create mode 100644 addons/centered/src/typings.d.ts rename addons/centered/src/{vue.js => vue.ts} (100%) create mode 100644 addons/centered/tsconfig.json create mode 100644 addons/contexts/src/manager/components/ToolBar.test.tsx create mode 100644 addons/contexts/src/manager/components/ToolBarControl.test.tsx create mode 100644 addons/contexts/src/manager/components/ToolBarMenu.test.tsx create mode 100644 addons/contexts/src/manager/components/ToolBarMenuOptions.test.tsx create mode 100644 addons/design-assets/README.md create mode 100644 addons/design-assets/package.json create mode 100644 addons/design-assets/register.js create mode 100755 addons/design-assets/src/constants.ts create mode 100644 addons/design-assets/src/panel.tsx create mode 100644 addons/design-assets/src/register.tsx create mode 100644 addons/design-assets/tsconfig.json create mode 100644 addons/docs/README.md create mode 100644 addons/docs/__snapshots__/mdx-compiler-plugin.test.js.snap create mode 100644 addons/docs/blocks.js create mode 100644 addons/docs/common/index.js create mode 100644 addons/docs/common/preset.js create mode 100644 addons/docs/fixtures/decorators.mdx create mode 100644 addons/docs/fixtures/non-story-exports.mdx create mode 100644 addons/docs/fixtures/parameters.mdx create mode 100644 addons/docs/fixtures/previews.mdx create mode 100644 addons/docs/fixtures/story-current.mdx create mode 100644 addons/docs/fixtures/story-def-text-only.mdx create mode 100644 addons/docs/fixtures/story-definitions.mdx create mode 100644 addons/docs/fixtures/story-missing-props.mdx create mode 100644 addons/docs/fixtures/story-object.mdx create mode 100644 addons/docs/fixtures/story-references.mdx create mode 100644 addons/docs/fixtures/vanilla.mdx create mode 100644 addons/docs/mdx-compiler-plugin.js create mode 100644 addons/docs/mdx-compiler-plugin.test.js create mode 100644 addons/docs/package.json create mode 100644 addons/docs/react/index.js create mode 100644 addons/docs/react/preset.js create mode 100644 addons/docs/register.js create mode 100644 addons/docs/src/blocks/Description.tsx create mode 100644 addons/docs/src/blocks/DocsContainer.tsx create mode 100644 addons/docs/src/blocks/DocsContext.ts create mode 100644 addons/docs/src/blocks/DocsPage.tsx create mode 100644 addons/docs/src/blocks/Meta.tsx create mode 100644 addons/docs/src/blocks/Preview.tsx create mode 100644 addons/docs/src/blocks/Props.tsx create mode 100644 addons/docs/src/blocks/Source.tsx create mode 100644 addons/docs/src/blocks/Story.tsx create mode 100644 addons/docs/src/blocks/Wrapper.tsx create mode 100644 addons/docs/src/blocks/index.ts create mode 100644 addons/docs/src/blocks/shared.ts create mode 100644 addons/docs/src/lib/getPropDefs.ts create mode 100644 addons/docs/src/public_api.ts create mode 100644 addons/docs/src/register.ts create mode 100644 addons/docs/src/shared.ts create mode 100644 addons/docs/src/typings.d.ts create mode 100644 addons/docs/tsconfig.json create mode 100644 addons/docs/vue/index.js create mode 100644 addons/docs/vue/preset.js rename addons/graphql/src/components/FullScreen/{index.js => index.tsx} (55%) rename addons/graphql/src/components/FullScreen/{style.js => style.ts} (56%) rename addons/graphql/src/{index.js => index.ts} (100%) rename addons/graphql/src/{manager.js => manager.tsx} (55%) delete mode 100644 addons/graphql/src/preview.js create mode 100644 addons/graphql/src/preview.tsx rename addons/graphql/src/{register.js => register.ts} (91%) create mode 100644 addons/graphql/src/shared.ts create mode 100644 addons/graphql/src/typings.d.ts create mode 100644 addons/graphql/tsconfig.json delete mode 100644 addons/info/src/components/Node.js create mode 100644 addons/jest/src/styles.js create mode 100644 addons/notes/src/formatter.ts create mode 100644 addons/queryparams/README.md create mode 100644 addons/queryparams/package.json create mode 100755 addons/queryparams/src/constants.ts create mode 100644 addons/queryparams/src/index.ts create mode 100644 addons/queryparams/src/typings.d.ts create mode 100644 addons/queryparams/tsconfig.json rename addons/viewport/src/{Tool.js => Tool.tsx} (57%) delete mode 100644 addons/viewport/src/constants.js create mode 100644 addons/viewport/src/constants.ts rename addons/viewport/src/{defaults.js => defaults.ts} (95%) rename addons/viewport/src/legacy_preview/{index.js => index.ts} (81%) rename addons/viewport/src/legacy_preview/{withViewport.js => withViewport.ts} (64%) create mode 100644 addons/viewport/src/models/Viewport.ts create mode 100644 addons/viewport/src/models/ViewportAddonParameter.ts create mode 100644 addons/viewport/src/models/index.ts rename addons/viewport/src/{register.js => register.tsx} (78%) create mode 100644 addons/viewport/tsconfig.json create mode 100644 app/angular/src/typings.d.ts create mode 100644 app/rax/.npmignore create mode 100644 app/rax/README.md create mode 100755 app/rax/bin/build.js create mode 100755 app/rax/bin/index.js create mode 100644 app/rax/package.json create mode 100644 app/rax/src/client/index.js create mode 100644 app/rax/src/client/preview/globals.js create mode 100644 app/rax/src/client/preview/index.js create mode 100644 app/rax/src/client/preview/render.js create mode 100644 app/rax/src/server/build.js create mode 100644 app/rax/src/server/framework-preset-rax.js create mode 100644 app/rax/src/server/index.js create mode 100644 app/rax/src/server/options.js create mode 100644 app/rax/standalone.js create mode 100644 dev-kits/addon-parameter/README.md create mode 100644 dev-kits/addon-parameter/package.json create mode 100644 dev-kits/addon-parameter/register.js create mode 100755 dev-kits/addon-parameter/src/constants.ts create mode 100644 dev-kits/addon-parameter/src/register.tsx create mode 100644 dev-kits/addon-parameter/tsconfig.json create mode 100644 dev-kits/addon-roundtrip/README.md create mode 100644 dev-kits/addon-roundtrip/package.json create mode 100644 dev-kits/addon-roundtrip/register.js create mode 100755 dev-kits/addon-roundtrip/src/constants.ts create mode 100644 dev-kits/addon-roundtrip/src/index.ts create mode 100644 dev-kits/addon-roundtrip/src/panel.tsx create mode 100644 dev-kits/addon-roundtrip/src/register.tsx create mode 100644 dev-kits/addon-roundtrip/tsconfig.json delete mode 100644 docs/.babelrc delete mode 100644 docs/src/components/Highlight.js create mode 100644 docs/src/pages/guides/guide-rax/index.md create mode 100644 docs/src/pages/presets/introduction/index.md create mode 100644 docs/src/pages/presets/preset-gallery/index.md create mode 100644 docs/src/pages/presets/writing-presets/index.md delete mode 100644 examples/cra-kitchen-sink/src/storyshots.test.js create mode 100644 examples/cra-react15/.storybook/addons.js create mode 100644 examples/cra-react15/.storybook/config.js create mode 100644 examples/cra-react15/README.md create mode 100644 examples/cra-react15/package.json create mode 100644 examples/cra-react15/public/favicon.ico create mode 100644 examples/cra-react15/public/index.html create mode 100644 examples/cra-react15/public/manifest.json create mode 100644 examples/cra-react15/src/App.css create mode 100644 examples/cra-react15/src/App.js create mode 100644 examples/cra-react15/src/App.test.js create mode 100644 examples/cra-react15/src/index.css create mode 100644 examples/cra-react15/src/index.js create mode 100644 examples/cra-react15/src/logo.svg create mode 100644 examples/cra-react15/src/stories/index.js create mode 100644 examples/cra-ts-kitchen-sink/src/types/@storybook/react.d.ts create mode 100644 examples/dev-kits/README.md create mode 100644 examples/dev-kits/addons.js create mode 100644 examples/dev-kits/config.js create mode 100644 examples/dev-kits/package.json create mode 100644 examples/dev-kits/stories/addon-roundtrip.js create mode 120000 examples/official-storybook/built-storybooks/cra-react15 mode change 100644 => 120000 examples/official-storybook/built-storybooks/ember-cli create mode 100644 examples/official-storybook/presets.js delete mode 100644 examples/official-storybook/stories/__snapshots__/addon-a11y.stories.storyshot delete mode 100644 examples/official-storybook/stories/__snapshots__/addon-actions.stories.storyshot delete mode 100644 examples/official-storybook/stories/__snapshots__/addon-backgrounds.stories.storyshot delete mode 100644 examples/official-storybook/stories/__snapshots__/addon-centered.stories.storyshot delete mode 100644 examples/official-storybook/stories/__snapshots__/addon-contexts.stories.storyshot delete mode 100644 examples/official-storybook/stories/__snapshots__/addon-cssresources.stories.storyshot delete mode 100644 examples/official-storybook/stories/__snapshots__/addon-events.stories.storyshot delete mode 100644 examples/official-storybook/stories/__snapshots__/addon-graphql.stories.storyshot delete mode 100644 examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot delete mode 100644 examples/official-storybook/stories/__snapshots__/addon-jest.stories.storyshot delete mode 100644 examples/official-storybook/stories/__snapshots__/addon-knobs.stories.storyshot delete mode 100644 examples/official-storybook/stories/__snapshots__/addon-links.stories.storyshot delete mode 100644 examples/official-storybook/stories/__snapshots__/addon-notes.stories.storyshot delete mode 100644 examples/official-storybook/stories/__snapshots__/addon-options.stories.storyshot delete mode 100644 examples/official-storybook/stories/__snapshots__/addon-storyshots.stories.storyshot delete mode 100644 examples/official-storybook/stories/__snapshots__/addon-viewport.stories.storyshot delete mode 100644 examples/official-storybook/stories/__snapshots__/app-acceptance.stories.storyshot delete mode 100644 examples/official-storybook/stories/__snapshots__/other-demo.stories.storyshot delete mode 100644 examples/official-storybook/stories/__snapshots__/other-dirname.stories.storyshot create mode 100644 examples/official-storybook/stories/addon-design-assets.stories.js create mode 100644 examples/official-storybook/stories/addon-docs.stories.js create mode 100644 examples/official-storybook/stories/addon-docs.stories.mdx create mode 100644 examples/official-storybook/stories/addon-queryparams.stories.js create mode 100644 examples/official-storybook/stories/notes/notes.mdx delete mode 100644 examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap delete mode 100644 examples/official-storybook/tests/storyshots.test.js create mode 100644 examples/rax-kitchen-sink/.babelrc.js create mode 100644 examples/rax-kitchen-sink/.env create mode 100644 examples/rax-kitchen-sink/.eslintrc.js create mode 100644 examples/rax-kitchen-sink/.gitignore create mode 100644 examples/rax-kitchen-sink/.storybook/addons.js create mode 100644 examples/rax-kitchen-sink/.storybook/config.js create mode 100644 examples/rax-kitchen-sink/.storybook/webpack.config.js create mode 100644 examples/rax-kitchen-sink/README.md create mode 100644 examples/rax-kitchen-sink/jest-addon.config.js create mode 100644 examples/rax-kitchen-sink/jest.config.js create mode 100644 examples/rax-kitchen-sink/package.json create mode 100644 examples/rax-kitchen-sink/public/index.html create mode 100644 examples/rax-kitchen-sink/public/rax-logo.png create mode 100644 examples/rax-kitchen-sink/src/components/App/App.test.js create mode 100644 examples/rax-kitchen-sink/src/components/App/__snapshots__/App.test.js.snap create mode 100644 examples/rax-kitchen-sink/src/components/App/index.js create mode 100644 examples/rax-kitchen-sink/src/components/App/index.stylesheet create mode 100644 examples/rax-kitchen-sink/src/components/Logger.js create mode 100644 examples/rax-kitchen-sink/src/components/Welcome/Welcome.test.js create mode 100644 examples/rax-kitchen-sink/src/components/Welcome/__snapshots__/Welcome.test.js.snap create mode 100644 examples/rax-kitchen-sink/src/components/Welcome/index.js create mode 100644 examples/rax-kitchen-sink/src/index.js create mode 100644 examples/rax-kitchen-sink/src/stories/addon-a11y.stories.js create mode 100644 examples/rax-kitchen-sink/src/stories/addon-actions.stories.js create mode 100644 examples/rax-kitchen-sink/src/stories/addon-centered.stories.js create mode 100644 examples/rax-kitchen-sink/src/stories/addon-events.stories.js create mode 100644 examples/rax-kitchen-sink/src/stories/addon-jest.stories.js create mode 100644 examples/rax-kitchen-sink/src/stories/addon-knobs.stories.js create mode 100644 examples/rax-kitchen-sink/src/stories/addon-links.stories.js create mode 100644 examples/rax-kitchen-sink/src/stories/addon-notes.stories.js create mode 100644 examples/rax-kitchen-sink/src/stories/index.stories.js create mode 100644 examples/rax-kitchen-sink/src/stories/note.md create mode 100644 lib/cli/generators/ANGULAR/angular-helpers.js create mode 100644 lib/cli/generators/RAX/index.js create mode 100644 lib/cli/generators/RAX/template/.storybook/addons.js create mode 100644 lib/cli/generators/RAX/template/.storybook/config.js create mode 100644 lib/cli/generators/RAX/template/stories/Welcome.js create mode 100644 lib/cli/generators/RAX/template/stories/index.stories.js create mode 100644 lib/codemod/src/transforms/__testfixtures__/add-component-parameters/add-component-parameters.input.js create mode 100644 lib/codemod/src/transforms/__testfixtures__/add-component-parameters/add-component-parameters.output.js create mode 100644 lib/codemod/src/transforms/__testfixtures__/convert-to-module-format/basic.input.js create mode 100644 lib/codemod/src/transforms/__testfixtures__/convert-to-module-format/basic.output.js create mode 100644 lib/codemod/src/transforms/__testfixtures__/convert-to-module-format/decorators.input.js create mode 100644 lib/codemod/src/transforms/__testfixtures__/convert-to-module-format/decorators.output.js create mode 100644 lib/codemod/src/transforms/__testfixtures__/convert-to-module-format/module.input.js create mode 100644 lib/codemod/src/transforms/__testfixtures__/convert-to-module-format/module.output.js create mode 100644 lib/codemod/src/transforms/__testfixtures__/convert-to-module-format/multi.input.js create mode 100644 lib/codemod/src/transforms/__testfixtures__/convert-to-module-format/multi.output.js create mode 100644 lib/codemod/src/transforms/__testfixtures__/convert-to-module-format/parameters.input.js create mode 100644 lib/codemod/src/transforms/__testfixtures__/convert-to-module-format/parameters.output.js create mode 100644 lib/codemod/src/transforms/__testfixtures__/convert-to-module-format/story-parameters.input.js create mode 100644 lib/codemod/src/transforms/__testfixtures__/convert-to-module-format/story-parameters.output.js create mode 100644 lib/codemod/src/transforms/__tests__/add-component-parameters.test.js create mode 100644 lib/codemod/src/transforms/__tests__/convert-to-module-format.test.js create mode 100644 lib/codemod/src/transforms/add-component-parameters.js create mode 100644 lib/codemod/src/transforms/convert-to-module-format.js delete mode 100644 lib/components/src/StoryLinkWrapper.ts create mode 100644 lib/components/src/addon-panel/addon-panel.tsx create mode 100644 lib/components/src/blocks/BlockBackgroundStyles.tsx create mode 100644 lib/components/src/blocks/ColorPalette.stories.tsx create mode 100644 lib/components/src/blocks/ColorPalette.tsx create mode 100644 lib/components/src/blocks/Description.stories.tsx create mode 100644 lib/components/src/blocks/Description.tsx create mode 100644 lib/components/src/blocks/DocsPage.stories.tsx create mode 100644 lib/components/src/blocks/DocsPage.tsx create mode 100644 lib/components/src/blocks/DocsPageExampleCaption.md create mode 100644 lib/components/src/blocks/DocsPageExampleCaption.mdx create mode 100644 lib/components/src/blocks/EmptyBlock.stories.tsx create mode 100644 lib/components/src/blocks/EmptyBlock.tsx create mode 100644 lib/components/src/blocks/IFrame.tsx create mode 100644 lib/components/src/blocks/IconGallery.stories.tsx create mode 100644 lib/components/src/blocks/IconGallery.tsx create mode 100644 lib/components/src/blocks/Preview.stories.tsx create mode 100644 lib/components/src/blocks/Preview.tsx create mode 100644 lib/components/src/blocks/PropsTable/PropDef.ts create mode 100644 lib/components/src/blocks/PropsTable/PropRow.stories.tsx create mode 100644 lib/components/src/blocks/PropsTable/PropRow.tsx create mode 100644 lib/components/src/blocks/PropsTable/PropsTable.stories.tsx create mode 100644 lib/components/src/blocks/PropsTable/PropsTable.tsx create mode 100644 lib/components/src/blocks/Source.stories.tsx create mode 100644 lib/components/src/blocks/Source.tsx create mode 100644 lib/components/src/blocks/Story.stories.tsx create mode 100644 lib/components/src/blocks/Story.tsx create mode 100644 lib/components/src/blocks/Typeset.stories.tsx create mode 100644 lib/components/src/blocks/Typeset.tsx create mode 100644 lib/components/src/blocks/index.ts create mode 100644 lib/components/src/syntaxhighlighter/formatter.test.js create mode 100644 lib/components/src/syntaxhighlighter/formatter.ts create mode 100644 lib/core/src/client/preview/url.js create mode 100644 lib/core/src/client/preview/url.test.js delete mode 100644 lib/router/src/visibility.ts create mode 100644 lib/router/src/visibility.tsx create mode 100644 lib/router/utils.d.ts create mode 100644 lib/source-loader/package.json create mode 100644 lib/source-loader/src/abstract-syntax-tree/__snapshots__/inject-decorator.test.js.snap create mode 100644 lib/source-loader/src/abstract-syntax-tree/default-options.js create mode 100644 lib/source-loader/src/abstract-syntax-tree/generate-helpers.js create mode 100644 lib/source-loader/src/abstract-syntax-tree/inject-decorator.js create mode 100644 lib/source-loader/src/abstract-syntax-tree/inject-decorator.test.js create mode 100644 lib/source-loader/src/abstract-syntax-tree/parse-helpers.js create mode 100644 lib/source-loader/src/abstract-syntax-tree/parsers/index.js create mode 100644 lib/source-loader/src/abstract-syntax-tree/parsers/parser-flow.js create mode 100644 lib/source-loader/src/abstract-syntax-tree/parsers/parser-js.js create mode 100644 lib/source-loader/src/abstract-syntax-tree/parsers/parser-ts.js create mode 100644 lib/source-loader/src/abstract-syntax-tree/traverse-helpers.js create mode 100644 lib/source-loader/src/build.js create mode 100644 lib/source-loader/src/dependencies-lookup/getRidOfUselessFilePrefixes.js create mode 100644 lib/source-loader/src/dependencies-lookup/readAsObject.js create mode 100644 lib/source-loader/src/events.js create mode 100644 lib/source-loader/src/index.js create mode 100644 lib/source-loader/src/preview.js create mode 100644 lib/theming/create.js create mode 100644 lib/theming/src/convert.ts create mode 100644 lib/theming/src/tests/convert.test.js create mode 100644 lib/theming/src/tests/util.test.js create mode 100644 lib/theming/src/types.ts delete mode 100755 scripts/netlify-build.sh create mode 100644 scripts/reset.js create mode 100644 svelte-transform.js diff --git a/.babelrc.js b/.babelrc.js index 9577fdb09acc..b60cfbe892d7 100644 --- a/.babelrc.js +++ b/.babelrc.js @@ -1,6 +1,21 @@ +const withTests = { + presets: [ + [ + '@babel/preset-env', + { shippedProposals: true, useBuiltIns: 'usage', corejs: '3', targets: { node: 'current' } }, + ], + ], + plugins: [ + 'babel-plugin-require-context-hook', + 'babel-plugin-dynamic-import-node', + '@babel/plugin-transform-runtime', + ], +}; + module.exports = { + ignore: ['./lib/codemod/src/transforms/__testfixtures__'], presets: [ - ['@babel/preset-env', { shippedProposals: true, useBuiltIns: 'usage', corejs: '2' }], + ['@babel/preset-env', { shippedProposals: true, useBuiltIns: 'usage', corejs: '3' }], '@babel/preset-typescript', '@babel/preset-react', '@babel/preset-flow', @@ -20,26 +35,28 @@ module.exports = { ['emotion', { sourceMap: true, autoLabel: true }], ], env: { - test: { - presets: [ - ['@babel/preset-env', { shippedProposals: true, useBuiltIns: 'usage', corejs: '2' }], - ], - plugins: [ - 'babel-plugin-require-context-hook', - 'babel-plugin-dynamic-import-node', - '@babel/plugin-transform-runtime', - ], - }, + test: withTests, }, overrides: [ { test: './examples/vue-kitchen-sink', presets: ['babel-preset-vue'], + env: { + test: withTests, + }, + }, + { + test: './examples/rax-kitchen-sink', + presets: [ + ['@babel/preset-env', { shippedProposals: true, useBuiltIns: 'usage', corejs: '3' }], + ['babel-preset-rax', { development: process.env.BABEL_ENV === 'development' }], + ], }, { test: './lib', + exclude: './addons/storysource/src/loader', presets: [ - ['@babel/preset-env', { shippedProposals: true, useBuiltIns: 'usage', corejs: '2' }], + ['@babel/preset-env', { shippedProposals: true, useBuiltIns: 'usage', corejs: '3' }], '@babel/preset-react', ], plugins: [ @@ -52,12 +69,16 @@ module.exports = { '@babel/plugin-transform-react-constant-elements', 'babel-plugin-add-react-displayname', ], + env: { + test: withTests, + }, }, { test: [ './lib/core/src/server', './lib/node-logger', './lib/codemod', + './lib/source-loader/src', './addons/storyshots', './addons/storysource/src/loader', './app/**/src/server/**', @@ -72,7 +93,7 @@ module.exports = { targets: { node: '8.11', }, - corejs: '2', + corejs: '3', }, ], ], @@ -83,6 +104,9 @@ module.exports = { '@babel/plugin-proposal-object-rest-spread', '@babel/plugin-proposal-export-default-from', ], + env: { + test: withTests, + }, }, ], }; diff --git a/.circleci/config.yml b/.circleci/config.yml index cac07699e4fb..9f6b618ddb80 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -38,8 +38,29 @@ jobs: - node_modules - examples - addons + - dev-kits - app - lib + chromatic: + <<: *defaults + steps: + - checkout + - attach_workspace: + at: . + - run: + name: Run chromatic on the pre-built storybook + command: yarn chromatic -- -d ./storybook-static + packtracker: + <<: *defaults + steps: + - checkout + - attach_workspace: + at: . + - run: + name: Report webpack stats for manager of official storybook + command: | + cd examples/official-storybook + yarn packtracker examples: <<: *defaults steps: @@ -109,6 +130,11 @@ jobs: command: | cd examples/preact-kitchen-sink yarn build-storybook + - run: + name: Build cra react15 + command: | + cd examples/cra-react15 + yarn build-storybook - run: name: Build official-storybook command: | @@ -120,6 +146,14 @@ jobs: - store_artifacts: path: examples/official-storybook/image-snapshots/__image_snapshots__ destination: official_storybook_image_snapshots + - persist_to_workspace: + root: . + paths: + - node_modules + - examples + - addons + - app + - lib smoke-tests: <<: *defaults steps: @@ -186,6 +220,11 @@ jobs: command: | cd examples/preact-kitchen-sink yarn storybook --smoke-test --quiet + - run: + name: Run cra reac15 (smoke test) + command: | + cd examples/cra-react15 + yarn storybook --smoke-test --quiet native-smoke-tests: <<: *defaults steps: @@ -322,6 +361,9 @@ workflows: - smoke-tests: requires: - build + - packtracker: + requires: + - build - native-smoke-tests: requires: - build @@ -337,3 +379,6 @@ workflows: - cli-test-latest-cra: requires: - build + - chromatic: + requires: + - examples diff --git a/.eslintrc.js b/.eslintrc.js index cc6e1d7d1dff..097898b87eb5 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -39,6 +39,30 @@ module.exports = { 'html/html-extensions': ['.html'], }, rules: { + 'no-restricted-imports': [ + error, + { + paths: [ + { + name: 'lodash.isequal', + message: + 'Lodash modularised (and lodash < 4.17.11) have CVE vulnerabilities. Please use tree-shakeable imports like lodash/xxx instead', + }, + { + name: 'lodash.mergewith', + message: + 'Lodash modularised (and lodash < 4.17.11) have CVE vulnerabilities. Please use tree-shakeable imports like lodash/xxx instead', + }, + { + name: 'lodash.pick', + message: + 'Lodash modularised (and lodash < 4.17.11) have CVE vulnerabilities. Please use tree-shakeable imports like lodash/xxx instead', + }, + ], + // catch-all for any lodash modularised. The CVE is listed against the entire family for lodash < 4.17.11 + patterns: ['lodash.*'], + }, + ], 'prettier/prettier': [warn], 'no-debugger': process.env.NODE_ENV === 'production' ? error : ignore, 'class-methods-use-this': ignore, @@ -153,6 +177,7 @@ module.exports = { { files: ['**/*.d.ts'], rules: { + 'vars-on-top': ignore, 'no-var': ignore, // this is how typescript works 'spaced-comment': ignore, }, diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 1b68ff92d45f..81169f1382f9 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,5 +1,4 @@ .circleci/ @ndelangen -.teamcity/ @hypnosphi .github/ @danielduan /addons/a11y/ @jbovenschen @codebyalex diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 000000000000..9694bad4bdf8 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +open_collective: storybook diff --git a/.github/automention.yml b/.github/automention.yml index 806420450f93..b137b453dbc3 100644 --- a/.github/automention.yml +++ b/.github/automention.yml @@ -6,11 +6,12 @@ 'app: preact': ['BartWaardenburg'] 'app: react-native': ['benoitdion', 'gongreg'] 'app: react-native-server': ['benoitdion', 'igor-dv'] -'app: vue': ['backbone87', 'elevatebart'] +'app: svelte': ['cam-stitt', 'plumpNation'] +'app: vue': ['backbone87', 'elevatebart', 'pksunkara'] 'api: addons': ['ndelangen'] 'addon: a11y': ['CodeByAlex', 'Armanio', 'jsomsanith'] 'addon: contexts': ['leoyli'] -'addon: docs': ['shilman', 'elevatebart'] +'addon: docs': ['shilman', 'elevatebart', 'jeroenreumkens'] 'addon: info': ['shilman', 'elevatebart'] 'addon: knobs': ['leoyli', 'Armanio'] 'addon: storysource': ['igor-dv', 'libetl'] diff --git a/.gitignore b/.gitignore index 59f8c038fc3a..1394ea070783 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,5 @@ lib/**/dll .expo/packager-info.json scripts/storage htpasswd +/false +storybook-out diff --git a/.spelling b/.spelling index abad4c695240..3a39deac75f6 100644 --- a/.spelling +++ b/.spelling @@ -67,7 +67,7 @@ react-komposer serializable params README.md -storybooks.js.org +storybook.js.org YuzuJS setImmediate Malte diff --git a/.teamcity/OpenSourceProjects_Storybook/Project.kt b/.teamcity/OpenSourceProjects_Storybook/Project.kt deleted file mode 100644 index 1f3a5f29ea2d..000000000000 --- a/.teamcity/OpenSourceProjects_Storybook/Project.kt +++ /dev/null @@ -1,197 +0,0 @@ -package OpenSourceProjects_Storybook - -import OpenSourceProjects_Storybook.buildTypes.* -import OpenSourceProjects_Storybook.vcsRoots.* -import OpenSourceProjects_Storybook.vcsRoots.OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster -import jetbrains.buildServer.configs.kotlin.v2017_2.* -import jetbrains.buildServer.configs.kotlin.v2017_2.Project -import jetbrains.buildServer.configs.kotlin.v2017_2.projectFeatures.VersionedSettings -import jetbrains.buildServer.configs.kotlin.v2017_2.projectFeatures.versionedSettings - -object Project : Project({ - uuid = "69382d9b-7791-418a-9ff6-1c83b86ed6b5" - id = "OpenSourceProjects_Storybook" - parentId = "OpenSourceProjects" - name = "Storybook" - description = "https://storybook.js.org/" - - vcsRoot(OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster1) - vcsRoot(OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster) - - buildType(OpenSourceProjects_Storybook_Bootstrap) - buildType(OpenSourceProjects_Storybook_CliTestLatestCra) - buildType(OpenSourceProjects_Storybook_Examples) - buildType(OpenSourceProjects_Storybook_Docs) - buildType(OpenSourceProjects_Storybook_Build_2) - buildType(OpenSourceProjects_Storybook_Test) - buildType(OpenSourceProjects_Storybook_Lint) - buildType(OpenSourceProjects_Storybook_Lint_Warnings) - buildType(OpenSourceProjects_Storybook_SmokeTests) - buildType(OpenSourceProjects_Storybook_Chromatic) - - allApps { - buildType(config) - } - - features { - versionedSettings { - id = "PROJECT_EXT_258" - mode = VersionedSettings.Mode.ENABLED - buildSettingsMode = VersionedSettings.BuildSettingsMode.PREFER_SETTINGS_FROM_VCS - rootExtId = OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster.id - showChanges = true - settingsFormat = VersionedSettings.Format.KOTLIN - storeSecureParamsOutsideOfVcs = true - } - feature { - type = "buildtype-graphs" - id = "PROJECT_EXT_132" - param("series", """ - [ - { - "type": "valueType", - "title": "Build Duration (all stages)", - "key": "BuildDuration" - } - ] - """.trimIndent()) - param("format", "duration") - param("hideFilters", "") - param("title", "Build Duration") - param("defaultFilters", "") - param("seriesTitle", "Serie") - } - feature { - id = "PROJECT_EXT_259" - type = "IssueTracker" - param("secure:password", "") - param("name", "storybooks/storybook") - param("pattern", """#(\d+)""") - param("authType", "anonymous") - param("repository", "https://github.com/storybooks/storybook") - param("type", "GithubIssues") - param("secure:accessToken", "") - param("username", "") - } - allApps { - feature { - id = "PROJECT_EXT_264_$lowerName" - type = "ReportTab" - param("startPage", "$lowerName.zip!index.html") - param("title", appName) - param("type", "BuildReportTab") - } - } - feature { - id = "PROJECT_EXT_267" - type = "ReportTab" - param("startPage", "official.zip!index.html") - param("title", "Official") - param("type", "BuildReportTab") - } - feature { - type = "ReportTab" - id = "PROJECT_EXT_272" - param("startPage", "docs.zip!index.html") - param("title", "Docs") - param("type", "BuildReportTab") - } - feature { - type = "ReportTab" - id = "PROJECT_EXT_274" - param("startPage", "demo.zip!index.html") - param("title", "Demo") - param("type", "BuildReportTab") - } - feature { - type = "project-graphs" - id = "PROJECT_EXT_306" - param("series", """ - [ - { - "type": "valueType", - "title": "Build Duration (all stages)", - "sourceBuildTypeId": "OpenSourceProjects_Storybook_Build_2", - "key": "BuildDuration" - } - ] - """.trimIndent()) - param("format", "duration") - param("seriesTitle", "Serie") - param("hideFilters", "") - param("title", "Build Duration (all stages)") - param("defaultFilters", "") - } - feature { - type = "project-graphs" - id = "PROJECT_EXT_307" - param("series", """ - [ - { - "type": "valueType", - "title": "Covered Percentage of JS Lines", - "sourceBuildTypeId": "OpenSourceProjects_Storybook_Test", - "key": "Covered Percentage of JS Lines" - } - ] - """.trimIndent()) - param("format", "percent") - param("hideFilters", "") - param("title", "Covered Percentage of JS Lines") - param("defaultFilters", "") - param("seriesTitle", "Serie") - } - feature { - type = "project-graphs" - id = "PROJECT_EXT_308" - param("series", """ - [ - { - "type": "valueType", - "title": "Total Number of JS Statements", - "sourceBuildTypeId": "OpenSourceProjects_Storybook_Test", - "key": "Total Number of JS Statements" - } - ] - """.trimIndent()) - param("format", "integer") - param("seriesTitle", "Serie") - param("hideFilters", "") - param("title", "Total Number of JS Statements") - param("defaultFilters", "") - } - feature { - type = "project-graphs" - id = "PROJECT_EXT_117" - param("series", """ - [ - { - "type": "valueType", - "title": "Total Artifacts Size", - "sourceBuildTypeId": "OpenSourceProjects_Storybook_CliTestLatestCra", - "key": "ArtifactsSize" - } - ] - """.trimIndent()) - param("format", "text") - param("title", "Total Artifacts Size") - param("seriesTitle", "Serie") - } - feature { - type = "Invitation" - id = "PROJECT_EXT_209" - param("createdByUserId", "1702") - param("invitationType", "joinProjectInvitation") - param("secure:token", "credentialsJSON:07400f1b-a51d-46ae-b056-2e24a653f4d1") - param("name", "Join Storybook project") - param("welcomeText", "Filipp Riabchun invites you to join the Storybook project") - param("disabled", "false") - param("groupKey", "STORYBOOK_DEVELO") - param("multi", "true") - } - } - - params { - param("docker.node.version", "dubnium") - } -}) diff --git a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Bootstrap.kt b/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Bootstrap.kt index f609d196a3ea..bd6ad004d7b4 100644 --- a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Bootstrap.kt +++ b/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Bootstrap.kt @@ -16,6 +16,7 @@ object OpenSourceProjects_Storybook_Bootstrap : BuildType({ addons/*/dist/** => dist.zip/addons addons/storyshots/*/dist/** => dist.zip/addons/storyshots app/*/dist/** => dist.zip/app + dev-kits/*/dist/** => dist.zip/dev-kits lib/*/dist/** => dist.zip/lib lib/core/dll/** => dist.zip/lib/core/dll """.trimIndent() diff --git a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Build_2.kt b/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Build_2.kt deleted file mode 100644 index 1502deb7ae57..000000000000 --- a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Build_2.kt +++ /dev/null @@ -1,115 +0,0 @@ -package OpenSourceProjects_Storybook.buildTypes - -import jetbrains.buildServer.configs.kotlin.v2017_2.* -import jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.commitStatusPublisher -import jetbrains.buildServer.configs.kotlin.v2017_2.failureConditions.BuildFailureOnMetric -import jetbrains.buildServer.configs.kotlin.v2017_2.failureConditions.failOnMetricChange -import jetbrains.buildServer.configs.kotlin.v2017_2.triggers.vcs -import jetbrains.buildServer.configs.kotlin.v2017_2.triggers.VcsTrigger -import jetbrains.buildServer.configs.kotlin.v2017_2.triggers.finishBuildTrigger -import jetbrains.buildServer.configs.kotlin.v2017_2.triggers.retryBuild -import jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.merge -import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* - -object OpenSourceProjects_Storybook_Build_2 : BuildType({ - uuid = "2b9c73e2-0a6e-47ca-95ae-729cac42be2b" - id = "OpenSourceProjects_Storybook_Build_2" - name = "Build" - - allowExternalStatus = true - type = BuildTypeSettings.Type.COMPOSITE - - vcs { - root(OpenSourceProjects_Storybook.vcsRoots.OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster) - - showDependenciesChanges = true - } - - triggers { - vcs { - quietPeriodMode = VcsTrigger.QuietPeriodMode.USE_DEFAULT - triggerRules = "-:comment=^TeamCity change:**" - branchFilter = """ - +:pull/* - +:release/* - +:master - +:next - +:snyk-fix-* - """.trimIndent() - } - retryBuild { - delaySeconds = 60 - enabled = false - } - finishBuildTrigger { - enabled = false - buildTypeExtId = "OpenSourceProjects_Storybook_Bootstrap" - successfulOnly = true - branchFilter = "" - } - } - - failureConditions { - failOnMetricChange { - metric = BuildFailureOnMetric.MetricType.TEST_COUNT - threshold = 20 - units = BuildFailureOnMetric.MetricUnit.PERCENTS - comparison = BuildFailureOnMetric.MetricComparison.LESS - compareTo = build { - buildRule = lastSuccessful() - } - } - } - - features { - commitStatusPublisher { - publisher = github { - githubUrl = "https://api.github.com" - authType = personalToken { - token = "credentialsJSON:5ffe2d7e-531e-4f6f-b1fc-a41bfea26eaa" - } - } - param("github_oauth_user", "Hypnosphi") - } - merge { - branchFilter = """ - +:snyk-fix-* - """.trimIndent() - destinationBranch = "" - commitMessage = "Merge branch '%teamcity.build.branch%'" - } - } - - dependencies { - dependency(OpenSourceProjects_Storybook.buildTypes.OpenSourceProjects_Storybook_Docs) { - snapshot { - onDependencyCancel = FailureAction.ADD_PROBLEM - } - } - dependency(OpenSourceProjects_Storybook.buildTypes.OpenSourceProjects_Storybook_Examples) { - snapshot { - onDependencyCancel = FailureAction.ADD_PROBLEM - } - } - dependency(OpenSourceProjects_Storybook.buildTypes.OpenSourceProjects_Storybook_Lint) { - snapshot { - onDependencyCancel = FailureAction.ADD_PROBLEM - } - } - dependency(OpenSourceProjects_Storybook.buildTypes.OpenSourceProjects_Storybook_SmokeTests) { - snapshot { - onDependencyCancel = FailureAction.ADD_PROBLEM - } - } - dependency(OpenSourceProjects_Storybook.buildTypes.OpenSourceProjects_Storybook_Test) { - snapshot { - onDependencyCancel = FailureAction.ADD_PROBLEM - } - } - dependency(OpenSourceProjects_Storybook.buildTypes.OpenSourceProjects_Storybook_Chromatic) { - snapshot { - onDependencyCancel = FailureAction.ADD_PROBLEM - } - } - } -}) diff --git a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Chromatic.kt b/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Chromatic.kt deleted file mode 100644 index ccbbb2a3895d..000000000000 --- a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Chromatic.kt +++ /dev/null @@ -1,77 +0,0 @@ -package OpenSourceProjects_Storybook.buildTypes - -import jetbrains.buildServer.configs.kotlin.v2017_2.* -import jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.commitStatusPublisher -import jetbrains.buildServer.configs.kotlin.v2017_2.buildSteps.script -import jetbrains.buildServer.configs.kotlin.v2017_2.failureConditions.BuildFailureOnMetric -import jetbrains.buildServer.configs.kotlin.v2017_2.failureConditions.failOnMetricChange - -object OpenSourceProjects_Storybook_Chromatic : BuildType({ - uuid = "8cc5f747-4ca7-4f0d-940d-b0c422f501a6-chromatic" - id = "OpenSourceProjects_Storybook_Chromatic" - name = "Chromatic" - - params { - param("env.CI_BRANCH", "%teamcity.build.branch%") - } - - vcs { - root(OpenSourceProjects_Storybook.vcsRoots.OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster) - - } - - steps { - script { - name = "Chromatic" - scriptContent = """ - #!/bin/sh - - set -e -x - - yarn - yarn chromatic - """.trimIndent() - dockerImage = "node:%docker.node.version%" - } - } - - features { - commitStatusPublisher { - publisher = github { - githubUrl = "https://api.github.com" - authType = personalToken { - token = "credentialsJSON:5ffe2d7e-531e-4f6f-b1fc-a41bfea26eaa" - } - } - param("github_oauth_user", "Hypnosphi") - } - } - - dependencies { - dependency(OpenSourceProjects_Storybook.buildTypes.OpenSourceProjects_Storybook_Bootstrap) { - snapshot { - onDependencyFailure = FailureAction.FAIL_TO_START - } - - artifacts { - artifactRules = "dist.zip!**" - } - } - allApps { - dependency(config) { - snapshot {} - - if (merged) { - artifacts { - cleanDestination = true - artifactRules = "$lowerName.zip!** => examples/$exampleDir/storybook-static" - } - } - } - } - } - - requirements { - doesNotContain("env.OS", "Windows") - } -}) diff --git a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_CliTestLatestCra.kt b/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_CliTestLatestCra.kt deleted file mode 100644 index 83df8e13baa6..000000000000 --- a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_CliTestLatestCra.kt +++ /dev/null @@ -1,82 +0,0 @@ -package OpenSourceProjects_Storybook.buildTypes - -import jetbrains.buildServer.configs.kotlin.v2017_2.* -import jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.commitStatusPublisher -import jetbrains.buildServer.configs.kotlin.v2017_2.buildSteps.script -import jetbrains.buildServer.configs.kotlin.v2017_2.triggers.vcs -import jetbrains.buildServer.configs.kotlin.v2017_2.triggers.retryBuild -import jetbrains.buildServer.configs.kotlin.v2017_2.triggers.VcsTrigger - -object OpenSourceProjects_Storybook_CliTestLatestCra : BuildType({ - uuid = "d4320bd8-6094-4dd6-9bed-e13d6f0d12e2" - id = "OpenSourceProjects_Storybook_CliTestLatestCra" - name = "CLI test, latest CRA" - - vcs { - root(OpenSourceProjects_Storybook.vcsRoots.OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster) - - } - - steps { - script { - name = "Test" - scriptContent = """ - #!/bin/sh - - set -e -x - - yarn - yarn test-latest-cra -t - """.trimIndent() - dockerImage = "node:%docker.node.version%" - } - } - - triggers { - vcs { - quietPeriodMode = VcsTrigger.QuietPeriodMode.USE_DEFAULT - triggerRules = "-:comment=^TeamCity change:**" - branchFilter = """ - +:pull/* - +:release/* - +:master - +:next - """.trimIndent() - } - retryBuild { - enabled = false - } - } - - features { - commitStatusPublisher { - publisher = github { - githubUrl = "https://api.github.com" - authType = personalToken { - token = "credentialsJSON:5ffe2d7e-531e-4f6f-b1fc-a41bfea26eaa" - } - } - param("github_oauth_user", "Hypnosphi") - } - } - - dependencies { - dependency(OpenSourceProjects_Storybook.buildTypes.OpenSourceProjects_Storybook_Bootstrap) { - snapshot { - onDependencyFailure = FailureAction.FAIL_TO_START - } - - artifacts { - artifactRules = "dist.zip!**" - } - } - } - - requirements { - doesNotContain("env.OS", "Windows") - } - - cleanup { - artifacts(days = 1) - } -}) diff --git a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Docs.kt b/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Docs.kt deleted file mode 100644 index 1cdeae3aac71..000000000000 --- a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Docs.kt +++ /dev/null @@ -1,58 +0,0 @@ -package OpenSourceProjects_Storybook.buildTypes - -import jetbrains.buildServer.configs.kotlin.v2017_2.* -import jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.commitStatusPublisher -import jetbrains.buildServer.configs.kotlin.v2017_2.buildSteps.script - -object OpenSourceProjects_Storybook_Docs : BuildType({ - uuid = "1bda59b5-d08d-4fd8-b317-953e7d79d881" - id = "OpenSourceProjects_Storybook_Docs" - name = "Docs" - - artifactRules = "docs/public => docs.zip" - - params { - param("Deploy branch", "master") - } - - vcs { - root(OpenSourceProjects_Storybook.vcsRoots.OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster) - - } - - steps { - script { - name = "Build" - workingDir = "docs" - scriptContent = """ - #!/bin/sh - - set -e -x - - yarn --frozen-lockfile - yarn build - """.trimIndent() - dockerImage = "node:%docker.node.version%" - } - } - - features { - commitStatusPublisher { - publisher = github { - githubUrl = "https://api.github.com" - authType = personalToken { - token = "credentialsJSON:5ffe2d7e-531e-4f6f-b1fc-a41bfea26eaa" - } - } - param("github_oauth_user", "Hypnosphi") - } - } - - requirements { - doesNotContain("env.OS", "Windows") - } - - cleanup { - artifacts(days = 1) - } -}) diff --git a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Examples.kt b/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Examples.kt deleted file mode 100644 index 2fe164bb30e9..000000000000 --- a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Examples.kt +++ /dev/null @@ -1,112 +0,0 @@ -package OpenSourceProjects_Storybook.buildTypes - -import jetbrains.buildServer.configs.kotlin.v2017_2.* -import jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.commitStatusPublisher -import jetbrains.buildServer.configs.kotlin.v2017_2.buildSteps.script -import jetbrains.buildServer.configs.kotlin.v2017_2.failureConditions.BuildFailureOnMetric -import jetbrains.buildServer.configs.kotlin.v2017_2.failureConditions.failOnMetricChange - -object OpenSourceProjects_Storybook_Examples : BuildType({ - uuid = "8cc5f747-4ca7-4f0d-940d-b0c422f501a6" - id = "OpenSourceProjects_Storybook_Examples" - name = "Examples" - - artifactRules = """ - ${StorybookApp.values().map { it.artifactPath }.joinToString("\n")} - examples/official-storybook/storybook-static => official.zip - examples/official-storybook/image-snapshots/__image_snapshots__ => image-snapshots - """.trimIndent() - - vcs { - root(OpenSourceProjects_Storybook.vcsRoots.OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster) - - } - - steps { - script { - name = "official-storybook" - scriptContent = """ - #!/bin/sh - - set -e -x - - yarn - cd examples/official-storybook - rm -rf storybook-static - yarn build-storybook - """.trimIndent() - dockerImage = "node:%docker.node.version%" - } - script { - name = "Image storyshots" - scriptContent = """ - #!/bin/sh - - set -e -x - - # Workaround for https://github.com/GoogleChrome/puppeteer/issues/290 - - apt-get update - apt-get install -yq gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 \ - libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 \ - libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 \ - libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 \ - ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget - yarn test --image --teamcity - """.trimIndent() - dockerImage = "node:%docker.node.version%" - } - } - - failureConditions { - failOnMetricChange { - metric = BuildFailureOnMetric.MetricType.ARTIFACT_SIZE - threshold = 60 - units = BuildFailureOnMetric.MetricUnit.PERCENTS - comparison = BuildFailureOnMetric.MetricComparison.LESS - compareTo = build { - buildRule = lastSuccessful() - } - } - } - - features { - commitStatusPublisher { - publisher = github { - githubUrl = "https://api.github.com" - authType = personalToken { - token = "credentialsJSON:5ffe2d7e-531e-4f6f-b1fc-a41bfea26eaa" - } - } - param("github_oauth_user", "Hypnosphi") - } - } - - dependencies { - dependency(OpenSourceProjects_Storybook.buildTypes.OpenSourceProjects_Storybook_Bootstrap) { - snapshot { - onDependencyFailure = FailureAction.FAIL_TO_START - } - - artifacts { - artifactRules = "dist.zip!**" - } - } - allApps { - dependency(config) { - snapshot {} - - if (merged) { - artifacts { - cleanDestination = true - artifactRules = "$lowerName.zip!** => examples/$exampleDir/storybook-static" - } - } - } - } - } - - requirements { - doesNotContain("env.OS", "Windows") - } -}) diff --git a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Lint.kt b/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Lint.kt deleted file mode 100644 index 11d5b073adb3..000000000000 --- a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Lint.kt +++ /dev/null @@ -1,77 +0,0 @@ -package OpenSourceProjects_Storybook.buildTypes - -import jetbrains.buildServer.configs.kotlin.v2017_2.* -import jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.commitStatusPublisher -import jetbrains.buildServer.configs.kotlin.v2017_2.buildSteps.script -import jetbrains.buildServer.configs.kotlin.v2017_2.failureConditions.BuildFailureOnMetric -import jetbrains.buildServer.configs.kotlin.v2017_2.failureConditions.failOnMetricChange - -object OpenSourceProjects_Storybook_Lint : BuildType({ - uuid = "42cfbb9a-f35b-4f96-afae-0b508927a737" - id = "OpenSourceProjects_Storybook_Lint" - name = "Lint" - - vcs { - root(OpenSourceProjects_Storybook.vcsRoots.OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster) - - } - - steps { - script { - name = "Lint" - scriptContent = """ - #!/bin/sh - - set -e -x - - yarn - yarn bootstrap --docs - yarn lint:ci - """.trimIndent() - dockerImage = "node:%docker.node.version%" - } - } - - features { - commitStatusPublisher { - publisher = github { - githubUrl = "https://api.github.com" - authType = personalToken { - token = "credentialsJSON:5ffe2d7e-531e-4f6f-b1fc-a41bfea26eaa" - } - } - param("github_oauth_user", "Hypnosphi") - } - } - - dependencies { - dependency(OpenSourceProjects_Storybook.buildTypes.OpenSourceProjects_Storybook_Bootstrap) { - snapshot { - onDependencyFailure = FailureAction.FAIL_TO_START - } - - artifacts { - artifactRules = "dist.zip!**" - } - } - } - - requirements { - doesNotContain("env.OS", "Windows") - } - - cleanup { - artifacts(days = 1) - } - - failureConditions { - failOnMetricChange { - metric = BuildFailureOnMetric.MetricType.INSPECTION_ERROR_COUNT - threshold = 0 - units = BuildFailureOnMetric.MetricUnit.DEFAULT_UNIT - comparison = BuildFailureOnMetric.MetricComparison.MORE - compareTo = value() - param("anchorBuild", "lastSuccessful") - } - } -}) diff --git a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Lint_Warnings.kt b/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Lint_Warnings.kt deleted file mode 100644 index fc87770b518e..000000000000 --- a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Lint_Warnings.kt +++ /dev/null @@ -1,92 +0,0 @@ -package OpenSourceProjects_Storybook.buildTypes - -import jetbrains.buildServer.configs.kotlin.v2017_2.* -import jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.commitStatusPublisher -import jetbrains.buildServer.configs.kotlin.v2017_2.buildSteps.script -import jetbrains.buildServer.configs.kotlin.v2017_2.triggers.vcs -import jetbrains.buildServer.configs.kotlin.v2017_2.failureConditions.BuildFailureOnMetric -import jetbrains.buildServer.configs.kotlin.v2017_2.failureConditions.failOnMetricChange -import jetbrains.buildServer.configs.kotlin.v2017_2.triggers.VcsTrigger - -object OpenSourceProjects_Storybook_Lint_Warnings : BuildType({ - uuid = "42cfbb9a-f35b-4f96-afae-0b508927a738" - id = "OpenSourceProjects_Storybook_Lint_Warnings" - name = "Lint Warnings" - - vcs { - root(OpenSourceProjects_Storybook.vcsRoots.OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster) - - } - - steps { - script { - name = "Lint" - scriptContent = """ - #!/bin/sh - - set -e -x - - yarn - yarn bootstrap --docs - yarn lint:ci - """.trimIndent() - dockerImage = "node:%docker.node.version%" - } - } - - triggers { - vcs { - quietPeriodMode = VcsTrigger.QuietPeriodMode.USE_DEFAULT - triggerRules = "-:comment=^TeamCity change:**" - branchFilter = """ - +:pull/* - +:release/* - +:master - +:next - """.trimIndent() - } - } - - features { - commitStatusPublisher { - publisher = github { - githubUrl = "https://api.github.com" - authType = personalToken { - token = "credentialsJSON:5ffe2d7e-531e-4f6f-b1fc-a41bfea26eaa" - } - } - param("github_oauth_user", "Hypnosphi") - } - } - - dependencies { - dependency(OpenSourceProjects_Storybook.buildTypes.OpenSourceProjects_Storybook_Bootstrap) { - snapshot { - onDependencyFailure = FailureAction.FAIL_TO_START - } - - artifacts { - artifactRules = "dist.zip!**" - } - } - } - - requirements { - doesNotContain("env.OS", "Windows") - } - - cleanup { - artifacts(days = 1) - } - - failureConditions { - failOnMetricChange { - metric = BuildFailureOnMetric.MetricType.INSPECTION_WARN_COUNT - threshold = 0 - units = BuildFailureOnMetric.MetricUnit.DEFAULT_UNIT - comparison = BuildFailureOnMetric.MetricComparison.MORE - compareTo = value() - param("anchorBuild", "lastSuccessful") - } - } -}) diff --git a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_SmokeTests.kt b/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_SmokeTests.kt deleted file mode 100644 index 377397880bc5..000000000000 --- a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_SmokeTests.kt +++ /dev/null @@ -1,80 +0,0 @@ -package OpenSourceProjects_Storybook.buildTypes - -import jetbrains.buildServer.configs.kotlin.v2017_2.* -import jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.commitStatusPublisher -import jetbrains.buildServer.configs.kotlin.v2017_2.buildSteps.script - -object OpenSourceProjects_Storybook_SmokeTests : BuildType({ - uuid = "1ea2b5bd-28f6-44f5-8ab3-6c659ce8fbd6" - id = "OpenSourceProjects_Storybook_SmokeTests" - name = "Smoke tests" - - vcs { - root(OpenSourceProjects_Storybook.vcsRoots.OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster) - - } - - steps { - script { - name = "Install" - scriptContent = "yarn" - dockerImage = "node:%docker.node.version%" - } - allApps { - if (merged) { - script { - name = appName - scriptContent = """ - #!/bin/sh - - set -e -x - - cd examples/$exampleDir - yarn storybook --smoke-test --quiet - """.trimIndent() - dockerImage = "node:%docker.node.version%" - } - } - } - script { - name = "official-storybook" - scriptContent = """ - #!/bin/sh - - set -e -x - - cd examples/official-storybook - yarn storybook --smoke-test --quiet - """.trimIndent() - dockerImage = "node:%docker.node.version%" - } - } - - features { - commitStatusPublisher { - publisher = github { - githubUrl = "https://api.github.com" - authType = personalToken { - token = "credentialsJSON:5ffe2d7e-531e-4f6f-b1fc-a41bfea26eaa" - } - } - param("github_oauth_user", "Hypnosphi") - } - } - - dependencies { - dependency(OpenSourceProjects_Storybook.buildTypes.OpenSourceProjects_Storybook_Bootstrap) { - snapshot { - onDependencyFailure = FailureAction.FAIL_TO_START - } - - artifacts { - artifactRules = "dist.zip!**" - } - } - } - - requirements { - doesNotContain("env.OS", "Windows") - } -}) diff --git a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Test.kt b/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Test.kt deleted file mode 100644 index cb2cae95fd9a..000000000000 --- a/.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Test.kt +++ /dev/null @@ -1,65 +0,0 @@ -package OpenSourceProjects_Storybook.buildTypes - -import jetbrains.buildServer.configs.kotlin.v2017_2.* -import jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.commitStatusPublisher -import jetbrains.buildServer.configs.kotlin.v2017_2.buildSteps.script - -object OpenSourceProjects_Storybook_Test : BuildType({ - uuid = "9f9177e7-9ec9-4e2e-aabb-d304fd667711" - id = "OpenSourceProjects_Storybook_Test" - name = "Test" - - artifactRules = "coverage/lcov-report => coverage.zip" - - vcs { - root(OpenSourceProjects_Storybook.vcsRoots.OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster) - - } - - steps { - script { - name = "Test" - scriptContent = """ - #!/bin/sh - - set -e -x - - yarn - yarn test --core --coverage --teamcity --w2 - """.trimIndent() - dockerImage = "node:%docker.node.version%" - } - } - - features { - commitStatusPublisher { - publisher = github { - githubUrl = "https://api.github.com" - authType = personalToken { - token = "credentialsJSON:5ffe2d7e-531e-4f6f-b1fc-a41bfea26eaa" - } - } - param("github_oauth_user", "Hypnosphi") - } - } - - dependencies { - dependency(OpenSourceProjects_Storybook.buildTypes.OpenSourceProjects_Storybook_Bootstrap) { - snapshot { - onDependencyFailure = FailureAction.FAIL_TO_START - } - - artifacts { - artifactRules = "dist.zip!**" - } - } - } - - requirements { - doesNotContain("env.OS", "Windows") - } - - cleanup { - artifacts(days = 1) - } -}) diff --git a/.teamcity/OpenSourceProjects_Storybook/buildTypes/StorybookApp.kt b/.teamcity/OpenSourceProjects_Storybook/buildTypes/StorybookApp.kt deleted file mode 100644 index 51038da77975..000000000000 --- a/.teamcity/OpenSourceProjects_Storybook/buildTypes/StorybookApp.kt +++ /dev/null @@ -1,102 +0,0 @@ -package OpenSourceProjects_Storybook.buildTypes - -import jetbrains.buildServer.configs.kotlin.v2017_2.* -import jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.commitStatusPublisher -import jetbrains.buildServer.configs.kotlin.v2017_2.buildSteps.script -import jetbrains.buildServer.configs.kotlin.v2017_2.failureConditions.BuildFailureOnMetric -import jetbrains.buildServer.configs.kotlin.v2017_2.failureConditions.failOnMetricChange - -enum class StorybookApp(val appName: String, val exampleDir: String, val merged: Boolean = true) { - CRA("CRA", "cra-kitchen-sink"), - CRA_TS("CRA TS", "cra-ts-kitchen-sink"), - VUE("Vue", "vue-kitchen-sink"), - ANGULAR("Angular", "angular-cli"), - POLYMER("Polymer", "polymer-cli"), - MITHRIL("Mithril", "mithril-kitchen-sink"), - HTML("HTML", "html-kitchen-sink"), - MARKO("Marko", "marko-cli"), - SVELTE("Svelte", "svelte-kitchen-sink"), - RIOT("Riot", "riot-kitchen-sink"), - EMBER("Ember", "ember-cli"), - PREACT("Preact", "preact-kitchen-sink", false); - - val underscoreName = appName.replace(' ', '_') - val lowerName = underscoreName.toLowerCase() - - val artifactPath = "examples/$exampleDir/storybook-static => $lowerName.zip" - - val config = object : BuildType(init@{ - uuid = "8cc5f747-4ca7-4f0d-940d-b0c422f501a6-$lowerName" - id = "OpenSourceProjects_Storybook_$underscoreName" - name = appName - - vcs { - root(OpenSourceProjects_Storybook.vcsRoots.OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster) - } - - dependencies { - dependency(OpenSourceProjects_Storybook.buildTypes.OpenSourceProjects_Storybook_Bootstrap) { - snapshot { - onDependencyFailure = FailureAction.FAIL_TO_START - } - - artifacts { - artifactRules = """ - dist.zip!** - """.trimIndent() - } - } - } - - if (!merged) return@init - - artifactRules = artifactPath - - steps { - script { - name = "build" - scriptContent = """ - #!/bin/sh - - set -e -x - - yarn - cd examples/$exampleDir - yarn build-storybook - """.trimIndent() - dockerImage = "node:%docker.node.version%" - } - } - - failureConditions { - failOnMetricChange { - metric = BuildFailureOnMetric.MetricType.ARTIFACT_SIZE - threshold = 50 - units = BuildFailureOnMetric.MetricUnit.PERCENTS - comparison = BuildFailureOnMetric.MetricComparison.LESS - compareTo = build { - buildRule = lastSuccessful() - } - } - } - - features { - commitStatusPublisher { - publisher = github { - githubUrl = "https://api.github.com" - authType = personalToken { - token = "credentialsJSON:5ffe2d7e-531e-4f6f-b1fc-a41bfea26eaa" - } - } - param("github_oauth_user", "Hypnosphi") - } - } - - requirements { - doesNotContain("env.OS", "Windows") - } - }) {} -} - -fun allApps(handler: StorybookApp.() -> Unit) = - StorybookApp.values().forEach { it.handler() } diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/1bda59b5-d08d-4fd8-b317-953e7d79d881.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/1bda59b5-d08d-4fd8-b317-953e7d79d881.kts new file mode 100644 index 000000000000..6d597e5164e2 --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/1bda59b5-d08d-4fd8-b317-953e7d79d881.kts @@ -0,0 +1,16 @@ +package OpenSourceProjects_Storybook.patches.buildTypes + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the buildType with uuid = '1bda59b5-d08d-4fd8-b317-953e7d79d881' (id = 'OpenSourceProjects_Storybook_Docs') +accordingly, and delete the patch script. +*/ +changeBuildType("1bda59b5-d08d-4fd8-b317-953e7d79d881") { + check(paused == false) { + "Unexpected paused: '$paused'" + } + paused = true +} diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/1ea2b5bd-28f6-44f5-8ab3-6c659ce8fbd6.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/1ea2b5bd-28f6-44f5-8ab3-6c659ce8fbd6.kts new file mode 100644 index 000000000000..4b5795b0d563 --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/1ea2b5bd-28f6-44f5-8ab3-6c659ce8fbd6.kts @@ -0,0 +1,16 @@ +package OpenSourceProjects_Storybook.patches.buildTypes + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the buildType with uuid = '1ea2b5bd-28f6-44f5-8ab3-6c659ce8fbd6' (id = 'OpenSourceProjects_Storybook_SmokeTests') +accordingly, and delete the patch script. +*/ +changeBuildType("1ea2b5bd-28f6-44f5-8ab3-6c659ce8fbd6") { + check(paused == false) { + "Unexpected paused: '$paused'" + } + paused = true +} diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/2b9c73e2-0a6e-47ca-95ae-729cac42be2b.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/2b9c73e2-0a6e-47ca-95ae-729cac42be2b.kts new file mode 100644 index 000000000000..aef79086061a --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/2b9c73e2-0a6e-47ca-95ae-729cac42be2b.kts @@ -0,0 +1,16 @@ +package OpenSourceProjects_Storybook.patches.buildTypes + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the buildType with uuid = '2b9c73e2-0a6e-47ca-95ae-729cac42be2b' (id = 'OpenSourceProjects_Storybook_Build_2') +accordingly, and delete the patch script. +*/ +changeBuildType("2b9c73e2-0a6e-47ca-95ae-729cac42be2b") { + check(paused == false) { + "Unexpected paused: '$paused'" + } + paused = true +} diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/42cfbb9a-f35b-4f96-afae-0b508927a737.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/42cfbb9a-f35b-4f96-afae-0b508927a737.kts new file mode 100644 index 000000000000..5b232f2b6803 --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/42cfbb9a-f35b-4f96-afae-0b508927a737.kts @@ -0,0 +1,16 @@ +package OpenSourceProjects_Storybook.patches.buildTypes + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the buildType with uuid = '42cfbb9a-f35b-4f96-afae-0b508927a737' (id = 'OpenSourceProjects_Storybook_Lint') +accordingly, and delete the patch script. +*/ +changeBuildType("42cfbb9a-f35b-4f96-afae-0b508927a737") { + check(paused == false) { + "Unexpected paused: '$paused'" + } + paused = true +} diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/42cfbb9a-f35b-4f96-afae-0b508927a738.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/42cfbb9a-f35b-4f96-afae-0b508927a738.kts new file mode 100644 index 000000000000..927328468594 --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/42cfbb9a-f35b-4f96-afae-0b508927a738.kts @@ -0,0 +1,16 @@ +package OpenSourceProjects_Storybook.patches.buildTypes + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the buildType with uuid = '42cfbb9a-f35b-4f96-afae-0b508927a738' (id = 'OpenSourceProjects_Storybook_Lint_Warnings') +accordingly, and delete the patch script. +*/ +changeBuildType("42cfbb9a-f35b-4f96-afae-0b508927a738") { + check(paused == false) { + "Unexpected paused: '$paused'" + } + paused = true +} diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-angular.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-angular.kts new file mode 100644 index 000000000000..a9c7f3490508 --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-angular.kts @@ -0,0 +1,16 @@ +package OpenSourceProjects_Storybook.patches.buildTypes + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-angular' (id = 'OpenSourceProjects_Storybook_Angular') +accordingly, and delete the patch script. +*/ +changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-angular") { + check(paused == false) { + "Unexpected paused: '$paused'" + } + paused = true +} diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-chromatic.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-chromatic.kts new file mode 100644 index 000000000000..8d0deb7df109 --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-chromatic.kts @@ -0,0 +1,16 @@ +package OpenSourceProjects_Storybook.patches.buildTypes + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-chromatic' (id = 'OpenSourceProjects_Storybook_Chromatic') +accordingly, and delete the patch script. +*/ +changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-chromatic") { + check(paused == false) { + "Unexpected paused: '$paused'" + } + paused = true +} diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra.kts new file mode 100644 index 000000000000..4c072da0e310 --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra.kts @@ -0,0 +1,16 @@ +package OpenSourceProjects_Storybook.patches.buildTypes + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra' (id = 'OpenSourceProjects_Storybook_CRA') +accordingly, and delete the patch script. +*/ +changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra") { + check(paused == false) { + "Unexpected paused: '$paused'" + } + paused = true +} diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra_react15.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra_react15.kts new file mode 100644 index 000000000000..0ea4f527f639 --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra_react15.kts @@ -0,0 +1,16 @@ +package OpenSourceProjects_Storybook.patches.buildTypes + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra_react15' (id = 'OpenSourceProjects_Storybook_CRA_REACT15') +accordingly, and delete the patch script. +*/ +changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra_react15") { + check(paused == false) { + "Unexpected paused: '$paused'" + } + paused = true +} diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra_ts.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra_ts.kts new file mode 100644 index 000000000000..a508334eb457 --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra_ts.kts @@ -0,0 +1,16 @@ +package OpenSourceProjects_Storybook.patches.buildTypes + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra_ts' (id = 'OpenSourceProjects_Storybook_CRA_TS') +accordingly, and delete the patch script. +*/ +changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-cra_ts") { + check(paused == false) { + "Unexpected paused: '$paused'" + } + paused = true +} diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-ember.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-ember.kts new file mode 100644 index 000000000000..ab0514e623c5 --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-ember.kts @@ -0,0 +1,16 @@ +package OpenSourceProjects_Storybook.patches.buildTypes + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-ember' (id = 'OpenSourceProjects_Storybook_Ember') +accordingly, and delete the patch script. +*/ +changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-ember") { + check(paused == false) { + "Unexpected paused: '$paused'" + } + paused = true +} diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-html.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-html.kts new file mode 100644 index 000000000000..039eed95efe6 --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-html.kts @@ -0,0 +1,16 @@ +package OpenSourceProjects_Storybook.patches.buildTypes + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-html' (id = 'OpenSourceProjects_Storybook_HTML') +accordingly, and delete the patch script. +*/ +changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-html") { + check(paused == false) { + "Unexpected paused: '$paused'" + } + paused = true +} diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-marko.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-marko.kts new file mode 100644 index 000000000000..754da521c8f3 --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-marko.kts @@ -0,0 +1,16 @@ +package OpenSourceProjects_Storybook.patches.buildTypes + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-marko' (id = 'OpenSourceProjects_Storybook_Marko') +accordingly, and delete the patch script. +*/ +changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-marko") { + check(paused == false) { + "Unexpected paused: '$paused'" + } + paused = true +} diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-mithril.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-mithril.kts new file mode 100644 index 000000000000..bd0913a8a04d --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-mithril.kts @@ -0,0 +1,16 @@ +package OpenSourceProjects_Storybook.patches.buildTypes + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-mithril' (id = 'OpenSourceProjects_Storybook_Mithril') +accordingly, and delete the patch script. +*/ +changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-mithril") { + check(paused == false) { + "Unexpected paused: '$paused'" + } + paused = true +} diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-polymer.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-polymer.kts new file mode 100644 index 000000000000..7ed9e87651fe --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-polymer.kts @@ -0,0 +1,16 @@ +package OpenSourceProjects_Storybook.patches.buildTypes + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-polymer' (id = 'OpenSourceProjects_Storybook_Polymer') +accordingly, and delete the patch script. +*/ +changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-polymer") { + check(paused == false) { + "Unexpected paused: '$paused'" + } + paused = true +} diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-preact.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-preact.kts new file mode 100644 index 000000000000..7f169a3828fd --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-preact.kts @@ -0,0 +1,16 @@ +package OpenSourceProjects_Storybook.patches.buildTypes + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-preact' (id = 'OpenSourceProjects_Storybook_Preact') +accordingly, and delete the patch script. +*/ +changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-preact") { + check(paused == false) { + "Unexpected paused: '$paused'" + } + paused = true +} diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-riot.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-riot.kts new file mode 100644 index 000000000000..c484eca68e59 --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-riot.kts @@ -0,0 +1,16 @@ +package OpenSourceProjects_Storybook.patches.buildTypes + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-riot' (id = 'OpenSourceProjects_Storybook_Riot') +accordingly, and delete the patch script. +*/ +changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-riot") { + check(paused == false) { + "Unexpected paused: '$paused'" + } + paused = true +} diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-svelte.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-svelte.kts new file mode 100644 index 000000000000..221d31ccf7b1 --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-svelte.kts @@ -0,0 +1,16 @@ +package OpenSourceProjects_Storybook.patches.buildTypes + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-svelte' (id = 'OpenSourceProjects_Storybook_Svelte') +accordingly, and delete the patch script. +*/ +changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-svelte") { + check(paused == false) { + "Unexpected paused: '$paused'" + } + paused = true +} diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-vue.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-vue.kts new file mode 100644 index 000000000000..9c9fc3530876 --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6-vue.kts @@ -0,0 +1,16 @@ +package OpenSourceProjects_Storybook.patches.buildTypes + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6-vue' (id = 'OpenSourceProjects_Storybook_Vue') +accordingly, and delete the patch script. +*/ +changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6-vue") { + check(paused == false) { + "Unexpected paused: '$paused'" + } + paused = true +} diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6.kts new file mode 100644 index 000000000000..1fce2cf575d8 --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/8cc5f747-4ca7-4f0d-940d-b0c422f501a6.kts @@ -0,0 +1,16 @@ +package OpenSourceProjects_Storybook.patches.buildTypes + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the buildType with uuid = '8cc5f747-4ca7-4f0d-940d-b0c422f501a6' (id = 'OpenSourceProjects_Storybook_Examples') +accordingly, and delete the patch script. +*/ +changeBuildType("8cc5f747-4ca7-4f0d-940d-b0c422f501a6") { + check(paused == false) { + "Unexpected paused: '$paused'" + } + paused = true +} diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/9f9177e7-9ec9-4e2e-aabb-d304fd667711.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/9f9177e7-9ec9-4e2e-aabb-d304fd667711.kts index 675592f2b892..7b41f2e260a0 100644 --- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/9f9177e7-9ec9-4e2e-aabb-d304fd667711.kts +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/9f9177e7-9ec9-4e2e-aabb-d304fd667711.kts @@ -9,6 +9,11 @@ To apply the patch, change the buildType with uuid = '9f9177e7-9ec9-4e2e-aabb-d3 accordingly, and delete the patch script. */ changeBuildType("9f9177e7-9ec9-4e2e-aabb-d304fd667711") { + check(paused == false) { + "Unexpected paused: '$paused'" + } + paused = true + params { add { param("docker.node.version", "10.13") diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/9f9177e7-9ec9-4e2e-aabb-d304fd667712.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/9f9177e7-9ec9-4e2e-aabb-d304fd667712.kts new file mode 100644 index 000000000000..6a63ab84d5c4 --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/9f9177e7-9ec9-4e2e-aabb-d304fd667712.kts @@ -0,0 +1,16 @@ +package OpenSourceProjects_Storybook.patches.buildTypes + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the buildType with uuid = '9f9177e7-9ec9-4e2e-aabb-d304fd667712' (id = 'OpenSourceProjects_Storybook_Bootstrap') +accordingly, and delete the patch script. +*/ +changeBuildType("9f9177e7-9ec9-4e2e-aabb-d304fd667712") { + check(paused == false) { + "Unexpected paused: '$paused'" + } + paused = true +} diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/d4320bd8-6094-4dd6-9bed-e13d6f0d12e2.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/d4320bd8-6094-4dd6-9bed-e13d6f0d12e2.kts new file mode 100644 index 000000000000..7e2fb0801929 --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/d4320bd8-6094-4dd6-9bed-e13d6f0d12e2.kts @@ -0,0 +1,16 @@ +package OpenSourceProjects_Storybook.patches.buildTypes + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the buildType with uuid = 'd4320bd8-6094-4dd6-9bed-e13d6f0d12e2' (id = 'OpenSourceProjects_Storybook_CliTestLatestCra') +accordingly, and delete the patch script. +*/ +changeBuildType("d4320bd8-6094-4dd6-9bed-e13d6f0d12e2") { + check(paused == false) { + "Unexpected paused: '$paused'" + } + paused = true +} diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/projects/69382d9b-7791-418a-9ff6-1c83b86ed6b5.kts b/.teamcity/OpenSourceProjects_Storybook/patches/projects/69382d9b-7791-418a-9ff6-1c83b86ed6b5.kts new file mode 100644 index 000000000000..a357d89ba726 --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/projects/69382d9b-7791-418a-9ff6-1c83b86ed6b5.kts @@ -0,0 +1,17 @@ +package OpenSourceProjects_Storybook.patches.projects + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.Project +import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the project with uuid = '69382d9b-7791-418a-9ff6-1c83b86ed6b5' (id = 'OpenSourceProjects_Storybook') +accordingly, and delete the patch script. +*/ +changeProject("69382d9b-7791-418a-9ff6-1c83b86ed6b5") { + check(archived == false) { + "Unexpected archived: '$archived'" + } + archived = true +} diff --git a/.teamcity/OpenSourceProjects_Storybook/settings.kts b/.teamcity/OpenSourceProjects_Storybook/settings.kts deleted file mode 100644 index 622cf328f913..000000000000 --- a/.teamcity/OpenSourceProjects_Storybook/settings.kts +++ /dev/null @@ -1,35 +0,0 @@ -package OpenSourceProjects_Storybook - -import jetbrains.buildServer.configs.kotlin.v2017_2.* - -/* -The settings script is an entry point for defining a single -TeamCity project. TeamCity looks for the 'settings.kts' file in a -project directory and runs it if it's found, so the script name -shouldn't be changed and its package should be the same as the -project's id. - -The script should contain a single call to the project() function -with a Project instance or an init function as an argument. - -VcsRoots, BuildTypes, and Templates of this project must be -registered inside project using the vcsRoot(), buildType(), and -template() methods respectively. - -Subprojects can be defined either in their own settings.kts or by -calling the subProjects() method in this project. - -To debug settings scripts in command-line, run the - - mvnDebug org.jetbrains.teamcity:teamcity-configs-maven-plugin:generate - -command and attach your debugger to the port 8000. - -To debug in IntelliJ Idea, open the 'Maven Projects' tool window (View -> -Tool Windows -> Maven Projects), find the generate task -node (Plugins -> teamcity-configs -> teamcity-configs:generate), -the 'Debug' option is available in the context menu for the task. -*/ - -version = "2017.2" -project(OpenSourceProjects_Storybook.Project) \ No newline at end of file diff --git a/.teamcity/OpenSourceProjects_Storybook/vcsRoots/OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster.kt b/.teamcity/OpenSourceProjects_Storybook/vcsRoots/OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster.kt index 11a83618b39a..ee7951d8b573 100644 --- a/.teamcity/OpenSourceProjects_Storybook/vcsRoots/OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster.kt +++ b/.teamcity/OpenSourceProjects_Storybook/vcsRoots/OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster.kt @@ -7,7 +7,7 @@ object OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMa uuid = "cec03c4b-d52c-42a0-8e9e-53bde85d6b33" id = "OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster" name = "Main root" - url = "git@github.com:storybooks/storybook.git" + url = "git@github.com:storybookjs/storybook.git" branch = "refs/heads/next" branchSpec = """ +:refs/(pull/*)/head diff --git a/.teamcity/OpenSourceProjects_Storybook/vcsRoots/OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster1.kt b/.teamcity/OpenSourceProjects_Storybook/vcsRoots/OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster1.kt index 1a9199bd7283..7daa8d93aa1f 100644 --- a/.teamcity/OpenSourceProjects_Storybook/vcsRoots/OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster1.kt +++ b/.teamcity/OpenSourceProjects_Storybook/vcsRoots/OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster1.kt @@ -6,8 +6,8 @@ import jetbrains.buildServer.configs.kotlin.v2017_2.vcs.GitVcsRoot object OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster1 : GitVcsRoot({ uuid = "5cacf90a-381a-4c73-9aa3-57f6439b545e" id = "OpenSourceProjects_Storybook_HttpsGithubComStorybooksStorybookRefsHeadsMaster1" - name = "https://github.com/storybooks/storybook#refs/heads/master (1)" - url = "git@github.com:storybooks/storybook.git" + name = "https://github.com/storybookjs/storybook#refs/heads/master (1)" + url = "git@github.com:storybookjs/storybook.git" branch = "refs/heads/next" authMethod = uploadedKey { userName = "git" diff --git a/.teamcity/pom.xml b/.teamcity/pom.xml deleted file mode 100644 index 5ce85538a7a0..000000000000 --- a/.teamcity/pom.xml +++ /dev/null @@ -1,104 +0,0 @@ - - - 4.0.0 - OpenSourceProjects_Storybook Config DSL Script - OpenSourceProjects_Storybook - OpenSourceProjects_Storybook_dsl - 1.0-SNAPSHOT - - - org.jetbrains.teamcity - configs-dsl-kotlin-parent - 1.0-SNAPSHOT - - - - - jetbrains-all - http://download.jetbrains.com/teamcity-repository - - true - - - - teamcity-server - https://teamcity.jetbrains.com/app/dsl-plugins-repository - - true - - - - - - - JetBrains - http://download.jetbrains.com/teamcity-repository - - - - - . - - - kotlin-maven-plugin - org.jetbrains.kotlin - ${kotlin.version} - - - - - compile - process-sources - - compile - - - - test-compile - process-test-sources - - test-compile - - - - - - org.jetbrains.teamcity - teamcity-configs-maven-plugin - ${teamcity.dsl.version} - - kotlin - target/generated-configs - - - - - - - - org.jetbrains.teamcity - configs-dsl-kotlin - ${teamcity.dsl.version} - compile - - - org.jetbrains.teamcity - configs-dsl-kotlin-plugins - 1.0-SNAPSHOT - pom - compile - - - org.jetbrains.kotlin - kotlin-stdlib-jdk8 - ${kotlin.version} - compile - - - org.jetbrains.kotlin - kotlin-script-runtime - ${kotlin.version} - compile - - - \ No newline at end of file diff --git a/ADDONS_SUPPORT.md b/ADDONS_SUPPORT.md index 685f1df1fb36..167feddffcf0 100644 --- a/ADDONS_SUPPORT.md +++ b/ADDONS_SUPPORT.md @@ -2,12 +2,13 @@ | | [React](app/react)|[React Native](app/react-native)|[Vue](app/vue)|[Angular](app/angular)| [Polymer](app/polymer)| [Mithril](app/mithril)| [HTML](app/html)| [Marko](app/marko)| [Svelte](app/svelte)| [Riot](app/riot)| [Ember](app/ember)| [Preact](app/preact)| | ----------- |:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:| -|[a11y](addons/a11y) |+| |+|+|+|+|+|+| | |+|+| +|[a11y](addons/a11y) |+| |+|+|+|+|+|+|+|+|+|+| |[actions](addons/actions) |+|+*|+|+|+|+|+|+|+|+|+|+| |[backgrounds](addons/backgrounds) |+|*|+|+|+|+|+|+|+|+|+|+| |[centered](addons/centered) |+| |+|+| |+|+| |+| |+|+| |[contexts](addons/contexts) |+| |+| | | | | | | | |+| |[events](addons/events) |+| |+|+|+|+|+|+| | |+|+| +|[design assets](addons/design-assets) |+| |+|+|+|+|+|+|+|+|+|+| |[graphql](addons/graphql) |+| | | | | | | | | | | | |[google-analytics](addons/google-analytics) |+|+|+|+|+|+|+|+|+|+|+|+| |[info](addons/info) |+| | | | | | | | | | | | diff --git a/CHANGELOG.md b/CHANGELOG.md index 7802e3f3dba5..18f06409e2d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,458 @@ +## 5.2.0-alpha.30 (June 25, 2019) + +This release merges `release/docs-technical-preview` branch back into `next` through a series of PRs. It also contains other changes that came in on `next` since the last alpha. + +### Features + +* CLI: Add info command to print environment information ([#6937](https://github.com/storybookjs/storybook/pull/6937)) +* CLI: Use process.env.CI if available ([#7118](https://github.com/storybookjs/storybook/pull/7118)) +* Addon-docs: Source loader library ([#7117](https://github.com/storybookjs/storybook/pull/7117)) +* Addon-docs: Support non-story exports in MDX ([#7188](https://github.com/storybookjs/storybook/pull/7188)) +* Addon-docs: Support non-story exports in module format ([#7185](https://github.com/storybookjs/storybook/pull/7185)) +* Addon-docs: Docs mode with `--docs` flag ([#7154](https://github.com/storybookjs/storybook/pull/7154)) +* Addon-docs: Convert to module format codemod ([#7174](https://github.com/storybookjs/storybook/pull/7174)) +* Addon-docs: MDX support ([#7145](https://github.com/storybookjs/storybook/pull/7145)) +* Addon-docs: Component parameter codemod ([#7155](https://github.com/storybookjs/storybook/pull/7155)) +* Addon-docs: DocsPage and doc blocks ([#7119](https://github.com/storybookjs/storybook/pull/7119)) +* Addon-docs: Module story format & framework param ([#7110](https://github.com/storybookjs/storybook/pull/7110)) +* Addon-docs: Basic skeleton, UI viewMode handling ([#7107](https://github.com/storybookjs/storybook/pull/7107)) + +### Bug Fixes + +* Addon-backgrounds: Fix unstretched preview background wrapper ([#7173](https://github.com/storybookjs/storybook/pull/7173)) +* Addon-notes/info: Fix indenting on markdown code blocks ([#7158](https://github.com/storybookjs/storybook/pull/7158)) +* Core: Improve HMR error reporting, no refreshes needed for error recovery ([#6972](https://github.com/storybookjs/storybook/pull/6972)) +* Addon-info: change stylesheetBase info height from 110vh to 100vh ([#7141](https://github.com/storybookjs/storybook/pull/7141)) + +### Maintenance + +* Typescript: Migrate addon viewport ([#7177](https://github.com/storybookjs/storybook/pull/7177)) + +### Dependency Upgrades + +* Bump css-loader from 2.1.1 to 3.0.0 ([#7122](https://github.com/storybookjs/storybook/pull/7122)) +* Upgrade core-js to 3.x in devkits ([#7171](https://github.com/storybookjs/storybook/pull/7171)) +* UPGRADE lazy-universal-dotenv ([#7151](https://github.com/storybookjs/storybook/pull/7151)) + +## 5.1.9 (June 20, 2019) + +### Bug Fixes + +* Core: Fix JSON babel config error reporting ([#7104](https://github.com/storybookjs/storybook/pull/7104)) +* UI: Fix about page version check message ([#7105](https://github.com/storybookjs/storybook/pull/7105)) + +### Dependency Upgrades + +* Add missing dependencies to ui/react ([#7081](https://github.com/storybookjs/storybook/pull/7081)) +* UPGRADE lazy-universal-dotenv ([#7151](https://github.com/storybookjs/storybook/pull/7151)) +* Make compatible with yarn Pnp ([#6922](https://github.com/storybookjs/storybook/pull/6922)) + +## 5.2.0-alpha.29 (June 17, 2019) + +### Features + +* Addon-notes: enable multiple sections in notes panel ([#6861](https://github.com/storybookjs/storybook/pull/6861)) +* Addon-context: title fallback ([#7078](https://github.com/storybookjs/storybook/pull/7078)) +* Addon-info: Fix rendering of code block ([#6016](https://github.com/storybookjs/storybook/pull/6016)) + +### Bug Fixes + +* Core: Fix JSON babel config error reporting ([#7104](https://github.com/storybookjs/storybook/pull/7104)) +* UI: Fix about page version check message ([#7105](https://github.com/storybookjs/storybook/pull/7105)) + +### Maintenance + +* Core: Refactor story_store ([#6382](https://github.com/storybookjs/storybook/pull/6382)) +* Core: Make compatible with yarn Pnp ([#6922](https://github.com/storybookjs/storybook/pull/6922)) + +### Dependency Upgrades + +* Bump jest-expo from 32.0.1 to 33.0.2 ([#6996](https://github.com/storybookjs/storybook/pull/6996)) + +## 5.2.0-alpha.28 (June 17, 2019) + +Publish failed + +## 5.2.0-alpha.27 (June 17, 2019) + +* CLI: improve bootstrap list ([#6993](https://github.com/storybookjs/storybook/pull/6993)) +* CLI: replaced merge-dirs dependency by fs-extra ([#7100](https://github.com/storybookjs/storybook/pull/7100)) + +## 5.1.8 (June 14, 2019) + +### Bug Fixes + +* CLI: Fix RN template to not import addons ([#7096](https://github.com/storybookjs/storybook/pull/7096)) + +## 5.1.7 (June 14, 2019) + +### Bug Fixes + +* UI: Fix warning of loading prop not being a string ([#7080](https://github.com/storybookjs/storybook/pull/7080)) + +## 5.1.6 (June 14, 2019) + +Publish failed + +## 5.1.5 (June 14, 2019) + +### Bug Fixes + +* Core: Upgrade plugin core-js fix ([#7086](https://github.com/storybookjs/storybook/pull/7086)) +* UI: Fix sidebar loading visibility ([#7073](https://github.com/storybookjs/storybook/pull/7073)) +* UI: Fix unnecessary large bundlesize ([#7091](https://github.com/storybookjs/storybook/pull/7091)) +* Addon-contexts, RN-server: Add core-js dep ([#7094](https://github.com/storybookjs/storybook/pull/7094)) + +## 5.2.0-alpha.26 (June 14, 2019) + +- Merge in changes from 5.1.7/next branch. +- Fix earlier merge problems relating to addon-docs: + - Restore `--docs` command-line functionality + - Fix refreshing docs page bug + +## 5.2.0-alpha.25 (June 14, 2019) + +Publish failed + +## 5.1.4 (June 13, 2019) + +### Bug Fixes + +* Core: Fix core-js 3 errors ([#7051](https://github.com/storybookjs/storybook/pull/7051)) +* UI: Fix syntax highlighter plain text not visible ([#7057](https://github.com/storybookjs/storybook/pull/7057)) +* Addon-actions: Add default options to action(s) ([#6438](https://github.com/storybookjs/storybook/pull/6438)) + +### Dependency Upgrades + +* fix: add missing core-js dependency ([#7016](https://github.com/storybookjs/storybook/pull/7016)) +* chore: set react version to 16.8.3 to match react native ([#7008](https://github.com/storybookjs/storybook/pull/7008)) + +## 5.2.0-alpha.24 (June 13, 2019) + +Merge in changes from 5.1.3/next branch. + +## 5.2.0-alpha.23 (June 10, 2019) + +Merge in changes from 5.1.3/next branch. Releasing from the addon-docs branch to keep things moving until we can merge addon-docs into next. + +## 5.2.0-alpha.22 (June 7, 2019) + +- Merge in changes from 5.1.1 +- Addon-docs: + - Inline stories respect height prop + - Export Description block + +## 5.1.3 (June 6, 2019) + +### Bug Fixes + +* UI: Fix links that are not working with plain left click ([#6970](https://github.com/storybookjs/storybook/pull/6970)) +* Core: Don't redefine `process` variable ([#6991](https://github.com/storybookjs/storybook/pull/6991)) +* Core: Don't mutate user's babel config ([#6987](https://github.com/storybookjs/storybook/pull/6987)) + +## 5.1.2 (June 6, 2019) + +Publish failed + +## 5.1.1 (June 5, 2019) + +Storybook 5.1 is a juicy upgrade including: + +- 📱 Mobile: Standalone package architecture for React Native +- 🎟 A11y addon: Realtime accessibility checks and visual feedback +- 🛠 Context addon: New UI for themes, internationalization, & more +- 🎛 Presets: One-line configuration for babel, webpack, & addons + +5.1 contains hundreds more fixes, features, and tweaks. Browse the changelogs matching `5.1.0-alpha.*`, `5.1.0-beta.*`, and `5.1.0-rc.*` for the full list of changes. See [MIGRATION.md](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md) to ugprade from `5.0` or earlier. + +## 5.1.0 (June 5, 2019) + +Publish failed + +## 5.1.0-rc.5 (June 4, 2019) + +### Features + +* UI: Add copy button for individual story ([#6719](https://github.com/storybookjs/storybook/pull/6719)) + +### Bug Fixes + +* UI: Fix canvas rendering issue ([#6968](https://github.com/storybookjs/storybook/pull/6968)) +* Angular: Remove zonejs from devDeps; allow ^0.8.0 || ^0.9.0 ([#6957](https://github.com/storybookjs/storybook/pull/6957)) +* Jest: layout/design fixes ([#6847](https://github.com/storybookjs/storybook/pull/6847)) +* Angular: Add 'addParameters' to index.d.ts ([#6929](https://github.com/storybookjs/storybook/pull/6929)) + +### Maintenance + +* FIX race condition in startup of verdaccio && FIX typos ([#6956](https://github.com/storybookjs/storybook/pull/6956)) +* Github org rename to storybookjs ([#6954](https://github.com/storybookjs/storybook/pull/6954)) + +## 5.1.0-rc.4 (June 2, 2019) + +### Features + +* Core: deep merge global options parameter ([#6900](https://github.com/storybookjs/storybook/pull/6900)) + +### Bug Fixes + +* Core: Fix webpack `process.*` variable definitions ([#6946](https://github.com/storybookjs/storybook/pull/6946)) +* Angular: Fix tsconfig.app.json detection for Angular 8 ([#6940](https://github.com/storybookjs/storybook/pull/6940)) + +## 5.2.0-alpha.21 (June 2, 2019) + +- Core: Convert module format to use default export for metadata +- Addon-docs: Compile MDX to default export modules format +- Source-loader: Support parameter injection for default export metadata + +## 5.2.0-alpha.20 (May 31, 2019) + +- Addon-docs: Use Meta doc block instead of exporting componentMeta + +## 5.1.0-rc.3 (May 29, 2019) + +### Features + +* React-native: Add accessibility on searchbar ([#6819](https://github.com/storybookjs/storybook/pull/6819)) + +### Bug Fixes + +* Storyshots: make compatible with read-pkg-up version ([#6907](https://github.com/storybookjs/storybook/pull/6907)) +* Addon-info: Fix issue where forwardRefs throw ([#6859](https://github.com/storybookjs/storybook/pull/6859)) +* Addon-notes: Fix whitespace rendering bug ([#6881](https://github.com/storybookjs/storybook/pull/6881)) + +### Dependency Upgrades + +* Bump @types/enzyme from 3.9.2 to 3.9.3 ([#6891](https://github.com/storybookjs/storybook/pull/6891)) +* Bump eslint-plugin-import from 2.17.2 to 2.17.3 ([#6894](https://github.com/storybookjs/storybook/pull/6894)) +* Bump mini-css-extract-plugin from 0.6.0 to 0.7.0 ([#6895](https://github.com/storybookjs/storybook/pull/6895)) +* Bump ts-node from 8.1.0 to 8.2.0 ([#6890](https://github.com/storybookjs/storybook/pull/6890)) +* Bump svelte from 3.4.2 to 3.4.4 ([#6892](https://github.com/storybookjs/storybook/pull/6892)) + +## 5.2.0-alpha.19 (May 28, 2019) + +- Source-loader: Fix bad package dependencies + +## 5.1.0-rc.2 (May 27, 2019) + +### Bug Fixes + +* Core: Fix JS/JSON loading babel config ([#6878](https://github.com/storybookjs/storybook/pull/6878)) + +## 5.2.0-alpha.18 (May 26, 2019) + +- Addon-docs: Codemod for adding component parameters +- Core: Babel config loading bugfix ([#6878](https://github.com/storybookjs/storybook/pull/6878)) + +## 5.2.0-alpha.17 (May 26, 2019) + +- Addon-docs: Refer to selected story/component with `id="."` / `of="."` + +## 5.2.0-alpha.16 (May 25, 2019) + +- Addon-docs: Auto-configure `inlineStories` & `getPropDefs` based on framework + +## 5.2.0-alpha.15 (May 25, 2019) + +- Addon-docs: Expanded Vue support + - Props table support + - iframeHeight configuration parameter + +## 5.2.0-alpha.14 (May 25, 2019) + +- Addon-docs: Expanded source formats via `@storybook/source-loader` + - Legacy `storiesOf` format x (JS / TSX) + - Component modules format x (JS / TSX) + - Component MDX format + +## 5.2.0-alpha.13 (May 24, 2019) + +- Addon-docs: Add documentation-only `--docs` option to build storybook + +## 5.1.0-rc.1 (May 24, 2019) + +### Features + +* Core: Support loglevel for production/ci builds ([#6825](https://github.com/storybookjs/storybook/pull/6825)) + +### Bug Fixes + +* Addon-storysource: Fix link color ([#6876](https://github.com/storybookjs/storybook/pull/6876)) +* Addon-centered: Fix unnecessary scroll bar ([#6862](https://github.com/storybookjs/storybook/pull/6862)) +* UI: Apply customQueryParams to eject iframe button ([#6817](https://github.com/storybookjs/storybook/pull/6817)) +* Theming: resolve paths locally if possible ([#6808](https://github.com/storybookjs/storybook/pull/6808)) +* Addon-links: Fix withLinks decorator ([#6823](https://github.com/storybookjs/storybook/pull/6823)) + +### Maintenance + +* Addon-contexts: component tests and readability improvements ([#6716](https://github.com/storybookjs/storybook/pull/6716)) + +### Dependency Upgrades + +* Upgrade CRA preset dependencies to match CRA v3 ([#6589](https://github.com/storybookjs/storybook/pull/6589)) +* Bump schedule from 0.4.0 to 0.5.0 ([#6843](https://github.com/storybookjs/storybook/pull/6843)) +* UPGRADE dependencies & fix a security vulnerability (low-prio) ([#6875](https://github.com/storybookjs/storybook/pull/6875)) +* Bump simplebar-react from 1.0.0-alpha.9 to 1.0.0 ([#6842](https://github.com/storybookjs/storybook/pull/6842)) +* Bump ts-loader from 5.4.5 to 6.0.1 ([#6839](https://github.com/storybookjs/storybook/pull/6839)) +* Bump @types/react from 16.8.17 to 16.8.18 ([#6841](https://github.com/storybookjs/storybook/pull/6841)) +* Bump core-js-pure from 3.1.0 to 3.1.1 ([#6840](https://github.com/storybookjs/storybook/pull/6840)) + +## 5.1.0-rc.0 (May 21, 2019) + +### Bug Fixes + +* UI: Fix initial bottom panel size ([#6822](https://github.com/storybookjs/storybook/pull/6822)) +* UI: Fix syntaxthighlighter themes ([#6814](https://github.com/storybookjs/storybook/pull/6814)) +* Addon-knobs: Fix Boolean knob (#6366) ([#6830](https://github.com/storybookjs/storybook/pull/6830)) +* Theming: Change lib/theming so it no longer depends on react-inspector ([#6818](https://github.com/storybookjs/storybook/pull/6818)) +* Core: Handle loading `.storybook/babel.config.js` (#6633) ([#6634](https://github.com/storybookjs/storybook/pull/6634)) +* CLI: Fix init in create-react-library projects ([#6815](https://github.com/storybookjs/storybook/pull/6815)) +* HTML: support knobs for both cached and uncached nodes ([#6783](https://github.com/storybookjs/storybook/pull/6783)) +* Uncorrupt yarn lock ([#6811](https://github.com/storybookjs/storybook/pull/6811)) +* Core: set a better value for process in manager webpack config ([#6767](https://github.com/storybookjs/storybook/pull/6767)) + +### Maintenance + +* Typescript: Migrate addon-centered ([#6772](https://github.com/storybookjs/storybook/pull/6772)) +* Add engine field to package.json in apps ([#6809](https://github.com/storybookjs/storybook/pull/6809)) +* Fix required engine for apps ([#6810](https://github.com/storybookjs/storybook/pull/6810)) + +### Dependency Upgrades + +* Upgrade lodash to latest ([#6832](https://github.com/storybookjs/storybook/pull/6832)) +* Bump svelte from 3.4.1 to 3.4.2 ([#6838](https://github.com/storybookjs/storybook/pull/6838)) +* Misc upgrades ([#6820](https://github.com/storybookjs/storybook/pull/6820)) + +## 5.2.0-alpha.12 (May 21, 2019) + +- Addon-docs: Fix regression in preview source for legacy stories + +## 5.2.0-alpha.11 (May 21, 2019) + +- Addon-docs: + - Source refer to stories by name + - Source support for multi-story previews + - Fix loader bug for plaintext stories + +## 5.2.0-alpha.10 (May 19, 2019) + +- Addon-docs: Display source dropdown in preview component + +## 5.2.0-alpha.9 (May 17, 2019) + +- Addon-docs bugfixes: + - Fix broken components stories + - Fix regression in iframe preview + - Fix docgen props block + - Fix margin styling on docs page + +## 5.1.0-beta.1 (May 16, 2019) + +### Bug Fixes + +* UI: Scrollbar supports theming again ([#6794](https://github.com/storybookjs/storybook/pull/6794)) +* UI: Fix scrolling styling ([#6785](https://github.com/storybookjs/storybook/pull/6785)) +* UI: Fix iframe refresh ([#6787](https://github.com/storybookjs/storybook/pull/6787)) +* UI: Preserve dimensions on resizing for panel ([#6696](https://github.com/storybookjs/storybook/pull/6696)) + +### Maintenance + +* Move chromatic to circle ci ([#6752](https://github.com/storybookjs/storybook/pull/6752)) + +### Dependency Upgrades + +* Bump fs-extra from 7.0.1 to 8.0.1 ([#6776](https://github.com/storybookjs/storybook/pull/6776)) + +## 5.2.0-alpha.8 (May 15, 2019) + +- Addon-docs: Optimize docs pane rerendering + +## 5.2.0-alpha.7 (May 15, 2019) + +- Addon-docs: Docs page bugfix +- Addon-docs: Fix source block for legacy stories + +NOTE: use `@storybook/addon-storysource/loader` with option `injectParameters: true` for legacy source + +## 5.2.0-alpha.6 (May 14, 2019) + +- Addon-docs: Docs page content update +- Addon-docs: Preview component redefinition + +#### Breaking changes + +Preview behavior has been updated. Docs page content has been updated. + +Before: + +- `` defines a story, `` references it + +After: + +- `` defines a story, `` references it +- `` shows one or more stories in a grid + +## 5.2.0-alpha.5 (May 12, 2019) + +- Addon-docs: Description block refactor and bugfixes + +## 5.2.0-alpha.4 (May 11, 2019) + +- Addon-docs: Source, Props, DocsPage doc blocks + +#### Breaking changes + +- Doc blocks & presets have moved. Update your MDX stories and `presets.js` file accordingly: + - `import { Preview, Story } from '@storybook/addon-docs/blocks'; + - `module.exports = ['@storybook/addon-docs/common/preset'];` + +## 5.1.0-beta.0 (May 10, 2019) + +Welcome to the 5.1 beta! Feature development's done; `beta.0` kicks off the stabilization process for the 5.1 final release. 🚀 + +## 5.1.0-alpha.40 (May 8, 2019) + +### Features + +- Svelte: Add svelte v3 support ([#6698](https://github.com/storybookjs/storybook/pull/6698)) +- Angular: Disable production mode for debugging components ([#6215](https://github.com/storybookjs/storybook/pull/6215)) +- Angular: Allow optional component declaration without additional configuration ([#6666](https://github.com/storybookjs/storybook/pull/6666)) +- Core: Allow browsing to a kind and get the first story ([#6720](https://github.com/storybookjs/storybook/pull/6720)) + +### Bug Fixes + +- UI: Preserve dimensions on resizing for panel ([#6696](https://github.com/storybookjs/storybook/pull/6696)) + +### Maintenance + +- Add CRA React15 example to test back-compat ([#6475](https://github.com/storybookjs/storybook/pull/6475)) +- Remove teamcity CLI tests ([#6707](https://github.com/storybookjs/storybook/pull/6707)) + +### Dependency Upgrades + +- Upgrade to core-js v3 ([#6655](https://github.com/storybookjs/storybook/pull/6655)) +- Bump eslint-plugin-react from 7.12.4 to 7.13.0 ([#6728](https://github.com/storybookjs/storybook/pull/6728)) +- Bump @types/react-native from 0.57.50 to 0.57.51 ([#6732](https://github.com/storybookjs/storybook/pull/6732)) +- Bump @types/node from 11.13.7 to 12.0.0 ([#6730](https://github.com/storybookjs/storybook/pull/6730)) +- Bump jest-cli from 24.7.1 to 24.8.0 ([#6729](https://github.com/storybookjs/storybook/pull/6729)) +- Bump @babel/preset-env from 7.4.3 to 7.4.4 ([#6731](https://github.com/storybookjs/storybook/pull/6731)) +- Bump raw-loader from 1.0.0 to 2.0.0 ([#6685](https://github.com/storybookjs/storybook/pull/6685)) +- Bump react-color from 2.17.1 to 2.17.3 ([#6681](https://github.com/storybookjs/storybook/pull/6681)) +- Bump @babel/plugin-proposal-class-properties from 7.4.0 to 7.4.4 ([#6686](https://github.com/storybookjs/storybook/pull/6686)) +- Bump react-dev-utils from 8.0.0 to 9.0.0 ([#6682](https://github.com/storybookjs/storybook/pull/6682)) +- Bump codelyzer from 5.0.0 to 5.0.1 ([#6687](https://github.com/storybookjs/storybook/pull/6687)) +- Bump @types/react from 16.8.14 to 16.8.16 ([#6717](https://github.com/storybookjs/storybook/pull/6717)) +- Bump react-redux from 7.0.2 to 7.0.3 ([#6684](https://github.com/storybookjs/storybook/pull/6684)) + ## 5.1.0-alpha.39 (May 2, 2019) ### Features -- React-native: Ondevice actions ([#6594](https://github.com/storybooks/storybook/pull/6594)) -- React-native: Use emotion to style RN UI ([#6603](https://github.com/storybooks/storybook/pull/6603)) +- React-native: Ondevice actions ([#6594](https://github.com/storybookjs/storybook/pull/6594)) +- React-native: Use emotion to style RN UI ([#6603](https://github.com/storybookjs/storybook/pull/6603)) ### Bug Fixes -- API: Mimic PureComponent behavior for Consumer children ([#6412](https://github.com/storybooks/storybook/pull/6412)) +- API: Mimic PureComponent behavior for Consumer children ([#6412](https://github.com/storybookjs/storybook/pull/6412)) ## 5.1.0-alpha.38 (May 2, 2019) @@ -17,173 +462,192 @@ Failed publish ### Bug Fixes -- Core: Fix regression with deep linking ([#6688](https://github.com/storybooks/storybook/pull/6688)) -- Addon-contexts: No cancel option in UI if the context have no param ([#6669](https://github.com/storybooks/storybook/pull/6669)) -- CLI: Fix `sb init` for projects with frozen lock files ([#6629](https://github.com/storybooks/storybook/pull/6629)) +- Core: Fix regression with deep linking ([#6688](https://github.com/storybookjs/storybook/pull/6688)) +- Addon-contexts: No cancel option in UI if the context have no param ([#6669](https://github.com/storybookjs/storybook/pull/6669)) +- CLI: Fix `sb init` for projects with frozen lock files ([#6629](https://github.com/storybookjs/storybook/pull/6629)) ### Maintenance -- CLI: Refactor how we install dev dependencies in cli ([#6695](https://github.com/storybooks/storybook/pull/6695)) +- CLI: Refactor how we install dev dependencies in cli ([#6695](https://github.com/storybookjs/storybook/pull/6695)) + +## 5.2.0-alpha.3 (May 1, 2019) + +- Addon-docs: Add Story decorator and parameter support +- Addon-docs: Remove need for extra project babelrc + +## 5.2.0-alpha.2 (April 30, 2019) + +- Addon-docs: Streamline setup, fix MDX dependencies, improve MDX import, and update guide + +## 5.2.0-alpha.0 (April 29, 2019) + +Storybook Docs technical preview: + +- Docs addon +- MDX story format +- Module story format +- Load API +- [Guide](https://docs.google.com/document/d/1un6YX7xDKEKl5-MVb-egnOYN8dynb5Hf7mq0hipk8JE/edit?usp=sharing) ## 5.0.11 (April 28, 2019) ### Bug Fixes -- Polymer: Fix re-rendering lit-html elements after non-lit-html element ([#5868](https://github.com/storybooks/storybook/pull/5868)) -- Addon-knobs: Check color knob value before applying uppercase ([#6598](https://github.com/storybooks/storybook/pull/6598)) -- Angular: Fix sourceMap property of angulars webpack config ([#6535](https://github.com/storybooks/storybook/pull/6535)) +- Polymer: Fix re-rendering lit-html elements after non-lit-html element ([#5868](https://github.com/storybookjs/storybook/pull/5868)) +- Addon-knobs: Check color knob value before applying uppercase ([#6598](https://github.com/storybookjs/storybook/pull/6598)) +- Angular: Fix sourceMap property of angulars webpack config ([#6535](https://github.com/storybookjs/storybook/pull/6535)) ### Maintenance -- UI: Add missing props in stories ([#6353](https://github.com/storybooks/storybook/pull/6353)) +- UI: Add missing props in stories ([#6353](https://github.com/storybookjs/storybook/pull/6353)) ## 5.1.0-alpha.36 (April 27, 2019) ### Features -- Addon-contexts: Preact support ([#6660](https://github.com/storybooks/storybook/pull/6660)) -- Angular: Allow optional component declaration ([#6346](https://github.com/storybooks/storybook/pull/6346)) +- Addon-contexts: Preact support ([#6660](https://github.com/storybookjs/storybook/pull/6660)) +- Angular: Allow optional component declaration ([#6346](https://github.com/storybookjs/storybook/pull/6346)) ### Bug Fixes -- CLI: Fix `sb init` for projects with frozen lock files ([#6629](https://github.com/storybooks/storybook/pull/6629)) +- CLI: Fix `sb init` for projects with frozen lock files ([#6629](https://github.com/storybookjs/storybook/pull/6629)) ### Dependency Upgrades -- [Snyk] Fix for 1 vulnerable dependencies ([#6647](https://github.com/storybooks/storybook/pull/6647)) +- [Snyk] Fix for 1 vulnerable dependencies ([#6647](https://github.com/storybookjs/storybook/pull/6647)) ## 5.1.0-alpha.35 (April 27, 2019) ### Features -- Addon-notes: use @storybook/router to render links in notes ([#6398](https://github.com/storybooks/storybook/pull/6398)) -- Angular: Support default `storybook` project configuration ([#6484](https://github.com/storybooks/storybook/pull/6484)) -- Addon-contexts: Improve Vue integration ([#6632](https://github.com/storybooks/storybook/pull/6632)) -- Addon-a11y: Design enhancements ([#6563](https://github.com/storybooks/storybook/pull/6563)) +- Addon-notes: use @storybook/router to render links in notes ([#6398](https://github.com/storybookjs/storybook/pull/6398)) +- Angular: Support default `storybook` project configuration ([#6484](https://github.com/storybookjs/storybook/pull/6484)) +- Addon-contexts: Improve Vue integration ([#6632](https://github.com/storybookjs/storybook/pull/6632)) +- Addon-a11y: Design enhancements ([#6563](https://github.com/storybookjs/storybook/pull/6563)) ### Bug Fixes -- UI: `active` PropTypes on MobileLayout ([#6241](https://github.com/storybooks/storybook/pull/6241)) -- Core: Fix css import when sideEffects is false ([#6650](https://github.com/storybooks/storybook/pull/6650)) -- Core: Fix infinite loop with special characters in kind names ([#6607](https://github.com/storybooks/storybook/pull/6607)) -- UI: Fix 'Escape' onKeyUp event doesn't work ([#6578](https://github.com/storybooks/storybook/pull/6578)) +- UI: `active` PropTypes on MobileLayout ([#6241](https://github.com/storybookjs/storybook/pull/6241)) +- Core: Fix css import when sideEffects is false ([#6650](https://github.com/storybookjs/storybook/pull/6650)) +- Core: Fix infinite loop with special characters in kind names ([#6607](https://github.com/storybookjs/storybook/pull/6607)) +- UI: Fix 'Escape' onKeyUp event doesn't work ([#6578](https://github.com/storybookjs/storybook/pull/6578)) ### Maintenance -- UI: Add missing props in stories ([#6353](https://github.com/storybooks/storybook/pull/6353)) -- Build: tslint, and use eslint for everything ([#6621](https://github.com/storybooks/storybook/pull/6621)) -- Build: deploy to local registry ([#6619](https://github.com/storybooks/storybook/pull/6619)) +- UI: Add missing props in stories ([#6353](https://github.com/storybookjs/storybook/pull/6353)) +- Build: tslint, and use eslint for everything ([#6621](https://github.com/storybookjs/storybook/pull/6621)) +- Build: deploy to local registry ([#6619](https://github.com/storybookjs/storybook/pull/6619)) ### Dependency Upgrades -- Bump ts-node from 8.0.3 to 8.1.0 ([#6585](https://github.com/storybooks/storybook/pull/6585)) -- Bump semver from 5.7.0 to 6.0.0 ([#6580](https://github.com/storybooks/storybook/pull/6580)) -- Bump react-color from 2.17.0 to 2.17.1 ([#6583](https://github.com/storybooks/storybook/pull/6583)) +- Bump ts-node from 8.0.3 to 8.1.0 ([#6585](https://github.com/storybookjs/storybook/pull/6585)) +- Bump semver from 5.7.0 to 6.0.0 ([#6580](https://github.com/storybookjs/storybook/pull/6580)) +- Bump react-color from 2.17.0 to 2.17.1 ([#6583](https://github.com/storybookjs/storybook/pull/6583)) ## 5.1.0-alpha.34 (April 24, 2019) ### Features -- Addon-contexts: Add URL query param feature ([#6601](https://github.com/storybooks/storybook/pull/6601)) -- UI: Add classNames to sidebar nav elements ([#6571](https://github.com/storybooks/storybook/pull/6571)) +- Addon-contexts: Add URL query param feature ([#6601](https://github.com/storybookjs/storybook/pull/6601)) +- UI: Add classNames to sidebar nav elements ([#6571](https://github.com/storybookjs/storybook/pull/6571)) ### Bug Fixes -- Addon-knobs: Check color knob value before applying uppercase ([#6598](https://github.com/storybooks/storybook/pull/6598)) -- React-native: Restore title in section header ([#6599](https://github.com/storybooks/storybook/pull/6599)) +- Addon-knobs: Check color knob value before applying uppercase ([#6598](https://github.com/storybookjs/storybook/pull/6598)) +- React-native: Restore title in section header ([#6599](https://github.com/storybookjs/storybook/pull/6599)) ## 5.1.0-alpha.33 (April 23, 2019) ### Features -- React: Add support for create-react-app@3.0.0 ([#6560](https://github.com/storybooks/storybook/pull/6560)) +- React: Add support for create-react-app@3.0.0 ([#6560](https://github.com/storybookjs/storybook/pull/6560)) ## 5.1.0-alpha.32 (April 22, 2019) ### Bug Fixes -- Addon-contexts: bug-fixing, testing, typing ([#6572](https://github.com/storybooks/storybook/pull/6572)) +- Addon-contexts: bug-fixing, testing, typing ([#6572](https://github.com/storybookjs/storybook/pull/6572)) ### Dependency Upgrades -- CHANGE opn to open ([#6567](https://github.com/storybooks/storybook/pull/6567)) +- CHANGE opn to open ([#6567](https://github.com/storybookjs/storybook/pull/6567)) ## 5.1.0-alpha.31 (April 19, 2019) ### Features -- Addon-backgrounds: Emit event on updating background ([#6561](https://github.com/storybooks/storybook/pull/6561)) -- Addon-contexts: Merge into monorepo ([#6559](https://github.com/storybooks/storybook/pull/6559)) +- Addon-backgrounds: Emit event on updating background ([#6561](https://github.com/storybookjs/storybook/pull/6561)) +- Addon-contexts: Merge into monorepo ([#6559](https://github.com/storybookjs/storybook/pull/6559)) ### Bug Fixes -- Angular: Fix sourceMap property of angulars webpack config ([#6535](https://github.com/storybooks/storybook/pull/6535)) -- Addon-jest: Fix result display ([#6539](https://github.com/storybooks/storybook/pull/6539)) +- Angular: Fix sourceMap property of angulars webpack config ([#6535](https://github.com/storybookjs/storybook/pull/6535)) +- Addon-jest: Fix result display ([#6539](https://github.com/storybookjs/storybook/pull/6539)) ### Dependency Upgrades -- Bump ember-source from 3.8.1 to 3.9.1 ([#6531](https://github.com/storybooks/storybook/pull/6531)) -- Bump typescript from 3.4.2 to 3.4.3 ([#6528](https://github.com/storybooks/storybook/pull/6528)) +- Bump ember-source from 3.8.1 to 3.9.1 ([#6531](https://github.com/storybookjs/storybook/pull/6531)) +- Bump typescript from 3.4.2 to 3.4.3 ([#6528](https://github.com/storybookjs/storybook/pull/6528)) ## 5.0.10 (April 18, 2019) ### Bug Fixes -- Theming: legacy options don't override set config options ([#6543](https://github.com/storybooks/storybook/pull/6543)) -- Theming: Fix null brandImage ([#6544](https://github.com/storybooks/storybook/pull/6544)) +- Theming: legacy options don't override set config options ([#6543](https://github.com/storybookjs/storybook/pull/6543)) +- Theming: Fix null brandImage ([#6544](https://github.com/storybookjs/storybook/pull/6544)) ## 5.1.0-alpha.30 (April 18, 2019) ### Bug Fixes -- UI: Fix hard-coded viewmode to enable tabbed addons ([#6551](https://github.com/storybooks/storybook/pull/6551)) -- Theming: legacy options don't override set config options ([#6543](https://github.com/storybooks/storybook/pull/6543)) -- React-native: Fix preview only UI ([#6549](https://github.com/storybooks/storybook/pull/6549)) +- UI: Fix hard-coded viewmode to enable tabbed addons ([#6551](https://github.com/storybookjs/storybook/pull/6551)) +- Theming: legacy options don't override set config options ([#6543](https://github.com/storybookjs/storybook/pull/6543)) +- React-native: Fix preview only UI ([#6549](https://github.com/storybookjs/storybook/pull/6549)) ### Dependency Upgrades -- Bump react-redux from 6.0.1 to 7.0.2 ([#6529](https://github.com/storybooks/storybook/pull/6529)) +- Bump react-redux from 6.0.1 to 7.0.2 ([#6529](https://github.com/storybookjs/storybook/pull/6529)) ### Maintenance -- Addon-storysource: Migrate from using channel to api ([#6550](https://github.com/storybooks/storybook/pull/6550)) +- Addon-storysource: Migrate from using channel to api ([#6550](https://github.com/storybookjs/storybook/pull/6550)) ## 5.1.0-alpha.29 (April 17, 2019) ### Bug Fixes -- Theming: Fix null brandImage ([#6544](https://github.com/storybooks/storybook/pull/6544)) +- Theming: Fix null brandImage ([#6544](https://github.com/storybookjs/storybook/pull/6544)) ### Maintenance -- Typescript: Migrate @storybook/components part 2 ([#6500](https://github.com/storybooks/storybook/pull/6500)) +- Typescript: Migrate @storybook/components part 2 ([#6500](https://github.com/storybookjs/storybook/pull/6500)) ### Dependency Upgrades -- Bump @types/node from 11.11.8 to 11.13.4 ([#6527](https://github.com/storybooks/storybook/pull/6527)) -- Bump danger from 7.0.19 to 7.1.2 ([#6530](https://github.com/storybooks/storybook/pull/6530)) +- Bump @types/node from 11.11.8 to 11.13.4 ([#6527](https://github.com/storybookjs/storybook/pull/6527)) +- Bump danger from 7.0.19 to 7.1.2 ([#6530](https://github.com/storybookjs/storybook/pull/6530)) ## 5.0.9 (April 17, 2019) ### Bug Fixes -- UI: Fix panel toggle behavior in fullscreen ([#6525](https://github.com/storybooks/storybook/pull/6525)) -- Addon-Knobs: Add missing groupId for files knob ([#6534](https://github.com/storybooks/storybook/pull/6534)) -- Theming: FIX brandImage when theme created with brandTitle ([#6120](https://github.com/storybooks/storybook/pull/6120)) +- UI: Fix panel toggle behavior in fullscreen ([#6525](https://github.com/storybookjs/storybook/pull/6525)) +- Addon-Knobs: Add missing groupId for files knob ([#6534](https://github.com/storybookjs/storybook/pull/6534)) +- Theming: FIX brandImage when theme created with brandTitle ([#6120](https://github.com/storybookjs/storybook/pull/6120)) ## 5.1.0-alpha.28 (April 16, 2019) ### Bug Fixes -- UI: Fix panel toggle behavior in fullscreen ([#6525](https://github.com/storybooks/storybook/pull/6525)) -- Addon-Knobs: Add missing groupId for files knob ([#6534](https://github.com/storybooks/storybook/pull/6534)) +- UI: Fix panel toggle behavior in fullscreen ([#6525](https://github.com/storybookjs/storybook/pull/6525)) +- Addon-Knobs: Add missing groupId for files knob ([#6534](https://github.com/storybookjs/storybook/pull/6534)) ### Maintenance -- Typescript: Fix ts-lint config to lint `tsx` files ([#6533](https://github.com/storybooks/storybook/pull/6533)) -- Typescript: Migrate app/react-native ([#6448](https://github.com/storybooks/storybook/pull/6448)) -- CLI: Improve cli for react-native ([#6515](https://github.com/storybooks/storybook/pull/6515)) -- Workflow: Automention for project maintainers ([#6509](https://github.com/storybooks/storybook/pull/6509)) +- Typescript: Fix ts-lint config to lint `tsx` files ([#6533](https://github.com/storybookjs/storybook/pull/6533)) +- Typescript: Migrate app/react-native ([#6448](https://github.com/storybookjs/storybook/pull/6448)) +- CLI: Improve cli for react-native ([#6515](https://github.com/storybookjs/storybook/pull/6515)) +- Workflow: Automention for project maintainers ([#6509](https://github.com/storybookjs/storybook/pull/6509)) ## 5.0.8 (April 15, 2019) @@ -193,7 +657,7 @@ Bump version to make `5.0.x` latest since I just released a patch in `v4.1.18` ### Bug Fixes -- Pin react-treebeard dependency at 3.1.0 ([#6517](https://github.com/storybooks/storybook/pull/6517)) +- Pin react-treebeard dependency at 3.1.0 ([#6517](https://github.com/storybookjs/storybook/pull/6517)) ## 4.1.17 (April 15, 2019) @@ -203,217 +667,217 @@ NPM publish failed ### Bug Fixes -- Addon-Knobs: Fix sorting of knobs Panels ([#6480](https://github.com/storybooks/storybook/pull/6480)) -- UI: Fix clickable footer links on about page ([#6441](https://github.com/storybooks/storybook/pull/6441)) -- UI: Fix 'read full changelog' link on about page ([#6385](https://github.com/storybooks/storybook/pull/6385)) +- Addon-Knobs: Fix sorting of knobs Panels ([#6480](https://github.com/storybookjs/storybook/pull/6480)) +- UI: Fix clickable footer links on about page ([#6441](https://github.com/storybookjs/storybook/pull/6441)) +- UI: Fix 'read full changelog' link on about page ([#6385](https://github.com/storybookjs/storybook/pull/6385)) ## 5.1.0-alpha.27 (April 14, 2019) ### Features -- Core: Disable webpack performance hints in manager config ([#6390](https://github.com/storybooks/storybook/pull/6390)) -- Addon-A11y: Drop a11y filter on double click ([#6503](https://github.com/storybooks/storybook/pull/6503)) +- Core: Disable webpack performance hints in manager config ([#6390](https://github.com/storybookjs/storybook/pull/6390)) +- Addon-A11y: Drop a11y filter on double click ([#6503](https://github.com/storybookjs/storybook/pull/6503)) ### Bug Fixes -- Addon-Jest: use 'off' instead of 'removeListener' ([#6508](https://github.com/storybooks/storybook/pull/6508)) +- Addon-Jest: use 'off' instead of 'removeListener' ([#6508](https://github.com/storybookjs/storybook/pull/6508)) ## 5.1.0-alpha.26 (April 13, 2019) ### Bug Fixes -- Addon-background: Fix addon by moving 'iframe' styles ([#6502](https://github.com/storybooks/storybook/pull/6502)) +- Addon-background: Fix addon by moving 'iframe' styles ([#6502](https://github.com/storybookjs/storybook/pull/6502)) ## 5.1.0-alpha.25 (April 12, 2019) ### Features -- Addon-info: Add support for memoized components ([#6347](https://github.com/storybooks/storybook/pull/6347)) -- Addon-notes: Register notes as a panel or tab ([#6091](https://github.com/storybooks/storybook/pull/6091)) +- Addon-info: Add support for memoized components ([#6347](https://github.com/storybookjs/storybook/pull/6347)) +- Addon-notes: Register notes as a panel or tab ([#6091](https://github.com/storybookjs/storybook/pull/6091)) ### Bug Fixes -- Core: Fix: custom parameters on preview url ([#6486](https://github.com/storybooks/storybook/pull/6486)) -- Addon-knobs: Fix sorting of ungrouped knobs panel ([#6480](https://github.com/storybooks/storybook/pull/6480)) -- Core: Use babel-loader from react-scripts ([#5308](https://github.com/storybooks/storybook/pull/5308)) +- Core: Fix: custom parameters on preview url ([#6486](https://github.com/storybookjs/storybook/pull/6486)) +- Addon-knobs: Fix sorting of ungrouped knobs panel ([#6480](https://github.com/storybookjs/storybook/pull/6480)) +- Core: Use babel-loader from react-scripts ([#5308](https://github.com/storybookjs/storybook/pull/5308)) ### Dependency Upgrades -- Bump opn from 5.4.0 to 6.0.0 ([#6370](https://github.com/storybooks/storybook/pull/6370)) -- Bump @angular/forms from 7.2.7 to 7.2.12 ([#6424](https://github.com/storybooks/storybook/pull/6424)) -- chore(deps): bump marko from 4.16.7 to 4.16.9 ([#6459](https://github.com/storybooks/storybook/pull/6459)) -- chore(deps-dev): bump @types/react from 16.8.12 to 16.8.13 ([#6457](https://github.com/storybooks/storybook/pull/6457)) -- chore(deps-dev): bump typescript from 3.4.1 to 3.4.2 ([#6456](https://github.com/storybooks/storybook/pull/6456)) +- Bump opn from 5.4.0 to 6.0.0 ([#6370](https://github.com/storybookjs/storybook/pull/6370)) +- Bump @angular/forms from 7.2.7 to 7.2.12 ([#6424](https://github.com/storybookjs/storybook/pull/6424)) +- chore(deps): bump marko from 4.16.7 to 4.16.9 ([#6459](https://github.com/storybookjs/storybook/pull/6459)) +- chore(deps-dev): bump @types/react from 16.8.12 to 16.8.13 ([#6457](https://github.com/storybookjs/storybook/pull/6457)) +- chore(deps-dev): bump typescript from 3.4.1 to 3.4.2 ([#6456](https://github.com/storybookjs/storybook/pull/6456)) ## 5.1.0-alpha.24 (April 9, 2019) ### Maintenance -- React-native: Remove channel dep from ondevice-notes ([#6431](https://github.com/storybooks/storybook/pull/6431)) -- Typescript: Migrate @storybook/components ([#6095](https://github.com/storybooks/storybook/pull/6095)) +- React-native: Remove channel dep from ondevice-notes ([#6431](https://github.com/storybookjs/storybook/pull/6431)) +- Typescript: Migrate @storybook/components ([#6095](https://github.com/storybookjs/storybook/pull/6095)) ## 5.1.0-alpha.23 (April 8, 2019) ### Features -- Addon-a11y: Add 'indeterminate' checkbox state for partial selected group ([#6405](https://github.com/storybooks/storybook/pull/6405)) -- Angular: Add out-of-the-box support for \*.md ([#6444](https://github.com/storybooks/storybook/pull/6444)) +- Addon-a11y: Add 'indeterminate' checkbox state for partial selected group ([#6405](https://github.com/storybookjs/storybook/pull/6405)) +- Angular: Add out-of-the-box support for \*.md ([#6444](https://github.com/storybookjs/storybook/pull/6444)) ### Bug Fixes -- UI: Move '@emotion/\*' path-resolutions to the dependent package ([#6435](https://github.com/storybooks/storybook/pull/6435)) -- Core: Set custom options on first load ([#6395](https://github.com/storybooks/storybook/pull/6395)) -- UI: clickable footer links ([#6441](https://github.com/storybooks/storybook/pull/6441)) +- UI: Move '@emotion/\*' path-resolutions to the dependent package ([#6435](https://github.com/storybookjs/storybook/pull/6435)) +- Core: Set custom options on first load ([#6395](https://github.com/storybookjs/storybook/pull/6395)) +- UI: clickable footer links ([#6441](https://github.com/storybookjs/storybook/pull/6441)) ### Maintenance -- Typescript: Migrate @storybook/addon-jest ([#6403](https://github.com/storybooks/storybook/pull/6403)) +- Typescript: Migrate @storybook/addon-jest ([#6403](https://github.com/storybookjs/storybook/pull/6403)) ## 5.1.0-alpha.22 (April 5, 2019) ### Features -- Addon-actions: Add depth option for serialization ([#6410](https://github.com/storybooks/storybook/pull/6410)) +- Addon-actions: Add depth option for serialization ([#6410](https://github.com/storybookjs/storybook/pull/6410)) ### Bug Fixes -- Core: Respect webpack config stats in static build ([#6401](https://github.com/storybooks/storybook/pull/6401)) +- Core: Respect webpack config stats in static build ([#6401](https://github.com/storybookjs/storybook/pull/6401)) ### Maintenance -- Typescript: Migrate addon-options ([#6428](https://github.com/storybooks/storybook/pull/6428)) +- Typescript: Migrate addon-options ([#6428](https://github.com/storybookjs/storybook/pull/6428)) ### Dependency Upgrades -- Bump danger from 7.0.15 to 7.0.19 ([#6371](https://github.com/storybooks/storybook/pull/6371)) -- Bump jest-cli from 23.6.0 to 24.0.0 ([#5389](https://github.com/storybooks/storybook/pull/5389)) +- Bump danger from 7.0.15 to 7.0.19 ([#6371](https://github.com/storybookjs/storybook/pull/6371)) +- Bump jest-cli from 23.6.0 to 24.0.0 ([#5389](https://github.com/storybookjs/storybook/pull/5389)) ## 5.1.0-alpha.21 (April 4, 2019) ### Features -- Addon-centered: Fix horizontal scrolling overflow ([#6361](https://github.com/storybooks/storybook/pull/6361)) -- Angular: Support OnPush change detection for class-specified components ([#6360](https://github.com/storybooks/storybook/pull/6360)) -- Addon-storysource: Reuase clientApi when possible ([#6154](https://github.com/storybooks/storybook/pull/6154)) +- Addon-centered: Fix horizontal scrolling overflow ([#6361](https://github.com/storybookjs/storybook/pull/6361)) +- Angular: Support OnPush change detection for class-specified components ([#6360](https://github.com/storybookjs/storybook/pull/6360)) +- Addon-storysource: Reuase clientApi when possible ([#6154](https://github.com/storybookjs/storybook/pull/6154)) ### Bug Fixes -- React-native: Fix backgrounds addon ([#6393](https://github.com/storybooks/storybook/pull/6393)) -- UI: Fix 'read full changelog' link on about page ([#6385](https://github.com/storybooks/storybook/pull/6385)) -- Addon-a11y: Fix addon initialization with 'makeDecorator' ([#6354](https://github.com/storybooks/storybook/pull/6354)) -- Typescript: Fix a11y build by adding hoist-non-react-statics ([#6348](https://github.com/storybooks/storybook/pull/6348)) +- React-native: Fix backgrounds addon ([#6393](https://github.com/storybookjs/storybook/pull/6393)) +- UI: Fix 'read full changelog' link on about page ([#6385](https://github.com/storybookjs/storybook/pull/6385)) +- Addon-a11y: Fix addon initialization with 'makeDecorator' ([#6354](https://github.com/storybookjs/storybook/pull/6354)) +- Typescript: Fix a11y build by adding hoist-non-react-statics ([#6348](https://github.com/storybookjs/storybook/pull/6348)) ### Maintenance -- Typescript: Use Babel instead of tsc ([#5109](https://github.com/storybooks/storybook/pull/5109)) +- Typescript: Use Babel instead of tsc ([#5109](https://github.com/storybookjs/storybook/pull/5109)) ## 5.0.6 (April 1, 2019) ### Bug Fixes -- Addon-a11y: Fix color-blindness emulation in Firefox ([#6297](https://github.com/storybooks/storybook/pull/6297)) -- Addon-info: Fixed contrast of Show Info button for a11y ([#6301](https://github.com/storybooks/storybook/pull/6301)) -- Addon-cssresources: Fix panel layout ([#6263](https://github.com/storybooks/storybook/pull/6263)) -- Addon-info: forwardRef elements use displayName if available ([#6222](https://github.com/storybooks/storybook/pull/6222)) -- UI: Set expanded stories to objects instead of arrays ([#6290](https://github.com/storybooks/storybook/pull/6290)) -- Addon-actions: safe render for cyclic obj ([#6240](https://github.com/storybooks/storybook/pull/6240)) -- Core: Upgrade @babel/preset-env to fix corejs option ([#6281](https://github.com/storybooks/storybook/pull/6281)) -- Core: Enforces corejs v2 for babel ([#6267](https://github.com/storybooks/storybook/pull/6267)) -- Knobs: Rename ALL panel to Other for ungrouped knobs ([#6232](https://github.com/storybooks/storybook/pull/6232)) +- Addon-a11y: Fix color-blindness emulation in Firefox ([#6297](https://github.com/storybookjs/storybook/pull/6297)) +- Addon-info: Fixed contrast of Show Info button for a11y ([#6301](https://github.com/storybookjs/storybook/pull/6301)) +- Addon-cssresources: Fix panel layout ([#6263](https://github.com/storybookjs/storybook/pull/6263)) +- Addon-info: forwardRef elements use displayName if available ([#6222](https://github.com/storybookjs/storybook/pull/6222)) +- UI: Set expanded stories to objects instead of arrays ([#6290](https://github.com/storybookjs/storybook/pull/6290)) +- Addon-actions: safe render for cyclic obj ([#6240](https://github.com/storybookjs/storybook/pull/6240)) +- Core: Upgrade @babel/preset-env to fix corejs option ([#6281](https://github.com/storybookjs/storybook/pull/6281)) +- Core: Enforces corejs v2 for babel ([#6267](https://github.com/storybookjs/storybook/pull/6267)) +- Knobs: Rename ALL panel to Other for ungrouped knobs ([#6232](https://github.com/storybookjs/storybook/pull/6232)) ## 5.1.0-alpha.20 (March 29, 2019) ### Features -- Addons: Manage local/session storage access with store2 ([#6310](https://github.com/storybooks/storybook/pull/6310)) +- Addons: Manage local/session storage access with store2 ([#6310](https://github.com/storybookjs/storybook/pull/6310)) ### Bug Fixes -- Addon-cssresources: Fix panel layout ([#6263](https://github.com/storybooks/storybook/pull/6263)) -- Addon-info: Fixed contrast of Show Info button for a11y ([#6301](https://github.com/storybooks/storybook/pull/6301)) +- Addon-cssresources: Fix panel layout ([#6263](https://github.com/storybookjs/storybook/pull/6263)) +- Addon-info: Fixed contrast of Show Info button for a11y ([#6301](https://github.com/storybookjs/storybook/pull/6301)) ### Maintenance -- Migrate options and decorators in examples to new api ([#5954](https://github.com/storybooks/storybook/pull/5954)) +- Migrate options and decorators in examples to new api ([#5954](https://github.com/storybookjs/storybook/pull/5954)) ## 5.1.0-alpha.19 (March 28, 2019) ### Bug Fixes -- React-native: Fix "lib/addons" default export ([#6197](https://github.com/storybooks/storybook/pull/6197)) -- Addon-a11y: Remove element styling after re-running the a11y rules ([#6325](https://github.com/storybooks/storybook/pull/6325)) -- Addon-info: forwardRef elements use displayName if available ([#6222](https://github.com/storybooks/storybook/pull/6222)) -- React-native: Add background color for stories panel ([#6315](https://github.com/storybooks/storybook/pull/6315)) +- React-native: Fix "lib/addons" default export ([#6197](https://github.com/storybookjs/storybook/pull/6197)) +- Addon-a11y: Remove element styling after re-running the a11y rules ([#6325](https://github.com/storybookjs/storybook/pull/6325)) +- Addon-info: forwardRef elements use displayName if available ([#6222](https://github.com/storybookjs/storybook/pull/6222)) +- React-native: Add background color for stories panel ([#6315](https://github.com/storybookjs/storybook/pull/6315)) ### Dependency Upgrades -- Upgrade babel-plugin-react-docgen ([#6329](https://github.com/storybooks/storybook/pull/6329)) -- Bump babel-plugin-emotion from 10.0.7 to 10.0.9 ([#6227](https://github.com/storybooks/storybook/pull/6227)) -- Bump @types/lodash.isequal from 4.5.3 to 4.5.5 ([#6269](https://github.com/storybooks/storybook/pull/6269)) -- Bump react-scripts from 2.1.5 to 2.1.8 ([#6230](https://github.com/storybooks/storybook/pull/6230)) -- Bump esm from 3.2.10 to 3.2.20 ([#6270](https://github.com/storybooks/storybook/pull/6270)) +- Upgrade babel-plugin-react-docgen ([#6329](https://github.com/storybookjs/storybook/pull/6329)) +- Bump babel-plugin-emotion from 10.0.7 to 10.0.9 ([#6227](https://github.com/storybookjs/storybook/pull/6227)) +- Bump @types/lodash.isequal from 4.5.3 to 4.5.5 ([#6269](https://github.com/storybookjs/storybook/pull/6269)) +- Bump react-scripts from 2.1.5 to 2.1.8 ([#6230](https://github.com/storybookjs/storybook/pull/6230)) +- Bump esm from 3.2.10 to 3.2.20 ([#6270](https://github.com/storybookjs/storybook/pull/6270)) ## 5.1.0-alpha.18 (March 27, 2019) ### Bug Fixes -- Addon-a11y: Fix color-blindness emulation in Firefox ([#6297](https://github.com/storybooks/storybook/pull/6297)) -- UI: Set expanded stories to objects instead of arrays ([#6290](https://github.com/storybooks/storybook/pull/6290)) +- Addon-a11y: Fix color-blindness emulation in Firefox ([#6297](https://github.com/storybookjs/storybook/pull/6297)) +- UI: Set expanded stories to objects instead of arrays ([#6290](https://github.com/storybookjs/storybook/pull/6290)) ## 5.1.0-alpha.17 (March 26, 2019) ### Bug Fixes -- Addon-a11y: Move redux to dependencies ([#6286](https://github.com/storybooks/storybook/pull/6286)) +- Addon-a11y: Move redux to dependencies ([#6286](https://github.com/storybookjs/storybook/pull/6286)) ## 5.1.0-alpha.16 (March 26, 2019) ### Bug Fixes -- Upgrade `@babel/preset-env` to fix corejs option ([#6281](https://github.com/storybooks/storybook/pull/6281)) +- Upgrade `@babel/preset-env` to fix corejs option ([#6281](https://github.com/storybookjs/storybook/pull/6281)) ## 5.1.0-alpha.15 (March 26, 2019) ### Features -- Addon-a11y: Highlight a11y violations on component ([#6218](https://github.com/storybooks/storybook/pull/6218)) -- HTML: Allow forced renders in @storybook/html ([#6190](https://github.com/storybooks/storybook/pull/6190)) +- Addon-a11y: Highlight a11y violations on component ([#6218](https://github.com/storybookjs/storybook/pull/6218)) +- HTML: Allow forced renders in @storybook/html ([#6190](https://github.com/storybookjs/storybook/pull/6190)) ### Bug Fixes -- Core: Enforces corejs v2 for babel ([#6267](https://github.com/storybooks/storybook/pull/6267)) -- Knobs: Rename ALL panel to Other for ungrouped knobs ([#6232](https://github.com/storybooks/storybook/pull/6232)) -- UI: zoom iframe content instead zoom iframe wrapper ([#6126](https://github.com/storybooks/storybook/pull/6126)) -- Addon-actions: safe render for cyclic obj ([#6240](https://github.com/storybooks/storybook/pull/6240)) +- Core: Enforces corejs v2 for babel ([#6267](https://github.com/storybookjs/storybook/pull/6267)) +- Knobs: Rename ALL panel to Other for ungrouped knobs ([#6232](https://github.com/storybookjs/storybook/pull/6232)) +- UI: zoom iframe content instead zoom iframe wrapper ([#6126](https://github.com/storybookjs/storybook/pull/6126)) +- Addon-actions: safe render for cyclic obj ([#6240](https://github.com/storybookjs/storybook/pull/6240)) ### Maintenance -- Addon-knobs: adds an example of a boolean knob ([#6242](https://github.com/storybooks/storybook/pull/6242)) +- Addon-knobs: adds an example of a boolean knob ([#6242](https://github.com/storybookjs/storybook/pull/6242)) ### Dependency Upgrades -- Bump simplebar-react from 0.1.4 to 0.1.5 ([#6226](https://github.com/storybooks/storybook/pull/6226)) -- FIX storybook having a incompatible version of webpack with vue-cli ([#6259](https://github.com/storybooks/storybook/pull/6259)) +- Bump simplebar-react from 0.1.4 to 0.1.5 ([#6226](https://github.com/storybookjs/storybook/pull/6226)) +- FIX storybook having a incompatible version of webpack with vue-cli ([#6259](https://github.com/storybookjs/storybook/pull/6259)) ## 5.1.0-alpha.14 (March 25, 2019) ### Features -- Addon-backgrounds: Add custom grid size ([#6252](https://github.com/storybooks/storybook/pull/6252)) -- Addon-viewport: Show active viewport dimensions & rotate button ([#6045](https://github.com/storybooks/storybook/pull/6045)) +- Addon-backgrounds: Add custom grid size ([#6252](https://github.com/storybookjs/storybook/pull/6252)) +- Addon-viewport: Show active viewport dimensions & rotate button ([#6045](https://github.com/storybookjs/storybook/pull/6045)) ### Bug Fixes -- UI: Use Fuse.js package for search ([#6244](https://github.com/storybooks/storybook/pull/6244)) -- React: Use node-logger instead of console ([#6245](https://github.com/storybooks/storybook/pull/6245)) +- UI: Use Fuse.js package for search ([#6244](https://github.com/storybookjs/storybook/pull/6244)) +- React: Use node-logger instead of console ([#6245](https://github.com/storybookjs/storybook/pull/6245)) ### Maintenance -- Addon-links: Migrate to Typescript ([#6246](https://github.com/storybooks/storybook/pull/6246)) +- Addon-links: Migrate to Typescript ([#6246](https://github.com/storybookjs/storybook/pull/6246)) ### Dependency Upgrades -- Bump react-resize-detector from 4.0.2 to 4.0.5 ([#6229](https://github.com/storybooks/storybook/pull/6229)) +- Bump react-resize-detector from 4.0.2 to 4.0.5 ([#6229](https://github.com/storybookjs/storybook/pull/6229)) ## 5.0.5 (March 25, 2019) @@ -423,28 +887,28 @@ Bump version number (same as 5.0.4, but need to make this `latest` again!) ### Bug Fixes -- UI: Workaround broken treebeard animations ([#6249](https://github.com/storybooks/storybook/pull/6249)) +- UI: Workaround broken treebeard animations ([#6249](https://github.com/storybookjs/storybook/pull/6249)) ## 5.0.4 (March 24, 2019) ### Bug Fixes -- UI: Fix tooltip event bindings, logger import ([#6238](https://github.com/storybooks/storybook/pull/6238)) -- CLI: Fix stories regexp in config.js ([#6180](https://github.com/storybooks/storybook/pull/6180)) -- Accessibilty: Add missing button titles ([#6124](https://github.com/storybooks/storybook/pull/6124)) -- React: Fix forked CRA support on Windows ([#6236](https://github.com/storybooks/storybook/pull/6236)) -- Addon-knkobs: Fix color type button z-index ([#6203](https://github.com/storybooks/storybook/pull/6203)) -- Angular: Fix typo in demo example ([#6193](https://github.com/storybooks/storybook/pull/6193)) -- Addon-Info: Restore fonts and color styling ([#6186](https://github.com/storybooks/storybook/pull/6186)) -- Addon-knobs: Fix ObjectType knob react warning ([#6159](https://github.com/storybooks/storybook/pull/6159)) -- Core: Add core-js as a dep to client-api ([#6209](https://github.com/storybooks/storybook/pull/6209)) -- React: Fix logging in cra-config ([#6245](https://github.com/storybooks/storybook/pull/6245)) +- UI: Fix tooltip event bindings, logger import ([#6238](https://github.com/storybookjs/storybook/pull/6238)) +- CLI: Fix stories regexp in config.js ([#6180](https://github.com/storybookjs/storybook/pull/6180)) +- Accessibilty: Add missing button titles ([#6124](https://github.com/storybookjs/storybook/pull/6124)) +- React: Fix forked CRA support on Windows ([#6236](https://github.com/storybookjs/storybook/pull/6236)) +- Addon-knkobs: Fix color type button z-index ([#6203](https://github.com/storybookjs/storybook/pull/6203)) +- Angular: Fix typo in demo example ([#6193](https://github.com/storybookjs/storybook/pull/6193)) +- Addon-Info: Restore fonts and color styling ([#6186](https://github.com/storybookjs/storybook/pull/6186)) +- Addon-knobs: Fix ObjectType knob react warning ([#6159](https://github.com/storybookjs/storybook/pull/6159)) +- Core: Add core-js as a dep to client-api ([#6209](https://github.com/storybookjs/storybook/pull/6209)) +- React: Fix logging in cra-config ([#6245](https://github.com/storybookjs/storybook/pull/6245)) ## 4.1.16 (March 24, 2019) ### Bug Fixes -- UI: Workaround broken treebeard animations ([#6249](https://github.com/storybooks/storybook/pull/6249)) +- UI: Workaround broken treebeard animations ([#6249](https://github.com/storybookjs/storybook/pull/6249)) ## 4.1.15 (March 24, 2019) @@ -454,331 +918,331 @@ NPM publish failed ### Features -- Svelte: add svelte cli generator ([#6132](https://github.com/storybooks/storybook/pull/6132)) +- Svelte: add svelte cli generator ([#6132](https://github.com/storybookjs/storybook/pull/6132)) ### Bug Fixes -- Addon-knobs: Fix ObjectType knob react warning ([#6159](https://github.com/storybooks/storybook/pull/6159)) -- React: Fix forked CRA support on Windows ([#6236](https://github.com/storybooks/storybook/pull/6236)) -- UI: Fix tooltip event bindings, logger import ([#6238](https://github.com/storybooks/storybook/pull/6238)) +- Addon-knobs: Fix ObjectType knob react warning ([#6159](https://github.com/storybookjs/storybook/pull/6159)) +- React: Fix forked CRA support on Windows ([#6236](https://github.com/storybookjs/storybook/pull/6236)) +- UI: Fix tooltip event bindings, logger import ([#6238](https://github.com/storybookjs/storybook/pull/6238)) ## 5.1.0-alpha.12 (March 22, 2019) ### Bug Fixes -- CLI: Fix stories regexp in config.js ([#6180](https://github.com/storybooks/storybook/pull/6180)) -- Addon-Info: Restore fonts and color styling ([#6186](https://github.com/storybooks/storybook/pull/6186)) -- Core: Add core-js as a dep to client-api ([#6209](https://github.com/storybooks/storybook/pull/6209)) +- CLI: Fix stories regexp in config.js ([#6180](https://github.com/storybookjs/storybook/pull/6180)) +- Addon-Info: Restore fonts and color styling ([#6186](https://github.com/storybookjs/storybook/pull/6186)) +- Core: Add core-js as a dep to client-api ([#6209](https://github.com/storybookjs/storybook/pull/6209)) ### Dependency Upgrades -- Bump eslint-plugin-jest from 22.3.2 to 22.4.1 ([#6168](https://github.com/storybooks/storybook/pull/6168)) -- Bump ember-cli-babel from 7.5.0 to 7.6.0 ([#6165](https://github.com/storybooks/storybook/pull/6165)) -- Bump danger from 7.0.14 to 7.0.15 ([#6164](https://github.com/storybooks/storybook/pull/6164)) -- Bump babel-preset-expo from 5.0.0 to 5.1.1 ([#6167](https://github.com/storybooks/storybook/pull/6167)) -- Bump @emotion/core from 10.0.7 to 10.0.9 ([#6169](https://github.com/storybooks/storybook/pull/6169)) -- Bump marko from 4.15.4 to 4.16.2 ([#6205](https://github.com/storybooks/storybook/pull/6205)) +- Bump eslint-plugin-jest from 22.3.2 to 22.4.1 ([#6168](https://github.com/storybookjs/storybook/pull/6168)) +- Bump ember-cli-babel from 7.5.0 to 7.6.0 ([#6165](https://github.com/storybookjs/storybook/pull/6165)) +- Bump danger from 7.0.14 to 7.0.15 ([#6164](https://github.com/storybookjs/storybook/pull/6164)) +- Bump babel-preset-expo from 5.0.0 to 5.1.1 ([#6167](https://github.com/storybookjs/storybook/pull/6167)) +- Bump @emotion/core from 10.0.7 to 10.0.9 ([#6169](https://github.com/storybookjs/storybook/pull/6169)) +- Bump marko from 4.15.4 to 4.16.2 ([#6205](https://github.com/storybookjs/storybook/pull/6205)) ## 5.1.0-alpha.11 (March 21, 2019) ### Features -- Addon-notes: Support theming ([#5922](https://github.com/storybooks/storybook/pull/5922)) +- Addon-notes: Support theming ([#5922](https://github.com/storybookjs/storybook/pull/5922)) ### Bug Fixes -- Addon-knkobs: Fix color type button z-index ([#6203](https://github.com/storybooks/storybook/pull/6203)) -- Angular: Fix typo in demo example ([#6193](https://github.com/storybooks/storybook/pull/6193)) -- UI: Fix problem with selectedPanel reset ([#6149](https://github.com/storybooks/storybook/pull/6149)) +- Addon-knkobs: Fix color type button z-index ([#6203](https://github.com/storybookjs/storybook/pull/6203)) +- Angular: Fix typo in demo example ([#6193](https://github.com/storybookjs/storybook/pull/6193)) +- UI: Fix problem with selectedPanel reset ([#6149](https://github.com/storybookjs/storybook/pull/6149)) ### Maintenance -- React-native: Publish crna-kitchen-sink app to expo ([#6183](https://github.com/storybooks/storybook/pull/6183)) +- React-native: Publish crna-kitchen-sink app to expo ([#6183](https://github.com/storybookjs/storybook/pull/6183)) ## 5.1.0-alpha.10 (March 19, 2019) ### Features -- New @storybook/api manager API package ([#5402](https://github.com/storybooks/storybook/pull/5402)) +- New @storybook/api manager API package ([#5402](https://github.com/storybookjs/storybook/pull/5402)) ### Bug Fixes -- Angular: Fix rerender performance ([#6094](https://github.com/storybooks/storybook/pull/6094)) -- React-native: Add the raw method to preview ([#6182](https://github.com/storybooks/storybook/pull/6182)) -- Theming: Fix brandImage to occupy 100% width of BrandArea ([#5904](https://github.com/storybooks/storybook/pull/5904)) +- Angular: Fix rerender performance ([#6094](https://github.com/storybookjs/storybook/pull/6094)) +- React-native: Add the raw method to preview ([#6182](https://github.com/storybookjs/storybook/pull/6182)) +- Theming: Fix brandImage to occupy 100% width of BrandArea ([#5904](https://github.com/storybookjs/storybook/pull/5904)) ### Dependency Upgrades -- Bump emotion-theming from 10.0.7 to 10.0.9 ([#6138](https://github.com/storybooks/storybook/pull/6138)) -- Bump webpack-cli from 3.2.3 to 3.3.0 ([#6140](https://github.com/storybooks/storybook/pull/6140)) -- Bump tslint from 5.13.1 to 5.14.0 ([#6141](https://github.com/storybooks/storybook/pull/6141)) -- Bump ember-cli from 3.7.1 to 3.8.1 ([#6142](https://github.com/storybooks/storybook/pull/6142)) -- Bump markdown-to-jsx from 6.9.1 to 6.9.3 ([#6139](https://github.com/storybooks/storybook/pull/6139)) +- Bump emotion-theming from 10.0.7 to 10.0.9 ([#6138](https://github.com/storybookjs/storybook/pull/6138)) +- Bump webpack-cli from 3.2.3 to 3.3.0 ([#6140](https://github.com/storybookjs/storybook/pull/6140)) +- Bump tslint from 5.13.1 to 5.14.0 ([#6141](https://github.com/storybookjs/storybook/pull/6141)) +- Bump ember-cli from 3.7.1 to 3.8.1 ([#6142](https://github.com/storybookjs/storybook/pull/6142)) +- Bump markdown-to-jsx from 6.9.1 to 6.9.3 ([#6139](https://github.com/storybookjs/storybook/pull/6139)) ## 5.0.3 (March 18, 2019) ### Bug Fixes -- Accessibility: Add missing button titles ([#6124](https://github.com/storybooks/storybook/pull/6124)) +- Accessibility: Add missing button titles ([#6124](https://github.com/storybookjs/storybook/pull/6124)) ### Maintenance -- UI: Make update notifications much less aggressive ([#6143](https://github.com/storybooks/storybook/pull/6143)) +- UI: Make update notifications much less aggressive ([#6143](https://github.com/storybookjs/storybook/pull/6143)) ## 5.1.0-alpha.9 (March 18, 2019) ### Maintenance -- UI: Make update notifications much less aggressive ([#6143](https://github.com/storybooks/storybook/pull/6143)) +- UI: Make update notifications much less aggressive ([#6143](https://github.com/storybookjs/storybook/pull/6143)) ## 5.1.0-alpha.8 (March 17, 2019) ### Bug Fixes -- Accessibilty: Add aria label to search box ([#6131](https://github.com/storybooks/storybook/pull/6131)) -- Accessibilty: Add missing button titles ([#6124](https://github.com/storybooks/storybook/pull/6124)) -- Addon-cssresources: Fix `STORY_RENDERED` CSS reset ([#6050](https://github.com/storybooks/storybook/pull/6050)) +- Accessibilty: Add aria label to search box ([#6131](https://github.com/storybookjs/storybook/pull/6131)) +- Accessibilty: Add missing button titles ([#6124](https://github.com/storybookjs/storybook/pull/6124)) +- Addon-cssresources: Fix `STORY_RENDERED` CSS reset ([#6050](https://github.com/storybookjs/storybook/pull/6050)) ### Maintenance -- React-native: Integrate crna-kitchen-sink example into monorepo ([#6125](https://github.com/storybooks/storybook/pull/6125)) -- Fix deprecations in examples ([#6134](https://github.com/storybooks/storybook/pull/6134)) +- React-native: Integrate crna-kitchen-sink example into monorepo ([#6125](https://github.com/storybookjs/storybook/pull/6125)) +- Fix deprecations in examples ([#6134](https://github.com/storybookjs/storybook/pull/6134)) ## 5.0.2 (March 17, 2019) ### Features -- CLI: Add --debug-webpack option ([#6082](https://github.com/storybooks/storybook/pull/6082)) +- CLI: Add --debug-webpack option ([#6082](https://github.com/storybookjs/storybook/pull/6082)) ### Bug Fixes -- Addon-a11y: Fix design icons ([#5991](https://github.com/storybooks/storybook/pull/5991)) -- Addon-cssresources: Fix `STORY_RENDERED` CSS reset ([#6050](https://github.com/storybooks/storybook/pull/6050)) -- CLI: Clear build folder in static build ([#6024](https://github.com/storybooks/storybook/pull/6024)) -- Addon-backgrounds: Set preview to theme color when "transparent" ([#6042](https://github.com/storybooks/storybook/pull/6042)) -- UI: Fix search item in menu ([#6027](https://github.com/storybooks/storybook/pull/6027)) -- Addon-knobs: Fix key press debouncing ([#6022](https://github.com/storybooks/storybook/pull/6022)) -- CLI: Fix welcome component in dark theme ([#5998](https://github.com/storybooks/storybook/pull/5998)) -- Addon-viewport: Fix viewport iframe dimensions ([#5993](https://github.com/storybooks/storybook/pull/5993)) -- Core: fix selectStory with one parameter ([#5983](https://github.com/storybooks/storybook/pull/5983)) +- Addon-a11y: Fix design icons ([#5991](https://github.com/storybookjs/storybook/pull/5991)) +- Addon-cssresources: Fix `STORY_RENDERED` CSS reset ([#6050](https://github.com/storybookjs/storybook/pull/6050)) +- CLI: Clear build folder in static build ([#6024](https://github.com/storybookjs/storybook/pull/6024)) +- Addon-backgrounds: Set preview to theme color when "transparent" ([#6042](https://github.com/storybookjs/storybook/pull/6042)) +- UI: Fix search item in menu ([#6027](https://github.com/storybookjs/storybook/pull/6027)) +- Addon-knobs: Fix key press debouncing ([#6022](https://github.com/storybookjs/storybook/pull/6022)) +- CLI: Fix welcome component in dark theme ([#5998](https://github.com/storybookjs/storybook/pull/5998)) +- Addon-viewport: Fix viewport iframe dimensions ([#5993](https://github.com/storybookjs/storybook/pull/5993)) +- Core: fix selectStory with one parameter ([#5983](https://github.com/storybookjs/storybook/pull/5983)) ### Maintenance -- Addon-viewport: Change styling to more closely match v4 ([#5979](https://github.com/storybooks/storybook/pull/5979)) +- Addon-viewport: Change styling to more closely match v4 ([#5979](https://github.com/storybookjs/storybook/pull/5979)) ## 5.1.0-alpha.7 (March 16, 2019) ### Breaking Changes -- Core: Restore v4 webpack extend mode behavior AND deprecate it ([#6104](https://github.com/storybooks/storybook/pull/6104)) -- React native: Use @storybook/core ([#4942](https://github.com/storybooks/storybook/pull/4942)) +- Core: Restore v4 webpack extend mode behavior AND deprecate it ([#6104](https://github.com/storybookjs/storybook/pull/6104)) +- React native: Use @storybook/core ([#4942](https://github.com/storybookjs/storybook/pull/4942)) ### Features -- CLI: Add --debug-webpack option ([#6082](https://github.com/storybooks/storybook/pull/6082)) -- UI: open brandUrl in new window ([#6106](https://github.com/storybooks/storybook/pull/6106)) +- CLI: Add --debug-webpack option ([#6082](https://github.com/storybookjs/storybook/pull/6082)) +- UI: open brandUrl in new window ([#6106](https://github.com/storybookjs/storybook/pull/6106)) ### Bug Fixes -- CLI: Clear build folder in static build ([#6024](https://github.com/storybooks/storybook/pull/6024)) -- Addon-a11y: Fix tab navigation ([#6118](https://github.com/storybooks/storybook/pull/6118)) -- Theming: FIX brandImage when theme created with brandTitle ([#6120](https://github.com/storybooks/storybook/pull/6120)) -- Addon-backgrounds: Set preview to theme color when "transparent" ([#6042](https://github.com/storybooks/storybook/pull/6042)) +- CLI: Clear build folder in static build ([#6024](https://github.com/storybookjs/storybook/pull/6024)) +- Addon-a11y: Fix tab navigation ([#6118](https://github.com/storybookjs/storybook/pull/6118)) +- Theming: FIX brandImage when theme created with brandTitle ([#6120](https://github.com/storybookjs/storybook/pull/6120)) +- Addon-backgrounds: Set preview to theme color when "transparent" ([#6042](https://github.com/storybookjs/storybook/pull/6042)) ### Maintenance -- Sort package.json on precommit ([#6101](https://github.com/storybooks/storybook/pull/6101)) +- Sort package.json on precommit ([#6101](https://github.com/storybookjs/storybook/pull/6101)) ### Dependency Upgrades -- Use community AsyncStorage instead of deprecated React Native one ([#6079](https://github.com/storybooks/storybook/pull/6079)) -- Fix expo ([#6121](https://github.com/storybooks/storybook/pull/6121)) -- Bump graphiql from 0.12.0 to 0.13.0 ([#5901](https://github.com/storybooks/storybook/pull/5901)) -- Update expo requirement from ^31.0.4 to ^32.0.6 in /examples-native/crna-kitchen-sink ([#5664](https://github.com/storybooks/storybook/pull/5664)) -- Bump @angular/cli from 7.3.4 to 7.3.6 ([#6103](https://github.com/storybooks/storybook/pull/6103)) -- Bump react-dom from 16.8.3 to 16.8.4 ([#5903](https://github.com/storybooks/storybook/pull/5903)) +- Use community AsyncStorage instead of deprecated React Native one ([#6079](https://github.com/storybookjs/storybook/pull/6079)) +- Fix expo ([#6121](https://github.com/storybookjs/storybook/pull/6121)) +- Bump graphiql from 0.12.0 to 0.13.0 ([#5901](https://github.com/storybookjs/storybook/pull/5901)) +- Update expo requirement from ^31.0.4 to ^32.0.6 in /examples-native/crna-kitchen-sink ([#5664](https://github.com/storybookjs/storybook/pull/5664)) +- Bump @angular/cli from 7.3.4 to 7.3.6 ([#6103](https://github.com/storybookjs/storybook/pull/6103)) +- Bump react-dom from 16.8.3 to 16.8.4 ([#5903](https://github.com/storybookjs/storybook/pull/5903)) ## 5.1.0-alpha.6 (March 14, 2019) ### Features -- Angular: add autoprefixing like angular-cli ([#5612](https://github.com/storybooks/storybook/pull/5612)) +- Angular: add autoprefixing like angular-cli ([#5612](https://github.com/storybookjs/storybook/pull/5612)) ### Bug Fixes -- UI: Fixing search item in menu ([#6027](https://github.com/storybooks/storybook/pull/6027)) -- Addon-a11y: Run only when a11y tab is active ([#6044](https://github.com/storybooks/storybook/pull/6044)) +- UI: Fixing search item in menu ([#6027](https://github.com/storybookjs/storybook/pull/6027)) +- Addon-a11y: Run only when a11y tab is active ([#6044](https://github.com/storybookjs/storybook/pull/6044)) ### Maintenance -- UI: Update syntaxhighlighter stories ([#6054](https://github.com/storybooks/storybook/pull/6054)) +- UI: Update syntaxhighlighter stories ([#6054](https://github.com/storybookjs/storybook/pull/6054)) ## 5.1.0-alpha.5 (March 12, 2019) ### Bug Fixes -- Addon-a11y: Remove bg color from reports ([#6026](https://github.com/storybooks/storybook/pull/6026)) -- Addon-knobs: Fix key press debouncing ([#6022](https://github.com/storybooks/storybook/pull/6022)) -- Addon-knobs: Fix error when removing value from number knob ([#6043](https://github.com/storybooks/storybook/pull/6043)) +- Addon-a11y: Remove bg color from reports ([#6026](https://github.com/storybookjs/storybook/pull/6026)) +- Addon-knobs: Fix key press debouncing ([#6022](https://github.com/storybookjs/storybook/pull/6022)) +- Addon-knobs: Fix error when removing value from number knob ([#6043](https://github.com/storybookjs/storybook/pull/6043)) ### Maintenance -- Theming: Improve typescript typings ([#5988](https://github.com/storybooks/storybook/pull/5988)) +- Theming: Improve typescript typings ([#5988](https://github.com/storybookjs/storybook/pull/5988)) ### Dependency Upgrades -- build(deps): bump axe-core from 3.2.0 to 3.2.2 ([#6034](https://github.com/storybooks/storybook/pull/6034)) -- build(deps): bump css-loader from 2.1.0 to 2.1.1 ([#6033](https://github.com/storybooks/storybook/pull/6033)) -- build(deps): bump react-focus-lock from 1.17.7 to 1.18.3 ([#6031](https://github.com/storybooks/storybook/pull/6031)) -- Bump react-resize-detector from 3.4.0 to 4.0.2 ([#5899](https://github.com/storybooks/storybook/pull/5899)) +- build(deps): bump axe-core from 3.2.0 to 3.2.2 ([#6034](https://github.com/storybookjs/storybook/pull/6034)) +- build(deps): bump css-loader from 2.1.0 to 2.1.1 ([#6033](https://github.com/storybookjs/storybook/pull/6033)) +- build(deps): bump react-focus-lock from 1.17.7 to 1.18.3 ([#6031](https://github.com/storybookjs/storybook/pull/6031)) +- Bump react-resize-detector from 3.4.0 to 4.0.2 ([#5899](https://github.com/storybookjs/storybook/pull/5899)) ## 5.1.0-alpha.4 (March 11, 2019) ### Bug Fixes -- CLI: Fix welcome component in dark theme ([#5998](https://github.com/storybooks/storybook/pull/5998)) -- Polymer: Fix re-rendering lit-html elements after non-lit-html element ([#5868](https://github.com/storybooks/storybook/pull/5868)) -- Addon-a11y: Fix respect 'element' arg in config ([#5996](https://github.com/storybooks/storybook/pull/5996)) -- Addon-a11y: Fix design icons ([#5991](https://github.com/storybooks/storybook/pull/5991)) -- Addon-viewport: Fix viewport iframe dimensions ([#5993](https://github.com/storybooks/storybook/pull/5993)) +- CLI: Fix welcome component in dark theme ([#5998](https://github.com/storybookjs/storybook/pull/5998)) +- Polymer: Fix re-rendering lit-html elements after non-lit-html element ([#5868](https://github.com/storybookjs/storybook/pull/5868)) +- Addon-a11y: Fix respect 'element' arg in config ([#5996](https://github.com/storybookjs/storybook/pull/5996)) +- Addon-a11y: Fix design icons ([#5991](https://github.com/storybookjs/storybook/pull/5991)) +- Addon-viewport: Fix viewport iframe dimensions ([#5993](https://github.com/storybookjs/storybook/pull/5993)) ### Maintenance -- ADD parameters to compile-js to no longer copy .ts files into dist ([#5844](https://github.com/storybooks/storybook/pull/5844)) +- ADD parameters to compile-js to no longer copy .ts files into dist ([#5844](https://github.com/storybookjs/storybook/pull/5844)) ### Dependency Upgrades -- build(deps): bump react-is from 16.8.3 to 16.8.4 ([#6010](https://github.com/storybooks/storybook/pull/6010)) -- build(deps): bump react-dev-utils from 7.0.3 to 8.0.0 ([#6011](https://github.com/storybooks/storybook/pull/6011)) +- build(deps): bump react-is from 16.8.3 to 16.8.4 ([#6010](https://github.com/storybookjs/storybook/pull/6010)) +- build(deps): bump react-dev-utils from 7.0.3 to 8.0.0 ([#6011](https://github.com/storybookjs/storybook/pull/6011)) ## 5.1.0-alpha.3 (March 9, 2019) ### Features -- Addon-a11y: add 'incomplete' tab ([#5984](https://github.com/storybooks/storybook/pull/5984)) +- Addon-a11y: add 'incomplete' tab ([#5984](https://github.com/storybookjs/storybook/pull/5984)) ### Bug Fixes -- Core: fix `selectStory` with one parameter ([#5983](https://github.com/storybooks/storybook/pull/5983)) -- Core: remove custom presets warning ([#5911](https://github.com/storybooks/storybook/pull/5911)) +- Core: fix `selectStory` with one parameter ([#5983](https://github.com/storybookjs/storybook/pull/5983)) +- Core: remove custom presets warning ([#5911](https://github.com/storybookjs/storybook/pull/5911)) ### Maintenance -- Addon-viewport: Change styling to more closely match v4 ([#5979](https://github.com/storybooks/storybook/pull/5979)) +- Addon-viewport: Change styling to more closely match v4 ([#5979](https://github.com/storybookjs/storybook/pull/5979)) ### Dependency Upgrades -- Bump babel-preset-react-app from 7.0.1 to 7.0.2 ([#5937](https://github.com/storybooks/storybook/pull/5937)) -- Bump ts-node from 8.0.2 to 8.0.3 ([#5938](https://github.com/storybooks/storybook/pull/5938)) -- Bump react from 16.8.3 to 16.8.4 ([#5902](https://github.com/storybooks/storybook/pull/5902)) -- Bump marko from 4.15.3 to 4.15.4 ([#5939](https://github.com/storybooks/storybook/pull/5939)) +- Bump babel-preset-react-app from 7.0.1 to 7.0.2 ([#5937](https://github.com/storybookjs/storybook/pull/5937)) +- Bump ts-node from 8.0.2 to 8.0.3 ([#5938](https://github.com/storybookjs/storybook/pull/5938)) +- Bump react from 16.8.3 to 16.8.4 ([#5902](https://github.com/storybookjs/storybook/pull/5902)) +- Bump marko from 4.15.3 to 4.15.4 ([#5939](https://github.com/storybookjs/storybook/pull/5939)) ### Bug Fixes -- Addon-a11y: Fix design icons ([#5991](https://github.com/storybooks/storybook/pull/5991)) -- Addon-cssresources: Fix `STORY_RENDERED` CSS reset ([#6050](https://github.com/storybooks/storybook/pull/6050)) -- CLI: Clear build folder in static build ([#6024](https://github.com/storybooks/storybook/pull/6024)) -- Addon-backgrounds: Set preview to theme color when "transparent" ([#6042](https://github.com/storybooks/storybook/pull/6042)) -- UI: Fix search item in menu ([#6027](https://github.com/storybooks/storybook/pull/6027)) -- Addon-knobs: Fix key press debouncing ([#6022](https://github.com/storybooks/storybook/pull/6022)) -- CLI: Fix welcome component in dark theme ([#5998](https://github.com/storybooks/storybook/pull/5998)) -- Addon-viewport: Fix viewport iframe dimensions ([#5993](https://github.com/storybooks/storybook/pull/5993)) -- Core: fix selectStory with one parameter ([#5983](https://github.com/storybooks/storybook/pull/5983)) +- Addon-a11y: Fix design icons ([#5991](https://github.com/storybookjs/storybook/pull/5991)) +- Addon-cssresources: Fix `STORY_RENDERED` CSS reset ([#6050](https://github.com/storybookjs/storybook/pull/6050)) +- CLI: Clear build folder in static build ([#6024](https://github.com/storybookjs/storybook/pull/6024)) +- Addon-backgrounds: Set preview to theme color when "transparent" ([#6042](https://github.com/storybookjs/storybook/pull/6042)) +- UI: Fix search item in menu ([#6027](https://github.com/storybookjs/storybook/pull/6027)) +- Addon-knobs: Fix key press debouncing ([#6022](https://github.com/storybookjs/storybook/pull/6022)) +- CLI: Fix welcome component in dark theme ([#5998](https://github.com/storybookjs/storybook/pull/5998)) +- Addon-viewport: Fix viewport iframe dimensions ([#5993](https://github.com/storybookjs/storybook/pull/5993)) +- Core: fix selectStory with one parameter ([#5983](https://github.com/storybookjs/storybook/pull/5983)) ### Maintenance -- Addon-viewport: Change styling to more closely match v4 ([#5979](https://github.com/storybooks/storybook/pull/5979)) +- Addon-viewport: Change styling to more closely match v4 ([#5979](https://github.com/storybookjs/storybook/pull/5979)) ## 5.0.1 (March 9, 2019) ### Bug Fixes -- Core: Remove custom presets warning ([#5911](https://github.com/storybooks/storybook/pull/5911)) -- Core: support unicode chars in story IDs ([#5964](https://github.com/storybooks/storybook/pull/5964)) -- Core: Add core-js dependencies where it was missing ([#5961](https://github.com/storybooks/storybook/pull/5961)) -- CLI: Fix missing iframe.html in absolute path output directory([#5947](https://github.com/storybooks/storybook/pull/5947)) -- Addon-knobs: Added debouncing between keystrokes to speed up component rendering ([#5811](https://github.com/storybooks/storybook/pull/5811)) -- UI: Fix search in production mode ([#5909](https://github.com/storybooks/storybook/pull/5909)) +- Core: Remove custom presets warning ([#5911](https://github.com/storybookjs/storybook/pull/5911)) +- Core: support unicode chars in story IDs ([#5964](https://github.com/storybookjs/storybook/pull/5964)) +- Core: Add core-js dependencies where it was missing ([#5961](https://github.com/storybookjs/storybook/pull/5961)) +- CLI: Fix missing iframe.html in absolute path output directory([#5947](https://github.com/storybookjs/storybook/pull/5947)) +- Addon-knobs: Added debouncing between keystrokes to speed up component rendering ([#5811](https://github.com/storybookjs/storybook/pull/5811)) +- UI: Fix search in production mode ([#5909](https://github.com/storybookjs/storybook/pull/5909)) ## 4.1.14 (March 8, 2019) ### Dependency Upgrades -- React-native: Fix RN 0.58.5 / support 0.59 via react-native-modal-datetime-picker 6.0.0 ([#4425](https://github.com/storybooks/storybook/pull/4425)) +- React-native: Fix RN 0.58.5 / support 0.59 via react-native-modal-datetime-picker 6.0.0 ([#4425](https://github.com/storybookjs/storybook/pull/4425)) ## 5.1.0-alpha.2 (March 8, 2019) ### Bug Fixes -- Core: support unicode chars in story IDs ([#5964](https://github.com/storybooks/storybook/pull/5964)) -- Core: Add core-js dependencies where it was missing ([#5961](https://github.com/storybooks/storybook/pull/5961)) +- Core: support unicode chars in story IDs ([#5964](https://github.com/storybookjs/storybook/pull/5964)) +- Core: Add core-js dependencies where it was missing ([#5961](https://github.com/storybookjs/storybook/pull/5961)) ### Maintenance -- Addon-a11y: Migrate to typescript ([#5738](https://github.com/storybooks/storybook/pull/5738)) +- Addon-a11y: Migrate to typescript ([#5738](https://github.com/storybookjs/storybook/pull/5738)) ## 5.1.0-alpha.1 (March 7, 2019) ### Bug Fixes -- CLI: Fix missing iframe.html in absolute path output directory ([#5947](https://github.com/storybooks/storybook/pull/5947)) -- Addon-knobs: Added debouncing between keystrokes to speed up component rendering ([#5811](https://github.com/storybooks/storybook/pull/5811)) -- UI: Fix search in production mode ([#5909](https://github.com/storybooks/storybook/pull/5909)) +- CLI: Fix missing iframe.html in absolute path output directory ([#5947](https://github.com/storybookjs/storybook/pull/5947)) +- Addon-knobs: Added debouncing between keystrokes to speed up component rendering ([#5811](https://github.com/storybookjs/storybook/pull/5811)) +- UI: Fix search in production mode ([#5909](https://github.com/storybookjs/storybook/pull/5909)) ### Maintenance -- ADD delay to rendering the acceptance stories ([#5943](https://github.com/storybooks/storybook/pull/5943)) -- Split versions.json into two files ([#5896](https://github.com/storybooks/storybook/pull/5896)) +- ADD delay to rendering the acceptance stories ([#5943](https://github.com/storybookjs/storybook/pull/5943)) +- Split versions.json into two files ([#5896](https://github.com/storybookjs/storybook/pull/5896)) ## 5.1.0-alpha.0 (March 6, 2019) ### Features -- UI: Custom scrollbars ([#5714](https://github.com/storybooks/storybook/pull/5714)) +- UI: Custom scrollbars ([#5714](https://github.com/storybookjs/storybook/pull/5714)) ### Bug Fixes -- Fix: Move `react-select` dependency to 2.2 ([#5867](https://github.com/storybooks/storybook/pull/5867)) +- Fix: Move `react-select` dependency to 2.2 ([#5867](https://github.com/storybookjs/storybook/pull/5867)) ### Maintenance -- Cleanup unused dependencies ([#5453](https://github.com/storybooks/storybook/pull/5453)) -- Add directory attribute to repositories in package.json files ([#5643](https://github.com/storybooks/storybook/pull/5643)) +- Cleanup unused dependencies ([#5453](https://github.com/storybookjs/storybook/pull/5453)) +- Add directory attribute to repositories in package.json files ([#5643](https://github.com/storybookjs/storybook/pull/5643)) ### Dependency Upgrades -- Project-wide dependency upgrades ([#5740](https://github.com/storybooks/storybook/pull/5740)) -- Bump react-is from 16.8.1 to 16.8.3 ([#5743](https://github.com/storybooks/storybook/pull/5743)) -- Bump danger from 7.0.13 to 7.0.14 ([#5744](https://github.com/storybooks/storybook/pull/5744)) -- Bump babel-plugin-named-asset-import from 0.3.0 to 0.3.1 ([#5745](https://github.com/storybooks/storybook/pull/5745)) -- Bump eslint-plugin-json from 1.3.2 to 1.4.0 ([#5719](https://github.com/storybooks/storybook/pull/5719)) -- Bump react-native-modal-datetime-picker from 5.1.0 to 6.0.0 ([#4425](https://github.com/storybooks/storybook/pull/4425)) -- Bump immer from 1.12.0 to 2.0.0 ([#5694](https://github.com/storybooks/storybook/pull/5694)) -- Bump danger from 7.0.11 to 7.0.13 ([#5696](https://github.com/storybooks/storybook/pull/5696)) -- Bump eslint-plugin-jsx-a11y from 6.2.0 to 6.2.1 ([#5698](https://github.com/storybooks/storybook/pull/5698)) -- Bump @angular/platform-browser-dynamic from 7.2.4 to 7.2.6 ([#5697](https://github.com/storybooks/storybook/pull/5697)) -- Bump eslint from 5.12.1 to 5.14.1 ([#5653](https://github.com/storybooks/storybook/pull/5653)) -- Bump babel-preset-react-app from 7.0.0 to 7.0.1 ([#5674](https://github.com/storybooks/storybook/pull/5674)) -- Bump react from 16.8.1 to 16.8.2 ([#5673](https://github.com/storybooks/storybook/pull/5673)) -- Bump @angular/cli from 7.3.0 to 7.3.2 ([#5654](https://github.com/storybooks/storybook/pull/5654)) -- Bump @types/jest from 24.0.0 to 24.0.6 ([#5655](https://github.com/storybooks/storybook/pull/5655)) -- Bump lint-staged from 8.1.3 to 8.1.4 ([#5606](https://github.com/storybooks/storybook/pull/5606)) -- Bump @types/lodash from 4.14.120 to 4.14.121 ([#5609](https://github.com/storybooks/storybook/pull/5609)) -- Bump webpack from 4.29.0 to 4.29.3 ([#5570](https://github.com/storybooks/storybook/pull/5570)) -- update modal manager for rn 0.58 support ([#5581](https://github.com/storybooks/storybook/pull/5581)) -- Bump danger from 7.0.7 to 7.0.11 ([#5568](https://github.com/storybooks/storybook/pull/5568)) -- Bump jest-jasmine2 from 24.0.0 to 24.1.0 ([#5569](https://github.com/storybooks/storybook/pull/5569)) -- Bump jest-jasmine2 from 24.0.0 to 24.1.0 ([#5567](https://github.com/storybooks/storybook/pull/5567)) -- Bump handlebars from 4.0.12 to 4.1.0 ([#5576](https://github.com/storybooks/storybook/pull/5576)) -- Bump esm from 3.2.1 to 3.2.4 ([#5556](https://github.com/storybooks/storybook/pull/5556)) -- Bump @types/jest from 23.3.13 to 24.0.0 ([#5554](https://github.com/storybooks/storybook/pull/5554)) -- Bump webpack-dev-middleware from 3.5.1 to 3.5.2 ([#5552](https://github.com/storybooks/storybook/pull/5552)) -- Bump @emotion/core from 10.0.6 to 10.0.7 ([#5555](https://github.com/storybooks/storybook/pull/5555)) -- Bump terser-webpack-plugin from 1.2.1 to 1.2.2 ([#5553](https://github.com/storybooks/storybook/pull/5553)) -- Bump fuse.js from 3.3.1 to 3.4.2 ([#5538](https://github.com/storybooks/storybook/pull/5538)) -- Bump @angular/platform-browser-dynamic from 7.2.3 to 7.2.4 ([#5540](https://github.com/storybooks/storybook/pull/5540)) -- Bump emotion-theming from 10.0.6 to 10.0.7 ([#5541](https://github.com/storybooks/storybook/pull/5541)) -- Bump eslint-config-prettier from 3.6.0 to 4.0.0 ([#5539](https://github.com/storybooks/storybook/pull/5539)) +- Project-wide dependency upgrades ([#5740](https://github.com/storybookjs/storybook/pull/5740)) +- Bump react-is from 16.8.1 to 16.8.3 ([#5743](https://github.com/storybookjs/storybook/pull/5743)) +- Bump danger from 7.0.13 to 7.0.14 ([#5744](https://github.com/storybookjs/storybook/pull/5744)) +- Bump babel-plugin-named-asset-import from 0.3.0 to 0.3.1 ([#5745](https://github.com/storybookjs/storybook/pull/5745)) +- Bump eslint-plugin-json from 1.3.2 to 1.4.0 ([#5719](https://github.com/storybookjs/storybook/pull/5719)) +- Bump react-native-modal-datetime-picker from 5.1.0 to 6.0.0 ([#4425](https://github.com/storybookjs/storybook/pull/4425)) +- Bump immer from 1.12.0 to 2.0.0 ([#5694](https://github.com/storybookjs/storybook/pull/5694)) +- Bump danger from 7.0.11 to 7.0.13 ([#5696](https://github.com/storybookjs/storybook/pull/5696)) +- Bump eslint-plugin-jsx-a11y from 6.2.0 to 6.2.1 ([#5698](https://github.com/storybookjs/storybook/pull/5698)) +- Bump @angular/platform-browser-dynamic from 7.2.4 to 7.2.6 ([#5697](https://github.com/storybookjs/storybook/pull/5697)) +- Bump eslint from 5.12.1 to 5.14.1 ([#5653](https://github.com/storybookjs/storybook/pull/5653)) +- Bump babel-preset-react-app from 7.0.0 to 7.0.1 ([#5674](https://github.com/storybookjs/storybook/pull/5674)) +- Bump react from 16.8.1 to 16.8.2 ([#5673](https://github.com/storybookjs/storybook/pull/5673)) +- Bump @angular/cli from 7.3.0 to 7.3.2 ([#5654](https://github.com/storybookjs/storybook/pull/5654)) +- Bump @types/jest from 24.0.0 to 24.0.6 ([#5655](https://github.com/storybookjs/storybook/pull/5655)) +- Bump lint-staged from 8.1.3 to 8.1.4 ([#5606](https://github.com/storybookjs/storybook/pull/5606)) +- Bump @types/lodash from 4.14.120 to 4.14.121 ([#5609](https://github.com/storybookjs/storybook/pull/5609)) +- Bump webpack from 4.29.0 to 4.29.3 ([#5570](https://github.com/storybookjs/storybook/pull/5570)) +- update modal manager for rn 0.58 support ([#5581](https://github.com/storybookjs/storybook/pull/5581)) +- Bump danger from 7.0.7 to 7.0.11 ([#5568](https://github.com/storybookjs/storybook/pull/5568)) +- Bump jest-jasmine2 from 24.0.0 to 24.1.0 ([#5569](https://github.com/storybookjs/storybook/pull/5569)) +- Bump jest-jasmine2 from 24.0.0 to 24.1.0 ([#5567](https://github.com/storybookjs/storybook/pull/5567)) +- Bump handlebars from 4.0.12 to 4.1.0 ([#5576](https://github.com/storybookjs/storybook/pull/5576)) +- Bump esm from 3.2.1 to 3.2.4 ([#5556](https://github.com/storybookjs/storybook/pull/5556)) +- Bump @types/jest from 23.3.13 to 24.0.0 ([#5554](https://github.com/storybookjs/storybook/pull/5554)) +- Bump webpack-dev-middleware from 3.5.1 to 3.5.2 ([#5552](https://github.com/storybookjs/storybook/pull/5552)) +- Bump @emotion/core from 10.0.6 to 10.0.7 ([#5555](https://github.com/storybookjs/storybook/pull/5555)) +- Bump terser-webpack-plugin from 1.2.1 to 1.2.2 ([#5553](https://github.com/storybookjs/storybook/pull/5553)) +- Bump fuse.js from 3.3.1 to 3.4.2 ([#5538](https://github.com/storybookjs/storybook/pull/5538)) +- Bump @angular/platform-browser-dynamic from 7.2.3 to 7.2.4 ([#5540](https://github.com/storybookjs/storybook/pull/5540)) +- Bump emotion-theming from 10.0.6 to 10.0.7 ([#5541](https://github.com/storybookjs/storybook/pull/5541)) +- Bump eslint-config-prettier from 3.6.0 to 4.0.0 ([#5539](https://github.com/storybookjs/storybook/pull/5539)) ## 5.0.0 (March 5, 2019) @@ -791,164 +1255,164 @@ Storybook 5.0 is a completely new UI with the following improvements: - ⌨️ Improved keyboard shortcuts that are user configurable - 🌍 New URL structure that eliminates long strings of query parameters - 5.0 contains hundreds more fixes, features, and tweaks. Browse the changelogs matching `5.0.0-alpha.*`, `5.0.0-beta.*`, and `5.0.0-rc.*` for the full list of changes. See [MIGRATION.md](https://github.com/storybooks/storybook/blob/next/MIGRATION.md) to ugprade from `4.x`. + 5.0 contains hundreds more fixes, features, and tweaks. Browse the changelogs matching `5.0.0-alpha.*`, `5.0.0-beta.*`, and `5.0.0-rc.*` for the full list of changes. See [MIGRATION.md](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md) to ugprade from `4.x`. ## 5.0.0-rc.11 (March 5, 2019) ### Bug Fixes -- UI: Fix base theme initialization and theme bootup ([#5843](https://github.com/storybooks/storybook/pull/5843)) -- UI: Fix SidebarItem feels "laggy" when clicked ([#5850](https://github.com/storybooks/storybook/pull/5850)) +- UI: Fix base theme initialization and theme bootup ([#5843](https://github.com/storybookjs/storybook/pull/5843)) +- UI: Fix SidebarItem feels "laggy" when clicked ([#5850](https://github.com/storybookjs/storybook/pull/5850)) ## 5.0.0-rc.10 (March 4, 2019) ### Bug Fixes -- Addon-viewports: Restore v4 behaviour ([#5829](https://github.com/storybooks/storybook/pull/5829)) -- Addon-backgrounds: Remove previously deprecated default export ([#5828](https://github.com/storybooks/storybook/pull/5828)) +- Addon-viewports: Restore v4 behaviour ([#5829](https://github.com/storybookjs/storybook/pull/5829)) +- Addon-backgrounds: Remove previously deprecated default export ([#5828](https://github.com/storybookjs/storybook/pull/5828)) ### Maintenance -- Addon-a11y: Cleanup and document migration ([#5833](https://github.com/storybooks/storybook/pull/5833)) +- Addon-a11y: Cleanup and document migration ([#5833](https://github.com/storybookjs/storybook/pull/5833)) ## 5.0.0-rc.9 (March 3, 2019) ### Features -- Core: Allow local decorators via params ([#5806](https://github.com/storybooks/storybook/pull/5806)) +- Core: Allow local decorators via params ([#5806](https://github.com/storybookjs/storybook/pull/5806)) ### Bug Fixes -- Core: Add warning for decorators added "mid-kind" ([#5819](https://github.com/storybooks/storybook/pull/5819)) -- Addon-notes: Support inline code markdown ([#5802](https://github.com/storybooks/storybook/pull/5802)) -- Theming: Fix theme loading bugs ([#5787](https://github.com/storybooks/storybook/pull/5787)) -- CLI: Fix build-storybook with simplebar esm files ([#5816](https://github.com/storybooks/storybook/pull/5816)) +- Core: Add warning for decorators added "mid-kind" ([#5819](https://github.com/storybookjs/storybook/pull/5819)) +- Addon-notes: Support inline code markdown ([#5802](https://github.com/storybookjs/storybook/pull/5802)) +- Theming: Fix theme loading bugs ([#5787](https://github.com/storybookjs/storybook/pull/5787)) +- CLI: Fix build-storybook with simplebar esm files ([#5816](https://github.com/storybookjs/storybook/pull/5816)) ## 5.0.0-rc.8 (March 1, 2019) ### Features -- Core: Allow local decorators via params ([#5806](https://github.com/storybooks/storybook/pull/5806)) +- Core: Allow local decorators via params ([#5806](https://github.com/storybookjs/storybook/pull/5806)) ### Bug Fixes -- UI: Sort storiesHash so grouped keys appear together ([#5805](https://github.com/storybooks/storybook/pull/5805)) -- UI: Close tooltips on iframe clicks on keypresses ([#5807](https://github.com/storybooks/storybook/pull/5807)) -- Addon-Info: Add font family to info panel ([#5759](https://github.com/storybooks/storybook/pull/5759)) +- UI: Sort storiesHash so grouped keys appear together ([#5805](https://github.com/storybookjs/storybook/pull/5805)) +- UI: Close tooltips on iframe clicks on keypresses ([#5807](https://github.com/storybookjs/storybook/pull/5807)) +- Addon-Info: Add font family to info panel ([#5759](https://github.com/storybookjs/storybook/pull/5759)) ## 5.0.0-rc.7 (February 28, 2019) ### Features -- UI: Page load animation and `STORIES_CONFIGURED` event ([#5756](https://github.com/storybooks/storybook/pull/5756)) -- Theming: Improve `brand` API ([#5733](https://github.com/storybooks/storybook/pull/5733)) -- UI: Fuzzy search improvement ([#5748](https://github.com/storybooks/storybook/pull/5748)) -- UI: Add toolbar animation ([#5742](https://github.com/storybooks/storybook/pull/5742)) +- UI: Page load animation and `STORIES_CONFIGURED` event ([#5756](https://github.com/storybookjs/storybook/pull/5756)) +- Theming: Improve `brand` API ([#5733](https://github.com/storybookjs/storybook/pull/5733)) +- UI: Fuzzy search improvement ([#5748](https://github.com/storybookjs/storybook/pull/5748)) +- UI: Add toolbar animation ([#5742](https://github.com/storybookjs/storybook/pull/5742)) ### Bug Fixes -- UI: Fix update notifications placement ([#5716](https://github.com/storybooks/storybook/pull/5716)) -- Angular: Fix global style imports ([#5776](https://github.com/storybooks/storybook/pull/5776)) -- Addon-options: Add backwards compatibility ([#5758](https://github.com/storybooks/storybook/pull/5758)) -- Addon-options: Fix deprecated url/name options ([#5773](https://github.com/storybooks/storybook/pull/5773)) -- Addon-knobs: Remove call to `forceReRender()` on `STORY_CHANGED` ([#5753](https://github.com/storybooks/storybook/pull/5753)) -- UI: Fix active state in addon-background, addon-viewport tools ([#5749](https://github.com/storybooks/storybook/pull/5749)) +- UI: Fix update notifications placement ([#5716](https://github.com/storybookjs/storybook/pull/5716)) +- Angular: Fix global style imports ([#5776](https://github.com/storybookjs/storybook/pull/5776)) +- Addon-options: Add backwards compatibility ([#5758](https://github.com/storybookjs/storybook/pull/5758)) +- Addon-options: Fix deprecated url/name options ([#5773](https://github.com/storybookjs/storybook/pull/5773)) +- Addon-knobs: Remove call to `forceReRender()` on `STORY_CHANGED` ([#5753](https://github.com/storybookjs/storybook/pull/5753)) +- UI: Fix active state in addon-background, addon-viewport tools ([#5749](https://github.com/storybookjs/storybook/pull/5749)) ## 5.0.0-rc.6 (February 25, 2019) ### Bug Fixes -- Addon-actions: FIX performance by upgrading to telejson 2.1 ([#5751](https://github.com/storybooks/storybook/pull/5751)) -- UI: FIX bad treeview mockdata ([#5741](https://github.com/storybooks/storybook/pull/5741)) -- UI: About page styling fixes ([#5732](https://github.com/storybooks/storybook/pull/5732)) -- UI: Restore the toolbar eject button ([#5737](https://github.com/storybooks/storybook/pull/5737)) +- Addon-actions: FIX performance by upgrading to telejson 2.1 ([#5751](https://github.com/storybookjs/storybook/pull/5751)) +- UI: FIX bad treeview mockdata ([#5741](https://github.com/storybookjs/storybook/pull/5741)) +- UI: About page styling fixes ([#5732](https://github.com/storybookjs/storybook/pull/5732)) +- UI: Restore the toolbar eject button ([#5737](https://github.com/storybookjs/storybook/pull/5737)) ## 5.0.0-rc.5 (February 23, 2019) ### Bug Fixes -- UI: Fix `/` search hotkey so it doesn't type into the input ([#5702](https://github.com/storybooks/storybook/pull/5702)) -- Addon-a11y: Fix a11y setup being undefined ([#5724](https://github.com/storybooks/storybook/pull/5724)) -- UI: Fix duplicate theming packages ([#5722](https://github.com/storybooks/storybook/pull/5722)) -- Core: Clean up debug logging ([#5705](https://github.com/storybooks/storybook/pull/5705)) -- UI: Minor addon ux tweaks ([#5712](https://github.com/storybooks/storybook/pull/5712)) -- Addon-a11y: Fix story scrolling ([#5713](https://github.com/storybooks/storybook/pull/5713)) -- UI: Fix mobile styling ([#5709](https://github.com/storybooks/storybook/pull/5709)) -- UI: Fix tooltip bugs ([#5692](https://github.com/storybooks/storybook/pull/5692)) -- UI: Fix toolbar separators ([#5711](https://github.com/storybooks/storybook/pull/5711)) +- UI: Fix `/` search hotkey so it doesn't type into the input ([#5702](https://github.com/storybookjs/storybook/pull/5702)) +- Addon-a11y: Fix a11y setup being undefined ([#5724](https://github.com/storybookjs/storybook/pull/5724)) +- UI: Fix duplicate theming packages ([#5722](https://github.com/storybookjs/storybook/pull/5722)) +- Core: Clean up debug logging ([#5705](https://github.com/storybookjs/storybook/pull/5705)) +- UI: Minor addon ux tweaks ([#5712](https://github.com/storybookjs/storybook/pull/5712)) +- Addon-a11y: Fix story scrolling ([#5713](https://github.com/storybookjs/storybook/pull/5713)) +- UI: Fix mobile styling ([#5709](https://github.com/storybookjs/storybook/pull/5709)) +- UI: Fix tooltip bugs ([#5692](https://github.com/storybookjs/storybook/pull/5692)) +- UI: Fix toolbar separators ([#5711](https://github.com/storybookjs/storybook/pull/5711)) ### Maintenance -- Typescript: migrate addon-backgrounds ([#5535](https://github.com/storybooks/storybook/pull/5535)) -- Typescript: fix typings for addon-backgrounds ([#5730](https://github.com/storybooks/storybook/pull/5730)) +- Typescript: migrate addon-backgrounds ([#5535](https://github.com/storybookjs/storybook/pull/5535)) +- Typescript: fix typings for addon-backgrounds ([#5730](https://github.com/storybookjs/storybook/pull/5730)) ## 5.0.0-rc.4 (February 21, 2019) ### Features -- UI: Handle prerelease versions in version check ([#5641](https://github.com/storybooks/storybook/pull/5641)) +- UI: Handle prerelease versions in version check ([#5641](https://github.com/storybookjs/storybook/pull/5641)) ### Bug Fixes -- UI: Fix scrollbar persistence ([#5689](https://github.com/storybooks/storybook/pull/5689)) -- UI: Fix keyboard shortcuts of toggleNav & togglePanel ([#5677](https://github.com/storybooks/storybook/pull/5677)) -- Core: Fix singleton module issue for manager & theme ([#5679](https://github.com/storybooks/storybook/pull/5679)) -- Addon-storysource: Fix source not updating ([#5672](https://github.com/storybooks/storybook/pull/5672)) -- Core: Fix broken error reporting ([#5678](https://github.com/storybooks/storybook/pull/5678)) -- Addon-info: Compare component name to story name, not story fn ([#5649](https://github.com/storybooks/storybook/pull/5649)) +- UI: Fix scrollbar persistence ([#5689](https://github.com/storybookjs/storybook/pull/5689)) +- UI: Fix keyboard shortcuts of toggleNav & togglePanel ([#5677](https://github.com/storybookjs/storybook/pull/5677)) +- Core: Fix singleton module issue for manager & theme ([#5679](https://github.com/storybookjs/storybook/pull/5679)) +- Addon-storysource: Fix source not updating ([#5672](https://github.com/storybookjs/storybook/pull/5672)) +- Core: Fix broken error reporting ([#5678](https://github.com/storybookjs/storybook/pull/5678)) +- Addon-info: Compare component name to story name, not story fn ([#5649](https://github.com/storybookjs/storybook/pull/5649)) ### Maintenance -- CLI: Cleanup version notice ([#5699](https://github.com/storybooks/storybook/pull/5699)) -- Core: Fix story fn consistency ([#5669](https://github.com/storybooks/storybook/pull/5669)) +- CLI: Cleanup version notice ([#5699](https://github.com/storybookjs/storybook/pull/5699)) +- Core: Fix story fn consistency ([#5669](https://github.com/storybookjs/storybook/pull/5669)) ## 4.1.13 (February 21, 2019) ### Maintenance -- CLI: Cleanup version notice ([#5699](https://github.com/storybooks/storybook/pull/5699)) -- Docs: Use static versions.json file instead of hacking one in ([#5675](https://github.com/storybooks/storybook/pull/5675)) +- CLI: Cleanup version notice ([#5699](https://github.com/storybookjs/storybook/pull/5699)) +- Docs: Use static versions.json file instead of hacking one in ([#5675](https://github.com/storybookjs/storybook/pull/5675)) ## 5.0.0-rc.3 (February 19, 2019) ### Bug Fixes -- UI: Styling bug fixes, story updates, and more QA ([#5650](https://github.com/storybooks/storybook/pull/5650)) -- UI: V5 style refinements ([#5562](https://github.com/storybooks/storybook/pull/5562)) +- UI: Styling bug fixes, story updates, and more QA ([#5650](https://github.com/storybookjs/storybook/pull/5650)) +- UI: V5 style refinements ([#5562](https://github.com/storybookjs/storybook/pull/5562)) ## 5.0.0-rc.2 (February 19, 2019) ### Features -- UI: Allow collapsing active story and use separate expansion for filtered ([#5625](https://github.com/storybooks/storybook/pull/5625)) -- UI: Handle prerelease versions in version check ([#5641](https://github.com/storybooks/storybook/pull/5641)) +- UI: Allow collapsing active story and use separate expansion for filtered ([#5625](https://github.com/storybookjs/storybook/pull/5625)) +- UI: Handle prerelease versions in version check ([#5641](https://github.com/storybookjs/storybook/pull/5641)) ### Bug Fixes -- Addon-a11y: Fix tab highlighting ([#5646](https://github.com/storybooks/storybook/pull/5646)) -- Addon-jest: Fix event subscription ([#5644](https://github.com/storybooks/storybook/pull/5644)) -- UI: Handle old versions in version check ([#5638](https://github.com/storybooks/storybook/pull/5638)) +- Addon-a11y: Fix tab highlighting ([#5646](https://github.com/storybookjs/storybook/pull/5646)) +- Addon-jest: Fix event subscription ([#5644](https://github.com/storybookjs/storybook/pull/5644)) +- UI: Handle old versions in version check ([#5638](https://github.com/storybookjs/storybook/pull/5638)) ### Maintenance -- UI: Fix some prop warnings ([#5635](https://github.com/storybooks/storybook/pull/5635)) -- UI: Use the correct props to start the tooltip open ([#5610](https://github.com/storybooks/storybook/pull/5610)) +- UI: Fix some prop warnings ([#5635](https://github.com/storybookjs/storybook/pull/5635)) +- UI: Use the correct props to start the tooltip open ([#5610](https://github.com/storybookjs/storybook/pull/5610)) ## 4.1.12 (February 18, 2019) ### Bug Fixes -- Addon-google-analytics: Add missing `register.js` file ([#5379](https://github.com/storybooks/storybook/pull/5379)) +- Addon-google-analytics: Add missing `register.js` file ([#5379](https://github.com/storybookjs/storybook/pull/5379)) ### Dependency Upgrades -- Update modal manager for rn 0.58 support ([#5581](https://github.com/storybooks/storybook/pull/5581)) +- Update modal manager for rn 0.58 support ([#5581](https://github.com/storybookjs/storybook/pull/5581)) ## 5.0.0-rc.1 (February 16, 2019) ### Bug Fixes -- Core: Add missing babel-preset-env dependency ([#5617](https://github.com/storybooks/storybook/pull/5617)) +- Core: Add missing babel-preset-env dependency ([#5617](https://github.com/storybookjs/storybook/pull/5617)) ## 5.0.0-rc.0 (February 16, 2019) @@ -968,86 +1432,86 @@ See [the RC announcement](https://gist.github.com/shilman/0332090b63f1798a58ed8d ### Bug Fixes -- UI: Fix mobile view ([#5603](https://github.com/storybooks/storybook/pull/5603)) -- UI: Misc warning fixes ([#5601](https://github.com/storybooks/storybook/pull/5601)) -- UI: Fix ie 11 ([#5599](https://github.com/storybooks/storybook/pull/5599)) -- CLI: Fix for when outputDir is an absolute path ([#5573](https://github.com/storybooks/storybook/pull/5573)) -- CLI: Avoid false-negative checks for port ([#5565](https://github.com/storybooks/storybook/pull/5565)) -- Core: Prioritise programatic configuration ([#5564](https://github.com/storybooks/storybook/pull/5564)) -- UI: FIX clear search ([#5550](https://github.com/storybooks/storybook/pull/5550)) -- Core: Transpile safe-eval package ([#5498](https://github.com/storybooks/storybook/pull/5498)) -- UI: Add default backgrounds to official example ([#5585](https://github.com/storybooks/storybook/pull/5585)) +- UI: Fix mobile view ([#5603](https://github.com/storybookjs/storybook/pull/5603)) +- UI: Misc warning fixes ([#5601](https://github.com/storybookjs/storybook/pull/5601)) +- UI: Fix ie 11 ([#5599](https://github.com/storybookjs/storybook/pull/5599)) +- CLI: Fix for when outputDir is an absolute path ([#5573](https://github.com/storybookjs/storybook/pull/5573)) +- CLI: Avoid false-negative checks for port ([#5565](https://github.com/storybookjs/storybook/pull/5565)) +- Core: Prioritise programatic configuration ([#5564](https://github.com/storybookjs/storybook/pull/5564)) +- UI: FIX clear search ([#5550](https://github.com/storybookjs/storybook/pull/5550)) +- Core: Transpile safe-eval package ([#5498](https://github.com/storybookjs/storybook/pull/5498)) +- UI: Add default backgrounds to official example ([#5585](https://github.com/storybookjs/storybook/pull/5585)) ## 5.0.0-beta.3 (February 13, 2019) ### Bug Fixes -- UI: V5 styling refinements ([#5562](https://github.com/storybooks/storybook/pull/5562)) +- UI: V5 styling refinements ([#5562](https://github.com/storybookjs/storybook/pull/5562)) ## 5.0.0-beta.2 (February 9, 2019) ### Features -- Storyshots: puppeteer launch config for CI ([#5487](https://github.com/storybooks/storybook/pull/5487)) +- Storyshots: puppeteer launch config for CI ([#5487](https://github.com/storybookjs/storybook/pull/5487)) ### Bug Fixes -- Addon-notes: fix loading behavior ([#5514](https://github.com/storybooks/storybook/pull/5514)) -- CLI: Workaround -h shorthand conflict ([#5464](https://github.com/storybooks/storybook/pull/5464)) -- Addons: remove tool addon styling ([#5452](https://github.com/storybooks/storybook/pull/5452)) +- Addon-notes: fix loading behavior ([#5514](https://github.com/storybookjs/storybook/pull/5514)) +- CLI: Workaround -h shorthand conflict ([#5464](https://github.com/storybookjs/storybook/pull/5464)) +- Addons: remove tool addon styling ([#5452](https://github.com/storybookjs/storybook/pull/5452)) ### Maintenance -- UI: V5 style refinements ([#5444](https://github.com/storybooks/storybook/pull/5444)) -- Core: Allow ignoring preview bundle building in core ([#5523](https://github.com/storybooks/storybook/pull/5523)) -- Core: Extract client-api pkg from core ([#5521](https://github.com/storybooks/storybook/pull/5521)) -- UI: Add react element hoisting && ADD display names via babel-plugin ([#5454](https://github.com/storybooks/storybook/pull/5454)) -- Build: TEMP disable the image snapshots ([#5469](https://github.com/storybooks/storybook/pull/5469)) +- UI: V5 style refinements ([#5444](https://github.com/storybookjs/storybook/pull/5444)) +- Core: Allow ignoring preview bundle building in core ([#5523](https://github.com/storybookjs/storybook/pull/5523)) +- Core: Extract client-api pkg from core ([#5521](https://github.com/storybookjs/storybook/pull/5521)) +- UI: Add react element hoisting && ADD display names via babel-plugin ([#5454](https://github.com/storybookjs/storybook/pull/5454)) +- Build: TEMP disable the image snapshots ([#5469](https://github.com/storybookjs/storybook/pull/5469)) ### Dependency Upgrades -- Bump vue and vue-template-compiler ([#5516](https://github.com/storybooks/storybook/pull/5516)) -- Bump react from 16.7.0 to 16.8.1 ([#5517](https://github.com/storybooks/storybook/pull/5517)) -- Bump react-is from 16.7.0 to 16.8.1 ([#5504](https://github.com/storybooks/storybook/pull/5504)) -- Bump eslint-plugin-jest from 22.2.1 to 22.2.2 ([#5505](https://github.com/storybooks/storybook/pull/5505)) -- Bump babel-plugin-emotion from 10.0.6 to 10.0.7 ([#5502](https://github.com/storybooks/storybook/pull/5502)) -- Bump ember-source from 3.7.2 to 3.7.3 ([#5501](https://github.com/storybooks/storybook/pull/5501)) -- Bump lint-staged from 8.1.1 to 8.1.3 ([#5503](https://github.com/storybooks/storybook/pull/5503)) -- Bump enzyme-adapter-react-16 from 1.9.0 to 1.9.1 ([#5507](https://github.com/storybooks/storybook/pull/5507)) -- dependencies: update lit-html to 1.0.0 ([#5490](https://github.com/storybooks/storybook/pull/5490)) -- Bump esm from 3.2.0 to 3.2.1 ([#5492](https://github.com/storybooks/storybook/pull/5492)) -- Bump webpack-cli from 3.2.1 to 3.2.3 ([#5494](https://github.com/storybooks/storybook/pull/5494)) -- Bump @babel/plugin-proposal-object-rest-spread from 7.3.1 to 7.3.2 ([#5496](https://github.com/storybooks/storybook/pull/5496)) -- Bump fuse.js from 3.3.0 to 3.3.1 ([#5497](https://github.com/storybooks/storybook/pull/5497)) -- Bump jest-emotion from 10.0.6 to 10.0.7 ([#5495](https://github.com/storybooks/storybook/pull/5495)) -- Bump prettier from 1.16.1 to 1.16.4 ([#5482](https://github.com/storybooks/storybook/pull/5482)) -- Bump @types/webpack-env from 1.13.6 to 1.13.7 ([#5477](https://github.com/storybooks/storybook/pull/5477)) -- Bump typescript from 3.2.4 to 3.3.1 ([#5479](https://github.com/storybooks/storybook/pull/5479)) -- Bump eslint-plugin-import from 2.15.0 to 2.16.0 ([#5480](https://github.com/storybooks/storybook/pull/5480)) -- Bump storybook-chromatic from 1.2.5 to 1.2.6 ([#5481](https://github.com/storybooks/storybook/pull/5481)) -- Bump enzyme-adapter-react-16 from 1.8.0 to 1.9.0 ([#5478](https://github.com/storybooks/storybook/pull/5478)) -- Bump markdown-to-jsx from 6.9.0 to 6.9.1 ([#5465](https://github.com/storybooks/storybook/pull/5465)) -- Bump @angular/compiler from 7.2.2 to 7.2.3 ([#5466](https://github.com/storybooks/storybook/pull/5466)) -- Bump babel-plugin-react-docgen from 2.0.0 to 2.0.2 ([#5468](https://github.com/storybooks/storybook/pull/5468)) -- Bump danger from 7.0.4 to 7.0.7 ([#5467](https://github.com/storybooks/storybook/pull/5467)) -- Bump puppeteer from 1.11.0 to 1.12.0 ([#5450](https://github.com/storybooks/storybook/pull/5450)) -- Bump @angular/platform-browser-dynamic from 7.2.2 to 7.2.3 ([#5434](https://github.com/storybooks/storybook/pull/5434)) -- Bump esm from 3.1.4 to 3.2.0 ([#5447](https://github.com/storybooks/storybook/pull/5447)) -- Bump eslint-plugin-jest from 22.1.3 to 22.2.1 ([#5448](https://github.com/storybooks/storybook/pull/5448)) -- Bump danger from 7.0.2 to 7.0.4 ([#5449](https://github.com/storybooks/storybook/pull/5449)) -- Bump case-sensitive-paths-webpack-plugin from 2.1.2 to 2.2.0 ([#5451](https://github.com/storybooks/storybook/pull/5451)) +- Bump vue and vue-template-compiler ([#5516](https://github.com/storybookjs/storybook/pull/5516)) +- Bump react from 16.7.0 to 16.8.1 ([#5517](https://github.com/storybookjs/storybook/pull/5517)) +- Bump react-is from 16.7.0 to 16.8.1 ([#5504](https://github.com/storybookjs/storybook/pull/5504)) +- Bump eslint-plugin-jest from 22.2.1 to 22.2.2 ([#5505](https://github.com/storybookjs/storybook/pull/5505)) +- Bump babel-plugin-emotion from 10.0.6 to 10.0.7 ([#5502](https://github.com/storybookjs/storybook/pull/5502)) +- Bump ember-source from 3.7.2 to 3.7.3 ([#5501](https://github.com/storybookjs/storybook/pull/5501)) +- Bump lint-staged from 8.1.1 to 8.1.3 ([#5503](https://github.com/storybookjs/storybook/pull/5503)) +- Bump enzyme-adapter-react-16 from 1.9.0 to 1.9.1 ([#5507](https://github.com/storybookjs/storybook/pull/5507)) +- dependencies: update lit-html to 1.0.0 ([#5490](https://github.com/storybookjs/storybook/pull/5490)) +- Bump esm from 3.2.0 to 3.2.1 ([#5492](https://github.com/storybookjs/storybook/pull/5492)) +- Bump webpack-cli from 3.2.1 to 3.2.3 ([#5494](https://github.com/storybookjs/storybook/pull/5494)) +- Bump @babel/plugin-proposal-object-rest-spread from 7.3.1 to 7.3.2 ([#5496](https://github.com/storybookjs/storybook/pull/5496)) +- Bump fuse.js from 3.3.0 to 3.3.1 ([#5497](https://github.com/storybookjs/storybook/pull/5497)) +- Bump jest-emotion from 10.0.6 to 10.0.7 ([#5495](https://github.com/storybookjs/storybook/pull/5495)) +- Bump prettier from 1.16.1 to 1.16.4 ([#5482](https://github.com/storybookjs/storybook/pull/5482)) +- Bump @types/webpack-env from 1.13.6 to 1.13.7 ([#5477](https://github.com/storybookjs/storybook/pull/5477)) +- Bump typescript from 3.2.4 to 3.3.1 ([#5479](https://github.com/storybookjs/storybook/pull/5479)) +- Bump eslint-plugin-import from 2.15.0 to 2.16.0 ([#5480](https://github.com/storybookjs/storybook/pull/5480)) +- Bump storybook-chromatic from 1.2.5 to 1.2.6 ([#5481](https://github.com/storybookjs/storybook/pull/5481)) +- Bump enzyme-adapter-react-16 from 1.8.0 to 1.9.0 ([#5478](https://github.com/storybookjs/storybook/pull/5478)) +- Bump markdown-to-jsx from 6.9.0 to 6.9.1 ([#5465](https://github.com/storybookjs/storybook/pull/5465)) +- Bump @angular/compiler from 7.2.2 to 7.2.3 ([#5466](https://github.com/storybookjs/storybook/pull/5466)) +- Bump babel-plugin-react-docgen from 2.0.0 to 2.0.2 ([#5468](https://github.com/storybookjs/storybook/pull/5468)) +- Bump danger from 7.0.4 to 7.0.7 ([#5467](https://github.com/storybookjs/storybook/pull/5467)) +- Bump puppeteer from 1.11.0 to 1.12.0 ([#5450](https://github.com/storybookjs/storybook/pull/5450)) +- Bump @angular/platform-browser-dynamic from 7.2.2 to 7.2.3 ([#5434](https://github.com/storybookjs/storybook/pull/5434)) +- Bump esm from 3.1.4 to 3.2.0 ([#5447](https://github.com/storybookjs/storybook/pull/5447)) +- Bump eslint-plugin-jest from 22.1.3 to 22.2.1 ([#5448](https://github.com/storybookjs/storybook/pull/5448)) +- Bump danger from 7.0.2 to 7.0.4 ([#5449](https://github.com/storybookjs/storybook/pull/5449)) +- Bump case-sensitive-paths-webpack-plugin from 2.1.2 to 2.2.0 ([#5451](https://github.com/storybookjs/storybook/pull/5451)) ## 5.0.0-beta.1 (February 1, 2019) ### Bug Fixes -- Addon-backgrounds: Fix tool not appearing, or appearing only after a few navigations ([#5439](https://github.com/storybooks/storybook/pull/5439)) +- Addon-backgrounds: Fix tool not appearing, or appearing only after a few navigations ([#5439](https://github.com/storybookjs/storybook/pull/5439)) ### Maintenance -- UI:Added iframe stories ([#5428](https://github.com/storybooks/storybook/pull/5428)) -- UI: Broke up Sidebar (ex-nav) and made stories for subcomponents ([#5426](https://github.com/storybooks/storybook/pull/5426)) -- UI: Improve about/shortcuts stories by passing in `onClose` as a prop. ([#5425](https://github.com/storybooks/storybook/pull/5425)) +- UI:Added iframe stories ([#5428](https://github.com/storybookjs/storybook/pull/5428)) +- UI: Broke up Sidebar (ex-nav) and made stories for subcomponents ([#5426](https://github.com/storybookjs/storybook/pull/5426)) +- UI: Improve about/shortcuts stories by passing in `onClose` as a prop. ([#5425](https://github.com/storybookjs/storybook/pull/5425)) ## 5.0.0-beta.0 (February 1, 2019) @@ -1057,88 +1521,88 @@ Failed release ### Features -- Addon-knobs: Added property name into form fields ([#5414](https://github.com/storybooks/storybook/pull/5414)) +- Addon-knobs: Added property name into form fields ([#5414](https://github.com/storybookjs/storybook/pull/5414)) ### Bug Fixes -- UI: Fix the layout issue where panels still sort-of appear on non story viewmodes ([#5413](https://github.com/storybooks/storybook/pull/5413)) +- UI: Fix the layout issue where panels still sort-of appear on non story viewmodes ([#5413](https://github.com/storybookjs/storybook/pull/5413)) ### Maintenance -- UI: Refactoring components and adding more stories ([#5404](https://github.com/storybooks/storybook/pull/5404)) -- UI: Add extra stories for StoryExplorer component & subcomponents ([#5424](https://github.com/storybooks/storybook/pull/5424)) -- UI: theming treeview & preview ([#5372](https://github.com/storybooks/storybook/pull/5372)) +- UI: Refactoring components and adding more stories ([#5404](https://github.com/storybookjs/storybook/pull/5404)) +- UI: Add extra stories for StoryExplorer component & subcomponents ([#5424](https://github.com/storybookjs/storybook/pull/5424)) +- UI: theming treeview & preview ([#5372](https://github.com/storybookjs/storybook/pull/5372)) ### Dependency Upgrades -- Bump @ngrx/store from 7.1.0 to 7.2.0 ([#5433](https://github.com/storybooks/storybook/pull/5433)) -- Bump @angular/cli from 7.2.2 to 7.3.0 ([#5432](https://github.com/storybooks/storybook/pull/5432)) -- Bump ember-cli-babel from 7.4.0 to 7.4.1 ([#5431](https://github.com/storybooks/storybook/pull/5431)) -- Bump @ember/test-helpers from 1.3.0 to 1.3.1 ([#5430](https://github.com/storybooks/storybook/pull/5430)) -- Bump jest-diff from 23.6.0 to 24.0.0 ([#5429](https://github.com/storybooks/storybook/pull/5429)) -- Bump @types/react from 16.7.21 to 16.7.22 ([#5405](https://github.com/storybooks/storybook/pull/5405)) -- Bump @types/node from 10.12.18 to 10.12.19 ([#5406](https://github.com/storybooks/storybook/pull/5406)) -- Bump autoprefixer from 9.4.6 to 9.4.7 ([#5407](https://github.com/storybooks/storybook/pull/5407)) -- Bump storybook-chromatic from 1.2.4 to 1.2.5 ([#5408](https://github.com/storybooks/storybook/pull/5408)) -- Bump rxjs-compat from 6.3.3 to 6.4.0 ([#5409](https://github.com/storybooks/storybook/pull/5409)) -- Bump jest-config from 23.6.0 to 24.0.0 ([#5410](https://github.com/storybooks/storybook/pull/5410)) -- Bump jest-environment-jsdom from 23.4.0 to 24.0.0 ([#5398](https://github.com/storybooks/storybook/pull/5398)) -- Bump lint-staged from 8.1.0 to 8.1.1 ([#5395](https://github.com/storybooks/storybook/pull/5395)) -- Bump ts-node from 8.0.1 to 8.0.2 ([#5396](https://github.com/storybooks/storybook/pull/5396)) -- Bump @angular/compiler from 7.2.1 to 7.2.2 ([#5394](https://github.com/storybooks/storybook/pull/5394)) -- Bump eslint-plugin-jsx-a11y from 6.1.2 to 6.2.0 ([#5397](https://github.com/storybooks/storybook/pull/5397)) -- Bump telejson from 1.0.0 to 1.0.1 ([#5399](https://github.com/storybooks/storybook/pull/5399)) -- Bump @ember/test-helpers from 1.1.0 to 1.3.0 ([#5383](https://github.com/storybooks/storybook/pull/5383)) -- Bump esm from 3.1.1 to 3.1.4 ([#5384](https://github.com/storybooks/storybook/pull/5384)) -- Bump ws from 6.1.2 to 6.1.3 ([#5385](https://github.com/storybooks/storybook/pull/5385)) -- Bump jest-jasmine2 from 23.6.0 to 24.0.0 ([#5386](https://github.com/storybooks/storybook/pull/5386)) -- Bump vue-loader from 15.6.0 to 15.6.2 ([#5387](https://github.com/storybooks/storybook/pull/5387)) -- Bump @types/react from 16.7.20 to 16.7.21 ([#5388](https://github.com/storybooks/storybook/pull/5388)) +- Bump @ngrx/store from 7.1.0 to 7.2.0 ([#5433](https://github.com/storybookjs/storybook/pull/5433)) +- Bump @angular/cli from 7.2.2 to 7.3.0 ([#5432](https://github.com/storybookjs/storybook/pull/5432)) +- Bump ember-cli-babel from 7.4.0 to 7.4.1 ([#5431](https://github.com/storybookjs/storybook/pull/5431)) +- Bump @ember/test-helpers from 1.3.0 to 1.3.1 ([#5430](https://github.com/storybookjs/storybook/pull/5430)) +- Bump jest-diff from 23.6.0 to 24.0.0 ([#5429](https://github.com/storybookjs/storybook/pull/5429)) +- Bump @types/react from 16.7.21 to 16.7.22 ([#5405](https://github.com/storybookjs/storybook/pull/5405)) +- Bump @types/node from 10.12.18 to 10.12.19 ([#5406](https://github.com/storybookjs/storybook/pull/5406)) +- Bump autoprefixer from 9.4.6 to 9.4.7 ([#5407](https://github.com/storybookjs/storybook/pull/5407)) +- Bump storybook-chromatic from 1.2.4 to 1.2.5 ([#5408](https://github.com/storybookjs/storybook/pull/5408)) +- Bump rxjs-compat from 6.3.3 to 6.4.0 ([#5409](https://github.com/storybookjs/storybook/pull/5409)) +- Bump jest-config from 23.6.0 to 24.0.0 ([#5410](https://github.com/storybookjs/storybook/pull/5410)) +- Bump jest-environment-jsdom from 23.4.0 to 24.0.0 ([#5398](https://github.com/storybookjs/storybook/pull/5398)) +- Bump lint-staged from 8.1.0 to 8.1.1 ([#5395](https://github.com/storybookjs/storybook/pull/5395)) +- Bump ts-node from 8.0.1 to 8.0.2 ([#5396](https://github.com/storybookjs/storybook/pull/5396)) +- Bump @angular/compiler from 7.2.1 to 7.2.2 ([#5394](https://github.com/storybookjs/storybook/pull/5394)) +- Bump eslint-plugin-jsx-a11y from 6.1.2 to 6.2.0 ([#5397](https://github.com/storybookjs/storybook/pull/5397)) +- Bump telejson from 1.0.0 to 1.0.1 ([#5399](https://github.com/storybookjs/storybook/pull/5399)) +- Bump @ember/test-helpers from 1.1.0 to 1.3.0 ([#5383](https://github.com/storybookjs/storybook/pull/5383)) +- Bump esm from 3.1.1 to 3.1.4 ([#5384](https://github.com/storybookjs/storybook/pull/5384)) +- Bump ws from 6.1.2 to 6.1.3 ([#5385](https://github.com/storybookjs/storybook/pull/5385)) +- Bump jest-jasmine2 from 23.6.0 to 24.0.0 ([#5386](https://github.com/storybookjs/storybook/pull/5386)) +- Bump vue-loader from 15.6.0 to 15.6.2 ([#5387](https://github.com/storybookjs/storybook/pull/5387)) +- Bump @types/react from 16.7.20 to 16.7.21 ([#5388](https://github.com/storybookjs/storybook/pull/5388)) ## 5.0.0-alpha.10 (January 28, 2019) ### Features -- Core: Version update use persistence ([#5370](https://github.com/storybooks/storybook/pull/5370)) -- Addon-Notes: Add giphy support ([#5381](https://github.com/storybooks/storybook/pull/5381)) +- Core: Version update use persistence ([#5370](https://github.com/storybookjs/storybook/pull/5370)) +- Addon-Notes: Add giphy support ([#5381](https://github.com/storybookjs/storybook/pull/5381)) ### Bug Fixes -- UI: Fix issue where "Tab" keyboard input => []. ([#5374](https://github.com/storybooks/storybook/pull/5374)) -- UI: FIX keybindings were pointing to null events ([#5375](https://github.com/storybooks/storybook/pull/5375)) -- Addon-GA: Add missing `register.js` file in base directory ([#5379](https://github.com/storybooks/storybook/pull/5379)) +- UI: Fix issue where "Tab" keyboard input => []. ([#5374](https://github.com/storybookjs/storybook/pull/5374)) +- UI: FIX keybindings were pointing to null events ([#5375](https://github.com/storybookjs/storybook/pull/5375)) +- Addon-GA: Add missing `register.js` file in base directory ([#5379](https://github.com/storybookjs/storybook/pull/5379)) ### Maintenance -- Typescript: Migrate addon-cssresources ([#5380](https://github.com/storybooks/storybook/pull/5380)) -- UI: Keyboard shortcuts refactor ([#5359](https://github.com/storybooks/storybook/pull/5359)) +- Typescript: Migrate addon-cssresources ([#5380](https://github.com/storybookjs/storybook/pull/5380)) +- UI: Keyboard shortcuts refactor ([#5359](https://github.com/storybookjs/storybook/pull/5359)) ### Dependency Upgrades -- Bump enzyme-adapter-react-16 from 1.7.1 to 1.8.0 ([#5366](https://github.com/storybooks/storybook/pull/5366)) -- Bump typescript from 3.2.2 to 3.2.4 ([#5368](https://github.com/storybooks/storybook/pull/5368)) -- Bump @babel/plugin-transform-react-jsx from 7.2.0 to 7.3.0 ([#5367](https://github.com/storybooks/storybook/pull/5367)) -- Bump @babel/preset-env from 7.2.3 to 7.3.1 ([#5369](https://github.com/storybooks/storybook/pull/5369)) -- Bump vue-loader from 15.5.1 to 15.6.0 ([#5365](https://github.com/storybooks/storybook/pull/5365)) -- Bump prettier from 1.15.3 to 1.16.1 ([#5354](https://github.com/storybooks/storybook/pull/5354)) -- Bump ember-source from 3.7.0 to 3.7.2 ([#5358](https://github.com/storybooks/storybook/pull/5358)) -- Bump @angular/platform-browser-dynamic from 7.2.1 to 7.2.2 ([#5353](https://github.com/storybooks/storybook/pull/5353)) -- Bump ember-cli-babel from 7.2.0 to 7.4.0 ([#5357](https://github.com/storybooks/storybook/pull/5357)) -- Bump zone.js from 0.8.28 to 0.8.29 ([#5355](https://github.com/storybooks/storybook/pull/5355)) -- Bump lerna from 3.10.6 to 3.10.7 ([#5356](https://github.com/storybooks/storybook/pull/5356)) -- Bump eslint-plugin-import from 2.14.0 to 2.15.0 ([#5352](https://github.com/storybooks/storybook/pull/5352)) -- Bump immer from 1.10.5 to 1.12.0 ([#5345](https://github.com/storybooks/storybook/pull/5345)) -- Bump @babel/plugin-proposal-object-rest-spread from 7.2.0 to 7.3.1 ([#5342](https://github.com/storybooks/storybook/pull/5342)) -- Bump autoprefixer from 9.4.5 to 9.4.6 ([#5347](https://github.com/storybooks/storybook/pull/5347)) -- Bump react-focus-lock from 1.17.6 to 1.17.7 ([#5344](https://github.com/storybooks/storybook/pull/5344)) -- Bump @ngrx/store from 7.0.0 to 7.1.0 ([#5341](https://github.com/storybooks/storybook/pull/5341)) +- Bump enzyme-adapter-react-16 from 1.7.1 to 1.8.0 ([#5366](https://github.com/storybookjs/storybook/pull/5366)) +- Bump typescript from 3.2.2 to 3.2.4 ([#5368](https://github.com/storybookjs/storybook/pull/5368)) +- Bump @babel/plugin-transform-react-jsx from 7.2.0 to 7.3.0 ([#5367](https://github.com/storybookjs/storybook/pull/5367)) +- Bump @babel/preset-env from 7.2.3 to 7.3.1 ([#5369](https://github.com/storybookjs/storybook/pull/5369)) +- Bump vue-loader from 15.5.1 to 15.6.0 ([#5365](https://github.com/storybookjs/storybook/pull/5365)) +- Bump prettier from 1.15.3 to 1.16.1 ([#5354](https://github.com/storybookjs/storybook/pull/5354)) +- Bump ember-source from 3.7.0 to 3.7.2 ([#5358](https://github.com/storybookjs/storybook/pull/5358)) +- Bump @angular/platform-browser-dynamic from 7.2.1 to 7.2.2 ([#5353](https://github.com/storybookjs/storybook/pull/5353)) +- Bump ember-cli-babel from 7.2.0 to 7.4.0 ([#5357](https://github.com/storybookjs/storybook/pull/5357)) +- Bump zone.js from 0.8.28 to 0.8.29 ([#5355](https://github.com/storybookjs/storybook/pull/5355)) +- Bump lerna from 3.10.6 to 3.10.7 ([#5356](https://github.com/storybookjs/storybook/pull/5356)) +- Bump eslint-plugin-import from 2.14.0 to 2.15.0 ([#5352](https://github.com/storybookjs/storybook/pull/5352)) +- Bump immer from 1.10.5 to 1.12.0 ([#5345](https://github.com/storybookjs/storybook/pull/5345)) +- Bump @babel/plugin-proposal-object-rest-spread from 7.2.0 to 7.3.1 ([#5342](https://github.com/storybookjs/storybook/pull/5342)) +- Bump autoprefixer from 9.4.5 to 9.4.6 ([#5347](https://github.com/storybookjs/storybook/pull/5347)) +- Bump react-focus-lock from 1.17.6 to 1.17.7 ([#5344](https://github.com/storybookjs/storybook/pull/5344)) +- Bump @ngrx/store from 7.0.0 to 7.1.0 ([#5341](https://github.com/storybookjs/storybook/pull/5341)) ## 4.1.11 (January 24, 2019) ### Bug Fixes -- React-native: Fixed isUIHidden param ([#5067](https://github.com/storybooks/storybook/pull/5067)) -- React-native: Disabling warning if story is not set in async storage ([#5068](https://github.com/storybooks/storybook/pull/5068)) +- React-native: Fixed isUIHidden param ([#5067](https://github.com/storybookjs/storybook/pull/5067)) +- React-native: Disabling warning if story is not set in async storage ([#5068](https://github.com/storybookjs/storybook/pull/5068)) ## 4.1.10 (January 24, 2019) @@ -1148,22 +1612,22 @@ Release failed due to NPM error ### Features -- Core: Add a STORY_UNCHANGED event ([#5340](https://github.com/storybooks/storybook/pull/5340)) -- Core: Add a persistence API to context/state -- use for keyboard shortcuts ([#5289](https://github.com/storybooks/storybook/pull/5289)) +- Core: Add a STORY_UNCHANGED event ([#5340](https://github.com/storybookjs/storybook/pull/5340)) +- Core: Add a persistence API to context/state -- use for keyboard shortcuts ([#5289](https://github.com/storybookjs/storybook/pull/5289)) ### Maintenance -- Addon-knobs: Fix story so array type is array ([#5318](https://github.com/storybooks/storybook/pull/5318)) +- Addon-knobs: Fix story so array type is array ([#5318](https://github.com/storybookjs/storybook/pull/5318)) ### Dependency Upgrades -- Bump ts-node from 7.0.1 to 8.0.1 ([#5346](https://github.com/storybooks/storybook/pull/5346)) -- Bump marko from 4.14.20 to 4.14.21 ([#5343](https://github.com/storybooks/storybook/pull/5343)) -- Bump @types/jest from 23.3.12 to 23.3.13 ([#5327](https://github.com/storybooks/storybook/pull/5327)) -- Bump @babel/plugin-proposal-class-properties from 7.2.3 to 7.3.0 ([#5326](https://github.com/storybooks/storybook/pull/5326)) -- Bump esm from 3.1.0 to 3.1.1 ([#5328](https://github.com/storybooks/storybook/pull/5328)) -- Bump resolve from 1.9.0 to 1.10.0 ([#5329](https://github.com/storybooks/storybook/pull/5329)) -- Bump webpack from 4.28.4 to 4.29.0 ([#5331](https://github.com/storybooks/storybook/pull/5331)) +- Bump ts-node from 7.0.1 to 8.0.1 ([#5346](https://github.com/storybookjs/storybook/pull/5346)) +- Bump marko from 4.14.20 to 4.14.21 ([#5343](https://github.com/storybookjs/storybook/pull/5343)) +- Bump @types/jest from 23.3.12 to 23.3.13 ([#5327](https://github.com/storybookjs/storybook/pull/5327)) +- Bump @babel/plugin-proposal-class-properties from 7.2.3 to 7.3.0 ([#5326](https://github.com/storybookjs/storybook/pull/5326)) +- Bump esm from 3.1.0 to 3.1.1 ([#5328](https://github.com/storybookjs/storybook/pull/5328)) +- Bump resolve from 1.9.0 to 1.10.0 ([#5329](https://github.com/storybookjs/storybook/pull/5329)) +- Bump webpack from 4.28.4 to 4.29.0 ([#5331](https://github.com/storybookjs/storybook/pull/5331)) ## 4.1.9 (January 23, 2019) @@ -1171,7 +1635,7 @@ Note that `4.1.7` contained a bad merge that missed an important change. This re ### Bug Fixes -- Core: Add missing polyfills to manager to support IE ([#5238](https://github.com/storybooks/storybook/pull/5238)) +- Core: Add missing polyfills to manager to support IE ([#5238](https://github.com/storybookjs/storybook/pull/5238)) ## 4.1.8 (January 23, 2019) @@ -1181,94 +1645,94 @@ Bad release ### Features -- UI: Memoize treeview utils && ADD fuzzy search ([#5321](https://github.com/storybooks/storybook/pull/5321)) +- UI: Memoize treeview utils && ADD fuzzy search ([#5321](https://github.com/storybookjs/storybook/pull/5321)) ### Maintenance -- Migrate addon google analytics to TS ([#5307](https://github.com/storybooks/storybook/pull/5307)) -- Storyshots: restore emotion snapshots ([#5305](https://github.com/storybooks/storybook/pull/5305)) +- Migrate addon google analytics to TS ([#5307](https://github.com/storybookjs/storybook/pull/5307)) +- Storyshots: restore emotion snapshots ([#5305](https://github.com/storybookjs/storybook/pull/5305)) ### Dependency Upgrades -- Bump eslint-config-prettier from 3.5.0 to 3.6.0 ([#5311](https://github.com/storybooks/storybook/pull/5311)) -- Bump eslint-plugin-react from 7.12.3 to 7.12.4 ([#5310](https://github.com/storybooks/storybook/pull/5310)) -- Bump vuex from 3.0.1 to 3.1.0 ([#5316](https://github.com/storybooks/storybook/pull/5316)) -- Bump lerna from 3.10.5 to 3.10.6 ([#5313](https://github.com/storybooks/storybook/pull/5313)) -- Bump react-docgen-typescript-loader from 3.0.0 to 3.0.1 ([#5315](https://github.com/storybooks/storybook/pull/5315)) -- Bump eslint from 5.12.0 to 5.12.1 ([#5314](https://github.com/storybooks/storybook/pull/5314)) -- Bump jscodeshift from 0.6.2 to 0.6.3 ([#5317](https://github.com/storybooks/storybook/pull/5317)) +- Bump eslint-config-prettier from 3.5.0 to 3.6.0 ([#5311](https://github.com/storybookjs/storybook/pull/5311)) +- Bump eslint-plugin-react from 7.12.3 to 7.12.4 ([#5310](https://github.com/storybookjs/storybook/pull/5310)) +- Bump vuex from 3.0.1 to 3.1.0 ([#5316](https://github.com/storybookjs/storybook/pull/5316)) +- Bump lerna from 3.10.5 to 3.10.6 ([#5313](https://github.com/storybookjs/storybook/pull/5313)) +- Bump react-docgen-typescript-loader from 3.0.0 to 3.0.1 ([#5315](https://github.com/storybookjs/storybook/pull/5315)) +- Bump eslint from 5.12.0 to 5.12.1 ([#5314](https://github.com/storybookjs/storybook/pull/5314)) +- Bump jscodeshift from 0.6.2 to 0.6.3 ([#5317](https://github.com/storybookjs/storybook/pull/5317)) ## 5.0.0-alpha.7 (January 20, 2019) ### Breaking Changes -- Addon-centered: Add special entry-points for Vue and React ([#5296](https://github.com/storybooks/storybook/pull/5296)) +- Addon-centered: Add special entry-points for Vue and React ([#5296](https://github.com/storybookjs/storybook/pull/5296)) ### Features -- CLI: new `add` command ([#4236](https://github.com/storybooks/storybook/pull/4236)) -- UI: set the document title when navigating stories ([#5277](https://github.com/storybooks/storybook/pull/5277)) +- CLI: new `add` command ([#4236](https://github.com/storybookjs/storybook/pull/4236)) +- UI: set the document title when navigating stories ([#5277](https://github.com/storybookjs/storybook/pull/5277)) ### Bug Fixes -- Addon-a11y: RE-ADD deprecated 'configureA11Y' for backwards compatibility ([#5302](https://github.com/storybooks/storybook/pull/5302)) -- UI: FIX navgition issue for `file://` URLs ([#5295](https://github.com/storybooks/storybook/pull/5295)) -- UI: FIX merge mutation ([#5300](https://github.com/storybooks/storybook/pull/5300)) -- Core: FIX issue where webpack process would hang when manager build failed ([#5290](https://github.com/storybooks/storybook/pull/5290)) +- Addon-a11y: RE-ADD deprecated 'configureA11Y' for backwards compatibility ([#5302](https://github.com/storybookjs/storybook/pull/5302)) +- UI: FIX navgition issue for `file://` URLs ([#5295](https://github.com/storybookjs/storybook/pull/5295)) +- UI: FIX merge mutation ([#5300](https://github.com/storybookjs/storybook/pull/5300)) +- Core: FIX issue where webpack process would hang when manager build failed ([#5290](https://github.com/storybookjs/storybook/pull/5290)) ## 5.0.0-alpha.6 (January 18, 2019) ### Maintenance -- Restore official-storybook error test ([#5281](https://github.com/storybooks/storybook/pull/5281)) -- Add explicit return types to @storybook/addons ([#5212](https://github.com/storybooks/storybook/pull/5212)) -- REFACTOR router into @storybook/router ([#5252](https://github.com/storybooks/storybook/pull/5252)) +- Restore official-storybook error test ([#5281](https://github.com/storybookjs/storybook/pull/5281)) +- Add explicit return types to @storybook/addons ([#5212](https://github.com/storybookjs/storybook/pull/5212)) +- REFACTOR router into @storybook/router ([#5252](https://github.com/storybookjs/storybook/pull/5252)) ### Dependency Upgrades -- Bump react-select from 2.2.0 to 2.3.0 ([#5288](https://github.com/storybooks/storybook/pull/5288)) -- Bump webpack-dev-middleware from 3.5.0 to 3.5.1 ([#5285](https://github.com/storybooks/storybook/pull/5285)) -- Bump dotenv-webpack from 1.6.0 to 1.7.0 ([#5283](https://github.com/storybooks/storybook/pull/5283)) -- Bump graphql from 0.13.2 to 14.1.1 ([#5282](https://github.com/storybooks/storybook/pull/5282)) -- Bump marko from 4.14.19 to 4.14.20 ([#5284](https://github.com/storybooks/storybook/pull/5284)) -- Bumps webpack from 4.28.3 to 4.28.4 ([#5260](https://github.com/storybooks/storybook/pull/5260)) +- Bump react-select from 2.2.0 to 2.3.0 ([#5288](https://github.com/storybookjs/storybook/pull/5288)) +- Bump webpack-dev-middleware from 3.5.0 to 3.5.1 ([#5285](https://github.com/storybookjs/storybook/pull/5285)) +- Bump dotenv-webpack from 1.6.0 to 1.7.0 ([#5283](https://github.com/storybookjs/storybook/pull/5283)) +- Bump graphql from 0.13.2 to 14.1.1 ([#5282](https://github.com/storybookjs/storybook/pull/5282)) +- Bump marko from 4.14.19 to 4.14.20 ([#5284](https://github.com/storybookjs/storybook/pull/5284)) +- Bumps webpack from 4.28.3 to 4.28.4 ([#5260](https://github.com/storybookjs/storybook/pull/5260)) ## 4.1.7 (January 17, 2019) ### Bug Fixes -- Core: make absolute DLL path relative ([#5238](https://github.com/storybooks/storybook/pull/5238)) -- Addon-actions: import utils directly to prevent import cycles ([#5107](https://github.com/storybooks/storybook/pull/5107)) -- Add-knobs: render non-grouped knobs in the ALL tab ([#5106](https://github.com/storybooks/storybook/pull/5106)) +- Core: make absolute DLL path relative ([#5238](https://github.com/storybookjs/storybook/pull/5238)) +- Addon-actions: import utils directly to prevent import cycles ([#5107](https://github.com/storybookjs/storybook/pull/5107)) +- Add-knobs: render non-grouped knobs in the ALL tab ([#5106](https://github.com/storybookjs/storybook/pull/5106)) ## 5.0.0-alpha.5 (January 17, 2019) ### Features -- Core: preserve user-specified iframe url params ([#5272](https://github.com/storybooks/storybook/pull/5272)) +- Core: preserve user-specified iframe url params ([#5272](https://github.com/storybookjs/storybook/pull/5272)) ### Bug Fixes -- Storyshots: FIX using the wrong parameter for disabling ([#5257](https://github.com/storybooks/storybook/pull/5257)) +- Storyshots: FIX using the wrong parameter for disabling ([#5257](https://github.com/storybookjs/storybook/pull/5257)) ## 5.0.0-alpha.4 (January 17, 2019) ### Bug Fixes -- Core: Fix iframe url params ([#5265](https://github.com/storybooks/storybook/pull/5265)) +- Core: Fix iframe url params ([#5265](https://github.com/storybookjs/storybook/pull/5265)) ### Maintenance -- Core: Rename viewMode/url from `components` to `story` ([#5266](https://github.com/storybooks/storybook/pull/5266)) -- Core: Export events constants as named exports ([#5186](https://github.com/storybooks/storybook/pull/5186)) +- Core: Rename viewMode/url from `components` to `story` ([#5266](https://github.com/storybookjs/storybook/pull/5266)) +- Core: Export events constants as named exports ([#5186](https://github.com/storybookjs/storybook/pull/5186)) ### Dependency Upgrades -- Bump vue and vue-template-compiler ([#5231](https://github.com/storybooks/storybook/pull/5231)) -- Bump ember-cli from 3.7.0 to 3.7.1 ([#5243](https://github.com/storybooks/storybook/pull/5243)) -- Bump ember-source from 3.6.1 to 3.7.0 ([#5258](https://github.com/storybooks/storybook/pull/5258)) -- Bump @angular/platform-browser-dynamic from 7.1.4 to 7.2.0 ([#5259](https://github.com/storybooks/storybook/pull/5259)) -- Bump vue-loader from 15.4.2 to 15.5.1 ([#5261](https://github.com/storybooks/storybook/pull/5261)) +- Bump vue and vue-template-compiler ([#5231](https://github.com/storybookjs/storybook/pull/5231)) +- Bump ember-cli from 3.7.0 to 3.7.1 ([#5243](https://github.com/storybookjs/storybook/pull/5243)) +- Bump ember-source from 3.6.1 to 3.7.0 ([#5258](https://github.com/storybookjs/storybook/pull/5258)) +- Bump @angular/platform-browser-dynamic from 7.1.4 to 7.2.0 ([#5259](https://github.com/storybookjs/storybook/pull/5259)) +- Bump vue-loader from 15.4.2 to 15.5.1 ([#5261](https://github.com/storybookjs/storybook/pull/5261)) ## 5.0.0-alpha.3 (January 16, 2019) @@ -1278,94 +1742,94 @@ Test publishing improvements ### Bug Fixes -- Storyshots: Fix async issue with obtaining custom Puppeteer instance … ([#5130](https://github.com/storybooks/storybook/pull/5130)) +- Storyshots: Fix async issue with obtaining custom Puppeteer instance … ([#5130](https://github.com/storybookjs/storybook/pull/5130)) ### Maintenance -- MIGRATE to wrap emotion into a @storybook/theming package ([#5241](https://github.com/storybooks/storybook/pull/5241)) +- MIGRATE to wrap emotion into a @storybook/theming package ([#5241](https://github.com/storybookjs/storybook/pull/5241)) ### Dependency Upgrades -- Bump zone.js from 0.8.26 to 0.8.27 ([#5230](https://github.com/storybooks/storybook/pull/5230)) -- Bump lerna from 3.8.5 to 3.10.5 ([#5229](https://github.com/storybooks/storybook/pull/5229)) +- Bump zone.js from 0.8.26 to 0.8.27 ([#5230](https://github.com/storybookjs/storybook/pull/5230)) +- Bump lerna from 3.8.5 to 3.10.5 ([#5229](https://github.com/storybookjs/storybook/pull/5229)) ## 5.0.0-alpha.1 (January 14, 2019) ### Bug Fixes -- Core: `no-dll` option to CLI to disable DllReferencePlugin, fix polyfills ([#5238](https://github.com/storybooks/storybook/pull/5238)) -- Core: Continue `{name, kind}` support on the `SET_CURRENT_STORY` event ([#5228](https://github.com/storybooks/storybook/pull/5228)) -- UI: FIX issue with accidentally thinking things are roots ([#5236](https://github.com/storybooks/storybook/pull/5236)) +- Core: `no-dll` option to CLI to disable DllReferencePlugin, fix polyfills ([#5238](https://github.com/storybookjs/storybook/pull/5238)) +- Core: Continue `{name, kind}` support on the `SET_CURRENT_STORY` event ([#5228](https://github.com/storybookjs/storybook/pull/5228)) +- UI: FIX issue with accidentally thinking things are roots ([#5236](https://github.com/storybookjs/storybook/pull/5236)) ### Dependency Upgrades -- Bump react-scripts from 2.1.1 to 2.1.3 ([#5214](https://github.com/storybooks/storybook/pull/5214)) +- Bump react-scripts from 2.1.1 to 2.1.3 ([#5214](https://github.com/storybookjs/storybook/pull/5214)) ## 5.0.0-alpha.0 (January 13, 2019) ### Breaking Changes -- Core: Simplify custom webpack config ([#4927](https://github.com/storybooks/storybook/pull/4927)) -- UI: Storybook 5.0 UI and addons overhaul ([#5222](https://github.com/storybooks/storybook/pull/5222)) +- Core: Simplify custom webpack config ([#4927](https://github.com/storybookjs/storybook/pull/4927)) +- UI: Storybook 5.0 UI and addons overhaul ([#5222](https://github.com/storybookjs/storybook/pull/5222)) ### Features -- Core: Use new story format in official storybook ([#5058](https://github.com/storybooks/storybook/pull/5058)) -- UI: keyboard shortcuts ([#4257](https://github.com/storybooks/storybook/pull/4257)) +- Core: Use new story format in official storybook ([#5058](https://github.com/storybookjs/storybook/pull/5058)) +- UI: keyboard shortcuts ([#4257](https://github.com/storybookjs/storybook/pull/4257)) ### Bug Fixes -- React: Merge CRA2 webpack plugins ([#5126](https://github.com/storybooks/storybook/pull/5126)) +- React: Merge CRA2 webpack plugins ([#5126](https://github.com/storybookjs/storybook/pull/5126)) ### Dependency Upgrades -- Bump eslint-plugin-jest from 22.1.2 to 22.1.3 ([#5215](https://github.com/storybooks/storybook/pull/5215)) -- Bump eslint from 5.11.0 to 5.12.0 ([#5216](https://github.com/storybooks/storybook/pull/5216)) -- Bump jscodeshift from 0.5.1 to 0.6.2 ([#5213](https://github.com/storybooks/storybook/pull/5213)) -- Bump ember-cli from 3.6.1 to 3.7.0 ([#5203](https://github.com/storybooks/storybook/pull/5203)) -- Bump react-dev-utils from 7.0.0 to 7.0.1 ([#5202](https://github.com/storybooks/storybook/pull/5202)) -- Bump ember-cli from 3.6.0 to 3.6.1 ([#5188](https://github.com/storybooks/storybook/pull/5188)) -- Bump terser-webpack-plugin from 1.1.0 to 1.2.1 ([#5190](https://github.com/storybooks/storybook/pull/5190)) -- Bump chalk from 2.4.1 to 2.4.2 ([#5191](https://github.com/storybooks/storybook/pull/5191)) +- Bump eslint-plugin-jest from 22.1.2 to 22.1.3 ([#5215](https://github.com/storybookjs/storybook/pull/5215)) +- Bump eslint from 5.11.0 to 5.12.0 ([#5216](https://github.com/storybookjs/storybook/pull/5216)) +- Bump jscodeshift from 0.5.1 to 0.6.2 ([#5213](https://github.com/storybookjs/storybook/pull/5213)) +- Bump ember-cli from 3.6.1 to 3.7.0 ([#5203](https://github.com/storybookjs/storybook/pull/5203)) +- Bump react-dev-utils from 7.0.0 to 7.0.1 ([#5202](https://github.com/storybookjs/storybook/pull/5202)) +- Bump ember-cli from 3.6.0 to 3.6.1 ([#5188](https://github.com/storybookjs/storybook/pull/5188)) +- Bump terser-webpack-plugin from 1.1.0 to 1.2.1 ([#5190](https://github.com/storybookjs/storybook/pull/5190)) +- Bump chalk from 2.4.1 to 2.4.2 ([#5191](https://github.com/storybookjs/storybook/pull/5191)) ## 4.2.0-alpha.11 (January 9, 2019) ### Maintenance -- Typescript: Add TypeScript CRA example ([#5120](https://github.com/storybooks/storybook/pull/5120)) -- Typescript: Migrate @storybook/channel-postmessage ([#5154](https://github.com/storybooks/storybook/pull/5154)) -- Typescript: Migrate @storybook/client-logger ([#5151](https://github.com/storybooks/storybook/pull/5151)) +- Typescript: Add TypeScript CRA example ([#5120](https://github.com/storybookjs/storybook/pull/5120)) +- Typescript: Migrate @storybook/channel-postmessage ([#5154](https://github.com/storybookjs/storybook/pull/5154)) +- Typescript: Migrate @storybook/client-logger ([#5151](https://github.com/storybookjs/storybook/pull/5151)) ### Dependency Upgrades -- Bump @babel/cli from 7.2.0 to 7.2.3 ([#5178](https://github.com/storybooks/storybook/pull/5178)) -- Bump babel-plugin-macros from 2.4.4 to 2.4.5 ([#5177](https://github.com/storybooks/storybook/pull/5177)) -- Bump babel-preset-react-app from 6.1.0 to 7.0.0 ([#5176](https://github.com/storybooks/storybook/pull/5176)) -- Bump interpret from 1.1.0 to 1.2.0 ([#5175](https://github.com/storybooks/storybook/pull/5175)) -- Bump file-loader from 2.0.0 to 3.0.1 ([#5174](https://github.com/storybooks/storybook/pull/5174)) -- Bump mini-css-extract-plugin from 0.4.5 to 0.5.0 ([#5173](https://github.com/storybooks/storybook/pull/5173)) -- Bump webpack-cli from 3.2.0 to 3.2.1 ([#5172](https://github.com/storybooks/storybook/pull/5172)) -- Bump marko from 4.14.12 to 4.14.15 ([#5157](https://github.com/storybooks/storybook/pull/5157)) -- Bump @types/jest from 23.3.10 to 23.3.12 ([#5158](https://github.com/storybooks/storybook/pull/5158)) -- Bump @angular/compiler from 7.1.3 to 7.1.4 ([#5159](https://github.com/storybooks/storybook/pull/5159)) -- Bump dotenv-webpack from 1.5.7 to 1.6.0 ([#5160](https://github.com/storybooks/storybook/pull/5160)) -- Bump babel-plugin-macros from 2.4.3 to 2.4.4 ([#5161](https://github.com/storybooks/storybook/pull/5161)) +- Bump @babel/cli from 7.2.0 to 7.2.3 ([#5178](https://github.com/storybookjs/storybook/pull/5178)) +- Bump babel-plugin-macros from 2.4.4 to 2.4.5 ([#5177](https://github.com/storybookjs/storybook/pull/5177)) +- Bump babel-preset-react-app from 6.1.0 to 7.0.0 ([#5176](https://github.com/storybookjs/storybook/pull/5176)) +- Bump interpret from 1.1.0 to 1.2.0 ([#5175](https://github.com/storybookjs/storybook/pull/5175)) +- Bump file-loader from 2.0.0 to 3.0.1 ([#5174](https://github.com/storybookjs/storybook/pull/5174)) +- Bump mini-css-extract-plugin from 0.4.5 to 0.5.0 ([#5173](https://github.com/storybookjs/storybook/pull/5173)) +- Bump webpack-cli from 3.2.0 to 3.2.1 ([#5172](https://github.com/storybookjs/storybook/pull/5172)) +- Bump marko from 4.14.12 to 4.14.15 ([#5157](https://github.com/storybookjs/storybook/pull/5157)) +- Bump @types/jest from 23.3.10 to 23.3.12 ([#5158](https://github.com/storybookjs/storybook/pull/5158)) +- Bump @angular/compiler from 7.1.3 to 7.1.4 ([#5159](https://github.com/storybookjs/storybook/pull/5159)) +- Bump dotenv-webpack from 1.5.7 to 1.6.0 ([#5160](https://github.com/storybookjs/storybook/pull/5160)) +- Bump babel-plugin-macros from 2.4.3 to 2.4.4 ([#5161](https://github.com/storybookjs/storybook/pull/5161)) ## 4.1.6 (January 9, 2019) ### Bug Fixes -- React: Fix react version backwards compatibility ([#5148](https://github.com/storybooks/storybook/pull/5148)) -- UI: fix highlightColor ([#5150](https://github.com/storybooks/storybook/pull/5150)) -- Core: Transpile addons.js with Babel for IE11 ([#5081](https://github.com/storybooks/storybook/pull/5081)) +- React: Fix react version backwards compatibility ([#5148](https://github.com/storybookjs/storybook/pull/5148)) +- UI: fix highlightColor ([#5150](https://github.com/storybookjs/storybook/pull/5150)) +- Core: Transpile addons.js with Babel for IE11 ([#5081](https://github.com/storybookjs/storybook/pull/5081)) ### Maintenance -- Add CORS headers to versions.json ([#5155](https://github.com/storybooks/storybook/pull/5155)) +- Add CORS headers to versions.json ([#5155](https://github.com/storybookjs/storybook/pull/5155)) ### Dependency Upgrades -- Bump puppeteer from 1.9.0 to 1.11.0 ([#5119](https://github.com/storybooks/storybook/pull/5119)) +- Bump puppeteer from 1.9.0 to 1.11.0 ([#5119](https://github.com/storybookjs/storybook/pull/5119)) ## 4.1.5 (January 9, 2019) @@ -1375,174 +1839,174 @@ NPM failure, republishing as 4.1.6 ### Features -- Addon-a11y: fix addon, add ability to configure context ([#5101](https://github.com/storybooks/storybook/pull/5101)) +- Addon-a11y: fix addon, add ability to configure context ([#5101](https://github.com/storybookjs/storybook/pull/5101)) ### Bug Fixes -- Addon-knobs: Render non-grouped knobs in the ALL tab ([#5106](https://github.com/storybooks/storybook/pull/5106)) -- Addon-actions: import utils directly to prevent import cycles ([#5107](https://github.com/storybooks/storybook/pull/5107)) +- Addon-knobs: Render non-grouped knobs in the ALL tab ([#5106](https://github.com/storybookjs/storybook/pull/5106)) +- Addon-actions: import utils directly to prevent import cycles ([#5107](https://github.com/storybookjs/storybook/pull/5107)) ### Maintenance -- TypeScript: Migrate @storybook/node-logger ([#5153](https://github.com/storybooks/storybook/pull/5153)) -- TypeScript: Migrate @storybook/core-events ([#5140](https://github.com/storybooks/storybook/pull/5140)) +- TypeScript: Migrate @storybook/node-logger ([#5153](https://github.com/storybookjs/storybook/pull/5153)) +- TypeScript: Migrate @storybook/core-events ([#5140](https://github.com/storybookjs/storybook/pull/5140)) ### Dependency Upgrades -- bump puppeteer from 1.9.0 to 1.11.0 ([#5119](https://github.com/storybooks/storybook/pull/5119)) -- Bump lerna from 3.6.0 to 3.8.4 ([#5142](https://github.com/storybooks/storybook/pull/5142)) -- Bump svelte from 2.15.3 to 2.16.0 ([#5145](https://github.com/storybooks/storybook/pull/5145)) -- Bump react-dev-utils from 6.1.1 to 7.0.0 ([#5146](https://github.com/storybooks/storybook/pull/5146)) -- Bump react-is from 16.6.3 to 16.7.0 ([#5144](https://github.com/storybooks/storybook/pull/5144)) +- bump puppeteer from 1.9.0 to 1.11.0 ([#5119](https://github.com/storybookjs/storybook/pull/5119)) +- Bump lerna from 3.6.0 to 3.8.4 ([#5142](https://github.com/storybookjs/storybook/pull/5142)) +- Bump svelte from 2.15.3 to 2.16.0 ([#5145](https://github.com/storybookjs/storybook/pull/5145)) +- Bump react-dev-utils from 6.1.1 to 7.0.0 ([#5146](https://github.com/storybookjs/storybook/pull/5146)) +- Bump react-is from 16.6.3 to 16.7.0 ([#5144](https://github.com/storybookjs/storybook/pull/5144)) ## 4.2.0-alpha.9 (January 4, 2019) ### Bug Fixes -- Transpile addons.js with Babel ([#5081](https://github.com/storybooks/storybook/pull/5081)) +- Transpile addons.js with Babel ([#5081](https://github.com/storybookjs/storybook/pull/5081)) ### Dependency Upgrades -- [Security] Bump webpack-dev-server from 3.1.10 to 3.1.14 ([#5108](https://github.com/storybooks/storybook/pull/5108)) -- Update @storybook/react to include peer dependency @emotion/core ([#5135](https://github.com/storybooks/storybook/pull/5135)) -- Bump webpack-cli from 3.1.2 to 3.2.0 ([#5137](https://github.com/storybooks/storybook/pull/5137)) -- Bump resolve from 1.8.1 to 1.9.0 ([#5139](https://github.com/storybooks/storybook/pull/5139)) -- Bump husky from 1.3.0 to 1.3.1 ([#5138](https://github.com/storybooks/storybook/pull/5138)) -- Bump @types/node from 10.12.17 to 10.12.18 ([#5098](https://github.com/storybooks/storybook/pull/5098)) -- Bump svelte-loader from 2.11.0 to 2.12.0 ([#5125](https://github.com/storybooks/storybook/pull/5125)) -- Bump react-modal from 3.7.1 to 3.8.1 ([#5124](https://github.com/storybooks/storybook/pull/5124)) -- Bump marko from 4.14.3 to 4.14.12 ([#5123](https://github.com/storybooks/storybook/pull/5123)) -- Bump css-loader from 1.0.1 to 2.1.0 ([#5115](https://github.com/storybooks/storybook/pull/5115)) -- Bump lit-html from 0.12.0 to 0.14.0 ([#5114](https://github.com/storybooks/storybook/pull/5114)) -- Bump @angular/platform-browser-dynamic from 7.1.3 to 7.1.4 ([#5113](https://github.com/storybooks/storybook/pull/5113)) +- [Security] Bump webpack-dev-server from 3.1.10 to 3.1.14 ([#5108](https://github.com/storybookjs/storybook/pull/5108)) +- Update @storybook/react to include peer dependency @emotion/core ([#5135](https://github.com/storybookjs/storybook/pull/5135)) +- Bump webpack-cli from 3.1.2 to 3.2.0 ([#5137](https://github.com/storybookjs/storybook/pull/5137)) +- Bump resolve from 1.8.1 to 1.9.0 ([#5139](https://github.com/storybookjs/storybook/pull/5139)) +- Bump husky from 1.3.0 to 1.3.1 ([#5138](https://github.com/storybookjs/storybook/pull/5138)) +- Bump @types/node from 10.12.17 to 10.12.18 ([#5098](https://github.com/storybookjs/storybook/pull/5098)) +- Bump svelte-loader from 2.11.0 to 2.12.0 ([#5125](https://github.com/storybookjs/storybook/pull/5125)) +- Bump react-modal from 3.7.1 to 3.8.1 ([#5124](https://github.com/storybookjs/storybook/pull/5124)) +- Bump marko from 4.14.3 to 4.14.12 ([#5123](https://github.com/storybookjs/storybook/pull/5123)) +- Bump css-loader from 1.0.1 to 2.1.0 ([#5115](https://github.com/storybookjs/storybook/pull/5115)) +- Bump lit-html from 0.12.0 to 0.14.0 ([#5114](https://github.com/storybookjs/storybook/pull/5114)) +- Bump @angular/platform-browser-dynamic from 7.1.3 to 7.1.4 ([#5113](https://github.com/storybookjs/storybook/pull/5113)) ## 4.2.0-alpha.8 (December 28, 2018) ### Maintenance -- Typescript: Migrate @storybook/channel-websocket ([#5046](https://github.com/storybooks/storybook/pull/5046)) -- Typescript: Migrate @storybook/addons ([#5018](https://github.com/storybooks/storybook/pull/5018)) +- Typescript: Migrate @storybook/channel-websocket ([#5046](https://github.com/storybookjs/storybook/pull/5046)) +- Typescript: Migrate @storybook/addons ([#5018](https://github.com/storybookjs/storybook/pull/5018)) ### Dependency Upgrades -- Bump @babel/plugin-proposal-class-properties from 7.2.1 to 7.2.3 ([#5070](https://github.com/storybooks/storybook/pull/5070)) -- Bump babel-plugin-named-asset-import from 0.2.3 to 0.3.0 ([#5100](https://github.com/storybooks/storybook/pull/5100)) -- Bump eslint from 5.10.0 to 5.11.0 ([#5097](https://github.com/storybooks/storybook/pull/5097)) -- Bump loader-utils from 1.2.0 to 1.2.1 ([#5099](https://github.com/storybooks/storybook/pull/5099)) -- Bump boxen from 2.0.0 to 2.1.0 ([#5104](https://github.com/storybooks/storybook/pull/5104)) -- Bump @ngrx/store from 6.1.2 to 7.0.0 ([#5105](https://github.com/storybooks/storybook/pull/5105)) -- Bump react-select from 2.1.1 to 2.1.2 ([#5102](https://github.com/storybooks/storybook/pull/5102)) +- Bump @babel/plugin-proposal-class-properties from 7.2.1 to 7.2.3 ([#5070](https://github.com/storybookjs/storybook/pull/5070)) +- Bump babel-plugin-named-asset-import from 0.2.3 to 0.3.0 ([#5100](https://github.com/storybookjs/storybook/pull/5100)) +- Bump eslint from 5.10.0 to 5.11.0 ([#5097](https://github.com/storybookjs/storybook/pull/5097)) +- Bump loader-utils from 1.2.0 to 1.2.1 ([#5099](https://github.com/storybookjs/storybook/pull/5099)) +- Bump boxen from 2.0.0 to 2.1.0 ([#5104](https://github.com/storybookjs/storybook/pull/5104)) +- Bump @ngrx/store from 6.1.2 to 7.0.0 ([#5105](https://github.com/storybookjs/storybook/pull/5105)) +- Bump react-select from 2.1.1 to 2.1.2 ([#5102](https://github.com/storybookjs/storybook/pull/5102)) ## 4.1.4 (December 25, 2018) ### Bug Fixes -- Core: Load Symbol polyfill before any other code ([#5082](https://github.com/storybooks/storybook/pull/5082)) -- React: Fix error with new CRA Webpack config ([#5074](https://github.com/storybooks/storybook/pull/5074)) +- Core: Load Symbol polyfill before any other code ([#5082](https://github.com/storybookjs/storybook/pull/5082)) +- React: Fix error with new CRA Webpack config ([#5074](https://github.com/storybookjs/storybook/pull/5074)) ## 4.2.0-alpha.7 (December 25, 2018) ### Bug Fixes -- React: Fix error with new CRA Webpack config ([#5074](https://github.com/storybooks/storybook/pull/5074)) -- Core: Load Symbol polyfill before any other code ([#5082](https://github.com/storybooks/storybook/pull/5082)) +- React: Fix error with new CRA Webpack config ([#5074](https://github.com/storybookjs/storybook/pull/5074)) +- Core: Load Symbol polyfill before any other code ([#5082](https://github.com/storybookjs/storybook/pull/5082)) ### Dependency Upgrades -- Bump eslint-plugin-jest from 21.27.2 to 22.1.2 ([#5089](https://github.com/storybooks/storybook/pull/5089)) -- Bump react-color from 2.14.1 to 2.17.0 ([#5083](https://github.com/storybooks/storybook/pull/5083)) -- Bump @angular-devkit/build-angular from 0.10.7 to 0.11.4 ([#5084](https://github.com/storybooks/storybook/pull/5084)) -- Bump ts-loader from 5.3.1 to 5.3.2 ([#5085](https://github.com/storybooks/storybook/pull/5085)) -- Bump loader-utils from 1.1.0 to 1.2.0 ([#5086](https://github.com/storybooks/storybook/pull/5086)) -- Bump protractor from 5.4.1 to 5.4.2 ([#5087](https://github.com/storybooks/storybook/pull/5087)) -- Bump ember-cli from 3.5.1 to 3.6.0 ([#5088](https://github.com/storybooks/storybook/pull/5088)) -- Bump tslint from 5.11.0 to 5.12.0 ([#5090](https://github.com/storybooks/storybook/pull/5090)) -- Bump react-dom from 16.6.3 to 16.7.0 ([#5071](https://github.com/storybooks/storybook/pull/5071)) +- Bump eslint-plugin-jest from 21.27.2 to 22.1.2 ([#5089](https://github.com/storybookjs/storybook/pull/5089)) +- Bump react-color from 2.14.1 to 2.17.0 ([#5083](https://github.com/storybookjs/storybook/pull/5083)) +- Bump @angular-devkit/build-angular from 0.10.7 to 0.11.4 ([#5084](https://github.com/storybookjs/storybook/pull/5084)) +- Bump ts-loader from 5.3.1 to 5.3.2 ([#5085](https://github.com/storybookjs/storybook/pull/5085)) +- Bump loader-utils from 1.1.0 to 1.2.0 ([#5086](https://github.com/storybookjs/storybook/pull/5086)) +- Bump protractor from 5.4.1 to 5.4.2 ([#5087](https://github.com/storybookjs/storybook/pull/5087)) +- Bump ember-cli from 3.5.1 to 3.6.0 ([#5088](https://github.com/storybookjs/storybook/pull/5088)) +- Bump tslint from 5.11.0 to 5.12.0 ([#5090](https://github.com/storybookjs/storybook/pull/5090)) +- Bump react-dom from 16.6.3 to 16.7.0 ([#5071](https://github.com/storybookjs/storybook/pull/5071)) ## 4.1.3 (December 20, 2018) ### Bug Fixes -- React: remove unnecessary dependencies, fix aliasing ([#5047](https://github.com/storybooks/storybook/pull/5047)) -- React: alias to react & react-dom ([#5016](https://github.com/storybooks/storybook/pull/5016)) -- Addon-knobs: Fix color picker display ([#5010](https://github.com/storybooks/storybook/pull/5010)) +- React: remove unnecessary dependencies, fix aliasing ([#5047](https://github.com/storybookjs/storybook/pull/5047)) +- React: alias to react & react-dom ([#5016](https://github.com/storybookjs/storybook/pull/5016)) +- Addon-knobs: Fix color picker display ([#5010](https://github.com/storybookjs/storybook/pull/5010)) ## 4.2.0-alpha.6 (December 20, 2018) ### Features -- React-Native: Change on-device layout to absolute position ([#4962](https://github.com/storybooks/storybook/pull/4962)) -- Addon-Info: add css classes for style overrides ([#4589](https://github.com/storybooks/storybook/pull/4589)) +- React-Native: Change on-device layout to absolute position ([#4962](https://github.com/storybookjs/storybook/pull/4962)) +- Addon-Info: add css classes for style overrides ([#4589](https://github.com/storybookjs/storybook/pull/4589)) ### Bug Fixes -- Addon-Info: Display description when story name matches component ([#4863](https://github.com/storybooks/storybook/pull/4863)) -- React-Native: Disable warning if story is not set in async storage ([#5068](https://github.com/storybooks/storybook/pull/5068)) -- React-Native: Fixed isUIHidden param ([#5067](https://github.com/storybooks/storybook/pull/5067)) -- Vue: Fix reloading and story decoration ([#5057](https://github.com/storybooks/storybook/pull/5057)) +- Addon-Info: Display description when story name matches component ([#4863](https://github.com/storybookjs/storybook/pull/4863)) +- React-Native: Disable warning if story is not set in async storage ([#5068](https://github.com/storybookjs/storybook/pull/5068)) +- React-Native: Fixed isUIHidden param ([#5067](https://github.com/storybookjs/storybook/pull/5067)) +- Vue: Fix reloading and story decoration ([#5057](https://github.com/storybookjs/storybook/pull/5057)) ### Maintenance -- TypeScript: migrate @storybook/channels to typescript ([#4977](https://github.com/storybooks/storybook/pull/4977)) +- TypeScript: migrate @storybook/channels to typescript ([#4977](https://github.com/storybookjs/storybook/pull/4977)) ### Dependency Upgrades -- Bump babel-plugin-macros from 2.4.2 to 2.4.3 ([#5060](https://github.com/storybooks/storybook/pull/5060)) -- Bump @babel/core from 7.2.0 to 7.2.2 ([#5059](https://github.com/storybooks/storybook/pull/5059)) -- Bump ember-cli-htmlbars-inline-precompile from 1.0.5 to 2.1.0 ([#5064](https://github.com/storybooks/storybook/pull/5064)) -- Bump react-test-renderer from 16.6.3 to 16.7.0 ([#5063](https://github.com/storybooks/storybook/pull/5063)) -- Bump autoprefixer from 9.4.2 to 9.4.3 ([#5061](https://github.com/storybooks/storybook/pull/5061)) +- Bump babel-plugin-macros from 2.4.2 to 2.4.3 ([#5060](https://github.com/storybookjs/storybook/pull/5060)) +- Bump @babel/core from 7.2.0 to 7.2.2 ([#5059](https://github.com/storybookjs/storybook/pull/5059)) +- Bump ember-cli-htmlbars-inline-precompile from 1.0.5 to 2.1.0 ([#5064](https://github.com/storybookjs/storybook/pull/5064)) +- Bump react-test-renderer from 16.6.3 to 16.7.0 ([#5063](https://github.com/storybookjs/storybook/pull/5063)) +- Bump autoprefixer from 9.4.2 to 9.4.3 ([#5061](https://github.com/storybookjs/storybook/pull/5061)) ## 4.2.0-alpha.5 (December 19, 2018) ### Bug Fixes -- React: Remove unnecessary dependencies, fix aliasing ([#5047](https://github.com/storybooks/storybook/pull/5047)) +- React: Remove unnecessary dependencies, fix aliasing ([#5047](https://github.com/storybookjs/storybook/pull/5047)) ### Dependency Upgrades -- Bump @types/node from 10.12.14 to 10.12.17 ([#5045](https://github.com/storybooks/storybook/pull/5045)) -- Bump ember-source from 3.5.1 to 3.6.1 ([#5044](https://github.com/storybooks/storybook/pull/5044)) +- Bump @types/node from 10.12.14 to 10.12.17 ([#5045](https://github.com/storybookjs/storybook/pull/5045)) +- Bump ember-source from 3.5.1 to 3.6.1 ([#5044](https://github.com/storybookjs/storybook/pull/5044)) ## 4.2.0-alpha.4 (December 18, 2018) ### Bug Fixes -- React: fix alias for react(-dom) to resolve to the user's version ([#5042](https://github.com/storybooks/storybook/pull/5042)) +- React: fix alias for react(-dom) to resolve to the user's version ([#5042](https://github.com/storybookjs/storybook/pull/5042)) ### Dependency Upgrades -- Bump husky from 1.2.0 to 1.3.0 ([#5038](https://github.com/storybooks/storybook/pull/5038)) -- Bump fork-ts-checker-webpack-plugin from 0.4.15 to 0.5.2 ([#5037](https://github.com/storybooks/storybook/pull/5037)) +- Bump husky from 1.2.0 to 1.3.0 ([#5038](https://github.com/storybookjs/storybook/pull/5038)) +- Bump fork-ts-checker-webpack-plugin from 0.4.15 to 0.5.2 ([#5037](https://github.com/storybookjs/storybook/pull/5037)) ## 4.2.0-alpha.3 (December 18, 2018) ### Bug Fixes -- React: add alias to react & react-dom ([#5016](https://github.com/storybooks/storybook/pull/5016)) -- Addon-knobs: fix color picker display ([#5010](https://github.com/storybooks/storybook/pull/5010)) +- React: add alias to react & react-dom ([#5016](https://github.com/storybookjs/storybook/pull/5016)) +- Addon-knobs: fix color picker display ([#5010](https://github.com/storybookjs/storybook/pull/5010)) ## 4.2.0-alpha.2 (December 16, 2018) ### Features -- Addon-Info: add markdown support for jsdoc comments ([#4983](https://github.com/storybooks/storybook/pull/4983)) -- Addon-Storysource: support Flow ([#4971](https://github.com/storybooks/storybook/pull/4971)) +- Addon-Info: add markdown support for jsdoc comments ([#4983](https://github.com/storybookjs/storybook/pull/4983)) +- Addon-Storysource: support Flow ([#4971](https://github.com/storybookjs/storybook/pull/4971)) ### Maintenance -- Make applyPresets function signature more consistent ([#4988](https://github.com/storybooks/storybook/pull/4988)) +- Make applyPresets function signature more consistent ([#4988](https://github.com/storybookjs/storybook/pull/4988)) ### Dependency Upgrades -- RESET lockfile ([#4991](https://github.com/storybooks/storybook/pull/4991)) +- RESET lockfile ([#4991](https://github.com/storybookjs/storybook/pull/4991)) ## 4.1.2 (December 15, 2018) ### Bug Fixes -- Addon-Knob: Add missing key property in Panel ([#4507](https://github.com/storybooks/storybook/pull/4507)) -- Fix package version dependencies ([#4960](https://github.com/storybooks/storybook/pull/4960)) +- Addon-Knob: Add missing key property in Panel ([#4507](https://github.com/storybookjs/storybook/pull/4507)) +- Fix package version dependencies ([#4960](https://github.com/storybookjs/storybook/pull/4960)) ## 4.2.0-alpha.1 (December 12, 2018) @@ -1550,19 +2014,19 @@ Fixes 4.2.0-alpha.0 ### Features -- Addon-info: add forwardRef support ([#4961](https://github.com/storybooks/storybook/pull/4961)) +- Addon-info: add forwardRef support ([#4961](https://github.com/storybookjs/storybook/pull/4961)) ### Bug Fixes -- Addon-knobs: Add missing key property in Panel ([#4507](https://github.com/storybooks/storybook/pull/4507)) +- Addon-knobs: Add missing key property in Panel ([#4507](https://github.com/storybookjs/storybook/pull/4507)) ### Maintenance -- Addon-notes: Migrated to TypeScript ([#4758](https://github.com/storybooks/storybook/pull/4758)) +- Addon-notes: Migrated to TypeScript ([#4758](https://github.com/storybookjs/storybook/pull/4758)) ### Dependency Upgrades -- Fix: Add missing peer dependencies to addon-knobs ([#4928](https://github.com/storybooks/storybook/pull/4928)) +- Fix: Add missing peer dependencies to addon-knobs ([#4928](https://github.com/storybookjs/storybook/pull/4928)) ## 4.2.0-alpha.0 (December 12, 2018) @@ -1572,18 +2036,18 @@ Bad release ### Bug Fixes -- FIX react native by adding an empty array named dlls to the templateParameters ([#4985](https://github.com/storybooks/storybook/pull/4985)) +- FIX react native by adding an empty array named dlls to the templateParameters ([#4985](https://github.com/storybookjs/storybook/pull/4985)) ## 4.1.0 (December 12, 2018) Storybook 4.1 with performance and compatibility improvements! Highlights include: -- Core: Performance optimizations on separate manager preview split, improved cold start, restart & rebuild ([#4834](https://github.com/storybooks/storybook/pull/4834)) -- React: add support for all versions of react ([#4808](https://github.com/storybooks/storybook/pull/4808)) -- Addon-CSSResources: new adddon to dynamically add/remove css ([#4622](https://github.com/storybooks/storybook/pull/4622)) -- React: use babel presets/plugins based on CRA. ([#4836](https://github.com/storybooks/storybook/pull/4836)) -- React-native: Add ability to filter story list ([#4806](https://github.com/storybooks/storybook/pull/4806)) -- React: Add TypeScript support for react-scripts ([#4824](https://github.com/storybooks/storybook/pull/4824)) +- Core: Performance optimizations on separate manager preview split, improved cold start, restart & rebuild ([#4834](https://github.com/storybookjs/storybook/pull/4834)) +- React: add support for all versions of react ([#4808](https://github.com/storybookjs/storybook/pull/4808)) +- Addon-CSSResources: new adddon to dynamically add/remove css ([#4622](https://github.com/storybookjs/storybook/pull/4622)) +- React: use babel presets/plugins based on CRA. ([#4836](https://github.com/storybookjs/storybook/pull/4836)) +- React-native: Add ability to filter story list ([#4806](https://github.com/storybookjs/storybook/pull/4806)) +- React: Add TypeScript support for react-scripts ([#4824](https://github.com/storybookjs/storybook/pull/4824)) There are dozens more fixes, features, and tweaks in the 4.1 release. See changelogs for `4.1.0-*` for details. @@ -1591,43 +2055,43 @@ There are dozens more fixes, features, and tweaks in the 4.1 release. See change ### Maintenance -- React-native: add core-js to addons ([#4981](https://github.com/storybooks/storybook/pull/4981)) +- React-native: add core-js to addons ([#4981](https://github.com/storybookjs/storybook/pull/4981)) ## 4.1.0-alpha.12 (December 11, 2018) ### Bug Fixes -- Fix storyshots by compiling JS modules ([#4967](https://github.com/storybooks/storybook/pull/4967)) -- Angular: move 'core-js/modules/es6.promise' into storyshots ([#4929](https://github.com/storybooks/storybook/pull/4929)) +- Fix storyshots by compiling JS modules ([#4967](https://github.com/storybookjs/storybook/pull/4967)) +- Angular: move 'core-js/modules/es6.promise' into storyshots ([#4929](https://github.com/storybookjs/storybook/pull/4929)) ## 4.0.12 (December 5, 2018) ### Bug Fixes -- Addon-a11y: Fix runtime errors in older browsers ([#4904](https://github.com/storybooks/storybook/pull/4904)) +- Addon-a11y: Fix runtime errors in older browsers ([#4904](https://github.com/storybookjs/storybook/pull/4904)) ## 4.1.0-alpha.11 (December 5, 2018) ### Features -- Add CRA TypeScript support for .storybook folder ([#4902](https://github.com/storybooks/storybook/pull/4902)) +- Add CRA TypeScript support for .storybook folder ([#4902](https://github.com/storybookjs/storybook/pull/4902)) ### Bug Fixes -- React-native: Fix async storage ([#4907](https://github.com/storybooks/storybook/pull/4907)) -- Core: replace babel/runtime with core-js to fix some aliasing issues ([#4900](https://github.com/storybooks/storybook/pull/4900)) +- React-native: Fix async storage ([#4907](https://github.com/storybookjs/storybook/pull/4907)) +- Core: replace babel/runtime with core-js to fix some aliasing issues ([#4900](https://github.com/storybookjs/storybook/pull/4900)) ### Maintenance -- Core: More granular methods separation in "build-static" and "build-dev" ([#4919](https://github.com/storybooks/storybook/pull/4919)) -- Examples: replace deprecated setOptions with withOptions ([#4899](https://github.com/storybooks/storybook/pull/4899)) +- Core: More granular methods separation in "build-static" and "build-dev" ([#4919](https://github.com/storybookjs/storybook/pull/4919)) +- Examples: replace deprecated setOptions with withOptions ([#4899](https://github.com/storybookjs/storybook/pull/4899)) ## 4.0.11 (December 3, 2018) ### Bug Fixes -- Restore index.html in cra-kitchen-sink ([#4856](https://github.com/storybooks/storybook/pull/4856)) -- Add try, catch for IE11 as it breaks script execution ([#4870](https://github.com/storybooks/storybook/pull/4870)) +- Restore index.html in cra-kitchen-sink ([#4856](https://github.com/storybookjs/storybook/pull/4856)) +- Add try, catch for IE11 as it breaks script execution ([#4870](https://github.com/storybookjs/storybook/pull/4870)) ## 4.0.10 (December 2, 2018) @@ -1635,57 +2099,57 @@ Fixes 4.0.9 ### Bug Fixes -- Core: Use correct cache directory path ([#4792](https://github.com/storybooks/storybook/pull/4792)) -- Addon-Info: fix docgen description display ([#4685](https://github.com/storybooks/storybook/pull/4685)) -- Addon-storyshots-puppeteer: fix peerDependencies ([#4828](https://github.com/storybooks/storybook/pull/4828)) +- Core: Use correct cache directory path ([#4792](https://github.com/storybookjs/storybook/pull/4792)) +- Addon-Info: fix docgen description display ([#4685](https://github.com/storybookjs/storybook/pull/4685)) +- Addon-storyshots-puppeteer: fix peerDependencies ([#4828](https://github.com/storybookjs/storybook/pull/4828)) ## 4.1.0-alpha.10 (December 1, 2018) ### Maintenance -- Performance optimizations on separate manager preview split, improved cold start, restart & rebuild ([#4834](https://github.com/storybooks/storybook/pull/4834)) +- Performance optimizations on separate manager preview split, improved cold start, restart & rebuild ([#4834](https://github.com/storybookjs/storybook/pull/4834)) ## 4.1.0-alpha.9 (November 29, 2018) ### Features -- UI: Accessible success/fail colors ([#4843](https://github.com/storybooks/storybook/pull/4843)) -- React-native: add option to set keyboarVerticalOffset ([#4862](https://github.com/storybooks/storybook/pull/4862)) -- Addon-CSSResources: new adddon to dynamically add/remove css ([#4622](https://github.com/storybooks/storybook/pull/4622)) +- UI: Accessible success/fail colors ([#4843](https://github.com/storybookjs/storybook/pull/4843)) +- React-native: add option to set keyboarVerticalOffset ([#4862](https://github.com/storybookjs/storybook/pull/4862)) +- Addon-CSSResources: new adddon to dynamically add/remove css ([#4622](https://github.com/storybookjs/storybook/pull/4622)) ### Bug Fixes -- Core: Add try, catch for history API for IE11 ([#4870](https://github.com/storybooks/storybook/pull/4870)) -- Core: Don't copy index.html on build-storybook ([#4856](https://github.com/storybooks/storybook/pull/4856)) -- React-native: properly set initial story out of Async Storage. ([#4872](https://github.com/storybooks/storybook/pull/4872)) -- React-native: show webpack-related build issues ([#4883](https://github.com/storybooks/storybook/pull/4883)) -- Addon-info: fix docgen description display ([#4685](https://github.com/storybooks/storybook/pull/4685)) +- Core: Add try, catch for history API for IE11 ([#4870](https://github.com/storybookjs/storybook/pull/4870)) +- Core: Don't copy index.html on build-storybook ([#4856](https://github.com/storybookjs/storybook/pull/4856)) +- React-native: properly set initial story out of Async Storage. ([#4872](https://github.com/storybookjs/storybook/pull/4872)) +- React-native: show webpack-related build issues ([#4883](https://github.com/storybookjs/storybook/pull/4883)) +- Addon-info: fix docgen description display ([#4685](https://github.com/storybookjs/storybook/pull/4685)) ### Dependency Upgrades -- Bump svelte to 2.15.3, addresses !4478 ([#4842](https://github.com/storybooks/storybook/pull/4842)) +- Bump svelte to 2.15.3, addresses !4478 ([#4842](https://github.com/storybookjs/storybook/pull/4842)) ## 4.1.0-alpha.8 (November 25, 2018) ### Features -- React: use babel presets/plugins based on CRA. ([#4836](https://github.com/storybooks/storybook/pull/4836)) -- React-native: Add ability to filter story list ([#4806](https://github.com/storybooks/storybook/pull/4806)) +- React: use babel presets/plugins based on CRA. ([#4836](https://github.com/storybookjs/storybook/pull/4836)) +- React-native: Add ability to filter story list ([#4806](https://github.com/storybookjs/storybook/pull/4806)) ### Bug Fixes -- Core: Don't mangle production build ([#4838](https://github.com/storybooks/storybook/pull/4838)) -- HTML: Don't change rootElement when received node is the same ([#4822](https://github.com/storybooks/storybook/pull/4822)) +- Core: Don't mangle production build ([#4838](https://github.com/storybookjs/storybook/pull/4838)) +- HTML: Don't change rootElement when received node is the same ([#4822](https://github.com/storybookjs/storybook/pull/4822)) ### Maintenance -- Fix snapshots to use "emotion/snapshot-serializer" ([#4837](https://github.com/storybooks/storybook/pull/4837)) +- Fix snapshots to use "emotion/snapshot-serializer" ([#4837](https://github.com/storybookjs/storybook/pull/4837)) ## 4.1.0-alpha.7 (November 22, 2018) ### Features -- Add TypeScript support for react-scripts ([#4824](https://github.com/storybooks/storybook/pull/4824)) +- Add TypeScript support for react-scripts ([#4824](https://github.com/storybookjs/storybook/pull/4824)) ## 4.1.0-alpha.5/6 (November 22, 2018) @@ -1695,83 +2159,83 @@ Publish failed ### Features -- ADD support for all versions of react ([#4808](https://github.com/storybooks/storybook/pull/4808)) +- ADD support for all versions of react ([#4808](https://github.com/storybookjs/storybook/pull/4808)) ### Bug Fixes -- Use correct cache directory path ([#4792](https://github.com/storybooks/storybook/pull/4792)) +- Use correct cache directory path ([#4792](https://github.com/storybookjs/storybook/pull/4792)) ## 4.0.9 (November 26, 2018) -Broken release (see https://github.com/storybooks/storybook/issues/4897) +Broken release (see https://github.com/storybookjs/storybook/issues/4897) ## 4.0.8 (November 21, 2018) ### Bug Fixes -- Addon-knobs: Vue optimize on force render ([#4773](https://github.com/storybooks/storybook/pull/4773)) +- Addon-knobs: Vue optimize on force render ([#4773](https://github.com/storybookjs/storybook/pull/4773)) ## 4.1.0-alpha.3 (November 15, 2018) ### Maintenance -- REFACTOR dev-serve to output less noise ([#4791](https://github.com/storybooks/storybook/pull/4791)) -- Separate manager and preview part.2 ([#4789](https://github.com/storybooks/storybook/pull/4789)) +- REFACTOR dev-serve to output less noise ([#4791](https://github.com/storybookjs/storybook/pull/4791)) +- Separate manager and preview part.2 ([#4789](https://github.com/storybookjs/storybook/pull/4789)) ### Dependency Upgrades -- Use alpha minify dependency to upgrade transitive lodash dependencies ([#4771](https://github.com/storybooks/storybook/pull/4771)) +- Use alpha minify dependency to upgrade transitive lodash dependencies ([#4771](https://github.com/storybookjs/storybook/pull/4771)) ## 4.0.7 (November 15, 2018) ### Bug Fixes -- Vue/Angular/Mithril/Polymer: Add missing "forceReRender" and "addParameters" ([#4767](https://github.com/storybooks/storybook/pull/4767)) +- Vue/Angular/Mithril/Polymer: Add missing "forceReRender" and "addParameters" ([#4767](https://github.com/storybookjs/storybook/pull/4767)) ## 4.1.0-alpha.2 (November 13, 2018) ### Features -- Core: Interpolation for multiple environment variables ([#4761](https://github.com/storybooks/storybook/pull/4761)) -- UI: deep theming for stories nav panel ([#4702](https://github.com/storybooks/storybook/pull/4702)) -- React-native: Persist last displayed story, allow to set initial story. ([#4713](https://github.com/storybooks/storybook/pull/4713)) +- Core: Interpolation for multiple environment variables ([#4761](https://github.com/storybookjs/storybook/pull/4761)) +- UI: deep theming for stories nav panel ([#4702](https://github.com/storybookjs/storybook/pull/4702)) +- React-native: Persist last displayed story, allow to set initial story. ([#4713](https://github.com/storybookjs/storybook/pull/4713)) ### Bug Fixes -- Better a11y ([#4704](https://github.com/storybooks/storybook/pull/4704)) -- Remove z-index from vertical resizer ([#4651](https://github.com/storybooks/storybook/pull/4651)) -- React: Ensure @storybook/react can be imported in Node.js without errors ([#4757](https://github.com/storybooks/storybook/pull/4757)) +- Better a11y ([#4704](https://github.com/storybookjs/storybook/pull/4704)) +- Remove z-index from vertical resizer ([#4651](https://github.com/storybookjs/storybook/pull/4651)) +- React: Ensure @storybook/react can be imported in Node.js without errors ([#4757](https://github.com/storybookjs/storybook/pull/4757)) ### Maintenance -- Core: separate manager from preview ([#4590](https://github.com/storybooks/storybook/pull/4590)) -- Add tests for custom react-scripts packages ([#4768](https://github.com/storybooks/storybook/pull/4768)) -- FIX deprecation warning from husky ([#4755](https://github.com/storybooks/storybook/pull/4755)) -- Tech/silent smoke tests ([#4749](https://github.com/storybooks/storybook/pull/4749)) +- Core: separate manager from preview ([#4590](https://github.com/storybookjs/storybook/pull/4590)) +- Add tests for custom react-scripts packages ([#4768](https://github.com/storybookjs/storybook/pull/4768)) +- FIX deprecation warning from husky ([#4755](https://github.com/storybookjs/storybook/pull/4755)) +- Tech/silent smoke tests ([#4749](https://github.com/storybookjs/storybook/pull/4749)) ### Dependency Upgrades -- Bump lint-staged from 7.3.0 to 8.0.4 ([#4673](https://github.com/storybooks/storybook/pull/4673)) -- Bump svelte from 2.13.5 to 2.15.2 ([#4726](https://github.com/storybooks/storybook/pull/4726)) -- [Security] Bump cached-path-relative from 1.0.1 to 1.0.2 ([#4745](https://github.com/storybooks/storybook/pull/4745)) -- Update expo requirement from ^30.0.1 to ^31.0.4 in /examples-native/crna-kitchen-sink ([#4728](https://github.com/storybooks/storybook/pull/4728)) -- Bump @storybook/addon-links from 3.4.11 to 4.0.4 in /docs ([#4732](https://github.com/storybooks/storybook/pull/4732)) -- Bump react-syntax-highlighter from 9.0.1 to 10.0.0 ([#4654](https://github.com/storybooks/storybook/pull/4654)) -- Bump @angular/compiler from 7.0.1 to 7.0.2 ([#4677](https://github.com/storybooks/storybook/pull/4677)) -- Bump @types/jest from 23.3.8 to 23.3.9 ([#4658](https://github.com/storybooks/storybook/pull/4658)) -- Bump copy-webpack-plugin from 4.5.4 to 4.6.0 ([#4674](https://github.com/storybooks/storybook/pull/4674)) -- Bump @ngrx/store from 6.1.1 to 6.1.2 ([#4678](https://github.com/storybooks/storybook/pull/4678)) -- [Security] Bump merge from 1.2.0 to 1.2.1 ([#4686](https://github.com/storybooks/storybook/pull/4686)) +- Bump lint-staged from 7.3.0 to 8.0.4 ([#4673](https://github.com/storybookjs/storybook/pull/4673)) +- Bump svelte from 2.13.5 to 2.15.2 ([#4726](https://github.com/storybookjs/storybook/pull/4726)) +- [Security] Bump cached-path-relative from 1.0.1 to 1.0.2 ([#4745](https://github.com/storybookjs/storybook/pull/4745)) +- Update expo requirement from ^30.0.1 to ^31.0.4 in /examples-native/crna-kitchen-sink ([#4728](https://github.com/storybookjs/storybook/pull/4728)) +- Bump @storybook/addon-links from 3.4.11 to 4.0.4 in /docs ([#4732](https://github.com/storybookjs/storybook/pull/4732)) +- Bump react-syntax-highlighter from 9.0.1 to 10.0.0 ([#4654](https://github.com/storybookjs/storybook/pull/4654)) +- Bump @angular/compiler from 7.0.1 to 7.0.2 ([#4677](https://github.com/storybookjs/storybook/pull/4677)) +- Bump @types/jest from 23.3.8 to 23.3.9 ([#4658](https://github.com/storybookjs/storybook/pull/4658)) +- Bump copy-webpack-plugin from 4.5.4 to 4.6.0 ([#4674](https://github.com/storybookjs/storybook/pull/4674)) +- Bump @ngrx/store from 6.1.1 to 6.1.2 ([#4678](https://github.com/storybookjs/storybook/pull/4678)) +- [Security] Bump merge from 1.2.0 to 1.2.1 ([#4686](https://github.com/storybookjs/storybook/pull/4686)) ## 4.0.6 (November 13, 2018) ### Features -- React: add support for custom `react-scripts` packages ([#4712](https://github.com/storybooks/storybook/pull/4712)) +- React: add support for custom `react-scripts` packages ([#4712](https://github.com/storybookjs/storybook/pull/4712)) ### Bug Fixes -- Core: fix NODE_PATH is not being loaded from .env ([#4706](https://github.com/storybooks/storybook/pull/4706)) +- Core: fix NODE_PATH is not being loaded from .env ([#4706](https://github.com/storybookjs/storybook/pull/4706)) ## 4.0.5 (November 13, 2018) @@ -1783,17 +2247,17 @@ Publish failed #### Features -- Core: add cursor images to webpack loader [#4498](https://github.com/storybooks/storybook/pull/4498) -- Storyshots-puppeteer: Allow specifying an existing browser [#4721](https://github.com/storybooks/storybook/pull/4721) -- React-native: close StoryListView after tap again in the current story [#4714](https://github.com/storybooks/storybook/pull/4714) +- Core: add cursor images to webpack loader [#4498](https://github.com/storybookjs/storybook/pull/4498) +- Storyshots-puppeteer: Allow specifying an existing browser [#4721](https://github.com/storybookjs/storybook/pull/4721) +- React-native: close StoryListView after tap again in the current story [#4714](https://github.com/storybookjs/storybook/pull/4714) #### Dependency Upgrades -- Bump @angular/compiler from 7.0.1 to 7.0.2 [#4677](https://github.com/storybooks/storybook/pull/4677) -- Bump @types/jest from 23.3.8 to 23.3.9 [#4658](https://github.com/storybooks/storybook/pull/4658) -- Bump copy-webpack-plugin from 4.5.4 to 4.6.0 [#4674](https://github.com/storybooks/storybook/pull/4674) -- Bump @ngrx/store from 6.1.1 to 6.1.2 [#4678](https://github.com/storybooks/storybook/pull/4678) -- [Security] Bump merge from 1.2.0 to 1.2.1 [#4686](https://github.com/storybooks/storybook/pull/4686) +- Bump @angular/compiler from 7.0.1 to 7.0.2 [#4677](https://github.com/storybookjs/storybook/pull/4677) +- Bump @types/jest from 23.3.8 to 23.3.9 [#4658](https://github.com/storybookjs/storybook/pull/4658) +- Bump copy-webpack-plugin from 4.5.4 to 4.6.0 [#4674](https://github.com/storybookjs/storybook/pull/4674) +- Bump @ngrx/store from 6.1.1 to 6.1.2 [#4678](https://github.com/storybookjs/storybook/pull/4678) +- [Security] Bump merge from 1.2.0 to 1.2.1 [#4686](https://github.com/storybookjs/storybook/pull/4686) ## 4.1.0-alpha.0 @@ -1805,16 +2269,16 @@ Publish failed #### Bug Fixes -- Core: Change extensions ordering in webpack config [#4708](https://github.com/storybooks/storybook/pull/4708) -- Addon-Knobs: Fix PropTypes in NumberType [#4669](https://github.com/storybooks/storybook/pull/4669) -- Addon-Viewport: Fix "defaultViewport" configuration [#4683](https://github.com/storybooks/storybook/pull/4683) -- Addon-Jest: Fix test matching [#4689](https://github.com/storybooks/storybook/pull/4689) -- Fix tests in node 11 by using `Array#sort` correctly [#4720](https://github.com/storybooks/storybook/pull/4720) +- Core: Change extensions ordering in webpack config [#4708](https://github.com/storybookjs/storybook/pull/4708) +- Addon-Knobs: Fix PropTypes in NumberType [#4669](https://github.com/storybookjs/storybook/pull/4669) +- Addon-Viewport: Fix "defaultViewport" configuration [#4683](https://github.com/storybookjs/storybook/pull/4683) +- Addon-Jest: Fix test matching [#4689](https://github.com/storybookjs/storybook/pull/4689) +- Fix tests in node 11 by using `Array#sort` correctly [#4720](https://github.com/storybookjs/storybook/pull/4720) #### Dependency Upgrades -- Bump react-syntax-highlighter from 9.0.1 to 10.0.0 [#4654](https://github.com/storybooks/storybook/pull/4654) -- Remove SB deps from cli tests [#4705](https://github.com/storybooks/storybook/pull/4705) +- Bump react-syntax-highlighter from 9.0.1 to 10.0.0 [#4654](https://github.com/storybookjs/storybook/pull/4654) +- Remove SB deps from cli tests [#4705](https://github.com/storybookjs/storybook/pull/4705) ## 4.0.3 @@ -1822,17 +2286,17 @@ Publish failed #### Bug Fixes -- React: Fix css relative asset urls [#4695](https://github.com/storybooks/storybook/pull/4695) -- Core: Fix a bug with buildStaticStandalone resolving too early [#4649](https://github.com/storybooks/storybook/pull/4649) -- Angular: Fixes component imports from dist [#4682](https://github.com/storybooks/storybook/pull/4682) -- Addon-info: Improve accessibility with contrast [#4698](https://github.com/storybooks/storybook/pull/4698) -- Ember: update ergonomics to not require any manual setup [#4594](https://github.com/storybooks/storybook/pull/4594) -- React-native: fix accessibility for component preview (iOS+VoiceOver) [#4601](https://github.com/storybooks/storybook/pull/4601) +- React: Fix css relative asset urls [#4695](https://github.com/storybookjs/storybook/pull/4695) +- Core: Fix a bug with buildStaticStandalone resolving too early [#4649](https://github.com/storybookjs/storybook/pull/4649) +- Angular: Fixes component imports from dist [#4682](https://github.com/storybookjs/storybook/pull/4682) +- Addon-info: Improve accessibility with contrast [#4698](https://github.com/storybookjs/storybook/pull/4698) +- Ember: update ergonomics to not require any manual setup [#4594](https://github.com/storybookjs/storybook/pull/4594) +- React-native: fix accessibility for component preview (iOS+VoiceOver) [#4601](https://github.com/storybookjs/storybook/pull/4601) #### Maintenance -- Update release process and `master` becomes the stable branch [#4719](https://github.com/storybooks/storybook/pull/4719) -- Report CLI tests to teamcity [#4671](https://github.com/storybooks/storybook/pull/4671) +- Update release process and `master` becomes the stable branch [#4719](https://github.com/storybookjs/storybook/pull/4719) +- Report CLI tests to teamcity [#4671](https://github.com/storybookjs/storybook/pull/4671) #### Dependency Upgrades @@ -1841,36 +2305,36 @@ Publish failed 30 PRs -- Bump @angular/core from 7.0.1 to 7.0.2 [#4675](https://github.com/storybooks/storybook/pull/4675) -- [Security] Bump merge from 1.2.0 to 1.2.1 in /docs [#4687](https://github.com/storybooks/storybook/pull/4687) -- Bump typescript from 3.1.4 to 3.1.6 [#4699](https://github.com/storybooks/storybook/pull/4699) -- Set zone.js as a peer and dev dependency [#4663](https://github.com/storybooks/storybook/pull/4663) -- chore(core): update css-loader to latest [#4619](https://github.com/storybooks/storybook/pull/4619) -- Bump css-loader from 1.0.0 to 1.0.1 [#4655](https://github.com/storybooks/storybook/pull/4655) -- Bump @ngrx/store from 6.1.0 to 6.1.1 [#4653](https://github.com/storybooks/storybook/pull/4653) -- Allow for angular-devkit/core version aligned with Angular v7 [#4652](https://github.com/storybooks/storybook/pull/4652) -- Bump ember-load-initializers from 1.1.0 to 2.0.0 [#4634](https://github.com/storybooks/storybook/pull/4634) -- Bump @ember/test-helpers from 0.7.27 to 1.0.0 [#4630](https://github.com/storybooks/storybook/pull/4630) -- Bump @storybook/addon-actions from 3.4.11 to 4.0.0 in /docs [#4626](https://github.com/storybooks/storybook/pull/4626) -- Bump gatsby-plugin-sharp from 2.0.7 to 2.0.10 in /docs [#4627](https://github.com/storybooks/storybook/pull/4627) -- Bump typescript from 3.1.3 to 3.1.4 [#4629](https://github.com/storybooks/storybook/pull/4629) -- Bump react-scripts from 2.0.5 to 2.1.0 [#4631](https://github.com/storybooks/storybook/pull/4631) -- Bump ember-source from 3.5.0 to 3.5.1 [#4633](https://github.com/storybooks/storybook/pull/4633) -- Bump @types/node from 10.12.0 to 10.12.1 [#4635](https://github.com/storybooks/storybook/pull/4635) -- Bump react-dev-utils from 6.0.5 to 6.1.0 [#4636](https://github.com/storybooks/storybook/pull/4636) -- Bump eslint from 5.7.0 to 5.8.0 [#4613](https://github.com/storybooks/storybook/pull/4613) -- Bump express-graphql from 0.6.12 to 0.7.1 [#4610](https://github.com/storybooks/storybook/pull/4610) -- Bump tslint-plugin-prettier from 2.0.0 to 2.0.1 [#4609](https://github.com/storybooks/storybook/pull/4609) -- Bump eslint-plugin-jest from 21.26.1 to 21.26.2 [#4606](https://github.com/storybooks/storybook/pull/4606) -- Bump @types/jest from 23.3.7 to 23.3.8 [#4611](https://github.com/storybooks/storybook/pull/4611) -- Bump fork-ts-checker-webpack-plugin from 0.4.10 to 0.4.14 [#4607](https://github.com/storybooks/storybook/pull/4607) -- Bump autoprefixer from 9.2.1 to 9.3.1 [#4605](https://github.com/storybooks/storybook/pull/4605) -- Bump jasmine-core from 3.2.1 to 3.3.0 [#4581](https://github.com/storybooks/storybook/pull/4581) -- Bump react-dom from 16.5.2 to 16.6.0 [#4580](https://github.com/storybooks/storybook/pull/4580) -- Bump eslint-plugin-jest from 21.25.1 to 21.26.1 [#4583](https://github.com/storybooks/storybook/pull/4583) -- Bump react from 16.5.2 to 16.6.0 [#4584](https://github.com/storybooks/storybook/pull/4584) -- Bump react-syntax-highlighter from 9.0.0 to 9.0.1 [#4585](https://github.com/storybooks/storybook/pull/4585) -- Bump remark-cli from 5.0.0 to 6.0.0 [#4551](https://github.com/storybooks/storybook/pull/4551) +- Bump @angular/core from 7.0.1 to 7.0.2 [#4675](https://github.com/storybookjs/storybook/pull/4675) +- [Security] Bump merge from 1.2.0 to 1.2.1 in /docs [#4687](https://github.com/storybookjs/storybook/pull/4687) +- Bump typescript from 3.1.4 to 3.1.6 [#4699](https://github.com/storybookjs/storybook/pull/4699) +- Set zone.js as a peer and dev dependency [#4663](https://github.com/storybookjs/storybook/pull/4663) +- chore(core): update css-loader to latest [#4619](https://github.com/storybookjs/storybook/pull/4619) +- Bump css-loader from 1.0.0 to 1.0.1 [#4655](https://github.com/storybookjs/storybook/pull/4655) +- Bump @ngrx/store from 6.1.0 to 6.1.1 [#4653](https://github.com/storybookjs/storybook/pull/4653) +- Allow for angular-devkit/core version aligned with Angular v7 [#4652](https://github.com/storybookjs/storybook/pull/4652) +- Bump ember-load-initializers from 1.1.0 to 2.0.0 [#4634](https://github.com/storybookjs/storybook/pull/4634) +- Bump @ember/test-helpers from 0.7.27 to 1.0.0 [#4630](https://github.com/storybookjs/storybook/pull/4630) +- Bump @storybook/addon-actions from 3.4.11 to 4.0.0 in /docs [#4626](https://github.com/storybookjs/storybook/pull/4626) +- Bump gatsby-plugin-sharp from 2.0.7 to 2.0.10 in /docs [#4627](https://github.com/storybookjs/storybook/pull/4627) +- Bump typescript from 3.1.3 to 3.1.4 [#4629](https://github.com/storybookjs/storybook/pull/4629) +- Bump react-scripts from 2.0.5 to 2.1.0 [#4631](https://github.com/storybookjs/storybook/pull/4631) +- Bump ember-source from 3.5.0 to 3.5.1 [#4633](https://github.com/storybookjs/storybook/pull/4633) +- Bump @types/node from 10.12.0 to 10.12.1 [#4635](https://github.com/storybookjs/storybook/pull/4635) +- Bump react-dev-utils from 6.0.5 to 6.1.0 [#4636](https://github.com/storybookjs/storybook/pull/4636) +- Bump eslint from 5.7.0 to 5.8.0 [#4613](https://github.com/storybookjs/storybook/pull/4613) +- Bump express-graphql from 0.6.12 to 0.7.1 [#4610](https://github.com/storybookjs/storybook/pull/4610) +- Bump tslint-plugin-prettier from 2.0.0 to 2.0.1 [#4609](https://github.com/storybookjs/storybook/pull/4609) +- Bump eslint-plugin-jest from 21.26.1 to 21.26.2 [#4606](https://github.com/storybookjs/storybook/pull/4606) +- Bump @types/jest from 23.3.7 to 23.3.8 [#4611](https://github.com/storybookjs/storybook/pull/4611) +- Bump fork-ts-checker-webpack-plugin from 0.4.10 to 0.4.14 [#4607](https://github.com/storybookjs/storybook/pull/4607) +- Bump autoprefixer from 9.2.1 to 9.3.1 [#4605](https://github.com/storybookjs/storybook/pull/4605) +- Bump jasmine-core from 3.2.1 to 3.3.0 [#4581](https://github.com/storybookjs/storybook/pull/4581) +- Bump react-dom from 16.5.2 to 16.6.0 [#4580](https://github.com/storybookjs/storybook/pull/4580) +- Bump eslint-plugin-jest from 21.25.1 to 21.26.1 [#4583](https://github.com/storybookjs/storybook/pull/4583) +- Bump react from 16.5.2 to 16.6.0 [#4584](https://github.com/storybookjs/storybook/pull/4584) +- Bump react-syntax-highlighter from 9.0.0 to 9.0.1 [#4585](https://github.com/storybookjs/storybook/pull/4585) +- Bump remark-cli from 5.0.0 to 6.0.0 [#4551](https://github.com/storybookjs/storybook/pull/4551) @@ -1882,13 +2346,13 @@ Fix broken 4.0.1 release #### Bug Fixes -- Addon-knobs: fix select array values showing k [#4586](https://github.com/storybooks/storybook/pull/4586) +- Addon-knobs: fix select array values showing k [#4586](https://github.com/storybookjs/storybook/pull/4586) ## 4.0.1 2018-October-31 -Broken release - `@storybook/client-logger` [somehow didn't get published to NPM.](https://github.com/storybooks/storybook/issues/4660) +Broken release - `@storybook/client-logger` [somehow didn't get published to NPM.](https://github.com/storybookjs/storybook/issues/4660) ## 4.0.0 @@ -1897,33 +2361,33 @@ Broken release - `@storybook/client-logger` [somehow didn't get published to NPM [Storybook 4.0](https://medium.com/storybookjs/storybook-4-0-is-here-10b9857fc7de) is our first major-version update in over a year! Key improvements include: - Build tools - - Webpack 4 [#3148](https://github.com/storybooks/storybook/pull/3148) - - Babel 7 [#3746](https://github.com/storybooks/storybook/pull/3746) + - Webpack 4 [#3148](https://github.com/storybookjs/storybook/pull/3148) + - Babel 7 [#3746](https://github.com/storybookjs/storybook/pull/3746) - View layers - - Storybook for Ember [#4237](https://github.com/storybooks/storybook/pull/4237) - - Storybook for MarkoJS [#3504](https://github.com/storybooks/storybook/pull/3504) - - Storybook for Mithril [#3244](https://github.com/storybooks/storybook/pull/3244) - - Storybook for HTML snippets [#3475](https://github.com/storybooks/storybook/pull/3475) - - Storybook for Svelte [#3770](https://github.com/storybooks/storybook/pull/3770) - - Storybook for Riot [#4070](https://github.com/storybooks/storybook/pull/4070) + - Storybook for Ember [#4237](https://github.com/storybookjs/storybook/pull/4237) + - Storybook for MarkoJS [#3504](https://github.com/storybookjs/storybook/pull/3504) + - Storybook for Mithril [#3244](https://github.com/storybookjs/storybook/pull/3244) + - Storybook for HTML snippets [#3475](https://github.com/storybookjs/storybook/pull/3475) + - Storybook for Svelte [#3770](https://github.com/storybookjs/storybook/pull/3770) + - Storybook for Riot [#4070](https://github.com/storybookjs/storybook/pull/4070) - Mobile - - Mobile device view: toggling stories panel with ☰ button [#3337](https://github.com/storybooks/storybook/pull/3337) - - React Native: Remove the packager from storybook [#4261](https://github.com/storybooks/storybook/pull/4261) - - React-Native: On-device addons [#4381](https://github.com/storybooks/storybook/pull/4381) - - React-Native: On-device addons for notes, knobs, backgrounds [#4327](https://github.com/storybooks/storybook/pull/4327) + - Mobile device view: toggling stories panel with ☰ button [#3337](https://github.com/storybookjs/storybook/pull/3337) + - React Native: Remove the packager from storybook [#4261](https://github.com/storybookjs/storybook/pull/4261) + - React-Native: On-device addons [#4381](https://github.com/storybookjs/storybook/pull/4381) + - React-Native: On-device addons for notes, knobs, backgrounds [#4327](https://github.com/storybookjs/storybook/pull/4327) - UI - - Storybook UI theming [#3628](https://github.com/storybooks/storybook/pull/3628) + - Storybook UI theming [#3628](https://github.com/storybookjs/storybook/pull/3628) - Core - - Story parameters [#2679](https://github.com/storybooks/storybook/pull/2679) - - Generic addon decorators [#3555](https://github.com/storybooks/storybook/pull/3555) - - Support css-modules [#4405](https://github.com/storybooks/storybook/pull/4405) - - start-storybook: open browser tab on first compilation [#4149](https://github.com/storybooks/storybook/pull/4149) - - start-storybook: suggest an alternative when the port is occupied [#4146](https://github.com/storybooks/storybook/pull/4146) - - CLI-less Node api [#4344](https://github.com/storybooks/storybook/pull/4344) - - Rename CLI to sb [#4345](https://github.com/storybooks/storybook/pull/4345) + - Story parameters [#2679](https://github.com/storybookjs/storybook/pull/2679) + - Generic addon decorators [#3555](https://github.com/storybookjs/storybook/pull/3555) + - Support css-modules [#4405](https://github.com/storybookjs/storybook/pull/4405) + - start-storybook: open browser tab on first compilation [#4149](https://github.com/storybookjs/storybook/pull/4149) + - start-storybook: suggest an alternative when the port is occupied [#4146](https://github.com/storybookjs/storybook/pull/4146) + - CLI-less Node api [#4344](https://github.com/storybookjs/storybook/pull/4344) + - Rename CLI to sb [#4345](https://github.com/storybookjs/storybook/pull/4345) There are hundreds of more fixes, features, and tweaks in the 4.0 release. See changelogs for `4.0.0-rc.*` and `4.0.0-alpha.*` for details; check out our [migration guide](https://medium.com/storybookjs/migrating-to-storybook-4-c65b19a03d2c) for a walkthrough of how to upgrade or the -[migration docs](https://github.com/storybooks/storybook/blob/master/MIGRATION.md#from-version-34x-to-40x) for an enumeration of breaking changes. +[migration docs](https://github.com/storybookjs/storybook/blob/master/MIGRATION.md#from-version-34x-to-40x) for an enumeration of breaking changes. ## 4.0.0-rc.6 @@ -1931,7 +2395,7 @@ There are hundreds of more fixes, features, and tweaks in the 4.0 release. See c #### Dependency Upgrades -- Upgrade react-komposer to 2.0.5 [#4547](https://github.com/storybooks/storybook/pull/4547) +- Upgrade react-komposer to 2.0.5 [#4547](https://github.com/storybookjs/storybook/pull/4547) ## 4.0.0-rc.5 @@ -1939,7 +2403,7 @@ There are hundreds of more fixes, features, and tweaks in the 4.0 release. See c #### Maintenance -- Fix issue with `sb init` on the Vue CLI [#4535](https://github.com/storybooks/storybook/pull/4535) +- Fix issue with `sb init` on the Vue CLI [#4535](https://github.com/storybookjs/storybook/pull/4535) ## 4.0.0-rc.4 @@ -1947,23 +2411,23 @@ There are hundreds of more fixes, features, and tweaks in the 4.0 release. See c #### Features -- Ember: update to not require any manual setup [#4544](https://github.com/storybooks/storybook/pull/4544) +- Ember: update to not require any manual setup [#4544](https://github.com/storybookjs/storybook/pull/4544) #### Bug Fixes -- React: add mini-css-extract-plugin to app/react dependencies [#4534](https://github.com/storybooks/storybook/pull/4534) +- React: add mini-css-extract-plugin to app/react dependencies [#4534](https://github.com/storybookjs/storybook/pull/4534) #### Maintenance -- Add angular@7 cli tests [#4524](https://github.com/storybooks/storybook/pull/4524) -- Fix the node-logger version in app/react [#4539](https://github.com/storybooks/storybook/pull/4539) +- Add angular@7 cli tests [#4524](https://github.com/storybookjs/storybook/pull/4524) +- Fix the node-logger version in app/react [#4539](https://github.com/storybookjs/storybook/pull/4539) #### Dependency Upgrades -- Bump danger from 4.4.8 to 6.0.2 [#4538](https://github.com/storybooks/storybook/pull/4538) -- Bump react-test-renderer from 16.5.2 to 16.6.0 [#4536](https://github.com/storybooks/storybook/pull/4536) -- Bump fuse.js from 3.2.1 to 3.3.0 [#4537](https://github.com/storybooks/storybook/pull/4537) -- Bump riot from 3.12.0 to 3.13.0 [#4511](https://github.com/storybooks/storybook/pull/4511) +- Bump danger from 4.4.8 to 6.0.2 [#4538](https://github.com/storybookjs/storybook/pull/4538) +- Bump react-test-renderer from 16.5.2 to 16.6.0 [#4536](https://github.com/storybookjs/storybook/pull/4536) +- Bump fuse.js from 3.2.1 to 3.3.0 [#4537](https://github.com/storybookjs/storybook/pull/4537) +- Bump riot from 3.12.0 to 3.13.0 [#4511](https://github.com/storybookjs/storybook/pull/4511) ## 4.0.0-rc.3 @@ -1971,14 +2435,14 @@ There are hundreds of more fixes, features, and tweaks in the 4.0 release. See c #### Bug Fixes -- Fix knobs select to support rich values [#4522](https://github.com/storybooks/storybook/pull/4522) -- Turn off spell check in story filter [#4472](https://github.com/storybooks/storybook/pull/4472)- +- Fix knobs select to support rich values [#4522](https://github.com/storybookjs/storybook/pull/4522) +- Turn off spell check in story filter [#4472](https://github.com/storybookjs/storybook/pull/4472)- #### Maintenance -- ADD timeout to update check [#4530](https://github.com/storybooks/storybook/pull/4530) -- REMOVE emotion from demo components to make backwards compatibility easier && ADD demo components to official example [#4527](https://github.com/storybooks/storybook/pull/4527) -- Exclude story files from angular app build [#4485](https://github.com/storybooks/storybook/pull/4485) +- ADD timeout to update check [#4530](https://github.com/storybookjs/storybook/pull/4530) +- REMOVE emotion from demo components to make backwards compatibility easier && ADD demo components to official example [#4527](https://github.com/storybookjs/storybook/pull/4527) +- Exclude story files from angular app build [#4485](https://github.com/storybookjs/storybook/pull/4485) ## 4.0.0-rc.2 @@ -1986,25 +2450,25 @@ There are hundreds of more fixes, features, and tweaks in the 4.0 release. See c #### Features -- Support css-modules [#4405](https://github.com/storybooks/storybook/pull/4405) -- Angular: Support sass files [#4343](https://github.com/storybooks/storybook/pull/4343) -- Support "mjs" extensions [#4466](https://github.com/storybooks/storybook/pull/4466) -- Allow presets to be async [#4450](https://github.com/storybooks/storybook/pull/4450) +- Support css-modules [#4405](https://github.com/storybookjs/storybook/pull/4405) +- Angular: Support sass files [#4343](https://github.com/storybookjs/storybook/pull/4343) +- Support "mjs" extensions [#4466](https://github.com/storybookjs/storybook/pull/4466) +- Allow presets to be async [#4450](https://github.com/storybookjs/storybook/pull/4450) #### Bug Fixes -- Addon-Jest: undefined file extension [#4452](https://github.com/storybooks/storybook/pull/4452) +- Addon-Jest: undefined file extension [#4452](https://github.com/storybookjs/storybook/pull/4452) #### Maintenance -- Override babelrc for the node related code [#4451](https://github.com/storybooks/storybook/pull/4451) -- Use cross-env in official example [#4474](https://github.com/storybooks/storybook/pull/4474) +- Override babelrc for the node related code [#4451](https://github.com/storybookjs/storybook/pull/4451) +- Use cross-env in official example [#4474](https://github.com/storybookjs/storybook/pull/4474) #### Dependency Upgrades -- Bump copy-webpack-plugin from 4.5.3 to 4.5.4 [#4492](https://github.com/storybooks/storybook/pull/4492) -- Bump jest-image-snapshot from 2.5.0 to 2.6.0 [#4494](https://github.com/storybooks/storybook/pull/4494) -- Bump webpack from 4.20.2 to 4.21.0 [#4477](https://github.com/storybooks/storybook/pull/4477) +- Bump copy-webpack-plugin from 4.5.3 to 4.5.4 [#4492](https://github.com/storybookjs/storybook/pull/4492) +- Bump jest-image-snapshot from 2.5.0 to 2.6.0 [#4494](https://github.com/storybookjs/storybook/pull/4494) +- Bump webpack from 4.20.2 to 4.21.0 [#4477](https://github.com/storybookjs/storybook/pull/4477) ## 4.0.0-rc.1 @@ -2012,24 +2476,24 @@ There are hundreds of more fixes, features, and tweaks in the 4.0 release. See c #### Bug Fixes -- Angular: expose webpackFinal extension [#4431](https://github.com/storybooks/storybook/pull/4431) -- Addon-Knobs: fix ints as values [#4465](https://github.com/storybooks/storybook/pull/4465) +- Angular: expose webpackFinal extension [#4431](https://github.com/storybookjs/storybook/pull/4431) +- Addon-Knobs: fix ints as values [#4465](https://github.com/storybookjs/storybook/pull/4465) #### Maintenance -- Add Angular 6 fixture to the sb-cli tests [#4464](https://github.com/storybooks/storybook/pull/4464) +- Add Angular 6 fixture to the sb-cli tests [#4464](https://github.com/storybookjs/storybook/pull/4464) #### Dependency Upgrades -- Require React 16.3 as a peer dependency [#4458](https://github.com/storybooks/storybook/pull/4458) -- Bump @ember/test-helpers from 0.7.26 to 0.7.27 [#4455](https://github.com/storybooks/storybook/pull/4455) -- Bump eslint-plugin-jest from 21.25.0 to 21.25.1 [#4456](https://github.com/storybooks/storybook/pull/4456) -- Bump autoprefixer from 9.2.0 to 9.2.1 [#4457](https://github.com/storybooks/storybook/pull/4457) -- Bump @types/node from 10.11.7 to 10.12.0 [#4434](https://github.com/storybooks/storybook/pull/4434) -- Bump ember-cli-inject-live-reload from 2.0.0 to 2.0.1 [#4435](https://github.com/storybooks/storybook/pull/4435) -- Bump gatsby-plugin-sharp from 1.6.48 to 2.0.7 in /docs [#4438](https://github.com/storybooks/storybook/pull/4438) -- Bump marked from 0.4.0 to 0.5.1 in /docs [#4437](https://github.com/storybooks/storybook/pull/4437) -- Bump highlight.js from 9.12.0 to 9.13.0 in /docs [#4440](https://github.com/storybooks/storybook/pull/4440) +- Require React 16.3 as a peer dependency [#4458](https://github.com/storybookjs/storybook/pull/4458) +- Bump @ember/test-helpers from 0.7.26 to 0.7.27 [#4455](https://github.com/storybookjs/storybook/pull/4455) +- Bump eslint-plugin-jest from 21.25.0 to 21.25.1 [#4456](https://github.com/storybookjs/storybook/pull/4456) +- Bump autoprefixer from 9.2.0 to 9.2.1 [#4457](https://github.com/storybookjs/storybook/pull/4457) +- Bump @types/node from 10.11.7 to 10.12.0 [#4434](https://github.com/storybookjs/storybook/pull/4434) +- Bump ember-cli-inject-live-reload from 2.0.0 to 2.0.1 [#4435](https://github.com/storybookjs/storybook/pull/4435) +- Bump gatsby-plugin-sharp from 1.6.48 to 2.0.7 in /docs [#4438](https://github.com/storybookjs/storybook/pull/4438) +- Bump marked from 0.4.0 to 0.5.1 in /docs [#4437](https://github.com/storybookjs/storybook/pull/4437) +- Bump highlight.js from 9.12.0 to 9.13.0 in /docs [#4440](https://github.com/storybookjs/storybook/pull/4440) ## 4.0.0-rc.0 @@ -2037,30 +2501,30 @@ There are hundreds of more fixes, features, and tweaks in the 4.0 release. See c #### Features -- Addon: google analytics [#4138](https://github.com/storybooks/storybook/pull/4138) +- Addon: google analytics [#4138](https://github.com/storybookjs/storybook/pull/4138) #### Bug Fixes -- Improve environment var loading [#4413](https://github.com/storybooks/storybook/pull/4413) +- Improve environment var loading [#4413](https://github.com/storybookjs/storybook/pull/4413) #### Maintenance -- Skip preflight check when starting cra kitchen sink [#4408](https://github.com/storybooks/storybook/pull/4408) -- Change crna-kitchen-sink path and Some CI maintenance [#4409](https://github.com/storybooks/storybook/pull/4409) -- Create ember entry point to official storybook [#4426](https://github.com/storybooks/storybook/pull/4426) +- Skip preflight check when starting cra kitchen sink [#4408](https://github.com/storybookjs/storybook/pull/4408) +- Change crna-kitchen-sink path and Some CI maintenance [#4409](https://github.com/storybookjs/storybook/pull/4409) +- Create ember entry point to official storybook [#4426](https://github.com/storybookjs/storybook/pull/4426) #### Dependency Upgrades -- Bump ember-cli from 3.4.3 to 3.5.0 [#4429](https://github.com/storybooks/storybook/pull/4429) -- Bump react-native-modal-selector from 0.0.27 to 0.0.29 [#4428](https://github.com/storybooks/storybook/pull/4428) -- Bump ember-cli-inject-live-reload from 1.8.2 to 1.10.1 [#4423](https://github.com/storybooks/storybook/pull/4423) -- Bump html-webpack-plugin from 4.0.0-beta.1 to 4.0.0-beta.2 [#4421](https://github.com/storybooks/storybook/pull/4421) -- Bump react-scripts from 2.0.4 to 2.0.5 [#4420](https://github.com/storybooks/storybook/pull/4420) -- Bump autoprefixer from 9.1.5 to 9.2.0 [#4417](https://github.com/storybooks/storybook/pull/4417) -- Bump redux from 4.0.0 to 4.0.1 [#4419](https://github.com/storybooks/storybook/pull/4419) -- Bump ts-loader from 5.2.1 to 5.2.2 [#4418](https://github.com/storybooks/storybook/pull/4418) -- Bump eslint-plugin-jest from 21.24.1 to 21.25.0 [#4424](https://github.com/storybooks/storybook/pull/4424) -- Bump lazy-universal-dotenv from 1.9.1 to 2.0.0 [#4422](https://github.com/storybooks/storybook/pull/4422) +- Bump ember-cli from 3.4.3 to 3.5.0 [#4429](https://github.com/storybookjs/storybook/pull/4429) +- Bump react-native-modal-selector from 0.0.27 to 0.0.29 [#4428](https://github.com/storybookjs/storybook/pull/4428) +- Bump ember-cli-inject-live-reload from 1.8.2 to 1.10.1 [#4423](https://github.com/storybookjs/storybook/pull/4423) +- Bump html-webpack-plugin from 4.0.0-beta.1 to 4.0.0-beta.2 [#4421](https://github.com/storybookjs/storybook/pull/4421) +- Bump react-scripts from 2.0.4 to 2.0.5 [#4420](https://github.com/storybookjs/storybook/pull/4420) +- Bump autoprefixer from 9.1.5 to 9.2.0 [#4417](https://github.com/storybookjs/storybook/pull/4417) +- Bump redux from 4.0.0 to 4.0.1 [#4419](https://github.com/storybookjs/storybook/pull/4419) +- Bump ts-loader from 5.2.1 to 5.2.2 [#4418](https://github.com/storybookjs/storybook/pull/4418) +- Bump eslint-plugin-jest from 21.24.1 to 21.25.0 [#4424](https://github.com/storybookjs/storybook/pull/4424) +- Bump lazy-universal-dotenv from 1.9.1 to 2.0.0 [#4422](https://github.com/storybookjs/storybook/pull/4422) ## 4.0.0-alpha.25 @@ -2068,56 +2532,56 @@ There are hundreds of more fixes, features, and tweaks in the 4.0 release. See c #### Breaking Changes -- CLI: Rename CLI to sb [#4345](https://github.com/storybooks/storybook/pull/4345) -- React Native: Remove the packager from storybook [#4261](https://github.com/storybooks/storybook/pull/4261) -- React-Native: On-device addons [#4381](https://github.com/storybooks/storybook/pull/4381) +- CLI: Rename CLI to sb [#4345](https://github.com/storybookjs/storybook/pull/4345) +- React Native: Remove the packager from storybook [#4261](https://github.com/storybookjs/storybook/pull/4261) +- React-Native: On-device addons [#4381](https://github.com/storybookjs/storybook/pull/4381) #### Features -- Storybook version update check [#4334](https://github.com/storybooks/storybook/pull/4334) -- CLI: specify project type interactively or as option [#4184](https://github.com/storybooks/storybook/pull/4184) -- Addon-Jest: expand supported file types [#3983](https://github.com/storybooks/storybook/pull/3983) -- CLI-less Node api [#4344](https://github.com/storybooks/storybook/pull/4344) -- React-Native: Updated channel to support async option [#4326](https://github.com/storybooks/storybook/pull/4326) -- React-Native: On-device addons for notes, knobs, backgrounds [#4327](https://github.com/storybooks/storybook/pull/4327) -- Angular: Add support for "baseUrl" and "paths" from angular-cli [#4162](https://github.com/storybooks/storybook/pull/4162) -- Angular: Added basePath support [#4323](https://github.com/storybooks/storybook/pull/4323) -- Vue: support string-only component [#4285](https://github.com/storybooks/storybook/pull/4285) -- Storyshots: Add snapshot serializer option [#4283](https://github.com/storybooks/storybook/pull/4283) -- Storyshots: Support story-specific options as function [#4282](https://github.com/storybooks/storybook/pull/4282) +- Storybook version update check [#4334](https://github.com/storybookjs/storybook/pull/4334) +- CLI: specify project type interactively or as option [#4184](https://github.com/storybookjs/storybook/pull/4184) +- Addon-Jest: expand supported file types [#3983](https://github.com/storybookjs/storybook/pull/3983) +- CLI-less Node api [#4344](https://github.com/storybookjs/storybook/pull/4344) +- React-Native: Updated channel to support async option [#4326](https://github.com/storybookjs/storybook/pull/4326) +- React-Native: On-device addons for notes, knobs, backgrounds [#4327](https://github.com/storybookjs/storybook/pull/4327) +- Angular: Add support for "baseUrl" and "paths" from angular-cli [#4162](https://github.com/storybookjs/storybook/pull/4162) +- Angular: Added basePath support [#4323](https://github.com/storybookjs/storybook/pull/4323) +- Vue: support string-only component [#4285](https://github.com/storybookjs/storybook/pull/4285) +- Storyshots: Add snapshot serializer option [#4283](https://github.com/storybookjs/storybook/pull/4283) +- Storyshots: Support story-specific options as function [#4282](https://github.com/storybookjs/storybook/pull/4282) #### Bug Fixes -- React-native: Remove deprecated attempt to load default addons [#4308](https://github.com/storybooks/storybook/pull/4308) -- Fix panel layouts [#4304](https://github.com/storybooks/storybook/pull/4304) -- [logging] better error logging for when opn fails to opn [#4348](https://github.com/storybooks/storybook/pull/4348) -- Fix iPhone viewport dimensions [#4293](https://github.com/storybooks/storybook/pull/4293) -- Fix Array.js value to string [#4336](https://github.com/storybooks/storybook/pull/4336) -- Fixes to cli ember support [#4318](https://github.com/storybooks/storybook/pull/4318) -- Update `addon-jest` to new propType [#4252](https://github.com/storybooks/storybook/pull/4252) +- React-native: Remove deprecated attempt to load default addons [#4308](https://github.com/storybookjs/storybook/pull/4308) +- Fix panel layouts [#4304](https://github.com/storybookjs/storybook/pull/4304) +- [logging] better error logging for when opn fails to opn [#4348](https://github.com/storybookjs/storybook/pull/4348) +- Fix iPhone viewport dimensions [#4293](https://github.com/storybookjs/storybook/pull/4293) +- Fix Array.js value to string [#4336](https://github.com/storybookjs/storybook/pull/4336) +- Fixes to cli ember support [#4318](https://github.com/storybookjs/storybook/pull/4318) +- Update `addon-jest` to new propType [#4252](https://github.com/storybookjs/storybook/pull/4252) #### Maintenance -- Remove CRNA fixture [#4346](https://github.com/storybooks/storybook/pull/4346) -- Try to fix cli tests [#4338](https://github.com/storybooks/storybook/pull/4338) -- Updated installation for Angular [#4302](https://github.com/storybooks/storybook/pull/4302) -- Fix the broken lint [#4310](https://github.com/storybooks/storybook/pull/4310) -- [ember] add dependencies to root application [#4309](https://github.com/storybooks/storybook/pull/4309) +- Remove CRNA fixture [#4346](https://github.com/storybookjs/storybook/pull/4346) +- Try to fix cli tests [#4338](https://github.com/storybookjs/storybook/pull/4338) +- Updated installation for Angular [#4302](https://github.com/storybookjs/storybook/pull/4302) +- Fix the broken lint [#4310](https://github.com/storybookjs/storybook/pull/4310) +- [ember] add dependencies to root application [#4309](https://github.com/storybookjs/storybook/pull/4309) #### Dependency Upgrades -- Knobs/replace datepicker [#4380](https://github.com/storybooks/storybook/pull/4380) -- Re-generate lockfiles [#4404](https://github.com/storybooks/storybook/pull/4404) -- Run `yarn upgrade-interactive --latest` in root and docs [#4403](https://github.com/storybooks/storybook/pull/4403) -- chore(deps): #4267 upgrade lodash to latest [#4284](https://github.com/storybooks/storybook/pull/4284) -- Bump express from 4.16.3 to 4.16.4 [#4370](https://github.com/storybooks/storybook/pull/4370) -- Bump @angular/cli from 6.2.4 to 6.2.5 [#4390](https://github.com/storybooks/storybook/pull/4390) -- CHANGE back to use html-webpack-plugin to keep compatibility with plugins that depend on it [#4375](https://github.com/storybooks/storybook/pull/4375) -- Bump danger from 4.4.6 to 4.4.7 [#4365](https://github.com/storybooks/storybook/pull/4365) -- Bump @storybook/react from 3.4.8 to 3.4.11 in /docs [#4354](https://github.com/storybooks/storybook/pull/4354) -- Bump sitemap from 1.13.0 to 2.0.1 in /docs [#4356](https://github.com/storybooks/storybook/pull/4356) -- Bump husky from 1.1.1 to 1.1.2 [#4358](https://github.com/storybooks/storybook/pull/4358) -- Tech/upgrades 5 [#4347](https://github.com/storybooks/storybook/pull/4347) +- Knobs/replace datepicker [#4380](https://github.com/storybookjs/storybook/pull/4380) +- Re-generate lockfiles [#4404](https://github.com/storybookjs/storybook/pull/4404) +- Run `yarn upgrade-interactive --latest` in root and docs [#4403](https://github.com/storybookjs/storybook/pull/4403) +- chore(deps): #4267 upgrade lodash to latest [#4284](https://github.com/storybookjs/storybook/pull/4284) +- Bump express from 4.16.3 to 4.16.4 [#4370](https://github.com/storybookjs/storybook/pull/4370) +- Bump @angular/cli from 6.2.4 to 6.2.5 [#4390](https://github.com/storybookjs/storybook/pull/4390) +- CHANGE back to use html-webpack-plugin to keep compatibility with plugins that depend on it [#4375](https://github.com/storybookjs/storybook/pull/4375) +- Bump danger from 4.4.6 to 4.4.7 [#4365](https://github.com/storybookjs/storybook/pull/4365) +- Bump @storybook/react from 3.4.8 to 3.4.11 in /docs [#4354](https://github.com/storybookjs/storybook/pull/4354) +- Bump sitemap from 1.13.0 to 2.0.1 in /docs [#4356](https://github.com/storybookjs/storybook/pull/4356) +- Bump husky from 1.1.1 to 1.1.2 [#4358](https://github.com/storybookjs/storybook/pull/4358) +- Tech/upgrades 5 [#4347](https://github.com/storybookjs/storybook/pull/4347) ## 4.0.0-alpha.24 @@ -2125,16 +2589,16 @@ There are hundreds of more fixes, features, and tweaks in the 4.0 release. See c #### Features -- Storybook for Ember [#4237](https://github.com/storybooks/storybook/pull/4237) -- Riot: support the tagConstructor option [#4258](https://github.com/storybooks/storybook/pull/4258) -- Presets: Add "addons" and "config" to preset extensions [#4240](https://github.com/storybooks/storybook/pull/4240) +- Storybook for Ember [#4237](https://github.com/storybookjs/storybook/pull/4237) +- Riot: support the tagConstructor option [#4258](https://github.com/storybookjs/storybook/pull/4258) +- Presets: Add "addons" and "config" to preset extensions [#4240](https://github.com/storybookjs/storybook/pull/4240) #### Bug Fixes -- Webpack: Fix broken SVGs [#4260](https://github.com/storybooks/storybook/pull/4260) -- Babel/minify: use `builtIns: false` [#4262](https://github.com/storybooks/storybook/pull/4262) -- Addon-Notes: Fix how markdownOptions are passed to marked [#4242](https://github.com/storybooks/storybook/pull/4242) -- Addon-Knobs: Fix broken colorpicker [#4222](https://github.com/storybooks/storybook/pull/4222) +- Webpack: Fix broken SVGs [#4260](https://github.com/storybookjs/storybook/pull/4260) +- Babel/minify: use `builtIns: false` [#4262](https://github.com/storybookjs/storybook/pull/4262) +- Addon-Notes: Fix how markdownOptions are passed to marked [#4242](https://github.com/storybookjs/storybook/pull/4242) +- Addon-Knobs: Fix broken colorpicker [#4222](https://github.com/storybookjs/storybook/pull/4222) ## 4.0.0-alpha.23 @@ -2142,18 +2606,18 @@ There are hundreds of more fixes, features, and tweaks in the 4.0 release. See c #### Features -- Angular build time optimization [#4118](https://github.com/storybooks/storybook/pull/4118) -- Pass Jest done callback to testMethod [#3853](https://github.com/storybooks/storybook/pull/3853) +- Angular build time optimization [#4118](https://github.com/storybookjs/storybook/pull/4118) +- Pass Jest done callback to testMethod [#3853](https://github.com/storybookjs/storybook/pull/3853) #### Bug Fixes -- Fix getstorybook CLI [#4213](https://github.com/storybooks/storybook/pull/4213) -- FIX regression devtool, in case of cross domain parent, window.parent might throw [#4199](https://github.com/storybooks/storybook/pull/4199) +- Fix getstorybook CLI [#4213](https://github.com/storybookjs/storybook/pull/4213) +- FIX regression devtool, in case of cross domain parent, window.parent might throw [#4199](https://github.com/storybookjs/storybook/pull/4199) #### Dependency Upgrades -- Upgrade deps dealing with license issues [#4228](https://github.com/storybooks/storybook/pull/4228) -- Use @emotion/snapshot-serializer [#4206](https://github.com/storybooks/storybook/pull/4206) +- Upgrade deps dealing with license issues [#4228](https://github.com/storybookjs/storybook/pull/4228) +- Use @emotion/snapshot-serializer [#4206](https://github.com/storybookjs/storybook/pull/4206) ## 4.0.0-alpha.22 @@ -2161,31 +2625,31 @@ There are hundreds of more fixes, features, and tweaks in the 4.0 release. See c #### Features -- Storyshots: story params support [#4176](https://github.com/storybooks/storybook/pull/4176) -- Addon-options: story params support [#3965](https://github.com/storybooks/storybook/pull/3965) -- Presets - API generalization [#4173](https://github.com/storybooks/storybook/pull/4173) -- start-storybook: open browser tab on first compilation [#4149](https://github.com/storybooks/storybook/pull/4149) -- start-storybook: suggest an alternative when the port is occupied [#4146](https://github.com/storybooks/storybook/pull/4146) -- Merge webpack optimisation configs [#4121](https://github.com/storybooks/storybook/pull/4121) +- Storyshots: story params support [#4176](https://github.com/storybookjs/storybook/pull/4176) +- Addon-options: story params support [#3965](https://github.com/storybookjs/storybook/pull/3965) +- Presets - API generalization [#4173](https://github.com/storybookjs/storybook/pull/4173) +- start-storybook: open browser tab on first compilation [#4149](https://github.com/storybookjs/storybook/pull/4149) +- start-storybook: suggest an alternative when the port is occupied [#4146](https://github.com/storybookjs/storybook/pull/4146) +- Merge webpack optimisation configs [#4121](https://github.com/storybookjs/storybook/pull/4121) #### Bug Fixes -- Angular cli - fix prebuild [#4187](https://github.com/storybooks/storybook/pull/4187) -- Presets - add babelDefault extension [#4155](https://github.com/storybooks/storybook/pull/4155) -- CHANGE index.html.ejs to use files over chunks && UPGRADE generate-page-webpack-plugin [#4134](https://github.com/storybooks/storybook/pull/4134) -- Allow replacing of stories (with warning rather than error) [#4061](https://github.com/storybooks/storybook/pull/4061) +- Angular cli - fix prebuild [#4187](https://github.com/storybookjs/storybook/pull/4187) +- Presets - add babelDefault extension [#4155](https://github.com/storybookjs/storybook/pull/4155) +- CHANGE index.html.ejs to use files over chunks && UPGRADE generate-page-webpack-plugin [#4134](https://github.com/storybookjs/storybook/pull/4134) +- Allow replacing of stories (with warning rather than error) [#4061](https://github.com/storybookjs/storybook/pull/4061) #### Maintenance -- CLI refactor [#4168](https://github.com/storybooks/storybook/pull/4168) -- Fix linter warnings [#4172](https://github.com/storybooks/storybook/pull/4172) -- Remove gh-pages deploy in favor of netlify [#4128](https://github.com/storybooks/storybook/pull/4128) +- CLI refactor [#4168](https://github.com/storybookjs/storybook/pull/4168) +- Fix linter warnings [#4172](https://github.com/storybookjs/storybook/pull/4172) +- Remove gh-pages deploy in favor of netlify [#4128](https://github.com/storybookjs/storybook/pull/4128) #### Dependency Upgrades -- [core]: widen `airbnb-js-shims` dep range [#4189](https://github.com/storybooks/storybook/pull/4189) -- Updating react-split-pane to version 0.1.84 [#4153](https://github.com/storybooks/storybook/pull/4153) -- Riot tag loader missing in cli [#4122](https://github.com/storybooks/storybook/pull/4122) +- [core]: widen `airbnb-js-shims` dep range [#4189](https://github.com/storybookjs/storybook/pull/4189) +- Updating react-split-pane to version 0.1.84 [#4153](https://github.com/storybookjs/storybook/pull/4153) +- Riot tag loader missing in cli [#4122](https://github.com/storybookjs/storybook/pull/4122) ## 3.4.11 @@ -2193,7 +2657,7 @@ There are hundreds of more fixes, features, and tweaks in the 4.0 release. See c #### Dependencies -- Allow v1 or v2 in airbnb-js-shims [#4190](https://github.com/storybooks/storybook/pull/4190) +- Allow v1 or v2 in airbnb-js-shims [#4190](https://github.com/storybookjs/storybook/pull/4190) ## 4.0.0-alpha.21 @@ -2201,21 +2665,21 @@ There are hundreds of more fixes, features, and tweaks in the 4.0 release. See c #### Features -- Presets support [#4027](https://github.com/storybooks/storybook/pull/4027) +- Presets support [#4027](https://github.com/storybookjs/storybook/pull/4027) #### Bug Fixes -- CLI: Add missing @babel/core dependency [#4117](https://github.com/storybooks/storybook/pull/4117) -- Addon-Info: Fix duplicated keys in PropTypes table [#4095](https://github.com/storybooks/storybook/pull/4095) +- CLI: Add missing @babel/core dependency [#4117](https://github.com/storybookjs/storybook/pull/4117) +- Addon-Info: Fix duplicated keys in PropTypes table [#4095](https://github.com/storybookjs/storybook/pull/4095) #### Dependency Upgrades -- Moved to lerna 3 [#4067](https://github.com/storybooks/storybook/pull/4067) +- Moved to lerna 3 [#4067](https://github.com/storybookjs/storybook/pull/4067) #### Other -- \[WIP\] Refactor core and frameworks to work with presets [#4043](https://github.com/storybooks/storybook/pull/4043) -- \[WIP\] presets - merge default babel configs [#4107](https://github.com/storybooks/storybook/pull/4107) +- \[WIP\] Refactor core and frameworks to work with presets [#4043](https://github.com/storybookjs/storybook/pull/4043) +- \[WIP\] presets - merge default babel configs [#4107](https://github.com/storybookjs/storybook/pull/4107) ## 4.0.0-alpha.20 @@ -2223,27 +2687,27 @@ There are hundreds of more fixes, features, and tweaks in the 4.0 release. See c #### Breaking Changes -- Use `babelrc: false` only for custom config in `.storybook` directory [#4077](https://github.com/storybooks/storybook/pull/4077) +- Use `babelrc: false` only for custom config in `.storybook` directory [#4077](https://github.com/storybookjs/storybook/pull/4077) #### Features -- Storybook for Riot [#4070](https://github.com/storybooks/storybook/pull/4070) -- Backgrounds addon: Allow setting background via name [#4081](https://github.com/storybooks/storybook/pull/4081) -- Storysource addon: injectDecorator option custom stories [#4012](https://github.com/storybooks/storybook/pull/4012) +- Storybook for Riot [#4070](https://github.com/storybookjs/storybook/pull/4070) +- Backgrounds addon: Allow setting background via name [#4081](https://github.com/storybookjs/storybook/pull/4081) +- Storysource addon: injectDecorator option custom stories [#4012](https://github.com/storybookjs/storybook/pull/4012) #### Bug Fixes -- Disabled import for TabWrapper [#4100](https://github.com/storybooks/storybook/pull/4100) -- Angular cli with projects assets: root dir not correctly used [#4058](https://github.com/storybooks/storybook/pull/4058) +- Disabled import for TabWrapper [#4100](https://github.com/storybookjs/storybook/pull/4100) +- Angular cli with projects assets: root dir not correctly used [#4058](https://github.com/storybookjs/storybook/pull/4058) #### Maintenance -- Do not stale "good first issue" [#4092](https://github.com/storybooks/storybook/pull/4092) -- Remove danger from circleci because it's not working for forked PRs [#4080](https://github.com/storybooks/storybook/pull/4080) +- Do not stale "good first issue" [#4092](https://github.com/storybookjs/storybook/pull/4092) +- Remove danger from circleci because it's not working for forked PRs [#4080](https://github.com/storybookjs/storybook/pull/4080) #### Dependency Upgrades -- UPGRADE packages [#3996](https://github.com/storybooks/storybook/pull/3996) +- UPGRADE packages [#3996](https://github.com/storybookjs/storybook/pull/3996) ## 4.0.0-alpha.19 @@ -2257,13 +2721,13 @@ Not published to NPM #### Bug Fixes -- Add missing `@babel/plugin-proposal-class-properties` dependency [#4076](https://github.com/storybooks/storybook/pull/4076) -- Don't display wrong warning when loading ".js" or ".json" [#4060](https://github.com/storybooks/storybook/pull/4060) -- Fix autodetection of used components in info addon [#4004](https://github.com/storybooks/storybook/pull/4004) +- Add missing `@babel/plugin-proposal-class-properties` dependency [#4076](https://github.com/storybookjs/storybook/pull/4076) +- Don't display wrong warning when loading ".js" or ".json" [#4060](https://github.com/storybookjs/storybook/pull/4060) +- Fix autodetection of used components in info addon [#4004](https://github.com/storybookjs/storybook/pull/4004) #### Maintenance -- Faster CircleCI [#4068](https://github.com/storybooks/storybook/pull/4068) +- Faster CircleCI [#4068](https://github.com/storybookjs/storybook/pull/4068) ## 4.0.0-alpha.17 @@ -2271,29 +2735,29 @@ Not published to NPM #### Breaking Changes -- Babel 7 [#3746](https://github.com/storybooks/storybook/pull/3746) +- Babel 7 [#3746](https://github.com/storybookjs/storybook/pull/3746) #### Features -- Emit messages when stories fail to render [#3967](https://github.com/storybooks/storybook/pull/3967) -- Storybook for Svelte [#3770](https://github.com/storybooks/storybook/pull/3770) -- Allow extending extensions without a full control mode [#3976](https://github.com/storybooks/storybook/pull/3976) +- Emit messages when stories fail to render [#3967](https://github.com/storybookjs/storybook/pull/3967) +- Storybook for Svelte [#3770](https://github.com/storybookjs/storybook/pull/3770) +- Allow extending extensions without a full control mode [#3976](https://github.com/storybookjs/storybook/pull/3976) #### Bug Fixes -- Storyshots puppeteer images do not match [#4045](https://github.com/storybooks/storybook/pull/4045) -- Storyshots puppeteer images do not match [#4037](https://github.com/storybooks/storybook/pull/4037) -- Bring .jsx back [#4024](https://github.com/storybooks/storybook/pull/4024) -- Fix custom webpack config warnings [#4009](https://github.com/storybooks/storybook/pull/4009) -- sorting by kind and nested stories [#3963](https://github.com/storybooks/storybook/pull/3963) +- Storyshots puppeteer images do not match [#4045](https://github.com/storybookjs/storybook/pull/4045) +- Storyshots puppeteer images do not match [#4037](https://github.com/storybookjs/storybook/pull/4037) +- Bring .jsx back [#4024](https://github.com/storybookjs/storybook/pull/4024) +- Fix custom webpack config warnings [#4009](https://github.com/storybookjs/storybook/pull/4009) +- sorting by kind and nested stories [#3963](https://github.com/storybookjs/storybook/pull/3963) #### Maintenance -- Temp revert the 36a2676 [#4062](https://github.com/storybooks/storybook/pull/4062) -- Remove deprecation of --db-path and --enable-db [#4030](https://github.com/storybooks/storybook/pull/4030) -- Remove git info extraction [#4031](https://github.com/storybooks/storybook/pull/4031) -- Fixed homepage links \[skip ci\] [#4008](https://github.com/storybooks/storybook/pull/4008) -- CHANGE html-webpack-plugin for generate-page-plugin [#3919](https://github.com/storybooks/storybook/pull/3919) +- Temp revert the 36a2676 [#4062](https://github.com/storybookjs/storybook/pull/4062) +- Remove deprecation of --db-path and --enable-db [#4030](https://github.com/storybookjs/storybook/pull/4030) +- Remove git info extraction [#4031](https://github.com/storybookjs/storybook/pull/4031) +- Fixed homepage links \[skip ci\] [#4008](https://github.com/storybookjs/storybook/pull/4008) +- CHANGE html-webpack-plugin for generate-page-plugin [#3919](https://github.com/storybookjs/storybook/pull/3919) ## 4.0.0-alpha.16 @@ -2301,18 +2765,18 @@ Not published to NPM #### Features -- Make addon-options work with story parameters [#3958](https://github.com/storybooks/storybook/pull/3958) +- Make addon-options work with story parameters [#3958](https://github.com/storybookjs/storybook/pull/3958) #### Bug Fixes -- \[BUG FIX\] Use fixed version of react-dev-utils [#3959](https://github.com/storybooks/storybook/pull/3959) -- Inline emotion css calls that require theme to avoid using state [#3950](https://github.com/storybooks/storybook/pull/3950) +- \[BUG FIX\] Use fixed version of react-dev-utils [#3959](https://github.com/storybookjs/storybook/pull/3959) +- Inline emotion css calls that require theme to avoid using state [#3950](https://github.com/storybookjs/storybook/pull/3950) #### Dependency Upgrades -- Upgrade even more dependencies [#3964](https://github.com/storybooks/storybook/pull/3964) -- More dependency upgrades (major version bumps) [#3957](https://github.com/storybooks/storybook/pull/3957) -- UPGRADE all minor dependencies [#3954](https://github.com/storybooks/storybook/pull/3954) +- Upgrade even more dependencies [#3964](https://github.com/storybookjs/storybook/pull/3964) +- More dependency upgrades (major version bumps) [#3957](https://github.com/storybookjs/storybook/pull/3957) +- UPGRADE all minor dependencies [#3954](https://github.com/storybookjs/storybook/pull/3954) ## 4.0.0-alpha.15 @@ -2320,33 +2784,33 @@ Not published to NPM #### Breaking Changes -- dependencies(vue): Update vue-loader to 15.x.x [#3911](https://github.com/storybooks/storybook/pull/3911) +- dependencies(vue): Update vue-loader to 15.x.x [#3911](https://github.com/storybookjs/storybook/pull/3911) #### Features -- Horizontal display for addon-knobs radios UI [#3922](https://github.com/storybooks/storybook/pull/3922) -- Add customizePage method to imageSnapshot [#3930](https://github.com/storybooks/storybook/pull/3930) -- Add additional device options to addon-viewport [#3918](https://github.com/storybooks/storybook/pull/3918) -- Support different extensions for "config" and "addons" files [#3913](https://github.com/storybooks/storybook/pull/3913) -- Add radio buttons knob type #3872 [#3894](https://github.com/storybooks/storybook/pull/3894) -- Added arrow to a11y addon HeaderBar [#3788](https://github.com/storybooks/storybook/pull/3788) -- Fix addons panel when using preact [#3882](https://github.com/storybooks/storybook/pull/3882) +- Horizontal display for addon-knobs radios UI [#3922](https://github.com/storybookjs/storybook/pull/3922) +- Add customizePage method to imageSnapshot [#3930](https://github.com/storybookjs/storybook/pull/3930) +- Add additional device options to addon-viewport [#3918](https://github.com/storybookjs/storybook/pull/3918) +- Support different extensions for "config" and "addons" files [#3913](https://github.com/storybookjs/storybook/pull/3913) +- Add radio buttons knob type #3872 [#3894](https://github.com/storybookjs/storybook/pull/3894) +- Added arrow to a11y addon HeaderBar [#3788](https://github.com/storybookjs/storybook/pull/3788) +- Fix addons panel when using preact [#3882](https://github.com/storybookjs/storybook/pull/3882) #### Bug Fixes -- Fix typo in addon-viewport [#3942](https://github.com/storybooks/storybook/pull/3942) -- Fix knobs for React < 16.3 [#3866](https://github.com/storybooks/storybook/pull/3866) +- Fix typo in addon-viewport [#3942](https://github.com/storybookjs/storybook/pull/3942) +- Fix knobs for React < 16.3 [#3866](https://github.com/storybookjs/storybook/pull/3866) #### Maintenance -- Improve BettercodeHub [#3941](https://github.com/storybooks/storybook/pull/3941) -- REFACTOR layout and REMOVE usplit component [#3914](https://github.com/storybooks/storybook/pull/3914) -- Group deprecated stories [#3846](https://github.com/storybooks/storybook/pull/3846) -- MOVE ui into it's own group [#3884](https://github.com/storybooks/storybook/pull/3884) +- Improve BettercodeHub [#3941](https://github.com/storybookjs/storybook/pull/3941) +- REFACTOR layout and REMOVE usplit component [#3914](https://github.com/storybookjs/storybook/pull/3914) +- Group deprecated stories [#3846](https://github.com/storybookjs/storybook/pull/3846) +- MOVE ui into it's own group [#3884](https://github.com/storybookjs/storybook/pull/3884) #### Dependency Upgrades -- Use react-dev-utils@next [#3852](https://github.com/storybooks/storybook/pull/3852) +- Use react-dev-utils@next [#3852](https://github.com/storybookjs/storybook/pull/3852) ## 3.4.10 @@ -2356,8 +2820,8 @@ NOTE: `3.4.9` publish failed #### Bug Fixes -- addons-jest: bug with the jest parameter [#3923](https://github.com/storybooks/storybook/pull/3923) -- addon-info: fix copy button styling [#3896](https://github.com/storybooks/storybook/pull/3896) +- addons-jest: bug with the jest parameter [#3923](https://github.com/storybookjs/storybook/pull/3923) +- addon-info: fix copy button styling [#3896](https://github.com/storybookjs/storybook/pull/3896) ## 4.0.0-alpha.14 @@ -2365,7 +2829,7 @@ NOTE: `3.4.9` publish failed #### Bug Fixes -- Upgrade universal-dotenv to fix core-js dependency [#3874](https://github.com/storybooks/storybook/pull/3874) +- Upgrade universal-dotenv to fix core-js dependency [#3874](https://github.com/storybookjs/storybook/pull/3874) ## 4.0.0-alpha.13 @@ -2373,15 +2837,15 @@ NOTE: `3.4.9` publish failed #### Features -- Refactor addon-jest to use a parameter-based pattern [#3678](https://github.com/storybooks/storybook/pull/3678) +- Refactor addon-jest to use a parameter-based pattern [#3678](https://github.com/storybookjs/storybook/pull/3678) #### Bug Fixes -- Upgrade universal-dotenv to fix babel-runtime [#3863](https://github.com/storybooks/storybook/pull/3863) +- Upgrade universal-dotenv to fix babel-runtime [#3863](https://github.com/storybookjs/storybook/pull/3863) #### Maintenance -- Added a test for parameter combination [#3844](https://github.com/storybooks/storybook/pull/3844) +- Added a test for parameter combination [#3844](https://github.com/storybookjs/storybook/pull/3844) ## 4.0.0-alpha.12 @@ -2389,7 +2853,7 @@ NOTE: `3.4.9` publish failed #### Bug Fixes -- Fix non-polyfilled themed UI components [#3829](https://github.com/storybooks/storybook/pull/3829) +- Fix non-polyfilled themed UI components [#3829](https://github.com/storybookjs/storybook/pull/3829) ## 4.0.0-alpha.11 @@ -2397,14 +2861,14 @@ NOTE: `3.4.9` publish failed #### Features -- Storybook UI theming [#3628](https://github.com/storybooks/storybook/pull/3628) -- Replaced 'dotenv-webpack' with 'universal-dotenv' to support multiple dot env files (like CRA) [#3744](https://github.com/storybooks/storybook/pull/3744) -- Support other type of webpack configs [#3785](https://github.com/storybooks/storybook/pull/3785) +- Storybook UI theming [#3628](https://github.com/storybookjs/storybook/pull/3628) +- Replaced 'dotenv-webpack' with 'universal-dotenv' to support multiple dot env files (like CRA) [#3744](https://github.com/storybookjs/storybook/pull/3744) +- Support other type of webpack configs [#3785](https://github.com/storybookjs/storybook/pull/3785) #### Bug Fixes -- Marko: fix welcome component [#3796](https://github.com/storybooks/storybook/pull/3796) -- Addon-a11y: Run analysis on demand [#3690](https://github.com/storybooks/storybook/pull/3690) +- Marko: fix welcome component [#3796](https://github.com/storybookjs/storybook/pull/3796) +- Addon-a11y: Run analysis on demand [#3690](https://github.com/storybookjs/storybook/pull/3690) ## 4.0.0-alpha.10 @@ -2412,20 +2876,20 @@ NOTE: `3.4.9` publish failed #### Breaking Changes -- Storyshots - Replace require_context.js with babel-plugin-require-context-hook [#3757](https://github.com/storybooks/storybook/pull/3757) -- Storyshots advanced config options [#3747](https://github.com/storybooks/storybook/pull/3747) -- Storyshots addon refactoring [#3745](https://github.com/storybooks/storybook/pull/3745) -- Extract imageSnapshots to a separate package [#3742](https://github.com/storybooks/storybook/pull/3742) +- Storyshots - Replace require_context.js with babel-plugin-require-context-hook [#3757](https://github.com/storybookjs/storybook/pull/3757) +- Storyshots advanced config options [#3747](https://github.com/storybookjs/storybook/pull/3747) +- Storyshots addon refactoring [#3745](https://github.com/storybookjs/storybook/pull/3745) +- Extract imageSnapshots to a separate package [#3742](https://github.com/storybookjs/storybook/pull/3742) #### Bug Fixes -- Addon-knobs: Allow number knob to be empty [#3775](https://github.com/storybooks/storybook/pull/3775) -- Improvements to Info Docgen parsing [#3772](https://github.com/storybooks/storybook/pull/3772) -- Angular-cli 6 assets as a glob-object compatibility fix [#3751](https://github.com/storybooks/storybook/pull/3751) +- Addon-knobs: Allow number knob to be empty [#3775](https://github.com/storybookjs/storybook/pull/3775) +- Improvements to Info Docgen parsing [#3772](https://github.com/storybookjs/storybook/pull/3772) +- Angular-cli 6 assets as a glob-object compatibility fix [#3751](https://github.com/storybookjs/storybook/pull/3751) #### Maintenance -- Try to fix linter issues [#3748](https://github.com/storybooks/storybook/pull/3748) +- Try to fix linter issues [#3748](https://github.com/storybookjs/storybook/pull/3748) ## 3.4.8 @@ -2433,8 +2897,8 @@ NOTE: `3.4.9` publish failed #### Bug Fixes -- Fix centered addon for IE11 [#3735](https://github.com/storybooks/storybook/pull/3735) -- Display functions as variables not invocations [#3761](https://github.com/storybooks/storybook/pull/3761) +- Fix centered addon for IE11 [#3735](https://github.com/storybookjs/storybook/pull/3735) +- Display functions as variables not invocations [#3761](https://github.com/storybookjs/storybook/pull/3761) ## 4.0.0-alpha.9 @@ -2442,29 +2906,29 @@ NOTE: `3.4.9` publish failed #### Breaking Changes -- storyshots: Remove deprecated props from storyshots [#3717](https://github.com/storybooks/storybook/pull/3717) -- angular: angular-cli 6 (with webpack 4) compatibility [#3491](https://github.com/storybooks/storybook/pull/3491) +- storyshots: Remove deprecated props from storyshots [#3717](https://github.com/storybookjs/storybook/pull/3717) +- angular: angular-cli 6 (with webpack 4) compatibility [#3491](https://github.com/storybookjs/storybook/pull/3491) #### Features -- addon-info: Use parameters for info addon [#3697](https://github.com/storybooks/storybook/pull/3697) -- addon-backgounds: Use parameters for backgrounds addon [#3676](https://github.com/storybooks/storybook/pull/3676) -- storyshots: add renderWithOptions to @addons/storyshots [#3479](https://github.com/storybooks/storybook/pull/3479) -- addon-knobs: Make withKnobs accept story parameters [#3675](https://github.com/storybooks/storybook/pull/3675) +- addon-info: Use parameters for info addon [#3697](https://github.com/storybookjs/storybook/pull/3697) +- addon-backgounds: Use parameters for backgrounds addon [#3676](https://github.com/storybookjs/storybook/pull/3676) +- storyshots: add renderWithOptions to @addons/storyshots [#3479](https://github.com/storybookjs/storybook/pull/3479) +- addon-knobs: Make withKnobs accept story parameters [#3675](https://github.com/storybookjs/storybook/pull/3675) #### Bug Fixes -- storysource: Add default parser option. Support prettier v1.13.0 [#3660](https://github.com/storybooks/storybook/pull/3660) -- react-native: using disableWebsockets instead of useWebsockets [#3686](https://github.com/storybooks/storybook/pull/3686) -- Updates storybook-start.js to use child_process instead of shelljs [#3527](https://github.com/storybooks/storybook/pull/3527) -- Force render on knob button click and update example [#3650](https://github.com/storybooks/storybook/pull/3650) +- storysource: Add default parser option. Support prettier v1.13.0 [#3660](https://github.com/storybookjs/storybook/pull/3660) +- react-native: using disableWebsockets instead of useWebsockets [#3686](https://github.com/storybookjs/storybook/pull/3686) +- Updates storybook-start.js to use child_process instead of shelljs [#3527](https://github.com/storybookjs/storybook/pull/3527) +- Force render on knob button click and update example [#3650](https://github.com/storybookjs/storybook/pull/3650) #### Maintenance -- Refactor webpack and babel configs to core [#3655](https://github.com/storybooks/storybook/pull/3655) -- Remove status bar hiding [#3634](https://github.com/storybooks/storybook/pull/3634) -- React Native Refactored list view [#3635](https://github.com/storybooks/storybook/pull/3635) -- Using only single channel for react native [#3636](https://github.com/storybooks/storybook/pull/3636) +- Refactor webpack and babel configs to core [#3655](https://github.com/storybookjs/storybook/pull/3655) +- Remove status bar hiding [#3634](https://github.com/storybookjs/storybook/pull/3634) +- React Native Refactored list view [#3635](https://github.com/storybookjs/storybook/pull/3635) +- Using only single channel for react native [#3636](https://github.com/storybookjs/storybook/pull/3636) #### Dependency Upgrades @@ -2571,7 +3035,7 @@ NOTE: `3.4.9` publish failed #### Bug Fixes -- Remove linebreaks in notes text when they are html elements [#3731](https://github.com/storybooks/storybook/pull/3731) +- Remove linebreaks in notes text when they are html elements [#3731](https://github.com/storybookjs/storybook/pull/3731) ## 4.0.0-alpha.8 @@ -2579,30 +3043,30 @@ NOTE: `3.4.9` publish failed #### Breaking Changes -- Removed deprecated react-native built-in addons [#3631](https://github.com/storybooks/storybook/pull/3631) -- Remove deprecated addWithInfo [#3630](https://github.com/storybooks/storybook/pull/3630) +- Removed deprecated react-native built-in addons [#3631](https://github.com/storybookjs/storybook/pull/3631) +- Remove deprecated addWithInfo [#3630](https://github.com/storybookjs/storybook/pull/3630) #### Bug Fixes -- Fix the output of the boolean knob [#3612](https://github.com/storybooks/storybook/pull/3612) -- Don't scroll story on knob change [#3639](https://github.com/storybooks/storybook/pull/3639) -- Few fixed related to marko support [#3609](https://github.com/storybooks/storybook/pull/3609) +- Fix the output of the boolean knob [#3612](https://github.com/storybookjs/storybook/pull/3612) +- Don't scroll story on knob change [#3639](https://github.com/storybookjs/storybook/pull/3639) +- Few fixed related to marko support [#3609](https://github.com/storybookjs/storybook/pull/3609) #### Documentation -- Angular background addon example [#3653](https://github.com/storybooks/storybook/pull/3653) -- fix url as per issue #3565 [#3619](https://github.com/storybooks/storybook/pull/3619) -- Document parameters for start command for RN [#3606](https://github.com/storybooks/storybook/pull/3606) -- Update README.md [#3608](https://github.com/storybooks/storybook/pull/3608) +- Angular background addon example [#3653](https://github.com/storybookjs/storybook/pull/3653) +- fix url as per issue #3565 [#3619](https://github.com/storybookjs/storybook/pull/3619) +- Document parameters for start command for RN [#3606](https://github.com/storybookjs/storybook/pull/3606) +- Update README.md [#3608](https://github.com/storybookjs/storybook/pull/3608) #### Maintenance -- Build static storybooks utility script [#3648](https://github.com/storybooks/storybook/pull/3648) -- Revert "Replace decorate with decorateAction" [#3600](https://github.com/storybooks/storybook/pull/3600) -- addon-viewport: Use the new parameterized way of decorators [#3610](https://github.com/storybooks/storybook/pull/3610) -- Make all licenses consistent to MIT [#3611](https://github.com/storybooks/storybook/pull/3611) -- Theme-ability progress [#3572](https://github.com/storybooks/storybook/pull/3572) -- fix(knobs): cancel debounced onChange on unmounting [#3607](https://github.com/storybooks/storybook/pull/3607) +- Build static storybooks utility script [#3648](https://github.com/storybookjs/storybook/pull/3648) +- Revert "Replace decorate with decorateAction" [#3600](https://github.com/storybookjs/storybook/pull/3600) +- addon-viewport: Use the new parameterized way of decorators [#3610](https://github.com/storybookjs/storybook/pull/3610) +- Make all licenses consistent to MIT [#3611](https://github.com/storybookjs/storybook/pull/3611) +- Theme-ability progress [#3572](https://github.com/storybookjs/storybook/pull/3572) +- fix(knobs): cancel debounced onChange on unmounting [#3607](https://github.com/storybookjs/storybook/pull/3607) #### Dependency Upgrades @@ -2657,7 +3121,7 @@ NOTE: `3.4.9` publish failed #### Features -- Addon-notes: Add classname to the container component to target with styles. [#3617](https://github.com/storybooks/storybook/pull/3617) +- Addon-notes: Add classname to the container component to target with styles. [#3617](https://github.com/storybookjs/storybook/pull/3617) ## 4.0.0-alpha.7 @@ -2667,16 +3131,16 @@ NOTE: As part of the generic addon decorators, we've reversed the order of addon #### Breaking Changes -- Support webpack4 modules format [#3576](https://github.com/storybooks/storybook/pull/3576) -- Generic addon decorators [#3555](https://github.com/storybooks/storybook/pull/3555) +- Support webpack4 modules format [#3576](https://github.com/storybookjs/storybook/pull/3576) +- Generic addon decorators [#3555](https://github.com/storybookjs/storybook/pull/3555) #### Features -- Addon-centered for Angular [#3573](https://github.com/storybooks/storybook/pull/3573) +- Addon-centered for Angular [#3573](https://github.com/storybookjs/storybook/pull/3573) #### Maintenance -- Refactor transitional decorator from addon-notes [#3559](https://github.com/storybooks/storybook/pull/3559) +- Refactor transitional decorator from addon-notes [#3559](https://github.com/storybookjs/storybook/pull/3559) ## 3.4.5 @@ -2684,14 +3148,14 @@ NOTE: As part of the generic addon decorators, we've reversed the order of addon #### Features -- Addon-info: improve prop options [#3428](https://github.com/storybooks/storybook/pull/3428) +- Addon-info: improve prop options [#3428](https://github.com/storybookjs/storybook/pull/3428) #### Bug Fixes -- Addon-storysource: Remove nested braces in code block [#3568](https://github.com/storybooks/storybook/pull/3568) -- Addon-info: Fix double quotes in prop table, add additional examples [#3401](https://github.com/storybooks/storybook/pull/3401) -- Ignore any unstructured output from the package managers [#3563](https://github.com/storybooks/storybook/pull/3563) -- Use the --use-npm flag also for version checking [#3535](https://github.com/storybooks/storybook/pull/3535) +- Addon-storysource: Remove nested braces in code block [#3568](https://github.com/storybookjs/storybook/pull/3568) +- Addon-info: Fix double quotes in prop table, add additional examples [#3401](https://github.com/storybookjs/storybook/pull/3401) +- Ignore any unstructured output from the package managers [#3563](https://github.com/storybookjs/storybook/pull/3563) +- Use the --use-npm flag also for version checking [#3535](https://github.com/storybookjs/storybook/pull/3535) ## 4.0.0-alpha.6 @@ -2699,23 +3163,23 @@ NOTE: As part of the generic addon decorators, we've reversed the order of addon #### Breaking Changes -- Fix the import of external md files [#3472](https://github.com/storybooks/storybook/pull/3472) +- Fix the import of external md files [#3472](https://github.com/storybookjs/storybook/pull/3472) #### Features -- Storybook for Marko [#3504](https://github.com/storybooks/storybook/pull/3504) -- Storybook addon Jest angular suport [#3532](https://github.com/storybooks/storybook/pull/3532) -- Storybook for HTML snippets [#3475](https://github.com/storybooks/storybook/pull/3475) -- Feature/config custom chrome executable path [#3518](https://github.com/storybooks/storybook/pull/3518) -- Channel-postmessage: handle events from the same window [#3519](https://github.com/storybooks/storybook/pull/3519) -- Force re-render event [#3515](https://github.com/storybooks/storybook/pull/3515) +- Storybook for Marko [#3504](https://github.com/storybookjs/storybook/pull/3504) +- Storybook addon Jest angular suport [#3532](https://github.com/storybookjs/storybook/pull/3532) +- Storybook for HTML snippets [#3475](https://github.com/storybookjs/storybook/pull/3475) +- Feature/config custom chrome executable path [#3518](https://github.com/storybookjs/storybook/pull/3518) +- Channel-postmessage: handle events from the same window [#3519](https://github.com/storybookjs/storybook/pull/3519) +- Force re-render event [#3515](https://github.com/storybookjs/storybook/pull/3515) #### Bug Fixes -- Ignore any unstructured output from the package managers [#3563](https://github.com/storybooks/storybook/pull/3563) -- Use the --use-npm flag also for version checking [#3535](https://github.com/storybooks/storybook/pull/3535) -- Clean out the store if `configure` fails [#3558](https://github.com/storybooks/storybook/pull/3558) -- Fix render order in preview [#3520](https://github.com/storybooks/storybook/pull/3520) +- Ignore any unstructured output from the package managers [#3563](https://github.com/storybookjs/storybook/pull/3563) +- Use the --use-npm flag also for version checking [#3535](https://github.com/storybookjs/storybook/pull/3535) +- Clean out the store if `configure` fails [#3558](https://github.com/storybookjs/storybook/pull/3558) +- Fix render order in preview [#3520](https://github.com/storybookjs/storybook/pull/3520) ## 4.0.0-alpha.5 @@ -2727,14 +3191,14 @@ Broken release (@storybook/core-events had not been published publicly) #### Bug Fixes -- Ignore home package.json no license field [#3531](https://github.com/storybooks/storybook/pull/3531) -- fixed Duplicate declaration h [#3409](https://github.com/storybooks/storybook/pull/3409) -- Storyshots integrity tests options [#3418](https://github.com/storybooks/storybook/pull/3418) -- Fix dynamic knobs [d2a289e](https://github.com/storybooks/storybook/commit/d2a289e524c51e794f5f3a34164a69ba3d5409fa) +- Ignore home package.json no license field [#3531](https://github.com/storybookjs/storybook/pull/3531) +- fixed Duplicate declaration h [#3409](https://github.com/storybookjs/storybook/pull/3409) +- Storyshots integrity tests options [#3418](https://github.com/storybookjs/storybook/pull/3418) +- Fix dynamic knobs [d2a289e](https://github.com/storybookjs/storybook/commit/d2a289e524c51e794f5f3a34164a69ba3d5409fa) #### Dependency Upgrades -- jest-image-snapshot version to ^2.4.1 [#3500](https://github.com/storybooks/storybook/pull/3500) +- jest-image-snapshot version to ^2.4.1 [#3500](https://github.com/storybookjs/storybook/pull/3500) ## 4.0.0-alpha.4 @@ -2742,28 +3206,28 @@ Broken release (@storybook/core-events had not been published publicly) #### Breaking Changes -- Knobs: add escapeHTML option; use it by default in Vue, Angular, and Polymer [#3473](https://github.com/storybooks/storybook/pull/3473) +- Knobs: add escapeHTML option; use it by default in Vue, Angular, and Polymer [#3473](https://github.com/storybookjs/storybook/pull/3473) #### Features -- Added `actions` to addon-actions to create multiple actions [#3352](https://github.com/storybooks/storybook/pull/3352) -- Add excludedPropTypes as an option to info addon [#3468](https://github.com/storybooks/storybook/pull/3468) -- Addon-background: add Vue support [#3488](https://github.com/storybooks/storybook/pull/3488) -- Suppress verbose build output [#3487](https://github.com/storybooks/storybook/pull/3487) -- Provide a configuration option to limit the number of actions logged [#3447](https://github.com/storybooks/storybook/pull/3447) -- Add IStory interface. [#3482](https://github.com/storybooks/storybook/pull/3482) -- Add option to clear action logger [#3459](https://github.com/storybooks/storybook/pull/3459) +- Added `actions` to addon-actions to create multiple actions [#3352](https://github.com/storybookjs/storybook/pull/3352) +- Add excludedPropTypes as an option to info addon [#3468](https://github.com/storybookjs/storybook/pull/3468) +- Addon-background: add Vue support [#3488](https://github.com/storybookjs/storybook/pull/3488) +- Suppress verbose build output [#3487](https://github.com/storybookjs/storybook/pull/3487) +- Provide a configuration option to limit the number of actions logged [#3447](https://github.com/storybookjs/storybook/pull/3447) +- Add IStory interface. [#3482](https://github.com/storybookjs/storybook/pull/3482) +- Add option to clear action logger [#3459](https://github.com/storybookjs/storybook/pull/3459) #### Bug Fixes -- Fix auto focus of searchbox [#3494](https://github.com/storybooks/storybook/pull/3494) -- Don't try to access the devtools hook if we are cross-origin [#3485](https://github.com/storybooks/storybook/pull/3485) -- Improve yarn detection [#3453](https://github.com/storybooks/storybook/pull/3453) +- Fix auto focus of searchbox [#3494](https://github.com/storybookjs/storybook/pull/3494) +- Don't try to access the devtools hook if we are cross-origin [#3485](https://github.com/storybookjs/storybook/pull/3485) +- Improve yarn detection [#3453](https://github.com/storybookjs/storybook/pull/3453) #### Maintenance -- Refactor error and "no preview" views into core [#3457](https://github.com/storybooks/storybook/pull/3457) -- Refactor templates into core [#3422](https://github.com/storybooks/storybook/pull/3422) +- Refactor error and "no preview" views into core [#3457](https://github.com/storybookjs/storybook/pull/3457) +- Refactor templates into core [#3422](https://github.com/storybookjs/storybook/pull/3422) #### Dependency Upgrades @@ -2772,21 +3236,21 @@ Broken release (@storybook/core-events had not been published publicly) 15 Upgrades -- Upgraded `@storybook/addon-actions` in `/docs` from "3.4.1" to "3.4.2" [#3478](https://github.com/storybooks/storybook/pull/3478) -- Upgraded `@storybook/addon-links` in `/docs` from "3.4.1" to "3.4.2" [#3478](https://github.com/storybooks/storybook/pull/3478) -- Upgraded `@storybook/addons` in `/docs` from "3.4.1" to "3.4.2" [#3478](https://github.com/storybooks/storybook/pull/3478) -- Upgraded `@storybook/react` in `/docs` from "3.4.1" to "3.4.2" [#3478](https://github.com/storybooks/storybook/pull/3478) -- Upgraded `gatsby-link` in `/docs` from "1.6.40" to "1.6.41" [#3478](https://github.com/storybooks/storybook/pull/3478) -- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.42" to "1.6.43" [#3478](https://github.com/storybooks/storybook/pull/3478) -- Upgraded `gatsby-remark-autolink-headers` in `/docs` from "1.4.16" to "1.4.17" [#3478](https://github.com/storybooks/storybook/pull/3478) -- Upgraded `gatsby-remark-copy-linked-files` in `/docs` from "1.5.31" to "1.5.32" [#3478](https://github.com/storybooks/storybook/pull/3478) -- Upgraded `gatsby-remark-images` in `/docs` from "1.5.61" to "1.5.62" [#3478](https://github.com/storybooks/storybook/pull/3478) -- Upgraded `gatsby` in `/docs` from "1.9.252" to "1.9.253" [#3478](https://github.com/storybooks/storybook/pull/3478) -- Upgrade redux to 4.0.0 [#3470](https://github.com/storybooks/storybook/pull/3470) -- Upgrade sass-loader to 7.0.1 & stop bringing node-sass bin to each user [#3467](https://github.com/storybooks/storybook/pull/3467) -- Upgrate ts-node to 6.0.0 [#3460](https://github.com/storybooks/storybook/pull/3460) -- Upgrade to json5@1.0.1 [#3466](https://github.com/storybooks/storybook/pull/3466) -- Update webpack-hot-middleware to fix HMR [#3463](https://github.com/storybooks/storybook/pull/3463) +- Upgraded `@storybook/addon-actions` in `/docs` from "3.4.1" to "3.4.2" [#3478](https://github.com/storybookjs/storybook/pull/3478) +- Upgraded `@storybook/addon-links` in `/docs` from "3.4.1" to "3.4.2" [#3478](https://github.com/storybookjs/storybook/pull/3478) +- Upgraded `@storybook/addons` in `/docs` from "3.4.1" to "3.4.2" [#3478](https://github.com/storybookjs/storybook/pull/3478) +- Upgraded `@storybook/react` in `/docs` from "3.4.1" to "3.4.2" [#3478](https://github.com/storybookjs/storybook/pull/3478) +- Upgraded `gatsby-link` in `/docs` from "1.6.40" to "1.6.41" [#3478](https://github.com/storybookjs/storybook/pull/3478) +- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.42" to "1.6.43" [#3478](https://github.com/storybookjs/storybook/pull/3478) +- Upgraded `gatsby-remark-autolink-headers` in `/docs` from "1.4.16" to "1.4.17" [#3478](https://github.com/storybookjs/storybook/pull/3478) +- Upgraded `gatsby-remark-copy-linked-files` in `/docs` from "1.5.31" to "1.5.32" [#3478](https://github.com/storybookjs/storybook/pull/3478) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.61" to "1.5.62" [#3478](https://github.com/storybookjs/storybook/pull/3478) +- Upgraded `gatsby` in `/docs` from "1.9.252" to "1.9.253" [#3478](https://github.com/storybookjs/storybook/pull/3478) +- Upgrade redux to 4.0.0 [#3470](https://github.com/storybookjs/storybook/pull/3470) +- Upgrade sass-loader to 7.0.1 & stop bringing node-sass bin to each user [#3467](https://github.com/storybookjs/storybook/pull/3467) +- Upgrate ts-node to 6.0.0 [#3460](https://github.com/storybookjs/storybook/pull/3460) +- Upgrade to json5@1.0.1 [#3466](https://github.com/storybookjs/storybook/pull/3466) +- Update webpack-hot-middleware to fix HMR [#3463](https://github.com/storybookjs/storybook/pull/3463) @@ -2796,16 +3260,16 @@ Broken release (@storybook/core-events had not been published publicly) #### Features -- Suppress verbose build output [#3487](https://github.com/storybooks/storybook/pull/3487) +- Suppress verbose build output [#3487](https://github.com/storybookjs/storybook/pull/3487) #### Bug Fixes -- Improve yarn detection [#3453](https://github.com/storybooks/storybook/pull/3453) -- Don't try to access the devtools hook if we are cross-origin [#3485](https://github.com/storybooks/storybook/pull/3485) +- Improve yarn detection [#3453](https://github.com/storybookjs/storybook/pull/3453) +- Don't try to access the devtools hook if we are cross-origin [#3485](https://github.com/storybookjs/storybook/pull/3485) #### Dependency Upgrades -- Update webpack-hot-middleware to fix HMR [#3463](https://github.com/storybooks/storybook/pull/3463) +- Update webpack-hot-middleware to fix HMR [#3463](https://github.com/storybookjs/storybook/pull/3463) ## 4.0.0-alpha.3 @@ -2815,26 +3279,26 @@ Also includes changes from 3.4.2 #### Features -- Mobile device view: toggling stories panel with ☰ button [#3337](https://github.com/storybooks/storybook/pull/3337) -- Add lit-html support [#3433](https://github.com/storybooks/storybook/pull/3433) -- Addon info prop options [#3428](https://github.com/storybooks/storybook/pull/3428) -- Use per-story parameters in Notes addon [#3373](https://github.com/storybooks/storybook/pull/3373) +- Mobile device view: toggling stories panel with ☰ button [#3337](https://github.com/storybookjs/storybook/pull/3337) +- Add lit-html support [#3433](https://github.com/storybookjs/storybook/pull/3433) +- Addon info prop options [#3428](https://github.com/storybookjs/storybook/pull/3428) +- Use per-story parameters in Notes addon [#3373](https://github.com/storybookjs/storybook/pull/3373) #### Bug Fixes -- Fixed Duplicate declaration h [#3409](https://github.com/storybooks/storybook/pull/3409) -- Storyshots integrity tests options [#3418](https://github.com/storybooks/storybook/pull/3418) -- Debounce Knob input to improve performance, fix number Knob undefined/NaN [#3412](https://github.com/storybooks/storybook/pull/3412) -- Fix double quotes in prop table and add additional examples [#3401](https://github.com/storybooks/storybook/pull/3401) +- Fixed Duplicate declaration h [#3409](https://github.com/storybookjs/storybook/pull/3409) +- Storyshots integrity tests options [#3418](https://github.com/storybookjs/storybook/pull/3418) +- Debounce Knob input to improve performance, fix number Knob undefined/NaN [#3412](https://github.com/storybookjs/storybook/pull/3412) +- Fix double quotes in prop table and add additional examples [#3401](https://github.com/storybookjs/storybook/pull/3401) #### Documentation -- doc(addon-jest): fix option name [#3420](https://github.com/storybooks/storybook/pull/3420) -- Storyshots integrity tests fixes - README [#3419](https://github.com/storybooks/storybook/pull/3419) +- doc(addon-jest): fix option name [#3420](https://github.com/storybookjs/storybook/pull/3420) +- Storyshots integrity tests fixes - README [#3419](https://github.com/storybookjs/storybook/pull/3419) #### Maintenance -- viewport-addon: configure => configureViewport [#3414](https://github.com/storybooks/storybook/pull/3414) +- viewport-addon: configure => configureViewport [#3414](https://github.com/storybookjs/storybook/pull/3414) #### Dependency Upgrades @@ -2843,100 +3307,100 @@ Also includes changes from 3.4.2 94 Upgrades -- Upgraded `chalk` in `/` from "2.3.2" to "2.4.0" [#3440](https://github.com/storybooks/storybook/pull/3440) -- Upgraded `danger` in `/` from "3.4.7" to "3.5.1" [#3440](https://github.com/storybooks/storybook/pull/3440) -- Upgraded `prettier` in `/` from "1.12.0" to "1.12.1" [#3440](https://github.com/storybooks/storybook/pull/3440) -- Upgraded `webpack` in `app/react` from "4.5.0" to "4.6.0" [#3440](https://github.com/storybooks/storybook/pull/3440) -- Upgraded `prettier` in `addons/storysource` from "1.12.0" to "1.12.1" [#3440](https://github.com/storybooks/storybook/pull/3440) -- Upgraded `react-modal` in `lib/ui` from "3.3.2" to "3.4.1" [#3440](https://github.com/storybooks/storybook/pull/3440) -- Upgraded `chalk` in `lib/core` from "2.3.2" to "2.4.0" [#3440](https://github.com/storybooks/storybook/pull/3440) -- Upgraded `webpack` in `lib/core` from "4.5.0" to "4.6.0" [#3440](https://github.com/storybooks/storybook/pull/3440) -- Upgraded `webpack` in `app/angular` from "4.5.0" to "4.6.0" [#3440](https://github.com/storybooks/storybook/pull/3440) -- Upgraded `webpack` in `app/mithril` from "4.5.0" to "4.6.0" [#3440](https://github.com/storybooks/storybook/pull/3440) -- Upgraded `webpack` in `app/polymer` from "4.5.0" to "4.6.0" [#3440](https://github.com/storybooks/storybook/pull/3440) -- Upgraded `webpack` in `app/react-native` from "4.5.0" to "4.6.0" [#3440](https://github.com/storybooks/storybook/pull/3440) -- Upgraded `webpack` in `app/vue` from "4.5.0" to "4.6.0" [#3440](https://github.com/storybooks/storybook/pull/3440) -- Upgraded `chalk` in `lib/cli` from "2.3.2" to "2.4.0" [#3440](https://github.com/storybooks/storybook/pull/3440) -- Upgraded `webpack` in `examples/cra-kitchen-sink` from "4.5.0" to "4.6.0" [#3440](https://github.com/storybooks/storybook/pull/3440) -- Upgraded `webpack` in `examples/mithril-kitchen-sink` from "4.5.0" to "4.6.0" [#3440](https://github.com/storybooks/storybook/pull/3440) -- Upgraded `webpack` in `examples/polymer-cli` from "4.5.0" to "4.6.0" [#3440](https://github.com/storybooks/storybook/pull/3440) -- Upgraded `webpack` in `examples/vue-kitchen-sink` from "4.5.0" to "4.6.0" [#3440](https://github.com/storybooks/storybook/pull/3440) -- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.32" to "1.5.33" [#3439](https://github.com/storybooks/storybook/pull/3439) -- Upgraded `gatsby` in `/docs` from "1.9.251" to "1.9.252" [#3439](https://github.com/storybooks/storybook/pull/3439) -- Update lerna in / from 2.10.1 to 2.10.2 [#3431](https://github.com/storybooks/storybook/pull/3431) -- Update gatsby in /docs from 1.9.250 to 1.9.251 [#3430](https://github.com/storybooks/storybook/pull/3430) -- Upgraded `@angular/common` in `/` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `@angular/compiler` in `/` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `@angular/core` in `/` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `@angular/forms` in `/` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `@angular/platform-browser` in `/` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `@angular/platform-browser-dynamic` in `/` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `babel-eslint` in `/` from "8.2.2" to "8.2.3" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `danger` in `/` from "3.4.5" to "3.4.7" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `eslint-plugin-import` in `/` from "2.10.0" to "2.11.0" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `lerna` in `/` from "2.10.0" to "2.10.1" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `prettier` in `/` from "1.11.1" to "1.12.0" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react` in `/` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react-dom` in `/` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react-test-renderer` in `/` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react-dom` in `addons/centered` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react-lifecycles-compat` in `addons/background` from "3.0.0" to "3.0.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react-lifecycles-compat` in `addons/events` from "3.0.0" to "3.0.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `glamorous` in `app/react` from "4.12.1" to "4.12.3" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `@types/react` in `addons/notes` from "16.3.5" to "16.3.11" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `glamorous` in `addons/actions` from "4.12.1" to "4.12.3" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react-inspector` in `addons/actions` from "2.2.2" to "2.3.0" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `glamorous` in `lib/components` from "4.12.1" to "4.12.3" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `glamorous` in `addons/a11y` from "4.12.1" to "4.12.3" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `glamorous` in `addons/info` from "4.12.1" to "4.12.3" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react-lifecycles-compat` in `addons/info` from "3.0.0" to "3.0.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react-test-renderer` in `addons/info` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `glamorous` in `addons/jest` from "4.12.1" to "4.12.3" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `moment` in `addons/knobs` from "2.22.0" to "2.22.1" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react-color` in `addons/knobs` from "2.14.0" to "2.14.1" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react-lifecycles-compat` in `addons/knobs` from "3.0.0" to "3.0.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react` in `addons/links` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react-dom` in `addons/links` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `prettier` in `addons/storysource` from "1.11.1" to "1.12.0" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react-lifecycles-compat` in `lib/ui` from "3.0.0" to "3.0.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `autoprefixer` in `lib/core` from "8.2.0" to "8.3.0" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `postcss-loader` in `lib/core` from "2.1.3" to "2.1.4" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `puppeteer` in `addons/storyshots` from "1.2.0" to "1.3.0" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react` in `addons/storyshots` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react-dom` in `addons/storyshots` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react` in `app/angular` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react-dom` in `app/angular` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react` in `app/mithril` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react-dom` in `app/mithril` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react` in `app/polymer` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react-dom` in `app/polymer` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react` in `app/vue` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react-dom` in `app/vue` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `update-notifier` in `lib/cli` from "2.4.0" to "2.5.0" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `npx` in `lib/cli` from "10.0.1" to "10.2.0" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `@angular/common` in `examples/angular-cli` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `@angular/core` in `examples/angular-cli` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `@angular/forms` in `examples/angular-cli` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `rxjs` in `examples/angular-cli` from "5.5.8" to "5.5.10" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `@types/node` in `examples/angular-cli` from "9.6.2" to "9.6.5" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react` in `examples/cra-kitchen-sink` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react-dom` in `examples/cra-kitchen-sink` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react-lifecycles-compat` in `examples/cra-kitchen-sink` from "3.0.0" to "3.0.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react` in `examples/official-storybook` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `react-dom` in `examples/official-storybook` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybooks/storybook/pull/3429) -- Upgraded `@storybook/addon-actions` in `/docs` from "3.4.0" to "3.4.1" [#3426](https://github.com/storybooks/storybook/pull/3426) -- Upgraded `@storybook/addon-links` in `/docs` from "3.4.0" to "3.4.1" [#3426](https://github.com/storybooks/storybook/pull/3426) -- Upgraded `@storybook/addons` in `/docs` from "3.4.0" to "3.4.1" [#3426](https://github.com/storybooks/storybook/pull/3426) -- Upgraded `@storybook/react` in `/docs` from "3.4.0" to "3.4.1" [#3426](https://github.com/storybooks/storybook/pull/3426) -- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.41" to "1.6.42" [#3426](https://github.com/storybooks/storybook/pull/3426) -- Upgraded `gatsby-remark-images` in `/docs` from "1.5.60" to "1.5.61" [#3426](https://github.com/storybooks/storybook/pull/3426) -- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.29" to "1.5.32" [#3426](https://github.com/storybooks/storybook/pull/3426) -- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.39" to "1.7.40" [#3426](https://github.com/storybooks/storybook/pull/3426) -- Upgraded `gatsby` in `/docs` from "1.9.247" to "1.9.250" [#3426](https://github.com/storybooks/storybook/pull/3426) +- Upgraded `chalk` in `/` from "2.3.2" to "2.4.0" [#3440](https://github.com/storybookjs/storybook/pull/3440) +- Upgraded `danger` in `/` from "3.4.7" to "3.5.1" [#3440](https://github.com/storybookjs/storybook/pull/3440) +- Upgraded `prettier` in `/` from "1.12.0" to "1.12.1" [#3440](https://github.com/storybookjs/storybook/pull/3440) +- Upgraded `webpack` in `app/react` from "4.5.0" to "4.6.0" [#3440](https://github.com/storybookjs/storybook/pull/3440) +- Upgraded `prettier` in `addons/storysource` from "1.12.0" to "1.12.1" [#3440](https://github.com/storybookjs/storybook/pull/3440) +- Upgraded `react-modal` in `lib/ui` from "3.3.2" to "3.4.1" [#3440](https://github.com/storybookjs/storybook/pull/3440) +- Upgraded `chalk` in `lib/core` from "2.3.2" to "2.4.0" [#3440](https://github.com/storybookjs/storybook/pull/3440) +- Upgraded `webpack` in `lib/core` from "4.5.0" to "4.6.0" [#3440](https://github.com/storybookjs/storybook/pull/3440) +- Upgraded `webpack` in `app/angular` from "4.5.0" to "4.6.0" [#3440](https://github.com/storybookjs/storybook/pull/3440) +- Upgraded `webpack` in `app/mithril` from "4.5.0" to "4.6.0" [#3440](https://github.com/storybookjs/storybook/pull/3440) +- Upgraded `webpack` in `app/polymer` from "4.5.0" to "4.6.0" [#3440](https://github.com/storybookjs/storybook/pull/3440) +- Upgraded `webpack` in `app/react-native` from "4.5.0" to "4.6.0" [#3440](https://github.com/storybookjs/storybook/pull/3440) +- Upgraded `webpack` in `app/vue` from "4.5.0" to "4.6.0" [#3440](https://github.com/storybookjs/storybook/pull/3440) +- Upgraded `chalk` in `lib/cli` from "2.3.2" to "2.4.0" [#3440](https://github.com/storybookjs/storybook/pull/3440) +- Upgraded `webpack` in `examples/cra-kitchen-sink` from "4.5.0" to "4.6.0" [#3440](https://github.com/storybookjs/storybook/pull/3440) +- Upgraded `webpack` in `examples/mithril-kitchen-sink` from "4.5.0" to "4.6.0" [#3440](https://github.com/storybookjs/storybook/pull/3440) +- Upgraded `webpack` in `examples/polymer-cli` from "4.5.0" to "4.6.0" [#3440](https://github.com/storybookjs/storybook/pull/3440) +- Upgraded `webpack` in `examples/vue-kitchen-sink` from "4.5.0" to "4.6.0" [#3440](https://github.com/storybookjs/storybook/pull/3440) +- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.32" to "1.5.33" [#3439](https://github.com/storybookjs/storybook/pull/3439) +- Upgraded `gatsby` in `/docs` from "1.9.251" to "1.9.252" [#3439](https://github.com/storybookjs/storybook/pull/3439) +- Update lerna in / from 2.10.1 to 2.10.2 [#3431](https://github.com/storybookjs/storybook/pull/3431) +- Update gatsby in /docs from 1.9.250 to 1.9.251 [#3430](https://github.com/storybookjs/storybook/pull/3430) +- Upgraded `@angular/common` in `/` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `@angular/compiler` in `/` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `@angular/core` in `/` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `@angular/forms` in `/` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `@angular/platform-browser` in `/` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `@angular/platform-browser-dynamic` in `/` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `babel-eslint` in `/` from "8.2.2" to "8.2.3" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `danger` in `/` from "3.4.5" to "3.4.7" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `eslint-plugin-import` in `/` from "2.10.0" to "2.11.0" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `lerna` in `/` from "2.10.0" to "2.10.1" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `prettier` in `/` from "1.11.1" to "1.12.0" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react` in `/` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react-dom` in `/` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react-test-renderer` in `/` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react-dom` in `addons/centered` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react-lifecycles-compat` in `addons/background` from "3.0.0" to "3.0.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react-lifecycles-compat` in `addons/events` from "3.0.0" to "3.0.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `glamorous` in `app/react` from "4.12.1" to "4.12.3" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `@types/react` in `addons/notes` from "16.3.5" to "16.3.11" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `glamorous` in `addons/actions` from "4.12.1" to "4.12.3" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react-inspector` in `addons/actions` from "2.2.2" to "2.3.0" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `glamorous` in `lib/components` from "4.12.1" to "4.12.3" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `glamorous` in `addons/a11y` from "4.12.1" to "4.12.3" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `glamorous` in `addons/info` from "4.12.1" to "4.12.3" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react-lifecycles-compat` in `addons/info` from "3.0.0" to "3.0.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react-test-renderer` in `addons/info` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `glamorous` in `addons/jest` from "4.12.1" to "4.12.3" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `moment` in `addons/knobs` from "2.22.0" to "2.22.1" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react-color` in `addons/knobs` from "2.14.0" to "2.14.1" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react-lifecycles-compat` in `addons/knobs` from "3.0.0" to "3.0.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react` in `addons/links` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react-dom` in `addons/links` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `prettier` in `addons/storysource` from "1.11.1" to "1.12.0" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react-lifecycles-compat` in `lib/ui` from "3.0.0" to "3.0.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `autoprefixer` in `lib/core` from "8.2.0" to "8.3.0" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `postcss-loader` in `lib/core` from "2.1.3" to "2.1.4" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `puppeteer` in `addons/storyshots` from "1.2.0" to "1.3.0" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react` in `addons/storyshots` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react-dom` in `addons/storyshots` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react` in `app/angular` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react-dom` in `app/angular` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react` in `app/mithril` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react-dom` in `app/mithril` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react` in `app/polymer` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react-dom` in `app/polymer` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react` in `app/vue` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react-dom` in `app/vue` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `update-notifier` in `lib/cli` from "2.4.0" to "2.5.0" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `npx` in `lib/cli` from "10.0.1" to "10.2.0" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `@angular/common` in `examples/angular-cli` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `@angular/core` in `examples/angular-cli` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `@angular/forms` in `examples/angular-cli` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `rxjs` in `examples/angular-cli` from "5.5.8" to "5.5.10" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.2.9" to "5.2.10" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `@types/node` in `examples/angular-cli` from "9.6.2" to "9.6.5" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react` in `examples/cra-kitchen-sink` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react-dom` in `examples/cra-kitchen-sink` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react-lifecycles-compat` in `examples/cra-kitchen-sink` from "3.0.0" to "3.0.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react` in `examples/official-storybook` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `react-dom` in `examples/official-storybook` from "16.3.1" to "16.3.2" [#3429](https://github.com/storybookjs/storybook/pull/3429) +- Upgraded `@storybook/addon-actions` in `/docs` from "3.4.0" to "3.4.1" [#3426](https://github.com/storybookjs/storybook/pull/3426) +- Upgraded `@storybook/addon-links` in `/docs` from "3.4.0" to "3.4.1" [#3426](https://github.com/storybookjs/storybook/pull/3426) +- Upgraded `@storybook/addons` in `/docs` from "3.4.0" to "3.4.1" [#3426](https://github.com/storybookjs/storybook/pull/3426) +- Upgraded `@storybook/react` in `/docs` from "3.4.0" to "3.4.1" [#3426](https://github.com/storybookjs/storybook/pull/3426) +- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.41" to "1.6.42" [#3426](https://github.com/storybookjs/storybook/pull/3426) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.60" to "1.5.61" [#3426](https://github.com/storybookjs/storybook/pull/3426) +- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.29" to "1.5.32" [#3426](https://github.com/storybookjs/storybook/pull/3426) +- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.39" to "1.7.40" [#3426](https://github.com/storybookjs/storybook/pull/3426) +- Upgraded `gatsby` in `/docs` from "1.9.247" to "1.9.250" [#3426](https://github.com/storybookjs/storybook/pull/3426) @@ -2946,12 +3410,12 @@ Also includes changes from 3.4.2 #### Bug Fixes -- Serialize boolean type only for non-nullable values [#3432](https://github.com/storybooks/storybook/pull/3432) -- Addon actions: fix slow logging [#3133](https://github.com/storybooks/storybook/pull/3133) +- Serialize boolean type only for non-nullable values [#3432](https://github.com/storybookjs/storybook/pull/3432) +- Addon actions: fix slow logging [#3133](https://github.com/storybookjs/storybook/pull/3133) #### Documentation -- Fix storyshots readme for image snapshotting [#3397](https://github.com/storybooks/storybook/pull/3397) +- Fix storyshots readme for image snapshotting [#3397](https://github.com/storybookjs/storybook/pull/3397) ## 4.0.0-alpha.2 @@ -2961,25 +3425,25 @@ Also includes changes from 3.4.1 #### Breaking Changes -- Change addon panel keyboard shortcut to shift-meta-z [#3378](https://github.com/storybooks/storybook/pull/3378) -- Move server/config to core [#3261](https://github.com/storybooks/storybook/pull/3261) +- Change addon panel keyboard shortcut to shift-meta-z [#3378](https://github.com/storybookjs/storybook/pull/3378) +- Move server/config to core [#3261](https://github.com/storybookjs/storybook/pull/3261) #### Features -- React native Typescript transform [#3209](https://github.com/storybooks/storybook/pull/3209) -- Split vendor and runtime chunk in static builds [#3316](https://github.com/storybooks/storybook/pull/3316) -- Persist background for @addon/background [#3331](https://github.com/storybooks/storybook/pull/3331) -- feat(notes): add marked options [#3225](https://github.com/storybooks/storybook/pull/3225) +- React native Typescript transform [#3209](https://github.com/storybookjs/storybook/pull/3209) +- Split vendor and runtime chunk in static builds [#3316](https://github.com/storybookjs/storybook/pull/3316) +- Persist background for @addon/background [#3331](https://github.com/storybookjs/storybook/pull/3331) +- feat(notes): add marked options [#3225](https://github.com/storybookjs/storybook/pull/3225) #### Bug Fixes -- Enforce addons store being a singleton by storing it in global variable [#3383](https://github.com/storybooks/storybook/pull/3383) -- Scroll to top of the page when changing story [#3338](https://github.com/storybooks/storybook/pull/3338) -- Fix HtmlWebpackPlugin error [#3328](https://github.com/storybooks/storybook/pull/3328) +- Enforce addons store being a singleton by storing it in global variable [#3383](https://github.com/storybookjs/storybook/pull/3383) +- Scroll to top of the page when changing story [#3338](https://github.com/storybookjs/storybook/pull/3338) +- Fix HtmlWebpackPlugin error [#3328](https://github.com/storybookjs/storybook/pull/3328) #### Maintenance -- Remove usages of deprecated React lifecycle methods [#3327](https://github.com/storybooks/storybook/pull/3327) +- Remove usages of deprecated React lifecycle methods [#3327](https://github.com/storybookjs/storybook/pull/3327) #### Dependency Upgrades @@ -2988,148 +3452,148 @@ Also includes changes from 3.4.1 142 Updates -- Migrate to react-lifecycles-compat@3 [#3392](https://github.com/storybooks/storybook/pull/3392) -- Upgrade dev dependencies in Angular example [#3391](https://github.com/storybooks/storybook/pull/3391) -- Upgraded `gatsby-remark-copy-linked-files` in `/docs` from "1.5.30" to "1.5.31" [#3388](https://github.com/storybooks/storybook/pull/3388) -- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.28" to "1.5.29" [#3388](https://github.com/storybooks/storybook/pull/3388) -- Upgraded `gatsby` in `/docs` from "1.9.246" to "1.9.247" [#3388](https://github.com/storybooks/storybook/pull/3388) -- Upgraded `lerna` in `/` from "2.9.1" to "2.10.0" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `babel-preset-minify` in `app/react` from "0.3.0" to "0.4.0" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `core-js` in `app/react` from "2.5.4" to "2.5.5" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `webpack-hot-middleware` in `app/react` from "2.21.2" to "2.22.0" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `webpack-dev-middleware` in `lib/core` from "3.1.1" to "3.1.2" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `webpack-hot-middleware` in `lib/core` from "2.21.2" to "2.22.0" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `core-js` in `app/angular` from "2.5.4" to "2.5.5" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `ts-loader` in `app/angular` from "4.1.0" to "4.2.0" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `webpack-hot-middleware` in `app/angular` from "2.21.2" to "2.22.0" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `zone.js` in `app/angular` from "0.8.25" to "0.8.26" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `babel-preset-minify` in `app/mithril` from "0.3.0" to "0.4.0" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `core-js` in `app/mithril` from "2.5.4" to "2.5.5" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `webpack-hot-middleware` in `app/mithril` from "2.21.2" to "2.22.0" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `@webcomponents/webcomponentsjs` in `app/polymer` from "1.1.1" to "1.2.0" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `babel-preset-minify` in `app/polymer` from "0.3.0" to "0.4.0" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `core-js` in `app/polymer` from "2.5.4" to "2.5.5" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `webpack-hot-middleware` in `app/polymer` from "2.21.2" to "2.22.0" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `babel-preset-minify` in `app/react-native` from "0.3.0" to "0.4.0" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `url-parse` in `app/react-native` from "1.2.0" to "1.3.0" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `webpack-dev-middleware` in `app/react-native` from "3.1.1" to "3.1.2" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `webpack-hot-middleware` in `app/react-native` from "2.21.2" to "2.22.0" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `babel-preset-minify` in `app/vue` from "0.3.0" to "0.4.0" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `core-js` in `app/vue` from "2.5.4" to "2.5.5" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `webpack-hot-middleware` in `app/vue` from "2.21.2" to "2.22.0" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `core-js` in `examples/angular-cli` from "2.5.4" to "2.5.5" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `zone.js` in `examples/angular-cli` from "0.8.25" to "0.8.26" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `@angular/cli` in `examples/angular-cli` from "1.7.3" to "1.7.4" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `@webcomponents/webcomponentsjs` in `examples/polymer-cli` from "1.1.1" to "1.2.0" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `webpack-dev-server` in `examples/polymer-cli` from "3.1.1" to "3.1.3" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `webpack-dev-server` in `examples/vue-kitchen-sink` from "3.1.1" to "3.1.3" [#3387](https://github.com/storybooks/storybook/pull/3387) -- Upgraded `lint-staged` in `/` from "7.0.3" to "7.0.4" [#3368](https://github.com/storybooks/storybook/pull/3368) -- Upgraded `webpack-dev-middleware` in `lib/core` from "3.1.0" to "3.1.1" [#3368](https://github.com/storybooks/storybook/pull/3368) -- Upgraded `webpack-dev-middleware` in `app/react-native` from "3.1.0" to "3.1.1" [#3368](https://github.com/storybooks/storybook/pull/3368) -- Upgraded `react` in `/` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `react-dom` in `/` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `react-test-renderer` in `/` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `react-dom` in `addons/centered` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `webpack` in `app/react` from "4.4.1" to "4.5.0" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `@types/react` in `addons/notes` from "16.3.4" to "16.3.5" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `react-test-renderer` in `addons/info` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `react` in `addons/links` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `react-dom` in `addons/links` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `webpack` in `lib/core` from "4.4.1" to "4.5.0" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `react` in `addons/storyshots` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `react-dom` in `addons/storyshots` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `react` in `app/angular` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `react-dom` in `app/angular` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `webpack` in `app/angular` from "4.4.1" to "4.5.0" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `zone.js` in `app/angular` from "0.8.24" to "0.8.25" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `react` in `app/mithril` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `react-dom` in `app/mithril` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `webpack` in `app/mithril` from "4.4.1" to "4.5.0" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `react` in `app/polymer` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `react-dom` in `app/polymer` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `webpack` in `app/polymer` from "4.4.1" to "4.5.0" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `webpack` in `app/react-native` from "4.4.1" to "4.5.0" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `react` in `app/vue` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `react-dom` in `app/vue` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `webpack` in `app/vue` from "4.4.1" to "4.5.0" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `zone.js` in `examples/angular-cli` from "0.8.24" to "0.8.25" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `protractor` in `examples/angular-cli` from "5.3.0" to "5.3.1" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `react` in `examples/cra-kitchen-sink` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `react-dom` in `examples/cra-kitchen-sink` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `react-scripts` in `examples/cra-kitchen-sink` from "1.1.3" to "1.1.4" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `webpack` in `examples/cra-kitchen-sink` from "4.4.1" to "4.5.0" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `webpack` in `examples/mithril-kitchen-sink` from "4.4.1" to "4.5.0" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `webpack` in `examples/polymer-cli` from "4.4.1" to "4.5.0" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `webpack` in `examples/vue-kitchen-sink` from "4.4.1" to "4.5.0" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `react` in `examples/official-storybook` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `react-dom` in `examples/official-storybook` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybooks/storybook/pull/3357) -- Upgraded `gatsby-remark-autolink-headers` in `/docs` from "1.4.15" to "1.4.16" [#3356](https://github.com/storybooks/storybook/pull/3356) -- Upgraded `gatsby` in `/docs` from "1.9.244" to "1.9.246" [#3356](https://github.com/storybooks/storybook/pull/3356) -- Upgraded `danger` in `/` from "3.4.4" to "3.4.5" [#3350](https://github.com/storybooks/storybook/pull/3350) -- Upgraded `lint-staged` in `/` from "7.0.2" to "7.0.3" [#3350](https://github.com/storybooks/storybook/pull/3350) -- Upgraded `react-lifecycles-compat` in `addons/background` from "1.1.1" to "1.1.4" [#3350](https://github.com/storybooks/storybook/pull/3350) -- Upgraded `react-lifecycles-compat` in `addons/events` from "1.1.1" to "1.1.4" [#3350](https://github.com/storybooks/storybook/pull/3350) -- Upgraded `html-webpack-plugin` in `app/react` from "3.1.0" to "3.2.0" [#3350](https://github.com/storybooks/storybook/pull/3350) -- Upgraded `@types/react` in `addons/notes` from "16.3.1" to "16.3.4" [#3350](https://github.com/storybooks/storybook/pull/3350) -- Upgraded `axe-core` in `addons/a11y` from "3.0.0" to "3.0.1" [#3350](https://github.com/storybooks/storybook/pull/3350) -- Upgraded `react-lifecycles-compat` in `addons/info` from "1.1.1" to "1.1.4" [#3350](https://github.com/storybooks/storybook/pull/3350) -- Upgraded `react-lifecycles-compat` in `addons/knobs` from "1.1.1" to "1.1.4" [#3350](https://github.com/storybooks/storybook/pull/3350) -- Upgraded `react-lifecycles-compat` in `lib/ui` from "1.1.1" to "1.1.4" [#3350](https://github.com/storybooks/storybook/pull/3350) -- Upgraded `html-webpack-plugin` in `app/angular` from "3.1.0" to "3.2.0" [#3350](https://github.com/storybooks/storybook/pull/3350) -- Upgraded `html-webpack-plugin` in `app/mithril` from "3.1.0" to "3.2.0" [#3350](https://github.com/storybooks/storybook/pull/3350) -- Upgraded `html-webpack-plugin` in `app/polymer` from "3.1.0" to "3.2.0" [#3350](https://github.com/storybooks/storybook/pull/3350) -- Upgraded `html-webpack-plugin` in `app/react-native` from "3.1.0" to "3.2.0" [#3350](https://github.com/storybooks/storybook/pull/3350) -- Upgraded `html-webpack-plugin` in `app/vue` from "3.1.0" to "3.2.0" [#3350](https://github.com/storybooks/storybook/pull/3350) -- Upgraded `@types/node` in `examples/angular-cli` from "9.6.1" to "9.6.2" [#3350](https://github.com/storybooks/storybook/pull/3350) -- Upgraded `react-lifecycles-compat` in `examples/cra-kitchen-sink` from "1.1.1" to "1.1.4" [#3350](https://github.com/storybooks/storybook/pull/3350) -- Upgraded `react-scripts` in `examples/cra-kitchen-sink` from "1.1.1" to "1.1.3" [#3350](https://github.com/storybooks/storybook/pull/3350) -- Upgraded `html-webpack-plugin` in `examples/polymer-cli` from "3.1.0" to "3.2.0" [#3350](https://github.com/storybooks/storybook/pull/3350) -- Update gatsby-source-filesystem in /docs from 1.5.27 to 1.5.28 [#3349](https://github.com/storybooks/storybook/pull/3349) -- Update gatsby in /docs from 1.9.243 to 1.9.244 [#3345](https://github.com/storybooks/storybook/pull/3345) -- Upgraded `danger` in `/` from "3.3.2" to "3.4.4" [#3343](https://github.com/storybooks/storybook/pull/3343) -- Upgraded `eslint-plugin-import` in `/` from "2.9.0" to "2.10.0" [#3343](https://github.com/storybooks/storybook/pull/3343) -- Upgraded `lerna` in `/` from "2.5.1" to "2.9.1" [#3343](https://github.com/storybooks/storybook/pull/3343) -- Upgraded `lint-staged` in `/` from "7.0.0" to "7.0.2" [#3343](https://github.com/storybooks/storybook/pull/3343) -- Upgraded `react-lifecycles-compat` in `addons/background` from "1.1.0" to "1.1.1" [#3343](https://github.com/storybooks/storybook/pull/3343) -- Upgraded `react-lifecycles-compat` in `addons/events` from "1.1.0" to "1.1.1" [#3343](https://github.com/storybooks/storybook/pull/3343) -- Upgraded `react-textarea-autosize` in `addons/events` from "6.1.0-0" to "6.1.0" [#3343](https://github.com/storybooks/storybook/pull/3343) -- Upgraded `babel-plugin-react-docgen` in `app/react` from "1.8.3" to "1.9.0" [#3343](https://github.com/storybooks/storybook/pull/3343) -- Upgraded `nodemon` in `app/react` from "1.17.2" to "1.17.3" [#3343](https://github.com/storybooks/storybook/pull/3343) -- Upgraded `@types/react` in `addons/notes` from "16.1.0" to "16.3.1" [#3343](https://github.com/storybooks/storybook/pull/3343) -- Upgraded `react-lifecycles-compat` in `addons/info` from "1.1.0" to "1.1.1" [#3343](https://github.com/storybooks/storybook/pull/3343) -- Upgraded `moment` in `addons/knobs` from "2.21.0" to "2.22.0" [#3343](https://github.com/storybooks/storybook/pull/3343) -- Upgraded `react-lifecycles-compat` in `addons/knobs` from "1.1.0" to "1.1.1" [#3343](https://github.com/storybooks/storybook/pull/3343) -- Upgraded `react-textarea-autosize` in `addons/knobs` from "6.1.0-0" to "6.1.0" [#3343](https://github.com/storybooks/storybook/pull/3343) -- Upgraded `react-lifecycles-compat` in `lib/ui` from "1.1.0" to "1.1.1" [#3343](https://github.com/storybooks/storybook/pull/3343) -- Upgraded `serve-favicon` in `lib/core` from "2.4.5" to "2.5.0" [#3343](https://github.com/storybooks/storybook/pull/3343) -- Upgraded `zone.js` in `app/angular` from "0.8.20" to "0.8.24" [#3343](https://github.com/storybooks/storybook/pull/3343) -- Upgraded `nodemon` in `app/angular` from "1.17.2" to "1.17.3" [#3343](https://github.com/storybooks/storybook/pull/3343) -- Upgraded `nodemon` in `app/mithril` from "1.17.2" to "1.17.3" [#3343](https://github.com/storybooks/storybook/pull/3343) -- Upgraded `nodemon` in `app/polymer` from "1.17.2" to "1.17.3" [#3343](https://github.com/storybooks/storybook/pull/3343) -- Upgraded `ws` in `app/react-native` from "5.1.0" to "5.1.1" [#3343](https://github.com/storybooks/storybook/pull/3343) -- Upgraded `nodemon` in `app/vue` from "1.17.2" to "1.17.3" [#3343](https://github.com/storybooks/storybook/pull/3343) -- Upgraded `react-lifecycles-compat` in `examples/cra-kitchen-sink` from "1.1.0" to "1.1.1" [#3343](https://github.com/storybooks/storybook/pull/3343) -- Upgraded `zone.js` in `examples/angular-cli` from "0.8.20" to "0.8.24" [#3343](https://github.com/storybooks/storybook/pull/3343) -- Migrate to axe-core@3.0.0 [#3332](https://github.com/storybooks/storybook/pull/3332) -- Migrate to ws@5 [#3334](https://github.com/storybooks/storybook/pull/3334) -- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.15" to "3.4.0" [#3325](https://github.com/storybooks/storybook/pull/3325) -- Upgraded `@storybook/addon-links` in `/docs` from "3.3.15" to "3.4.0" [#3325](https://github.com/storybooks/storybook/pull/3325) -- Upgraded `@storybook/addons` in `/docs` from "3.3.15" to "3.4.0" [#3325](https://github.com/storybooks/storybook/pull/3325) -- Upgraded `@storybook/react` in `/docs` from "3.3.15" to "3.4.0" [#3325](https://github.com/storybooks/storybook/pull/3325) -- Update gatsby-remark-autolink-headers in /docs from 1.4.13 to 1.4.15 [#3314](https://github.com/storybooks/storybook/pull/3314) -- Upgraded `webpack` in `app/react` from "4.3.0" to "4.4.1" [#3315](https://github.com/storybooks/storybook/pull/3315) -- Upgraded `webpack` in `lib/core` from "4.3.0" to "4.4.1" [#3315](https://github.com/storybooks/storybook/pull/3315) -- Upgraded `webpack` in `app/angular` from "4.3.0" to "4.4.1" [#3315](https://github.com/storybooks/storybook/pull/3315) -- Upgraded `webpack` in `app/mithril` from "4.3.0" to "4.4.1" [#3315](https://github.com/storybooks/storybook/pull/3315) -- Upgraded `webpack` in `app/polymer` from "4.3.0" to "4.4.1" [#3315](https://github.com/storybooks/storybook/pull/3315) -- Upgraded `webpack` in `app/react-native` from "4.3.0" to "4.4.1" [#3315](https://github.com/storybooks/storybook/pull/3315) -- Upgraded `webpack` in `app/vue` from "4.3.0" to "4.4.1" [#3315](https://github.com/storybooks/storybook/pull/3315) -- Upgraded `webpack` in `examples/cra-kitchen-sink` from "4.3.0" to "4.4.1" [#3315](https://github.com/storybooks/storybook/pull/3315) -- Upgraded `@types/node` in `examples/angular-cli` from "9.6.0" to "9.6.1" [#3315](https://github.com/storybooks/storybook/pull/3315) -- Upgraded `webpack` in `examples/mithril-kitchen-sink` from "4.3.0" to "4.4.1" [#3315](https://github.com/storybooks/storybook/pull/3315) -- Upgraded `webpack` in `examples/polymer-cli` from "4.3.0" to "4.4.1" [#3315](https://github.com/storybooks/storybook/pull/3315) -- Upgraded `webpack` in `examples/vue-kitchen-sink` from "4.3.0" to "4.4.1" [#3315](https://github.com/storybooks/storybook/pull/3315) -- Add babel-core dev-deps [#3319](https://github.com/storybooks/storybook/pull/3319) +- Migrate to react-lifecycles-compat@3 [#3392](https://github.com/storybookjs/storybook/pull/3392) +- Upgrade dev dependencies in Angular example [#3391](https://github.com/storybookjs/storybook/pull/3391) +- Upgraded `gatsby-remark-copy-linked-files` in `/docs` from "1.5.30" to "1.5.31" [#3388](https://github.com/storybookjs/storybook/pull/3388) +- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.28" to "1.5.29" [#3388](https://github.com/storybookjs/storybook/pull/3388) +- Upgraded `gatsby` in `/docs` from "1.9.246" to "1.9.247" [#3388](https://github.com/storybookjs/storybook/pull/3388) +- Upgraded `lerna` in `/` from "2.9.1" to "2.10.0" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `babel-preset-minify` in `app/react` from "0.3.0" to "0.4.0" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `core-js` in `app/react` from "2.5.4" to "2.5.5" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `webpack-hot-middleware` in `app/react` from "2.21.2" to "2.22.0" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `webpack-dev-middleware` in `lib/core` from "3.1.1" to "3.1.2" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `webpack-hot-middleware` in `lib/core` from "2.21.2" to "2.22.0" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `core-js` in `app/angular` from "2.5.4" to "2.5.5" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `ts-loader` in `app/angular` from "4.1.0" to "4.2.0" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `webpack-hot-middleware` in `app/angular` from "2.21.2" to "2.22.0" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `zone.js` in `app/angular` from "0.8.25" to "0.8.26" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `babel-preset-minify` in `app/mithril` from "0.3.0" to "0.4.0" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `core-js` in `app/mithril` from "2.5.4" to "2.5.5" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `webpack-hot-middleware` in `app/mithril` from "2.21.2" to "2.22.0" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `@webcomponents/webcomponentsjs` in `app/polymer` from "1.1.1" to "1.2.0" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `babel-preset-minify` in `app/polymer` from "0.3.0" to "0.4.0" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `core-js` in `app/polymer` from "2.5.4" to "2.5.5" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `webpack-hot-middleware` in `app/polymer` from "2.21.2" to "2.22.0" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `babel-preset-minify` in `app/react-native` from "0.3.0" to "0.4.0" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `url-parse` in `app/react-native` from "1.2.0" to "1.3.0" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `webpack-dev-middleware` in `app/react-native` from "3.1.1" to "3.1.2" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `webpack-hot-middleware` in `app/react-native` from "2.21.2" to "2.22.0" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `babel-preset-minify` in `app/vue` from "0.3.0" to "0.4.0" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `core-js` in `app/vue` from "2.5.4" to "2.5.5" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `webpack-hot-middleware` in `app/vue` from "2.21.2" to "2.22.0" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `core-js` in `examples/angular-cli` from "2.5.4" to "2.5.5" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `zone.js` in `examples/angular-cli` from "0.8.25" to "0.8.26" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `@angular/cli` in `examples/angular-cli` from "1.7.3" to "1.7.4" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `@webcomponents/webcomponentsjs` in `examples/polymer-cli` from "1.1.1" to "1.2.0" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `webpack-dev-server` in `examples/polymer-cli` from "3.1.1" to "3.1.3" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `webpack-dev-server` in `examples/vue-kitchen-sink` from "3.1.1" to "3.1.3" [#3387](https://github.com/storybookjs/storybook/pull/3387) +- Upgraded `lint-staged` in `/` from "7.0.3" to "7.0.4" [#3368](https://github.com/storybookjs/storybook/pull/3368) +- Upgraded `webpack-dev-middleware` in `lib/core` from "3.1.0" to "3.1.1" [#3368](https://github.com/storybookjs/storybook/pull/3368) +- Upgraded `webpack-dev-middleware` in `app/react-native` from "3.1.0" to "3.1.1" [#3368](https://github.com/storybookjs/storybook/pull/3368) +- Upgraded `react` in `/` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `react-dom` in `/` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `react-test-renderer` in `/` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `react-dom` in `addons/centered` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `webpack` in `app/react` from "4.4.1" to "4.5.0" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `@types/react` in `addons/notes` from "16.3.4" to "16.3.5" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `react-test-renderer` in `addons/info` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `react` in `addons/links` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `react-dom` in `addons/links` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `webpack` in `lib/core` from "4.4.1" to "4.5.0" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `react` in `addons/storyshots` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `react-dom` in `addons/storyshots` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `react` in `app/angular` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `react-dom` in `app/angular` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `webpack` in `app/angular` from "4.4.1" to "4.5.0" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `zone.js` in `app/angular` from "0.8.24" to "0.8.25" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `react` in `app/mithril` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `react-dom` in `app/mithril` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `webpack` in `app/mithril` from "4.4.1" to "4.5.0" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `react` in `app/polymer` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `react-dom` in `app/polymer` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `webpack` in `app/polymer` from "4.4.1" to "4.5.0" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `webpack` in `app/react-native` from "4.4.1" to "4.5.0" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `react` in `app/vue` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `react-dom` in `app/vue` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `webpack` in `app/vue` from "4.4.1" to "4.5.0" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `zone.js` in `examples/angular-cli` from "0.8.24" to "0.8.25" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `protractor` in `examples/angular-cli` from "5.3.0" to "5.3.1" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `react` in `examples/cra-kitchen-sink` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `react-dom` in `examples/cra-kitchen-sink` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `react-scripts` in `examples/cra-kitchen-sink` from "1.1.3" to "1.1.4" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `webpack` in `examples/cra-kitchen-sink` from "4.4.1" to "4.5.0" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `webpack` in `examples/mithril-kitchen-sink` from "4.4.1" to "4.5.0" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `webpack` in `examples/polymer-cli` from "4.4.1" to "4.5.0" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `webpack` in `examples/vue-kitchen-sink` from "4.4.1" to "4.5.0" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `react` in `examples/official-storybook` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `react-dom` in `examples/official-storybook` from "16.3.0" to "16.3.1" [#3357](https://github.com/storybookjs/storybook/pull/3357) +- Upgraded `gatsby-remark-autolink-headers` in `/docs` from "1.4.15" to "1.4.16" [#3356](https://github.com/storybookjs/storybook/pull/3356) +- Upgraded `gatsby` in `/docs` from "1.9.244" to "1.9.246" [#3356](https://github.com/storybookjs/storybook/pull/3356) +- Upgraded `danger` in `/` from "3.4.4" to "3.4.5" [#3350](https://github.com/storybookjs/storybook/pull/3350) +- Upgraded `lint-staged` in `/` from "7.0.2" to "7.0.3" [#3350](https://github.com/storybookjs/storybook/pull/3350) +- Upgraded `react-lifecycles-compat` in `addons/background` from "1.1.1" to "1.1.4" [#3350](https://github.com/storybookjs/storybook/pull/3350) +- Upgraded `react-lifecycles-compat` in `addons/events` from "1.1.1" to "1.1.4" [#3350](https://github.com/storybookjs/storybook/pull/3350) +- Upgraded `html-webpack-plugin` in `app/react` from "3.1.0" to "3.2.0" [#3350](https://github.com/storybookjs/storybook/pull/3350) +- Upgraded `@types/react` in `addons/notes` from "16.3.1" to "16.3.4" [#3350](https://github.com/storybookjs/storybook/pull/3350) +- Upgraded `axe-core` in `addons/a11y` from "3.0.0" to "3.0.1" [#3350](https://github.com/storybookjs/storybook/pull/3350) +- Upgraded `react-lifecycles-compat` in `addons/info` from "1.1.1" to "1.1.4" [#3350](https://github.com/storybookjs/storybook/pull/3350) +- Upgraded `react-lifecycles-compat` in `addons/knobs` from "1.1.1" to "1.1.4" [#3350](https://github.com/storybookjs/storybook/pull/3350) +- Upgraded `react-lifecycles-compat` in `lib/ui` from "1.1.1" to "1.1.4" [#3350](https://github.com/storybookjs/storybook/pull/3350) +- Upgraded `html-webpack-plugin` in `app/angular` from "3.1.0" to "3.2.0" [#3350](https://github.com/storybookjs/storybook/pull/3350) +- Upgraded `html-webpack-plugin` in `app/mithril` from "3.1.0" to "3.2.0" [#3350](https://github.com/storybookjs/storybook/pull/3350) +- Upgraded `html-webpack-plugin` in `app/polymer` from "3.1.0" to "3.2.0" [#3350](https://github.com/storybookjs/storybook/pull/3350) +- Upgraded `html-webpack-plugin` in `app/react-native` from "3.1.0" to "3.2.0" [#3350](https://github.com/storybookjs/storybook/pull/3350) +- Upgraded `html-webpack-plugin` in `app/vue` from "3.1.0" to "3.2.0" [#3350](https://github.com/storybookjs/storybook/pull/3350) +- Upgraded `@types/node` in `examples/angular-cli` from "9.6.1" to "9.6.2" [#3350](https://github.com/storybookjs/storybook/pull/3350) +- Upgraded `react-lifecycles-compat` in `examples/cra-kitchen-sink` from "1.1.1" to "1.1.4" [#3350](https://github.com/storybookjs/storybook/pull/3350) +- Upgraded `react-scripts` in `examples/cra-kitchen-sink` from "1.1.1" to "1.1.3" [#3350](https://github.com/storybookjs/storybook/pull/3350) +- Upgraded `html-webpack-plugin` in `examples/polymer-cli` from "3.1.0" to "3.2.0" [#3350](https://github.com/storybookjs/storybook/pull/3350) +- Update gatsby-source-filesystem in /docs from 1.5.27 to 1.5.28 [#3349](https://github.com/storybookjs/storybook/pull/3349) +- Update gatsby in /docs from 1.9.243 to 1.9.244 [#3345](https://github.com/storybookjs/storybook/pull/3345) +- Upgraded `danger` in `/` from "3.3.2" to "3.4.4" [#3343](https://github.com/storybookjs/storybook/pull/3343) +- Upgraded `eslint-plugin-import` in `/` from "2.9.0" to "2.10.0" [#3343](https://github.com/storybookjs/storybook/pull/3343) +- Upgraded `lerna` in `/` from "2.5.1" to "2.9.1" [#3343](https://github.com/storybookjs/storybook/pull/3343) +- Upgraded `lint-staged` in `/` from "7.0.0" to "7.0.2" [#3343](https://github.com/storybookjs/storybook/pull/3343) +- Upgraded `react-lifecycles-compat` in `addons/background` from "1.1.0" to "1.1.1" [#3343](https://github.com/storybookjs/storybook/pull/3343) +- Upgraded `react-lifecycles-compat` in `addons/events` from "1.1.0" to "1.1.1" [#3343](https://github.com/storybookjs/storybook/pull/3343) +- Upgraded `react-textarea-autosize` in `addons/events` from "6.1.0-0" to "6.1.0" [#3343](https://github.com/storybookjs/storybook/pull/3343) +- Upgraded `babel-plugin-react-docgen` in `app/react` from "1.8.3" to "1.9.0" [#3343](https://github.com/storybookjs/storybook/pull/3343) +- Upgraded `nodemon` in `app/react` from "1.17.2" to "1.17.3" [#3343](https://github.com/storybookjs/storybook/pull/3343) +- Upgraded `@types/react` in `addons/notes` from "16.1.0" to "16.3.1" [#3343](https://github.com/storybookjs/storybook/pull/3343) +- Upgraded `react-lifecycles-compat` in `addons/info` from "1.1.0" to "1.1.1" [#3343](https://github.com/storybookjs/storybook/pull/3343) +- Upgraded `moment` in `addons/knobs` from "2.21.0" to "2.22.0" [#3343](https://github.com/storybookjs/storybook/pull/3343) +- Upgraded `react-lifecycles-compat` in `addons/knobs` from "1.1.0" to "1.1.1" [#3343](https://github.com/storybookjs/storybook/pull/3343) +- Upgraded `react-textarea-autosize` in `addons/knobs` from "6.1.0-0" to "6.1.0" [#3343](https://github.com/storybookjs/storybook/pull/3343) +- Upgraded `react-lifecycles-compat` in `lib/ui` from "1.1.0" to "1.1.1" [#3343](https://github.com/storybookjs/storybook/pull/3343) +- Upgraded `serve-favicon` in `lib/core` from "2.4.5" to "2.5.0" [#3343](https://github.com/storybookjs/storybook/pull/3343) +- Upgraded `zone.js` in `app/angular` from "0.8.20" to "0.8.24" [#3343](https://github.com/storybookjs/storybook/pull/3343) +- Upgraded `nodemon` in `app/angular` from "1.17.2" to "1.17.3" [#3343](https://github.com/storybookjs/storybook/pull/3343) +- Upgraded `nodemon` in `app/mithril` from "1.17.2" to "1.17.3" [#3343](https://github.com/storybookjs/storybook/pull/3343) +- Upgraded `nodemon` in `app/polymer` from "1.17.2" to "1.17.3" [#3343](https://github.com/storybookjs/storybook/pull/3343) +- Upgraded `ws` in `app/react-native` from "5.1.0" to "5.1.1" [#3343](https://github.com/storybookjs/storybook/pull/3343) +- Upgraded `nodemon` in `app/vue` from "1.17.2" to "1.17.3" [#3343](https://github.com/storybookjs/storybook/pull/3343) +- Upgraded `react-lifecycles-compat` in `examples/cra-kitchen-sink` from "1.1.0" to "1.1.1" [#3343](https://github.com/storybookjs/storybook/pull/3343) +- Upgraded `zone.js` in `examples/angular-cli` from "0.8.20" to "0.8.24" [#3343](https://github.com/storybookjs/storybook/pull/3343) +- Migrate to axe-core@3.0.0 [#3332](https://github.com/storybookjs/storybook/pull/3332) +- Migrate to ws@5 [#3334](https://github.com/storybookjs/storybook/pull/3334) +- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.15" to "3.4.0" [#3325](https://github.com/storybookjs/storybook/pull/3325) +- Upgraded `@storybook/addon-links` in `/docs` from "3.3.15" to "3.4.0" [#3325](https://github.com/storybookjs/storybook/pull/3325) +- Upgraded `@storybook/addons` in `/docs` from "3.3.15" to "3.4.0" [#3325](https://github.com/storybookjs/storybook/pull/3325) +- Upgraded `@storybook/react` in `/docs` from "3.3.15" to "3.4.0" [#3325](https://github.com/storybookjs/storybook/pull/3325) +- Update gatsby-remark-autolink-headers in /docs from 1.4.13 to 1.4.15 [#3314](https://github.com/storybookjs/storybook/pull/3314) +- Upgraded `webpack` in `app/react` from "4.3.0" to "4.4.1" [#3315](https://github.com/storybookjs/storybook/pull/3315) +- Upgraded `webpack` in `lib/core` from "4.3.0" to "4.4.1" [#3315](https://github.com/storybookjs/storybook/pull/3315) +- Upgraded `webpack` in `app/angular` from "4.3.0" to "4.4.1" [#3315](https://github.com/storybookjs/storybook/pull/3315) +- Upgraded `webpack` in `app/mithril` from "4.3.0" to "4.4.1" [#3315](https://github.com/storybookjs/storybook/pull/3315) +- Upgraded `webpack` in `app/polymer` from "4.3.0" to "4.4.1" [#3315](https://github.com/storybookjs/storybook/pull/3315) +- Upgraded `webpack` in `app/react-native` from "4.3.0" to "4.4.1" [#3315](https://github.com/storybookjs/storybook/pull/3315) +- Upgraded `webpack` in `app/vue` from "4.3.0" to "4.4.1" [#3315](https://github.com/storybookjs/storybook/pull/3315) +- Upgraded `webpack` in `examples/cra-kitchen-sink` from "4.3.0" to "4.4.1" [#3315](https://github.com/storybookjs/storybook/pull/3315) +- Upgraded `@types/node` in `examples/angular-cli` from "9.6.0" to "9.6.1" [#3315](https://github.com/storybookjs/storybook/pull/3315) +- Upgraded `webpack` in `examples/mithril-kitchen-sink` from "4.3.0" to "4.4.1" [#3315](https://github.com/storybookjs/storybook/pull/3315) +- Upgraded `webpack` in `examples/polymer-cli` from "4.3.0" to "4.4.1" [#3315](https://github.com/storybookjs/storybook/pull/3315) +- Upgraded `webpack` in `examples/vue-kitchen-sink` from "4.3.0" to "4.4.1" [#3315](https://github.com/storybookjs/storybook/pull/3315) +- Add babel-core dev-deps [#3319](https://github.com/storybookjs/storybook/pull/3319) @@ -3139,18 +3603,18 @@ Also includes changes from 3.4.1 #### Features -- Make storybook addons channel available globally in `window` [#3243](https://github.com/storybooks/storybook/pull/3243) +- Make storybook addons channel available globally in `window` [#3243](https://github.com/storybookjs/storybook/pull/3243) #### Bug Fixes -- Scroll preview pane for non-percentage heights [#3342](https://github.com/storybooks/storybook/pull/3342) -- Replacing Report Fragment with div [#3372](https://github.com/storybooks/storybook/pull/3372) -- Don't use direct react dependency in core [#3382](https://github.com/storybooks/storybook/pull/3382) +- Scroll preview pane for non-percentage heights [#3342](https://github.com/storybookjs/storybook/pull/3342) +- Replacing Report Fragment with div [#3372](https://github.com/storybookjs/storybook/pull/3372) +- Don't use direct react dependency in core [#3382](https://github.com/storybookjs/storybook/pull/3382) #### Documentation -- Add typescript docs [#3361](https://github.com/storybooks/storybook/pull/3361) -- Update links of the live examples for the new release [#3197](https://github.com/storybooks/storybook/pull/3197) +- Add typescript docs [#3361](https://github.com/storybookjs/storybook/pull/3361) +- Update links of the live examples for the new release [#3197](https://github.com/storybookjs/storybook/pull/3197) ## 3.4.0 @@ -3158,96 +3622,96 @@ Also includes changes from 3.4.1 Welcome to Storybook 3.4 with the following key improvements: -- Polymer 2 support [#2225](https://github.com/storybooks/storybook/pull/2225) -- Angular and Vue storyshots [#2564](https://github.com/storybooks/storybook/pull/2564) -- Add image snapshots to addon-storyshots [#2413](https://github.com/storybooks/storybook/pull/2413) -- Multiple story hierarchies [#2452](https://github.com/storybooks/storybook/pull/2452) -- Addon-storysource: story source in addon pane [#2885](https://github.com/storybooks/storybook/pull/2885) +- Polymer 2 support [#2225](https://github.com/storybookjs/storybook/pull/2225) +- Angular and Vue storyshots [#2564](https://github.com/storybookjs/storybook/pull/2564) +- Add image snapshots to addon-storyshots [#2413](https://github.com/storybookjs/storybook/pull/2413) +- Multiple story hierarchies [#2452](https://github.com/storybookjs/storybook/pull/2452) +- Addon-storysource: story source in addon pane [#2885](https://github.com/storybookjs/storybook/pull/2885) Read on for more improvements, fixes. In addition, there are hundreds of dependency upgrades in the 3.4 release, so to see the details, please see the changelogs for `3.4.0-rc.*` and `3.4.0-alpha.*`. #### Features -- Bind window access if `window` is defined; add `addons channel` access too [#3243](https://github.com/storybooks/storybook/pull/3243) -- Fix screenshots tests & add getScreenshotOption to storyshots [#3102](https://github.com/storybooks/storybook/pull/3102) -- Add `__STORYBOOK_CLIENT_API__` for external tools [#3058](https://github.com/storybooks/storybook/pull/3058) -- Addon storysource: select stories from inside of the StoryPanel [#3154](https://github.com/storybooks/storybook/pull/3154) -- Storyshots: env.NODE_PATH support [#2873](https://github.com/storybooks/storybook/pull/2873) -- Knobs: Select knob key/value ordering [#1745](https://github.com/storybooks/storybook/pull/1745) -- Angular: Add option to pass custom styles for ng components [#2856](https://github.com/storybooks/storybook/pull/2856) -- Core: Add watch mode for build-storybook [#2866](https://github.com/storybooks/storybook/pull/2866) -- Core: Add `__dirname` support [#2791](https://github.com/storybooks/storybook/pull/2791) -- Pass default webpack config as third argument in Full Control Mode [#2796](https://github.com/storybooks/storybook/pull/2796) -- Angular and Vue storyshots [#2564](https://github.com/storybooks/storybook/pull/2564) -- Addon-info: Added "Copy button" for code example [#2713](https://github.com/storybooks/storybook/pull/2713) -- Angular: Serve styles and assets using .angular-cli webpack configuration [#2735](https://github.com/storybooks/storybook/pull/2735) -- API: Added an event that is emitted when a channel is created. [#2711](https://github.com/storybooks/storybook/pull/2711) -- Addon-a11y: Handle components with delayed rendering [#2651](https://github.com/storybooks/storybook/pull/2651) -- Polymer 2 support [#2225](https://github.com/storybooks/storybook/pull/2225) -- Add image snapshots to addon-storyshots [#2413](https://github.com/storybooks/storybook/pull/2413) -- Angular template support for Storybook [#2690](https://github.com/storybooks/storybook/pull/2690) -- Custom tsconfig.json for angular apps. [#2669](https://github.com/storybooks/storybook/pull/2669) -- Multiple story hierarchies [#2452](https://github.com/storybooks/storybook/pull/2452) -- Change template story files extension to .ts [#2594](https://github.com/storybooks/storybook/pull/2594) -- Use store revisions to ensure that stories re-render on HMR. [#2605](https://github.com/storybooks/storybook/pull/2605) -- Ability to force re-render a story [#2463](https://github.com/storybooks/storybook/pull/2463) -- Introduce framework-independent core library [#2241](https://github.com/storybooks/storybook/pull/2241) +- Bind window access if `window` is defined; add `addons channel` access too [#3243](https://github.com/storybookjs/storybook/pull/3243) +- Fix screenshots tests & add getScreenshotOption to storyshots [#3102](https://github.com/storybookjs/storybook/pull/3102) +- Add `__STORYBOOK_CLIENT_API__` for external tools [#3058](https://github.com/storybookjs/storybook/pull/3058) +- Addon storysource: select stories from inside of the StoryPanel [#3154](https://github.com/storybookjs/storybook/pull/3154) +- Storyshots: env.NODE_PATH support [#2873](https://github.com/storybookjs/storybook/pull/2873) +- Knobs: Select knob key/value ordering [#1745](https://github.com/storybookjs/storybook/pull/1745) +- Angular: Add option to pass custom styles for ng components [#2856](https://github.com/storybookjs/storybook/pull/2856) +- Core: Add watch mode for build-storybook [#2866](https://github.com/storybookjs/storybook/pull/2866) +- Core: Add `__dirname` support [#2791](https://github.com/storybookjs/storybook/pull/2791) +- Pass default webpack config as third argument in Full Control Mode [#2796](https://github.com/storybookjs/storybook/pull/2796) +- Angular and Vue storyshots [#2564](https://github.com/storybookjs/storybook/pull/2564) +- Addon-info: Added "Copy button" for code example [#2713](https://github.com/storybookjs/storybook/pull/2713) +- Angular: Serve styles and assets using .angular-cli webpack configuration [#2735](https://github.com/storybookjs/storybook/pull/2735) +- API: Added an event that is emitted when a channel is created. [#2711](https://github.com/storybookjs/storybook/pull/2711) +- Addon-a11y: Handle components with delayed rendering [#2651](https://github.com/storybookjs/storybook/pull/2651) +- Polymer 2 support [#2225](https://github.com/storybookjs/storybook/pull/2225) +- Add image snapshots to addon-storyshots [#2413](https://github.com/storybookjs/storybook/pull/2413) +- Angular template support for Storybook [#2690](https://github.com/storybookjs/storybook/pull/2690) +- Custom tsconfig.json for angular apps. [#2669](https://github.com/storybookjs/storybook/pull/2669) +- Multiple story hierarchies [#2452](https://github.com/storybookjs/storybook/pull/2452) +- Change template story files extension to .ts [#2594](https://github.com/storybookjs/storybook/pull/2594) +- Use store revisions to ensure that stories re-render on HMR. [#2605](https://github.com/storybookjs/storybook/pull/2605) +- Ability to force re-render a story [#2463](https://github.com/storybookjs/storybook/pull/2463) +- Introduce framework-independent core library [#2241](https://github.com/storybookjs/storybook/pull/2241) #### Bug Fixes -- \[Addon-storyshots\] Remove default options on "goto" call [#3298](https://github.com/storybooks/storybook/pull/3298) -- CLI: add error handling for latest_version helper [#3297](https://github.com/storybooks/storybook/pull/3297) -- Refactor CLI to use `npm` and `yarn` instead of third party packages [#3275](https://github.com/storybooks/storybook/pull/3275) -- Fix issue when extending webpack config [#3279](https://github.com/storybooks/storybook/pull/3279) -- Object proptype is shown in addon-info proptable [#3255](https://github.com/storybooks/storybook/pull/3255) -- Fix storyshots renderer and serializer options [#3252](https://github.com/storybooks/storybook/pull/3252) -- Angular: use resolveLoader from cliCommonConfig [#3251](https://github.com/storybooks/storybook/pull/3251) -- Delaying update of height and width in Layout [#3180](https://github.com/storybooks/storybook/pull/3180) -- Add 'waitUntil' option to puppeteer of storyshots [#3156](https://github.com/storybooks/storybook/pull/3156) -- Move polymer loader to peerDependencies [#3161](https://github.com/storybooks/storybook/pull/3161) -- Addons: avoid mixing manager and preview code together [#3068](https://github.com/storybooks/storybook/pull/3068) -- React-Native: Fix by moving managerPath export to `server.js` [#2947](https://github.com/storybooks/storybook/pull/2947) -- Addon-Info: Add type check to PropType on OneOf [#2653](https://github.com/storybooks/storybook/pull/2653) -- Vue: Support .vue extension resolving [#2896](https://github.com/storybooks/storybook/pull/2896) -- UI: remove zero on story loading [#2857](https://github.com/storybooks/storybook/pull/2857) -- Angular: remove entryComponents prop from metadata [#2790](https://github.com/storybooks/storybook/pull/2790) -- Use process.exitCode instead of process.exit() [#2717](https://github.com/storybooks/storybook/pull/2717) -- Angular: knobs with template [#2766](https://github.com/storybooks/storybook/pull/2766) -- Remove polymer-cli dependency [#2741](https://github.com/storybooks/storybook/pull/2741) -- Add scss for components in angular apps by default. [#2703](https://github.com/storybooks/storybook/pull/2703) +- \[Addon-storyshots\] Remove default options on "goto" call [#3298](https://github.com/storybookjs/storybook/pull/3298) +- CLI: add error handling for latest_version helper [#3297](https://github.com/storybookjs/storybook/pull/3297) +- Refactor CLI to use `npm` and `yarn` instead of third party packages [#3275](https://github.com/storybookjs/storybook/pull/3275) +- Fix issue when extending webpack config [#3279](https://github.com/storybookjs/storybook/pull/3279) +- Object proptype is shown in addon-info proptable [#3255](https://github.com/storybookjs/storybook/pull/3255) +- Fix storyshots renderer and serializer options [#3252](https://github.com/storybookjs/storybook/pull/3252) +- Angular: use resolveLoader from cliCommonConfig [#3251](https://github.com/storybookjs/storybook/pull/3251) +- Delaying update of height and width in Layout [#3180](https://github.com/storybookjs/storybook/pull/3180) +- Add 'waitUntil' option to puppeteer of storyshots [#3156](https://github.com/storybookjs/storybook/pull/3156) +- Move polymer loader to peerDependencies [#3161](https://github.com/storybookjs/storybook/pull/3161) +- Addons: avoid mixing manager and preview code together [#3068](https://github.com/storybookjs/storybook/pull/3068) +- React-Native: Fix by moving managerPath export to `server.js` [#2947](https://github.com/storybookjs/storybook/pull/2947) +- Addon-Info: Add type check to PropType on OneOf [#2653](https://github.com/storybookjs/storybook/pull/2653) +- Vue: Support .vue extension resolving [#2896](https://github.com/storybookjs/storybook/pull/2896) +- UI: remove zero on story loading [#2857](https://github.com/storybookjs/storybook/pull/2857) +- Angular: remove entryComponents prop from metadata [#2790](https://github.com/storybookjs/storybook/pull/2790) +- Use process.exitCode instead of process.exit() [#2717](https://github.com/storybookjs/storybook/pull/2717) +- Angular: knobs with template [#2766](https://github.com/storybookjs/storybook/pull/2766) +- Remove polymer-cli dependency [#2741](https://github.com/storybookjs/storybook/pull/2741) +- Add scss for components in angular apps by default. [#2703](https://github.com/storybookjs/storybook/pull/2703) #### Documentation -- Add example for @ngrx/store [#3233](https://github.com/storybooks/storybook/pull/3233) -- Fix missing declaration in Angular example [#3213](https://github.com/storybooks/storybook/pull/3213) -- Update ADDONS_SUPPORT.md [#3114](https://github.com/storybooks/storybook/pull/3114) -- StoryShots: Document ref mocking [#2869](https://github.com/storybooks/storybook/pull/2869) -- Extending webpack section is no longer needed for the common usage [#2826](https://github.com/storybooks/storybook/pull/2826) -- Updating Vue Jest Config [#2821](https://github.com/storybooks/storybook/pull/2821) -- Angular inheritance example [#2787](https://github.com/storybooks/storybook/pull/2787) -- Revisit addon/framework support [#3046](https://github.com/storybooks/storybook/pull/3046) -- Docs live examples [#3019](https://github.com/storybooks/storybook/pull/3019) -- Mention new supported frameworks [#2895](https://github.com/storybooks/storybook/pull/2895) -- Update writing addons documentation [#2951](https://github.com/storybooks/storybook/pull/2951) -- Update docs on LinkTo in addon-links [#2926](https://github.com/storybooks/storybook/pull/2926) +- Add example for @ngrx/store [#3233](https://github.com/storybookjs/storybook/pull/3233) +- Fix missing declaration in Angular example [#3213](https://github.com/storybookjs/storybook/pull/3213) +- Update ADDONS_SUPPORT.md [#3114](https://github.com/storybookjs/storybook/pull/3114) +- StoryShots: Document ref mocking [#2869](https://github.com/storybookjs/storybook/pull/2869) +- Extending webpack section is no longer needed for the common usage [#2826](https://github.com/storybookjs/storybook/pull/2826) +- Updating Vue Jest Config [#2821](https://github.com/storybookjs/storybook/pull/2821) +- Angular inheritance example [#2787](https://github.com/storybookjs/storybook/pull/2787) +- Revisit addon/framework support [#3046](https://github.com/storybookjs/storybook/pull/3046) +- Docs live examples [#3019](https://github.com/storybookjs/storybook/pull/3019) +- Mention new supported frameworks [#2895](https://github.com/storybookjs/storybook/pull/2895) +- Update writing addons documentation [#2951](https://github.com/storybookjs/storybook/pull/2951) +- Update docs on LinkTo in addon-links [#2926](https://github.com/storybookjs/storybook/pull/2926) #### Maintenance -- Fix errors on starting example Angular app [#3078](https://github.com/storybooks/storybook/pull/3078) -- Use WatchMissingNodeModulesPlugin from react-dev-utils package [#3141](https://github.com/storybooks/storybook/pull/3141) -- Don't use exact versions in peerDependencies [#3073](https://github.com/storybooks/storybook/pull/3073) -- Remove integration tests [#3052](https://github.com/storybooks/storybook/pull/3052) -- Fix "dev" script to be cross-platform [#2922](https://github.com/storybooks/storybook/pull/2922) -- Typescript distribution [#2846](https://github.com/storybooks/storybook/pull/2846) -- Use UTC timezone in formatting too for knobs test [#2861](https://github.com/storybooks/storybook/pull/2861) -- ADD autolabeler.yml for [#2809](https://github.com/storybooks/storybook/pull/2809) -- Fix css warning in angular-cli example [#2789](https://github.com/storybooks/storybook/pull/2789) -- Move more things to core [#2788](https://github.com/storybooks/storybook/pull/2788) -- Change ng stories dir [#2672](https://github.com/storybooks/storybook/pull/2672) -- Only update CLI snapsots on postpublish script, skip smoke tests [#2671](https://github.com/storybooks/storybook/pull/2671) -- Fix the timezone for example dates [#2654](https://github.com/storybooks/storybook/pull/2654) -- Update prereq yarn install level [#2638](https://github.com/storybooks/storybook/pull/2638) -- Separate stories in angular-cli example [#2592](https://github.com/storybooks/storybook/pull/2592) +- Fix errors on starting example Angular app [#3078](https://github.com/storybookjs/storybook/pull/3078) +- Use WatchMissingNodeModulesPlugin from react-dev-utils package [#3141](https://github.com/storybookjs/storybook/pull/3141) +- Don't use exact versions in peerDependencies [#3073](https://github.com/storybookjs/storybook/pull/3073) +- Remove integration tests [#3052](https://github.com/storybookjs/storybook/pull/3052) +- Fix "dev" script to be cross-platform [#2922](https://github.com/storybookjs/storybook/pull/2922) +- Typescript distribution [#2846](https://github.com/storybookjs/storybook/pull/2846) +- Use UTC timezone in formatting too for knobs test [#2861](https://github.com/storybookjs/storybook/pull/2861) +- ADD autolabeler.yml for [#2809](https://github.com/storybookjs/storybook/pull/2809) +- Fix css warning in angular-cli example [#2789](https://github.com/storybookjs/storybook/pull/2789) +- Move more things to core [#2788](https://github.com/storybookjs/storybook/pull/2788) +- Change ng stories dir [#2672](https://github.com/storybookjs/storybook/pull/2672) +- Only update CLI snapsots on postpublish script, skip smoke tests [#2671](https://github.com/storybookjs/storybook/pull/2671) +- Fix the timezone for example dates [#2654](https://github.com/storybookjs/storybook/pull/2654) +- Update prereq yarn install level [#2638](https://github.com/storybookjs/storybook/pull/2638) +- Separate stories in angular-cli example [#2592](https://github.com/storybookjs/storybook/pull/2592) ## 4.0.0-alpha.1 @@ -3255,7 +3719,7 @@ Read on for more improvements, fixes. In addition, there are hundreds of depende #### Bug Fixes -- \[Hotfix\] Use published webpack 4 compatible fork of react-dev-utils [#3312](https://github.com/storybooks/storybook/pull/3312) +- \[Hotfix\] Use published webpack 4 compatible fork of react-dev-utils [#3312](https://github.com/storybookjs/storybook/pull/3312) ## 4.0.0-alpha.0 @@ -3263,35 +3727,35 @@ Read on for more improvements, fixes. In addition, there are hundreds of depende #### Breaking Changes -- Webpack 4 [#3148](https://github.com/storybooks/storybook/pull/3148) +- Webpack 4 [#3148](https://github.com/storybookjs/storybook/pull/3148) #### Features -- Viewport-addon Allow setting callback to be called whenever viewport changes [#3283](https://github.com/storybooks/storybook/pull/3283) -- Storybook for Mithril [#3244](https://github.com/storybooks/storybook/pull/3244) -- Feature request: adding aXe configuration for a11y addon [#3285](https://github.com/storybooks/storybook/pull/3285) -- files knob [#2860](https://github.com/storybooks/storybook/pull/2860) -- Using svg-url-loader for webpack configs that accept svgs [#3221](https://github.com/storybooks/storybook/pull/3221) -- Addon Storysource typescript support [#3253](https://github.com/storybooks/storybook/pull/3253) -- addon-options: Make shortcuts in storybook optional [#3237](https://github.com/storybooks/storybook/pull/3237) -- Add parameters to stories in the story store, and render them in app layers [#2679](https://github.com/storybooks/storybook/pull/2679) -- Add min, value, and max labels to range knob [#3128](https://github.com/storybooks/storybook/pull/3128) -- viewport-addon: Make the addon configurable [#3099](https://github.com/storybooks/storybook/pull/3099) -- Bind window access if `window` is defined; add `addons channel` access too [#3243](https://github.com/storybooks/storybook/pull/3243) +- Viewport-addon Allow setting callback to be called whenever viewport changes [#3283](https://github.com/storybookjs/storybook/pull/3283) +- Storybook for Mithril [#3244](https://github.com/storybookjs/storybook/pull/3244) +- Feature request: adding aXe configuration for a11y addon [#3285](https://github.com/storybookjs/storybook/pull/3285) +- files knob [#2860](https://github.com/storybookjs/storybook/pull/2860) +- Using svg-url-loader for webpack configs that accept svgs [#3221](https://github.com/storybookjs/storybook/pull/3221) +- Addon Storysource typescript support [#3253](https://github.com/storybookjs/storybook/pull/3253) +- addon-options: Make shortcuts in storybook optional [#3237](https://github.com/storybookjs/storybook/pull/3237) +- Add parameters to stories in the story store, and render them in app layers [#2679](https://github.com/storybookjs/storybook/pull/2679) +- Add min, value, and max labels to range knob [#3128](https://github.com/storybookjs/storybook/pull/3128) +- viewport-addon: Make the addon configurable [#3099](https://github.com/storybookjs/storybook/pull/3099) +- Bind window access if `window` is defined; add `addons channel` access too [#3243](https://github.com/storybookjs/storybook/pull/3243) #### Bug Fixes -- Update react-native symlink resolving and add support for flow [#3306](https://github.com/storybooks/storybook/pull/3306) -- \[Addon-storyshots\] Remove default options on "goto" call [#3298](https://github.com/storybooks/storybook/pull/3298) -- Remove onDeviceUI animation to support Detox screenshots [#3272](https://github.com/storybooks/storybook/pull/3272) -- Angular: use resolveLoader from cliCommonConfig [#3251](https://github.com/storybooks/storybook/pull/3251) +- Update react-native symlink resolving and add support for flow [#3306](https://github.com/storybookjs/storybook/pull/3306) +- \[Addon-storyshots\] Remove default options on "goto" call [#3298](https://github.com/storybookjs/storybook/pull/3298) +- Remove onDeviceUI animation to support Detox screenshots [#3272](https://github.com/storybookjs/storybook/pull/3272) +- Angular: use resolveLoader from cliCommonConfig [#3251](https://github.com/storybookjs/storybook/pull/3251) #### Maintenance -- Create CODEOWNERS from git history [#3296](https://github.com/storybooks/storybook/pull/3296) -- Close inactive issues in 30 days [#3273](https://github.com/storybooks/storybook/pull/3273) -- Refactor all startup code into `@storybook/core` also [#3259](https://github.com/storybooks/storybook/pull/3259) -- Update ISSUE_TEMPLATE to help define work to be done [#3257](https://github.com/storybooks/storybook/pull/3257) +- Create CODEOWNERS from git history [#3296](https://github.com/storybookjs/storybook/pull/3296) +- Close inactive issues in 30 days [#3273](https://github.com/storybookjs/storybook/pull/3273) +- Refactor all startup code into `@storybook/core` also [#3259](https://github.com/storybookjs/storybook/pull/3259) +- Update ISSUE_TEMPLATE to help define work to be done [#3257](https://github.com/storybookjs/storybook/pull/3257) #### Dependency Upgrades @@ -3300,70 +3764,70 @@ Read on for more improvements, fixes. In addition, there are hundreds of depende 64 Updates -- Update gatsby-transformer-remark in /docs from 1.7.38 to 1.7.39 [#3310](https://github.com/storybooks/storybook/pull/3310) -- Upgraded `@types/react` in `addons/notes` from "16.0.41" to "16.1.0" [#3311](https://github.com/storybooks/storybook/pull/3311) -- Upgraded `react-chromatic` in `examples/official-storybook` from "0.7.11" to "0.8.1" [#3311](https://github.com/storybooks/storybook/pull/3311) -- Major upgrades for devDependencies [#3304](https://github.com/storybooks/storybook/pull/3304) -- Upgraded `typescript` in `/` from "2.7.2" to "2.8.1" [#3303](https://github.com/storybooks/storybook/pull/3303) -- Upgraded `core-js` in `app/react` from "2.5.3" to "2.5.4" [#3303](https://github.com/storybooks/storybook/pull/3303) -- Upgraded `core-js` in `app/angular` from "2.5.3" to "2.5.4" [#3303](https://github.com/storybooks/storybook/pull/3303) -- Upgraded `core-js` in `app/polymer` from "2.5.3" to "2.5.4" [#3303](https://github.com/storybooks/storybook/pull/3303) -- Upgraded `core-js` in `app/vue` from "2.5.3" to "2.5.4" [#3303](https://github.com/storybooks/storybook/pull/3303) -- Upgraded `core-js` in `examples/angular-cli` from "2.5.3" to "2.5.4" [#3303](https://github.com/storybooks/storybook/pull/3303) -- Upgraded `typescript` in `examples/angular-cli` from "2.7.2" to "2.8.1" [#3303](https://github.com/storybooks/storybook/pull/3303) -- Upgraded `gatsby-link` in `/docs` from "1.6.39" to "1.6.40" [#3300](https://github.com/storybooks/storybook/pull/3300) -- Upgraded `gatsby-remark-images` in `/docs` from "1.5.59" to "1.5.60" [#3300](https://github.com/storybooks/storybook/pull/3300) -- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.37" to "1.7.38" [#3300](https://github.com/storybooks/storybook/pull/3300) -- Upgraded `gatsby` in `/docs` from "1.9.241" to "1.9.243" [#3300](https://github.com/storybooks/storybook/pull/3300) -- Upgraded `webpack` in `app/react` from "4.2.0" to "4.3.0" [#3299](https://github.com/storybooks/storybook/pull/3299) -- Upgraded `webpack` in `lib/core` from "4.2.0" to "4.3.0" [#3299](https://github.com/storybooks/storybook/pull/3299) -- Upgraded `webpack-dev-middleware` in `lib/core` from "3.0.1" to "3.1.0" [#3299](https://github.com/storybooks/storybook/pull/3299) -- Upgraded `webpack` in `app/angular` from "4.2.0" to "4.3.0" [#3299](https://github.com/storybooks/storybook/pull/3299) -- Upgraded `webpack` in `app/polymer` from "4.2.0" to "4.3.0" [#3299](https://github.com/storybooks/storybook/pull/3299) -- Upgraded `webpack` in `app/react-native` from "4.2.0" to "4.3.0" [#3299](https://github.com/storybooks/storybook/pull/3299) -- Upgraded `webpack-dev-middleware` in `app/react-native` from "3.0.1" to "3.1.0" [#3299](https://github.com/storybooks/storybook/pull/3299) -- Upgraded `webpack` in `app/vue` from "4.2.0" to "4.3.0" [#3299](https://github.com/storybooks/storybook/pull/3299) -- Upgraded `webpack` in `examples/cra-kitchen-sink` from "4.2.0" to "4.3.0" [#3299](https://github.com/storybooks/storybook/pull/3299) -- Upgraded `rxjs` in `examples/angular-cli` from "5.5.7" to "5.5.8" [#3299](https://github.com/storybooks/storybook/pull/3299) -- Upgraded `webpack` in `examples/polymer-cli` from "4.2.0" to "4.3.0" [#3299](https://github.com/storybooks/storybook/pull/3299) -- Upgraded `webpack` in `examples/vue-kitchen-sink` from "4.2.0" to "4.3.0" [#3299](https://github.com/storybooks/storybook/pull/3299) -- Upgraded `inquirer` in `/` from "5.1.0" to "5.2.0" [#3294](https://github.com/storybooks/storybook/pull/3294) -- Upgraded `marked` in `addons/notes` from "0.3.18" to "0.3.19" [#3294](https://github.com/storybooks/storybook/pull/3294) -- Upgraded `update-notifier` in `lib/cli` from "2.3.0" to "2.4.0" [#3294](https://github.com/storybooks/storybook/pull/3294) -- Update marked in /docs from 0.3.18 to 0.3.19 [#3292](https://github.com/storybooks/storybook/pull/3292) -- Update gatsby in /docs from 1.9.240 to 1.9.241 [#3281](https://github.com/storybooks/storybook/pull/3281) -- Update @types/react in addons/notes from 16.0.40 to 16.0.41 [#3282](https://github.com/storybooks/storybook/pull/3282) -- Upgraded `gatsby-remark-images` in `/docs` from "1.5.56" to "1.5.59" [#3276](https://github.com/storybooks/storybook/pull/3276) -- Upgraded `gatsby` in `/docs` from "1.9.239" to "1.9.240" [#3276](https://github.com/storybooks/storybook/pull/3276) -- Upgraded `vue-loader` in `app/vue` from "14.2.1" to "14.2.2" [#3277](https://github.com/storybooks/storybook/pull/3277) -- Upgraded `vue-loader` in `examples/vue-kitchen-sink` from "14.2.1" to "14.2.2" [#3277](https://github.com/storybooks/storybook/pull/3277) -- Upgraded `eslint` in `/` from "4.19.0" to "4.19.1" [#3265](https://github.com/storybooks/storybook/pull/3265) -- Upgraded `marked` in `addons/notes` from "0.3.17" to "0.3.18" [#3265](https://github.com/storybooks/storybook/pull/3265) -- Upgraded `autoprefixer` in `lib/core` from "8.1.0" to "8.2.0" [#3265](https://github.com/storybooks/storybook/pull/3265) -- Upgraded `@webcomponents/webcomponentsjs` in `app/polymer` from "1.1.0" to "1.1.1" [#3265](https://github.com/storybooks/storybook/pull/3265) -- Upgraded `@types/node` in `examples/angular-cli` from "9.4.7" to "9.6.0" [#3265](https://github.com/storybooks/storybook/pull/3265) -- Upgraded `@polymer/polymer` in `examples/polymer-cli` from "2.5.0" to "2.6.0" [#3265](https://github.com/storybooks/storybook/pull/3265) -- Upgraded `@webcomponents/webcomponentsjs` in `examples/polymer-cli` from "1.1.0" to "1.1.1" [#3265](https://github.com/storybooks/storybook/pull/3265) -- Update marked in /docs from 0.3.17 to 0.3.18 [#3264](https://github.com/storybooks/storybook/pull/3264) -- Update gatsby in /docs from 1.9.238 to 1.9.239 [#3262](https://github.com/storybooks/storybook/pull/3262) -- Upgraded `danger` in `/` from "3.3.0" to "3.3.2" [#3254](https://github.com/storybooks/storybook/pull/3254) -- Upgraded `jest` in `/` from "22.4.2" to "22.4.3" [#3254](https://github.com/storybooks/storybook/pull/3254) -- Upgraded `jest-cli` in `/` from "22.4.2" to "22.4.3" [#3254](https://github.com/storybooks/storybook/pull/3254) -- Upgraded `jest-config` in `/` from "22.4.2" to "22.4.3" [#3254](https://github.com/storybooks/storybook/pull/3254) -- Upgraded `jest-diff` in `/` from "22.4.0" to "22.4.3" [#3254](https://github.com/storybooks/storybook/pull/3254) -- Upgraded `jest-environment-jsdom` in `/` from "22.4.1" to "22.4.3" [#3254](https://github.com/storybooks/storybook/pull/3254) -- Upgraded `jest-jasmine2` in `/` from "22.4.2" to "22.4.3" [#3254](https://github.com/storybooks/storybook/pull/3254) -- Upgraded `keycode` in `lib/ui` from "2.1.9" to "2.2.0" [#3254](https://github.com/storybooks/storybook/pull/3254) -- Upgraded `autoprefixer` in `lib/core` from "8.0.0" to "8.1.0" [#3254](https://github.com/storybooks/storybook/pull/3254) -- Upgraded `babel-preset-vue` in `examples/vue-kitchen-sink` from "2.0.1" to "2.0.2" [#3254](https://github.com/storybooks/storybook/pull/3254) -- Upgraded `commander` in `/` from "2.15.0" to "2.15.1" [#3250](https://github.com/storybooks/storybook/pull/3250) -- Upgraded `danger` in `/` from "3.2.0" to "3.3.0" [#3250](https://github.com/storybooks/storybook/pull/3250) -- Upgraded `commander` in `lib/core` from "2.15.0" to "2.15.1" [#3250](https://github.com/storybooks/storybook/pull/3250) -- Upgraded `postcss-loader` in `lib/core` from "2.1.2" to "2.1.3" [#3250](https://github.com/storybooks/storybook/pull/3250) -- Upgraded `commander` in `app/react-native` from "2.15.0" to "2.15.1" [#3250](https://github.com/storybooks/storybook/pull/3250) -- Upgraded `commander` in `lib/cli` from "2.15.0" to "2.15.1" [#3250](https://github.com/storybooks/storybook/pull/3250) -- Core: upgrade autoprefixer from 7.2.6 to 8.0.0 & allow configuring browser list externally [#3076](https://github.com/storybooks/storybook/pull/3076) -- Update gatsby in /docs from 1.9.236 to 1.9.238 [#3249](https://github.com/storybooks/storybook/pull/3249) +- Update gatsby-transformer-remark in /docs from 1.7.38 to 1.7.39 [#3310](https://github.com/storybookjs/storybook/pull/3310) +- Upgraded `@types/react` in `addons/notes` from "16.0.41" to "16.1.0" [#3311](https://github.com/storybookjs/storybook/pull/3311) +- Upgraded `react-chromatic` in `examples/official-storybook` from "0.7.11" to "0.8.1" [#3311](https://github.com/storybookjs/storybook/pull/3311) +- Major upgrades for devDependencies [#3304](https://github.com/storybookjs/storybook/pull/3304) +- Upgraded `typescript` in `/` from "2.7.2" to "2.8.1" [#3303](https://github.com/storybookjs/storybook/pull/3303) +- Upgraded `core-js` in `app/react` from "2.5.3" to "2.5.4" [#3303](https://github.com/storybookjs/storybook/pull/3303) +- Upgraded `core-js` in `app/angular` from "2.5.3" to "2.5.4" [#3303](https://github.com/storybookjs/storybook/pull/3303) +- Upgraded `core-js` in `app/polymer` from "2.5.3" to "2.5.4" [#3303](https://github.com/storybookjs/storybook/pull/3303) +- Upgraded `core-js` in `app/vue` from "2.5.3" to "2.5.4" [#3303](https://github.com/storybookjs/storybook/pull/3303) +- Upgraded `core-js` in `examples/angular-cli` from "2.5.3" to "2.5.4" [#3303](https://github.com/storybookjs/storybook/pull/3303) +- Upgraded `typescript` in `examples/angular-cli` from "2.7.2" to "2.8.1" [#3303](https://github.com/storybookjs/storybook/pull/3303) +- Upgraded `gatsby-link` in `/docs` from "1.6.39" to "1.6.40" [#3300](https://github.com/storybookjs/storybook/pull/3300) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.59" to "1.5.60" [#3300](https://github.com/storybookjs/storybook/pull/3300) +- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.37" to "1.7.38" [#3300](https://github.com/storybookjs/storybook/pull/3300) +- Upgraded `gatsby` in `/docs` from "1.9.241" to "1.9.243" [#3300](https://github.com/storybookjs/storybook/pull/3300) +- Upgraded `webpack` in `app/react` from "4.2.0" to "4.3.0" [#3299](https://github.com/storybookjs/storybook/pull/3299) +- Upgraded `webpack` in `lib/core` from "4.2.0" to "4.3.0" [#3299](https://github.com/storybookjs/storybook/pull/3299) +- Upgraded `webpack-dev-middleware` in `lib/core` from "3.0.1" to "3.1.0" [#3299](https://github.com/storybookjs/storybook/pull/3299) +- Upgraded `webpack` in `app/angular` from "4.2.0" to "4.3.0" [#3299](https://github.com/storybookjs/storybook/pull/3299) +- Upgraded `webpack` in `app/polymer` from "4.2.0" to "4.3.0" [#3299](https://github.com/storybookjs/storybook/pull/3299) +- Upgraded `webpack` in `app/react-native` from "4.2.0" to "4.3.0" [#3299](https://github.com/storybookjs/storybook/pull/3299) +- Upgraded `webpack-dev-middleware` in `app/react-native` from "3.0.1" to "3.1.0" [#3299](https://github.com/storybookjs/storybook/pull/3299) +- Upgraded `webpack` in `app/vue` from "4.2.0" to "4.3.0" [#3299](https://github.com/storybookjs/storybook/pull/3299) +- Upgraded `webpack` in `examples/cra-kitchen-sink` from "4.2.0" to "4.3.0" [#3299](https://github.com/storybookjs/storybook/pull/3299) +- Upgraded `rxjs` in `examples/angular-cli` from "5.5.7" to "5.5.8" [#3299](https://github.com/storybookjs/storybook/pull/3299) +- Upgraded `webpack` in `examples/polymer-cli` from "4.2.0" to "4.3.0" [#3299](https://github.com/storybookjs/storybook/pull/3299) +- Upgraded `webpack` in `examples/vue-kitchen-sink` from "4.2.0" to "4.3.0" [#3299](https://github.com/storybookjs/storybook/pull/3299) +- Upgraded `inquirer` in `/` from "5.1.0" to "5.2.0" [#3294](https://github.com/storybookjs/storybook/pull/3294) +- Upgraded `marked` in `addons/notes` from "0.3.18" to "0.3.19" [#3294](https://github.com/storybookjs/storybook/pull/3294) +- Upgraded `update-notifier` in `lib/cli` from "2.3.0" to "2.4.0" [#3294](https://github.com/storybookjs/storybook/pull/3294) +- Update marked in /docs from 0.3.18 to 0.3.19 [#3292](https://github.com/storybookjs/storybook/pull/3292) +- Update gatsby in /docs from 1.9.240 to 1.9.241 [#3281](https://github.com/storybookjs/storybook/pull/3281) +- Update @types/react in addons/notes from 16.0.40 to 16.0.41 [#3282](https://github.com/storybookjs/storybook/pull/3282) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.56" to "1.5.59" [#3276](https://github.com/storybookjs/storybook/pull/3276) +- Upgraded `gatsby` in `/docs` from "1.9.239" to "1.9.240" [#3276](https://github.com/storybookjs/storybook/pull/3276) +- Upgraded `vue-loader` in `app/vue` from "14.2.1" to "14.2.2" [#3277](https://github.com/storybookjs/storybook/pull/3277) +- Upgraded `vue-loader` in `examples/vue-kitchen-sink` from "14.2.1" to "14.2.2" [#3277](https://github.com/storybookjs/storybook/pull/3277) +- Upgraded `eslint` in `/` from "4.19.0" to "4.19.1" [#3265](https://github.com/storybookjs/storybook/pull/3265) +- Upgraded `marked` in `addons/notes` from "0.3.17" to "0.3.18" [#3265](https://github.com/storybookjs/storybook/pull/3265) +- Upgraded `autoprefixer` in `lib/core` from "8.1.0" to "8.2.0" [#3265](https://github.com/storybookjs/storybook/pull/3265) +- Upgraded `@webcomponents/webcomponentsjs` in `app/polymer` from "1.1.0" to "1.1.1" [#3265](https://github.com/storybookjs/storybook/pull/3265) +- Upgraded `@types/node` in `examples/angular-cli` from "9.4.7" to "9.6.0" [#3265](https://github.com/storybookjs/storybook/pull/3265) +- Upgraded `@polymer/polymer` in `examples/polymer-cli` from "2.5.0" to "2.6.0" [#3265](https://github.com/storybookjs/storybook/pull/3265) +- Upgraded `@webcomponents/webcomponentsjs` in `examples/polymer-cli` from "1.1.0" to "1.1.1" [#3265](https://github.com/storybookjs/storybook/pull/3265) +- Update marked in /docs from 0.3.17 to 0.3.18 [#3264](https://github.com/storybookjs/storybook/pull/3264) +- Update gatsby in /docs from 1.9.238 to 1.9.239 [#3262](https://github.com/storybookjs/storybook/pull/3262) +- Upgraded `danger` in `/` from "3.3.0" to "3.3.2" [#3254](https://github.com/storybookjs/storybook/pull/3254) +- Upgraded `jest` in `/` from "22.4.2" to "22.4.3" [#3254](https://github.com/storybookjs/storybook/pull/3254) +- Upgraded `jest-cli` in `/` from "22.4.2" to "22.4.3" [#3254](https://github.com/storybookjs/storybook/pull/3254) +- Upgraded `jest-config` in `/` from "22.4.2" to "22.4.3" [#3254](https://github.com/storybookjs/storybook/pull/3254) +- Upgraded `jest-diff` in `/` from "22.4.0" to "22.4.3" [#3254](https://github.com/storybookjs/storybook/pull/3254) +- Upgraded `jest-environment-jsdom` in `/` from "22.4.1" to "22.4.3" [#3254](https://github.com/storybookjs/storybook/pull/3254) +- Upgraded `jest-jasmine2` in `/` from "22.4.2" to "22.4.3" [#3254](https://github.com/storybookjs/storybook/pull/3254) +- Upgraded `keycode` in `lib/ui` from "2.1.9" to "2.2.0" [#3254](https://github.com/storybookjs/storybook/pull/3254) +- Upgraded `autoprefixer` in `lib/core` from "8.0.0" to "8.1.0" [#3254](https://github.com/storybookjs/storybook/pull/3254) +- Upgraded `babel-preset-vue` in `examples/vue-kitchen-sink` from "2.0.1" to "2.0.2" [#3254](https://github.com/storybookjs/storybook/pull/3254) +- Upgraded `commander` in `/` from "2.15.0" to "2.15.1" [#3250](https://github.com/storybookjs/storybook/pull/3250) +- Upgraded `danger` in `/` from "3.2.0" to "3.3.0" [#3250](https://github.com/storybookjs/storybook/pull/3250) +- Upgraded `commander` in `lib/core` from "2.15.0" to "2.15.1" [#3250](https://github.com/storybookjs/storybook/pull/3250) +- Upgraded `postcss-loader` in `lib/core` from "2.1.2" to "2.1.3" [#3250](https://github.com/storybookjs/storybook/pull/3250) +- Upgraded `commander` in `app/react-native` from "2.15.0" to "2.15.1" [#3250](https://github.com/storybookjs/storybook/pull/3250) +- Upgraded `commander` in `lib/cli` from "2.15.0" to "2.15.1" [#3250](https://github.com/storybookjs/storybook/pull/3250) +- Core: upgrade autoprefixer from 7.2.6 to 8.0.0 & allow configuring browser list externally [#3076](https://github.com/storybookjs/storybook/pull/3076) +- Update gatsby in /docs from 1.9.236 to 1.9.238 [#3249](https://github.com/storybookjs/storybook/pull/3249) @@ -3373,12 +3837,12 @@ Read on for more improvements, fixes. In addition, there are hundreds of depende #### Bug Fixes -- CLI: add error handling for latest_version helper [#3297](https://github.com/storybooks/storybook/pull/3297) -- Refactor CLI to use `npm` and `yarn` instead of third party packages [#3275](https://github.com/storybooks/storybook/pull/3275) -- Fix issue when extending webpack config [#3279](https://github.com/storybooks/storybook/pull/3279) -- Object proptype is shown in addon-info proptable [#3255](https://github.com/storybooks/storybook/pull/3255) -- Fix storyshots renderer and serializer options [#3252](https://github.com/storybooks/storybook/pull/3252) -- Angular: use resolveLoader from cliCommonConfig [#3251](https://github.com/storybooks/storybook/pull/3251) +- CLI: add error handling for latest_version helper [#3297](https://github.com/storybookjs/storybook/pull/3297) +- Refactor CLI to use `npm` and `yarn` instead of third party packages [#3275](https://github.com/storybookjs/storybook/pull/3275) +- Fix issue when extending webpack config [#3279](https://github.com/storybookjs/storybook/pull/3279) +- Object proptype is shown in addon-info proptable [#3255](https://github.com/storybookjs/storybook/pull/3255) +- Fix storyshots renderer and serializer options [#3252](https://github.com/storybookjs/storybook/pull/3252) +- Angular: use resolveLoader from cliCommonConfig [#3251](https://github.com/storybookjs/storybook/pull/3251) ## 3.4.0-rc.3 @@ -3386,8 +3850,8 @@ Read on for more improvements, fixes. In addition, there are hundreds of depende #### Documentation -- Add example for @ngrx/store [#3233](https://github.com/storybooks/storybook/pull/3233) -- Fix missing declaration in Angular example [#3213](https://github.com/storybooks/storybook/pull/3213) +- Add example for @ngrx/store [#3233](https://github.com/storybookjs/storybook/pull/3233) +- Fix missing declaration in Angular example [#3213](https://github.com/storybookjs/storybook/pull/3213) #### Dependency Upgrades @@ -3396,64 +3860,64 @@ Read on for more improvements, fixes. In addition, there are hundreds of depende 58 Updates -- Update node-sass in app/angular from 4.8.2 to 4.8.3 [#3239](https://github.com/storybooks/storybook/pull/3239) -- Update postcss-loader in lib/core from 2.1.1 to 2.1.2 [#3234](https://github.com/storybooks/storybook/pull/3234) -- Upgraded `eslint` in `/` from "4.18.2" to "4.19.0" [#3230](https://github.com/storybooks/storybook/pull/3230) -- Upgraded `graphql` in `addons/graphql` from "0.13.1" to "0.13.2" [#3230](https://github.com/storybooks/storybook/pull/3230) -- Update gatsby in /docs from 1.9.233 to 1.9.236 [#3229](https://github.com/storybooks/storybook/pull/3229) -- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.36" to "1.7.37" [#3226](https://github.com/storybooks/storybook/pull/3226) -- Upgraded `gatsby` in `/docs` from "1.9.232" to "1.9.233" [#3226](https://github.com/storybooks/storybook/pull/3226) -- Upgraded `uglifyjs-webpack-plugin` in `app/react` from "1.2.3" to "1.2.4" [#3227](https://github.com/storybooks/storybook/pull/3227) -- Upgraded `puppeteer` in `addons/storyshots` from "1.1.1" to "1.2.0" [#3227](https://github.com/storybooks/storybook/pull/3227) -- Upgraded `enzyme-to-json` in `addons/storyshots` from "3.3.1" to "3.3.3" [#3227](https://github.com/storybooks/storybook/pull/3227) -- Upgraded `css-loader` in `lib/core` from "0.28.10" to "0.28.11" [#3227](https://github.com/storybooks/storybook/pull/3227) -- Upgraded `uglifyjs-webpack-plugin` in `app/angular` from "1.2.3" to "1.2.4" [#3227](https://github.com/storybooks/storybook/pull/3227) -- Upgraded `uglifyjs-webpack-plugin` in `app/polymer` from "1.2.3" to "1.2.4" [#3227](https://github.com/storybooks/storybook/pull/3227) -- Upgraded `uglifyjs-webpack-plugin` in `app/react-native` from "1.2.3" to "1.2.4" [#3227](https://github.com/storybooks/storybook/pull/3227) -- Upgraded `uglifyjs-webpack-plugin` in `app/vue` from "1.2.3" to "1.2.4" [#3227](https://github.com/storybooks/storybook/pull/3227) -- Upgraded `enzyme-to-json` in `examples/cra-kitchen-sink` from "3.3.1" to "3.3.3" [#3227](https://github.com/storybooks/storybook/pull/3227) -- Upgraded `enzyme-to-json` in `examples/official-storybook` from "3.3.1" to "3.3.3" [#3227](https://github.com/storybooks/storybook/pull/3227) -- Upgraded `@angular/common` in `/` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybooks/storybook/pull/3219) -- Upgraded `@angular/compiler` in `/` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybooks/storybook/pull/3219) -- Upgraded `@angular/core` in `/` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybooks/storybook/pull/3219) -- Upgraded `@angular/forms` in `/` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybooks/storybook/pull/3219) -- Upgraded `@angular/platform-browser` in `/` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybooks/storybook/pull/3219) -- Upgraded `@angular/platform-browser-dynamic` in `/` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybooks/storybook/pull/3219) -- Upgraded `danger` in `/` from "3.1.8" to "3.2.0" [#3219](https://github.com/storybooks/storybook/pull/3219) -- Upgraded `eslint-plugin-jest` in `/` from "21.14.1" to "21.15.0" [#3219](https://github.com/storybooks/storybook/pull/3219) -- Upgraded `jest-vue-preprocessor` in `/` from "1.3.1" to "1.4.0" [#3219](https://github.com/storybooks/storybook/pull/3219) -- Upgraded `react-chromatic` in `examples/official-storybook` from "0.7.10" to "0.7.11" [#3219](https://github.com/storybooks/storybook/pull/3219) -- Upgraded `@angular/common` in `examples/angular-cli` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybooks/storybook/pull/3219) -- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybooks/storybook/pull/3219) -- Upgraded `@angular/core` in `examples/angular-cli` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybooks/storybook/pull/3219) -- Upgraded `@angular/forms` in `examples/angular-cli` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybooks/storybook/pull/3219) -- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybooks/storybook/pull/3219) -- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybooks/storybook/pull/3219) -- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybooks/storybook/pull/3219) -- Upgraded `eslint-plugin-jest` in `/` from "21.14.0" to "21.14.1" [#3210](https://github.com/storybooks/storybook/pull/3210) -- Upgraded `jest-image-snapshot` in `/` from "2.3.0" to "2.4.0" [#3210](https://github.com/storybooks/storybook/pull/3210) -- Upgraded `nodemon` in `app/react` from "1.17.1" to "1.17.2" [#3210](https://github.com/storybooks/storybook/pull/3210) -- Upgraded `vue` in `addons/knobs` from "2.5.15" to "2.5.16" [#3210](https://github.com/storybooks/storybook/pull/3210) -- Upgraded `jest-image-snapshot` in `addons/storyshots` from "2.3.0" to "2.4.0" [#3210](https://github.com/storybooks/storybook/pull/3210) -- Upgraded `nodemon` in `app/angular` from "1.17.1" to "1.17.2" [#3210](https://github.com/storybooks/storybook/pull/3210) -- Upgraded `nodemon` in `app/polymer` from "1.17.1" to "1.17.2" [#3210](https://github.com/storybooks/storybook/pull/3210) -- Upgraded `nodemon` in `app/vue` from "1.17.1" to "1.17.2" [#3210](https://github.com/storybooks/storybook/pull/3210) -- Upgraded `vue` in `app/vue` from "2.5.15" to "2.5.16" [#3210](https://github.com/storybooks/storybook/pull/3210) -- Upgraded `vue-template-compiler` in `app/vue` from "2.5.15" to "2.5.16" [#3210](https://github.com/storybooks/storybook/pull/3210) -- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.15" to "2.5.16" [#3210](https://github.com/storybooks/storybook/pull/3210) -- Upgraded `tslint-config-prettier` in `/` from "1.9.0" to "1.10.0" [#3201](https://github.com/storybooks/storybook/pull/3201) -- Upgraded `glamorous` in `app/react` from "4.12.0" to "4.12.1" [#3201](https://github.com/storybooks/storybook/pull/3201) -- Upgraded `glamorous` in `addons/actions` from "4.12.0" to "4.12.1" [#3201](https://github.com/storybooks/storybook/pull/3201) -- Upgraded `glamorous` in `lib/components` from "4.12.0" to "4.12.1" [#3201](https://github.com/storybooks/storybook/pull/3201) -- Upgraded `glamorous` in `addons/a11y` from "4.12.0" to "4.12.1" [#3201](https://github.com/storybooks/storybook/pull/3201) -- Upgraded `glamorous` in `addons/info` from "4.12.0" to "4.12.1" [#3201](https://github.com/storybooks/storybook/pull/3201) -- Upgraded `glamorous` in `addons/jest` from "4.12.0" to "4.12.1" [#3201](https://github.com/storybooks/storybook/pull/3201) -- Upgraded `react-modal` in `lib/ui` from "3.3.1" to "3.3.2" [#3201](https://github.com/storybooks/storybook/pull/3201) -- Upgraded `express` in `lib/core` from "4.16.2" to "4.16.3" [#3201](https://github.com/storybooks/storybook/pull/3201) -- Upgraded `node-sass` in `app/angular` from "4.8.1" to "4.8.2" [#3201](https://github.com/storybooks/storybook/pull/3201) -- Upgraded `express` in `app/react-native` from "4.16.2" to "4.16.3" [#3201](https://github.com/storybooks/storybook/pull/3201) -- Upgraded `rxjs` in `examples/angular-cli` from "5.5.6" to "5.5.7" [#3201](https://github.com/storybooks/storybook/pull/3201) -- Update gatsby in /docs from 1.9.231 to 1.9.232 [#3200](https://github.com/storybooks/storybook/pull/3200) +- Update node-sass in app/angular from 4.8.2 to 4.8.3 [#3239](https://github.com/storybookjs/storybook/pull/3239) +- Update postcss-loader in lib/core from 2.1.1 to 2.1.2 [#3234](https://github.com/storybookjs/storybook/pull/3234) +- Upgraded `eslint` in `/` from "4.18.2" to "4.19.0" [#3230](https://github.com/storybookjs/storybook/pull/3230) +- Upgraded `graphql` in `addons/graphql` from "0.13.1" to "0.13.2" [#3230](https://github.com/storybookjs/storybook/pull/3230) +- Update gatsby in /docs from 1.9.233 to 1.9.236 [#3229](https://github.com/storybookjs/storybook/pull/3229) +- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.36" to "1.7.37" [#3226](https://github.com/storybookjs/storybook/pull/3226) +- Upgraded `gatsby` in `/docs` from "1.9.232" to "1.9.233" [#3226](https://github.com/storybookjs/storybook/pull/3226) +- Upgraded `uglifyjs-webpack-plugin` in `app/react` from "1.2.3" to "1.2.4" [#3227](https://github.com/storybookjs/storybook/pull/3227) +- Upgraded `puppeteer` in `addons/storyshots` from "1.1.1" to "1.2.0" [#3227](https://github.com/storybookjs/storybook/pull/3227) +- Upgraded `enzyme-to-json` in `addons/storyshots` from "3.3.1" to "3.3.3" [#3227](https://github.com/storybookjs/storybook/pull/3227) +- Upgraded `css-loader` in `lib/core` from "0.28.10" to "0.28.11" [#3227](https://github.com/storybookjs/storybook/pull/3227) +- Upgraded `uglifyjs-webpack-plugin` in `app/angular` from "1.2.3" to "1.2.4" [#3227](https://github.com/storybookjs/storybook/pull/3227) +- Upgraded `uglifyjs-webpack-plugin` in `app/polymer` from "1.2.3" to "1.2.4" [#3227](https://github.com/storybookjs/storybook/pull/3227) +- Upgraded `uglifyjs-webpack-plugin` in `app/react-native` from "1.2.3" to "1.2.4" [#3227](https://github.com/storybookjs/storybook/pull/3227) +- Upgraded `uglifyjs-webpack-plugin` in `app/vue` from "1.2.3" to "1.2.4" [#3227](https://github.com/storybookjs/storybook/pull/3227) +- Upgraded `enzyme-to-json` in `examples/cra-kitchen-sink` from "3.3.1" to "3.3.3" [#3227](https://github.com/storybookjs/storybook/pull/3227) +- Upgraded `enzyme-to-json` in `examples/official-storybook` from "3.3.1" to "3.3.3" [#3227](https://github.com/storybookjs/storybook/pull/3227) +- Upgraded `@angular/common` in `/` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybookjs/storybook/pull/3219) +- Upgraded `@angular/compiler` in `/` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybookjs/storybook/pull/3219) +- Upgraded `@angular/core` in `/` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybookjs/storybook/pull/3219) +- Upgraded `@angular/forms` in `/` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybookjs/storybook/pull/3219) +- Upgraded `@angular/platform-browser` in `/` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybookjs/storybook/pull/3219) +- Upgraded `@angular/platform-browser-dynamic` in `/` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybookjs/storybook/pull/3219) +- Upgraded `danger` in `/` from "3.1.8" to "3.2.0" [#3219](https://github.com/storybookjs/storybook/pull/3219) +- Upgraded `eslint-plugin-jest` in `/` from "21.14.1" to "21.15.0" [#3219](https://github.com/storybookjs/storybook/pull/3219) +- Upgraded `jest-vue-preprocessor` in `/` from "1.3.1" to "1.4.0" [#3219](https://github.com/storybookjs/storybook/pull/3219) +- Upgraded `react-chromatic` in `examples/official-storybook` from "0.7.10" to "0.7.11" [#3219](https://github.com/storybookjs/storybook/pull/3219) +- Upgraded `@angular/common` in `examples/angular-cli` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybookjs/storybook/pull/3219) +- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybookjs/storybook/pull/3219) +- Upgraded `@angular/core` in `examples/angular-cli` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybookjs/storybook/pull/3219) +- Upgraded `@angular/forms` in `examples/angular-cli` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybookjs/storybook/pull/3219) +- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybookjs/storybook/pull/3219) +- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybookjs/storybook/pull/3219) +- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.2.8" to "5.2.9" [#3219](https://github.com/storybookjs/storybook/pull/3219) +- Upgraded `eslint-plugin-jest` in `/` from "21.14.0" to "21.14.1" [#3210](https://github.com/storybookjs/storybook/pull/3210) +- Upgraded `jest-image-snapshot` in `/` from "2.3.0" to "2.4.0" [#3210](https://github.com/storybookjs/storybook/pull/3210) +- Upgraded `nodemon` in `app/react` from "1.17.1" to "1.17.2" [#3210](https://github.com/storybookjs/storybook/pull/3210) +- Upgraded `vue` in `addons/knobs` from "2.5.15" to "2.5.16" [#3210](https://github.com/storybookjs/storybook/pull/3210) +- Upgraded `jest-image-snapshot` in `addons/storyshots` from "2.3.0" to "2.4.0" [#3210](https://github.com/storybookjs/storybook/pull/3210) +- Upgraded `nodemon` in `app/angular` from "1.17.1" to "1.17.2" [#3210](https://github.com/storybookjs/storybook/pull/3210) +- Upgraded `nodemon` in `app/polymer` from "1.17.1" to "1.17.2" [#3210](https://github.com/storybookjs/storybook/pull/3210) +- Upgraded `nodemon` in `app/vue` from "1.17.1" to "1.17.2" [#3210](https://github.com/storybookjs/storybook/pull/3210) +- Upgraded `vue` in `app/vue` from "2.5.15" to "2.5.16" [#3210](https://github.com/storybookjs/storybook/pull/3210) +- Upgraded `vue-template-compiler` in `app/vue` from "2.5.15" to "2.5.16" [#3210](https://github.com/storybookjs/storybook/pull/3210) +- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.15" to "2.5.16" [#3210](https://github.com/storybookjs/storybook/pull/3210) +- Upgraded `tslint-config-prettier` in `/` from "1.9.0" to "1.10.0" [#3201](https://github.com/storybookjs/storybook/pull/3201) +- Upgraded `glamorous` in `app/react` from "4.12.0" to "4.12.1" [#3201](https://github.com/storybookjs/storybook/pull/3201) +- Upgraded `glamorous` in `addons/actions` from "4.12.0" to "4.12.1" [#3201](https://github.com/storybookjs/storybook/pull/3201) +- Upgraded `glamorous` in `lib/components` from "4.12.0" to "4.12.1" [#3201](https://github.com/storybookjs/storybook/pull/3201) +- Upgraded `glamorous` in `addons/a11y` from "4.12.0" to "4.12.1" [#3201](https://github.com/storybookjs/storybook/pull/3201) +- Upgraded `glamorous` in `addons/info` from "4.12.0" to "4.12.1" [#3201](https://github.com/storybookjs/storybook/pull/3201) +- Upgraded `glamorous` in `addons/jest` from "4.12.0" to "4.12.1" [#3201](https://github.com/storybookjs/storybook/pull/3201) +- Upgraded `react-modal` in `lib/ui` from "3.3.1" to "3.3.2" [#3201](https://github.com/storybookjs/storybook/pull/3201) +- Upgraded `express` in `lib/core` from "4.16.2" to "4.16.3" [#3201](https://github.com/storybookjs/storybook/pull/3201) +- Upgraded `node-sass` in `app/angular` from "4.8.1" to "4.8.2" [#3201](https://github.com/storybookjs/storybook/pull/3201) +- Upgraded `express` in `app/react-native` from "4.16.2" to "4.16.3" [#3201](https://github.com/storybookjs/storybook/pull/3201) +- Upgraded `rxjs` in `examples/angular-cli` from "5.5.6" to "5.5.7" [#3201](https://github.com/storybookjs/storybook/pull/3201) +- Update gatsby in /docs from 1.9.231 to 1.9.232 [#3200](https://github.com/storybookjs/storybook/pull/3200) @@ -3463,7 +3927,7 @@ Read on for more improvements, fixes. In addition, there are hundreds of depende Fix publishing options to use exact versions for cross-dependencies per this change: -- use exact versions for cross-dependencies between our own packages [#3183](https://github.com/storybooks/storybook/pull/3183) +- use exact versions for cross-dependencies between our own packages [#3183](https://github.com/storybookjs/storybook/pull/3183) ## 3.4.0-rc.1 @@ -3471,17 +3935,17 @@ Fix publishing options to use exact versions for cross-dependencies per this cha #### Features -- Fix screenshots tests & add getScreenshotOption to storyshots [#3102](https://github.com/storybooks/storybook/pull/3102) +- Fix screenshots tests & add getScreenshotOption to storyshots [#3102](https://github.com/storybookjs/storybook/pull/3102) #### Bug Fixes -- Delaying update of height and width in Layout [#3180](https://github.com/storybooks/storybook/pull/3180) -- Add 'waitUntil' option to puppeteer of storyshots [#3156](https://github.com/storybooks/storybook/pull/3156) -- Move polymer loader to peerDependencies [#3161](https://github.com/storybooks/storybook/pull/3161) +- Delaying update of height and width in Layout [#3180](https://github.com/storybookjs/storybook/pull/3180) +- Add 'waitUntil' option to puppeteer of storyshots [#3156](https://github.com/storybookjs/storybook/pull/3156) +- Move polymer loader to peerDependencies [#3161](https://github.com/storybookjs/storybook/pull/3161) #### Maintenance -- Feature-freeze master [#3149](https://github.com/storybooks/storybook/pull/3149) +- Feature-freeze master [#3149](https://github.com/storybookjs/storybook/pull/3149) #### Dependency Upgrades @@ -3490,63 +3954,63 @@ Fix publishing options to use exact versions for cross-dependencies per this cha 57 updates -- Update danger in / from 3.1.7 to 3.1.8 [#3191](https://github.com/storybooks/storybook/pull/3191) -- Upgraded `polymer-webpack-loader` in `/` from "2.0.1" to "2.0.2" [#3184](https://github.com/storybooks/storybook/pull/3184) -- Upgraded `uglifyjs-webpack-plugin` in `app/react` from "1.2.2" to "1.2.3" [#3184](https://github.com/storybooks/storybook/pull/3184) -- Upgraded `vue` in `addons/knobs` from "2.5.14" to "2.5.15" [#3184](https://github.com/storybooks/storybook/pull/3184) -- Upgraded `node-sass` in `app/angular` from "4.7.2" to "4.8.1" [#3184](https://github.com/storybooks/storybook/pull/3184) -- Upgraded `uglifyjs-webpack-plugin` in `app/angular` from "1.2.2" to "1.2.3" [#3184](https://github.com/storybooks/storybook/pull/3184) -- Upgraded `uglifyjs-webpack-plugin` in `app/polymer` from "1.2.2" to "1.2.3" [#3184](https://github.com/storybooks/storybook/pull/3184) -- Upgraded `polymer-webpack-loader` in `app/polymer` from "2.0.1" to "2.0.2" [#3184](https://github.com/storybooks/storybook/pull/3184) -- Upgraded `uglifyjs-webpack-plugin` in `app/react-native` from "1.2.2" to "1.2.3" [#3184](https://github.com/storybooks/storybook/pull/3184) -- Upgraded `uglifyjs-webpack-plugin` in `app/vue` from "1.2.2" to "1.2.3" [#3184](https://github.com/storybooks/storybook/pull/3184) -- Upgraded `vue` in `app/vue` from "2.5.14" to "2.5.15" [#3184](https://github.com/storybooks/storybook/pull/3184) -- Upgraded `vue-template-compiler` in `app/vue` from "2.5.14" to "2.5.15" [#3184](https://github.com/storybooks/storybook/pull/3184) -- Upgraded `polymer-webpack-loader` in `examples/polymer-cli` from "2.0.1" to "2.0.2" [#3184](https://github.com/storybooks/storybook/pull/3184) -- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.14" to "2.5.15" [#3184](https://github.com/storybooks/storybook/pull/3184) -- Update eslint-plugin-jest in / from 21.13.0 to 21.14.0 [#3182](https://github.com/storybooks/storybook/pull/3182) -- Upgraded `cross-env` in `/` from "5.1.3" to "5.1.4" [#3179](https://github.com/storybooks/storybook/pull/3179) -- Upgraded `jest-preset-angular` in `/` from "5.2.0" to "5.2.1" [#3179](https://github.com/storybooks/storybook/pull/3179) -- Upgraded `@types/react` in `addons/notes` from "16.0.34" to "16.0.40" [#3179](https://github.com/storybooks/storybook/pull/3179) -- Upgraded `style-loader` in `addons/knobs` from "0.20.2" to "0.20.3" [#3179](https://github.com/storybooks/storybook/pull/3179) -- Upgraded `vue` in `addons/knobs` from "2.5.13" to "2.5.14" [#3179](https://github.com/storybooks/storybook/pull/3179) -- Upgraded `style-loader` in `lib/core` from "0.20.2" to "0.20.3" [#3179](https://github.com/storybooks/storybook/pull/3179) -- Upgraded `cross-env` in `app/angular` from "5.1.3" to "5.1.4" [#3179](https://github.com/storybooks/storybook/pull/3179) -- Upgraded `copy-webpack-plugin` in `app/polymer` from "4.5.0" to "4.5.1" [#3179](https://github.com/storybooks/storybook/pull/3179) -- Upgraded `vue` in `app/vue` from "2.5.13" to "2.5.14" [#3179](https://github.com/storybooks/storybook/pull/3179) -- Upgraded `vue-template-compiler` in `app/vue` from "2.5.13" to "2.5.14" [#3179](https://github.com/storybooks/storybook/pull/3179) -- Upgraded `@types/node` in `examples/angular-cli` from "9.4.6" to "9.4.7" [#3179](https://github.com/storybooks/storybook/pull/3179) -- Upgraded `copy-webpack-plugin` in `examples/polymer-cli` from "4.5.0" to "4.5.1" [#3179](https://github.com/storybooks/storybook/pull/3179) -- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.13" to "2.5.14" [#3179](https://github.com/storybooks/storybook/pull/3179) -- Upgraded `cross-env` in `examples/vue-kitchen-sink` from "5.1.3" to "5.1.4" [#3179](https://github.com/storybooks/storybook/pull/3179) -- Upgraded `gatsby-link` in `/docs` from "1.6.38" to "1.6.39" [#3171](https://github.com/storybooks/storybook/pull/3171) -- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.39" to "1.6.41" [#3171](https://github.com/storybooks/storybook/pull/3171) -- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.26" to "1.5.27" [#3171](https://github.com/storybooks/storybook/pull/3171) -- Upgraded `gatsby` in `/docs` from "1.9.225" to "1.9.231" [#3171](https://github.com/storybooks/storybook/pull/3171) -- Upgraded `@angular/common` in `/` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybooks/storybook/pull/3170) -- Upgraded `@angular/compiler` in `/` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybooks/storybook/pull/3170) -- Upgraded `@angular/core` in `/` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybooks/storybook/pull/3170) -- Upgraded `@angular/forms` in `/` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybooks/storybook/pull/3170) -- Upgraded `@angular/platform-browser` in `/` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybooks/storybook/pull/3170) -- Upgraded `@angular/platform-browser-dynamic` in `/` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybooks/storybook/pull/3170) -- Upgraded `commander` in `/` from "2.14.1" to "2.15.0" [#3170](https://github.com/storybooks/storybook/pull/3170) -- Upgraded `acorn` in `addons/storysource` from "5.5.1" to "5.5.3" [#3170](https://github.com/storybooks/storybook/pull/3170) -- Upgraded `enzyme-to-json` in `addons/storyshots` from "3.3.1" to "3.3.2" [#3170](https://github.com/storybooks/storybook/pull/3170) -- Upgraded `commander` in `lib/core` from "2.14.1" to "2.15.0" [#3170](https://github.com/storybooks/storybook/pull/3170) -- Upgraded `commander` in `app/react-native` from "2.14.1" to "2.15.0" [#3170](https://github.com/storybooks/storybook/pull/3170) -- Upgraded `enzyme-to-json` in `examples/cra-kitchen-sink` from "3.3.1" to "3.3.2" [#3170](https://github.com/storybooks/storybook/pull/3170) -- Upgraded `enzyme-to-json` in `examples/official-storybook` from "3.3.1" to "3.3.2" [#3170](https://github.com/storybooks/storybook/pull/3170) -- Upgraded `commander` in `lib/cli` from "2.14.1" to "2.15.0" [#3170](https://github.com/storybooks/storybook/pull/3170) -- Upgraded `@angular/common` in `examples/angular-cli` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybooks/storybook/pull/3170) -- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybooks/storybook/pull/3170) -- Upgraded `@angular/core` in `examples/angular-cli` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybooks/storybook/pull/3170) -- Upgraded `@angular/forms` in `examples/angular-cli` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybooks/storybook/pull/3170) -- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybooks/storybook/pull/3170) -- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybooks/storybook/pull/3170) -- Upgraded `@angular/cli` in `examples/angular-cli` from "1.7.2" to "1.7.3" [#3170](https://github.com/storybooks/storybook/pull/3170) -- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybooks/storybook/pull/3170) -- use exact versions for cross-dependencies between our own packages [#3183](https://github.com/storybooks/storybook/pull/3183) -- Move "@types/react" to dev dependencies [#3169](https://github.com/storybooks/storybook/pull/3169) +- Update danger in / from 3.1.7 to 3.1.8 [#3191](https://github.com/storybookjs/storybook/pull/3191) +- Upgraded `polymer-webpack-loader` in `/` from "2.0.1" to "2.0.2" [#3184](https://github.com/storybookjs/storybook/pull/3184) +- Upgraded `uglifyjs-webpack-plugin` in `app/react` from "1.2.2" to "1.2.3" [#3184](https://github.com/storybookjs/storybook/pull/3184) +- Upgraded `vue` in `addons/knobs` from "2.5.14" to "2.5.15" [#3184](https://github.com/storybookjs/storybook/pull/3184) +- Upgraded `node-sass` in `app/angular` from "4.7.2" to "4.8.1" [#3184](https://github.com/storybookjs/storybook/pull/3184) +- Upgraded `uglifyjs-webpack-plugin` in `app/angular` from "1.2.2" to "1.2.3" [#3184](https://github.com/storybookjs/storybook/pull/3184) +- Upgraded `uglifyjs-webpack-plugin` in `app/polymer` from "1.2.2" to "1.2.3" [#3184](https://github.com/storybookjs/storybook/pull/3184) +- Upgraded `polymer-webpack-loader` in `app/polymer` from "2.0.1" to "2.0.2" [#3184](https://github.com/storybookjs/storybook/pull/3184) +- Upgraded `uglifyjs-webpack-plugin` in `app/react-native` from "1.2.2" to "1.2.3" [#3184](https://github.com/storybookjs/storybook/pull/3184) +- Upgraded `uglifyjs-webpack-plugin` in `app/vue` from "1.2.2" to "1.2.3" [#3184](https://github.com/storybookjs/storybook/pull/3184) +- Upgraded `vue` in `app/vue` from "2.5.14" to "2.5.15" [#3184](https://github.com/storybookjs/storybook/pull/3184) +- Upgraded `vue-template-compiler` in `app/vue` from "2.5.14" to "2.5.15" [#3184](https://github.com/storybookjs/storybook/pull/3184) +- Upgraded `polymer-webpack-loader` in `examples/polymer-cli` from "2.0.1" to "2.0.2" [#3184](https://github.com/storybookjs/storybook/pull/3184) +- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.14" to "2.5.15" [#3184](https://github.com/storybookjs/storybook/pull/3184) +- Update eslint-plugin-jest in / from 21.13.0 to 21.14.0 [#3182](https://github.com/storybookjs/storybook/pull/3182) +- Upgraded `cross-env` in `/` from "5.1.3" to "5.1.4" [#3179](https://github.com/storybookjs/storybook/pull/3179) +- Upgraded `jest-preset-angular` in `/` from "5.2.0" to "5.2.1" [#3179](https://github.com/storybookjs/storybook/pull/3179) +- Upgraded `@types/react` in `addons/notes` from "16.0.34" to "16.0.40" [#3179](https://github.com/storybookjs/storybook/pull/3179) +- Upgraded `style-loader` in `addons/knobs` from "0.20.2" to "0.20.3" [#3179](https://github.com/storybookjs/storybook/pull/3179) +- Upgraded `vue` in `addons/knobs` from "2.5.13" to "2.5.14" [#3179](https://github.com/storybookjs/storybook/pull/3179) +- Upgraded `style-loader` in `lib/core` from "0.20.2" to "0.20.3" [#3179](https://github.com/storybookjs/storybook/pull/3179) +- Upgraded `cross-env` in `app/angular` from "5.1.3" to "5.1.4" [#3179](https://github.com/storybookjs/storybook/pull/3179) +- Upgraded `copy-webpack-plugin` in `app/polymer` from "4.5.0" to "4.5.1" [#3179](https://github.com/storybookjs/storybook/pull/3179) +- Upgraded `vue` in `app/vue` from "2.5.13" to "2.5.14" [#3179](https://github.com/storybookjs/storybook/pull/3179) +- Upgraded `vue-template-compiler` in `app/vue` from "2.5.13" to "2.5.14" [#3179](https://github.com/storybookjs/storybook/pull/3179) +- Upgraded `@types/node` in `examples/angular-cli` from "9.4.6" to "9.4.7" [#3179](https://github.com/storybookjs/storybook/pull/3179) +- Upgraded `copy-webpack-plugin` in `examples/polymer-cli` from "4.5.0" to "4.5.1" [#3179](https://github.com/storybookjs/storybook/pull/3179) +- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.13" to "2.5.14" [#3179](https://github.com/storybookjs/storybook/pull/3179) +- Upgraded `cross-env` in `examples/vue-kitchen-sink` from "5.1.3" to "5.1.4" [#3179](https://github.com/storybookjs/storybook/pull/3179) +- Upgraded `gatsby-link` in `/docs` from "1.6.38" to "1.6.39" [#3171](https://github.com/storybookjs/storybook/pull/3171) +- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.39" to "1.6.41" [#3171](https://github.com/storybookjs/storybook/pull/3171) +- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.26" to "1.5.27" [#3171](https://github.com/storybookjs/storybook/pull/3171) +- Upgraded `gatsby` in `/docs` from "1.9.225" to "1.9.231" [#3171](https://github.com/storybookjs/storybook/pull/3171) +- Upgraded `@angular/common` in `/` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybookjs/storybook/pull/3170) +- Upgraded `@angular/compiler` in `/` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybookjs/storybook/pull/3170) +- Upgraded `@angular/core` in `/` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybookjs/storybook/pull/3170) +- Upgraded `@angular/forms` in `/` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybookjs/storybook/pull/3170) +- Upgraded `@angular/platform-browser` in `/` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybookjs/storybook/pull/3170) +- Upgraded `@angular/platform-browser-dynamic` in `/` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybookjs/storybook/pull/3170) +- Upgraded `commander` in `/` from "2.14.1" to "2.15.0" [#3170](https://github.com/storybookjs/storybook/pull/3170) +- Upgraded `acorn` in `addons/storysource` from "5.5.1" to "5.5.3" [#3170](https://github.com/storybookjs/storybook/pull/3170) +- Upgraded `enzyme-to-json` in `addons/storyshots` from "3.3.1" to "3.3.2" [#3170](https://github.com/storybookjs/storybook/pull/3170) +- Upgraded `commander` in `lib/core` from "2.14.1" to "2.15.0" [#3170](https://github.com/storybookjs/storybook/pull/3170) +- Upgraded `commander` in `app/react-native` from "2.14.1" to "2.15.0" [#3170](https://github.com/storybookjs/storybook/pull/3170) +- Upgraded `enzyme-to-json` in `examples/cra-kitchen-sink` from "3.3.1" to "3.3.2" [#3170](https://github.com/storybookjs/storybook/pull/3170) +- Upgraded `enzyme-to-json` in `examples/official-storybook` from "3.3.1" to "3.3.2" [#3170](https://github.com/storybookjs/storybook/pull/3170) +- Upgraded `commander` in `lib/cli` from "2.14.1" to "2.15.0" [#3170](https://github.com/storybookjs/storybook/pull/3170) +- Upgraded `@angular/common` in `examples/angular-cli` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybookjs/storybook/pull/3170) +- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybookjs/storybook/pull/3170) +- Upgraded `@angular/core` in `examples/angular-cli` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybookjs/storybook/pull/3170) +- Upgraded `@angular/forms` in `examples/angular-cli` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybookjs/storybook/pull/3170) +- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybookjs/storybook/pull/3170) +- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybookjs/storybook/pull/3170) +- Upgraded `@angular/cli` in `examples/angular-cli` from "1.7.2" to "1.7.3" [#3170](https://github.com/storybookjs/storybook/pull/3170) +- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.2.7" to "5.2.8" [#3170](https://github.com/storybookjs/storybook/pull/3170) +- use exact versions for cross-dependencies between our own packages [#3183](https://github.com/storybookjs/storybook/pull/3183) +- Move "@types/react" to dev dependencies [#3169](https://github.com/storybookjs/storybook/pull/3169) @@ -3556,27 +4020,27 @@ Fix publishing options to use exact versions for cross-dependencies per this cha #### Features -- Add `__STORYBOOK_CLIENT_API__` for external tools [#3058](https://github.com/storybooks/storybook/pull/3058) -- Addon storysource: select stories from inside of the StoryPanel [#3154](https://github.com/storybooks/storybook/pull/3154) +- Add `__STORYBOOK_CLIENT_API__` for external tools [#3058](https://github.com/storybookjs/storybook/pull/3058) +- Addon storysource: select stories from inside of the StoryPanel [#3154](https://github.com/storybookjs/storybook/pull/3154) #### Bug Fixes -- Addons: avoid mixing manager and preview code together [#3068](https://github.com/storybooks/storybook/pull/3068) +- Addons: avoid mixing manager and preview code together [#3068](https://github.com/storybookjs/storybook/pull/3068) #### Documentation -- Update ADDONS_SUPPORT.md [#3114](https://github.com/storybooks/storybook/pull/3114) -- Add `viewport` addon to the Addon Gallery [#3106](https://github.com/storybooks/storybook/pull/3106) -- Fix links examples [#3096](https://github.com/storybooks/storybook/pull/3096) -- Fix links addon examples [#3070](https://github.com/storybooks/storybook/pull/3070) -- Fix inconsistencies in the background add-on README [#3080](https://github.com/storybooks/storybook/pull/3080) +- Update ADDONS_SUPPORT.md [#3114](https://github.com/storybookjs/storybook/pull/3114) +- Add `viewport` addon to the Addon Gallery [#3106](https://github.com/storybookjs/storybook/pull/3106) +- Fix links examples [#3096](https://github.com/storybookjs/storybook/pull/3096) +- Fix links addon examples [#3070](https://github.com/storybookjs/storybook/pull/3070) +- Fix inconsistencies in the background add-on README [#3080](https://github.com/storybookjs/storybook/pull/3080) #### Maintenance -- Fix errors on starting example Angular app [#3078](https://github.com/storybooks/storybook/pull/3078) -- Use WatchMissingNodeModulesPlugin from react-dev-utils package [#3141](https://github.com/storybooks/storybook/pull/3141) -- Don't use exact versions in peerDependencies [#3073](https://github.com/storybooks/storybook/pull/3073) -- Remove integration tests [#3052](https://github.com/storybooks/storybook/pull/3052) +- Fix errors on starting example Angular app [#3078](https://github.com/storybookjs/storybook/pull/3078) +- Use WatchMissingNodeModulesPlugin from react-dev-utils package [#3141](https://github.com/storybookjs/storybook/pull/3141) +- Don't use exact versions in peerDependencies [#3073](https://github.com/storybookjs/storybook/pull/3073) +- Remove integration tests [#3052](https://github.com/storybookjs/storybook/pull/3052) #### Dependency Upgrades @@ -3585,235 +4049,235 @@ Fix publishing options to use exact versions for cross-dependencies per this cha 229 Updates -- Upgraded `jscodeshift` in `lib/codemod` from "0.4.1" to "0.5.0" [#3168](https://github.com/storybooks/storybook/pull/3168) -- Upgraded `vue-loader` in `app/vue` from "14.1.1" to "14.2.1" [#3168](https://github.com/storybooks/storybook/pull/3168) -- Upgraded `jscodeshift` in `lib/cli` from "0.4.1" to "0.5.0" [#3168](https://github.com/storybooks/storybook/pull/3168) -- Upgraded `vue-loader` in `examples/vue-kitchen-sink` from "14.1.1" to "14.2.1" [#3168](https://github.com/storybooks/storybook/pull/3168) -- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.14" to "3.3.15" [#3167](https://github.com/storybooks/storybook/pull/3167) -- Upgraded `@storybook/addon-links` in `/docs` from "3.3.14" to "3.3.15" [#3167](https://github.com/storybooks/storybook/pull/3167) -- Upgraded `@storybook/addons` in `/docs` from "3.3.14" to "3.3.15" [#3167](https://github.com/storybooks/storybook/pull/3167) -- Upgraded `@storybook/react` in `/docs` from "3.3.14" to "3.3.15" [#3167](https://github.com/storybooks/storybook/pull/3167) -- Upgraded `gatsby-remark-images` in `/docs` from "1.5.55" to "1.5.56" [#3167](https://github.com/storybooks/storybook/pull/3167) -- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.34" to "1.7.36" [#3167](https://github.com/storybooks/storybook/pull/3167) -- Upgraded `gatsby` in `/docs` from "1.9.223" to "1.9.225" [#3167](https://github.com/storybooks/storybook/pull/3167) -- Upgraded `eslint-plugin-jest` in `/` from "21.12.3" to "21.13.0" [#3160](https://github.com/storybooks/storybook/pull/3160) -- Upgraded `babel-loader` in `app/react` from "7.1.3" to "7.1.4" [#3160](https://github.com/storybooks/storybook/pull/3160) -- Upgraded `case-sensitive-paths-webpack-plugin` in `app/react` from "2.1.1" to "2.1.2" [#3160](https://github.com/storybooks/storybook/pull/3160) -- Upgraded `acorn` in `addons/storysource` from "5.5.0" to "5.5.1" [#3160](https://github.com/storybooks/storybook/pull/3160) -- Upgraded `react-syntax-highlighter` in `addons/storysource` from "7.0.1" to "7.0.2" [#3160](https://github.com/storybooks/storybook/pull/3160) -- Upgraded `babel-loader` in `app/angular` from "7.1.3" to "7.1.4" [#3160](https://github.com/storybooks/storybook/pull/3160) -- Upgraded `case-sensitive-paths-webpack-plugin` in `app/angular` from "2.1.1" to "2.1.2" [#3160](https://github.com/storybooks/storybook/pull/3160) -- Upgraded `babel-loader` in `app/polymer` from "7.1.3" to "7.1.4" [#3160](https://github.com/storybooks/storybook/pull/3160) -- Upgraded `case-sensitive-paths-webpack-plugin` in `app/polymer` from "2.1.1" to "2.1.2" [#3160](https://github.com/storybooks/storybook/pull/3160) -- Upgraded `babel-loader` in `app/react-native` from "7.1.3" to "7.1.4" [#3160](https://github.com/storybooks/storybook/pull/3160) -- Upgraded `case-sensitive-paths-webpack-plugin` in `app/react-native` from "2.1.1" to "2.1.2" [#3160](https://github.com/storybooks/storybook/pull/3160) -- Upgraded `babel-loader` in `app/vue` from "7.1.3" to "7.1.4" [#3160](https://github.com/storybooks/storybook/pull/3160) -- Upgraded `case-sensitive-paths-webpack-plugin` in `app/vue` from "2.1.1" to "2.1.2" [#3160](https://github.com/storybooks/storybook/pull/3160) -- Upgraded `karma-coverage-istanbul-reporter` in `examples/angular-cli` from "1.4.1" to "1.4.2" [#3160](https://github.com/storybooks/storybook/pull/3160) -- Upgraded `babel-loader` in `examples/polymer-cli` from "7.1.3" to "7.1.4" [#3160](https://github.com/storybooks/storybook/pull/3160) -- Upgraded `babel-loader` in `examples/vue-kitchen-sink` from "7.1.3" to "7.1.4" [#3160](https://github.com/storybooks/storybook/pull/3160) -- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.38" to "1.6.39" [#3159](https://github.com/storybooks/storybook/pull/3159) -- Upgraded `gatsby-remark-images` in `/docs` from "1.5.54" to "1.5.55" [#3159](https://github.com/storybooks/storybook/pull/3159) -- Update jest-specific-snapshot in addons/storyshots from 0.4.0 to 0.5.0 [#3151](https://github.com/storybooks/storybook/pull/3151) -- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.37" to "1.6.38" [#3146](https://github.com/storybooks/storybook/pull/3146) -- Upgraded `gatsby-remark-images` in `/docs` from "1.5.53" to "1.5.54" [#3146](https://github.com/storybooks/storybook/pull/3146) -- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.25" to "1.5.26" [#3146](https://github.com/storybooks/storybook/pull/3146) -- Upgraded `gatsby` in `/docs` from "1.9.222" to "1.9.223" [#3146](https://github.com/storybooks/storybook/pull/3146) -- Upgraded `webpack-hot-middleware` in `app/react` from "2.21.1" to "2.21.2" [#3145](https://github.com/storybooks/storybook/pull/3145) -- Upgraded `webpack-hot-middleware` in `lib/core` from "2.21.1" to "2.21.2" [#3145](https://github.com/storybooks/storybook/pull/3145) -- Upgraded `webpack-hot-middleware` in `app/angular` from "2.21.1" to "2.21.2" [#3145](https://github.com/storybooks/storybook/pull/3145) -- Upgraded `webpack-hot-middleware` in `app/polymer` from "2.21.1" to "2.21.2" [#3145](https://github.com/storybooks/storybook/pull/3145) -- Upgraded `webpack-hot-middleware` in `app/react-native` from "2.21.1" to "2.21.2" [#3145](https://github.com/storybooks/storybook/pull/3145) -- Upgraded `webpack-hot-middleware` in `app/vue` from "2.21.1" to "2.21.2" [#3145](https://github.com/storybooks/storybook/pull/3145) -- Upgraded `babel-plugin-macros` in `/` from "2.1.0" to "2.2.0" [#3137](https://github.com/storybooks/storybook/pull/3137) -- Upgraded `chalk` in `/` from "2.3.1" to "2.3.2" [#3137](https://github.com/storybooks/storybook/pull/3137) -- Upgraded `eslint` in `/` from "4.18.1" to "4.18.2" [#3137](https://github.com/storybooks/storybook/pull/3137) -- Upgraded `eslint-plugin-jest` in `/` from "21.12.2" to "21.12.3" [#3137](https://github.com/storybooks/storybook/pull/3137) -- Upgraded `babel-plugin-macros` in `app/react` from "2.1.0" to "2.2.0" [#3137](https://github.com/storybooks/storybook/pull/3137) -- Upgraded `glamorous` in `app/react` from "4.11.6" to "4.12.0" [#3137](https://github.com/storybooks/storybook/pull/3137) -- Upgraded `glamorous` in `addons/actions` from "4.11.6" to "4.12.0" [#3137](https://github.com/storybooks/storybook/pull/3137) -- Upgraded `glamorous` in `lib/components` from "4.11.6" to "4.12.0" [#3137](https://github.com/storybooks/storybook/pull/3137) -- Upgraded `glamorous` in `addons/a11y` from "4.11.6" to "4.12.0" [#3137](https://github.com/storybooks/storybook/pull/3137) -- Upgraded `glamorous` in `addons/info` from "4.11.6" to "4.12.0" [#3137](https://github.com/storybooks/storybook/pull/3137) -- Upgraded `glamorous` in `addons/jest` from "4.11.6" to "4.12.0" [#3137](https://github.com/storybooks/storybook/pull/3137) -- Upgraded `moment` in `addons/knobs` from "2.20.1" to "2.21.0" [#3137](https://github.com/storybooks/storybook/pull/3137) -- Upgraded `chalk` in `lib/core` from "2.3.1" to "2.3.2" [#3137](https://github.com/storybooks/storybook/pull/3137) -- Upgraded `babel-plugin-macros` in `app/angular` from "2.1.0" to "2.2.0" [#3137](https://github.com/storybooks/storybook/pull/3137) -- Upgraded `sass-loader` in `app/angular` from "6.0.6" to "6.0.7" [#3137](https://github.com/storybooks/storybook/pull/3137) -- Upgraded `babel-plugin-macros` in `app/polymer` from "2.1.0" to "2.2.0" [#3137](https://github.com/storybooks/storybook/pull/3137) -- Upgraded `babel-plugin-macros` in `app/react-native` from "2.1.0" to "2.2.0" [#3137](https://github.com/storybooks/storybook/pull/3137) -- Upgraded `babel-plugin-macros` in `app/vue` from "2.1.0" to "2.2.0" [#3137](https://github.com/storybooks/storybook/pull/3137) -- Upgraded `chalk` in `lib/cli` from "2.3.1" to "2.3.2" [#3137](https://github.com/storybooks/storybook/pull/3137) -- Upgraded `cross-spawn` in `lib/cli` from "6.0.4" to "6.0.5" [#3137](https://github.com/storybooks/storybook/pull/3137) -- Upgraded `gatsby-remark-copy-linked-files` in `/docs` from "1.5.29" to "1.5.30" [#3136](https://github.com/storybooks/storybook/pull/3136) -- Upgraded `gatsby` in `/docs` from "1.9.221" to "1.9.222" [#3136](https://github.com/storybooks/storybook/pull/3136) -- Upgraded `gatsby-link` in `/docs` from "1.6.37" to "1.6.38" [#3124](https://github.com/storybooks/storybook/pull/3124) -- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.35" to "1.6.37" [#3124](https://github.com/storybooks/storybook/pull/3124) -- Upgraded `gatsby-remark-autolink-headers` in `/docs` from "1.4.12" to "1.4.13" [#3124](https://github.com/storybooks/storybook/pull/3124) -- Upgraded `gatsby-remark-copy-linked-files` in `/docs` from "1.5.28" to "1.5.29" [#3124](https://github.com/storybooks/storybook/pull/3124) -- Upgraded `gatsby-remark-images` in `/docs` from "1.5.51" to "1.5.53" [#3124](https://github.com/storybooks/storybook/pull/3124) -- Upgraded `gatsby-remark-smartypants` in `/docs` from "1.4.11" to "1.4.12" [#3124](https://github.com/storybooks/storybook/pull/3124) -- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.24" to "1.5.25" [#3124](https://github.com/storybooks/storybook/pull/3124) -- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.33" to "1.7.34" [#3124](https://github.com/storybooks/storybook/pull/3124) -- Upgraded `gatsby` in `/docs` from "1.9.216" to "1.9.221" [#3124](https://github.com/storybooks/storybook/pull/3124) -- Upgraded `codelyzer` in `/` from "4.1.0" to "4.2.1" [#3131](https://github.com/storybooks/storybook/pull/3131) -- Upgraded `file-loader` in `lib/core` from "1.1.10" to "1.1.11" [#3131](https://github.com/storybooks/storybook/pull/3131) -- Upgraded `copy-webpack-plugin` in `app/polymer` from "4.4.2" to "4.5.0" [#3131](https://github.com/storybooks/storybook/pull/3131) -- Upgraded `copy-webpack-plugin` in `examples/polymer-cli` from "4.4.2" to "4.5.0" [#3131](https://github.com/storybooks/storybook/pull/3131) -- Upgraded `file-loader` in `examples/vue-kitchen-sink` from "1.1.10" to "1.1.11" [#3131](https://github.com/storybooks/storybook/pull/3131) -- Upgraded `@angular/common` in `/` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `@angular/compiler` in `/` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `@angular/core` in `/` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `@angular/forms` in `/` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `@angular/platform-browser` in `/` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `@angular/platform-browser-dynamic` in `/` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `prettier` in `/` from "1.11.0" to "1.11.1" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `prettier` in `addons/storysource` from "1.11.0" to "1.11.1" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `babel-plugin-react-docgen` in `app/react` from "1.8.2" to "1.8.3" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `webpack-hot-middleware` in `app/react` from "2.21.0" to "2.21.1" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `nodemon` in `app/react` from "1.15.1" to "1.17.1" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `jest-specific-snapshot` in `addons/storyshots` from "0.3.0" to "0.4.0" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `react-color` in `addons/knobs` from "2.13.8" to "2.14.0" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `webpack-hot-middleware` in `lib/core` from "2.21.0" to "2.21.1" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `webpack-hot-middleware` in `app/angular` from "2.21.0" to "2.21.1" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `nodemon` in `app/angular` from "1.15.1" to "1.17.1" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `webpack-hot-middleware` in `app/polymer` from "2.21.0" to "2.21.1" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `nodemon` in `app/polymer` from "1.15.1" to "1.17.1" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `webpack-hot-middleware` in `app/react-native` from "2.21.0" to "2.21.1" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `webpack-hot-middleware` in `app/vue` from "2.21.0" to "2.21.1" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `nodemon` in `app/vue` from "1.15.1" to "1.17.1" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `@angular/common` in `examples/angular-cli` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `@angular/core` in `examples/angular-cli` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `@angular/forms` in `examples/angular-cli` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `@angular/cli` in `examples/angular-cli` from "1.7.1" to "1.7.2" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybooks/storybook/pull/3123) -- Vue example: upgrade vue-loader from 13.7.1 to 14.1.1 [#3077](https://github.com/storybooks/storybook/pull/3077) -- Maintenance: upgrade lint-staged from `6.1.1` to `7.0.0` [#3067](https://github.com/storybooks/storybook/pull/3067) -- Core & UI: upgrade events from 1.1.1 to 2.0.0 [#3075](https://github.com/storybooks/storybook/pull/3075) -- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.34" to "1.6.35" [#3109](https://github.com/storybooks/storybook/pull/3109) -- Upgraded `gatsby-remark-images` in `/docs` from "1.5.50" to "1.5.51" [#3109](https://github.com/storybooks/storybook/pull/3109) -- Upgraded `gatsby` in `/docs` from "1.9.215" to "1.9.216" [#3109](https://github.com/storybooks/storybook/pull/3109) -- Upgraded `marked` in `/docs` from "0.3.16" to "0.3.17" [#3109](https://github.com/storybooks/storybook/pull/3109) -- Upgraded `prop-types` in `/docs` from "15.6.0" to "15.6.1" [#3109](https://github.com/storybooks/storybook/pull/3109) -- RN app: upgrade ws from 3.3.3 to 4.1.0 [#3074](https://github.com/storybooks/storybook/pull/3074) -- Upgraded `prettier` in `/` from "1.10.2" to "1.11.0" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `prop-types` in `addons/background` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `prop-types` in `addons/events` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `acorn` in `addons/storysource` from "5.4.1" to "5.5.0" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `acorn-stage3` in `addons/storysource` from "0.5.0" to "0.6.0" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `prettier` in `addons/storysource` from "1.10.2" to "1.11.0" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `prop-types` in `addons/storysource` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `dotenv-webpack` in `app/react` from "1.5.4" to "1.5.5" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `prop-types` in `app/react` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `prop-types` in `addons/graphql` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `marked` in `addons/notes` from "0.3.16" to "0.3.17" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `prop-types` in `addons/notes` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `prop-types` in `addons/actions` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `prop-types` in `addons/links` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `prop-types` in `lib/components` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `prop-types` in `addons/a11y` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `prop-types` in `addons/info` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `prop-types` in `addons/jest` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `prop-types` in `addons/knobs` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `prop-types` in `addons/viewport` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `prop-types` in `lib/ui` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `dotenv` in `lib/core` from "5.0.0" to "5.0.1" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `file-loader` in `lib/core` from "1.1.9" to "1.1.10" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `prop-types` in `lib/core` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `prop-types` in `examples/cra-kitchen-sink` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `prop-types` in `examples/official-storybook` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `dotenv-webpack` in `app/angular` from "1.5.4" to "1.5.5" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `dotenv-webpack` in `app/polymer` from "1.5.4" to "1.5.5" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `prop-types` in `app/react-native` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `dotenv-webpack` in `app/vue` from "1.5.4" to "1.5.5" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `webpack-dev-server` in `examples/polymer-cli` from "2.11.1" to "2.11.2" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `file-loader` in `examples/vue-kitchen-sink` from "1.1.9" to "1.1.10" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `webpack-dev-server` in `examples/vue-kitchen-sink` from "2.11.1" to "2.11.2" [#3108](https://github.com/storybooks/storybook/pull/3108) -- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.23" to "1.5.24" [#3103](https://github.com/storybooks/storybook/pull/3103) -- Upgraded `gatsby` in `/docs` from "1.9.214" to "1.9.215" [#3103](https://github.com/storybooks/storybook/pull/3103) -- Upgraded `jest-preset-angular` in `/` from "5.1.0" to "5.2.0" [#3104](https://github.com/storybooks/storybook/pull/3104) -- Upgraded `postcss-loader` in `lib/core` from "2.1.0" to "2.1.1" [#3104](https://github.com/storybooks/storybook/pull/3104) -- Upgraded `tslint-config-prettier` in `/` from "1.8.0" to "1.9.0" [#3097](https://github.com/storybooks/storybook/pull/3097) -- Upgraded `babel-loader` in `app/react` from "7.1.2" to "7.1.3" [#3097](https://github.com/storybooks/storybook/pull/3097) -- Upgraded `babel-loader` in `app/angular` from "7.1.2" to "7.1.3" [#3097](https://github.com/storybooks/storybook/pull/3097) -- Upgraded `babel-loader` in `app/polymer` from "7.1.2" to "7.1.3" [#3097](https://github.com/storybooks/storybook/pull/3097) -- Upgraded `babel-loader` in `app/react-native` from "7.1.2" to "7.1.3" [#3097](https://github.com/storybooks/storybook/pull/3097) -- Upgraded `babel-loader` in `app/vue` from "7.1.2" to "7.1.3" [#3097](https://github.com/storybooks/storybook/pull/3097) -- Upgraded `babel-loader` in `examples/polymer-cli` from "7.1.2" to "7.1.3" [#3097](https://github.com/storybooks/storybook/pull/3097) -- Upgraded `babel-loader` in `examples/vue-kitchen-sink` from "7.1.2" to "7.1.3" [#3097](https://github.com/storybooks/storybook/pull/3097) -- Update gatsby in /docs from 1.9.212 to 1.9.214 [#3095](https://github.com/storybooks/storybook/pull/3095) -- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.33" to "1.6.34" [#3071](https://github.com/storybooks/storybook/pull/3071) -- Upgraded `gatsby-remark-images` in `/docs` from "1.5.49" to "1.5.50" [#3071](https://github.com/storybooks/storybook/pull/3071) -- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.22" to "1.5.23" [#3071](https://github.com/storybooks/storybook/pull/3071) -- Upgraded `gatsby` in `/docs` from "1.9.209" to "1.9.212" [#3071](https://github.com/storybooks/storybook/pull/3071) -- Upgraded `puppeteer` in `/` from "1.1.0" to "1.1.1" [#3069](https://github.com/storybooks/storybook/pull/3069) -- Upgraded `react-syntax-highlighter` in `addons/storysource` from "7.0.0" to "7.0.1" [#3069](https://github.com/storybooks/storybook/pull/3069) -- Upgraded `uglifyjs-webpack-plugin` in `app/react` from "1.2.0" to "1.2.2" [#3069](https://github.com/storybooks/storybook/pull/3069) -- Upgraded `puppeteer` in `addons/storyshots` from "1.0.0" to "1.1.1" [#3069](https://github.com/storybooks/storybook/pull/3069) -- Upgraded `uglifyjs-webpack-plugin` in `app/angular` from "1.2.0" to "1.2.2" [#3069](https://github.com/storybooks/storybook/pull/3069) -- Upgraded `copy-webpack-plugin` in `app/polymer` from "4.4.1" to "4.4.2" [#3069](https://github.com/storybooks/storybook/pull/3069) -- Upgraded `uglifyjs-webpack-plugin` in `app/polymer` from "1.2.0" to "1.2.2" [#3069](https://github.com/storybooks/storybook/pull/3069) -- Upgraded `uglifyjs-webpack-plugin` in `app/react-native` from "1.2.0" to "1.2.2" [#3069](https://github.com/storybooks/storybook/pull/3069) -- Upgraded `uglifyjs-webpack-plugin` in `app/vue` from "1.2.0" to "1.2.2" [#3069](https://github.com/storybooks/storybook/pull/3069) -- Upgraded `copy-webpack-plugin` in `examples/polymer-cli` from "4.4.1" to "4.4.2" [#3069](https://github.com/storybooks/storybook/pull/3069) -- Upgraded `jest` in `/` from "22.4.0" to "22.4.2" [#3063](https://github.com/storybooks/storybook/pull/3063) -- Upgraded `jest-cli` in `/` from "22.4.0" to "22.4.2" [#3063](https://github.com/storybooks/storybook/pull/3063) -- Upgraded `jest-config` in `/` from "22.4.0" to "22.4.2" [#3063](https://github.com/storybooks/storybook/pull/3063) -- Upgraded `jest-environment-jsdom` in `/` from "22.4.0" to "22.4.1" [#3063](https://github.com/storybooks/storybook/pull/3063) -- Upgraded `jest-jasmine2` in `/` from "22.4.0" to "22.4.2" [#3063](https://github.com/storybooks/storybook/pull/3063) -- Upgraded `css-loader` in `app/react` from "0.28.9" to "0.28.10" [#3063](https://github.com/storybooks/storybook/pull/3063) -- Upgraded `babel-jest` in `addons/storyshots` from "22.4.0" to "22.4.1" [#3063](https://github.com/storybooks/storybook/pull/3063) -- Upgraded `jest` in `addons/storyshots` from "22.4.0" to "22.4.2" [#3063](https://github.com/storybooks/storybook/pull/3063) -- Upgraded `jest-cli` in `addons/storyshots` from "22.4.0" to "22.4.2" [#3063](https://github.com/storybooks/storybook/pull/3063) -- Upgraded `css-loader` in `lib/core` from "0.28.9" to "0.28.10" [#3063](https://github.com/storybooks/storybook/pull/3063) -- Upgraded `babel-jest` in `examples/cra-kitchen-sink` from "22.4.0" to "22.4.1" [#3063](https://github.com/storybooks/storybook/pull/3063) -- Upgraded `jest` in `examples/cra-kitchen-sink` from "22.4.0" to "22.4.2" [#3063](https://github.com/storybooks/storybook/pull/3063) -- Upgraded `babel-jest` in `examples/official-storybook` from "22.4.0" to "22.4.1" [#3063](https://github.com/storybooks/storybook/pull/3063) -- Upgraded `jest` in `examples/official-storybook` from "22.4.0" to "22.4.2" [#3063](https://github.com/storybooks/storybook/pull/3063) -- Upgraded `css-loader` in `app/angular` from "0.28.9" to "0.28.10" [#3063](https://github.com/storybooks/storybook/pull/3063) -- Upgraded `css-loader` in `app/polymer` from "0.28.9" to "0.28.10" [#3063](https://github.com/storybooks/storybook/pull/3063) -- Upgraded `css-loader` in `app/react-native` from "0.28.9" to "0.28.10" [#3063](https://github.com/storybooks/storybook/pull/3063) -- Upgraded `css-loader` in `app/vue` from "0.28.9" to "0.28.10" [#3063](https://github.com/storybooks/storybook/pull/3063) -- Upgraded `css-loader` in `examples/vue-kitchen-sink` from "0.28.9" to "0.28.10" [#3063](https://github.com/storybooks/storybook/pull/3063) -- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.32" to "1.6.33" [#3064](https://github.com/storybooks/storybook/pull/3064) -- Upgraded `gatsby-remark-copy-linked-files` in `/docs` from "1.5.27" to "1.5.28" [#3064](https://github.com/storybooks/storybook/pull/3064) -- Upgraded `gatsby-remark-images` in `/docs` from "1.5.48" to "1.5.49" [#3064](https://github.com/storybooks/storybook/pull/3064) -- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.21" to "1.5.22" [#3064](https://github.com/storybooks/storybook/pull/3064) -- Upgraded `gatsby` in `/docs` from "1.9.206" to "1.9.209" [#3064](https://github.com/storybooks/storybook/pull/3064) -- Upgraded `@angular/common` in `/` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `@angular/compiler` in `/` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `@angular/core` in `/` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `@angular/forms` in `/` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `@angular/platform-browser` in `/` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `@angular/platform-browser-dynamic` in `/` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `eslint-plugin-import` in `/` from "2.8.0" to "2.9.0" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `jest-preset-angular` in `/` from "5.0.0" to "5.1.0" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `file-loader` in `app/react` from "1.1.8" to "1.1.9" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `file-loader` in `lib/core` from "1.1.8" to "1.1.9" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `react-chromatic` in `examples/official-storybook` from "0.7.9" to "0.7.10" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `file-loader` in `app/angular` from "1.1.8" to "1.1.9" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `file-loader` in `app/polymer` from "1.1.8" to "1.1.9" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `file-loader` in `app/react-native` from "1.1.8" to "1.1.9" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `file-loader` in `app/vue` from "1.1.8" to "1.1.9" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `@angular/animations` in `examples/angular-cli` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `@angular/common` in `examples/angular-cli` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `@angular/core` in `examples/angular-cli` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `@angular/forms` in `examples/angular-cli` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `@angular/http` in `examples/angular-cli` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `@angular/router` in `examples/angular-cli` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `@angular/cli` in `examples/angular-cli` from "1.7.0" to "1.7.1" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `@angular/language-service` in `examples/angular-cli` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `file-loader` in `examples/vue-kitchen-sink` from "1.1.8" to "1.1.9" [#3055](https://github.com/storybooks/storybook/pull/3055) -- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.31" to "1.6.32" [#3056](https://github.com/storybooks/storybook/pull/3056) -- Upgraded `gatsby-remark-images` in `/docs` from "1.5.47" to "1.5.48" [#3056](https://github.com/storybooks/storybook/pull/3056) -- Upgraded `gatsby` in `/docs` from "1.9.204" to "1.9.206" [#3056](https://github.com/storybooks/storybook/pull/3056) +- Upgraded `jscodeshift` in `lib/codemod` from "0.4.1" to "0.5.0" [#3168](https://github.com/storybookjs/storybook/pull/3168) +- Upgraded `vue-loader` in `app/vue` from "14.1.1" to "14.2.1" [#3168](https://github.com/storybookjs/storybook/pull/3168) +- Upgraded `jscodeshift` in `lib/cli` from "0.4.1" to "0.5.0" [#3168](https://github.com/storybookjs/storybook/pull/3168) +- Upgraded `vue-loader` in `examples/vue-kitchen-sink` from "14.1.1" to "14.2.1" [#3168](https://github.com/storybookjs/storybook/pull/3168) +- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.14" to "3.3.15" [#3167](https://github.com/storybookjs/storybook/pull/3167) +- Upgraded `@storybook/addon-links` in `/docs` from "3.3.14" to "3.3.15" [#3167](https://github.com/storybookjs/storybook/pull/3167) +- Upgraded `@storybook/addons` in `/docs` from "3.3.14" to "3.3.15" [#3167](https://github.com/storybookjs/storybook/pull/3167) +- Upgraded `@storybook/react` in `/docs` from "3.3.14" to "3.3.15" [#3167](https://github.com/storybookjs/storybook/pull/3167) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.55" to "1.5.56" [#3167](https://github.com/storybookjs/storybook/pull/3167) +- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.34" to "1.7.36" [#3167](https://github.com/storybookjs/storybook/pull/3167) +- Upgraded `gatsby` in `/docs` from "1.9.223" to "1.9.225" [#3167](https://github.com/storybookjs/storybook/pull/3167) +- Upgraded `eslint-plugin-jest` in `/` from "21.12.3" to "21.13.0" [#3160](https://github.com/storybookjs/storybook/pull/3160) +- Upgraded `babel-loader` in `app/react` from "7.1.3" to "7.1.4" [#3160](https://github.com/storybookjs/storybook/pull/3160) +- Upgraded `case-sensitive-paths-webpack-plugin` in `app/react` from "2.1.1" to "2.1.2" [#3160](https://github.com/storybookjs/storybook/pull/3160) +- Upgraded `acorn` in `addons/storysource` from "5.5.0" to "5.5.1" [#3160](https://github.com/storybookjs/storybook/pull/3160) +- Upgraded `react-syntax-highlighter` in `addons/storysource` from "7.0.1" to "7.0.2" [#3160](https://github.com/storybookjs/storybook/pull/3160) +- Upgraded `babel-loader` in `app/angular` from "7.1.3" to "7.1.4" [#3160](https://github.com/storybookjs/storybook/pull/3160) +- Upgraded `case-sensitive-paths-webpack-plugin` in `app/angular` from "2.1.1" to "2.1.2" [#3160](https://github.com/storybookjs/storybook/pull/3160) +- Upgraded `babel-loader` in `app/polymer` from "7.1.3" to "7.1.4" [#3160](https://github.com/storybookjs/storybook/pull/3160) +- Upgraded `case-sensitive-paths-webpack-plugin` in `app/polymer` from "2.1.1" to "2.1.2" [#3160](https://github.com/storybookjs/storybook/pull/3160) +- Upgraded `babel-loader` in `app/react-native` from "7.1.3" to "7.1.4" [#3160](https://github.com/storybookjs/storybook/pull/3160) +- Upgraded `case-sensitive-paths-webpack-plugin` in `app/react-native` from "2.1.1" to "2.1.2" [#3160](https://github.com/storybookjs/storybook/pull/3160) +- Upgraded `babel-loader` in `app/vue` from "7.1.3" to "7.1.4" [#3160](https://github.com/storybookjs/storybook/pull/3160) +- Upgraded `case-sensitive-paths-webpack-plugin` in `app/vue` from "2.1.1" to "2.1.2" [#3160](https://github.com/storybookjs/storybook/pull/3160) +- Upgraded `karma-coverage-istanbul-reporter` in `examples/angular-cli` from "1.4.1" to "1.4.2" [#3160](https://github.com/storybookjs/storybook/pull/3160) +- Upgraded `babel-loader` in `examples/polymer-cli` from "7.1.3" to "7.1.4" [#3160](https://github.com/storybookjs/storybook/pull/3160) +- Upgraded `babel-loader` in `examples/vue-kitchen-sink` from "7.1.3" to "7.1.4" [#3160](https://github.com/storybookjs/storybook/pull/3160) +- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.38" to "1.6.39" [#3159](https://github.com/storybookjs/storybook/pull/3159) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.54" to "1.5.55" [#3159](https://github.com/storybookjs/storybook/pull/3159) +- Update jest-specific-snapshot in addons/storyshots from 0.4.0 to 0.5.0 [#3151](https://github.com/storybookjs/storybook/pull/3151) +- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.37" to "1.6.38" [#3146](https://github.com/storybookjs/storybook/pull/3146) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.53" to "1.5.54" [#3146](https://github.com/storybookjs/storybook/pull/3146) +- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.25" to "1.5.26" [#3146](https://github.com/storybookjs/storybook/pull/3146) +- Upgraded `gatsby` in `/docs` from "1.9.222" to "1.9.223" [#3146](https://github.com/storybookjs/storybook/pull/3146) +- Upgraded `webpack-hot-middleware` in `app/react` from "2.21.1" to "2.21.2" [#3145](https://github.com/storybookjs/storybook/pull/3145) +- Upgraded `webpack-hot-middleware` in `lib/core` from "2.21.1" to "2.21.2" [#3145](https://github.com/storybookjs/storybook/pull/3145) +- Upgraded `webpack-hot-middleware` in `app/angular` from "2.21.1" to "2.21.2" [#3145](https://github.com/storybookjs/storybook/pull/3145) +- Upgraded `webpack-hot-middleware` in `app/polymer` from "2.21.1" to "2.21.2" [#3145](https://github.com/storybookjs/storybook/pull/3145) +- Upgraded `webpack-hot-middleware` in `app/react-native` from "2.21.1" to "2.21.2" [#3145](https://github.com/storybookjs/storybook/pull/3145) +- Upgraded `webpack-hot-middleware` in `app/vue` from "2.21.1" to "2.21.2" [#3145](https://github.com/storybookjs/storybook/pull/3145) +- Upgraded `babel-plugin-macros` in `/` from "2.1.0" to "2.2.0" [#3137](https://github.com/storybookjs/storybook/pull/3137) +- Upgraded `chalk` in `/` from "2.3.1" to "2.3.2" [#3137](https://github.com/storybookjs/storybook/pull/3137) +- Upgraded `eslint` in `/` from "4.18.1" to "4.18.2" [#3137](https://github.com/storybookjs/storybook/pull/3137) +- Upgraded `eslint-plugin-jest` in `/` from "21.12.2" to "21.12.3" [#3137](https://github.com/storybookjs/storybook/pull/3137) +- Upgraded `babel-plugin-macros` in `app/react` from "2.1.0" to "2.2.0" [#3137](https://github.com/storybookjs/storybook/pull/3137) +- Upgraded `glamorous` in `app/react` from "4.11.6" to "4.12.0" [#3137](https://github.com/storybookjs/storybook/pull/3137) +- Upgraded `glamorous` in `addons/actions` from "4.11.6" to "4.12.0" [#3137](https://github.com/storybookjs/storybook/pull/3137) +- Upgraded `glamorous` in `lib/components` from "4.11.6" to "4.12.0" [#3137](https://github.com/storybookjs/storybook/pull/3137) +- Upgraded `glamorous` in `addons/a11y` from "4.11.6" to "4.12.0" [#3137](https://github.com/storybookjs/storybook/pull/3137) +- Upgraded `glamorous` in `addons/info` from "4.11.6" to "4.12.0" [#3137](https://github.com/storybookjs/storybook/pull/3137) +- Upgraded `glamorous` in `addons/jest` from "4.11.6" to "4.12.0" [#3137](https://github.com/storybookjs/storybook/pull/3137) +- Upgraded `moment` in `addons/knobs` from "2.20.1" to "2.21.0" [#3137](https://github.com/storybookjs/storybook/pull/3137) +- Upgraded `chalk` in `lib/core` from "2.3.1" to "2.3.2" [#3137](https://github.com/storybookjs/storybook/pull/3137) +- Upgraded `babel-plugin-macros` in `app/angular` from "2.1.0" to "2.2.0" [#3137](https://github.com/storybookjs/storybook/pull/3137) +- Upgraded `sass-loader` in `app/angular` from "6.0.6" to "6.0.7" [#3137](https://github.com/storybookjs/storybook/pull/3137) +- Upgraded `babel-plugin-macros` in `app/polymer` from "2.1.0" to "2.2.0" [#3137](https://github.com/storybookjs/storybook/pull/3137) +- Upgraded `babel-plugin-macros` in `app/react-native` from "2.1.0" to "2.2.0" [#3137](https://github.com/storybookjs/storybook/pull/3137) +- Upgraded `babel-plugin-macros` in `app/vue` from "2.1.0" to "2.2.0" [#3137](https://github.com/storybookjs/storybook/pull/3137) +- Upgraded `chalk` in `lib/cli` from "2.3.1" to "2.3.2" [#3137](https://github.com/storybookjs/storybook/pull/3137) +- Upgraded `cross-spawn` in `lib/cli` from "6.0.4" to "6.0.5" [#3137](https://github.com/storybookjs/storybook/pull/3137) +- Upgraded `gatsby-remark-copy-linked-files` in `/docs` from "1.5.29" to "1.5.30" [#3136](https://github.com/storybookjs/storybook/pull/3136) +- Upgraded `gatsby` in `/docs` from "1.9.221" to "1.9.222" [#3136](https://github.com/storybookjs/storybook/pull/3136) +- Upgraded `gatsby-link` in `/docs` from "1.6.37" to "1.6.38" [#3124](https://github.com/storybookjs/storybook/pull/3124) +- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.35" to "1.6.37" [#3124](https://github.com/storybookjs/storybook/pull/3124) +- Upgraded `gatsby-remark-autolink-headers` in `/docs` from "1.4.12" to "1.4.13" [#3124](https://github.com/storybookjs/storybook/pull/3124) +- Upgraded `gatsby-remark-copy-linked-files` in `/docs` from "1.5.28" to "1.5.29" [#3124](https://github.com/storybookjs/storybook/pull/3124) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.51" to "1.5.53" [#3124](https://github.com/storybookjs/storybook/pull/3124) +- Upgraded `gatsby-remark-smartypants` in `/docs` from "1.4.11" to "1.4.12" [#3124](https://github.com/storybookjs/storybook/pull/3124) +- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.24" to "1.5.25" [#3124](https://github.com/storybookjs/storybook/pull/3124) +- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.33" to "1.7.34" [#3124](https://github.com/storybookjs/storybook/pull/3124) +- Upgraded `gatsby` in `/docs` from "1.9.216" to "1.9.221" [#3124](https://github.com/storybookjs/storybook/pull/3124) +- Upgraded `codelyzer` in `/` from "4.1.0" to "4.2.1" [#3131](https://github.com/storybookjs/storybook/pull/3131) +- Upgraded `file-loader` in `lib/core` from "1.1.10" to "1.1.11" [#3131](https://github.com/storybookjs/storybook/pull/3131) +- Upgraded `copy-webpack-plugin` in `app/polymer` from "4.4.2" to "4.5.0" [#3131](https://github.com/storybookjs/storybook/pull/3131) +- Upgraded `copy-webpack-plugin` in `examples/polymer-cli` from "4.4.2" to "4.5.0" [#3131](https://github.com/storybookjs/storybook/pull/3131) +- Upgraded `file-loader` in `examples/vue-kitchen-sink` from "1.1.10" to "1.1.11" [#3131](https://github.com/storybookjs/storybook/pull/3131) +- Upgraded `@angular/common` in `/` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `@angular/compiler` in `/` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `@angular/core` in `/` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `@angular/forms` in `/` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `@angular/platform-browser` in `/` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `@angular/platform-browser-dynamic` in `/` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `prettier` in `/` from "1.11.0" to "1.11.1" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `prettier` in `addons/storysource` from "1.11.0" to "1.11.1" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `babel-plugin-react-docgen` in `app/react` from "1.8.2" to "1.8.3" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `webpack-hot-middleware` in `app/react` from "2.21.0" to "2.21.1" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `nodemon` in `app/react` from "1.15.1" to "1.17.1" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `jest-specific-snapshot` in `addons/storyshots` from "0.3.0" to "0.4.0" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `react-color` in `addons/knobs` from "2.13.8" to "2.14.0" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `webpack-hot-middleware` in `lib/core` from "2.21.0" to "2.21.1" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `webpack-hot-middleware` in `app/angular` from "2.21.0" to "2.21.1" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `nodemon` in `app/angular` from "1.15.1" to "1.17.1" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `webpack-hot-middleware` in `app/polymer` from "2.21.0" to "2.21.1" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `nodemon` in `app/polymer` from "1.15.1" to "1.17.1" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `webpack-hot-middleware` in `app/react-native` from "2.21.0" to "2.21.1" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `webpack-hot-middleware` in `app/vue` from "2.21.0" to "2.21.1" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `nodemon` in `app/vue` from "1.15.1" to "1.17.1" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `@angular/common` in `examples/angular-cli` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `@angular/core` in `examples/angular-cli` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `@angular/forms` in `examples/angular-cli` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `@angular/cli` in `examples/angular-cli` from "1.7.1" to "1.7.2" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.2.6" to "5.2.7" [#3123](https://github.com/storybookjs/storybook/pull/3123) +- Vue example: upgrade vue-loader from 13.7.1 to 14.1.1 [#3077](https://github.com/storybookjs/storybook/pull/3077) +- Maintenance: upgrade lint-staged from `6.1.1` to `7.0.0` [#3067](https://github.com/storybookjs/storybook/pull/3067) +- Core & UI: upgrade events from 1.1.1 to 2.0.0 [#3075](https://github.com/storybookjs/storybook/pull/3075) +- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.34" to "1.6.35" [#3109](https://github.com/storybookjs/storybook/pull/3109) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.50" to "1.5.51" [#3109](https://github.com/storybookjs/storybook/pull/3109) +- Upgraded `gatsby` in `/docs` from "1.9.215" to "1.9.216" [#3109](https://github.com/storybookjs/storybook/pull/3109) +- Upgraded `marked` in `/docs` from "0.3.16" to "0.3.17" [#3109](https://github.com/storybookjs/storybook/pull/3109) +- Upgraded `prop-types` in `/docs` from "15.6.0" to "15.6.1" [#3109](https://github.com/storybookjs/storybook/pull/3109) +- RN app: upgrade ws from 3.3.3 to 4.1.0 [#3074](https://github.com/storybookjs/storybook/pull/3074) +- Upgraded `prettier` in `/` from "1.10.2" to "1.11.0" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `prop-types` in `addons/background` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `prop-types` in `addons/events` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `acorn` in `addons/storysource` from "5.4.1" to "5.5.0" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `acorn-stage3` in `addons/storysource` from "0.5.0" to "0.6.0" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `prettier` in `addons/storysource` from "1.10.2" to "1.11.0" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `prop-types` in `addons/storysource` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `dotenv-webpack` in `app/react` from "1.5.4" to "1.5.5" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `prop-types` in `app/react` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `prop-types` in `addons/graphql` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `marked` in `addons/notes` from "0.3.16" to "0.3.17" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `prop-types` in `addons/notes` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `prop-types` in `addons/actions` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `prop-types` in `addons/links` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `prop-types` in `lib/components` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `prop-types` in `addons/a11y` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `prop-types` in `addons/info` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `prop-types` in `addons/jest` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `prop-types` in `addons/knobs` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `prop-types` in `addons/viewport` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `prop-types` in `lib/ui` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `dotenv` in `lib/core` from "5.0.0" to "5.0.1" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `file-loader` in `lib/core` from "1.1.9" to "1.1.10" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `prop-types` in `lib/core` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `prop-types` in `examples/cra-kitchen-sink` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `prop-types` in `examples/official-storybook` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `dotenv-webpack` in `app/angular` from "1.5.4" to "1.5.5" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `dotenv-webpack` in `app/polymer` from "1.5.4" to "1.5.5" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `prop-types` in `app/react-native` from "15.6.0" to "15.6.1" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `dotenv-webpack` in `app/vue` from "1.5.4" to "1.5.5" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `webpack-dev-server` in `examples/polymer-cli` from "2.11.1" to "2.11.2" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `file-loader` in `examples/vue-kitchen-sink` from "1.1.9" to "1.1.10" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `webpack-dev-server` in `examples/vue-kitchen-sink` from "2.11.1" to "2.11.2" [#3108](https://github.com/storybookjs/storybook/pull/3108) +- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.23" to "1.5.24" [#3103](https://github.com/storybookjs/storybook/pull/3103) +- Upgraded `gatsby` in `/docs` from "1.9.214" to "1.9.215" [#3103](https://github.com/storybookjs/storybook/pull/3103) +- Upgraded `jest-preset-angular` in `/` from "5.1.0" to "5.2.0" [#3104](https://github.com/storybookjs/storybook/pull/3104) +- Upgraded `postcss-loader` in `lib/core` from "2.1.0" to "2.1.1" [#3104](https://github.com/storybookjs/storybook/pull/3104) +- Upgraded `tslint-config-prettier` in `/` from "1.8.0" to "1.9.0" [#3097](https://github.com/storybookjs/storybook/pull/3097) +- Upgraded `babel-loader` in `app/react` from "7.1.2" to "7.1.3" [#3097](https://github.com/storybookjs/storybook/pull/3097) +- Upgraded `babel-loader` in `app/angular` from "7.1.2" to "7.1.3" [#3097](https://github.com/storybookjs/storybook/pull/3097) +- Upgraded `babel-loader` in `app/polymer` from "7.1.2" to "7.1.3" [#3097](https://github.com/storybookjs/storybook/pull/3097) +- Upgraded `babel-loader` in `app/react-native` from "7.1.2" to "7.1.3" [#3097](https://github.com/storybookjs/storybook/pull/3097) +- Upgraded `babel-loader` in `app/vue` from "7.1.2" to "7.1.3" [#3097](https://github.com/storybookjs/storybook/pull/3097) +- Upgraded `babel-loader` in `examples/polymer-cli` from "7.1.2" to "7.1.3" [#3097](https://github.com/storybookjs/storybook/pull/3097) +- Upgraded `babel-loader` in `examples/vue-kitchen-sink` from "7.1.2" to "7.1.3" [#3097](https://github.com/storybookjs/storybook/pull/3097) +- Update gatsby in /docs from 1.9.212 to 1.9.214 [#3095](https://github.com/storybookjs/storybook/pull/3095) +- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.33" to "1.6.34" [#3071](https://github.com/storybookjs/storybook/pull/3071) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.49" to "1.5.50" [#3071](https://github.com/storybookjs/storybook/pull/3071) +- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.22" to "1.5.23" [#3071](https://github.com/storybookjs/storybook/pull/3071) +- Upgraded `gatsby` in `/docs` from "1.9.209" to "1.9.212" [#3071](https://github.com/storybookjs/storybook/pull/3071) +- Upgraded `puppeteer` in `/` from "1.1.0" to "1.1.1" [#3069](https://github.com/storybookjs/storybook/pull/3069) +- Upgraded `react-syntax-highlighter` in `addons/storysource` from "7.0.0" to "7.0.1" [#3069](https://github.com/storybookjs/storybook/pull/3069) +- Upgraded `uglifyjs-webpack-plugin` in `app/react` from "1.2.0" to "1.2.2" [#3069](https://github.com/storybookjs/storybook/pull/3069) +- Upgraded `puppeteer` in `addons/storyshots` from "1.0.0" to "1.1.1" [#3069](https://github.com/storybookjs/storybook/pull/3069) +- Upgraded `uglifyjs-webpack-plugin` in `app/angular` from "1.2.0" to "1.2.2" [#3069](https://github.com/storybookjs/storybook/pull/3069) +- Upgraded `copy-webpack-plugin` in `app/polymer` from "4.4.1" to "4.4.2" [#3069](https://github.com/storybookjs/storybook/pull/3069) +- Upgraded `uglifyjs-webpack-plugin` in `app/polymer` from "1.2.0" to "1.2.2" [#3069](https://github.com/storybookjs/storybook/pull/3069) +- Upgraded `uglifyjs-webpack-plugin` in `app/react-native` from "1.2.0" to "1.2.2" [#3069](https://github.com/storybookjs/storybook/pull/3069) +- Upgraded `uglifyjs-webpack-plugin` in `app/vue` from "1.2.0" to "1.2.2" [#3069](https://github.com/storybookjs/storybook/pull/3069) +- Upgraded `copy-webpack-plugin` in `examples/polymer-cli` from "4.4.1" to "4.4.2" [#3069](https://github.com/storybookjs/storybook/pull/3069) +- Upgraded `jest` in `/` from "22.4.0" to "22.4.2" [#3063](https://github.com/storybookjs/storybook/pull/3063) +- Upgraded `jest-cli` in `/` from "22.4.0" to "22.4.2" [#3063](https://github.com/storybookjs/storybook/pull/3063) +- Upgraded `jest-config` in `/` from "22.4.0" to "22.4.2" [#3063](https://github.com/storybookjs/storybook/pull/3063) +- Upgraded `jest-environment-jsdom` in `/` from "22.4.0" to "22.4.1" [#3063](https://github.com/storybookjs/storybook/pull/3063) +- Upgraded `jest-jasmine2` in `/` from "22.4.0" to "22.4.2" [#3063](https://github.com/storybookjs/storybook/pull/3063) +- Upgraded `css-loader` in `app/react` from "0.28.9" to "0.28.10" [#3063](https://github.com/storybookjs/storybook/pull/3063) +- Upgraded `babel-jest` in `addons/storyshots` from "22.4.0" to "22.4.1" [#3063](https://github.com/storybookjs/storybook/pull/3063) +- Upgraded `jest` in `addons/storyshots` from "22.4.0" to "22.4.2" [#3063](https://github.com/storybookjs/storybook/pull/3063) +- Upgraded `jest-cli` in `addons/storyshots` from "22.4.0" to "22.4.2" [#3063](https://github.com/storybookjs/storybook/pull/3063) +- Upgraded `css-loader` in `lib/core` from "0.28.9" to "0.28.10" [#3063](https://github.com/storybookjs/storybook/pull/3063) +- Upgraded `babel-jest` in `examples/cra-kitchen-sink` from "22.4.0" to "22.4.1" [#3063](https://github.com/storybookjs/storybook/pull/3063) +- Upgraded `jest` in `examples/cra-kitchen-sink` from "22.4.0" to "22.4.2" [#3063](https://github.com/storybookjs/storybook/pull/3063) +- Upgraded `babel-jest` in `examples/official-storybook` from "22.4.0" to "22.4.1" [#3063](https://github.com/storybookjs/storybook/pull/3063) +- Upgraded `jest` in `examples/official-storybook` from "22.4.0" to "22.4.2" [#3063](https://github.com/storybookjs/storybook/pull/3063) +- Upgraded `css-loader` in `app/angular` from "0.28.9" to "0.28.10" [#3063](https://github.com/storybookjs/storybook/pull/3063) +- Upgraded `css-loader` in `app/polymer` from "0.28.9" to "0.28.10" [#3063](https://github.com/storybookjs/storybook/pull/3063) +- Upgraded `css-loader` in `app/react-native` from "0.28.9" to "0.28.10" [#3063](https://github.com/storybookjs/storybook/pull/3063) +- Upgraded `css-loader` in `app/vue` from "0.28.9" to "0.28.10" [#3063](https://github.com/storybookjs/storybook/pull/3063) +- Upgraded `css-loader` in `examples/vue-kitchen-sink` from "0.28.9" to "0.28.10" [#3063](https://github.com/storybookjs/storybook/pull/3063) +- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.32" to "1.6.33" [#3064](https://github.com/storybookjs/storybook/pull/3064) +- Upgraded `gatsby-remark-copy-linked-files` in `/docs` from "1.5.27" to "1.5.28" [#3064](https://github.com/storybookjs/storybook/pull/3064) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.48" to "1.5.49" [#3064](https://github.com/storybookjs/storybook/pull/3064) +- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.21" to "1.5.22" [#3064](https://github.com/storybookjs/storybook/pull/3064) +- Upgraded `gatsby` in `/docs` from "1.9.206" to "1.9.209" [#3064](https://github.com/storybookjs/storybook/pull/3064) +- Upgraded `@angular/common` in `/` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `@angular/compiler` in `/` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `@angular/core` in `/` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `@angular/forms` in `/` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `@angular/platform-browser` in `/` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `@angular/platform-browser-dynamic` in `/` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `eslint-plugin-import` in `/` from "2.8.0" to "2.9.0" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `jest-preset-angular` in `/` from "5.0.0" to "5.1.0" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `file-loader` in `app/react` from "1.1.8" to "1.1.9" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `file-loader` in `lib/core` from "1.1.8" to "1.1.9" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `react-chromatic` in `examples/official-storybook` from "0.7.9" to "0.7.10" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `file-loader` in `app/angular` from "1.1.8" to "1.1.9" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `file-loader` in `app/polymer` from "1.1.8" to "1.1.9" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `file-loader` in `app/react-native` from "1.1.8" to "1.1.9" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `file-loader` in `app/vue` from "1.1.8" to "1.1.9" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `@angular/animations` in `examples/angular-cli` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `@angular/common` in `examples/angular-cli` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `@angular/core` in `examples/angular-cli` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `@angular/forms` in `examples/angular-cli` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `@angular/http` in `examples/angular-cli` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `@angular/router` in `examples/angular-cli` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `@angular/cli` in `examples/angular-cli` from "1.7.0" to "1.7.1" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `@angular/language-service` in `examples/angular-cli` from "5.2.5" to "5.2.6" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `file-loader` in `examples/vue-kitchen-sink` from "1.1.8" to "1.1.9" [#3055](https://github.com/storybookjs/storybook/pull/3055) +- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.31" to "1.6.32" [#3056](https://github.com/storybookjs/storybook/pull/3056) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.47" to "1.5.48" [#3056](https://github.com/storybookjs/storybook/pull/3056) +- Upgraded `gatsby` in `/docs` from "1.9.204" to "1.9.206" [#3056](https://github.com/storybookjs/storybook/pull/3056) @@ -3823,10 +4287,10 @@ Fix publishing options to use exact versions for cross-dependencies per this cha #### Bug Fixes -- Unset background when switching to a non-background story [#3142](https://github.com/storybooks/storybook/pull/3142) -- Updated testIds in RN StoryListView to use kind [#3129](https://github.com/storybooks/storybook/pull/3129) -- Added missing key prop to NoTests component. [#3111](https://github.com/storybooks/storybook/pull/3111) -- Events addon: fix React keys warning [#3072](https://github.com/storybooks/storybook/pull/3072) +- Unset background when switching to a non-background story [#3142](https://github.com/storybookjs/storybook/pull/3142) +- Updated testIds in RN StoryListView to use kind [#3129](https://github.com/storybookjs/storybook/pull/3129) +- Added missing key prop to NoTests component. [#3111](https://github.com/storybookjs/storybook/pull/3111) +- Events addon: fix React keys warning [#3072](https://github.com/storybookjs/storybook/pull/3072) ## 3.4.0-alpha.9 @@ -3834,32 +4298,32 @@ Fix publishing options to use exact versions for cross-dependencies per this cha #### Features -- Addon-storysource: story source in addon pane [#2885](https://github.com/storybooks/storybook/pull/2885) -- Addon Storysource improvements [#3040](https://github.com/storybooks/storybook/pull/3040) -- Add moduleMetdata decorator for supplying common Angular metadata [#2959](https://github.com/storybooks/storybook/pull/2959) -- `Addon Storysource` Add auto scrolling to the selected story [#3025](https://github.com/storybooks/storybook/pull/3025) -- Enable groupId option for knobs to be organized into sub panels. [#2661](https://github.com/storybooks/storybook/pull/2661) -- Added beforeScreenshot config option to addons/storyshots, to allow testing of components with mounting animations [#2972](https://github.com/storybooks/storybook/pull/2972) -- Add GitHub flavored markdown notes [#2946](https://github.com/storybooks/storybook/pull/2946) +- Addon-storysource: story source in addon pane [#2885](https://github.com/storybookjs/storybook/pull/2885) +- Addon Storysource improvements [#3040](https://github.com/storybookjs/storybook/pull/3040) +- Add moduleMetdata decorator for supplying common Angular metadata [#2959](https://github.com/storybookjs/storybook/pull/2959) +- `Addon Storysource` Add auto scrolling to the selected story [#3025](https://github.com/storybookjs/storybook/pull/3025) +- Enable groupId option for knobs to be organized into sub panels. [#2661](https://github.com/storybookjs/storybook/pull/2661) +- Added beforeScreenshot config option to addons/storyshots, to allow testing of components with mounting animations [#2972](https://github.com/storybookjs/storybook/pull/2972) +- Add GitHub flavored markdown notes [#2946](https://github.com/storybookjs/storybook/pull/2946) #### Bug Fixes -- Fix problem with RN on latest `master` build [#3045](https://github.com/storybooks/storybook/pull/3045) -- Use @storybook/podda to fix npm engine version in podda [#3033](https://github.com/storybooks/storybook/pull/3033) +- Fix problem with RN on latest `master` build [#3045](https://github.com/storybookjs/storybook/pull/3045) +- Use @storybook/podda to fix npm engine version in podda [#3033](https://github.com/storybookjs/storybook/pull/3033) #### Documentation -- Revisit addon/framework support [#3046](https://github.com/storybooks/storybook/pull/3046) -- Docs live examples [#3019](https://github.com/storybooks/storybook/pull/3019) -- Mention new supported frameworks [#2895](https://github.com/storybooks/storybook/pull/2895) +- Revisit addon/framework support [#3046](https://github.com/storybookjs/storybook/pull/3046) +- Docs live examples [#3019](https://github.com/storybookjs/storybook/pull/3019) +- Mention new supported frameworks [#2895](https://github.com/storybookjs/storybook/pull/2895) #### Maintenance -- Use core client api in react native [#3036](https://github.com/storybooks/storybook/pull/3036) -- Optimize CI workflow [#3016](https://github.com/storybooks/storybook/pull/3016) -- Integration tests: wait until stories appear [#3027](https://github.com/storybooks/storybook/pull/3027) -- Add netlify for polymer [#3004](https://github.com/storybooks/storybook/pull/3004) -- Add built storybooks to official storybook [#2958](https://github.com/storybooks/storybook/pull/2958) +- Use core client api in react native [#3036](https://github.com/storybookjs/storybook/pull/3036) +- Optimize CI workflow [#3016](https://github.com/storybookjs/storybook/pull/3016) +- Integration tests: wait until stories appear [#3027](https://github.com/storybookjs/storybook/pull/3027) +- Add netlify for polymer [#3004](https://github.com/storybookjs/storybook/pull/3004) +- Add built storybooks to official storybook [#2958](https://github.com/storybookjs/storybook/pull/2958) #### Dependency Upgrades @@ -3868,175 +4332,175 @@ Fix publishing options to use exact versions for cross-dependencies per this cha 169 Updates -- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.13" to "3.3.14" [#3051](https://github.com/storybooks/storybook/pull/3051) -- Upgraded `@storybook/addon-links` in `/docs` from "3.3.13" to "3.3.14" [#3051](https://github.com/storybooks/storybook/pull/3051) -- Upgraded `@storybook/addons` in `/docs` from "3.3.13" to "3.3.14" [#3051](https://github.com/storybooks/storybook/pull/3051) -- Upgraded `@storybook/react` in `/docs` from "3.3.13" to "3.3.14" [#3051](https://github.com/storybooks/storybook/pull/3051) -- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.20" to "1.5.21" [#3051](https://github.com/storybooks/storybook/pull/3051) -- Upgraded `gatsby` in `/docs` from "1.9.203" to "1.9.204" [#3051](https://github.com/storybooks/storybook/pull/3051) -- Upgraded `marked` in `/docs` from "0.3.15" to "0.3.16" [#3051](https://github.com/storybooks/storybook/pull/3051) -- Upgraded `eslint` in `/` from "4.18.0" to "4.18.1" [#3050](https://github.com/storybooks/storybook/pull/3050) -- Upgraded `jscodeshift` in `lib/codemod` from "0.4.0" to "0.4.1" [#3050](https://github.com/storybooks/storybook/pull/3050) -- Upgraded `file-loader` in `app/react` from "1.1.7" to "1.1.8" [#3050](https://github.com/storybooks/storybook/pull/3050) -- Upgraded `marked` in `addons/notes` from "0.3.15" to "0.3.16" [#3050](https://github.com/storybooks/storybook/pull/3050) -- Upgraded `react-modal` in `lib/ui` from "3.2.1" to "3.3.1" [#3050](https://github.com/storybooks/storybook/pull/3050) -- Upgraded `file-loader` in `lib/core` from "1.1.7" to "1.1.8" [#3050](https://github.com/storybooks/storybook/pull/3050) -- Upgraded `file-loader` in `app/angular` from "1.1.7" to "1.1.8" [#3050](https://github.com/storybooks/storybook/pull/3050) -- Upgraded `react-modal` in `app/angular` from "3.2.1" to "3.3.1" [#3050](https://github.com/storybooks/storybook/pull/3050) -- Upgraded `ts-loader` in `app/angular` from "3.3.1" to "3.5.0" [#3050](https://github.com/storybooks/storybook/pull/3050) -- Upgraded `file-loader` in `app/polymer` from "1.1.7" to "1.1.8" [#3050](https://github.com/storybooks/storybook/pull/3050) -- Upgraded `react-modal` in `app/polymer` from "3.2.1" to "3.3.1" [#3050](https://github.com/storybooks/storybook/pull/3050) -- Upgraded `file-loader` in `app/react-native` from "1.1.7" to "1.1.8" [#3050](https://github.com/storybooks/storybook/pull/3050) -- Upgraded `file-loader` in `app/vue` from "1.1.7" to "1.1.8" [#3050](https://github.com/storybooks/storybook/pull/3050) -- Upgraded `vue-hot-reload-api` in `app/vue` from "2.2.4" to "2.3.0" [#3050](https://github.com/storybooks/storybook/pull/3050) -- Upgraded `jscodeshift` in `lib/cli` from "0.4.0" to "0.4.1" [#3050](https://github.com/storybooks/storybook/pull/3050) -- Upgraded `file-loader` in `examples/vue-kitchen-sink` from "1.1.7" to "1.1.8" [#3050](https://github.com/storybooks/storybook/pull/3050) -- Upgraded `vue-hot-reload-api` in `examples/vue-kitchen-sink` from "2.2.4" to "2.3.0" [#3050](https://github.com/storybooks/storybook/pull/3050) -- Upgraded `babel-eslint` in `/` from "8.2.1" to "8.2.2" [#3041](https://github.com/storybooks/storybook/pull/3041) -- Upgraded `jest` in `/` from "22.3.0" to "22.4.0" [#3041](https://github.com/storybooks/storybook/pull/3041) -- Upgraded `jest-cli` in `/` from "22.3.0" to "22.4.0" [#3041](https://github.com/storybooks/storybook/pull/3041) -- Upgraded `jest-config` in `/` from "22.3.0" to "22.4.0" [#3041](https://github.com/storybooks/storybook/pull/3041) -- Upgraded `jest-diff` in `/` from "22.1.0" to "22.4.0" [#3041](https://github.com/storybooks/storybook/pull/3041) -- Upgraded `jest-environment-jsdom` in `/` from "22.3.0" to "22.4.0" [#3041](https://github.com/storybooks/storybook/pull/3041) -- Upgraded `jest-jasmine2` in `/` from "22.3.0" to "22.4.0" [#3041](https://github.com/storybooks/storybook/pull/3041) -- Upgraded `babel-jest` in `addons/storyshots` from "22.1.0" to "22.4.0" [#3041](https://github.com/storybooks/storybook/pull/3041) -- Upgraded `jest` in `addons/storyshots` from "22.3.0" to "22.4.0" [#3041](https://github.com/storybooks/storybook/pull/3041) -- Upgraded `jest-cli` in `addons/storyshots` from "22.3.0" to "22.4.0" [#3041](https://github.com/storybooks/storybook/pull/3041) -- Upgraded `babel-jest` in `examples/cra-kitchen-sink` from "22.2.2" to "22.4.0" [#3041](https://github.com/storybooks/storybook/pull/3041) -- Upgraded `jest` in `examples/cra-kitchen-sink` from "22.3.0" to "22.4.0" [#3041](https://github.com/storybooks/storybook/pull/3041) -- Upgraded `babel-jest` in `examples/official-storybook` from "22.1.0" to "22.4.0" [#3041](https://github.com/storybooks/storybook/pull/3041) -- Upgraded `jest` in `examples/official-storybook` from "22.3.0" to "22.4.0" [#3041](https://github.com/storybooks/storybook/pull/3041) -- Addon-storyshots: upgrade puppeteer to 1.0.0 [#2853](https://github.com/storybooks/storybook/pull/2853) -- App-angular: upgrade ts-loader to 3.3.1 [#2855](https://github.com/storybooks/storybook/pull/2855) -- Update cross-spawn in lib/cli from 6.0.3 to 6.0.4 [#3039](https://github.com/storybooks/storybook/pull/3039) -- Update eslint-plugin-react in / from 7.6.1 to 7.7.0 [#3037](https://github.com/storybooks/storybook/pull/3037) -- CLI: upgrade cross-spawn to 6.0.3 [#2854](https://github.com/storybooks/storybook/pull/2854) -- Update gatsby in /docs from 1.9.202 to 1.9.203 [#3034](https://github.com/storybooks/storybook/pull/3034) -- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.30" to "1.6.31" [#3030](https://github.com/storybooks/storybook/pull/3030) -- Upgraded `gatsby-remark-images` in `/docs` from "1.5.46" to "1.5.47" [#3030](https://github.com/storybooks/storybook/pull/3030) -- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.32" to "1.7.33" [#3030](https://github.com/storybooks/storybook/pull/3030) -- Upgraded `nodemon` in `/` from "1.15.0" to "1.15.1" [#3028](https://github.com/storybooks/storybook/pull/3028) -- Upgraded `file-loader` in `app/react` from "1.1.6" to "1.1.7" [#3028](https://github.com/storybooks/storybook/pull/3028) -- Upgraded `nodemon` in `app/react` from "1.15.0" to "1.15.1" [#3028](https://github.com/storybooks/storybook/pull/3028) -- Upgraded `file-loader` in `lib/core` from "1.1.6" to "1.1.7" [#3028](https://github.com/storybooks/storybook/pull/3028) -- Upgraded `file-loader` in `app/angular` from "1.1.6" to "1.1.7" [#3028](https://github.com/storybooks/storybook/pull/3028) -- Upgraded `nodemon` in `app/angular` from "1.15.0" to "1.15.1" [#3028](https://github.com/storybooks/storybook/pull/3028) -- Upgraded `file-loader` in `app/polymer` from "1.1.6" to "1.1.7" [#3028](https://github.com/storybooks/storybook/pull/3028) -- Upgraded `nodemon` in `app/polymer` from "1.15.0" to "1.15.1" [#3028](https://github.com/storybooks/storybook/pull/3028) -- Upgraded `file-loader` in `app/react-native` from "1.1.6" to "1.1.7" [#3028](https://github.com/storybooks/storybook/pull/3028) -- Upgraded `file-loader` in `app/vue` from "1.1.6" to "1.1.7" [#3028](https://github.com/storybooks/storybook/pull/3028) -- Upgraded `nodemon` in `app/vue` from "1.15.0" to "1.15.1" [#3028](https://github.com/storybooks/storybook/pull/3028) -- Upgraded `file-loader` in `examples/vue-kitchen-sink` from "1.1.6" to "1.1.7" [#3028](https://github.com/storybooks/storybook/pull/3028) -- Update marked in /docs from 0.3.14 to 0.3.15 [#3021](https://github.com/storybooks/storybook/pull/3021) -- Core: upgrade dotenv to 5.0.0 [#2878](https://github.com/storybooks/storybook/pull/2878) -- Update acorn-stage3 in addons/storysource from 0.4.0 to 0.5.0 [#3014](https://github.com/storybooks/storybook/pull/3014) -- Update gatsby in /docs from 1.9.201 to 1.9.202 [#3012](https://github.com/storybooks/storybook/pull/3012) -- Update marked in addons/notes from 0.3.12 to 0.3.14 [#3015](https://github.com/storybooks/storybook/pull/3015) -- Upgraded `danger` in `/` from "3.1.6" to "3.1.7" [#3013](https://github.com/storybooks/storybook/pull/3013) -- Upgraded `eslint-plugin-jest` in `/` from "21.12.1" to "21.12.2" [#3013](https://github.com/storybooks/storybook/pull/3013) -- Upgraded `glamorous` in `lib/components` from "4.11.5" to "4.11.6" [#3009](https://github.com/storybooks/storybook/pull/3009) -- Upgraded `glamorous` in `addons/a11y` from "4.11.5" to "4.11.6" [#3009](https://github.com/storybooks/storybook/pull/3009) -- Upgraded `glamorous` in `addons/info` from "4.11.5" to "4.11.6" [#3009](https://github.com/storybooks/storybook/pull/3009) -- Upgraded `glamorous` in `addons/jest` from "4.11.5" to "4.11.6" [#3009](https://github.com/storybooks/storybook/pull/3009) -- Upgraded `glamorous` in `app/react` from "4.11.5" to "4.11.6" [#3009](https://github.com/storybooks/storybook/pull/3009) -- Upgraded `glamorous` in `examples/cra-kitchen-sink` from "4.11.5" to "4.11.6" [#3009](https://github.com/storybooks/storybook/pull/3009) -- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.29" to "1.6.30" [#3008](https://github.com/storybooks/storybook/pull/3008) -- Upgraded `gatsby-remark-images` in `/docs` from "1.5.45" to "1.5.46" [#3008](https://github.com/storybooks/storybook/pull/3008) -- Upgraded `eslint` in `/` from "4.17.0" to "4.18.0" [#3006](https://github.com/storybooks/storybook/pull/3006) -- Upgraded `uglifyjs-webpack-plugin` in `app/angular` from "1.1.8" to "1.2.0" [#3006](https://github.com/storybooks/storybook/pull/3006) -- Upgraded `uglifyjs-webpack-plugin` in `app/polymer` from "1.1.8" to "1.2.0" [#3006](https://github.com/storybooks/storybook/pull/3006) -- Upgraded `uglifyjs-webpack-plugin` in `app/react-native` from "1.1.8" to "1.2.0" [#3006](https://github.com/storybooks/storybook/pull/3006) -- Upgraded `uglifyjs-webpack-plugin` in `app/react` from "1.1.8" to "1.2.0" [#3006](https://github.com/storybooks/storybook/pull/3006) -- Upgraded `uglifyjs-webpack-plugin` in `app/vue` from "1.1.8" to "1.2.0" [#3006](https://github.com/storybooks/storybook/pull/3006) -- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.28" to "1.6.29" [#3005](https://github.com/storybooks/storybook/pull/3005) -- Upgraded `gatsby-remark-images` in `/docs` from "1.5.44" to "1.5.45" [#3005](https://github.com/storybooks/storybook/pull/3005) -- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.19" to "1.5.20" [#3005](https://github.com/storybooks/storybook/pull/3005) -- Upgraded `gatsby` in `/docs` from "1.9.200" to "1.9.201" [#3005](https://github.com/storybooks/storybook/pull/3005) -- Upgraded `lint-staged` in `/` from "6.1.0" to "6.1.1" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Upgraded `nodemon` in `/` from "1.14.12" to "1.15.0" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Upgraded `puppeteer` in `/` from "1.0.0" to "1.1.0" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Upgraded `typescript` in `/` from "2.7.1" to "2.7.2" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Upgraded `graphql` in `addons/graphql` from "0.13.0" to "0.13.1" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Upgraded `style-loader` in `addons/knobs` from "0.20.1" to "0.20.2" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Upgraded `glamorous` in `lib/components` from "4.11.4" to "4.11.5" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Upgraded `glamorous` in `addons/a11y` from "4.11.4" to "4.11.5" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Upgraded `glamorous` in `addons/info` from "4.11.4" to "4.11.5" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Upgraded `glamorous` in `addons/jest` from "4.11.4" to "4.11.5" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Upgraded `style-loader` in `lib/core` from "0.20.1" to "0.20.2" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Upgraded `style-loader` in `app/angular` from "0.20.1" to "0.20.2" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Upgraded `nodemon` in `app/angular` from "1.14.12" to "1.15.0" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Upgraded `typescript` in `app/angular` from "2.7.1" to "2.7.2" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Upgraded `style-loader` in `app/polymer` from "0.20.1" to "0.20.2" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Upgraded `nodemon` in `app/polymer` from "1.14.12" to "1.15.0" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Upgraded `style-loader` in `app/react-native` from "0.20.1" to "0.20.2" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Upgraded `glamorous` in `app/react` from "4.11.4" to "4.11.5" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Upgraded `style-loader` in `app/react` from "0.20.1" to "0.20.2" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Upgraded `nodemon` in `app/react` from "1.14.12" to "1.15.0" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Upgraded `style-loader` in `app/vue` from "0.20.1" to "0.20.2" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Upgraded `nodemon` in `app/vue` from "1.14.12" to "1.15.0" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Upgraded `@angular/cli` in `examples/angular-cli` from "1.6.8" to "1.7.0" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Upgraded `typescript` in `examples/angular-cli` from "2.7.1" to "2.7.2" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Upgraded `glamorous` in `examples/cra-kitchen-sink` from "4.11.4" to "4.11.5" [#3003](https://github.com/storybooks/storybook/pull/3003) -- Update gatsby in /docs from 1.9.199 to 1.9.200 [#3001](https://github.com/storybooks/storybook/pull/3001) -- Update marked in /docs from 0.3.12 to 0.3.14 [#2999](https://github.com/storybooks/storybook/pull/2999) -- Upgraded `react-modal` in `lib/ui` from "3.1.13" to "3.2.1" [#2992](https://github.com/storybooks/storybook/pull/2992) -- Upgraded `react-modal` in `app/angular` from "3.1.13" to "3.2.1" [#2992](https://github.com/storybooks/storybook/pull/2992) -- Upgraded `react-modal` in `app/polymer` from "3.1.13" to "3.2.1" [#2992](https://github.com/storybooks/storybook/pull/2992) -- Update 8 dependencies from npm [#2978](https://github.com/storybooks/storybook/pull/2978) -- Update make-error in addons/actions from 1.3.3 to 1.3.4 [#2991](https://github.com/storybooks/storybook/pull/2991) -- Update 2 dependencies from npm [#2712](https://github.com/storybooks/storybook/pull/2712) -- Update tslint-config-prettier in / from 1.7.0 to 1.8.0 [#2990](https://github.com/storybooks/storybook/pull/2990) -- Update lerna in / from 2.8.0 to 2.9.0 [#2987](https://github.com/storybooks/storybook/pull/2987) -- Update `eslint-plugin-react` in `/` from "7.6.0" to "7.6.1" [#2864](https://github.com/storybooks/storybook/pull/2864) -- Upgraded `@angular/common` in `/` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `@angular/compiler` in `/` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `@angular/core` in `/` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `@angular/forms` in `/` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `@angular/platform-browser` in `/` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `@angular/platform-browser-dynamic` in `/` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `jest` in `/` from "22.2.1" to "22.3.0" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `jest-cli` in `/` from "22.2.2" to "22.3.0" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `jest-config` in `/` from "22.2.2" to "22.3.0" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `jest-environment-jsdom` in `/` from "22.2.2" to "22.3.0" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `jest-jasmine2` in `/` from "22.2.2" to "22.3.0" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `jest` in `addons/storyshots` from "22.1.4" to "22.3.0" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `jest-cli` in `addons/storyshots` from "22.1.4" to "22.3.0" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `@angular/animations` in `examples/angular-cli` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `@angular/common` in `examples/angular-cli` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `@angular/core` in `examples/angular-cli` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `@angular/forms` in `examples/angular-cli` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `@angular/http` in `examples/angular-cli` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `@angular/router` in `examples/angular-cli` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `@angular/language-service` in `examples/angular-cli` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `@types/node` in `examples/angular-cli` from "9.4.5" to "9.4.6" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `jest` in `examples/cra-kitchen-sink` from "22.2.2" to "22.3.0" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Upgraded `jest` in `examples/official-storybook` from "22.1.4" to "22.3.0" [#2986](https://github.com/storybooks/storybook/pull/2986) -- Update gatsby in /docs from 1.9.198 to 1.9.199 [#2988](https://github.com/storybooks/storybook/pull/2988) -- Update gatsby in /docs from 1.9.197 to 1.9.198 [#2985](https://github.com/storybooks/storybook/pull/2985) -- Update gatsby in /docs from 1.9.193 to 1.9.197 [#2983](https://github.com/storybooks/storybook/pull/2983) -- Upgraded `danger` in `/` from "3.1.3" to "3.1.6" [#2977](https://github.com/storybooks/storybook/pull/2977) -- Upgraded `eslint-plugin-jest` in `/` from "21.12.0" to "21.12.1" [#2977](https://github.com/storybooks/storybook/pull/2977) -- Upgraded `inquirer` in `/` from "5.0.1" to "5.1.0" [#2977](https://github.com/storybooks/storybook/pull/2977) -- Upgraded `react-fuzzy` in `lib/ui` from "0.5.1" to "0.5.2" [#2977](https://github.com/storybooks/storybook/pull/2977) -- Upgraded `@types/node` in `examples/angular-cli` from "9.4.0" to "9.4.5" [#2977](https://github.com/storybooks/storybook/pull/2977) -- Upgraded `babel-preset-vue` in `examples/vue-kitchen-sink` from "2.0.0" to "2.0.1" [#2977](https://github.com/storybooks/storybook/pull/2977) -- Update gatsby in /docs from 1.9.188 to 1.9.193 [#2973](https://github.com/storybooks/storybook/pull/2973) -- Upgraded `eslint-plugin-jest` in `/` from "21.8.0" to "21.12.0" [#2975](https://github.com/storybooks/storybook/pull/2975) -- Upgraded `ts-jest` in `/` from "22.0.3" to "22.0.4" [#2975](https://github.com/storybooks/storybook/pull/2975) -- Upgraded `react-datetime` in `addons/knobs` from "2.13.0" to "2.14.0" [#2975](https://github.com/storybooks/storybook/pull/2975) -- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.12" to "3.3.13" [#2960](https://github.com/storybooks/storybook/pull/2960) -- Upgraded `@storybook/addon-links` in `/docs` from "3.3.12" to "3.3.13" [#2960](https://github.com/storybooks/storybook/pull/2960) -- Upgraded `@storybook/addons` in `/docs` from "3.3.12" to "3.3.13" [#2960](https://github.com/storybooks/storybook/pull/2960) -- Upgraded `@storybook/react` in `/docs` from "3.3.12" to "3.3.13" [#2960](https://github.com/storybooks/storybook/pull/2960) -- Upgraded `chalk` in `/` from "2.3.0" to "2.3.1" [#2961](https://github.com/storybooks/storybook/pull/2961) -- Upgraded `chalk` in `lib/node-logger` from "2.3.0" to "2.3.1" [#2961](https://github.com/storybooks/storybook/pull/2961) -- Upgraded `react-split-pane` in `lib/ui` from "0.1.76" to "0.1.77" [#2961](https://github.com/storybooks/storybook/pull/2961) -- Upgraded `chalk` in `lib/core` from "2.3.0" to "2.3.1" [#2961](https://github.com/storybooks/storybook/pull/2961) -- Upgraded `chalk` in `lib/cli` from "2.3.0" to "2.3.1" [#2961](https://github.com/storybooks/storybook/pull/2961) +- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.13" to "3.3.14" [#3051](https://github.com/storybookjs/storybook/pull/3051) +- Upgraded `@storybook/addon-links` in `/docs` from "3.3.13" to "3.3.14" [#3051](https://github.com/storybookjs/storybook/pull/3051) +- Upgraded `@storybook/addons` in `/docs` from "3.3.13" to "3.3.14" [#3051](https://github.com/storybookjs/storybook/pull/3051) +- Upgraded `@storybook/react` in `/docs` from "3.3.13" to "3.3.14" [#3051](https://github.com/storybookjs/storybook/pull/3051) +- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.20" to "1.5.21" [#3051](https://github.com/storybookjs/storybook/pull/3051) +- Upgraded `gatsby` in `/docs` from "1.9.203" to "1.9.204" [#3051](https://github.com/storybookjs/storybook/pull/3051) +- Upgraded `marked` in `/docs` from "0.3.15" to "0.3.16" [#3051](https://github.com/storybookjs/storybook/pull/3051) +- Upgraded `eslint` in `/` from "4.18.0" to "4.18.1" [#3050](https://github.com/storybookjs/storybook/pull/3050) +- Upgraded `jscodeshift` in `lib/codemod` from "0.4.0" to "0.4.1" [#3050](https://github.com/storybookjs/storybook/pull/3050) +- Upgraded `file-loader` in `app/react` from "1.1.7" to "1.1.8" [#3050](https://github.com/storybookjs/storybook/pull/3050) +- Upgraded `marked` in `addons/notes` from "0.3.15" to "0.3.16" [#3050](https://github.com/storybookjs/storybook/pull/3050) +- Upgraded `react-modal` in `lib/ui` from "3.2.1" to "3.3.1" [#3050](https://github.com/storybookjs/storybook/pull/3050) +- Upgraded `file-loader` in `lib/core` from "1.1.7" to "1.1.8" [#3050](https://github.com/storybookjs/storybook/pull/3050) +- Upgraded `file-loader` in `app/angular` from "1.1.7" to "1.1.8" [#3050](https://github.com/storybookjs/storybook/pull/3050) +- Upgraded `react-modal` in `app/angular` from "3.2.1" to "3.3.1" [#3050](https://github.com/storybookjs/storybook/pull/3050) +- Upgraded `ts-loader` in `app/angular` from "3.3.1" to "3.5.0" [#3050](https://github.com/storybookjs/storybook/pull/3050) +- Upgraded `file-loader` in `app/polymer` from "1.1.7" to "1.1.8" [#3050](https://github.com/storybookjs/storybook/pull/3050) +- Upgraded `react-modal` in `app/polymer` from "3.2.1" to "3.3.1" [#3050](https://github.com/storybookjs/storybook/pull/3050) +- Upgraded `file-loader` in `app/react-native` from "1.1.7" to "1.1.8" [#3050](https://github.com/storybookjs/storybook/pull/3050) +- Upgraded `file-loader` in `app/vue` from "1.1.7" to "1.1.8" [#3050](https://github.com/storybookjs/storybook/pull/3050) +- Upgraded `vue-hot-reload-api` in `app/vue` from "2.2.4" to "2.3.0" [#3050](https://github.com/storybookjs/storybook/pull/3050) +- Upgraded `jscodeshift` in `lib/cli` from "0.4.0" to "0.4.1" [#3050](https://github.com/storybookjs/storybook/pull/3050) +- Upgraded `file-loader` in `examples/vue-kitchen-sink` from "1.1.7" to "1.1.8" [#3050](https://github.com/storybookjs/storybook/pull/3050) +- Upgraded `vue-hot-reload-api` in `examples/vue-kitchen-sink` from "2.2.4" to "2.3.0" [#3050](https://github.com/storybookjs/storybook/pull/3050) +- Upgraded `babel-eslint` in `/` from "8.2.1" to "8.2.2" [#3041](https://github.com/storybookjs/storybook/pull/3041) +- Upgraded `jest` in `/` from "22.3.0" to "22.4.0" [#3041](https://github.com/storybookjs/storybook/pull/3041) +- Upgraded `jest-cli` in `/` from "22.3.0" to "22.4.0" [#3041](https://github.com/storybookjs/storybook/pull/3041) +- Upgraded `jest-config` in `/` from "22.3.0" to "22.4.0" [#3041](https://github.com/storybookjs/storybook/pull/3041) +- Upgraded `jest-diff` in `/` from "22.1.0" to "22.4.0" [#3041](https://github.com/storybookjs/storybook/pull/3041) +- Upgraded `jest-environment-jsdom` in `/` from "22.3.0" to "22.4.0" [#3041](https://github.com/storybookjs/storybook/pull/3041) +- Upgraded `jest-jasmine2` in `/` from "22.3.0" to "22.4.0" [#3041](https://github.com/storybookjs/storybook/pull/3041) +- Upgraded `babel-jest` in `addons/storyshots` from "22.1.0" to "22.4.0" [#3041](https://github.com/storybookjs/storybook/pull/3041) +- Upgraded `jest` in `addons/storyshots` from "22.3.0" to "22.4.0" [#3041](https://github.com/storybookjs/storybook/pull/3041) +- Upgraded `jest-cli` in `addons/storyshots` from "22.3.0" to "22.4.0" [#3041](https://github.com/storybookjs/storybook/pull/3041) +- Upgraded `babel-jest` in `examples/cra-kitchen-sink` from "22.2.2" to "22.4.0" [#3041](https://github.com/storybookjs/storybook/pull/3041) +- Upgraded `jest` in `examples/cra-kitchen-sink` from "22.3.0" to "22.4.0" [#3041](https://github.com/storybookjs/storybook/pull/3041) +- Upgraded `babel-jest` in `examples/official-storybook` from "22.1.0" to "22.4.0" [#3041](https://github.com/storybookjs/storybook/pull/3041) +- Upgraded `jest` in `examples/official-storybook` from "22.3.0" to "22.4.0" [#3041](https://github.com/storybookjs/storybook/pull/3041) +- Addon-storyshots: upgrade puppeteer to 1.0.0 [#2853](https://github.com/storybookjs/storybook/pull/2853) +- App-angular: upgrade ts-loader to 3.3.1 [#2855](https://github.com/storybookjs/storybook/pull/2855) +- Update cross-spawn in lib/cli from 6.0.3 to 6.0.4 [#3039](https://github.com/storybookjs/storybook/pull/3039) +- Update eslint-plugin-react in / from 7.6.1 to 7.7.0 [#3037](https://github.com/storybookjs/storybook/pull/3037) +- CLI: upgrade cross-spawn to 6.0.3 [#2854](https://github.com/storybookjs/storybook/pull/2854) +- Update gatsby in /docs from 1.9.202 to 1.9.203 [#3034](https://github.com/storybookjs/storybook/pull/3034) +- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.30" to "1.6.31" [#3030](https://github.com/storybookjs/storybook/pull/3030) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.46" to "1.5.47" [#3030](https://github.com/storybookjs/storybook/pull/3030) +- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.32" to "1.7.33" [#3030](https://github.com/storybookjs/storybook/pull/3030) +- Upgraded `nodemon` in `/` from "1.15.0" to "1.15.1" [#3028](https://github.com/storybookjs/storybook/pull/3028) +- Upgraded `file-loader` in `app/react` from "1.1.6" to "1.1.7" [#3028](https://github.com/storybookjs/storybook/pull/3028) +- Upgraded `nodemon` in `app/react` from "1.15.0" to "1.15.1" [#3028](https://github.com/storybookjs/storybook/pull/3028) +- Upgraded `file-loader` in `lib/core` from "1.1.6" to "1.1.7" [#3028](https://github.com/storybookjs/storybook/pull/3028) +- Upgraded `file-loader` in `app/angular` from "1.1.6" to "1.1.7" [#3028](https://github.com/storybookjs/storybook/pull/3028) +- Upgraded `nodemon` in `app/angular` from "1.15.0" to "1.15.1" [#3028](https://github.com/storybookjs/storybook/pull/3028) +- Upgraded `file-loader` in `app/polymer` from "1.1.6" to "1.1.7" [#3028](https://github.com/storybookjs/storybook/pull/3028) +- Upgraded `nodemon` in `app/polymer` from "1.15.0" to "1.15.1" [#3028](https://github.com/storybookjs/storybook/pull/3028) +- Upgraded `file-loader` in `app/react-native` from "1.1.6" to "1.1.7" [#3028](https://github.com/storybookjs/storybook/pull/3028) +- Upgraded `file-loader` in `app/vue` from "1.1.6" to "1.1.7" [#3028](https://github.com/storybookjs/storybook/pull/3028) +- Upgraded `nodemon` in `app/vue` from "1.15.0" to "1.15.1" [#3028](https://github.com/storybookjs/storybook/pull/3028) +- Upgraded `file-loader` in `examples/vue-kitchen-sink` from "1.1.6" to "1.1.7" [#3028](https://github.com/storybookjs/storybook/pull/3028) +- Update marked in /docs from 0.3.14 to 0.3.15 [#3021](https://github.com/storybookjs/storybook/pull/3021) +- Core: upgrade dotenv to 5.0.0 [#2878](https://github.com/storybookjs/storybook/pull/2878) +- Update acorn-stage3 in addons/storysource from 0.4.0 to 0.5.0 [#3014](https://github.com/storybookjs/storybook/pull/3014) +- Update gatsby in /docs from 1.9.201 to 1.9.202 [#3012](https://github.com/storybookjs/storybook/pull/3012) +- Update marked in addons/notes from 0.3.12 to 0.3.14 [#3015](https://github.com/storybookjs/storybook/pull/3015) +- Upgraded `danger` in `/` from "3.1.6" to "3.1.7" [#3013](https://github.com/storybookjs/storybook/pull/3013) +- Upgraded `eslint-plugin-jest` in `/` from "21.12.1" to "21.12.2" [#3013](https://github.com/storybookjs/storybook/pull/3013) +- Upgraded `glamorous` in `lib/components` from "4.11.5" to "4.11.6" [#3009](https://github.com/storybookjs/storybook/pull/3009) +- Upgraded `glamorous` in `addons/a11y` from "4.11.5" to "4.11.6" [#3009](https://github.com/storybookjs/storybook/pull/3009) +- Upgraded `glamorous` in `addons/info` from "4.11.5" to "4.11.6" [#3009](https://github.com/storybookjs/storybook/pull/3009) +- Upgraded `glamorous` in `addons/jest` from "4.11.5" to "4.11.6" [#3009](https://github.com/storybookjs/storybook/pull/3009) +- Upgraded `glamorous` in `app/react` from "4.11.5" to "4.11.6" [#3009](https://github.com/storybookjs/storybook/pull/3009) +- Upgraded `glamorous` in `examples/cra-kitchen-sink` from "4.11.5" to "4.11.6" [#3009](https://github.com/storybookjs/storybook/pull/3009) +- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.29" to "1.6.30" [#3008](https://github.com/storybookjs/storybook/pull/3008) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.45" to "1.5.46" [#3008](https://github.com/storybookjs/storybook/pull/3008) +- Upgraded `eslint` in `/` from "4.17.0" to "4.18.0" [#3006](https://github.com/storybookjs/storybook/pull/3006) +- Upgraded `uglifyjs-webpack-plugin` in `app/angular` from "1.1.8" to "1.2.0" [#3006](https://github.com/storybookjs/storybook/pull/3006) +- Upgraded `uglifyjs-webpack-plugin` in `app/polymer` from "1.1.8" to "1.2.0" [#3006](https://github.com/storybookjs/storybook/pull/3006) +- Upgraded `uglifyjs-webpack-plugin` in `app/react-native` from "1.1.8" to "1.2.0" [#3006](https://github.com/storybookjs/storybook/pull/3006) +- Upgraded `uglifyjs-webpack-plugin` in `app/react` from "1.1.8" to "1.2.0" [#3006](https://github.com/storybookjs/storybook/pull/3006) +- Upgraded `uglifyjs-webpack-plugin` in `app/vue` from "1.1.8" to "1.2.0" [#3006](https://github.com/storybookjs/storybook/pull/3006) +- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.28" to "1.6.29" [#3005](https://github.com/storybookjs/storybook/pull/3005) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.44" to "1.5.45" [#3005](https://github.com/storybookjs/storybook/pull/3005) +- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.19" to "1.5.20" [#3005](https://github.com/storybookjs/storybook/pull/3005) +- Upgraded `gatsby` in `/docs` from "1.9.200" to "1.9.201" [#3005](https://github.com/storybookjs/storybook/pull/3005) +- Upgraded `lint-staged` in `/` from "6.1.0" to "6.1.1" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Upgraded `nodemon` in `/` from "1.14.12" to "1.15.0" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Upgraded `puppeteer` in `/` from "1.0.0" to "1.1.0" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Upgraded `typescript` in `/` from "2.7.1" to "2.7.2" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Upgraded `graphql` in `addons/graphql` from "0.13.0" to "0.13.1" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Upgraded `style-loader` in `addons/knobs` from "0.20.1" to "0.20.2" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Upgraded `glamorous` in `lib/components` from "4.11.4" to "4.11.5" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Upgraded `glamorous` in `addons/a11y` from "4.11.4" to "4.11.5" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Upgraded `glamorous` in `addons/info` from "4.11.4" to "4.11.5" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Upgraded `glamorous` in `addons/jest` from "4.11.4" to "4.11.5" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Upgraded `style-loader` in `lib/core` from "0.20.1" to "0.20.2" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Upgraded `style-loader` in `app/angular` from "0.20.1" to "0.20.2" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Upgraded `nodemon` in `app/angular` from "1.14.12" to "1.15.0" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Upgraded `typescript` in `app/angular` from "2.7.1" to "2.7.2" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Upgraded `style-loader` in `app/polymer` from "0.20.1" to "0.20.2" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Upgraded `nodemon` in `app/polymer` from "1.14.12" to "1.15.0" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Upgraded `style-loader` in `app/react-native` from "0.20.1" to "0.20.2" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Upgraded `glamorous` in `app/react` from "4.11.4" to "4.11.5" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Upgraded `style-loader` in `app/react` from "0.20.1" to "0.20.2" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Upgraded `nodemon` in `app/react` from "1.14.12" to "1.15.0" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Upgraded `style-loader` in `app/vue` from "0.20.1" to "0.20.2" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Upgraded `nodemon` in `app/vue` from "1.14.12" to "1.15.0" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Upgraded `@angular/cli` in `examples/angular-cli` from "1.6.8" to "1.7.0" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Upgraded `typescript` in `examples/angular-cli` from "2.7.1" to "2.7.2" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Upgraded `glamorous` in `examples/cra-kitchen-sink` from "4.11.4" to "4.11.5" [#3003](https://github.com/storybookjs/storybook/pull/3003) +- Update gatsby in /docs from 1.9.199 to 1.9.200 [#3001](https://github.com/storybookjs/storybook/pull/3001) +- Update marked in /docs from 0.3.12 to 0.3.14 [#2999](https://github.com/storybookjs/storybook/pull/2999) +- Upgraded `react-modal` in `lib/ui` from "3.1.13" to "3.2.1" [#2992](https://github.com/storybookjs/storybook/pull/2992) +- Upgraded `react-modal` in `app/angular` from "3.1.13" to "3.2.1" [#2992](https://github.com/storybookjs/storybook/pull/2992) +- Upgraded `react-modal` in `app/polymer` from "3.1.13" to "3.2.1" [#2992](https://github.com/storybookjs/storybook/pull/2992) +- Update 8 dependencies from npm [#2978](https://github.com/storybookjs/storybook/pull/2978) +- Update make-error in addons/actions from 1.3.3 to 1.3.4 [#2991](https://github.com/storybookjs/storybook/pull/2991) +- Update 2 dependencies from npm [#2712](https://github.com/storybookjs/storybook/pull/2712) +- Update tslint-config-prettier in / from 1.7.0 to 1.8.0 [#2990](https://github.com/storybookjs/storybook/pull/2990) +- Update lerna in / from 2.8.0 to 2.9.0 [#2987](https://github.com/storybookjs/storybook/pull/2987) +- Update `eslint-plugin-react` in `/` from "7.6.0" to "7.6.1" [#2864](https://github.com/storybookjs/storybook/pull/2864) +- Upgraded `@angular/common` in `/` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `@angular/compiler` in `/` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `@angular/core` in `/` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `@angular/forms` in `/` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `@angular/platform-browser` in `/` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `@angular/platform-browser-dynamic` in `/` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `jest` in `/` from "22.2.1" to "22.3.0" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `jest-cli` in `/` from "22.2.2" to "22.3.0" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `jest-config` in `/` from "22.2.2" to "22.3.0" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `jest-environment-jsdom` in `/` from "22.2.2" to "22.3.0" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `jest-jasmine2` in `/` from "22.2.2" to "22.3.0" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `jest` in `addons/storyshots` from "22.1.4" to "22.3.0" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `jest-cli` in `addons/storyshots` from "22.1.4" to "22.3.0" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `@angular/animations` in `examples/angular-cli` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `@angular/common` in `examples/angular-cli` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `@angular/core` in `examples/angular-cli` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `@angular/forms` in `examples/angular-cli` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `@angular/http` in `examples/angular-cli` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `@angular/router` in `examples/angular-cli` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `@angular/language-service` in `examples/angular-cli` from "5.2.4" to "5.2.5" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `@types/node` in `examples/angular-cli` from "9.4.5" to "9.4.6" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `jest` in `examples/cra-kitchen-sink` from "22.2.2" to "22.3.0" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Upgraded `jest` in `examples/official-storybook` from "22.1.4" to "22.3.0" [#2986](https://github.com/storybookjs/storybook/pull/2986) +- Update gatsby in /docs from 1.9.198 to 1.9.199 [#2988](https://github.com/storybookjs/storybook/pull/2988) +- Update gatsby in /docs from 1.9.197 to 1.9.198 [#2985](https://github.com/storybookjs/storybook/pull/2985) +- Update gatsby in /docs from 1.9.193 to 1.9.197 [#2983](https://github.com/storybookjs/storybook/pull/2983) +- Upgraded `danger` in `/` from "3.1.3" to "3.1.6" [#2977](https://github.com/storybookjs/storybook/pull/2977) +- Upgraded `eslint-plugin-jest` in `/` from "21.12.0" to "21.12.1" [#2977](https://github.com/storybookjs/storybook/pull/2977) +- Upgraded `inquirer` in `/` from "5.0.1" to "5.1.0" [#2977](https://github.com/storybookjs/storybook/pull/2977) +- Upgraded `react-fuzzy` in `lib/ui` from "0.5.1" to "0.5.2" [#2977](https://github.com/storybookjs/storybook/pull/2977) +- Upgraded `@types/node` in `examples/angular-cli` from "9.4.0" to "9.4.5" [#2977](https://github.com/storybookjs/storybook/pull/2977) +- Upgraded `babel-preset-vue` in `examples/vue-kitchen-sink` from "2.0.0" to "2.0.1" [#2977](https://github.com/storybookjs/storybook/pull/2977) +- Update gatsby in /docs from 1.9.188 to 1.9.193 [#2973](https://github.com/storybookjs/storybook/pull/2973) +- Upgraded `eslint-plugin-jest` in `/` from "21.8.0" to "21.12.0" [#2975](https://github.com/storybookjs/storybook/pull/2975) +- Upgraded `ts-jest` in `/` from "22.0.3" to "22.0.4" [#2975](https://github.com/storybookjs/storybook/pull/2975) +- Upgraded `react-datetime` in `addons/knobs` from "2.13.0" to "2.14.0" [#2975](https://github.com/storybookjs/storybook/pull/2975) +- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.12" to "3.3.13" [#2960](https://github.com/storybookjs/storybook/pull/2960) +- Upgraded `@storybook/addon-links` in `/docs` from "3.3.12" to "3.3.13" [#2960](https://github.com/storybookjs/storybook/pull/2960) +- Upgraded `@storybook/addons` in `/docs` from "3.3.12" to "3.3.13" [#2960](https://github.com/storybookjs/storybook/pull/2960) +- Upgraded `@storybook/react` in `/docs` from "3.3.12" to "3.3.13" [#2960](https://github.com/storybookjs/storybook/pull/2960) +- Upgraded `chalk` in `/` from "2.3.0" to "2.3.1" [#2961](https://github.com/storybookjs/storybook/pull/2961) +- Upgraded `chalk` in `lib/node-logger` from "2.3.0" to "2.3.1" [#2961](https://github.com/storybookjs/storybook/pull/2961) +- Upgraded `react-split-pane` in `lib/ui` from "0.1.76" to "0.1.77" [#2961](https://github.com/storybookjs/storybook/pull/2961) +- Upgraded `chalk` in `lib/core` from "2.3.0" to "2.3.1" [#2961](https://github.com/storybookjs/storybook/pull/2961) +- Upgraded `chalk` in `lib/cli` from "2.3.0" to "2.3.1" [#2961](https://github.com/storybookjs/storybook/pull/2961) @@ -4046,12 +4510,12 @@ Fix publishing options to use exact versions for cross-dependencies per this cha #### Bug Fixes -- RN: Add error handler on WS to fix crashing on page reload [#3002](https://github.com/storybooks/storybook/pull/3002) -- Added safety net preventing storybook Jest addon from throwing. [#3023](https://github.com/storybooks/storybook/pull/3023) -- Added "key" prop to list items inside test failure message. [#2867](https://github.com/storybooks/storybook/pull/2867) -- Addon-info: Add type check to PropType on OneOf [#2653](https://github.com/storybooks/storybook/pull/2653) -- Use @storybook/podda to fix npm engine version in podda [#3033](https://github.com/storybooks/storybook/pull/3033) -- Addon-backgrounds: set background on iframe instead of adding a wrapper in preview [#2807](https://github.com/storybooks/storybook/pull/3033) +- RN: Add error handler on WS to fix crashing on page reload [#3002](https://github.com/storybookjs/storybook/pull/3002) +- Added safety net preventing storybook Jest addon from throwing. [#3023](https://github.com/storybookjs/storybook/pull/3023) +- Added "key" prop to list items inside test failure message. [#2867](https://github.com/storybookjs/storybook/pull/2867) +- Addon-info: Add type check to PropType on OneOf [#2653](https://github.com/storybookjs/storybook/pull/2653) +- Use @storybook/podda to fix npm engine version in podda [#3033](https://github.com/storybookjs/storybook/pull/3033) +- Addon-backgrounds: set background on iframe instead of adding a wrapper in preview [#2807](https://github.com/storybookjs/storybook/pull/3033) ## 3.4.0-alpha.8 @@ -4059,18 +4523,18 @@ Fix publishing options to use exact versions for cross-dependencies per this cha #### Bug Fixes -- React-Native: Fix by moving managerPath export to `server.js` [#2947](https://github.com/storybooks/storybook/pull/2947) -- Addon-Info: Add type check to PropType on OneOf [#2653](https://github.com/storybooks/storybook/pull/2653) -- Vue: Support .vue extension resolving [#2896](https://github.com/storybooks/storybook/pull/2896) +- React-Native: Fix by moving managerPath export to `server.js` [#2947](https://github.com/storybookjs/storybook/pull/2947) +- Addon-Info: Add type check to PropType on OneOf [#2653](https://github.com/storybookjs/storybook/pull/2653) +- Vue: Support .vue extension resolving [#2896](https://github.com/storybookjs/storybook/pull/2896) #### Documentation -- Update writing addons documentation [#2951](https://github.com/storybooks/storybook/pull/2951) -- Update docs on LinkTo in addon-links [#2926](https://github.com/storybooks/storybook/pull/2926) +- Update writing addons documentation [#2951](https://github.com/storybookjs/storybook/pull/2951) +- Update docs on LinkTo in addon-links [#2926](https://github.com/storybookjs/storybook/pull/2926) #### Maintenance -- Fix "dev" script to be cross-platform [#2922](https://github.com/storybooks/storybook/pull/2922) +- Fix "dev" script to be cross-platform [#2922](https://github.com/storybookjs/storybook/pull/2922) #### Dependency Upgrades @@ -4079,104 +4543,104 @@ Fix publishing options to use exact versions for cross-dependencies per this cha 98 Updates -- Upgraded `jest-cli` in `/` from "22.2.1" to "22.2.2" [#2957](https://github.com/storybooks/storybook/pull/2957) -- Upgraded `jest-config` in `/` from "22.2.1" to "22.2.2" [#2957](https://github.com/storybooks/storybook/pull/2957) -- Upgraded `jest-environment-jsdom` in `/` from "22.2.0" to "22.2.2" [#2957](https://github.com/storybooks/storybook/pull/2957) -- Upgraded `jest-jasmine2` in `/` from "22.2.1" to "22.2.2" [#2957](https://github.com/storybooks/storybook/pull/2957) -- Upgraded `autoprefixer` in `lib/core` from "7.2.5" to "7.2.6" [#2957](https://github.com/storybooks/storybook/pull/2957) -- Upgraded `webpack` in `lib/core` from "3.10.0" to "3.11.0" [#2957](https://github.com/storybooks/storybook/pull/2957) -- Upgraded `autoprefixer` in `app/angular` from "7.2.5" to "7.2.6" [#2957](https://github.com/storybooks/storybook/pull/2957) -- Upgraded `webpack` in `app/angular` from "3.10.0" to "3.11.0" [#2957](https://github.com/storybooks/storybook/pull/2957) -- Upgraded `autoprefixer` in `app/polymer` from "7.2.5" to "7.2.6" [#2957](https://github.com/storybooks/storybook/pull/2957) -- Upgraded `webpack` in `app/polymer` from "3.10.0" to "3.11.0" [#2957](https://github.com/storybooks/storybook/pull/2957) -- Upgraded `autoprefixer` in `app/react-native` from "7.2.5" to "7.2.6" [#2957](https://github.com/storybooks/storybook/pull/2957) -- Upgraded `webpack` in `app/react-native` from "3.10.0" to "3.11.0" [#2957](https://github.com/storybooks/storybook/pull/2957) -- Upgraded `autoprefixer` in `app/react` from "7.2.5" to "7.2.6" [#2957](https://github.com/storybooks/storybook/pull/2957) -- Upgraded `webpack` in `app/react` from "3.10.0" to "3.11.0" [#2957](https://github.com/storybooks/storybook/pull/2957) -- Upgraded `autoprefixer` in `app/vue` from "7.2.5" to "7.2.6" [#2957](https://github.com/storybooks/storybook/pull/2957) -- Upgraded `webpack` in `app/vue` from "3.10.0" to "3.11.0" [#2957](https://github.com/storybooks/storybook/pull/2957) -- Upgraded `webpack` in `examples/polymer-cli` from "3.10.0" to "3.11.0" [#2957](https://github.com/storybooks/storybook/pull/2957) -- Upgraded `@types/node` in `examples/angular-cli` from "6.0.99" to "6.0.100" [#2957](https://github.com/storybooks/storybook/pull/2957) -- Upgraded `webpack` in `examples/vue-kitchen-sink` from "3.10.0" to "3.11.0" [#2957](https://github.com/storybooks/storybook/pull/2957) -- Upgraded `eslint-plugin-jest` in `/` from "21.7.0" to "21.8.0" [#2952](https://github.com/storybooks/storybook/pull/2952) -- Upgraded `react-datetime` in `addons/knobs` from "2.12.0" to "2.13.0" [#2952](https://github.com/storybooks/storybook/pull/2952) -- Upgraded `react-modal` in `lib/ui` from "3.1.12" to "3.1.13" [#2952](https://github.com/storybooks/storybook/pull/2952) -- Upgraded `react-modal` in `app/angular` from "3.1.12" to "3.1.13" [#2952](https://github.com/storybooks/storybook/pull/2952) -- Upgraded `react-modal` in `app/polymer` from "3.1.12" to "3.1.13" [#2952](https://github.com/storybooks/storybook/pull/2952) -- Upgraded `babel-jest` in `examples/cra-kitchen-sink` from "22.2.0" to "22.2.2" [#2952](https://github.com/storybooks/storybook/pull/2952) -- Upgraded `jest` in `examples/cra-kitchen-sink` from "22.2.1" to "22.2.2" [#2952](https://github.com/storybooks/storybook/pull/2952) -- Upgraded `react-scripts` in `examples/cra-kitchen-sink` from "1.1.0" to "1.1.1" [#2952](https://github.com/storybooks/storybook/pull/2952) -- Update gatsby in /docs from 1.9.184 to 1.9.187 [#2950](https://github.com/storybooks/storybook/pull/2950) -- Upgraded `copy-webpack-plugin` in `app/polymer` from "4.3.1" to "4.4.0" [#2945](https://github.com/storybooks/storybook/pull/2945) -- Upgraded `copy-webpack-plugin` in `examples/polymer-cli` from "4.3.1" to "4.4.0" [#2945](https://github.com/storybooks/storybook/pull/2945) -- Upgraded `@angular/cli` in `examples/angular-cli` from "1.6.7" to "1.6.8" [#2945](https://github.com/storybooks/storybook/pull/2945) -- Upgraded `@types/node` in `examples/angular-cli` from "6.0.97" to "6.0.99" [#2945](https://github.com/storybooks/storybook/pull/2945) -- Upgraded `jasmine-core` in `examples/angular-cli` from "2.99.0" to "2.99.1" [#2945](https://github.com/storybooks/storybook/pull/2945) -- Upgraded `gatsby-remark-images` in `/docs` from "1.5.42" to "1.5.43" [#2944](https://github.com/storybooks/storybook/pull/2944) -- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.30" to "1.7.31" [#2944](https://github.com/storybooks/storybook/pull/2944) -- Upgraded `gatsby-remark-images` in `/docs` from "1.5.41" to "1.5.42" [#2939](https://github.com/storybooks/storybook/pull/2939) -- Upgraded `gatsby` in `/docs` from "1.9.183" to "1.9.184" [#2939](https://github.com/storybooks/storybook/pull/2939) -- Upgraded `@angular/common` in `/` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `@angular/compiler` in `/` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `@angular/core` in `/` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `@angular/forms` in `/` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `@angular/platform-browser` in `/` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `@angular/platform-browser-dynamic` in `/` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `commander` in `/` from "2.14.0" to "2.14.1" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `jest` in `/` from "22.1.4" to "22.2.0" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `jest-cli` in `/` from "22.1.4" to "22.2.0" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `jest-config` in `/` from "22.1.4" to "22.2.0" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `jest-environment-jsdom` in `/` from "22.1.4" to "22.2.0" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `jest-jasmine2` in `/` from "22.1.4" to "22.2.0" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `graphql` in `addons/graphql` from "0.12.3" to "0.13.0" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `commander` in `lib/core` from "2.14.0" to "2.14.1" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `commander` in `app/react-native` from "2.14.0" to "2.14.1" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `commander` in `lib/cli` from "2.14.0" to "2.14.1" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `@angular/animations` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `@angular/common` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `@angular/core` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `@angular/forms` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `@angular/http` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `@angular/router` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `@angular/language-service` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `babel-jest` in `examples/cra-kitchen-sink` from "22.1.0" to "22.2.0" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `jest` in `examples/cra-kitchen-sink` from "22.1.4" to "22.2.0" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Upgraded `eventemitter3` in `examples/official-storybook` from "3.0.0" to "3.0.1" [#2938](https://github.com/storybooks/storybook/pull/2938) -- Update @types/node in examples/angular-cli from 6.0.96 to 6.0.97 [#2932](https://github.com/storybooks/storybook/pull/2932) -- Update gatsby in /docs from 1.9.181 to 1.9.182 [#2929](https://github.com/storybooks/storybook/pull/2929) -- Update jasmine-core in examples/angular-cli from 2.9.1 to 2.99.0 [#2930](https://github.com/storybooks/storybook/pull/2930) -- Upgraded `commander` in `/` from "2.13.0" to "2.14.0" [#2928](https://github.com/storybooks/storybook/pull/2928) -- Upgraded `make-error` in `addons/actions` from "1.3.2" to "1.3.3" [#2928](https://github.com/storybooks/storybook/pull/2928) -- Upgraded `commander` in `app/angular` from "2.13.0" to "2.14.0" [#2928](https://github.com/storybooks/storybook/pull/2928) -- Upgraded `commander` in `app/polymer` from "2.13.0" to "2.14.0" [#2928](https://github.com/storybooks/storybook/pull/2928) -- Upgraded `commander` in `app/react-native` from "2.13.0" to "2.14.0" [#2928](https://github.com/storybooks/storybook/pull/2928) -- Upgraded `react-native` in `app/react-native` from "0.52.2" to "0.53.0" [#2928](https://github.com/storybooks/storybook/pull/2928) -- Upgraded `commander` in `app/react` from "2.13.0" to "2.14.0" [#2928](https://github.com/storybooks/storybook/pull/2928) -- Upgraded `commander` in `app/vue` from "2.13.0" to "2.14.0" [#2928](https://github.com/storybooks/storybook/pull/2928) -- Upgraded `commander` in `lib/cli` from "2.13.0" to "2.14.0" [#2928](https://github.com/storybooks/storybook/pull/2928) -- Upgraded `jest-enzyme` in `/` from "4.1.1" to "4.2.0" [#2919](https://github.com/storybooks/storybook/pull/2919) -- Upgraded `react-modal` in `lib/ui` from "3.1.11" to "3.1.12" [#2919](https://github.com/storybooks/storybook/pull/2919) -- Upgraded `react-modal` in `app/angular` from "3.1.11" to "3.1.12" [#2919](https://github.com/storybooks/storybook/pull/2919) -- Upgraded `react-modal` in `app/polymer` from "3.1.11" to "3.1.12" [#2919](https://github.com/storybooks/storybook/pull/2919) -- Upgraded `gatsby-remark-copy-linked-files` in `/docs` from "1.5.25" to "1.5.26" [#2927](https://github.com/storybooks/storybook/pull/2927) -- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.16" to "1.5.18" [#2927](https://github.com/storybooks/storybook/pull/2927) -- Upgraded `gatsby` in `/docs` from "1.9.178" to "1.9.179" [#2927](https://github.com/storybooks/storybook/pull/2927) -- Update lodash in /docs from 4.17.4 to 4.17.5 [#2914](https://github.com/storybooks/storybook/pull/2914) -- Update lodash in / from 4.17.4 to 4.17.5 [#2915](https://github.com/storybooks/storybook/pull/2915) -- Upgraded `gatsby-link` in `/docs` from "1.6.35" to "1.6.36" [#2908](https://github.com/storybooks/storybook/pull/2908) -- Upgraded `gatsby` in `/docs` from "1.9.175" to "1.9.177" [#2908](https://github.com/storybooks/storybook/pull/2908) -- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.11" to "3.3.12" [#2911](https://github.com/storybooks/storybook/pull/2911) -- Upgraded `@storybook/addon-links` in `/docs` from "3.3.11" to "3.3.12" [#2911](https://github.com/storybooks/storybook/pull/2911) -- Upgraded `@storybook/addons` in `/docs` from "3.3.11" to "3.3.12" [#2911](https://github.com/storybooks/storybook/pull/2911) -- Upgraded `@storybook/react` in `/docs` from "3.3.11" to "3.3.12" [#2911](https://github.com/storybooks/storybook/pull/2911) -- Upgraded `gatsby` in `/docs` from "1.9.175" to "1.9.178" [#2911](https://github.com/storybooks/storybook/pull/2911) -- Upgraded `eslint` in `/` from "4.16.0" to "4.17.0" [#2912](https://github.com/storybooks/storybook/pull/2912) -- Upgraded `ts-jest` in `/` from "22.0.1" to "22.0.3" [#2912](https://github.com/storybooks/storybook/pull/2912) -- Upgraded `@polymer/polymer` in `examples/polymer-cli` from "2.4.0" to "2.5.0" [#2912](https://github.com/storybooks/storybook/pull/2912) +- Upgraded `jest-cli` in `/` from "22.2.1" to "22.2.2" [#2957](https://github.com/storybookjs/storybook/pull/2957) +- Upgraded `jest-config` in `/` from "22.2.1" to "22.2.2" [#2957](https://github.com/storybookjs/storybook/pull/2957) +- Upgraded `jest-environment-jsdom` in `/` from "22.2.0" to "22.2.2" [#2957](https://github.com/storybookjs/storybook/pull/2957) +- Upgraded `jest-jasmine2` in `/` from "22.2.1" to "22.2.2" [#2957](https://github.com/storybookjs/storybook/pull/2957) +- Upgraded `autoprefixer` in `lib/core` from "7.2.5" to "7.2.6" [#2957](https://github.com/storybookjs/storybook/pull/2957) +- Upgraded `webpack` in `lib/core` from "3.10.0" to "3.11.0" [#2957](https://github.com/storybookjs/storybook/pull/2957) +- Upgraded `autoprefixer` in `app/angular` from "7.2.5" to "7.2.6" [#2957](https://github.com/storybookjs/storybook/pull/2957) +- Upgraded `webpack` in `app/angular` from "3.10.0" to "3.11.0" [#2957](https://github.com/storybookjs/storybook/pull/2957) +- Upgraded `autoprefixer` in `app/polymer` from "7.2.5" to "7.2.6" [#2957](https://github.com/storybookjs/storybook/pull/2957) +- Upgraded `webpack` in `app/polymer` from "3.10.0" to "3.11.0" [#2957](https://github.com/storybookjs/storybook/pull/2957) +- Upgraded `autoprefixer` in `app/react-native` from "7.2.5" to "7.2.6" [#2957](https://github.com/storybookjs/storybook/pull/2957) +- Upgraded `webpack` in `app/react-native` from "3.10.0" to "3.11.0" [#2957](https://github.com/storybookjs/storybook/pull/2957) +- Upgraded `autoprefixer` in `app/react` from "7.2.5" to "7.2.6" [#2957](https://github.com/storybookjs/storybook/pull/2957) +- Upgraded `webpack` in `app/react` from "3.10.0" to "3.11.0" [#2957](https://github.com/storybookjs/storybook/pull/2957) +- Upgraded `autoprefixer` in `app/vue` from "7.2.5" to "7.2.6" [#2957](https://github.com/storybookjs/storybook/pull/2957) +- Upgraded `webpack` in `app/vue` from "3.10.0" to "3.11.0" [#2957](https://github.com/storybookjs/storybook/pull/2957) +- Upgraded `webpack` in `examples/polymer-cli` from "3.10.0" to "3.11.0" [#2957](https://github.com/storybookjs/storybook/pull/2957) +- Upgraded `@types/node` in `examples/angular-cli` from "6.0.99" to "6.0.100" [#2957](https://github.com/storybookjs/storybook/pull/2957) +- Upgraded `webpack` in `examples/vue-kitchen-sink` from "3.10.0" to "3.11.0" [#2957](https://github.com/storybookjs/storybook/pull/2957) +- Upgraded `eslint-plugin-jest` in `/` from "21.7.0" to "21.8.0" [#2952](https://github.com/storybookjs/storybook/pull/2952) +- Upgraded `react-datetime` in `addons/knobs` from "2.12.0" to "2.13.0" [#2952](https://github.com/storybookjs/storybook/pull/2952) +- Upgraded `react-modal` in `lib/ui` from "3.1.12" to "3.1.13" [#2952](https://github.com/storybookjs/storybook/pull/2952) +- Upgraded `react-modal` in `app/angular` from "3.1.12" to "3.1.13" [#2952](https://github.com/storybookjs/storybook/pull/2952) +- Upgraded `react-modal` in `app/polymer` from "3.1.12" to "3.1.13" [#2952](https://github.com/storybookjs/storybook/pull/2952) +- Upgraded `babel-jest` in `examples/cra-kitchen-sink` from "22.2.0" to "22.2.2" [#2952](https://github.com/storybookjs/storybook/pull/2952) +- Upgraded `jest` in `examples/cra-kitchen-sink` from "22.2.1" to "22.2.2" [#2952](https://github.com/storybookjs/storybook/pull/2952) +- Upgraded `react-scripts` in `examples/cra-kitchen-sink` from "1.1.0" to "1.1.1" [#2952](https://github.com/storybookjs/storybook/pull/2952) +- Update gatsby in /docs from 1.9.184 to 1.9.187 [#2950](https://github.com/storybookjs/storybook/pull/2950) +- Upgraded `copy-webpack-plugin` in `app/polymer` from "4.3.1" to "4.4.0" [#2945](https://github.com/storybookjs/storybook/pull/2945) +- Upgraded `copy-webpack-plugin` in `examples/polymer-cli` from "4.3.1" to "4.4.0" [#2945](https://github.com/storybookjs/storybook/pull/2945) +- Upgraded `@angular/cli` in `examples/angular-cli` from "1.6.7" to "1.6.8" [#2945](https://github.com/storybookjs/storybook/pull/2945) +- Upgraded `@types/node` in `examples/angular-cli` from "6.0.97" to "6.0.99" [#2945](https://github.com/storybookjs/storybook/pull/2945) +- Upgraded `jasmine-core` in `examples/angular-cli` from "2.99.0" to "2.99.1" [#2945](https://github.com/storybookjs/storybook/pull/2945) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.42" to "1.5.43" [#2944](https://github.com/storybookjs/storybook/pull/2944) +- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.30" to "1.7.31" [#2944](https://github.com/storybookjs/storybook/pull/2944) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.41" to "1.5.42" [#2939](https://github.com/storybookjs/storybook/pull/2939) +- Upgraded `gatsby` in `/docs` from "1.9.183" to "1.9.184" [#2939](https://github.com/storybookjs/storybook/pull/2939) +- Upgraded `@angular/common` in `/` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `@angular/compiler` in `/` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `@angular/core` in `/` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `@angular/forms` in `/` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `@angular/platform-browser` in `/` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `@angular/platform-browser-dynamic` in `/` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `commander` in `/` from "2.14.0" to "2.14.1" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `jest` in `/` from "22.1.4" to "22.2.0" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `jest-cli` in `/` from "22.1.4" to "22.2.0" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `jest-config` in `/` from "22.1.4" to "22.2.0" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `jest-environment-jsdom` in `/` from "22.1.4" to "22.2.0" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `jest-jasmine2` in `/` from "22.1.4" to "22.2.0" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `graphql` in `addons/graphql` from "0.12.3" to "0.13.0" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `commander` in `lib/core` from "2.14.0" to "2.14.1" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `commander` in `app/react-native` from "2.14.0" to "2.14.1" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `commander` in `lib/cli` from "2.14.0" to "2.14.1" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `@angular/animations` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `@angular/common` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `@angular/core` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `@angular/forms` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `@angular/http` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `@angular/router` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `@angular/language-service` in `examples/angular-cli` from "5.2.3" to "5.2.4" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `babel-jest` in `examples/cra-kitchen-sink` from "22.1.0" to "22.2.0" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `jest` in `examples/cra-kitchen-sink` from "22.1.4" to "22.2.0" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Upgraded `eventemitter3` in `examples/official-storybook` from "3.0.0" to "3.0.1" [#2938](https://github.com/storybookjs/storybook/pull/2938) +- Update @types/node in examples/angular-cli from 6.0.96 to 6.0.97 [#2932](https://github.com/storybookjs/storybook/pull/2932) +- Update gatsby in /docs from 1.9.181 to 1.9.182 [#2929](https://github.com/storybookjs/storybook/pull/2929) +- Update jasmine-core in examples/angular-cli from 2.9.1 to 2.99.0 [#2930](https://github.com/storybookjs/storybook/pull/2930) +- Upgraded `commander` in `/` from "2.13.0" to "2.14.0" [#2928](https://github.com/storybookjs/storybook/pull/2928) +- Upgraded `make-error` in `addons/actions` from "1.3.2" to "1.3.3" [#2928](https://github.com/storybookjs/storybook/pull/2928) +- Upgraded `commander` in `app/angular` from "2.13.0" to "2.14.0" [#2928](https://github.com/storybookjs/storybook/pull/2928) +- Upgraded `commander` in `app/polymer` from "2.13.0" to "2.14.0" [#2928](https://github.com/storybookjs/storybook/pull/2928) +- Upgraded `commander` in `app/react-native` from "2.13.0" to "2.14.0" [#2928](https://github.com/storybookjs/storybook/pull/2928) +- Upgraded `react-native` in `app/react-native` from "0.52.2" to "0.53.0" [#2928](https://github.com/storybookjs/storybook/pull/2928) +- Upgraded `commander` in `app/react` from "2.13.0" to "2.14.0" [#2928](https://github.com/storybookjs/storybook/pull/2928) +- Upgraded `commander` in `app/vue` from "2.13.0" to "2.14.0" [#2928](https://github.com/storybookjs/storybook/pull/2928) +- Upgraded `commander` in `lib/cli` from "2.13.0" to "2.14.0" [#2928](https://github.com/storybookjs/storybook/pull/2928) +- Upgraded `jest-enzyme` in `/` from "4.1.1" to "4.2.0" [#2919](https://github.com/storybookjs/storybook/pull/2919) +- Upgraded `react-modal` in `lib/ui` from "3.1.11" to "3.1.12" [#2919](https://github.com/storybookjs/storybook/pull/2919) +- Upgraded `react-modal` in `app/angular` from "3.1.11" to "3.1.12" [#2919](https://github.com/storybookjs/storybook/pull/2919) +- Upgraded `react-modal` in `app/polymer` from "3.1.11" to "3.1.12" [#2919](https://github.com/storybookjs/storybook/pull/2919) +- Upgraded `gatsby-remark-copy-linked-files` in `/docs` from "1.5.25" to "1.5.26" [#2927](https://github.com/storybookjs/storybook/pull/2927) +- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.16" to "1.5.18" [#2927](https://github.com/storybookjs/storybook/pull/2927) +- Upgraded `gatsby` in `/docs` from "1.9.178" to "1.9.179" [#2927](https://github.com/storybookjs/storybook/pull/2927) +- Update lodash in /docs from 4.17.4 to 4.17.5 [#2914](https://github.com/storybookjs/storybook/pull/2914) +- Update lodash in / from 4.17.4 to 4.17.5 [#2915](https://github.com/storybookjs/storybook/pull/2915) +- Upgraded `gatsby-link` in `/docs` from "1.6.35" to "1.6.36" [#2908](https://github.com/storybookjs/storybook/pull/2908) +- Upgraded `gatsby` in `/docs` from "1.9.175" to "1.9.177" [#2908](https://github.com/storybookjs/storybook/pull/2908) +- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.11" to "3.3.12" [#2911](https://github.com/storybookjs/storybook/pull/2911) +- Upgraded `@storybook/addon-links` in `/docs` from "3.3.11" to "3.3.12" [#2911](https://github.com/storybookjs/storybook/pull/2911) +- Upgraded `@storybook/addons` in `/docs` from "3.3.11" to "3.3.12" [#2911](https://github.com/storybookjs/storybook/pull/2911) +- Upgraded `@storybook/react` in `/docs` from "3.3.11" to "3.3.12" [#2911](https://github.com/storybookjs/storybook/pull/2911) +- Upgraded `gatsby` in `/docs` from "1.9.175" to "1.9.178" [#2911](https://github.com/storybookjs/storybook/pull/2911) +- Upgraded `eslint` in `/` from "4.16.0" to "4.17.0" [#2912](https://github.com/storybookjs/storybook/pull/2912) +- Upgraded `ts-jest` in `/` from "22.0.1" to "22.0.3" [#2912](https://github.com/storybookjs/storybook/pull/2912) +- Upgraded `@polymer/polymer` in `examples/polymer-cli` from "2.4.0" to "2.5.0" [#2912](https://github.com/storybookjs/storybook/pull/2912) @@ -4186,8 +4650,8 @@ Fix publishing options to use exact versions for cross-dependencies per this cha #### Bug Fixes -- Angular: add rule for .md to webpack.config.prod.js [#2924](https://github.com/storybooks/storybook/pull/2924) -- Check for correct props in Flow or prop-types [#2902](https://github.com/storybooks/storybook/pull/2902) +- Angular: add rule for .md to webpack.config.prod.js [#2924](https://github.com/storybookjs/storybook/pull/2924) +- Check for correct props in Flow or prop-types [#2902](https://github.com/storybookjs/storybook/pull/2902) ## 3.4.0-alpha.7 @@ -4195,24 +4659,24 @@ Fix publishing options to use exact versions for cross-dependencies per this cha #### Features -- Storyshots: env.NODE_PATH support [#2873](https://github.com/storybooks/storybook/pull/2873) -- Knobs: Select knob key/value ordering [#1745](https://github.com/storybooks/storybook/pull/1745) -- Angular: Add option to pass custom styles for ng components [#2856](https://github.com/storybooks/storybook/pull/2856) -- Core: Add watch mode for build-storybook [#2866](https://github.com/storybooks/storybook/pull/2866) -- Core: Add `__dirname` support [#2791](https://github.com/storybooks/storybook/pull/2791) +- Storyshots: env.NODE_PATH support [#2873](https://github.com/storybookjs/storybook/pull/2873) +- Knobs: Select knob key/value ordering [#1745](https://github.com/storybookjs/storybook/pull/1745) +- Angular: Add option to pass custom styles for ng components [#2856](https://github.com/storybookjs/storybook/pull/2856) +- Core: Add watch mode for build-storybook [#2866](https://github.com/storybookjs/storybook/pull/2866) +- Core: Add `__dirname` support [#2791](https://github.com/storybookjs/storybook/pull/2791) #### Bug Fixes -- UI: remove zero on story loading [#2857](https://github.com/storybooks/storybook/pull/2857) +- UI: remove zero on story loading [#2857](https://github.com/storybookjs/storybook/pull/2857) #### Documentation -- StoryShots: Document ref mocking [#2869](https://github.com/storybooks/storybook/pull/2869) +- StoryShots: Document ref mocking [#2869](https://github.com/storybookjs/storybook/pull/2869) #### Maintenance -- Typescript distribution [#2846](https://github.com/storybooks/storybook/pull/2846) -- Use UTC timezone in formatting too for knobs test [#2861](https://github.com/storybooks/storybook/pull/2861) +- Typescript distribution [#2846](https://github.com/storybookjs/storybook/pull/2846) +- Use UTC timezone in formatting too for knobs test [#2861](https://github.com/storybookjs/storybook/pull/2861) #### Dependency Upgrades @@ -4221,82 +4685,82 @@ Fix publishing options to use exact versions for cross-dependencies per this cha 76 Upgrades -- Upgraded `eslint-plugin-prettier` in `/` from "2.5.0" to "2.6.0" [#2910](https://github.com/storybooks/storybook/pull/2910) -- Upgraded `nodemon` in `/` from "1.14.11" to "1.14.12" [#2910](https://github.com/storybooks/storybook/pull/2910) -- Upgraded `postcss-loader` in `lib/core` from "2.0.10" to "2.1.0" [#2910](https://github.com/storybooks/storybook/pull/2910) -- Upgraded `postcss-loader` in `app/angular` from "2.0.10" to "2.1.0" [#2910](https://github.com/storybooks/storybook/pull/2910) -- Upgraded `nodemon` in `app/angular` from "1.14.11" to "1.14.12" [#2910](https://github.com/storybooks/storybook/pull/2910) -- Upgraded `postcss-loader` in `app/polymer` from "2.0.10" to "2.1.0" [#2910](https://github.com/storybooks/storybook/pull/2910) -- Upgraded `nodemon` in `app/polymer` from "1.14.11" to "1.14.12" [#2910](https://github.com/storybooks/storybook/pull/2910) -- Upgraded `postcss-loader` in `app/react-native` from "2.0.10" to "2.1.0" [#2910](https://github.com/storybooks/storybook/pull/2910) -- Upgraded `postcss-loader` in `app/react` from "2.0.10" to "2.1.0" [#2910](https://github.com/storybooks/storybook/pull/2910) -- Upgraded `nodemon` in `app/react` from "1.14.11" to "1.14.12" [#2910](https://github.com/storybooks/storybook/pull/2910) -- Upgraded `postcss-loader` in `app/vue` from "2.0.10" to "2.1.0" [#2910](https://github.com/storybooks/storybook/pull/2910) -- Upgraded `nodemon` in `app/vue` from "1.14.11" to "1.14.12" [#2910](https://github.com/storybooks/storybook/pull/2910) -- Upgraded `@angular/common` in `/` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) -- Upgraded `@angular/compiler` in `/` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) -- Upgraded `@angular/core` in `/` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) -- Upgraded `@angular/forms` in `/` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) -- Upgraded `@angular/platform-browser` in `/` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) -- Upgraded `@angular/platform-browser-dynamic` in `/` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) -- Upgraded `tslint-config-prettier` in `/` from "1.6.0" to "1.7.0" [#2901](https://github.com/storybooks/storybook/pull/2901) -- Upgraded `react-split-pane` in `lib/ui` from "0.1.74" to "0.1.75" [#2901](https://github.com/storybooks/storybook/pull/2901) -- Upgraded `@angular/animations` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) -- Upgraded `@angular/common` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) -- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) -- Upgraded `@angular/core` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) -- Upgraded `@angular/forms` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) -- Upgraded `@angular/http` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) -- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) -- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) -- Upgraded `@angular/router` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) -- Upgraded `@angular/cli` in `examples/angular-cli` from "1.6.6" to "1.6.7" [#2901](https://github.com/storybooks/storybook/pull/2901) -- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) -- Upgraded `@angular/language-service` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybooks/storybook/pull/2901) -- Upgraded `babel-plugin-macros` in `/` from "2.0.0" to "2.1.0" [#2891](https://github.com/storybooks/storybook/pull/2891) -- Upgraded `babel-plugin-macros` in `app/angular` from "2.0.0" to "2.1.0" [#2891](https://github.com/storybooks/storybook/pull/2891) -- Upgraded `typescript` in `app/angular` from "2.6.2" to "2.7.1" [#2891](https://github.com/storybooks/storybook/pull/2891) -- Upgraded `babel-plugin-macros` in `app/polymer` from "2.0.0" to "2.1.0" [#2891](https://github.com/storybooks/storybook/pull/2891) -- Upgraded `babel-preset-minify` in `app/polymer` from "0.2.0" to "0.3.0" [#2891](https://github.com/storybooks/storybook/pull/2891) -- Upgraded `babel-plugin-macros` in `app/react-native` from "2.0.0" to "2.1.0" [#2891](https://github.com/storybooks/storybook/pull/2891) -- Upgraded `babel-preset-minify` in `app/react-native` from "0.2.0" to "0.3.0" [#2891](https://github.com/storybooks/storybook/pull/2891) -- Upgraded `babel-plugin-macros` in `app/react` from "2.0.0" to "2.1.0" [#2891](https://github.com/storybooks/storybook/pull/2891) -- Upgraded `babel-preset-minify` in `app/react` from "0.2.0" to "0.3.0" [#2891](https://github.com/storybooks/storybook/pull/2891) -- Upgraded `babel-plugin-macros` in `app/vue` from "2.0.0" to "2.1.0" [#2891](https://github.com/storybooks/storybook/pull/2891) -- Upgraded `babel-preset-minify` in `app/vue` from "0.2.0" to "0.3.0" [#2891](https://github.com/storybooks/storybook/pull/2891) -- Upgraded `vue-style-loader` in `app/vue` from "3.1.1" to "3.1.2" [#2891](https://github.com/storybooks/storybook/pull/2891) -- Upgraded `vue-loader` in `app/vue` from "13.7.0" to "13.7.1" [#2891](https://github.com/storybooks/storybook/pull/2891) -- Upgraded `typescript` in `examples/angular-cli` from "2.6.2" to "2.7.1" [#2891](https://github.com/storybooks/storybook/pull/2891) -- Upgraded `vue-loader` in `examples/vue-kitchen-sink` from "13.7.0" to "13.7.1" [#2891](https://github.com/storybooks/storybook/pull/2891) -- Upgraded `vue-style-loader` in `examples/vue-kitchen-sink` from "3.1.1" to "3.1.2" [#2891](https://github.com/storybooks/storybook/pull/2891) -- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.15" to "1.5.16" [#2875](https://github.com/storybooks/storybook/pull/2875) -- Upgraded `gatsby` in `/docs` from "1.9.172" to "1.9.174" [#2875](https://github.com/storybooks/storybook/pull/2875) -- Upgraded `@types/lodash` in `/` from "4.14.97" to "4.14.98" [#2876](https://github.com/storybooks/storybook/pull/2876) -- Upgraded `jest-enzyme` in `/` from "4.0.2" to "4.1.0" [#2876](https://github.com/storybooks/storybook/pull/2876) -- Upgraded `uglifyjs-webpack-plugin` in `app/angular` from "1.1.6" to "1.1.7" [#2876](https://github.com/storybooks/storybook/pull/2876) -- Upgraded `uglifyjs-webpack-plugin` in `app/react-native` from "1.1.6" to "1.1.7" [#2876](https://github.com/storybooks/storybook/pull/2876) -- Upgraded `uglifyjs-webpack-plugin` in `app/react` from "1.1.6" to "1.1.7" [#2876](https://github.com/storybooks/storybook/pull/2876) -- Upgraded `uglifyjs-webpack-plugin` in `app/vue` from "1.1.6" to "1.1.7" [#2876](https://github.com/storybooks/storybook/pull/2876) -- Upgraded `gatsby-link` in `/docs` from "1.6.34" to "1.6.35" [#2858](https://github.com/storybooks/storybook/pull/2858) -- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.29" to "1.7.30" [#2858](https://github.com/storybooks/storybook/pull/2858) -- Upgraded `gatsby` in `/docs` from "1.9.169" to "1.9.171" [#2858](https://github.com/storybooks/storybook/pull/2858) -- Make dependencies in polymer & angular up to date with other apps [#2852](https://github.com/storybooks/storybook/pull/2852) -- Upgraded `@types/lodash` in `/` from "4.14.96" to "4.14.97" [#2850](https://github.com/storybooks/storybook/pull/2850) -- Upgraded `react-datetime` in `addons/knobs` from "2.11.1" to "2.12.0" [#2850](https://github.com/storybooks/storybook/pull/2850) -- Upgraded `style-loader` in `addons/knobs` from "0.19.1" to "0.20.1" [#2850](https://github.com/storybooks/storybook/pull/2850) -- Upgraded `style-loader` in `lib/core` from "0.19.1" to "0.20.1" [#2850](https://github.com/storybooks/storybook/pull/2850) -- Upgraded `style-loader` in `app/angular` from "0.18.2" to "0.20.1" [#2850](https://github.com/storybooks/storybook/pull/2850) -- Upgraded `style-loader` in `app/polymer` from "0.18.2" to "0.20.1" [#2850](https://github.com/storybooks/storybook/pull/2850) -- Upgraded `style-loader` in `app/react-native` from "0.19.1" to "0.20.1" [#2850](https://github.com/storybooks/storybook/pull/2850) -- Upgraded `style-loader` in `app/react` from "0.19.1" to "0.20.1" [#2850](https://github.com/storybooks/storybook/pull/2850) -- Upgraded `style-loader` in `app/vue` from "0.19.1" to "0.20.1" [#2850](https://github.com/storybooks/storybook/pull/2850) -- Upgraded `@polymer/polymer` in `examples/polymer-cli` from "2.3.1" to "2.4.0" [#2850](https://github.com/storybooks/storybook/pull/2850) -- Upgraded `@types/jasmine` in `examples/angular-cli` from "2.8.5" to "2.8.6" [#2850](https://github.com/storybooks/storybook/pull/2850) -- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.10" to "3.3.11" [#2849](https://github.com/storybooks/storybook/pull/2849) -- Upgraded `@storybook/addon-links` in `/docs` from "3.3.10" to "3.3.11" [#2849](https://github.com/storybooks/storybook/pull/2849) -- Upgraded `@storybook/addons` in `/docs` from "3.3.10" to "3.3.11" [#2849](https://github.com/storybooks/storybook/pull/2849) -- Upgraded `@storybook/react` in `/docs` from "3.3.10" to "3.3.11" [#2849](https://github.com/storybooks/storybook/pull/2849) -- Update url-loader from 0.5.8 to 0.6.2 in app/angular [#2847](https://github.com/storybooks/storybook/pull/2847) +- Upgraded `eslint-plugin-prettier` in `/` from "2.5.0" to "2.6.0" [#2910](https://github.com/storybookjs/storybook/pull/2910) +- Upgraded `nodemon` in `/` from "1.14.11" to "1.14.12" [#2910](https://github.com/storybookjs/storybook/pull/2910) +- Upgraded `postcss-loader` in `lib/core` from "2.0.10" to "2.1.0" [#2910](https://github.com/storybookjs/storybook/pull/2910) +- Upgraded `postcss-loader` in `app/angular` from "2.0.10" to "2.1.0" [#2910](https://github.com/storybookjs/storybook/pull/2910) +- Upgraded `nodemon` in `app/angular` from "1.14.11" to "1.14.12" [#2910](https://github.com/storybookjs/storybook/pull/2910) +- Upgraded `postcss-loader` in `app/polymer` from "2.0.10" to "2.1.0" [#2910](https://github.com/storybookjs/storybook/pull/2910) +- Upgraded `nodemon` in `app/polymer` from "1.14.11" to "1.14.12" [#2910](https://github.com/storybookjs/storybook/pull/2910) +- Upgraded `postcss-loader` in `app/react-native` from "2.0.10" to "2.1.0" [#2910](https://github.com/storybookjs/storybook/pull/2910) +- Upgraded `postcss-loader` in `app/react` from "2.0.10" to "2.1.0" [#2910](https://github.com/storybookjs/storybook/pull/2910) +- Upgraded `nodemon` in `app/react` from "1.14.11" to "1.14.12" [#2910](https://github.com/storybookjs/storybook/pull/2910) +- Upgraded `postcss-loader` in `app/vue` from "2.0.10" to "2.1.0" [#2910](https://github.com/storybookjs/storybook/pull/2910) +- Upgraded `nodemon` in `app/vue` from "1.14.11" to "1.14.12" [#2910](https://github.com/storybookjs/storybook/pull/2910) +- Upgraded `@angular/common` in `/` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybookjs/storybook/pull/2901) +- Upgraded `@angular/compiler` in `/` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybookjs/storybook/pull/2901) +- Upgraded `@angular/core` in `/` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybookjs/storybook/pull/2901) +- Upgraded `@angular/forms` in `/` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybookjs/storybook/pull/2901) +- Upgraded `@angular/platform-browser` in `/` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybookjs/storybook/pull/2901) +- Upgraded `@angular/platform-browser-dynamic` in `/` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybookjs/storybook/pull/2901) +- Upgraded `tslint-config-prettier` in `/` from "1.6.0" to "1.7.0" [#2901](https://github.com/storybookjs/storybook/pull/2901) +- Upgraded `react-split-pane` in `lib/ui` from "0.1.74" to "0.1.75" [#2901](https://github.com/storybookjs/storybook/pull/2901) +- Upgraded `@angular/animations` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybookjs/storybook/pull/2901) +- Upgraded `@angular/common` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybookjs/storybook/pull/2901) +- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybookjs/storybook/pull/2901) +- Upgraded `@angular/core` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybookjs/storybook/pull/2901) +- Upgraded `@angular/forms` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybookjs/storybook/pull/2901) +- Upgraded `@angular/http` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybookjs/storybook/pull/2901) +- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybookjs/storybook/pull/2901) +- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybookjs/storybook/pull/2901) +- Upgraded `@angular/router` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybookjs/storybook/pull/2901) +- Upgraded `@angular/cli` in `examples/angular-cli` from "1.6.6" to "1.6.7" [#2901](https://github.com/storybookjs/storybook/pull/2901) +- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybookjs/storybook/pull/2901) +- Upgraded `@angular/language-service` in `examples/angular-cli` from "5.2.2" to "5.2.3" [#2901](https://github.com/storybookjs/storybook/pull/2901) +- Upgraded `babel-plugin-macros` in `/` from "2.0.0" to "2.1.0" [#2891](https://github.com/storybookjs/storybook/pull/2891) +- Upgraded `babel-plugin-macros` in `app/angular` from "2.0.0" to "2.1.0" [#2891](https://github.com/storybookjs/storybook/pull/2891) +- Upgraded `typescript` in `app/angular` from "2.6.2" to "2.7.1" [#2891](https://github.com/storybookjs/storybook/pull/2891) +- Upgraded `babel-plugin-macros` in `app/polymer` from "2.0.0" to "2.1.0" [#2891](https://github.com/storybookjs/storybook/pull/2891) +- Upgraded `babel-preset-minify` in `app/polymer` from "0.2.0" to "0.3.0" [#2891](https://github.com/storybookjs/storybook/pull/2891) +- Upgraded `babel-plugin-macros` in `app/react-native` from "2.0.0" to "2.1.0" [#2891](https://github.com/storybookjs/storybook/pull/2891) +- Upgraded `babel-preset-minify` in `app/react-native` from "0.2.0" to "0.3.0" [#2891](https://github.com/storybookjs/storybook/pull/2891) +- Upgraded `babel-plugin-macros` in `app/react` from "2.0.0" to "2.1.0" [#2891](https://github.com/storybookjs/storybook/pull/2891) +- Upgraded `babel-preset-minify` in `app/react` from "0.2.0" to "0.3.0" [#2891](https://github.com/storybookjs/storybook/pull/2891) +- Upgraded `babel-plugin-macros` in `app/vue` from "2.0.0" to "2.1.0" [#2891](https://github.com/storybookjs/storybook/pull/2891) +- Upgraded `babel-preset-minify` in `app/vue` from "0.2.0" to "0.3.0" [#2891](https://github.com/storybookjs/storybook/pull/2891) +- Upgraded `vue-style-loader` in `app/vue` from "3.1.1" to "3.1.2" [#2891](https://github.com/storybookjs/storybook/pull/2891) +- Upgraded `vue-loader` in `app/vue` from "13.7.0" to "13.7.1" [#2891](https://github.com/storybookjs/storybook/pull/2891) +- Upgraded `typescript` in `examples/angular-cli` from "2.6.2" to "2.7.1" [#2891](https://github.com/storybookjs/storybook/pull/2891) +- Upgraded `vue-loader` in `examples/vue-kitchen-sink` from "13.7.0" to "13.7.1" [#2891](https://github.com/storybookjs/storybook/pull/2891) +- Upgraded `vue-style-loader` in `examples/vue-kitchen-sink` from "3.1.1" to "3.1.2" [#2891](https://github.com/storybookjs/storybook/pull/2891) +- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.15" to "1.5.16" [#2875](https://github.com/storybookjs/storybook/pull/2875) +- Upgraded `gatsby` in `/docs` from "1.9.172" to "1.9.174" [#2875](https://github.com/storybookjs/storybook/pull/2875) +- Upgraded `@types/lodash` in `/` from "4.14.97" to "4.14.98" [#2876](https://github.com/storybookjs/storybook/pull/2876) +- Upgraded `jest-enzyme` in `/` from "4.0.2" to "4.1.0" [#2876](https://github.com/storybookjs/storybook/pull/2876) +- Upgraded `uglifyjs-webpack-plugin` in `app/angular` from "1.1.6" to "1.1.7" [#2876](https://github.com/storybookjs/storybook/pull/2876) +- Upgraded `uglifyjs-webpack-plugin` in `app/react-native` from "1.1.6" to "1.1.7" [#2876](https://github.com/storybookjs/storybook/pull/2876) +- Upgraded `uglifyjs-webpack-plugin` in `app/react` from "1.1.6" to "1.1.7" [#2876](https://github.com/storybookjs/storybook/pull/2876) +- Upgraded `uglifyjs-webpack-plugin` in `app/vue` from "1.1.6" to "1.1.7" [#2876](https://github.com/storybookjs/storybook/pull/2876) +- Upgraded `gatsby-link` in `/docs` from "1.6.34" to "1.6.35" [#2858](https://github.com/storybookjs/storybook/pull/2858) +- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.29" to "1.7.30" [#2858](https://github.com/storybookjs/storybook/pull/2858) +- Upgraded `gatsby` in `/docs` from "1.9.169" to "1.9.171" [#2858](https://github.com/storybookjs/storybook/pull/2858) +- Make dependencies in polymer & angular up to date with other apps [#2852](https://github.com/storybookjs/storybook/pull/2852) +- Upgraded `@types/lodash` in `/` from "4.14.96" to "4.14.97" [#2850](https://github.com/storybookjs/storybook/pull/2850) +- Upgraded `react-datetime` in `addons/knobs` from "2.11.1" to "2.12.0" [#2850](https://github.com/storybookjs/storybook/pull/2850) +- Upgraded `style-loader` in `addons/knobs` from "0.19.1" to "0.20.1" [#2850](https://github.com/storybookjs/storybook/pull/2850) +- Upgraded `style-loader` in `lib/core` from "0.19.1" to "0.20.1" [#2850](https://github.com/storybookjs/storybook/pull/2850) +- Upgraded `style-loader` in `app/angular` from "0.18.2" to "0.20.1" [#2850](https://github.com/storybookjs/storybook/pull/2850) +- Upgraded `style-loader` in `app/polymer` from "0.18.2" to "0.20.1" [#2850](https://github.com/storybookjs/storybook/pull/2850) +- Upgraded `style-loader` in `app/react-native` from "0.19.1" to "0.20.1" [#2850](https://github.com/storybookjs/storybook/pull/2850) +- Upgraded `style-loader` in `app/react` from "0.19.1" to "0.20.1" [#2850](https://github.com/storybookjs/storybook/pull/2850) +- Upgraded `style-loader` in `app/vue` from "0.19.1" to "0.20.1" [#2850](https://github.com/storybookjs/storybook/pull/2850) +- Upgraded `@polymer/polymer` in `examples/polymer-cli` from "2.3.1" to "2.4.0" [#2850](https://github.com/storybookjs/storybook/pull/2850) +- Upgraded `@types/jasmine` in `examples/angular-cli` from "2.8.5" to "2.8.6" [#2850](https://github.com/storybookjs/storybook/pull/2850) +- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.10" to "3.3.11" [#2849](https://github.com/storybookjs/storybook/pull/2849) +- Upgraded `@storybook/addon-links` in `/docs` from "3.3.10" to "3.3.11" [#2849](https://github.com/storybookjs/storybook/pull/2849) +- Upgraded `@storybook/addons` in `/docs` from "3.3.10" to "3.3.11" [#2849](https://github.com/storybookjs/storybook/pull/2849) +- Upgraded `@storybook/react` in `/docs` from "3.3.10" to "3.3.11" [#2849](https://github.com/storybookjs/storybook/pull/2849) +- Update url-loader from 0.5.8 to 0.6.2 in app/angular [#2847](https://github.com/storybookjs/storybook/pull/2847) @@ -4306,11 +4770,11 @@ Fix publishing options to use exact versions for cross-dependencies per this cha #### Bug Fixes -- Fix browser navigation again [#2870](https://github.com/storybooks/storybook/pull/2870) +- Fix browser navigation again [#2870](https://github.com/storybookjs/storybook/pull/2870) #### Dependency Upgrades -- Update url-loader from 0.5.8 to 0.6.2 in app/angular [#2847](https://github.com/storybooks/storybook/pull/2847) +- Update url-loader from 0.5.8 to 0.6.2 in app/angular [#2847](https://github.com/storybookjs/storybook/pull/2847) ## 3.4.0-alpha.6 @@ -4318,24 +4782,24 @@ Fix publishing options to use exact versions for cross-dependencies per this cha #### Features -- Pass default webpack config as third argument in Full Control Mode [#2796](https://github.com/storybooks/storybook/pull/2796) +- Pass default webpack config as third argument in Full Control Mode [#2796](https://github.com/storybookjs/storybook/pull/2796) #### Bug Fixes -- Angular: remove entryComponents prop from metadata [#2790](https://github.com/storybooks/storybook/pull/2790) -- Use process.exitCode instead of process.exit() [#2717](https://github.com/storybooks/storybook/pull/2717) +- Angular: remove entryComponents prop from metadata [#2790](https://github.com/storybookjs/storybook/pull/2790) +- Use process.exitCode instead of process.exit() [#2717](https://github.com/storybookjs/storybook/pull/2717) #### Documentation -- Extending webpack section is no longer needed for the common usage [#2826](https://github.com/storybooks/storybook/pull/2826) -- Updating Vue Jest Config [#2821](https://github.com/storybooks/storybook/pull/2821) -- Angular inheritance example [#2787](https://github.com/storybooks/storybook/pull/2787) +- Extending webpack section is no longer needed for the common usage [#2826](https://github.com/storybookjs/storybook/pull/2826) +- Updating Vue Jest Config [#2821](https://github.com/storybookjs/storybook/pull/2821) +- Angular inheritance example [#2787](https://github.com/storybookjs/storybook/pull/2787) #### Maintenance -- ADD autolabeler.yml for [#2809](https://github.com/storybooks/storybook/pull/2809) -- Fix css warning in angular-cli example [#2789](https://github.com/storybooks/storybook/pull/2789) -- Move more things to core [#2788](https://github.com/storybooks/storybook/pull/2788) +- ADD autolabeler.yml for [#2809](https://github.com/storybookjs/storybook/pull/2809) +- Fix css warning in angular-cli example [#2789](https://github.com/storybookjs/storybook/pull/2789) +- Move more things to core [#2788](https://github.com/storybookjs/storybook/pull/2788) #### Dependency Upgrades @@ -4344,82 +4808,82 @@ Fix publishing options to use exact versions for cross-dependencies per this cha 76 Upgrades -- Upgraded `eslint-plugin-react` in `/` from "7.5.1" to "7.6.0" [#2844](https://github.com/storybooks/storybook/pull/2844) -- Upgraded `lint-staged` in `/` from "6.0.1" to "6.1.0" [#2844](https://github.com/storybooks/storybook/pull/2844) -- Upgraded `react-native` in `app/react-native` from "0.52.1" to "0.52.2" [#2844](https://github.com/storybooks/storybook/pull/2844) -- Upgraded `@angular/cli` in `examples/angular-cli` from "1.6.5" to "1.6.6" [#2844](https://github.com/storybooks/storybook/pull/2844) -- Upgraded `protractor` in `examples/angular-cli` from "5.2.2" to "5.3.0" [#2844](https://github.com/storybooks/storybook/pull/2844) -- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.26" to "1.6.27" [#2843](https://github.com/storybooks/storybook/pull/2843) -- Upgraded `gatsby-remark-images` in `/docs` from "1.5.40" to "1.5.41" [#2843](https://github.com/storybooks/storybook/pull/2843) -- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.14" to "1.5.15" [#2843](https://github.com/storybooks/storybook/pull/2843) -- Upgraded `gatsby` in `/docs` from "1.9.166" to "1.9.169" [#2843](https://github.com/storybooks/storybook/pull/2843) -- Upgraded `@types/lodash` in `/` from "4.14.95" to "4.14.96" [#2840](https://github.com/storybooks/storybook/pull/2840) -- Upgraded `airbnb-js-shims` in `app/angular` from "1.4.0" to "1.4.1" [#2840](https://github.com/storybooks/storybook/pull/2840) -- Upgraded `airbnb-js-shims` in `app/polymer` from "1.4.0" to "1.4.1" [#2840](https://github.com/storybooks/storybook/pull/2840) -- Upgraded `airbnb-js-shims` in `app/react` from "1.4.0" to "1.4.1" [#2840](https://github.com/storybooks/storybook/pull/2840) -- Upgraded `airbnb-js-shims` in `app/vue` from "1.4.0" to "1.4.1" [#2840](https://github.com/storybooks/storybook/pull/2840) -- Upgraded `@angular/animations` in `examples/angular-cli` from "5.2.1" to "5.2.2" [#2840](https://github.com/storybooks/storybook/pull/2840) -- Upgraded `@angular/common` in `examples/angular-cli` from "5.2.1" to "5.2.2" [#2840](https://github.com/storybooks/storybook/pull/2840) -- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.2.1" to "5.2.2" [#2840](https://github.com/storybooks/storybook/pull/2840) -- Upgraded `@angular/core` in `examples/angular-cli` from "5.2.1" to "5.2.2" [#2840](https://github.com/storybooks/storybook/pull/2840) -- Upgraded `@angular/forms` in `examples/angular-cli` from "5.2.1" to "5.2.2" [#2840](https://github.com/storybooks/storybook/pull/2840) -- Upgraded `@angular/http` in `examples/angular-cli` from "5.2.1" to "5.2.2" [#2840](https://github.com/storybooks/storybook/pull/2840) -- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.2.1" to "5.2.2" [#2840](https://github.com/storybooks/storybook/pull/2840) -- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.2.1" to "5.2.2" [#2840](https://github.com/storybooks/storybook/pull/2840) -- Upgraded `@angular/router` in `examples/angular-cli` from "5.2.1" to "5.2.2" [#2840](https://github.com/storybooks/storybook/pull/2840) -- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.2.1" to "5.2.2" [#2840](https://github.com/storybooks/storybook/pull/2840) -- Upgraded `@angular/language-service` in `examples/angular-cli` from "5.2.1" to "5.2.2" [#2840](https://github.com/storybooks/storybook/pull/2840) -- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.25" to "1.6.26" [#2828](https://github.com/storybooks/storybook/pull/2828) -- Upgraded `gatsby-remark-images` in `/docs` from "1.5.39" to "1.5.40" [#2828](https://github.com/storybooks/storybook/pull/2828) -- Upgraded `gatsby` in `/docs` from "1.9.165" to "1.9.166" [#2828](https://github.com/storybooks/storybook/pull/2828) -- Upgraded `@types/lodash` in `/` from "4.14.93" to "4.14.95" [#2829](https://github.com/storybooks/storybook/pull/2829) -- Upgraded `vue-style-loader` in `app/vue` from "3.0.3" to "3.1.1" [#2829](https://github.com/storybooks/storybook/pull/2829) -- Upgraded `karma-coverage-istanbul-reporter` in `examples/angular-cli` from "1.3.3" to "1.4.1" [#2829](https://github.com/storybooks/storybook/pull/2829) -- Upgraded `vue-style-loader` in `examples/vue-kitchen-sink` from "3.0.3" to "3.1.1" [#2829](https://github.com/storybooks/storybook/pull/2829) -- Upgraded `@webcomponents/webcomponentsjs` in `app/polymer` from "1.0.22" to "1.1.0" [#2818](https://github.com/storybooks/storybook/pull/2818) -- Upgraded `enzyme-to-json` in `addons/storyshots` from "3.3.0" to "3.3.1" [#2818](https://github.com/storybooks/storybook/pull/2818) -- Upgraded `@webcomponents/webcomponentsjs` in `examples/polymer-cli` from "1.0.22" to "1.1.0" [#2818](https://github.com/storybooks/storybook/pull/2818) -- Upgraded `@types/jasmine` in `examples/angular-cli` from "2.8.4" to "2.8.5" [#2818](https://github.com/storybooks/storybook/pull/2818) -- Upgraded `enzyme-to-json` in `examples/cra-kitchen-sink` from "3.3.0" to "3.3.1" [#2818](https://github.com/storybooks/storybook/pull/2818) -- Upgraded `enzyme-to-json` in `examples/official-storybook` from "3.3.0" to "3.3.1" [#2818](https://github.com/storybooks/storybook/pull/2818) -- Upgraded `react-chromatic` in `examples/official-storybook` from "0.7.8" to "0.7.9" [#2818](https://github.com/storybooks/storybook/pull/2818) -- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.28" to "1.7.29" [#2816](https://github.com/storybooks/storybook/pull/2816) -- Upgraded `gatsby` in `/docs` from "1.9.164" to "1.9.165" [#2816](https://github.com/storybooks/storybook/pull/2816) -- Upgraded `eslint` in `/` from "4.15.0" to "4.16.0" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `github-release-from-changelog` in `/` from "1.3.0" to "1.3.1" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `jest` in `/` from "22.1.3" to "22.1.4" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `jest-cli` in `/` from "22.1.3" to "22.1.4" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `jest-config` in `/` from "22.1.3" to "22.1.4" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `jest-environment-jsdom` in `/` from "22.1.2" to "22.1.4" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `jest-jasmine2` in `/` from "22.1.3" to "22.1.4" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `lerna` in `/` from "2.6.0" to "2.8.0" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `lint-staged` in `/` from "6.0.0" to "6.0.1" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `shelljs` in `/` from "0.8.0" to "0.8.1" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `shelljs` in `addons/links` from "0.8.0" to "0.8.1" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `glamorous` in `lib/components` from "4.11.3" to "4.11.4" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `glamorous` in `addons/a11y` from "4.11.3" to "4.11.4" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `glamorous` in `addons/info` from "4.11.3" to "4.11.4" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `glamorous` in `addons/jest` from "4.11.3" to "4.11.4" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `shelljs` in `app/angular` from "0.8.0" to "0.8.1" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `shelljs` in `app/polymer` from "0.7.8" to "0.8.1" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `shelljs` in `app/react-native` from "0.8.0" to "0.8.1" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `react-native` in `app/react-native` from "0.52.0" to "0.52.1" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `glamorous` in `app/react` from "4.11.3" to "4.11.4" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `shelljs` in `app/react` from "0.8.0" to "0.8.1" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `shelljs` in `app/vue` from "0.8.0" to "0.8.1" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `webpack-dev-server` in `examples/polymer-cli` from "2.11.0" to "2.11.1" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `shelljs` in `lib/cli` from "0.8.0" to "0.8.1" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `jasmine-core` in `examples/angular-cli` from "2.9.0" to "2.9.1" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `glamorous` in `examples/cra-kitchen-sink` from "4.11.3" to "4.11.4" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `jest` in `examples/cra-kitchen-sink` from "22.1.3" to "22.1.4" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `webpack-dev-server` in `examples/vue-kitchen-sink` from "2.11.0" to "2.11.1" [#2806](https://github.com/storybooks/storybook/pull/2806) -- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.9" to "3.3.10" [#2799](https://github.com/storybooks/storybook/pull/2799) -- Upgraded `@storybook/addon-links` in `/docs` from "3.3.9" to "3.3.10" [#2799](https://github.com/storybooks/storybook/pull/2799) -- Upgraded `@storybook/addons` in `/docs` from "3.3.9" to "3.3.10" [#2799](https://github.com/storybooks/storybook/pull/2799) -- Upgraded `@storybook/react` in `/docs` from "3.3.9" to "3.3.10" [#2799](https://github.com/storybooks/storybook/pull/2799) -- Upgraded `gatsby-remark-images` in `/docs` from "1.5.37" to "1.5.39" [#2799](https://github.com/storybooks/storybook/pull/2799) -- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.11" to "1.5.14" [#2799](https://github.com/storybooks/storybook/pull/2799) -- Upgraded `gatsby` in `/docs` from "1.9.158" to "1.9.164" [#2799](https://github.com/storybooks/storybook/pull/2799) +- Upgraded `eslint-plugin-react` in `/` from "7.5.1" to "7.6.0" [#2844](https://github.com/storybookjs/storybook/pull/2844) +- Upgraded `lint-staged` in `/` from "6.0.1" to "6.1.0" [#2844](https://github.com/storybookjs/storybook/pull/2844) +- Upgraded `react-native` in `app/react-native` from "0.52.1" to "0.52.2" [#2844](https://github.com/storybookjs/storybook/pull/2844) +- Upgraded `@angular/cli` in `examples/angular-cli` from "1.6.5" to "1.6.6" [#2844](https://github.com/storybookjs/storybook/pull/2844) +- Upgraded `protractor` in `examples/angular-cli` from "5.2.2" to "5.3.0" [#2844](https://github.com/storybookjs/storybook/pull/2844) +- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.26" to "1.6.27" [#2843](https://github.com/storybookjs/storybook/pull/2843) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.40" to "1.5.41" [#2843](https://github.com/storybookjs/storybook/pull/2843) +- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.14" to "1.5.15" [#2843](https://github.com/storybookjs/storybook/pull/2843) +- Upgraded `gatsby` in `/docs` from "1.9.166" to "1.9.169" [#2843](https://github.com/storybookjs/storybook/pull/2843) +- Upgraded `@types/lodash` in `/` from "4.14.95" to "4.14.96" [#2840](https://github.com/storybookjs/storybook/pull/2840) +- Upgraded `airbnb-js-shims` in `app/angular` from "1.4.0" to "1.4.1" [#2840](https://github.com/storybookjs/storybook/pull/2840) +- Upgraded `airbnb-js-shims` in `app/polymer` from "1.4.0" to "1.4.1" [#2840](https://github.com/storybookjs/storybook/pull/2840) +- Upgraded `airbnb-js-shims` in `app/react` from "1.4.0" to "1.4.1" [#2840](https://github.com/storybookjs/storybook/pull/2840) +- Upgraded `airbnb-js-shims` in `app/vue` from "1.4.0" to "1.4.1" [#2840](https://github.com/storybookjs/storybook/pull/2840) +- Upgraded `@angular/animations` in `examples/angular-cli` from "5.2.1" to "5.2.2" [#2840](https://github.com/storybookjs/storybook/pull/2840) +- Upgraded `@angular/common` in `examples/angular-cli` from "5.2.1" to "5.2.2" [#2840](https://github.com/storybookjs/storybook/pull/2840) +- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.2.1" to "5.2.2" [#2840](https://github.com/storybookjs/storybook/pull/2840) +- Upgraded `@angular/core` in `examples/angular-cli` from "5.2.1" to "5.2.2" [#2840](https://github.com/storybookjs/storybook/pull/2840) +- Upgraded `@angular/forms` in `examples/angular-cli` from "5.2.1" to "5.2.2" [#2840](https://github.com/storybookjs/storybook/pull/2840) +- Upgraded `@angular/http` in `examples/angular-cli` from "5.2.1" to "5.2.2" [#2840](https://github.com/storybookjs/storybook/pull/2840) +- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.2.1" to "5.2.2" [#2840](https://github.com/storybookjs/storybook/pull/2840) +- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.2.1" to "5.2.2" [#2840](https://github.com/storybookjs/storybook/pull/2840) +- Upgraded `@angular/router` in `examples/angular-cli` from "5.2.1" to "5.2.2" [#2840](https://github.com/storybookjs/storybook/pull/2840) +- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.2.1" to "5.2.2" [#2840](https://github.com/storybookjs/storybook/pull/2840) +- Upgraded `@angular/language-service` in `examples/angular-cli` from "5.2.1" to "5.2.2" [#2840](https://github.com/storybookjs/storybook/pull/2840) +- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.25" to "1.6.26" [#2828](https://github.com/storybookjs/storybook/pull/2828) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.39" to "1.5.40" [#2828](https://github.com/storybookjs/storybook/pull/2828) +- Upgraded `gatsby` in `/docs` from "1.9.165" to "1.9.166" [#2828](https://github.com/storybookjs/storybook/pull/2828) +- Upgraded `@types/lodash` in `/` from "4.14.93" to "4.14.95" [#2829](https://github.com/storybookjs/storybook/pull/2829) +- Upgraded `vue-style-loader` in `app/vue` from "3.0.3" to "3.1.1" [#2829](https://github.com/storybookjs/storybook/pull/2829) +- Upgraded `karma-coverage-istanbul-reporter` in `examples/angular-cli` from "1.3.3" to "1.4.1" [#2829](https://github.com/storybookjs/storybook/pull/2829) +- Upgraded `vue-style-loader` in `examples/vue-kitchen-sink` from "3.0.3" to "3.1.1" [#2829](https://github.com/storybookjs/storybook/pull/2829) +- Upgraded `@webcomponents/webcomponentsjs` in `app/polymer` from "1.0.22" to "1.1.0" [#2818](https://github.com/storybookjs/storybook/pull/2818) +- Upgraded `enzyme-to-json` in `addons/storyshots` from "3.3.0" to "3.3.1" [#2818](https://github.com/storybookjs/storybook/pull/2818) +- Upgraded `@webcomponents/webcomponentsjs` in `examples/polymer-cli` from "1.0.22" to "1.1.0" [#2818](https://github.com/storybookjs/storybook/pull/2818) +- Upgraded `@types/jasmine` in `examples/angular-cli` from "2.8.4" to "2.8.5" [#2818](https://github.com/storybookjs/storybook/pull/2818) +- Upgraded `enzyme-to-json` in `examples/cra-kitchen-sink` from "3.3.0" to "3.3.1" [#2818](https://github.com/storybookjs/storybook/pull/2818) +- Upgraded `enzyme-to-json` in `examples/official-storybook` from "3.3.0" to "3.3.1" [#2818](https://github.com/storybookjs/storybook/pull/2818) +- Upgraded `react-chromatic` in `examples/official-storybook` from "0.7.8" to "0.7.9" [#2818](https://github.com/storybookjs/storybook/pull/2818) +- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.28" to "1.7.29" [#2816](https://github.com/storybookjs/storybook/pull/2816) +- Upgraded `gatsby` in `/docs` from "1.9.164" to "1.9.165" [#2816](https://github.com/storybookjs/storybook/pull/2816) +- Upgraded `eslint` in `/` from "4.15.0" to "4.16.0" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `github-release-from-changelog` in `/` from "1.3.0" to "1.3.1" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `jest` in `/` from "22.1.3" to "22.1.4" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `jest-cli` in `/` from "22.1.3" to "22.1.4" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `jest-config` in `/` from "22.1.3" to "22.1.4" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `jest-environment-jsdom` in `/` from "22.1.2" to "22.1.4" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `jest-jasmine2` in `/` from "22.1.3" to "22.1.4" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `lerna` in `/` from "2.6.0" to "2.8.0" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `lint-staged` in `/` from "6.0.0" to "6.0.1" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `shelljs` in `/` from "0.8.0" to "0.8.1" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `shelljs` in `addons/links` from "0.8.0" to "0.8.1" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `glamorous` in `lib/components` from "4.11.3" to "4.11.4" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `glamorous` in `addons/a11y` from "4.11.3" to "4.11.4" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `glamorous` in `addons/info` from "4.11.3" to "4.11.4" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `glamorous` in `addons/jest` from "4.11.3" to "4.11.4" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `shelljs` in `app/angular` from "0.8.0" to "0.8.1" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `shelljs` in `app/polymer` from "0.7.8" to "0.8.1" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `shelljs` in `app/react-native` from "0.8.0" to "0.8.1" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `react-native` in `app/react-native` from "0.52.0" to "0.52.1" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `glamorous` in `app/react` from "4.11.3" to "4.11.4" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `shelljs` in `app/react` from "0.8.0" to "0.8.1" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `shelljs` in `app/vue` from "0.8.0" to "0.8.1" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `webpack-dev-server` in `examples/polymer-cli` from "2.11.0" to "2.11.1" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `shelljs` in `lib/cli` from "0.8.0" to "0.8.1" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `jasmine-core` in `examples/angular-cli` from "2.9.0" to "2.9.1" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `glamorous` in `examples/cra-kitchen-sink` from "4.11.3" to "4.11.4" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `jest` in `examples/cra-kitchen-sink` from "22.1.3" to "22.1.4" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `webpack-dev-server` in `examples/vue-kitchen-sink` from "2.11.0" to "2.11.1" [#2806](https://github.com/storybookjs/storybook/pull/2806) +- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.9" to "3.3.10" [#2799](https://github.com/storybookjs/storybook/pull/2799) +- Upgraded `@storybook/addon-links` in `/docs` from "3.3.9" to "3.3.10" [#2799](https://github.com/storybookjs/storybook/pull/2799) +- Upgraded `@storybook/addons` in `/docs` from "3.3.9" to "3.3.10" [#2799](https://github.com/storybookjs/storybook/pull/2799) +- Upgraded `@storybook/react` in `/docs` from "3.3.9" to "3.3.10" [#2799](https://github.com/storybookjs/storybook/pull/2799) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.37" to "1.5.39" [#2799](https://github.com/storybookjs/storybook/pull/2799) +- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.11" to "1.5.14" [#2799](https://github.com/storybookjs/storybook/pull/2799) +- Upgraded `gatsby` in `/docs` from "1.9.158" to "1.9.164" [#2799](https://github.com/storybookjs/storybook/pull/2799) @@ -4429,7 +4893,7 @@ Fix publishing options to use exact versions for cross-dependencies per this cha #### Bug Fixes -- Angular: update helpers.ts [#2777](https://github.com/storybooks/storybook/pull/2777) +- Angular: update helpers.ts [#2777](https://github.com/storybookjs/storybook/pull/2777) ## 3.4.0-alpha.5 @@ -4437,15 +4901,15 @@ Fix publishing options to use exact versions for cross-dependencies per this cha #### Features -- Angular and Vue storyshots [#2564](https://github.com/storybooks/storybook/pull/2564) -- Addon-info: Added "Copy button" for code example [#2713](https://github.com/storybooks/storybook/pull/2713) -- Angular: Serve styles and assets using .angular-cli webpack configuration [#2735](https://github.com/storybooks/storybook/pull/2735) -- API: Added an event that is emitted when a channel is created. [#2711](https://github.com/storybooks/storybook/pull/2711) -- Addon-a11y: Handle components with delayed rendering [#2651](https://github.com/storybooks/storybook/pull/2651) +- Angular and Vue storyshots [#2564](https://github.com/storybookjs/storybook/pull/2564) +- Addon-info: Added "Copy button" for code example [#2713](https://github.com/storybookjs/storybook/pull/2713) +- Angular: Serve styles and assets using .angular-cli webpack configuration [#2735](https://github.com/storybookjs/storybook/pull/2735) +- API: Added an event that is emitted when a channel is created. [#2711](https://github.com/storybookjs/storybook/pull/2711) +- Addon-a11y: Handle components with delayed rendering [#2651](https://github.com/storybookjs/storybook/pull/2651) #### Bug Fixes -- Angular: knobs with template [#2766](https://github.com/storybooks/storybook/pull/2766) +- Angular: knobs with template [#2766](https://github.com/storybookjs/storybook/pull/2766) #### Documentation @@ -4454,10 +4918,10 @@ Fix publishing options to use exact versions for cross-dependencies per this cha 4 PRs -- Updating css-style testing docs to mention StoryShots image snapshots feature [#2767](https://github.com/storybooks/storybook/pull/2767) -- Fix introduction page header [#2757](https://github.com/storybooks/storybook/pull/2757) -- fix Storyshots README, add missing export for image snapshots [#2759](https://github.com/storybooks/storybook/pull/2759) -- Update MIGRATION.md [#2709](https://github.com/storybooks/storybook/pull/2709) +- Updating css-style testing docs to mention StoryShots image snapshots feature [#2767](https://github.com/storybookjs/storybook/pull/2767) +- Fix introduction page header [#2757](https://github.com/storybookjs/storybook/pull/2757) +- fix Storyshots README, add missing export for image snapshots [#2759](https://github.com/storybookjs/storybook/pull/2759) +- Update MIGRATION.md [#2709](https://github.com/storybookjs/storybook/pull/2709) @@ -4468,97 +4932,97 @@ Fix publishing options to use exact versions for cross-dependencies per this cha 91 upgrades -- Upgraded `@types/lodash` in `/` from "4.14.92" to "4.14.93" [#2783](https://github.com/storybooks/storybook/pull/2783) -- Upgraded `jest` in `/` from "22.1.2" to "22.1.3" [#2783](https://github.com/storybooks/storybook/pull/2783) -- Upgraded `jest-cli` in `/` from "22.1.2" to "22.1.3" [#2783](https://github.com/storybooks/storybook/pull/2783) -- Upgraded `jest-config` in `/` from "22.1.2" to "22.1.3" [#2783](https://github.com/storybooks/storybook/pull/2783) -- Upgraded `jest-jasmine2` in `/` from "22.1.2" to "22.1.3" [#2783](https://github.com/storybooks/storybook/pull/2783) -- Upgraded `postcss-flexbugs-fixes` in `app/angular` from "3.2.0" to "3.3.0" [#2783](https://github.com/storybooks/storybook/pull/2783) -- Upgraded `postcss-flexbugs-fixes` in `app/polymer` from "3.2.0" to "3.3.0" [#2783](https://github.com/storybooks/storybook/pull/2783) -- Upgraded `postcss-flexbugs-fixes` in `app/react` from "3.2.0" to "3.3.0" [#2783](https://github.com/storybooks/storybook/pull/2783) -- Upgraded `postcss-flexbugs-fixes` in `app/vue` from "3.2.0" to "3.3.0" [#2783](https://github.com/storybooks/storybook/pull/2783) -- Upgraded `@angular/cli` in `examples/angular-cli` from "1.6.4" to "1.6.5" [#2783](https://github.com/storybooks/storybook/pull/2783) -- Upgraded `jest` in `examples/cra-kitchen-sink` from "22.1.2" to "22.1.3" [#2783](https://github.com/storybooks/storybook/pull/2783) -- Update gatsby in /docs from 1.9.157 to 1.9.158 [#2779](https://github.com/storybooks/storybook/pull/2779) -- Upgraded `jasmine-core` in `examples/angular-cli` from "2.8.0" to "2.9.0" [#2780](https://github.com/storybooks/storybook/pull/2780) -- Upgraded `react-chromatic` in `examples/official-storybook` from "0.7.7" to "0.7.8" [#2780](https://github.com/storybooks/storybook/pull/2780) -- Upgraded `eslint-plugin-jest` in `/` from "21.6.2" to "21.7.0" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `jest` in `/` from "22.1.1" to "22.1.2" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `jest-cli` in `/` from "22.1.1" to "22.1.2" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `jest-config` in `/` from "22.1.1" to "22.1.2" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `jest-environment-jsdom` in `/` from "22.1.0" to "22.1.2" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `jest-jasmine2` in `/` from "22.1.1" to "22.1.2" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `uuid` in `addons/actions` from "3.2.0" to "3.2.1" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `uuid` in `addons/events` from "3.2.0" to "3.2.1" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `glamorous` in `lib/components` from "4.11.2" to "4.11.3" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `glamorous` in `addons/a11y` from "4.11.2" to "4.11.3" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `glamorous` in `addons/info` from "4.11.2" to "4.11.3" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `glamorous` in `addons/jest` from "4.11.2" to "4.11.3" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `css-loader` in `app/angular` from "0.28.8" to "0.28.9" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `html-loader` in `app/angular` from "0.5.4" to "0.5.5" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `uuid` in `app/angular` from "3.2.0" to "3.2.1" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `css-loader` in `app/polymer` from "0.28.8" to "0.28.9" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `uuid` in `app/polymer` from "3.2.0" to "3.2.1" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `css-loader` in `app/react-native` from "0.28.8" to "0.28.9" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `uuid` in `app/react-native` from "3.2.0" to "3.2.1" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `css-loader` in `app/react` from "0.28.8" to "0.28.9" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `glamorous` in `app/react` from "4.11.2" to "4.11.3" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `html-loader` in `app/react` from "0.5.4" to "0.5.5" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `uuid` in `app/react` from "3.2.0" to "3.2.1" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `css-loader` in `app/vue` from "0.28.8" to "0.28.9" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `html-loader` in `app/vue` from "0.5.4" to "0.5.5" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `uuid` in `app/vue` from "3.2.0" to "3.2.1" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `semver` in `lib/cli` from "5.4.1" to "5.5.0" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `@angular/animations` in `examples/angular-cli` from "5.2.0" to "5.2.1" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `@angular/common` in `examples/angular-cli` from "5.2.0" to "5.2.1" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.2.0" to "5.2.1" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `@angular/core` in `examples/angular-cli` from "5.2.0" to "5.2.1" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `@angular/forms` in `examples/angular-cli` from "5.2.0" to "5.2.1" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `@angular/http` in `examples/angular-cli` from "5.2.0" to "5.2.1" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.2.0" to "5.2.1" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.2.0" to "5.2.1" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `@angular/router` in `examples/angular-cli` from "5.2.0" to "5.2.1" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.2.0" to "5.2.1" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `@angular/language-service` in `examples/angular-cli` from "5.2.0" to "5.2.1" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `glamorous` in `examples/cra-kitchen-sink` from "4.11.2" to "4.11.3" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `jest` in `examples/cra-kitchen-sink` from "22.1.1" to "22.1.2" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `css-loader` in `examples/vue-kitchen-sink` from "0.28.8" to "0.28.9" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `uuid` in `examples/official-storybook` from "3.2.0" to "3.2.1" [#2770](https://github.com/storybooks/storybook/pull/2770) -- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.24" to "1.6.25" [#2768](https://github.com/storybooks/storybook/pull/2768) -- Upgraded `gatsby-remark-images` in `/docs` from "1.5.36" to "1.5.37" [#2768](https://github.com/storybooks/storybook/pull/2768) -- Upgraded `eslint-plugin-prettier` in `/` from "2.4.0" to "2.5.0" [#2764](https://github.com/storybooks/storybook/pull/2764) -- Upgraded `lerna` in `/` from "2.7.0" to "2.7.1" [#2764](https://github.com/storybooks/storybook/pull/2764) -- Upgraded `uuid` in `addons/actions` from "3.1.0" to "3.2.0" [#2764](https://github.com/storybooks/storybook/pull/2764) -- Upgraded `uuid` in `addons/events` from "3.1.0" to "3.2.0" [#2764](https://github.com/storybooks/storybook/pull/2764) -- Upgraded `react-modal` in `lib/ui` from "3.1.10" to "3.1.11" [#2764](https://github.com/storybooks/storybook/pull/2764) -- Upgraded `uuid` in `app/angular` from "3.1.0" to "3.2.0" [#2764](https://github.com/storybooks/storybook/pull/2764) -- Upgraded `uuid` in `app/polymer` from "3.1.0" to "3.2.0" [#2764](https://github.com/storybooks/storybook/pull/2764) -- Upgraded `uuid` in `app/react-native` from "3.1.0" to "3.2.0" [#2764](https://github.com/storybooks/storybook/pull/2764) -- Upgraded `uuid` in `app/react` from "3.1.0" to "3.2.0" [#2764](https://github.com/storybooks/storybook/pull/2764) -- Upgraded `uuid` in `app/vue` from "3.1.0" to "3.2.0" [#2764](https://github.com/storybooks/storybook/pull/2764) -- Upgraded `uuid` in `examples/official-storybook` from "3.1.0" to "3.2.0" [#2764](https://github.com/storybooks/storybook/pull/2764) -- Update gatsby in /docs from 1.9.155 to 1.9.157 [#2763](https://github.com/storybooks/storybook/pull/2763) -- Upgraded `jest` in `/` from "22.0.6" to "22.1.1" [#2754](https://github.com/storybooks/storybook/pull/2754) -- Upgraded `jest-cli` in `/` from "22.0.6" to "22.1.1" [#2754](https://github.com/storybooks/storybook/pull/2754) -- Upgraded `jest-config` in `/` from "22.0.6" to "22.1.1" [#2754](https://github.com/storybooks/storybook/pull/2754) -- Upgraded `jest-diff` in `/` from "22.0.6" to "22.1.0" [#2754](https://github.com/storybooks/storybook/pull/2754) -- Upgraded `jest-environment-jsdom` in `/` from "22.0.6" to "22.1.0" [#2754](https://github.com/storybooks/storybook/pull/2754) -- Upgraded `jest-jasmine2` in `/` from "22.0.6" to "22.1.1" [#2754](https://github.com/storybooks/storybook/pull/2754) -- Upgraded `babel-plugin-react-docgen` in `app/angular` from "1.8.1" to "1.8.2" [#2754](https://github.com/storybooks/storybook/pull/2754) -- Upgraded `babel-preset-react-app` in `app/angular` from "3.1.0" to "3.1.1" [#2754](https://github.com/storybooks/storybook/pull/2754) -- Upgraded `babel-plugin-react-docgen` in `app/polymer` from "1.8.1" to "1.8.2" [#2754](https://github.com/storybooks/storybook/pull/2754) -- Upgraded `babel-preset-react-app` in `app/polymer` from "3.1.0" to "3.1.1" [#2754](https://github.com/storybooks/storybook/pull/2754) -- Upgraded `babel-plugin-react-docgen` in `app/react` from "1.8.1" to "1.8.2" [#2754](https://github.com/storybooks/storybook/pull/2754) -- Upgraded `babel-preset-react-app` in `app/react` from "3.1.0" to "3.1.1" [#2754](https://github.com/storybooks/storybook/pull/2754) -- Upgraded `babel-plugin-react-docgen` in `app/vue` from "1.8.1" to "1.8.2" [#2754](https://github.com/storybooks/storybook/pull/2754) -- Upgraded `babel-preset-react-app` in `app/vue` from "3.1.0" to "3.1.1" [#2754](https://github.com/storybooks/storybook/pull/2754) -- Upgraded `babel-jest` in `examples/cra-kitchen-sink` from "22.0.6" to "22.1.0" [#2754](https://github.com/storybooks/storybook/pull/2754) -- Upgraded `jest` in `examples/cra-kitchen-sink` from "22.0.6" to "22.1.1" [#2754](https://github.com/storybooks/storybook/pull/2754) -- Upgraded `react-scripts` in `examples/cra-kitchen-sink` from "1.0.17" to "1.1.0" [#2754](https://github.com/storybooks/storybook/pull/2754) -- Upgraded `eslint-plugin-jest` in `/` from "21.6.1" to "21.6.2" [#2746](https://github.com/storybooks/storybook/pull/2746) -- Upgraded `webpack-dev-server` in `examples/polymer-cli` from "2.10.1" to "2.11.0" [#2746](https://github.com/storybooks/storybook/pull/2746) -- Upgraded `webpack-dev-server` in `examples/vue-kitchen-sink` from "2.10.1" to "2.11.0" [#2746](https://github.com/storybooks/storybook/pull/2746) -- Upgraded `jest-image-snapshot` in `/` from "2.2.1" to "2.3.0" [#2740](https://github.com/storybooks/storybook/pull/2740) +- Upgraded `@types/lodash` in `/` from "4.14.92" to "4.14.93" [#2783](https://github.com/storybookjs/storybook/pull/2783) +- Upgraded `jest` in `/` from "22.1.2" to "22.1.3" [#2783](https://github.com/storybookjs/storybook/pull/2783) +- Upgraded `jest-cli` in `/` from "22.1.2" to "22.1.3" [#2783](https://github.com/storybookjs/storybook/pull/2783) +- Upgraded `jest-config` in `/` from "22.1.2" to "22.1.3" [#2783](https://github.com/storybookjs/storybook/pull/2783) +- Upgraded `jest-jasmine2` in `/` from "22.1.2" to "22.1.3" [#2783](https://github.com/storybookjs/storybook/pull/2783) +- Upgraded `postcss-flexbugs-fixes` in `app/angular` from "3.2.0" to "3.3.0" [#2783](https://github.com/storybookjs/storybook/pull/2783) +- Upgraded `postcss-flexbugs-fixes` in `app/polymer` from "3.2.0" to "3.3.0" [#2783](https://github.com/storybookjs/storybook/pull/2783) +- Upgraded `postcss-flexbugs-fixes` in `app/react` from "3.2.0" to "3.3.0" [#2783](https://github.com/storybookjs/storybook/pull/2783) +- Upgraded `postcss-flexbugs-fixes` in `app/vue` from "3.2.0" to "3.3.0" [#2783](https://github.com/storybookjs/storybook/pull/2783) +- Upgraded `@angular/cli` in `examples/angular-cli` from "1.6.4" to "1.6.5" [#2783](https://github.com/storybookjs/storybook/pull/2783) +- Upgraded `jest` in `examples/cra-kitchen-sink` from "22.1.2" to "22.1.3" [#2783](https://github.com/storybookjs/storybook/pull/2783) +- Update gatsby in /docs from 1.9.157 to 1.9.158 [#2779](https://github.com/storybookjs/storybook/pull/2779) +- Upgraded `jasmine-core` in `examples/angular-cli` from "2.8.0" to "2.9.0" [#2780](https://github.com/storybookjs/storybook/pull/2780) +- Upgraded `react-chromatic` in `examples/official-storybook` from "0.7.7" to "0.7.8" [#2780](https://github.com/storybookjs/storybook/pull/2780) +- Upgraded `eslint-plugin-jest` in `/` from "21.6.2" to "21.7.0" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `jest` in `/` from "22.1.1" to "22.1.2" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `jest-cli` in `/` from "22.1.1" to "22.1.2" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `jest-config` in `/` from "22.1.1" to "22.1.2" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `jest-environment-jsdom` in `/` from "22.1.0" to "22.1.2" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `jest-jasmine2` in `/` from "22.1.1" to "22.1.2" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `uuid` in `addons/actions` from "3.2.0" to "3.2.1" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `uuid` in `addons/events` from "3.2.0" to "3.2.1" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `glamorous` in `lib/components` from "4.11.2" to "4.11.3" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `glamorous` in `addons/a11y` from "4.11.2" to "4.11.3" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `glamorous` in `addons/info` from "4.11.2" to "4.11.3" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `glamorous` in `addons/jest` from "4.11.2" to "4.11.3" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `css-loader` in `app/angular` from "0.28.8" to "0.28.9" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `html-loader` in `app/angular` from "0.5.4" to "0.5.5" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `uuid` in `app/angular` from "3.2.0" to "3.2.1" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `css-loader` in `app/polymer` from "0.28.8" to "0.28.9" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `uuid` in `app/polymer` from "3.2.0" to "3.2.1" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `css-loader` in `app/react-native` from "0.28.8" to "0.28.9" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `uuid` in `app/react-native` from "3.2.0" to "3.2.1" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `css-loader` in `app/react` from "0.28.8" to "0.28.9" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `glamorous` in `app/react` from "4.11.2" to "4.11.3" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `html-loader` in `app/react` from "0.5.4" to "0.5.5" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `uuid` in `app/react` from "3.2.0" to "3.2.1" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `css-loader` in `app/vue` from "0.28.8" to "0.28.9" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `html-loader` in `app/vue` from "0.5.4" to "0.5.5" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `uuid` in `app/vue` from "3.2.0" to "3.2.1" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `semver` in `lib/cli` from "5.4.1" to "5.5.0" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `@angular/animations` in `examples/angular-cli` from "5.2.0" to "5.2.1" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `@angular/common` in `examples/angular-cli` from "5.2.0" to "5.2.1" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.2.0" to "5.2.1" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `@angular/core` in `examples/angular-cli` from "5.2.0" to "5.2.1" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `@angular/forms` in `examples/angular-cli` from "5.2.0" to "5.2.1" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `@angular/http` in `examples/angular-cli` from "5.2.0" to "5.2.1" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.2.0" to "5.2.1" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.2.0" to "5.2.1" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `@angular/router` in `examples/angular-cli` from "5.2.0" to "5.2.1" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.2.0" to "5.2.1" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `@angular/language-service` in `examples/angular-cli` from "5.2.0" to "5.2.1" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `glamorous` in `examples/cra-kitchen-sink` from "4.11.2" to "4.11.3" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `jest` in `examples/cra-kitchen-sink` from "22.1.1" to "22.1.2" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `css-loader` in `examples/vue-kitchen-sink` from "0.28.8" to "0.28.9" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `uuid` in `examples/official-storybook` from "3.2.0" to "3.2.1" [#2770](https://github.com/storybookjs/storybook/pull/2770) +- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.24" to "1.6.25" [#2768](https://github.com/storybookjs/storybook/pull/2768) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.36" to "1.5.37" [#2768](https://github.com/storybookjs/storybook/pull/2768) +- Upgraded `eslint-plugin-prettier` in `/` from "2.4.0" to "2.5.0" [#2764](https://github.com/storybookjs/storybook/pull/2764) +- Upgraded `lerna` in `/` from "2.7.0" to "2.7.1" [#2764](https://github.com/storybookjs/storybook/pull/2764) +- Upgraded `uuid` in `addons/actions` from "3.1.0" to "3.2.0" [#2764](https://github.com/storybookjs/storybook/pull/2764) +- Upgraded `uuid` in `addons/events` from "3.1.0" to "3.2.0" [#2764](https://github.com/storybookjs/storybook/pull/2764) +- Upgraded `react-modal` in `lib/ui` from "3.1.10" to "3.1.11" [#2764](https://github.com/storybookjs/storybook/pull/2764) +- Upgraded `uuid` in `app/angular` from "3.1.0" to "3.2.0" [#2764](https://github.com/storybookjs/storybook/pull/2764) +- Upgraded `uuid` in `app/polymer` from "3.1.0" to "3.2.0" [#2764](https://github.com/storybookjs/storybook/pull/2764) +- Upgraded `uuid` in `app/react-native` from "3.1.0" to "3.2.0" [#2764](https://github.com/storybookjs/storybook/pull/2764) +- Upgraded `uuid` in `app/react` from "3.1.0" to "3.2.0" [#2764](https://github.com/storybookjs/storybook/pull/2764) +- Upgraded `uuid` in `app/vue` from "3.1.0" to "3.2.0" [#2764](https://github.com/storybookjs/storybook/pull/2764) +- Upgraded `uuid` in `examples/official-storybook` from "3.1.0" to "3.2.0" [#2764](https://github.com/storybookjs/storybook/pull/2764) +- Update gatsby in /docs from 1.9.155 to 1.9.157 [#2763](https://github.com/storybookjs/storybook/pull/2763) +- Upgraded `jest` in `/` from "22.0.6" to "22.1.1" [#2754](https://github.com/storybookjs/storybook/pull/2754) +- Upgraded `jest-cli` in `/` from "22.0.6" to "22.1.1" [#2754](https://github.com/storybookjs/storybook/pull/2754) +- Upgraded `jest-config` in `/` from "22.0.6" to "22.1.1" [#2754](https://github.com/storybookjs/storybook/pull/2754) +- Upgraded `jest-diff` in `/` from "22.0.6" to "22.1.0" [#2754](https://github.com/storybookjs/storybook/pull/2754) +- Upgraded `jest-environment-jsdom` in `/` from "22.0.6" to "22.1.0" [#2754](https://github.com/storybookjs/storybook/pull/2754) +- Upgraded `jest-jasmine2` in `/` from "22.0.6" to "22.1.1" [#2754](https://github.com/storybookjs/storybook/pull/2754) +- Upgraded `babel-plugin-react-docgen` in `app/angular` from "1.8.1" to "1.8.2" [#2754](https://github.com/storybookjs/storybook/pull/2754) +- Upgraded `babel-preset-react-app` in `app/angular` from "3.1.0" to "3.1.1" [#2754](https://github.com/storybookjs/storybook/pull/2754) +- Upgraded `babel-plugin-react-docgen` in `app/polymer` from "1.8.1" to "1.8.2" [#2754](https://github.com/storybookjs/storybook/pull/2754) +- Upgraded `babel-preset-react-app` in `app/polymer` from "3.1.0" to "3.1.1" [#2754](https://github.com/storybookjs/storybook/pull/2754) +- Upgraded `babel-plugin-react-docgen` in `app/react` from "1.8.1" to "1.8.2" [#2754](https://github.com/storybookjs/storybook/pull/2754) +- Upgraded `babel-preset-react-app` in `app/react` from "3.1.0" to "3.1.1" [#2754](https://github.com/storybookjs/storybook/pull/2754) +- Upgraded `babel-plugin-react-docgen` in `app/vue` from "1.8.1" to "1.8.2" [#2754](https://github.com/storybookjs/storybook/pull/2754) +- Upgraded `babel-preset-react-app` in `app/vue` from "3.1.0" to "3.1.1" [#2754](https://github.com/storybookjs/storybook/pull/2754) +- Upgraded `babel-jest` in `examples/cra-kitchen-sink` from "22.0.6" to "22.1.0" [#2754](https://github.com/storybookjs/storybook/pull/2754) +- Upgraded `jest` in `examples/cra-kitchen-sink` from "22.0.6" to "22.1.1" [#2754](https://github.com/storybookjs/storybook/pull/2754) +- Upgraded `react-scripts` in `examples/cra-kitchen-sink` from "1.0.17" to "1.1.0" [#2754](https://github.com/storybookjs/storybook/pull/2754) +- Upgraded `eslint-plugin-jest` in `/` from "21.6.1" to "21.6.2" [#2746](https://github.com/storybookjs/storybook/pull/2746) +- Upgraded `webpack-dev-server` in `examples/polymer-cli` from "2.10.1" to "2.11.0" [#2746](https://github.com/storybookjs/storybook/pull/2746) +- Upgraded `webpack-dev-server` in `examples/vue-kitchen-sink` from "2.10.1" to "2.11.0" [#2746](https://github.com/storybookjs/storybook/pull/2746) +- Upgraded `jest-image-snapshot` in `/` from "2.2.1" to "2.3.0" [#2740](https://github.com/storybookjs/storybook/pull/2740) - Upgraded `polymer-webpack-loader` in `app/polymer` from "2.0.0" to "2.0.1" @@ -4569,8 +5033,8 @@ Fix publishing options to use exact versions for cross-dependencies per this cha #### Bug Fixes -- Addon-backgrounds: remove redundant scrollbars [#2744](https://github.com/storybooks/storybook/pull/2744) -- Addon-info: add keys for separator spans in OneOfType [#2743](https://github.com/storybooks/storybook/pull/2743) +- Addon-backgrounds: remove redundant scrollbars [#2744](https://github.com/storybookjs/storybook/pull/2744) +- Addon-info: add keys for separator spans in OneOfType [#2743](https://github.com/storybookjs/storybook/pull/2743) ## 3.4.0-alpha.4 @@ -4584,18 +5048,18 @@ Republish `3.4.0-alpha.3` due to potential publishing errors #### Features -- Polymer 2 support [#2225](https://github.com/storybooks/storybook/pull/2225) -- Add image snapshots to addon-storyshots [#2413](https://github.com/storybooks/storybook/pull/2413) -- Angular template support for Storybook [#2690](https://github.com/storybooks/storybook/pull/2690) +- Polymer 2 support [#2225](https://github.com/storybookjs/storybook/pull/2225) +- Add image snapshots to addon-storyshots [#2413](https://github.com/storybookjs/storybook/pull/2413) +- Angular template support for Storybook [#2690](https://github.com/storybookjs/storybook/pull/2690) #### Bug Fixes -- Remove polymer-cli dependency [#2741](https://github.com/storybooks/storybook/pull/2741) -- Add scss for components in angular apps by default. [#2703](https://github.com/storybooks/storybook/pull/2703) +- Remove polymer-cli dependency [#2741](https://github.com/storybookjs/storybook/pull/2741) +- Add scss for components in angular apps by default. [#2703](https://github.com/storybookjs/storybook/pull/2703) #### Maintenance -- Change ng stories dir [#2672](https://github.com/storybooks/storybook/pull/2672) +- Change ng stories dir [#2672](https://github.com/storybookjs/storybook/pull/2672) #### Dependency Upgrades @@ -4604,60 +5068,60 @@ Republish `3.4.0-alpha.3` due to potential publishing errors 54 Upgrades -- Upgraded `jest-image-snapshot` in `/` from "2.2.1" to "2.3.0" [#2740](https://github.com/storybooks/storybook/pull/2740) -- Upgraded `polymer-webpack-loader` in `app/polymer` from "2.0.0" to "2.0.1" [#2740](https://github.com/storybooks/storybook/pull/2740) -- Upgraded `jest-image-snapshot` in `addons/storyshots` from "2.2.1" to "2.3.0" [#2740](https://github.com/storybooks/storybook/pull/2740) -- Upgraded `shelljs` in `/` from "0.7.8" to "0.8.0" [#2734](https://github.com/storybooks/storybook/pull/2734) -- Upgraded `shelljs` in `addons/links` from "0.7.8" to "0.8.0" [#2734](https://github.com/storybooks/storybook/pull/2734) -- Upgraded `autoprefixer` in `app/react` from "7.2.4" to "7.2.5" [#2734](https://github.com/storybooks/storybook/pull/2734) -- Upgraded `shelljs` in `app/react` from "0.7.8" to "0.8.0" [#2734](https://github.com/storybooks/storybook/pull/2734) -- Upgraded `autoprefixer` in `app/angular` from "7.2.4" to "7.2.5" [#2734](https://github.com/storybooks/storybook/pull/2734) -- Upgraded `shelljs` in `app/angular` from "0.7.8" to "0.8.0" [#2734](https://github.com/storybooks/storybook/pull/2734) -- Upgraded `autoprefixer` in `app/react-native` from "7.2.4" to "7.2.5" [#2734](https://github.com/storybooks/storybook/pull/2734) -- Upgraded `shelljs` in `app/react-native` from "0.7.8" to "0.8.0" [#2734](https://github.com/storybooks/storybook/pull/2734) -- Upgraded `autoprefixer` in `app/vue` from "7.2.4" to "7.2.5" [#2734](https://github.com/storybooks/storybook/pull/2734) -- Upgraded `shelljs` in `app/vue` from "0.7.8" to "0.8.0" [#2734](https://github.com/storybooks/storybook/pull/2734) -- Upgraded `shelljs` in `lib/cli` from "0.7.8" to "0.8.0" [#2734](https://github.com/storybooks/storybook/pull/2734) -- Update gatsby in /docs from 1.9.153 to 1.9.154 [#2733](https://github.com/storybooks/storybook/pull/2733) -- Update @angular/cli in examples/angular-cli from 1.6.3 to 1.6.4 [#2726](https://github.com/storybooks/storybook/pull/2726) -- Upgraded `commander` in `/` from "2.12.2" to "2.13.0" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `jest` in `/` from "22.0.5" to "22.0.6" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `jest-cli` in `/` from "22.0.5" to "22.0.6" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `jest-config` in `/` from "22.0.5" to "22.0.6" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `jest-diff` in `/` from "22.0.5" to "22.0.6" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `jest-environment-jsdom` in `/` from "22.0.5" to "22.0.6" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `jest-jasmine2` in `/` from "22.0.5" to "22.0.6" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `nodemon` in `/` from "1.14.10" to "1.14.11" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `prettier` in `/` from "1.9.2" to "1.10.2" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `tslint` in `/` from "5.8.0" to "5.9.1" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `commander` in `app/react` from "2.12.2" to "2.13.0" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `common-tags` in `app/react` from "1.7.0" to "1.7.2" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `nodemon` in `app/react` from "1.14.10" to "1.14.11" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `commander` in `app/angular` from "2.12.2" to "2.13.0" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `common-tags` in `app/angular` from "1.7.0" to "1.7.2" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `zone.js` in `app/angular` from "0.8.19" to "0.8.20" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `nodemon` in `app/angular` from "1.14.10" to "1.14.11" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `commander` in `app/react-native` from "2.12.2" to "2.13.0" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `commander` in `app/vue` from "2.12.2" to "2.13.0" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `common-tags` in `app/vue` from "1.7.0" to "1.7.2" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `nodemon` in `app/vue` from "1.14.10" to "1.14.11" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `babel-jest` in `examples/cra-kitchen-sink` from "22.0.4" to "22.0.6" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `jest` in `examples/cra-kitchen-sink` from "22.0.5" to "22.0.6" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `commander` in `lib/cli` from "2.12.2" to "2.13.0" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `zone.js` in `examples/angular-cli` from "0.8.19" to "0.8.20" [#2724](https://github.com/storybooks/storybook/pull/2724) -- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.7" to "3.3.8" [#2722](https://github.com/storybooks/storybook/pull/2722) -- Upgraded `@storybook/addon-links` in `/docs` from "3.3.7" to "3.3.8" [#2722](https://github.com/storybooks/storybook/pull/2722) -- Upgraded `@storybook/addons` in `/docs` from "3.3.7" to "3.3.8" [#2722](https://github.com/storybooks/storybook/pull/2722) -- Upgraded `@storybook/react` in `/docs` from "3.3.7" to "3.3.8" [#2722](https://github.com/storybooks/storybook/pull/2722) -- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.27" to "1.7.28" [#2722](https://github.com/storybooks/storybook/pull/2722) -- Upgraded `gatsby` in `/docs` from "1.9.151" to "1.9.153" [#2722](https://github.com/storybooks/storybook/pull/2722) -- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.6" to "3.3.7" [#2710](https://github.com/storybooks/storybook/pull/2710) -- Upgraded `@storybook/addon-links` in `/docs` from "3.3.6" to "3.3.7" [#2710](https://github.com/storybooks/storybook/pull/2710) -- Upgraded `@storybook/addons` in `/docs` from "3.3.6" to "3.3.7" [#2710](https://github.com/storybooks/storybook/pull/2710) -- Upgraded `@storybook/react` in `/docs` from "3.3.6" to "3.3.7" [#2710](https://github.com/storybooks/storybook/pull/2710) -- Upgraded `gatsby-link` in `/docs` from "1.6.33" to "1.6.34" [#2710](https://github.com/storybooks/storybook/pull/2710) -- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.26" to "1.7.27" [#2710](https://github.com/storybooks/storybook/pull/2710) -- Upgraded `gatsby` in `/docs` from "1.9.150" to "1.9.151" [#2710](https://github.com/storybooks/storybook/pull/2710) +- Upgraded `jest-image-snapshot` in `/` from "2.2.1" to "2.3.0" [#2740](https://github.com/storybookjs/storybook/pull/2740) +- Upgraded `polymer-webpack-loader` in `app/polymer` from "2.0.0" to "2.0.1" [#2740](https://github.com/storybookjs/storybook/pull/2740) +- Upgraded `jest-image-snapshot` in `addons/storyshots` from "2.2.1" to "2.3.0" [#2740](https://github.com/storybookjs/storybook/pull/2740) +- Upgraded `shelljs` in `/` from "0.7.8" to "0.8.0" [#2734](https://github.com/storybookjs/storybook/pull/2734) +- Upgraded `shelljs` in `addons/links` from "0.7.8" to "0.8.0" [#2734](https://github.com/storybookjs/storybook/pull/2734) +- Upgraded `autoprefixer` in `app/react` from "7.2.4" to "7.2.5" [#2734](https://github.com/storybookjs/storybook/pull/2734) +- Upgraded `shelljs` in `app/react` from "0.7.8" to "0.8.0" [#2734](https://github.com/storybookjs/storybook/pull/2734) +- Upgraded `autoprefixer` in `app/angular` from "7.2.4" to "7.2.5" [#2734](https://github.com/storybookjs/storybook/pull/2734) +- Upgraded `shelljs` in `app/angular` from "0.7.8" to "0.8.0" [#2734](https://github.com/storybookjs/storybook/pull/2734) +- Upgraded `autoprefixer` in `app/react-native` from "7.2.4" to "7.2.5" [#2734](https://github.com/storybookjs/storybook/pull/2734) +- Upgraded `shelljs` in `app/react-native` from "0.7.8" to "0.8.0" [#2734](https://github.com/storybookjs/storybook/pull/2734) +- Upgraded `autoprefixer` in `app/vue` from "7.2.4" to "7.2.5" [#2734](https://github.com/storybookjs/storybook/pull/2734) +- Upgraded `shelljs` in `app/vue` from "0.7.8" to "0.8.0" [#2734](https://github.com/storybookjs/storybook/pull/2734) +- Upgraded `shelljs` in `lib/cli` from "0.7.8" to "0.8.0" [#2734](https://github.com/storybookjs/storybook/pull/2734) +- Update gatsby in /docs from 1.9.153 to 1.9.154 [#2733](https://github.com/storybookjs/storybook/pull/2733) +- Update @angular/cli in examples/angular-cli from 1.6.3 to 1.6.4 [#2726](https://github.com/storybookjs/storybook/pull/2726) +- Upgraded `commander` in `/` from "2.12.2" to "2.13.0" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `jest` in `/` from "22.0.5" to "22.0.6" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `jest-cli` in `/` from "22.0.5" to "22.0.6" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `jest-config` in `/` from "22.0.5" to "22.0.6" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `jest-diff` in `/` from "22.0.5" to "22.0.6" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `jest-environment-jsdom` in `/` from "22.0.5" to "22.0.6" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `jest-jasmine2` in `/` from "22.0.5" to "22.0.6" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `nodemon` in `/` from "1.14.10" to "1.14.11" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `prettier` in `/` from "1.9.2" to "1.10.2" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `tslint` in `/` from "5.8.0" to "5.9.1" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `commander` in `app/react` from "2.12.2" to "2.13.0" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `common-tags` in `app/react` from "1.7.0" to "1.7.2" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `nodemon` in `app/react` from "1.14.10" to "1.14.11" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `commander` in `app/angular` from "2.12.2" to "2.13.0" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `common-tags` in `app/angular` from "1.7.0" to "1.7.2" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `zone.js` in `app/angular` from "0.8.19" to "0.8.20" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `nodemon` in `app/angular` from "1.14.10" to "1.14.11" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `commander` in `app/react-native` from "2.12.2" to "2.13.0" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `commander` in `app/vue` from "2.12.2" to "2.13.0" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `common-tags` in `app/vue` from "1.7.0" to "1.7.2" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `nodemon` in `app/vue` from "1.14.10" to "1.14.11" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `babel-jest` in `examples/cra-kitchen-sink` from "22.0.4" to "22.0.6" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `jest` in `examples/cra-kitchen-sink` from "22.0.5" to "22.0.6" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `commander` in `lib/cli` from "2.12.2" to "2.13.0" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `zone.js` in `examples/angular-cli` from "0.8.19" to "0.8.20" [#2724](https://github.com/storybookjs/storybook/pull/2724) +- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.7" to "3.3.8" [#2722](https://github.com/storybookjs/storybook/pull/2722) +- Upgraded `@storybook/addon-links` in `/docs` from "3.3.7" to "3.3.8" [#2722](https://github.com/storybookjs/storybook/pull/2722) +- Upgraded `@storybook/addons` in `/docs` from "3.3.7" to "3.3.8" [#2722](https://github.com/storybookjs/storybook/pull/2722) +- Upgraded `@storybook/react` in `/docs` from "3.3.7" to "3.3.8" [#2722](https://github.com/storybookjs/storybook/pull/2722) +- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.27" to "1.7.28" [#2722](https://github.com/storybookjs/storybook/pull/2722) +- Upgraded `gatsby` in `/docs` from "1.9.151" to "1.9.153" [#2722](https://github.com/storybookjs/storybook/pull/2722) +- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.6" to "3.3.7" [#2710](https://github.com/storybookjs/storybook/pull/2710) +- Upgraded `@storybook/addon-links` in `/docs` from "3.3.6" to "3.3.7" [#2710](https://github.com/storybookjs/storybook/pull/2710) +- Upgraded `@storybook/addons` in `/docs` from "3.3.6" to "3.3.7" [#2710](https://github.com/storybookjs/storybook/pull/2710) +- Upgraded `@storybook/react` in `/docs` from "3.3.6" to "3.3.7" [#2710](https://github.com/storybookjs/storybook/pull/2710) +- Upgraded `gatsby-link` in `/docs` from "1.6.33" to "1.6.34" [#2710](https://github.com/storybookjs/storybook/pull/2710) +- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.26" to "1.7.27" [#2710](https://github.com/storybookjs/storybook/pull/2710) +- Upgraded `gatsby` in `/docs` from "1.9.150" to "1.9.151" [#2710](https://github.com/storybookjs/storybook/pull/2710) @@ -4667,9 +5131,9 @@ Republish `3.4.0-alpha.3` due to potential publishing errors #### Bug Fixes -- Start haul/react-native using named binaries instead of cli.js [#2715](https://github.com/storybooks/storybook/pull/2715) -- Reflect the new peer dependencies in docs and CLI templates [#2714](https://github.com/storybooks/storybook/pull/2714) -- Don't mangle function names for production builds [#2705](https://github.com/storybooks/storybook/pull/2705) +- Start haul/react-native using named binaries instead of cli.js [#2715](https://github.com/storybookjs/storybook/pull/2715) +- Reflect the new peer dependencies in docs and CLI templates [#2714](https://github.com/storybookjs/storybook/pull/2714) +- Don't mangle function names for production builds [#2705](https://github.com/storybookjs/storybook/pull/2705) ## 3.4.0-alpha.2 @@ -4691,7 +5155,7 @@ In addition to the changes listed here, also contains fixes from [3.3.5](#335) a #### Features -- Custom tsconfig.json for angular apps. [#2669](https://github.com/storybooks/storybook/pull/2669) +- Custom tsconfig.json for angular apps. [#2669](https://github.com/storybookjs/storybook/pull/2669) #### Dependency Upgrades @@ -4700,111 +5164,111 @@ In addition to the changes listed here, also contains fixes from [3.3.5](#335) a 105 Upgrades -- Upgraded `babel-eslint` in `/` from "8.1.2" to "8.2.1" [#2700](https://github.com/storybooks/storybook/pull/2700) -- Upgraded `eslint-plugin-jest` in `/` from "21.5.0" to "21.6.1" [#2700](https://github.com/storybooks/storybook/pull/2700) -- Upgraded `jest` in `/` from "22.0.4" to "22.0.5" [#2700](https://github.com/storybooks/storybook/pull/2700) -- Upgraded `jest-cli` in `/` from "22.0.4" to "22.0.5" [#2700](https://github.com/storybooks/storybook/pull/2700) -- Upgraded `jest-config` in `/` from "22.0.4" to "22.0.5" [#2700](https://github.com/storybooks/storybook/pull/2700) -- Upgraded `jest-diff` in `/` from "22.0.3" to "22.0.5" [#2700](https://github.com/storybooks/storybook/pull/2700) -- Upgraded `jest-environment-jsdom` in `/` from "22.0.4" to "22.0.5" [#2700](https://github.com/storybooks/storybook/pull/2700) -- Upgraded `jest-jasmine2` in `/` from "22.0.4" to "22.0.5" [#2700](https://github.com/storybooks/storybook/pull/2700) -- Upgraded `lerna` in `/` from "2.5.1" to "2.6.0" [#2700](https://github.com/storybooks/storybook/pull/2700) -- Upgraded `nodemon` in `/` from "1.14.9" to "1.14.10" [#2700](https://github.com/storybooks/storybook/pull/2700) -- Upgraded `common-tags` in `app/react` from "1.6.0" to "1.7.0" [#2700](https://github.com/storybooks/storybook/pull/2700) -- Upgraded `nodemon` in `app/react` from "1.14.9" to "1.14.10" [#2700](https://github.com/storybooks/storybook/pull/2700) -- Upgraded `common-tags` in `app/angular` from "1.6.0" to "1.7.0" [#2700](https://github.com/storybooks/storybook/pull/2700) -- Upgraded `nodemon` in `app/angular` from "1.14.9" to "1.14.10" [#2700](https://github.com/storybooks/storybook/pull/2700) -- Upgraded `common-tags` in `app/vue` from "1.6.0" to "1.7.0" [#2700](https://github.com/storybooks/storybook/pull/2700) -- Upgraded `nodemon` in `app/vue` from "1.14.9" to "1.14.10" [#2700](https://github.com/storybooks/storybook/pull/2700) -- Upgraded `vue-loader` in `app/vue` from "13.6.2" to "13.7.0" [#2700](https://github.com/storybooks/storybook/pull/2700) -- Upgraded `jest` in `examples/cra-kitchen-sink` from "22.0.4" to "22.0.5" [#2700](https://github.com/storybooks/storybook/pull/2700) -- Upgraded `vue-loader` in `examples/vue-kitchen-sink` from "13.6.2" to "13.7.0" [#2700](https://github.com/storybooks/storybook/pull/2700) -- Upgraded `webpack-dev-server` in `examples/vue-kitchen-sink` from "2.10.0" to "2.10.1" [#2700](https://github.com/storybooks/storybook/pull/2700) -- Upgraded `marked` in `/docs` from "0.3.7" to "0.3.12" [#2699](https://github.com/storybooks/storybook/pull/2699) -- Upgraded `react-stack-grid` in `/docs` from "0.7.0" to "0.7.1" [#2699](https://github.com/storybooks/storybook/pull/2699) -- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.4" to "3.3.6" [#2686](https://github.com/storybooks/storybook/pull/2686) -- Upgraded `@storybook/addon-links` in `/docs` from "3.3.4" to "3.3.6" [#2686](https://github.com/storybooks/storybook/pull/2686) -- Upgraded `@storybook/addons` in `/docs` from "3.3.4" to "3.3.6" [#2686](https://github.com/storybooks/storybook/pull/2686) -- Upgraded `@storybook/react` in `/docs` from "3.3.4" to "3.3.6" [#2686](https://github.com/storybooks/storybook/pull/2686) -- Upgraded `gatsby-link` in `/docs` from "1.6.32" to "1.6.33" [#2686](https://github.com/storybooks/storybook/pull/2686) -- Upgraded `gatsby` in `/docs` from "1.9.149" to "1.9.150" [#2686](https://github.com/storybooks/storybook/pull/2686) -- Upgraded `nodemon` in `/` from "1.14.8" to "1.14.9" [#2687](https://github.com/storybooks/storybook/pull/2687) -- Upgraded `markdown-loader` in `app/react` from "2.0.1" to "2.0.2" [#2687](https://github.com/storybooks/storybook/pull/2687) -- Upgraded `nodemon` in `app/react` from "1.14.8" to "1.14.9" [#2687](https://github.com/storybooks/storybook/pull/2687) -- Upgraded `nodemon` in `app/angular` from "1.14.8" to "1.14.9" [#2687](https://github.com/storybooks/storybook/pull/2687) -- Upgraded `react-native` in `app/react-native` from "0.51.0" to "0.52.0" [#2687](https://github.com/storybooks/storybook/pull/2687) -- Upgraded `nodemon` in `app/vue` from "1.14.8" to "1.14.9" [#2687](https://github.com/storybooks/storybook/pull/2687) -- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.3" to "3.3.4" [#2674](https://github.com/storybooks/storybook/pull/2674) -- Upgraded `@storybook/addon-links` in `/docs` from "3.3.3" to "3.3.4" [#2674](https://github.com/storybooks/storybook/pull/2674) -- Upgraded `@storybook/addons` in `/docs` from "3.3.3" to "3.3.4" [#2674](https://github.com/storybooks/storybook/pull/2674) -- Upgraded `@storybook/react` in `/docs` from "3.3.3" to "3.3.4" [#2674](https://github.com/storybooks/storybook/pull/2674) -- Update eslint in / from 4.14.0 to 4.15.0 [#2673](https://github.com/storybooks/storybook/pull/2673) -- Upgraded `nodemon` in `/` from "1.14.7" to "1.14.8" [#2664](https://github.com/storybooks/storybook/pull/2664) -- Upgraded `marksy` in `addons/info` from "6.0.2" to "6.0.3" [#2664](https://github.com/storybooks/storybook/pull/2664) -- Upgraded `nodemon` in `app/react` from "1.14.7" to "1.14.8" [#2664](https://github.com/storybooks/storybook/pull/2664) -- Upgraded `nodemon` in `app/angular` from "1.14.7" to "1.14.8" [#2664](https://github.com/storybooks/storybook/pull/2664) -- Upgraded `nodemon` in `app/vue` from "1.14.7" to "1.14.8" [#2664](https://github.com/storybooks/storybook/pull/2664) -- Upgraded `webpack-dev-server` in `examples/vue-kitchen-sink` from "2.9.7" to "2.10.0" [#2664](https://github.com/storybooks/storybook/pull/2664) -- Upgraded `@types/lodash` in `/` from "4.14.91" to "4.14.92" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `marksy` in `addons/info` from "6.0.1" to "6.0.2" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `css-loader` in `app/react` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `html-loader` in `app/react` from "0.5.1" to "0.5.4" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `uglifyjs-webpack-plugin` in `app/react` from "1.1.5" to "1.1.6" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `css-loader` in `app/angular` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `uglifyjs-webpack-plugin` in `app/angular` from "1.1.5" to "1.1.6" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `css-loader` in `app/react-native` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `uglifyjs-webpack-plugin` in `app/react-native` from "1.1.5" to "1.1.6" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `css-loader` in `app/vue` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `uglifyjs-webpack-plugin` in `app/vue` from "1.1.5" to "1.1.6" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `@types/node` in `examples/angular-cli` from "6.0.95" to "6.0.96" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `css-loader` in `examples/vue-kitchen-sink` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `@angular/animations` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybooks/storybook/pull/2648) -- Upgraded `@angular/common` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybooks/storybook/pull/2648) -- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybooks/storybook/pull/2648) -- Upgraded `@angular/core` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybooks/storybook/pull/2648) -- Upgraded `@angular/forms` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybooks/storybook/pull/2648) -- Upgraded `@angular/http` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybooks/storybook/pull/2648) -- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybooks/storybook/pull/2648) -- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybooks/storybook/pull/2648) -- Upgraded `@angular/router` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybooks/storybook/pull/2648) -- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybooks/storybook/pull/2648) -- Upgraded `@angular/language-service` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybooks/storybook/pull/2648) -- Upgraded `postcss-loader` in `app/react` from "2.0.9" to "2.0.10" [#2637](https://github.com/storybooks/storybook/pull/2637) -- Upgraded `postcss-loader` in `app/angular` from "2.0.9" to "2.0.10" [#2637](https://github.com/storybooks/storybook/pull/2637) -- Upgraded `postcss-loader` in `app/react-native` from "2.0.9" to "2.0.10" [#2637](https://github.com/storybooks/storybook/pull/2637) -- Upgraded `postcss-loader` in `app/vue` from "2.0.9" to "2.0.10" [#2637](https://github.com/storybooks/storybook/pull/2637) -- Update inquirer in / from 4.0.1 to 4.0.2 [#2632](https://github.com/storybooks/storybook/pull/2632) -- Upgraded `danger` in `/` from "2.1.8" to "2.1.10" [#2618](https://github.com/storybooks/storybook/pull/2618) -- Upgraded `autoprefixer` in `app/react` from "7.2.3" to "7.2.4" [#2618](https://github.com/storybooks/storybook/pull/2618) -- Upgraded `autoprefixer` in `app/angular` from "7.2.3" to "7.2.4" [#2618](https://github.com/storybooks/storybook/pull/2618) -- Upgraded `autoprefixer` in `app/react-native` from "7.2.3" to "7.2.4" [#2618](https://github.com/storybooks/storybook/pull/2618) -- Upgraded `autoprefixer` in `app/vue` from "7.2.3" to "7.2.4" [#2618](https://github.com/storybooks/storybook/pull/2618) -- Upgraded `nodemon` in `/` from "1.14.6" to "1.14.7" [#2612](https://github.com/storybooks/storybook/pull/2612) -- Upgraded `nodemon` in `app/react` from "1.14.6" to "1.14.7" [#2612](https://github.com/storybooks/storybook/pull/2612) -- Upgraded `nodemon` in `app/angular` from "1.14.6" to "1.14.7" [#2612](https://github.com/storybooks/storybook/pull/2612) -- Upgraded `nodemon` in `app/vue` from "1.14.6" to "1.14.7" [#2612](https://github.com/storybooks/storybook/pull/2612) -- Upgraded `vue-loader` in `app/vue` from "13.6.1" to "13.6.2" [#2611](https://github.com/storybooks/storybook/pull/2611) -- Upgraded `vue-loader` in `examples/vue-kitchen-sink` from "13.6.1" to "13.6.2" [#2611](https://github.com/storybooks/storybook/pull/2611) -- Upgraded `nodemon` in `/` from "1.14.5" to "1.14.6" [#2609](https://github.com/storybooks/storybook/pull/2609) -- Upgraded `nodemon` in `app/react` from "1.14.5" to "1.14.6" [#2609](https://github.com/storybooks/storybook/pull/2609) -- Upgraded `nodemon` in `app/angular` from "1.14.5" to "1.14.6" [#2609](https://github.com/storybooks/storybook/pull/2609) -- Upgraded `nodemon` in `app/vue` from "1.14.5" to "1.14.6" [#2609](https://github.com/storybooks/storybook/pull/2609) -- Upgraded `enzyme` in `/` from "3.2.0" to "3.3.0" [#2608](https://github.com/storybooks/storybook/pull/2608) -- Upgraded `nodemon` in `/` from "1.14.3" to "1.14.5" [#2608](https://github.com/storybooks/storybook/pull/2608) -- Upgraded `graphiql` in `addons/graphql` from "0.11.10" to "0.11.11" [#2608](https://github.com/storybooks/storybook/pull/2608) -- Upgraded `enzyme` in `addons/links` from "3.2.0" to "3.3.0" [#2608](https://github.com/storybooks/storybook/pull/2608) -- Upgraded `nodemon` in `app/react` from "1.14.3" to "1.14.5" [#2608](https://github.com/storybooks/storybook/pull/2608) -- Upgraded `nodemon` in `app/angular` from "1.14.3" to "1.14.5" [#2608](https://github.com/storybooks/storybook/pull/2608) -- Upgraded `nodemon` in `app/vue` from "1.14.3" to "1.14.5" [#2608](https://github.com/storybooks/storybook/pull/2608) -- Upgraded `enzyme` in `examples/cra-kitchen-sink` from "3.2.0" to "3.3.0" [#2608](https://github.com/storybooks/storybook/pull/2608) -- Upgraded `enzyme` in `examples/official-storybook` from "3.2.0" to "3.3.0" [#2608](https://github.com/storybooks/storybook/pull/2608) -- Update 2 dependencies from npm [#2597](https://github.com/storybooks/storybook/pull/2597) -- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.1" to "3.3.3" [#2598](https://github.com/storybooks/storybook/pull/2598) -- Upgraded `@storybook/addon-links` in `/docs` from "3.3.1" to "3.3.3" [#2598](https://github.com/storybooks/storybook/pull/2598) -- Upgraded `@storybook/addons` in `/docs` from "3.3.1" to "3.3.3" [#2598](https://github.com/storybooks/storybook/pull/2598) -- Upgraded `@storybook/react` in `/docs` from "3.3.1" to "3.3.3" [#2598](https://github.com/storybooks/storybook/pull/2598) -- Upgraded `danger` in `/` from "2.1.6" to "2.1.8" [#2599](https://github.com/storybooks/storybook/pull/2599) -- Upgraded `axe-core` in `addons/a11y` from "2.6.0" to "2.6.1" [#2599](https://github.com/storybooks/storybook/pull/2599) +- Upgraded `babel-eslint` in `/` from "8.1.2" to "8.2.1" [#2700](https://github.com/storybookjs/storybook/pull/2700) +- Upgraded `eslint-plugin-jest` in `/` from "21.5.0" to "21.6.1" [#2700](https://github.com/storybookjs/storybook/pull/2700) +- Upgraded `jest` in `/` from "22.0.4" to "22.0.5" [#2700](https://github.com/storybookjs/storybook/pull/2700) +- Upgraded `jest-cli` in `/` from "22.0.4" to "22.0.5" [#2700](https://github.com/storybookjs/storybook/pull/2700) +- Upgraded `jest-config` in `/` from "22.0.4" to "22.0.5" [#2700](https://github.com/storybookjs/storybook/pull/2700) +- Upgraded `jest-diff` in `/` from "22.0.3" to "22.0.5" [#2700](https://github.com/storybookjs/storybook/pull/2700) +- Upgraded `jest-environment-jsdom` in `/` from "22.0.4" to "22.0.5" [#2700](https://github.com/storybookjs/storybook/pull/2700) +- Upgraded `jest-jasmine2` in `/` from "22.0.4" to "22.0.5" [#2700](https://github.com/storybookjs/storybook/pull/2700) +- Upgraded `lerna` in `/` from "2.5.1" to "2.6.0" [#2700](https://github.com/storybookjs/storybook/pull/2700) +- Upgraded `nodemon` in `/` from "1.14.9" to "1.14.10" [#2700](https://github.com/storybookjs/storybook/pull/2700) +- Upgraded `common-tags` in `app/react` from "1.6.0" to "1.7.0" [#2700](https://github.com/storybookjs/storybook/pull/2700) +- Upgraded `nodemon` in `app/react` from "1.14.9" to "1.14.10" [#2700](https://github.com/storybookjs/storybook/pull/2700) +- Upgraded `common-tags` in `app/angular` from "1.6.0" to "1.7.0" [#2700](https://github.com/storybookjs/storybook/pull/2700) +- Upgraded `nodemon` in `app/angular` from "1.14.9" to "1.14.10" [#2700](https://github.com/storybookjs/storybook/pull/2700) +- Upgraded `common-tags` in `app/vue` from "1.6.0" to "1.7.0" [#2700](https://github.com/storybookjs/storybook/pull/2700) +- Upgraded `nodemon` in `app/vue` from "1.14.9" to "1.14.10" [#2700](https://github.com/storybookjs/storybook/pull/2700) +- Upgraded `vue-loader` in `app/vue` from "13.6.2" to "13.7.0" [#2700](https://github.com/storybookjs/storybook/pull/2700) +- Upgraded `jest` in `examples/cra-kitchen-sink` from "22.0.4" to "22.0.5" [#2700](https://github.com/storybookjs/storybook/pull/2700) +- Upgraded `vue-loader` in `examples/vue-kitchen-sink` from "13.6.2" to "13.7.0" [#2700](https://github.com/storybookjs/storybook/pull/2700) +- Upgraded `webpack-dev-server` in `examples/vue-kitchen-sink` from "2.10.0" to "2.10.1" [#2700](https://github.com/storybookjs/storybook/pull/2700) +- Upgraded `marked` in `/docs` from "0.3.7" to "0.3.12" [#2699](https://github.com/storybookjs/storybook/pull/2699) +- Upgraded `react-stack-grid` in `/docs` from "0.7.0" to "0.7.1" [#2699](https://github.com/storybookjs/storybook/pull/2699) +- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.4" to "3.3.6" [#2686](https://github.com/storybookjs/storybook/pull/2686) +- Upgraded `@storybook/addon-links` in `/docs` from "3.3.4" to "3.3.6" [#2686](https://github.com/storybookjs/storybook/pull/2686) +- Upgraded `@storybook/addons` in `/docs` from "3.3.4" to "3.3.6" [#2686](https://github.com/storybookjs/storybook/pull/2686) +- Upgraded `@storybook/react` in `/docs` from "3.3.4" to "3.3.6" [#2686](https://github.com/storybookjs/storybook/pull/2686) +- Upgraded `gatsby-link` in `/docs` from "1.6.32" to "1.6.33" [#2686](https://github.com/storybookjs/storybook/pull/2686) +- Upgraded `gatsby` in `/docs` from "1.9.149" to "1.9.150" [#2686](https://github.com/storybookjs/storybook/pull/2686) +- Upgraded `nodemon` in `/` from "1.14.8" to "1.14.9" [#2687](https://github.com/storybookjs/storybook/pull/2687) +- Upgraded `markdown-loader` in `app/react` from "2.0.1" to "2.0.2" [#2687](https://github.com/storybookjs/storybook/pull/2687) +- Upgraded `nodemon` in `app/react` from "1.14.8" to "1.14.9" [#2687](https://github.com/storybookjs/storybook/pull/2687) +- Upgraded `nodemon` in `app/angular` from "1.14.8" to "1.14.9" [#2687](https://github.com/storybookjs/storybook/pull/2687) +- Upgraded `react-native` in `app/react-native` from "0.51.0" to "0.52.0" [#2687](https://github.com/storybookjs/storybook/pull/2687) +- Upgraded `nodemon` in `app/vue` from "1.14.8" to "1.14.9" [#2687](https://github.com/storybookjs/storybook/pull/2687) +- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.3" to "3.3.4" [#2674](https://github.com/storybookjs/storybook/pull/2674) +- Upgraded `@storybook/addon-links` in `/docs` from "3.3.3" to "3.3.4" [#2674](https://github.com/storybookjs/storybook/pull/2674) +- Upgraded `@storybook/addons` in `/docs` from "3.3.3" to "3.3.4" [#2674](https://github.com/storybookjs/storybook/pull/2674) +- Upgraded `@storybook/react` in `/docs` from "3.3.3" to "3.3.4" [#2674](https://github.com/storybookjs/storybook/pull/2674) +- Update eslint in / from 4.14.0 to 4.15.0 [#2673](https://github.com/storybookjs/storybook/pull/2673) +- Upgraded `nodemon` in `/` from "1.14.7" to "1.14.8" [#2664](https://github.com/storybookjs/storybook/pull/2664) +- Upgraded `marksy` in `addons/info` from "6.0.2" to "6.0.3" [#2664](https://github.com/storybookjs/storybook/pull/2664) +- Upgraded `nodemon` in `app/react` from "1.14.7" to "1.14.8" [#2664](https://github.com/storybookjs/storybook/pull/2664) +- Upgraded `nodemon` in `app/angular` from "1.14.7" to "1.14.8" [#2664](https://github.com/storybookjs/storybook/pull/2664) +- Upgraded `nodemon` in `app/vue` from "1.14.7" to "1.14.8" [#2664](https://github.com/storybookjs/storybook/pull/2664) +- Upgraded `webpack-dev-server` in `examples/vue-kitchen-sink` from "2.9.7" to "2.10.0" [#2664](https://github.com/storybookjs/storybook/pull/2664) +- Upgraded `@types/lodash` in `/` from "4.14.91" to "4.14.92" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `marksy` in `addons/info` from "6.0.1" to "6.0.2" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `css-loader` in `app/react` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `html-loader` in `app/react` from "0.5.1" to "0.5.4" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `uglifyjs-webpack-plugin` in `app/react` from "1.1.5" to "1.1.6" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `css-loader` in `app/angular` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `uglifyjs-webpack-plugin` in `app/angular` from "1.1.5" to "1.1.6" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `css-loader` in `app/react-native` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `uglifyjs-webpack-plugin` in `app/react-native` from "1.1.5" to "1.1.6" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `css-loader` in `app/vue` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `uglifyjs-webpack-plugin` in `app/vue` from "1.1.5" to "1.1.6" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `@types/node` in `examples/angular-cli` from "6.0.95" to "6.0.96" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `css-loader` in `examples/vue-kitchen-sink` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `@angular/animations` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybookjs/storybook/pull/2648) +- Upgraded `@angular/common` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybookjs/storybook/pull/2648) +- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybookjs/storybook/pull/2648) +- Upgraded `@angular/core` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybookjs/storybook/pull/2648) +- Upgraded `@angular/forms` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybookjs/storybook/pull/2648) +- Upgraded `@angular/http` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybookjs/storybook/pull/2648) +- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybookjs/storybook/pull/2648) +- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybookjs/storybook/pull/2648) +- Upgraded `@angular/router` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybookjs/storybook/pull/2648) +- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybookjs/storybook/pull/2648) +- Upgraded `@angular/language-service` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybookjs/storybook/pull/2648) +- Upgraded `postcss-loader` in `app/react` from "2.0.9" to "2.0.10" [#2637](https://github.com/storybookjs/storybook/pull/2637) +- Upgraded `postcss-loader` in `app/angular` from "2.0.9" to "2.0.10" [#2637](https://github.com/storybookjs/storybook/pull/2637) +- Upgraded `postcss-loader` in `app/react-native` from "2.0.9" to "2.0.10" [#2637](https://github.com/storybookjs/storybook/pull/2637) +- Upgraded `postcss-loader` in `app/vue` from "2.0.9" to "2.0.10" [#2637](https://github.com/storybookjs/storybook/pull/2637) +- Update inquirer in / from 4.0.1 to 4.0.2 [#2632](https://github.com/storybookjs/storybook/pull/2632) +- Upgraded `danger` in `/` from "2.1.8" to "2.1.10" [#2618](https://github.com/storybookjs/storybook/pull/2618) +- Upgraded `autoprefixer` in `app/react` from "7.2.3" to "7.2.4" [#2618](https://github.com/storybookjs/storybook/pull/2618) +- Upgraded `autoprefixer` in `app/angular` from "7.2.3" to "7.2.4" [#2618](https://github.com/storybookjs/storybook/pull/2618) +- Upgraded `autoprefixer` in `app/react-native` from "7.2.3" to "7.2.4" [#2618](https://github.com/storybookjs/storybook/pull/2618) +- Upgraded `autoprefixer` in `app/vue` from "7.2.3" to "7.2.4" [#2618](https://github.com/storybookjs/storybook/pull/2618) +- Upgraded `nodemon` in `/` from "1.14.6" to "1.14.7" [#2612](https://github.com/storybookjs/storybook/pull/2612) +- Upgraded `nodemon` in `app/react` from "1.14.6" to "1.14.7" [#2612](https://github.com/storybookjs/storybook/pull/2612) +- Upgraded `nodemon` in `app/angular` from "1.14.6" to "1.14.7" [#2612](https://github.com/storybookjs/storybook/pull/2612) +- Upgraded `nodemon` in `app/vue` from "1.14.6" to "1.14.7" [#2612](https://github.com/storybookjs/storybook/pull/2612) +- Upgraded `vue-loader` in `app/vue` from "13.6.1" to "13.6.2" [#2611](https://github.com/storybookjs/storybook/pull/2611) +- Upgraded `vue-loader` in `examples/vue-kitchen-sink` from "13.6.1" to "13.6.2" [#2611](https://github.com/storybookjs/storybook/pull/2611) +- Upgraded `nodemon` in `/` from "1.14.5" to "1.14.6" [#2609](https://github.com/storybookjs/storybook/pull/2609) +- Upgraded `nodemon` in `app/react` from "1.14.5" to "1.14.6" [#2609](https://github.com/storybookjs/storybook/pull/2609) +- Upgraded `nodemon` in `app/angular` from "1.14.5" to "1.14.6" [#2609](https://github.com/storybookjs/storybook/pull/2609) +- Upgraded `nodemon` in `app/vue` from "1.14.5" to "1.14.6" [#2609](https://github.com/storybookjs/storybook/pull/2609) +- Upgraded `enzyme` in `/` from "3.2.0" to "3.3.0" [#2608](https://github.com/storybookjs/storybook/pull/2608) +- Upgraded `nodemon` in `/` from "1.14.3" to "1.14.5" [#2608](https://github.com/storybookjs/storybook/pull/2608) +- Upgraded `graphiql` in `addons/graphql` from "0.11.10" to "0.11.11" [#2608](https://github.com/storybookjs/storybook/pull/2608) +- Upgraded `enzyme` in `addons/links` from "3.2.0" to "3.3.0" [#2608](https://github.com/storybookjs/storybook/pull/2608) +- Upgraded `nodemon` in `app/react` from "1.14.3" to "1.14.5" [#2608](https://github.com/storybookjs/storybook/pull/2608) +- Upgraded `nodemon` in `app/angular` from "1.14.3" to "1.14.5" [#2608](https://github.com/storybookjs/storybook/pull/2608) +- Upgraded `nodemon` in `app/vue` from "1.14.3" to "1.14.5" [#2608](https://github.com/storybookjs/storybook/pull/2608) +- Upgraded `enzyme` in `examples/cra-kitchen-sink` from "3.2.0" to "3.3.0" [#2608](https://github.com/storybookjs/storybook/pull/2608) +- Upgraded `enzyme` in `examples/official-storybook` from "3.2.0" to "3.3.0" [#2608](https://github.com/storybookjs/storybook/pull/2608) +- Update 2 dependencies from npm [#2597](https://github.com/storybookjs/storybook/pull/2597) +- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.1" to "3.3.3" [#2598](https://github.com/storybookjs/storybook/pull/2598) +- Upgraded `@storybook/addon-links` in `/docs` from "3.3.1" to "3.3.3" [#2598](https://github.com/storybookjs/storybook/pull/2598) +- Upgraded `@storybook/addons` in `/docs` from "3.3.1" to "3.3.3" [#2598](https://github.com/storybookjs/storybook/pull/2598) +- Upgraded `@storybook/react` in `/docs` from "3.3.1" to "3.3.3" [#2598](https://github.com/storybookjs/storybook/pull/2598) +- Upgraded `danger` in `/` from "2.1.6" to "2.1.8" [#2599](https://github.com/storybookjs/storybook/pull/2599) +- Upgraded `axe-core` in `addons/a11y` from "2.6.0" to "2.6.1" [#2599](https://github.com/storybookjs/storybook/pull/2599) @@ -4814,13 +5278,13 @@ In addition to the changes listed here, also contains fixes from [3.3.5](#335) a #### Maintenance -- Extract tslint exclusions out of package.json scripts [#2684](https://github.com/storybooks/storybook/pull/2684) -- Add tslint to the linting pipe [#2682](https://github.com/storybooks/storybook/pull/2682) +- Extract tslint exclusions out of package.json scripts [#2684](https://github.com/storybookjs/storybook/pull/2684) +- Add tslint to the linting pipe [#2682](https://github.com/storybookjs/storybook/pull/2682) #### Bug Fixes -- Angular: add entry components to modulemetadata - #2701 [#2702](https://github.com/storybooks/storybook/pull/2702) -- Add html and markup loaders to angular and vue apps [#2692](https://github.com/storybooks/storybook/pull/2692) +- Angular: add entry components to modulemetadata - #2701 [#2702](https://github.com/storybookjs/storybook/pull/2702) +- Add html and markup loaders to angular and vue apps [#2692](https://github.com/storybookjs/storybook/pull/2692) ## 3.3.6 @@ -4828,7 +5292,7 @@ In addition to the changes listed here, also contains fixes from [3.3.5](#335) a #### Bug Fixes -- Remove `src/` from remaining `.npmignore`s [#2678](https://github.com/storybooks/storybook/pull/2678) +- Remove `src/` from remaining `.npmignore`s [#2678](https://github.com/storybookjs/storybook/pull/2678) ## 3.3.5 @@ -4836,7 +5300,7 @@ In addition to the changes listed here, also contains fixes from [3.3.5](#335) a #### Bug Fixes -- Remove src from individual .npmignore files [#2677](https://github.com/storybooks/storybook/pull/2677) +- Remove src from individual .npmignore files [#2677](https://github.com/storybookjs/storybook/pull/2677) ## 3.4.0-alpha.0 @@ -4844,11 +5308,11 @@ In addition to the changes listed here, also contains fixes from [3.3.5](#335) a #### Features -- Multiple hierarchies [#2452](https://github.com/storybooks/storybook/pull/2452) -- Change template story files extension to .ts [#2594](https://github.com/storybooks/storybook/pull/2594) -- Use store revisions to ensure that stories re-render on HMR. [#2605](https://github.com/storybooks/storybook/pull/2605) -- Ability to force re-render a story [#2463](https://github.com/storybooks/storybook/pull/2463) -- Introduce framework-independent core library [#2241](https://github.com/storybooks/storybook/pull/2241) +- Multiple hierarchies [#2452](https://github.com/storybookjs/storybook/pull/2452) +- Change template story files extension to .ts [#2594](https://github.com/storybookjs/storybook/pull/2594) +- Use store revisions to ensure that stories re-render on HMR. [#2605](https://github.com/storybookjs/storybook/pull/2605) +- Ability to force re-render a story [#2463](https://github.com/storybookjs/storybook/pull/2463) +- Introduce framework-independent core library [#2241](https://github.com/storybookjs/storybook/pull/2241) #### Documentation @@ -4857,10 +5321,10 @@ In addition to the changes listed here, also contains fixes from [3.3.5](#335) a 4 PRs -- Update webpack extend warning. [#2660](https://github.com/storybooks/storybook/pull/2660) -- ADD demo images to a new img folder with the documentation site [#2644](https://github.com/storybooks/storybook/pull/2644) -- write doc about .css/.scss rules for Angular [#2634](https://github.com/storybooks/storybook/pull/2634) -- Updated documentation wrt ejs exclusion [#2633](https://github.com/storybooks/storybook/pull/2633) +- Update webpack extend warning. [#2660](https://github.com/storybookjs/storybook/pull/2660) +- ADD demo images to a new img folder with the documentation site [#2644](https://github.com/storybookjs/storybook/pull/2644) +- write doc about .css/.scss rules for Angular [#2634](https://github.com/storybookjs/storybook/pull/2634) +- Updated documentation wrt ejs exclusion [#2633](https://github.com/storybookjs/storybook/pull/2633) @@ -4871,10 +5335,10 @@ In addition to the changes listed here, also contains fixes from [3.3.5](#335) a 4 PRs -- Only update CLI snapsots on postpublish script, skip smoke tests [#2671](https://github.com/storybooks/storybook/pull/2671) -- Fix the timezone for example dates [#2654](https://github.com/storybooks/storybook/pull/2654) -- Update prereq yarn install level [#2638](https://github.com/storybooks/storybook/pull/2638) -- Separate stories in angular-cli example [#2592](https://github.com/storybooks/storybook/pull/2592) +- Only update CLI snapsots on postpublish script, skip smoke tests [#2671](https://github.com/storybookjs/storybook/pull/2671) +- Fix the timezone for example dates [#2654](https://github.com/storybookjs/storybook/pull/2654) +- Update prereq yarn install level [#2638](https://github.com/storybookjs/storybook/pull/2638) +- Separate stories in angular-cli example [#2592](https://github.com/storybookjs/storybook/pull/2592) @@ -4885,72 +5349,72 @@ In addition to the changes listed here, also contains fixes from [3.3.5](#335) a 66 Upgrades -- Upgraded `nodemon` in `/` from "1.14.7" to "1.14.8" [#2664](https://github.com/storybooks/storybook/pull/2664) -- Upgraded `marksy` in `addons/info` from "6.0.2" to "6.0.3" [#2664](https://github.com/storybooks/storybook/pull/2664) -- Upgraded `nodemon` in `app/react` from "1.14.7" to "1.14.8" [#2664](https://github.com/storybooks/storybook/pull/2664) -- Upgraded `nodemon` in `app/angular` from "1.14.7" to "1.14.8" [#2664](https://github.com/storybooks/storybook/pull/2664) -- Upgraded `nodemon` in `app/vue` from "1.14.7" to "1.14.8" [#2664](https://github.com/storybooks/storybook/pull/2664) -- Upgraded `webpack-dev-server` in `examples/vue-kitchen-sink` from "2.9.7" to "2.10.0" [#2664](https://github.com/storybooks/storybook/pull/2664) -- Upgraded `@types/lodash` in `/` from "4.14.91" to "4.14.92" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `marksy` in `addons/info` from "6.0.1" to "6.0.2" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `css-loader` in `app/react` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `html-loader` in `app/react` from "0.5.1" to "0.5.4" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `uglifyjs-webpack-plugin` in `app/react` from "1.1.5" to "1.1.6" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `css-loader` in `app/angular` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `uglifyjs-webpack-plugin` in `app/angular` from "1.1.5" to "1.1.6" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `css-loader` in `app/react-native` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `uglifyjs-webpack-plugin` in `app/react-native` from "1.1.5" to "1.1.6" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `css-loader` in `app/vue` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `uglifyjs-webpack-plugin` in `app/vue` from "1.1.5" to "1.1.6" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `@types/node` in `examples/angular-cli` from "6.0.95" to "6.0.96" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `css-loader` in `examples/vue-kitchen-sink` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `@angular/animations` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybooks/storybook/pull/2648) -- Upgraded `@angular/common` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybooks/storybook/pull/2648) -- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybooks/storybook/pull/2648) -- Upgraded `@angular/core` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybooks/storybook/pull/2648) -- Upgraded `@angular/forms` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybooks/storybook/pull/2648) -- Upgraded `@angular/http` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybooks/storybook/pull/2648) -- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybooks/storybook/pull/2648) -- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybooks/storybook/pull/2648) -- Upgraded `@angular/router` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybooks/storybook/pull/2648) -- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybooks/storybook/pull/2648) -- Upgraded `@angular/language-service` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybooks/storybook/pull/2648) -- Upgraded `postcss-loader` in `app/react` from "2.0.9" to "2.0.10" [#2637](https://github.com/storybooks/storybook/pull/2637) -- Upgraded `postcss-loader` in `app/angular` from "2.0.9" to "2.0.10" [#2637](https://github.com/storybooks/storybook/pull/2637) -- Upgraded `postcss-loader` in `app/react-native` from "2.0.9" to "2.0.10" [#2637](https://github.com/storybooks/storybook/pull/2637) -- Upgraded `postcss-loader` in `app/vue` from "2.0.9" to "2.0.10" [#2637](https://github.com/storybooks/storybook/pull/2637) -- Update inquirer in / from 4.0.1 to 4.0.2 [#2632](https://github.com/storybooks/storybook/pull/2632) -- Upgraded `danger` in `/` from "2.1.8" to "2.1.10" [#2618](https://github.com/storybooks/storybook/pull/2618) -- Upgraded `autoprefixer` in `app/react` from "7.2.3" to "7.2.4" [#2618](https://github.com/storybooks/storybook/pull/2618) -- Upgraded `autoprefixer` in `app/angular` from "7.2.3" to "7.2.4" [#2618](https://github.com/storybooks/storybook/pull/2618) -- Upgraded `autoprefixer` in `app/react-native` from "7.2.3" to "7.2.4" [#2618](https://github.com/storybooks/storybook/pull/2618) -- Upgraded `autoprefixer` in `app/vue` from "7.2.3" to "7.2.4" [#2618](https://github.com/storybooks/storybook/pull/2618) -- Upgraded `nodemon` in `/` from "1.14.6" to "1.14.7" [#2612](https://github.com/storybooks/storybook/pull/2612) -- Upgraded `nodemon` in `app/react` from "1.14.6" to "1.14.7" [#2612](https://github.com/storybooks/storybook/pull/2612) -- Upgraded `nodemon` in `app/angular` from "1.14.6" to "1.14.7" [#2612](https://github.com/storybooks/storybook/pull/2612) -- Upgraded `nodemon` in `app/vue` from "1.14.6" to "1.14.7" [#2612](https://github.com/storybooks/storybook/pull/2612) -- Upgraded `vue-loader` in `app/vue` from "13.6.1" to "13.6.2" [#2611](https://github.com/storybooks/storybook/pull/2611) -- Upgraded `vue-loader` in `examples/vue-kitchen-sink` from "13.6.1" to "13.6.2" [#2611](https://github.com/storybooks/storybook/pull/2611) -- Upgraded `nodemon` in `/` from "1.14.5" to "1.14.6" [#2609](https://github.com/storybooks/storybook/pull/2609) -- Upgraded `nodemon` in `app/react` from "1.14.5" to "1.14.6" [#2609](https://github.com/storybooks/storybook/pull/2609) -- Upgraded `nodemon` in `app/angular` from "1.14.5" to "1.14.6" [#2609](https://github.com/storybooks/storybook/pull/2609) -- Upgraded `nodemon` in `app/vue` from "1.14.5" to "1.14.6" [#2609](https://github.com/storybooks/storybook/pull/2609) -- Upgraded `enzyme` in `/` from "3.2.0" to "3.3.0" [#2608](https://github.com/storybooks/storybook/pull/2608) -- Upgraded `nodemon` in `/` from "1.14.3" to "1.14.5" [#2608](https://github.com/storybooks/storybook/pull/2608) -- Upgraded `graphiql` in `addons/graphql` from "0.11.10" to "0.11.11" [#2608](https://github.com/storybooks/storybook/pull/2608) -- Upgraded `enzyme` in `addons/links` from "3.2.0" to "3.3.0" [#2608](https://github.com/storybooks/storybook/pull/2608) -- Upgraded `nodemon` in `app/react` from "1.14.3" to "1.14.5" [#2608](https://github.com/storybooks/storybook/pull/2608) -- Upgraded `nodemon` in `app/angular` from "1.14.3" to "1.14.5" [#2608](https://github.com/storybooks/storybook/pull/2608) -- Upgraded `nodemon` in `app/vue` from "1.14.3" to "1.14.5" [#2608](https://github.com/storybooks/storybook/pull/2608) -- Upgraded `enzyme` in `examples/cra-kitchen-sink` from "3.2.0" to "3.3.0" [#2608](https://github.com/storybooks/storybook/pull/2608) -- Upgraded `enzyme` in `examples/official-storybook` from "3.2.0" to "3.3.0" [#2608](https://github.com/storybooks/storybook/pull/2608) -- Update 2 dependencies from npm [#2597](https://github.com/storybooks/storybook/pull/2597) -- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.1" to "3.3.3" [#2598](https://github.com/storybooks/storybook/pull/2598) -- Upgraded `@storybook/addon-links` in `/docs` from "3.3.1" to "3.3.3" [#2598](https://github.com/storybooks/storybook/pull/2598) -- Upgraded `@storybook/addons` in `/docs` from "3.3.1" to "3.3.3" [#2598](https://github.com/storybooks/storybook/pull/2598) -- Upgraded `@storybook/react` in `/docs` from "3.3.1" to "3.3.3" [#2598](https://github.com/storybooks/storybook/pull/2598) -- Upgraded `danger` in `/` from "2.1.6" to "2.1.8" [#2599](https://github.com/storybooks/storybook/pull/2599) -- Upgraded `axe-core` in `addons/a11y` from "2.6.0" to "2.6.1" [#2599](https://github.com/storybooks/storybook/pull/2599) +- Upgraded `nodemon` in `/` from "1.14.7" to "1.14.8" [#2664](https://github.com/storybookjs/storybook/pull/2664) +- Upgraded `marksy` in `addons/info` from "6.0.2" to "6.0.3" [#2664](https://github.com/storybookjs/storybook/pull/2664) +- Upgraded `nodemon` in `app/react` from "1.14.7" to "1.14.8" [#2664](https://github.com/storybookjs/storybook/pull/2664) +- Upgraded `nodemon` in `app/angular` from "1.14.7" to "1.14.8" [#2664](https://github.com/storybookjs/storybook/pull/2664) +- Upgraded `nodemon` in `app/vue` from "1.14.7" to "1.14.8" [#2664](https://github.com/storybookjs/storybook/pull/2664) +- Upgraded `webpack-dev-server` in `examples/vue-kitchen-sink` from "2.9.7" to "2.10.0" [#2664](https://github.com/storybookjs/storybook/pull/2664) +- Upgraded `@types/lodash` in `/` from "4.14.91" to "4.14.92" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `marksy` in `addons/info` from "6.0.1" to "6.0.2" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `css-loader` in `app/react` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `html-loader` in `app/react` from "0.5.1" to "0.5.4" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `uglifyjs-webpack-plugin` in `app/react` from "1.1.5" to "1.1.6" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `css-loader` in `app/angular` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `uglifyjs-webpack-plugin` in `app/angular` from "1.1.5" to "1.1.6" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `css-loader` in `app/react-native` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `uglifyjs-webpack-plugin` in `app/react-native` from "1.1.5" to "1.1.6" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `css-loader` in `app/vue` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `uglifyjs-webpack-plugin` in `app/vue` from "1.1.5" to "1.1.6" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `@types/node` in `examples/angular-cli` from "6.0.95" to "6.0.96" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `css-loader` in `examples/vue-kitchen-sink` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `@angular/animations` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybookjs/storybook/pull/2648) +- Upgraded `@angular/common` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybookjs/storybook/pull/2648) +- Upgraded `@angular/compiler` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybookjs/storybook/pull/2648) +- Upgraded `@angular/core` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybookjs/storybook/pull/2648) +- Upgraded `@angular/forms` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybookjs/storybook/pull/2648) +- Upgraded `@angular/http` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybookjs/storybook/pull/2648) +- Upgraded `@angular/platform-browser` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybookjs/storybook/pull/2648) +- Upgraded `@angular/platform-browser-dynamic` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybookjs/storybook/pull/2648) +- Upgraded `@angular/router` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybookjs/storybook/pull/2648) +- Upgraded `@angular/compiler-cli` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybookjs/storybook/pull/2648) +- Upgraded `@angular/language-service` in `examples/angular-cli` from "5.1.2" to "5.1.3" [#2648](https://github.com/storybookjs/storybook/pull/2648) +- Upgraded `postcss-loader` in `app/react` from "2.0.9" to "2.0.10" [#2637](https://github.com/storybookjs/storybook/pull/2637) +- Upgraded `postcss-loader` in `app/angular` from "2.0.9" to "2.0.10" [#2637](https://github.com/storybookjs/storybook/pull/2637) +- Upgraded `postcss-loader` in `app/react-native` from "2.0.9" to "2.0.10" [#2637](https://github.com/storybookjs/storybook/pull/2637) +- Upgraded `postcss-loader` in `app/vue` from "2.0.9" to "2.0.10" [#2637](https://github.com/storybookjs/storybook/pull/2637) +- Update inquirer in / from 4.0.1 to 4.0.2 [#2632](https://github.com/storybookjs/storybook/pull/2632) +- Upgraded `danger` in `/` from "2.1.8" to "2.1.10" [#2618](https://github.com/storybookjs/storybook/pull/2618) +- Upgraded `autoprefixer` in `app/react` from "7.2.3" to "7.2.4" [#2618](https://github.com/storybookjs/storybook/pull/2618) +- Upgraded `autoprefixer` in `app/angular` from "7.2.3" to "7.2.4" [#2618](https://github.com/storybookjs/storybook/pull/2618) +- Upgraded `autoprefixer` in `app/react-native` from "7.2.3" to "7.2.4" [#2618](https://github.com/storybookjs/storybook/pull/2618) +- Upgraded `autoprefixer` in `app/vue` from "7.2.3" to "7.2.4" [#2618](https://github.com/storybookjs/storybook/pull/2618) +- Upgraded `nodemon` in `/` from "1.14.6" to "1.14.7" [#2612](https://github.com/storybookjs/storybook/pull/2612) +- Upgraded `nodemon` in `app/react` from "1.14.6" to "1.14.7" [#2612](https://github.com/storybookjs/storybook/pull/2612) +- Upgraded `nodemon` in `app/angular` from "1.14.6" to "1.14.7" [#2612](https://github.com/storybookjs/storybook/pull/2612) +- Upgraded `nodemon` in `app/vue` from "1.14.6" to "1.14.7" [#2612](https://github.com/storybookjs/storybook/pull/2612) +- Upgraded `vue-loader` in `app/vue` from "13.6.1" to "13.6.2" [#2611](https://github.com/storybookjs/storybook/pull/2611) +- Upgraded `vue-loader` in `examples/vue-kitchen-sink` from "13.6.1" to "13.6.2" [#2611](https://github.com/storybookjs/storybook/pull/2611) +- Upgraded `nodemon` in `/` from "1.14.5" to "1.14.6" [#2609](https://github.com/storybookjs/storybook/pull/2609) +- Upgraded `nodemon` in `app/react` from "1.14.5" to "1.14.6" [#2609](https://github.com/storybookjs/storybook/pull/2609) +- Upgraded `nodemon` in `app/angular` from "1.14.5" to "1.14.6" [#2609](https://github.com/storybookjs/storybook/pull/2609) +- Upgraded `nodemon` in `app/vue` from "1.14.5" to "1.14.6" [#2609](https://github.com/storybookjs/storybook/pull/2609) +- Upgraded `enzyme` in `/` from "3.2.0" to "3.3.0" [#2608](https://github.com/storybookjs/storybook/pull/2608) +- Upgraded `nodemon` in `/` from "1.14.3" to "1.14.5" [#2608](https://github.com/storybookjs/storybook/pull/2608) +- Upgraded `graphiql` in `addons/graphql` from "0.11.10" to "0.11.11" [#2608](https://github.com/storybookjs/storybook/pull/2608) +- Upgraded `enzyme` in `addons/links` from "3.2.0" to "3.3.0" [#2608](https://github.com/storybookjs/storybook/pull/2608) +- Upgraded `nodemon` in `app/react` from "1.14.3" to "1.14.5" [#2608](https://github.com/storybookjs/storybook/pull/2608) +- Upgraded `nodemon` in `app/angular` from "1.14.3" to "1.14.5" [#2608](https://github.com/storybookjs/storybook/pull/2608) +- Upgraded `nodemon` in `app/vue` from "1.14.3" to "1.14.5" [#2608](https://github.com/storybookjs/storybook/pull/2608) +- Upgraded `enzyme` in `examples/cra-kitchen-sink` from "3.2.0" to "3.3.0" [#2608](https://github.com/storybookjs/storybook/pull/2608) +- Upgraded `enzyme` in `examples/official-storybook` from "3.2.0" to "3.3.0" [#2608](https://github.com/storybookjs/storybook/pull/2608) +- Update 2 dependencies from npm [#2597](https://github.com/storybookjs/storybook/pull/2597) +- Upgraded `@storybook/addon-actions` in `/docs` from "3.3.1" to "3.3.3" [#2598](https://github.com/storybookjs/storybook/pull/2598) +- Upgraded `@storybook/addon-links` in `/docs` from "3.3.1" to "3.3.3" [#2598](https://github.com/storybookjs/storybook/pull/2598) +- Upgraded `@storybook/addons` in `/docs` from "3.3.1" to "3.3.3" [#2598](https://github.com/storybookjs/storybook/pull/2598) +- Upgraded `@storybook/react` in `/docs` from "3.3.1" to "3.3.3" [#2598](https://github.com/storybookjs/storybook/pull/2598) +- Upgraded `danger` in `/` from "2.1.6" to "2.1.8" [#2599](https://github.com/storybookjs/storybook/pull/2599) +- Upgraded `axe-core` in `addons/a11y` from "2.6.0" to "2.6.1" [#2599](https://github.com/storybookjs/storybook/pull/2599) @@ -4960,22 +5424,22 @@ In addition to the changes listed here, also contains fixes from [3.3.5](#335) a #### Bug Fixes -- Fix config dir detection [#2666](https://github.com/storybooks/storybook/pull/2666) -- Removed lowercase-only restriction for knobs [#2646](https://github.com/storybooks/storybook/pull/2646) -- Add IE11 compatibility meta tag [#2650](https://github.com/storybooks/storybook/pull/2650) -- Allow transparency in color knob [#2624](https://github.com/storybooks/storybook/pull/2624) -- RN: Use haul/bin/cli.js for cross-platform support [#2577](https://github.com/storybooks/storybook/pull/2577) -- Publish package sources along with transpiled files [#2604](https://github.com/storybooks/storybook/pull/2604) -- Fixed all peerDependencies for apps. [#2601](https://github.com/storybooks/storybook/pull/2601) -- Renamed angular root node to avoid name collisions [#2657](https://github.com/storybooks/storybook/pull/2657) -- Add .ts compatibility to storyshots [#2639](https://github.com/storybooks/storybook/pull/2639) -- Remove @angular/core dep from knobs peer. [#2640](https://github.com/storybooks/storybook/pull/2640) -- Angular: Change template story files extension .ts [#2594](https://github.com/storybooks/storybook/pull/2594) -- Skip serializing (Synthetic)Events [#2626](https://github.com/storybooks/storybook/pull/2626) +- Fix config dir detection [#2666](https://github.com/storybookjs/storybook/pull/2666) +- Removed lowercase-only restriction for knobs [#2646](https://github.com/storybookjs/storybook/pull/2646) +- Add IE11 compatibility meta tag [#2650](https://github.com/storybookjs/storybook/pull/2650) +- Allow transparency in color knob [#2624](https://github.com/storybookjs/storybook/pull/2624) +- RN: Use haul/bin/cli.js for cross-platform support [#2577](https://github.com/storybookjs/storybook/pull/2577) +- Publish package sources along with transpiled files [#2604](https://github.com/storybookjs/storybook/pull/2604) +- Fixed all peerDependencies for apps. [#2601](https://github.com/storybookjs/storybook/pull/2601) +- Renamed angular root node to avoid name collisions [#2657](https://github.com/storybookjs/storybook/pull/2657) +- Add .ts compatibility to storyshots [#2639](https://github.com/storybookjs/storybook/pull/2639) +- Remove @angular/core dep from knobs peer. [#2640](https://github.com/storybookjs/storybook/pull/2640) +- Angular: Change template story files extension .ts [#2594](https://github.com/storybookjs/storybook/pull/2594) +- Skip serializing (Synthetic)Events [#2626](https://github.com/storybookjs/storybook/pull/2626) #### Maintenance -- Separate stories in angular-cli example [#2592](https://github.com/storybooks/storybook/pull/2592) +- Separate stories in angular-cli example [#2592](https://github.com/storybookjs/storybook/pull/2592) #### Dependency Upgrades @@ -4984,19 +5448,19 @@ In addition to the changes listed here, also contains fixes from [3.3.5](#335) a 13 Upgrades -- Upgraded `@types/lodash` in `/` from "4.14.91" to "4.14.92" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `marksy` in `addons/info` from "6.0.1" to "6.0.2" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `css-loader` in `app/react` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `html-loader` in `app/react` from "0.5.1" to "0.5.4" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `uglifyjs-webpack-plugin` in `app/react` from "1.1.5" to "1.1.6" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `css-loader` in `app/angular` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `uglifyjs-webpack-plugin` in `app/angular` from "1.1.5" to "1.1.6" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `css-loader` in `app/react-native` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `uglifyjs-webpack-plugin` in `app/react-native` from "1.1.5" to "1.1.6" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `css-loader` in `app/vue` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `uglifyjs-webpack-plugin` in `app/vue` from "1.1.5" to "1.1.6" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `@types/node` in `examples/angular-cli` from "6.0.95" to "6.0.96" [#2659](https://github.com/storybooks/storybook/pull/2659) -- Upgraded `css-loader` in `examples/vue-kitchen-sink` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybooks/storybook/pull/2659) +- Upgraded `@types/lodash` in `/` from "4.14.91" to "4.14.92" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `marksy` in `addons/info` from "6.0.1" to "6.0.2" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `css-loader` in `app/react` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `html-loader` in `app/react` from "0.5.1" to "0.5.4" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `uglifyjs-webpack-plugin` in `app/react` from "1.1.5" to "1.1.6" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `css-loader` in `app/angular` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `uglifyjs-webpack-plugin` in `app/angular` from "1.1.5" to "1.1.6" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `css-loader` in `app/react-native` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `uglifyjs-webpack-plugin` in `app/react-native` from "1.1.5" to "1.1.6" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `css-loader` in `app/vue` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `uglifyjs-webpack-plugin` in `app/vue` from "1.1.5" to "1.1.6" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `@types/node` in `examples/angular-cli` from "6.0.95" to "6.0.96" [#2659](https://github.com/storybookjs/storybook/pull/2659) +- Upgraded `css-loader` in `examples/vue-kitchen-sink` from "0.28.7" to "0.28.8" [#2659](https://github.com/storybookjs/storybook/pull/2659) @@ -5006,20 +5470,20 @@ In addition to the changes listed here, also contains fixes from [3.3.5](#335) a #### Bug Fixes -- `app:angular` Fixed dependency injection for components [#2566](https://github.com/storybooks/storybook/pull/2566) -- Revert "Move everything from lodash to lodash-es" [#2591](https://github.com/storybooks/storybook/pull/2591) +- `app:angular` Fixed dependency injection for components [#2566](https://github.com/storybookjs/storybook/pull/2566) +- Revert "Move everything from lodash to lodash-es" [#2591](https://github.com/storybookjs/storybook/pull/2591) #### Maintenance -- Update CLI snapshots as a postpublish step [#2565](https://github.com/storybooks/storybook/pull/2565) -- Add more `imports` eslint rules [#2589](https://github.com/storybooks/storybook/pull/2589) +- Update CLI snapshots as a postpublish step [#2565](https://github.com/storybookjs/storybook/pull/2565) +- Add more `imports` eslint rules [#2589](https://github.com/storybookjs/storybook/pull/2589) #### Dependency Upgrades -- Upgraded `@storybook/addon-actions` in `/docs` from "3.2.18" to "3.3.1" [#2580](https://github.com/storybooks/storybook/pull/2580) -- Upgraded `@storybook/addon-links` in `/docs` from "3.2.18" to "3.3.1" [#2580](https://github.com/storybooks/storybook/pull/2580) -- Upgraded `@storybook/addons` in `/docs` from "3.2.18" to "3.3.1" [#2580](https://github.com/storybooks/storybook/pull/2580) -- Upgraded `@storybook/react` in `/docs` from "3.2.18" to "3.3.1" [#2580](https://github.com/storybooks/storybook/pull/2580) +- Upgraded `@storybook/addon-actions` in `/docs` from "3.2.18" to "3.3.1" [#2580](https://github.com/storybookjs/storybook/pull/2580) +- Upgraded `@storybook/addon-links` in `/docs` from "3.2.18" to "3.3.1" [#2580](https://github.com/storybookjs/storybook/pull/2580) +- Upgraded `@storybook/addons` in `/docs` from "3.2.18" to "3.3.1" [#2580](https://github.com/storybookjs/storybook/pull/2580) +- Upgraded `@storybook/react` in `/docs` from "3.2.18" to "3.3.1" [#2580](https://github.com/storybookjs/storybook/pull/2580) ## 3.3.2 @@ -5027,33 +5491,33 @@ In addition to the changes listed here, also contains fixes from [3.3.5](#335) a #### Bug Fixes -- Use store revisions to ensure that stories re-render on HMR. [#2588](https://github.com/storybooks/storybook/pull/2588) -- Fix @storybook/client-logger import [#2576](https://github.com/storybooks/storybook/pull/2576) -- Fixed react peer dependency [#2584](https://github.com/storybooks/storybook/pull/2584) +- Use store revisions to ensure that stories re-render on HMR. [#2588](https://github.com/storybookjs/storybook/pull/2588) +- Fix @storybook/client-logger import [#2576](https://github.com/storybookjs/storybook/pull/2576) +- Fixed react peer dependency [#2584](https://github.com/storybookjs/storybook/pull/2584) #### Documentation -- Docs: fix logos display & add babelrc [#2585](https://github.com/storybooks/storybook/pull/2585) -- add guide for Angular [#2574](https://github.com/storybooks/storybook/pull/2574) -- Update custom webpack config docs [#2578](https://github.com/storybooks/storybook/pull/2578) -- Attempt to make propTablesExclude usage clearer [#2568](https://github.com/storybooks/storybook/pull/2568) +- Docs: fix logos display & add babelrc [#2585](https://github.com/storybookjs/storybook/pull/2585) +- add guide for Angular [#2574](https://github.com/storybookjs/storybook/pull/2574) +- Update custom webpack config docs [#2578](https://github.com/storybookjs/storybook/pull/2578) +- Attempt to make propTablesExclude usage clearer [#2568](https://github.com/storybookjs/storybook/pull/2568) #### Maintenance -- Add chromatic visual tests [#2505](https://github.com/storybooks/storybook/pull/2505) -- Update snapshots to fix tests [#2579](https://github.com/storybooks/storybook/pull/2579) +- Add chromatic visual tests [#2505](https://github.com/storybookjs/storybook/pull/2505) +- Update snapshots to fix tests [#2579](https://github.com/storybookjs/storybook/pull/2579) #### Dependency Upgrades -- Upgraded `make-error` in `addons/actions` from "1.3.0" to "1.3.2" [#2586](https://github.com/storybooks/storybook/pull/2586) -- Upgraded `zone.js` in `app/angular` from "0.8.18" to "0.8.19" [#2586](https://github.com/storybooks/storybook/pull/2586) -- Upgraded `zone.js` in `examples/angular-cli` from "0.8.18" to "0.8.19" [#2586](https://github.com/storybooks/storybook/pull/2586) -- Upgraded `@angular/cli` in `examples/angular-cli` from "1.6.2" to "1.6.3" [#2586](https://github.com/storybooks/storybook/pull/2586) -- Upgraded `uglifyjs-webpack-plugin` in `app/react` from "1.1.4" to "1.1.5" [#2581](https://github.com/storybooks/storybook/pull/2581) -- Upgraded `uglifyjs-webpack-plugin` in `app/angular` from "1.1.4" to "1.1.5" [#2581](https://github.com/storybooks/storybook/pull/2581) -- Upgraded `uglifyjs-webpack-plugin` in `app/react-native` from "1.1.4" to "1.1.5" [#2581](https://github.com/storybooks/storybook/pull/2581) -- Upgraded `uglifyjs-webpack-plugin` in `app/vue` from "1.1.4" to "1.1.5" [#2581](https://github.com/storybooks/storybook/pull/2581) -- Upgraded `karma-coverage-istanbul-reporter` in `examples/angular-cli` from "1.3.1" to "1.3.3" [#2581](https://github.com/storybooks/storybook/pull/2581) +- Upgraded `make-error` in `addons/actions` from "1.3.0" to "1.3.2" [#2586](https://github.com/storybookjs/storybook/pull/2586) +- Upgraded `zone.js` in `app/angular` from "0.8.18" to "0.8.19" [#2586](https://github.com/storybookjs/storybook/pull/2586) +- Upgraded `zone.js` in `examples/angular-cli` from "0.8.18" to "0.8.19" [#2586](https://github.com/storybookjs/storybook/pull/2586) +- Upgraded `@angular/cli` in `examples/angular-cli` from "1.6.2" to "1.6.3" [#2586](https://github.com/storybookjs/storybook/pull/2586) +- Upgraded `uglifyjs-webpack-plugin` in `app/react` from "1.1.4" to "1.1.5" [#2581](https://github.com/storybookjs/storybook/pull/2581) +- Upgraded `uglifyjs-webpack-plugin` in `app/angular` from "1.1.4" to "1.1.5" [#2581](https://github.com/storybookjs/storybook/pull/2581) +- Upgraded `uglifyjs-webpack-plugin` in `app/react-native` from "1.1.4" to "1.1.5" [#2581](https://github.com/storybookjs/storybook/pull/2581) +- Upgraded `uglifyjs-webpack-plugin` in `app/vue` from "1.1.4" to "1.1.5" [#2581](https://github.com/storybookjs/storybook/pull/2581) +- Upgraded `karma-coverage-istanbul-reporter` in `examples/angular-cli` from "1.3.1" to "1.3.3" [#2581](https://github.com/storybookjs/storybook/pull/2581) ## 3.3.1 @@ -5061,11 +5525,11 @@ In addition to the changes listed here, also contains fixes from [3.3.5](#335) a #### Bug Fixes -- Fix storybook CLI for angular: dev dependencies and fix addon-notes usage [#2572](https://github.com/storybooks/storybook/pull/2572) +- Fix storybook CLI for angular: dev dependencies and fix addon-notes usage [#2572](https://github.com/storybookjs/storybook/pull/2572) #### Documentation -- Add migration note about #2570 [#2571](https://github.com/storybooks/storybook/pull/2571) +- Add migration note about #2570 [#2571](https://github.com/storybookjs/storybook/pull/2571) ## 3.3.0 @@ -5073,139 +5537,139 @@ In addition to the changes listed here, also contains fixes from [3.3.5](#335) a At long last! 3.3 contains a few major features and a ginormous backlog of smaller changes. A few highlights: -- Add angular support: Storybook for Angular [#1474](https://github.com/storybooks/storybook/pull/1474) -- Viewport Addon: simulate device sizes [#1740](https://github.com/storybooks/storybook/pull/1740) -- Jest Addon: preview test results in Storybook [#2295](https://github.com/storybooks/storybook/pull/2295) -- Stories panel: Stories on each hierarchy level [#1763](https://github.com/storybooks/storybook/pull/1763) -- Storyshots: Generate snapshot per story file [#1584](https://github.com/storybooks/storybook/pull/1584) -- Add support for importing markdown in storybook [#2299](https://github.com/storybooks/storybook/pull/2299) +- Add angular support: Storybook for Angular [#1474](https://github.com/storybookjs/storybook/pull/1474) +- Viewport Addon: simulate device sizes [#1740](https://github.com/storybookjs/storybook/pull/1740) +- Jest Addon: preview test results in Storybook [#2295](https://github.com/storybookjs/storybook/pull/2295) +- Stories panel: Stories on each hierarchy level [#1763](https://github.com/storybookjs/storybook/pull/1763) +- Storyshots: Generate snapshot per story file [#1584](https://github.com/storybookjs/storybook/pull/1584) +- Add support for importing markdown in storybook [#2299](https://github.com/storybookjs/storybook/pull/2299) We'll do a better job of getting out smaller releases next time around. ;-) #### Features -- Add support for importing markdown in storybook [#2299](https://github.com/storybooks/storybook/pull/2299) -- Add `TableComponent` option for addon-info [#2400](https://github.com/storybooks/storybook/pull/2400) -- Change keyboard shortcuts to platform safe [#1858](https://github.com/storybooks/storybook/pull/1858) -- Replace `console` with `client-logger` and `node-logger` packages [#2347](https://github.com/storybooks/storybook/pull/2347) -- Add renderer option to storyshots [#2414](https://github.com/storybooks/storybook/pull/2414) -- Added type annotation to helpers, added ts declaration files for angu… [#2459](https://github.com/storybooks/storybook/pull/2459) -- Adding extra metadata to module/components [#2526](https://github.com/storybooks/storybook/pull/2526) -- Fix ng component prop output override [#2456](https://github.com/storybooks/storybook/pull/2456) -- `WIP` Angular versions support [#2467](https://github.com/storybooks/storybook/pull/2467) -- Angular Add custom pipes support [#2518](https://github.com/storybooks/storybook/pull/2518) -- Add angular support: Storybook for Angular [#1474](https://github.com/storybooks/storybook/pull/1474) -- Fix addon Knobs: add array in Object PropTypes [#2227](https://github.com/storybooks/storybook/pull/2227) -- Adds error when storyshots finds no stories [#2079](https://github.com/storybooks/storybook/pull/2079) -- Add addon background to monorepo [#2220](https://github.com/storybooks/storybook/pull/2220) -- Add ability to parse line breaks into
    for Docgen descriptions [#2053](https://github.com/storybooks/storybook/pull/2053) -- Ability for custom storyshots testFunctions to utilise "snapshot per story file" [#1841](https://github.com/storybooks/storybook/pull/1841) -- Viewport Addon [#1753](https://github.com/storybooks/storybook/pull/1753) -- Viewport Addon [#1740](https://github.com/storybooks/storybook/pull/1740) -- Generate snapshot per story file [#1584](https://github.com/storybooks/storybook/pull/1584) -- addon-links: add `LinkTo` component, and `hrefTo` function [#1829](https://github.com/storybooks/storybook/pull/1829) -- Viewport addon: simulate device sizes in preview window [#1753](https://github.com/storybooks/storybook/pull/1753) -- CLI: Add codemod for deprecated addon-links and addon-actions from app [#1368](https://github.com/storybooks/storybook/pull/1368) -- Info addon: More detailed props table [#1485](https://github.com/storybooks/storybook/pull/1485) -- React native: Add accessibility labels to OnDeviceUI [#1780](https://github.com/storybooks/storybook/pull/1780) -- Stories panel: Stories on each hierarchy level [#1763](https://github.com/storybooks/storybook/pull/1763) -- Storyshots: Generate snapshot per story file [#1584](https://github.com/storybooks/storybook/pull/1584) -- CLI: Add support for Vue projects using Nuxt [#1794](https://github.com/storybooks/storybook/pull/1794) +- Add support for importing markdown in storybook [#2299](https://github.com/storybookjs/storybook/pull/2299) +- Add `TableComponent` option for addon-info [#2400](https://github.com/storybookjs/storybook/pull/2400) +- Change keyboard shortcuts to platform safe [#1858](https://github.com/storybookjs/storybook/pull/1858) +- Replace `console` with `client-logger` and `node-logger` packages [#2347](https://github.com/storybookjs/storybook/pull/2347) +- Add renderer option to storyshots [#2414](https://github.com/storybookjs/storybook/pull/2414) +- Added type annotation to helpers, added ts declaration files for angu… [#2459](https://github.com/storybookjs/storybook/pull/2459) +- Adding extra metadata to module/components [#2526](https://github.com/storybookjs/storybook/pull/2526) +- Fix ng component prop output override [#2456](https://github.com/storybookjs/storybook/pull/2456) +- `WIP` Angular versions support [#2467](https://github.com/storybookjs/storybook/pull/2467) +- Angular Add custom pipes support [#2518](https://github.com/storybookjs/storybook/pull/2518) +- Add angular support: Storybook for Angular [#1474](https://github.com/storybookjs/storybook/pull/1474) +- Fix addon Knobs: add array in Object PropTypes [#2227](https://github.com/storybookjs/storybook/pull/2227) +- Adds error when storyshots finds no stories [#2079](https://github.com/storybookjs/storybook/pull/2079) +- Add addon background to monorepo [#2220](https://github.com/storybookjs/storybook/pull/2220) +- Add ability to parse line breaks into
    for Docgen descriptions [#2053](https://github.com/storybookjs/storybook/pull/2053) +- Ability for custom storyshots testFunctions to utilise "snapshot per story file" [#1841](https://github.com/storybookjs/storybook/pull/1841) +- Viewport Addon [#1753](https://github.com/storybookjs/storybook/pull/1753) +- Viewport Addon [#1740](https://github.com/storybookjs/storybook/pull/1740) +- Generate snapshot per story file [#1584](https://github.com/storybookjs/storybook/pull/1584) +- addon-links: add `LinkTo` component, and `hrefTo` function [#1829](https://github.com/storybookjs/storybook/pull/1829) +- Viewport addon: simulate device sizes in preview window [#1753](https://github.com/storybookjs/storybook/pull/1753) +- CLI: Add codemod for deprecated addon-links and addon-actions from app [#1368](https://github.com/storybookjs/storybook/pull/1368) +- Info addon: More detailed props table [#1485](https://github.com/storybookjs/storybook/pull/1485) +- React native: Add accessibility labels to OnDeviceUI [#1780](https://github.com/storybookjs/storybook/pull/1780) +- Stories panel: Stories on each hierarchy level [#1763](https://github.com/storybookjs/storybook/pull/1763) +- Storyshots: Generate snapshot per story file [#1584](https://github.com/storybookjs/storybook/pull/1584) +- CLI: Add support for Vue projects using Nuxt [#1794](https://github.com/storybookjs/storybook/pull/1794) #### Bug Fixes -- Fix whitespace on info add-on card [#2543](https://github.com/storybooks/storybook/pull/2543) -- Angular component props assignment improvements [#2554](https://github.com/storybooks/storybook/pull/2554) -- Remove redundant render in react [#2503](https://github.com/storybooks/storybook/pull/2503) -- Addon-actions: Fix types and refactor [#2438](https://github.com/storybooks/storybook/pull/2438) -- Fix warnings in search box [#2479](https://github.com/storybooks/storybook/pull/2479) -- Migrate to marksy@6 [#2464](https://github.com/storybooks/storybook/pull/2464) -- Extract Jest config from package.json to config file [#2424](https://github.com/storybooks/storybook/pull/2424) -- Fix Horizontal Scrollbar of DownPanel [#2410](https://github.com/storybooks/storybook/pull/2410) -- Move `@storybook/addons` to peerDependencies in all addons [#2335](https://github.com/storybooks/storybook/pull/2335) -- Fix compatibility with @babel/core v7 [#2494](https://github.com/storybooks/storybook/pull/2494) -- Unmount after storyshot snapshot [#2417](https://github.com/storybooks/storybook/pull/2417) -- Fix HMR by saving the preview frame URL as the story changes [#2349](https://github.com/storybooks/storybook/pull/2349) -- Fix CLI babel transpilation [#2350](https://github.com/storybooks/storybook/pull/2350) -- Move LinkTo component to a separate `addon-links/react` endpoint [#2239](https://github.com/storybooks/storybook/pull/2239) -- Fix Array Knob deserialization [#2217](https://github.com/storybooks/storybook/pull/2217) -- Return the test in storyshots to respect promises. [#2218](https://github.com/storybooks/storybook/pull/2218) -- Knobs refactor accidentally removed select [#2210](https://github.com/storybooks/storybook/pull/2210) -- Add HMR to other RN app templates [#2213](https://github.com/storybooks/storybook/pull/2213) -- Autoload all `*.stories.js` files in cli templates [#2195](https://github.com/storybooks/storybook/pull/2195) -- Fix info upgrade codemod failing when optional description string is not supplied [#2138](https://github.com/storybooks/storybook/pull/2138) -- Fix `flex-basis` of `DownPanel` content div [#2126](https://github.com/storybooks/storybook/pull/2126) -- CLI: Use actions in sample stories for vue + fix them in SFC_VUE template [#1867](https://github.com/storybooks/storybook/pull/1867) -- Improve rendering of 'types' in addon-actions [#1887](https://github.com/storybooks/storybook/pull/1887) -- Circular json can possibly hang [#1881](https://github.com/storybooks/storybook/pull/1881) -- Use HtmlWebpackPlugin to import all assets (importing chunks in order) [#1775](https://github.com/storybooks/storybook/pull/1775) -- Fix preview scrolling [#1782](https://github.com/storybooks/storybook/pull/1782) -- Search box: make found options selectable with click [#1697](https://github.com/storybooks/storybook/pull/1697) -- Fix Docgen in static builds for Info [#1725](https://github.com/storybooks/storybook/pull/1725) -- Return empty array when Array knob is empty [#1811](https://github.com/storybooks/storybook/pull/1811) -- Import chunks/assets in correct order using HtmlWebpackPlugin [#1775](https://github.com/storybooks/storybook/pull/1775) -- Fix preview scrolling [#1782](https://github.com/storybooks/storybook/pull/1782) -- Height aligned 2 buttons in manager's header [#1769](https://github.com/storybooks/storybook/pull/1769) -- Search box: make found options selectable with click [#1697](https://github.com/storybooks/storybook/pull/1697) -- Info addon: Fix Docgen in static builds [#1725](https://github.com/storybooks/storybook/pull/1725) -- Knobs: allow arrays in object knob proptypes [#1701](https://github.com/storybooks/storybook/pull/1701) +- Fix whitespace on info add-on card [#2543](https://github.com/storybookjs/storybook/pull/2543) +- Angular component props assignment improvements [#2554](https://github.com/storybookjs/storybook/pull/2554) +- Remove redundant render in react [#2503](https://github.com/storybookjs/storybook/pull/2503) +- Addon-actions: Fix types and refactor [#2438](https://github.com/storybookjs/storybook/pull/2438) +- Fix warnings in search box [#2479](https://github.com/storybookjs/storybook/pull/2479) +- Migrate to marksy@6 [#2464](https://github.com/storybookjs/storybook/pull/2464) +- Extract Jest config from package.json to config file [#2424](https://github.com/storybookjs/storybook/pull/2424) +- Fix Horizontal Scrollbar of DownPanel [#2410](https://github.com/storybookjs/storybook/pull/2410) +- Move `@storybook/addons` to peerDependencies in all addons [#2335](https://github.com/storybookjs/storybook/pull/2335) +- Fix compatibility with @babel/core v7 [#2494](https://github.com/storybookjs/storybook/pull/2494) +- Unmount after storyshot snapshot [#2417](https://github.com/storybookjs/storybook/pull/2417) +- Fix HMR by saving the preview frame URL as the story changes [#2349](https://github.com/storybookjs/storybook/pull/2349) +- Fix CLI babel transpilation [#2350](https://github.com/storybookjs/storybook/pull/2350) +- Move LinkTo component to a separate `addon-links/react` endpoint [#2239](https://github.com/storybookjs/storybook/pull/2239) +- Fix Array Knob deserialization [#2217](https://github.com/storybookjs/storybook/pull/2217) +- Return the test in storyshots to respect promises. [#2218](https://github.com/storybookjs/storybook/pull/2218) +- Knobs refactor accidentally removed select [#2210](https://github.com/storybookjs/storybook/pull/2210) +- Add HMR to other RN app templates [#2213](https://github.com/storybookjs/storybook/pull/2213) +- Autoload all `*.stories.js` files in cli templates [#2195](https://github.com/storybookjs/storybook/pull/2195) +- Fix info upgrade codemod failing when optional description string is not supplied [#2138](https://github.com/storybookjs/storybook/pull/2138) +- Fix `flex-basis` of `DownPanel` content div [#2126](https://github.com/storybookjs/storybook/pull/2126) +- CLI: Use actions in sample stories for vue + fix them in SFC_VUE template [#1867](https://github.com/storybookjs/storybook/pull/1867) +- Improve rendering of 'types' in addon-actions [#1887](https://github.com/storybookjs/storybook/pull/1887) +- Circular json can possibly hang [#1881](https://github.com/storybookjs/storybook/pull/1881) +- Use HtmlWebpackPlugin to import all assets (importing chunks in order) [#1775](https://github.com/storybookjs/storybook/pull/1775) +- Fix preview scrolling [#1782](https://github.com/storybookjs/storybook/pull/1782) +- Search box: make found options selectable with click [#1697](https://github.com/storybookjs/storybook/pull/1697) +- Fix Docgen in static builds for Info [#1725](https://github.com/storybookjs/storybook/pull/1725) +- Return empty array when Array knob is empty [#1811](https://github.com/storybookjs/storybook/pull/1811) +- Import chunks/assets in correct order using HtmlWebpackPlugin [#1775](https://github.com/storybookjs/storybook/pull/1775) +- Fix preview scrolling [#1782](https://github.com/storybookjs/storybook/pull/1782) +- Height aligned 2 buttons in manager's header [#1769](https://github.com/storybookjs/storybook/pull/1769) +- Search box: make found options selectable with click [#1697](https://github.com/storybookjs/storybook/pull/1697) +- Info addon: Fix Docgen in static builds [#1725](https://github.com/storybookjs/storybook/pull/1725) +- Knobs: allow arrays in object knob proptypes [#1701](https://github.com/storybookjs/storybook/pull/1701) #### Documentation -- Make dependencies more deterministic [#1703](https://github.com/storybooks/storybook/pull/1703) -- Addon-info: deep merge passed styles with default ones [#2449](https://github.com/storybooks/storybook/pull/2449) -- Test documentation duplication fix [#2228](https://github.com/storybooks/storybook/pull/2228) -- Updated local test documentation [#2224](https://github.com/storybooks/storybook/pull/2224) -- Add state addon to the addons page [#2012](https://github.com/storybooks/storybook/pull/2012) -- Add community addon to add the ability to customize styles in the story preview area [#2007](https://github.com/storybooks/storybook/pull/2007) -- Add Figma addon to community supported section [#2009](https://github.com/storybooks/storybook/pull/2009) -- Update storybook-router description in the addon gallery. [#1991](https://github.com/storybooks/storybook/pull/1991) -- Make dependencies more deterministic [#1703](https://github.com/storybooks/storybook/pull/1703) -- Synced changes from new-docs to CONTRIBUTING.md [#1911](https://github.com/storybooks/storybook/pull/1911) -- Fix incorrect yarn command in docs [#1758](https://github.com/storybooks/storybook/pull/1758) -- Improve linkTo documentation [#1793](https://github.com/storybooks/storybook/pull/1793) -- Add carbon to examples page [#1764](https://github.com/storybooks/storybook/pull/1764) -- Minor grammar fixes and clarification to Vue documentation [#1756](https://github.com/storybooks/storybook/pull/1756) -- Fix incorrect yarn command in docs [#1758](https://github.com/storybooks/storybook/pull/1758) -- Add storybook-chrome-screenshot to addon gallery [#1761](https://github.com/storybooks/storybook/pull/1761) -- Fixing typo on VueJS withNotes Example [#1787](https://github.com/storybooks/storybook/pull/1787) -- Improve linkTo documentation [#1793](https://github.com/storybooks/storybook/pull/1793) -- Add carbon to examples page [#1764](https://github.com/storybooks/storybook/pull/1764) -- Minor grammar fixes and clarification to Vue documentation [#1756](https://github.com/storybooks/storybook/pull/1756) -- Fix incorrect yarn command in docs [#1758](https://github.com/storybooks/storybook/pull/1758) -- Add storybook-chrome-screenshot to addon gallery [#1761](https://github.com/storybooks/storybook/pull/1761) -- Fixing typo on VueJS withNotes Example [#1787](https://github.com/storybooks/storybook/pull/1787) +- Make dependencies more deterministic [#1703](https://github.com/storybookjs/storybook/pull/1703) +- Addon-info: deep merge passed styles with default ones [#2449](https://github.com/storybookjs/storybook/pull/2449) +- Test documentation duplication fix [#2228](https://github.com/storybookjs/storybook/pull/2228) +- Updated local test documentation [#2224](https://github.com/storybookjs/storybook/pull/2224) +- Add state addon to the addons page [#2012](https://github.com/storybookjs/storybook/pull/2012) +- Add community addon to add the ability to customize styles in the story preview area [#2007](https://github.com/storybookjs/storybook/pull/2007) +- Add Figma addon to community supported section [#2009](https://github.com/storybookjs/storybook/pull/2009) +- Update storybook-router description in the addon gallery. [#1991](https://github.com/storybookjs/storybook/pull/1991) +- Make dependencies more deterministic [#1703](https://github.com/storybookjs/storybook/pull/1703) +- Synced changes from new-docs to CONTRIBUTING.md [#1911](https://github.com/storybookjs/storybook/pull/1911) +- Fix incorrect yarn command in docs [#1758](https://github.com/storybookjs/storybook/pull/1758) +- Improve linkTo documentation [#1793](https://github.com/storybookjs/storybook/pull/1793) +- Add carbon to examples page [#1764](https://github.com/storybookjs/storybook/pull/1764) +- Minor grammar fixes and clarification to Vue documentation [#1756](https://github.com/storybookjs/storybook/pull/1756) +- Fix incorrect yarn command in docs [#1758](https://github.com/storybookjs/storybook/pull/1758) +- Add storybook-chrome-screenshot to addon gallery [#1761](https://github.com/storybookjs/storybook/pull/1761) +- Fixing typo on VueJS withNotes Example [#1787](https://github.com/storybookjs/storybook/pull/1787) +- Improve linkTo documentation [#1793](https://github.com/storybookjs/storybook/pull/1793) +- Add carbon to examples page [#1764](https://github.com/storybookjs/storybook/pull/1764) +- Minor grammar fixes and clarification to Vue documentation [#1756](https://github.com/storybookjs/storybook/pull/1756) +- Fix incorrect yarn command in docs [#1758](https://github.com/storybookjs/storybook/pull/1758) +- Add storybook-chrome-screenshot to addon gallery [#1761](https://github.com/storybookjs/storybook/pull/1761) +- Fixing typo on VueJS withNotes Example [#1787](https://github.com/storybookjs/storybook/pull/1787) #### Maintenance -- Switch to UglifyJS that supports ES6 and up [#2530](https://github.com/storybooks/storybook/pull/2530) -- Move everything from lodash to lodash-es [#2558](https://github.com/storybooks/storybook/pull/2558) -- Misc fixes [#2556](https://github.com/storybooks/storybook/pull/2556) -- CI: test that angular example works [#2557](https://github.com/storybooks/storybook/pull/2557) -- FIX `yarn test` & selecting only core [#2219](https://github.com/storybooks/storybook/pull/2219) -- CLI test: always remove `run` directory before exiting [#2201](https://github.com/storybooks/storybook/pull/2201) -- Bot for closing old issues [#2186](https://github.com/storybooks/storybook/pull/2186) -- Drop "Install latest yarn version" step on CI [#1910](https://github.com/storybooks/storybook/pull/1910) -- CLI: A more human-friendly message for undetected project types [#1825](https://github.com/storybooks/storybook/pull/1825) -- CLI: handle promise rejections [#1826](https://github.com/storybooks/storybook/pull/1826) -- Add tests for CLI [#1767](https://github.com/storybooks/storybook/pull/1767) -- Yarn workspaces [#1810](https://github.com/storybooks/storybook/pull/1810) -- Knobs: allow arrays in object knob proptypes [#1701](https://github.com/storybooks/storybook/pull/1701) -- Deprecate confusing option names [#1692](https://github.com/storybooks/storybook/pull/1692) -- A CLI for running specific tests suites, like bootstrap CLI [#1752](https://github.com/storybooks/storybook/pull/1752) -- Remove check for sender on channel. [#1407](https://github.com/storybooks/storybook/pull/1407) -- Exit with code 1 if `start-storybook --smoke-test` fails [#1851](https://github.com/storybooks/storybook/pull/1851) -- Refactor CLI [#1840](https://github.com/storybooks/storybook/pull/1840) -- Refactor knobs - no longer include all runtimes [#1832](https://github.com/storybooks/storybook/pull/1832) -- Added addon-knobs to crna and vanilla react native. [#1636](https://github.com/storybooks/storybook/pull/1636) -- Deprecate confusing option names [#1692](https://github.com/storybooks/storybook/pull/1692) -- A CLI for running specific tests suites, like bootstrap CLI [#1752](https://github.com/storybooks/storybook/pull/1752) -- Remove check for sender on channel. [#1407](https://github.com/storybooks/storybook/pull/1407) -- Use yarn instead of NPM [#1703](https://github.com/storybooks/storybook/pull/1703) -- Add config for dependencies.io [#1770](https://github.com/storybooks/storybook/pull/1770) -- Added addon-knobs to crna and vanilla react native. [#1636](https://github.com/storybooks/storybook/pull/1636) -- Fixed Jest warnings [#1744](https://github.com/storybooks/storybook/pull/1744) -- Smoke test master [#1801](https://github.com/storybooks/storybook/pull/1801) +- Switch to UglifyJS that supports ES6 and up [#2530](https://github.com/storybookjs/storybook/pull/2530) +- Move everything from lodash to lodash-es [#2558](https://github.com/storybookjs/storybook/pull/2558) +- Misc fixes [#2556](https://github.com/storybookjs/storybook/pull/2556) +- CI: test that angular example works [#2557](https://github.com/storybookjs/storybook/pull/2557) +- FIX `yarn test` & selecting only core [#2219](https://github.com/storybookjs/storybook/pull/2219) +- CLI test: always remove `run` directory before exiting [#2201](https://github.com/storybookjs/storybook/pull/2201) +- Bot for closing old issues [#2186](https://github.com/storybookjs/storybook/pull/2186) +- Drop "Install latest yarn version" step on CI [#1910](https://github.com/storybookjs/storybook/pull/1910) +- CLI: A more human-friendly message for undetected project types [#1825](https://github.com/storybookjs/storybook/pull/1825) +- CLI: handle promise rejections [#1826](https://github.com/storybookjs/storybook/pull/1826) +- Add tests for CLI [#1767](https://github.com/storybookjs/storybook/pull/1767) +- Yarn workspaces [#1810](https://github.com/storybookjs/storybook/pull/1810) +- Knobs: allow arrays in object knob proptypes [#1701](https://github.com/storybookjs/storybook/pull/1701) +- Deprecate confusing option names [#1692](https://github.com/storybookjs/storybook/pull/1692) +- A CLI for running specific tests suites, like bootstrap CLI [#1752](https://github.com/storybookjs/storybook/pull/1752) +- Remove check for sender on channel. [#1407](https://github.com/storybookjs/storybook/pull/1407) +- Exit with code 1 if `start-storybook --smoke-test` fails [#1851](https://github.com/storybookjs/storybook/pull/1851) +- Refactor CLI [#1840](https://github.com/storybookjs/storybook/pull/1840) +- Refactor knobs - no longer include all runtimes [#1832](https://github.com/storybookjs/storybook/pull/1832) +- Added addon-knobs to crna and vanilla react native. [#1636](https://github.com/storybookjs/storybook/pull/1636) +- Deprecate confusing option names [#1692](https://github.com/storybookjs/storybook/pull/1692) +- A CLI for running specific tests suites, like bootstrap CLI [#1752](https://github.com/storybookjs/storybook/pull/1752) +- Remove check for sender on channel. [#1407](https://github.com/storybookjs/storybook/pull/1407) +- Use yarn instead of NPM [#1703](https://github.com/storybookjs/storybook/pull/1703) +- Add config for dependencies.io [#1770](https://github.com/storybookjs/storybook/pull/1770) +- Added addon-knobs to crna and vanilla react native. [#1636](https://github.com/storybookjs/storybook/pull/1636) +- Fixed Jest warnings [#1744](https://github.com/storybookjs/storybook/pull/1744) +- Smoke test master [#1801](https://github.com/storybookjs/storybook/pull/1801) #### Dependency Upgrades @@ -5214,64 +5678,64 @@ We'll do a better job of getting out smaller releases next time around. ;-) 57 Upgrades -- Update babel-eslint in / from 8.1.1 to 8.1.2 [#2562](https://github.com/storybooks/storybook/pull/2562) -- Update babel-eslint in / from 8.1.0 to 8.1.1 [#2561](https://github.com/storybooks/storybook/pull/2561) -- Update babel-eslint in / from 8.0.3 to 8.1.0 [#2559](https://github.com/storybooks/storybook/pull/2559) -- Upgraded `eslint` in `/` from "4.13.1" to "4.14.0" [#2555](https://github.com/storybooks/storybook/pull/2555) -- Upgraded `jest-specific-snapshot` in `addons/storyshots` from "0.2.0" to "0.3.0" [#2555](https://github.com/storybooks/storybook/pull/2555) -- Upgraded `style-loader` in `app/angular` from "0.17.0" to "0.18.2" [#2555](https://github.com/storybooks/storybook/pull/2555) -- Upgraded `npx` in `lib/cli` from "9.6.0" to "9.7.1" [#2555](https://github.com/storybooks/storybook/pull/2555) -- Upgraded `@angular/cli` in `examples/angular-cli` from "1.3.0" to "1.6.2" [#2555](https://github.com/storybooks/storybook/pull/2555) -- Upgraded `@types/jasmine` in `examples/angular-cli` from "2.5.54" to "2.8.2" [#2555](https://github.com/storybooks/storybook/pull/2555) -- Upgraded `jasmine-core` in `examples/angular-cli` from "2.6.4" to "2.8.0" [#2555](https://github.com/storybooks/storybook/pull/2555) -- Upgraded `jasmine-spec-reporter` in `examples/angular-cli` from "4.1.1" to "4.2.1" [#2555](https://github.com/storybooks/storybook/pull/2555) -- Upgraded `karma-chrome-launcher` in `examples/angular-cli` from "2.1.1" to "2.2.0" [#2555](https://github.com/storybooks/storybook/pull/2555) -- Upgraded `karma-coverage-istanbul-reporter` in `examples/angular-cli` from "1.3.0" to "1.3.1" [#2555](https://github.com/storybooks/storybook/pull/2555) -- Upgraded `protractor` in `examples/angular-cli` from "5.1.2" to "5.2.2" [#2555](https://github.com/storybooks/storybook/pull/2555) -- Upgraded `ts-node` in `examples/angular-cli` from "3.2.2" to "3.3.0" [#2555](https://github.com/storybooks/storybook/pull/2555) -- Upgraded `tslint` in `examples/angular-cli` from "5.3.2" to "5.8.0" [#2555](https://github.com/storybooks/storybook/pull/2555) -- UPGRADE jest & react-native [#2542](https://github.com/storybooks/storybook/pull/2542) -- Move back to original fuse.js package [#2478](https://github.com/storybooks/storybook/pull/2478) -- UPDATE "react-split-pane": "^0.1.74", to FIX an breaking issue [#2528](https://github.com/storybooks/storybook/pull/2528) -- Upgraded `gatsby-remark-copy-linked-files` in `/docs` from "1.5.24" to "1.5.25" [#2529](https://github.com/storybooks/storybook/pull/2529) -- Upgraded `gatsby` in `/docs` from "1.9.144" to "1.9.146" [#2529](https://github.com/storybooks/storybook/pull/2529) -- Update gatsby in /docs from 1.9.143 to 1.9.144 [#2524](https://github.com/storybooks/storybook/pull/2524) -- Update gatsby in /docs from 1.9.142 to 1.9.143 [#2521](https://github.com/storybooks/storybook/pull/2521) -- Upgraded `enzyme-adapter-react-16` in `/` from "1.1.0" to "1.1.1" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `jest-image-snapshot` in `/` from "2.2.0" to "2.2.1" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `axe-core` in `addons/a11y` from "2.5.0" to "2.6.0" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `moment` in `addons/knobs` from "2.20.0" to "2.20.1" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `vue` in `addons/knobs` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `vue` in `app/vue` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `vue-template-compiler` in `app/vue` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `moment` in `addons/comments` from "2.20.0" to "2.20.1" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `vue-template-compiler` in `examples/vue-kitchen-sink` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `@storybook/addon-actions` in `/docs` from "3.2.17" to "3.2.18" [#2519](https://github.com/storybooks/storybook/pull/2519) -- Upgraded `@storybook/addon-links` in `/docs` from "3.2.17" to "3.2.18" [#2519](https://github.com/storybooks/storybook/pull/2519) -- Upgraded `@storybook/addons` in `/docs` from "3.2.17" to "3.2.18" [#2519](https://github.com/storybooks/storybook/pull/2519) -- Upgraded `@storybook/react` in `/docs` from "3.2.17" to "3.2.18" [#2519](https://github.com/storybooks/storybook/pull/2519) -- Upgraded `gatsby` in `/docs` from "1.9.141" to "1.9.142" [#2519](https://github.com/storybooks/storybook/pull/2519) -- Upgraded `nodemon` in `/` from "1.13.2" to "1.13.3" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `graphql` in `addons/graphql` from "0.11.7" to "0.12.0" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `@types/react` in `addons/knobs` from "16.0.30" to "16.0.31" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `file-loader` in `app/react-native` from "1.1.5" to "1.1.6" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `file-loader` in `app/react` from "1.1.5" to "1.1.6" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `nodemon` in `app/react` from "1.13.2" to "1.13.3" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `file-loader` in `app/vue` from "1.1.5" to "1.1.6" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `nodemon` in `app/vue` from "1.13.2" to "1.13.3" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `vue-loader` in `app/vue` from "13.5.0" to "13.6.0" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `file-loader` in `examples/vue-kitchen-sink` from "1.1.5" to "1.1.6" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `vue-loader` in `examples/vue-kitchen-sink` from "13.5.0" to "13.6.0" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Update danger in / from 2.1.5 to 2.1.6 [#2511](https://github.com/storybooks/storybook/pull/2511) -- Update react-native from 0.43.4 to 0.49.3 in app/react-native [#1971](https://github.com/storybooks/storybook/pull/1971) -- React-Native - Docs - Add Issues section for Android Emulator [#2078](https://github.com/storybooks/storybook/pull/2078) -- Upgrade eslint-config-airbnb and make it pass [#2212](https://github.com/storybooks/storybook/pull/2212) -- Add config for dependencies.io [#1770](https://github.com/storybooks/storybook/pull/1770) -- Upgrade root dependencies and sync with packages [#1802](https://github.com/storybooks/storybook/pull/1802) -- Update jest to the latest version 🚀 [#1799](https://github.com/storybooks/storybook/pull/1799) -- Update eslint-plugin-jest to the latest version 🚀 [#1795](https://github.com/storybooks/storybook/pull/1795) -- Update lerna to the latest version 🚀 [#1768](https://github.com/storybooks/storybook/pull/1768) +- Update babel-eslint in / from 8.1.1 to 8.1.2 [#2562](https://github.com/storybookjs/storybook/pull/2562) +- Update babel-eslint in / from 8.1.0 to 8.1.1 [#2561](https://github.com/storybookjs/storybook/pull/2561) +- Update babel-eslint in / from 8.0.3 to 8.1.0 [#2559](https://github.com/storybookjs/storybook/pull/2559) +- Upgraded `eslint` in `/` from "4.13.1" to "4.14.0" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- Upgraded `jest-specific-snapshot` in `addons/storyshots` from "0.2.0" to "0.3.0" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- Upgraded `style-loader` in `app/angular` from "0.17.0" to "0.18.2" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- Upgraded `npx` in `lib/cli` from "9.6.0" to "9.7.1" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- Upgraded `@angular/cli` in `examples/angular-cli` from "1.3.0" to "1.6.2" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- Upgraded `@types/jasmine` in `examples/angular-cli` from "2.5.54" to "2.8.2" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- Upgraded `jasmine-core` in `examples/angular-cli` from "2.6.4" to "2.8.0" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- Upgraded `jasmine-spec-reporter` in `examples/angular-cli` from "4.1.1" to "4.2.1" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- Upgraded `karma-chrome-launcher` in `examples/angular-cli` from "2.1.1" to "2.2.0" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- Upgraded `karma-coverage-istanbul-reporter` in `examples/angular-cli` from "1.3.0" to "1.3.1" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- Upgraded `protractor` in `examples/angular-cli` from "5.1.2" to "5.2.2" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- Upgraded `ts-node` in `examples/angular-cli` from "3.2.2" to "3.3.0" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- Upgraded `tslint` in `examples/angular-cli` from "5.3.2" to "5.8.0" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- UPGRADE jest & react-native [#2542](https://github.com/storybookjs/storybook/pull/2542) +- Move back to original fuse.js package [#2478](https://github.com/storybookjs/storybook/pull/2478) +- UPDATE "react-split-pane": "^0.1.74", to FIX an breaking issue [#2528](https://github.com/storybookjs/storybook/pull/2528) +- Upgraded `gatsby-remark-copy-linked-files` in `/docs` from "1.5.24" to "1.5.25" [#2529](https://github.com/storybookjs/storybook/pull/2529) +- Upgraded `gatsby` in `/docs` from "1.9.144" to "1.9.146" [#2529](https://github.com/storybookjs/storybook/pull/2529) +- Update gatsby in /docs from 1.9.143 to 1.9.144 [#2524](https://github.com/storybookjs/storybook/pull/2524) +- Update gatsby in /docs from 1.9.142 to 1.9.143 [#2521](https://github.com/storybookjs/storybook/pull/2521) +- Upgraded `enzyme-adapter-react-16` in `/` from "1.1.0" to "1.1.1" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `jest-image-snapshot` in `/` from "2.2.0" to "2.2.1" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `axe-core` in `addons/a11y` from "2.5.0" to "2.6.0" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `moment` in `addons/knobs` from "2.20.0" to "2.20.1" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `vue` in `addons/knobs` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `vue` in `app/vue` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `vue-template-compiler` in `app/vue` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `moment` in `addons/comments` from "2.20.0" to "2.20.1" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `vue-template-compiler` in `examples/vue-kitchen-sink` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `@storybook/addon-actions` in `/docs` from "3.2.17" to "3.2.18" [#2519](https://github.com/storybookjs/storybook/pull/2519) +- Upgraded `@storybook/addon-links` in `/docs` from "3.2.17" to "3.2.18" [#2519](https://github.com/storybookjs/storybook/pull/2519) +- Upgraded `@storybook/addons` in `/docs` from "3.2.17" to "3.2.18" [#2519](https://github.com/storybookjs/storybook/pull/2519) +- Upgraded `@storybook/react` in `/docs` from "3.2.17" to "3.2.18" [#2519](https://github.com/storybookjs/storybook/pull/2519) +- Upgraded `gatsby` in `/docs` from "1.9.141" to "1.9.142" [#2519](https://github.com/storybookjs/storybook/pull/2519) +- Upgraded `nodemon` in `/` from "1.13.2" to "1.13.3" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `graphql` in `addons/graphql` from "0.11.7" to "0.12.0" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `@types/react` in `addons/knobs` from "16.0.30" to "16.0.31" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `file-loader` in `app/react-native` from "1.1.5" to "1.1.6" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `file-loader` in `app/react` from "1.1.5" to "1.1.6" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `nodemon` in `app/react` from "1.13.2" to "1.13.3" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `file-loader` in `app/vue` from "1.1.5" to "1.1.6" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `nodemon` in `app/vue` from "1.13.2" to "1.13.3" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `vue-loader` in `app/vue` from "13.5.0" to "13.6.0" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `file-loader` in `examples/vue-kitchen-sink` from "1.1.5" to "1.1.6" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `vue-loader` in `examples/vue-kitchen-sink` from "13.5.0" to "13.6.0" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Update danger in / from 2.1.5 to 2.1.6 [#2511](https://github.com/storybookjs/storybook/pull/2511) +- Update react-native from 0.43.4 to 0.49.3 in app/react-native [#1971](https://github.com/storybookjs/storybook/pull/1971) +- React-Native - Docs - Add Issues section for Android Emulator [#2078](https://github.com/storybookjs/storybook/pull/2078) +- Upgrade eslint-config-airbnb and make it pass [#2212](https://github.com/storybookjs/storybook/pull/2212) +- Add config for dependencies.io [#1770](https://github.com/storybookjs/storybook/pull/1770) +- Upgrade root dependencies and sync with packages [#1802](https://github.com/storybookjs/storybook/pull/1802) +- Update jest to the latest version 🚀 [#1799](https://github.com/storybookjs/storybook/pull/1799) +- Update eslint-plugin-jest to the latest version 🚀 [#1795](https://github.com/storybookjs/storybook/pull/1795) +- Update lerna to the latest version 🚀 [#1768](https://github.com/storybookjs/storybook/pull/1768) @@ -5281,18 +5745,18 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Bug Fixes -- Fix whitespace on info add-on card [#2543](https://github.com/storybooks/storybook/pull/2543) +- Fix whitespace on info add-on card [#2543](https://github.com/storybookjs/storybook/pull/2543) #### Documentation -- Make dependencies more deterministic [#1703](https://github.com/storybooks/storybook/pull/1703) +- Make dependencies more deterministic [#1703](https://github.com/storybookjs/storybook/pull/1703) #### Maintenance -- Switch to UglifyJS that supports ES6 and up [#2530](https://github.com/storybooks/storybook/pull/2530) -- Move everything from lodash to lodash-es [#2558](https://github.com/storybooks/storybook/pull/2558) -- Misc fixes [#2556](https://github.com/storybooks/storybook/pull/2556) -- CI: test that angular example works [#2557](https://github.com/storybooks/storybook/pull/2557) +- Switch to UglifyJS that supports ES6 and up [#2530](https://github.com/storybookjs/storybook/pull/2530) +- Move everything from lodash to lodash-es [#2558](https://github.com/storybookjs/storybook/pull/2558) +- Misc fixes [#2556](https://github.com/storybookjs/storybook/pull/2556) +- CI: test that angular example works [#2557](https://github.com/storybookjs/storybook/pull/2557) #### Dependency Upgrades @@ -5301,22 +5765,22 @@ We'll do a better job of getting out smaller releases next time around. ;-) 17 Upgrades -- Update babel-eslint in / from 8.1.1 to 8.1.2 [#2562](https://github.com/storybooks/storybook/pull/2562) -- Update babel-eslint in / from 8.1.0 to 8.1.1 [#2561](https://github.com/storybooks/storybook/pull/2561) -- Update babel-eslint in / from 8.0.3 to 8.1.0 [#2559](https://github.com/storybooks/storybook/pull/2559) -- Upgraded `eslint` in `/` from "4.13.1" to "4.14.0" [#2555](https://github.com/storybooks/storybook/pull/2555) -- Upgraded `jest-specific-snapshot` in `addons/storyshots` from "0.2.0" to "0.3.0" [#2555](https://github.com/storybooks/storybook/pull/2555) -- Upgraded `style-loader` in `app/angular` from "0.17.0" to "0.18.2" [#2555](https://github.com/storybooks/storybook/pull/2555) -- Upgraded `npx` in `lib/cli` from "9.6.0" to "9.7.1" [#2555](https://github.com/storybooks/storybook/pull/2555) -- Upgraded `@angular/cli` in `examples/angular-cli` from "1.3.0" to "1.6.2" [#2555](https://github.com/storybooks/storybook/pull/2555) -- Upgraded `@types/jasmine` in `examples/angular-cli` from "2.5.54" to "2.8.2" [#2555](https://github.com/storybooks/storybook/pull/2555) -- Upgraded `jasmine-core` in `examples/angular-cli` from "2.6.4" to "2.8.0" [#2555](https://github.com/storybooks/storybook/pull/2555) -- Upgraded `jasmine-spec-reporter` in `examples/angular-cli` from "4.1.1" to "4.2.1" [#2555](https://github.com/storybooks/storybook/pull/2555) -- Upgraded `karma-chrome-launcher` in `examples/angular-cli` from "2.1.1" to "2.2.0" [#2555](https://github.com/storybooks/storybook/pull/2555) -- Upgraded `karma-coverage-istanbul-reporter` in `examples/angular-cli` from "1.3.0" to "1.3.1" [#2555](https://github.com/storybooks/storybook/pull/2555) -- Upgraded `protractor` in `examples/angular-cli` from "5.1.2" to "5.2.2" [#2555](https://github.com/storybooks/storybook/pull/2555) -- Upgraded `ts-node` in `examples/angular-cli` from "3.2.2" to "3.3.0" [#2555](https://github.com/storybooks/storybook/pull/2555) -- Upgraded `tslint` in `examples/angular-cli` from "5.3.2" to "5.8.0" [#2555](https://github.com/storybooks/storybook/pull/2555) +- Update babel-eslint in / from 8.1.1 to 8.1.2 [#2562](https://github.com/storybookjs/storybook/pull/2562) +- Update babel-eslint in / from 8.1.0 to 8.1.1 [#2561](https://github.com/storybookjs/storybook/pull/2561) +- Update babel-eslint in / from 8.0.3 to 8.1.0 [#2559](https://github.com/storybookjs/storybook/pull/2559) +- Upgraded `eslint` in `/` from "4.13.1" to "4.14.0" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- Upgraded `jest-specific-snapshot` in `addons/storyshots` from "0.2.0" to "0.3.0" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- Upgraded `style-loader` in `app/angular` from "0.17.0" to "0.18.2" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- Upgraded `npx` in `lib/cli` from "9.6.0" to "9.7.1" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- Upgraded `@angular/cli` in `examples/angular-cli` from "1.3.0" to "1.6.2" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- Upgraded `@types/jasmine` in `examples/angular-cli` from "2.5.54" to "2.8.2" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- Upgraded `jasmine-core` in `examples/angular-cli` from "2.6.4" to "2.8.0" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- Upgraded `jasmine-spec-reporter` in `examples/angular-cli` from "4.1.1" to "4.2.1" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- Upgraded `karma-chrome-launcher` in `examples/angular-cli` from "2.1.1" to "2.2.0" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- Upgraded `karma-coverage-istanbul-reporter` in `examples/angular-cli` from "1.3.0" to "1.3.1" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- Upgraded `protractor` in `examples/angular-cli` from "5.1.2" to "5.2.2" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- Upgraded `ts-node` in `examples/angular-cli` from "3.2.2" to "3.3.0" [#2555](https://github.com/storybookjs/storybook/pull/2555) +- Upgraded `tslint` in `examples/angular-cli` from "5.3.2" to "5.8.0" [#2555](https://github.com/storybookjs/storybook/pull/2555) @@ -5326,11 +5790,11 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Bug Fixes -- Angular component props assignment improvements [#2554](https://github.com/storybooks/storybook/pull/2554) +- Angular component props assignment improvements [#2554](https://github.com/storybookjs/storybook/pull/2554) #### Dependency Upgrades -- UPGRADE jest & react-native [#2542](https://github.com/storybooks/storybook/pull/2542) +- UPGRADE jest & react-native [#2542](https://github.com/storybookjs/storybook/pull/2542) ## 3.3.0-alpha.6 @@ -5338,48 +5802,48 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Features -- Add support for importing markdown in storybook [#2299](https://github.com/storybooks/storybook/pull/2299) -- Add `TableComponent` option for addon-info [#2400](https://github.com/storybooks/storybook/pull/2400) -- Change keyboard shortcuts to platform safe [#1858](https://github.com/storybooks/storybook/pull/1858) -- Replace `console` with `client-logger` and `node-logger` packages [#2347](https://github.com/storybooks/storybook/pull/2347) -- Add renderer option to storyshots [#2414](https://github.com/storybooks/storybook/pull/2414) +- Add support for importing markdown in storybook [#2299](https://github.com/storybookjs/storybook/pull/2299) +- Add `TableComponent` option for addon-info [#2400](https://github.com/storybookjs/storybook/pull/2400) +- Change keyboard shortcuts to platform safe [#1858](https://github.com/storybookjs/storybook/pull/1858) +- Replace `console` with `client-logger` and `node-logger` packages [#2347](https://github.com/storybookjs/storybook/pull/2347) +- Add renderer option to storyshots [#2414](https://github.com/storybookjs/storybook/pull/2414) #### Angular Support -- Added type annotation to helpers, added ts declaration files for angu… [#2459](https://github.com/storybooks/storybook/pull/2459) -- Adding extra metadata to module/components [#2526](https://github.com/storybooks/storybook/pull/2526) -- Fix ng component prop output override [#2456](https://github.com/storybooks/storybook/pull/2456) -- `WIP` Angular versions support [#2467](https://github.com/storybooks/storybook/pull/2467) -- Angular Add custom pipes support [#2518](https://github.com/storybooks/storybook/pull/2518) +- Added type annotation to helpers, added ts declaration files for angu… [#2459](https://github.com/storybookjs/storybook/pull/2459) +- Adding extra metadata to module/components [#2526](https://github.com/storybookjs/storybook/pull/2526) +- Fix ng component prop output override [#2456](https://github.com/storybookjs/storybook/pull/2456) +- `WIP` Angular versions support [#2467](https://github.com/storybookjs/storybook/pull/2467) +- Angular Add custom pipes support [#2518](https://github.com/storybookjs/storybook/pull/2518) #### Bug Fixes -- Remove redundant render in react [#2503](https://github.com/storybooks/storybook/pull/2503) -- Addon-actions: Fix types and refactor [#2438](https://github.com/storybooks/storybook/pull/2438) -- Fix warnings in search box [#2479](https://github.com/storybooks/storybook/pull/2479) -- Migrate to marksy@6 [#2464](https://github.com/storybooks/storybook/pull/2464) -- Extract Jest config from package.json to config file [#2424](https://github.com/storybooks/storybook/pull/2424) -- Fix Horizontal Scrollbar of DownPanel [#2410](https://github.com/storybooks/storybook/pull/2410) -- Move `@storybook/addons` to peerDependencies in all addons [#2335](https://github.com/storybooks/storybook/pull/2335) -- Fix compatibility with @babel/core v7 [#2494](https://github.com/storybooks/storybook/pull/2494) -- Unmount after storyshot snapshot [#2417](https://github.com/storybooks/storybook/pull/2417) +- Remove redundant render in react [#2503](https://github.com/storybookjs/storybook/pull/2503) +- Addon-actions: Fix types and refactor [#2438](https://github.com/storybookjs/storybook/pull/2438) +- Fix warnings in search box [#2479](https://github.com/storybookjs/storybook/pull/2479) +- Migrate to marksy@6 [#2464](https://github.com/storybookjs/storybook/pull/2464) +- Extract Jest config from package.json to config file [#2424](https://github.com/storybookjs/storybook/pull/2424) +- Fix Horizontal Scrollbar of DownPanel [#2410](https://github.com/storybookjs/storybook/pull/2410) +- Move `@storybook/addons` to peerDependencies in all addons [#2335](https://github.com/storybookjs/storybook/pull/2335) +- Fix compatibility with @babel/core v7 [#2494](https://github.com/storybookjs/storybook/pull/2494) +- Unmount after storyshot snapshot [#2417](https://github.com/storybookjs/storybook/pull/2417) #### Documentation -- Addon-info: deep merge passed styles with default ones [#2449](https://github.com/storybooks/storybook/pull/2449) -- Test documentation duplication fix [#2228](https://github.com/storybooks/storybook/pull/2228) +- Addon-info: deep merge passed styles with default ones [#2449](https://github.com/storybookjs/storybook/pull/2449) +- Test documentation duplication fix [#2228](https://github.com/storybookjs/storybook/pull/2228) #### Maintenance -- Netlify for angularexample [#2533](https://github.com/storybooks/storybook/pull/2533) -- Netlify for officialexample [#2532](https://github.com/storybooks/storybook/pull/2532) -- Add a storybook for the ui package [#2504](https://github.com/storybooks/storybook/pull/2504) -- FIX the failing netlify builds [#2527](https://github.com/storybooks/storybook/pull/2527) -- fix tests not actually running [#2450](https://github.com/storybooks/storybook/pull/2450) -- Add method to channel that ignores event from self [#1879](https://github.com/storybooks/storybook/pull/1879) -- Fix broken CI build [#2255](https://github.com/storybooks/storybook/pull/2255) -- Fix unittest warnings r3.3 [#2381](https://github.com/storybooks/storybook/pull/2381) -- Move addon events into its own story file [#2502](https://github.com/storybooks/storybook/pull/2502) +- Netlify for angularexample [#2533](https://github.com/storybookjs/storybook/pull/2533) +- Netlify for officialexample [#2532](https://github.com/storybookjs/storybook/pull/2532) +- Add a storybook for the ui package [#2504](https://github.com/storybookjs/storybook/pull/2504) +- FIX the failing netlify builds [#2527](https://github.com/storybookjs/storybook/pull/2527) +- fix tests not actually running [#2450](https://github.com/storybookjs/storybook/pull/2450) +- Add method to channel that ignores event from self [#1879](https://github.com/storybookjs/storybook/pull/1879) +- Fix broken CI build [#2255](https://github.com/storybookjs/storybook/pull/2255) +- Fix unittest warnings r3.3 [#2381](https://github.com/storybookjs/storybook/pull/2381) +- Move addon events into its own story file [#2502](https://github.com/storybookjs/storybook/pull/2502) #### Dependency Upgrades @@ -5388,39 +5852,39 @@ We'll do a better job of getting out smaller releases next time around. ;-) 33 Upgrades -- Move back to original fuse.js package [#2478](https://github.com/storybooks/storybook/pull/2478) -- UPDATE "react-split-pane": "^0.1.74", to FIX an breaking issue [#2528](https://github.com/storybooks/storybook/pull/2528) -- Upgraded `gatsby-remark-copy-linked-files` in `/docs` from "1.5.24" to "1.5.25" [#2529](https://github.com/storybooks/storybook/pull/2529) -- Upgraded `gatsby` in `/docs` from "1.9.144" to "1.9.146" [#2529](https://github.com/storybooks/storybook/pull/2529) -- Update gatsby in /docs from 1.9.143 to 1.9.144 [#2524](https://github.com/storybooks/storybook/pull/2524) -- Update gatsby in /docs from 1.9.142 to 1.9.143 [#2521](https://github.com/storybooks/storybook/pull/2521) -- Upgraded `enzyme-adapter-react-16` in `/` from "1.1.0" to "1.1.1" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `jest-image-snapshot` in `/` from "2.2.0" to "2.2.1" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `axe-core` in `addons/a11y` from "2.5.0" to "2.6.0" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `moment` in `addons/knobs` from "2.20.0" to "2.20.1" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `vue` in `addons/knobs` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `vue` in `app/vue` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `vue-template-compiler` in `app/vue` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `moment` in `addons/comments` from "2.20.0" to "2.20.1" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `vue-template-compiler` in `examples/vue-kitchen-sink` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `@storybook/addon-actions` in `/docs` from "3.2.17" to "3.2.18" [#2519](https://github.com/storybooks/storybook/pull/2519) -- Upgraded `@storybook/addon-links` in `/docs` from "3.2.17" to "3.2.18" [#2519](https://github.com/storybooks/storybook/pull/2519) -- Upgraded `@storybook/addons` in `/docs` from "3.2.17" to "3.2.18" [#2519](https://github.com/storybooks/storybook/pull/2519) -- Upgraded `@storybook/react` in `/docs` from "3.2.17" to "3.2.18" [#2519](https://github.com/storybooks/storybook/pull/2519) -- Upgraded `gatsby` in `/docs` from "1.9.141" to "1.9.142" [#2519](https://github.com/storybooks/storybook/pull/2519) -- Upgraded `nodemon` in `/` from "1.13.2" to "1.13.3" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `graphql` in `addons/graphql` from "0.11.7" to "0.12.0" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `@types/react` in `addons/knobs` from "16.0.30" to "16.0.31" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `file-loader` in `app/react-native` from "1.1.5" to "1.1.6" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `file-loader` in `app/react` from "1.1.5" to "1.1.6" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `nodemon` in `app/react` from "1.13.2" to "1.13.3" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `file-loader` in `app/vue` from "1.1.5" to "1.1.6" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `nodemon` in `app/vue` from "1.13.2" to "1.13.3" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `vue-loader` in `app/vue` from "13.5.0" to "13.6.0" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `file-loader` in `examples/vue-kitchen-sink` from "1.1.5" to "1.1.6" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `vue-loader` in `examples/vue-kitchen-sink` from "13.5.0" to "13.6.0" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Update danger in / from 2.1.5 to 2.1.6 [#2511](https://github.com/storybooks/storybook/pull/2511) +- Move back to original fuse.js package [#2478](https://github.com/storybookjs/storybook/pull/2478) +- UPDATE "react-split-pane": "^0.1.74", to FIX an breaking issue [#2528](https://github.com/storybookjs/storybook/pull/2528) +- Upgraded `gatsby-remark-copy-linked-files` in `/docs` from "1.5.24" to "1.5.25" [#2529](https://github.com/storybookjs/storybook/pull/2529) +- Upgraded `gatsby` in `/docs` from "1.9.144" to "1.9.146" [#2529](https://github.com/storybookjs/storybook/pull/2529) +- Update gatsby in /docs from 1.9.143 to 1.9.144 [#2524](https://github.com/storybookjs/storybook/pull/2524) +- Update gatsby in /docs from 1.9.142 to 1.9.143 [#2521](https://github.com/storybookjs/storybook/pull/2521) +- Upgraded `enzyme-adapter-react-16` in `/` from "1.1.0" to "1.1.1" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `jest-image-snapshot` in `/` from "2.2.0" to "2.2.1" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `axe-core` in `addons/a11y` from "2.5.0" to "2.6.0" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `moment` in `addons/knobs` from "2.20.0" to "2.20.1" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `vue` in `addons/knobs` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `vue` in `app/vue` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `vue-template-compiler` in `app/vue` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `moment` in `addons/comments` from "2.20.0" to "2.20.1" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `vue-template-compiler` in `examples/vue-kitchen-sink` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `@storybook/addon-actions` in `/docs` from "3.2.17" to "3.2.18" [#2519](https://github.com/storybookjs/storybook/pull/2519) +- Upgraded `@storybook/addon-links` in `/docs` from "3.2.17" to "3.2.18" [#2519](https://github.com/storybookjs/storybook/pull/2519) +- Upgraded `@storybook/addons` in `/docs` from "3.2.17" to "3.2.18" [#2519](https://github.com/storybookjs/storybook/pull/2519) +- Upgraded `@storybook/react` in `/docs` from "3.2.17" to "3.2.18" [#2519](https://github.com/storybookjs/storybook/pull/2519) +- Upgraded `gatsby` in `/docs` from "1.9.141" to "1.9.142" [#2519](https://github.com/storybookjs/storybook/pull/2519) +- Upgraded `nodemon` in `/` from "1.13.2" to "1.13.3" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `graphql` in `addons/graphql` from "0.11.7" to "0.12.0" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `@types/react` in `addons/knobs` from "16.0.30" to "16.0.31" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `file-loader` in `app/react-native` from "1.1.5" to "1.1.6" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `file-loader` in `app/react` from "1.1.5" to "1.1.6" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `nodemon` in `app/react` from "1.13.2" to "1.13.3" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `file-loader` in `app/vue` from "1.1.5" to "1.1.6" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `nodemon` in `app/vue` from "1.13.2" to "1.13.3" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `vue-loader` in `app/vue` from "13.5.0" to "13.6.0" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `file-loader` in `examples/vue-kitchen-sink` from "1.1.5" to "1.1.6" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `vue-loader` in `examples/vue-kitchen-sink` from "13.5.0" to "13.6.0" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Update danger in / from 2.1.5 to 2.1.6 [#2511](https://github.com/storybookjs/storybook/pull/2511) @@ -5430,8 +5894,8 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Bug Fixes -- Fix HMR by saving the preview frame URL as the story changes [#2349](https://github.com/storybooks/storybook/pull/2349) -- Fix CLI babel transpilation [#2350](https://github.com/storybooks/storybook/pull/2350) +- Fix HMR by saving the preview frame URL as the story changes [#2349](https://github.com/storybookjs/storybook/pull/2349) +- Fix CLI babel transpilation [#2350](https://github.com/storybookjs/storybook/pull/2350) ## 3.3.0-alpha.3 @@ -5439,42 +5903,42 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Features -- Add angular support: Storybook for Angular [#1474](https://github.com/storybooks/storybook/pull/1474) -- Fix addon Knobs: add array in Object PropTypes [#2227](https://github.com/storybooks/storybook/pull/2227) -- Adds error when storyshots finds no stories [#2079](https://github.com/storybooks/storybook/pull/2079) -- Add addon background to monorepo [#2220](https://github.com/storybooks/storybook/pull/2220) -- Add ability to parse line breaks into
    for Docgen descriptions [#2053](https://github.com/storybooks/storybook/pull/2053) +- Add angular support: Storybook for Angular [#1474](https://github.com/storybookjs/storybook/pull/1474) +- Fix addon Knobs: add array in Object PropTypes [#2227](https://github.com/storybookjs/storybook/pull/2227) +- Adds error when storyshots finds no stories [#2079](https://github.com/storybookjs/storybook/pull/2079) +- Add addon background to monorepo [#2220](https://github.com/storybookjs/storybook/pull/2220) +- Add ability to parse line breaks into
    for Docgen descriptions [#2053](https://github.com/storybookjs/storybook/pull/2053) #### Bug Fixes -- Move LinkTo component to a separate `addon-links/react` endpoint [#2239](https://github.com/storybooks/storybook/pull/2239) -- Fix Array Knob deserialization [#2217](https://github.com/storybooks/storybook/pull/2217) -- Return the test in storyshots to respect promises. [#2218](https://github.com/storybooks/storybook/pull/2218) -- Knobs refactor accidentally removed select [#2210](https://github.com/storybooks/storybook/pull/2210) -- Add HMR to other RN app templates [#2213](https://github.com/storybooks/storybook/pull/2213) -- Autoload all `*.stories.js` files in cli templates [#2195](https://github.com/storybooks/storybook/pull/2195) -- Fix info upgrade codemod failing when optional description string is not supplied [#2138](https://github.com/storybooks/storybook/pull/2138) -- Fix `flex-basis` of `DownPanel` content div [#2126](https://github.com/storybooks/storybook/pull/2126) +- Move LinkTo component to a separate `addon-links/react` endpoint [#2239](https://github.com/storybookjs/storybook/pull/2239) +- Fix Array Knob deserialization [#2217](https://github.com/storybookjs/storybook/pull/2217) +- Return the test in storyshots to respect promises. [#2218](https://github.com/storybookjs/storybook/pull/2218) +- Knobs refactor accidentally removed select [#2210](https://github.com/storybookjs/storybook/pull/2210) +- Add HMR to other RN app templates [#2213](https://github.com/storybookjs/storybook/pull/2213) +- Autoload all `*.stories.js` files in cli templates [#2195](https://github.com/storybookjs/storybook/pull/2195) +- Fix info upgrade codemod failing when optional description string is not supplied [#2138](https://github.com/storybookjs/storybook/pull/2138) +- Fix `flex-basis` of `DownPanel` content div [#2126](https://github.com/storybookjs/storybook/pull/2126) #### Documentation -- Updated local test documentation [#2224](https://github.com/storybooks/storybook/pull/2224) -- Add state addon to the addons page [#2012](https://github.com/storybooks/storybook/pull/2012) -- Add community addon to add the ability to customize styles in the story preview area [#2007](https://github.com/storybooks/storybook/pull/2007) -- Add Figma addon to community supported section [#2009](https://github.com/storybooks/storybook/pull/2009) -- Update storybook-router description in the addon gallery. [#1991](https://github.com/storybooks/storybook/pull/1991) +- Updated local test documentation [#2224](https://github.com/storybookjs/storybook/pull/2224) +- Add state addon to the addons page [#2012](https://github.com/storybookjs/storybook/pull/2012) +- Add community addon to add the ability to customize styles in the story preview area [#2007](https://github.com/storybookjs/storybook/pull/2007) +- Add Figma addon to community supported section [#2009](https://github.com/storybookjs/storybook/pull/2009) +- Update storybook-router description in the addon gallery. [#1991](https://github.com/storybookjs/storybook/pull/1991) #### Maintenance -- FIX `yarn test` & selecting only core [#2219](https://github.com/storybooks/storybook/pull/2219) -- CLI test: always remove `run` directory before exiting [#2201](https://github.com/storybooks/storybook/pull/2201) -- Bot for closing old issues [#2186](https://github.com/storybooks/storybook/pull/2186) +- FIX `yarn test` & selecting only core [#2219](https://github.com/storybookjs/storybook/pull/2219) +- CLI test: always remove `run` directory before exiting [#2201](https://github.com/storybookjs/storybook/pull/2201) +- Bot for closing old issues [#2186](https://github.com/storybookjs/storybook/pull/2186) #### Dependency Upgrades -- Update react-native from 0.43.4 to 0.49.3 in app/react-native [#1971](https://github.com/storybooks/storybook/pull/1971) -- React-Native - Docs - Add Issues section for Android Emulator [#2078](https://github.com/storybooks/storybook/pull/2078) -- Upgrade eslint-config-airbnb and make it pass [#2212](https://github.com/storybooks/storybook/pull/2212) +- Update react-native from 0.43.4 to 0.49.3 in app/react-native [#1971](https://github.com/storybookjs/storybook/pull/1971) +- React-Native - Docs - Add Issues section for Android Emulator [#2078](https://github.com/storybookjs/storybook/pull/2078) +- Upgrade eslint-config-airbnb and make it pass [#2212](https://github.com/storybookjs/storybook/pull/2212) ## 3.3.0-alpha.2 @@ -5482,51 +5946,51 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Features -- Ability for custom storyshots testFunctions to utilise "snapshot per story file" [#1841](https://github.com/storybooks/storybook/pull/1841) -- Viewport Addon [#1753](https://github.com/storybooks/storybook/pull/1753) -- More detailed props table [#1485](https://github.com/storybooks/storybook/pull/1485) -- RN: Add accessibility labels to OnDeviceUI [#1780](https://github.com/storybooks/storybook/pull/1780) -- Have Stories on each level of hierarchy [#1763](https://github.com/storybooks/storybook/pull/1763) -- Viewport Addon [#1740](https://github.com/storybooks/storybook/pull/1740) -- Generate snapshot per story file [#1584](https://github.com/storybooks/storybook/pull/1584) -- addon-links: add `LinkTo` component, and `hrefTo` function [#1829](https://github.com/storybooks/storybook/pull/1829) +- Ability for custom storyshots testFunctions to utilise "snapshot per story file" [#1841](https://github.com/storybookjs/storybook/pull/1841) +- Viewport Addon [#1753](https://github.com/storybookjs/storybook/pull/1753) +- More detailed props table [#1485](https://github.com/storybookjs/storybook/pull/1485) +- RN: Add accessibility labels to OnDeviceUI [#1780](https://github.com/storybookjs/storybook/pull/1780) +- Have Stories on each level of hierarchy [#1763](https://github.com/storybookjs/storybook/pull/1763) +- Viewport Addon [#1740](https://github.com/storybookjs/storybook/pull/1740) +- Generate snapshot per story file [#1584](https://github.com/storybookjs/storybook/pull/1584) +- addon-links: add `LinkTo` component, and `hrefTo` function [#1829](https://github.com/storybookjs/storybook/pull/1829) #### Bug Fixes -- CLI: Use actions in sample stories for vue + fix them in SFC_VUE template [#1867](https://github.com/storybooks/storybook/pull/1867) -- Improve rendering of 'types' in addon-actions [#1887](https://github.com/storybooks/storybook/pull/1887) -- Circular json can possibly hang [#1881](https://github.com/storybooks/storybook/pull/1881) -- Use HtmlWebpackPlugin to import all assets (importing chunks in order) [#1775](https://github.com/storybooks/storybook/pull/1775) -- Fix preview scrolling [#1782](https://github.com/storybooks/storybook/pull/1782) -- Search box: make found options selectable with click [#1697](https://github.com/storybooks/storybook/pull/1697) -- Fix Docgen in static builds for Info [#1725](https://github.com/storybooks/storybook/pull/1725) -- Return empty array when Array knob is empty [#1811](https://github.com/storybooks/storybook/pull/1811) +- CLI: Use actions in sample stories for vue + fix them in SFC_VUE template [#1867](https://github.com/storybookjs/storybook/pull/1867) +- Improve rendering of 'types' in addon-actions [#1887](https://github.com/storybookjs/storybook/pull/1887) +- Circular json can possibly hang [#1881](https://github.com/storybookjs/storybook/pull/1881) +- Use HtmlWebpackPlugin to import all assets (importing chunks in order) [#1775](https://github.com/storybookjs/storybook/pull/1775) +- Fix preview scrolling [#1782](https://github.com/storybookjs/storybook/pull/1782) +- Search box: make found options selectable with click [#1697](https://github.com/storybookjs/storybook/pull/1697) +- Fix Docgen in static builds for Info [#1725](https://github.com/storybookjs/storybook/pull/1725) +- Return empty array when Array knob is empty [#1811](https://github.com/storybookjs/storybook/pull/1811) #### Documentation -- Make dependencies more deterministic [#1703](https://github.com/storybooks/storybook/pull/1703) -- Synced changes from new-docs to CONTRIBUTING.md [#1911](https://github.com/storybooks/storybook/pull/1911) -- Fix incorrect yarn command in docs [#1758](https://github.com/storybooks/storybook/pull/1758) +- Make dependencies more deterministic [#1703](https://github.com/storybookjs/storybook/pull/1703) +- Synced changes from new-docs to CONTRIBUTING.md [#1911](https://github.com/storybookjs/storybook/pull/1911) +- Fix incorrect yarn command in docs [#1758](https://github.com/storybookjs/storybook/pull/1758) #### Maintenance -- Drop "Install latest yarn version" step on CI [#1910](https://github.com/storybooks/storybook/pull/1910) -- CLI: A more human-friendly message for undetected project types [#1825](https://github.com/storybooks/storybook/pull/1825) -- CLI: handle promise rejections [#1826](https://github.com/storybooks/storybook/pull/1826) -- Add tests for CLI [#1767](https://github.com/storybooks/storybook/pull/1767) -- Yarn workspaces [#1810](https://github.com/storybooks/storybook/pull/1810) -- Knobs: allow arrays in object knob proptypes [#1701](https://github.com/storybooks/storybook/pull/1701) -- Deprecate confusing option names [#1692](https://github.com/storybooks/storybook/pull/1692) -- A CLI for running specific tests suites, like bootstrap CLI [#1752](https://github.com/storybooks/storybook/pull/1752) -- Remove check for sender on channel. [#1407](https://github.com/storybooks/storybook/pull/1407) -- Exit with code 1 if `start-storybook --smoke-test` fails [#1851](https://github.com/storybooks/storybook/pull/1851) -- Refactor CLI [#1840](https://github.com/storybooks/storybook/pull/1840) -- Refactor knobs - no longer include all runtimes [#1832](https://github.com/storybooks/storybook/pull/1832) -- Added addon-knobs to crna and vanilla react native. [#1636](https://github.com/storybooks/storybook/pull/1636) +- Drop "Install latest yarn version" step on CI [#1910](https://github.com/storybookjs/storybook/pull/1910) +- CLI: A more human-friendly message for undetected project types [#1825](https://github.com/storybookjs/storybook/pull/1825) +- CLI: handle promise rejections [#1826](https://github.com/storybookjs/storybook/pull/1826) +- Add tests for CLI [#1767](https://github.com/storybookjs/storybook/pull/1767) +- Yarn workspaces [#1810](https://github.com/storybookjs/storybook/pull/1810) +- Knobs: allow arrays in object knob proptypes [#1701](https://github.com/storybookjs/storybook/pull/1701) +- Deprecate confusing option names [#1692](https://github.com/storybookjs/storybook/pull/1692) +- A CLI for running specific tests suites, like bootstrap CLI [#1752](https://github.com/storybookjs/storybook/pull/1752) +- Remove check for sender on channel. [#1407](https://github.com/storybookjs/storybook/pull/1407) +- Exit with code 1 if `start-storybook --smoke-test` fails [#1851](https://github.com/storybookjs/storybook/pull/1851) +- Refactor CLI [#1840](https://github.com/storybookjs/storybook/pull/1840) +- Refactor knobs - no longer include all runtimes [#1832](https://github.com/storybookjs/storybook/pull/1832) +- Added addon-knobs to crna and vanilla react native. [#1636](https://github.com/storybookjs/storybook/pull/1636) #### Dependency Upgrades -- Add config for dependencies.io [#1770](https://github.com/storybooks/storybook/pull/1770) +- Add config for dependencies.io [#1770](https://github.com/storybookjs/storybook/pull/1770) ## 3.3.0-alpha.0 @@ -5534,49 +5998,49 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Features -- Viewport addon: simulate device sizes in preview window [#1753](https://github.com/storybooks/storybook/pull/1753) -- CLI: Add codemod for deprecated addon-links and addon-actions from app [#1368](https://github.com/storybooks/storybook/pull/1368) -- Info addon: More detailed props table [#1485](https://github.com/storybooks/storybook/pull/1485) -- React native: Add accessibility labels to OnDeviceUI [#1780](https://github.com/storybooks/storybook/pull/1780) -- Stories panel: Stories on each hierarchy level [#1763](https://github.com/storybooks/storybook/pull/1763) -- Storyshots: Generate snapshot per story file [#1584](https://github.com/storybooks/storybook/pull/1584) -- CLI: Add support for Vue projects using Nuxt [#1794](https://github.com/storybooks/storybook/pull/1794) +- Viewport addon: simulate device sizes in preview window [#1753](https://github.com/storybookjs/storybook/pull/1753) +- CLI: Add codemod for deprecated addon-links and addon-actions from app [#1368](https://github.com/storybookjs/storybook/pull/1368) +- Info addon: More detailed props table [#1485](https://github.com/storybookjs/storybook/pull/1485) +- React native: Add accessibility labels to OnDeviceUI [#1780](https://github.com/storybookjs/storybook/pull/1780) +- Stories panel: Stories on each hierarchy level [#1763](https://github.com/storybookjs/storybook/pull/1763) +- Storyshots: Generate snapshot per story file [#1584](https://github.com/storybookjs/storybook/pull/1584) +- CLI: Add support for Vue projects using Nuxt [#1794](https://github.com/storybookjs/storybook/pull/1794) #### Bug Fixes -- Import chunks/assets in correct order using HtmlWebpackPlugin [#1775](https://github.com/storybooks/storybook/pull/1775) -- Fix preview scrolling [#1782](https://github.com/storybooks/storybook/pull/1782) -- Height aligned 2 buttons in manager's header [#1769](https://github.com/storybooks/storybook/pull/1769) -- Search box: make found options selectable with click [#1697](https://github.com/storybooks/storybook/pull/1697) -- Info addon: Fix Docgen in static builds [#1725](https://github.com/storybooks/storybook/pull/1725) -- Knobs: allow arrays in object knob proptypes [#1701](https://github.com/storybooks/storybook/pull/1701) +- Import chunks/assets in correct order using HtmlWebpackPlugin [#1775](https://github.com/storybookjs/storybook/pull/1775) +- Fix preview scrolling [#1782](https://github.com/storybookjs/storybook/pull/1782) +- Height aligned 2 buttons in manager's header [#1769](https://github.com/storybookjs/storybook/pull/1769) +- Search box: make found options selectable with click [#1697](https://github.com/storybookjs/storybook/pull/1697) +- Info addon: Fix Docgen in static builds [#1725](https://github.com/storybookjs/storybook/pull/1725) +- Knobs: allow arrays in object knob proptypes [#1701](https://github.com/storybookjs/storybook/pull/1701) #### Documentation -- Improve linkTo documentation [#1793](https://github.com/storybooks/storybook/pull/1793) -- Add carbon to examples page [#1764](https://github.com/storybooks/storybook/pull/1764) -- Minor grammar fixes and clarification to Vue documentation [#1756](https://github.com/storybooks/storybook/pull/1756) -- Fix incorrect yarn command in docs [#1758](https://github.com/storybooks/storybook/pull/1758) -- Add storybook-chrome-screenshot to addon gallery [#1761](https://github.com/storybooks/storybook/pull/1761) -- Fixing typo on VueJS withNotes Example [#1787](https://github.com/storybooks/storybook/pull/1787) +- Improve linkTo documentation [#1793](https://github.com/storybookjs/storybook/pull/1793) +- Add carbon to examples page [#1764](https://github.com/storybookjs/storybook/pull/1764) +- Minor grammar fixes and clarification to Vue documentation [#1756](https://github.com/storybookjs/storybook/pull/1756) +- Fix incorrect yarn command in docs [#1758](https://github.com/storybookjs/storybook/pull/1758) +- Add storybook-chrome-screenshot to addon gallery [#1761](https://github.com/storybookjs/storybook/pull/1761) +- Fixing typo on VueJS withNotes Example [#1787](https://github.com/storybookjs/storybook/pull/1787) #### Maintenance -- Deprecate confusing option names [#1692](https://github.com/storybooks/storybook/pull/1692) -- A CLI for running specific tests suites, like bootstrap CLI [#1752](https://github.com/storybooks/storybook/pull/1752) -- Remove check for sender on channel. [#1407](https://github.com/storybooks/storybook/pull/1407) -- Use yarn instead of NPM [#1703](https://github.com/storybooks/storybook/pull/1703) -- Add config for dependencies.io [#1770](https://github.com/storybooks/storybook/pull/1770) -- Added addon-knobs to crna and vanilla react native. [#1636](https://github.com/storybooks/storybook/pull/1636) -- Fixed Jest warnings [#1744](https://github.com/storybooks/storybook/pull/1744) -- Smoke test master [#1801](https://github.com/storybooks/storybook/pull/1801) +- Deprecate confusing option names [#1692](https://github.com/storybookjs/storybook/pull/1692) +- A CLI for running specific tests suites, like bootstrap CLI [#1752](https://github.com/storybookjs/storybook/pull/1752) +- Remove check for sender on channel. [#1407](https://github.com/storybookjs/storybook/pull/1407) +- Use yarn instead of NPM [#1703](https://github.com/storybookjs/storybook/pull/1703) +- Add config for dependencies.io [#1770](https://github.com/storybookjs/storybook/pull/1770) +- Added addon-knobs to crna and vanilla react native. [#1636](https://github.com/storybookjs/storybook/pull/1636) +- Fixed Jest warnings [#1744](https://github.com/storybookjs/storybook/pull/1744) +- Smoke test master [#1801](https://github.com/storybookjs/storybook/pull/1801) #### Dependency Upgrades -- Upgrade root dependencies and sync with packages [#1802](https://github.com/storybooks/storybook/pull/1802) -- Update jest to the latest version 🚀 [#1799](https://github.com/storybooks/storybook/pull/1799) -- Update eslint-plugin-jest to the latest version 🚀 [#1795](https://github.com/storybooks/storybook/pull/1795) -- Update lerna to the latest version 🚀 [#1768](https://github.com/storybooks/storybook/pull/1768) +- Upgrade root dependencies and sync with packages [#1802](https://github.com/storybookjs/storybook/pull/1802) +- Update jest to the latest version 🚀 [#1799](https://github.com/storybookjs/storybook/pull/1799) +- Update eslint-plugin-jest to the latest version 🚀 [#1795](https://github.com/storybookjs/storybook/pull/1795) +- Update lerna to the latest version 🚀 [#1768](https://github.com/storybookjs/storybook/pull/1768) ## 3.2.19 @@ -5584,15 +6048,15 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Bug Fixes -- fix compatibility with @babel/core v7 [#2494](https://github.com/storybooks/storybook/pull/2494) +- fix compatibility with @babel/core v7 [#2494](https://github.com/storybookjs/storybook/pull/2494) #### Maintenance -- FIX the failing netlify builds [#2527](https://github.com/storybooks/storybook/pull/2527) +- FIX the failing netlify builds [#2527](https://github.com/storybookjs/storybook/pull/2527) #### Documentation -- UPDATE readme with new slackin link [#2536](https://github.com/storybooks/storybook/pull/2536) +- UPDATE readme with new slackin link [#2536](https://github.com/storybookjs/storybook/pull/2536) #### Dependency Upgrades @@ -5600,61 +6064,61 @@ We'll do a better job of getting out smaller releases next time around. ;-) 55 Updates -- UPDATE "react-split-pane": "^0.1.74", to FIX an breaking issue [#2528](https://github.com/storybooks/storybook/pull/2528) -- Upgraded `cross-env` in `/` from "5.1.1" to "5.1.3" [#2540](https://github.com/storybooks/storybook/pull/2540) -- Upgraded `nodemon` in `/` from "1.13.3" to "1.14.3" [#2540](https://github.com/storybooks/storybook/pull/2540) -- Upgraded `glamorous` in `lib/components` from "4.11.0" to "4.11.2" [#2540](https://github.com/storybooks/storybook/pull/2540) -- Upgraded `glamorous` in `addons/jest` from "4.11.0" to "4.11.2" [#2540](https://github.com/storybooks/storybook/pull/2540) -- Upgraded `@types/node` in `addons/knobs` from "8.5.1" to "8.5.2" [#2540](https://github.com/storybooks/storybook/pull/2540) -- Upgraded `vue` in `addons/knobs` from "2.5.12" to "2.5.13" [#2540](https://github.com/storybooks/storybook/pull/2540) -- Upgraded `common-tags` in `app/react` from "1.5.1" to "1.6.0" [#2540](https://github.com/storybooks/storybook/pull/2540) -- Upgraded `glamorous` in `app/react` from "4.11.0" to "4.11.2" [#2540](https://github.com/storybooks/storybook/pull/2540) -- Upgraded `nodemon` in `app/react` from "1.13.3" to "1.14.3" [#2540](https://github.com/storybooks/storybook/pull/2540) -- Upgraded `common-tags` in `app/vue` from "1.5.1" to "1.6.0" [#2540](https://github.com/storybooks/storybook/pull/2540) -- Upgraded `nodemon` in `app/vue` from "1.13.3" to "1.14.3" [#2540](https://github.com/storybooks/storybook/pull/2540) -- Upgraded `vue` in `app/vue` from "2.5.12" to "2.5.13" [#2540](https://github.com/storybooks/storybook/pull/2540) -- Upgraded `vue-loader` in `app/vue` from "13.6.0" to "13.6.1" [#2540](https://github.com/storybooks/storybook/pull/2540) -- Upgraded `vue-template-compiler` in `app/vue` from "2.5.12" to "2.5.13" [#2540](https://github.com/storybooks/storybook/pull/2540) -- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.12" to "2.5.13" [#2540](https://github.com/storybooks/storybook/pull/2540) -- Upgraded `cross-env` in `examples/vue-kitchen-sink` from "5.1.1" to "5.1.3" [#2540](https://github.com/storybooks/storybook/pull/2540) -- Upgraded `vue-loader` in `examples/vue-kitchen-sink` from "13.6.0" to "13.6.1" [#2540](https://github.com/storybooks/storybook/pull/2540) -- Upgraded `vue-template-compiler` in `examples/vue-kitchen-sink` from "2.5.12" to "2.5.13" [#2540](https://github.com/storybooks/storybook/pull/2540) -- Upgraded `glamorous` in `examples/cra-kitchen-sink` from "4.11.0" to "4.11.2" [#2540](https://github.com/storybooks/storybook/pull/2540) -- Upgraded `gatsby-remark-autolink-headers` in `/docs` from "1.4.10" to "1.4.11" [#2541](https://github.com/storybooks/storybook/pull/2541) -- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.25" to "1.7.26" [#2541](https://github.com/storybooks/storybook/pull/2541) -- Upgraded `gatsby` in `/docs` from "1.9.148" to "1.9.149" [#2541](https://github.com/storybooks/storybook/pull/2541) -- Update gatsby in /docs from 1.9.146 to 1.9.147 [#2535](https://github.com/storybooks/storybook/pull/2535) -- Upgraded `gatsby-remark-copy-linked-files` in `/docs` from "1.5.24" to "1.5.25" [#2529](https://github.com/storybooks/storybook/pull/2529) -- Upgraded `gatsby` in `/docs` from "1.9.144" to "1.9.146" [#2529](https://github.com/storybooks/storybook/pull/2529) -- Update gatsby in /docs from 1.9.143 to 1.9.144 [#2524](https://github.com/storybooks/storybook/pull/2524) -- Update gatsby in /docs from 1.9.142 to 1.9.143 [#2521](https://github.com/storybooks/storybook/pull/2521) -- Upgraded `enzyme-adapter-react-16` in `/` from "1.1.0" to "1.1.1" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `jest-image-snapshot` in `/` from "2.2.0" to "2.2.1" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `axe-core` in `addons/a11y` from "2.5.0" to "2.6.0" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `moment` in `addons/knobs` from "2.20.0" to "2.20.1" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `vue` in `addons/knobs` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `vue` in `app/vue` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `vue-template-compiler` in `app/vue` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `moment` in `addons/comments` from "2.20.0" to "2.20.1" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `vue-template-compiler` in `examples/vue-kitchen-sink` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybooks/storybook/pull/2520) -- Upgraded `@storybook/addon-actions` in `/docs` from "3.2.17" to "3.2.18" [#2519](https://github.com/storybooks/storybook/pull/2519) -- Upgraded `@storybook/addon-links` in `/docs` from "3.2.17" to "3.2.18" [#2519](https://github.com/storybooks/storybook/pull/2519) -- Upgraded `@storybook/addons` in `/docs` from "3.2.17" to "3.2.18" [#2519](https://github.com/storybooks/storybook/pull/2519) -- Upgraded `@storybook/react` in `/docs` from "3.2.17" to "3.2.18" [#2519](https://github.com/storybooks/storybook/pull/2519) -- Upgraded `gatsby` in `/docs` from "1.9.141" to "1.9.142" [#2519](https://github.com/storybooks/storybook/pull/2519) -- Upgraded `nodemon` in `/` from "1.13.2" to "1.13.3" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `graphql` in `addons/graphql` from "0.11.7" to "0.12.0" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `@types/react` in `addons/knobs` from "16.0.30" to "16.0.31" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `file-loader` in `app/react-native` from "1.1.5" to "1.1.6" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `file-loader` in `app/react` from "1.1.5" to "1.1.6" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `nodemon` in `app/react` from "1.13.2" to "1.13.3" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `file-loader` in `app/vue` from "1.1.5" to "1.1.6" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `nodemon` in `app/vue` from "1.13.2" to "1.13.3" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `vue-loader` in `app/vue` from "13.5.0" to "13.6.0" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `file-loader` in `examples/vue-kitchen-sink` from "1.1.5" to "1.1.6" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Upgraded `vue-loader` in `examples/vue-kitchen-sink` from "13.5.0" to "13.6.0" [#2498](https://github.com/storybooks/storybook/pull/2498) -- Update danger in / from 2.1.5 to 2.1.6 [#2511](https://github.com/storybooks/storybook/pull/2511) +- UPDATE "react-split-pane": "^0.1.74", to FIX an breaking issue [#2528](https://github.com/storybookjs/storybook/pull/2528) +- Upgraded `cross-env` in `/` from "5.1.1" to "5.1.3" [#2540](https://github.com/storybookjs/storybook/pull/2540) +- Upgraded `nodemon` in `/` from "1.13.3" to "1.14.3" [#2540](https://github.com/storybookjs/storybook/pull/2540) +- Upgraded `glamorous` in `lib/components` from "4.11.0" to "4.11.2" [#2540](https://github.com/storybookjs/storybook/pull/2540) +- Upgraded `glamorous` in `addons/jest` from "4.11.0" to "4.11.2" [#2540](https://github.com/storybookjs/storybook/pull/2540) +- Upgraded `@types/node` in `addons/knobs` from "8.5.1" to "8.5.2" [#2540](https://github.com/storybookjs/storybook/pull/2540) +- Upgraded `vue` in `addons/knobs` from "2.5.12" to "2.5.13" [#2540](https://github.com/storybookjs/storybook/pull/2540) +- Upgraded `common-tags` in `app/react` from "1.5.1" to "1.6.0" [#2540](https://github.com/storybookjs/storybook/pull/2540) +- Upgraded `glamorous` in `app/react` from "4.11.0" to "4.11.2" [#2540](https://github.com/storybookjs/storybook/pull/2540) +- Upgraded `nodemon` in `app/react` from "1.13.3" to "1.14.3" [#2540](https://github.com/storybookjs/storybook/pull/2540) +- Upgraded `common-tags` in `app/vue` from "1.5.1" to "1.6.0" [#2540](https://github.com/storybookjs/storybook/pull/2540) +- Upgraded `nodemon` in `app/vue` from "1.13.3" to "1.14.3" [#2540](https://github.com/storybookjs/storybook/pull/2540) +- Upgraded `vue` in `app/vue` from "2.5.12" to "2.5.13" [#2540](https://github.com/storybookjs/storybook/pull/2540) +- Upgraded `vue-loader` in `app/vue` from "13.6.0" to "13.6.1" [#2540](https://github.com/storybookjs/storybook/pull/2540) +- Upgraded `vue-template-compiler` in `app/vue` from "2.5.12" to "2.5.13" [#2540](https://github.com/storybookjs/storybook/pull/2540) +- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.12" to "2.5.13" [#2540](https://github.com/storybookjs/storybook/pull/2540) +- Upgraded `cross-env` in `examples/vue-kitchen-sink` from "5.1.1" to "5.1.3" [#2540](https://github.com/storybookjs/storybook/pull/2540) +- Upgraded `vue-loader` in `examples/vue-kitchen-sink` from "13.6.0" to "13.6.1" [#2540](https://github.com/storybookjs/storybook/pull/2540) +- Upgraded `vue-template-compiler` in `examples/vue-kitchen-sink` from "2.5.12" to "2.5.13" [#2540](https://github.com/storybookjs/storybook/pull/2540) +- Upgraded `glamorous` in `examples/cra-kitchen-sink` from "4.11.0" to "4.11.2" [#2540](https://github.com/storybookjs/storybook/pull/2540) +- Upgraded `gatsby-remark-autolink-headers` in `/docs` from "1.4.10" to "1.4.11" [#2541](https://github.com/storybookjs/storybook/pull/2541) +- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.25" to "1.7.26" [#2541](https://github.com/storybookjs/storybook/pull/2541) +- Upgraded `gatsby` in `/docs` from "1.9.148" to "1.9.149" [#2541](https://github.com/storybookjs/storybook/pull/2541) +- Update gatsby in /docs from 1.9.146 to 1.9.147 [#2535](https://github.com/storybookjs/storybook/pull/2535) +- Upgraded `gatsby-remark-copy-linked-files` in `/docs` from "1.5.24" to "1.5.25" [#2529](https://github.com/storybookjs/storybook/pull/2529) +- Upgraded `gatsby` in `/docs` from "1.9.144" to "1.9.146" [#2529](https://github.com/storybookjs/storybook/pull/2529) +- Update gatsby in /docs from 1.9.143 to 1.9.144 [#2524](https://github.com/storybookjs/storybook/pull/2524) +- Update gatsby in /docs from 1.9.142 to 1.9.143 [#2521](https://github.com/storybookjs/storybook/pull/2521) +- Upgraded `enzyme-adapter-react-16` in `/` from "1.1.0" to "1.1.1" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `jest-image-snapshot` in `/` from "2.2.0" to "2.2.1" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `axe-core` in `addons/a11y` from "2.5.0" to "2.6.0" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `moment` in `addons/knobs` from "2.20.0" to "2.20.1" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `vue` in `addons/knobs` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `vue` in `app/vue` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `vue-template-compiler` in `app/vue` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `moment` in `addons/comments` from "2.20.0" to "2.20.1" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `vue-template-compiler` in `examples/vue-kitchen-sink` from "2.5.11" to "2.5.12" [#2520](https://github.com/storybookjs/storybook/pull/2520) +- Upgraded `@storybook/addon-actions` in `/docs` from "3.2.17" to "3.2.18" [#2519](https://github.com/storybookjs/storybook/pull/2519) +- Upgraded `@storybook/addon-links` in `/docs` from "3.2.17" to "3.2.18" [#2519](https://github.com/storybookjs/storybook/pull/2519) +- Upgraded `@storybook/addons` in `/docs` from "3.2.17" to "3.2.18" [#2519](https://github.com/storybookjs/storybook/pull/2519) +- Upgraded `@storybook/react` in `/docs` from "3.2.17" to "3.2.18" [#2519](https://github.com/storybookjs/storybook/pull/2519) +- Upgraded `gatsby` in `/docs` from "1.9.141" to "1.9.142" [#2519](https://github.com/storybookjs/storybook/pull/2519) +- Upgraded `nodemon` in `/` from "1.13.2" to "1.13.3" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `graphql` in `addons/graphql` from "0.11.7" to "0.12.0" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `@types/react` in `addons/knobs` from "16.0.30" to "16.0.31" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `file-loader` in `app/react-native` from "1.1.5" to "1.1.6" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `file-loader` in `app/react` from "1.1.5" to "1.1.6" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `nodemon` in `app/react` from "1.13.2" to "1.13.3" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `file-loader` in `app/vue` from "1.1.5" to "1.1.6" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `nodemon` in `app/vue` from "1.13.2" to "1.13.3" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `vue-loader` in `app/vue` from "13.5.0" to "13.6.0" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `file-loader` in `examples/vue-kitchen-sink` from "1.1.5" to "1.1.6" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Upgraded `vue-loader` in `examples/vue-kitchen-sink` from "13.5.0" to "13.6.0" [#2498](https://github.com/storybookjs/storybook/pull/2498) +- Update danger in / from 2.1.5 to 2.1.6 [#2511](https://github.com/storybookjs/storybook/pull/2511) @@ -5664,24 +6128,24 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Bug Fixes -- Number knob: apply default min/max/step values only in range mode [#2437](https://github.com/storybooks/storybook/pull/2437) -- `addon-actions` Check result of getPropertyDescriptor for IE11 [#2428](https://github.com/storybooks/storybook/pull/2428) -- Edited template of search box result item to fix overflow text in row [#2419](https://github.com/storybooks/storybook/pull/2419) -- Fix missing supported extension check in case when asset is a string [#2468](https://github.com/storybooks/storybook/pull/2468) +- Number knob: apply default min/max/step values only in range mode [#2437](https://github.com/storybookjs/storybook/pull/2437) +- `addon-actions` Check result of getPropertyDescriptor for IE11 [#2428](https://github.com/storybookjs/storybook/pull/2428) +- Edited template of search box result item to fix overflow text in row [#2419](https://github.com/storybookjs/storybook/pull/2419) +- Fix missing supported extension check in case when asset is a string [#2468](https://github.com/storybookjs/storybook/pull/2468) #### Documentation -- Fix react-native-vanilla to actually run storybook and document how to run it [#2274](https://github.com/storybooks/storybook/pull/2274) -- Add another state addon to the gallery [#2391](https://github.com/storybooks/storybook/pull/2391) -- Create ISSUE_TEMPLATE.md [#2426](https://github.com/storybooks/storybook/pull/2426) -- fix Button dependency & typo in composant name in documentation [#2465](https://github.com/storybooks/storybook/pull/2465) -- add vue storybook boilerplate [#2421](https://github.com/storybooks/storybook/pull/2421) -- fix: update links to webpack docs [#2512](https://github.com/storybooks/storybook/pull/2512) +- Fix react-native-vanilla to actually run storybook and document how to run it [#2274](https://github.com/storybookjs/storybook/pull/2274) +- Add another state addon to the gallery [#2391](https://github.com/storybookjs/storybook/pull/2391) +- Create ISSUE_TEMPLATE.md [#2426](https://github.com/storybookjs/storybook/pull/2426) +- fix Button dependency & typo in composant name in documentation [#2465](https://github.com/storybookjs/storybook/pull/2465) +- add vue storybook boilerplate [#2421](https://github.com/storybookjs/storybook/pull/2421) +- fix: update links to webpack docs [#2512](https://github.com/storybookjs/storybook/pull/2512) #### Maintenance -- Do not remove debugger-statements during development [#2493](https://github.com/storybooks/storybook/pull/2493) -- FIX react-native-test in CI [#2444](https://github.com/storybooks/storybook/pull/2444) +- Do not remove debugger-statements during development [#2493](https://github.com/storybookjs/storybook/pull/2493) +- FIX react-native-test in CI [#2444](https://github.com/storybookjs/storybook/pull/2444) #### Dependency Upgrades @@ -5690,145 +6154,145 @@ We'll do a better job of getting out smaller releases next time around. ;-) 139 Updates -- Update gatsby in /docs from 1.9.139 to 1.9.141 [#2510](https://github.com/storybooks/storybook/pull/2510) -- Update gatsby in /docs from 1.9.138 to 1.9.139 [#2499](https://github.com/storybooks/storybook/pull/2499) -- Upgraded `eslint-plugin-prettier` in `/` from "2.3.1" to "2.4.0" [#2500](https://github.com/storybooks/storybook/pull/2500) -- Upgraded `graphql` in `addons/graphql` from "0.11.7" to "0.12.3" [#2500](https://github.com/storybooks/storybook/pull/2500) -- Upgraded `moment` in `addons/knobs` from "2.19.4" to "2.20.0" [#2500](https://github.com/storybooks/storybook/pull/2500) -- Upgraded `ws` in `app/react-native` from "3.3.2" to "3.3.3" [#2500](https://github.com/storybooks/storybook/pull/2500) -- Upgraded `moment` in `addons/comments` from "2.19.4" to "2.20.0" [#2500](https://github.com/storybooks/storybook/pull/2500) -- Update gatsby in /docs from 1.9.135 to 1.9.138 [#2497](https://github.com/storybooks/storybook/pull/2497) -- Upgraded `eslint-plugin-jest` in `/` from "21.4.3" to "21.5.0" [#2496](https://github.com/storybooks/storybook/pull/2496) -- Upgraded `nodemon` in `/` from "1.12.7" to "1.13.2" [#2496](https://github.com/storybooks/storybook/pull/2496) -- Upgraded `nodemon` in `app/react` from "1.12.7" to "1.13.2" [#2496](https://github.com/storybooks/storybook/pull/2496) -- Upgraded `nodemon` in `app/vue` from "1.12.7" to "1.13.2" [#2496](https://github.com/storybooks/storybook/pull/2496) -- Update gatsby-remark-copy-linked-files in /docs from 1.5.23 to 1.5.24 [#2495](https://github.com/storybooks/storybook/pull/2495) -- Update gatsby in /docs from 1.9.134 to 1.9.135 [#2491](https://github.com/storybooks/storybook/pull/2491) -- Update danger in / from 2.1.4 to 2.1.5 [#2489](https://github.com/storybooks/storybook/pull/2489) -- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.23" to "1.6.24" [#2490](https://github.com/storybooks/storybook/pull/2490) -- Upgraded `gatsby-remark-images` in `/docs` from "1.5.35" to "1.5.36" [#2490](https://github.com/storybooks/storybook/pull/2490) -- Upgraded `eslint-plugin-jest` in `/` from "21.4.2" to "21.4.3" [#2488](https://github.com/storybooks/storybook/pull/2488) -- Upgraded `nodemon` in `/` from "1.12.6" to "1.12.7" [#2488](https://github.com/storybooks/storybook/pull/2488) -- Upgraded `symlink-dir` in `/` from "1.1.0" to "1.1.1" [#2488](https://github.com/storybooks/storybook/pull/2488) -- Upgraded `@types/node` in `addons/knobs` from "8.0.58" to "8.5.1" [#2488](https://github.com/storybooks/storybook/pull/2488) -- Upgraded `@types/react` in `addons/knobs` from "16.0.29" to "16.0.30" [#2488](https://github.com/storybooks/storybook/pull/2488) -- Upgraded `style-loader` in `addons/knobs` from "0.19.0" to "0.19.1" [#2488](https://github.com/storybooks/storybook/pull/2488) -- Upgraded `vue` in `addons/knobs` from "2.5.10" to "2.5.11" [#2488](https://github.com/storybooks/storybook/pull/2488) -- Upgraded `autoprefixer` in `app/react-native` from "7.2.2" to "7.2.3" [#2488](https://github.com/storybooks/storybook/pull/2488) -- Upgraded `style-loader` in `app/react-native` from "0.18.2" to "0.19.1" [#2488](https://github.com/storybooks/storybook/pull/2488) -- Upgraded `autoprefixer` in `app/react` from "7.2.2" to "7.2.3" [#2488](https://github.com/storybooks/storybook/pull/2488) -- Upgraded `style-loader` in `app/react` from "0.18.2" to "0.19.1" [#2488](https://github.com/storybooks/storybook/pull/2488) -- Upgraded `nodemon` in `app/react` from "1.12.6" to "1.12.7" [#2488](https://github.com/storybooks/storybook/pull/2488) -- Upgraded `autoprefixer` in `app/vue` from "7.2.2" to "7.2.3" [#2488](https://github.com/storybooks/storybook/pull/2488) -- Upgraded `style-loader` in `app/vue` from "0.18.2" to "0.19.1" [#2488](https://github.com/storybooks/storybook/pull/2488) -- Upgraded `nodemon` in `app/vue` from "1.12.6" to "1.12.7" [#2488](https://github.com/storybooks/storybook/pull/2488) -- Upgraded `vue` in `app/vue` from "2.5.10" to "2.5.11" [#2488](https://github.com/storybooks/storybook/pull/2488) -- Upgraded `vue-template-compiler` in `app/vue` from "2.5.10" to "2.5.11" [#2488](https://github.com/storybooks/storybook/pull/2488) -- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.10" to "2.5.11" [#2488](https://github.com/storybooks/storybook/pull/2488) -- Upgraded `vue-template-compiler` in `examples/vue-kitchen-sink` from "2.5.10" to "2.5.11" [#2488](https://github.com/storybooks/storybook/pull/2488) -- Upgraded `gatsby-link` in `/docs` from "1.6.31" to "1.6.32" [#2486](https://github.com/storybooks/storybook/pull/2486) -- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.24" to "1.7.25" [#2486](https://github.com/storybooks/storybook/pull/2486) -- Upgraded `gatsby` in `/docs` from "1.9.131" to "1.9.134" [#2486](https://github.com/storybooks/storybook/pull/2486) -- Upgraded `gatsby-remark-images` in `/docs` from "1.5.34" to "1.5.35" [#2476](https://github.com/storybooks/storybook/pull/2476) -- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.10" to "1.5.11" [#2476](https://github.com/storybooks/storybook/pull/2476) -- Upgraded `gatsby` in `/docs` from "1.9.130" to "1.9.131" [#2476](https://github.com/storybooks/storybook/pull/2476) -- Upgraded `eslint-plugin-jsx-a11y` in `/` from "6.0.2" to "6.0.3" [#2477](https://github.com/storybooks/storybook/pull/2477) -- Upgraded `nodemon` in `/` from "1.12.5" to "1.12.6" [#2477](https://github.com/storybooks/storybook/pull/2477) -- Upgraded `vue` in `addons/knobs` from "2.5.9" to "2.5.10" [#2477](https://github.com/storybooks/storybook/pull/2477) -- Upgraded `react-modal` in `lib/ui` from "3.1.7" to "3.1.8" [#2477](https://github.com/storybooks/storybook/pull/2477) -- Upgraded `nodemon` in `app/react` from "1.12.5" to "1.12.6" [#2477](https://github.com/storybooks/storybook/pull/2477) -- Upgraded `nodemon` in `app/vue` from "1.12.5" to "1.12.6" [#2477](https://github.com/storybooks/storybook/pull/2477) -- Upgraded `vue` in `app/vue` from "2.5.9" to "2.5.10" [#2477](https://github.com/storybooks/storybook/pull/2477) -- Upgraded `vue-template-compiler` in `app/vue` from "2.5.9" to "2.5.10" [#2477](https://github.com/storybooks/storybook/pull/2477) -- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.9" to "2.5.10" [#2477](https://github.com/storybooks/storybook/pull/2477) -- Upgraded `vue-template-compiler` in `examples/vue-kitchen-sink` from "2.5.9" to "2.5.10" [#2477](https://github.com/storybooks/storybook/pull/2477) -- Upgraded `danger` in `/` from "2.1.3" to "2.1.4" [#2473](https://github.com/storybooks/storybook/pull/2473) -- Upgraded `eslint` in `/` from "4.13.0" to "4.13.1" [#2473](https://github.com/storybooks/storybook/pull/2473) -- Upgraded `prettier` in `/` from "1.9.1" to "1.9.2" [#2473](https://github.com/storybooks/storybook/pull/2473) -- Upgraded `@types/node` in `addons/knobs` from "8.0.57" to "8.0.58" [#2473](https://github.com/storybooks/storybook/pull/2473) -- Upgraded `@types/react` in `addons/knobs` from "16.0.28" to "16.0.29" [#2473](https://github.com/storybooks/storybook/pull/2473) -- Upgraded `core-js` in `app/react` from "2.5.2" to "2.5.3" [#2473](https://github.com/storybooks/storybook/pull/2473) -- Upgraded `core-js` in `app/vue` from "2.5.2" to "2.5.3" [#2473](https://github.com/storybooks/storybook/pull/2473) -- Upgraded `moment` in `addons/knobs` from "2.19.3" to "2.19.4" [#2462](https://github.com/storybooks/storybook/pull/2462) -- Upgraded `moment` in `addons/comments` from "2.19.3" to "2.19.4" [#2462](https://github.com/storybooks/storybook/pull/2462) -- Upgraded `react-inspector` in `addons/actions` from "2.2.1" to "2.2.2" [#2457](https://github.com/storybooks/storybook/pull/2457) -- Upgraded `react-inspector` in `lib/ui` from "2.2.1" to "2.2.2" [#2457](https://github.com/storybooks/storybook/pull/2457) -- Upgraded `gatsby-link` in `/docs` from "1.6.30" to "1.6.31" [#2458](https://github.com/storybooks/storybook/pull/2458) -- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.22" to "1.6.23" [#2458](https://github.com/storybooks/storybook/pull/2458) -- Upgraded `gatsby-remark-autolink-headers` in `/docs` from "1.4.9" to "1.4.10" [#2458](https://github.com/storybooks/storybook/pull/2458) -- Upgraded `gatsby-remark-copy-linked-files` in `/docs` from "1.5.22" to "1.5.23" [#2458](https://github.com/storybooks/storybook/pull/2458) -- Upgraded `gatsby-remark-images` in `/docs` from "1.5.33" to "1.5.34" [#2458](https://github.com/storybooks/storybook/pull/2458) -- Upgraded `gatsby-remark-smartypants` in `/docs` from "1.4.9" to "1.4.10" [#2458](https://github.com/storybooks/storybook/pull/2458) -- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.9" to "1.5.10" [#2458](https://github.com/storybooks/storybook/pull/2458) -- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.23" to "1.7.24" [#2458](https://github.com/storybooks/storybook/pull/2458) -- Upgraded `gatsby` in `/docs` from "1.9.128" to "1.9.130" [#2458](https://github.com/storybooks/storybook/pull/2458) -- Update react-stack-grid in /docs from 0.6.0 to 0.7.0 [#2453](https://github.com/storybooks/storybook/pull/2453) -- Upgraded `eslint` in `/` from "4.12.1" to "4.13.0" [#2454](https://github.com/storybooks/storybook/pull/2454) -- Upgraded `core-js` in `app/react` from "2.5.1" to "2.5.2" [#2454](https://github.com/storybooks/storybook/pull/2454) -- Upgraded `core-js` in `app/vue` from "2.5.1" to "2.5.2" [#2454](https://github.com/storybooks/storybook/pull/2454) -- Upgraded `@types/node` in `addons/knobs` from "8.0.56" to "8.0.57" [#2448](https://github.com/storybooks/storybook/pull/2448) -- Upgraded `@types/react` in `addons/knobs` from "16.0.27" to "16.0.28" [#2448](https://github.com/storybooks/storybook/pull/2448) -- Upgraded `autoprefixer` in `app/react-native` from "7.2.1" to "7.2.2" [#2448](https://github.com/storybooks/storybook/pull/2448) -- Upgraded `autoprefixer` in `app/react` from "7.2.1" to "7.2.2" [#2448](https://github.com/storybooks/storybook/pull/2448) -- Upgraded `autoprefixer` in `app/vue` from "7.2.1" to "7.2.2" [#2448](https://github.com/storybooks/storybook/pull/2448) -- Upgraded `danger` in `/` from "2.1.2" to "2.1.3" [#2447](https://github.com/storybooks/storybook/pull/2447) -- Upgraded `jscodeshift` in `lib/codemod` from "0.3.32" to "0.4.0" [#2447](https://github.com/storybooks/storybook/pull/2447) -- Upgraded `jscodeshift` in `lib/cli` from "0.3.32" to "0.4.0" [#2447](https://github.com/storybooks/storybook/pull/2447) -- Upgraded `webpack-dev-server` in `examples/vue-kitchen-sink` from "2.9.6" to "2.9.7" [#2447](https://github.com/storybooks/storybook/pull/2447) -- Upgraded `danger` in `/` from "2.0.3" to "2.1.2" [#2442](https://github.com/storybooks/storybook/pull/2442) -- Upgraded `eslint-plugin-jest` in `/` from "21.4.1" to "21.4.2" [#2442](https://github.com/storybooks/storybook/pull/2442) -- Upgraded `github-release-from-changelog` in `/` from "1.2.1" to "1.3.0" [#2442](https://github.com/storybooks/storybook/pull/2442) -- Upgraded `nodemon` in `/` from "1.12.4" to "1.12.5" [#2442](https://github.com/storybooks/storybook/pull/2442) -- Upgraded `prettier` in `/` from "1.9.0" to "1.9.1" [#2442](https://github.com/storybooks/storybook/pull/2442) -- Upgraded `@types/node` in `addons/knobs` from "8.0.54" to "8.0.55" [#2442](https://github.com/storybooks/storybook/pull/2442) -- Upgraded `react-native` in `app/react-native` from "0.50.4" to "0.51.0" [#2442](https://github.com/storybooks/storybook/pull/2442) -- Upgraded `nodemon` in `app/react` from "1.12.4" to "1.12.5" [#2442](https://github.com/storybooks/storybook/pull/2442) -- Upgraded `nodemon` in `app/vue` from "1.12.4" to "1.12.5" [#2442](https://github.com/storybooks/storybook/pull/2442) -- Upgraded `@types/node` in `addons/knobs` from "8.0.54" to "8.0.56" [#2443](https://github.com/storybooks/storybook/pull/2443) -- Upgraded `webpack-dev-server` in `examples/vue-kitchen-sink` from "2.9.5" to "2.9.6" [#2443](https://github.com/storybooks/storybook/pull/2443) -- Update fs-extra in / from 4.0.2 to 4.0.3 [#2433](https://github.com/storybooks/storybook/pull/2433) -- Upgraded `eslint-plugin-jest` in `/` from "21.4.0" to "21.4.1" [#2430](https://github.com/storybooks/storybook/pull/2430) -- Upgraded `prettier` in `/` from "1.8.2" to "1.9.0" [#2430](https://github.com/storybooks/storybook/pull/2430) -- Upgraded `babel-eslint` in `/` from "8.0.2" to "8.0.3" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `commander` in `/` from "2.12.1" to "2.12.2" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `eslint` in `/` from "4.12.0" to "4.12.1" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `eslint-plugin-jest` in `/` from "21.3.2" to "21.4.0" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `inquirer` in `/` from "4.0.0" to "4.0.1" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `nodemon` in `/` from "1.12.1" to "1.12.4" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `moment` in `addons/knobs` from "2.19.2" to "2.19.3" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `react-datetime` in `addons/knobs` from "2.11.0" to "2.11.1" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `@types/node` in `addons/knobs` from "8.0.53" to "8.0.54" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `@types/react` in `addons/knobs` from "16.0.25" to "16.0.27" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `typescript` in `addons/knobs` from "2.6.1" to "2.6.2" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `vue` in `addons/knobs` from "2.5.8" to "2.5.9" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `commander` in `lib/cli` from "2.12.1" to "2.12.2" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `react-modal` in `lib/ui` from "3.1.4" to "3.1.7" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `autoprefixer` in `app/react-native` from "7.1.6" to "7.2.1" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `commander` in `app/react-native` from "2.12.1" to "2.12.2" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `webpack` in `app/react-native` from "3.8.1" to "3.10.0" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `airbnb-js-shims` in `app/react` from "1.3.0" to "1.4.0" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `autoprefixer` in `app/react` from "7.1.6" to "7.2.1" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `commander` in `app/react` from "2.12.1" to "2.12.2" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `webpack` in `app/react` from "3.8.1" to "3.10.0" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `nodemon` in `app/react` from "1.12.1" to "1.12.4" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `airbnb-js-shims` in `app/vue` from "1.3.0" to "1.4.0" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `autoprefixer` in `app/vue` from "7.1.6" to "7.2.1" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `commander` in `app/vue` from "2.12.1" to "2.12.2" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `webpack` in `app/vue` from "3.8.1" to "3.10.0" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `nodemon` in `app/vue` from "1.12.1" to "1.12.4" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `vue` in `app/vue` from "2.5.8" to "2.5.9" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `vue-template-compiler` in `app/vue` from "2.5.8" to "2.5.9" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `marked` in `addons/comments` from "0.3.6" to "0.3.7" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `moment` in `addons/comments` from "2.19.2" to "2.19.3" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.8" to "2.5.9" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `vue-template-compiler` in `examples/vue-kitchen-sink` from "2.5.8" to "2.5.9" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `webpack` in `examples/vue-kitchen-sink` from "3.8.1" to "3.10.0" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `webpack-dev-server` in `examples/vue-kitchen-sink` from "2.9.4" to "2.9.5" [#2429](https://github.com/storybooks/storybook/pull/2429) -- Upgraded `@storybook/addon-actions` in `/docs` from "3.2.16" to "3.2.17" [#2427](https://github.com/storybooks/storybook/pull/2427) -- Upgraded `@storybook/addon-links` in `/docs` from "3.2.16" to "3.2.17" [#2427](https://github.com/storybooks/storybook/pull/2427) -- Upgraded `@storybook/addons` in `/docs` from "3.2.16" to "3.2.17" [#2427](https://github.com/storybooks/storybook/pull/2427) -- Upgraded `@storybook/react` in `/docs` from "3.2.16" to "3.2.17" [#2427](https://github.com/storybooks/storybook/pull/2427) -- React 16.2 [#2393](https://github.com/storybooks/storybook/pull/2393) +- Update gatsby in /docs from 1.9.139 to 1.9.141 [#2510](https://github.com/storybookjs/storybook/pull/2510) +- Update gatsby in /docs from 1.9.138 to 1.9.139 [#2499](https://github.com/storybookjs/storybook/pull/2499) +- Upgraded `eslint-plugin-prettier` in `/` from "2.3.1" to "2.4.0" [#2500](https://github.com/storybookjs/storybook/pull/2500) +- Upgraded `graphql` in `addons/graphql` from "0.11.7" to "0.12.3" [#2500](https://github.com/storybookjs/storybook/pull/2500) +- Upgraded `moment` in `addons/knobs` from "2.19.4" to "2.20.0" [#2500](https://github.com/storybookjs/storybook/pull/2500) +- Upgraded `ws` in `app/react-native` from "3.3.2" to "3.3.3" [#2500](https://github.com/storybookjs/storybook/pull/2500) +- Upgraded `moment` in `addons/comments` from "2.19.4" to "2.20.0" [#2500](https://github.com/storybookjs/storybook/pull/2500) +- Update gatsby in /docs from 1.9.135 to 1.9.138 [#2497](https://github.com/storybookjs/storybook/pull/2497) +- Upgraded `eslint-plugin-jest` in `/` from "21.4.3" to "21.5.0" [#2496](https://github.com/storybookjs/storybook/pull/2496) +- Upgraded `nodemon` in `/` from "1.12.7" to "1.13.2" [#2496](https://github.com/storybookjs/storybook/pull/2496) +- Upgraded `nodemon` in `app/react` from "1.12.7" to "1.13.2" [#2496](https://github.com/storybookjs/storybook/pull/2496) +- Upgraded `nodemon` in `app/vue` from "1.12.7" to "1.13.2" [#2496](https://github.com/storybookjs/storybook/pull/2496) +- Update gatsby-remark-copy-linked-files in /docs from 1.5.23 to 1.5.24 [#2495](https://github.com/storybookjs/storybook/pull/2495) +- Update gatsby in /docs from 1.9.134 to 1.9.135 [#2491](https://github.com/storybookjs/storybook/pull/2491) +- Update danger in / from 2.1.4 to 2.1.5 [#2489](https://github.com/storybookjs/storybook/pull/2489) +- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.23" to "1.6.24" [#2490](https://github.com/storybookjs/storybook/pull/2490) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.35" to "1.5.36" [#2490](https://github.com/storybookjs/storybook/pull/2490) +- Upgraded `eslint-plugin-jest` in `/` from "21.4.2" to "21.4.3" [#2488](https://github.com/storybookjs/storybook/pull/2488) +- Upgraded `nodemon` in `/` from "1.12.6" to "1.12.7" [#2488](https://github.com/storybookjs/storybook/pull/2488) +- Upgraded `symlink-dir` in `/` from "1.1.0" to "1.1.1" [#2488](https://github.com/storybookjs/storybook/pull/2488) +- Upgraded `@types/node` in `addons/knobs` from "8.0.58" to "8.5.1" [#2488](https://github.com/storybookjs/storybook/pull/2488) +- Upgraded `@types/react` in `addons/knobs` from "16.0.29" to "16.0.30" [#2488](https://github.com/storybookjs/storybook/pull/2488) +- Upgraded `style-loader` in `addons/knobs` from "0.19.0" to "0.19.1" [#2488](https://github.com/storybookjs/storybook/pull/2488) +- Upgraded `vue` in `addons/knobs` from "2.5.10" to "2.5.11" [#2488](https://github.com/storybookjs/storybook/pull/2488) +- Upgraded `autoprefixer` in `app/react-native` from "7.2.2" to "7.2.3" [#2488](https://github.com/storybookjs/storybook/pull/2488) +- Upgraded `style-loader` in `app/react-native` from "0.18.2" to "0.19.1" [#2488](https://github.com/storybookjs/storybook/pull/2488) +- Upgraded `autoprefixer` in `app/react` from "7.2.2" to "7.2.3" [#2488](https://github.com/storybookjs/storybook/pull/2488) +- Upgraded `style-loader` in `app/react` from "0.18.2" to "0.19.1" [#2488](https://github.com/storybookjs/storybook/pull/2488) +- Upgraded `nodemon` in `app/react` from "1.12.6" to "1.12.7" [#2488](https://github.com/storybookjs/storybook/pull/2488) +- Upgraded `autoprefixer` in `app/vue` from "7.2.2" to "7.2.3" [#2488](https://github.com/storybookjs/storybook/pull/2488) +- Upgraded `style-loader` in `app/vue` from "0.18.2" to "0.19.1" [#2488](https://github.com/storybookjs/storybook/pull/2488) +- Upgraded `nodemon` in `app/vue` from "1.12.6" to "1.12.7" [#2488](https://github.com/storybookjs/storybook/pull/2488) +- Upgraded `vue` in `app/vue` from "2.5.10" to "2.5.11" [#2488](https://github.com/storybookjs/storybook/pull/2488) +- Upgraded `vue-template-compiler` in `app/vue` from "2.5.10" to "2.5.11" [#2488](https://github.com/storybookjs/storybook/pull/2488) +- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.10" to "2.5.11" [#2488](https://github.com/storybookjs/storybook/pull/2488) +- Upgraded `vue-template-compiler` in `examples/vue-kitchen-sink` from "2.5.10" to "2.5.11" [#2488](https://github.com/storybookjs/storybook/pull/2488) +- Upgraded `gatsby-link` in `/docs` from "1.6.31" to "1.6.32" [#2486](https://github.com/storybookjs/storybook/pull/2486) +- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.24" to "1.7.25" [#2486](https://github.com/storybookjs/storybook/pull/2486) +- Upgraded `gatsby` in `/docs` from "1.9.131" to "1.9.134" [#2486](https://github.com/storybookjs/storybook/pull/2486) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.34" to "1.5.35" [#2476](https://github.com/storybookjs/storybook/pull/2476) +- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.10" to "1.5.11" [#2476](https://github.com/storybookjs/storybook/pull/2476) +- Upgraded `gatsby` in `/docs` from "1.9.130" to "1.9.131" [#2476](https://github.com/storybookjs/storybook/pull/2476) +- Upgraded `eslint-plugin-jsx-a11y` in `/` from "6.0.2" to "6.0.3" [#2477](https://github.com/storybookjs/storybook/pull/2477) +- Upgraded `nodemon` in `/` from "1.12.5" to "1.12.6" [#2477](https://github.com/storybookjs/storybook/pull/2477) +- Upgraded `vue` in `addons/knobs` from "2.5.9" to "2.5.10" [#2477](https://github.com/storybookjs/storybook/pull/2477) +- Upgraded `react-modal` in `lib/ui` from "3.1.7" to "3.1.8" [#2477](https://github.com/storybookjs/storybook/pull/2477) +- Upgraded `nodemon` in `app/react` from "1.12.5" to "1.12.6" [#2477](https://github.com/storybookjs/storybook/pull/2477) +- Upgraded `nodemon` in `app/vue` from "1.12.5" to "1.12.6" [#2477](https://github.com/storybookjs/storybook/pull/2477) +- Upgraded `vue` in `app/vue` from "2.5.9" to "2.5.10" [#2477](https://github.com/storybookjs/storybook/pull/2477) +- Upgraded `vue-template-compiler` in `app/vue` from "2.5.9" to "2.5.10" [#2477](https://github.com/storybookjs/storybook/pull/2477) +- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.9" to "2.5.10" [#2477](https://github.com/storybookjs/storybook/pull/2477) +- Upgraded `vue-template-compiler` in `examples/vue-kitchen-sink` from "2.5.9" to "2.5.10" [#2477](https://github.com/storybookjs/storybook/pull/2477) +- Upgraded `danger` in `/` from "2.1.3" to "2.1.4" [#2473](https://github.com/storybookjs/storybook/pull/2473) +- Upgraded `eslint` in `/` from "4.13.0" to "4.13.1" [#2473](https://github.com/storybookjs/storybook/pull/2473) +- Upgraded `prettier` in `/` from "1.9.1" to "1.9.2" [#2473](https://github.com/storybookjs/storybook/pull/2473) +- Upgraded `@types/node` in `addons/knobs` from "8.0.57" to "8.0.58" [#2473](https://github.com/storybookjs/storybook/pull/2473) +- Upgraded `@types/react` in `addons/knobs` from "16.0.28" to "16.0.29" [#2473](https://github.com/storybookjs/storybook/pull/2473) +- Upgraded `core-js` in `app/react` from "2.5.2" to "2.5.3" [#2473](https://github.com/storybookjs/storybook/pull/2473) +- Upgraded `core-js` in `app/vue` from "2.5.2" to "2.5.3" [#2473](https://github.com/storybookjs/storybook/pull/2473) +- Upgraded `moment` in `addons/knobs` from "2.19.3" to "2.19.4" [#2462](https://github.com/storybookjs/storybook/pull/2462) +- Upgraded `moment` in `addons/comments` from "2.19.3" to "2.19.4" [#2462](https://github.com/storybookjs/storybook/pull/2462) +- Upgraded `react-inspector` in `addons/actions` from "2.2.1" to "2.2.2" [#2457](https://github.com/storybookjs/storybook/pull/2457) +- Upgraded `react-inspector` in `lib/ui` from "2.2.1" to "2.2.2" [#2457](https://github.com/storybookjs/storybook/pull/2457) +- Upgraded `gatsby-link` in `/docs` from "1.6.30" to "1.6.31" [#2458](https://github.com/storybookjs/storybook/pull/2458) +- Upgraded `gatsby-plugin-sharp` in `/docs` from "1.6.22" to "1.6.23" [#2458](https://github.com/storybookjs/storybook/pull/2458) +- Upgraded `gatsby-remark-autolink-headers` in `/docs` from "1.4.9" to "1.4.10" [#2458](https://github.com/storybookjs/storybook/pull/2458) +- Upgraded `gatsby-remark-copy-linked-files` in `/docs` from "1.5.22" to "1.5.23" [#2458](https://github.com/storybookjs/storybook/pull/2458) +- Upgraded `gatsby-remark-images` in `/docs` from "1.5.33" to "1.5.34" [#2458](https://github.com/storybookjs/storybook/pull/2458) +- Upgraded `gatsby-remark-smartypants` in `/docs` from "1.4.9" to "1.4.10" [#2458](https://github.com/storybookjs/storybook/pull/2458) +- Upgraded `gatsby-source-filesystem` in `/docs` from "1.5.9" to "1.5.10" [#2458](https://github.com/storybookjs/storybook/pull/2458) +- Upgraded `gatsby-transformer-remark` in `/docs` from "1.7.23" to "1.7.24" [#2458](https://github.com/storybookjs/storybook/pull/2458) +- Upgraded `gatsby` in `/docs` from "1.9.128" to "1.9.130" [#2458](https://github.com/storybookjs/storybook/pull/2458) +- Update react-stack-grid in /docs from 0.6.0 to 0.7.0 [#2453](https://github.com/storybookjs/storybook/pull/2453) +- Upgraded `eslint` in `/` from "4.12.1" to "4.13.0" [#2454](https://github.com/storybookjs/storybook/pull/2454) +- Upgraded `core-js` in `app/react` from "2.5.1" to "2.5.2" [#2454](https://github.com/storybookjs/storybook/pull/2454) +- Upgraded `core-js` in `app/vue` from "2.5.1" to "2.5.2" [#2454](https://github.com/storybookjs/storybook/pull/2454) +- Upgraded `@types/node` in `addons/knobs` from "8.0.56" to "8.0.57" [#2448](https://github.com/storybookjs/storybook/pull/2448) +- Upgraded `@types/react` in `addons/knobs` from "16.0.27" to "16.0.28" [#2448](https://github.com/storybookjs/storybook/pull/2448) +- Upgraded `autoprefixer` in `app/react-native` from "7.2.1" to "7.2.2" [#2448](https://github.com/storybookjs/storybook/pull/2448) +- Upgraded `autoprefixer` in `app/react` from "7.2.1" to "7.2.2" [#2448](https://github.com/storybookjs/storybook/pull/2448) +- Upgraded `autoprefixer` in `app/vue` from "7.2.1" to "7.2.2" [#2448](https://github.com/storybookjs/storybook/pull/2448) +- Upgraded `danger` in `/` from "2.1.2" to "2.1.3" [#2447](https://github.com/storybookjs/storybook/pull/2447) +- Upgraded `jscodeshift` in `lib/codemod` from "0.3.32" to "0.4.0" [#2447](https://github.com/storybookjs/storybook/pull/2447) +- Upgraded `jscodeshift` in `lib/cli` from "0.3.32" to "0.4.0" [#2447](https://github.com/storybookjs/storybook/pull/2447) +- Upgraded `webpack-dev-server` in `examples/vue-kitchen-sink` from "2.9.6" to "2.9.7" [#2447](https://github.com/storybookjs/storybook/pull/2447) +- Upgraded `danger` in `/` from "2.0.3" to "2.1.2" [#2442](https://github.com/storybookjs/storybook/pull/2442) +- Upgraded `eslint-plugin-jest` in `/` from "21.4.1" to "21.4.2" [#2442](https://github.com/storybookjs/storybook/pull/2442) +- Upgraded `github-release-from-changelog` in `/` from "1.2.1" to "1.3.0" [#2442](https://github.com/storybookjs/storybook/pull/2442) +- Upgraded `nodemon` in `/` from "1.12.4" to "1.12.5" [#2442](https://github.com/storybookjs/storybook/pull/2442) +- Upgraded `prettier` in `/` from "1.9.0" to "1.9.1" [#2442](https://github.com/storybookjs/storybook/pull/2442) +- Upgraded `@types/node` in `addons/knobs` from "8.0.54" to "8.0.55" [#2442](https://github.com/storybookjs/storybook/pull/2442) +- Upgraded `react-native` in `app/react-native` from "0.50.4" to "0.51.0" [#2442](https://github.com/storybookjs/storybook/pull/2442) +- Upgraded `nodemon` in `app/react` from "1.12.4" to "1.12.5" [#2442](https://github.com/storybookjs/storybook/pull/2442) +- Upgraded `nodemon` in `app/vue` from "1.12.4" to "1.12.5" [#2442](https://github.com/storybookjs/storybook/pull/2442) +- Upgraded `@types/node` in `addons/knobs` from "8.0.54" to "8.0.56" [#2443](https://github.com/storybookjs/storybook/pull/2443) +- Upgraded `webpack-dev-server` in `examples/vue-kitchen-sink` from "2.9.5" to "2.9.6" [#2443](https://github.com/storybookjs/storybook/pull/2443) +- Update fs-extra in / from 4.0.2 to 4.0.3 [#2433](https://github.com/storybookjs/storybook/pull/2433) +- Upgraded `eslint-plugin-jest` in `/` from "21.4.0" to "21.4.1" [#2430](https://github.com/storybookjs/storybook/pull/2430) +- Upgraded `prettier` in `/` from "1.8.2" to "1.9.0" [#2430](https://github.com/storybookjs/storybook/pull/2430) +- Upgraded `babel-eslint` in `/` from "8.0.2" to "8.0.3" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `commander` in `/` from "2.12.1" to "2.12.2" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `eslint` in `/` from "4.12.0" to "4.12.1" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `eslint-plugin-jest` in `/` from "21.3.2" to "21.4.0" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `inquirer` in `/` from "4.0.0" to "4.0.1" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `nodemon` in `/` from "1.12.1" to "1.12.4" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `moment` in `addons/knobs` from "2.19.2" to "2.19.3" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `react-datetime` in `addons/knobs` from "2.11.0" to "2.11.1" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `@types/node` in `addons/knobs` from "8.0.53" to "8.0.54" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `@types/react` in `addons/knobs` from "16.0.25" to "16.0.27" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `typescript` in `addons/knobs` from "2.6.1" to "2.6.2" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `vue` in `addons/knobs` from "2.5.8" to "2.5.9" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `commander` in `lib/cli` from "2.12.1" to "2.12.2" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `react-modal` in `lib/ui` from "3.1.4" to "3.1.7" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `autoprefixer` in `app/react-native` from "7.1.6" to "7.2.1" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `commander` in `app/react-native` from "2.12.1" to "2.12.2" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `webpack` in `app/react-native` from "3.8.1" to "3.10.0" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `airbnb-js-shims` in `app/react` from "1.3.0" to "1.4.0" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `autoprefixer` in `app/react` from "7.1.6" to "7.2.1" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `commander` in `app/react` from "2.12.1" to "2.12.2" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `webpack` in `app/react` from "3.8.1" to "3.10.0" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `nodemon` in `app/react` from "1.12.1" to "1.12.4" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `airbnb-js-shims` in `app/vue` from "1.3.0" to "1.4.0" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `autoprefixer` in `app/vue` from "7.1.6" to "7.2.1" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `commander` in `app/vue` from "2.12.1" to "2.12.2" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `webpack` in `app/vue` from "3.8.1" to "3.10.0" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `nodemon` in `app/vue` from "1.12.1" to "1.12.4" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `vue` in `app/vue` from "2.5.8" to "2.5.9" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `vue-template-compiler` in `app/vue` from "2.5.8" to "2.5.9" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `marked` in `addons/comments` from "0.3.6" to "0.3.7" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `moment` in `addons/comments` from "2.19.2" to "2.19.3" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.8" to "2.5.9" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `vue-template-compiler` in `examples/vue-kitchen-sink` from "2.5.8" to "2.5.9" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `webpack` in `examples/vue-kitchen-sink` from "3.8.1" to "3.10.0" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `webpack-dev-server` in `examples/vue-kitchen-sink` from "2.9.4" to "2.9.5" [#2429](https://github.com/storybookjs/storybook/pull/2429) +- Upgraded `@storybook/addon-actions` in `/docs` from "3.2.16" to "3.2.17" [#2427](https://github.com/storybookjs/storybook/pull/2427) +- Upgraded `@storybook/addon-links` in `/docs` from "3.2.16" to "3.2.17" [#2427](https://github.com/storybookjs/storybook/pull/2427) +- Upgraded `@storybook/addons` in `/docs` from "3.2.16" to "3.2.17" [#2427](https://github.com/storybookjs/storybook/pull/2427) +- Upgraded `@storybook/react` in `/docs` from "3.2.16" to "3.2.17" [#2427](https://github.com/storybookjs/storybook/pull/2427) +- React 16.2 [#2393](https://github.com/storybookjs/storybook/pull/2393) @@ -5838,32 +6302,32 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Features -- Add dotenv support for storybook in vue and react [#2345](https://github.com/storybooks/storybook/pull/2345) -- Addon jest [#2295](https://github.com/storybooks/storybook/pull/2295) -- Addon-knobs: add number config options [#2371](https://github.com/storybooks/storybook/pull/2371) -- Addon-info: Expose style for customization [#2370](https://github.com/storybooks/storybook/pull/2370) +- Add dotenv support for storybook in vue and react [#2345](https://github.com/storybookjs/storybook/pull/2345) +- Addon jest [#2295](https://github.com/storybookjs/storybook/pull/2295) +- Addon-knobs: add number config options [#2371](https://github.com/storybookjs/storybook/pull/2371) +- Addon-info: Expose style for customization [#2370](https://github.com/storybookjs/storybook/pull/2370) #### Bug Fixes -- Fix addon-actions in legacy Android browser [#2365](https://github.com/storybooks/storybook/pull/2365) -- Remove superfluous vertical scrollbar in fullscreen [#2394](https://github.com/storybooks/storybook/pull/2394) -- Made jest test file extension name optional [#2373](https://github.com/storybooks/storybook/pull/2373) -- Render navigation and addons panels even when they are hidden [#2336](https://github.com/storybooks/storybook/pull/2336) -- Fix wrong "withTests" examples + add documentation [#2398](https://github.com/storybooks/storybook/pull/2398) +- Fix addon-actions in legacy Android browser [#2365](https://github.com/storybookjs/storybook/pull/2365) +- Remove superfluous vertical scrollbar in fullscreen [#2394](https://github.com/storybookjs/storybook/pull/2394) +- Made jest test file extension name optional [#2373](https://github.com/storybookjs/storybook/pull/2373) +- Render navigation and addons panels even when they are hidden [#2336](https://github.com/storybookjs/storybook/pull/2336) +- Fix wrong "withTests" examples + add documentation [#2398](https://github.com/storybookjs/storybook/pull/2398) #### Maintenance -- Issue #2196 - Set console.warn and console.error to throw in tests [#2297](https://github.com/storybooks/storybook/pull/2297) -- Optimize CI workflow [#2331](https://github.com/storybooks/storybook/pull/2331) -- Ignore shelljs in bithound [#2322](https://github.com/storybooks/storybook/pull/2322) -- Fix netlify vue instance [#2386](https://github.com/storybooks/storybook/pull/2386) -- Keep examples' deps up to date [#2353](https://github.com/storybooks/storybook/pull/2353) -- Separate netlify instances [#2340](https://github.com/storybooks/storybook/pull/2340) -- Issue 2196 fix unittest warnings [#2343](https://github.com/storybooks/storybook/pull/2343) +- Issue #2196 - Set console.warn and console.error to throw in tests [#2297](https://github.com/storybookjs/storybook/pull/2297) +- Optimize CI workflow [#2331](https://github.com/storybookjs/storybook/pull/2331) +- Ignore shelljs in bithound [#2322](https://github.com/storybookjs/storybook/pull/2322) +- Fix netlify vue instance [#2386](https://github.com/storybookjs/storybook/pull/2386) +- Keep examples' deps up to date [#2353](https://github.com/storybookjs/storybook/pull/2353) +- Separate netlify instances [#2340](https://github.com/storybookjs/storybook/pull/2340) +- Issue 2196 fix unittest warnings [#2343](https://github.com/storybookjs/storybook/pull/2343) #### Documentation -- Document return type of `date` knob (see #1489) [#2332](https://github.com/storybooks/storybook/pull/2332) +- Document return type of `date` knob (see #1489) [#2332](https://github.com/storybookjs/storybook/pull/2332) #### Dependency Upgrades @@ -5872,78 +6336,78 @@ We'll do a better job of getting out smaller releases next time around. ;-) 72 PRs -- Update gatsby in /docs from 1.9.127 to 1.9.128 [#2420](https://github.com/storybooks/storybook/pull/2420) -- Update marked in /docs from 0.3.6 to 0.3.7 [#2416](https://github.com/storybooks/storybook/pull/2416) -- Upgraded `gatsby` in `docs` from "1.9.126" to "1.9.127" [#2406](https://github.com/storybooks/storybook/pull/2406) -- Upgraded `gatsby-transformer-remark` in `docs` from "1.7.22" to "1.7.23" [#2406](https://github.com/storybooks/storybook/pull/2406) -- Upgraded `gatsby` in `docs` from "1.9.125" to "1.9.126" [#2399](https://github.com/storybooks/storybook/pull/2399) -- Upgraded `gatsby-link` in `docs` from "1.6.29" to "1.6.30" [#2399](https://github.com/storybooks/storybook/pull/2399) -- Upgraded `gatsby` in `docs` from "1.9.119" to "1.9.125" [#2392](https://github.com/storybooks/storybook/pull/2392) -- Upgraded `gatsby-link` in `docs` from "1.6.28" to "1.6.29" [#2392](https://github.com/storybooks/storybook/pull/2392) -- Upgraded `gatsby-plugin-sharp` in `docs` from "1.6.21" to "1.6.22" [#2392](https://github.com/storybooks/storybook/pull/2392) -- Upgraded `gatsby-remark-autolink-headers` in `docs` from "1.4.8" to "1.4.9" [#2392](https://github.com/storybooks/storybook/pull/2392) -- Upgraded `gatsby-remark-copy-linked-files` in `docs` from "1.5.21" to "1.5.22" [#2392](https://github.com/storybooks/storybook/pull/2392) -- Upgraded `gatsby-remark-images` in `docs` from "1.5.32" to "1.5.33" [#2392](https://github.com/storybooks/storybook/pull/2392) -- Upgraded `gatsby-remark-smartypants` in `docs` from "1.4.8" to "1.4.9" [#2392](https://github.com/storybooks/storybook/pull/2392) -- Upgraded `gatsby-source-filesystem` in `docs` from "1.5.8" to "1.5.9" [#2392](https://github.com/storybooks/storybook/pull/2392) -- Upgraded `gatsby-transformer-remark` in `docs` from "1.7.21" to "1.7.22" [#2392](https://github.com/storybooks/storybook/pull/2392) -- Upgraded `webpack-dev-middleware` in `app/react-native` from "1.12.1" to "1.12.2" [#2385](https://github.com/storybooks/storybook/pull/2385) -- Upgraded `webpack-hot-middleware` in `app/react-native` from "2.20.0" to "2.21.0" [#2385](https://github.com/storybooks/storybook/pull/2385) -- Upgraded `webpack-dev-middleware` in `app/react` from "1.12.1" to "1.12.2" [#2385](https://github.com/storybooks/storybook/pull/2385) -- Upgraded `webpack-hot-middleware` in `app/react` from "2.20.0" to "2.21.0" [#2385](https://github.com/storybooks/storybook/pull/2385) -- Upgraded `webpack-dev-middleware` in `app/vue` from "1.12.1" to "1.12.2" [#2385](https://github.com/storybooks/storybook/pull/2385) -- Upgraded `webpack-hot-middleware` in `app/vue` from "2.20.0" to "2.21.0" [#2385](https://github.com/storybooks/storybook/pull/2385) -- Upgraded `danger` in `/` from "2.0.1" to "2.0.3" [#2380](https://github.com/storybooks/storybook/pull/2380) -- Upgraded `eslint` in `/` from "4.11.0" to "4.12.0" [#2380](https://github.com/storybooks/storybook/pull/2380) -- Upgraded `eslint-config-prettier` in `/` from "2.8.0" to "2.9.0" [#2380](https://github.com/storybooks/storybook/pull/2380) -- Upgraded `react-modal` in `lib/ui` from "3.1.3" to "3.1.4" [#2364](https://github.com/storybooks/storybook/pull/2364) -- Upgraded `postcss-loader` in `app/react-native` from "2.0.8" to "2.0.9" [#2364](https://github.com/storybooks/storybook/pull/2364) -- Upgraded `react-native` in `app/react-native` from "0.50.3" to "0.50.4" [#2364](https://github.com/storybooks/storybook/pull/2364) -- Upgraded `common-tags` in `app/react` from "1.4.0" to "1.5.1" [#2364](https://github.com/storybooks/storybook/pull/2364) -- Upgraded `postcss-loader` in `app/react` from "2.0.8" to "2.0.9" [#2364](https://github.com/storybooks/storybook/pull/2364) -- Upgraded `common-tags` in `app/vue` from "1.4.0" to "1.5.1" [#2364](https://github.com/storybooks/storybook/pull/2364) -- Upgraded `postcss-loader` in `app/vue` from "2.0.8" to "2.0.9" [#2364](https://github.com/storybooks/storybook/pull/2364) -- Upgraded `commander` in `/` from "2.11.0" to "2.12.1" [#2359](https://github.com/storybooks/storybook/pull/2359) -- Upgraded `commander` in `lib/cli` from "2.11.0" to "2.12.1" [#2359](https://github.com/storybooks/storybook/pull/2359) -- Upgraded `react-modal` in `lib/ui` from "3.1.2" to "3.1.3" [#2359](https://github.com/storybooks/storybook/pull/2359) -- Upgraded `commander` in `app/react-native` from "2.11.0" to "2.12.1" [#2359](https://github.com/storybooks/storybook/pull/2359) -- Upgraded `webpack-dev-middleware` in `app/react-native` from "1.12.0" to "1.12.1" [#2359](https://github.com/storybooks/storybook/pull/2359) -- Upgraded `commander` in `app/react` from "2.11.0" to "2.12.1" [#2359](https://github.com/storybooks/storybook/pull/2359) -- Upgraded `webpack-dev-middleware` in `app/react` from "1.12.0" to "1.12.1" [#2359](https://github.com/storybooks/storybook/pull/2359) -- Upgraded `commander` in `app/vue` from "2.11.0" to "2.12.1" [#2359](https://github.com/storybooks/storybook/pull/2359) -- Upgraded `webpack-dev-middleware` in `app/vue` from "1.12.0" to "1.12.1" [#2359](https://github.com/storybooks/storybook/pull/2359) -- Update gatsby in docs from 1.9.118 to 1.9.119 [#2354](https://github.com/storybooks/storybook/pull/2354) -- Upgraded `vue` in `addons/knobs` from "2.5.6" to "2.5.8" [#2344](https://github.com/storybooks/storybook/pull/2344) -- Upgraded `ws` in `app/react-native` from "3.3.1" to "3.3.2" [#2344](https://github.com/storybooks/storybook/pull/2344) -- Upgraded `vue` in `app/vue` from "2.5.6" to "2.5.8" [#2344](https://github.com/storybooks/storybook/pull/2344) -- Upgraded `vue-template-compiler` in `app/vue` from "2.5.6" to "2.5.8" [#2344](https://github.com/storybooks/storybook/pull/2344) -- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.6" to "2.5.8" [#2344](https://github.com/storybooks/storybook/pull/2344) -- Upgraded `vue-template-compiler` in `examples/vue-kitchen-sink` from "2.5.6" to "2.5.8" [#2344](https://github.com/storybooks/storybook/pull/2344) -- Upgraded `eslint-config-prettier` in `/` from "2.7.0" to "2.8.0" [#2342](https://github.com/storybooks/storybook/pull/2342) -- Upgraded `eslint-plugin-react` in `/` from "7.4.0" to "7.5.0" [#2342](https://github.com/storybooks/storybook/pull/2342) -- Upgraded `vue` in `addons/knobs` from "2.5.5" to "2.5.6" [#2342](https://github.com/storybooks/storybook/pull/2342) -- Upgraded `vue` in `app/vue` from "2.5.5" to "2.5.6" [#2342](https://github.com/storybooks/storybook/pull/2342) -- Upgraded `vue-template-compiler` in `app/vue` from "2.5.5" to "2.5.6" [#2342](https://github.com/storybooks/storybook/pull/2342) -- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.5" to "2.5.6" [#2342](https://github.com/storybooks/storybook/pull/2342) -- Upgraded `vue-template-compiler` in `examples/vue-kitchen-sink` from "2.5.5" to "2.5.6" [#2342](https://github.com/storybooks/storybook/pull/2342) -- Update gatsby in docs from 1.9.117 to 1.9.118 [#2341](https://github.com/storybooks/storybook/pull/2341) -- Upgraded `gatsby` in `docs` from "1.9.114" to "1.9.117" [#2338](https://github.com/storybooks/storybook/pull/2338) -- Upgraded `gh-pages` in `docs` from "1.0.0" to "1.1.0" [#2338](https://github.com/storybooks/storybook/pull/2338) -- Update gh-pages in / from 1.0.0 to 1.1.0 [#2339](https://github.com/storybooks/storybook/pull/2339) -- Upgraded `@types/react` in `addons/knobs` from "16.0.23" to "16.0.25" [#2334](https://github.com/storybooks/storybook/pull/2334) -- Upgraded `vue` in `addons/knobs` from "2.5.3" to "2.5.5" [#2334](https://github.com/storybooks/storybook/pull/2334) -- Upgraded `vue-hot-reload-api` in `app/vue` from "2.2.3" to "2.2.4" [#2334](https://github.com/storybooks/storybook/pull/2334) -- Upgraded `vue` in `app/vue` from "2.5.3" to "2.5.5" [#2334](https://github.com/storybooks/storybook/pull/2334) -- Upgraded `vue-template-compiler` in `app/vue` from "2.5.3" to "2.5.5" [#2334](https://github.com/storybooks/storybook/pull/2334) -- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.3" to "2.5.5" [#2334](https://github.com/storybooks/storybook/pull/2334) -- Upgraded `vue-hot-reload-api` in `examples/vue-kitchen-sink` from "2.2.3" to "2.2.4" [#2334](https://github.com/storybooks/storybook/pull/2334) -- Upgraded `vue-template-compiler` in `examples/vue-kitchen-sink` from "2.5.3" to "2.5.5" [#2334](https://github.com/storybooks/storybook/pull/2334) -- Update gatsby in docs from 1.9.112 to 1.9.114 [#2333](https://github.com/storybooks/storybook/pull/2333) -- Upgraded `@storybook/addon-actions` in `docs` from "3.2.15" to "3.2.16" [#2327](https://github.com/storybooks/storybook/pull/2327) -- Upgraded `@storybook/addon-links` in `docs` from "3.2.15" to "3.2.16" [#2327](https://github.com/storybooks/storybook/pull/2327) -- Upgraded `@storybook/addons` in `docs` from "3.2.15" to "3.2.16" [#2327](https://github.com/storybooks/storybook/pull/2327) -- Upgraded `@storybook/react` in `docs` from "3.2.15" to "3.2.16" [#2327](https://github.com/storybooks/storybook/pull/2327) -- Update @types/node in addons/knobs from 8.0.52 to 8.0.53 [#2326](https://github.com/storybooks/storybook/pull/2326) +- Update gatsby in /docs from 1.9.127 to 1.9.128 [#2420](https://github.com/storybookjs/storybook/pull/2420) +- Update marked in /docs from 0.3.6 to 0.3.7 [#2416](https://github.com/storybookjs/storybook/pull/2416) +- Upgraded `gatsby` in `docs` from "1.9.126" to "1.9.127" [#2406](https://github.com/storybookjs/storybook/pull/2406) +- Upgraded `gatsby-transformer-remark` in `docs` from "1.7.22" to "1.7.23" [#2406](https://github.com/storybookjs/storybook/pull/2406) +- Upgraded `gatsby` in `docs` from "1.9.125" to "1.9.126" [#2399](https://github.com/storybookjs/storybook/pull/2399) +- Upgraded `gatsby-link` in `docs` from "1.6.29" to "1.6.30" [#2399](https://github.com/storybookjs/storybook/pull/2399) +- Upgraded `gatsby` in `docs` from "1.9.119" to "1.9.125" [#2392](https://github.com/storybookjs/storybook/pull/2392) +- Upgraded `gatsby-link` in `docs` from "1.6.28" to "1.6.29" [#2392](https://github.com/storybookjs/storybook/pull/2392) +- Upgraded `gatsby-plugin-sharp` in `docs` from "1.6.21" to "1.6.22" [#2392](https://github.com/storybookjs/storybook/pull/2392) +- Upgraded `gatsby-remark-autolink-headers` in `docs` from "1.4.8" to "1.4.9" [#2392](https://github.com/storybookjs/storybook/pull/2392) +- Upgraded `gatsby-remark-copy-linked-files` in `docs` from "1.5.21" to "1.5.22" [#2392](https://github.com/storybookjs/storybook/pull/2392) +- Upgraded `gatsby-remark-images` in `docs` from "1.5.32" to "1.5.33" [#2392](https://github.com/storybookjs/storybook/pull/2392) +- Upgraded `gatsby-remark-smartypants` in `docs` from "1.4.8" to "1.4.9" [#2392](https://github.com/storybookjs/storybook/pull/2392) +- Upgraded `gatsby-source-filesystem` in `docs` from "1.5.8" to "1.5.9" [#2392](https://github.com/storybookjs/storybook/pull/2392) +- Upgraded `gatsby-transformer-remark` in `docs` from "1.7.21" to "1.7.22" [#2392](https://github.com/storybookjs/storybook/pull/2392) +- Upgraded `webpack-dev-middleware` in `app/react-native` from "1.12.1" to "1.12.2" [#2385](https://github.com/storybookjs/storybook/pull/2385) +- Upgraded `webpack-hot-middleware` in `app/react-native` from "2.20.0" to "2.21.0" [#2385](https://github.com/storybookjs/storybook/pull/2385) +- Upgraded `webpack-dev-middleware` in `app/react` from "1.12.1" to "1.12.2" [#2385](https://github.com/storybookjs/storybook/pull/2385) +- Upgraded `webpack-hot-middleware` in `app/react` from "2.20.0" to "2.21.0" [#2385](https://github.com/storybookjs/storybook/pull/2385) +- Upgraded `webpack-dev-middleware` in `app/vue` from "1.12.1" to "1.12.2" [#2385](https://github.com/storybookjs/storybook/pull/2385) +- Upgraded `webpack-hot-middleware` in `app/vue` from "2.20.0" to "2.21.0" [#2385](https://github.com/storybookjs/storybook/pull/2385) +- Upgraded `danger` in `/` from "2.0.1" to "2.0.3" [#2380](https://github.com/storybookjs/storybook/pull/2380) +- Upgraded `eslint` in `/` from "4.11.0" to "4.12.0" [#2380](https://github.com/storybookjs/storybook/pull/2380) +- Upgraded `eslint-config-prettier` in `/` from "2.8.0" to "2.9.0" [#2380](https://github.com/storybookjs/storybook/pull/2380) +- Upgraded `react-modal` in `lib/ui` from "3.1.3" to "3.1.4" [#2364](https://github.com/storybookjs/storybook/pull/2364) +- Upgraded `postcss-loader` in `app/react-native` from "2.0.8" to "2.0.9" [#2364](https://github.com/storybookjs/storybook/pull/2364) +- Upgraded `react-native` in `app/react-native` from "0.50.3" to "0.50.4" [#2364](https://github.com/storybookjs/storybook/pull/2364) +- Upgraded `common-tags` in `app/react` from "1.4.0" to "1.5.1" [#2364](https://github.com/storybookjs/storybook/pull/2364) +- Upgraded `postcss-loader` in `app/react` from "2.0.8" to "2.0.9" [#2364](https://github.com/storybookjs/storybook/pull/2364) +- Upgraded `common-tags` in `app/vue` from "1.4.0" to "1.5.1" [#2364](https://github.com/storybookjs/storybook/pull/2364) +- Upgraded `postcss-loader` in `app/vue` from "2.0.8" to "2.0.9" [#2364](https://github.com/storybookjs/storybook/pull/2364) +- Upgraded `commander` in `/` from "2.11.0" to "2.12.1" [#2359](https://github.com/storybookjs/storybook/pull/2359) +- Upgraded `commander` in `lib/cli` from "2.11.0" to "2.12.1" [#2359](https://github.com/storybookjs/storybook/pull/2359) +- Upgraded `react-modal` in `lib/ui` from "3.1.2" to "3.1.3" [#2359](https://github.com/storybookjs/storybook/pull/2359) +- Upgraded `commander` in `app/react-native` from "2.11.0" to "2.12.1" [#2359](https://github.com/storybookjs/storybook/pull/2359) +- Upgraded `webpack-dev-middleware` in `app/react-native` from "1.12.0" to "1.12.1" [#2359](https://github.com/storybookjs/storybook/pull/2359) +- Upgraded `commander` in `app/react` from "2.11.0" to "2.12.1" [#2359](https://github.com/storybookjs/storybook/pull/2359) +- Upgraded `webpack-dev-middleware` in `app/react` from "1.12.0" to "1.12.1" [#2359](https://github.com/storybookjs/storybook/pull/2359) +- Upgraded `commander` in `app/vue` from "2.11.0" to "2.12.1" [#2359](https://github.com/storybookjs/storybook/pull/2359) +- Upgraded `webpack-dev-middleware` in `app/vue` from "1.12.0" to "1.12.1" [#2359](https://github.com/storybookjs/storybook/pull/2359) +- Update gatsby in docs from 1.9.118 to 1.9.119 [#2354](https://github.com/storybookjs/storybook/pull/2354) +- Upgraded `vue` in `addons/knobs` from "2.5.6" to "2.5.8" [#2344](https://github.com/storybookjs/storybook/pull/2344) +- Upgraded `ws` in `app/react-native` from "3.3.1" to "3.3.2" [#2344](https://github.com/storybookjs/storybook/pull/2344) +- Upgraded `vue` in `app/vue` from "2.5.6" to "2.5.8" [#2344](https://github.com/storybookjs/storybook/pull/2344) +- Upgraded `vue-template-compiler` in `app/vue` from "2.5.6" to "2.5.8" [#2344](https://github.com/storybookjs/storybook/pull/2344) +- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.6" to "2.5.8" [#2344](https://github.com/storybookjs/storybook/pull/2344) +- Upgraded `vue-template-compiler` in `examples/vue-kitchen-sink` from "2.5.6" to "2.5.8" [#2344](https://github.com/storybookjs/storybook/pull/2344) +- Upgraded `eslint-config-prettier` in `/` from "2.7.0" to "2.8.0" [#2342](https://github.com/storybookjs/storybook/pull/2342) +- Upgraded `eslint-plugin-react` in `/` from "7.4.0" to "7.5.0" [#2342](https://github.com/storybookjs/storybook/pull/2342) +- Upgraded `vue` in `addons/knobs` from "2.5.5" to "2.5.6" [#2342](https://github.com/storybookjs/storybook/pull/2342) +- Upgraded `vue` in `app/vue` from "2.5.5" to "2.5.6" [#2342](https://github.com/storybookjs/storybook/pull/2342) +- Upgraded `vue-template-compiler` in `app/vue` from "2.5.5" to "2.5.6" [#2342](https://github.com/storybookjs/storybook/pull/2342) +- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.5" to "2.5.6" [#2342](https://github.com/storybookjs/storybook/pull/2342) +- Upgraded `vue-template-compiler` in `examples/vue-kitchen-sink` from "2.5.5" to "2.5.6" [#2342](https://github.com/storybookjs/storybook/pull/2342) +- Update gatsby in docs from 1.9.117 to 1.9.118 [#2341](https://github.com/storybookjs/storybook/pull/2341) +- Upgraded `gatsby` in `docs` from "1.9.114" to "1.9.117" [#2338](https://github.com/storybookjs/storybook/pull/2338) +- Upgraded `gh-pages` in `docs` from "1.0.0" to "1.1.0" [#2338](https://github.com/storybookjs/storybook/pull/2338) +- Update gh-pages in / from 1.0.0 to 1.1.0 [#2339](https://github.com/storybookjs/storybook/pull/2339) +- Upgraded `@types/react` in `addons/knobs` from "16.0.23" to "16.0.25" [#2334](https://github.com/storybookjs/storybook/pull/2334) +- Upgraded `vue` in `addons/knobs` from "2.5.3" to "2.5.5" [#2334](https://github.com/storybookjs/storybook/pull/2334) +- Upgraded `vue-hot-reload-api` in `app/vue` from "2.2.3" to "2.2.4" [#2334](https://github.com/storybookjs/storybook/pull/2334) +- Upgraded `vue` in `app/vue` from "2.5.3" to "2.5.5" [#2334](https://github.com/storybookjs/storybook/pull/2334) +- Upgraded `vue-template-compiler` in `app/vue` from "2.5.3" to "2.5.5" [#2334](https://github.com/storybookjs/storybook/pull/2334) +- Upgraded `vue` in `examples/vue-kitchen-sink` from "2.5.3" to "2.5.5" [#2334](https://github.com/storybookjs/storybook/pull/2334) +- Upgraded `vue-hot-reload-api` in `examples/vue-kitchen-sink` from "2.2.3" to "2.2.4" [#2334](https://github.com/storybookjs/storybook/pull/2334) +- Upgraded `vue-template-compiler` in `examples/vue-kitchen-sink` from "2.5.3" to "2.5.5" [#2334](https://github.com/storybookjs/storybook/pull/2334) +- Update gatsby in docs from 1.9.112 to 1.9.114 [#2333](https://github.com/storybookjs/storybook/pull/2333) +- Upgraded `@storybook/addon-actions` in `docs` from "3.2.15" to "3.2.16" [#2327](https://github.com/storybookjs/storybook/pull/2327) +- Upgraded `@storybook/addon-links` in `docs` from "3.2.15" to "3.2.16" [#2327](https://github.com/storybookjs/storybook/pull/2327) +- Upgraded `@storybook/addons` in `docs` from "3.2.15" to "3.2.16" [#2327](https://github.com/storybookjs/storybook/pull/2327) +- Upgraded `@storybook/react` in `docs` from "3.2.15" to "3.2.16" [#2327](https://github.com/storybookjs/storybook/pull/2327) +- Update @types/node in addons/knobs from 8.0.52 to 8.0.53 [#2326](https://github.com/storybookjs/storybook/pull/2326) @@ -5953,17 +6417,17 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Features -- Add addon-a11y to monorepo [#2292](https://github.com/storybooks/storybook/pull/2292) +- Add addon-a11y to monorepo [#2292](https://github.com/storybookjs/storybook/pull/2292) #### Bug Fixes -- Addon actions: replace eval with function name assignment [#2321](https://github.com/storybooks/storybook/pull/2321) -- FIX propwarning on basebutton && ADD style prop on basebutton [#2305](https://github.com/storybooks/storybook/pull/2305) -- React-native: fix drawer width [#2300](https://github.com/storybooks/storybook/pull/2300) +- Addon actions: replace eval with function name assignment [#2321](https://github.com/storybookjs/storybook/pull/2321) +- FIX propwarning on basebutton && ADD style prop on basebutton [#2305](https://github.com/storybookjs/storybook/pull/2305) +- React-native: fix drawer width [#2300](https://github.com/storybookjs/storybook/pull/2300) #### Maintenance -- Add Previews of deployed examples via Netlify [#2304](https://github.com/storybooks/storybook/pull/2304) +- Add Previews of deployed examples via Netlify [#2304](https://github.com/storybookjs/storybook/pull/2304) #### Dependency Upgrades @@ -5972,36 +6436,36 @@ We'll do a better job of getting out smaller releases next time around. ;-) 30 upgrades -- Update 5 dependencies from npm [#2312](https://github.com/storybooks/storybook/pull/2312) -- Upgraded gatsby-link in `docs` from `1.6.27` to `1.6.28` [#2311](https://github.com/storybooks/storybook/pull/2311) -- Upgraded gatsby-plugin-sharp in `docs` from `1.6.20` to `1.6.21` [#2311](https://github.com/storybooks/storybook/pull/2311) -- Upgraded gatsby-remark-images in `docs` from `1.5.31` to `1.5.32` [#2311](https://github.com/storybooks/storybook/pull/2311) -- Upgraded gatsby in `docs` from `1.9.108` to `1.9.112` [#2308](https://github.com/storybooks/storybook/pull/2308) -- Upgraded gatsby-link in `docs` from `1.6.26` to `1.6.27` [#2308](https://github.com/storybooks/storybook/pull/2308) -- Upgraded gatsby-remark-copy-linked-files in `docs` from `1.5.20` to `1.5.21` [#2308](https://github.com/storybooks/storybook/pull/2308) -- Upgraded gatsby-transformer-remark in `docs` from `1.7.20` to `1.7.21` [#2308](https://github.com/storybooks/storybook/pull/2308) -- Upgraded react-textarea-autosize in `addons/events` from `5.2.0` to `5.2.1` [#2309](https://github.com/storybooks/storybook/pull/2309) -- Upgraded react-datetime in `addons/knobs` from `2.10.3` to `2.11.0` [#2309](https://github.com/storybooks/storybook/pull/2309) -- Upgraded react-textarea-autosize in `addons/knobs` from `5.2.0` to `5.2.1` [#2309](https://github.com/storybooks/storybook/pull/2309) -- Upgraded react-textarea-autosize in `addons/comments` from `5.2.0` to `5.2.1` [#2309](https://github.com/storybooks/storybook/pull/2309) -- Upgraded moment in `addons/knobs` from `2.19.1` to `2.19.2` [#2293](https://github.com/storybooks/storybook/pull/2293) -- Upgraded moment in `addons/comments` from `2.19.1` to `2.19.2` [#2293](https://github.com/storybooks/storybook/pull/2293) -- Upgraded gatsby in `docs` from `1.9.100` to `1.9.108` [#2294](https://github.com/storybooks/storybook/pull/2294) -- Upgraded gatsby-link in `docs` from `1.6.24` to `1.6.26` [#2294](https://github.com/storybooks/storybook/pull/2294) -- Upgraded gatsby-plugin-sharp in `docs` from `1.6.19` to `1.6.20` [#2294](https://github.com/storybooks/storybook/pull/2294) -- Upgraded gatsby-remark-autolink-headers in `docs` from `1.4.7` to `1.4.8` [#2294](https://github.com/storybooks/storybook/pull/2294) -- Upgraded gatsby-remark-copy-linked-files in `docs` from `1.5.16` to `1.5.20` [#2294](https://github.com/storybooks/storybook/pull/2294) -- Upgraded gatsby-remark-images in `docs` from `1.5.30` to `1.5.31` [#2294](https://github.com/storybooks/storybook/pull/2294) -- Upgraded gatsby-source-filesystem in `docs` from `1.5.7` to `1.5.8` [#2294](https://github.com/storybooks/storybook/pull/2294) -- Upgraded gatsby-transformer-remark in `docs` from `1.7.19` to `1.7.20` [#2294](https://github.com/storybooks/storybook/pull/2294) -- Update lint-staged to 5.0.0 [#2291](https://github.com/storybooks/storybook/pull/2291) -- Upgraded eslint in `/` from `4.10.0` to `4.11.0` [#2290](https://github.com/storybooks/storybook/pull/2290) -- Upgraded puppeteer in `/` from `0.12.0` to `0.13.0` [#2290](https://github.com/storybooks/storybook/pull/2290) -- Update 6 dependencies from npm [#2286](https://github.com/storybooks/storybook/pull/2286) -- Update React to 16.1.0 [#2285](https://github.com/storybooks/storybook/pull/2285) -- Update 4 dependencies from npm [#2284](https://github.com/storybooks/storybook/pull/2284) -- use @storybook published deprecated dependencies [#2314](https://github.com/storybooks/storybook/pull/2314) -- Update inquirer to 4.0.0 [#2298](https://github.com/storybooks/storybook/pull/2298) +- Update 5 dependencies from npm [#2312](https://github.com/storybookjs/storybook/pull/2312) +- Upgraded gatsby-link in `docs` from `1.6.27` to `1.6.28` [#2311](https://github.com/storybookjs/storybook/pull/2311) +- Upgraded gatsby-plugin-sharp in `docs` from `1.6.20` to `1.6.21` [#2311](https://github.com/storybookjs/storybook/pull/2311) +- Upgraded gatsby-remark-images in `docs` from `1.5.31` to `1.5.32` [#2311](https://github.com/storybookjs/storybook/pull/2311) +- Upgraded gatsby in `docs` from `1.9.108` to `1.9.112` [#2308](https://github.com/storybookjs/storybook/pull/2308) +- Upgraded gatsby-link in `docs` from `1.6.26` to `1.6.27` [#2308](https://github.com/storybookjs/storybook/pull/2308) +- Upgraded gatsby-remark-copy-linked-files in `docs` from `1.5.20` to `1.5.21` [#2308](https://github.com/storybookjs/storybook/pull/2308) +- Upgraded gatsby-transformer-remark in `docs` from `1.7.20` to `1.7.21` [#2308](https://github.com/storybookjs/storybook/pull/2308) +- Upgraded react-textarea-autosize in `addons/events` from `5.2.0` to `5.2.1` [#2309](https://github.com/storybookjs/storybook/pull/2309) +- Upgraded react-datetime in `addons/knobs` from `2.10.3` to `2.11.0` [#2309](https://github.com/storybookjs/storybook/pull/2309) +- Upgraded react-textarea-autosize in `addons/knobs` from `5.2.0` to `5.2.1` [#2309](https://github.com/storybookjs/storybook/pull/2309) +- Upgraded react-textarea-autosize in `addons/comments` from `5.2.0` to `5.2.1` [#2309](https://github.com/storybookjs/storybook/pull/2309) +- Upgraded moment in `addons/knobs` from `2.19.1` to `2.19.2` [#2293](https://github.com/storybookjs/storybook/pull/2293) +- Upgraded moment in `addons/comments` from `2.19.1` to `2.19.2` [#2293](https://github.com/storybookjs/storybook/pull/2293) +- Upgraded gatsby in `docs` from `1.9.100` to `1.9.108` [#2294](https://github.com/storybookjs/storybook/pull/2294) +- Upgraded gatsby-link in `docs` from `1.6.24` to `1.6.26` [#2294](https://github.com/storybookjs/storybook/pull/2294) +- Upgraded gatsby-plugin-sharp in `docs` from `1.6.19` to `1.6.20` [#2294](https://github.com/storybookjs/storybook/pull/2294) +- Upgraded gatsby-remark-autolink-headers in `docs` from `1.4.7` to `1.4.8` [#2294](https://github.com/storybookjs/storybook/pull/2294) +- Upgraded gatsby-remark-copy-linked-files in `docs` from `1.5.16` to `1.5.20` [#2294](https://github.com/storybookjs/storybook/pull/2294) +- Upgraded gatsby-remark-images in `docs` from `1.5.30` to `1.5.31` [#2294](https://github.com/storybookjs/storybook/pull/2294) +- Upgraded gatsby-source-filesystem in `docs` from `1.5.7` to `1.5.8` [#2294](https://github.com/storybookjs/storybook/pull/2294) +- Upgraded gatsby-transformer-remark in `docs` from `1.7.19` to `1.7.20` [#2294](https://github.com/storybookjs/storybook/pull/2294) +- Update lint-staged to 5.0.0 [#2291](https://github.com/storybookjs/storybook/pull/2291) +- Upgraded eslint in `/` from `4.10.0` to `4.11.0` [#2290](https://github.com/storybookjs/storybook/pull/2290) +- Upgraded puppeteer in `/` from `0.12.0` to `0.13.0` [#2290](https://github.com/storybookjs/storybook/pull/2290) +- Update 6 dependencies from npm [#2286](https://github.com/storybookjs/storybook/pull/2286) +- Update React to 16.1.0 [#2285](https://github.com/storybookjs/storybook/pull/2285) +- Update 4 dependencies from npm [#2284](https://github.com/storybookjs/storybook/pull/2284) +- use @storybook published deprecated dependencies [#2314](https://github.com/storybookjs/storybook/pull/2314) +- Update inquirer to 4.0.0 [#2298](https://github.com/storybookjs/storybook/pull/2298) @@ -6011,19 +6475,19 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Features -- Optimizing for iphone x [#2260](https://github.com/storybooks/storybook/pull/2260) -- Fix accessibility warnings [#2270](https://github.com/storybooks/storybook/pull/2270) +- Optimizing for iphone x [#2260](https://github.com/storybookjs/storybook/pull/2260) +- Fix accessibility warnings [#2270](https://github.com/storybookjs/storybook/pull/2270) #### Bug Fixes -- Fix propTypes in addon-background [#2279](https://github.com/storybooks/storybook/pull/2279) -- Addon-info: allow duplicate displayNames [#2269](https://github.com/storybooks/storybook/pull/2269) -- Fix browser navigation [#2261](https://github.com/storybooks/storybook/pull/2261) +- Fix propTypes in addon-background [#2279](https://github.com/storybookjs/storybook/pull/2279) +- Addon-info: allow duplicate displayNames [#2269](https://github.com/storybookjs/storybook/pull/2269) +- Fix browser navigation [#2261](https://github.com/storybookjs/storybook/pull/2261) #### Maintenance -- Fixes to build scripts for Windows. [#2051](https://github.com/storybooks/storybook/pull/2051) -- Update dependencies.yml to include batch updates for docs dependencies [#2252](https://github.com/storybooks/storybook/pull/2252) +- Fixes to build scripts for Windows. [#2051](https://github.com/storybookjs/storybook/pull/2051) +- Update dependencies.yml to include batch updates for docs dependencies [#2252](https://github.com/storybookjs/storybook/pull/2252) #### Dependency Upgrades @@ -6032,17 +6496,17 @@ We'll do a better job of getting out smaller releases next time around. ;-) 11 PRs -- Update 4 dependencies from npm [#2267](https://github.com/storybooks/storybook/pull/2267) -- Update 8 dependencies from npm [#2262](https://github.com/storybooks/storybook/pull/2262) -- Update 3 dependencies from npm [#2257](https://github.com/storybooks/storybook/pull/2257) -- Update babel-eslint in / from 8.0.1 to 8.0.2 [#2253](https://github.com/storybooks/storybook/pull/2253) -- 3 packages updated by dependencies.io [#2251](https://github.com/storybooks/storybook/pull/2251) -- Update devDependencies [#2232](https://github.com/storybooks/storybook/pull/2232) -- Update react-textarea-autosize to 5.1.0 [#2233](https://github.com/storybooks/storybook/pull/2233) -- Update insert-css to 2.0.0 [#2234](https://github.com/storybooks/storybook/pull/2234) -- Update file-loader to 1.1.5 [#2236](https://github.com/storybooks/storybook/pull/2236) -- Update read-pkg-up to 3.0.0 [#2237](https://github.com/storybooks/storybook/pull/2237) -- Update react-modal to 3.1.0 [#2238](https://github.com/storybooks/storybook/pull/2238) +- Update 4 dependencies from npm [#2267](https://github.com/storybookjs/storybook/pull/2267) +- Update 8 dependencies from npm [#2262](https://github.com/storybookjs/storybook/pull/2262) +- Update 3 dependencies from npm [#2257](https://github.com/storybookjs/storybook/pull/2257) +- Update babel-eslint in / from 8.0.1 to 8.0.2 [#2253](https://github.com/storybookjs/storybook/pull/2253) +- 3 packages updated by dependencies.io [#2251](https://github.com/storybookjs/storybook/pull/2251) +- Update devDependencies [#2232](https://github.com/storybookjs/storybook/pull/2232) +- Update react-textarea-autosize to 5.1.0 [#2233](https://github.com/storybookjs/storybook/pull/2233) +- Update insert-css to 2.0.0 [#2234](https://github.com/storybookjs/storybook/pull/2234) +- Update file-loader to 1.1.5 [#2236](https://github.com/storybookjs/storybook/pull/2236) +- Update read-pkg-up to 3.0.0 [#2237](https://github.com/storybookjs/storybook/pull/2237) +- Update react-modal to 3.1.0 [#2238](https://github.com/storybookjs/storybook/pull/2238) @@ -6052,28 +6516,28 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Features -- React-native: Add platform option for haul bundler [#2129](https://github.com/storybooks/storybook/pull/2129) +- React-native: Add platform option for haul bundler [#2129](https://github.com/storybookjs/storybook/pull/2129) #### Bug Fixes -- Fixed addon-info not importing docgen descriptions [#2133](https://github.com/storybooks/storybook/pull/2133) -- Handle full screen scrolling on iOS [#2040](https://github.com/storybooks/storybook/pull/2040) -- Fixed infinite render loop [#2100](https://github.com/storybooks/storybook/pull/2100) -- Fix hmr in react-native template [#2194](https://github.com/storybooks/storybook/pull/2194) -- Fix prop type in react-native [#2185](https://github.com/storybooks/storybook/pull/2185) -- Avoid logging an object on compilation errors [#2199](https://github.com/storybooks/storybook/pull/2199) +- Fixed addon-info not importing docgen descriptions [#2133](https://github.com/storybookjs/storybook/pull/2133) +- Handle full screen scrolling on iOS [#2040](https://github.com/storybookjs/storybook/pull/2040) +- Fixed infinite render loop [#2100](https://github.com/storybookjs/storybook/pull/2100) +- Fix hmr in react-native template [#2194](https://github.com/storybookjs/storybook/pull/2194) +- Fix prop type in react-native [#2185](https://github.com/storybookjs/storybook/pull/2185) +- Avoid logging an object on compilation errors [#2199](https://github.com/storybookjs/storybook/pull/2199) #### Documentation -- CRA Example Cleanup - Info [#2143](https://github.com/storybooks/storybook/pull/2143) +- CRA Example Cleanup - Info [#2143](https://github.com/storybookjs/storybook/pull/2143) #### Maintenance -- IMPROVE integration tests so they all output a diff image when multiple fail [#2197](https://github.com/storybooks/storybook/pull/2197) -- ADD integration artefacts store step to circle.yml [#2182](https://github.com/storybooks/storybook/pull/2182) -- ADD integration test [#2119](https://github.com/storybooks/storybook/pull/2119) -- Updating to new favicon [#2113](https://github.com/storybooks/storybook/pull/2113) -- Bot for closing old issues [#2186](https://github.com/storybooks/storybook/pull/2186) +- IMPROVE integration tests so they all output a diff image when multiple fail [#2197](https://github.com/storybookjs/storybook/pull/2197) +- ADD integration artefacts store step to circle.yml [#2182](https://github.com/storybookjs/storybook/pull/2182) +- ADD integration test [#2119](https://github.com/storybookjs/storybook/pull/2119) +- Updating to new favicon [#2113](https://github.com/storybookjs/storybook/pull/2113) +- Bot for closing old issues [#2186](https://github.com/storybookjs/storybook/pull/2186) #### Dependency Upgrades @@ -6082,18 +6546,18 @@ We'll do a better job of getting out smaller releases next time around. ;-) 12 PRs -- 7 packages updated by dependencies.io [#2200](https://github.com/storybooks/storybook/pull/2200) -- Update jest-image-snapshot to 2.1.0 [#2184](https://github.com/storybooks/storybook/pull/2184) -- 2 packages updated by dependencies.io [#2175](https://github.com/storybooks/storybook/pull/2175) -- 3 packages updated by dependencies.io [#2137](https://github.com/storybooks/storybook/pull/2137) -- 2 packages updated by dependencies.io [#2131](https://github.com/storybooks/storybook/pull/2131) -- 4 packages updated by dependencies.io [#2124](https://github.com/storybooks/storybook/pull/2124) -- 2 packages updated by dependencies.io [#2116](https://github.com/storybooks/storybook/pull/2116) -- 5 packages updated by dependencies.io [#2111](https://github.com/storybooks/storybook/pull/2111) -- 4 packages updated by dependencies.io [#2109](https://github.com/storybooks/storybook/pull/2109) -- Add index.js file for RN 0.49 [#2176](https://github.com/storybooks/storybook/pull/2176) -- Enable issue creation for dependencies.io [#2141](https://github.com/storybooks/storybook/pull/2141) -- Major updates in devDependencies [#2178](https://github.com/storybooks/storybook/pull/2178) +- 7 packages updated by dependencies.io [#2200](https://github.com/storybookjs/storybook/pull/2200) +- Update jest-image-snapshot to 2.1.0 [#2184](https://github.com/storybookjs/storybook/pull/2184) +- 2 packages updated by dependencies.io [#2175](https://github.com/storybookjs/storybook/pull/2175) +- 3 packages updated by dependencies.io [#2137](https://github.com/storybookjs/storybook/pull/2137) +- 2 packages updated by dependencies.io [#2131](https://github.com/storybookjs/storybook/pull/2131) +- 4 packages updated by dependencies.io [#2124](https://github.com/storybookjs/storybook/pull/2124) +- 2 packages updated by dependencies.io [#2116](https://github.com/storybookjs/storybook/pull/2116) +- 5 packages updated by dependencies.io [#2111](https://github.com/storybookjs/storybook/pull/2111) +- 4 packages updated by dependencies.io [#2109](https://github.com/storybookjs/storybook/pull/2109) +- Add index.js file for RN 0.49 [#2176](https://github.com/storybookjs/storybook/pull/2176) +- Enable issue creation for dependencies.io [#2141](https://github.com/storybookjs/storybook/pull/2141) +- Major updates in devDependencies [#2178](https://github.com/storybookjs/storybook/pull/2178) @@ -6103,27 +6567,27 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Features -- Knobs addon: new knob type `button` [#2004](https://github.com/storybooks/storybook/pull/2004) -- Vue: Support JSX for Vue Components [#1993](https://github.com/storybooks/storybook/pull/1993) -- Vue CLI: support Nuxt.js projects [#2056](https://github.com/storybooks/storybook/pull/2056) +- Knobs addon: new knob type `button` [#2004](https://github.com/storybookjs/storybook/pull/2004) +- Vue: Support JSX for Vue Components [#1993](https://github.com/storybookjs/storybook/pull/1993) +- Vue CLI: support Nuxt.js projects [#2056](https://github.com/storybookjs/storybook/pull/2056) #### Bug Fixes -- UI: ix sidebar header wrapping [#1962](https://github.com/storybooks/storybook/pull/1962) -- Vue: Make Vue a peer dependency [#2041](https://github.com/storybooks/storybook/pull/2041) +- UI: ix sidebar header wrapping [#1962](https://github.com/storybookjs/storybook/pull/1962) +- Vue: Make Vue a peer dependency [#2041](https://github.com/storybookjs/storybook/pull/2041) #### Documentation -- Update empty addons channel bug description [#1977](https://github.com/storybooks/storybook/pull/1977) -- Fix README.md example for addons/info [#1960](https://github.com/storybooks/storybook/pull/1960) +- Update empty addons channel bug description [#1977](https://github.com/storybookjs/storybook/pull/1977) +- Fix README.md example for addons/info [#1960](https://github.com/storybookjs/storybook/pull/1960) #### Maintenance -- Dirty-check repo state on CI to ensure lockfiles being up-to-date [#1980](https://github.com/storybooks/storybook/pull/1980) -- Enable batch mode for dependencies.io [#2093](https://github.com/storybooks/storybook/pull/2093) -- Fixed lifecycle twice executing (closes #1742) [#1983](https://github.com/storybooks/storybook/pull/1983) -- Disable npm publish on all non-master branches [#1963](https://github.com/storybooks/storybook/pull/1963) -- Fix lerna.json to ignore vue-kitchen-sink correctly [#1944](https://github.com/storybooks/storybook/pull/1944) +- Dirty-check repo state on CI to ensure lockfiles being up-to-date [#1980](https://github.com/storybookjs/storybook/pull/1980) +- Enable batch mode for dependencies.io [#2093](https://github.com/storybookjs/storybook/pull/2093) +- Fixed lifecycle twice executing (closes #1742) [#1983](https://github.com/storybookjs/storybook/pull/1983) +- Disable npm publish on all non-master branches [#1963](https://github.com/storybookjs/storybook/pull/1963) +- Fix lerna.json to ignore vue-kitchen-sink correctly [#1944](https://github.com/storybookjs/storybook/pull/1944) #### Dependency Upgrades @@ -6132,59 +6596,59 @@ We'll do a better job of getting out smaller releases next time around. ;-) 66 PRs -- 2 packages updated by dependencies.io [#2097](https://github.com/storybooks/storybook/pull/2097) -- 2 packages updated by dependencies.io [#2094](https://github.com/storybooks/storybook/pull/2094) -- Update deps [#2090](https://github.com/storybooks/storybook/pull/2090) -- Update enzyme-adapter-react-16 from 1.0.1 to 1.0.2 in / [#2068](https://github.com/storybooks/storybook/pull/2068) -- Update deps [#2077](https://github.com/storybooks/storybook/pull/2077) -- Update webpack-hot-middleware from 2.19.1 to 2.20.0 in app/react [#2060](https://github.com/storybooks/storybook/pull/2060) -- Update webpack-hot-middleware from 2.19.1 to 2.20.0 in app/react-native [#2059](https://github.com/storybooks/storybook/pull/2059) -- Update @types/react from 16.0.10 to 16.0.11 in addons/knobs [#2058](https://github.com/storybooks/storybook/pull/2058) -- Update vue versions [#2032](https://github.com/storybooks/storybook/pull/2032) -- Update eslint from 4.8.0 to 4.9.0 in / [#2054](https://github.com/storybooks/storybook/pull/2054) -- Update webpack-dev-server from 2.9.1 to 2.9.2 in examples/vue-kitchen-sink [#2055](https://github.com/storybooks/storybook/pull/2055) -- Update postcss-loader from 2.0.7 to 2.0.8 in app/react [#2045](https://github.com/storybooks/storybook/pull/2045) -- Update codecov from 2.3.0 to 2.3.1 in / [#2042](https://github.com/storybooks/storybook/pull/2042) -- Update webpack from 3.6.0 to 3.7.1 in app/react-native [#2027](https://github.com/storybooks/storybook/pull/2027) -- Update moment from 2.19.0 to 2.19.1 in addons/knobs [#2026](https://github.com/storybooks/storybook/pull/2026) -- Update express from 4.16.1 to 4.16.2 in app/vue [#2018](https://github.com/storybooks/storybook/pull/2018) -- Update postcss-loader from 2.0.6 to 2.0.7 in app/react [#2017](https://github.com/storybooks/storybook/pull/2017) -- Update express from 4.16.1 to 4.16.2 in app/react [#2016](https://github.com/storybooks/storybook/pull/2016) -- Update postcss-loader from 2.0.6 to 2.0.7 in app/react-native [#2015](https://github.com/storybooks/storybook/pull/2015) -- Update express from 4.16.1 to 4.16.2 in app/react-native [#2014](https://github.com/storybooks/storybook/pull/2014) -- Update moment from 2.18.1 to 2.19.0 in addons/knobs [#2013](https://github.com/storybooks/storybook/pull/2013) -- Update autoprefixer from 7.1.4 to 7.1.5 in app/vue [#2003](https://github.com/storybooks/storybook/pull/2003) -- Update update-notifier from 2.2.0 to 2.3.0 in lib/cli [#1999](https://github.com/storybooks/storybook/pull/1999) -- Update autoprefixer from 7.1.4 to 7.1.5 in app/react [#2002](https://github.com/storybooks/storybook/pull/2002) -- Update autoprefixer from 7.1.4 to 7.1.5 in app/react-native [#2000](https://github.com/storybooks/storybook/pull/2000) -- Update @types/react from 16.0.9 to 16.0.10 in addons/knobs [#1998](https://github.com/storybooks/storybook/pull/1998) -- Update jest-enzyme from 4.0.0 to 4.0.1 in / [#1997](https://github.com/storybooks/storybook/pull/1997) -- Update storybook-router description in the addon gallery. [#1991](https://github.com/storybooks/storybook/pull/1991) -- Update lerna from 2.3.1 to 2.4.0 in / [#1985](https://github.com/storybooks/storybook/pull/1985) -- Update react-modal from 2.3.3 to 2.4.1 in app/vue [#1989](https://github.com/storybooks/storybook/pull/1989) -- Update react-modal from 2.3.3 to 2.4.1 in app/react [#1988](https://github.com/storybooks/storybook/pull/1988) -- Update react-modal from 2.3.3 to 2.4.1 in lib/ui [#1987](https://github.com/storybooks/storybook/pull/1987) -- Update react-icons from 2.2.5 to 2.2.7 in lib/ui [#1986](https://github.com/storybooks/storybook/pull/1986) -- Remove markdown autofixing on precommit hook [#1964](https://github.com/storybooks/storybook/pull/1964) -- Update vue-hot-reload-api from 2.1.0 to 2.1.1 in app/vue [#1976](https://github.com/storybooks/storybook/pull/1976) -- Update url-loader from 0.5.9 to 0.6.2 in app/vue [#1975](https://github.com/storybooks/storybook/pull/1975) -- Update react-modal from 2.3.2 to 2.3.3 in app/vue [#1974](https://github.com/storybooks/storybook/pull/1974) -- Update url-loader from 0.5.9 to 0.6.2 in app/react [#1973](https://github.com/storybooks/storybook/pull/1973) -- Update react-modal from 2.3.2 to 2.3.3 in app/react [#1972](https://github.com/storybooks/storybook/pull/1972) -- Update url-loader from 0.5.9 to 0.6.2 in app/react-native [#1970](https://github.com/storybooks/storybook/pull/1970) -- Update react-modal from 2.3.2 to 2.3.3 in lib/ui [#1969](https://github.com/storybooks/storybook/pull/1969) -- Update @types/react from 16.0.8 to 16.0.9 in addons/knobs [#1968](https://github.com/storybooks/storybook/pull/1968) -- Update graphql from 0.11.6 to 0.11.7 in addons/graphql [#1967](https://github.com/storybooks/storybook/pull/1967) -- Update @storybook/addon-links from 3.2.10 to 3.2.12 [#1949](https://github.com/storybooks/storybook/pull/1949) -- Update style-loader from 0.18.2 to 0.19.0 in addons/knobs [#1958](https://github.com/storybooks/storybook/pull/1958) -- Update @types/react from 16.0.7 to 16.0.8 in addons/knobs [#1957](https://github.com/storybooks/storybook/pull/1957) -- Update prettier from 1.7.3 to 1.7.4 in / [#1955](https://github.com/storybooks/storybook/pull/1955) -- Update react-motion from 0.5.1 to 0.5.2 [#1953](https://github.com/storybooks/storybook/pull/1953) -- Update lerna from 2.2.0 to 2.3.1 in / [#1954](https://github.com/storybooks/storybook/pull/1954) -- Update @storybook/addons from 3.2.10 to 3.2.12 [#1950](https://github.com/storybooks/storybook/pull/1950) -- Update enzyme from 3.0.0 to 3.1.0 in / [#1948](https://github.com/storybooks/storybook/pull/1948) -- Update enzyme-adapter-react-16 from 1.0.0 to 1.0.1 in / [#1951](https://github.com/storybooks/storybook/pull/1951) -- Update @storybook/addon-actions from 3.2.11 to 3.2.12 [#1947](https://github.com/storybooks/storybook/pull/1947) +- 2 packages updated by dependencies.io [#2097](https://github.com/storybookjs/storybook/pull/2097) +- 2 packages updated by dependencies.io [#2094](https://github.com/storybookjs/storybook/pull/2094) +- Update deps [#2090](https://github.com/storybookjs/storybook/pull/2090) +- Update enzyme-adapter-react-16 from 1.0.1 to 1.0.2 in / [#2068](https://github.com/storybookjs/storybook/pull/2068) +- Update deps [#2077](https://github.com/storybookjs/storybook/pull/2077) +- Update webpack-hot-middleware from 2.19.1 to 2.20.0 in app/react [#2060](https://github.com/storybookjs/storybook/pull/2060) +- Update webpack-hot-middleware from 2.19.1 to 2.20.0 in app/react-native [#2059](https://github.com/storybookjs/storybook/pull/2059) +- Update @types/react from 16.0.10 to 16.0.11 in addons/knobs [#2058](https://github.com/storybookjs/storybook/pull/2058) +- Update vue versions [#2032](https://github.com/storybookjs/storybook/pull/2032) +- Update eslint from 4.8.0 to 4.9.0 in / [#2054](https://github.com/storybookjs/storybook/pull/2054) +- Update webpack-dev-server from 2.9.1 to 2.9.2 in examples/vue-kitchen-sink [#2055](https://github.com/storybookjs/storybook/pull/2055) +- Update postcss-loader from 2.0.7 to 2.0.8 in app/react [#2045](https://github.com/storybookjs/storybook/pull/2045) +- Update codecov from 2.3.0 to 2.3.1 in / [#2042](https://github.com/storybookjs/storybook/pull/2042) +- Update webpack from 3.6.0 to 3.7.1 in app/react-native [#2027](https://github.com/storybookjs/storybook/pull/2027) +- Update moment from 2.19.0 to 2.19.1 in addons/knobs [#2026](https://github.com/storybookjs/storybook/pull/2026) +- Update express from 4.16.1 to 4.16.2 in app/vue [#2018](https://github.com/storybookjs/storybook/pull/2018) +- Update postcss-loader from 2.0.6 to 2.0.7 in app/react [#2017](https://github.com/storybookjs/storybook/pull/2017) +- Update express from 4.16.1 to 4.16.2 in app/react [#2016](https://github.com/storybookjs/storybook/pull/2016) +- Update postcss-loader from 2.0.6 to 2.0.7 in app/react-native [#2015](https://github.com/storybookjs/storybook/pull/2015) +- Update express from 4.16.1 to 4.16.2 in app/react-native [#2014](https://github.com/storybookjs/storybook/pull/2014) +- Update moment from 2.18.1 to 2.19.0 in addons/knobs [#2013](https://github.com/storybookjs/storybook/pull/2013) +- Update autoprefixer from 7.1.4 to 7.1.5 in app/vue [#2003](https://github.com/storybookjs/storybook/pull/2003) +- Update update-notifier from 2.2.0 to 2.3.0 in lib/cli [#1999](https://github.com/storybookjs/storybook/pull/1999) +- Update autoprefixer from 7.1.4 to 7.1.5 in app/react [#2002](https://github.com/storybookjs/storybook/pull/2002) +- Update autoprefixer from 7.1.4 to 7.1.5 in app/react-native [#2000](https://github.com/storybookjs/storybook/pull/2000) +- Update @types/react from 16.0.9 to 16.0.10 in addons/knobs [#1998](https://github.com/storybookjs/storybook/pull/1998) +- Update jest-enzyme from 4.0.0 to 4.0.1 in / [#1997](https://github.com/storybookjs/storybook/pull/1997) +- Update storybook-router description in the addon gallery. [#1991](https://github.com/storybookjs/storybook/pull/1991) +- Update lerna from 2.3.1 to 2.4.0 in / [#1985](https://github.com/storybookjs/storybook/pull/1985) +- Update react-modal from 2.3.3 to 2.4.1 in app/vue [#1989](https://github.com/storybookjs/storybook/pull/1989) +- Update react-modal from 2.3.3 to 2.4.1 in app/react [#1988](https://github.com/storybookjs/storybook/pull/1988) +- Update react-modal from 2.3.3 to 2.4.1 in lib/ui [#1987](https://github.com/storybookjs/storybook/pull/1987) +- Update react-icons from 2.2.5 to 2.2.7 in lib/ui [#1986](https://github.com/storybookjs/storybook/pull/1986) +- Remove markdown autofixing on precommit hook [#1964](https://github.com/storybookjs/storybook/pull/1964) +- Update vue-hot-reload-api from 2.1.0 to 2.1.1 in app/vue [#1976](https://github.com/storybookjs/storybook/pull/1976) +- Update url-loader from 0.5.9 to 0.6.2 in app/vue [#1975](https://github.com/storybookjs/storybook/pull/1975) +- Update react-modal from 2.3.2 to 2.3.3 in app/vue [#1974](https://github.com/storybookjs/storybook/pull/1974) +- Update url-loader from 0.5.9 to 0.6.2 in app/react [#1973](https://github.com/storybookjs/storybook/pull/1973) +- Update react-modal from 2.3.2 to 2.3.3 in app/react [#1972](https://github.com/storybookjs/storybook/pull/1972) +- Update url-loader from 0.5.9 to 0.6.2 in app/react-native [#1970](https://github.com/storybookjs/storybook/pull/1970) +- Update react-modal from 2.3.2 to 2.3.3 in lib/ui [#1969](https://github.com/storybookjs/storybook/pull/1969) +- Update @types/react from 16.0.8 to 16.0.9 in addons/knobs [#1968](https://github.com/storybookjs/storybook/pull/1968) +- Update graphql from 0.11.6 to 0.11.7 in addons/graphql [#1967](https://github.com/storybookjs/storybook/pull/1967) +- Update @storybook/addon-links from 3.2.10 to 3.2.12 [#1949](https://github.com/storybookjs/storybook/pull/1949) +- Update style-loader from 0.18.2 to 0.19.0 in addons/knobs [#1958](https://github.com/storybookjs/storybook/pull/1958) +- Update @types/react from 16.0.7 to 16.0.8 in addons/knobs [#1957](https://github.com/storybookjs/storybook/pull/1957) +- Update prettier from 1.7.3 to 1.7.4 in / [#1955](https://github.com/storybookjs/storybook/pull/1955) +- Update react-motion from 0.5.1 to 0.5.2 [#1953](https://github.com/storybookjs/storybook/pull/1953) +- Update lerna from 2.2.0 to 2.3.1 in / [#1954](https://github.com/storybookjs/storybook/pull/1954) +- Update @storybook/addons from 3.2.10 to 3.2.12 [#1950](https://github.com/storybookjs/storybook/pull/1950) +- Update enzyme from 3.0.0 to 3.1.0 in / [#1948](https://github.com/storybookjs/storybook/pull/1948) +- Update enzyme-adapter-react-16 from 1.0.0 to 1.0.1 in / [#1951](https://github.com/storybookjs/storybook/pull/1951) +- Update @storybook/addon-actions from 3.2.11 to 3.2.12 [#1947](https://github.com/storybookjs/storybook/pull/1947) @@ -6194,21 +6658,21 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Bug Fixes -- addon-info: wrap prop values in braces [#1915](https://github.com/storybooks/storybook/pull/1915) -- Add polyfills to fix addon-actions in IE11 [#1917](https://github.com/storybooks/storybook/pull/1917) -- Gracefully handle fatal webpack errors. [#1918](https://github.com/storybooks/storybook/pull/1918) -- Fix polyfills loading order [#1905](https://github.com/storybooks/storybook/pull/1905) +- addon-info: wrap prop values in braces [#1915](https://github.com/storybookjs/storybook/pull/1915) +- Add polyfills to fix addon-actions in IE11 [#1917](https://github.com/storybookjs/storybook/pull/1917) +- Gracefully handle fatal webpack errors. [#1918](https://github.com/storybookjs/storybook/pull/1918) +- Fix polyfills loading order [#1905](https://github.com/storybookjs/storybook/pull/1905) #### Documentation -- Improve documentation for react-native : clarify where left pane is [#1901](https://github.com/storybooks/storybook/pull/1901) +- Improve documentation for react-native : clarify where left pane is [#1901](https://github.com/storybookjs/storybook/pull/1901) #### Maintenance -- Use yarn workspaces on master [#1916](https://github.com/storybooks/storybook/pull/1916) -- Run `eslint --fix` on master [#1909](https://github.com/storybooks/storybook/pull/1909) -- Remove open collective notice from storybook install [#1940](https://github.com/storybooks/storybook/pull/1940) -- Run bootstrap before linting on CI [#1934](https://github.com/storybooks/storybook/pull/1934) +- Use yarn workspaces on master [#1916](https://github.com/storybookjs/storybook/pull/1916) +- Run `eslint --fix` on master [#1909](https://github.com/storybookjs/storybook/pull/1909) +- Remove open collective notice from storybook install [#1940](https://github.com/storybookjs/storybook/pull/1940) +- Run bootstrap before linting on CI [#1934](https://github.com/storybookjs/storybook/pull/1934) #### Dependency Upgrades @@ -6217,20 +6681,20 @@ We'll do a better job of getting out smaller releases next time around. ;-) 14 PRs -- Update raf from 3.3.2 to 3.4.0 in / [#1939](https://github.com/storybooks/storybook/pull/1939) -- Update graphql from 0.7.2 to 0.11.6 in addons/graphql [#1930](https://github.com/storybooks/storybook/pull/1930) -- Update react-typography from 0.15.10 to 0.16.5 [#1927](https://github.com/storybooks/storybook/pull/1927) -- Update react-render-html from 0.1.6 to 0.5.2 in addons/comments [#1933](https://github.com/storybooks/storybook/pull/1933) -- Update react-datetime from 2.10.2 to 2.10.3 in addons/knobs [#1931](https://github.com/storybooks/storybook/pull/1931) -- Update typography from 0.15.12 to 0.16.6 [#1929](https://github.com/storybooks/storybook/pull/1929) -- Update graphiql from 0.7.8 to 0.11.5 in addons/graphql [#1928](https://github.com/storybooks/storybook/pull/1928) -- Update prettier from 1.7.2 to 1.7.3 in / [#1926](https://github.com/storybooks/storybook/pull/1926) -- Update react-stack-grid from 0.2.2 to 0.5.0 [#1925](https://github.com/storybooks/storybook/pull/1925) -- Update react-motion from 0.1.0 to 0.5.1 [#1924](https://github.com/storybooks/storybook/pull/1924) -- Update eslint from 4.7.2 to 4.8.0 in / [#1923](https://github.com/storybooks/storybook/pull/1923) -- Update chroma-js from 0.7.2 to 0.7.8 [#1922](https://github.com/storybooks/storybook/pull/1922) -- Use dependencies.io for dependencies management [#1920](https://github.com/storybooks/storybook/pull/1920) -- UPGRADE react & friends && UPGRADE other dependencies [#1908](https://github.com/storybooks/storybook/pull/1908) +- Update raf from 3.3.2 to 3.4.0 in / [#1939](https://github.com/storybookjs/storybook/pull/1939) +- Update graphql from 0.7.2 to 0.11.6 in addons/graphql [#1930](https://github.com/storybookjs/storybook/pull/1930) +- Update react-typography from 0.15.10 to 0.16.5 [#1927](https://github.com/storybookjs/storybook/pull/1927) +- Update react-render-html from 0.1.6 to 0.5.2 in addons/comments [#1933](https://github.com/storybookjs/storybook/pull/1933) +- Update react-datetime from 2.10.2 to 2.10.3 in addons/knobs [#1931](https://github.com/storybookjs/storybook/pull/1931) +- Update typography from 0.15.12 to 0.16.6 [#1929](https://github.com/storybookjs/storybook/pull/1929) +- Update graphiql from 0.7.8 to 0.11.5 in addons/graphql [#1928](https://github.com/storybookjs/storybook/pull/1928) +- Update prettier from 1.7.2 to 1.7.3 in / [#1926](https://github.com/storybookjs/storybook/pull/1926) +- Update react-stack-grid from 0.2.2 to 0.5.0 [#1925](https://github.com/storybookjs/storybook/pull/1925) +- Update react-motion from 0.1.0 to 0.5.1 [#1924](https://github.com/storybookjs/storybook/pull/1924) +- Update eslint from 4.7.2 to 4.8.0 in / [#1923](https://github.com/storybookjs/storybook/pull/1923) +- Update chroma-js from 0.7.2 to 0.7.8 [#1922](https://github.com/storybookjs/storybook/pull/1922) +- Use dependencies.io for dependencies management [#1920](https://github.com/storybookjs/storybook/pull/1920) +- UPGRADE react & friends && UPGRADE other dependencies [#1908](https://github.com/storybookjs/storybook/pull/1908) @@ -6240,16 +6704,16 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Features -- Add two new RN packager configuration options [#1865](https://github.com/storybooks/storybook/pull/1865) +- Add two new RN packager configuration options [#1865](https://github.com/storybookjs/storybook/pull/1865) #### Bug Fixes -- Addon-info - Fix immutable props issues with React 16 [#1894](https://github.com/storybooks/storybook/pull/1894) -- Update react-inspector to fix #1831 [#1888](https://github.com/storybooks/storybook/pull/1888) +- Addon-info - Fix immutable props issues with React 16 [#1894](https://github.com/storybookjs/storybook/pull/1894) +- Update react-inspector to fix #1831 [#1888](https://github.com/storybookjs/storybook/pull/1888) #### Documentation -- Updated release process documentation [#1882](https://github.com/storybooks/storybook/pull/1882) +- Updated release process documentation [#1882](https://github.com/storybookjs/storybook/pull/1882) ## 3.2.10 @@ -6257,38 +6721,38 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Features -- Added codemod for deprecated addon-links and addon-actions from app [#1368](https://github.com/storybooks/storybook/pull/1368) -- React native: Added option for custom packager port [#1837](https://github.com/storybooks/storybook/pull/1837) -- CLI: add support for Vue projects using Nuxt [#1794](https://github.com/storybooks/storybook/pull/1794) +- Added codemod for deprecated addon-links and addon-actions from app [#1368](https://github.com/storybookjs/storybook/pull/1368) +- React native: Added option for custom packager port [#1837](https://github.com/storybookjs/storybook/pull/1837) +- CLI: add support for Vue projects using Nuxt [#1794](https://github.com/storybookjs/storybook/pull/1794) #### Bug Fixes -- Avoid error "storyshots is intended only to be used with storybook" [#1441](https://github.com/storybooks/storybook/pull/1441) -- Log correct url when using --https [#1871](https://github.com/storybooks/storybook/pull/1871) -- Fix broken links in the deprecation warning for RN and Vue apps [#1827](https://github.com/storybooks/storybook/pull/1827) -- Height aligned 2 buttons in manager's header [#1769](https://github.com/storybooks/storybook/pull/1769) -- Add missing regenerator and runtime babel transform pkgs to package.json [#1848](https://github.com/storybooks/storybook/pull/1848) +- Avoid error "storyshots is intended only to be used with storybook" [#1441](https://github.com/storybookjs/storybook/pull/1441) +- Log correct url when using --https [#1871](https://github.com/storybookjs/storybook/pull/1871) +- Fix broken links in the deprecation warning for RN and Vue apps [#1827](https://github.com/storybookjs/storybook/pull/1827) +- Height aligned 2 buttons in manager's header [#1769](https://github.com/storybookjs/storybook/pull/1769) +- Add missing regenerator and runtime babel transform pkgs to package.json [#1848](https://github.com/storybookjs/storybook/pull/1848) #### Documentation -- Update README: mention that addon-links needs to be registered manually [#1835](https://github.com/storybooks/storybook/pull/1835) -- Improve linkTo documentation [#1793](https://github.com/storybooks/storybook/pull/1793) -- Minor grammar fixes and clarification to Vue documentation [#1756](https://github.com/storybooks/storybook/pull/1756) -- Add missing NPM script section to Vue guide [#1824](https://github.com/storybooks/storybook/pull/1824) -- Add storybook-chrome-screenshot to addon gallery [#1761](https://github.com/storybooks/storybook/pull/1761) +- Update README: mention that addon-links needs to be registered manually [#1835](https://github.com/storybookjs/storybook/pull/1835) +- Improve linkTo documentation [#1793](https://github.com/storybookjs/storybook/pull/1793) +- Minor grammar fixes and clarification to Vue documentation [#1756](https://github.com/storybookjs/storybook/pull/1756) +- Add missing NPM script section to Vue guide [#1824](https://github.com/storybookjs/storybook/pull/1824) +- Add storybook-chrome-screenshot to addon gallery [#1761](https://github.com/storybookjs/storybook/pull/1761) #### Dependency Upgrades -- Update babel-eslint to the latest version 🚀 [#1836](https://github.com/storybooks/storybook/pull/1836) -- UPGRADE root dependencies and SYNC with packages [#1802](https://github.com/storybooks/storybook/pull/1802) -- Update jest to the latest version 🚀 [#1799](https://github.com/storybooks/storybook/pull/1799) -- Update eslint-plugin-jest to the latest version 🚀 [#1795](https://github.com/storybooks/storybook/pull/1795) -- Update lerna to the latest version 🚀 [#1768](https://github.com/storybooks/storybook/pull/1768) +- Update babel-eslint to the latest version 🚀 [#1836](https://github.com/storybookjs/storybook/pull/1836) +- UPGRADE root dependencies and SYNC with packages [#1802](https://github.com/storybookjs/storybook/pull/1802) +- Update jest to the latest version 🚀 [#1799](https://github.com/storybookjs/storybook/pull/1799) +- Update eslint-plugin-jest to the latest version 🚀 [#1795](https://github.com/storybookjs/storybook/pull/1795) +- Update lerna to the latest version 🚀 [#1768](https://github.com/storybookjs/storybook/pull/1768) #### Maintenance -- Smoke test master [#1801](https://github.com/storybooks/storybook/pull/1801) -- Fixed Jest warnings [#1744](https://github.com/storybooks/storybook/pull/1744) +- Smoke test master [#1801](https://github.com/storybookjs/storybook/pull/1801) +- Fixed Jest warnings [#1744](https://github.com/storybookjs/storybook/pull/1744) ## 3.2.9 @@ -6296,19 +6760,19 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Bug Fixes -- Fix getstorybook CLI for React Native projects [#1741](https://github.com/storybooks/storybook/pull/1741) +- Fix getstorybook CLI for React Native projects [#1741](https://github.com/storybookjs/storybook/pull/1741) #### Documentation -- Improve `addon-info` README options documentation [#1732](https://github.com/storybooks/storybook/pull/1732) +- Improve `addon-info` README options documentation [#1732](https://github.com/storybookjs/storybook/pull/1732) #### Maintenance -- ADD a CLI for bootstrapping [#1216](https://github.com/storybooks/storybook/pull/1216) +- ADD a CLI for bootstrapping [#1216](https://github.com/storybookjs/storybook/pull/1216) #### Dependency Upgrades -- Update lerna to the latest version 🚀 [#1727](https://github.com/storybooks/storybook/pull/1727) +- Update lerna to the latest version 🚀 [#1727](https://github.com/storybookjs/storybook/pull/1727) ## 3.2.8 @@ -6316,12 +6780,12 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Bug Fixes -- Fix storyshots with new babel config [#1721](https://github.com/storybooks/storybook/pull/1721) -- Fix CLI generators export [#1722](https://github.com/storybooks/storybook/pull/1722) +- Fix storyshots with new babel config [#1721](https://github.com/storybookjs/storybook/pull/1721) +- Fix CLI generators export [#1722](https://github.com/storybookjs/storybook/pull/1722) #### Documentation -- Add caveat about knobs date defaultValue [#1719](https://github.com/storybooks/storybook/pull/1719) +- Add caveat about knobs date defaultValue [#1719](https://github.com/storybookjs/storybook/pull/1719) ## 3.2.7 @@ -6329,15 +6793,15 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Bug Fixes -- Fix storyshots by moving cacheDirectory to webpack config [#1713](https://github.com/storybooks/storybook/pull/1713) -- Revert "Improved error checking in global addDecorator" [#1716](https://github.com/storybooks/storybook/pull/1716) -- Stricter linting rules for imports [#1676](https://github.com/storybooks/storybook/pull/1676) -- Addon Info: Remove broken prop type sort (keep defined order) [#1711](https://github.com/storybooks/storybook/pull/1711) +- Fix storyshots by moving cacheDirectory to webpack config [#1713](https://github.com/storybookjs/storybook/pull/1713) +- Revert "Improved error checking in global addDecorator" [#1716](https://github.com/storybookjs/storybook/pull/1716) +- Stricter linting rules for imports [#1676](https://github.com/storybookjs/storybook/pull/1676) +- Addon Info: Remove broken prop type sort (keep defined order) [#1711](https://github.com/storybookjs/storybook/pull/1711) #### Maintenance -- Enable eslint for vue-related stuff [#1715](https://github.com/storybooks/storybook/pull/1715) -- CLI: ensure explicit dependency on `prop-types` for RN [#1714](https://github.com/storybooks/storybook/pull/1714) +- Enable eslint for vue-related stuff [#1715](https://github.com/storybookjs/storybook/pull/1715) +- CLI: ensure explicit dependency on `prop-types` for RN [#1714](https://github.com/storybookjs/storybook/pull/1714) ## 3.2.6 @@ -6345,35 +6809,35 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Features -- Improve search and highlighting [#1693](https://github.com/storybooks/storybook/pull/1693) -- Add centered decorator for vue [#1595](https://github.com/storybooks/storybook/pull/1595) -- Add react-docgen propTypes to info addon [#1562](https://github.com/storybooks/storybook/pull/1562) +- Improve search and highlighting [#1693](https://github.com/storybookjs/storybook/pull/1693) +- Add centered decorator for vue [#1595](https://github.com/storybookjs/storybook/pull/1595) +- Add react-docgen propTypes to info addon [#1562](https://github.com/storybookjs/storybook/pull/1562) #### Bug Fixes -- Fix stories panel resizing bug [#1689](https://github.com/storybooks/storybook/pull/1689) -- Check for React presence when detecting `WEBPACK_REACT` type [#1646](https://github.com/storybooks/storybook/pull/1646) -- Fix Create React App detection [#1645](https://github.com/storybooks/storybook/pull/1645) -- Add dependencies on plugins used by getstorybook CLI [#1652](https://github.com/storybooks/storybook/pull/1652) -- Fix preview window loading non js,css files [#1554](https://github.com/storybooks/storybook/pull/1554) +- Fix stories panel resizing bug [#1689](https://github.com/storybookjs/storybook/pull/1689) +- Check for React presence when detecting `WEBPACK_REACT` type [#1646](https://github.com/storybookjs/storybook/pull/1646) +- Fix Create React App detection [#1645](https://github.com/storybookjs/storybook/pull/1645) +- Add dependencies on plugins used by getstorybook CLI [#1652](https://github.com/storybookjs/storybook/pull/1652) +- Fix preview window loading non js,css files [#1554](https://github.com/storybookjs/storybook/pull/1554) #### Documentation -- Improve the warning given when using channel before it's defined [#1515](https://github.com/storybooks/storybook/pull/1515) -- Remove imports from README that are not necessary with latest API [#1700](https://github.com/storybooks/storybook/pull/1700) -- Add reminders to PR template [#1683](https://github.com/storybooks/storybook/pull/1683) -- Docgen Flow Type Example [#1684](https://github.com/storybooks/storybook/pull/1684) +- Improve the warning given when using channel before it's defined [#1515](https://github.com/storybookjs/storybook/pull/1515) +- Remove imports from README that are not necessary with latest API [#1700](https://github.com/storybookjs/storybook/pull/1700) +- Add reminders to PR template [#1683](https://github.com/storybookjs/storybook/pull/1683) +- Docgen Flow Type Example [#1684](https://github.com/storybookjs/storybook/pull/1684) #### Maintenance -- Make lint-staged work properly [#1675](https://github.com/storybooks/storybook/pull/1675) -- Move baseFonts and RoutedLink to `@storybook/components` [#1659](https://github.com/storybooks/storybook/pull/1659) +- Make lint-staged work properly [#1675](https://github.com/storybookjs/storybook/pull/1675) +- Move baseFonts and RoutedLink to `@storybook/components` [#1659](https://github.com/storybookjs/storybook/pull/1659) #### Dependency Upgrades -- Switch to babel preset env + async/await/generator support [#1668](https://github.com/storybooks/storybook/pull/1668) -- Upgrade react-native-compat to avoid PropTypes warnings [#1673](https://github.com/storybooks/storybook/pull/1673) -- Change React.PropTypes to prop-types [#1674](https://github.com/storybooks/storybook/pull/1674) [#1710](https://github.com/storybooks/storybook/pull/1710) +- Switch to babel preset env + async/await/generator support [#1668](https://github.com/storybookjs/storybook/pull/1668) +- Upgrade react-native-compat to avoid PropTypes warnings [#1673](https://github.com/storybookjs/storybook/pull/1673) +- Change React.PropTypes to prop-types [#1674](https://github.com/storybookjs/storybook/pull/1674) [#1710](https://github.com/storybookjs/storybook/pull/1710) ## 3.2.5 @@ -6381,18 +6845,18 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Features -- Add codemod for deprecated addon-info API [#1582](https://github.com/storybooks/storybook/pull/1582) +- Add codemod for deprecated addon-info API [#1582](https://github.com/storybookjs/storybook/pull/1582) #### Bug Fixes -- Fixed addon-knobs for RN [#1635](https://github.com/storybooks/storybook/pull/1635) -- Make links navigate in the parent window [#1650](https://github.com/storybooks/storybook/pull/1650) -- Don’t render leftpanel stories tree if stories are empty [#1664](https://github.com/storybooks/storybook/pull/1664) -- Remove double styling for inline stories [#1651](https://github.com/storybooks/storybook/pull/1651) +- Fixed addon-knobs for RN [#1635](https://github.com/storybookjs/storybook/pull/1635) +- Make links navigate in the parent window [#1650](https://github.com/storybookjs/storybook/pull/1650) +- Don’t render leftpanel stories tree if stories are empty [#1664](https://github.com/storybookjs/storybook/pull/1664) +- Remove double styling for inline stories [#1651](https://github.com/storybookjs/storybook/pull/1651) #### Dependency Upgrades -- Upgrade react-modal to v2.2.4 [#1666](https://github.com/storybooks/storybook/pull/1666) +- Upgrade react-modal to v2.2.4 [#1666](https://github.com/storybookjs/storybook/pull/1666) ## 3.2.4 @@ -6400,24 +6864,24 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Features -- Hierarchy expansion on search [#1598](https://github.com/storybooks/storybook/pull/1598) -- Add sidebarAnimations config prop [#1601](https://github.com/storybooks/storybook/pull/1601) -- Add hrefs to left menu links [#1523](https://github.com/storybooks/storybook/pull/1523) -- Enable many components of same type in addon-info prop tables [#1607](https://github.com/storybooks/storybook/pull/1607) -- Always collapse an expanded kind in tree view without changing selected story [#1590](https://github.com/storybooks/storybook/pull/1590) -- Option to select an addon panel [#1641](https://github.com/storybooks/storybook/pull/1641) +- Hierarchy expansion on search [#1598](https://github.com/storybookjs/storybook/pull/1598) +- Add sidebarAnimations config prop [#1601](https://github.com/storybookjs/storybook/pull/1601) +- Add hrefs to left menu links [#1523](https://github.com/storybookjs/storybook/pull/1523) +- Enable many components of same type in addon-info prop tables [#1607](https://github.com/storybookjs/storybook/pull/1607) +- Always collapse an expanded kind in tree view without changing selected story [#1590](https://github.com/storybookjs/storybook/pull/1590) +- Option to select an addon panel [#1641](https://github.com/storybookjs/storybook/pull/1641) #### Documentation -- Document how to use info addon as decorator [#1592](https://github.com/storybooks/storybook/pull/1592) -- Add Android simulator instructions for React Native [#1591](https://github.com/storybooks/storybook/pull/1591) +- Document how to use info addon as decorator [#1592](https://github.com/storybookjs/storybook/pull/1592) +- Add Android simulator instructions for React Native [#1591](https://github.com/storybookjs/storybook/pull/1591) #### Maintenance -- Tree view visual adjustments [#1599](https://github.com/storybooks/storybook/pull/1599) -- Add z-index to shortcuts popup overlay [#1617](https://github.com/storybooks/storybook/pull/1617) -- Use ReactModal for search box [#1548](https://github.com/storybooks/storybook/pull/1548) -- Limit react versions to >=15 [#1613](https://github.com/storybooks/storybook/pull/1613) +- Tree view visual adjustments [#1599](https://github.com/storybookjs/storybook/pull/1599) +- Add z-index to shortcuts popup overlay [#1617](https://github.com/storybookjs/storybook/pull/1617) +- Use ReactModal for search box [#1548](https://github.com/storybookjs/storybook/pull/1548) +- Limit react versions to >=15 [#1613](https://github.com/storybookjs/storybook/pull/1613) ## 3.2.3 @@ -6425,12 +6889,12 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Features -- Use the React Native packager's host by default [#1568](https://github.com/storybooks/storybook/pull/1568) -- Make onDeviceUI default for RN getstorybook [#1571](https://github.com/storybooks/storybook/pull/1571) +- Use the React Native packager's host by default [#1568](https://github.com/storybookjs/storybook/pull/1568) +- Make onDeviceUI default for RN getstorybook [#1571](https://github.com/storybookjs/storybook/pull/1571) #### Documentation -- Add short description to addon-options readme [#1566](https://github.com/storybooks/storybook/pull/1566) +- Add short description to addon-options readme [#1566](https://github.com/storybookjs/storybook/pull/1566) ## 3.2.2 @@ -6438,7 +6902,7 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Bug Fixes -- Fixed build-storybook for vue [#1564](https://github.com/storybooks/storybook/pull/1564) +- Fixed build-storybook for vue [#1564](https://github.com/storybookjs/storybook/pull/1564) ## 3.2.1 @@ -6446,13 +6910,13 @@ We'll do a better job of getting out smaller releases next time around. ;-) #### Bug Fixes -- Check if hierarchySeparator presents in the options object [#1561](https://github.com/storybooks/storybook/pull/1561) -- React Native <0.43 support [#1555](https://github.com/storybooks/storybook/pull/1555) +- Check if hierarchySeparator presents in the options object [#1561](https://github.com/storybookjs/storybook/pull/1561) +- React Native <0.43 support [#1555](https://github.com/storybookjs/storybook/pull/1555) #### Documentation -- Fix typo with Vue README referring to react [#1556](https://github.com/storybooks/storybook/pull/1556) -- Add state-setting FAQ [#1559](https://github.com/storybooks/storybook/pull/1559) +- Fix typo with Vue README referring to react [#1556](https://github.com/storybookjs/storybook/pull/1556) +- Add state-setting FAQ [#1559](https://github.com/storybookjs/storybook/pull/1559) ## 3.2.0 @@ -6460,66 +6924,66 @@ We'll do a better job of getting out smaller releases next time around. ;-) Storybook 3.2 is filled with new features to help make your components shine! Headline features: -- Vue support [#1267](https://github.com/storybooks/storybook/pull/1267) -- Story Hierarchy [#1329](https://github.com/storybooks/storybook/pull/1329) -- React Native On Device UI [#1413](https://github.com/storybooks/storybook/pull/1413) +- Vue support [#1267](https://github.com/storybookjs/storybook/pull/1267) +- Story Hierarchy [#1329](https://github.com/storybookjs/storybook/pull/1329) +- React Native On Device UI [#1413](https://github.com/storybookjs/storybook/pull/1413) Plus many more features, documentation improvements, and bugfixes below! #### Features -- Vue support [#1267](https://github.com/storybooks/storybook/pull/1267) -- Add support for vue in addon-notes [#1278](https://github.com/storybooks/storybook/pull/1278) -- CLI support for Vue [#1287](https://github.com/storybooks/storybook/pull/1287) -- Story Hierarchy [#1329](https://github.com/storybooks/storybook/pull/1329) -- Story Hierarchy UI improvements [#1387](https://github.com/storybooks/storybook/pull/1387) [#1356](https://github.com/storybooks/storybook/pull/1356) -- Story Hierarchy - keyboard accessibility [#1427](https://github.com/storybooks/storybook/pull/1427) -- React Native - On Device UI [#1413](https://github.com/storybooks/storybook/pull/1413) -- Show first story on RN OnDeviceUI startup [#1510](https://github.com/storybooks/storybook/pull/1510) -- Added collapsible RN OnDeviceUI navigation [#1544](https://github.com/storybooks/storybook/pull/1544) -- Add warning when module is missing in storiesOf [#1525](https://github.com/storybooks/storybook/pull/1525) -- Provide styling hook for Addon Info story body [#1308](https://github.com/storybooks/storybook/pull/1308) -- Implement filtering on story-level [#1432](https://github.com/storybooks/storybook/pull/1432) -- Refactoring of `addon-info` [#1452](https://github.com/storybooks/storybook/pull/1452) -- ADD storybook logo for inside terminal for future CLI or easteregg [#1499](https://github.com/storybooks/storybook/pull/1499) -- Improved error checking in global addDecorator [#1481](https://github.com/storybooks/storybook/pull/1481) +- Vue support [#1267](https://github.com/storybookjs/storybook/pull/1267) +- Add support for vue in addon-notes [#1278](https://github.com/storybookjs/storybook/pull/1278) +- CLI support for Vue [#1287](https://github.com/storybookjs/storybook/pull/1287) +- Story Hierarchy [#1329](https://github.com/storybookjs/storybook/pull/1329) +- Story Hierarchy UI improvements [#1387](https://github.com/storybookjs/storybook/pull/1387) [#1356](https://github.com/storybookjs/storybook/pull/1356) +- Story Hierarchy - keyboard accessibility [#1427](https://github.com/storybookjs/storybook/pull/1427) +- React Native - On Device UI [#1413](https://github.com/storybookjs/storybook/pull/1413) +- Show first story on RN OnDeviceUI startup [#1510](https://github.com/storybookjs/storybook/pull/1510) +- Added collapsible RN OnDeviceUI navigation [#1544](https://github.com/storybookjs/storybook/pull/1544) +- Add warning when module is missing in storiesOf [#1525](https://github.com/storybookjs/storybook/pull/1525) +- Provide styling hook for Addon Info story body [#1308](https://github.com/storybookjs/storybook/pull/1308) +- Implement filtering on story-level [#1432](https://github.com/storybookjs/storybook/pull/1432) +- Refactoring of `addon-info` [#1452](https://github.com/storybookjs/storybook/pull/1452) +- ADD storybook logo for inside terminal for future CLI or easteregg [#1499](https://github.com/storybookjs/storybook/pull/1499) +- Improved error checking in global addDecorator [#1481](https://github.com/storybookjs/storybook/pull/1481) #### Bug Fixes -- Fix react native example and bootstrapping [#1514](https://github.com/storybooks/storybook/pull/1514) -- Fix a 'funny' hmr issue in cra-kitchen-sink [#1508](https://github.com/storybooks/storybook/pull/1508) -- When timestamps are enabled, it actually checks them before applying changes [#1405](https://github.com/storybooks/storybook/pull/1405) -- Fix issue when extending webpack config [#1468](https://github.com/storybooks/storybook/pull/1468) -- Fix addon notes [#1448](https://github.com/storybooks/storybook/pull/1448) -- Story Hierarchy - initial state bug fix [#1401](https://github.com/storybooks/storybook/pull/1401) -- Remove blue outline when node is focused [#1497](https://github.com/storybooks/storybook/pull/1497) +- Fix react native example and bootstrapping [#1514](https://github.com/storybookjs/storybook/pull/1514) +- Fix a 'funny' hmr issue in cra-kitchen-sink [#1508](https://github.com/storybookjs/storybook/pull/1508) +- When timestamps are enabled, it actually checks them before applying changes [#1405](https://github.com/storybookjs/storybook/pull/1405) +- Fix issue when extending webpack config [#1468](https://github.com/storybookjs/storybook/pull/1468) +- Fix addon notes [#1448](https://github.com/storybookjs/storybook/pull/1448) +- Story Hierarchy - initial state bug fix [#1401](https://github.com/storybookjs/storybook/pull/1401) +- Remove blue outline when node is focused [#1497](https://github.com/storybookjs/storybook/pull/1497) #### Documentation -- Add hierarchySeparator to README [#1445](https://github.com/storybooks/storybook/pull/1445) -- Document null addons channel in FAQ [#1507](https://github.com/storybooks/storybook/pull/1507) +- Add hierarchySeparator to README [#1445](https://github.com/storybookjs/storybook/pull/1445) +- Document null addons channel in FAQ [#1507](https://github.com/storybookjs/storybook/pull/1507) #### Maintenance -- Revert knobs API to previous API. [#1527](https://github.com/storybooks/storybook/pull/1527) -- FIX hoist-internals: remove existing folder/link before linking [#1516](https://github.com/storybooks/storybook/pull/1516) -- Update global hook for Vue Devtools [#1376](https://github.com/storybooks/storybook/pull/1376) -- SWITCH to circleci over travisCI && CHANGE lerna bootstrap procedure: [#1486](https://github.com/storybooks/storybook/pull/1486) -- Update cra-kitchen-sink package versions for 3.2-alpha [#1434](https://github.com/storybooks/storybook/pull/1434) -- Updating 3.2 alpha release with patches [#1419](https://github.com/storybooks/storybook/pull/1419) -- Remove typescript typings for @storybook/addon-notes [#1344](https://github.com/storybooks/storybook/pull/1344) -- Remove typescript typings for @storybook/addon-options [#1343](https://github.com/storybooks/storybook/pull/1343) -- Remove typescript typings for @storybook/addon-knobs [#1339](https://github.com/storybooks/storybook/pull/1339) -- Remove typescript typings for @storybook/addon-links [#1342](https://github.com/storybooks/storybook/pull/1342) +- Revert knobs API to previous API. [#1527](https://github.com/storybookjs/storybook/pull/1527) +- FIX hoist-internals: remove existing folder/link before linking [#1516](https://github.com/storybookjs/storybook/pull/1516) +- Update global hook for Vue Devtools [#1376](https://github.com/storybookjs/storybook/pull/1376) +- SWITCH to circleci over travisCI && CHANGE lerna bootstrap procedure: [#1486](https://github.com/storybookjs/storybook/pull/1486) +- Update cra-kitchen-sink package versions for 3.2-alpha [#1434](https://github.com/storybookjs/storybook/pull/1434) +- Updating 3.2 alpha release with patches [#1419](https://github.com/storybookjs/storybook/pull/1419) +- Remove typescript typings for @storybook/addon-notes [#1344](https://github.com/storybookjs/storybook/pull/1344) +- Remove typescript typings for @storybook/addon-options [#1343](https://github.com/storybookjs/storybook/pull/1343) +- Remove typescript typings for @storybook/addon-knobs [#1339](https://github.com/storybookjs/storybook/pull/1339) +- Remove typescript typings for @storybook/addon-links [#1342](https://github.com/storybookjs/storybook/pull/1342) #### Dependency Upgrades -- Updated babel-plugin-react-docgen version [#1526](https://github.com/storybooks/storybook/pull/1526) -- UPDATE everything (including eslint 4) [#1517](https://github.com/storybooks/storybook/pull/1517) -- Update remark-preset-lint-recommended to the latest version 🚀 [#1512](https://github.com/storybooks/storybook/pull/1512) -- Update remark-cli to the latest version 🚀 [#1498](https://github.com/storybooks/storybook/pull/1498) -- Remove upper bound on react-native peerDependency [#1424](https://github.com/storybooks/storybook/pull/1424) -- Bump `react-split-pane` version [#1495](https://github.com/storybooks/storybook/pull/1495) +- Updated babel-plugin-react-docgen version [#1526](https://github.com/storybookjs/storybook/pull/1526) +- UPDATE everything (including eslint 4) [#1517](https://github.com/storybookjs/storybook/pull/1517) +- Update remark-preset-lint-recommended to the latest version 🚀 [#1512](https://github.com/storybookjs/storybook/pull/1512) +- Update remark-cli to the latest version 🚀 [#1498](https://github.com/storybookjs/storybook/pull/1498) +- Remove upper bound on react-native peerDependency [#1424](https://github.com/storybookjs/storybook/pull/1424) +- Bump `react-split-pane` version [#1495](https://github.com/storybookjs/storybook/pull/1495) ## 3.1.9 @@ -6527,25 +6991,25 @@ Plus many more features, documentation improvements, and bugfixes below! #### Features -- React fiber support [#1443](https://github.com/storybooks/storybook/pull/1443) +- React fiber support [#1443](https://github.com/storybookjs/storybook/pull/1443) #### Documentation -- Refine docs about loading stories dynamically for react-native [#1420](https://github.com/storybooks/storybook/pull/1420) +- Refine docs about loading stories dynamically for react-native [#1420](https://github.com/storybookjs/storybook/pull/1420) #### Bug Fixes -- Verify that name is a string in addons/actions [#1415](https://github.com/storybooks/storybook/pull/1415) -- Knobs: fix label alignment [#1471](https://github.com/storybooks/storybook/pull/1471) -- Fix display of large components [#1237](https://github.com/storybooks/storybook/pull/1237) +- Verify that name is a string in addons/actions [#1415](https://github.com/storybookjs/storybook/pull/1415) +- Knobs: fix label alignment [#1471](https://github.com/storybookjs/storybook/pull/1471) +- Fix display of large components [#1237](https://github.com/storybookjs/storybook/pull/1237) #### Dependency Upgrades -- Dependency updates [#1439](https://github.com/storybooks/storybook/pull/1439) -- chore(package): update husky to version 0.14.3 [#1437](https://github.com/storybooks/storybook/pull/1437) -- Update danger to the latest version 🚀 [#1393](https://github.com/storybooks/storybook/pull/1393) -- Update lerna to the latest version 🚀 [#1423](https://github.com/storybooks/storybook/pull/1423) -- Pin gatsby version and upgrade gh-pages [#1462](https://github.com/storybooks/storybook/pull/1462) +- Dependency updates [#1439](https://github.com/storybookjs/storybook/pull/1439) +- chore(package): update husky to version 0.14.3 [#1437](https://github.com/storybookjs/storybook/pull/1437) +- Update danger to the latest version 🚀 [#1393](https://github.com/storybookjs/storybook/pull/1393) +- Update lerna to the latest version 🚀 [#1423](https://github.com/storybookjs/storybook/pull/1423) +- Pin gatsby version and upgrade gh-pages [#1462](https://github.com/storybookjs/storybook/pull/1462) ## 3.1.8 @@ -6553,18 +7017,18 @@ Plus many more features, documentation improvements, and bugfixes below! #### Documentation -- Updated addon knob readme. [#1406](https://github.com/storybooks/storybook/pull/1406) -- Add a FAQ entry for shared config with next [#1390](https://github.com/storybooks/storybook/pull/1390) -- Documented webpack customization example for typescript [#1386](https://github.com/storybooks/storybook/pull/1386) +- Updated addon knob readme. [#1406](https://github.com/storybookjs/storybook/pull/1406) +- Add a FAQ entry for shared config with next [#1390](https://github.com/storybookjs/storybook/pull/1390) +- Documented webpack customization example for typescript [#1386](https://github.com/storybookjs/storybook/pull/1386) #### Maintenance -- Removed empty array, since webpack 2 doesn't support them anymore. [#1381](https://github.com/storybooks/storybook/pull/1381) +- Removed empty array, since webpack 2 doesn't support them anymore. [#1381](https://github.com/storybookjs/storybook/pull/1381) #### Dependency Upgrades -- Support webpack 3.0.0 [#1410](https://github.com/storybooks/storybook/pull/1410) -- Update react inspector to fix #1385 [#1408](https://github.com/storybooks/storybook/pull/1408) +- Support webpack 3.0.0 [#1410](https://github.com/storybookjs/storybook/pull/1410) +- Update react inspector to fix #1385 [#1408](https://github.com/storybookjs/storybook/pull/1408) ## 3.1.7 @@ -6572,12 +7036,12 @@ Plus many more features, documentation improvements, and bugfixes below! #### Bug Fixes -- Exit storybook build non-zero on stats errors (e.g. errors in the transpilation pipeline) [#1372](https://github.com/storybooks/storybook/pull/1372) -- Fixed regression: CSS entries were not picked up for storybook pages (e.g. when using exract-text-webpack-plugin) [#1363](https://github.com/storybooks/storybook/pull/1363) +- Exit storybook build non-zero on stats errors (e.g. errors in the transpilation pipeline) [#1372](https://github.com/storybookjs/storybook/pull/1372) +- Fixed regression: CSS entries were not picked up for storybook pages (e.g. when using exract-text-webpack-plugin) [#1363](https://github.com/storybookjs/storybook/pull/1363) #### Documentation -- Document Storybook release process [#1348](https://github.com/storybooks/storybook/pull/1348) +- Document Storybook release process [#1348](https://github.com/storybookjs/storybook/pull/1348) ## 3.1.6 @@ -6585,21 +7049,21 @@ Plus many more features, documentation improvements, and bugfixes below! #### Bug Fixes -- Remove the `cacheDirectory` option from babel config [#1350](https://github.com/storybooks/storybook/pull/1350) -- websockets (ws) removed `socket.upgradeReq`, so use `req` instead [#1337](https://github.com/storybooks/storybook/pull/1337) -- Ensure we add the correct version of `react-dom` [#1349](https://github.com/storybooks/storybook/pull/1349) -- Addon Info: Fix invalid prop `node.type` supplied to 'Props' [#1351](https://github.com/storybooks/storybook/pull/1351) -- Addon Info: Omit empty inline info header [#1306](https://github.com/storybooks/storybook/pull/1306) -- Addon Actions: Use uuid for action IDs instead of Math.random (fixes #1109) [#1347](https://github.com/storybooks/storybook/pull/1347) +- Remove the `cacheDirectory` option from babel config [#1350](https://github.com/storybookjs/storybook/pull/1350) +- websockets (ws) removed `socket.upgradeReq`, so use `req` instead [#1337](https://github.com/storybookjs/storybook/pull/1337) +- Ensure we add the correct version of `react-dom` [#1349](https://github.com/storybookjs/storybook/pull/1349) +- Addon Info: Fix invalid prop `node.type` supplied to 'Props' [#1351](https://github.com/storybookjs/storybook/pull/1351) +- Addon Info: Omit empty inline info header [#1306](https://github.com/storybookjs/storybook/pull/1306) +- Addon Actions: Use uuid for action IDs instead of Math.random (fixes #1109) [#1347](https://github.com/storybookjs/storybook/pull/1347) #### Documentation -- Fix welcome instructions to reflect current `getstorybook` [#1358](https://github.com/storybooks/storybook/pull/1358) -- Addon Info: Update README with configuration instructions [#1326](https://github.com/storybooks/storybook/pull/1326) +- Fix welcome instructions to reflect current `getstorybook` [#1358](https://github.com/storybookjs/storybook/pull/1358) +- Addon Info: Update README with configuration instructions [#1326](https://github.com/storybookjs/storybook/pull/1326) #### Dependency Upgrades -- Update lint-staged to the latest version 🚀 [#1315](https://github.com/storybooks/storybook/pull/1315) +- Update lint-staged to the latest version 🚀 [#1315](https://github.com/storybookjs/storybook/pull/1315) ## 3.1.5 @@ -6607,24 +7071,24 @@ Plus many more features, documentation improvements, and bugfixes below! #### Features -- Added flow support to getstorybook upgrade [#1289](https://github.com/storybooks/storybook/pull/1289) -- Added support for the `haul` react-native packager [#1294](https://github.com/storybooks/storybook/pull/1294) +- Added flow support to getstorybook upgrade [#1289](https://github.com/storybookjs/storybook/pull/1289) +- Added support for the `haul` react-native packager [#1294](https://github.com/storybookjs/storybook/pull/1294) #### Bug Fixes -- Fixed addon knobs proptypes deserialization [#1290](https://github.com/storybooks/storybook/pull/1290) +- Fixed addon knobs proptypes deserialization [#1290](https://github.com/storybookjs/storybook/pull/1290) #### Documentation -- Added search to docs [#1256](https://github.com/storybooks/storybook/pull/1256) -- snapshot testing inverse regex example documentation [#1317](https://github.com/storybooks/storybook/pull/1317) +- Added search to docs [#1256](https://github.com/storybookjs/storybook/pull/1256) +- snapshot testing inverse regex example documentation [#1317](https://github.com/storybookjs/storybook/pull/1317) #### Maintenance -- Refactored storybook component library [#1266](https://github.com/storybooks/storybook/pull/1266) -- Created CRA kitchen sink addons example [#1288](https://github.com/storybooks/storybook/pull/1288) -- Use a pack -> install technique to recreate local packages [#1332](https://github.com/storybooks/storybook/pull/1332) -- Import demo components from @storybook/react [#1303](https://github.com/storybooks/storybook/pull/1303) +- Refactored storybook component library [#1266](https://github.com/storybookjs/storybook/pull/1266) +- Created CRA kitchen sink addons example [#1288](https://github.com/storybookjs/storybook/pull/1288) +- Use a pack -> install technique to recreate local packages [#1332](https://github.com/storybookjs/storybook/pull/1332) +- Import demo components from @storybook/react [#1303](https://github.com/storybookjs/storybook/pull/1303) ## 3.1.4 @@ -6632,17 +7096,17 @@ Plus many more features, documentation improvements, and bugfixes below! #### Features -- IMPROVE design of addon-events [#1249](https://github.com/storybooks/storybook/pull/1249) -- Add a `shallowSnapshot` option for storyshots `test` functions [#1232](https://github.com/storybooks/storybook/pull/1232) +- IMPROVE design of addon-events [#1249](https://github.com/storybookjs/storybook/pull/1249) +- Add a `shallowSnapshot` option for storyshots `test` functions [#1232](https://github.com/storybookjs/storybook/pull/1232) #### Bug Fixes -- Fix app entry bug in RN gestorybook [#1280](https://github.com/storybooks/storybook/pull/1280) -- fix(addons/info): Cannot read property 'props' of undefined [#1258](https://github.com/storybooks/storybook/pull/1258) +- Fix app entry bug in RN gestorybook [#1280](https://github.com/storybookjs/storybook/pull/1280) +- fix(addons/info): Cannot read property 'props' of undefined [#1258](https://github.com/storybookjs/storybook/pull/1258) #### Documentation -- Add versions plugin to docs [#1269](https://github.com/storybooks/storybook/pull/1269) +- Add versions plugin to docs [#1269](https://github.com/storybookjs/storybook/pull/1269) ## 3.1.3 @@ -6650,7 +7114,7 @@ Plus many more features, documentation improvements, and bugfixes below! #### Bug Fixes -- Fix `storybook-build` manager-head.html bug [#1248](https://github.com/storybooks/storybook/pull/1248) +- Fix `storybook-build` manager-head.html bug [#1248](https://github.com/storybookjs/storybook/pull/1248) ## 3.1.2 @@ -6660,34 +7124,34 @@ Minor features including a new "events" addon, as well as the usual bugfixes, cl #### Features -- Add small design update to addon info package [#1213](https://github.com/storybooks/storybook/pull/1213) -- Add display configuration options to info addon [#1157](https://github.com/storybooks/storybook/pull/1157) -- Add support for multiple webpack chunks in iframe [#1083](https://github.com/storybooks/storybook/pull/1083) -- Add events addon [#1130](https://github.com/storybooks/storybook/pull/1130) -- Allow including files just before manager.bundle.js [#1134](https://github.com/storybooks/storybook/pull/1134) +- Add small design update to addon info package [#1213](https://github.com/storybookjs/storybook/pull/1213) +- Add display configuration options to info addon [#1157](https://github.com/storybookjs/storybook/pull/1157) +- Add support for multiple webpack chunks in iframe [#1083](https://github.com/storybookjs/storybook/pull/1083) +- Add events addon [#1130](https://github.com/storybookjs/storybook/pull/1130) +- Allow including files just before manager.bundle.js [#1134](https://github.com/storybookjs/storybook/pull/1134) #### Bug Fixes -- Fixed knobs addon editing bug [#1233](https://github.com/storybooks/storybook/pull/1233) -- Fix bug in addons/graphql in reIndentQuery [#1207](https://github.com/storybooks/storybook/pull/1207) -- Marksy initialized with mtrcConf intead of marksyConf [#1205](https://github.com/storybooks/storybook/pull/1205) +- Fixed knobs addon editing bug [#1233](https://github.com/storybookjs/storybook/pull/1233) +- Fix bug in addons/graphql in reIndentQuery [#1207](https://github.com/storybookjs/storybook/pull/1207) +- Marksy initialized with mtrcConf intead of marksyConf [#1205](https://github.com/storybookjs/storybook/pull/1205) #### Documentation -- Document stories not showing up on storybook UI until device connects [#1221](https://github.com/storybooks/storybook/pull/1221) -- Fixed references to storybook.js.org. [#1211](https://github.com/storybooks/storybook/pull/1211) -- Updated repository URL to address broken npm images [#1197](https://github.com/storybooks/storybook/pull/1197) +- Document stories not showing up on storybook UI until device connects [#1221](https://github.com/storybookjs/storybook/pull/1221) +- Fixed references to storybook.js.org. [#1211](https://github.com/storybookjs/storybook/pull/1211) +- Updated repository URL to address broken npm images [#1197](https://github.com/storybookjs/storybook/pull/1197) #### Maintenance -- Added a vanilla React Native example app. [#1202](https://github.com/storybooks/storybook/pull/1202) -- Move typings for @storybook/react to @types package [#1199](https://github.com/storybooks/storybook/pull/1199) -- Set ESlint rules more strict 🚑 [#911](https://github.com/storybooks/storybook/pull/911) +- Added a vanilla React Native example app. [#1202](https://github.com/storybookjs/storybook/pull/1202) +- Move typings for @storybook/react to @types package [#1199](https://github.com/storybookjs/storybook/pull/1199) +- Set ESlint rules more strict 🚑 [#911](https://github.com/storybookjs/storybook/pull/911) #### Dependency Upgrades -- Update babel docgen plugin to generate docs for React.createClass and createReactClass [#1206](https://github.com/storybooks/storybook/pull/1206) -- Update `marksy` dependecy due broken 1.1.0 version [#1204](https://github.com/storybooks/storybook/pull/1204) +- Update babel docgen plugin to generate docs for React.createClass and createReactClass [#1206](https://github.com/storybookjs/storybook/pull/1206) +- Update `marksy` dependecy due broken 1.1.0 version [#1204](https://github.com/storybookjs/storybook/pull/1204) ## 3.0.1 @@ -6697,84 +7161,84 @@ Minor bug fixes and documentation updates post 3.0.0 release. #### Bug Fixes -- Added error message for `addon-options` [#1194](https://github.com/storybooks/storybook/pull/1194) -- Fix(react-native) add missing `ws` dependency [#1174](https://github.com/storybooks/storybook/pull/1174) -- Fix terminal colors by reset console colors explicitly [#1184](https://github.com/storybooks/storybook/pull/1184) -- Fix addon panel layout styling [#1170](https://github.com/storybooks/storybook/pull/1170) -- ADD https import & remove tracking code remains [#1176](https://github.com/storybooks/storybook/pull/1176) -- Fix incorrect babel config file reading [#1156](https://github.com/storybooks/storybook/pull/1156) -- Fixed withKnobs definition. [#1164](https://github.com/storybooks/storybook/pull/1164) +- Added error message for `addon-options` [#1194](https://github.com/storybookjs/storybook/pull/1194) +- Fix(react-native) add missing `ws` dependency [#1174](https://github.com/storybookjs/storybook/pull/1174) +- Fix terminal colors by reset console colors explicitly [#1184](https://github.com/storybookjs/storybook/pull/1184) +- Fix addon panel layout styling [#1170](https://github.com/storybookjs/storybook/pull/1170) +- ADD https import & remove tracking code remains [#1176](https://github.com/storybookjs/storybook/pull/1176) +- Fix incorrect babel config file reading [#1156](https://github.com/storybookjs/storybook/pull/1156) +- Fixed withKnobs definition. [#1164](https://github.com/storybookjs/storybook/pull/1164) #### Documentation -- Fixed typo in react-native browser instructions [#1189](https://github.com/storybooks/storybook/pull/1189) -- Add instruction for npm install with -D for development dependency [#1168](https://github.com/storybooks/storybook/pull/1168) -- Fix broken link for `addons` in README [#1167](https://github.com/storybooks/storybook/pull/1167) -- Refreshed logo in docs [#1149](https://github.com/storybooks/storybook/pull/1149) -- fix addon broken links in documentation [#1165](https://github.com/storybooks/storybook/pull/1165) -- start-storybook cli - expand commands descriptions [#1161](https://github.com/storybooks/storybook/pull/1161) -- Fix typo in codemod readme [#1158](https://github.com/storybooks/storybook/pull/1158) +- Fixed typo in react-native browser instructions [#1189](https://github.com/storybookjs/storybook/pull/1189) +- Add instruction for npm install with -D for development dependency [#1168](https://github.com/storybookjs/storybook/pull/1168) +- Fix broken link for `addons` in README [#1167](https://github.com/storybookjs/storybook/pull/1167) +- Refreshed logo in docs [#1149](https://github.com/storybookjs/storybook/pull/1149) +- fix addon broken links in documentation [#1165](https://github.com/storybookjs/storybook/pull/1165) +- start-storybook cli - expand commands descriptions [#1161](https://github.com/storybookjs/storybook/pull/1161) +- Fix typo in codemod readme [#1158](https://github.com/storybookjs/storybook/pull/1158) #### Dependency Upgrades -- Replaced deprecated `markdown-to-react-components` with `marksy` [#1188](https://github.com/storybooks/storybook/pull/1188) +- Replaced deprecated `markdown-to-react-components` with `marksy` [#1188](https://github.com/storybookjs/storybook/pull/1188) ## 3.0.0 Storybook 3.0 is our first fully community-driven release! Notable changes: -- Moved from `@kadira` to `@storybooks` org across [github](https://github.com/storybooks/storybook/), [npm](https://www.npmjs.com/package/@storybook/react), [docs](https://storybook.js.org/) -- Upgraded to Webpack2! [#637](https://github.com/storybooks/storybook/pull/637) -- Switched to monorepo and overhauled package structure. [#749](https://github.com/storybooks/storybook/pull/749) [#1031](https://github.com/storybooks/storybook/pull/1031) -- Added configuration options to storybooks snapshot testing. [#1090](https://github.com/storybooks/storybook/pull/1090) -- Added `create-react-native-app` support. [#1117](https://github.com/storybooks/storybook/pull/1117) -- Added HTTPS support. [#735](https://github.com/storybooks/storybook/pull/735) +- Moved from `@kadira` to `@storybooks` org across [github](https://github.com/storybookjs/storybook/), [npm](https://www.npmjs.com/package/@storybook/react), [docs](https://storybook.js.org/) +- Upgraded to Webpack2! [#637](https://github.com/storybookjs/storybook/pull/637) +- Switched to monorepo and overhauled package structure. [#749](https://github.com/storybookjs/storybook/pull/749) [#1031](https://github.com/storybookjs/storybook/pull/1031) +- Added configuration options to storybooks snapshot testing. [#1090](https://github.com/storybookjs/storybook/pull/1090) +- Added `create-react-native-app` support. [#1117](https://github.com/storybookjs/storybook/pull/1117) +- Added HTTPS support. [#735](https://github.com/storybookjs/storybook/pull/735) 2017-May-31 #### Features -- Added help text to the react-native preview panel [#1142](https://github.com/storybooks/storybook/pull/1142) -- Added create-react-native-app support [#1117](https://github.com/storybooks/storybook/pull/1117) -- Fixed knobs-addon performance issues [#1039](https://github.com/storybooks/storybook/pull/1039) -- Added `snapshotWithOptions` to configure storyshots rendering options [#1090](https://github.com/storybooks/storybook/pull/1090) -- Added custom `test` function for storyshots [#1035](https://github.com/storybooks/storybook/pull/1035) -- Added typescript definition to addon notes [#989](https://github.com/storybooks/storybook/pull/989) -- Added HTTPS option for dev server [#735](https://github.com/storybooks/storybook/pull/735) +- Added help text to the react-native preview panel [#1142](https://github.com/storybookjs/storybook/pull/1142) +- Added create-react-native-app support [#1117](https://github.com/storybookjs/storybook/pull/1117) +- Fixed knobs-addon performance issues [#1039](https://github.com/storybookjs/storybook/pull/1039) +- Added `snapshotWithOptions` to configure storyshots rendering options [#1090](https://github.com/storybookjs/storybook/pull/1090) +- Added custom `test` function for storyshots [#1035](https://github.com/storybookjs/storybook/pull/1035) +- Added typescript definition to addon notes [#989](https://github.com/storybookjs/storybook/pull/989) +- Added HTTPS option for dev server [#735](https://github.com/storybookjs/storybook/pull/735) #### Bug Fixes -- Use strict equality in action logger [#1144](https://github.com/storybooks/storybook/pull/1144) -- FIX addon info and addon storyshots incompatibility [#1129](https://github.com/storybooks/storybook/pull/1129) -- FIX postcss options missing in default webpack config && UPDATE dependencies [#1087](https://github.com/storybooks/storybook/pull/1087) -- Fix CLI had a package version from storybook hardcoded - now queries npm registry [#1079](https://github.com/storybooks/storybook/pull/1079) -- Fix semi broken \_\_docgenInfo integration in addon info [#1030](https://github.com/storybooks/storybook/pull/1030) -- Fix: build-storybook no longer supports relative paths [#1058](https://github.com/storybooks/storybook/pull/1058) -- Fix for types `number` for addon knobs [#1001](https://github.com/storybooks/storybook/pull/1001) -- Fix webpack overriding && Add an example with local file dependencies [#965](https://github.com/storybooks/storybook/pull/965) +- Use strict equality in action logger [#1144](https://github.com/storybookjs/storybook/pull/1144) +- FIX addon info and addon storyshots incompatibility [#1129](https://github.com/storybookjs/storybook/pull/1129) +- FIX postcss options missing in default webpack config && UPDATE dependencies [#1087](https://github.com/storybookjs/storybook/pull/1087) +- Fix CLI had a package version from storybook hardcoded - now queries npm registry [#1079](https://github.com/storybookjs/storybook/pull/1079) +- Fix semi broken \_\_docgenInfo integration in addon info [#1030](https://github.com/storybookjs/storybook/pull/1030) +- Fix: build-storybook no longer supports relative paths [#1058](https://github.com/storybookjs/storybook/pull/1058) +- Fix for types `number` for addon knobs [#1001](https://github.com/storybookjs/storybook/pull/1001) +- Fix webpack overriding && Add an example with local file dependencies [#965](https://github.com/storybookjs/storybook/pull/965) #### Documentation -- Add storybook-addon-intl to addon gallery [#1143](https://github.com/storybooks/storybook/pull/1143) -- 3.0.0 release notes && release notes automation [#1047](https://github.com/storybooks/storybook/pull/1047) -- 3.0.0 migration assistance : codemod, update installation and usage instructions [#1093](https://github.com/storybooks/storybook/pull/1093) -- Add ReactSVGPanZoom to examples list [#1139](https://github.com/storybooks/storybook/pull/1139) -- Show webpack 2 config example in docs: rules not loaders [#1137](https://github.com/storybooks/storybook/pull/1137) -- Merge docs repo into this repo: add /docs [#1131](https://github.com/storybooks/storybook/pull/1131) -- Change brand name from “React Storybook” to “Storybook” [#1044](https://github.com/storybooks/storybook/pull/1044) -- Updated issue triage guidelines [#1024](https://github.com/storybooks/storybook/pull/1024) +- Add storybook-addon-intl to addon gallery [#1143](https://github.com/storybookjs/storybook/pull/1143) +- 3.0.0 release notes && release notes automation [#1047](https://github.com/storybookjs/storybook/pull/1047) +- 3.0.0 migration assistance : codemod, update installation and usage instructions [#1093](https://github.com/storybookjs/storybook/pull/1093) +- Add ReactSVGPanZoom to examples list [#1139](https://github.com/storybookjs/storybook/pull/1139) +- Show webpack 2 config example in docs: rules not loaders [#1137](https://github.com/storybookjs/storybook/pull/1137) +- Merge docs repo into this repo: add /docs [#1131](https://github.com/storybookjs/storybook/pull/1131) +- Change brand name from “React Storybook” to “Storybook” [#1044](https://github.com/storybookjs/storybook/pull/1044) +- Updated issue triage guidelines [#1024](https://github.com/storybookjs/storybook/pull/1024) #### Maintenance -- Add typings for links add-on [#1154](https://github.com/storybooks/storybook/pull/1154) -- Add react-dom to the devDependency list for React Native projects [#1102](https://github.com/storybooks/storybook/pull/1102) -- Upgrade React Native to webpack 2 config [#1097](https://github.com/storybooks/storybook/pull/1097) -- Add unit tests for addon storyshots [#971](https://github.com/storybooks/storybook/pull/971) -- Deprecate builtin addons (links and actions) - no longer included by default [#1038](https://github.com/storybooks/storybook/pull/1038) -- change NPM organisation from kadira to storybook in code [#996](https://github.com/storybooks/storybook/pull/996) -- CHANGE folder structure && CHANGE package-names [#1031](https://github.com/storybooks/storybook/pull/1031) -- Add deprecation warnings when addons are required via main package [#1025](https://github.com/storybooks/storybook/pull/1025) -- Remove text transform uppercase for knob labels [#991](https://github.com/storybooks/storybook/pull/991) +- Add typings for links add-on [#1154](https://github.com/storybookjs/storybook/pull/1154) +- Add react-dom to the devDependency list for React Native projects [#1102](https://github.com/storybookjs/storybook/pull/1102) +- Upgrade React Native to webpack 2 config [#1097](https://github.com/storybookjs/storybook/pull/1097) +- Add unit tests for addon storyshots [#971](https://github.com/storybookjs/storybook/pull/971) +- Deprecate builtin addons (links and actions) - no longer included by default [#1038](https://github.com/storybookjs/storybook/pull/1038) +- change NPM organisation from kadira to storybook in code [#996](https://github.com/storybookjs/storybook/pull/996) +- CHANGE folder structure && CHANGE package-names [#1031](https://github.com/storybookjs/storybook/pull/1031) +- Add deprecation warnings when addons are required via main package [#1025](https://github.com/storybookjs/storybook/pull/1025) +- Remove text transform uppercase for knob labels [#991](https://github.com/storybookjs/storybook/pull/991) #### Dependency Upgrades @@ -6783,17 +7247,17 @@ Storybook 3.0 is our first fully community-driven release! Notable changes: 11 PRs -- Update lerna to the latest version 🚀 [#1101](https://github.com/storybooks/storybook/pull/1101) -- CHANGE to prop-types package for notes & test-cra [#1082](https://github.com/storybooks/storybook/pull/1082) -- update dependencies in cra-storybook [#1080](https://github.com/storybooks/storybook/pull/1080) -- Switch back to non-fork of react-inspector [#1026](https://github.com/storybooks/storybook/pull/1026) -- Dependency updates: webpack, babel, react [#1008](https://github.com/storybooks/storybook/pull/1008) -- Update jest to the latest version 🚀 [#998](https://github.com/storybooks/storybook/pull/998) -- Update lerna to the latest version 🚀 [#969](https://github.com/storybooks/storybook/pull/969) -- CHANGE to use react-split-view 0.1.63 over the fork [#956](https://github.com/storybooks/storybook/pull/956) -- Update lerna to the latest version 🚀 [#915](https://github.com/storybooks/storybook/pull/915) -- Use jest for unittesting - standardize unit testing epic [#904](https://github.com/storybooks/storybook/pull/904) -- Update dependencies to enable Greenkeeper 🌴 [#768](https://github.com/storybooks/storybook/pull/768) +- Update lerna to the latest version 🚀 [#1101](https://github.com/storybookjs/storybook/pull/1101) +- CHANGE to prop-types package for notes & test-cra [#1082](https://github.com/storybookjs/storybook/pull/1082) +- update dependencies in cra-storybook [#1080](https://github.com/storybookjs/storybook/pull/1080) +- Switch back to non-fork of react-inspector [#1026](https://github.com/storybookjs/storybook/pull/1026) +- Dependency updates: webpack, babel, react [#1008](https://github.com/storybookjs/storybook/pull/1008) +- Update jest to the latest version 🚀 [#998](https://github.com/storybookjs/storybook/pull/998) +- Update lerna to the latest version 🚀 [#969](https://github.com/storybookjs/storybook/pull/969) +- CHANGE to use react-split-view 0.1.63 over the fork [#956](https://github.com/storybookjs/storybook/pull/956) +- Update lerna to the latest version 🚀 [#915](https://github.com/storybookjs/storybook/pull/915) +- Use jest for unittesting - standardize unit testing epic [#904](https://github.com/storybookjs/storybook/pull/904) +- Update dependencies to enable Greenkeeper 🌴 [#768](https://github.com/storybookjs/storybook/pull/768) @@ -6804,95 +7268,95 @@ Storybook 3.0 is our first fully community-driven release! Notable changes: 33 PRs -- Added an upgrade mode to getstorybook [#1146](https://github.com/storybooks/storybook/pull/1146) -- Update link to Storyshots addon [#1074](https://github.com/storybooks/storybook/pull/1074) -- Added error message for missing or invalid storyName [#747](https://github.com/storybooks/storybook/pull/747) -- Opened an Open Collective Account [#1065](https://github.com/storybooks/storybook/pull/1065) -- Add propTablesExclude option [#924](https://github.com/storybooks/storybook/pull/924) -- addon-info: make the info overlay be fixed [#914](https://github.com/storybooks/storybook/pull/914) -- Handle null elements in getData [#926](https://github.com/storybooks/storybook/pull/926) -- add description field from \_\_docgenInfo for prop table for info plugin [#929](https://github.com/storybooks/storybook/pull/929) -- \#959 add a max-height and center element with alignItems: center [#961](https://github.com/storybooks/storybook/pull/961) -- Switch to the only prepublish script [#903](https://github.com/storybooks/storybook/pull/903) -- PR review policy [#923](https://github.com/storybooks/storybook/pull/923) -- Add typescript definitions for getStorybook() [#753](https://github.com/storybooks/storybook/pull/753) -- Restore deep link for addon docs [#919](https://github.com/storybooks/storybook/pull/919) -- Fix default storybook webpack config [#922](https://github.com/storybooks/storybook/pull/922) -- Render the first story for a kind if no story selected. [#918](https://github.com/storybooks/storybook/pull/918) -- Update docs for monorepo [#913](https://github.com/storybooks/storybook/pull/913) -- Monorepo readme and contributing [#907](https://github.com/storybooks/storybook/pull/907) -- Add story kind regex [#906](https://github.com/storybooks/storybook/pull/906) -- Add examples [#897](https://github.com/storybooks/storybook/pull/897) -- Add missing repos [#882](https://github.com/storybooks/storybook/pull/882) -- Switch to monorepo [#749](https://github.com/storybooks/storybook/pull/749) -- extend devMiddlewareOptions with config.devServer [#723](https://github.com/storybooks/storybook/pull/723) -- Added meta IE=edge [#715](https://github.com/storybooks/storybook/pull/715) -- Replace String.includes with String.indexOf: cross-browsing support [#712](https://github.com/storybooks/storybook/pull/712) -- Issue Triage instructions [#748](https://github.com/storybooks/storybook/pull/748) -- Simple pull request template [#741](https://github.com/storybooks/storybook/pull/741) -- Make return type of StoryDecorator nullable [#680](https://github.com/storybooks/storybook/pull/680) -- Warn if story with a given name already exists [#670](https://github.com/storybooks/storybook/pull/670) -- Fix spelling mistake - "element form the story" to "element from the story" [#702](https://github.com/storybooks/storybook/pull/702) -- Remove broken react-button example [#699](https://github.com/storybooks/storybook/pull/699) -- Fixed spelling error. [#720](https://github.com/storybooks/storybook/pull/720) -- Cleaner error handling for storiesOf [#672](https://github.com/storybooks/storybook/pull/672) -- Update links to point to new organization [#721](https://github.com/storybooks/storybook/pull/721) +- Added an upgrade mode to getstorybook [#1146](https://github.com/storybookjs/storybook/pull/1146) +- Update link to Storyshots addon [#1074](https://github.com/storybookjs/storybook/pull/1074) +- Added error message for missing or invalid storyName [#747](https://github.com/storybookjs/storybook/pull/747) +- Opened an Open Collective Account [#1065](https://github.com/storybookjs/storybook/pull/1065) +- Add propTablesExclude option [#924](https://github.com/storybookjs/storybook/pull/924) +- addon-info: make the info overlay be fixed [#914](https://github.com/storybookjs/storybook/pull/914) +- Handle null elements in getData [#926](https://github.com/storybookjs/storybook/pull/926) +- add description field from \_\_docgenInfo for prop table for info plugin [#929](https://github.com/storybookjs/storybook/pull/929) +- \#959 add a max-height and center element with alignItems: center [#961](https://github.com/storybookjs/storybook/pull/961) +- Switch to the only prepublish script [#903](https://github.com/storybookjs/storybook/pull/903) +- PR review policy [#923](https://github.com/storybookjs/storybook/pull/923) +- Add typescript definitions for getStorybook() [#753](https://github.com/storybookjs/storybook/pull/753) +- Restore deep link for addon docs [#919](https://github.com/storybookjs/storybook/pull/919) +- Fix default storybook webpack config [#922](https://github.com/storybookjs/storybook/pull/922) +- Render the first story for a kind if no story selected. [#918](https://github.com/storybookjs/storybook/pull/918) +- Update docs for monorepo [#913](https://github.com/storybookjs/storybook/pull/913) +- Monorepo readme and contributing [#907](https://github.com/storybookjs/storybook/pull/907) +- Add story kind regex [#906](https://github.com/storybookjs/storybook/pull/906) +- Add examples [#897](https://github.com/storybookjs/storybook/pull/897) +- Add missing repos [#882](https://github.com/storybookjs/storybook/pull/882) +- Switch to monorepo [#749](https://github.com/storybookjs/storybook/pull/749) +- extend devMiddlewareOptions with config.devServer [#723](https://github.com/storybookjs/storybook/pull/723) +- Added meta IE=edge [#715](https://github.com/storybookjs/storybook/pull/715) +- Replace String.includes with String.indexOf: cross-browsing support [#712](https://github.com/storybookjs/storybook/pull/712) +- Issue Triage instructions [#748](https://github.com/storybookjs/storybook/pull/748) +- Simple pull request template [#741](https://github.com/storybookjs/storybook/pull/741) +- Make return type of StoryDecorator nullable [#680](https://github.com/storybookjs/storybook/pull/680) +- Warn if story with a given name already exists [#670](https://github.com/storybookjs/storybook/pull/670) +- Fix spelling mistake - "element form the story" to "element from the story" [#702](https://github.com/storybookjs/storybook/pull/702) +- Remove broken react-button example [#699](https://github.com/storybookjs/storybook/pull/699) +- Fixed spelling error. [#720](https://github.com/storybookjs/storybook/pull/720) +- Cleaner error handling for storiesOf [#672](https://github.com/storybookjs/storybook/pull/672) +- Update links to point to new organization [#721](https://github.com/storybookjs/storybook/pull/721) ## v2.35.3 -Allow customConfig to override devtool. [PR668](https://github.com/storybooks/react-storybook/pull/668) +Allow customConfig to override devtool. [PR668](https://github.com/storybookjs/react-storybook/pull/668) ## v2.35.2 03-January-2017 -Fixes issue [#601](https://github.com/storybooks/react-storybook/issues/601) where it throws error when introduce a propType with a hypen. Add a [fix](https://github.com/kadirahq/babel-plugin-react-docgen/pull/23) to [`babel-plugin-react-docgen`](https://github.com/kadirahq/babel-plugin-react-docgen) to fix this issue. +Fixes issue [#601](https://github.com/storybookjs/react-storybook/issues/601) where it throws error when introduce a propType with a hypen. Add a [fix](https://github.com/kadirahq/babel-plugin-react-docgen/pull/23) to [`babel-plugin-react-docgen`](https://github.com/kadirahq/babel-plugin-react-docgen) to fix this issue. This release comes with the updated `babel-plugin-react-docgen`. ## v2.35.1 -- Revert [PR653](https://github.com/storybooks/react-storybook/pull/653) where it's causing HMR to not working properly. +- Revert [PR653](https://github.com/storybookjs/react-storybook/pull/653) where it's causing HMR to not working properly. ## v2.35.0 18-December-2016 -- Using file-loader to load all the extensions [PR653](https://github.com/storybooks/react-storybook/pull/653) -- Update css-loader dependency [PR648](https://github.com/storybooks/react-storybook/pull/648) -- Check if stories are loaded from Jest [PR644](https://github.com/storybooks/react-storybook/pull/644) +- Using file-loader to load all the extensions [PR653](https://github.com/storybookjs/react-storybook/pull/653) +- Update css-loader dependency [PR648](https://github.com/storybookjs/react-storybook/pull/648) +- Check if stories are loaded from Jest [PR644](https://github.com/storybookjs/react-storybook/pull/644) ## v2.34.0 05-December-2016 -Open the express router for developers (middleware.js file). [PR435](https://github.com/storybooks/react-storybook/pull/435) +Open the express router for developers (middleware.js file). [PR435](https://github.com/storybookjs/react-storybook/pull/435) ## v2.33.1 01-December-2016 -Update Typescript definition file for global addDecorator. [PR634](https://github.com/storybooks/react-storybook/pull/634) +Update Typescript definition file for global addDecorator. [PR634](https://github.com/storybookjs/react-storybook/pull/634) ## v2.33.0 28-November-2016 -Completely avoid re-rendering the preview iframe. [PR631](https://github.com/storybooks/react-storybook/pull/631) +Completely avoid re-rendering the preview iframe. [PR631](https://github.com/storybookjs/react-storybook/pull/631) ## v2.32.2 28-November-2016 -Update postmsg channel module version [PR627](https://github.com/storybooks/react-storybook/pull/627) +Update postmsg channel module version [PR627](https://github.com/storybookjs/react-storybook/pull/627) ## v2.32.1 22-November-2016 -Add support for react_perf comes with React 15.4.0. [PR623](https://github.com/storybooks/react-storybook/pull/623) +Add support for react_perf comes with React 15.4.0. [PR623](https://github.com/storybookjs/react-storybook/pull/623) ## v2.32.0 @@ -6902,13 +7366,13 @@ Incorrect publish (error when running `npm publish`) 20-November-2016 -Add the react-storybook version to the build output. [PR621](https://github.com/storybooks/react-storybook/pull/621) +Add the react-storybook version to the build output. [PR621](https://github.com/storybookjs/react-storybook/pull/621) ## v2.30.1 17-November-2016 -Update the postmsg channel module to fix issue [#555](https://github.com/storybooks/react-storybook/issues/555) with [PR611](https://github.com/storybooks/react-storybook/pull/611) +Update the postmsg channel module to fix issue [#555](https://github.com/storybookjs/react-storybook/issues/555) with [PR611](https://github.com/storybookjs/react-storybook/pull/611) ## v2.30.0 @@ -6926,19 +7390,19 @@ Update @kadira/storybook-ui to the latest. 10-November-2016 -Fix a typo in the story syntax error messages. [PR610](https://github.com/storybooks/react-storybook/pull/610) +Fix a typo in the story syntax error messages. [PR610](https://github.com/storybookjs/react-storybook/pull/610) ## v2.29.5 09-November-2016 -Check if regex and regex.test is available before calling it. [PR608](https://github.com/storybooks/react-storybook/pull/608) +Check if regex and regex.test is available before calling it. [PR608](https://github.com/storybookjs/react-storybook/pull/608) ## v2.29.3 08-November-2016 -Update webpack-hot-middleware to version 2.13.2 to fix the issue [#543](https://github.com/storybooks/react-storybook/issues/543). +Update webpack-hot-middleware to version 2.13.2 to fix the issue [#543](https://github.com/storybookjs/react-storybook/issues/543). ## v2.29.3 @@ -6953,11 +7417,11 @@ There was a text called undefined listed always on the top of the preview. Add various fixes. -- Use webpack chunkhash to enable long-term caching. [PR597](https://github.com/storybooks/react-storybook/pull/597) -- Fixed json loader testing for when test is multiple. [PR598](https://github.com/storybooks/react-storybook/pull/598) -- Fix usage of custom favicon [PR592](https://github.com/storybooks/react-storybook/pull/592) -- Update postcss-loader to v1.1.0 [PR599](https://github.com/storybooks/react-storybook/pull/599) -- fix for `module.hot` is not available in a static build [PR600](https://github.com/storybooks/react-storybook/pull/600) +- Use webpack chunkhash to enable long-term caching. [PR597](https://github.com/storybookjs/react-storybook/pull/597) +- Fixed json loader testing for when test is multiple. [PR598](https://github.com/storybookjs/react-storybook/pull/598) +- Fix usage of custom favicon [PR592](https://github.com/storybookjs/react-storybook/pull/592) +- Update postcss-loader to v1.1.0 [PR599](https://github.com/storybookjs/react-storybook/pull/599) +- fix for `module.hot` is not available in a static build [PR600](https://github.com/storybookjs/react-storybook/pull/600) ## v2.29.1 @@ -6976,13 +7440,13 @@ This will fix some of the compilation issues such as #580. 28-October-2016 -Remove preview decorator support. [PR583](https://github.com/storybooks/react-storybook/pull/583). +Remove preview decorator support. [PR583](https://github.com/storybookjs/react-storybook/pull/583). ## v2.28.0 28-October-2016 -Add preview decorator support. [PR582](https://github.com/storybooks/react-storybook/pull/582). +Add preview decorator support. [PR582](https://github.com/storybookjs/react-storybook/pull/582). This will help us bring storybook designer with some great power. ## v2.27.0 @@ -6991,11 +7455,11 @@ This will help us bring storybook designer with some great power. Add a few usability improvements to Storybook. -- Display storybook version. [PR559](https://github.com/storybooks/react-storybook/pull/559) -- Make the storybooks cacheable. [PR578](https://github.com/storybooks/react-storybook/pull/578) -- Change the devtool to eval and remove the use of source maps. [PR577](https://github.com/storybooks/react-storybook/pull/577) -- Update `babel-preset-react-app` to the latest. [PR576](https://github.com/storybooks/react-storybook/pull/576) -- Ship `json-loader` by default. [PR575](https://github.com/storybooks/react-storybook/pull/575) +- Display storybook version. [PR559](https://github.com/storybookjs/react-storybook/pull/559) +- Make the storybooks cacheable. [PR578](https://github.com/storybookjs/react-storybook/pull/578) +- Change the devtool to eval and remove the use of source maps. [PR577](https://github.com/storybookjs/react-storybook/pull/577) +- Update `babel-preset-react-app` to the latest. [PR576](https://github.com/storybookjs/react-storybook/pull/576) +- Ship `json-loader` by default. [PR575](https://github.com/storybookjs/react-storybook/pull/575) ## v2.26.0 @@ -7003,21 +7467,21 @@ Add a few usability improvements to Storybook. Get some new features from CRA. -- Add jsx as a resolve extension [PR563](https://github.com/storybooks/react-storybook/pull/563) -- Allow to use postcss for CSS @imports [PR564](https://github.com/storybooks/react-storybook/pull/564) -- Use process.env as a proper object [PR565](https://github.com/storybooks/react-storybook/pull/565) +- Add jsx as a resolve extension [PR563](https://github.com/storybookjs/react-storybook/pull/563) +- Allow to use postcss for CSS @imports [PR564](https://github.com/storybookjs/react-storybook/pull/564) +- Use process.env as a proper object [PR565](https://github.com/storybookjs/react-storybook/pull/565) ## v2.25.1 23-October-2016 -Add a potential fix to [558](https://github.com/storybooks/react-storybook/issues/558) by updating babel-plugin-react-docgen to the latest(v1.3.2). +Add a potential fix to [558](https://github.com/storybookjs/react-storybook/issues/558) by updating babel-plugin-react-docgen to the latest(v1.3.2). ## v2.25.0 21-October-2016 -Add react docgen info into React classes with the react-docgen babel plugin. [PR557](https://github.com/storybooks/react-storybook/pull/557). +Add react docgen info into React classes with the react-docgen babel plugin. [PR557](https://github.com/storybookjs/react-storybook/pull/557). With this: - We could get docgen info with any React component class using `ClassName.__docgenInfo`. @@ -7029,19 +7493,19 @@ Additionally, added `yarn.lock`. 19-October-2016 -Do not show git command output. [PR554](https://github.com/storybooks/react-storybook/pull/554) +Do not show git command output. [PR554](https://github.com/storybookjs/react-storybook/pull/554) ## v2.24.0 07-October-2016 -- Export git repository info to support custom tool integrations [PR536](https://github.com/storybooks/react-storybook/pull/536) +- Export git repository info to support custom tool integrations [PR536](https://github.com/storybookjs/react-storybook/pull/536) ## v2.23.0 06-October-2016 -- Remove the experimental database addon from react-storybook [PR535](https://github.com/storybooks/react-storybook/pull/535) +- Remove the experimental database addon from react-storybook [PR535](https://github.com/storybookjs/react-storybook/pull/535) ## v2.22.0 @@ -7049,142 +7513,142 @@ Do not show git command output. [PR554](https://github.com/storybooks/react-stor Add some nice development experiment based on suggestion from Dan Abramov. -- Set a color to the Storybook URL in the console. [PR533](https://github.com/storybooks/react-storybook/pull/533) -- Add better error message when there's no React element in the story. [PR534](https://github.com/storybooks/react-storybook/pull/534) +- Set a color to the Storybook URL in the console. [PR533](https://github.com/storybookjs/react-storybook/pull/533) +- Add better error message when there's no React element in the story. [PR534](https://github.com/storybookjs/react-storybook/pull/534) ## v2.21.0 05-October-2016 -- Get the latest features from CRA including NODE_PATH support, public folder support and some other minor changes. [#468](https://github.com/storybooks/react-storybook/issues/468) +- Get the latest features from CRA including NODE_PATH support, public folder support and some other minor changes. [#468](https://github.com/storybookjs/react-storybook/issues/468) - Also bumped `@kadira/storybook-channel-postmsg` to `^1.0.3` ## v2.20.1 28-September-2016 -- Fix story kind order bug [PR499](https://github.com/storybooks/react-storybook/pull/499) -- Prefix config environment variables [PR503](https://github.com/storybooks/react-storybook/pull/503) +- Fix story kind order bug [PR499](https://github.com/storybookjs/react-storybook/pull/499) +- Prefix config environment variables [PR503](https://github.com/storybookjs/react-storybook/pull/503) ## v2.20.0 26-September-2016 -- Use postMessage channel [PR498](https://github.com/storybooks/react-storybook/pull/498) -- Support dynamic panel titles [PR497](https://github.com/storybooks/react-storybook/pull/497) +- Use postMessage channel [PR498](https://github.com/storybookjs/react-storybook/pull/498) +- Support dynamic panel titles [PR497](https://github.com/storybookjs/react-storybook/pull/497) ## v2.19.0 26-September-2016 -- Support layout options [PR494](https://github.com/storybooks/react-storybook/pull/494) -- Update Typescript definitions [PR491](https://github.com/storybooks/react-storybook/pull/491) and [PR493](https://github.com/storybooks/react-storybook/pull/493) +- Support layout options [PR494](https://github.com/storybookjs/react-storybook/pull/494) +- Update Typescript definitions [PR491](https://github.com/storybookjs/react-storybook/pull/491) and [PR493](https://github.com/storybookjs/react-storybook/pull/493) ## v2.18.1 23-September-2016 -- Stop uglifyjs from mangling names [PR483](https://github.com/storybooks/react-storybook/pull/483) +- Stop uglifyjs from mangling names [PR483](https://github.com/storybookjs/react-storybook/pull/483) ## v2.18.0 23-September-2016 -- Remove `STORYBOOK_` prefix from config env [PR481](https://github.com/storybooks/react-storybook/pull/481) +- Remove `STORYBOOK_` prefix from config env [PR481](https://github.com/storybookjs/react-storybook/pull/481) ## v2.17.0 22-September-2016 -- Add support for StoryShots. [PR479](https://github.com/storybooks/react-storybook/pull/479) -- Fix some typos: [PR477](https://github.com/storybooks/react-storybook/pull/477) & [PR478](https://github.com/storybooks/react-storybook/pull/478) +- Add support for StoryShots. [PR479](https://github.com/storybookjs/react-storybook/pull/479) +- Fix some typos: [PR477](https://github.com/storybookjs/react-storybook/pull/477) & [PR478](https://github.com/storybookjs/react-storybook/pull/478) ## v2.16.1 21-September-2016 -- Fix the 404 error for `addon-db.json` file [PR472](https://github.com/storybooks/react-storybook/pull/472) -- Serve/Bundle the storybook favicon [PR473](https://github.com/storybooks/react-storybook/pull/473) +- Fix the 404 error for `addon-db.json` file [PR472](https://github.com/storybookjs/react-storybook/pull/472) +- Serve/Bundle the storybook favicon [PR473](https://github.com/storybookjs/react-storybook/pull/473) ## v2.16.0 21-September-2016 -- Move the babel config loading logic into a seperate file. [PR469](https://github.com/storybooks/react-storybook/pull/469) +- Move the babel config loading logic into a seperate file. [PR469](https://github.com/storybookjs/react-storybook/pull/469) - Update airbnd eslint rules to the latest. ## v2.15.1 19-September-2016 -Add a fix to webpack custom resolve.alias not working. [PR465](https://github.com/storybooks/react-storybook/pull/465) +Add a fix to webpack custom resolve.alias not working. [PR465](https://github.com/storybookjs/react-storybook/pull/465) ## v2.15.0 19-September-2016 -- Use @kadira/storybook-addons as a resolve.alias. So, we can support addons for NPM2 too. [PR462](https://github.com/storybooks/react-storybook/pull/462) +- Use @kadira/storybook-addons as a resolve.alias. So, we can support addons for NPM2 too. [PR462](https://github.com/storybookjs/react-storybook/pull/462) ## v2.14.0 14-September-2016 -- Watch missing NPM modules and force webpack rebuild. [PR446](https://github.com/storybooks/react-storybook/pull/446) -- Fix issue on error message hanging after even it solved. [PR447](https://github.com/storybooks/react-storybook/pull/447) -- Allow to reload if HMR goes crazy. [PR448](https://github.com/storybooks/react-storybook/pull/448) -- Add support to get custom env variables. [PR450](https://github.com/storybooks/react-storybook/pull/450) +- Watch missing NPM modules and force webpack rebuild. [PR446](https://github.com/storybookjs/react-storybook/pull/446) +- Fix issue on error message hanging after even it solved. [PR447](https://github.com/storybookjs/react-storybook/pull/447) +- Allow to reload if HMR goes crazy. [PR448](https://github.com/storybookjs/react-storybook/pull/448) +- Add support to get custom env variables. [PR450](https://github.com/storybookjs/react-storybook/pull/450) ## v2.13.1 14-September-2016 -- Fix 404 error when db file does not exist [PR449](https://github.com/storybooks/react-storybook/pull/449) +- Fix 404 error when db file does not exist [PR449](https://github.com/storybookjs/react-storybook/pull/449) ## v2.13.0 9-September-2016 -- Fix [#443](https://github.com/storybooks/react-storybook/issues/443) where the static version of Storybook doesn't like Safari. +- Fix [#443](https://github.com/storybookjs/react-storybook/issues/443) where the static version of Storybook doesn't like Safari. - Update postcss-loader to 0.13.0. ## v2.12.1 8-September-2016 -- Parse static directory provided by env as a list. [PR436](https://github.com/storybooks/react-storybook/pull/436) +- Parse static directory provided by env as a list. [PR436](https://github.com/storybookjs/react-storybook/pull/436) ## v2.12.0 8-September-2016 -- Do not include addon register file on preview. [PR426](https://github.com/storybooks/react-storybook/pull/426) -- Update css-loader to version 0.25.0. [PR427](https://github.com/storybooks/react-storybook/pull/427) -- Get the head.html values for every page request. [PR432](https://github.com/storybooks/react-storybook/pull/432) +- Do not include addon register file on preview. [PR426](https://github.com/storybookjs/react-storybook/pull/426) +- Update css-loader to version 0.25.0. [PR427](https://github.com/storybookjs/react-storybook/pull/427) +- Get the head.html values for every page request. [PR432](https://github.com/storybookjs/react-storybook/pull/432) ## v2.11.0 4-September-2016 - Remove babel-polyfill since we don't use it. -- Update versions with the help from greenkeeper. [PR421](https://github.com/storybooks/react-storybook/pull/421) +- Update versions with the help from greenkeeper. [PR421](https://github.com/storybookjs/react-storybook/pull/421) ## v2.10.0 3-September-2016 -- Adding airbnb-js-shims again. [PR419](https://github.com/storybooks/react-storybook/pull/419) +- Adding airbnb-js-shims again. [PR419](https://github.com/storybookjs/react-storybook/pull/419) ## v2.9.1 2-September-2016. -- Use the config directory to store the addon database file [PR418](https://github.com/storybooks/react-storybook/pull/418). +- Use the config directory to store the addon database file [PR418](https://github.com/storybookjs/react-storybook/pull/418). ## v2.9.0 2-September-2016. -- Copy the addon-db.json file when building static storybooks [PR417](https://github.com/storybooks/react-storybook/pull/417). +- Copy the addon-db.json file when building static storybooks [PR417](https://github.com/storybookjs/react-storybook/pull/417). ## v2.8.0 @@ -7196,25 +7660,25 @@ Add a fix to webpack custom resolve.alias not working. [PR465](https://github.co 1-September-2016 -- Add addon database feature [PR415](https://github.com/storybooks/react-storybook/pull/415). +- Add addon database feature [PR415](https://github.com/storybookjs/react-storybook/pull/415). ## v2.6.1 31-August-2016 -- Bring back HMR dev logs. [PR412](https://github.com/storybooks/react-storybook/pull/412). +- Bring back HMR dev logs. [PR412](https://github.com/storybookjs/react-storybook/pull/412). ## v2.6.0 30-August-2016 -- Allow start/build params from env variables. [PR413](https://github.com/storybooks/react-storybook/pull/413) +- Allow start/build params from env variables. [PR413](https://github.com/storybookjs/react-storybook/pull/413) ## v2.5.2 29-August-2016 -- Remove the use of babel-runtime/core-js modules. [PR410](https://github.com/storybooks/react-storybook/pull/410) +- Remove the use of babel-runtime/core-js modules. [PR410](https://github.com/storybookjs/react-storybook/pull/410) ## v2.5.1 @@ -7226,13 +7690,13 @@ Add a fix to webpack custom resolve.alias not working. [PR465](https://github.co 24-August-2016 -- We are no longer shipping extra polyfills anymore. [PR402](https://github.com/storybooks/react-storybook/pull/402) +- We are no longer shipping extra polyfills anymore. [PR402](https://github.com/storybookjs/react-storybook/pull/402) ## v2.4.2 24-August-2016 -- Allow file-loader URLs to work on subpaths. [PR401](https://github.com/storybooks/react-storybook/pull/401) +- Allow file-loader URLs to work on subpaths. [PR401](https://github.com/storybookjs/react-storybook/pull/401) ## v2.4.1 @@ -7244,34 +7708,34 @@ Add a fix to webpack custom resolve.alias not working. [PR465](https://github.co 23-August-2016 -- Simplify the option to stop tracking. [PR399](https://github.com/storybooks/react-storybook/pull/399) -- Use JSON5 instead of CJSON to parse .babelrc. [PR398](https://github.com/storybooks/react-storybook/pull/398) -- Add webpack2 support by changing the use of OccurenceOrderPlugin. [PR397](https://github.com/storybooks/react-storybook/pull/397) +- Simplify the option to stop tracking. [PR399](https://github.com/storybookjs/react-storybook/pull/399) +- Use JSON5 instead of CJSON to parse .babelrc. [PR398](https://github.com/storybookjs/react-storybook/pull/398) +- Add webpack2 support by changing the use of OccurenceOrderPlugin. [PR397](https://github.com/storybookjs/react-storybook/pull/397) - Use @kadira/storybook-ui 2.3.0, which has new APIs to set URL for addons. ## v2.3.0 16-August-2016 -- Implement anonymous usage tracking. [PR384](https://github.com/storybooks/react-storybook/pull/384) +- Implement anonymous usage tracking. [PR384](https://github.com/storybookjs/react-storybook/pull/384) ## v2.2.3 15-August-2016 -- Add a hash to media file's filename. Otherwise, it'll cause issues when there are multiple images with the same filename but in different directories. [PR380](https://github.com/storybooks/react-storybook/pull/380) +- Add a hash to media file's filename. Otherwise, it'll cause issues when there are multiple images with the same filename but in different directories. [PR380](https://github.com/storybookjs/react-storybook/pull/380) ## v2.2.2 10-August-2016 -- Remove unused extract-text-webpack-plugin. This will add webpack2 support. [PR369](https://github.com/storybooks/react-storybook/pull/369). +- Remove unused extract-text-webpack-plugin. This will add webpack2 support. [PR369](https://github.com/storybookjs/react-storybook/pull/369). ## v2.2.1 09-August-2016 -- Use @kadira/storybook-channel modules. [#PR359](https://github.com/storybooks/react-storybook/pull/359). +- Use @kadira/storybook-channel modules. [#PR359](https://github.com/storybookjs/react-storybook/pull/359). - Update @kadira/storybook-ui to the latest. ## v2.2.0 @@ -7280,25 +7744,25 @@ Add a fix to webpack custom resolve.alias not working. [PR465](https://github.co This release bring some webpack config related optimizations and the NPM2 support. Here are the notable changes: -- Use es6-shim directly into webpack config. [PR355](https://github.com/storybooks/react-storybook/pull/355) -- Use the default babel-config based on CRA's config. [PR354](https://github.com/storybooks/react-storybook/pull/354) -- Add NPM2 support. [PR356](https://github.com/storybooks/react-storybook/pull/356) -- Add autofixer defaults. [PR357](https://github.com/storybooks/react-storybook/pull/357) +- Use es6-shim directly into webpack config. [PR355](https://github.com/storybookjs/react-storybook/pull/355) +- Use the default babel-config based on CRA's config. [PR354](https://github.com/storybookjs/react-storybook/pull/354) +- Add NPM2 support. [PR356](https://github.com/storybookjs/react-storybook/pull/356) +- Add autofixer defaults. [PR357](https://github.com/storybookjs/react-storybook/pull/357) ## v2.1.1 03-August-2016 -Remove default webpack config for all config types. [PR348](https://github.com/storybooks/react-storybook/pull/348) +Remove default webpack config for all config types. [PR348](https://github.com/storybookjs/react-storybook/pull/348) Now we only use the Create React App based config if there's no custom webpack config. -This will fix issues like [#347](https://github.com/storybooks/react-storybook/issues/347). +This will fix issues like [#347](https://github.com/storybookjs/react-storybook/issues/347). ## v2.1.0 02-August-2016 -Add support for the addon API. See [PR346](https://github.com/storybooks/react-storybook/pull/346). +Add support for the addon API. See [PR346](https://github.com/storybookjs/react-storybook/pull/346). Here after we are using most of the features including actions,links as plugins. So, this introduced a huge area to add customizations to Storybook. @@ -7308,7 +7772,7 @@ Unfortunately, as of this version, there are no docs for this feature. But, you - actions addon (powers the action logger): [addon-actions](https://github.com/kadirahq/storybook-addon-actions) - links addon (powers the linkTo feature): [addon-links](https://github.com/kadirahq/storybook-addon-links) -Have a look at [here](https://github.com/storybooks/react-storybook/blob/master/src/server/config.js#L88) to how to configure addons. +Have a look at [here](https://github.com/storybookjs/react-storybook/blob/master/src/server/config.js#L88) to how to configure addons. ## v2.0.0 @@ -7316,7 +7780,7 @@ Have a look at [here](https://github.com/storybooks/react-storybook/blob/master/ This is the starting of the next major version of Storybook. This version is almost compatible with `v1.x.x` but defaults have been changes as discussed below. That's why we are starting out a new version. -- Update defaults to match create-react-app. [PR342](https://github.com/storybooks/react-storybook/pull/342). Here are the notable changes: +- Update defaults to match create-react-app. [PR342](https://github.com/storybookjs/react-storybook/pull/342). Here are the notable changes: - Add postcss based CSS loader. - Add file-loader for images and common types. - Add url-loader for shorter media files. @@ -7326,17 +7790,17 @@ This is the starting of the next major version of Storybook. This version is alm ## v1.41.0 -- Fix nodejs require errors [#337](https://github.com/storybooks/react-storybook/pull/337). -- Add getStorybook method to client API [#332](https://github.com/storybooks/react-storybook/pull/332). +- Fix nodejs require errors [#337](https://github.com/storybookjs/react-storybook/pull/337). +- Add getStorybook method to client API [#332](https://github.com/storybookjs/react-storybook/pull/332). ## v1.40.0 -- Fix duplicate decorator bug [#335](https://github.com/storybooks/react-storybook/pull/335). +- Fix duplicate decorator bug [#335](https://github.com/storybookjs/react-storybook/pull/335). ## v1.39.1 -- Update babel packages [#325](https://github.com/storybooks/react-storybook/pull/325). -- Hide HMR info logs [#331](https://github.com/storybooks/react-storybook/pull/331). +- Update babel packages [#325](https://github.com/storybookjs/react-storybook/pull/325). +- Hide HMR info logs [#331](https://github.com/storybookjs/react-storybook/pull/331). ## v1.39.0 @@ -7344,19 +7808,19 @@ This is the starting of the next major version of Storybook. This version is alm ## v1.38.3 -- Add names for action and linkTo functions [#321](https://github.com/storybooks/react-storybook/pull/321). +- Add names for action and linkTo functions [#321](https://github.com/storybookjs/react-storybook/pull/321). ## v1.38.2 -- Fix error in prepublish script [#319](https://github.com/storybooks/react-storybook/pull/319). +- Fix error in prepublish script [#319](https://github.com/storybookjs/react-storybook/pull/319). ## v1.38.1 -- Improve Windows support by writing prepublish script using shelljs [#308](https://github.com/storybooks/react-storybook/pull/308). +- Improve Windows support by writing prepublish script using shelljs [#308](https://github.com/storybookjs/react-storybook/pull/308). ## v1.38.0 -- v1.37.0 was a nightmare since it contains the npm-shrinkwrap.json. Fixed by removing it. See: [#306](https://github.com/storybooks/react-storybook/issues/306) and [#305](https://github.com/storybooks/react-storybook/pull/305). +- v1.37.0 was a nightmare since it contains the npm-shrinkwrap.json. Fixed by removing it. See: [#306](https://github.com/storybookjs/react-storybook/issues/306) and [#305](https://github.com/storybookjs/react-storybook/pull/305). ## v1.37.0 @@ -7364,7 +7828,7 @@ This is the starting of the next major version of Storybook. This version is alm ## v1.36.0 -- Support watchOptions configuration. See: [PR287](https://github.com/storybooks/react-storybook/pull/287) +- Support watchOptions configuration. See: [PR287](https://github.com/storybookjs/react-storybook/pull/287) ## v1.35.2 @@ -7372,7 +7836,7 @@ This is the starting of the next major version of Storybook. This version is alm ## v1.35.1 -- Fix issue related to bad error handling. See issue [#275](https://github.com/storybooks/react-storybook/issues/275): +- Fix issue related to bad error handling. See issue [#275](https://github.com/storybookjs/react-storybook/issues/275): ## v1.35.0 @@ -7380,7 +7844,7 @@ This is the starting of the next major version of Storybook. This version is alm ## v1.34.1 -- Don't always override NODE_ENV in build-storybook. [PR272](https://github.com/storybooks/react-storybook/pull/272) +- Don't always override NODE_ENV in build-storybook. [PR272](https://github.com/storybookjs/react-storybook/pull/272) ## v1.34.0 @@ -7388,7 +7852,7 @@ This is the starting of the next major version of Storybook. This version is alm ## v1.33.0 -- Introduce an [extension API](https://github.com/storybooks/react-storybook/blob/master/docs/extensions.md) for Storybook. See: [PR258](https://github.com/storybooks/react-storybook/pull/258) +- Introduce an [extension API](https://github.com/storybookjs/react-storybook/blob/master/docs/extensions.md) for Storybook. See: [PR258](https://github.com/storybookjs/react-storybook/pull/258) ## v1.32.1 @@ -7400,67 +7864,67 @@ This is the starting of the next major version of Storybook. This version is alm ## v1.31.0 -- Pass a `context` argument to stories [PR250](https://github.com/storybooks/react-storybook/pull/250) +- Pass a `context` argument to stories [PR250](https://github.com/storybookjs/react-storybook/pull/250) ## v1.30.0 -- Fuzzy search kinds [PR247](https://github.com/storybooks/react-storybook/pull/247) +- Fuzzy search kinds [PR247](https://github.com/storybookjs/react-storybook/pull/247) ## v1.29.5 -- Update dependency version to fix filter crash [PR246](https://github.com/storybooks/react-storybook/pull/246) +- Update dependency version to fix filter crash [PR246](https://github.com/storybookjs/react-storybook/pull/246) ## v1.29.4 -- Protect index.html/iframe.html from being overwritten [PR243](https://github.com/storybooks/react-storybook/pull/243) +- Protect index.html/iframe.html from being overwritten [PR243](https://github.com/storybookjs/react-storybook/pull/243) ## v1.29.3 -- Update @kadira/storybook-core version [PR241](https://github.com/storybooks/react-storybook/pull/241) -- Add es6-shim by default [PR238](https://github.com/storybooks/react-storybook/pull/238) +- Update @kadira/storybook-core version [PR241](https://github.com/storybookjs/react-storybook/pull/241) +- Add es6-shim by default [PR238](https://github.com/storybookjs/react-storybook/pull/238) ## v1.29.2 -- Use url.resolve instead of path.join [PR240](https://github.com/storybooks/react-storybook/pull/240) +- Use url.resolve instead of path.join [PR240](https://github.com/storybookjs/react-storybook/pull/240) ## v1.29.1 -- Copy missed manager.js.map file on static build [PR236](https://github.com/storybooks/react-storybook/pull/236) +- Copy missed manager.js.map file on static build [PR236](https://github.com/storybookjs/react-storybook/pull/236) ## v1.29.0 -- Multiple static dirs (comma separated) [PR229](https://github.com/storybooks/react-storybook/pull/229) +- Multiple static dirs (comma separated) [PR229](https://github.com/storybookjs/react-storybook/pull/229) ## v1.28.5 -- Support ECMAScript stage-0 [PR228](https://github.com/storybooks/react-storybook/pull/228) to fix [Issue #227](https://github.com/storybooks/react-storybook/issues/227) +- Support ECMAScript stage-0 [PR228](https://github.com/storybookjs/react-storybook/pull/228) to fix [Issue #227](https://github.com/storybookjs/react-storybook/issues/227) ## v1.28.4 -- Support custom webpack public path for dev-server and static build started by [PR226](https://github.com/storybooks/react-storybook/pull/226) +- Support custom webpack public path for dev-server and static build started by [PR226](https://github.com/storybookjs/react-storybook/pull/226) ## v1.28.3 -- Revert [PR226](https://github.com/storybooks/react-storybook/pull/226) +- Revert [PR226](https://github.com/storybookjs/react-storybook/pull/226) ## v1.28.2 -- Support custom webpack publicPath [PR226](https://github.com/storybooks/react-storybook/pull/226) +- Support custom webpack publicPath [PR226](https://github.com/storybookjs/react-storybook/pull/226) ## v1.28.1 -- Add charset meta tags to HTML heads [PR216](https://github.com/storybooks/react-storybook/pull/216) +- Add charset meta tags to HTML heads [PR216](https://github.com/storybookjs/react-storybook/pull/216) ## v1.28.0 - Moved storybook serving code into a middleware to support more advanced use cases. -- Refactored dev server to use storybook middleware [PR211](https://github.com/storybooks/react-storybook/pull/211) +- Refactored dev server to use storybook middleware [PR211](https://github.com/storybookjs/react-storybook/pull/211) ## v1.27.0 -- Move modules to storybook-core repo. [PR196](https://github.com/storybooks/react-storybook/pull/196) +- Move modules to storybook-core repo. [PR196](https://github.com/storybookjs/react-storybook/pull/196) - Add stack-source-map again only for Chrome to get better error stacks. -- Add ability to control the hostname. See [PR195](https://github.com/storybooks/react-storybook/pull/195) and [PR198](https://github.com/storybooks/react-storybook/pull/198) +- Add ability to control the hostname. See [PR195](https://github.com/storybookjs/react-storybook/pull/195) and [PR198](https://github.com/storybookjs/react-storybook/pull/198) ## v1.26.0 @@ -7472,34 +7936,34 @@ This is the starting of the next major version of Storybook. This version is alm 11-May-2016 -- Fix several publishing related issues. See: [#188](https://github.com/storybooks/react-storybook/pull/188). -- Fix babel extends issue. See: [PR185](https://github.com/storybooks/react-storybook/pull/185). +- Fix several publishing related issues. See: [#188](https://github.com/storybookjs/react-storybook/pull/188). +- Fix babel extends issue. See: [PR185](https://github.com/storybookjs/react-storybook/pull/185). - Fix issue with removing a preset from users babelrc. - - Fixes: [#183](https://github.com/storybooks/react-storybook/issues/183). - - [PR184](https://github.com/storybooks/react-storybook/pull/184) -- Make left panel scrollable with keeping the filterbox always. See: [PR182](https://github.com/storybooks/react-storybook/pull/182). + - Fixes: [#183](https://github.com/storybookjs/react-storybook/issues/183). + - [PR184](https://github.com/storybookjs/react-storybook/pull/184) +- Make left panel scrollable with keeping the filterbox always. See: [PR182](https://github.com/storybookjs/react-storybook/pull/182). - Add `qs` as a direct dependency as it's used in preview. ## v1.24.0 10-May-2016 -- Add a potential fix for the double scrollbar issue. See: [179](https://github.com/storybooks/react-storybook/issues/179). -- Add scrolling support to the left panel. Fixes [#177](https://github.com/storybooks/react-storybook/issues/177). -- Remove NODE_ENV=production flag. Fixes [#158](https://github.com/storybooks/react-storybook/issues/158) +- Add a potential fix for the double scrollbar issue. See: [179](https://github.com/storybookjs/react-storybook/issues/179). +- Add scrolling support to the left panel. Fixes [#177](https://github.com/storybookjs/react-storybook/issues/177). +- Remove NODE_ENV=production flag. Fixes [#158](https://github.com/storybookjs/react-storybook/issues/158) ## v1.23.0 09-May-2016 -- Add shortcuts to jump to previous and next stories. See [PR176](https://github.com/storybooks/react-storybook/pull/176) -- Fix loader concatenation bug specially when custom config doesn't have a loaders section. [PR173](https://github.com/storybooks/react-storybook/pull/173) +- Add shortcuts to jump to previous and next stories. See [PR176](https://github.com/storybookjs/react-storybook/pull/176) +- Fix loader concatenation bug specially when custom config doesn't have a loaders section. [PR173](https://github.com/storybookjs/react-storybook/pull/173) ## v1.22.1 06-May-2016 -- Add a potential fix for [#167](https://github.com/storybooks/react-storybook/issues/167) +- Add a potential fix for [#167](https://github.com/storybookjs/react-storybook/issues/167) - basically, this moved back babel-packages required by webpack. ## v1.22.0 @@ -7512,95 +7976,95 @@ This is the starting of the next major version of Storybook. This version is alm 06-May-2016 -- Add configType argument to custom config function. See: [PR169](https://github.com/storybooks/react-storybook/pull/169) -- Add the unicode version of the Keyboard Shortcut Icon. See: [PR170](https://github.com/storybooks/react-storybook/pull/170) +- Add configType argument to custom config function. See: [PR169](https://github.com/storybookjs/react-storybook/pull/169) +- Add the unicode version of the Keyboard Shortcut Icon. See: [PR170](https://github.com/storybookjs/react-storybook/pull/170) ## v1.20.0 05-May-2016 -- Allow to configure webpack as the user wants. See [PR160](https://github.com/storybooks/react-storybook/pull/160) -- Add typescript typings support for the core API. See [PR157](https://github.com/storybooks/react-storybook/pull/157) -- Implement Mantra architecture and some new features including permalinks, full screen support. See: [PR165](https://github.com/storybooks/react-storybook/pull/165) -- Remove some typo in docs. See: [PR154](https://github.com/storybooks/react-storybook/pull/154) -- Move UI testing libraries to devDependencies. See: [PR153](https://github.com/storybooks/react-storybook/pull/153) +- Allow to configure webpack as the user wants. See [PR160](https://github.com/storybookjs/react-storybook/pull/160) +- Add typescript typings support for the core API. See [PR157](https://github.com/storybookjs/react-storybook/pull/157) +- Implement Mantra architecture and some new features including permalinks, full screen support. See: [PR165](https://github.com/storybookjs/react-storybook/pull/165) +- Remove some typo in docs. See: [PR154](https://github.com/storybookjs/react-storybook/pull/154) +- Move UI testing libraries to devDependencies. See: [PR153](https://github.com/storybookjs/react-storybook/pull/153) ## v1.19.0 27-April-2016 -- Add airbnb-js-shims to client-side JS. See: [PR147](https://github.com/storybooks/react-storybook/pull/147) -- Remove self-closing div tag, which is invalid HTML. See: [PR148](https://github.com/storybooks/react-storybook/pull/148) -- Search for a .babelrc in the storybook config directory first, then the project root. See: [PR149](https://github.com/storybooks/react-storybook/pull/149) +- Add airbnb-js-shims to client-side JS. See: [PR147](https://github.com/storybookjs/react-storybook/pull/147) +- Remove self-closing div tag, which is invalid HTML. See: [PR148](https://github.com/storybookjs/react-storybook/pull/148) +- Search for a .babelrc in the storybook config directory first, then the project root. See: [PR149](https://github.com/storybookjs/react-storybook/pull/149) ## v1.18.0 26-April-2016 -- Link Storybook menu to the repo. See: [PR137](https://github.com/storybooks/react-storybook/pull/137) -- Implement keyboard shortcuts and fuzzy search. See: [PR141](https://github.com/storybooks/react-storybook/pull/141) +- Link Storybook menu to the repo. See: [PR137](https://github.com/storybookjs/react-storybook/pull/137) +- Implement keyboard shortcuts and fuzzy search. See: [PR141](https://github.com/storybookjs/react-storybook/pull/141) ## v1.17.2 25-April-2016 -- Fix an error which only occurs on Firefox. See: [PR144](https://github.com/storybooks/react-storybook/pull/144) +- Fix an error which only occurs on Firefox. See: [PR144](https://github.com/storybookjs/react-storybook/pull/144) ## v1.17.1 21-April-2016 -- Fix a regression introduce by `v1.17.0`. See: [PR133](https://github.com/storybooks/react-storybook/pull/133) +- Fix a regression introduce by `v1.17.0`. See: [PR133](https://github.com/storybookjs/react-storybook/pull/133) ## v1.17.0 21-April-2016 -- Check all the arguments passed to action for events. See: [PR132](https://github.com/storybooks/react-storybook/pull/132) +- Check all the arguments passed to action for events. See: [PR132](https://github.com/storybookjs/react-storybook/pull/132) ## v1.16.1 21-April-2016 -- Fix action logs highlighting issue, which comes as a regression of [PR126](https://github.com/storybooks/react-storybook/pull/126). +- Fix action logs highlighting issue, which comes as a regression of [PR126](https://github.com/storybookjs/react-storybook/pull/126). ## v1.16.0 20-April-2016 - Prevent re-rendering the preview iframe when there is an action. - - Related issue: [#116](https://github.com/storybooks/react-storybook/issues/116) - - Related PR: [PR126](https://github.com/storybooks/react-storybook/pull/126) + - Related issue: [#116](https://github.com/storybookjs/react-storybook/issues/116) + - Related PR: [PR126](https://github.com/storybookjs/react-storybook/pull/126) ## v1.15.0 20-April-2016 -- Improve action logger UI and increase max log count to 10. See [PR123](https://github.com/storybooks/react-storybook/pull/123) +- Improve action logger UI and increase max log count to 10. See [PR123](https://github.com/storybookjs/react-storybook/pull/123) ## v1.14.0 19-April-2016 -- Add syntax highlights to the logger. See: [PR118](https://github.com/storybooks/react-storybook/pull/118) +- Add syntax highlights to the logger. See: [PR118](https://github.com/storybookjs/react-storybook/pull/118) ## v1.13.0 -- Add some UI test cases. See [PR103](https://github.com/storybooks/react-storybook/pull/103) -- Implement `.addDecorator()` API. See [PR115](https://github.com/storybooks/react-storybook/pull/115) -- Add code folding support. See [PR111](https://github.com/storybooks/react-storybook/pull/111) +- Add some UI test cases. See [PR103](https://github.com/storybookjs/react-storybook/pull/103) +- Implement `.addDecorator()` API. See [PR115](https://github.com/storybookjs/react-storybook/pull/115) +- Add code folding support. See [PR111](https://github.com/storybookjs/react-storybook/pull/111) ## v1.12.0 14-April-2016 -- Add support for webpack module preLoaders. See: [PR107](https://github.com/storybooks/react-storybook/pull/107) +- Add support for webpack module preLoaders. See: [PR107](https://github.com/storybookjs/react-storybook/pull/107) ## v1.11.0 13-April-2016 -- Add support for React DevTools. See: [PR104](https://github.com/storybooks/react-storybook/pull/104) +- Add support for React DevTools. See: [PR104](https://github.com/storybookjs/react-storybook/pull/104) ## v1.10.2 @@ -7614,32 +8078,32 @@ Fix various issues related to static bundling. ## v1.10.1 -- Don't serve index.html in static directory as a site index. See [PR100](https://github.com/storybooks/react-storybook/pull/100) -- Use cjson for parsing .babelrc files (support comments). See [PR98](https://github.com/storybooks/react-storybook/pull/98) -- Remove the dist directory before running babel to avoid older code. See [PR101](https://github.com/storybooks/react-storybook/pull/101) +- Don't serve index.html in static directory as a site index. See [PR100](https://github.com/storybookjs/react-storybook/pull/100) +- Use cjson for parsing .babelrc files (support comments). See [PR98](https://github.com/storybookjs/react-storybook/pull/98) +- Remove the dist directory before running babel to avoid older code. See [PR101](https://github.com/storybookjs/react-storybook/pull/101) ## v1.10.0 -- Add custom head support inside the iframe. See [PR77](https://github.com/storybooks/react-storybook/pull/77) -- Unmount components before rendering into DOM node. Fix: [#81](https://github.com/storybooks/react-storybook/issues/81) -- Add a static file builder. See [PR88](https://github.com/storybooks/react-storybook/pull/88) -- Fix search box's lineHeight to work with all the browsers. See: [PR94](https://github.com/storybooks/react-storybook/pull/94) -- Add the search box. See: [PR91](https://github.com/storybooks/react-storybook/pull/91). +- Add custom head support inside the iframe. See [PR77](https://github.com/storybookjs/react-storybook/pull/77) +- Unmount components before rendering into DOM node. Fix: [#81](https://github.com/storybookjs/react-storybook/issues/81) +- Add a static file builder. See [PR88](https://github.com/storybookjs/react-storybook/pull/88) +- Fix search box's lineHeight to work with all the browsers. See: [PR94](https://github.com/storybookjs/react-storybook/pull/94) +- Add the search box. See: [PR91](https://github.com/storybookjs/react-storybook/pull/91). ## v1.9.0 Add some minor improvements. -- Avoid deprecated warning in Chrome Canary. See: [PR85](https://github.com/storybooks/react-storybook/pull/85) -- Fix the React Warning about CSS property. See: [PR84](https://github.com/storybooks/react-storybook/pull/84) -- Transition on latest logged action. See: [PR80](https://github.com/storybooks/react-storybook/pull/80) +- Avoid deprecated warning in Chrome Canary. See: [PR85](https://github.com/storybookjs/react-storybook/pull/85) +- Fix the React Warning about CSS property. See: [PR84](https://github.com/storybookjs/react-storybook/pull/84) +- Transition on latest logged action. See: [PR80](https://github.com/storybookjs/react-storybook/pull/80) ## v1.8.0 - Add story linking functionality. - - [Documentation](https://github.com/storybooks/react-storybook/blob/master/docs/api.md#linking-stories). - - Original feature request: [#50](https://github.com/storybooks/react-storybook/issues/50) - - Implementation: [PR86](https://github.com/storybooks/react-storybook/pull/86) + - [Documentation](https://github.com/storybookjs/react-storybook/blob/master/docs/api.md#linking-stories). + - Original feature request: [#50](https://github.com/storybookjs/react-storybook/issues/50) + - Implementation: [PR86](https://github.com/storybookjs/react-storybook/pull/86) ## v1.7.0 @@ -7647,30 +8111,30 @@ Add some minor improvements. ## v1.6.0 -- Make scrollable layout. See: [PR](https://github.com/storybooks/react-storybook/pull/70) +- Make scrollable layout. See: [PR](https://github.com/storybookjs/react-storybook/pull/70) - Add npm3 requirement to the `package.json`. - Add `react` and `react-dom` to devDependencies. ## v1.5.0 -- Add support for most of the custom webpack configuration. See [PR64](https://github.com/storybooks/react-storybook/pull/64) +- Add support for most of the custom webpack configuration. See [PR64](https://github.com/storybookjs/react-storybook/pull/64) ## v1.4.0 -- Add CLI option to specify the config dir. See [PR52](https://github.com/storybooks/react-storybook/pull/52). +- Add CLI option to specify the config dir. See [PR52](https://github.com/storybookjs/react-storybook/pull/52). ## v1.3.0 -- Load the `.babelrc` manually. Fixed: [#41](https://github.com/storybooks/react-storybook/issues/41) -- Add a better contributing guide. See [CONTRIBUTING.md](https://github.com/storybooks/react-storybook/blob/master/CONTRIBUTING.md) +- Load the `.babelrc` manually. Fixed: [#41](https://github.com/storybookjs/react-storybook/issues/41) +- Add a better contributing guide. See [CONTRIBUTING.md](https://github.com/storybookjs/react-storybook/blob/master/CONTRIBUTING.md) - Add a development utility `npm run dev` which watches "src" directory and run `npm run prepublish`. ## v1.2.0 -- Add a button to clear logs in the ActionLogger. This is requested in [PR21](https://github.com/storybooks/react-storybook/issues/21). -- Remove navigation list order hijacking. See [commit](https://github.com/storybooks/react-storybook/commit/166365fd38f51f79e69e028a1c11e2620eddcb99). -- Fix a typo in .gitignore. See [PR31](https://github.com/storybooks/react-storybook/pull/31). -- Add support for JSX. See [PR18](https://github.com/storybooks/react-storybook/pull/18). +- Add a button to clear logs in the ActionLogger. This is requested in [PR21](https://github.com/storybookjs/react-storybook/issues/21). +- Remove navigation list order hijacking. See [commit](https://github.com/storybookjs/react-storybook/commit/166365fd38f51f79e69e028a1c11e2620eddcb99). +- Fix a typo in .gitignore. See [PR31](https://github.com/storybookjs/react-storybook/pull/31). +- Add support for JSX. See [PR18](https://github.com/storybookjs/react-storybook/pull/18). ## v1.1.0 diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index cfc1b23f81fc..988567141411 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -34,7 +34,15 @@ This Code of Conduct applies both within project spaces and in public spaces whe ## Enforcement -Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at ndelangen@me.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. +Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting one of the Steering committee members: + +Norbert de Langen ~ @ndelangen - `ndelangen@me.com` +Igor Davydkin ~ @igordv - `davydkin.igor@gmail.com` +Tom Coleman ~ @tmeasday - `tom@thesnail.org` +Michael Shilman ~ @shilman - `michael@lab80.co` +Philip Riabchun ~ @hypnosphi - `talpa@yandex.ru` + +The steering committee will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 817106f3b2c1..4e14964693df 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,7 +10,7 @@ This repo uses yarn workspaces, so you should install `yarn@1.3.2` or higher as No software is bug-free. So, if you got an issue, follow these steps: -- Search the [issue list](https://github.com/storybooks/storybook/issues?utf8=%E2%9C%93&q=) for current and old issues. +- Search the [issue list](https://github.com/storybookjs/storybook/issues?utf8=%E2%9C%93&q=) for current and old issues. - If you find an existing issue, please UPVOTE the issue by adding a "thumbs-up reaction". We use this to help prioritize issues! - If none of that is helping, create an issue with the following information: - Clear title (shorter is better). @@ -25,9 +25,8 @@ To test your project against the current latest version of storybook, you can cl #### 1. Download the latest version of this project, and build it: ```sh -git clone https://github.com/storybooks/storybook.git +git clone https://github.com/storybookjs/storybook.git cd storybook -yarn install yarn bootstrap ``` @@ -137,9 +136,8 @@ A good way to do that is using the example `cra-kitchen-sink` app embedded in th ```sh # Download and build this repository: -git clone https://github.com/storybooks/storybook.git +git clone https://github.com/storybookjs/storybook.git cd storybook -yarn install yarn bootstrap --core # make changes to try and reproduce the problem, such as adding components + stories @@ -156,7 +154,7 @@ git remote add https://github.com//storybook.git git push -u master ``` -If you follow that process, you can then link to the GitHub repository in the issue. See for an example. +If you follow that process, you can then link to the GitHub repository in the issue. See for an example. **NOTE**: If your issue involves a webpack config, create-react-app will prevent you from modifying the _app's_ webpack config, however, you can still modify storybook's to mirror your app's version of the storybook. Alternatively, use `yarn eject` in the CRA app to get a modifiable webpack config. @@ -207,7 +205,7 @@ Before you submit a new PR, make sure you run `yarn test`. Do not submit a PR if ### Reviewing PRs -**As a PR submitter**, you should reference the issue if there is one, include a short description of what you contributed and, if it is a code change, instructions for how to manually test out the change. This is informally enforced by our [PR template](https://github.com/storybooks/storybook/blob/master/.github/PULL_REQUEST_TEMPLATE.md). If your PR is reviewed as only needing trivial changes (e.g. small typos etc), and you have commit access, then you can merge the PR after making those changes. +**As a PR submitter**, you should reference the issue if there is one, include a short description of what you contributed and, if it is a code change, instructions for how to manually test out the change. This is informally enforced by our [PR template](https://github.com/storybookjs/storybook/blob/master/.github/PULL_REQUEST_TEMPLATE.md). If your PR is reviewed as only needing trivial changes (e.g. small typos etc), and you have commit access, then you can merge the PR after making those changes. **As a PR reviewer**, you should read through the changes and comment on any potential problems. If you see something cool, a kind word never hurts either! Additionally, you should follow the testing instructions and manually test the changes. If the instructions are missing, unclear, or overly complex, feel free to request better instructions from the submitter. Unless the PR is tagged with the `do not merge` label, if you approve the review and there is no other required discussion or changes, you should also go ahead and merge the PR. @@ -217,7 +215,7 @@ If you are looking for a way to help the project, triaging issues is a great pla ### Responding to issues -Issues that are tagged `question / support` or `needs reproduction` are great places to help. If you can answer a question, it will help the asker as well as anyone searching. If an issue needs reproduction, you may be able to guide the reporter toward one, or even reproduce it yourself using [this technique](https://github.com/storybooks/storybook/blob/master/CONTRIBUTING.md#reproductions). +Issues that are tagged `question / support` or `needs reproduction` are great places to help. If you can answer a question, it will help the asker as well as anyone searching. If an issue needs reproduction, you may be able to guide the reporter toward one, or even reproduce it yourself using [this technique](https://github.com/storybookjs/storybook/blob/master/CONTRIBUTING.md#reproductions). ### Triaging issues @@ -233,7 +231,7 @@ All issues should have a `type` label. `bug`/`feature`/`question`/`discussion` a They should also have one or more `area`/`status` labels. We use these labels to filter issues down so we can easily see all of the issues for a particular area, and keep the total number of open issues under control. -For example, here is the list of [open, untyped issues](https://github.com/storybooks/storybook/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aopen%20-label%3A%22bug%22%20-label%3A%22discussion%22%20-label%3A%22feature%22%20-label%3A%22maintenance%22%20-label%3A%22question%20%2F%20support%22%20-label%3A%22documentation%22%20-label%3A%22greenkeeper%22), or here is a list of [bugs that have not been modified since 2017-04-01](https://github.com/storybooks/storybook/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aopen%20label%3A%22bug%22%20updated%3A%3C%3D2017-04-01%20). For more info see [searching issues](https://help.github.com/articles/searching-issues/) in the Github docs. +For example, here is the list of [open, untyped issues](https://github.com/storybookjs/storybook/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aopen%20-label%3A%22bug%22%20-label%3A%22discussion%22%20-label%3A%22feature%22%20-label%3A%22maintenance%22%20-label%3A%22question%20%2F%20support%22%20-label%3A%22documentation%22%20-label%3A%22greenkeeper%22), or here is a list of [bugs that have not been modified since 2017-04-01](https://github.com/storybookjs/storybook/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aopen%20label%3A%22bug%22%20updated%3A%3C%3D2017-04-01%20). For more info see [searching issues](https://help.github.com/articles/searching-issues/) in the Github docs. If an issue is a `bug`, and it doesn't have a clear reproduction that you have personally confirmed, label it `needs reproduction` and ask the author to try and create a reproduction, or have a go yourself. @@ -251,8 +249,6 @@ If an issue is a `bug`, and it doesn't have a clear reproduction that you have p ## Development Guide -> If you want to work on a UI feature, refer to the [Storybook UI](https://github.com/storybooks/storybook/tree/master/lib/ui) page. - ### Prerequisites Please have the **_latest_** stable versions of the following on your machine @@ -265,7 +261,7 @@ Please have the **_latest_** stable versions of the following on your machine If you run into trouble here, make sure your node, npm, and **_yarn_** are on the latest versions (yarn at least v1.3.2). 1. `cd ~` (optional) -2. `git clone https://github.com/storybooks/storybook.git` _bonus_: use your own fork for this step +2. `git clone https://github.com/storybookjs/storybook.git` _bonus_: use your own fork for this step 3. `cd storybook` 4. `yarn` 5. `yarn bootstrap --core` @@ -287,9 +283,9 @@ Within the `examples` folder of the Storybook repo, you will find kitchen sink e Not only do these show many of the options and add-ons available, they are also automatically linked to all the development packages. We highly encourage you to use these to develop/test contributions on. #### React and Vue - -1. `yarn storybook` -2. Verify that your local version works +1. `cd examples/official-storybook` +2. `yarn storybook` +3. Verify that your local version works ### Working with your own app @@ -342,7 +338,7 @@ If you don't see the changes rerun `yarn storybook` again in your sandbox app This section is for Storybook maintainers who will be creating releases. It assumes: - yarn >= 1.3.2 -- you've yarn linked `pr-log` from +- you've yarn linked `pr-log` from The current manual release sequence is as follows: @@ -384,7 +380,7 @@ yarn bootstrap --reset --core yarn run publish:next # update the release page -open https://github.com/storybooks/storybook/releases +open https://github.com/storybookjs/storybook/releases ``` #### Full release: @@ -408,5 +404,5 @@ yarn bootstrap --reset --core yarn run publish:latest # update the release page -open https://github.com/storybooks/storybook/releases +open https://github.com/storybookjs/storybook/releases ``` diff --git a/HISTORY.md b/HISTORY.md index 2aa2f50d0984..29e854894381 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,6 +1,6 @@ ## v.Next -- Deprecated `{ linkTo, action }` as built-in addons: . From 3.0 use them as you would [any other addon](https://storybook.js.org/addons/using-addons/). +- Deprecated `{ linkTo, action }` as built-in addons: . From 3.0 use them as you would [any other addon](https://storybook.js.org/addons/using-addons/). Before: diff --git a/MIGRATION.md b/MIGRATION.md index ce4fa40e286d..593bc601f8ee 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -1,7 +1,11 @@ # Migration +- [From version 5.1.x to 5.2.x](#from-version-51x-to-52x) + - [Docs mode docgen](#docs-mode-docgen) - [From version 5.0.x to 5.1.x](#from-version-50x-to-51x) - [React native server](#react-native-server) + - [Angular 7](#angular-7) + - [CoreJS 3](#corejs-3) - [From version 5.0.1 to 5.0.2](#from-version-501-to-502) - [Deprecate webpack extend mode](#deprecate-webpack-extend-mode) - [From version 4.1.x to 5.0.x](#from-version-41x-to-50x) @@ -16,6 +20,7 @@ - [Addon a11y uses parameters](#addon-a11y-uses-parameters-decorator-renamed) - [New keyboard shortcuts defaults](#new-keyboard-shortcuts-defaults) - [New URL structure](#new-url-structure) + - [Vue integration](#vue-integration) - [From version 4.0.x to 4.1.x](#from-version-40x-to-41x) - [Private addon config](#private-addon-config) - [React 15.x](#react-15x) @@ -53,6 +58,15 @@ - [Packages renaming](#packages-renaming) - [Deprecated embedded addons](#deprecated-embedded-addons) +## From version 5.1.x to 5.2.x + +### Docs mode docgen + +This isn't a breaking change per se, because `addon-docs` is a new feature. However it's intended to replace `addon-info`, so if you're migrating from `addon-info` there are a few things you should know: + +1. Support for only one prop table +2. Prop table docgen info should be stored on the component and not in the global variable `STORYBOOK_REACT_CLASSES` as before. + ## From version 5.0.x to 5.1.x ### React native server @@ -76,6 +90,41 @@ If you wish to run the optional web server, you will need to do the following mi And with that you should be good to go! +### Angular 7 + +Storybook 5.1 relies on `core-js@^3.0.0` and therefore causes a conflict with Angular 7 that relies on `core-js@^2.0.0`. In order to get Storybook running on Angular 7 you can either update to Angular 8 (which dropped `core-js` as a dependency) or follow these steps: + +- Remove `node_modules/@storybook` +- `npm i core-js@^3.0.0` / `yarn add core-js@^3.0.0` +- Add the following paths to your `tsconfig.json` + +```json +{ + "compilerOptions": { + "paths": { + "core-js/es7/reflect": ["node_modules/core-js/proposals/reflect-metadata"], + "core-js/es6/*": ["node_modules/core-js/es"] + } + } +} +``` + +You should now be able to run Storybook and Angular 7 without any errors. + +Reference issue: [https://github.com/angular/angular-cli/issues/13954](https://github.com/angular/angular-cli/issues/13954) + +### CoreJS 3 + +Following the rest of the JS ecosystem, Storybook 5.1 upgrades [CoreJS](https://github.com/zloirock/core-js) 2 to 3, which is a breaking change. + +This upgrade is problematic because many apps/libraries still rely on CoreJS 2, and many users get corejs-related errors due to bad resolution. To address this, we're using [corejs-upgrade-webpack-plugin](https://github.com/ndelangen/corejs-upgrade-webpack-plugin), which attempts to automatically upgrade code to CoreJS 3. + +After a few iterations, this approach seems to be working. However, there are a few exceptions: + +- If your app uses `babel-polyfill`, try to remove it + +We'll update this section as we find more problem cases. If you have a `core-js` problem, please file an issue (preferably with a repro), and we'll do our best to get you sorted. + ## From version 5.0.1 to 5.0.2 ### Deprecate webpack extend mode @@ -107,17 +156,40 @@ module.exports = ({ config }) => ({ ...config.module, rules: [ /* your own rules "..." here and/or some subset of config.module.rules */ - ] - } -}) + ], + }, +}); ``` -Please refer to the [current custom webpack documentation](https://github.com/storybooks/storybook/blob/next/docs/src/pages/configurations/custom-webpack-config/index.md) for more information on custom webpack config and to [Issue #6081](https://github.com/storybooks/storybook/issues/6081) for more information about the change. +Please refer to the [current custom webpack documentation](https://github.com/storybookjs/storybook/blob/next/docs/src/pages/configurations/custom-webpack-config/index.md) for more information on custom webpack config and to [Issue #6081](https://github.com/storybookjs/storybook/issues/6081) for more information about the change. ## From version 4.1.x to 5.0.x Storybook 5.0 includes sweeping UI changes as well as changes to the addon API and custom webpack configuration. We've tried to keep backwards compatibility in most cases, but there are some notable exceptions documented below. +### sortStoriesByKind + +In Storybook 5.0 we changed a lot of UI related code, and 1 oversight caused the `sortStoriesByKind` options to stop working. +We're working on providing a better way of sorting stories for now the feature has been removed. Stories appear in the order they are loaded. + +If you're using webpack's `require.context` to load stories, you can sort the execution of requires: + +```js +var context = require.context('../stories', true, /\.stories\.js$/); +var modules = context.keys(); + +// sort them +var sortedModules = modules.slice().sort((a, b) => { + // sort the stories based on filename/path + return a < b ? -1 : a > b ? 1 : 0; +}); + +// execute them +sortedModules.forEach(key => { + context(key); +}); +``` + ## Webpack config simplification The API for custom webpack configuration has been simplifed in 5.0, but it's a breaking change. Storybook's "full control mode" for webpack allows you to override the webpack config with a function that returns a configuration object. @@ -130,11 +202,11 @@ module.exports = ({ config, mode }) => { config.module.rules.push(...); return c In contrast, the 4.x configuration function accepted either two or three arguments (`(baseConfig, mode)`, or `(baseConfig, mode, defaultConfig)`). The `config` object in the 5.x signature is equivalent to 4.x's `defaultConfig`. -Please see the [current custom webpack documentation](https://github.com/storybooks/storybook/blob/next/docs/src/pages/configurations/custom-webpack-config/index.md) for more information on custom webpack config. +Please see the [current custom webpack documentation](https://github.com/storybookjs/storybook/blob/next/docs/src/pages/configurations/custom-webpack-config/index.md) for more information on custom webpack config. ## Theming overhaul -Theming has been rewritten in v5. If you used theming in v4, please consult the [theming docs](https://github.com/storybooks/storybook/blob/next/docs/src/pages/configurations/theming/index.md) to learn about the new API. +Theming has been rewritten in v5. If you used theming in v4, please consult the [theming docs](https://github.com/storybookjs/storybook/blob/next/docs/src/pages/configurations/theming/index.md) to learn about the new API. ## Story hierarchy defaults @@ -216,11 +288,11 @@ Here is the mapping from old options to new: Storybook v5 removes the search dialog box in favor of a quick search in the navigation view, so `showSearchBox` has been removed. -Storybook v5 introduce a new tool bar above the story view and you can show\hide it with the new `isToolshown` option. +Storybook v5 introduce a new tool bar above the story view and you can show\hide it with the new `isToolshown` option. ## Individual story decorators -The behavior of adding decorators to a kind has changed in SB5 ([#5781](https://github.com/storybooks/storybook/issues/5781)). +The behavior of adding decorators to a kind has changed in SB5 ([#5781](https://github.com/storybookjs/storybook/issues/5781)). In SB4 it was possible to add decorators to only a subset of the stories of a kind. @@ -320,7 +392,7 @@ addParameters({ viewport: options }); The `withViewport` decorator is also no longer supported and should be replaced with a parameter based API as above. Also the `onViewportChange` callback is no longer supported. -See the [viewport addon README](https://github.com/storybooks/storybook/blob/master/addons/viewport/README.md) for more information. +See the [viewport addon README](https://github.com/storybookjs/storybook/blob/master/addons/viewport/README.md) for more information. ## Addon a11y uses parameters, decorator renamed @@ -344,7 +416,7 @@ You can also pass `a11y` parameters at the component level (via `storiesOf(...). Furthermore, the decorator `checkA11y` has been deprecated and renamed to `withA11y` to make it consistent with other Storybook decorators. -See the [a11y addon README](https://github.com/storybooks/storybook/blob/master/addons/a11y/README.md) for more information. +See the [a11y addon README](https://github.com/storybookjs/storybook/blob/master/addons/a11y/README.md) for more information. ## New keyboard shortcuts defaults @@ -395,13 +467,19 @@ You have to replace it with: start-storybook --https ``` +## Vue integration + +The Vue integration was updated, so that every story returned from a story or decorator function is now being normalized with `Vue.extend` **and** is being wrapped by a functional component. Returning a string from a story or decorator function is still supported and is treated as a component with the returned string as the template. + +Currently there is no recommended way of accessing the component options of a story inside a decorator. + ## From version 4.0.x to 4.1.x There are are a few migrations you should be aware of in 4.1, including one unintentionally breaking change for advanced addon usage. ## Private addon config -If your Storybook contains custom addons defined that are defined in your app (as opposed to installed from packages) and those addons rely on reconfiguring webpack/babel, Storybook 4.1 may break for you. There's a workaround [described in the issue](https://github.com/storybooks/storybook/issues/4995), and we're working on official support in the next release. +If your Storybook contains custom addons defined that are defined in your app (as opposed to installed from packages) and those addons rely on reconfiguring webpack/babel, Storybook 4.1 may break for you. There's a workaround [described in the issue](https://github.com/storybookjs/storybook/issues/4995), and we're working on official support in the next release. ## React 15.x @@ -441,7 +519,7 @@ at Object../node_modules/@storybook/components/dist/navigation/MenuLink.js (Menu ### Generic addons -4.x introduces generic addon decorators that are not tied to specific view layers [#3555](https://github.com/storybooks/storybook/pull/3555). So for example: +4.x introduces generic addon decorators that are not tied to specific view layers [#3555](https://github.com/storybookjs/storybook/pull/3555). So for example: ```js import { number } from '@storybook/addon-knobs/react'; @@ -455,7 +533,7 @@ import { number } from '@storybook/addon-knobs'; ### Knobs select ordering -4.0 also reversed the order of addon-knob's `select` knob keys/values, which had been called `selectV2` prior to this breaking change. See the knobs [package README](https://github.com/storybooks/storybook/blob/master/addons/knobs/README.md#select) for usage. +4.0 also reversed the order of addon-knob's `select` knob keys/values, which had been called `selectV2` prior to this breaking change. See the knobs [package README](https://github.com/storybookjs/storybook/blob/master/addons/knobs/README.md#select) for usage. ### Knobs URL parameters @@ -472,7 +550,7 @@ In 3.x, editing knobs updated the URL parameters interactively. The implementati ### Removed addWithInfo -`Addon-info`'s `addWithInfo` has been marked deprecated since 3.2. In 4.0 we've removed it completely. See the package [README](https://github.com/storybooks/storybook/blob/master/addons/info/README.md) for the proper usage. +`Addon-info`'s `addWithInfo` has been marked deprecated since 3.2. In 4.0 we've removed it completely. See the package [README](https://github.com/storybookjs/storybook/blob/master/addons/info/README.md) for the proper usage. ### Removed RN packager @@ -490,14 +568,14 @@ The `@storybook/react-native` had built-in addons (`addon-actions` and `addon-li 1. `imageSnapshot` test function was extracted from `addon-storyshots` and moved to a new package - `addon-storyshots-puppeteer` that now will - be dependant on puppeteer. [README](https://github.com/storybooks/storybook/tree/master/addons/storyshots/storyshots-puppeteer) + be dependant on puppeteer. [README](https://github.com/storybookjs/storybook/tree/master/addons/storyshots/storyshots-puppeteer) 2. `getSnapshotFileName` export was replaced with the `Stories2SnapsConverter` class that now can be overridden for a custom implementation of the - snapshot-name generation. [README](https://github.com/storybooks/storybook/tree/master/addons/storyshots/storyshots-core#stories2snapsconverter) + snapshot-name generation. [README](https://github.com/storybookjs/storybook/tree/master/addons/storyshots/storyshots-core#stories2snapsconverter) 3. Storybook that was configured with Webpack's `require.context()` feature will need to add a babel plugin to polyfill this functionality. A possible plugin might be [babel-plugin-require-context-hook](https://github.com/smrq/babel-plugin-require-context-hook). - [README](https://github.com/storybooks/storybook/tree/master/addons/storyshots/storyshots-core#configure-jest-to-work-with-webpacks-requirecontext) + [README](https://github.com/storybookjs/storybook/tree/master/addons/storyshots/storyshots-core#configure-jest-to-work-with-webpacks-requirecontext) ### Webpack 4 @@ -583,12 +661,12 @@ This example applies notes globally to all stories. You can apply it locally wit The story parameters correspond directly to the old withX arguments, so it's easy to migrate your code. See the parameters documentation for the packages that have been upgraded: -- [Notes](https://github.com/storybooks/storybook/blob/master/addons/notes/README.md) -- [Jest](https://github.com/storybooks/storybook/blob/master/addons/jest/README.md) -- [Knobs](https://github.com/storybooks/storybook/blob/master/addons/knobs/README.md) -- [Viewport](https://github.com/storybooks/storybook/blob/master/addons/viewport/README.md) -- [Backgrounds](https://github.com/storybooks/storybook/blob/master/addons/backgrounds/README.md) -- [Options](https://github.com/storybooks/storybook/blob/master/addons/options/README.md) +- [Notes](https://github.com/storybookjs/storybook/blob/master/addons/notes/README.md) +- [Jest](https://github.com/storybookjs/storybook/blob/master/addons/jest/README.md) +- [Knobs](https://github.com/storybookjs/storybook/blob/master/addons/knobs/README.md) +- [Viewport](https://github.com/storybookjs/storybook/blob/master/addons/viewport/README.md) +- [Backgrounds](https://github.com/storybookjs/storybook/blob/master/addons/backgrounds/README.md) +- [Options](https://github.com/storybookjs/storybook/blob/master/addons/options/README.md) ## From version 3.3.x to 3.4.x @@ -596,10 +674,10 @@ There are no expected breaking changes in the 3.4.x release, but 3.4 contains a ## From version 3.2.x to 3.3.x -It wasn't expected that there would be any breaking changes in this release, but unfortunately it turned out that there are some. We're revisiting our [release strategy](https://github.com/storybooks/storybook/blob/master/RELEASES.md) to follow semver more strictly. +It wasn't expected that there would be any breaking changes in this release, but unfortunately it turned out that there are some. We're revisiting our [release strategy](https://github.com/storybookjs/storybook/blob/master/RELEASES.md) to follow semver more strictly. Also read on if you're using `addon-knobs`: we advise an update to your code for efficiency's sake. -### `babel-core` is now a peer dependency ([#2494](https://github.com/storybooks/storybook/pull/2494)) +### `babel-core` is now a peer dependency ([#2494](https://github.com/storybookjs/storybook/pull/2494)) This affects you if you don't use babel in your project. You may need to add `babel-core` as dev dependency: @@ -609,13 +687,13 @@ yarn add babel-core --dev This was done to support different major versions of babel. -### Base webpack config now contains vital plugins ([#1775](https://github.com/storybooks/storybook/pull/1775)) +### Base webpack config now contains vital plugins ([#1775](https://github.com/storybookjs/storybook/pull/1775)) -This affects you if you use custom webpack config in [Full Control Mode](https://storybook.js.org/configurations/custom-webpack-config/#full-control-mode) while not preserving the plugins from `storybookBaseConfig`. Before `3.3`, preserving them was just a recommendation, but now it [became](https://github.com/storybooks/storybook/pull/2578) a requirement. +This affects you if you use custom webpack config in [Full Control Mode](https://storybook.js.org/configurations/custom-webpack-config/#full-control-mode) while not preserving the plugins from `storybookBaseConfig`. Before `3.3`, preserving them was just a recommendation, but now it [became](https://github.com/storybookjs/storybook/pull/2578) a requirement. ### Refactored Knobs -Knobs users: there was a bug in 3.2.x where using the knobs addon imported all framework runtimes (e.g. React and Vue). To fix the problem, we [refactored knobs](https://github.com/storybooks/storybook/pull/1832). Switching to the new style is easy: +Knobs users: there was a bug in 3.2.x where using the knobs addon imported all framework runtimes (e.g. React and Vue). To fix the problem, we [refactored knobs](https://github.com/storybookjs/storybook/pull/1832). Switching to the new style is easy: In the case of React or React-Native, import knobs like this: diff --git a/README.md b/README.md index 4c3a1db3153a..e04eb43cf783 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,12 @@ # Storybook

    - Build Status on TeamCity - Build Status on CircleCI - CodeFactor - Known Vulnerabilities - BCH compliance - codecov - License

    + Build Status on CircleCI + CodeFactor + Known Vulnerabilities + BCH compliance + codecov + License

    @@ -85,18 +84,18 @@ For additional help, join us [in our Discord](https://discord.gg/sMFvFsG) or [Sl | Framework | Demo | | | -------------------------------- | ------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| [React](app/react) | [v5.0.0](https://storybooks-official.netlify.com) | [![React](https://img.shields.io/npm/dm/@storybook/react.svg)](app/react) | +| [React](app/react) | [v5.1.0](https://storybooks-official.netlify.com) | [![React](https://img.shields.io/npm/dm/@storybook/react.svg)](app/react) | | [React Native](app/react-native) | - | [![React Native](https://img.shields.io/npm/dm/@storybook/react-native.svg)](app/react-native) | -| [Vue](app/vue) | [v5.0.0](https://storybooks-vue.netlify.com/) | [![Vue](https://img.shields.io/npm/dm/@storybook/vue.svg)](app/vue) | -| [Angular](app/angular) | [v5.0.0](https://storybooks-angular.netlify.com/) | [![Angular](https://img.shields.io/npm/dm/@storybook/angular.svg)](app/angular) | -| [Polymer](app/polymer) | [v5.0.0](https://storybooks-polymer.netlify.com/) | [![Polymer](https://img.shields.io/npm/dm/@storybook/polymer.svg)](app/polymer) | -| [Mithril](app/mithril) | [v5.0.0](https://storybooks-mithril.netlify.com/) | [![Mithril](https://img.shields.io/npm/dm/@storybook/mithril.svg)](app/mithril) | -| [Marko](app/marko) | [v5.0.0](https://storybooks-marko.netlify.com/) | [![Marko](https://img.shields.io/npm/dm/@storybook/marko.svg)](app/marko) | -| [HTML](app/html) | [v5.0.0](https://storybooks-html.netlify.com/) | [![HTML](https://img.shields.io/npm/dm/@storybook/html.svg)](app/html) | -| [Svelte](app/svelte) | [v5.0.0](https://storybooks-svelte.netlify.com/) | [![Svelte](https://img.shields.io/npm/dm/@storybook/svelte.svg)](app/svelte) | -| [Riot](app/riot) | [v5.0.0](https://storybooks-riot.netlify.com/) | [![Riot](https://img.shields.io/npm/dm/@storybook/riot.svg)](app/riot) | -| [Ember](app/ember) | [v5.0.0](https://storybooks-ember.netlify.com/) | [![Ember](https://img.shields.io/npm/dm/@storybook/ember.svg)](app/ember) | -| [Preact](app/preact) | [v5.0.0](https://storybooks-preact.netlify.com/) | [![Preact](https://img.shields.io/npm/dm/@storybook/preact.svg)](app/preact) | +| [Vue](app/vue) | [v5.1.0](https://storybooks-vue.netlify.com/) | [![Vue](https://img.shields.io/npm/dm/@storybook/vue.svg)](app/vue) | +| [Angular](app/angular) | [v5.1.0](https://storybooks-angular.netlify.com/) | [![Angular](https://img.shields.io/npm/dm/@storybook/angular.svg)](app/angular) | +| [Polymer](app/polymer) | [v5.1.0](https://storybooks-polymer.netlify.com/) | [![Polymer](https://img.shields.io/npm/dm/@storybook/polymer.svg)](app/polymer) | +| [Mithril](app/mithril) | [v5.1.0](https://storybooks-mithril.netlify.com/) | [![Mithril](https://img.shields.io/npm/dm/@storybook/mithril.svg)](app/mithril) | +| [Marko](app/marko) | [v5.1.0](https://storybooks-marko.netlify.com/) | [![Marko](https://img.shields.io/npm/dm/@storybook/marko.svg)](app/marko) | +| [HTML](app/html) | [v5.1.0](https://storybooks-html.netlify.com/) | [![HTML](https://img.shields.io/npm/dm/@storybook/html.svg)](app/html) | +| [Svelte](app/svelte) | [v5.1.0](https://storybooks-svelte.netlify.com/) | [![Svelte](https://img.shields.io/npm/dm/@storybook/svelte.svg)](app/svelte) | +| [Riot](app/riot) | [v5.1.0](https://storybooks-riot.netlify.com/) | [![Riot](https://img.shields.io/npm/dm/@storybook/riot.svg)](app/riot) | +| [Ember](app/ember) | [v5.1.0](https://storybooks-ember.netlify.com/) | [![Ember](https://img.shields.io/npm/dm/@storybook/ember.svg)](app/ember) | +| [Preact](app/preact) | [v5.1.0](https://storybooks-preact.netlify.com/) | [![Preact](https://img.shields.io/npm/dm/@storybook/preact.svg)](app/preact) | ### Sub Projects @@ -113,6 +112,7 @@ For additional help, join us [in our Discord](https://discord.gg/sMFvFsG) or [Sl | [centered](addons/centered/) | Center the alignment of your components within the Storybook UI | | [contexts](addons/contexts/) | Interactively inject component contexts for stories in the Storybook UI | | [cssresources](addons/cssresources/) | Dynamically add/remove css resources to the component iframe | +| [design assets](addons/design-assets/) | View images, videos, weblinks alongside your story | | [events](addons/events/) | Interactively fire events to components that respond to EventEmitter | | [graphql](addons/graphql/) | Query a GraphQL server within Storybook stories | | [google-analytics](addons/google-analytics) | Reports google analytics on stories | @@ -132,13 +132,13 @@ See [Addon / Framework Support Table](ADDONS_SUPPORT.md) We have a badge! Link it to your live Storybook example. -![Storybook](https://cdn.jsdelivr.net/gh/storybooks/brand@master/badge/badge-storybook.svg) +![Storybook](https://cdn.jsdelivr.net/gh/storybookjs/brand@master/badge/badge-storybook.svg) ```md -[![Storybook](https://cdn.jsdelivr.net/gh/storybooks/brand@master/badge/badge-storybook.svg)](link to site) +[![Storybook](https://cdn.jsdelivr.net/gh/storybookjs/brand@master/badge/badge-storybook.svg)](link to site) ``` -If you're looking for material to use in your presentation about storybook, like logo's video material and the colors we use etc, you can find all of that at our [press repo](https://github.com/storybooks/press). +If you're looking for material to use in your presentation about storybook, like logo's video material and the colors we use etc, you can find all of that at our [press repo](https://github.com/storybookjs/press). ## Community @@ -158,11 +158,13 @@ We welcome contributions to Storybook! Looking for a first issue to tackle? -- We tag issues with [![Good First Issue](https://img.shields.io/github/issues/storybooks/storybook/good%20first%20issue.svg)](https://github.com/storybooks/storybook/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) when we think they are well suited for people who are new to the codebase or OSS in general. +- We tag issues with [![Good First Issue](https://img.shields.io/github/issues/storybookjs/storybook/good%20first%20issue.svg)](https://github.com/storybookjs/storybook/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) when we think they are well suited for people who are new to the codebase or OSS in general. - [Talk to us](https://discord.gg/sMFvFsG), we'll find something to suits your skills and learning interest. ### Development scripts + Storybook is organized as a monorepo using [Lerna](https://lernajs.io). Useful scripts include: + #### `yarn bootstrap` > Installs package dependencies and links packages together - using lerna @@ -259,6 +261,6 @@ Support us with a monthly donation and help us continue our activities. \[[Becom ## License -[MIT](https://github.com/storybooks/storybook/blob/master/LICENSE) +[MIT](https://github.com/storybookjs/storybook/blob/master/LICENSE) -the end- diff --git a/RELEASES.md b/RELEASES.md index 2493d3f9a368..6fe01cdd8979 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -81,7 +81,7 @@ there gathering upvotes and "me too" comments. We need a way to make sure that these bugs get addressed. For every non-PATCH release, we nominate a small number of bugs that must be -addressed before a release can go out by adding them to the milestone. For example, here's a list of blocking bugs [for the 3.2 milestone](https://github.com/storybooks/storybook/milestone/3). +addressed before a release can go out by adding them to the milestone. For example, here's a list of blocking bugs [for the 3.2 milestone](https://github.com/storybookjs/storybook/milestone/3). Adding bugs to the milestone helps people looking for good ways to contribute, or to understand what is blocking the release so they can actually do something @@ -91,7 +91,7 @@ channel [in our Slack](https://now-examples-slackin-rrirkqohko.now.sh/) [![Story If you're experiencing a bug, the best way to make sure that it gets attention is to upvote it by adding a "thumbs-up" reaction in Github. This way important bugs quickly bubble to the top [with a -search](https://github.com/storybooks/storybook/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aopen%20sort%3Areactions-%2B1-desc%20label%3Abug). +search](https://github.com/storybookjs/storybook/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aopen%20sort%3Areactions-%2B1-desc%20label%3Abug). And of course, the best way to make sure a bug gets addressed quickly is to fix it yourself and issue a PR. If the fix is good, we'll try to release it quickly @@ -101,8 +101,8 @@ in a patch release. - For PATCH changes, all discussion can occur in issue/PR comments (and random slack chat as needed). - For MINOR feature changes, there are multiple stages of discussion: - - The feature may be discussed in an issue before it is implemented (ex: ) - - Once it's implemented, the discussion may occur on the PR (ex: ) + - The feature may be discussed in an issue before it is implemented (ex: ) + - Once it's implemented, the discussion may occur on the PR (ex: ) - If people disagree on an implementation and it can't be resolved in discussion, they may issue alternative PR's with different ideas - Ultimately the maintainers will reach a consensus before merging the changes. There is no set process for this, but we're all adults. - Since MINOR features are released in alpha before they are fully released, new issues may be created by end users, etc. diff --git a/addons/a11y/README.md b/addons/a11y/README.md index 4b2a911e2fef..2628ace74654 100755 --- a/addons/a11y/README.md +++ b/addons/a11y/README.md @@ -2,9 +2,9 @@ This storybook addon can be helpful to make your UI components more accessible. -[Framework Support](https://github.com/storybooks/storybook/blob/master/ADDONS_SUPPORT.md) +[Framework Support](https://github.com/storybookjs/storybook/blob/master/ADDONS_SUPPORT.md) -![Screenshot](https://raw.githubusercontent.com/storybooks/storybook/HEAD/addons/a11y/docs/screenshot.png) +![Screenshot](https://raw.githubusercontent.com/storybookjs/storybook/HEAD/addons/a11y/docs/screenshot.png) ## Getting started diff --git a/addons/a11y/package.json b/addons/a11y/package.json index 89647f3a4975..7605352ad11c 100644 --- a/addons/a11y/package.json +++ b/addons/a11y/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-a11y", - "version": "5.1.0-alpha.39", + "version": "5.2.0-alpha.30", "description": "a11y addon for storybook", "keywords": [ "a11y", @@ -10,13 +10,13 @@ "valid", "verify" ], - "homepage": "https://github.com/storybooks/storybook#readme", + "homepage": "https://github.com/storybookjs/storybook#readme", "bugs": { - "url": "https://github.com/storybooks/storybook/issues" + "url": "https://github.com/storybookjs/storybook/issues" }, "repository": { "type": "git", - "url": "git+https://github.com/storybooks/storybook.git", + "url": "git+https://github.com/storybookjs/storybook.git", "directory": "addons/a11y" }, "license": "MIT", @@ -26,19 +26,19 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.39", - "@storybook/api": "5.1.0-alpha.39", - "@storybook/client-logger": "5.1.0-alpha.39", - "@storybook/components": "5.1.0-alpha.39", - "@storybook/core-events": "5.1.0-alpha.39", - "@storybook/theming": "5.1.0-alpha.39", + "@storybook/addons": "5.2.0-alpha.30", + "@storybook/api": "5.2.0-alpha.30", + "@storybook/client-logger": "5.2.0-alpha.30", + "@storybook/components": "5.2.0-alpha.30", + "@storybook/core-events": "5.2.0-alpha.30", + "@storybook/theming": "5.2.0-alpha.30", "axe-core": "^3.2.2", "common-tags": "^1.8.0", - "core-js": "^2.6.5", + "core-js": "^3.0.1", "global": "^4.3.2", "hoist-non-react-statics": "^3.3.0", "memoizerific": "^1.11.3", - "react": "^16.8.4", + "react": "^16.8.3", "react-redux": "^7.0.2", "react-sizeme": "^2.5.2", "redux": "^4.0.1", diff --git a/addons/a11y/src/components/A11YPanel.tsx b/addons/a11y/src/components/A11YPanel.tsx index f15b03872677..1c5ee4e8480e 100644 --- a/addons/a11y/src/components/A11YPanel.tsx +++ b/addons/a11y/src/components/A11YPanel.tsx @@ -48,7 +48,8 @@ const Incomplete = styled.span(({ theme }) => ({ const Loader = styled(({ className }) => (

    - Please wait while a11y scan is running ... + Please wait while the accessibility scan is running + ...
    ))({ display: 'flex', diff --git a/addons/a11y/src/components/Report/__snapshots__/HighlightToggle.test.js.snap b/addons/a11y/src/components/Report/__snapshots__/HighlightToggle.test.js.snap index b7fd858fa08c..55b405353d8b 100644 --- a/addons/a11y/src/components/Report/__snapshots__/HighlightToggle.test.js.snap +++ b/addons/a11y/src/components/Report/__snapshots__/HighlightToggle.test.js.snap @@ -21,6 +21,7 @@ exports[`HighlightToggle component should match snapshot 1`] = ` theme={ Object { "addonActionsTheme": Object { + "ARROW_ANIMATION_DURATION": "0", "ARROW_COLOR": "rgba(0,0,0,0.3)", "ARROW_FONT_SIZE": 8, "ARROW_MARGIN_RIGHT": 4, @@ -37,8 +38,10 @@ exports[`HighlightToggle component should match snapshot 1`] = ` "HTML_TAGNAME_TEXT_TRANSFORM": "lowercase", "HTML_TAG_COLOR": "rgb(168, 148, 166)", "OBJECT_NAME_COLOR": "rgb(136, 19, 145)", + "OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES": 10, + "OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES": 5, "OBJECT_VALUE_BOOLEAN_COLOR": "rgb(28, 0, 207)", - "OBJECT_VALUE_FUNCTION_KEYWORD_COLOR": "rgb(170, 13, 145)", + "OBJECT_VALUE_FUNCTION_PREFIX_COLOR": "rgb(13, 34, 170)", "OBJECT_VALUE_NULL_COLOR": "rgb(128, 128, 128)", "OBJECT_VALUE_NUMBER_COLOR": "rgb(28, 0, 207)", "OBJECT_VALUE_REGEXP_COLOR": "rgb(196, 26, 22)", diff --git a/addons/a11y/src/components/__snapshots__/A11YPanel.test.js.snap b/addons/a11y/src/components/__snapshots__/A11YPanel.test.js.snap index d550f4963147..c5ef61d72531 100644 --- a/addons/a11y/src/components/__snapshots__/A11YPanel.test.js.snap +++ b/addons/a11y/src/components/__snapshots__/A11YPanel.test.js.snap @@ -96,7 +96,7 @@ exports[`A11YPanel should render loader when it's running 1`] = ` - Please wait while a11y scan is running ... + Please wait while the accessibility scan is running ... @@ -105,7 +105,9 @@ exports[`A11YPanel should render loader when it's running 1`] = ` exports[`A11YPanel should render report 1`] = ` .emotion-0 { overflow-y: auto; + height: 100%; overflow-x: auto; + width: 100%; } .emotion-4 { @@ -118,6 +120,7 @@ exports[`A11YPanel should render report 1`] = ` display: -ms-flexbox; display: flex; background: #FFFFFF; + z-index: 1; } .emotion-3 { @@ -213,18 +216,18 @@ exports[`A11YPanel should render report 1`] = ` "inserted": Object { "0": true, "110qmus": true, + "11xgcgt": true, "1551xjo": true, "15paq49": true, - "176o2y5": true, "1977chw": true, "19mcg9j": true, "1ez3l8h": true, "1kbt4a0": true, "1l7fvsg": true, - "1myfomu": true, "1vwgrhn": true, "4ryd4s": true, "6hqipu": true, + "6z0ulf": true, "animation-u07e3c": true, "aq4p19": true, "fg630j": true, @@ -241,9 +244,9 @@ exports[`A11YPanel should render report 1`] = ` "key": "css", "nonce": undefined, "registered": Object { - "emotion-0": "overflow-y:auto;overflow-x:auto;", "css-1977chw": "height:10px;width:10px;min-width:10px;color:#999999;margin-right:10px;transition:transform 0.1s ease-in-out;align-self:center;display:inline-flex;", "css-1l7fvsg": "height:12px;width:12px;margin-right:4px;", + "emotion-0": "overflow-y:auto;height:100%;overflow-x:auto;width:100%;", "css-jb2puo": "height:12px;width:12px;margin-right:4px;animation:animation-u07e3c 1s linear infinite;;", "css-tkevr6": "display:flex;align-items:center;justify-content:center;height:100%;", }, @@ -254,7 +257,7 @@ exports[`A11YPanel should render report 1`] = ` data-emotion="css-global" > - [data-simplebar]{position:relative;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;-webkit-align-content:flex-start;-ms-flex-line-pack:start;align-content:flex-start;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;width:inherit;height:inherit;max-width:inherit;max-height:inherit;} + [data-simplebar]{position:relative;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;-webkit-align-content:flex-start;-ms-flex-line-pack:start;align-content:flex-start;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;} , , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + "ctr": 82, + "isSpeedy": false, + "key": "css", + "nonce": undefined, + "tags": Array [ + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ], + }, } } - > - < - TestComponent - - + serialized={ + Object { + "map": undefined, + "name": "nh5djz", + "next": undefined, + "styles": "[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start;}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit;}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto !important;height:auto !important;z-index:0;}.simplebar-offset{direction:inherit !important;resize:none !important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch;}.simplebar-content-wrapper{direction:inherit;position:relative;display:block;visibility:visible;}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none;}.simplebar-height-auto-observer-wrapper{height:100%;width:inherit;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0;}.simplebar-height-auto-observer{display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1;}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden;}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all;}.simplebar-scrollbar{position:absolute;right:2px;width:7px;min-height:10px;}.simplebar-scrollbar:before{position:absolute;content:\\"\\";border-radius:7px;left:0;right:0;opacity:0;transition:opacity 0.2s linear;background:#333333;}.simplebar-track .simplebar-scrollbar.simplebar-visible:before{opacity:0.5;transition:opacity 0s linear;}.simplebar-track.simplebar-vertical{top:0;width:11px;}.simplebar-track.simplebar-vertical .simplebar-scrollbar:before{top:2px;bottom:2px;}.simplebar-track.simplebar-horizontal{left:0;height:11px;}.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before{height:100%;left:2px;right:2px;}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:2px;height:7px;min-height:0;min-width:10px;width:auto;}[data-simplebar-direction=\\"rtl\\"] .simplebar-track.simplebar-vertical{right:auto;left:0;}", + } } - singleLine={true} + /> + + + - - +
    - -
    -    -
    - - func - - - = - - { - - - func - - - } - - - - - -
    -    -
    - - obj - - - = - +
    +
    - { - - +
    - - { - - - a - - - : - - - 'a' - - - , - - - b - - - : - - - 'b' - - - } - - - - } - - - - - -
    -    -
    - + + + a + + ; + + + + + + +
    +
    + + +
    +
    +
    - array - - - = - - { - - - - [ - - - +
    +
    +
    +
    +
    + +
    +
    + + + + + +
    + + + +
    +
    +
    + + + + + +

    + Story Source +

    + +" + format={false} + language="jsx" + > + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + "ctr": 82, + "isSpeedy": false, + "key": "css", + "nonce": undefined, + "tags": Array [ + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ], + }, + } + } + serialized={ + Object { + "map": undefined, + "name": "nh5djz", + "next": undefined, + "styles": "[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start;}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit;}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto !important;height:auto !important;z-index:0;}.simplebar-offset{direction:inherit !important;resize:none !important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch;}.simplebar-content-wrapper{direction:inherit;position:relative;display:block;visibility:visible;}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none;}.simplebar-height-auto-observer-wrapper{height:100%;width:inherit;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0;}.simplebar-height-auto-observer{display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1;}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden;}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all;}.simplebar-scrollbar{position:absolute;right:2px;width:7px;min-height:10px;}.simplebar-scrollbar:before{position:absolute;content:\\"\\";border-radius:7px;left:0;right:0;opacity:0;transition:opacity 0.2s linear;background:#333333;}.simplebar-track .simplebar-scrollbar.simplebar-visible:before{opacity:0.5;transition:opacity 0s linear;}.simplebar-track.simplebar-vertical{top:0;width:11px;}.simplebar-track.simplebar-vertical .simplebar-scrollbar:before{top:2px;bottom:2px;}.simplebar-track.simplebar-horizontal{left:0;height:11px;}.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before{height:100%;left:2px;right:2px;}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:2px;height:7px;min-height:0;min-width:10px;width:auto;}[data-simplebar-direction=\\"rtl\\"] .simplebar-track.simplebar-vertical{right:auto;left:0;}", + } + } + /> + + + + +
    +
    +
    +
    +
    +
    +
    +
    +
    + + +
    +                                                
    +                                                  
    +                                                    
    +                                                      
    +                                                        
    +                                                          <
    +                                                        
    +                                                        div
    +                                                      
    +                                                      
    +                                                        >
    +                                                      
    +                                                    
    +                                                    
    +                                                      
    +  It's a Basic test story:
    +  
    +                                                    
    +                                                    
    +                                                      
    +                                                        
    +                                                          <
    +                                                        
    +                                                        
    +                                                          TestComponent
    +                                                        
    +                                                      
    +                                                      
    +    
    +                                                      
    +                                                        array
    +                                                      
    +                                                      
    +                                                        
    +                                                          =
    +                                                        
    +                                                        
    +                                                          {
    +                                                        
    +                                                        
    +                                                          [
    +                                                        
    +                                                        
    +      
    +                                                        
    +                                                          1
    +                                                        
    +                                                        
    +                                                          ,
    +                                                        
    +                                                        
    +      
    +                                                        
    +                                                          2
    +                                                        
    +                                                        
    +                                                          ,
    +                                                        
    +                                                        
    +      
    +                                                        
    +                                                          3
    +                                                        
    +                                                        
    +    
    +                                                        
    +                                                          ]
    +                                                        
    +                                                        
    +                                                          }
    +                                                        
    +                                                      
    +                                                      
    +    
    +                                                      
    +                                                        bool
    +                                                      
    +                                                      
    +    
    +                                                      
    +                                                        func
    +                                                      
    +                                                      
    +                                                        
    +                                                          =
    +                                                        
    +                                                        
    +                                                          {
    +                                                        
    +                                                        
    +                                                          function
    +                                                        
    +                                                         
    +                                                        
    +                                                          noRefCheck
    +                                                        
    +                                                        
    +                                                          (
    +                                                        
    +                                                        
    +                                                          )
    +                                                        
    +                                                         
    +                                                        
    +                                                          {
    +                                                        
    +                                                        
    +                                                          }
    +                                                        
    +                                                        
    +                                                          }
    +                                                        
    +                                                      
    +                                                      
    +    
    +                                                      
    +                                                        number
    +                                                      
    +                                                      
    +                                                        
    +                                                          =
    +                                                        
    +                                                        
    +                                                          {
    +                                                        
    +                                                        
    +                                                          7
    +                                                        
    +                                                        
    +                                                          }
    +                                                        
    +                                                      
    +                                                      
    +    
    +                                                      
    +                                                        obj
    +                                                      
    +                                                      
    +                                                        
    +                                                          =
    +                                                        
    +                                                        
    +                                                          {
    +                                                        
    +                                                        
    +                                                          {
    +                                                        
    +                                                        
    +      a
    +                                                        
    +                                                          :
    +                                                        
    +                                                         
    +                                                        
    +                                                          'a'
    +                                                        
    +                                                        
    +                                                          ,
    +                                                        
    +                                                        
    +      b
    +                                                        
    +                                                          :
    +                                                        
    +                                                         
    +                                                        
    +                                                          'b'
    +                                                        
    +                                                        
    +    
    +                                                        
    +                                                          }
    +                                                        
    +                                                        
    +                                                          }
    +                                                        
    +                                                      
    +                                                      
    +    
    +                                                      
    +                                                        string
    +                                                      
    +                                                      
    +                                                        
    +                                                          =
    +                                                        
    +                                                        
    +                                                          "
    +                                                        
    +                                                        seven
    +                                                        
    +                                                          "
    +                                                        
    +                                                      
    +                                                      
    +  
    +                                                      
    +                                                        />
    +                                                      
    +                                                    
    +                                                    
    +                                                      
    +
    +                                                    
    +                                                    
    +                                                      
    +                                                        
    +                                                          </
    +                                                        
    +                                                        div
    +                                                      
    +                                                      
    +                                                        >
    +                                                      
    +                                                    
    +                                                  
    +                                                
    +                                              
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + + + + + + +
    + + + +
    +
    +
    +
    + + + +
    +
    +
    + + +`; + +exports[`addon Info should render component description if story name matches component 1`] = ` +.emotion-10 { + position: relative; + overflow: hidden; + color: #333333; + border: 1px solid rgba(0,0,0,.1); + background: #FFFFFF; +} + +.emotion-5 { + position: relative; +} + +.emotion-5 code { + padding-right: 10px; +} + +.emotion-5 * .token { + font-family: "Operator Mono","Fira Code Retina","Fira Code","FiraCode-Retina","Andale Mono","Lucida Console",Consolas,Monaco,monospace; + -webkit-font-smoothing: antialiased; +} + +.emotion-5 * .token.comment { + color: #008000; + font-style: italic; +} + +.emotion-5 * .token.prolog { + color: #008000; + font-style: italic; +} + +.emotion-5 * .token.doctype { + color: #008000; + font-style: italic; +} + +.emotion-5 * .token.cdata { + color: #008000; + font-style: italic; +} + +.emotion-5 * .token.string { + color: #A31515; +} + +.emotion-5 * .token.punctuation { + color: #393A34; +} + +.emotion-5 * .token.operator { + color: #393A34; +} + +.emotion-5 * .token.url { + color: #36acaa; +} + +.emotion-5 * .token.symbol { + color: #36acaa; +} + +.emotion-5 * .token.number { + color: #36acaa; +} + +.emotion-5 * .token.boolean { + color: #36acaa; +} + +.emotion-5 * .token.variable { + color: #36acaa; +} + +.emotion-5 * .token.constant { + color: #36acaa; +} + +.emotion-5 * .token.inserted { + color: #36acaa; +} + +.emotion-5 * .token.atrule { + color: #0000ff; +} + +.emotion-5 * .token.keyword { + color: #0000ff; +} + +.emotion-5 * .token.attr-value { + color: #0000ff; +} + +.emotion-5 * .token.function { + color: #393A34; +} + +.emotion-5 * .token.deleted { + color: #9a050f; +} + +.emotion-5 * .token.important { + font-weight: bold; +} + +.emotion-5 * .token.bold { + font-weight: bold; +} + +.emotion-5 * .token.italic { + font-style: italic; +} + +.emotion-5 * .token.class-name { + color: #2B91AF; +} + +.emotion-5 * .token.tag { + color: #800000; +} + +.emotion-5 * .token.selector { + color: #800000; +} + +.emotion-5 * .token.attr-name { + color: #ff0000; +} + +.emotion-5 * .token.property { + color: #ff0000; +} + +.emotion-5 * .token.regex { + color: #ff0000; +} + +.emotion-5 * .token.entity { + color: #ff0000; +} + +.emotion-5 * .token.directive.tag .tag { + background: #ffff00; + color: #393A34; +} + +.emotion-5 * .language-json .token.boolean { + color: #0000ff; +} + +.emotion-5 * .language-json .token.number { + color: #0000ff; +} + +.emotion-5 * .language-json .token.property { + color: #2B91AF; +} + +.emotion-5 * .namespace { + opacity: 0.7; +} + +.emotion-2 { + overflow-y: auto; + height: 100%; + overflow-x: auto; + width: 100%; + position: relative; +} + +.emotion-2 code { + padding-right: 10px; +} + +.emotion-2 * .token { + font-family: "Operator Mono","Fira Code Retina","Fira Code","FiraCode-Retina","Andale Mono","Lucida Console",Consolas,Monaco,monospace; + -webkit-font-smoothing: antialiased; +} + +.emotion-2 * .token.comment { + color: #008000; + font-style: italic; +} + +.emotion-2 * .token.prolog { + color: #008000; + font-style: italic; +} + +.emotion-2 * .token.doctype { + color: #008000; + font-style: italic; +} + +.emotion-2 * .token.cdata { + color: #008000; + font-style: italic; +} + +.emotion-2 * .token.string { + color: #A31515; +} + +.emotion-2 * .token.punctuation { + color: #393A34; +} + +.emotion-2 * .token.operator { + color: #393A34; +} + +.emotion-2 * .token.url { + color: #36acaa; +} + +.emotion-2 * .token.symbol { + color: #36acaa; +} + +.emotion-2 * .token.number { + color: #36acaa; +} + +.emotion-2 * .token.boolean { + color: #36acaa; +} + +.emotion-2 * .token.variable { + color: #36acaa; +} + +.emotion-2 * .token.constant { + color: #36acaa; +} + +.emotion-2 * .token.inserted { + color: #36acaa; +} + +.emotion-2 * .token.atrule { + color: #0000ff; +} + +.emotion-2 * .token.keyword { + color: #0000ff; +} + +.emotion-2 * .token.attr-value { + color: #0000ff; +} + +.emotion-2 * .token.function { + color: #393A34; +} + +.emotion-2 * .token.deleted { + color: #9a050f; +} + +.emotion-2 * .token.important { + font-weight: bold; +} + +.emotion-2 * .token.bold { + font-weight: bold; +} + +.emotion-2 * .token.italic { + font-style: italic; +} + +.emotion-2 * .token.class-name { + color: #2B91AF; +} + +.emotion-2 * .token.tag { + color: #800000; +} + +.emotion-2 * .token.selector { + color: #800000; +} + +.emotion-2 * .token.attr-name { + color: #ff0000; +} + +.emotion-2 * .token.property { + color: #ff0000; +} + +.emotion-2 * .token.regex { + color: #ff0000; +} + +.emotion-2 * .token.entity { + color: #ff0000; +} + +.emotion-2 * .token.directive.tag .tag { + background: #ffff00; + color: #393A34; +} + +.emotion-2 * .language-json .token.boolean { + color: #0000ff; +} + +.emotion-2 * .language-json .token.number { + color: #0000ff; +} + +.emotion-2 * .language-json .token.property { + color: #2B91AF; +} + +.emotion-2 * .namespace { + opacity: 0.7; +} + +.emotion-1 { + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + -ms-flex-pack: start; + justify-content: flex-start; + margin: 0; + padding: 10px; +} + +.emotion-0 { + -webkit-flex: 1; + -ms-flex: 1; + flex: 1; + padding-right: 0; + opacity: 1; +} + +.emotion-9 { + position: absolute; + bottom: 0; + right: 0; + max-width: 100%; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + background: #FFFFFF; + z-index: 1; +} + +.emotion-8 { + border: 0 none; + padding: 4px 10px; + cursor: pointer; + display: -webkit-box; + display: -webkit-flex; + display: -ms-flexbox; + display: flex; + -webkit-align-items: center; + -webkit-box-align: center; + -ms-flex-align: center; + align-items: center; + color: #333333; + background: #FFFFFF; + font-size: 12px; + line-height: 16px; + font-weight: 700; + border-top: 1px solid rgba(0,0,0,.1); + border-left: 1px solid rgba(0,0,0,.1); + margin-left: -1px; + border-radius: 4px 0 0 0; +} + +.emotion-8:not(:last-child) { + border-right: 1px solid rgba(0,0,0,.1); +} + +.emotion-8 + * { + border-left: 1px solid rgba(0,0,0,.1); + border-radius: 0; +} + +.emotion-8:focus { + box-shadow: #1EA7FD 0 -3px 0 0 inset; + outline: 0 none; +} + + + +
    +
    +
    +

    + Test Components +

    +

    + TestComponent +

    +
    +
    +
    +
    +
    + It's a + TestComponent + story: + +
    +

    + x => x + 1 +

    +

    + [object Object] +

    +

    + 1,2,3 +

    +

    + 7 +

    +
    + seven +
    +
    + true +
    +

    + undefined +

    + + test + + + storiesOf + +
      +
    • + 1 +
    • +
    • + 2 +
    • +
    +
    +
    +
    +
    +
    +
    +

    +

    + Awesome test component description +

    + +

    +

    + with markdown support +

    + +

    +

    + + bold + + + + cursive + +

    +

    + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + "ctr": 82, + "isSpeedy": false, + "key": "css", + "nonce": undefined, + "tags": Array [ + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ], + }, + } + } + serialized={ + Object { + "map": undefined, + "name": "nh5djz", + "next": undefined, + "styles": "[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start;}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit;}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto !important;height:auto !important;z-index:0;}.simplebar-offset{direction:inherit !important;resize:none !important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch;}.simplebar-content-wrapper{direction:inherit;position:relative;display:block;visibility:visible;}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none;}.simplebar-height-auto-observer-wrapper{height:100%;width:inherit;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0;}.simplebar-height-auto-observer{display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1;}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden;}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all;}.simplebar-scrollbar{position:absolute;right:2px;width:7px;min-height:10px;}.simplebar-scrollbar:before{position:absolute;content:\\"\\";border-radius:7px;left:0;right:0;opacity:0;transition:opacity 0.2s linear;background:#333333;}.simplebar-track .simplebar-scrollbar.simplebar-visible:before{opacity:0.5;transition:opacity 0s linear;}.simplebar-track.simplebar-vertical{top:0;width:11px;}.simplebar-track.simplebar-vertical .simplebar-scrollbar:before{top:2px;bottom:2px;}.simplebar-track.simplebar-horizontal{left:0;height:11px;}.simplebar-track.simplebar-horizontal .simplebar-scrollbar:before{height:100%;left:2px;right:2px;}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:2px;height:7px;min-height:0;min-width:10px;width:auto;}[data-simplebar-direction=\\"rtl\\"] .simplebar-track.simplebar-vertical{right:auto;left:0;}", + } + } + /> + + + + +
    +
    +
    +
    +
    +
    +
    +
    +
    + - 1 - - - - , - - - - 2 - - - - , - - + - - 3 - - - - ] - - - - } - - - - - -
    -    -
    - - number - - - = - - { - - - 7 - - - } - - -
    - - -
    -    -
    - + + a + + ; + + + + + +
    +
    +
    +
    +
    +
    +
    +
    - string - - - = - - " - - - seven - - - " - - - - - -
    -    -
    - +
    +
    - bool - -
    - - - - - /> - -
    - +
    +
    +
    + + + + + + + +
    - - </ - div - > - + +
    -
    - + +
    - - - - - -
    -
    -
    -
    - - -`; - -exports[`addon Info should render component description if story name matches component 1`] = ` - - -
    -
    -
    + + + +

    -
    -

    - Test Components -

    -

    - TestComponent -

    -
    -

    -
    -
    -
    - It's a - TestComponent - story: - + +
    " + format={false} + language="jsx" + > + -
    -

    - function func(x) { - return x + 1; - } -

    -

    - [object Object] -

    -

    - 1,2,3 -

    -

    - 7 -

    -
    - seven -
    -
    - true -
    -

    - undefined -

    - - test - - - storiesOf - -
      -
    • - 1 -
    • -
    • - 2 -
    • -
    -
    - -
    -
    -
    -
    -
    -

    -

    - Awesome test component description -

    - -

    -

    - with markdown support -

    - -

    -

    - - bold - - - - cursive - -
    -

    -
    -
    -

    - Story Source -

    -
    -              
    -                
    - - It's a - TestComponent - story: - -
    - } - > -
    -
    - - < - div - - - It's a - TestComponent - story: - -
    - } - singleLine={false} - > - - - - > - -
    - -
    - - It's a - -
    -
    - -
    - - TestComponent - -
    -
    - + + -
    - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + "ctr": 82, + "isSpeedy": false, + "key": "css", + "nonce": undefined, + "tags": Array [ + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ], + }, } } - > - story: - -
    -
    - - } - > -
    + - - < - TestComponent - - - } - singleLine={true} - > - - +
    - -
    -    -
    - - func - - - = - - { - - - func - - - } - - - - - -
    -    -
    - - obj - - - = - +
    +
    - { - - +
    - - { - - - a - - - : - - - 'a' - - - , - - - b - - - : - - - 'b' - - - } - - - - } - - - - - -
    -    -
    - - array - - - = - - { - - - - [ - - - - 1 - - - - , - - - - 2 - - - - , - - - - 3 - - - - ] - - - - } - - -
    - - -
    -    -
    - - number - - - = - - { - - - 7 - - - } - - -
    - - -
    -    -
    - + + + + + < + + div + + + > + + + + + It's a TestComponent story: + + + + + + < + + + TestComponent + + + + + + array + + + + = + + + { + + + [ + + + + + 1 + + + , + + + + + 2 + + + , + + + + + 3 + + + + + ] + + + } + + + + + + bool + + + + + func + + + + = + + + { + + + function + + + + noRefCheck + + + ( + + + ) + + + + { + + + } + + + } + + + + + + number + + + + = + + + { + + + 7 + + + } + + + + + + obj + + + + = + + + { + + + { + + + a + + : + + + + 'a' + + + , + + + b + + : + + + + 'b' + + + + + } + + + } + + + + + + string + + + + = + + + " + + seven + + " + + + + + + /> + + + + + + + + + + </ + + div + + + > + + + + +
    + + +
    +
    +
    +
    +
    +
    +
    - string - - - = - - " - - - seven - - - " - - - - - -
    -    -
    - +
    +
    - bool - -
    - - - - - /> - -
    - +
    +
    + + + + + + + + +
    - - </ - div - > - + +
    - - +
    +
    - - - - - - - + + + +
    diff --git a/addons/info/src/components/Node.js b/addons/info/src/components/Node.js deleted file mode 100644 index a51c716a27ad..000000000000 --- a/addons/info/src/components/Node.js +++ /dev/null @@ -1,179 +0,0 @@ -import React from 'react'; -import { isForwardRef } from 'react-is'; -import PropTypes from 'prop-types'; -import Props from './Props'; -import { getDisplayName } from '../react-utils'; - -const stylesheet = { - containerStyle: {}, - tagStyle: { - color: '#444', - }, -}; - -function getData(element) { - const data = { - name: null, - text: null, - children: null, - }; - - if (element === null) { - return data; - } - - if (typeof element === 'string') { - data.text = element; - return data; - } - - if (typeof element === 'number') { - data.text = String.toString(element); - return data; - } - - data.children = element.props.children; - data.name = getDisplayName(element.type); - - return data; -} - -export default function Node(props) { - const { - node, - depth, - maxPropsIntoLine, - maxPropObjectKeys, - maxPropArrayLength, - maxPropStringLength, - } = props; - const { tagStyle, containerStyle } = stylesheet; - - const leftPad = { - paddingLeft: 3 + (depth + 1) * 15, - paddingRight: 3, - }; - - // Keep a copy so that further mutations to containerStyle don't impact us: - const containerStyleCopy = Object.assign({}, containerStyle, leftPad); - - const { name, text, children } = getData(node); - - // Just text - if (!name) { - return ( -
    - {text} -
    - ); - } - - if (isForwardRef(node) && !node.type.displayName) { - const childElement = node.type.render(node.props); - return ( -
    -
    - - < - {`ForwardRef`} - - - > -
    - -
    - - </ - {`ForwardRef`} - > - -
    -
    - ); - } - - // Single-line tag - if (!children) { - return ( -
    - - < - {name} - - - /> -
    - ); - } - - // tag with children - return ( -
    -
    - - < - {name} - - - > -
    - {React.Children.map(children, childElement => ( - - ))} -
    - - </ - {name} - > - -
    -
    - ); -} - -Node.defaultProps = { - node: null, - depth: 0, -}; - -Node.propTypes = { - node: PropTypes.node, - depth: PropTypes.number, - maxPropsIntoLine: PropTypes.number.isRequired, - maxPropObjectKeys: PropTypes.number.isRequired, - maxPropArrayLength: PropTypes.number.isRequired, - maxPropStringLength: PropTypes.number.isRequired, -}; diff --git a/addons/info/src/components/Story.js b/addons/info/src/components/Story.js index 0716aa6a76a9..1be74625b32c 100644 --- a/addons/info/src/components/Story.js +++ b/addons/info/src/components/Story.js @@ -1,14 +1,14 @@ /* eslint no-underscore-dangle: 0 */ -import React, { Component, createElement } from 'react'; +import React, { Fragment, Component, createElement } from 'react'; import { isForwardRef } from 'react-is'; import { polyfill } from 'react-lifecycles-compat'; import PropTypes from 'prop-types'; import global from 'global'; import marksy from 'marksy'; -import Node from './Node'; -import { Pre } from './markdown'; +import jsxToString from 'react-element-to-jsx-string'; +import { Code } from './markdown'; import { getDisplayName, getType } from '../react-utils'; global.STORYBOOK_REACT_CLASSES = global.STORYBOOK_REACT_CLASSES || []; @@ -37,10 +37,9 @@ const stylesheetBase = { position: 'fixed', background: 'white', top: 0, - bottom: 0, left: 0, - right: 0, - padding: '0 40px', + height: '100vh', + width: '100vw', overflow: 'auto', zIndex: 99999, }, @@ -54,12 +53,9 @@ const stylesheetBase = { fontWeight: 300, lineHeight: 1.45, fontSize: '15px', - border: '1px solid #eee', padding: '20px 40px 40px', borderRadius: '2px', backgroundColor: '#fff', - marginTop: '20px', - marginBottom: '20px', }, infoContent: { marginBottom: 0, @@ -133,7 +129,7 @@ class Story extends Component { const { stylesheet } = this.state; return ( -
    + {this._renderInlineHeader()} {this._renderStory()}
    @@ -144,7 +140,7 @@ class Story extends Component { {this._getPropTables()}
    - + ); } @@ -187,7 +183,7 @@ class Story extends Component { }; return ( -
    +
    {children}
    -
    - -
    -
    - {this._getInfoHeader()} - {this._getInfoContent()} - {this._getComponentDescription()} - {this._getSourceCode()} - {this._getPropTables()} + {open ? ( +
    + +
    +
    + {this._getInfoHeader()} + {this._getInfoContent()} + {this._getComponentDescription()} + {this._getSourceCode()} + {this._getPropTables()} +
    -
    -
    + ) : null} + ); } @@ -260,7 +258,8 @@ class Story extends Component { padding = matches[0].length; } const source = lines.map(s => s.slice(padding)).join('\n'); - return
    {this.marksy(source).tree}
    ; + + return {this.marksy(source).tree}; } _getComponentDescription() { @@ -275,7 +274,7 @@ class Story extends Component { Object.keys(STORYBOOK_REACT_CLASSES).forEach(key => { if (validMatches.includes(STORYBOOK_REACT_CLASSES[key].name)) { const componentDescription = STORYBOOK_REACT_CLASSES[key].docgenInfo.description; - retDiv =
    {this.marksy(componentDescription).tree}
    ; + retDiv = {this.marksy(componentDescription).tree}; } }); } @@ -284,14 +283,7 @@ class Story extends Component { } _getSourceCode() { - const { - showSource, - maxPropsIntoLine, - maxPropObjectKeys, - maxPropArrayLength, - maxPropStringLength, - children, - } = this.props; + const { showSource, children } = this.props; const { stylesheet } = this.state; if (!showSource) { @@ -299,22 +291,10 @@ class Story extends Component { } return ( -
    +

    Story Source

    -
    -          {React.Children.map(children, (root, idx) => (
    -            
    -          ))}
    -        
    -
    + + ); } @@ -358,17 +338,22 @@ class Story extends Component { extract(innerChildren.props.children); } if (isForwardRef(innerChildren)) { - extract(innerChildren.type.render(innerChildren.props)); + try { + // this might fail because of hooks being used + extract(innerChildren.type.render(innerChildren.props)); + } catch (e) { + // do nothing + } } if ( typeof innerChildren === 'string' || typeof innerChildren.type === 'string' || - isForwardRef(innerChildren) || (Array.isArray(propTablesExclude) && // also ignore excluded types ~propTablesExclude.indexOf(innerChildren.type)) // eslint-disable-line no-bitwise ) { return; } + if (innerChildren.type && !types.has(innerChildren.type)) { types.set(innerChildren.type, true); } @@ -399,16 +384,15 @@ class Story extends Component { } return ( -
    +

    Prop Types

    {propTables} -
    + ); } render() { const { showInline } = this.props; - // return showInline ? this._renderInline() : this._renderOverlay(); } } @@ -432,7 +416,6 @@ Story.propTypes = { styles: PropTypes.func.isRequired, children: PropTypes.oneOfType([PropTypes.object, PropTypes.array]), components: PropTypes.shape({}), - maxPropsIntoLine: PropTypes.number.isRequired, maxPropObjectKeys: PropTypes.number.isRequired, maxPropArrayLength: PropTypes.number.isRequired, maxPropStringLength: PropTypes.number.isRequired, diff --git a/addons/info/src/components/markdown/code.js b/addons/info/src/components/markdown/code.js index 9f2143006e46..4e6b24ba7de2 100644 --- a/addons/info/src/components/markdown/code.js +++ b/addons/info/src/components/markdown/code.js @@ -1,11 +1,14 @@ import React from 'react'; import PropTypes from 'prop-types'; import { SyntaxHighlighter } from '@storybook/components'; +import { ThemeProvider, convert } from '@storybook/theming'; -const Code = ({ language, code }) => ( - - {code} - +const Code = ({ code, language = 'plaintext', ...rest }) => ( + + + {code} + + ); Code.propTypes = { language: PropTypes.string.isRequired, diff --git a/addons/info/src/components/markdown/text.js b/addons/info/src/components/markdown/text.js index f7928328bd5f..356a4575cd5e 100644 --- a/addons/info/src/components/markdown/text.js +++ b/addons/info/src/components/markdown/text.js @@ -5,35 +5,21 @@ const defaultProps = { children: null }; const propTypes = { children: PropTypes.node }; export function P({ children }) { - const style = { - fontSize: '15px', - }; - - //

    is oftentimes used as a parent element of - // and

     elements, which is why 
    - // is used as the outputted element when parsing - // marksy content rather than

    . - return

    {children}
    ; + return

    {children}

    ; } P.defaultProps = defaultProps; P.propTypes = propTypes; export function LI({ children }) { - const style = { - fontSize: '15px', - }; - return
  • {children}
  • ; + return
  • {children}
  • ; } LI.defaultProps = defaultProps; LI.propTypes = propTypes; export function UL({ children }) { - const style = { - fontSize: '15px', - }; - return
      {children}
    ; + return
      {children}
    ; } UL.defaultProps = defaultProps; diff --git a/addons/info/src/index.test.js b/addons/info/src/index.test.js index c60f53e81730..6dda54f035c4 100644 --- a/addons/info/src/index.test.js +++ b/addons/info/src/index.test.js @@ -33,7 +33,9 @@ const storybookReactClassMock = { # Awesome test component description ## with markdown support **bold** *cursive* - `, +\`\`\`js +a; +\`\`\``, name: 'TestComponent', }, }; diff --git a/addons/jest/README.md b/addons/jest/README.md index 513360222eff..fa89df2c731f 100644 --- a/addons/jest/README.md +++ b/addons/jest/README.md @@ -2,9 +2,9 @@ Brings Jest results in storybook. -[Framework Support](https://github.com/storybooks/storybook/blob/master/ADDONS_SUPPORT.md) +[Framework Support](https://github.com/storybookjs/storybook/blob/master/ADDONS_SUPPORT.md) -[![Storybook Jest Addon Demo](https://raw.githubusercontent.com/storybooks/storybook-addon-jest/master/storybook-addon-jest.gif)](http://storybooks-official.netlify.com/?selectedKind=Addons%7Cjest&selectedStory=withTests&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Ftests%2Fpanel) +[![Storybook Jest Addon Demo](https://raw.githubusercontent.com/storybookjs/storybook-addon-jest/master/storybook-addon-jest.gif)](http://storybooks-official.netlify.com/?selectedKind=Addons%7Cjest&selectedStory=withTests&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Ftests%2Fpanel) > Checkout the above [Live Storybook](http://storybooks-official.netlify.com/?selectedKind=Addons%7Cjest&selectedStory=withTests&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Ftests%2Fpanel). @@ -12,7 +12,7 @@ Brings Jest results in storybook. ### Install -`yarn add --save-dev @storybook/addon-jest --dev` +`npm install --save-dev @storybook/addon-jest` or @@ -180,7 +180,7 @@ storiesOf('MyComponent', module) ); ``` -##### Example [here](https://github.com/storybooks/storybook/tree/master/examples/angular-cli) +##### Example [here](https://github.com/storybookjs/storybook/tree/master/examples/angular-cli) ## TODO @@ -193,7 +193,7 @@ storiesOf('MyComponent', module) ## Contributing -Every ideas and contributions are welcomed. +All ideas and contributions are welcomed. ## Licence diff --git a/addons/jest/package.json b/addons/jest/package.json index 532f24cf96d7..6ef8f08a604a 100644 --- a/addons/jest/package.json +++ b/addons/jest/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-jest", - "version": "5.1.0-alpha.39", + "version": "5.2.0-alpha.30", "description": "React storybook addon that show component jest report", "keywords": [ "addon", @@ -11,13 +11,13 @@ "storybook", "unit-testing" ], - "homepage": "https://github.com/storybooks/storybook/tree/master/addons/jest", + "homepage": "https://github.com/storybookjs/storybook/tree/master/addons/jest", "bugs": { - "url": "https://github.com/storybooks/storybook/issues" + "url": "https://github.com/storybookjs/storybook/issues" }, "repository": { "type": "git", - "url": "https://github.com/storybooks/storybook.git", + "url": "https://github.com/storybookjs/storybook.git", "directory": "addons/jest" }, "license": "MIT", @@ -28,14 +28,14 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.39", - "@storybook/api": "5.1.0-alpha.39", - "@storybook/components": "5.1.0-alpha.39", - "@storybook/core-events": "5.1.0-alpha.39", - "@storybook/theming": "5.1.0-alpha.39", - "core-js": "^2.6.5", + "@storybook/addons": "5.2.0-alpha.30", + "@storybook/api": "5.2.0-alpha.30", + "@storybook/components": "5.2.0-alpha.30", + "@storybook/core-events": "5.2.0-alpha.30", + "@storybook/theming": "5.2.0-alpha.30", + "core-js": "^3.0.1", "global": "^4.3.2", - "react": "^16.8.4", + "react": "^16.8.3", "upath": "^1.1.0", "util-deprecate": "^1.0.2" }, diff --git a/addons/jest/src/components/Indicator.ts b/addons/jest/src/components/Indicator.ts index f9956f8273b3..ca042d586198 100644 --- a/addons/jest/src/components/Indicator.ts +++ b/addons/jest/src/components/Indicator.ts @@ -15,7 +15,7 @@ const Indicator = styled.div( ({ color, size }) => ({ boxSizing: 'border-box', padding: `0 ${size / 2}px`, - minWidth: size, + width: `fit-content`, minHeight: size, fontSize: size / 1.4, lineHeight: `${size}px`, diff --git a/addons/jest/src/components/Message.tsx b/addons/jest/src/components/Message.tsx index ff096e9e248c..757bcd7afd95 100644 --- a/addons/jest/src/components/Message.tsx +++ b/addons/jest/src/components/Message.tsx @@ -39,14 +39,14 @@ const StackTrace = styled(({ trace, className }: StackTraceProps) => ( ))} ))({ - background: 'silver', + background: '#e2e2e2', padding: 10, overflow: 'auto', }); const Main = styled(({ msg, className }) =>
    {msg}
    )({ padding: 10, - borderBottom: '1px solid silver', + borderBottom: '1px solid #e2e2e2', }); interface SubProps { diff --git a/addons/jest/src/components/Panel.tsx b/addons/jest/src/components/Panel.tsx index 28dc0266553c..6d9975bfd7c6 100644 --- a/addons/jest/src/components/Panel.tsx +++ b/addons/jest/src/components/Panel.tsx @@ -26,7 +26,8 @@ const NoTests = styled.div({ }); const FileTitle = styled.h2({ - margin: 0, + marginRight: '6px', + marginBottom: '3px', fontWeight: 500, fontSize: 18, }); @@ -64,9 +65,7 @@ const SuiteTotals = styled(({ successNumber, failedNumber, result, className }) const SuiteProgress = styled(({ successNumber, result, className }) => (
    - - {`${(successNumber / result.assertionResults.length) * 100}%`} - +
    ))(() => ({ width: '100%', @@ -92,6 +91,12 @@ const SuiteProgress = styled(({ successNumber, result, className }) => ( const SuiteTitle = styled.div({ display: 'flex', alignItems: 'center', + marginBottom: '3px', +}); + +const PassingRate = styled.div({ + fontWeight: 500, + fontSize: '10px', }); interface ContentProps { @@ -102,29 +107,36 @@ interface ContentProps { const Content = styled(({ tests, className }: ContentProps) => (
    {tests.map(({ name, result }) => { + const title = name || 'Result status'; + if (!result) { - return This story has tests configured, but no file was found; + return ( + This story has tests configured, but no file was found + ); } const successNumber = result.assertionResults.filter(({ status }) => status === 'passed') .length; const failedNumber = result.assertionResults.length - successNumber; - return ( -
    +
    + + {`${title}:`} + + {result.status} + + - - - {result.status} - - {name} - - + {`Passing rate: ${( + (successNumber / result.assertionResults.length) * + 100 + ).toFixed(2)}%`} + {result.assertionResults.map(res => ( diff --git a/addons/jest/src/hoc/provideJestResult.tsx b/addons/jest/src/hoc/provideJestResult.tsx index 65d7ad3e4780..41a6e717ee39 100644 --- a/addons/jest/src/hoc/provideJestResult.tsx +++ b/addons/jest/src/hoc/provideJestResult.tsx @@ -36,12 +36,16 @@ export interface HocState { const provideTests = (Component: React.ComponentType) => class TestProvider extends React.Component { + stopListeningOnStory: () => void; + + mounted: boolean; + + state: HocState = {}; + static defaultProps = { active: false, }; - state: HocState = {}; - componentDidMount() { this.mounted = true; const { api } = this.props; @@ -68,10 +72,6 @@ const provideTests = (Component: React.ComponentType) => this.setState({ kind, storyName, tests }); }; - stopListeningOnStory: () => void; - - mounted: boolean; - render() { const { active } = this.props; const { tests } = this.state; diff --git a/addons/jest/src/shared.ts b/addons/jest/src/shared.ts index 48e804cefe01..08438c671482 100644 --- a/addons/jest/src/shared.ts +++ b/addons/jest/src/shared.ts @@ -1,5 +1,5 @@ // addons, panels and events get unique names using a prefix -export const ADDON_ID = 'storybooks/test'; +export const ADDON_ID = 'storybookjs/test'; export const PANEL_ID = `${ADDON_ID}/panel`; export const ADD_TESTS = `${ADDON_ID}/add_tests`; diff --git a/addons/jest/src/styles.js b/addons/jest/src/styles.js new file mode 100644 index 000000000000..19a9ea6943f6 --- /dev/null +++ b/addons/jest/src/styles.js @@ -0,0 +1,573 @@ +import { document } from 'global'; + +const styles = ` + @font-face { + font-family: octicons-link; + src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AAAADAAAAAwGAACfbG9jYQAAAsAAAAAIAAAACABiATBtYXhwAAACqAAAABgAAAAgAA8ASm5hbWUAAAToAAABQgAAAlXu73sOcG9zdAAABiwAAAAeAAAAME3QpOBwcmVwAAAEbAAAAHYAAAB/aFGpk3jaTY6xa8JAGMW/O62BDi0tJLYQincXEypYIiGJjSgHniQ6umTsUEyLm5BV6NDBP8Tpts6F0v+k/0an2i+itHDw3v2+9+DBKTzsJNnWJNTgHEy4BgG3EMI9DCEDOGEXzDADU5hBKMIgNPZqoD3SilVaXZCER3/I7AtxEJLtzzuZfI+VVkprxTlXShWKb3TBecG11rwoNlmmn1P2WYcJczl32etSpKnziC7lQyWe1smVPy/Lt7Kc+0vWY/gAgIIEqAN9we0pwKXreiMasxvabDQMM4riO+qxM2ogwDGOZTXxwxDiycQIcoYFBLj5K3EIaSctAq2kTYiw+ymhce7vwM9jSqO8JyVd5RH9gyTt2+J/yUmYlIR0s04n6+7Vm1ozezUeLEaUjhaDSuXHwVRgvLJn1tQ7xiuVv/ocTRF42mNgZGBgYGbwZOBiAAFGJBIMAAizAFoAAABiAGIAznjaY2BkYGAA4in8zwXi+W2+MjCzMIDApSwvXzC97Z4Ig8N/BxYGZgcgl52BCSQKAA3jCV8CAABfAAAAAAQAAEB42mNgZGBg4f3vACQZQABIMjKgAmYAKEgBXgAAeNpjYGY6wTiBgZWBg2kmUxoDA4MPhGZMYzBi1AHygVLYQUCaawqDA4PChxhmh/8ODDEsvAwHgMKMIDnGL0x7gJQCAwMAJd4MFwAAAHjaY2BgYGaA4DAGRgYQkAHyGMF8NgYrIM3JIAGVYYDT+AEjAwuDFpBmA9KMDEwMCh9i/v8H8sH0/4dQc1iAmAkALaUKLgAAAHjaTY9LDsIgEIbtgqHUPpDi3gPoBVyRTmTddOmqTXThEXqrob2gQ1FjwpDvfwCBdmdXC5AVKFu3e5MfNFJ29KTQT48Ob9/lqYwOGZxeUelN2U2R6+cArgtCJpauW7UQBqnFkUsjAY/kOU1cP+DAgvxwn1chZDwUbd6CFimGXwzwF6tPbFIcjEl+vvmM/byA48e6tWrKArm4ZJlCbdsrxksL1AwWn/yBSJKpYbq8AXaaTb8AAHja28jAwOC00ZrBeQNDQOWO//sdBBgYGRiYWYAEELEwMTE4uzo5Zzo5b2BxdnFOcALxNjA6b2ByTswC8jYwg0VlNuoCTWAMqNzMzsoK1rEhNqByEyerg5PMJlYuVueETKcd/89uBpnpvIEVomeHLoMsAAe1Id4AAAAAAAB42oWQT07CQBTGv0JBhagk7HQzKxca2sJCE1hDt4QF+9JOS0nbaaYDCQfwCJ7Au3AHj+LO13FMmm6cl7785vven0kBjHCBhfpYuNa5Ph1c0e2Xu3jEvWG7UdPDLZ4N92nOm+EBXuAbHmIMSRMs+4aUEd4Nd3CHD8NdvOLTsA2GL8M9PODbcL+hD7C1xoaHeLJSEao0FEW14ckxC+TU8TxvsY6X0eLPmRhry2WVioLpkrbp84LLQPGI7c6sOiUzpWIWS5GzlSgUzzLBSikOPFTOXqly7rqx0Z1Q5BAIoZBSFihQYQOOBEdkCOgXTOHA07HAGjGWiIjaPZNW13/+lm6S9FT7rLHFJ6fQbkATOG1j2OFMucKJJsxIVfQORl+9Jyda6Sl1dUYhSCm1dyClfoeDve4qMYdLEbfqHf3O/AdDumsjAAB42mNgYoAAZQYjBmyAGYQZmdhL8zLdDEydARfoAqIAAAABAAMABwAKABMAB///AA8AAQAAAAAAAAAAAAAAAAABAAAAAA==) format('woff'); + } + .markdown-body { + -ms-text-size-adjust: 100%; + -webkit-text-size-adjust: 100%; + line-height: 1.5; + color: #333; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + font-size: 16px; + line-height: 1.5; + word-wrap: break-word; + } + .markdown-body .pl-c { + color: #969896; + } + .markdown-body .pl-c1, + .markdown-body .pl-s .pl-v { + color: #0086b3; + } + .markdown-body .pl-e, + .markdown-body .pl-en { + color: #795da3; + } + .markdown-body .pl-smi, + .markdown-body .pl-s .pl-s1 { + color: #333; + } + .markdown-body .pl-ent { + color: #63a35c; + } + .markdown-body .pl-k { + color: #a71d5d; + } + .markdown-body .pl-s, + .markdown-body .pl-pds, + .markdown-body .pl-s .pl-pse .pl-s1, + .markdown-body .pl-sr, + .markdown-body .pl-sr .pl-cce, + .markdown-body .pl-sr .pl-sre, + .markdown-body .pl-sr .pl-sra { + color: #183691; + } + .markdown-body .pl-v { + color: #ed6a43; + } + .markdown-body .pl-id { + color: #b52a1d; + } + .markdown-body .pl-ii { + color: #f8f8f8; + background-color: #b52a1d; + } + .markdown-body .pl-sr .pl-cce { + font-weight: bold; + color: #63a35c; + } + .markdown-body .pl-ml { + color: #693a17; + } + .markdown-body .pl-mh, + .markdown-body .pl-mh .pl-en, + .markdown-body .pl-ms { + font-weight: bold; + color: #1d3e81; + } + .markdown-body .pl-mq { + color: #008080; + } + .markdown-body .pl-mi { + font-style: italic; + color: #333; + } + .markdown-body .pl-mb { + font-weight: bold; + color: #333; + } + .markdown-body .pl-md { + color: #bd2c00; + background-color: #ffecec; + } + .markdown-body .pl-mi1 { + color: #55a532; + background-color: #eaffea; + } + .markdown-body .pl-mdr { + font-weight: bold; + color: #795da3; + } + .markdown-body .pl-mo { + color: #1d3e81; + } + .markdown-body .octicon { + display: inline-block; + vertical-align: text-top; + fill: currentColor; + } + .markdown-body a { + background-color: transparent; + -webkit-text-decoration-skip: objects; + } + .markdown-body a:active, + .markdown-body a:hover { + outline-width: 0; + } + .markdown-body strong { + font-weight: inherit; + } + .markdown-body strong { + font-weight: bolder; + } + .markdown-body h1 { + font-size: 2em; + margin: 0.67em 0; + } + .markdown-body img { + border-style: none; + } + .markdown-body svg:not(:root) { + overflow: hidden; + } + .markdown-body code, + .markdown-body kbd, + .markdown-body pre { + font-family: monospace, monospace; + font-size: 1em; + } + .markdown-body hr { + box-sizing: content-box; + height: 0; + overflow: visible; + } + .markdown-body input { + font: inherit; + margin: 0; + } + .markdown-body input { + overflow: visible; + } + .markdown-body [type="checkbox"] { + box-sizing: border-box; + padding: 0; + } + .markdown-body * { + box-sizing: border-box; + } + .markdown-body input { + font-family: inherit; + font-size: inherit; + line-height: inherit; + } + .markdown-body a { + color: #4078c0; + text-decoration: none; + } + .markdown-body a:hover, + .markdown-body a:active { + text-decoration: underline; + } + .markdown-body strong { + font-weight: 600; + } + .markdown-body hr { + height: 0; + margin: 15px 0; + overflow: hidden; + background: transparent; + border: 0; + border-bottom: 1px solid #ddd; + } + .markdown-body hr::before { + display: table; + content: ""; + } + .markdown-body hr::after { + display: table; + clear: both; + content: ""; + } + .markdown-body table { + border-spacing: 0; + border-collapse: collapse; + } + .markdown-body td, + .markdown-body th { + padding: 0; + } + .markdown-body h1, + .markdown-body h2, + .markdown-body h3, + .markdown-body h4, + .markdown-body h5, + .markdown-body h6 { + margin-top: 0; + margin-bottom: 0; + } + .markdown-body h1 { + font-size: 32px; + font-weight: 600; + } + .markdown-body h2 { + font-size: 24px; + font-weight: 600; + } + .markdown-body h3 { + font-size: 20px; + font-weight: 600; + } + .markdown-body h4 { + font-size: 16px; + font-weight: 600; + } + .markdown-body h5 { + font-size: 14px; + font-weight: 600; + } + .markdown-body h6 { + font-size: 12px; + font-weight: 600; + } + .markdown-body p { + margin-top: 0; + margin-bottom: 10px; + } + .markdown-body blockquote { + margin: 0; + } + .markdown-body ul, + .markdown-body ol { + padding-left: 0; + margin-top: 0; + margin-bottom: 0; + } + .markdown-body ol ol, + .markdown-body ul ol { + list-style-type: lower-roman; + } + .markdown-body ul ul ol, + .markdown-body ul ol ol, + .markdown-body ol ul ol, + .markdown-body ol ol ol { + list-style-type: lower-alpha; + } + .markdown-body dd { + margin-left: 0; + } + .markdown-body code { + font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; + font-size: 12px; + } + .markdown-body pre { + margin-top: 0; + margin-bottom: 0; + font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; + } + .markdown-body .octicon { + vertical-align: text-bottom; + } + .markdown-body input { + -webkit-font-feature-settings: "liga" 0; + font-feature-settings: "liga" 0; + } + .markdown-body::before { + display: table; + content: ""; + } + .markdown-body::after { + display: table; + clear: both; + content: ""; + } + .markdown-body>*:first-child { + margin-top: 0 !important; + } + .markdown-body>*:last-child { + margin-bottom: 0 !important; + } + .markdown-body a:not([href]) { + color: inherit; + text-decoration: none; + } + .markdown-body .anchor { + float: left; + padding-right: 4px; + margin-left: -20px; + line-height: 1; + } + .markdown-body .anchor:focus { + outline: none; + } + .markdown-body p, + .markdown-body blockquote, + .markdown-body ul, + .markdown-body ol, + .markdown-body dl, + .markdown-body table, + .markdown-body pre { + margin-top: 0; + margin-bottom: 16px; + } + .markdown-body hr { + height: 0.25em; + padding: 0; + margin: 24px 0; + background-color: #e7e7e7; + border: 0; + } + .markdown-body blockquote { + padding: 0 1em; + color: #777; + border-left: 0.25em solid #ddd; + } + .markdown-body blockquote>:first-child { + margin-top: 0; + } + .markdown-body blockquote>:last-child { + margin-bottom: 0; + } + .markdown-body kbd { + display: inline-block; + padding: 3px 5px; + font-size: 11px; + line-height: 10px; + color: #555; + vertical-align: middle; + background-color: #fcfcfc; + border: solid 1px #ccc; + border-bottom-color: #bbb; + border-radius: 3px; + box-shadow: inset 0 -1px 0 #bbb; + } + .markdown-body h1, + .markdown-body h2, + .markdown-body h3, + .markdown-body h4, + .markdown-body h5, + .markdown-body h6 { + margin-top: 24px; + margin-bottom: 16px; + font-weight: 600; + line-height: 1.25; + } + .markdown-body h1 .octicon-link, + .markdown-body h2 .octicon-link, + .markdown-body h3 .octicon-link, + .markdown-body h4 .octicon-link, + .markdown-body h5 .octicon-link, + .markdown-body h6 .octicon-link { + color: #000; + vertical-align: middle; + visibility: hidden; + } + .markdown-body h1:hover .anchor, + .markdown-body h2:hover .anchor, + .markdown-body h3:hover .anchor, + .markdown-body h4:hover .anchor, + .markdown-body h5:hover .anchor, + .markdown-body h6:hover .anchor { + text-decoration: none; + } + .markdown-body h1:hover .anchor .octicon-link, + .markdown-body h2:hover .anchor .octicon-link, + .markdown-body h3:hover .anchor .octicon-link, + .markdown-body h4:hover .anchor .octicon-link, + .markdown-body h5:hover .anchor .octicon-link, + .markdown-body h6:hover .anchor .octicon-link { + visibility: visible; + } + .markdown-body h1 { + padding-bottom: 0.3em; + font-size: 2em; + border-bottom: 1px solid #eee; + } + .markdown-body h2 { + padding-bottom: 0.3em; + font-size: 1.5em; + border-bottom: 1px solid #eee; + } + .markdown-body h3 { + font-size: 1.25em; + } + .markdown-body h4 { + font-size: 1em; + } + .markdown-body h5 { + font-size: 0.875em; + } + .markdown-body h6 { + font-size: 0.85em; + color: #777; + } + .markdown-body ul, + .markdown-body ol { + padding-left: 2em; + } + .markdown-body ul ul, + .markdown-body ul ol, + .markdown-body ol ol, + .markdown-body ol ul { + margin-top: 0; + margin-bottom: 0; + } + .markdown-body li>p { + margin-top: 16px; + } + .markdown-body li+li { + margin-top: 0.25em; + } + .markdown-body dl { + padding: 0; + } + .markdown-body dl dt { + padding: 0; + margin-top: 16px; + font-size: 1em; + font-style: italic; + font-weight: bold; + } + .markdown-body dl dd { + padding: 0 16px; + margin-bottom: 16px; + } + .markdown-body table { + display: block; + width: 100%; + overflow: auto; + } + .markdown-body table th { + font-weight: bold; + } + .markdown-body table th, + .markdown-body table td { + padding: 6px 13px; + border: 1px solid #ddd; + } + .markdown-body table tr { + background-color: #fff; + border-top: 1px solid #ccc; + } + .markdown-body table tr:nth-child(2n) { + background-color: #f8f8f8; + } + .markdown-body img { + max-width: 100%; + box-sizing: content-box; + background-color: #fff; + } + .markdown-body code { + padding: 0; + padding-top: 0.2em; + padding-bottom: 0.2em; + margin: 0; + font-size: 85%; + background-color: rgba(0,0,0,0.04); + border-radius: 3px; + } + .markdown-body code::before, + .markdown-body code::after { + letter-spacing: -0.2em; + content: " "; + } + .markdown-body pre { + word-wrap: normal; + } + .markdown-body pre>code { + padding: 0; + margin: 0; + font-size: 100%; + word-break: normal; + white-space: pre; + background: transparent; + border: 0; + } + .markdown-body .highlight { + margin-bottom: 16px; + } + .markdown-body .highlight pre { + margin-bottom: 0; + word-break: normal; + } + .markdown-body .highlight pre, + .markdown-body pre { + padding: 16px; + overflow: auto; + font-size: 85%; + line-height: 1.45; + background-color: #f7f7f7; + border-radius: 3px; + } + .markdown-body pre code { + display: inline; + max-width: auto; + padding: 0; + margin: 0; + overflow: visible; + line-height: inherit; + word-wrap: normal; + background-color: transparent; + border: 0; + } + .markdown-body pre code::before, + .markdown-body pre code::after { + content: normal; + } + .markdown-body .pl-0 { + padding-left: 0 !important; + } + .markdown-body .pl-1 { + padding-left: 3px !important; + } + .markdown-body .pl-2 { + padding-left: 6px !important; + } + .markdown-body .pl-3 { + padding-left: 12px !important; + } + .markdown-body .pl-4 { + padding-left: 24px !important; + } + .markdown-body .pl-5 { + padding-left: 36px !important; + } + .markdown-body .pl-6 { + padding-left: 48px !important; + } + .markdown-body .full-commit .btn-outline:not(:disabled):hover { + color: #4078c0; + border: 1px solid #4078c0; + } + .markdown-body kbd { + display: inline-block; + padding: 3px 5px; + font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace; + line-height: 10px; + color: #555; + vertical-align: middle; + background-color: #fcfcfc; + border: solid 1px #ccc; + border-bottom-color: #bbb; + border-radius: 3px; + box-shadow: inset 0 -1px 0 #bbb; + } + .markdown-body :checked+.radio-label { + position: relative; + z-index: 1; + border-color: #4078c0; + } + .markdown-body .task-list-item { + list-style-type: none; + } + .markdown-body .task-list-item+.task-list-item { + margin-top: 3px; + } + .markdown-body .task-list-item input { + margin: 0 0.2em 0.25em -1.6em; + vertical-align: middle; + } + .markdown-body hr { + border-bottom-color: #eee; + } +`; + +if (document && !document.getElementById('github-markdown-css')) { + const styleNode = document.createElement('style'); + styleNode.id = 'github-markdown-css'; + styleNode.innerHTML = styles; + + document.head.appendChild(styleNode); +} diff --git a/addons/knobs/README.md b/addons/knobs/README.md index b022a857227b..23c0a28cc05d 100644 --- a/addons/knobs/README.md +++ b/addons/knobs/README.md @@ -3,7 +3,7 @@ Storybook Addon Knobs allow you to edit React props dynamically using the Storybook UI. You can also use Knobs as a dynamic variable inside stories in [Storybook](https://storybook.js.org). -[Framework Support](https://github.com/storybooks/storybook/blob/master/ADDONS_SUPPORT.md) +[Framework Support](https://github.com/storybookjs/storybook/blob/master/ADDONS_SUPPORT.md) This is how Knobs look like: diff --git a/addons/knobs/package.json b/addons/knobs/package.json index 468357b2a659..d09ac60b2a9a 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -1,18 +1,18 @@ { "name": "@storybook/addon-knobs", - "version": "5.1.0-alpha.39", + "version": "5.2.0-alpha.30", "description": "Storybook Addon Prop Editor Component", "keywords": [ "addon", "storybook" ], - "homepage": "https://github.com/storybooks/storybook/tree/master/addons/knobs", + "homepage": "https://github.com/storybookjs/storybook/tree/master/addons/knobs", "bugs": { - "url": "https://github.com/storybooks/storybook/issues" + "url": "https://github.com/storybookjs/storybook/issues" }, "repository": { "type": "git", - "url": "https://github.com/storybooks/storybook.git", + "url": "https://github.com/storybookjs/storybook.git", "directory": "addons/knobs" }, "license": "MIT", @@ -22,17 +22,17 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.39", - "@storybook/client-api": "5.1.0-alpha.39", - "@storybook/components": "5.1.0-alpha.39", - "@storybook/core-events": "5.1.0-alpha.39", - "@storybook/theming": "5.1.0-alpha.39", + "@storybook/addons": "5.2.0-alpha.30", + "@storybook/client-api": "5.2.0-alpha.30", + "@storybook/components": "5.2.0-alpha.30", + "@storybook/core-events": "5.2.0-alpha.30", + "@storybook/theming": "5.2.0-alpha.30", "copy-to-clipboard": "^3.0.8", - "core-js": "^2.6.5", + "core-js": "^3.0.1", "escape-html": "^1.0.3", "fast-deep-equal": "^2.0.1", "global": "^4.3.2", - "lodash.debounce": "^4.0.8", + "lodash": "^4.17.11", "prop-types": "^15.7.2", "qs": "^6.6.0", "react-color": "^2.17.0", diff --git a/addons/knobs/src/components/Panel.js b/addons/knobs/src/components/Panel.js index f2a090e82607..a256325f9fea 100644 --- a/addons/knobs/src/components/Panel.js +++ b/addons/knobs/src/components/Panel.js @@ -127,6 +127,7 @@ export default class KnobPanel extends PureComponent { handleChange = changedKnob => { this.lastEdit = getTimestamp(); + const { api } = this.props; const { knobs } = this.state; const { name } = changedKnob; const newKnobs = { ...knobs }; @@ -135,7 +136,18 @@ export default class KnobPanel extends PureComponent { ...changedKnob, }; - this.setState({ knobs: newKnobs }, this.emitChange(changedKnob)); + this.setState({ knobs: newKnobs }, () => { + this.emitChange(changedKnob); + + const queryParams = {}; + + Object.keys(newKnobs).forEach(n => { + const knob = newKnobs[n]; + queryParams[`knob-${n}`] = Types[knob.type].serialize(knob.value); + }); + + api.setQueryParams(queryParams); + }); }; handleClick = knob => { @@ -186,7 +198,7 @@ export default class KnobPanel extends PureComponent { Learn how to{' '} diff --git a/addons/knobs/src/components/PropForm.js b/addons/knobs/src/components/PropForm.js index a477f502fbf8..05df92a1e273 100644 --- a/addons/knobs/src/components/PropForm.js +++ b/addons/knobs/src/components/PropForm.js @@ -9,8 +9,8 @@ const InvalidType = () => Invalid Type; export default class PropForm extends Component { makeChangeHandler(name, type) { const { onFieldChange } = this.props; - return value => { - const change = { name, type, value: value || '' }; + return (value = '') => { + const change = { name, type, value }; onFieldChange(change); }; diff --git a/addons/knobs/src/registerKnobs.js b/addons/knobs/src/registerKnobs.js index 16eb9356b458..412783c36249 100644 --- a/addons/knobs/src/registerKnobs.js +++ b/addons/knobs/src/registerKnobs.js @@ -1,6 +1,6 @@ import addons from '@storybook/addons'; import { STORY_CHANGED, FORCE_RE_RENDER, REGISTER_SUBSCRIPTION } from '@storybook/core-events'; -import debounce from 'lodash.debounce'; +import debounce from 'lodash/debounce'; import KnobManager from './KnobManager'; import { CHANGE, CLICK, RESET, SET } from './shared'; diff --git a/addons/knobs/src/shared.js b/addons/knobs/src/shared.js index 6aca6fe000fa..64aa6af2d923 100644 --- a/addons/knobs/src/shared.js +++ b/addons/knobs/src/shared.js @@ -1,5 +1,5 @@ // addons, panels and events get unique names using a prefix -export const ADDON_ID = 'storybooks/knobs'; +export const ADDON_ID = 'storybookjs/knobs'; export const PANEL_ID = `${ADDON_ID}/panel`; export const RESET = `${ADDON_ID}/reset`; diff --git a/addons/links/README.md b/addons/links/README.md index 1e537720f08e..774aeb4c432f 100644 --- a/addons/links/README.md +++ b/addons/links/README.md @@ -2,7 +2,7 @@ The Storybook Links addon can be used to create links that navigate between stories in [Storybook](https://storybook.js.org). -[Framework Support](https://github.com/storybooks/storybook/blob/master/ADDONS_SUPPORT.md) +[Framework Support](https://github.com/storybookjs/storybook/blob/master/ADDONS_SUPPORT.md) ## Getting Started @@ -132,4 +132,4 @@ It accepts all the props the `a` element does, plus `story` and `kind`. It the ` >Go to Second ``` -To implement such a component for another framework, you need to add special handling for `click` event on native `a` element. See [`RoutedLink` sources](https://github.com/storybooks/storybook/blob/master/lib/components/src/navigation/routed_link.js#L4-L9) for reference. +To implement such a component for another framework, you need to add special handling for `click` event on native `a` element. See [`RoutedLink` sources](https://github.com/storybookjs/storybook/blob/master/lib/components/src/navigation/routed_link.js#L4-L9) for reference. diff --git a/addons/links/package.json b/addons/links/package.json index a1a9d92ed2ee..321e51ac1405 100644 --- a/addons/links/package.json +++ b/addons/links/package.json @@ -1,18 +1,18 @@ { "name": "@storybook/addon-links", - "version": "5.1.0-alpha.39", + "version": "5.2.0-alpha.30", "description": "Story Links addon for storybook", "keywords": [ "addon", "storybook" ], - "homepage": "https://github.com/storybooks/storybook/tree/master/addons/links", + "homepage": "https://github.com/storybookjs/storybook/tree/master/addons/links", "bugs": { - "url": "https://github.com/storybooks/storybook/issues" + "url": "https://github.com/storybookjs/storybook/issues" }, "repository": { "type": "git", - "url": "https://github.com/storybooks/storybook.git", + "url": "https://github.com/storybookjs/storybook.git", "directory": "addons/links" }, "license": "MIT", @@ -22,11 +22,11 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.39", - "@storybook/core-events": "5.1.0-alpha.39", - "@storybook/router": "5.1.0-alpha.39", + "@storybook/addons": "5.2.0-alpha.30", + "@storybook/core-events": "5.2.0-alpha.30", + "@storybook/router": "5.2.0-alpha.30", "common-tags": "^1.8.0", - "core-js": "^2.6.5", + "core-js": "^3.0.1", "global": "^4.3.2", "prop-types": "^15.7.2", "qs": "^6.6.0" diff --git a/addons/links/src/preview.ts b/addons/links/src/preview.ts index 8354fdf0e199..ec6e74cffbd2 100644 --- a/addons/links/src/preview.ts +++ b/addons/links/src/preview.ts @@ -1,9 +1,8 @@ -import { SyntheticEvent } from 'react'; -import { document } from 'global'; +import { document, HTMLElement } from 'global'; import qs from 'qs'; import addons from '@storybook/addons'; import { SELECT_STORY, STORY_CHANGED } from '@storybook/core-events'; -import { toId } from '@storybook/router'; +import { toId } from '@storybook/router/utils'; interface Params { kind: string; @@ -37,8 +36,13 @@ export const hrefTo = (kind: string, name: string): Promise => resolve(generateUrl(toId(kind, name))); }); -const linksListener = (e: SyntheticEvent) => { - const { sbKind: kind, sbStory: story } = e.currentTarget.dataset; +const linksListener = (e: Event) => { + const { target } = e; + if (!(target instanceof HTMLElement)) { + return; + } + const element = target as HTMLElement; + const { sbKind: kind, sbStory: story } = element.dataset; if (kind || story) { e.preventDefault(); navigate({ kind, story }); diff --git a/addons/links/src/react/components/link.tsx b/addons/links/src/react/components/link.tsx index b84547609a87..3d3b3d3c6fef 100644 --- a/addons/links/src/react/components/link.tsx +++ b/addons/links/src/react/components/link.tsx @@ -29,7 +29,7 @@ interface State { } export default class LinkTo extends PureComponent { - defaultProps: Props = { + static defaultProps: Props = { kind: null, story: null, children: undefined, diff --git a/addons/notes/README.md b/addons/notes/README.md index 368b117e4fe2..2d0071b0c940 100644 --- a/addons/notes/README.md +++ b/addons/notes/README.md @@ -2,13 +2,13 @@ Storybook Addon Notes allows you to write notes (text or HTML) for your stories in [Storybook](https://storybook.js.org). -[Framework Support](https://github.com/storybooks/storybook/blob/master/ADDONS_SUPPORT.md) +[Framework Support](https://github.com/storybookjs/storybook/blob/master/ADDONS_SUPPORT.md) ![Storybook Addon Notes Demo](docs/demo.png) ## Getting Started -**NOTE: Documentation on master branch is for alpha version, stable release is on [master](https://github.com/storybooks/storybook/tree/master/addons/)** +**NOTE: Documentation on master branch is for alpha version, stable release is on [master](https://github.com/storybookjs/storybook/tree/master/addons/)** ```sh yarn add -D @storybook/addon-notes @@ -58,6 +58,27 @@ storiesOf('MyButton', module).add( ); ``` +### With Angular + +```js +import { storiesOf } from '@storybook/vue'; + +import { ButtonComponent } from './button.component'; + +storiesOf('Button', module).add( + 'with some emoji', + () => ({ + component: ButtonComponent, + props: { + text: '😀 😎 👍 💯' + } + }), + { + notes: 'A very simple example of addon notes', + } +); +``` + ## Using Markdown Using Markdown in your notes is supported, Storybook will load Markdown as raw by default. @@ -81,3 +102,18 @@ When using Markdown, you can also embed gifs from Giphy into your Markdown. Curr ``` + +## Multiple Notes Sections + +If you need to display different notes for different consumers of your storybook (e.g design, developers), you can configure multiple notes pages. The following will render a tab with unique notes for both `Introduction` and `Design`. + +```js +import { storiesOf } from '@storybook/react'; +import Component from './Component'; +import intro from './intro.md'; +import design from './design.md'; + +storiesOf('Component', module).add('With Markdown', () => , { + notes: { Introduction: intro, 'Design Notes': design }, +}); +``` diff --git a/addons/notes/package.json b/addons/notes/package.json index b3a864d340ae..5d08236c8656 100644 --- a/addons/notes/package.json +++ b/addons/notes/package.json @@ -1,19 +1,19 @@ { "name": "@storybook/addon-notes", - "version": "5.1.0-alpha.39", + "version": "5.2.0-alpha.30", "description": "Write notes for your Storybook stories.", "keywords": [ "addon", "notes", "storybook" ], - "homepage": "https://github.com/storybooks/storybook/tree/master/addons/notes", + "homepage": "https://github.com/storybookjs/storybook/tree/master/addons/notes", "bugs": { - "url": "https://github.com/storybooks/storybook/issues" + "url": "https://github.com/storybookjs/storybook/issues" }, "repository": { "type": "git", - "url": "https://github.com/storybooks/storybook.git", + "url": "https://github.com/storybookjs/storybook.git", "directory": "addons/notes" }, "license": "MIT", @@ -23,16 +23,17 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.39", - "@storybook/api": "5.1.0-alpha.39", - "@storybook/client-logger": "5.1.0-alpha.39", - "@storybook/components": "5.1.0-alpha.39", - "@storybook/core-events": "5.1.0-alpha.39", - "@storybook/router": "5.1.0-alpha.39", - "@storybook/theming": "5.1.0-alpha.39", - "core-js": "^2.6.5", + "@storybook/addons": "5.2.0-alpha.30", + "@storybook/api": "5.2.0-alpha.30", + "@storybook/client-logger": "5.2.0-alpha.30", + "@storybook/components": "5.2.0-alpha.30", + "@storybook/core-events": "5.2.0-alpha.30", + "@storybook/router": "5.2.0-alpha.30", + "@storybook/theming": "5.2.0-alpha.30", + "core-js": "^3.0.1", "global": "^4.3.2", "markdown-to-jsx": "^6.9.3", + "memoizerific": "^1.11.3", "prop-types": "^15.7.2", "util-deprecate": "^1.0.2" }, diff --git a/addons/notes/src/Panel.tsx b/addons/notes/src/Panel.tsx index 401e457c03aa..5daaaa7ba2fa 100644 --- a/addons/notes/src/Panel.tsx +++ b/addons/notes/src/Panel.tsx @@ -9,10 +9,14 @@ import { Placeholder, DocumentFormatting, Link, + TabWrapper, + TabsState, } from '@storybook/components'; import Markdown from 'markdown-to-jsx'; import Giphy from './giphy'; +import { formatter } from './formatter'; + import { PARAM_KEY, Parameters } from './shared'; const Panel = styled.div(({ theme }) => ({ @@ -29,14 +33,14 @@ interface Props { api: API; } -function read(param: Parameters | undefined): string | undefined { +function read(param: Parameters | undefined): Record | string | undefined { if (!param) { return undefined; } if (typeof param === 'string') { return param; } - if ('disabled' in param) { + if ('disable' in param) { return undefined; } if ('text' in param) { @@ -45,6 +49,9 @@ function read(param: Parameters | undefined): string | undefined { if ('markdown' in param) { return param.markdown; } + if (typeof param === 'object') { + return param; + } return undefined; } @@ -61,7 +68,13 @@ export const SyntaxHighlighter = ({ className, children, ...props }: SyntaxHighl // className: "lang-jsx" const language = className.split('-'); return ( - + {children} ); @@ -108,7 +121,10 @@ interface Overrides { } type Options = typeof defaultOptions & Overrides; -const mapper = ({ state, api }: Combo): { value?: string; options: Options } => { +const mapper = ({ + state, + api, +}: Combo): { value?: string | Record; options: Options } => { const extraElements = Object.entries(api.getElements(types.NOTES_ELEMENT)).reduce( (acc, [k, v]) => ({ ...acc, [k]: v.render }), {} @@ -131,27 +147,66 @@ const NotesPanel = ({ active }: Props) => { return ( - {({ options, value }: { options: Options; value?: string }) => { - return value ? ( - - - {value} - - - ) : ( - - No notes yet - - Learn how to{' '} - - document components in Markdown - - - + {({ options, value }: { options: Options; value?: string | Record }) => { + if (!value) { + return ( + + No notes yet + + Learn how to{' '} + + document components in Markdown + + + + ); + } + + if (typeof value === 'string' || Object.keys(value).length === 1) { + const md = typeof value === 'object' ? Object.values(value)[0] : value; + + return ( + + + {formatter(md)} + + + ); + } + + const groups: { title: string; render: (props: { active: boolean }) => void }[] = []; + + Object.entries(value).forEach(([title, docs]) => { + groups.push({ + title, + render: ({ active: isActive }) => ( + + + + {formatter(docs)} + + + + ), + }); + }); + + return ( +
    + + {groups.map(group => ( +
    + {group.render} +
    + ))} +
    +
    ); }}
    diff --git a/addons/notes/src/formatter.ts b/addons/notes/src/formatter.ts new file mode 100644 index 000000000000..cb2f406fb710 --- /dev/null +++ b/addons/notes/src/formatter.ts @@ -0,0 +1,26 @@ +import memoize from 'memoizerific'; + +export const formatter = memoize(2)((code: string) => { + // code provided to the component is often coming from template literals, which preserve whitespace. + // sometimes the first line doesn't have padding, but the second does. + // we split the code-string into lines, then if we find padding on line 0 or 1, + // we assume that padding is bad, and remove that much padding on all following lines + return code + .split(/\n/) + .reduce( + (acc, i, index) => { + const match = i.match(/^((:?\s|\t)+)/); + const padding = match ? match[1] : ''; + + if (acc.firstIndent === '' && padding && index < 3) { + return { result: `${acc.result}\n${i.replace(padding, '')}`, firstIndent: padding }; + } + return { + result: `${acc.result}\n${i.replace(acc.firstIndent, '').replace(/\s*$/, '')}`, + firstIndent: acc.firstIndent, + }; + }, + { firstIndent: '', result: '' } + ) + .result.trim(); +}); diff --git a/addons/notes/src/shared.ts b/addons/notes/src/shared.ts index effa90303b53..708819358328 100644 --- a/addons/notes/src/shared.ts +++ b/addons/notes/src/shared.ts @@ -1,4 +1,4 @@ -export const ADDON_ID = 'storybooks/notes'; +export const ADDON_ID = 'storybookjs/notes'; export const PANEL_ID = `${ADDON_ID}/panel`; export const PARAM_KEY = `notes`; @@ -11,5 +11,11 @@ interface MarkdownParameter { interface DisabledParameter { disable: boolean; } +type TabsParameter = Record; -export type Parameters = string | TextParameter | MarkdownParameter | DisabledParameter; +export type Parameters = + | string + | TextParameter + | MarkdownParameter + | DisabledParameter + | TabsParameter; diff --git a/addons/ondevice-actions/README.md b/addons/ondevice-actions/README.md index 183cb89c9914..5853c8695b0f 100644 --- a/addons/ondevice-actions/README.md +++ b/addons/ondevice-actions/README.md @@ -2,9 +2,9 @@ Storybook Actions Addon allows you to log events/actions inside stories in [Storybook](https://storybook.js.org). -[Framework Support](https://github.com/storybooks/storybook/blob/master/ADDONS_SUPPORT.md) +[Framework Support](https://github.com/storybookjs/storybook/blob/master/ADDONS_SUPPORT.md) -**This addon is a wrapper for addon [@storybook/addon-actions](https://github.com/storybooks/storybook/blob/master/addons/actions). +**This addon is a wrapper for addon [@storybook/addon-actions](https://github.com/storybookjs/storybook/blob/master/addons/actions). Refer to its documentation to understand how to use actions** ## Installation @@ -29,4 +29,4 @@ Then import `rn-addons.js` next to your `getStorybookUI` call. import './rn-addons'; ``` -See [@storybook/addon-actions](https://github.com/storybooks/storybook/blob/master/addons/actions) to learn how to write stories with actions and the [crna-kitchen-sink app](../../examples-native/crna-kitchen-sink) for more examples. +See [@storybook/addon-actions](https://github.com/storybookjs/storybook/blob/master/addons/actions) to learn how to write stories with actions and the [crna-kitchen-sink app](../../examples-native/crna-kitchen-sink) for more examples. diff --git a/addons/ondevice-actions/package.json b/addons/ondevice-actions/package.json index 9dbcd1b39e06..71e6b9949157 100644 --- a/addons/ondevice-actions/package.json +++ b/addons/ondevice-actions/package.json @@ -1,17 +1,17 @@ { "name": "@storybook/addon-ondevice-actions", - "version": "5.1.0-alpha.39", + "version": "5.2.0-alpha.30", "description": "Action Logger addon for react-native storybook", "keywords": [ "storybook" ], - "homepage": "https://github.com/storybooks/storybook/tree/master/addons/actions", + "homepage": "https://github.com/storybookjs/storybook/tree/master/addons/actions", "bugs": { - "url": "https://github.com/storybooks/storybook/issues" + "url": "https://github.com/storybookjs/storybook/issues" }, "repository": { "type": "git", - "url": "https://github.com/storybooks/storybook.git" + "url": "https://github.com/storybookjs/storybook.git" }, "license": "MIT", "main": "dist/index.js", @@ -19,13 +19,13 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.39", - "@storybook/core-events": "5.1.0-alpha.39", + "@storybook/addons": "5.2.0-alpha.30", + "@storybook/core-events": "5.2.0-alpha.30", "core-js": "^2.5.7", "fast-deep-equal": "^2.0.1" }, "devDependencies": { - "@storybook/addon-actions": "5.1.0-alpha.39" + "@storybook/addon-actions": "5.2.0-alpha.30" }, "peerDependencies": { "@storybook/addon-actions": "*", diff --git a/addons/ondevice-backgrounds/package.json b/addons/ondevice-backgrounds/package.json index aca9f98d58c8..03828fcb511f 100644 --- a/addons/ondevice-backgrounds/package.json +++ b/addons/ondevice-backgrounds/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-ondevice-backgrounds", - "version": "5.1.0-alpha.39", + "version": "5.2.0-alpha.30", "description": "A react-native storybook addon to show different backgrounds for your preview", "keywords": [ "addon", @@ -10,11 +10,11 @@ ], "homepage": "https://storybook.js.org", "bugs": { - "url": "https://github.com/storybooks/storybook/issues" + "url": "https://github.com/storybookjs/storybook/issues" }, "repository": { "type": "git", - "url": "https://github.com/storybooks/storybook.git", + "url": "https://github.com/storybookjs/storybook.git", "directory": "addons/ondevice-backgrounds" }, "license": "MIT", @@ -24,8 +24,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.39", - "core-js": "^2.6.5", + "@storybook/addons": "5.2.0-alpha.30", + "core-js": "^3.0.1", "prop-types": "^15.7.2" }, "peerDependencies": { diff --git a/addons/ondevice-knobs/README.md b/addons/ondevice-knobs/README.md index 2b8e031503e3..3c17c1275377 100644 --- a/addons/ondevice-knobs/README.md +++ b/addons/ondevice-knobs/README.md @@ -2,9 +2,9 @@ Storybook Knobs Addon allows you to edit react props using the Storybook UI using variables inside stories in [Storybook](https://storybook.js.org). -[Framework Support](https://github.com/storybooks/storybook/blob/master/ADDONS_SUPPORT.md) +[Framework Support](https://github.com/storybookjs/storybook/blob/master/ADDONS_SUPPORT.md) -**This addon is a wrapper for addon [@storybook/addon-knobs](https://github.com/storybooks/storybook/blob/master/addons/knobs). +**This addon is a wrapper for addon [@storybook/addon-knobs](https://github.com/storybookjs/storybook/blob/master/addons/knobs). Refer to its documentation to understand how to use knobs** ## Installation @@ -29,4 +29,4 @@ Then import `rn-addons.js` next to your `getStorybookUI` call. import './rn-addons'; ``` -See [@storybook/addon-knobs](https://github.com/storybooks/storybook/blob/master/addons/knobs) to learn how to write stories with knobs and the [crna-kitchen-sink app](../../examples-native/crna-kitchen-sink) for more examples. +See [@storybook/addon-knobs](https://github.com/storybookjs/storybook/blob/master/addons/knobs) to learn how to write stories with knobs and the [crna-kitchen-sink app](../../examples-native/crna-kitchen-sink) for more examples. diff --git a/addons/ondevice-knobs/package.json b/addons/ondevice-knobs/package.json index 72a18cb53c41..39ec05807e06 100644 --- a/addons/ondevice-knobs/package.json +++ b/addons/ondevice-knobs/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-ondevice-knobs", - "version": "5.1.0-alpha.39", + "version": "5.2.0-alpha.30", "description": "Display storybook story knobs on your deviced.", "keywords": [ "addon", @@ -11,7 +11,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/storybooks/storybook.git", + "url": "https://github.com/storybookjs/storybook.git", "directory": "addons/ondevice-knobs" }, "license": "MIT", @@ -21,9 +21,9 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.39", - "@storybook/core-events": "5.1.0-alpha.39", - "core-js": "^2.6.5", + "@storybook/addons": "5.2.0-alpha.30", + "@storybook/core-events": "5.2.0-alpha.30", + "core-js": "^3.0.1", "deep-equal": "^1.0.1", "prop-types": "^15.7.2", "react-native-color-picker": "^0.4.0", @@ -32,7 +32,7 @@ "react-native-switch": "^1.5.0" }, "peerDependencies": { - "@storybook/addon-knobs": "5.1.0-alpha.7", + "@storybook/addon-knobs": "5.2.0-alpha.23", "react": "*", "react-native": "*" }, diff --git a/addons/ondevice-notes/package.json b/addons/ondevice-notes/package.json index 98024533daf8..bc22f860f236 100644 --- a/addons/ondevice-notes/package.json +++ b/addons/ondevice-notes/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-ondevice-notes", - "version": "5.1.0-alpha.39", + "version": "5.2.0-alpha.30", "description": "Write notes for your react-native Storybook stories.", "keywords": [ "addon", @@ -10,7 +10,7 @@ ], "repository": { "type": "git", - "url": "https://github.com/storybooks/storybook.git", + "url": "https://github.com/storybookjs/storybook.git", "directory": "addons/ondevice-notes" }, "license": "MIT", @@ -20,8 +20,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.39", - "core-js": "^2.6.5", + "@storybook/addons": "5.2.0-alpha.30", + "core-js": "^3.0.1", "prop-types": "^15.7.2", "react-native-simple-markdown": "^1.1.0" }, diff --git a/addons/options/README.md b/addons/options/README.md index 302891bd0713..ef028e9f18dd 100644 --- a/addons/options/README.md +++ b/addons/options/README.md @@ -11,9 +11,9 @@ See the [migration docs](../../MIGRATION.md#options-addon-deprecated) for what's The Options addon can be used to (re-)configure the [Storybook](https://storybook.js.org) UI at runtime. -[Framework Support](https://github.com/storybooks/storybook/blob/master/ADDONS_SUPPORT.md) +[Framework Support](https://github.com/storybookjs/storybook/blob/master/ADDONS_SUPPORT.md) -![Screenshot](https://raw.githubusercontent.com/storybooks/storybook/HEAD/addons/options/docs/screenshot.png) +![Screenshot](https://raw.githubusercontent.com/storybookjs/storybook/HEAD/addons/options/docs/screenshot.png) ## Getting Started @@ -74,11 +74,6 @@ addParameters({ * @type {Boolean} */ addonPanelInRight: false, - /** - * sorts stories - * @type {Boolean} - */ - sortStoriesByKind: false, /** * regex for finding the hierarchy separator * @example: diff --git a/addons/options/package.json b/addons/options/package.json index 3f2dfeceda0c..f794d8eed7e4 100644 --- a/addons/options/package.json +++ b/addons/options/package.json @@ -1,18 +1,18 @@ { "name": "@storybook/addon-options", - "version": "5.1.0-alpha.39", + "version": "5.2.0-alpha.30", "description": "Options addon for storybook", "keywords": [ "addon", "storybook" ], - "homepage": "https://github.com/storybooks/storybook/tree/master/addons/options", + "homepage": "https://github.com/storybookjs/storybook/tree/master/addons/options", "bugs": { - "url": "https://github.com/storybooks/storybook/issues" + "url": "https://github.com/storybookjs/storybook/issues" }, "repository": { "type": "git", - "url": "https://github.com/storybooks/storybook.git", + "url": "https://github.com/storybookjs/storybook.git", "directory": "addons/options" }, "license": "MIT", @@ -22,8 +22,8 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.39", - "core-js": "^2.6.5", + "@storybook/addons": "5.2.0-alpha.30", + "core-js": "^3.0.1", "util-deprecate": "^1.0.2" }, "peerDependencies": { diff --git a/addons/options/src/constants.ts b/addons/options/src/constants.ts index 1bca3336cd13..ba5ec2b90d5c 100644 --- a/addons/options/src/constants.ts +++ b/addons/options/src/constants.ts @@ -1,5 +1,5 @@ // addons, panels and events get unique names using a prefix -export const ADDON_ID = 'storybooks/options'; +export const ADDON_ID = 'storybookjs/options'; export default { SET: `${ADDON_ID}/options-event`, diff --git a/addons/options/src/index.ts b/addons/options/src/index.ts index acfaf60bdc98..3dbcfb0f00aa 100644 --- a/addons/options/src/index.ts +++ b/addons/options/src/index.ts @@ -7,7 +7,7 @@ function emitOptions(options: any) { const channel = addons.getChannel(); if (!channel) { throw new Error( - 'Failed to find addon channel. This may be due to https://github.com/storybooks/storybook/issues/1192.' + 'Failed to find addon channel. This may be due to https://github.com/storybookjs/storybook/issues/1192.' ); } diff --git a/addons/queryparams/README.md b/addons/queryparams/README.md new file mode 100644 index 000000000000..8f3402004371 --- /dev/null +++ b/addons/queryparams/README.md @@ -0,0 +1,32 @@ +# storybook-addon-queryparams + +This storybook addon can be helpful if your components need special query parameters to work the way you want them. + +## Getting started + +First, install the addon. + +```sh +$ yarn add @storybook/addon-queryparams --dev +``` + +import the `withQuery` decorator so the url will be changed before rendering stories. + +```js +import React from 'react'; +import { storiesOf, addDecorator } from '@storybook/react'; +import { withQuery } from '@storybook/addon-queryparams'; + +storiesOf('button', module) + .addDecorator(withQuery) + .addParameters({ + query: { + mock: true, + } + }) + .add('Prints the document.search', () => ( +
    + This is the current document.search: {document.search}, it includes `mock`! +
    + )); +``` diff --git a/addons/queryparams/package.json b/addons/queryparams/package.json new file mode 100644 index 000000000000..dd15b573a4e1 --- /dev/null +++ b/addons/queryparams/package.json @@ -0,0 +1,44 @@ +{ + "name": "@storybook/addon-queryparams", + "version": "5.2.0-alpha.30", + "description": "parameter addon for storybook", + "keywords": [ + "addon", + "storybook", + "query" + ], + "homepage": "https://github.com/storybookjs/storybook#readme", + "bugs": { + "url": "https://github.com/storybookjs/storybook/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/storybookjs/storybook.git", + "directory": "addons/addon-queryparams" + }, + "license": "MIT", + "main": "dist/index.js", + "types": "dist/index.d.ts", + "scripts": { + "prepare": "node ../../scripts/prepare.js" + }, + "dependencies": { + "@storybook/addons": "5.2.0-alpha.30", + "@storybook/api": "5.2.0-alpha.30", + "@storybook/client-logger": "5.2.0-alpha.30", + "@storybook/components": "5.2.0-alpha.30", + "@storybook/core-events": "5.2.0-alpha.30", + "@storybook/theming": "5.2.0-alpha.30", + "common-tags": "^1.8.0", + "core-js": "^3.0.1", + "global": "^4.3.2", + "qs": "^6.6.0", + "react": "^16.8.3" + }, + "devDependencies": { + "@types/common-tags": "^1.8.0" + }, + "publishConfig": { + "access": "public" + } +} diff --git a/addons/queryparams/src/constants.ts b/addons/queryparams/src/constants.ts new file mode 100755 index 000000000000..d8fc643d74ba --- /dev/null +++ b/addons/queryparams/src/constants.ts @@ -0,0 +1,3 @@ +export const ADDON_ID = 'storybook/queryparams'; +export const PANEL_ID = `${ADDON_ID}/panel`; +export const PARAM_KEY = `query`; diff --git a/addons/queryparams/src/index.ts b/addons/queryparams/src/index.ts new file mode 100644 index 000000000000..bdcc88545692 --- /dev/null +++ b/addons/queryparams/src/index.ts @@ -0,0 +1,30 @@ +import { document, history } from 'global'; +import qs from 'qs'; + +import { makeDecorator, StoryContext, StoryGetter } from '@storybook/addons'; + +import { PARAM_KEY } from './constants'; + +export const withQuery = makeDecorator({ + name: 'withQuery', + parameterName: PARAM_KEY, + wrapper: (getStory: StoryGetter, context: StoryContext, { parameters }) => { + const { location } = document; + const currentQuery = qs.parse(location.search, { ignoreQueryPrefix: true }); + const additionalQuery = + typeof parameters === 'string' + ? qs.parse(parameters, { ignoreQueryPrefix: true }) + : parameters; + + const newQuery = qs.stringify(Object.assign({}, currentQuery, additionalQuery)); + const newLocation = location.href.replace(location.search, `?${newQuery}`); + + history.replaceState({}, document.title, newLocation); + + return getStory(context); + }, +}); + +if (module && module.hot && module.hot.decline) { + module.hot.decline(); +} diff --git a/addons/queryparams/src/typings.d.ts b/addons/queryparams/src/typings.d.ts new file mode 100644 index 000000000000..e2d982c525cd --- /dev/null +++ b/addons/queryparams/src/typings.d.ts @@ -0,0 +1,2 @@ +declare module 'global'; +declare module 'react-sizeme'; diff --git a/addons/queryparams/tsconfig.json b/addons/queryparams/tsconfig.json new file mode 100644 index 000000000000..8876bb6737a1 --- /dev/null +++ b/addons/queryparams/tsconfig.json @@ -0,0 +1,13 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "rootDir": "./src", + "types": ["webpack-env"] + }, + "include": [ + "src/**/*" + ], + "exclude": [ + "src/__tests__/**/*" + ] +} diff --git a/addons/storyshots/storyshots-core/README.md b/addons/storyshots/storyshots-core/README.md index 22af72aadb5a..9ad8f9ed18bb 100644 --- a/addons/storyshots/storyshots-core/README.md +++ b/addons/storyshots/storyshots-core/README.md @@ -2,9 +2,9 @@ StoryShots adds automatic Jest Snapshot Testing for [Storybook](https://storybook.js.org/). -[Framework Support](https://github.com/storybooks/storybook/blob/master/ADDONS_SUPPORT.md) +[Framework Support](https://github.com/storybookjs/storybook/blob/master/ADDONS_SUPPORT.md) -![StoryShots In Action](https://raw.githubusercontent.com/storybooks/storybook/HEAD/addons/storyshots/storyshots-core/docs/storyshots-fail.png) +![StoryShots In Action](https://raw.githubusercontent.com/storybookjs/storybook/HEAD/addons/storyshots/storyshots-core/docs/storyshots-fail.png) To use StoryShots, you must use your existing Storybook stories as the input for Jest Snapshot Testing. @@ -26,7 +26,7 @@ If you still need to configure jest you can use the resources mentioned below: > Note: If you use React 16, you'll need to follow [these additional instructions](https://github.com/facebook/react/issues/9102#issuecomment-283873039). > -> Note: Make sure you have added the ```json``` extention to ```moduleFileExtensions``` in ```jest.config.json```. If this is missing it leads to the [following error](https://github.com/storybooks/storybook/issues/3728): ```Cannot find module 'spdx-license-ids' from 'scan.js'```. +> Note: Make sure you have added the ```json``` extention to ```moduleFileExtensions``` in ```jest.config.json```. If this is missing it leads to the [following error](https://github.com/storybookjs/storybook/issues/3728): ```Cannot find module 'spdx-license-ids' from 'scan.js'```. > > Note: Please make sure you are using ```jsdom``` as the testEnvironment on your jest config file. @@ -52,7 +52,7 @@ other tools may lack this feature. Since Storyshot is running under Jest, we need to polyfill this functionality to work with Jest. The easiest way is to integrate it to babel. -You can do this with a Babel [plugin](https://github.com/smrq/babel-plugin-require-context-hook) or [macro](https://github.com/storybooks/require-context.macro). If you're using `create-react-app` (v2 or above), use the macro. +You can do this with a Babel [plugin](https://github.com/smrq/babel-plugin-require-context-hook) or [macro](https://github.com/storybookjs/require-context.macro). If you're using `create-react-app` (v2 or above), use the macro. #### Option 1: Plugin @@ -194,7 +194,7 @@ That's all. Now run your Jest test command. (Usually, `npm test`.) Then you can see all of your stories are converted as Jest snapshot tests. -![Screenshot](https://raw.githubusercontent.com/storybooks/storybook/HEAD/addons/storyshots/storyshots-core/docs/storyshots.png) +![Screenshot](https://raw.githubusercontent.com/storybookjs/storybook/HEAD/addons/storyshots/storyshots-core/docs/storyshots.png) ### Using `createNodeMock` to mock refs @@ -435,7 +435,7 @@ initStoryshots({ }); ``` -This can be useful if you want to separate the snapshots in directories next to each component. See an example [here](https://github.com/storybooks/storybook/issues/892). +This can be useful if you want to separate the snapshots in directories next to each component. See an example [here](https://github.com/storybookjs/storybook/issues/892). If you want to run all stories except stories of a specific kind, you can write an inverse regex which is true for all kinds except those with a specific word such as `DontTest` @@ -579,7 +579,7 @@ components to ensure they do not error. ### `snapshotWithOptions(options)` -Like the default, but allows you to specify a set of options for the test renderer. [See for example here](https://github.com/storybooks/storybook/blob/b915b5439786e0edb17d7f5ab404bba9f7919381/examples/test-cra/src/storyshots.test.js#L14-L16). +Like the default, but allows you to specify a set of options for the test renderer. [See for example here](https://github.com/storybookjs/storybook/blob/b915b5439786e0edb17d7f5ab404bba9f7919381/examples/test-cra/src/storyshots.test.js#L14-L16). ### `renderWithOptions(options)` diff --git a/addons/storyshots/storyshots-core/package.json b/addons/storyshots/storyshots-core/package.json index 2a5d3af0bbaa..3779d7fa69f5 100644 --- a/addons/storyshots/storyshots-core/package.json +++ b/addons/storyshots/storyshots-core/package.json @@ -1,18 +1,18 @@ { "name": "@storybook/addon-storyshots", - "version": "5.1.0-alpha.39", + "version": "5.2.0-alpha.30", "description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.", "keywords": [ "addon", "storybook" ], - "homepage": "https://github.com/storybooks/storybook/tree/master/addons/storyshots/storyshots-core", + "homepage": "https://github.com/storybookjs/storybook/tree/master/addons/storyshots/storyshots-core", "bugs": { - "url": "https://github.com/storybooks/storybook/issues" + "url": "https://github.com/storybookjs/storybook/issues" }, "repository": { "type": "git", - "url": "https://github.com/storybooks/storybook.git", + "url": "https://github.com/storybookjs/storybook.git", "directory": "addons/storyshots/storyshots-core" }, "license": "MIT", @@ -25,18 +25,18 @@ "storybook": "start-storybook -p 6006" }, "dependencies": { - "@storybook/addons": "5.1.0-alpha.39", - "core-js": "^2.6.5", + "@storybook/addons": "5.2.0-alpha.30", + "core-js": "^3.0.1", "glob": "^7.1.3", "global": "^4.3.2", "jest-specific-snapshot": "^2.0.0", - "read-pkg-up": "^5.0.0", + "read-pkg-up": "^6.0.0", "regenerator-runtime": "^0.12.1" }, "devDependencies": { "enzyme-to-json": "^3.3.5", "jest-emotion": "^10.0.10", - "react": "^16.8.4" + "react": "^16.8.3" }, "publishConfig": { "access": "public" diff --git a/addons/storyshots/storyshots-core/src/frameworks/angular/helpers.ts b/addons/storyshots/storyshots-core/src/frameworks/angular/helpers.ts index 4304a96ff4cb..ca60567193c9 100644 --- a/addons/storyshots/storyshots-core/src/frameworks/angular/helpers.ts +++ b/addons/storyshots/storyshots-core/src/frameworks/angular/helpers.ts @@ -1,5 +1,5 @@ /* eslint-disable import/no-extraneous-dependencies */ -import { Component, Type } from '@angular/core'; +import { Component, Type, NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { BrowserModule } from '@angular/platform-browser'; import { AppComponent } from './app.component'; @@ -30,15 +30,55 @@ const createComponentFromTemplate = (template: string) => { template, })(componentClass); }; +const extractNgModuleMetadata = (importItem: any): NgModule => { + const decoratorKey = '__annotations__'; + const decorators: any[] = + Reflect && Reflect.getOwnPropertyDescriptor + ? Reflect.getOwnPropertyDescriptor(importItem, decoratorKey).value + : importItem[decoratorKey]; + + if (!decorators || decorators.length === 0) { + return null; + } + + const ngModuleDecorator: NgModule | undefined = decorators.find( + decorator => decorator instanceof NgModule + ); + if (!ngModuleDecorator) { + return null; + } + return ngModuleDecorator; +}; + +const getExistenceOfComponentInModules = ( + component: any, + declarations: any[], + imports: any[] +): boolean => { + if (declarations && declarations.some(declaration => declaration === component)) { + // Found component in declarations array + return true; + } + if (!imports) { + return false; + } + + return imports.some(importItem => { + const extractedNgModuleMetadata = extractNgModuleMetadata(importItem); + if (!extractedNgModuleMetadata) { + // Not an NgModule + return false; + } + return getExistenceOfComponentInModules( + component, + extractedNgModuleMetadata.declarations, + extractedNgModuleMetadata.imports + ); + }); +}; export const initModuleData = (storyObj: NgStory): any => { - const { - component, - template, - props, - moduleMetadata = {}, - requiresComponentDeclaration = true, - } = storyObj; + const { component, template, props, moduleMetadata = {} } = storyObj; const isCreatingComponentFromTemplate = Boolean(template); @@ -46,10 +86,17 @@ export const initModuleData = (storyObj: NgStory): any => { ? createComponentFromTemplate(template) : component; - const componentDeclarations = - isCreatingComponentFromTemplate || requiresComponentDeclaration - ? [AppComponent, AnnotatedComponent] - : [AppComponent]; + const componentRequiesDeclaration = + isCreatingComponentFromTemplate || + !getExistenceOfComponentInModules( + component, + moduleMetadata.declarations, + moduleMetadata.imports + ); + + const componentDeclarations = componentRequiesDeclaration + ? [AppComponent, AnnotatedComponent] + : [AppComponent]; const story = { component: AnnotatedComponent, diff --git a/addons/storyshots/storyshots-core/src/frameworks/angular/loader.js b/addons/storyshots/storyshots-core/src/frameworks/angular/loader.js index 8a236f84f3dc..e4a180c61c2e 100644 --- a/addons/storyshots/storyshots-core/src/frameworks/angular/loader.js +++ b/addons/storyshots/storyshots-core/src/frameworks/angular/loader.js @@ -1,13 +1,12 @@ import 'core-js'; -import 'core-js/es6/reflect'; -import 'core-js/es7/reflect'; +import 'core-js/es/reflect'; import hasDependency from '../hasDependency'; import configure from '../configure'; function setupAngularJestPreset() { // Needed to prevent "Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten." require.requireActual('core-js'); - require.requireActual('core-js/modules/es6.promise'); + require.requireActual('core-js/modules/es.promise'); // require.requireActual('core-js/es6/reflect'); // require.requireActual('core-js/es7/reflect'); diff --git a/addons/storyshots/storyshots-core/src/frameworks/angular/types.ts b/addons/storyshots/storyshots-core/src/frameworks/angular/types.ts index 36793bf7fb76..3582cb89f8a3 100644 --- a/addons/storyshots/storyshots-core/src/frameworks/angular/types.ts +++ b/addons/storyshots/storyshots-core/src/frameworks/angular/types.ts @@ -12,7 +12,6 @@ export interface ICollection { export interface NgStory { component?: any; - requiresComponentDeclaration?: boolean; props: ICollection; propsMeta?: ICollection; moduleMetadata?: NgModuleMetadata; diff --git a/addons/storyshots/storyshots-core/src/frameworks/hasDependency.js b/addons/storyshots/storyshots-core/src/frameworks/hasDependency.js index 673ff614221e..ba94fce81bb7 100644 --- a/addons/storyshots/storyshots-core/src/frameworks/hasDependency.js +++ b/addons/storyshots/storyshots-core/src/frameworks/hasDependency.js @@ -2,12 +2,12 @@ import fs from 'fs'; import path from 'path'; import readPkgUp from 'read-pkg-up'; -const { pkg } = readPkgUp.sync(); +const { package: { dependencies, devDependencies } = {} } = readPkgUp.sync() || {}; export default function hasDependency(name) { return ( - (pkg.devDependencies && pkg.devDependencies[name]) || - (pkg.dependencies && pkg.dependencies[name]) || + (devDependencies && devDependencies[name]) || + (dependencies && dependencies[name]) || fs.existsSync(path.join('node_modules', name, 'package.json')) ); } diff --git a/addons/storyshots/storyshots-core/src/frameworks/svelte/renderTree.js b/addons/storyshots/storyshots-core/src/frameworks/svelte/renderTree.js index 9c4db814632e..40df5d41ea29 100644 --- a/addons/storyshots/storyshots-core/src/frameworks/svelte/renderTree.js +++ b/addons/storyshots/storyshots-core/src/frameworks/svelte/renderTree.js @@ -12,12 +12,14 @@ import { document } from 'global'; * i.e. ({ Component, data }). */ function getRenderedTree(story) { - const { Component, data } = story.render(); + const { Component, props } = story.render(); + + const DefaultCompatComponent = Component.default || Component; // We need to create a target to mount onto. const target = document.createElement('section'); - new Component({ target, data }); // eslint-disable-line + new DefaultCompatComponent({ target, props }); // eslint-disable-line // Classify the target so that it is clear where the markup // originates from, and that it is specific for snapshot tests. diff --git a/addons/storyshots/storyshots-core/stories/required_with_context/Button.stories.js b/addons/storyshots/storyshots-core/stories/required_with_context/Button.stories.js index e63d097b98be..6dbfd97a1cdd 100644 --- a/addons/storyshots/storyshots-core/stories/required_with_context/Button.stories.js +++ b/addons/storyshots/storyshots-core/stories/required_with_context/Button.stories.js @@ -5,6 +5,9 @@ import { action } from '@storybook/addon-actions'; import { Button } from '@storybook/react/demo'; storiesOf('Button', module) + .addParameters({ + component: Button, + }) .add('with text', () => ) .add('with some emoji', () => (
    + ); +} ``` +Allows for both setting subscriptions to events and getting the emitter for emitting custom event unto the channel. + +The messages can be listened for on both the iframe and the manager side. + +### useAddonState + +```js +export const Panel = () => { + const [state, setState] = useAddonState('my/addon-id', 'initial state'); + + return ( + + ); +} +export const Tool = () => { + const [state, setState] = useAddonState('my/addon-id', 'initial state'); + + return ( + + ); +} +``` + +Extremely useful for addons that need to persist some state. + +Storybook may unmount your addon component, and so keeping local state, might not work really well. + +Also some addons consist of multiple parts, some part being in a panel, some in the toolbar etc. + +With this hook they can all get access to the same bit of state which is persisted even if the components are unmounted. + +### useParameter + +```js +export const Panel = () => { + const value = useParameter('parameter-key', 'default value'); + + return ( +
    + for the currently selected story, the parameter for "parameter-key" is: + {value} +
    + ); +} +``` + +This hook gets you the current story's parameter super easy. + +If the parameter isn't set, the default value (second argument) is returned instead. + +--- + ## Storybook API Storybook API allows you to access different functionalities of Storybook UI. You can move an instance to the Storybook API when you register an addon. Let's have a look at API methods. -### storybookAPI.selectStory() +### api.selectStory() With this method, you can select a story via an API. This method accepts two parameters. @@ -83,7 +214,7 @@ With this method, you can select a story via an API. This method accepts two par Let's say you've got a story like this: -```js +```jsx import { storiesOf } from '@storybook/react'; storiesOf('heading', module).add('with text', () =>

    Hello world

    ); @@ -91,29 +222,29 @@ storiesOf('heading', module).add('with text', () =>

    Hello world

    ); This is how you can select the above story: -```js -addonAPI.register('my-organisation/my-addon', storybookAPI => { - storybookAPI.selectStory('heading', 'with text'); +```jsx +addons.register('my-organisation/my-addon', api => { + api.selectStory('heading', 'with text'); }); ``` -### storybookAPI.selectInCurrentKind() +### api.selectInCurrentKind() Same as `selectStory`, but accepts a story inside current kind as the only parameter: -```js -addonAPI.register('my-organisation/my-addon', storybookAPI => { - storybookAPI.selectInCurrentKind('with text'); +```jsx +addons.register('my-organisation/my-addon', api => { + api.selectInCurrentKind('with text'); }); ``` -### storybookAPI.setQueryParams() +### api.setQueryParams() This method allows you to set query string parameters. You can use that as temporary storage for addons. Here's how you set query params. -```js -addonAPI.register('my-organisation/my-addon', storybookAPI => { - storybookAPI.setQueryParams({ +```jsx +addons.register('my-organisation/my-addon', api => { + api.setQueryParams({ abc: 'this is abc', bbc: 'this is bbc', }); @@ -122,73 +253,44 @@ addonAPI.register('my-organisation/my-addon', storybookAPI => { > If you need to remove a query param, use `null` for that. For an example, let's say we need to remove bbc query param. This is how we do it: -```js -addonAPI.register('my-organisation/my-addon', storybookAPI => { - storybookAPI.setQueryParams({ +```jsx +addons.register('my-organisation/my-addon', api => { + api.setQueryParams({ bbc: null, }); }); ``` -### storybookAPI.getQueryParam() +### api.getQueryParam() This method allows you to get a query param set by above API `setQueryParams`. For example, let's say we need to get the bbc query param. Then this how we do it: -```js -addonAPI.register('my-organisation/my-addon', storybookAPI => { - storybookAPI.getQueryParam('bbc'); +```jsx +addons.register('my-organisation/my-addon', api => { + api.getQueryParam('bbc'); }); ``` -### storybookAPI.getUrlState(overrideParams) +### api.getUrlState(overrideParams) This method allows you to get application url state with some changed params. For example, if you want to get a link to a particular story: -```js -addonAPI.register('my-organisation/my-addon', storybookAPI => { - const href = storybookAPI.getUrlState({ +```jsx +addons.register('my-organisation/my-addon', api => { + const href = api.getUrlState({ selectedKind: 'kind', selectedStory: 'story', }).url; }); ``` +### deprecated APIs -### storybookAPI.onStory(fn) +#### api.onStory(fn) This method allows you to register a handler function which will be called whenever the user navigates between stories. -```js -addonAPI.register('my-organisation/my-addon', storybookAPI => { - storybookAPI.onStory((kind, story) => console.log(kind, story)); +```jsx +addons.register('my-organisation/my-addon', api => { + api.onStory((kind, story) => console.log(kind, story)); }); ``` - -## `makeDecorator` API - -The `makeDecorator` API can be used to create decorators in the style of the official addons easily. Use it like so: - -```js -import { makeDecorator } from '@storybook/addons'; - -export makeDecorator({ - name: 'withSomething', - parameterName: 'something', - wrapper: (storyFn, context, { parameters }) => { - // Do something with `parameters`, which are set via { something: ... } - - // Note you may alter the story output if you like, although generally that's - // not advised - return storyFn(context); - } -}) -``` - -The options to `makeDecorator` are: - -- `name`: The name of the export (e.g. `withFoo`) -- `parameterName`: The name of the parameter your addon uses. This should be unique. -- `skipIfNoParametersOrOptions`: Don't run your decorator if the user hasn't set options (via `.addDecorator(withFoo(options)))`) or parameters (`.add('story', () => , { foo: 'param' })`, or `.addParameters({ foo: 'param' })`). -- `allowDeprecatedUsage`: support the deprecated "wrapper" usage (`.add('story', () => withFoo(options)(() => ))`). -- `wrapper`: your decorator function. Takes the `storyFn`, `context`, and both the `options` and `parameters` (as defined in `skipIfNoParametersOrOptions` above). - -Note if the parameters to a story include `{ foo: { disable: true } }` (where `foo` is the `parameterName` of your addon), your decorator will not be called. diff --git a/docs/src/pages/addons/introduction/index.md b/docs/src/pages/addons/introduction/index.md index 8ec62a2348a4..7d408f202a2d 100644 --- a/docs/src/pages/addons/introduction/index.md +++ b/docs/src/pages/addons/introduction/index.md @@ -100,7 +100,7 @@ storiesOf('Button', module) Native addons use Storybook as a platform and interact with it. Native addons can add extra features beyond wrapping stories. -For example, [storybook-actions](https://github.com/storybooks/storybook/tree/master/addons/actions) is such an addon. +For example, [storybook-actions](https://github.com/storybookjs/storybook/tree/master/addons/actions) is such an addon. ![Demo of Storybook Addon Actions](../static/addon-actions-demo.gif) diff --git a/docs/src/pages/addons/using-addons/index.md b/docs/src/pages/addons/using-addons/index.md index 4f74f9d33bd9..42cec71d9e4c 100644 --- a/docs/src/pages/addons/using-addons/index.md +++ b/docs/src/pages/addons/using-addons/index.md @@ -3,11 +3,11 @@ id: 'using-addons' title: 'Using Addons' --- -Storybook comes with a variety of "core" addons developed and maintained alongside Storybook. Most examples in this site use [actions](https://github.com/storybooks/storybook/tree/master/addons/actions) and [links](https://github.com/storybooks/storybook/tree/master/addons/links). But it's easy to use any third party addons distributed via NPM. +Storybook comes with a variety of "core" addons developed and maintained alongside Storybook. Most examples in this site use [actions](https://github.com/storybookjs/storybook/tree/master/addons/actions) and [links](https://github.com/storybookjs/storybook/tree/master/addons/links). But it's easy to use any third party addons distributed via NPM. Here's how to do it. -We are going to use an addon called [Notes](https://github.com/storybooks/storybook/tree/master/addons/notes). Basically, it allows you to write notes for your stories. +We are going to use an addon called [Notes](https://github.com/storybookjs/storybook/tree/master/addons/notes). Basically, it allows you to write notes for your stories. First, we need to install the addons: @@ -51,15 +51,13 @@ import Button from './Button'; storiesOf('Button', module).add( 'with some emoji', () => ( - () => ( - - ), - { notes: 'A very simple component' } - ) + + ), + { notes: 'A very simple component' } ); ``` @@ -84,6 +82,6 @@ addParameters({ }); ``` -Here's an example of a [production-ready config file](https://github.com/storybooks/storybook/blob/next/examples/cra-kitchen-sink/.storybook/config.js) from the cra-kitchen example. +Here's an example of a [production-ready config file](https://github.com/storybookjs/storybook/blob/next/examples/cra-kitchen-sink/.storybook/config.js) from the cra-kitchen example. Just like this, you can install any other addon and use it. Have a look at our [addon gallery](https://storybook.js.org/addons/) to discover more addons. diff --git a/docs/src/pages/addons/writing-addons/index.md b/docs/src/pages/addons/writing-addons/index.md index eaa34bd36626..6e4d5338bff1 100644 --- a/docs/src/pages/addons/writing-addons/index.md +++ b/docs/src/pages/addons/writing-addons/index.md @@ -36,7 +36,7 @@ With this, you can write some pretty cool addons. Look at our [Addon gallery](ht Let's write a simplistic addon for Storybook. We'll add some metadata to the story, which the addon can then use. -### Add simple metadata +### Add simple metadata using parameters We write a story for our addon like this: @@ -46,11 +46,12 @@ import { storiesOf } from '@storybook/react'; import Button from './Button'; -storiesOf('Button', module).add('with text', () => , { - myAddon: { - data: 'this data is passed to the addon', - }, -}); +storiesOf('Button', module) + .add('with text', () => , { + myAddon: { + data: 'this data is passed to the addon', + }, + }); ``` ### Add a panel @@ -62,48 +63,26 @@ We write an addon that responds to a change in story selection like so: import React from 'react'; import { STORY_RENDERED } from '@storybook/core-events'; -import addons, { types } from '@storybook/addons'; +import { addons, types } from '@storybook/addons'; +import { useParameter } from '@storybook/api'; +import { AddonPanel } from '@storybook/components'; const ADDON_ID = 'myaddon'; const PARAM_KEY = 'myAddon'; const PANEL_ID = `${ADDON_ID}/panel`; -class MyPanel extends React.Component { - state = { value: '' }; - - componentDidMount() { - const { api } = this.props; - - api.on(STORY_RENDERED, this.onStoryChange); - } - - componentWillUnmount() { - const { api } = this.props; - - api.off(STORY_RENDERED, this.onStoryChange); - } - - onStoryChange = id => { - const { api } = this.props; - const params = api.getParameters(id, PARAM_KEY); - - if (params && !params.disable) { - const value = params.data; - this.setState({ value }); - } else { - this.setState({ value: undefined }); - } - }; - - render() { - const { value } = this.state; - const { active } = this.props; - return active ?
    {value}
    : null; - } +const MyPanel = () => { + const value = useParameter(PARAM_KEY, null); + + return
    {value}
    ; } addons.register(ADDON_ID, api => { - const render = ({ active }) => ; + const render = ({ active, key }) => ( + + + + ); const title = 'My Addon'; addons.add(PANEL_ID, { @@ -158,8 +137,8 @@ import React from 'react'; import addons, { makeDecorator } from '@storybook/addons'; export default makeDecorator({ - name: 'withFoo', - parameterName: 'foo', + name: 'withMyAddon', + parameterName: 'myParameter', // This means don't run this decorator if the notes decorator is not set skipIfNoParametersOrOptions: true, wrapper: (getStory, context, { parameters }) => { @@ -167,7 +146,7 @@ export default makeDecorator({ // Our simple API above simply sets the notes parameter to a string, // which we send to the channel - channel.emit('foo/doSomeAction', parameters); + channel.emit('my/customEvent', parameters); // we can also add subscriptions here using channel.on('eventName', callback); return getStory(context); @@ -182,61 +161,69 @@ In the above case, it will emit the notes' text to the channel, so our panel can Then add the following code to the `register.js`. -Notice how the storybook API itself has `.on()`, `.off()` and `.emit()` methods just like the [EventEmitter](https://nodejs.org/api/events.html). +The storybook API itself has `.on()`, `.off()` and `.emit()` methods just like the [EventEmitter](https://nodejs.org/api/events.html). + +A very convenient way of using the channel in the manager is using the `useChannel` hook. ```js import React from 'react'; import addons from '@storybook/addons'; +import { useChannel } from '@storybook/api'; import { STORY_CHANGED } from '@storybook/core-events'; -class MyPanel extends React.Component { - onSomeAction = text => { - // do something with the passed data - }; - onStoryChange = id => { - // do something with the new selected storyId - }; - - componentDidMount() { - const { api } = this.props; - api.on('foo/doSomeAction', this.onSomeAction); - api.on(STORY_RENDERED, this.onStoryChange); - } - componentWillUnmount() { - const { api } = this.props; - api.off('foo/doSomeAction', this.onSomeAction); - api.off(STORY_RENDERED, this.onStoryChange); - } - - render() { - const { active } = this.props; +const MyPanel = () => { + const emit = useChannel({ + STORY_RENDERED: id => { /* do something */ }, + 'my/customEvent': () => { /* so something */ }, + }); - return active ?
    : null; - } + return ; } // Register the addon with a unique name. -addons.register('MYADDON', api => { +addons.register('my/addon', api => { // Also need to set a unique name to the panel. - addons.addPanel('MYADDON/panel', { + addons.addPanel('my/addon/panel', { title: 'My Addon', - render: ({ active, key }) => , + render: ({ active, key }) => ( + + + + ), }); }); ``` -It will register our addon and add a panel. In this case, the panel represents a React component called `MyPanel`. -That component has access to the storybook API. +It will register our addon and add a panel. In that we'll render React component called `MyPanel`. -Then it will listen for events. You can listen for core storybook events, event by other addons or custom events created by `index.js`. -Have a look at the above annotated code. +Using the hook, we'll listen for events and gain access to the `emit` function for emitting events from our component. -> In this example, we are only sending messages from the Preview Area to the Manager App (our panel). But we can do it the other way around as well. +> In this example, we are only sending messages from the Preview Area to the Manager App (our panel). -It also listens to another event, called onStory, in the storybook API, which fires when the user selects a story. We use that event to clear the previous notes when selecting a story. +It also listens to another event, called onStory, in the storybook API, which fires when the user selects a story. Multiple addons can be loaded, but only a single panel can be shown, the render function will receive an `active` prop, which is true if the addon is shown. It is up to you to decide if this mean your component must be unmounted, or just visually hidden. This allows you to keep state but unmount expensive renderings. +The `AddonPanel` component will stop rendering of it's children if it's `active`-prop is false. + +A great way of preserving state even when your component is unmounted is using the `useAddonState` hook: + +```js +export const Panel = () => { + const [state, setState] = useAddonState('my/addon-id', 'initial state'); + + return ( + + ); +} +``` + +This will store your addon's state into storybook core state, and so when your component gets unmounted & remounted, the state will just be restored. + +This is also a great way to sync state between multiple components of the same addon. + ### Using the complex addon Add the `register.js` to your `addons.js` file. @@ -246,14 +233,14 @@ Then you need to start using the decorator: ```js import React from 'react'; import { storiesOf } from '@storybook/react'; -import withFoo from 'path/to/index.js'; +import withMyAddon from 'path/to/index.js'; import Button from './Button'; storiesOf('Button', module) - .addDecorator(withFoo) + .addDecorator(withMyAddon) .add('with text', () => , { - foo: { + myParameter: { data: 'awesome', }, }); @@ -265,6 +252,8 @@ We use [emotion](https://emotion.sh) for styling, AND we provide a theme which c We highly recommend you also use emotion to style your components for storybook, but it's not a requirement. You can use inline styles or another css-in-js lib. You can receive the theme as a prop by using the `withTheme` hoc from emotion. [Read more about theming](/configurations/theming). +But if you do use emotion, you can use the active storybook theme, which benefits users. + ## Re-using existing components Wouldn't it be awesome if we provided you with some common used components you could use to build out your own addon quickly and fit in right away? @@ -277,7 +266,7 @@ You can learn more about the complete API [here](/addons/api). ## Packaging -You can package this addon into a NPM module very easily. As an example, have a look at this [package](https://github.com/storybooks/storybook/tree/master/addons/notes). +You can package this addon into a NPM module very easily. As an example, have a look at this [package](https://github.com/storybookjs/storybook/tree/master/addons/notes). In addition to moving the above code to a NPM module, we've set `react` and `@storybook/addons` as peer dependencies. diff --git a/docs/src/pages/basics/community/index.md b/docs/src/pages/basics/community/index.md index 6ee764a59af9..0306275cb108 100644 --- a/docs/src/pages/basics/community/index.md +++ b/docs/src/pages/basics/community/index.md @@ -3,10 +3,10 @@ id: 'community' title: 'Community' --- -Storybook is maintained by a [community of users](https://github.com/storybooks/storybook/graphs/contributors). It's easy to get involved and all contributions are welcome! +Storybook is maintained by a [community of users](https://github.com/storybookjs/storybook/graphs/contributors). It's easy to get involved and all contributions are welcome! -You can read about how to get involved in detail in our [Contribution Guide](https://github.com/storybooks/storybook/blob/master/CONTRIBUTING.md) but at a high level, a good place to get started is: +You can read about how to get involved in detail in our [Contribution Guide](https://github.com/storybookjs/storybook/blob/master/CONTRIBUTING.md) but at a high level, a good place to get started is: -1. Report issues at the [issue tracker](https://github.com/storybooks/storybook/issues). -2. Help us to triage issues above, by answering questions, helping to create [reproductions](https://github.com/storybooks/storybook/blob/master/CONTRIBUTING.md#reproductions), and clarifying feature requests. -3. Pitch in with a PR, especially those marked ["good first issue"](https://github.com/storybooks/storybook/labels/good%20first%20issue). +1. Report issues at the [issue tracker](https://github.com/storybookjs/storybook/issues). +2. Help us to triage issues above, by answering questions, helping to create [reproductions](https://github.com/storybookjs/storybook/blob/master/CONTRIBUTING.md#reproductions), and clarifying feature requests. +3. Pitch in with a PR, especially those marked ["good first issue"](https://github.com/storybookjs/storybook/labels/good%20first%20issue). diff --git a/docs/src/pages/basics/exporting-storybook/index.md b/docs/src/pages/basics/exporting-storybook/index.md index 5584978c86ea..80b981731e80 100644 --- a/docs/src/pages/basics/exporting-storybook/index.md +++ b/docs/src/pages/basics/exporting-storybook/index.md @@ -33,6 +33,6 @@ npx http-server .out ## Deploying to GitHub Pages -Additionally, you can deploy Storybook directly into GitHub pages with our [storybook-deployer](https://github.com/storybooks/storybook-deployer) tool. +Additionally, you can deploy Storybook directly into GitHub pages with our [storybook-deployer](https://github.com/storybookjs/storybook-deployer) tool. Or, you can simply export your storybook into the docs directory and use it as the root for GitHub pages. Have a look at [this guide](https://github.com/blog/2233-publish-your-project-documentation-with-github-pages) for more information. diff --git a/docs/src/pages/basics/faq/index.md b/docs/src/pages/basics/faq/index.md index 9c247593014f..0192f72ed9d0 100644 --- a/docs/src/pages/basics/faq/index.md +++ b/docs/src/pages/basics/faq/index.md @@ -3,7 +3,7 @@ id: 'faq' title: 'Frequently Asked Questions' --- -Here are some answers to frequently asked questions. If you have a question, you can ask it by opening an issue on the [Storybook Repository](https://github.com/storybooks/storybook/). +Here are some answers to frequently asked questions. If you have a question, you can ask it by opening an issue on the [Storybook Repository](https://github.com/storybookjs/storybook/). ### How can I run coverage tests with Create React App and leave out stories? @@ -35,7 +35,7 @@ A common error is that an addon tries to access the "channel", but the channel i addons.setChannel(mockChannel()); ``` -2. In React Native, it's a special case that's documented in [#1192](https://github.com/storybooks/storybook/issues/1192) +2. In React Native, it's a special case that's documented in [#1192](https://github.com/storybookjs/storybook/issues/1192) ### Can I modify React component state in stories? @@ -48,10 +48,11 @@ import { storiesOf } from '@storybook/react'; class MyComponent extends Component { constructor(props) { super(props) - this.setState({ + + this.state = { someVar: 'defaultValue', ...props.initialState - }) + } } // ... } diff --git a/docs/src/pages/basics/introduction/index.md b/docs/src/pages/basics/introduction/index.md index 81501a9139da..e2969b0c8996 100644 --- a/docs/src/pages/basics/introduction/index.md +++ b/docs/src/pages/basics/introduction/index.md @@ -17,3 +17,5 @@ Here are some featured Storybooks to see how it works: - [Demo of React Dates](http://airbnb.io/react-dates/) - [source](https://github.com/airbnb/react-dates) - [Demo of React Native Web](http://necolas.github.io/react-native-web/storybook/) - [source](https://github.com/necolas/react-native-web) + +Read the Learn Storybook [tutorial](https://www.learnstorybook.com) for a step by step guide to building an app with Storybook and to see how building components in isolation can supercharge your app development workflow. diff --git a/docs/src/pages/basics/live-examples/index.md b/docs/src/pages/basics/live-examples/index.md index ac96826e0b48..7ebe158d1ef1 100644 --- a/docs/src/pages/basics/live-examples/index.md +++ b/docs/src/pages/basics/live-examples/index.md @@ -3,7 +3,7 @@ id: 'live-examples' title: 'Live Examples' --- -### 5.0 +### 5.1 - [React Official](https://storybooks-official.netlify.com) - [Vue](https://storybooks-vue.netlify.com/) diff --git a/docs/src/pages/basics/writing-stories/index.md b/docs/src/pages/basics/writing-stories/index.md index ba3be8a8601b..393c3b3fb751 100644 --- a/docs/src/pages/basics/writing-stories/index.md +++ b/docs/src/pages/basics/writing-stories/index.md @@ -157,6 +157,22 @@ storiesOf('Component', module).add('With Markdown', () => , { }); ``` +## Searching + +By default, search results will show up based on the file name of your stories. As of storybook 5, you can extend this with `notes` to have certain stories show up when the search input contains matches. For example, if you built a `Callout` component that you want to be found by searching for `popover` or `tooltip` as well, you could use `notes` like this: + +```jsx +.add( + "Callout", + () => ( + Some children + ), + { + notes: "popover tooltip" + } +) +``` + ## Nesting stories Stories can be organized in a nested structure using "/" as a separator: @@ -206,7 +222,7 @@ configure it using the `hierarchyRootSeparator` config option. Visit the Nesting paths can be programmatically generated with template literals because story names are strings. -One example would be to use `base` from [`paths.macro`](https://github.com/storybooks/paths.macro): +One example would be to use `base` from [`paths.macro`](https://github.com/storybookjs/paths.macro): ```js import React from 'react'; diff --git a/docs/src/pages/configurations/cli-options/index.md b/docs/src/pages/configurations/cli-options/index.md index e1563d48051a..4e5e80f9c44a 100644 --- a/docs/src/pages/configurations/cli-options/index.md +++ b/docs/src/pages/configurations/cli-options/index.md @@ -46,6 +46,7 @@ Options: -o, --output-dir [dir-name] Directory where to store built files -c, --config-dir [dir-name] Directory where to load Storybook configurations from -w, --watch Enable watch mode +--loglevel [level] Control level of logging during build. Can be one of: [silly, verbose, info (default), warn, error, silent] --quiet Suppress verbose build output --no-dll Do not use dll reference --debug-webpack Display final webpack configurations for debugging purposes diff --git a/docs/src/pages/configurations/custom-webpack-config/index.md b/docs/src/pages/configurations/custom-webpack-config/index.md index 38ee659ea98c..8d56ee109d84 100644 --- a/docs/src/pages/configurations/custom-webpack-config/index.md +++ b/docs/src/pages/configurations/custom-webpack-config/index.md @@ -83,7 +83,7 @@ The webpack config [is configurable](/configurations/custom-webpack-config/), an { loader: 'babel-loader', options: { cacheDirectory: './node_modules/.cache/storybook', presets: [ - [ './node_modules/@babel/preset-env/lib/index.js', { shippedProposals: true, useBuiltIns: 'usage' } ], + [ './node_modules/@babel/preset-env/lib/index.js', { shippedProposals: true, useBuiltIns: 'usage', corejs: '3' } ], './node_modules/@babel/preset-react/lib/index.js', './node_modules/@babel/preset-flow/lib/index.js', ], @@ -153,7 +153,7 @@ The webpack config [is configurable](/configurations/custom-webpack-config/), an
    - Create a `.storybook/webpack.config.js` file. -- Edit it's contents: +- Edit its contents: ```js module.exports = async ({ config }) => console.dir(config.plugins, { depth: null }) || config; ``` @@ -188,7 +188,7 @@ module.exports = async ({ config, mode }) => { // Make whatever fine-grained changes you need config.module.rules.push({ test: /\.scss$/, - loaders: ['style-loader', 'css-loader', 'sass-loader'], + use: ['style-loader', 'css-loader', 'sass-loader'], include: path.resolve(__dirname, '../'), }); @@ -204,7 +204,7 @@ Nevertheless, edit `config` with care. Make sure to preserve the following confi - entry - output -Furthermore, `config` requires the `HtmlWebpackplugin` to generate the preview page, so rather than overwriting `config.plugins` you should probably append to it (or overwrite it with care), see [Issue #6020](https://github.com/storybooks/storybook/issues/6020) for examples: +Furthermore, `config` requires the `HtmlWebpackplugin` to generate the preview page, so rather than overwriting `config.plugins` you should probably append to it (or overwrite it with care), see [Issue #6020](https://github.com/storybookjs/storybook/issues/6020) for examples: ```js module.exports = async ({ config, mode }) => { @@ -219,7 +219,7 @@ Finally, if your custom webpack config uses a loader that does not explicitly in If your file exports an **object**, it puts Storybook into **extend-mode**. This mode is deprecated and will be removed in a future version. -Extend-mode _merges_ the exported object with Storybook's [default webpack configuration](../default-config/) which supports a bunch of common file types. The [merge operation](https://github.com/storybooks/storybook/blob/next/lib/core/src/server/utils/merge-webpack-config.js) appends webpack arrays like `rules` and `plugins` and merges objects like `optimization`. +Extend-mode _merges_ the exported object with Storybook's [default webpack configuration](../default-config/) which supports a bunch of common file types. The [merge operation](https://github.com/storybookjs/storybook/blob/next/lib/core/src/server/utils/merge-webpack-config.js) appends webpack arrays like `rules` and `plugins` and merges objects like `optimization`. For example, to add [SASS](http://sass-lang.com/) support to Storybook, install `style-loader`, `css-loader`, `sass-loader`, and `node-sass` and add the following snippet to `.storybook/webpack.config.js`: @@ -231,7 +231,7 @@ module.exports = { rules: [ { test: /\.scss$/, - loaders: ['style-loader', 'css-loader', 'sass-loader'], + use: ['style-loader', 'css-loader', 'sass-loader'], include: path.resolve(__dirname, '../'), }, ], diff --git a/docs/src/pages/configurations/default-config/index.md b/docs/src/pages/configurations/default-config/index.md index 7fee5c941a20..475da695fbb1 100644 --- a/docs/src/pages/configurations/default-config/index.md +++ b/docs/src/pages/configurations/default-config/index.md @@ -3,7 +3,7 @@ id: 'default-config' title: 'Default Config' --- -Let's learn about the default config comes with Storybook. +Let's learn about the default config that comes with Storybook. ## Babel @@ -14,7 +14,7 @@ Here are some key features of Storybook's Babel configurations. We have added ES2016 support with Babel for transpiling your JS code. In addition to that, we've added a few experimental features, like object spreading and async await. -Check out our [source](https://github.com/storybooks/storybook/blob/master/lib/core/src/server/config/babel.dev.js) to learn more about these plugins. +Check out our [source](https://github.com/storybookjs/storybook/blob/master/lib/core/src/server/config/babel.dev.js) to learn more about these plugins. ### .babelrc support @@ -102,7 +102,7 @@ The webpack config [is configurable](/configurations/custom-webpack-config/), an { loader: 'babel-loader', options: { cacheDirectory: './node_modules/.cache/storybook', presets: [ - [ './node_modules/@babel/preset-env/lib/index.js', { shippedProposals: true, useBuiltIns: 'usage' } ], + [ './node_modules/@babel/preset-env/lib/index.js', { shippedProposals: true, useBuiltIns: 'usage', corejs: '3' } ], './node_modules/@babel/preset-react/lib/index.js', './node_modules/@babel/preset-flow/lib/index.js', ], @@ -198,7 +198,7 @@ import { storiesOf } from '@storybook/react'; import imageFile from './static/image.png'; storiesOf('', module) - .add('with a image', () => ( + .add('with an image', () => ( covfefe )); ``` @@ -211,7 +211,7 @@ So, this is a good approach to loading all of your static content. ### JSON Loader You can import `.json` files, as you do with Node.js. -This will also allow you to use NPM projects, which imports `.json` files inside them. +This will also allow you to use NPM projects that import `.json` files inside them. ```js import React from 'react'; diff --git a/docs/src/pages/configurations/options-parameter/index.md b/docs/src/pages/configurations/options-parameter/index.md index ad1c33103c8f..a4586badd353 100644 --- a/docs/src/pages/configurations/options-parameter/index.md +++ b/docs/src/pages/configurations/options-parameter/index.md @@ -5,7 +5,7 @@ title: 'Options Parameter' Storybook UI is configurable using an options API that allows you to tweak its appearance globally and for each story. -> NOTE: If you've used older versions of Storybook this is formerly [addon-options](https://github.com/storybooks/storybook/tree/next/addons/options), which has been deprecated. +> NOTE: If you've used older versions of Storybook this is formerly [addon-options](https://github.com/storybookjs/storybook/tree/next/addons/options), which has been deprecated. ### Global options @@ -37,11 +37,6 @@ addParameters({ * @type {('bottom'|'right')} */ panelPosition: 'bottom', - /** - * sorts stories - * @type {Boolean} - */ - sortStoriesByKind: false, /** * regex for finding the hierarchy separator * @example: diff --git a/docs/src/pages/configurations/theming/index.md b/docs/src/pages/configurations/theming/index.md index 68e590a888b8..7d1fdf09b3b4 100644 --- a/docs/src/pages/configurations/theming/index.md +++ b/docs/src/pages/configurations/theming/index.md @@ -11,7 +11,7 @@ It's really easy to theme Storybook globally. We've created two basic themes that look good of the box: "normal" (a light theme) and "dark" (a dark theme). -As the simplest example example, you can tell Storybook to use the "dark" theme by modifyig `.storybook/config.js`: +As the simplest example, you can tell Storybook to use the "dark" theme by modifying `.storybook/config.js`: ```js import { addParameters } from '@storybook/react'; @@ -25,7 +25,7 @@ addParameters({ }); ``` -When setting a theme, set a full theme object. The theme is replaced not combined. +When setting a theme, set a full theme object. The theme is replaced, not combined. ## Dynamic theming @@ -123,7 +123,7 @@ export default create({ ## Addons and theme creation -Some addons require specific theme variables that a Storybook user must add. If you share your theme with the community make sure to support the official and other popular addons so your users have a consistent experience. +Some addons require specific theme variables that a Storybook user must add. If you share your theme with the community, make sure to support the official and other popular addons so your users have a consistent experience. For example, the popular Actions addon uses [react-inspector](https://github.com/xyc/react-inspector/blob/master/src/styles/themes/chromeLight.js) which has themes of its own. Supply additional theme variables to style it like so: diff --git a/docs/src/pages/configurations/typescript-config/index.md b/docs/src/pages/configurations/typescript-config/index.md index 661dfef054d3..e16f12536134 100644 --- a/docs/src/pages/configurations/typescript-config/index.md +++ b/docs/src/pages/configurations/typescript-config/index.md @@ -111,6 +111,10 @@ module.exports = ({ config, mode }) => { The default `tsconfig.json` that comes with CRA works great. If your stories are outside the `src` folder, for example the `stories` folder in root, then `"rootDirs": ["src", "stories"]` needs to be added to be added to `compilerOptions` so it knows what folders to compile. Make sure `jsx` is set to preserve. Should be unchanged. +## Create a TSX storybook index + +The default storybook index file is `stories/index.js` -- you'll want to rename this to `stories/index.tsx`. + ## Import tsx stories Change `config.ts` inside the Storybook config directory (by default, it’s `.storybook`) to import stories made with TypeScript: @@ -129,7 +133,7 @@ configure(loadStories, module); ## Using TypeScript with the TSDocgen addon -The very handy [Storybook Info addon](https://github.com/storybooks/storybook/tree/master/addons/info) autogenerates prop tables documentation for each component, however it doesn't work with Typescript types. The current solution is to use [react-docgen-typescript-loader](https://github.com/strothj/react-docgen-typescript-loader) to preprocess the TypeScript files to give the Info addon what it needs. The webpack config above does this, and so for the rest of your stories you use it as per normal: +The very handy [Storybook Info addon](https://github.com/storybookjs/storybook/tree/master/addons/info) autogenerates prop tables documentation for each component, however it doesn't work with Typescript types. The current solution is to use [react-docgen-typescript-loader](https://github.com/strothj/react-docgen-typescript-loader) to preprocess the TypeScript files to give the Info addon what it needs. The webpack config above does this, and so for the rest of your stories you use it as per normal: ```js import * as React from 'react'; diff --git a/docs/src/pages/guides/guide-ember/index.md b/docs/src/pages/guides/guide-ember/index.md index 39d5e131862a..911c4c52777f 100644 --- a/docs/src/pages/guides/guide-ember/index.md +++ b/docs/src/pages/guides/guide-ember/index.md @@ -78,7 +78,7 @@ That'll load stories in `../stories/index.js`. Now you can write some stories inside the `../stories/index.js` file, like this: -> It is import that you import the `hbs` function that is provided by a babel plugin in `@storybook/ember` +> It is important that you import the `hbs` function that is provided by a babel plugin in `@storybook/ember` ```js import hbs from 'htmlbars-inline-precompile'; diff --git a/docs/src/pages/guides/guide-rax/index.md b/docs/src/pages/guides/guide-rax/index.md new file mode 100644 index 000000000000..4c5994e9b14b --- /dev/null +++ b/docs/src/pages/guides/guide-rax/index.md @@ -0,0 +1,120 @@ +--- +id: 'guide-rax' +title: 'Storybook for Rax' +--- + +## Automatic setup + +You may have tried to use our quick start guide to setup your project for Storybook. +If it failed because it couldn't detect you're using [Rax](https://github.com/alibaba/rax), you could try forcing it to use Rax: + +```sh +npx -p @storybook/cli sb init --type rax +``` + +## Manual setup + +If you want to set up Storybook manually for your Rax project, this is the guide for you. + +## Step 1: Add dependencies + +### Add @storybook/rax + +Add `@storybook/rax` to your project. To do that, run: + +```sh +npm install @storybook/rax --save-dev +``` + +### Add rax, @babel/core and babel-loader + +Make sure that you have `rax`, `@babel/core`, and `babel-loader` in your dependencies as well because we list these as a peer dependencies: + +```sh +npm install rax --save +npm install babel-loader @babel/core --save-dev +``` + +## Step 2: Add a npm script + +Then add the following NPM script to your `package.json` in order to start the storybook later in this guide: + +```json +{ + "scripts": { + "storybook": "start-storybook" + } +} +``` + +## Step 3: Create the config file + +For a basic Storybook configuration, the only thing you need to do is tell Storybook where to find stories. + +To do that, create a file at `.storybook/config.js` with the following content: + +```js +import { configure } from '@storybook/rax'; + +function loadStories() { + require('../stories/index.js'); + // You can require as many stories as you need. +} + +configure(loadStories, module); +``` + +That'll load stories in `../stories/index.js`. You can choose where to place stories, you can co-locate them with source files, or place them in an other directory. + +> Requiring all your stories becomes bothersome real quick, so you can use this to load all stories matching a glob. +> +>
    +> details +> +> ```js +> import { configure } from '@storybook/rax'; +> +> function loadStories() { +> const req = require.context('../stories', true, /\.stories\.js$/); +> req.keys().forEach(filename => req(filename)); +> } +> +> configure(loadStories, module); +> ``` +> +>
    + +## Step 4: Write your stories + +Now create a `../stories/index.js` file, and write your first story like this: + +```js +import { createElement } from 'rax'; +import { storiesOf } from '@storybook/rax'; + +import Button from ''; + +storiesOf('Button', module) + .add('with text', () => ) + .add('with emoji', () => ); +``` + +Each story is a single state of your component. In the above case, there are two stories for the demo button component: + +```plaintext +Button + ├── with text + └── with emoji +``` + +## Finally: Run your Storybook + +Now everything is ready. Run your storybook with: + +```sh +npm run storybook +``` + +Storybook should start, on a random open port in dev-mode. + +Now you can develop your components and write stories and see the changes in Storybook immediately since it uses Webpack's hot module reloading. diff --git a/docs/src/pages/guides/guide-react-native/index.md b/docs/src/pages/guides/guide-react-native/index.md index 712192afd794..7a8f537dee87 100644 --- a/docs/src/pages/guides/guide-react-native/index.md +++ b/docs/src/pages/guides/guide-react-native/index.md @@ -3,7 +3,7 @@ id: 'guide-react-native' title: 'Storybook for React Native' --- -This guide will help you to manually setup React Native Storybook and explain about addons and Storybook server. +This guide will help you to manually setup React Native Storybook and explain about addons and Storybook server. ## Automatic setup @@ -27,13 +27,14 @@ npm i --save-dev @storybook/react-native **2. Create the Storybook directory.** Create a new directory called `storybook` in your project root. - + **3. Create an entry file for Storybook.** Create an `index.js` file as given below. Do not forget to replace `%APP_NAME%` with your app name if you are not using expo. -``storybook/index.js`` +`storybook/index.js` + ```js import { AppRegistry } from 'react-native'; import { getStorybookUI, configure } from '@storybook/react-native'; @@ -45,7 +46,7 @@ configure(() => { require('./stories'); }, module); -// Refer to https://github.com/storybooks/storybook/tree/master/app/react-native#start-command-parameters +// Refer to https://github.com/storybookjs/storybook/tree/master/app/react-native#start-command-parameters // To find allowed options for getStorybookUI const StorybookUIRoot = getStorybookUI({}); @@ -58,10 +59,10 @@ export default StorybookUIRoot; **4. Create a file for on device addons** -Create a file called `rn-addons.js` that you can use to include on device addons (more about them in addons section). -You can see an example below. +Create a file called `rn-addons.js` that you can use to include on device addons (more about them in addons section). You can see an example below. `storybook/rn-addons.js` + ``` import '@storybook/addon-ondevice-knobs/register'; import '@storybook/addon-ondevice-notes/register'; @@ -70,20 +71,19 @@ import '@storybook/addon-ondevice-notes/register'; **5. Display StorybookUI in your app.** - Finally you need to expose StorybookUI somewhere in your app. - The easiest solution is to replace your app entry with: - +Finally you need to expose StorybookUI somewhere in your app. +The easiest solution is to replace your app entry with: + ```js export default from './storybook'; ``` -If you cannot replace your entry point just make sure that the component exported from `./storybook` is displayed -somewhere in your app. `StorybookUI` is simply a RN `View` component that can be embedded anywhere in your -RN application, e.g. on a tab or within an admin screen. +If you cannot replace your entry point just make sure that the component exported from `./storybook` is displayed somewhere in your app. `StorybookUI` is simply a RN `View` component that can be embedded anywhere in your RN application, e.g. on a tab or within an admin screen. --- ## Writing stories + Now you can write some stories inside the `storybook/stories/index.js` file, like this: ```js @@ -95,39 +95,31 @@ const style = { flex: 1, justifyContent: 'center', alignItems: 'center', - backgroundColor: '#F5FCFF' + backgroundColor: '#F5FCFF', }; -const CenteredView = ({ children }) => ( - - {children} - -); - -storiesOf('CenteredView', module) - .add('default view', () => ( - - Hello Storybook - - )); +const CenteredView = ({ children }) => {children}; + +storiesOf('CenteredView', module).add('default view', () => ( + + Hello Storybook + +)); ``` Refer to [Writing Stories](https://storybook.js.org/basics/writing-stories) for more information. - - --- ## Addons Storybook supports addons. You can read more about them [here](https://storybook.js.org/addons/introduction) -There is one big difference in React Native is that it has two types of addons: Addons that work in the browser -and addons that work on the app itself (on device addons). +There is one big difference in React Native is that it has two types of addons: Addons that work in the browser and addons that work on the app itself (on device addons). ## Browser addons -Browser addons are default addons to storybook. You create a file called `addons.js` inside `storybook` directory and -the addons will be automatically loaded inside your browser. + +Browser addons are default addons to storybook. You create a file called `addons.js` inside `storybook` directory and the addons will be automatically loaded inside your browser. `storybook/addons.js` @@ -137,14 +129,13 @@ import '@storybook/addon-knobs/register'; ``` ## On device addons -On device addons are addons that are displayed in your app in addons panel. -To use them you have to create a file called `rn-addons.js` in `storybook` directory. -Because React Native does not dynamically resolve imports, you will also have to manually import this file before -`getStorybookUI` call. + +On device addons are addons that are displayed in your app in addons panel. To use them you have to create a file called `rn-addons.js` in `storybook` directory. Because React Native does not dynamically resolve imports, you will also have to manually import this file before the `getStorybookUI` call. Example: `storybook/rn-addons.js` + ```js import '@storybook/addon-ondevice-knobs/register'; import '@storybook/addon-ondevice-notes/register'; @@ -152,6 +143,7 @@ import '@storybook/addon-ondevice-notes/register'; ``` `storybook/index.js` + ```js import { getStorybookUI } from '@storybook/react-native'; @@ -166,46 +158,56 @@ export default StorybookUI; This step is done automatically when you install Storybook for the first time. ## Compatibility -Web and onDevice addon compatibility can be found [here](https://github.com/storybooks/storybook/blob/master/ADDONS_SUPPORT.md) + +Web and onDevice addon compatibility can be found [here](https://github.com/storybookjs/storybook/blob/master/ADDONS_SUPPORT.md) ## Performance of on device addons -Because on device addons are inside the app, they are also rerendered on every change. Be aware that this can have -performance implications for your app. - - --- - + +Because on device addons are inside the app, they are also rerendered on every change. Be aware that this can have performance implications for your app. + +--- + ## Storybook server -The default usage of React Native Storybook till version 4 involved starting Storybook server. -Starting from v4 we do not expect user to start the server since in most cases it is not really necessary. - -In case you still want to run Storybook server simply add the following script to your `package.json`. - ```json - { - "scripts": { - ... - "storybook": "storybook start" - } - } - ``` - -And then call `npm run storybook`. -Using Storybook server gives some additional functionality to Storybook for React Native. +Storybook RN server, `@storybook/react-native-server` is a seperate package that provides a standalone server that the Storybook ondevice client can connect to. + +Running storybook server gives a few advantages over simply running on-device: + +**Websockets connection.** By using websockets connection you can create your own tools that integrate with your storybook app and control it from outside of your app. + +**IDE Plugins.** Running server allows you to control your storybook view from inside web page or your IDE. There is a plugin for [JetBrains IDEs](https://plugins.jetbrains.com/plugin/9910-storybook) and there is one for [VS Code](https://github.com/orta/vscode-react-native-storybooks). + +**Web addons.** There are Storybook addons that work with React Native but do not have on device implementations. -**Websockets connection** +To run Storybook server, you need to install a few dependencies and add a run script to your `package.json`. -By using websockets connection you can create your own tools that integrate with your storybook app and control it from -outside of your app. +First: -**IDE Plugins** +```sh +npm i --save-dev @storybook/react-native-server babel-loader +``` -Having server running allows you to control your storybook view from inside web page or your ide. +Then: + +```json +{ + "scripts": { + ... + "storybook": "start-storybook -p 6006" + } +} +``` -There is a plugin for [JetBrains IDEs](https://plugins.jetbrains.com/plugin/9910-storybook) and there is one -for [VS Code](https://github.com/orta/vscode-react-native-storybooks). +Finally: + +```sh +npm run storybook +``` +### Historical notes -**Web addons** +Some context may be useful if you've used older versions of Storybook for RN and find these instructions confusing. -There are Storybook addons that work with React Native but do not have on device implementations. +Prior to v4, `@storybook/react-native` included a built-in server and needed that server to function. In v4.x, the server became optional, but was still included in the package. Finally in v5, we've split out the server into its own package (as documented above), and this has a variety of maintenance and compatibility benefits. +For more information, see the RN migration instructions for [v4](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#removed-rn-packager) and [v5](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#react-native-server). diff --git a/docs/src/pages/guides/guide-react/index.md b/docs/src/pages/guides/guide-react/index.md index f14d75e9f533..100478492f93 100644 --- a/docs/src/pages/guides/guide-react/index.md +++ b/docs/src/pages/guides/guide-react/index.md @@ -37,7 +37,7 @@ npm install react react-dom --save npm install babel-loader @babel/core --save-dev ``` -## Step 2: Add a npm script +## Step 2: Add an npm script Then add the following NPM script to your `package.json` in order to start the storybook later in this guide: diff --git a/docs/src/pages/guides/guide-svelte/index.md b/docs/src/pages/guides/guide-svelte/index.md index 07b80c80fcc6..3b38e81699bc 100644 --- a/docs/src/pages/guides/guide-svelte/index.md +++ b/docs/src/pages/guides/guide-svelte/index.md @@ -96,14 +96,14 @@ import MyButton from '../components/MyButton.svelte'; storiesOf('MyButton', module) .add('with text', () => ({ Component: MyButton, - data: { + props: { buttonText: 'some text', }, - })), - .add('with text', () => ({ + })) + .add('with some emojies', () => ({ Component: MyButton, - data: { + props: { buttonText: '😀 😎 👍 💯', }, })); @@ -116,7 +116,7 @@ So you can create a story "view" file, essentially just a .svelte file to load y ```html - + {buttonText} ``` @@ -136,7 +136,7 @@ storiesOf('Button', module) .add('wrapped component(s) example', () => ({ Components: MyButtonView, - data: { + props: { buttonText: 'some text', rounded: true, }, diff --git a/docs/src/pages/guides/quick-start-guide/index.md b/docs/src/pages/guides/quick-start-guide/index.md index 8718f2cc5988..38c285aa8a50 100644 --- a/docs/src/pages/guides/quick-start-guide/index.md +++ b/docs/src/pages/guides/quick-start-guide/index.md @@ -53,4 +53,4 @@ To learn more about what the Storybook CLI command `sb init` command does, have - [Riot](/guides/guide-riot/) - [Preact](/guides/guide-preact/) -A tutorial is also available at [Learn Storybook](https://www.learnstorybook.com) for a step-by-step guide (only available for React). +A step-by-step tutorial is available at [Learn Storybook](https://www.learnstorybook.com). diff --git a/docs/src/pages/presets/introduction/index.md b/docs/src/pages/presets/introduction/index.md new file mode 100644 index 000000000000..23b8e5f2cbc2 --- /dev/null +++ b/docs/src/pages/presets/introduction/index.md @@ -0,0 +1,55 @@ +--- +id: 'introduction' +title: 'Intro to Presets' +--- + +Storybook **presets** are grouped collections of `babel`, `webpack`, and `addons` configurations that support specific use cases. + +For example, to write your stories in Typescript, rather than [manually configuring Storybook for typescript](../configurations/typescript-config/) with individual [babel](../configurations/custom-babel-config/) and [webpack](../configurations/custom-webpack-config/) configs, you can simply use the `@storybook/preset-typescript` package, which does the heavy lifting for you. + +## Basic usage + +Each preset has its own installation instructions, but the idea of presets is to simply install the preset and then load it. + +For example, to get typescript support, first install the preset: + +```sh +yarn add @storybook/preset-typescript --dev +``` + +Then load it in the file `presets.js` in your storybook folder (`.storybook` by default): + +```js +module.exports = ['@storybook/preset-typescript']; +``` + +That's it. When Storybook starts up, it will configure itself for typescript without any further configuration. For more information, see the Typescript preset [README](https://github.com/storybookjs/presets/tree/master/packages/preset-typescript). + +## Preset configuration + +Presets can also take optional parameters. Sometimes these used by the preset itself, and another common case is to pass them through to configure webpack loaders that are used by the presets. + +Consider this example: + +```js +const path = require('path'); +module.exports = [ + { + name: '@storybook/preset-typescript', + options: { + tsDocgenLoaderOptions: { + tsconfigPath: path.resolve(__dirname, '../tsconfig.json'), + }, + include: [path.resolve(__dirname)], + }, + }, +]; +``` + +This configures the typescript docgen loader using the app's `tsconfig.json` and also tells the typescript loaders to only be applied to the current directory. + +Each preset has its own option and those options should be documented in the preset's README. + +## Go deeper + +To see what presets are available, see the [preset gallery](../preset-gallery/). To understand more about how presets work and write your own, see [writing presets](../writing-presets/). diff --git a/docs/src/pages/presets/preset-gallery/index.md b/docs/src/pages/presets/preset-gallery/index.md new file mode 100644 index 000000000000..450d98a61eef --- /dev/null +++ b/docs/src/pages/presets/preset-gallery/index.md @@ -0,0 +1,22 @@ +--- +id: 'preset-gallery' +title: 'Preset Gallery' +--- + +[Storybook presets](../introduction/) are a new feature in Storybook to dramatically simplify configuration. This is a list of available presets for Storybook. + +## Presets maintained by storybook team + +Storybook-maintained presets are available in the [Presets repo](https://github.com/storybookjs/presets). They include: + +### [Typescript](https://github.com/storybookjs/presets/tree/master/packages/preset-typescript) + +One-line Typescript w/ docgen configuration for storybook. + +### [SCSS](https://github.com/storybookjs/presets/tree/master/packages/preset-scss) + +One-line SCSS configuration for storybook. + +## Community presets + +There are no community presets available yet. Check back here or edit this page to add yours. diff --git a/docs/src/pages/presets/writing-presets/index.md b/docs/src/pages/presets/writing-presets/index.md new file mode 100644 index 000000000000..142eb975c058 --- /dev/null +++ b/docs/src/pages/presets/writing-presets/index.md @@ -0,0 +1,133 @@ +--- +id: 'writing-presets' +title: 'Writing Presets' +--- + +[Storybook presets](../introduction/) are grouped collections of `babel`, `webpack`, and `addons` configurations that support specific use cases in Storybook, such as typescript or MDX support. + +This doc covers the [presets API](#presets-api) and how to use the presets mechanism for [advanced configuration](#advanced-configuration). + +## Presets API + +A preset is a set of hooks that is called by Storybook on initialization and can override configurations for `babel`, `webpack`, `addons`, and `entries`. + +Each configuration has a similar signature, accepting a base configuration object and options, as in this webpack example: + +```js +export async function webpack(baseConfig, options) { + // Modify or replace config. Mutating the original reference object can cause unexpected bugs, + // so in this example we replace. + const { module = {} } = baseConfig; + + return { + ...baseConfig, + module: { + ...module, + rules: [ + ...(module.rules || []), + { + /* some new loader */ + }, + ], + }, + }; +} +``` + +### Babel + +The babel functions `babel`, `babelDefault`, and `managerBabel` all configure babel in different ways. + +All functions take a [Babel configuration object](https://babeljs.io/docs/en/configuration) as their argument and can modify it or return a new object. + +For example, Storybook's Vue support uses presets internally and here's how it configures babel: + +```js +export function babelDefault(config) { + return { + ...config, + presets: [...config.presets, require.resolve('babel-preset-vue')], + }; +} +``` + +- `babel` is applied to the preview config, after it has been initialized by storybook +- `babelDefault` is applied to the preview config before any user presets have been applied +- `managerBabel` is applied to the manager. + +### Webpack + +The webpack functions `webpack`, `webpackFinal`, and `managerWebpack` configure webpack. + +All functions take a [webpack4 configuration object](https://webpack.js.org/configuration/). + +For example, here is how Storybook automatically adopts `create-react-app`'s configuration if it's installed, where `applyCRAWebpackConfig` is a set of smart heuristics for modifying the input config. + +```js +export function webpackFinal(config, { configDir }) { + if (!isReactScriptsInstalled()) { + logger.info('=> Using base config because react-scripts is not installed.'); + return config; + } + + logger.info('=> Loading create-react-app config.'); + return applyCRAWebpackConfig(config, configDir); +} +``` + +- `webpack` is applied to the preview config after it has been initialized by storybook +- `webpackFinal` is applied to the preview config after all user presets have been applied +- `webpackManager` is applied to the manager config + +### Addons + +The addon config `addons` allows you to add addons to Storybook from within a preset. For addons that require custom webpack/babel configuration, it is easier to simply install the preset, and it will take care of everything. + +For example, the Storysource preset contains the following code: + +```js +export function addons(entry = []) { + return [...entry, require.resolve('@storybook/addon-storysource/register')]; +} +``` + +This is equivalent to [registering the addon manually](../../addons/using-addons/) in `addons.js`: + +```js +import '@storybook/addon-storysource/register'; +``` + +### Entries + +Entries are the place to register entry points for the preview. For example it could be used to make a basic configure-storybook preset that loads all the `*.stories.js` files into SB, instead of forcing people to copy-paste the same thing everywhere. + +## Advanced Configuration + +The presets API is also more powerful than the [standard configuration options](../custom-webpack-config/) available in Storybook, so it's also possible to use presets for more advanced configuration without actually publishing a preset yourself. + +For example, some users want to configure the webpack for Storybook's UI and addons ([issue](https://github.com/storybookjs/storybook/issues/4995)), but this is not possible using [standard webpack configuration](../custom-webpack-config/) (it used to be possible before SB4.1). However, you can achieve this with a private preset. + +First, create a file `my-preset.js` in your storybook folder: + +```js +export async function managerWebpack(config, options) { + // update config here + return config; +} +export async function managerBabel(config, options) { + // update config here + return config; +} +export async function webpack(config, options) { + return config; +} +export async function babel(config, options) { + return config; +} +``` + +Then, load that preset in your `presets.js` file: + +```js +module.exports = [path.resolve('./my-preset')]; +``` diff --git a/docs/src/pages/testing/automated-visual-testing/index.md b/docs/src/pages/testing/automated-visual-testing/index.md index a61c91384fd8..55238ef5d2f7 100644 --- a/docs/src/pages/testing/automated-visual-testing/index.md +++ b/docs/src/pages/testing/automated-visual-testing/index.md @@ -42,7 +42,7 @@ Here are some in alphabetical order: - [Loki](https://loki.js.org/) - [Percy](https://docs.percy.io/docs/storybook-for-react) - [Screener](https://screener.io/v2/docs) -- [StoryShots](https://github.com/storybooks/storybook/tree/master/addons/storyshots) with its [seamless integration](https://github.com/storybooks/storybook/tree/master/addons/storyshots#configure-storyshots-for-image-snapshots) with [jest-image-snapshot](https://github.com/americanexpress/jest-image-snapshot) +- [StoryShots](https://github.com/storybookjs/storybook/tree/master/addons/storyshots) with its [seamless integration](https://github.com/storybookjs/storybook/tree/master/addons/storyshots#configure-storyshots-for-image-snapshots) with [jest-image-snapshot](https://github.com/americanexpress/jest-image-snapshot) ## Custom Solutions diff --git a/docs/src/pages/testing/react-ui-testing/index.md b/docs/src/pages/testing/react-ui-testing/index.md index 67ad2a1058ca..ce1d900630cf 100644 --- a/docs/src/pages/testing/react-ui-testing/index.md +++ b/docs/src/pages/testing/react-ui-testing/index.md @@ -60,9 +60,8 @@ If we are using inline styles all the way, we can use JEST snapshot testing. But to get even better results, we should consider using tools such as: - [BackstopJS](https://github.com/garris/BackstopJS) -- [PhantomCSS](https://github.com/Huddle/PhantomCSS) - [Gemini](https://github.com/gemini-testing/gemini) -- [Happo](https://github.com/Galooshi/happo) +- [Happo](https://github.com/happo/happo.io) ### 4. Manual Testing diff --git a/docs/src/pages/testing/structural-testing/index.md b/docs/src/pages/testing/structural-testing/index.md index 131077b96505..139d55d7e511 100644 --- a/docs/src/pages/testing/structural-testing/index.md +++ b/docs/src/pages/testing/structural-testing/index.md @@ -5,7 +5,7 @@ title: 'Structural Testing' For React, [Jest's snapshot testing](https://facebook.github.io/jest/blog/2016/07/27/jest-14.html) is the best way to do Structural Testing. It's painless to use and maintain. -We've integrated Jest's snapshot testing directly into Storybook using an addon called [StoryShots](https://github.com/storybooks/storybook/tree/master/addons/storyshots). +We've integrated Jest's snapshot testing directly into Storybook using an addon called [StoryShots](https://github.com/storybookjs/storybook/tree/master/addons/storyshots). Now we can simply use existing stories as the input for snapshot testing. ## What's Snapshot Testing? @@ -24,7 +24,7 @@ If things are not the same, we can do two things: ## Using StoryShots -[StoryShots](https://github.com/storybooks/storybook/tree/master/addons/storyshots) is our integration between Storybook and Jest Snapshot Testing. +[StoryShots](https://github.com/storybookjs/storybook/tree/master/addons/storyshots) is our integration between Storybook and Jest Snapshot Testing. It's pretty simple to use. First, make sure you are inside a Storybook-enabled repo (make sure it has few stories). @@ -58,4 +58,4 @@ After you complete any changes, you can run the test again and find all struct * * * -StoryShots also comes with a variety of customization options. Have a look at the StoryShots [repo](https://github.com/storybooks/storybook/tree/master/addons/storyshots) for more information. +StoryShots also comes with a variety of customization options. Have a look at the StoryShots [repo](https://github.com/storybookjs/storybook/tree/master/addons/storyshots) for more information. diff --git a/docs/src/templates/_docstemplate.jsx b/docs/src/templates/_docstemplate.jsx index 7b3b70a63161..36f49d66bbd4 100644 --- a/docs/src/templates/_docstemplate.jsx +++ b/docs/src/templates/_docstemplate.jsx @@ -90,6 +90,7 @@ export const pageQuery = graphql` configurations testing addons + presets } } } diff --git a/docs/src/versions/latest.json b/docs/src/versions/latest.json index 9a36b64447c2..c0e4f2a14ad5 100644 --- a/docs/src/versions/latest.json +++ b/docs/src/versions/latest.json @@ -1 +1 @@ -{"version":"5.0.11","info":{"plain":"### Bug Fixes\n\n- Polymer: Fix re-rendering lit-html elements after non-lit-html element ([#5868](https://github.com/storybooks/storybook/pull/5868))\n- Addon-knobs: Check color knob value before applying uppercase ([#6598](https://github.com/storybooks/storybook/pull/6598))\n- Angular: Fix sourceMap property of angulars webpack config ([#6535](https://github.com/storybooks/storybook/pull/6535))"}} \ No newline at end of file +{"version":"5.2.0-alpha.23","info":{"plain":"Storybook 5.1 is a juicy upgrade including:\n\n- 📱 Mobile: Standalone package architecture for React Native\n- 🎟 A11y addon: Realtime accessibility checks and visual feedback\n- 🛠 Context addon: New UI for themes, internationalization, & more\n- 🎛 Presets: One-line configuration for babel, webpack, & addons\n\n5.1 contains hundreds more fixes, features, and tweaks. Browse the changelogs matching `5.1.0-alpha.*`, `5.1.0-beta.*`, and `5.1.0-rc.*` for the full list of changes. See [MIGRATION.md](https://github.com/storybookjs/storybook/blob/next/MIGRATION.md) to ugprade from `5.0` or earlier."}} \ No newline at end of file diff --git a/docs/src/versions/next.json b/docs/src/versions/next.json index 73303ad5460a..1e53ad711201 100644 --- a/docs/src/versions/next.json +++ b/docs/src/versions/next.json @@ -1 +1 @@ -{"version":"5.1.0-alpha.39","info":{"plain":"### Features\n\n- React-native: Ondevice actions ([#6594](https://github.com/storybooks/storybook/pull/6594))\n- React-native: Use emotion to style RN UI ([#6603](https://github.com/storybooks/storybook/pull/6603))\n\n### Bug Fixes\n\n- API: Mimic PureComponent behavior for Consumer children ([#6412](https://github.com/storybooks/storybook/pull/6412))"}} \ No newline at end of file +{"version":"5.2.0-alpha.30","info":{"plain":"This release merges `release/docs-technical-preview` branch back into `next` through a series of PRs. It also contains other changes that came in on `next` since the last alpha.\n\n### Features\n\n* CLI: Add info command to print environment information ([#6937](https://github.com/storybookjs/storybook/pull/6937))\n* CLI: Use process.env.CI if available ([#7118](https://github.com/storybookjs/storybook/pull/7118))\n* Addon-docs: Source loader library ([#7117](https://github.com/storybookjs/storybook/pull/7117))\n* Addon-docs: Support non-story exports in MDX ([#7188](https://github.com/storybookjs/storybook/pull/7188))\n* Addon-docs: Support non-story exports in module format ([#7185](https://github.com/storybookjs/storybook/pull/7185))\n* Addon-docs: Docs mode with `--docs` flag ([#7154](https://github.com/storybookjs/storybook/pull/7154))\n* Addon-docs: Convert to module format codemod ([#7174](https://github.com/storybookjs/storybook/pull/7174))\n* Addon-docs: MDX support ([#7145](https://github.com/storybookjs/storybook/pull/7145))\n* Addon-docs: Component parameter codemod ([#7155](https://github.com/storybookjs/storybook/pull/7155))\n* Addon-docs: DocsPage and doc blocks ([#7119](https://github.com/storybookjs/storybook/pull/7119))\n* Addon-docs: Module story format & framework param ([#7110](https://github.com/storybookjs/storybook/pull/7110))\n* Addon-docs: Basic skeleton, UI viewMode handling ([#7107](https://github.com/storybookjs/storybook/pull/7107))\n\n### Bug Fixes\n\n* Addon-backgrounds: Fix unstretched preview background wrapper ([#7173](https://github.com/storybookjs/storybook/pull/7173))\n* Addon-notes/info: Fix indenting on markdown code blocks ([#7158](https://github.com/storybookjs/storybook/pull/7158))\n* Core: Improve HMR error reporting, no refreshes needed for error recovery ([#6972](https://github.com/storybookjs/storybook/pull/6972))\n* Addon-info: change stylesheetBase info height from 110vh to 100vh ([#7141](https://github.com/storybookjs/storybook/pull/7141))\n\n### Maintenance\n\n* Typescript: Migrate addon viewport ([#7177](https://github.com/storybookjs/storybook/pull/7177))\n\n### Dependency Upgrades\n\n* Bump css-loader from 2.1.1 to 3.0.0 ([#7122](https://github.com/storybookjs/storybook/pull/7122))\n* Upgrade core-js to 3.x in devkits ([#7171](https://github.com/storybookjs/storybook/pull/7171))\n* UPGRADE lazy-universal-dotenv ([#7151](https://github.com/storybookjs/storybook/pull/7151))"}} \ No newline at end of file diff --git a/docs/yarn.lock b/docs/yarn.lock index 6eb362109c20..56b317a50c55 100644 --- a/docs/yarn.lock +++ b/docs/yarn.lock @@ -2,6 +2,24 @@ # yarn lockfile v1 +"@babel/code-frame@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0.tgz#06e2ab19bdb535385559aabb5ba59729482800f8" + integrity sha512-OfC2uemaknXr87bdLUkWog7nYuliM9Ij5HUcajsVcMCpQrcLmtxRbVFTIqmcSkSeYRBFBRxs2FiUqFJDLdiebA== + dependencies: + "@babel/highlight" "^7.0.0" + +"@babel/generator@^7.4.4": + version "7.4.4" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.4.4.tgz#174a215eb843fc392c7edcaabeaa873de6e8f041" + integrity sha512-53UOLK6TVNqKxf7RUh8NE851EHRxOOeVXKbK2bivdb+iziMyk03Sr4eaE9OELCbyZAAafAKPDwF2TPUES5QbxQ== + dependencies: + "@babel/types" "^7.4.4" + jsesc "^2.5.1" + lodash "^4.17.11" + source-map "^0.5.0" + trim-right "^1.0.1" + "@babel/helper-annotate-as-pure@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.0.0.tgz#323d39dd0b50e10c7c06ca7d7638e6864d8c5c32" @@ -9,6 +27,22 @@ dependencies: "@babel/types" "^7.0.0" +"@babel/helper-function-name@^7.1.0": + version "7.1.0" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.1.0.tgz#a0ceb01685f73355d4360c1247f582bfafc8ff53" + integrity sha512-A95XEoCpb3TO+KZzJ4S/5uW5fNe26DjBGqf1o9ucyLyCmi1dXq/B3c8iaWTfBk3VvetUxl16e8tIrd5teOCfGw== + dependencies: + "@babel/helper-get-function-arity" "^7.0.0" + "@babel/template" "^7.1.0" + "@babel/types" "^7.0.0" + +"@babel/helper-get-function-arity@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0.tgz#83572d4320e2a4657263734113c42868b64e49c3" + integrity sha512-r2DbJeg4svYvt3HOS74U4eWKsUAMRH01Z1ds1zx8KNTPtpTL5JAsdFv8BNyOpVqdFhHkkRDIg5B4AsxmkjAlmQ== + dependencies: + "@babel/types" "^7.0.0" + "@babel/helper-module-imports@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.0.0.tgz#96081b7111e486da4d2cd971ad1a4fe216cc2e3d" @@ -16,13 +50,65 @@ dependencies: "@babel/types" "^7.0.0" -"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.4.2", "@babel/runtime@^7.4.3": - version "7.4.3" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.4.3.tgz#79888e452034223ad9609187a0ad1fe0d2ad4bdc" - integrity sha512-9lsJwJLxDh/T3Q3SZszfWOTkk3pHbkmH+3KY+zwIDmsNlxsumuhS2TH3NIpktU4kNvfzy+k3eLT7aTJSPTo0OA== +"@babel/helper-split-export-declaration@^7.4.4": + version "7.4.4" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.4.4.tgz#ff94894a340be78f53f06af038b205c49d993677" + integrity sha512-Ro/XkzLf3JFITkW6b+hNxzZ1n5OQ80NvIUdmHspih1XAhtN3vPTuUFT4eQnela+2MaZ5ulH+iyP513KJrxbN7Q== + dependencies: + "@babel/types" "^7.4.4" + +"@babel/highlight@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.0.0.tgz#f710c38c8d458e6dd9a201afb637fcb781ce99e4" + integrity sha512-UFMC4ZeFC48Tpvj7C8UgLvtkaUuovQX+5xNWrsIoMG8o2z+XFKjKaN9iVmS84dPwVN00W4wPmqvYoZF3EGAsfw== + dependencies: + chalk "^2.0.0" + esutils "^2.0.2" + js-tokens "^4.0.0" + +"@babel/parser@^7.4.4", "@babel/parser@^7.4.5": + version "7.4.5" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.4.5.tgz#04af8d5d5a2b044a2a1bffacc1e5e6673544e872" + integrity sha512-9mUqkL1FF5T7f0WDFfAoDdiMVPWsdD1gZYzSnaXsxUCUqzuch/8of9G3VUSNiZmMBoRxT3neyVsqeiL/ZPcjew== + +"@babel/runtime@7.3.4": + version "7.3.4" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.3.4.tgz#73d12ba819e365fcf7fd152aed56d6df97d21c83" + integrity sha512-IvfvnMdSaLBateu0jfsYIpZTxAc2cKEXEMiezGGN75QcBcecDUKd3PgLAncT0oOgxKy8dd8hrJKj9MfzgfZd6g== + dependencies: + regenerator-runtime "^0.12.0" + +"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.4.2", "@babel/runtime@^7.4.5": + version "7.4.5" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.4.5.tgz#582bb531f5f9dc67d2fcb682979894f75e253f12" + integrity sha512-TuI4qpWZP6lGOGIuGWtp9sPluqYICmbk8T/1vpSysqJxRPkudh/ofFWyqdcMsDf2s7KvDL4/YHgKyvcS3g9CJQ== dependencies: regenerator-runtime "^0.13.2" +"@babel/template@^7.1.0": + version "7.4.4" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.4.4.tgz#f4b88d1225689a08f5bc3a17483545be9e4ed237" + integrity sha512-CiGzLN9KgAvgZsnivND7rkA+AeJ9JB0ciPOD4U59GKbQP2iQl+olF1l76kJOupqidozfZ32ghwBEJDhnk9MEcw== + dependencies: + "@babel/code-frame" "^7.0.0" + "@babel/parser" "^7.4.4" + "@babel/types" "^7.4.4" + +"@babel/traverse@^7.0.0": + version "7.4.5" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.4.5.tgz#4e92d1728fd2f1897dafdd321efbff92156c3216" + integrity sha512-Vc+qjynwkjRmIFGxy0KYoPj4FdVDxLej89kMHFsWScq999uX+pwcX4v9mWRjW0KcAYTPAuVQl2LKP1wEVLsp+A== + dependencies: + "@babel/code-frame" "^7.0.0" + "@babel/generator" "^7.4.4" + "@babel/helper-function-name" "^7.1.0" + "@babel/helper-split-export-declaration" "^7.4.4" + "@babel/parser" "^7.4.5" + "@babel/types" "^7.4.4" + debug "^4.1.0" + globals "^11.1.0" + lodash "^4.17.11" + "@babel/types@^7.0.0": version "7.3.4" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.3.4.tgz#bf482eaeaffb367a28abbf9357a94963235d90ed" @@ -32,23 +118,222 @@ lodash "^4.17.11" to-fast-properties "^2.0.0" -"@emotion/is-prop-valid@^0.7.3": +"@babel/types@^7.4.4": + version "7.4.4" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.4.4.tgz#8db9e9a629bb7c29370009b4b779ed93fe57d5f0" + integrity sha512-dOllgYdnEFOebhkKCjzSVFqw/PmmB8pH6RGOWkY4GsboQNd47b1fBThBSwlHAq9alF9vc1M3+6oqR47R50L0tQ== + dependencies: + esutils "^2.0.2" + lodash "^4.17.11" + to-fast-properties "^2.0.0" + +"@emotion/cache@^10.0.9": + version "10.0.9" + resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-10.0.9.tgz#e0c7b7a289f7530edcfad4dcf3858bd2e5700a6f" + integrity sha512-f7MblpE2xoimC4fCMZ9pivmsIn7hyWRIvY75owMDi8pdOSeh+w5tH3r4hBJv/LLrwiMM7cTQURqTPcYoL5pWnw== + dependencies: + "@emotion/sheet" "0.9.2" + "@emotion/stylis" "0.8.3" + "@emotion/utils" "0.11.1" + "@emotion/weak-memoize" "0.2.2" + +"@emotion/core@^10.0.9": + version "10.0.10" + resolved "https://registry.yarnpkg.com/@emotion/core/-/core-10.0.10.tgz#8d3114e5a2f8b178a7067c603a2937516f180b08" + integrity sha512-U1aE2cOWUscjc8ZJ3Cx32udOzLeRoJwGxBH93xQD850oQFpwPKZARzdUtdc9SByUOwzSFYxhDhrpXnV34FJmWg== + dependencies: + "@emotion/cache" "^10.0.9" + "@emotion/css" "^10.0.9" + "@emotion/serialize" "^0.11.6" + "@emotion/sheet" "0.9.2" + "@emotion/utils" "0.11.1" + +"@emotion/css@^10.0.9": + version "10.0.9" + resolved "https://registry.yarnpkg.com/@emotion/css/-/css-10.0.9.tgz#ea0df431965a308f6cb1d61386df8ad61e5befb5" + integrity sha512-jtHhUSWw+L7yxYgNtC+KJ3Ory90/jiAtpG1qT+gTQQ/RR5AMiigs9/lDHu/vnwljaq2S48FoKb/FZZMlJcC4bw== + dependencies: + "@emotion/serialize" "^0.11.6" + "@emotion/utils" "0.11.1" + babel-plugin-emotion "^10.0.9" + +"@emotion/hash@0.7.1": + version "0.7.1" + resolved "https://registry.yarnpkg.com/@emotion/hash/-/hash-0.7.1.tgz#9833722341379fb7d67f06a4b00ab3c37913da53" + integrity sha512-OYpa/Sg+2GDX+jibUfpZVn1YqSVRpYmTLF2eyAfrFTIJSbwyIrc+YscayoykvaOME/wV4BV0Sa0yqdMrgse6mA== + +"@emotion/is-prop-valid@0.7.3": version "0.7.3" resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-0.7.3.tgz#a6bf4fa5387cbba59d44e698a4680f481a8da6cc" integrity sha512-uxJqm/sqwXw3YPA5GXX365OBcJGFtxUVkB6WyezqFHlNe9jqUWH5ur2O2M8dGBz61kn1g3ZBlzUunFQXQIClhA== dependencies: "@emotion/memoize" "0.7.1" +"@emotion/is-prop-valid@^0.8.1": + version "0.8.1" + resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-0.8.1.tgz#6fb3ae2d24f07c8cd090f233e45771d9cd826d48" + integrity sha512-Wtaek/KGUP+HusWIa8DqtOR6U/Tl+QIdVkfJQHV3IT6ZImnJwklP5UVVPKZvkfljeFk3Q45CAPJ5N10gJ5XoLA== + dependencies: + "@emotion/memoize" "0.7.1" + "@emotion/memoize@0.7.1": version "0.7.1" resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.7.1.tgz#e93c13942592cf5ef01aa8297444dc192beee52f" integrity sha512-Qv4LTqO11jepd5Qmlp3M1YEjBumoTHcHFdgPTQ+sFlIL5myi/7xu/POwP7IRu6odBdmLXdtIs1D6TuW6kbwbbg== -"@emotion/unitless@^0.7.0": +"@emotion/serialize@^0.11.6": + version "0.11.6" + resolved "https://registry.yarnpkg.com/@emotion/serialize/-/serialize-0.11.6.tgz#78be8b9ee9ff49e0196233ba6ec1c1768ba1e1fc" + integrity sha512-n4zVv2qGLmspF99jaEUwnMV0fnEGsyUMsC/8KZKUSUTZMYljHE+j+B6rSD8PIFtaUIhHaxCG2JawN6L+OgLN0Q== + dependencies: + "@emotion/hash" "0.7.1" + "@emotion/memoize" "0.7.1" + "@emotion/unitless" "0.7.3" + "@emotion/utils" "0.11.1" + csstype "^2.5.7" + +"@emotion/sheet@0.9.2": + version "0.9.2" + resolved "https://registry.yarnpkg.com/@emotion/sheet/-/sheet-0.9.2.tgz#74e5c6b5e489a1ba30ab246ab5eedd96916487c4" + integrity sha512-pVBLzIbC/QCHDKJF2E82V2H/W/B004mDFQZiyo/MSR+VC4pV5JLG0TF/zgQDFvP3fZL/5RTPGEmXlYJBMUuJ+A== + +"@emotion/styled-base@^10.0.10": + version "10.0.10" + resolved "https://registry.yarnpkg.com/@emotion/styled-base/-/styled-base-10.0.10.tgz#ffb811295c9dcd9b3c12bf93301d7d8bcb02e6f4" + integrity sha512-uZwKrBfcH7jCRAQi5ZxsEGIZ+1Zr9/lof4TMsIolC0LSwpnWkQ+JRJLy+p4ZyATee9SdmyCV0sG/VTngVSnrpA== + dependencies: + "@emotion/is-prop-valid" "0.7.3" + "@emotion/serialize" "^0.11.6" + "@emotion/utils" "0.11.1" + object-assign "^4.1.1" + +"@emotion/styled@^10.0.7": + version "10.0.11" + resolved "https://registry.yarnpkg.com/@emotion/styled/-/styled-10.0.11.tgz#f749ca95bfe398b3e511b65ea14b16984f049e6d" + integrity sha512-c/M/JJHTQuqdY9viSZD41ccCJDe07/VMrj+JgOcyb8uDnRAr+3cCQ03tyrgl72bQD0YWcjXHhpA7Ja9S3+vuRw== + dependencies: + "@emotion/styled-base" "^10.0.10" + babel-plugin-emotion "^10.0.9" + +"@emotion/stylis@0.8.3": + version "0.8.3" + resolved "https://registry.yarnpkg.com/@emotion/stylis/-/stylis-0.8.3.tgz#3ca7e9bcb31b3cb4afbaeb66156d86ee85e23246" + integrity sha512-M3nMfJ6ndJMYloSIbYEBq6G3eqoYD41BpDOxreE8j0cb4fzz/5qvmqU9Mb2hzsXcCnIlGlWhS03PCzVGvTAe0Q== + +"@emotion/unitless@0.7.3", "@emotion/unitless@^0.7.0": version "0.7.3" resolved "https://registry.yarnpkg.com/@emotion/unitless/-/unitless-0.7.3.tgz#6310a047f12d21a1036fb031317219892440416f" integrity sha512-4zAPlpDEh2VwXswwr/t8xGNDGg8RQiPxtxZ3qQEXyQsBV39ptTdESCjuBvGze1nLMVrxmTIKmnO/nAV8Tqjjzg== +"@emotion/utils@0.11.1": + version "0.11.1" + resolved "https://registry.yarnpkg.com/@emotion/utils/-/utils-0.11.1.tgz#8529b7412a6eb4b48bdf6e720cc1b8e6e1e17628" + integrity sha512-8M3VN0hetwhsJ8dH8VkVy7xo5/1VoBsDOk/T4SJOeXwTO1c4uIqVNx2qyecLFnnUWD5vvUqHQ1gASSeUN6zcTg== + +"@emotion/weak-memoize@0.2.2": + version "0.2.2" + resolved "https://registry.yarnpkg.com/@emotion/weak-memoize/-/weak-memoize-0.2.2.tgz#63985d3d8b02530e0869962f4da09142ee8e200e" + integrity sha512-n/VQ4mbfr81aqkx/XmVicOLjviMuy02eenSdJY33SVA7S2J42EU0P1H0mOogfYedb3wXA0d/LVtBrgTSm04WEA== + +"@ndhoule/each@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@ndhoule/each/-/each-2.0.1.tgz#bbed372a603e0713a3193c706a73ddebc5b426a9" + integrity sha1-u+03KmA+BxOjGTxwanPd68W0Jqk= + dependencies: + "@ndhoule/keys" "^2.0.0" + +"@ndhoule/keys@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@ndhoule/keys/-/keys-2.0.0.tgz#3d64ae677c65a261747bf3a457c62eb292a4e0ce" + integrity sha1-PWSuZ3xlomF0e/OkV8YuspKk4M4= + +"@ndhoule/map@^2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@ndhoule/map/-/map-2.0.1.tgz#f5ca0a47424ea67f46e2a6d499b9e9bc886aefa8" + integrity sha1-9coKR0JOpn9G4qbUmbnpvIhq76g= + dependencies: + "@ndhoule/each" "^2.0.1" + +"@reach/router@^1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@reach/router/-/router-1.2.1.tgz#34ae3541a5ac44fa7796e5506a5d7274a162be4e" + integrity sha512-kTaX08X4g27tzIFQGRukaHmNbtMYDS3LEWIS8+l6OayGIw6Oyo1HIF/JzeuR2FoF9z6oV+x/wJSVSq4v8tcUGQ== + dependencies: + create-react-context "^0.2.1" + invariant "^2.2.3" + prop-types "^15.6.1" + react-lifecycles-compat "^3.0.4" + warning "^3.0.0" + +"@segment/snippet@^4.0.1": + version "4.4.0" + resolved "https://registry.yarnpkg.com/@segment/snippet/-/snippet-4.4.0.tgz#153f17b8048a2764bbb1343a61f3c3c24da038e2" + integrity sha1-FT8XuASKJ2S7sTQ6YfPDwk2gOOI= + dependencies: + "@ndhoule/map" "^2.0.1" + +"@storybook/client-logger@5.2.0-alpha.23": + version "5.2.0-alpha.23" + resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-5.2.0-alpha.23.tgz#c59078b0041b8f443edeb24841e4b7a4908e3d0c" + integrity sha512-2TdYE+LBfmiiefRPt3DXVfRAxIu28vkc5pksgCbEwk1jscL6rAtD423HvcwhNR2nMdIDTzjBjkxq0ISp5dEmxw== + dependencies: + core-js "^3.0.1" + +"@storybook/components@5.2.0-alpha.23": + version "5.2.0-alpha.23" + resolved "https://registry.yarnpkg.com/@storybook/components/-/components-5.2.0-alpha.23.tgz#df38d9dc5cf8245025dec25b247f4ce1b593f2c6" + integrity sha512-NaeB+r3eZPoyfZ6FrZk58Sy4zJVoTpVLhUHpc1cAhlQol8chuptUxreBDo6aRFYtVKOd/9rnyU/7B32ddxI+OA== + dependencies: + "@storybook/client-logger" "5.2.0-alpha.23" + "@storybook/router" "5.2.0-alpha.23" + "@storybook/theming" "5.2.0-alpha.23" + core-js "^3.0.1" + global "^4.3.2" + markdown-to-jsx "^6.9.1" + memoizerific "^1.11.3" + polished "^3.3.1" + popper.js "^1.14.7" + prop-types "^15.7.2" + react "^16.8.3" + react-addons-create-fragment "^15.6.2" + react-dom "^16.8.3" + react-focus-lock "^1.18.3" + react-helmet-async "^1.0.2" + react-popper-tooltip "^2.8.3" + react-syntax-highlighter "^8.0.1" + react-textarea-autosize "^7.1.0" + recompose "^0.30.0" + simplebar-react "^1.0.0-alpha.6" + +"@storybook/router@5.2.0-alpha.23": + version "5.2.0-alpha.23" + resolved "https://registry.yarnpkg.com/@storybook/router/-/router-5.2.0-alpha.23.tgz#ce3d1bf997ad0e18925fb270d48a92514242e456" + integrity sha512-eTjJUN3GzwCHIR+nXzcVNEqvr/dlJExhC68JmkQ8QuabHXodnhWYLRyrUNc8ATJjUxdlc2VT/PBj0xq+PsUuHg== + dependencies: + "@reach/router" "^1.2.1" + core-js "^3.0.1" + global "^4.3.2" + memoizerific "^1.11.3" + qs "^6.6.0" + +"@storybook/theming@5.2.0-alpha.23": + version "5.2.0-alpha.23" + resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-5.2.0-alpha.23.tgz#8f0ae7345416b605db619896656393f567a72396" + integrity sha512-8kUpX7ojq4pZH082MOxTC3lHLBrO7POwKrmviZHMWt+93FvaLfSerl9CK0lbEbWt+L8ZdsG+cXRNJbc+PJEI7A== + dependencies: + "@emotion/core" "^10.0.9" + "@emotion/styled" "^10.0.7" + "@storybook/client-logger" "5.2.0-alpha.23" + common-tags "^1.8.0" + core-js "^3.0.1" + deep-object-diff "^1.1.0" + emotion-theming "^10.0.9" + global "^4.3.2" + memoizerific "^1.11.3" + polished "^3.3.1" + prop-types "^15.7.2" + resolve-from "^5.0.0" + "@types/configstore@^2.1.1": version "2.1.1" resolved "https://registry.yarnpkg.com/@types/configstore/-/configstore-2.1.1.tgz#cd1e8553633ad3185c3f2f239ecff5d2643e92b6" @@ -59,6 +344,11 @@ resolved "https://registry.yarnpkg.com/@types/debug/-/debug-0.0.29.tgz#a1e514adfbd92f03a224ba54d693111dbf1f3754" integrity sha1-oeUUrfvZLwOiJLpU1pMRHb8fN1Q= +"@types/domhandler@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@types/domhandler/-/domhandler-2.4.1.tgz#7b3b347f7762180fbcb1ece1ce3dd0ebbb8c64cf" + integrity sha512-cfBw6q6tT5sa1gSPFSRKzF/xxYrrmeiut7E0TxNBObiLSBTuFEHibcfEe3waQPEDbqBsq+ql/TOniw65EyDFMA== + "@types/estree@0.0.38": version "0.0.38" resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.38.tgz#c1be40aa933723c608820a99a373a16d215a1ca2" @@ -99,41 +389,41 @@ integrity sha1-fyrX7FX5FEgvybHsS7GuYCjUYGY= "@types/node@*": - version "11.10.4" - resolved "https://registry.yarnpkg.com/@types/node/-/node-11.10.4.tgz#3f5fc4f0f322805f009e00ab35a2ff3d6b778e42" - integrity sha512-wa09itaLE8L705aXd8F80jnFpxz3Y1/KRHfKsYL2bPc0XF+wEWu8sR9n5bmeu8Ba1N9z2GRNzm/YdHcghLkLKg== + version "12.0.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-12.0.0.tgz#d11813b9c0ff8aaca29f04cbc12817f4c7d656e5" + integrity sha512-Jrb/x3HT4PTJp6a4avhmJCDEVrPdqLfl3e8GGMbpkGGdwAV5UGlIs4vVEfsHHfylZVOKZWpOqmqFH8CbfOZ6kg== "@types/node@^7.0.11": - version "7.10.5" - resolved "https://registry.yarnpkg.com/@types/node/-/node-7.10.5.tgz#6831006b2c87441d69e79b37ae9bc03246dfb379" - integrity sha512-RYkagUUbxQBss46ElbEa+j4q4X3GR12QwB7a/PM5hmVuVkYoW1jENT1+taspKUv8ibwW8cw+kRFbOaTc/Key3w== + version "7.10.6" + resolved "https://registry.yarnpkg.com/@types/node/-/node-7.10.6.tgz#c42137f0f2f6458bf0c898d65f48c5f600911475" + integrity sha512-d0BOAicT0tEdbdVQlLGOVul1kvg6YvbaADRCThGCz5NJ0e9r00SofcR1x69hmlCyrHuB6jd4cKzL9bMLjPnpAA== "@types/prop-types@*": - version "15.7.0" - resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.0.tgz#4c48fed958d6dcf9487195a0ef6456d5f6e0163a" - integrity sha512-eItQyV43bj4rR3JPV0Skpl1SncRCdziTEK9/v8VwXmV6d/qOUO8/EuWeHBbCZcsfSHfzI5UyMJLCSXtxxznyZg== + version "15.7.1" + resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.1.tgz#f1a11e7babb0c3cad68100be381d1e064c68f1f6" + integrity sha512-CFzn9idOEpHrgdw8JsoTkaDDyRWk1jrzIV8djzcgpq0y9tG4B4lFT+Nxh52DVpDXV+n4+NPNv7M1Dj5uMp6XFg== "@types/react-router-dom@^4.2.2": - version "4.3.1" - resolved "https://registry.yarnpkg.com/@types/react-router-dom/-/react-router-dom-4.3.1.tgz#71fe2918f8f60474a891520def40a63997dafe04" - integrity sha512-GbztJAScOmQ/7RsQfO4cd55RuH1W4g6V1gDW3j4riLlt+8yxYLqqsiMzmyuXBLzdFmDtX/uU2Bpcm0cmudv44A== + version "4.3.3" + resolved "https://registry.yarnpkg.com/@types/react-router-dom/-/react-router-dom-4.3.3.tgz#7837e3e9fefbc84a8f6c8a51dca004f4e83e94e3" + integrity sha512-xj0DmFjgvAqRfh/kJPO7apD5G30yPQe+8slu/dugioQOkdKpyzc4Fgk4hoTelm6CSHz7pI2PPsW5+Y6GRBF2zw== dependencies: "@types/history" "*" "@types/react" "*" "@types/react-router" "*" "@types/react-router@*": - version "4.4.4" - resolved "https://registry.yarnpkg.com/@types/react-router/-/react-router-4.4.4.tgz#4dbd5588ea6024e0c04519bd8aabe74c0a2b77e5" - integrity sha512-TZVfpT6nvUv/lbho/nRtckEtgkhspOQr3qxrnpXixwgQRKKyg5PvDfNKc8Uend/p/Pi70614VCmC0NPAKWF+0g== + version "4.4.5" + resolved "https://registry.yarnpkg.com/@types/react-router/-/react-router-4.4.5.tgz#1166997dc7eef2917b5ebce890ebecb32ee5c1b3" + integrity sha512-12+VOu1+xiC8RPc9yrgHCyLI79VswjtuqeS2gPrMcywH6tkc8rGIUhs4LaL3AJPqo5d+RPnfRpNKiJ7MK2Qhcg== dependencies: "@types/history" "*" "@types/react" "*" "@types/react@*": - version "16.8.6" - resolved "https://registry.yarnpkg.com/@types/react/-/react-16.8.6.tgz#fa1de3fe56cc9b6afeddc73d093d7f30fd5e31cc" - integrity sha512-bN9qDjEMltmHrl0PZRI4IF2AbB7V5UlRfG+OOduckVnRQ4VzXVSzy/1eLAh778IEqhTnW0mmgL9yShfinNverA== + version "16.8.16" + resolved "https://registry.yarnpkg.com/@types/react/-/react-16.8.16.tgz#2bf980b4fb29cceeb01b2c139b3e185e57d3e08e" + integrity sha512-A0+6kS6zwPtvubOLiCJmZ8li5bm3wKIkoKV0h3RdMDOnCj9cYkUnj3bWbE03/lcICdQmwBmUfoFiHeNhbFiyHQ== dependencies: "@types/prop-types" "*" csstype "^2.2.0" @@ -154,23 +444,28 @@ abbrev@1: integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== accepts@^1.3.0, accepts@~1.3.4, accepts@~1.3.5: - version "1.3.5" - resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.5.tgz#eb777df6011723a3b14e8a72c0805c8e86746bd2" - integrity sha1-63d99gEXI6OxTopywIBcjoZ0a9I= + version "1.3.7" + resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd" + integrity sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA== dependencies: - mime-types "~2.1.18" - negotiator "0.6.1" + mime-types "~2.1.24" + negotiator "0.6.2" acorn@^3.0.0: version "3.3.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a" integrity sha1-ReN/s56No/JbruP/U2niu18iAXo= -address@1.0.3, address@^1.0.1: +address@1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/address/-/address-1.0.3.tgz#b5f50631f8d6cec8bd20c963963afb55e06cbce9" integrity sha512-z55ocwKBRLryBs394Sm3ushTtBeg6VAeuku7utSoSnsJKvKcnXFIyC6vh27n3rXyxSgkJBBCAvyOn7gSUcTYjg== +address@^1.0.1: + version "1.1.0" + resolved "https://registry.yarnpkg.com/address/-/address-1.1.0.tgz#ef8e047847fcd2c5b6f50c16965f924fd99fe709" + integrity sha512-4diPfzWbLEIElVG4AnqP+00SULlPzNuyJFNnmMrLgyaxG6tZXJ1sn7mjBu4fHrJE+Yp/jgylOweJn2xsLMFggQ== + after@0.8.2: version "0.8.2" resolved "https://registry.yarnpkg.com/after/-/after-0.8.2.tgz#fedb394f9f0e02aa9768e702bda23b505fae7e1f" @@ -384,9 +679,9 @@ array-flatten@1.1.1: integrity sha1-ml9pkFGx5wczKPKgCJaLZOopVdI= array-iterate@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/array-iterate/-/array-iterate-1.1.2.tgz#f66a57e84426f8097f4197fbb6c051b8e5cdf7d8" - integrity sha512-1hWSHTIlG/8wtYD+PPX5AOBtKWngpDFjrsrHgZpe+JdgNGz0udYu6ZIkAa/xuenIUEqFv7DvE2Yr60jxweJSrQ== + version "1.1.3" + resolved "https://registry.yarnpkg.com/array-iterate/-/array-iterate-1.1.3.tgz#b116bdb1e37f3c3fec13acdfb91ac829f122543c" + integrity sha512-7MIv7HE9MuzfK6B2UnWv07oSHBLOaY1UUXAxZ07bIeRM+4IkPTlveMDs9MY//qvxPZPSvCn2XV4bmtQgSkVodg== array-map@~0.0.0: version "0.0.0" @@ -474,9 +769,9 @@ async-each-series@^1.1.0: integrity sha1-9C/YFV048hpbjqB8KOBj7RcAsTg= async-each@^1.0.0, async-each@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d" - integrity sha1-GdOGodntxufByF04iu28xW0zYC0= + version "1.0.3" + resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf" + integrity sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ== async-limiter@~1.0.0: version "1.0.0" @@ -777,15 +1072,40 @@ babel-plugin-check-es2015-constants@^6.22.0, babel-plugin-check-es2015-constants dependencies: babel-runtime "^6.22.0" -"babel-plugin-styled-components@>= 1", babel-plugin-styled-components@^1.10.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/babel-plugin-styled-components/-/babel-plugin-styled-components-1.10.0.tgz#ff1f42ad2cc78c21f26b62266b8f564dbc862939" - integrity sha512-sQVKG8irFXx14ZfaK1bBePirfkacl3j8nZwSZK+ZjsbnadRHKQTbhXbe/RB1vT6Vgkz45E+V95LBq4KqdhZUNw== +babel-plugin-emotion@^10.0.9: + version "10.0.9" + resolved "https://registry.yarnpkg.com/babel-plugin-emotion/-/babel-plugin-emotion-10.0.9.tgz#04a0404d5a4084d5296357a393d344c0f8303ae4" + integrity sha512-IfWP12e9/wHtWHxVTzD692Nbcmrmcz2tip7acp6YUqtrP7slAyr5B+69hyZ8jd55GsyNSZwryNnmuDEVe0j+7w== + dependencies: + "@babel/helper-module-imports" "^7.0.0" + "@emotion/hash" "0.7.1" + "@emotion/memoize" "0.7.1" + "@emotion/serialize" "^0.11.6" + babel-plugin-macros "^2.0.0" + babel-plugin-syntax-jsx "^6.18.0" + convert-source-map "^1.5.0" + escape-string-regexp "^1.0.5" + find-root "^1.1.0" + source-map "^0.5.7" + +babel-plugin-macros@^2.0.0: + version "2.5.1" + resolved "https://registry.yarnpkg.com/babel-plugin-macros/-/babel-plugin-macros-2.5.1.tgz#4a119ac2c2e19b458c259b9accd7ee34fd57ec6f" + integrity sha512-xN3KhAxPzsJ6OQTktCanNpIFnnMsCV+t8OloKxIL72D6+SUZYFn9qfklPgef5HyyDtzYZqqb+fs1S12+gQY82Q== + dependencies: + "@babel/runtime" "^7.4.2" + cosmiconfig "^5.2.0" + resolve "^1.10.0" + +"babel-plugin-styled-components@>= 1", babel-plugin-styled-components@^1.10.1: + version "1.10.1" + resolved "https://registry.yarnpkg.com/babel-plugin-styled-components/-/babel-plugin-styled-components-1.10.1.tgz#cc89ac5a13476ce675e13fbe53a826f9bb0ca4cd" + integrity sha512-F6R2TnPGNN6iuXCs0xQ+EsrunwNoWI55J5I8Pkd/+fzzbv1I4gFgTaZepMOVpLobYWU2XaLIm+73L0zD3CnOdQ== dependencies: "@babel/helper-annotate-as-pure" "^7.0.0" "@babel/helper-module-imports" "^7.0.0" babel-plugin-syntax-jsx "^6.18.0" - lodash "^4.17.10" + lodash "^4.17.11" babel-plugin-syntax-async-functions@^6.8.0: version "6.13.0" @@ -1473,9 +1793,9 @@ backo2@1.0.2: integrity sha1-MasayLEpNjRj41s+u2n038+6eUc= bail@^1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/bail/-/bail-1.0.3.tgz#63cfb9ddbac829b02a3128cd53224be78e6c21a3" - integrity sha512-1X8CnjFVQ+a+KW36uBNMTU5s8+v5FzeqrP7hTG5aTb4aPreSbZJlhwPon9VKMuEVgV++JM+SQrALY3kr7eswdg== + version "1.0.4" + resolved "https://registry.yarnpkg.com/bail/-/bail-1.0.4.tgz#7181b66d508aa3055d3f6c13f0a0c720641dde9b" + integrity sha512-S8vuDB4w6YpRhICUDET3guPlQpaJl7od94tpZ0Fvnyp+MKW/HyDTcRDck+29C9g+d/qQHnddRH3+94kZdrW0Ww== balanced-match@0.1.0: version "0.1.0" @@ -1497,11 +1817,6 @@ balanced-match@^1.0.0: resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c= -base-64@0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/base-64/-/base-64-0.1.0.tgz#780a99c84e7d600260361511c4877613bf24f6bb" - integrity sha1-eAqZyE59YAJgNhURxId2E78k9rs= - base64-arraybuffer@0.1.5: version "0.1.5" resolved "https://registry.yarnpkg.com/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz#73926771923b5a19747ad666aa5cd4bf9c6e9ce8" @@ -1664,9 +1979,9 @@ bin-wrapper@^3.0.0, bin-wrapper@^3.0.1: os-filter-obj "^1.0.0" binary-extensions@^1.0.0: - version "1.13.0" - resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.13.0.tgz#9523e001306a32444b907423f1de2164222f6ab1" - integrity sha512-EgmjVLMn22z7eGGv3kcnHwSnJXmFHjISTY9E/S5lIcTD3Oxw05QTcBLNkJFzcb3cNueUdF/IN4U+d78V0zO8Hw== + version "1.13.1" + resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.13.1.tgz#598afe54755b2868a5330d2aff9d4ebb53209b65" + integrity sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw== bl@^1.0.0: version "1.2.2" @@ -1682,9 +1997,9 @@ blob@0.0.5: integrity sha512-gaqbzQPqOoamawKg0LGVd7SzLgXS+JH61oWprSLH+P+abTczqJbhTR8CmJ2u9/bUYNmHTGJx/UEmn6doAvvuig== bluebird@^3.0.5, bluebird@^3.3.4, bluebird@^3.5.0: - version "3.5.3" - resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.3.tgz#7d01c6f9616c9a51ab0f8c549a79dfe6ec33efa7" - integrity sha512-/qKPUQlaW1OyR51WeCPBvRnAlnZFUJkCSG5HzGnuIqhgyJtF+T94lFnn33eiazjRm2LAHVy2guNnaq48X9SJuw== + version "3.5.4" + resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.4.tgz#d6cc661595de30d5b3af5fcedd3c0b3ef6ec5714" + integrity sha512-FG+nFEZChJrbQ9tIccIfZJBz3J7mLrAhxakAbnrJWn8d7aKOC+LWifa0G+p4ZqKp4y13T7juYvdhq9NzKdsrjw== bmp-js@0.0.3: version "0.0.3" @@ -1936,15 +2251,23 @@ buffer@^4.3.0, buffer@^4.9.0: ieee754 "^1.1.4" isarray "^1.0.0" +buffer@^5.2.1: + version "5.2.1" + resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.2.1.tgz#dd57fa0f109ac59c602479044dca7b8b3d0b71d6" + integrity sha512-c+Ko0loDaFfuPWiL02ls9Xd3GO3cPVmUobQ6t3rXNUk304u6hGq+8N/kFi+QEIKhzK3uwolVhLzszmfLmMLnqg== + dependencies: + base64-js "^1.0.2" + ieee754 "^1.1.4" + builtin-modules@^1.0.0: version "1.1.1" resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" integrity sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8= builtin-modules@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.0.0.tgz#1e587d44b006620d90286cc7a9238bbc6129cab1" - integrity sha512-hMIeU4K2ilbXV6Uv93ZZ0Avg/M91RaKXucQ+4me2Do1txxBDyDZWCBa5bJSLqoNTRpXTLwEzIk1KmloenDDjhg== + version "3.1.0" + resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.1.0.tgz#aad97c15131eb76b65b50ef208e7584cd76a7484" + integrity sha512-k0KL0aWZuBt2lrxrcASWDfwOLMnodeQjodT/1SxEQAXsHANgo6ZC/VEaSEHCXt7aSTZ4/4H5LKa+tBXmW7Vtvw== builtin-status-codes@^3.0.0: version "3.0.0" @@ -1956,6 +2279,11 @@ bytes@3.0.0: resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" integrity sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg= +bytes@3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.0.tgz#f6cf7933a360e0588fa9fde85651cdc7f805d1f6" + integrity sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg== + cache-base@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" @@ -1976,11 +2304,30 @@ call-me-maybe@^1.0.1: resolved "https://registry.yarnpkg.com/call-me-maybe/-/call-me-maybe-1.0.1.tgz#26d208ea89e37b5cbde60250a15f031c16a4d66b" integrity sha1-JtII6onje1y95gJQoV8DHBak1ms= +caller-callsite@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/caller-callsite/-/caller-callsite-2.0.0.tgz#847e0fce0a223750a9a027c54b33731ad3154134" + integrity sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ= + dependencies: + callsites "^2.0.0" + +caller-path@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/caller-path/-/caller-path-2.0.0.tgz#468f83044e369ab2010fac5f06ceee15bb2cb1f4" + integrity sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ= + dependencies: + caller-callsite "^2.0.0" + callsite@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/callsite/-/callsite-1.0.0.tgz#280398e5d664bd74038b6f0905153e6e8af1bc20" integrity sha1-KAOY5dZkvXQDi28JBRU+borxvCA= +callsites@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/callsites/-/callsites-2.0.0.tgz#06eb84f00eea413da86affefacbffb36093b3c50" + integrity sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA= + camelcase-keys@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-2.1.0.tgz#308beeaffdf28119051efa1d932213c91b8f92e7" @@ -2014,6 +2361,11 @@ camelize@^1.0.0: resolved "https://registry.yarnpkg.com/camelize/-/camelize-1.0.0.tgz#164a5483e630fa4321e5af07020e531831b2609b" integrity sha1-FkpUg+Yw+kMh5a8HAg5TGDGyYJs= +can-use-dom@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/can-use-dom/-/can-use-dom-0.1.0.tgz#22cc4a34a0abc43950f42c6411024a3f6366b45a" + integrity sha1-IsxKNKCrxDlQ9CxkEQJKP2NmtFo= + caniuse-api@^1.5.2, caniuse-api@^1.5.3: version "1.6.1" resolved "https://registry.yarnpkg.com/caniuse-api/-/caniuse-api-1.6.1.tgz#b534e7c734c4f81ec5fbe8aca2ad24354b962c6c" @@ -2025,14 +2377,14 @@ caniuse-api@^1.5.2, caniuse-api@^1.5.3: lodash.uniq "^4.5.0" caniuse-db@^1.0.30000529, caniuse-db@^1.0.30000634, caniuse-db@^1.0.30000639: - version "1.0.30000941" - resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000941.tgz#81ab7e49ecdd98c3c9a266b50205af9159ec60a6" - integrity sha512-xgDlJ1rEg4Zb1wqyiDw1Lwd2lIrG5El9vhHwURihFw8+Gk2PcyVh1RWaymOwFx6q49rMgVFqQAvLJmEU9RUUJg== + version "1.0.30000967" + resolved "https://registry.yarnpkg.com/caniuse-db/-/caniuse-db-1.0.30000967.tgz#a2e9e6260e026208250f3b2d587ef02314cefa86" + integrity sha512-70gk6cLSD5rItxnZ7WUxyCpM9LAjEb1tVzlENQfXQXZS/IiGnfAC6u32G5cZFlDBKjNPBIta/QSx5CZLZepxRA== caniuse-lite@^1.0.30000844: - version "1.0.30000941" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000941.tgz#f0810802b2ab8d27f4b625d4769a610e24d5a42c" - integrity sha512-4vzGb2MfZcO20VMPj1j6nRAixhmtlhkypM4fL4zhgzEucQIYiRzSqPcWIu1OF8i0FETD93FMIPWfUJCAcFvrqA== + version "1.0.30000967" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000967.tgz#a5039577806fccee80a04aaafb2c0890b1ee2f73" + integrity sha512-rUBIbap+VJfxTzrM4akJ00lkvVb5/n5v3EGXfWzSH5zT8aJmGzjA8HWhJ4U6kCpzxozUSnB+yvAYDRPY6mRpgQ== capture-stack-trace@^1.0.0: version "1.0.1" @@ -2107,9 +2459,9 @@ change-emitter@^0.1.2: integrity sha1-6LL+PX8at9aaMhma/5HqaTFAlRU= character-entities-html4@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/character-entities-html4/-/character-entities-html4-1.1.2.tgz#c44fdde3ce66b52e8d321d6c1bf46101f0150610" - integrity sha512-sIrXwyna2+5b0eB9W149izTPJk/KkJTg6mEzDGibwBUkyH1SbDa+nf515Ppdi3MaH35lW0JFJDWeq9Luzes1Iw== + version "1.1.3" + resolved "https://registry.yarnpkg.com/character-entities-html4/-/character-entities-html4-1.1.3.tgz#5ce6e01618e47048ac22f34f7f39db5c6fd679ef" + integrity sha512-SwnyZ7jQBCRHELk9zf2CN5AnGEc2nA+uKMZLHvcqhpPprjkYhiLn0DywMHgN5ttFZuITMATbh68M6VIVKwJbcg== character-entities-legacy@^1.0.0: version "1.1.2" @@ -2159,12 +2511,12 @@ cheerio@^0.22.0: lodash.some "^4.4.0" cheerio@^1.0.0-rc.2: - version "1.0.0-rc.2" - resolved "https://registry.yarnpkg.com/cheerio/-/cheerio-1.0.0-rc.2.tgz#4b9f53a81b27e4d5dac31c0ffd0cfa03cc6830db" - integrity sha1-S59TqBsn5NXawxwP/Qz6A8xoMNs= + version "1.0.0-rc.3" + resolved "https://registry.yarnpkg.com/cheerio/-/cheerio-1.0.0-rc.3.tgz#094636d425b2e9c0f4eb91a46c05630c9a1a8bf6" + integrity sha512-0td5ijfUPuubwLUu0OBoe98gZj8C/AA+RW3v67GPlGOrvxWjZmBXiBCRU+I8VEiNyJzjth40POfHiz2RB3gImA== dependencies: css-select "~1.2.0" - dom-serializer "~0.1.0" + dom-serializer "~0.1.1" entities "~1.1.1" htmlparser2 "^3.9.1" lodash "^4.15.0" @@ -2245,6 +2597,15 @@ cli-width@^2.0.0: resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" integrity sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk= +clipboard@^2.0.0: + version "2.0.4" + resolved "https://registry.yarnpkg.com/clipboard/-/clipboard-2.0.4.tgz#836dafd66cf0fea5d71ce5d5b0bf6e958009112d" + integrity sha512-Vw26VSLRpJfBofiVaFb/I8PVfdI1OxKcYShe6fm0sP/DtmiWQNCjhM/okTvdCo0G+lMMm1rMYbk4IK4x1X+kgQ== + dependencies: + good-listener "^1.2.2" + select "^1.1.2" + tiny-emitter "^2.0.0" + clipboardy@1.2.3: version "1.2.3" resolved "https://registry.yarnpkg.com/clipboardy/-/clipboardy-1.2.3.tgz#0526361bf78724c1f20be248d428e365433c07ef" @@ -2323,9 +2684,9 @@ code-point-at@^1.0.0: integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c= collapse-white-space@^1.0.0, collapse-white-space@^1.0.2: - version "1.0.4" - resolved "https://registry.yarnpkg.com/collapse-white-space/-/collapse-white-space-1.0.4.tgz#ce05cf49e54c3277ae573036a26851ba430a0091" - integrity sha512-YfQ1tAUZm561vpYD+5eyWN8+UsceQbSrqqlc/6zDY2gtAE+uZLSdkkovhnGpmCThsvKBFakq4EdY/FF93E8XIw== + version "1.0.5" + resolved "https://registry.yarnpkg.com/collapse-white-space/-/collapse-white-space-1.0.5.tgz#c2495b699ab1ed380d29a1091e01063e75dbbe3a" + integrity sha512-703bOOmytCYAX9cXYqoikYIx6twmFCXsnzRQheBcTG3nzKYBR4P/+wkYeH+Mvj7qUz8zZDtdyzbxfnEi/kYzRQ== collection-visit@^1.0.0: version "1.0.0" @@ -2395,9 +2756,9 @@ color@^0.11.0, color@^0.11.3, color@^0.11.4: color-string "^0.3.0" color@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/color/-/color-3.1.0.tgz#d8e9fb096732875774c84bf922815df0308d0ffc" - integrity sha512-CwyopLkuRYO5ei2EpzpIh6LqJMt6Mt+jZhO5VI5f/wJLZriXQE32/SSqzmrh+QB+AZT81Cj8yv+7zwToW8ahZg== + version "3.1.1" + resolved "https://registry.yarnpkg.com/color/-/color-3.1.1.tgz#7abf5c0d38e89378284e873c207ae2172dcc8a61" + integrity sha512-PvUltIXRjehRKPSy89VnDWFKY58xyhTLyxIg21vwQBI6qLwZNPmC8k3C1uytIgFKEpOIzN4y32iPm8231zFHIg== dependencies: color-convert "^1.9.1" color-string "^1.5.2" @@ -2424,11 +2785,9 @@ combined-stream@^1.0.6, combined-stream@~1.0.6: delayed-stream "~1.0.0" comma-separated-tokens@^1.0.0, comma-separated-tokens@^1.0.1: - version "1.0.5" - resolved "https://registry.yarnpkg.com/comma-separated-tokens/-/comma-separated-tokens-1.0.5.tgz#b13793131d9ea2d2431cf5b507ddec258f0ce0db" - integrity sha512-Cg90/fcK93n0ecgYTAz1jaA3zvnQ0ExlmKY1rdbyHqAx6BHxwoJc+J7HDu0iuQ7ixEs1qaa+WyQ6oeuBpYP1iA== - dependencies: - trim "0.0.1" + version "1.0.6" + resolved "https://registry.yarnpkg.com/comma-separated-tokens/-/comma-separated-tokens-1.0.6.tgz#3cd3d8adc725ab473843db338bcdfd4a7bb087bf" + integrity sha512-f20oA7jsrrmERTS70r3tmRSxR8IJV2MTN7qe6hzgX+3ARfXrdMJFvGWvWQK0xpcBurg9j9eO2MiqzZ8Y+/UPCA== command-exists@^1.2.2: version "1.2.8" @@ -2443,9 +2802,9 @@ commander@2.9.0, commander@2.9.x: graceful-readlink ">= 1.0.0" commander@^2.11.0: - version "2.19.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a" - integrity sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg== + version "2.20.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.0.tgz#d58bb2b5c1ee8f87b0d340027e9e94e222c5a422" + integrity sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ== commander@~2.8.1: version "2.8.1" @@ -2476,33 +2835,38 @@ component-bind@1.0.0: resolved "https://registry.yarnpkg.com/component-bind/-/component-bind-1.0.0.tgz#00c608ab7dcd93897c0009651b1d3a8e1e73bbd1" integrity sha1-AMYIq33Nk4l8AAllGx06jh5zu9E= -component-emitter@1.2.1, component-emitter@^1.2.1: +component-emitter@1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.2.1.tgz#137918d6d78283f7df7a6b7c5a63e140e69425e6" integrity sha1-E3kY1teCg/ffemt8WmPhQOaUJeY= +component-emitter@^1.2.1: + version "1.3.0" + resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" + integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg== + component-inherit@0.0.3: version "0.0.3" resolved "https://registry.yarnpkg.com/component-inherit/-/component-inherit-0.0.3.tgz#645fc4adf58b72b649d5cae65135619db26ff143" integrity sha1-ZF/ErfWLcrZJ1crmUTVhnbJv8UM= -compressible@~2.0.14: - version "2.0.16" - resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.16.tgz#a49bf9858f3821b64ce1be0296afc7380466a77f" - integrity sha512-JQfEOdnI7dASwCuSPWIeVYwc/zMsu/+tRhoUvEfXz2gxOA2DNjmG5vhtFdBlhWPPGo+RdT9S3tgc/uH5qgDiiA== +compressible@~2.0.16: + version "2.0.17" + resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.17.tgz#6e8c108a16ad58384a977f3a482ca20bff2f38c1" + integrity sha512-BGHeLCK1GV7j1bSmQQAi26X+GgWcTjLr/0tzSvMCl3LH1w1IJ4PFSPoV5316b30cneTziC+B1a+3OjoSUcQYmw== dependencies: - mime-db ">= 1.38.0 < 2" + mime-db ">= 1.40.0 < 2" compression@^1.5.2: - version "1.7.3" - resolved "https://registry.yarnpkg.com/compression/-/compression-1.7.3.tgz#27e0e176aaf260f7f2c2813c3e440adb9f1993db" - integrity sha512-HSjyBG5N1Nnz7tF2+O7A9XUhyjru71/fwgNb7oIsEVHR0WShfs2tIS/EySLgiTe98aOK18YDlMXpzjCXY/n9mg== + version "1.7.4" + resolved "https://registry.yarnpkg.com/compression/-/compression-1.7.4.tgz#95523eff170ca57c29a0ca41e6fe131f41e5bb8f" + integrity sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ== dependencies: accepts "~1.3.5" bytes "3.0.0" - compressible "~2.0.14" + compressible "~2.0.16" debug "2.6.9" - on-headers "~1.0.1" + on-headers "~1.0.2" safe-buffer "5.1.2" vary "~1.1.2" @@ -2619,11 +2983,31 @@ core-js@^2.4.0, core-js@^2.5.0: resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.5.tgz#44bc8d249e7fb2ff5d00e0341a7ffb94fbf67895" integrity sha512-klh/kDpwX8hryYL14M9w/xei6vrv6sE8gTHDG7/T/+SEovB/G4ejwcfE/CBzO6Edsu+OETZMZ3wcX/EjUkrl5A== +core-js@^2.4.1: + version "2.6.9" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.9.tgz#6b4b214620c834152e179323727fc19741b084f2" + integrity sha512-HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A== + +core-js@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.0.1.tgz#1343182634298f7f38622f95e73f54e48ddf4738" + integrity sha512-sco40rF+2KlE0ROMvydjkrVMMG1vYilP2ALoRXcYR4obqbYIuV3Bg+51GEDW+HF8n7NRA+iaA4qD0nD9lo9mew== + core-util-is@1.0.2, core-util-is@~1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= +cosmiconfig@^5.2.0: + version "5.2.1" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-5.2.1.tgz#040f726809c591e77a17c0a3626ca45b4f168b1a" + integrity sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA== + dependencies: + import-fresh "^2.0.0" + is-directory "^0.3.1" + js-yaml "^3.13.1" + parse-json "^4.0.0" + create-ecdh@^4.0.0: version "4.0.3" resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.3.tgz#c9111b6f33045c4697f144787f9254cdc77c45ff" @@ -2679,6 +3063,14 @@ create-react-context@<=0.2.2: fbjs "^0.8.0" gud "^1.0.0" +create-react-context@^0.2.1: + version "0.2.3" + resolved "https://registry.yarnpkg.com/create-react-context/-/create-react-context-0.2.3.tgz#9ec140a6914a22ef04b8b09b7771de89567cb6f3" + integrity sha512-CQBmD0+QGgTaxDL3OX1IDXYqjkp2It4RIbcb99jS6AEg27Ga+a9G3JtK6SIu0HBwPLZlmwt9F7UwWA4Bn92Rag== + dependencies: + fbjs "^0.8.0" + gud "^1.0.0" + cross-env@^3.1.1: version "3.2.4" resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-3.2.4.tgz#9e0585f277864ed421ce756f81a980ff0d698aba" @@ -2868,10 +3260,10 @@ csso@~2.3.1: clap "^1.0.9" source-map "^0.5.3" -csstype@^2.2.0: - version "2.6.3" - resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.3.tgz#b701e5968245bf9b08d54ac83d00b624e622a9fa" - integrity sha512-rINUZXOkcBmoHWEyu7JdHu5JMzkGRoMX4ov9830WNgxf5UYxcBUO0QTKAqeJ5EZfSdlrcJYkC8WwfVW7JYi4yg== +csstype@^2.2.0, csstype@^2.5.7: + version "2.6.4" + resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.4.tgz#d585a6062096e324e7187f80e04f92bd0f00e37f" + integrity sha512-lAJUJP3M6HxFXbqtGRc0iZrdyeN+WzOWeY0q/VnFzI+kqVrYIzC7bWlKqCW7oCIdzoPkvfp82EVvrTlQ8zsWQg== currently-unhandled@^0.4.1: version "0.4.1" @@ -2923,7 +3315,7 @@ death@^1.0.0: resolved "https://registry.yarnpkg.com/death/-/death-1.1.0.tgz#01aa9c401edd92750514470b8266390c66c67318" integrity sha1-AaqcQB7dknUFFEcLgmY5DGbGcxg= -debug@2, debug@2.6.9, debug@^2.1.2, debug@^2.2.0, debug@^2.3.3, debug@^2.6.0, debug@^2.6.3, debug@^2.6.6, debug@^2.6.8, debug@^2.6.9: +debug@2, debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.0, debug@^2.6.3, debug@^2.6.6, debug@^2.6.8, debug@^2.6.9: version "2.6.9" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== @@ -2937,6 +3329,13 @@ debug@^3.1.0, debug@^3.2.5, debug@^3.2.6: dependencies: ms "^2.1.1" +debug@^4.1.0, debug@~4.1.0: + version "4.1.1" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791" + integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw== + dependencies: + ms "^2.1.1" + debug@~3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" @@ -2944,13 +3343,6 @@ debug@~3.1.0: dependencies: ms "2.0.0" -debug@~4.1.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791" - integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw== - dependencies: - ms "^2.1.1" - decamelize@^1.0.0, decamelize@^1.1.1, decamelize@^1.1.2: version "1.2.0" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" @@ -3033,16 +3425,16 @@ decompress@^3.0.0: vinyl-assign "^1.0.1" vinyl-fs "^2.2.0" -deep-equal@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-1.0.1.tgz#f5d260292b660e084eff4cdbc9f08ad3247448b5" - integrity sha1-9dJgKStmDghO/0zbyfCK0yR0SLU= - deep-extend@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== +deep-object-diff@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/deep-object-diff/-/deep-object-diff-1.1.0.tgz#d6fabf476c2ed1751fc94d5ca693d2ed8c18bc5a" + integrity sha512-b+QLs5vHgS+IoSNcUE4n9HP2NwcHj7aqnJWsjPtuG75Rh5TOaGt0OjAYInh77d5T16V5cRDC+Pw/6ZZZiETBGw== + deepmerge@^2.0.1: version "2.2.1" resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-2.2.1.tgz#5d3ff22a01c00f645405a2fbc17d0778a1801170" @@ -3099,6 +3491,11 @@ delayed-stream@~1.0.0: resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk= +delegate@^3.1.2: + version "3.2.0" + resolved "https://registry.yarnpkg.com/delegate/-/delegate-3.2.0.tgz#b66b71c3158522e8ab5744f720d8ca0c2af59166" + integrity sha512-IofjkYBZaZivn0V8nnsMJGBr4jVLxHDheKSW88PyxS5QC4Vo9ZbZVvhzlSxY87fVq3STR6r+4cGepyHkcWOQSw== + delegates@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" @@ -3219,7 +3616,7 @@ dom-helpers@^3.2.0, dom-helpers@^3.2.1: dependencies: "@babel/runtime" "^7.1.2" -dom-serializer@0, dom-serializer@~0.1.0: +dom-serializer@0, dom-serializer@~0.1.0, dom-serializer@~0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.1.1.tgz#1ec4059e284babed36eec2941d4a970a189ce7c0" integrity sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA== @@ -3242,6 +3639,13 @@ domelementtype@1, domelementtype@^1.3.0, domelementtype@^1.3.1: resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.1.tgz#d048c44b37b0d10a7f2a3d5fee3f4333d790481f" integrity sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w== +domhandler@2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-2.3.0.tgz#2de59a0822d5027fabff6f032c2b25a2a8abe738" + integrity sha1-LeWaCCLVAn+r/28DLCsloqir5zg= + dependencies: + domelementtype "1" + domhandler@^2.3.0: version "2.4.2" resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-2.4.2.tgz#8805097e933d65e85546f726d60f5eb88b44f803" @@ -3366,11 +3770,11 @@ ee-first@1.1.1: integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= electron-to-chromium@^1.2.7, electron-to-chromium@^1.3.47: - version "1.3.113" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.113.tgz#b1ccf619df7295aea17bc6951dc689632629e4a9" - integrity sha512-De+lPAxEcpxvqPTyZAXELNpRZXABRxf+uL/rSykstQhzj/B0l1150G/ExIIxKc16lI89Hgz81J0BHAcbTqK49g== + version "1.3.131" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.131.tgz#205a0b7a276b3f56bc056f19178909243054252a" + integrity sha512-NSO4jLeyGLWrT4mzzfYX8vt1MYCoMI5LxSYAjt0H9+LF/14JyiKJSyyjA6AJTxflZlEM5v3QU33F0ohbPMCAPg== -element-resize-detector@^1.1.12: +element-resize-detector@^1.1.15: version "1.1.15" resolved "https://registry.yarnpkg.com/element-resize-detector/-/element-resize-detector-1.1.15.tgz#48eba1a2eaa26969a4c998d972171128c971d8d2" integrity sha512-16/5avDegXlUxytGgaumhjyQoM6hpp5j3+L79sYq5hlXfTNRy5WMMuTVWkZU3egp/CokCmTmvf18P3KeB57Iog== @@ -3400,6 +3804,15 @@ emojis-list@^2.0.0: resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389" integrity sha1-TapNnbAPmBmIDHn6RXrlsJof04k= +emotion-theming@^10.0.9: + version "10.0.10" + resolved "https://registry.yarnpkg.com/emotion-theming/-/emotion-theming-10.0.10.tgz#efe8751119751bdc70fdc1795fe4cde0fb0cf14c" + integrity sha512-E4SQ3Y91avxxydDgubi/po/GaC5MM1XHm8kcClKg1PA/TeOye0PiLBzAzlgt9dBzDRV9+qHDunsayPvzVYIYng== + dependencies: + "@emotion/weak-memoize" "0.2.2" + hoist-non-react-statics "^3.3.0" + object-assign "^4.1.1" + encodeurl@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" @@ -3495,7 +3908,7 @@ errno@^0.1.3: dependencies: prr "~1.0.1" -error-ex@^1.2.0: +error-ex@^1.2.0, error-ex@^1.3.1: version "1.3.2" resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== @@ -3538,13 +3951,13 @@ es-to-primitive@^1.2.0: is-symbol "^1.0.2" es5-ext@^0.10.12, es5-ext@^0.10.35, es5-ext@^0.10.9, es5-ext@~0.10.14: - version "0.10.48" - resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.48.tgz#9a0b31eeded39e64453bcedf6f9d50bbbfb43850" - integrity sha512-CdRvPlX/24Mj5L4NVxTs4804sxiS2CjVprgCmrgoDkdmjdY4D+ySHa7K3jJf8R40dFg0tIm3z/dk326LrnuSGw== + version "0.10.50" + resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.50.tgz#6d0e23a0abdb27018e5ac4fd09b412bc5517a778" + integrity sha512-KMzZTPBkeQV/JcSQhI5/z6d9VWJ3EnQ194USTUwIYZ2ZbpN8+SGXQKt1h68EX44+qt+Fzr8DO17vnxrw7c3agw== dependencies: es6-iterator "~2.0.3" es6-symbol "~3.1.1" - next-tick "1" + next-tick "^1.0.0" es6-iterator@~2.0.3: version "2.0.3" @@ -3625,16 +4038,16 @@ ev-emitter@^1.0.0: integrity sha512-ipiDYhdQSCZ4hSbX4rMW+XzNKMD1prg/sTvoVmSLkuQ1MVlwjJQQA+sW8tMYR3BLUr9KjodFV4pvzunvRhd33Q== eval@^0.1.0: - version "0.1.2" - resolved "https://registry.yarnpkg.com/eval/-/eval-0.1.2.tgz#9f7103284c105a66df4030b2b3273165837013da" - integrity sha1-n3EDKEwQWmbfQDCysycxZYNwE9o= + version "0.1.3" + resolved "https://registry.yarnpkg.com/eval/-/eval-0.1.3.tgz#051deb8fa00580f452572580e3147f5d4a9bf5a5" + integrity sha512-lDBa3hl9YynB+3J7aNPaajAapr+7ZiAylqFeUmx/r9s7I0tkkUJFLw2CQ2oMRYGg/rL7g4IYkZenbKaQGKPnGQ== dependencies: require-like ">= 0.1.1" eventemitter3@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.0.tgz#090b4d6cdbd645ed10bf750d4b5407942d7ba163" - integrity sha512-ivIvhpq/Y0uSjcHDcOIccjmYjGLcP09MFGE7ysAwkAvkXfpZlC985pH2/ui64DKazbTW/4kN3yqozUxlXzI6cA== + version "3.1.2" + resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7" + integrity sha512-tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q== events@^1.0.0: version "1.1.1" @@ -3950,6 +4363,13 @@ fastparse@^1.1.1: resolved "https://registry.yarnpkg.com/fastparse/-/fastparse-1.1.2.tgz#91728c5a5942eced8531283c79441ee4122c35a9" integrity sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ== +fault@^1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/fault/-/fault-1.0.3.tgz#4da88cf979b6b792b4e13c7ec836767725170b7e" + integrity sha512-sfFuP4X0hzrbGKjAUNXYvNqsZ5F6ohx/dZ9I0KQud/aiZNwg263r5L9yGB0clvXHCkzXh5W3t7RSHchggYIFmA== + dependencies: + format "^0.2.2" + faye-websocket@^0.10.0: version "0.10.0" resolved "https://registry.yarnpkg.com/faye-websocket/-/faye-websocket-0.10.0.tgz#4e492f8d04dfb6f89003507f6edbf2d501e7c6f4" @@ -3971,7 +4391,26 @@ fb-watchman@^2.0.0: dependencies: bser "^2.0.0" -fbjs@^0.8.0, fbjs@^0.8.1, fbjs@^0.8.14, fbjs@^0.8.9: +fbjs-css-vars@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/fbjs-css-vars/-/fbjs-css-vars-1.0.2.tgz#216551136ae02fe255932c3ec8775f18e2c078b8" + integrity sha512-b2XGFAFdWZWg0phtAWLHCk836A1Xann+I+Dgd3Gk64MHKZO44FfoD1KxyvbSh0qZsIoXQGGlVztIY+oitJPpRQ== + +fbjs@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-1.0.0.tgz#52c215e0883a3c86af2a7a776ed51525ae8e0a5a" + integrity sha512-MUgcMEJaFhCaF1QtWGnmq9ZDRAzECTCRAF7O6UZIlAlkTs1SasiX9aP0Iw7wfD2mJ7wDTNfg2w7u5fSCwJk1OA== + dependencies: + core-js "^2.4.1" + fbjs-css-vars "^1.0.0" + isomorphic-fetch "^2.1.1" + loose-envify "^1.0.0" + object-assign "^4.1.0" + promise "^7.1.1" + setimmediate "^1.0.5" + ua-parser-js "^0.7.18" + +fbjs@^0.8.0, fbjs@^0.8.1, fbjs@^0.8.14, fbjs@^0.8.4, fbjs@^0.8.9: version "0.8.17" resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.17.tgz#c4d598ead6949112653d6588b01a5cdcd9f90fdd" integrity sha1-xNWY6taUkRJlPWWIsBpc3Nn5D90= @@ -4098,6 +4537,11 @@ find-node-modules@^1.0.1: findup-sync "0.4.2" merge "^1.2.0" +find-root@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" + integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng== + find-up@^1.0.0: version "1.1.2" resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" @@ -4144,9 +4588,9 @@ findup-sync@^2.0.0: resolve-dir "^1.0.1" fined@^1.0.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/fined/-/fined-1.1.1.tgz#95d88ff329123dd1a6950fdfcd321f746271e01f" - integrity sha512-jQp949ZmEbiYHk3gkbdtpJ0G1+kgtLQBNdP5edFP7Fh+WAYceLQz6yO1SBj72Xkg8GVyTB3bBzAYrHJVh5Xd5g== + version "1.2.0" + resolved "https://registry.yarnpkg.com/fined/-/fined-1.2.0.tgz#d00beccf1aa2b475d16d423b0238b713a2c4a37b" + integrity sha512-ZYDqPLGxDkDhDZBjZBb+oD1+j0rA4E0pXY50eplAAOPg2N/gUBSSk5IM1/QhPfyVo19lJ+CvXpqfvk+b2p/8Ng== dependencies: expand-tilde "^2.0.2" is-plain-object "^2.0.3" @@ -4176,6 +4620,11 @@ flatten@^1.0.2: resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782" integrity sha1-2uRqnXj74lKSJYzB54CkHZXAN4I= +focus-lock@^0.6.3: + version "0.6.3" + resolved "https://registry.yarnpkg.com/focus-lock/-/focus-lock-0.6.3.tgz#ef0e82ebac0023f841039d60bf329725d6438028" + integrity sha512-EU6ePgEauhWrzJEN5RtG1d1ayrWXhEnfzTjnieHj+jG9tNHDEhKTAnCn1TN3gs9h6XWCDH6cpeX1VXY/lzLwZg== + follow-redirects@^1.0.0: version "1.7.0" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.7.0.tgz#489ebc198dc0e7f64167bd23b03c4c19b5784c76" @@ -4223,6 +4672,11 @@ form-data@~2.3.2: combined-stream "^1.0.6" mime-types "^2.1.12" +format@^0.2.2: + version "0.2.2" + resolved "https://registry.yarnpkg.com/format/-/format-0.2.2.tgz#d6170107e9efdc4ed30c9dc39016df942b5cb58b" + integrity sha1-1hcBB+nv3E7TDJ3DkBbflCtctYs= + forwarded@~0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.1.2.tgz#98c23dab1175657b8c0573e8ceccd91b0ff18c84" @@ -4298,12 +4752,12 @@ fs.realpath@^1.0.0: integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= fsevents@^1.0.0: - version "1.2.7" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.7.tgz#4851b664a3783e52003b3c66eb0eee1074933aa4" - integrity sha512-Pxm6sI2MeBD7RdD12RYsqaP0nMiwx8eZBXCa6z2L+mRHm2DYrOYwihmhjpkdjUHwQhslWQjRpEgNq4XvBmaAuw== + version "1.2.9" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.2.9.tgz#3f5ed66583ccd6f400b5a00db6f7e861363e388f" + integrity sha512-oeyj2H3EjjonWcFjD5NvZNE9Rqe4UW+nQBU2HNeKw0koVLEFIhtyETyAakeAM3de7Z/SW5kcA+fZUait9EApnw== dependencies: - nan "^2.9.2" - node-pre-gyp "^0.10.0" + nan "^2.12.1" + node-pre-gyp "^0.12.0" function-bind@^1.0.2, function-bind@^1.1.1: version "1.1.1" @@ -4381,6 +4835,13 @@ gatsby-plugin-page-creator@^1.0.1: parse-filepath "^1.0.1" slash "^1.0.0" +gatsby-plugin-segment@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/gatsby-plugin-segment/-/gatsby-plugin-segment-1.0.2.tgz#6b014ed477b675486a445155384afe168f3e4bbe" + integrity sha512-MHlQJoRVKHGtQjByS4z23BL9wm0HA5rt5gYSP4ETsWNvs1udw+Aqrm5oVtsS+b4zDT0RTMGAjGCVoJbP+PHK2g== + dependencies: + "@segment/snippet" "^4.0.1" + gatsby-plugin-sharp@^1.6.48: version "1.6.48" resolved "https://registry.yarnpkg.com/gatsby-plugin-sharp/-/gatsby-plugin-sharp-1.6.48.tgz#9bb7515da9c7753b3065c51b2d35a0de5b9aa1f5" @@ -4839,7 +5300,15 @@ global-prefix@^1.0.1: is-windows "^1.0.1" which "^1.2.14" -global@^4.3.0, global@^4.3.2, global@~4.3.0: +global@^4.3.0, global@^4.3.2, global@^4.4.0: + version "4.4.0" + resolved "https://registry.yarnpkg.com/global/-/global-4.4.0.tgz#3e7b105179006a323ed71aafca3e9c57a5cc6406" + integrity sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w== + dependencies: + min-document "^2.19.0" + process "^0.11.10" + +global@~4.3.0: version "4.3.2" resolved "https://registry.yarnpkg.com/global/-/global-4.3.2.tgz#e76989268a6c74c38908b1305b10fc0e394e9d0f" integrity sha1-52mJJopsdMOJCLEwWxD8DjlOnQ8= @@ -4847,6 +5316,11 @@ global@^4.3.0, global@^4.3.2, global@~4.3.0: min-document "^2.19.0" process "~0.5.1" +globals@^11.1.0: + version "11.12.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" + integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== + globals@^9.18.0: version "9.18.0" resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a" @@ -4870,6 +5344,13 @@ glogg@^1.0.0: dependencies: sparkles "^1.0.0" +good-listener@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/good-listener/-/good-listener-1.2.2.tgz#d53b30cdf9313dffb7dc9a0d477096aa6d145c50" + integrity sha1-1TswzfkxPf+33JoNR3CWqm0UXFA= + dependencies: + delegate "^3.1.2" + got@^5.0.0: version "5.7.1" resolved "https://registry.yarnpkg.com/got/-/got-5.7.1.tgz#5f81635a61e4a6589f180569ea4e381680a51f35" @@ -5195,7 +5676,7 @@ hast-util-is-element@^1.0.0: resolved "https://registry.yarnpkg.com/hast-util-is-element/-/hast-util-is-element-1.0.2.tgz#c23c9428b6a5a4e323bf9e16f87417476314981b" integrity sha512-4MEtyofNi3ZunPFrp9NpTQdNPN24xvLX3M+Lr/RGgPX6TLi+wR4/DqeoyQ7lwWcfUp4aevdt4RR0r7ZQPFbHxw== -hast-util-parse-selector@^2.0.0: +hast-util-parse-selector@^2.0.0, hast-util-parse-selector@^2.2.0: version "2.2.1" resolved "https://registry.yarnpkg.com/hast-util-parse-selector/-/hast-util-parse-selector-2.2.1.tgz#4ddbae1ae12c124e3eb91b581d2556441766f0ab" integrity sha512-Xyh0v+nHmQvrOqop2Jqd8gOdyQtE8sIP9IQf7mlVDqp924W4w/8Liuguk2L2qei9hARnQSG2m+wAOCxM7npJVw== @@ -5257,21 +5738,32 @@ hastscript@^3.0.0: property-information "^3.0.0" space-separated-tokens "^1.0.0" -highlight.js@^9.14.2: - version "9.15.6" - resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.15.6.tgz#72d4d8d779ec066af9a17cb14360c3def0aa57c4" - integrity sha512-zozTAWM1D6sozHo8kqhfYgsac+B+q0PmsjXeyDrYIHHcBN0zTVT66+s2GW1GZv7DbyaROdLXKdabwS/WqPyIdQ== +hastscript@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/hastscript/-/hastscript-5.0.0.tgz#fee10382c1bc4ba3f1be311521d368c047d2c43a" + integrity sha512-xJtuJ8D42Xtq5yJrnDg/KAIxl2cXBXKoiIJwmWX9XMf8113qHTGl/Bf7jEsxmENJ4w6q4Tfl8s/Y6mEZo8x8qw== + dependencies: + comma-separated-tokens "^1.0.0" + hast-util-parse-selector "^2.2.0" + property-information "^5.0.1" + space-separated-tokens "^1.0.0" + +highlight.js@~9.12.0: + version "9.12.0" + resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-9.12.0.tgz#e6d9dbe57cbefe60751f02af336195870c90c01e" + integrity sha1-5tnb5Xy+/mB1HwKvM2GVhwyQwB4= history@^4.6.2, history@^4.7.2: - version "4.7.2" - resolved "https://registry.yarnpkg.com/history/-/history-4.7.2.tgz#22b5c7f31633c5b8021c7f4a8a954ac139ee8d5b" - integrity sha512-1zkBRWW6XweO0NBcjiphtVJVsIQ+SXF29z9DVkceeaSLVMFXHool+fdCZD4spDCfZJCILPILc3bm7Bc+HRi0nA== + version "4.9.0" + resolved "https://registry.yarnpkg.com/history/-/history-4.9.0.tgz#84587c2068039ead8af769e9d6a6860a14fa1bca" + integrity sha512-H2DkjCjXf0Op9OAr6nJ56fcRkTSNrUiv41vNJ6IswJjif6wlpZK0BTfFbi7qK9dXLSYZxkq5lBsj3vUjlYBYZA== dependencies: - invariant "^2.2.1" + "@babel/runtime" "^7.1.2" loose-envify "^1.2.0" resolve-pathname "^2.2.0" + tiny-invariant "^1.0.2" + tiny-warning "^1.0.0" value-equal "^0.4.0" - warning "^3.0.0" hmac-drbg@^1.0.0: version "1.0.1" @@ -5292,6 +5784,13 @@ hoist-non-react-statics@^2.3.1, hoist-non-react-statics@^2.5.0: resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-2.5.5.tgz#c5903cf409c0dfd908f388e619d86b9c1174cb47" integrity sha512-rqcy4pJo55FTTLWt+bU8ukscqHeE/e9KWvsOW2b/a3afxQZhwkQdT1rPPCJ0rYXdj4vNcasY8zHTH+jF/qStxw== +hoist-non-react-statics@^3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.0.tgz#b09178f0122184fb95acf525daaecb4d8f45958b" + integrity sha512-0XsbTXxgiaCDYDIWFcwkmerZPSwywfUqYmwT4jzewKTQSWoE6FCMoUVOeBJWK3E/CrWbxRG3m5GzY4lnIwGRBA== + dependencies: + react-is "^16.7.0" + home-or-tmp@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8" @@ -5317,15 +5816,46 @@ html-comment-regex@^1.1.0: resolved "https://registry.yarnpkg.com/html-comment-regex/-/html-comment-regex-1.1.2.tgz#97d4688aeb5c81886a364faa0cad1dda14d433a7" integrity sha512-P+M65QY2JQ5Y0G9KKdlDpo0zK+/OHptU5AaBwUfAIDJZk1MYf32Frm84EcOytfJE0t5JvkAnKlmjsXDnWzCJmQ== +html-dom-parser@0.2.2: + version "0.2.2" + resolved "https://registry.yarnpkg.com/html-dom-parser/-/html-dom-parser-0.2.2.tgz#960bdbf82632f11dfa7550c1b6f2aabcd6307243" + integrity sha512-8qWXUf0JY8k21oPZIWN9VddADoac+TeNTvFyF/ZJ5JgtzDIt2Fk9uwUHYKkGHnZb2LPj3SeB2V4WK0Hn/MEH/Q== + dependencies: + "@types/domhandler" "2.4.1" + domhandler "2.3.0" + htmlparser2 "3.9.1" + html-entities@^1.2.0: version "1.2.1" resolved "https://registry.yarnpkg.com/html-entities/-/html-entities-1.2.1.tgz#0df29351f0721163515dfb9e5543e5f6eed5162f" integrity sha1-DfKTUfByEWNRXfueVUPl9u7VFi8= +html-react-parser@^0.8.0: + version "0.8.0" + resolved "https://registry.yarnpkg.com/html-react-parser/-/html-react-parser-0.8.0.tgz#691a9d31153a87a16eb5ed4d6a08da5b18e0c9de" + integrity sha512-R5tkVKQ5pZzPzYUG5GlSoGvrDi46/K04JDwK9iRYVSVkvcF/3fN5JDEwnMmcnh8d9o8moSV7WaU/49TJGghYWg== + dependencies: + "@types/domhandler" "2.4.1" + html-dom-parser "0.2.2" + react-dom-core "0.1.1" + style-to-object "0.2.3" + html-void-elements@^1.0.0, html-void-elements@^1.0.1: - version "1.0.3" - resolved "https://registry.yarnpkg.com/html-void-elements/-/html-void-elements-1.0.3.tgz#956707dbecd10cf658c92c5d27fee763aa6aa982" - integrity sha512-SaGhCDPXJVNrQyKMtKy24q6IMdXg5FCPN3z+xizxw9l+oXQw5fOoaj/ERU5KqWhSYhXtW5bWthlDbTDLBhJQrA== + version "1.0.4" + resolved "https://registry.yarnpkg.com/html-void-elements/-/html-void-elements-1.0.4.tgz#95e8bb5ecd6b88766569c2645f2b5f1591db9ba5" + integrity sha512-yMk3naGPLrfvUV9TdDbuYXngh/TpHbA6TrOw3HL9kS8yhwx7i309BReNg7CbAJXGE+UMJ6je5OqJ7lC63o6YuQ== + +htmlparser2@3.9.1: + version "3.9.1" + resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-3.9.1.tgz#621b7a58bc9acd003f7af0a2c9a00aa67c8505d2" + integrity sha1-Yht6WLyazQA/evCiyaAKpnyFBdI= + dependencies: + domelementtype "^1.3.0" + domhandler "^2.3.0" + domutils "^1.5.1" + entities "^1.1.1" + inherits "^2.0.1" + readable-stream "^2.0.2" htmlparser2@^3.10.0, htmlparser2@^3.3.0, htmlparser2@^3.9.1: version "3.10.1" @@ -5349,7 +5879,7 @@ http-errors@1.6.3, http-errors@~1.6.2, http-errors@~1.6.3: setprototypeof "1.1.0" statuses ">= 1.4.0 < 2" -http-errors@^1.3.0: +http-errors@1.7.2, http-errors@^1.3.0: version "1.7.2" resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.7.2.tgz#4f5029cf13239f31036e5b2e55292bcfbcc85c8f" integrity sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg== @@ -5415,7 +5945,7 @@ iconv-lite@0.4.23: dependencies: safer-buffer ">= 2.1.2 < 3" -iconv-lite@^0.4.17, iconv-lite@^0.4.4, iconv-lite@~0.4.13: +iconv-lite@0.4.24, iconv-lite@^0.4.17, iconv-lite@^0.4.4, iconv-lite@~0.4.13: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== @@ -5428,9 +5958,9 @@ icss-replace-symbols@^1.1.0: integrity sha1-Bupvg2ead0njhs/h/oEq5dsiPe0= ieee754@^1.1.4: - version "1.1.12" - resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.12.tgz#50bf24e5b9c8bb98af4964c941cdb0918da7b60b" - integrity sha512-GguP+DRY+pJ3soyIiGPTvdiVXjZ+DbXOxGpXn3eMvNW4x4irjqXm4wHKscC+TfxSJ0yw/S1F24tqdMNsMZTiLA== + version "1.1.13" + resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.13.tgz#ec168558e95aa181fd87d37f55c32bbcb6708b84" + integrity sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg== ignore-walk@^3.0.1: version "3.0.1" @@ -5481,6 +6011,14 @@ immutable@~3.7.6: resolved "https://registry.yarnpkg.com/immutable/-/immutable-3.7.6.tgz#13b4d3cb12befa15482a26fe1b2ebae640071e4b" integrity sha1-E7TTyxK++hVIKib+Gy665kAHHks= +import-fresh@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-2.0.0.tgz#d81355c15612d386c61f9ddd3922d4304822a546" + integrity sha1-2BNVwVYS04bGH53dOSLUMEgipUY= + dependencies: + caller-path "^2.0.0" + resolve-from "^3.0.0" + import-lazy@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43" @@ -5531,6 +6069,11 @@ ini@^1.3.4, ini@~1.3.0: resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== +inline-style-parser@0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/inline-style-parser/-/inline-style-parser-0.1.1.tgz#ec8a3b429274e9c0a1f1c4ffa9453a7fef72cea1" + integrity sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q== + inline-style-prefixer@^3.0.6: version "3.0.8" resolved "https://registry.yarnpkg.com/inline-style-prefixer/-/inline-style-prefixer-3.0.8.tgz#8551b8e5b4d573244e66a34b04f7d32076a2b534" @@ -5569,7 +6112,7 @@ interpret@^1.0.0: resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296" integrity sha512-mT34yGKMNceBQUoVn7iCDKDntA7SC6gycMAWzGx1z/CMCTV7b2AAtXlo3nRyHZ1FelRkQbQjprHSYGwzLtkVbw== -invariant@^2.2.0, invariant@^2.2.1, invariant@^2.2.2, invariant@^2.2.4: +invariant@2.2.4, invariant@^2.2.0, invariant@^2.2.2, invariant@^2.2.3, invariant@^2.2.4: version "2.2.4" resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== @@ -5586,10 +6129,10 @@ ip-regex@^1.0.1: resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-1.0.3.tgz#dc589076f659f419c222039a33316f1c7387effd" integrity sha1-3FiQdvZZ9BnCIgOaMzFvHHOH7/0= -ipaddr.js@1.8.0: - version "1.8.0" - resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.8.0.tgz#eaa33d6ddd7ace8f7f6fe0c9ca0440e706738b1e" - integrity sha1-6qM9bd16zo9/b+DJygRA5wZzix4= +ipaddr.js@1.9.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.0.tgz#37df74e430a0e47550fe54a2defe30d8acd95f65" + integrity sha512-M4Sjn6N/+O6/IXSJseKqHoFc+5FdGJ22sXqnjTpdZweHK64MzEPAyQZyEU3R/KRv2GLoa7nNtg/C2Ev6m7z+eA== is-absolute-url@^2.0.0: version "2.1.0" @@ -5745,6 +6288,11 @@ is-descriptor@^1.0.0, is-descriptor@^1.0.2: is-data-descriptor "^1.0.0" kind-of "^6.0.2" +is-directory@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1" + integrity sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE= + is-dotfile@^1.0.0: version "1.0.3" resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.3.tgz#a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1" @@ -5818,9 +6366,9 @@ is-glob@^3.1.0: is-extglob "^2.1.0" is-glob@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.0.tgz#9521c76845cc2610a85203ddf080a958c2ffabc0" - integrity sha1-lSHHaEXMJhCoUgPd8ICpWML/q8A= + version "4.0.1" + resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc" + integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg== dependencies: is-extglob "^2.1.1" @@ -6045,6 +6593,11 @@ is-valid-glob@^0.3.0: resolved "https://registry.yarnpkg.com/is-valid-glob/-/is-valid-glob-0.3.0.tgz#d4b55c69f51886f9b65c70d6c2622d37e29f48fe" integrity sha1-1LVcafUYhvm2XHDWwmItN+KfSP4= +is-what@^3.1.1: + version "3.2.2" + resolved "https://registry.yarnpkg.com/is-what/-/is-what-3.2.2.tgz#5da48eb905ca2620142abf5867340b46fa9ea238" + integrity sha512-4tCMQr7lWLqe2wPKhMvIzvALEhadPrt2+IzW3tQj98Sf/WhXJlpspRDMaC5zpepvtefiDT2PloJaqRvg7PxhYA== + is-whitespace-character@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/is-whitespace-character/-/is-whitespace-character-1.0.2.tgz#ede53b4c6f6fb3874533751ec9280d01928d03ed" @@ -6207,7 +6760,7 @@ js-base64@^2.1.9: resolved "https://registry.yarnpkg.com/js-base64/-/js-base64-2.5.1.tgz#1efa39ef2c5f7980bb1784ade4a8af2de3291121" integrity sha512-M7kLczedRMYX4L8Mdh4MzyAMM9O5osx+4FcOQuTvr3A9F2D9S5JXheN0ewNbrvK2UatkTRhL5ejGmGSjNMiZuw== -"js-tokens@^3.0.0 || ^4.0.0": +"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== @@ -6217,10 +6770,10 @@ js-tokens@^3.0.2: resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls= -js-yaml@^3.10.0, js-yaml@^3.5.2: - version "3.12.2" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.12.2.tgz#ef1d067c5a9d9cb65bd72f285b5d8105c77f14fc" - integrity sha512-QHn/Lh/7HhZ/Twc7vJYQTkjuCa0kaCcDcjK5Zlk2rvnUpy7DxMJ23+Jc2dcyvltwQVg1nygAVlB2oRDFHoRS5Q== +js-yaml@^3.10.0, js-yaml@^3.13.1, js-yaml@^3.5.2: + version "3.13.1" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847" + integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw== dependencies: argparse "^1.0.7" esprima "^4.0.0" @@ -6248,6 +6801,11 @@ jsesc@^1.3.0: resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b" integrity sha1-RsP+yMGJKxKwgz25vHYiF226s0s= +jsesc@^2.5.1: + version "2.5.2" + resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" + integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== + jsesc@~0.5.0: version "0.5.0" resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" @@ -6258,6 +6816,11 @@ json-loader@^0.5.2: resolved "https://registry.yarnpkg.com/json-loader/-/json-loader-0.5.7.tgz#dca14a70235ff82f0ac9a3abeb60d337a365185d" integrity sha512-QLPs8Dj7lnf3e3QYS1zkCo+4ZwqOiF9d/nZnYozTISxXWCfNs9yuky5rJw4/W34s7POaNlbZmQGaB5NiXCbP4w== +json-parse-better-errors@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" + integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== + json-schema-traverse@^0.3.0: version "0.3.1" resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz#349a6d44c53a51de89b40805c5d5e59b417d3340" @@ -6898,6 +7461,14 @@ lowercase-keys@^1.0.0: resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f" integrity sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA== +lowlight@~1.9.1: + version "1.9.2" + resolved "https://registry.yarnpkg.com/lowlight/-/lowlight-1.9.2.tgz#0b9127e3cec2c3021b7795dd81005c709a42fdd1" + integrity sha512-Ek18ElVCf/wF/jEm1b92gTnigh94CtBNWiZ2ad+vTgW7cTmQxUY3I98BjHK68gZAJEWmybGBZgx9qv3QxLQB/Q== + dependencies: + fault "^1.0.2" + highlight.js "~9.12.0" + lpad-align@^1.0.1: version "1.1.2" resolved "https://registry.yarnpkg.com/lpad-align/-/lpad-align-1.1.2.tgz#21f600ac1c3095c3c6e497ee67271ee08481fe9e" @@ -6952,6 +7523,11 @@ map-obj@^1.0.0, map-obj@^1.0.1: resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d" integrity sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0= +map-or-similar@^1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/map-or-similar/-/map-or-similar-1.5.0.tgz#6de2653174adfb5d9edc33c69d3e92a1b76faf08" + integrity sha1-beJlMXSt+12e3DPGnT6Sobdvrwg= + map-visit@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f" @@ -6976,6 +7552,14 @@ markdown-table@^1.1.0: resolved "https://registry.yarnpkg.com/markdown-table/-/markdown-table-1.1.2.tgz#c78db948fa879903a41bce522e3b96f801c63786" integrity sha512-NcWuJFHDA8V3wkDgR/j4+gZx+YQwstPgfQDV8ndUeWWzta3dnDTBxpVzqS9lkmJAuV5YX35lmyojl6HO5JXAgw== +markdown-to-jsx@^6.9.1: + version "6.9.4" + resolved "https://registry.yarnpkg.com/markdown-to-jsx/-/markdown-to-jsx-6.9.4.tgz#ed1e6925e643f7a0ee2fed90f28d16b4402aad09" + integrity sha512-Fvx2ZhiknGmcLsWVjIq6MmiN9gcCot8w+jzwN2mLXZcQsJGRN3Zes5Sp5M9YNIzUy/sDyuOTjimFdtAcvvmAPQ== + dependencies: + prop-types "^15.6.2" + unquote "^1.1.0" + marked@^0.6.2: version "0.6.2" resolved "https://registry.yarnpkg.com/marked/-/marked-0.6.2.tgz#c574be8b545a8b48641456ca1dbe0e37b6dccc1a" @@ -7089,9 +7673,16 @@ mem@^1.1.0: mimic-fn "^1.0.0" memoize-one@^5.0.0: - version "5.0.2" - resolved "https://registry.yarnpkg.com/memoize-one/-/memoize-one-5.0.2.tgz#6aba5276856d72fb44ead3efab86432f94ba203d" - integrity sha512-o7lldN4fs/axqctc03NF+PMhd2veRrWeJ2n2GjEzUPBD4F9rmNg4A+bQCACIzwjHJEXuYv4aFFMaH35KZfHUrw== + version "5.0.4" + resolved "https://registry.yarnpkg.com/memoize-one/-/memoize-one-5.0.4.tgz#005928aced5c43d890a4dfab18ca908b0ec92cbc" + integrity sha512-P0z5IeAH6qHHGkJIXWw0xC2HNEgkx/9uWWBQw64FJj3/ol14VYdfVGWWr0fXfjhhv3TKVIqUq65os6O4GUNksA== + +memoizerific@^1.11.3: + version "1.11.3" + resolved "https://registry.yarnpkg.com/memoizerific/-/memoizerific-1.11.3.tgz#7c87a4646444c32d75438570905f2dbd1b1a805a" + integrity sha1-fIekZGREwy11Q4VwkF8tvRsagFo= + dependencies: + map-or-similar "^1.5.0" memory-fs@^0.2.0: version "0.2.0" @@ -7130,6 +7721,13 @@ meow@^3.1.0, meow@^3.3.0, meow@^3.5.0: redent "^1.0.0" trim-newlines "^1.0.0" +merge-anything@^2.2.4: + version "2.2.4" + resolved "https://registry.yarnpkg.com/merge-anything/-/merge-anything-2.2.4.tgz#1445855716732fd96218ce636cd122c077e5f65c" + integrity sha512-A6Ip73ppCEPzD4XEVj28VOT0ec0ZrBLfMywQKZVFnHcxYZ7t9Y6bDrdsZ6a7u2HpuDXeynwcaaM1YV+5Cd1Nhw== + dependencies: + is-what "^3.1.1" + merge-descriptors@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" @@ -7198,10 +7796,10 @@ miller-rabin@^4.0.0: bn.js "^4.0.0" brorand "^1.0.1" -"mime-db@>= 1.38.0 < 2", mime-db@~1.38.0: - version "1.38.0" - resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.38.0.tgz#1a2aab16da9eb167b49c6e4df2d9c68d63d8e2ad" - integrity sha512-bqVioMFFzc2awcdJZIzR3HjZFX20QhilVS7hytkKrv7xFAn8bM1gzc/FOX2awLISvWe0PV8ptFKcon+wZ5qYkg== +mime-db@1.40.0, "mime-db@>= 1.40.0 < 2": + version "1.40.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.40.0.tgz#a65057e998db090f732a68f6c276d387d4126c32" + integrity sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA== mime-db@~1.33.0: version "1.33.0" @@ -7215,12 +7813,12 @@ mime-types@2.1.18: dependencies: mime-db "~1.33.0" -mime-types@^2.1.12, mime-types@~2.1.17, mime-types@~2.1.18, mime-types@~2.1.19: - version "2.1.22" - resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.22.tgz#fe6b355a190926ab7698c9a0556a11199b2199bd" - integrity sha512-aGl6TZGnhm/li6F7yx82bJiBZwgiEa4Hf6CNr8YO+r5UHr53tSTYZb102zyU50DOWWKeOv0uQLRL0/9EiKWCog== +mime-types@^2.1.12, mime-types@~2.1.17, mime-types@~2.1.19, mime-types@~2.1.24: + version "2.1.24" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.24.tgz#b6f8d0b3e951efb77dedeca194cff6d16f676f81" + integrity sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ== dependencies: - mime-db "~1.38.0" + mime-db "1.40.0" mime@1.4.1: version "1.4.1" @@ -7360,10 +7958,10 @@ mute-stream@~0.0.4: resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== -nan@^2.11.0, nan@^2.9.2: - version "2.12.1" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.12.1.tgz#7b1aa193e9aa86057e3c7bbd0ac448e770925552" - integrity sha512-JY7V6lRkStKcKTvHO5NVSQRv+RV+FIL5pvDoLiAtSL9pKlC5x9PKQcZDsq7m4FO4d57mkhC6Z+QhAh3Jdk5JFw== +nan@^2.11.0, nan@^2.12.1: + version "2.13.2" + resolved "https://registry.yarnpkg.com/nan/-/nan-2.13.2.tgz#f51dc7ae66ba7d5d55e1e6d4d8092e802c9aefe7" + integrity sha512-TghvYc72wlMGMVMluVo9WRJc0mB8KxxF/gZ4YYFy7V2ZQX9l7rgbPg7vjS9mt6U5HXODVFVI2bOduCzwOMv/lw== nanoid@^2.0.0: version "2.0.1" @@ -7393,25 +7991,25 @@ ncp@^2.0.0: integrity sha1-GVoh1sRuNh0vsSgbo4uR6d9727M= needle@^2.2.1: - version "2.2.4" - resolved "https://registry.yarnpkg.com/needle/-/needle-2.2.4.tgz#51931bff82533b1928b7d1d69e01f1b00ffd2a4e" - integrity sha512-HyoqEb4wr/rsoaIDfTH2aVL9nWtQqba2/HvMv+++m8u0dz808MaagKILxtfeSN7QU7nvbQ79zk3vYOJp9zsNEA== + version "2.3.1" + resolved "https://registry.yarnpkg.com/needle/-/needle-2.3.1.tgz#d272f2f4034afb9c4c9ab1379aabc17fc85c9388" + integrity sha512-CaLXV3W8Vnbps8ZANqDGz7j4x7Yj1LW4TWF/TQuDfj7Cfx4nAPTvw98qgTevtto1oHDrh3pQkaODbqupXlsWTg== dependencies: - debug "^2.1.2" + debug "^4.1.0" iconv-lite "^0.4.4" sax "^1.2.4" -negotiator@0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9" - integrity sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk= +negotiator@0.6.2: + version "0.6.2" + resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb" + integrity sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw== netrc@^0.1.3: version "0.1.4" resolved "https://registry.yarnpkg.com/netrc/-/netrc-0.1.4.tgz#6be94fcaca8d77ade0a9670dc460914c94472444" integrity sha1-a+lPysqNd63gqWcNxGCRTJRHJEQ= -next-tick@1, next-tick@^1.0.0: +next-tick@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c" integrity sha1-yobR/ogoFpsBICCOPchCS524NCw= @@ -7422,9 +8020,9 @@ nlcst-to-string@^2.0.0: integrity sha512-DV7wVvMcAsmZ5qEwvX1JUNF4lKkAAKbChwNlIH7NLsPR7LWWoeIt53YlZ5CQH5KDXEXQ9Xa3mw0PbPewymrtew== node-abi@^2.2.0: - version "2.7.1" - resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-2.7.1.tgz#a8997ae91176a5fbaa455b194976e32683cda643" - integrity sha512-OV8Bq1OrPh6z+Y4dqwo05HqrRL9YNF7QVMRfq1/pguwKLG+q9UB/Lk0x5qXjO23JjJg+/jqCHSTaG1P3tfKfuw== + version "2.8.0" + resolved "https://registry.yarnpkg.com/node-abi/-/node-abi-2.8.0.tgz#bd2e88dbe6a6871e6dd08553e0605779325737ec" + integrity sha512-1/aa2clS0pue0HjckL62CsbhWWU35HARvBDXcJtYKbYR7LnIutmpxmXbuDMV9kEviD2lP/wACOgWmmwljghHyQ== dependencies: semver "^5.4.1" @@ -7511,10 +8109,10 @@ node-libs-browser@^2.0.0: util "^0.11.0" vm-browserify "0.0.4" -node-pre-gyp@^0.10.0: - version "0.10.3" - resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.10.3.tgz#3070040716afdc778747b61b6887bf78880b80fc" - integrity sha512-d1xFs+C/IPS8Id0qPTZ4bUT8wWryfR/OzzAFxweG+uLN85oPzyo2Iw6bVlLQ/JOdgNonXLCoRyqDzDWq4iw72A== +node-pre-gyp@^0.12.0: + version "0.12.0" + resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.12.0.tgz#39ba4bb1439da030295f899e3b520b7785766149" + integrity sha512-4KghwV8vH5k+g2ylT+sLTjy5wmUOb9vPhnM8NHvRf9dHmnW/CndrFXy2aRPaPST6dugXSdHXfeaHQm77PIz/1A== dependencies: detect-libc "^1.0.2" mkdirp "^0.5.1" @@ -7651,6 +8249,11 @@ oauth-sign@~0.9.0: resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ== +object-assign@4.1.1, object-assign@^4.0.0, object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" + integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= + object-assign@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-2.1.1.tgz#43c36e5d569ff8e4816c4efa8be02d26967c18aa" @@ -7661,11 +8264,6 @@ object-assign@^3.0.0: resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-3.0.0.tgz#9bedd5ca0897949bca47e7ff408062d549f587f2" integrity sha1-m+3VygiXlJvKR+f/QIBi1Un1h/I= -object-assign@^4.0.0, object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" - integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= - object-component@0.0.3: version "0.0.3" resolved "https://registry.yarnpkg.com/object-component/-/object-component-0.0.3.tgz#f0c69aa50efc95b866c186f400a33769cb2f1291" @@ -7681,9 +8279,9 @@ object-copy@^0.1.0: kind-of "^3.0.3" object-keys@^1.0.12: - version "1.1.0" - resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.0.tgz#11bd22348dd2e096a045ab06f6c85bcc340fa032" - integrity sha512-6OO5X1+2tYkNyNEx6TsCxEqFfRWaqx6EtMiSbGrw8Ob8v9Ne+Hl8rBAgLBZn5wjEz3s/s6U1WXFUFOcxxAwUpg== + version "1.1.1" + resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" + integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== object-path@^0.11.2: version "0.11.4" @@ -7737,7 +8335,7 @@ on-finished@~2.3.0: dependencies: ee-first "1.1.1" -on-headers@~1.0.1: +on-headers@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.2.tgz#772b0ae6aaa525c399e489adfad90c403eb3c28f" integrity sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA== @@ -7779,9 +8377,9 @@ opn@5.1.0: is-wsl "^1.1.0" opn@^5.1.0: - version "5.4.0" - resolved "https://registry.yarnpkg.com/opn/-/opn-5.4.0.tgz#cb545e7aab78562beb11aa3bfabc7042e1761035" - integrity sha512-YF9MNdVy/0qvJvDtunAOzFw9iasOQHpVthTCvGzxt61Il64AYSGdK+rYwld7NAfk9qJ7dt+hymBNSc9LNYS+Sw== + version "5.5.0" + resolved "https://registry.yarnpkg.com/opn/-/opn-5.5.0.tgz#fc7164fab56d235904c51c3b27da6758ca3b9bfc" + integrity sha512-PqHpggC9bLV0VeWcdKhkpxY+3JTzetLSqTCWL/z/tFIbI6G8JCjondXklT1JinczLz2Xib62sSp0T/gKT4KksA== dependencies: is-wsl "^1.1.0" @@ -7984,6 +8582,18 @@ parse-entities@^1.0.2: is-decimal "^1.0.0" is-hexadecimal "^1.0.0" +parse-entities@^1.1.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/parse-entities/-/parse-entities-1.2.2.tgz#c31bf0f653b6661354f8973559cb86dd1d5edf50" + integrity sha512-NzfpbxW/NPrzZ/yYSoQxyqUZMZXIdCfE0OIN4ESsnptHJECoUk3FZktxNuzQf4tjt5UEopnxpYJbvYuxIFDdsg== + dependencies: + character-entities "^1.0.0" + character-entities-legacy "^1.0.0" + character-reference-invalid "^1.0.0" + is-alphanumerical "^1.0.0" + is-decimal "^1.0.0" + is-hexadecimal "^1.0.0" + parse-filepath@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/parse-filepath/-/parse-filepath-1.0.2.tgz#a632127f53aaf3d15876f5872f3ffac763d6c891" @@ -8018,6 +8628,14 @@ parse-json@^2.1.0, parse-json@^2.2.0: dependencies: error-ex "^1.2.0" +parse-json@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0" + integrity sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA= + dependencies: + error-ex "^1.3.1" + json-parse-better-errors "^1.0.1" + parse-latin@^3.1.0: version "3.2.0" resolved "https://registry.yarnpkg.com/parse-latin/-/parse-latin-3.2.0.tgz#cfe4b420982b1d20fc16c71dfb33f148de4f1d0b" @@ -8068,9 +8686,9 @@ parseuri@0.0.5: better-assert "~1.0.0" parseurl@~1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.2.tgz#fc289d4ed8993119460c156253262cdc8de65bf3" - integrity sha1-/CidTtiZMRlGDBViUyYs3I3mW/M= + version "1.3.3" + resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" + integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== pascalcase@^0.1.1: version "0.1.1" @@ -8267,9 +8885,9 @@ pleeease-filters@^3.0.0: postcss "^5.0.4" pngjs@^3.0.0: - version "3.3.3" - resolved "https://registry.yarnpkg.com/pngjs/-/pngjs-3.3.3.tgz#85173703bde3edac8998757b96e5821d0966a21b" - integrity sha512-1n3Z4p3IOxArEs1VRXnZ/RXdfEniAUS9jb68g58FIXMNkPJeZd+Qh4Uq7/e0LVxAQGos1eIUrqrt4FpjdnEd+Q== + version "3.4.0" + resolved "https://registry.yarnpkg.com/pngjs/-/pngjs-3.4.0.tgz#99ca7d725965fb655814eaf65f38f12bbdbf555f" + integrity sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w== pngquant-bin@^3.0.0: version "3.1.1" @@ -8280,17 +8898,17 @@ pngquant-bin@^3.0.0: bin-wrapper "^3.0.0" logalot "^2.0.0" -polished@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/polished/-/polished-3.2.0.tgz#65045e080704a6ba524fb3f32eb99d4ed2e46c91" - integrity sha512-uXIr2Nu5SU5khDa4JwWh8q5czi4GoJf+U1za5LN59Tk0mL/W3egZrPL0H0ADXeompCp0QhmiK9zs06gw0J5m4Q== +polished@^3.3.1, polished@^3.4.1: + version "3.4.1" + resolved "https://registry.yarnpkg.com/polished/-/polished-3.4.1.tgz#1eb5597ec1792206365635811d465751f5cbf71c" + integrity sha512-GflTnlP5rrpDoigjczEkS6Ye7NDA4sFvAnlr5hSDrEvjiVj97Xzev3hZlLi3UB27fpxyTS9rWU64VzVLWkG+mg== dependencies: - "@babel/runtime" "^7.4.2" + "@babel/runtime" "^7.4.5" -popper.js@^1.14.4: - version "1.14.7" - resolved "https://registry.yarnpkg.com/popper.js/-/popper.js-1.14.7.tgz#e31ec06cfac6a97a53280c3e55e4e0c860e7738e" - integrity sha512-4q1hNvoUre/8srWsH7hnoSJ5xVmIL4qgz+s4qf2TnJIMyZFUFMGH+9vE7mXynAlHSZ/NdTmmow86muD0myUkVQ== +popper.js@^1.14.4, popper.js@^1.14.7: + version "1.15.0" + resolved "https://registry.yarnpkg.com/popper.js/-/popper.js-1.15.0.tgz#5560b99bbad7647e9faa475c6b8056621f5a4ff2" + integrity sha512-w010cY1oCUmI+9KwwlWki+r5jxKfTFDVoadl7MSrIujHU5MJ5OR6HTDj6Xo8aoR/QsA56x8jKjA59qGH4ELtrA== posix-character-classes@^0.1.0: version "0.1.1" @@ -8864,9 +9482,9 @@ postcss@^6.0.1: supports-color "^5.4.0" postcss@^7.0.5: - version "7.0.14" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.14.tgz#4527ed6b1ca0d82c53ce5ec1a2041c2346bbd6e5" - integrity sha512-NsbD6XUUMZvBxtQAJuWDJeeC4QFsmWsfozWxCJPWf3M55K9iu2iMDaKqyoOdTJ1R4usBXuxlVFAIo8rZPQD4Bg== + version "7.0.16" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.16.tgz#48f64f1b4b558cb8b52c88987724359acb010da2" + integrity sha512-MOo8zNSlIqh22Uaa3drkdIAgUGEL+AD1ESiSdmElLUmE2uVDo1QloiT/IfW9qRw8Gw+Y/w69UVMGwbufMSftxA== dependencies: chalk "^2.4.2" source-map "^0.6.1" @@ -8923,6 +9541,13 @@ pretty-error@^2.1.1: renderkid "^2.0.1" utila "~0.4" +prismjs@^1.8.4, prismjs@~1.16.0: + version "1.16.0" + resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.16.0.tgz#406eb2c8aacb0f5f0f1167930cb83835d10a4308" + integrity sha512-OA4MKxjFZHSvZcisLGe14THYsug/nF6O1f0pAJc0KN0wTyAcLqmsbE+lTGKSpyh+9pEW57+k6pg2AfYR+coyHA== + optionalDependencies: + clipboard "^2.0.0" + private@^0.1.6, private@^0.1.8: version "0.1.8" resolved "https://registry.yarnpkg.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff" @@ -8974,7 +9599,7 @@ promise@^7.1.1: dependencies: asap "~2.0.3" -prop-types@^15.5.10, prop-types@^15.5.4, prop-types@^15.5.6, prop-types@^15.5.8, prop-types@^15.6.1, prop-types@^15.6.2, prop-types@^15.7.2: +prop-types@15.7.2, prop-types@^15.5.10, prop-types@^15.5.4, prop-types@^15.5.6, prop-types@^15.5.8, prop-types@^15.6.0, prop-types@^15.6.1, prop-types@^15.6.2, prop-types@^15.7.2: version "15.7.2" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5" integrity sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ== @@ -8998,13 +9623,20 @@ property-information@^3.0.0, property-information@^3.1.0: resolved "https://registry.yarnpkg.com/property-information/-/property-information-3.2.0.tgz#fd1483c8fbac61808f5fe359e7693a1f48a58331" integrity sha1-/RSDyPusYYCPX+NZ52k6H0ilgzE= +property-information@^5.0.1: + version "5.1.0" + resolved "https://registry.yarnpkg.com/property-information/-/property-information-5.1.0.tgz#e4755eee5319f03f7f6f5a9bc1a6a7fea6609e2c" + integrity sha512-tODH6R3+SwTkAQckSp2S9xyYX8dEKYkeXw+4TmJzTxnNzd6mQPu1OD4f9zPrvw/Rm4wpPgI+Zp63mNSGNzUgHg== + dependencies: + xtend "^4.0.1" + proxy-addr@~2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.4.tgz#ecfc733bf22ff8c6f407fa275327b9ab67e48b93" - integrity sha512-5erio2h9jp5CHGwcybmxmVqHmnCBZeewlfJ0pex+UW7Qny7OOZXTtH56TGNyBizkgiOwhJtMKrVzDTeKcySZwA== + version "2.0.5" + resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.5.tgz#34cbd64a2d81f4b1fd21e76f9f06c8a45299ee34" + integrity sha512-t/7RxHXPH6cJtP0pRG6smSr9QJidhB+3kXu0KgXnbGYMgzEnUxRQ4/LDdfOwZEMyIh3/xHb8PX3t+lfL9z+YVQ== dependencies: forwarded "~0.1.2" - ipaddr.js "1.8.0" + ipaddr.js "1.9.0" prr@~1.0.1: version "1.0.1" @@ -9074,6 +9706,11 @@ qs@6.5.2, qs@~6.5.2: resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" integrity sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA== +qs@^6.6.0: + version "6.7.0" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.7.0.tgz#41dc1a015e3d581f1621776be31afb2876a9b1bc" + integrity sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ== + query-string@^4.1.0: version "4.3.4" resolved "https://registry.yarnpkg.com/query-string/-/query-string-4.3.4.tgz#bbb693b9ca915c232515b228b1a02b609043dbeb" @@ -9092,10 +9729,10 @@ querystring@0.2.0, querystring@^0.2.0: resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" integrity sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA= -querystringify@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.1.0.tgz#7ded8dfbf7879dcc60d0a644ac6754b283ad17ef" - integrity sha512-sluvZZ1YiTLD5jsqZcDmFyV2EwToyXZBfpoVOmktMmW+VEnhgakFHnasVph65fOjGPTWN0Nw3+XQaSeMayr0kg== +querystringify@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.1.1.tgz#60e5a5fd64a7f8bfa4d2ab2ed6fdf4c85bad154e" + integrity sha512-w7fLxIRCRT7U8Qu53jQnJyPkYZIaR4n5151KMfcJlO/A9397Wxb1amJvROTK6TOnp7PfoAmg/qXiNHI+08jRfA== randomatic@^3.0.0: version "3.1.1" @@ -9126,7 +9763,7 @@ range-parser@1.2.0, range-parser@^1.0.3, range-parser@~1.2.0: resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e" integrity sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4= -raw-body@2.3.3, raw-body@^2.3.2: +raw-body@2.3.3: version "2.3.3" resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.3.3.tgz#1b324ece6b5706e153855bc1148c65bb7f6ea0c3" integrity sha512-9esiElv1BrZoI3rCDuOuKCBRbuApGGaDPQfjSflGxdy4oyzqghxu6klEkkVIvBje+FF0BX9coEv8KqW6X/7njw== @@ -9136,6 +9773,16 @@ raw-body@2.3.3, raw-body@^2.3.2: iconv-lite "0.4.23" unpipe "1.0.0" +raw-body@^2.3.2: + version "2.4.0" + resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.4.0.tgz#a1ce6fb9c9bc356ca52e89256ab59059e13d0332" + integrity sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q== + dependencies: + bytes "3.1.0" + http-errors "1.7.2" + iconv-lite "0.4.24" + unpipe "1.0.0" + raw-loader@^0.5.1: version "0.5.1" resolved "https://registry.yarnpkg.com/raw-loader/-/raw-loader-0.5.1.tgz#0c3d0beaed8a01c966d9787bf778281252a979aa" @@ -9151,6 +9798,31 @@ rc@^1.0.1, rc@^1.1.2, rc@^1.1.6, rc@^1.2.7: minimist "^1.2.0" strip-json-comments "~2.0.1" +react-15@0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/react-15/-/react-15-0.2.0.tgz#5cc915031b433c50bdec225d3ef8b80a07295175" + integrity sha512-9bdNuBo2I+2AerqURa37AcCKwHqjOvWuNrsd8wKXF+Y+ceBbJAJ1GkWeTliZV40RiEiAgRCLOzwCBxihCZvOfg== + dependencies: + fbjs "1.0.0" + object-assign "4.1.1" + +react-addons-create-fragment@^15.6.2: + version "15.6.2" + resolved "https://registry.yarnpkg.com/react-addons-create-fragment/-/react-addons-create-fragment-15.6.2.tgz#a394de7c2c7becd6b5475ba1b97ac472ce7c74f8" + integrity sha1-o5TefCx77Na1R1uhuXrEcs58dPg= + dependencies: + fbjs "^0.8.4" + loose-envify "^1.3.1" + object-assign "^4.1.0" + +react-clientside-effect@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/react-clientside-effect/-/react-clientside-effect-1.2.0.tgz#db823695f75e9616a5e4dd6d908e5ea627fb2516" + integrity sha512-cVIsGG7SNHsQsCP4+fw7KFUB0HiYiU8hbvL640XaLCbZ31aK8/lj0qOKJ2K+xRjuQz/IM4Q4qclI0aEqTtcXtA== + dependencies: + "@babel/runtime" "^7.0.0" + shallowequal "^1.1.0" + react-deep-force-update@^2.1.1: version "2.1.3" resolved "https://registry.yarnpkg.com/react-deep-force-update/-/react-deep-force-update-2.1.3.tgz#740612322e617bcced38f61794a4af75dc3d98e7" @@ -9188,6 +9860,15 @@ react-document-title@^2.0.3: prop-types "^15.5.6" react-side-effect "^1.0.2" +react-dom-core@0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/react-dom-core/-/react-dom-core-0.1.1.tgz#d580a72941f84f7b5b53d95d406b654181fb8021" + integrity sha512-06UPgimujyIOsR9owLdLy5731O8rxs/CZrFYX/ZPDLC6VUDwJuTkPWmLVA03es1tO7JqsqsET4rVe0cfKBEQXA== + dependencies: + fbjs "1.0.0" + object-assign "4.1.1" + react-15 "0.2.0" + react-dom@^15.6.0: version "15.6.2" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-15.6.2.tgz#41cfadf693b757faf2708443a1d1fd5a02bef730" @@ -9198,7 +9879,7 @@ react-dom@^15.6.0: object-assign "^4.1.0" prop-types "^15.5.10" -react-dom@^16.8.6: +react-dom@^16.8.3, react-dom@^16.8.6: version "16.8.6" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.8.6.tgz#71d6303f631e8b0097f56165ef608f051ff6e10f" integrity sha512-1nL7PIq9LTL3fthPqwkvr2zY7phIPjYrT0jp4HjyEQrEROnw4dG41VVwi/wfoCneoleqrNX7iAD+pXebJZwrwA== @@ -9213,14 +9894,40 @@ react-error-overlay@^3.0.0: resolved "https://registry.yarnpkg.com/react-error-overlay/-/react-error-overlay-3.0.0.tgz#c2bc8f4d91f1375b3dad6d75265d51cd5eeaf655" integrity sha512-XzgvowFrwDo6TWcpJ/WTiarb9UI6lhA4PMzS7n1joK3sHfBBBOQHUc0U4u57D6DWO9vHv6lVSWx2Q/Ymfyv4hw== +react-fast-compare@2.0.4, react-fast-compare@^2.0.2: + version "2.0.4" + resolved "https://registry.yarnpkg.com/react-fast-compare/-/react-fast-compare-2.0.4.tgz#e84b4d455b0fec113e0402c329352715196f81f9" + integrity sha512-suNP+J1VU1MWFKcyt7RtjiSWUjvidmQSlqu+eHslq+342xCbGTYmC0mEhPCOHxlW0CywylOC1u2DFAT+bv4dBw== + +react-focus-lock@^1.18.3: + version "1.19.1" + resolved "https://registry.yarnpkg.com/react-focus-lock/-/react-focus-lock-1.19.1.tgz#2f3429793edaefe2d077121f973ce5a3c7a0651a" + integrity sha512-TPpfiack1/nF4uttySfpxPk4rGZTLXlaZl7ncZg/ELAk24Iq2B1UUaUioID8H8dneUXqznT83JTNDHDj+kwryw== + dependencies: + "@babel/runtime" "^7.0.0" + focus-lock "^0.6.3" + prop-types "^15.6.2" + react-clientside-effect "^1.2.0" + +react-helmet-async@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/react-helmet-async/-/react-helmet-async-1.0.2.tgz#bb55dd8268f7b15aac69c6b22e2f950abda8cc44" + integrity sha512-qzzchrM/ibHuPS/60ief8jaibPunuRdeta4iBDQV+ri2SFKwOV+X2NlEpvevZOauhmHrH/I6dI4E90EPVfJBBg== + dependencies: + "@babel/runtime" "7.3.4" + invariant "2.2.4" + prop-types "15.7.2" + react-fast-compare "2.0.4" + shallowequal "1.1.0" + react-helmet@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/react-helmet/-/react-helmet-5.2.0.tgz#a81811df21313a6d55c5f058c4aeba5d6f3d97a7" - integrity sha1-qBgR3yExOm1VxfBYxK66XW89l6c= + version "5.2.1" + resolved "https://registry.yarnpkg.com/react-helmet/-/react-helmet-5.2.1.tgz#16a7192fdd09951f8e0fe22ffccbf9bb3e591ffa" + integrity sha512-CnwD822LU8NDBnjCpZ4ySh8L6HYyngViTZLfBBb3NjtrpN8m49clH8hidHouq20I51Y6TpCTISCBbqiY5GamwA== dependencies: - deep-equal "^1.0.1" object-assign "^4.1.1" prop-types "^15.5.4" + react-fast-compare "^2.0.2" react-side-effect "^1.1.0" react-hot-loader@^3.0.0-beta.6: @@ -9234,22 +9941,22 @@ react-hot-loader@^3.0.0-beta.6: redbox-react "^1.3.6" source-map "^0.6.1" -react-is@^16.6.0, react-is@^16.8.1: - version "16.8.4" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.4.tgz#90f336a68c3a29a096a3d648ab80e87ec61482a2" - integrity sha512-PVadd+WaUDOAciICm/J1waJaSvgq+4rHE/K70j0PFqKhkTBsPv/82UGQJNXAngz1fOQLLxI6z1sEDmJDQhCTAA== +react-is@^16.6.0, react-is@^16.7.0, react-is@^16.8.1: + version "16.8.6" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.6.tgz#5bbc1e2d29141c9fbdfed456343fe2bc430a6a16" + integrity sha512-aUk3bHfZ2bRSVFFbbeVS4i+lNPZr3/WM5jT2J5omUVV1zzcs1nAaf3l51ctA5FFvCRbhrH0bdAsRRQddFJZPtA== -react-lifecycles-compat@^3.0.2: +react-lifecycles-compat@^3.0.2, react-lifecycles-compat@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362" integrity sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA== -react-popper-tooltip@^2.8.2: - version "2.8.2" - resolved "https://registry.yarnpkg.com/react-popper-tooltip/-/react-popper-tooltip-2.8.2.tgz#4803446362a815b1406e39526ddeb299ed2fb414" - integrity sha512-k0T5y42Lhru4+7/YqB20YoHtlemlKE/6hT8nWtQzvoyBw/eKCahK6+udW4iZ6KwRYM/vocih14d0OPkMccqhWA== +react-popper-tooltip@^2.8.3: + version "2.8.3" + resolved "https://registry.yarnpkg.com/react-popper-tooltip/-/react-popper-tooltip-2.8.3.tgz#1c63e7473a96362bd93be6c94fa404470a265197" + integrity sha512-g5tfxmuj8ClNVwH4zswYJcD3GKoc5RMeRawd/WZnbyZGEDecsRKaVL+Kj7L3BG7w5qb6/MHcLTG8yE4CidwezQ== dependencies: - "@babel/runtime" "^7.4.3" + "@babel/runtime" "^7.4.5" react-popper "^1.3.3" react-popper@^1.3.3: @@ -9305,15 +10012,14 @@ react-side-effect@^1.0.2, react-side-effect@^1.1.0: shallowequal "^1.0.1" react-sizeme@^2.2.0: - version "2.5.2" - resolved "https://registry.yarnpkg.com/react-sizeme/-/react-sizeme-2.5.2.tgz#e7041390cfb895ed15d896aa91d76e147e3b70b5" - integrity sha512-hYvcncV1FxVzPm2EhVwlOLf7Tk+k/ttO6rI7bfKUL/aL1gYzrY3DXJsdZ6nFaFgGSU/i8KC6gCoptOhBbRJpXQ== + version "2.6.7" + resolved "https://registry.yarnpkg.com/react-sizeme/-/react-sizeme-2.6.7.tgz#231339ce8821ac2c26424c791e0027f89dae3e90" + integrity sha512-xCjPoBP5jmeW58TxIkcviMZqabZis7tTvDFWf0/Wa5XCgVWQTIe74NQBes2N1Kmp64GRLkpm60BaP0kk+v8aCQ== dependencies: - element-resize-detector "^1.1.12" - invariant "^2.2.2" - lodash.debounce "^4.0.8" - lodash.throttle "^4.1.1" - shallowequal "^1.0.2" + element-resize-detector "^1.1.15" + invariant "^2.2.4" + shallowequal "^1.1.0" + throttle-debounce "^2.1.0" react-stack-grid@^0.7.1: version "0.7.1" @@ -9330,6 +10036,25 @@ react-stack-grid@^0.7.1: react-transition-group "^1.2.0" shallowequal "^1.0.1" +react-syntax-highlighter@^8.0.1: + version "8.1.0" + resolved "https://registry.yarnpkg.com/react-syntax-highlighter/-/react-syntax-highlighter-8.1.0.tgz#59103ff17a828a27ed7c8f035ae2558f09b6b78c" + integrity sha512-G2bkZxmF3VOa4atEdXIDSfwwCqjw6ZQX5znfTaHcErA1WqHIS0o6DaSCDKFPVaOMXQEB9Hf1UySYQvuJmV8CXg== + dependencies: + babel-runtime "^6.18.0" + highlight.js "~9.12.0" + lowlight "~1.9.1" + prismjs "^1.8.4" + refractor "^2.4.1" + +react-textarea-autosize@^7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/react-textarea-autosize/-/react-textarea-autosize-7.1.0.tgz#3132cb77e65d94417558d37c0bfe415a5afd3445" + integrity sha512-c2FlR/fP0qbxmlrW96SdrbgP/v0XZMTupqB90zybvmDVDutytUgPl7beU35klwcTeMepUIQEpQUn3P3bdshGPg== + dependencies: + "@babel/runtime" "^7.1.2" + prop-types "^15.6.0" + react-transition-group@^1.2.0: version "1.2.1" resolved "https://registry.yarnpkg.com/react-transition-group/-/react-transition-group-1.2.1.tgz#e11f72b257f921b213229a774df46612346c7ca6" @@ -9352,7 +10077,7 @@ react@^15.6.0: object-assign "^4.1.0" prop-types "^15.5.10" -react@^16.8.6: +react@^16.8.3, react@^16.8.6: version "16.8.6" resolved "https://registry.yarnpkg.com/react/-/react-16.8.6.tgz#ad6c3a9614fd3a4e9ef51117f54d888da01f2bbe" integrity sha512-pC0uMkhLaHm11ZSJULfOBqV4tIZkx87ZLvbbQYunNixAAvjnC+snJCg0XQXn9VIsttVsbZP/H/ewzgsd5fxKXw== @@ -9447,9 +10172,9 @@ readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable util-deprecate "~1.0.1" readable-stream@^3.1.1: - version "3.2.0" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.2.0.tgz#de17f229864c120a9f56945756e4f32c4045245d" - integrity sha512-RV20kLjdmpZuTF1INEb9IA3L68Nmi+Ri7ppZqo78wj//Pn62fCoJyV9zalccNzDD/OuJpMG4f+pfMl8+L6QdGw== + version "3.3.0" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.3.0.tgz#cb8011aad002eb717bf040291feba8569c986fb9" + integrity sha512-EsI+s3k3XsW+fU8fQACLN59ky34AZ14LoeVZpYwmZvldCFo0r0gnelwF2TcMjLor/BTL5aDJVBMkss0dthToPw== dependencies: inherits "^2.0.3" string_decoder "^1.1.1" @@ -9572,6 +10297,15 @@ redux@^3.6.0: loose-envify "^1.1.0" symbol-observable "^1.0.3" +refractor@^2.4.1: + version "2.9.0" + resolved "https://registry.yarnpkg.com/refractor/-/refractor-2.9.0.tgz#0a381aadb51513e4e6ec1ed410b5104dd65e2489" + integrity sha512-lCnCYvXpqd8hC7ksuvo516rz5q4NwzBbq0X5qjH5pxRfcQKiQxKZ8JctrSQmrR/7pcV2TRrs9TT+Whmq/wtluQ== + dependencies: + hastscript "^5.0.0" + parse-entities "^1.1.2" + prismjs "~1.16.0" + regenerate@^1.2.1: version "1.4.0" resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.0.tgz#4a856ec4b56e4077c557589cae85e7a4c8869a11" @@ -9587,6 +10321,11 @@ regenerator-runtime@^0.11.0: resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" integrity sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg== +regenerator-runtime@^0.12.0: + version "0.12.1" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.12.1.tgz#fa1a71544764c036f8c49b13a08b2594c9f8a0de" + integrity sha512-odxIc1/vDlo4iZcfXqRYFj0vpXFNoGdKMAUieAlFYO6m/nl5e9KR/beGf41z4a1FI+aQgtjhuaSlDxQ0hmkrHg== + regenerator-runtime@^0.13.2: version "0.13.2" resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.2.tgz#32e59c9a6fb9b1a4aff09b4930ca2d4477343447" @@ -9634,7 +10373,7 @@ regexpu-core@^2.0.0: regjsgen "^0.2.0" regjsparser "^0.1.4" -registry-auth-token@3.3.2, registry-auth-token@^3.0.1: +registry-auth-token@3.3.2: version "3.3.2" resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-3.3.2.tgz#851fd49038eecb586911115af845260eec983f20" integrity sha512-JL39c60XlzCVgNrO+qq68FoNb56w/m7JYvGR2jT5iR1xBrUA3Mfx5Twk5rqTThPmQKMWydGmq8oFtDlxfrmxnQ== @@ -9642,6 +10381,14 @@ registry-auth-token@3.3.2, registry-auth-token@^3.0.1: rc "^1.1.6" safe-buffer "^5.0.1" +registry-auth-token@^3.0.1: + version "3.4.0" + resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-3.4.0.tgz#d7446815433f5d5ed6431cd5dca21048f66b397e" + integrity sha512-4LM6Fw8eBQdwMYcES4yTnn2TqIasbXuwDx3um+QRs7S55aMKCBKBxvPXl2RiUjHwuJLTyYfxSpmfSAjQpcuP+A== + dependencies: + rc "^1.1.6" + safe-buffer "^5.0.1" + registry-url@3.1.0, registry-url@^3.0.3: version "3.1.0" resolved "https://registry.yarnpkg.com/registry-url/-/registry-url-3.1.0.tgz#3d4ef870f73dde1d77f0cf9a381432444e174942" @@ -9904,6 +10651,11 @@ requires-port@^1.0.0: resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8= +resize-observer-polyfill@^1.5.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz#0e9020dd3d21024458d4ebd27e23e40269810464" + integrity sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg== + resolve-cwd@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a" @@ -9932,6 +10684,11 @@ resolve-from@^3.0.0: resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748" integrity sha1-six699nWiBvItuZTM17rywoYh0g= +resolve-from@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" + integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== + resolve-pathname@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/resolve-pathname/-/resolve-pathname-2.2.0.tgz#7e9ae21ed815fd63ab189adeee64dc831eefa879" @@ -9943,9 +10700,9 @@ resolve-url@^0.2.1: integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo= resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.10.0.tgz#3bdaaeaf45cc07f375656dfd2e54ed0810b101ba" - integrity sha512-3sUr9aq5OfSg2S9pNtPA9hL1FVEAjvfOC4leW0SNf/mpnaakz2a9femSd6LqAww2RaFctwyf1lCqnTHuF1rxDg== + version "1.10.1" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.10.1.tgz#664842ac960795bbe758221cdccda61fb64b5f18" + integrity sha512-KuIe4mf++td/eFb6wkaPbMDnP6kObCaEtIDuHOUED6MNUo4K670KZUHuuvYPZDxNF0WVLw49n06M2m2dXphEzA== dependencies: path-parse "^1.0.6" @@ -10117,9 +10874,9 @@ sane@^1.3.3: watch "~0.10.0" sanitize-html@^1.14.1: - version "1.20.0" - resolved "https://registry.yarnpkg.com/sanitize-html/-/sanitize-html-1.20.0.tgz#9a602beb1c9faf960fb31f9890f61911cc4d9156" - integrity sha512-BpxXkBoAG+uKCHjoXFmox6kCSYpnulABoGcZ/R3QyY9ndXbIM5S94eOr1IqnzTG8TnbmXaxWoDDzKC5eJv7fEQ== + version "1.20.1" + resolved "https://registry.yarnpkg.com/sanitize-html/-/sanitize-html-1.20.1.tgz#f6effdf55dd398807171215a62bfc21811bacf85" + integrity sha512-txnH8TQjaQvg2Q0HY06G6CDJLVYCpbnxrdO0WN8gjCKaU5J0KbyGYhZxx5QJg3WLZ1lB7XU9kDkfrCXUozqptA== dependencies: chalk "^2.4.1" htmlparser2 "^3.10.0" @@ -10177,6 +10934,11 @@ scroll-behavior@^0.9.9: dom-helpers "^3.2.1" invariant "^2.2.2" +scrollbarwidth@^0.1.3: + version "0.1.3" + resolved "https://registry.yarnpkg.com/scrollbarwidth/-/scrollbarwidth-0.1.3.tgz#1b0de64e288c38c427f4a01fe00a462a04b94fdf" + integrity sha1-Gw3mTiiMOMQn9KAf4ApGKgS5T98= + seek-bzip@^1.0.3: version "1.0.5" resolved "https://registry.yarnpkg.com/seek-bzip/-/seek-bzip-1.0.5.tgz#cfe917cb3d274bcffac792758af53173eb1fabdc" @@ -10184,6 +10946,11 @@ seek-bzip@^1.0.3: dependencies: commander "~2.8.1" +select@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/select/-/select-1.1.2.tgz#0e7350acdec80b1108528786ec1d4418d11b396d" + integrity sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0= + semver-diff@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/semver-diff/-/semver-diff-2.1.0.tgz#4bbb8437c8d37e4b0cf1a68fd726ec6d645d6d36" @@ -10204,9 +10971,9 @@ semver-truncate@^1.0.0: semver "^5.3.0" "semver@2 || 3 || 4 || 5", semver@^5.0.1, semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5.1: - version "5.6.0" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004" - integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg== + version "5.7.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.0.tgz#790a7cf6fea5459bac96110b29b60412dc8ff96b" + integrity sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA== semver@^4.0.3, semver@^4.3.3: version "4.3.6" @@ -10352,7 +11119,7 @@ shallow-compare@^1.2.2: resolved "https://registry.yarnpkg.com/shallow-compare/-/shallow-compare-1.2.2.tgz#fa4794627bf455a47c4f56881d8a6132d581ffdb" integrity sha512-LUMFi+RppPlrHzbqmFnINTrazo0lPNwhcgzuAXVVcfy/mqPDrQmHAyz5bvV0gDAuRFrk804V0HpQ6u9sZ0tBeg== -shallowequal@^1.0.1, shallowequal@^1.0.2: +shallowequal@1.1.0, shallowequal@^1.0.1, shallowequal@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8" integrity sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ== @@ -10440,10 +11207,31 @@ simple-swizzle@^0.2.2: dependencies: is-arrayish "^0.3.1" -sitemap@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/sitemap/-/sitemap-2.1.0.tgz#1633cb88c196d755ad94becfb1c1bcacc6d3425a" - integrity sha512-AkfA7RDVCITQo+j5CpXsMJlZ/8ENO2NtgMHYIh+YMvex2Hao/oe3MQgNa03p0aWY6srCfUA1Q02OgiWCAiuccA== +simplebar-react@^1.0.0-alpha.6: + version "1.0.0-alpha.9" + resolved "https://registry.yarnpkg.com/simplebar-react/-/simplebar-react-1.0.0-alpha.9.tgz#06d774b425c6ea611e8738773abe88bcbcf025c6" + integrity sha512-xP6/7Rpxz6z0o3PoF72BoavxJ9vF0+Br60AFGN6G4Tj4Y5eGbU8JnCcgdeY+JvWGqs6YnRMAqKr+vkIaWiPmPg== + dependencies: + prop-types "^15.6.1" + simplebar "^4.0.0-alpha.9" + +simplebar@^4.0.0-alpha.9: + version "4.0.0-alpha.9" + resolved "https://registry.yarnpkg.com/simplebar/-/simplebar-4.0.0-alpha.9.tgz#e6cf24a2e613abbef952e962680ed2429d421617" + integrity sha512-WGscL/Lsrfk0uTuG1Pyl/jV6ZkZh0A70atCxcVfvS81aGZdnRjQfHntQPT/nSr+8jxv6YSib5F+FnPCGVw9raw== + dependencies: + can-use-dom "^0.1.0" + core-js "^3.0.1" + lodash.debounce "^4.0.8" + lodash.memoize "^4.1.2" + lodash.throttle "^4.1.1" + resize-observer-polyfill "^1.5.1" + scrollbarwidth "^0.1.3" + +sitemap@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/sitemap/-/sitemap-2.2.0.tgz#98b8502762c5d7e8c77c9be5061dce85b326f1b0" + integrity sha512-9Zoi3UBhSIt5jWENDRUbzsqLMJ+Fha3P2aQ2PRghmh0FOivtHsC4FAJdkAEKHvATajd74BWp/57Yh7kz/UA53Q== dependencies: lodash "^4.17.10" url-join "^4.0.0" @@ -10531,11 +11319,11 @@ socket.io@^2.0.3: socket.io-parser "~3.3.0" socketcluster-client@^14.2.1: - version "14.2.1" - resolved "https://registry.yarnpkg.com/socketcluster-client/-/socketcluster-client-14.2.1.tgz#f5cc896fb713006deb2aea6727440c2bff5d43cb" - integrity sha512-peCBfewW1silqvLecFpLz5u2xr85r8b7A24mXaNTsXLnG9QR3zxecYtKS/odszzJSu2j2YyQPR4avy77tZSjZw== + version "14.2.2" + resolved "https://registry.yarnpkg.com/socketcluster-client/-/socketcluster-client-14.2.2.tgz#60b31318abe6828ba7233f5a9a32540263fd23b6" + integrity sha512-vofmFcTaHaIf+MqAR0OZS7e30X4jxbDPJl+taCe8kLGJ5rVOrKeuU0sGyHyHyqW87AIR6jqc4KODl4WQJ4SsAA== dependencies: - base-64 "0.1.0" + buffer "^5.2.1" clone "2.1.1" component-emitter "1.2.1" linked-list "0.1.0" @@ -10637,7 +11425,7 @@ source-map@0.5.6: resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412" integrity sha1-dc449SvwczxafwwRjYEzSiu19BI= -source-map@^0.5.3, source-map@^0.5.6, source-map@^0.5.7, source-map@~0.5.1, source-map@~0.5.3: +source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@^0.5.7, source-map@~0.5.1, source-map@~0.5.3: version "0.5.7" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w= @@ -10669,11 +11457,9 @@ sourcemapped-stacktrace@^1.1.6: source-map "0.5.6" space-separated-tokens@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/space-separated-tokens/-/space-separated-tokens-1.1.2.tgz#e95ab9d19ae841e200808cd96bc7bd0adbbb3412" - integrity sha512-G3jprCEw+xFEs0ORweLmblJ3XLymGGr6hxZYTYZjIlvDti9vOBUjRQa1Rzjt012aRrocKstHwdNi+F7HguPsEA== - dependencies: - trim "0.0.1" + version "1.1.3" + resolved "https://registry.yarnpkg.com/space-separated-tokens/-/space-separated-tokens-1.1.3.tgz#bc6500e116d13285a94b59b58c44c7f045fe6124" + integrity sha512-/M5RAdBuQlSDPNfA5ube+fkHbHyY08pMuADLmsAQURzo56w90r681oiOoz3o3ZQyWdSeNucpTFjL+Ggd5qui3w== sparkles@^1.0.0: version "1.0.1" @@ -10702,9 +11488,9 @@ spdx-expression-parse@^3.0.0: spdx-license-ids "^3.0.0" spdx-license-ids@^3.0.0: - version "3.0.3" - resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.3.tgz#81c0ce8f21474756148bbb5f3bfc0f36bf15d76e" - integrity sha512-uBIcIl3Ih6Phe3XHK1NqboJLdGfwr1UN3k6wSD1dZpmPsIkb8AGNbZYJ1fOBk834+Gxy8rpfDxrS6XLEMZMY2g== + version "3.0.4" + resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.4.tgz#75ecd1a88de8c184ef015eafb51b5b48bfd11bb1" + integrity sha512-7j8LYJLeY/Yb6ACbQ7F76qy5jHkp0U6jgBfJsk97bwWlVUnUWsAgpyaCvo17h0/RQGnQ036tVDomiwoI4pDkQA== split-string@^3.0.1, split-string@^3.0.2: version "3.1.0" @@ -11025,17 +11811,26 @@ style-loader@^0.13.0: dependencies: loader-utils "^1.0.2" -styled-components@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-4.2.0.tgz#811fbbec4d64c7189f6c7482b9eb6fefa7fefef7" - integrity sha512-L/LzkL3ZbBhqIVHdR7DbYujy4tqvTNRfc+4JWDCYyhTatI+8CRRQUmdaR0+ARl03DWsfKLhjewll5uNLrqrl4A== +style-to-object@0.2.3: + version "0.2.3" + resolved "https://registry.yarnpkg.com/style-to-object/-/style-to-object-0.2.3.tgz#afcf42bc03846b1e311880c55632a26ad2780bcb" + integrity sha512-1d/k4EY2N7jVLOqf2j04dTc37TPOv/hHxZmvpg8Pdh8UYydxeu/C1W1U4vD8alzf5V2Gt7rLsmkr4dxAlDm9ng== + dependencies: + inline-style-parser "0.1.1" + +styled-components@^4.3.2: + version "4.3.2" + resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-4.3.2.tgz#4ca81918c812d3006f60ac5fdec7d6b64a9509cc" + integrity sha512-NppHzIFavZ3TsIU3R1omtddJ0Bv1+j50AKh3ZWyXHuFvJq1I8qkQ5mZ7uQgD89Y8zJNx2qRo6RqAH1BmoVafHw== dependencies: "@babel/helper-module-imports" "^7.0.0" - "@emotion/is-prop-valid" "^0.7.3" + "@babel/traverse" "^7.0.0" + "@emotion/is-prop-valid" "^0.8.1" "@emotion/unitless" "^0.7.0" babel-plugin-styled-components ">= 1" css-to-react-native "^2.2.2" memoize-one "^5.0.0" + merge-anything "^2.2.4" prop-types "^15.5.4" react-is "^16.6.0" stylis "^3.5.0" @@ -11217,6 +12012,11 @@ text-table@0.2.0: resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= +throttle-debounce@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/throttle-debounce/-/throttle-debounce-2.1.0.tgz#257e648f0a56bd9e54fe0f132c4ab8611df4e1d5" + integrity sha512-AOvyNahXQuU7NN+VVvOOX+uW6FPaWdAOdRP5HfwYxAfCzXTFKRMoIMk+n+po318+ktcChx+F1Dd91G3YHeMKyg== + through2-filter@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/through2-filter/-/through2-filter-2.0.0.tgz#60bc55a0dacb76085db1f9dae99ab43f83d622ec" @@ -11281,6 +12081,21 @@ timers-browserify@^2.0.2, timers-browserify@^2.0.4: dependencies: setimmediate "^1.0.4" +tiny-emitter@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/tiny-emitter/-/tiny-emitter-2.1.0.tgz#1d1a56edfc51c43e863cbb5382a72330e3555423" + integrity sha512-NB6Dk1A9xgQPMoGqC5CVXn123gWyte215ONT5Pp5a0yt4nlEoO1ZWeCwpncaekPHXO60i47ihFnZPiRPjRMq4Q== + +tiny-invariant@^1.0.2: + version "1.0.4" + resolved "https://registry.yarnpkg.com/tiny-invariant/-/tiny-invariant-1.0.4.tgz#346b5415fd93cb696b0c4e8a96697ff590f92463" + integrity sha512-lMhRd/djQJ3MoaHEBrw8e2/uM4rs9YMNk0iOr8rHQ0QdbM7D4l0gFl3szKdeixrlyfm9Zqi4dxHCM2qVG8ND5g== + +tiny-warning@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.2.tgz#1dfae771ee1a04396bdfde27a3adcebc6b648b28" + integrity sha512-rru86D9CpQRLvsFG5XFdy0KdLAvjdQDyZCsRcuu60WtzFylDM3eAWSxEVz5kzL2Gp544XiUvPbVKtOA/txLi9Q== + tinycolor2@^1.1.2: version "1.4.1" resolved "https://registry.yarnpkg.com/tinycolor2/-/tinycolor2-1.4.1.tgz#f4fad333447bc0b07d4dc8e9209d8f39a8ac77e8" @@ -11465,12 +12280,12 @@ tweetnacl@^0.14.3, tweetnacl@~0.14.0: integrity sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q= type-is@~1.6.16: - version "1.6.16" - resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.16.tgz#f89ce341541c672b25ee7ae3c73dee3b2be50194" - integrity sha512-HRkVv/5qY2G6I8iab9cI7v1bOIdhm94dVjQCPFElW9W+3GeDOSHmy2EBYe4VTApuzolPcmgFTN3ftVJRKR2J9Q== + version "1.6.18" + resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" + integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g== dependencies: media-typer "0.3.0" - mime-types "~2.1.18" + mime-types "~2.1.24" type-of@^2.0.1: version "2.0.1" @@ -11686,6 +12501,11 @@ unpipe@1.0.0, unpipe@~1.0.0: resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" integrity sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw= +unquote@^1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/unquote/-/unquote-1.1.1.tgz#8fded7324ec6e88a0ff8b905e7c098cdc086d544" + integrity sha1-j97XMk7G6IoP+LkF58CYzcCG1UQ= + unset-value@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559" @@ -11762,11 +12582,11 @@ url-parse-lax@^1.0.0: prepend-http "^1.0.1" url-parse@^1.1.8, url-parse@^1.4.3: - version "1.4.4" - resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.4.4.tgz#cac1556e95faa0303691fec5cf9d5a1bc34648f8" - integrity sha512-/92DTTorg4JjktLNLe6GPS2/RvAd/RGr6LuktmWSMLEOa6rjnlrFXNgSbSmkNvCoL2T028A0a1JaJLzRMlFoHg== + version "1.4.7" + resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.4.7.tgz#a8a83535e8c00a316e403a5db4ac1b9b853ae278" + integrity sha512-d3uaVyzDB9tQoSXFvuSUNFibTd9zxd2bkVrDRvF5TmvWWQwqE4lgYJ5m+x1DbecWkw+LK4RNl2CU1hHuOKPVlg== dependencies: - querystringify "^2.0.0" + querystringify "^2.1.1" requires-port "^1.0.0" url-regex@^3.0.0: @@ -12043,9 +12863,9 @@ watchpack@^0.2.1: graceful-fs "^4.1.2" web-namespaces@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/web-namespaces/-/web-namespaces-1.1.2.tgz#c8dc267ab639505276bae19e129dbd6ae72b22b4" - integrity sha512-II+n2ms4mPxK+RnIxRPOw3zwF2jRscdJIUE9BfkKHm4FYEg9+biIoTMnaZF5MpemE3T+VhMLrhbyD4ilkPCSbg== + version "1.1.3" + resolved "https://registry.yarnpkg.com/web-namespaces/-/web-namespaces-1.1.3.tgz#9bbf5c99ff0908d2da031f1d732492a96571a83f" + integrity sha512-r8sAtNmgR0WKOKOxzuSgk09JsHlpKlB+uHi937qypOu3PZ17UxPrierFKDye/uNHjNTTEshu5PId8rojIPj/tA== webpack-configurator@^0.3.0: version "0.3.1" @@ -12100,9 +12920,9 @@ webpack-dev-server@^1.16.1: webpack-dev-middleware "^1.10.2" webpack-hot-middleware@^2.13.2: - version "2.24.3" - resolved "https://registry.yarnpkg.com/webpack-hot-middleware/-/webpack-hot-middleware-2.24.3.tgz#5bb76259a8fc0d97463ab517640ba91d3382d4a6" - integrity sha512-pPlmcdoR2Fn6UhYjAhp1g/IJy1Yc9hD+T6O9mjRcWV2pFbBjIFoJXhP0CoD0xPOhWJuWXuZXGBga9ybbOdzXpg== + version "2.24.4" + resolved "https://registry.yarnpkg.com/webpack-hot-middleware/-/webpack-hot-middleware-2.24.4.tgz#0ae1eeca000c6ffdcb22eb574d0e6d7717672b0f" + integrity sha512-YFA4j2tg9WPkcQKcyHMZn6787QngWf/ahXvAJRZ1ripySa+4ihjzDcYBsfC4ihOucTd02IJ12v+VTGMsEGxq0w== dependencies: ansi-html "0.0.7" html-entities "^1.2.0" diff --git a/examples-native/crna-kitchen-sink/app.json b/examples-native/crna-kitchen-sink/app.json index 220b51b09be0..91548780bbe7 100644 --- a/examples-native/crna-kitchen-sink/app.json +++ b/examples-native/crna-kitchen-sink/app.json @@ -18,6 +18,6 @@ }, "name": "crna-kitchen-sink", "slug": "crna-kitchen-sink", - "githubUrl": "https://github.com/storybooks/storybook/" + "githubUrl": "https://github.com/storybookjs/storybook/" } } \ No newline at end of file diff --git a/examples-native/crna-kitchen-sink/package.json b/examples-native/crna-kitchen-sink/package.json index ea990795a418..a17a0a267199 100644 --- a/examples-native/crna-kitchen-sink/package.json +++ b/examples-native/crna-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "crna-kitchen-sink", - "version": "5.1.0-alpha.39", + "version": "5.2.0-alpha.30", "private": true, "main": "node_modules/expo/AppEntry.js", "scripts": { @@ -17,29 +17,29 @@ "dependencies": { "expo": "^32.0.6", "prop-types": "^15.6.2", - "react": "16.5.1", + "react": "16.8.6", "react-native": "https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz", "whatwg-fetch": "^3.0.0" }, "devDependencies": { "@babel/core": "^7.2.2", "@babel/plugin-transform-react-jsx-source": "^7.2.0", - "@storybook/addon-actions": "5.1.0-alpha.39", - "@storybook/addon-knobs": "5.1.0-alpha.39", - "@storybook/addon-ondevice-actions": "5.1.0-alpha.39", - "@storybook/addon-ondevice-backgrounds": "5.1.0-alpha.39", - "@storybook/addon-ondevice-knobs": "5.1.0-alpha.39", - "@storybook/addon-ondevice-notes": "5.1.0-alpha.39", - "@storybook/addons": "5.1.0-alpha.39", - "@storybook/react-native": "5.1.0-alpha.39", + "@storybook/addon-actions": "5.2.0-alpha.30", + "@storybook/addon-knobs": "5.2.0-alpha.30", + "@storybook/addon-ondevice-actions": "5.2.0-alpha.30", + "@storybook/addon-ondevice-backgrounds": "5.2.0-alpha.30", + "@storybook/addon-ondevice-knobs": "5.2.0-alpha.30", + "@storybook/addon-ondevice-notes": "5.2.0-alpha.30", + "@storybook/addons": "5.2.0-alpha.30", + "@storybook/react-native": "5.2.0-alpha.30", "babel-loader": "^8.0.4", "babel-plugin-module-resolver": "^3.2.0", "babel-preset-expo": "^5.1.1", - "core-js": "^2.5.7", - "expo-cli": "^2.11.9", - "jest-expo": "^32.0.0", + "core-js": "^3.0.1", + "expo-cli": "^2.17.1", + "jest-expo": "^33.0.2", "react-test-renderer": "16.5.1", - "schedule": "^0.4.0" + "schedule": "^0.5.0" }, "workspaces": { "nohoist": [ diff --git a/examples-native/crna-kitchen-sink/storybook/stories/index.js b/examples-native/crna-kitchen-sink/storybook/stories/index.js index 1cc3e1352dc1..b1e80c977bd7 100644 --- a/examples-native/crna-kitchen-sink/storybook/stories/index.js +++ b/examples-native/crna-kitchen-sink/storybook/stories/index.js @@ -20,7 +20,9 @@ addParameters({ ], }); -storiesOf('Welcome', module).add('to Storybook', () => , { +storiesOf('Welcome', module).addParameters({ + component: Welcome +}).add('to Storybook', () => , { notes: ` # Markdown!\n * List Item @@ -28,7 +30,9 @@ storiesOf('Welcome', module).add('to Storybook', () =>
    - Parameters are {"options":{"hierarchyRootSeparator":{},"hierarchySeparator":{}},"globalParameter":"globalParameter","chapterParameter":"chapterParameter","storyParameter":"storyParameter"} + Parameters are {"options":{"hierarchyRootSeparator":{},"hierarchySeparator":{}},"globalParameter":"globalParameter","framework":"angular","chapterParameter":"chapterParameter","storyParameter":"storyParameter"} diff --git a/examples/angular-cli/src/stories/module-context/module-context.stories.ts b/examples/angular-cli/src/stories/module-context/module-context.stories.ts index e3dd4fbf15c8..c3ffbe7c147c 100644 --- a/examples/angular-cli/src/stories/module-context/module-context.stories.ts +++ b/examples/angular-cli/src/stories/module-context/module-context.stories.ts @@ -33,17 +33,12 @@ storiesOf('Custom|Feature Module as Context', module) }; return { component: ChipsGroupComponent, - requiresComponentDeclaration: false, props, }; }, { - notes: ` - This component includes a child component, a pipe, and a default provider, all which come from - the specified feature module. - - This behavior is possible by setting the "requiresComponentDeclaration" flag to false. - `.replace(/ {1,}/g, ' '), + notes: `This component includes a child component, a pipe, and a default provider, all which come from + the specified feature module.`, } ) .add('Component with default providers', () => { @@ -53,7 +48,6 @@ storiesOf('Custom|Feature Module as Context', module) }; return { component: ChipComponent, - requiresComponentDeclaration: false, props, }; }) @@ -72,7 +66,6 @@ storiesOf('Custom|Feature Module as Context', module) }, ], }, - requiresComponentDeclaration: false, props, }; }); diff --git a/examples/cra-kitchen-sink/.storybook/config.js b/examples/cra-kitchen-sink/.storybook/config.js index 7268ac978804..2e90f698f41e 100644 --- a/examples/cra-kitchen-sink/.storybook/config.js +++ b/examples/cra-kitchen-sink/.storybook/config.js @@ -1,6 +1,5 @@ import { configure, addParameters, addDecorator } from '@storybook/react'; import { create } from '@storybook/theming'; - import { withA11y } from '@storybook/addon-a11y'; addDecorator(withA11y); @@ -10,14 +9,13 @@ addParameters({ showAddonsPanel: true, showSearchBox: false, panelPosition: 'right', - sortStoriesByKind: false, hierarchySeparator: /\./, hierarchyRootSeparator: /\|/, enableShortcuts: true, theme: create({ base: 'light', brandTitle: 'CRA Kitchen Sink', - brandUrl: 'https://github.com/storybooks/storybook/tree/master/examples/cra-kitchen-sink', + brandUrl: 'https://github.com/storybookjs/storybook/tree/master/examples/cra-kitchen-sink', gridCellSize: 12, }), storySort: (a, b) => a[1].id.localeCompare(b[1].id), diff --git a/examples/cra-kitchen-sink/jest.config.js b/examples/cra-kitchen-sink/jest.config.js index b1ffc36fb83f..630d91e3b45f 100644 --- a/examples/cra-kitchen-sink/jest.config.js +++ b/examples/cra-kitchen-sink/jest.config.js @@ -8,6 +8,7 @@ module.exports = { '/__mocks__/fileMock.js', '\\.(css|scss)$': '/__mocks__/styleMock.js', '\\.(md)$': '/__mocks__/htmlMock.js', + ...config.moduleNameMapper, }, transform: { ...config.transform, diff --git a/examples/cra-kitchen-sink/package.json b/examples/cra-kitchen-sink/package.json index 3ed5bab13679..bb4ccf11638e 100644 --- a/examples/cra-kitchen-sink/package.json +++ b/examples/cra-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-kitchen-sink", - "version": "5.1.0-alpha.39", + "version": "5.2.0-alpha.30", "private": true, "scripts": { "build": "react-scripts build", @@ -14,27 +14,27 @@ "dependencies": { "global": "^4.3.2", "prop-types": "^15.7.2", - "react": "^16.8.4", - "react-dom": "^16.8.4", + "react": "^16.8.3", + "react-dom": "^16.8.3", "react-lifecycles-compat": "^3.0.4" }, "devDependencies": { - "@storybook/addon-a11y": "5.1.0-alpha.39", - "@storybook/addon-actions": "5.1.0-alpha.39", - "@storybook/addon-backgrounds": "5.1.0-alpha.39", - "@storybook/addon-centered": "5.1.0-alpha.39", - "@storybook/addon-events": "5.1.0-alpha.39", - "@storybook/addon-info": "5.1.0-alpha.39", - "@storybook/addon-jest": "5.1.0-alpha.39", - "@storybook/addon-knobs": "5.1.0-alpha.39", - "@storybook/addon-links": "5.1.0-alpha.39", - "@storybook/addon-notes": "5.1.0-alpha.39", - "@storybook/addon-options": "5.1.0-alpha.39", - "@storybook/addon-storyshots": "5.1.0-alpha.39", - "@storybook/addons": "5.1.0-alpha.39", - "@storybook/client-logger": "5.1.0-alpha.39", - "@storybook/react": "5.1.0-alpha.39", - "@storybook/theming": "5.1.0-alpha.39", - "react-scripts": "^2.1.8" + "@storybook/addon-a11y": "5.2.0-alpha.30", + "@storybook/addon-actions": "5.2.0-alpha.30", + "@storybook/addon-backgrounds": "5.2.0-alpha.30", + "@storybook/addon-centered": "5.2.0-alpha.30", + "@storybook/addon-events": "5.2.0-alpha.30", + "@storybook/addon-info": "5.2.0-alpha.30", + "@storybook/addon-jest": "5.2.0-alpha.30", + "@storybook/addon-knobs": "5.2.0-alpha.30", + "@storybook/addon-links": "5.2.0-alpha.30", + "@storybook/addon-notes": "5.2.0-alpha.30", + "@storybook/addon-options": "5.2.0-alpha.30", + "@storybook/addon-storyshots": "5.2.0-alpha.30", + "@storybook/addons": "5.2.0-alpha.30", + "@storybook/client-logger": "5.2.0-alpha.30", + "@storybook/react": "5.2.0-alpha.30", + "@storybook/theming": "5.2.0-alpha.30", + "react-scripts": "^3.0.1" } } diff --git a/examples/cra-kitchen-sink/src/stories/App.stories.js b/examples/cra-kitchen-sink/src/stories/App.stories.js index f3e86bdfb9b5..b9e23a32d875 100644 --- a/examples/cra-kitchen-sink/src/stories/App.stories.js +++ b/examples/cra-kitchen-sink/src/stories/App.stories.js @@ -1,8 +1,8 @@ // FIXME: svgr issue @igor-dv -// import React from 'react'; -// import { storiesOf } from '@storybook/react'; -// -// import App from '../App'; -// -// storiesOf('App', module).add('full app', () => ); +import React from 'react'; +import { storiesOf } from '@storybook/react'; + +import App from '../App'; + +storiesOf('App', module).add('full app', () => ); diff --git a/examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot b/examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot index a592f65b26ca..214d9e9d9e2f 100644 --- a/examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot +++ b/examples/cra-kitchen-sink/src/stories/__snapshots__/index.stories.storyshot @@ -63,7 +63,7 @@ exports[`Storyshots Button with new info 1`] = ` > Use the ( ); storiesOf('Button', module) - .add('with text', () => , { - options: { selectedPanel: 'storybook/actions/panel' }, + .addParameters({ + component: Button, }) - .add('with some emoji', () => , { + .add('with text', () => , { options: { selectedPanel: 'storybook/actions/panel' }, }) + .add( + 'with some emoji', + () => ( + + ), + { + options: { selectedPanel: 'storybook/actions/panel' }, + } + ) .add('with notes', () => , { notes: 'A very simple button', options: { selectedPanel: 'storybook/notes/panel' }, @@ -48,7 +61,7 @@ storiesOf('Button', module) options: { selectedPanel: 'storybook/info/panel' }, decorators: [ withInfo( - 'Use the [info addon](https://github.com/storybooks/storybook/tree/master/addons/info) with its new painless API.' + 'Use the [info addon](https://github.com/storybookjs/storybook/tree/master/addons/info) with its new painless API.' ), ], } diff --git a/examples/cra-kitchen-sink/src/stories/welcome.js b/examples/cra-kitchen-sink/src/stories/welcome.js index 9610f12d04e9..936d40e39e31 100644 --- a/examples/cra-kitchen-sink/src/stories/welcome.js +++ b/examples/cra-kitchen-sink/src/stories/welcome.js @@ -3,4 +3,8 @@ import { Welcome } from '@storybook/react/demo'; import { storiesOf } from '@storybook/react'; import { linkTo } from '@storybook/addon-links'; -storiesOf('Welcome', module).add('to Storybook', () => ); +storiesOf('Welcome', module) + .addParameters({ + component: Welcome, + }) + .add('to Storybook', () => ); diff --git a/examples/cra-kitchen-sink/src/storyshots.test.js b/examples/cra-kitchen-sink/src/storyshots.test.js deleted file mode 100644 index 18c32e65d22a..000000000000 --- a/examples/cra-kitchen-sink/src/storyshots.test.js +++ /dev/null @@ -1,16 +0,0 @@ -import path from 'path'; -import { render as renderer } from 'enzyme'; -import { createSerializer as enzymeSerializer } from 'enzyme-to-json'; -import { createSerializer as emotionSerializer } from 'jest-emotion'; - -import initStoryshots, { multiSnapshotWithOptions } from '@storybook/addon-storyshots'; - -initStoryshots({ - framework: 'react', - configPath: path.join(__dirname, '..', '.storybook'), - integrityOptions: { cwd: path.join(__dirname, 'stories') }, - test: multiSnapshotWithOptions({ - renderer, - }), - snapshotSerializers: [enzymeSerializer(), emotionSerializer()], -}); diff --git a/examples/cra-react15/.storybook/addons.js b/examples/cra-react15/.storybook/addons.js new file mode 100644 index 000000000000..6aed412d04af --- /dev/null +++ b/examples/cra-react15/.storybook/addons.js @@ -0,0 +1,2 @@ +import '@storybook/addon-actions/register'; +import '@storybook/addon-links/register'; diff --git a/examples/cra-react15/.storybook/config.js b/examples/cra-react15/.storybook/config.js new file mode 100644 index 000000000000..171047231878 --- /dev/null +++ b/examples/cra-react15/.storybook/config.js @@ -0,0 +1,14 @@ +import { configure, addParameters } from '@storybook/react'; +import { create } from '@storybook/theming/create'; + +function loadStories() { + require('../src/stories'); +} + +addParameters({ + options: { + theme: create({ colorPrimary: 'hotpink', colorSecondary: 'orangered' }), + }, +}); + +configure(loadStories, module); diff --git a/examples/cra-react15/README.md b/examples/cra-react15/README.md new file mode 100644 index 000000000000..d3442797bfc8 --- /dev/null +++ b/examples/cra-react15/README.md @@ -0,0 +1 @@ +This is a [Create React App](https://github.com/facebookincubator/create-react-app) that uses an old version of CRA and an old version of React (15.4.x). It's not meant to be exhaustive but rather to make sure we don't break legacy support. diff --git a/examples/cra-react15/package.json b/examples/cra-react15/package.json new file mode 100644 index 000000000000..9ed94139a401 --- /dev/null +++ b/examples/cra-react15/package.json @@ -0,0 +1,29 @@ +{ + "name": "cra-react15", + "version": "5.2.0-alpha.30", + "private": true, + "dependencies": { + "babel-loader": "8.0.6", + "global": "^4.3.2", + "react": "^15.4.2", + "react-dom": "^15.4.2", + "react-scripts": "3.0.1" + }, + "scripts": { + "start": "react-scripts start", + "build": "react-scripts build", + "test": "react-scripts test --env=jsdom", + "eject": "react-scripts eject", + "now-build": "node ../../scripts/bootstrap --core && yarn run build-storybook --quiet", + "storybook": "start-storybook -p 9009 -s public", + "build-storybook": "build-storybook -s public" + }, + "devDependencies": { + "@storybook/addon-actions": "5.2.0-alpha.30", + "@storybook/addon-links": "5.2.0-alpha.30", + "@storybook/react": "5.2.0-alpha.30", + "@storybook/theming": "5.2.0-alpha.30", + "babel-core": "6", + "babel-runtime": "6" + } +} diff --git a/examples/cra-react15/public/favicon.ico b/examples/cra-react15/public/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..a11777cc471a4344702741ab1c8a588998b1311a GIT binary patch literal 3870 zcma);c{J4h9>;%nil|2-o+rCuEF-(I%-F}ijC~o(k~HKAkr0)!FCj~d>`RtpD?8b; zXOC1OD!V*IsqUwzbMF1)-gEDD=A573Z-&G7^LoAC9|WO7Xc0Cx1g^Zu0u_SjAPB3vGa^W|sj)80f#V0@M_CAZTIO(t--xg= z!sii`1giyH7EKL_+Wi0ab<)&E_0KD!3Rp2^HNB*K2@PHCs4PWSA32*-^7d{9nH2_E zmC{C*N*)(vEF1_aMamw2A{ZH5aIDqiabnFdJ|y0%aS|64E$`s2ccV~3lR!u<){eS` z#^Mx6o(iP1Ix%4dv`t@!&Za-K@mTm#vadc{0aWDV*_%EiGK7qMC_(`exc>-$Gb9~W!w_^{*pYRm~G zBN{nA;cm^w$VWg1O^^<6vY`1XCD|s_zv*g*5&V#wv&s#h$xlUilPe4U@I&UXZbL z0)%9Uj&@yd03n;!7do+bfixH^FeZ-Ema}s;DQX2gY+7g0s(9;`8GyvPY1*vxiF&|w z>!vA~GA<~JUqH}d;DfBSi^IT*#lrzXl$fNpq0_T1tA+`A$1?(gLb?e#0>UELvljtQ zK+*74m0jn&)5yk8mLBv;=@}c{t0ztT<v;Avck$S6D`Z)^c0(jiwKhQsn|LDRY&w(Fmi91I7H6S;b0XM{e zXp0~(T@k_r-!jkLwd1_Vre^v$G4|kh4}=Gi?$AaJ)3I+^m|Zyj#*?Kp@w(lQdJZf4 z#|IJW5z+S^e9@(6hW6N~{pj8|NO*>1)E=%?nNUAkmv~OY&ZV;m-%?pQ_11)hAr0oAwILrlsGawpxx4D43J&K=n+p3WLnlDsQ$b(9+4 z?mO^hmV^F8MV{4Lx>(Q=aHhQ1){0d*(e&s%G=i5rq3;t{JC zmgbn5Nkl)t@fPH$v;af26lyhH!k+#}_&aBK4baYPbZy$5aFx4}ka&qxl z$=Rh$W;U)>-=S-0=?7FH9dUAd2(q#4TCAHky!$^~;Dz^j|8_wuKc*YzfdAht@Q&ror?91Dm!N03=4=O!a)I*0q~p0g$Fm$pmr$ zb;wD;STDIi$@M%y1>p&_>%?UP($15gou_ue1u0!4(%81;qcIW8NyxFEvXpiJ|H4wz z*mFT(qVx1FKufG11hByuX%lPk4t#WZ{>8ka2efjY`~;AL6vWyQKpJun2nRiZYDij$ zP>4jQXPaP$UC$yIVgGa)jDV;F0l^n(V=HMRB5)20V7&r$jmk{UUIe zVjKroK}JAbD>B`2cwNQ&GDLx8{pg`7hbA~grk|W6LgiZ`8y`{Iq0i>t!3p2}MS6S+ zO_ruKyAElt)rdS>CtF7j{&6rP-#c=7evGMt7B6`7HG|-(WL`bDUAjyn+k$mx$CH;q2Dz4x;cPP$hW=`pFfLO)!jaCL@V2+F)So3}vg|%O*^T1j>C2lx zsURO-zIJC$^$g2byVbRIo^w>UxK}74^TqUiRR#7s_X$e)$6iYG1(PcW7un-va-S&u zHk9-6Zn&>T==A)lM^D~bk{&rFzCi35>UR!ZjQkdSiNX*-;l4z9j*7|q`TBl~Au`5& z+c)*8?#-tgUR$Zd%Q3bs96w6k7q@#tUn`5rj+r@_sAVVLqco|6O{ILX&U-&-cbVa3 zY?ngHR@%l{;`ri%H*0EhBWrGjv!LE4db?HEWb5mu*t@{kv|XwK8?npOshmzf=vZA@ zVSN9sL~!sn?r(AK)Q7Jk2(|M67Uy3I{eRy z_l&Y@A>;vjkWN5I2xvFFTLX0i+`{qz7C_@bo`ZUzDugfq4+>a3?1v%)O+YTd6@Ul7 zAfLfm=nhZ`)P~&v90$&UcF+yXm9sq!qCx3^9gzIcO|Y(js^Fj)Rvq>nQAHI92ap=P z10A4@prk+AGWCb`2)dQYFuR$|H6iDE8p}9a?#nV2}LBCoCf(Xi2@szia7#gY>b|l!-U`c}@ zLdhvQjc!BdLJvYvzzzngnw51yRYCqh4}$oRCy-z|v3Hc*d|?^Wj=l~18*E~*cR_kU z{XsxM1i{V*4GujHQ3DBpl2w4FgFR48Nma@HPgnyKoIEY-MqmMeY=I<%oG~l!f<+FN z1ZY^;10j4M4#HYXP zw5eJpA_y(>uLQ~OucgxDLuf}fVs272FaMxhn4xnDGIyLXnw>Xsd^J8XhcWIwIoQ9} z%FoSJTAGW(SRGwJwb=@pY7r$uQRK3Zd~XbxU)ts!4XsJrCycrWSI?e!IqwqIR8+Jh zlRjZ`UO1I!BtJR_2~7AbkbSm%XQqxEPkz6BTGWx8e}nQ=w7bZ|eVP4?*Tb!$(R)iC z9)&%bS*u(lXqzitAN)Oo=&Ytn>%Hzjc<5liuPi>zC_nw;Z0AE3Y$Jao_Q90R-gl~5 z_xAb2J%eArrC1CN4G$}-zVvCqF1;H;abAu6G*+PDHSYFx@Tdbfox*uEd3}BUyYY-l zTfEsOqsi#f9^FoLO;ChK<554qkri&Av~SIM*{fEYRE?vH7pTAOmu2pz3X?Wn*!ROX ztd54huAk&mFBemMooL33RV-*1f0Q3_(7hl$<#*|WF9P!;r;4_+X~k~uKEqdzZ$5Al zV63XN@)j$FN#cCD;ek1R#l zv%pGrhB~KWgoCj%GT?%{@@o(AJGt*PG#l3i>lhmb_twKH^EYvacVY-6bsCl5*^~L0 zonm@lk2UvvTKr2RS%}T>^~EYqdL1q4nD%0n&Xqr^cK^`J5W;lRRB^R-O8b&HENO||mo0xaD+S=I8RTlIfVgqN@SXDr2&-)we--K7w= zJVU8?Z+7k9dy;s;^gDkQa`0nz6N{T?(A&Iz)2!DEecLyRa&FI!id#5Z7B*O2=PsR0 zEvc|8{NS^)!d)MDX(97Xw}m&kEO@5jqRaDZ!+%`wYOI<23q|&js`&o4xvjP7D_xv@ z5hEwpsp{HezI9!~6O{~)lLR@oF7?J7i>1|5a~UuoN=q&6N}EJPV_GD`&M*v8Y`^2j zKII*d_@Fi$+i*YEW+Hbzn{iQk~yP z>7N{S4)r*!NwQ`(qcN#8SRQsNK6>{)X12nbF`*7#ecO7I)Q$uZsV+xS4E7aUn+U(K baj7?x%VD!5Cxk2YbYLNVeiXvvpMCWYo=by@ literal 0 HcmV?d00001 diff --git a/examples/cra-react15/public/index.html b/examples/cra-react15/public/index.html new file mode 100644 index 000000000000..ed0ebafa1b7c --- /dev/null +++ b/examples/cra-react15/public/index.html @@ -0,0 +1,40 @@ + + + + + + + + + + + React App + + + +
    + + + diff --git a/examples/cra-react15/public/manifest.json b/examples/cra-react15/public/manifest.json new file mode 100644 index 000000000000..ef19ec243e73 --- /dev/null +++ b/examples/cra-react15/public/manifest.json @@ -0,0 +1,15 @@ +{ + "short_name": "React App", + "name": "Create React App Sample", + "icons": [ + { + "src": "favicon.ico", + "sizes": "64x64 32x32 24x24 16x16", + "type": "image/x-icon" + } + ], + "start_url": "./index.html", + "display": "standalone", + "theme_color": "#000000", + "background_color": "#ffffff" +} diff --git a/examples/cra-react15/src/App.css b/examples/cra-react15/src/App.css new file mode 100644 index 000000000000..31be39dcc49b --- /dev/null +++ b/examples/cra-react15/src/App.css @@ -0,0 +1,32 @@ +.App { + text-align: center; +} + +.App-logo { + animation: App-logo-spin infinite 20s linear; + height: 80px; +} + +.App-header { + background-color: #222; + height: 150px; + padding: 20px; + color: white; +} + +.App-title { + font-size: 1.5em; +} + +.App-intro { + font-size: large; +} + +@keyframes App-logo-spin { + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +} diff --git a/examples/cra-react15/src/App.js b/examples/cra-react15/src/App.js new file mode 100644 index 000000000000..5c30e5e818b1 --- /dev/null +++ b/examples/cra-react15/src/App.js @@ -0,0 +1,22 @@ +/* eslint-disable react/prefer-stateless-function */ +import React, { Component } from 'react'; +import logo from './logo.svg'; +import './App.css'; + +class App extends Component { + render() { + return ( +
    +
    + logo +

    Welcome to React

    +
    +

    + To get started, edit src/App.js and save to reload. +

    +
    + ); + } +} + +export default App; diff --git a/examples/cra-react15/src/App.test.js b/examples/cra-react15/src/App.test.js new file mode 100644 index 000000000000..2fa98e36949e --- /dev/null +++ b/examples/cra-react15/src/App.test.js @@ -0,0 +1,10 @@ +import React from 'react'; +import ReactDOM from 'react-dom'; +import { document } from 'global'; +import App from './App'; + +it('renders without crashing', () => { + const div = document.createElement('div'); + ReactDOM.render(, div); + ReactDOM.unmountComponentAtNode(div); +}); diff --git a/examples/cra-react15/src/index.css b/examples/cra-react15/src/index.css new file mode 100644 index 000000000000..b4cc7250b98c --- /dev/null +++ b/examples/cra-react15/src/index.css @@ -0,0 +1,5 @@ +body { + margin: 0; + padding: 0; + font-family: sans-serif; +} diff --git a/examples/cra-react15/src/index.js b/examples/cra-react15/src/index.js new file mode 100644 index 000000000000..ad8982e6fb19 --- /dev/null +++ b/examples/cra-react15/src/index.js @@ -0,0 +1,7 @@ +import React from 'react'; +import ReactDOM from 'react-dom'; +import './index.css'; +import { document } from 'global'; +import App from './App'; + +ReactDOM.render(, document.getElementById('root')); diff --git a/examples/cra-react15/src/logo.svg b/examples/cra-react15/src/logo.svg new file mode 100644 index 000000000000..6b60c1042f58 --- /dev/null +++ b/examples/cra-react15/src/logo.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/examples/cra-react15/src/stories/index.js b/examples/cra-react15/src/stories/index.js new file mode 100644 index 000000000000..9813c023564c --- /dev/null +++ b/examples/cra-react15/src/stories/index.js @@ -0,0 +1,26 @@ +import React from 'react'; + +import { storiesOf } from '@storybook/react'; +import { action } from '@storybook/addon-actions'; +import { linkTo } from '@storybook/addon-links'; + +import { Button, Welcome } from '@storybook/react/demo'; + +storiesOf('Welcome', module) + .addParameters({ + component: Welcome, + }) + .add('to Storybook', () => ); + +storiesOf('Button', module) + .addParameters({ + component: Button, + }) + .add('with text', () => ) + .add('with some emoji', () => ( + + )); diff --git a/examples/cra-ts-kitchen-sink/.storybook/addons.js b/examples/cra-ts-kitchen-sink/.storybook/addons.js index 98e376578afb..7a1c2e86a2ed 100644 --- a/examples/cra-ts-kitchen-sink/.storybook/addons.js +++ b/examples/cra-ts-kitchen-sink/.storybook/addons.js @@ -1,2 +1,3 @@ import '@storybook/addon-actions/register'; import '@storybook/addon-options/register'; +import '@storybook/addon-a11y/register'; diff --git a/examples/cra-ts-kitchen-sink/.storybook/config.js b/examples/cra-ts-kitchen-sink/.storybook/config.js index 6ebb12248f9c..70b147bf1583 100644 --- a/examples/cra-ts-kitchen-sink/.storybook/config.js +++ b/examples/cra-ts-kitchen-sink/.storybook/config.js @@ -1,10 +1,12 @@ import { configure, addDecorator, addParameters } from '@storybook/react'; import { withInfo } from '@storybook/addon-info'; +import { withA11y } from '@storybook/addon-a11y'; +addDecorator(withA11y); addParameters({ options: { brandTitle: 'CRA TypeScript Kitchen Sink', - brandUrl: 'https://github.com/storybooks/storybook/tree/master/examples/cra-ts-kitchen-sink', + brandUrl: 'https://github.com/storybookjs/storybook/tree/master/examples/cra-ts-kitchen-sink', }, }); addDecorator(withInfo()); diff --git a/examples/cra-ts-kitchen-sink/package.json b/examples/cra-ts-kitchen-sink/package.json index 624e770615c8..7a8f3ff7a69a 100644 --- a/examples/cra-ts-kitchen-sink/package.json +++ b/examples/cra-ts-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "cra-ts-kitchen-sink", - "version": "5.1.0-alpha.39", + "version": "5.2.0-alpha.30", "private": true, "scripts": { "build-storybook": "build-storybook -s public", @@ -10,27 +10,25 @@ "test": "react-scripts test --env=jsdom" }, "dependencies": { - "react": "^16.8.4", - "react-dom": "^16.8.4" + "react": "^16.8.3", + "react-dom": "^16.8.3" }, "devDependencies": { - "@storybook/addon-actions": "5.1.0-alpha.39", - "@storybook/addon-info": "5.1.0-alpha.39", - "@storybook/addon-options": "5.1.0-alpha.39", - "@storybook/addons": "5.1.0-alpha.39", - "@storybook/react": "5.1.0-alpha.39", + "@storybook/addon-a11y": "5.2.0-alpha.30", + "@storybook/addon-actions": "5.2.0-alpha.30", + "@storybook/addon-info": "5.2.0-alpha.30", + "@storybook/addon-options": "5.2.0-alpha.30", + "@storybook/addons": "5.2.0-alpha.30", + "@storybook/react": "5.2.0-alpha.30", "@types/enzyme": "^3.9.0", - "@types/react": "^16.8.4", + "@types/react": "^16.8.3", "@types/react-dom": "^16.8.2", - "@types/storybook__addon-actions": "^3.4.1", - "@types/storybook__addon-info": "^4.1.0", - "@types/storybook__react": "^4.0.0", "enzyme": "^3.9.0", "enzyme-adapter-react-16": "^1.9.1", "enzyme-to-json": "^3.3.5", - "fork-ts-checker-webpack-plugin": "^0.5.2", + "fork-ts-checker-webpack-plugin": "^1.3.3", "react-docgen-typescript-loader": "^3.0.1", - "react-scripts": "^2.1.8", + "react-scripts": "^3.0.1", "tslint": "^5.14.0", "tslint-config-airbnb": "^5.11.1", "typescript": "^3.4.1" diff --git a/examples/cra-ts-kitchen-sink/src/types/@storybook/react.d.ts b/examples/cra-ts-kitchen-sink/src/types/@storybook/react.d.ts new file mode 100644 index 000000000000..942a8398e7b5 --- /dev/null +++ b/examples/cra-ts-kitchen-sink/src/types/@storybook/react.d.ts @@ -0,0 +1,8 @@ +export const addDecorator: any; +export const addParameters: any; +export const configure: any; +export const forceReRender: any; +export const getStorybook: any; +export const raw: any; +export const setAddon: any; +export const storiesOf: any; diff --git a/examples/cra-ts-kitchen-sink/tsconfig.json b/examples/cra-ts-kitchen-sink/tsconfig.json index 69d9d5934107..99ef5691b724 100644 --- a/examples/cra-ts-kitchen-sink/tsconfig.json +++ b/examples/cra-ts-kitchen-sink/tsconfig.json @@ -1,5 +1,7 @@ { "compilerOptions": { + "baseUrl": "src", + "paths": { "*": ["types/*"] }, "target": "es5", "module": "esnext", "lib" : ["esnext", "dom"], diff --git a/examples/dev-kits/README.md b/examples/dev-kits/README.md new file mode 100644 index 000000000000..0df0bb6d9ebb --- /dev/null +++ b/examples/dev-kits/README.md @@ -0,0 +1,14 @@ +# Official storybook + +This storybook includes stories for: + +- `@storybook/components` - reusable UI components for addon authors +- `@storybook/ui` - the UI of storybook itself +- `@storybook/addon-*` - various addons. +- `@storybook/other-*` - various examples. + +## How to make new `build-storybook`s: + +```sh +sudo ln -s ../../{new-example}/storybook-static /Users/{user}/{location-of-storybook-repo}/core/examples/official-storybook/built-storybooks/{new-example} +``` diff --git a/examples/dev-kits/addons.js b/examples/dev-kits/addons.js new file mode 100644 index 000000000000..67087bd7bb9b --- /dev/null +++ b/examples/dev-kits/addons.js @@ -0,0 +1,2 @@ +import '@storybook/addon-roundtrip/register'; +import '@storybook/addon-parameter/register'; diff --git a/examples/dev-kits/config.js b/examples/dev-kits/config.js new file mode 100644 index 000000000000..507b2b6ae9b9 --- /dev/null +++ b/examples/dev-kits/config.js @@ -0,0 +1,12 @@ +import { configure } from '@storybook/react'; + +// The simplest version of examples would just export this function for users to use +function importAll(context) { + context.keys().forEach(filename => context(filename)); +} + +function loadStories() { + importAll(require.context('./stories', true, /\.js$/)); +} + +configure(loadStories, module); diff --git a/examples/dev-kits/package.json b/examples/dev-kits/package.json new file mode 100644 index 000000000000..30de809fba9c --- /dev/null +++ b/examples/dev-kits/package.json @@ -0,0 +1,38 @@ +{ + "name": "@storybook/example-devkits", + "version": "5.2.0-alpha.30", + "private": true, + "scripts": { + "build-storybook": "build-storybook -c ./ -s built-storybooks", + "now-build": "node ../../scripts/bootstrap --core && yarn run build-storybook --quiet", + "storybook": "start-storybook -p 9011 -c ./" + }, + "devDependencies": { + "@storybook/addon-parameter": "5.2.0-alpha.30", + "@storybook/addon-roundtrip": "5.2.0-alpha.30", + "@storybook/addons": "5.2.0-alpha.30", + "@storybook/components": "5.2.0-alpha.30", + "@storybook/core-events": "5.2.0-alpha.30", + "@storybook/node-logger": "5.2.0-alpha.30", + "@storybook/react": "5.2.0-alpha.30", + "@storybook/theming": "5.2.0-alpha.30", + "cors": "^2.8.5", + "cross-env": "^5.2.0", + "enzyme-to-json": "^3.3.5", + "eventemitter3": "^3.1.0", + "express": "^4.16.4", + "express-graphql": "^0.7.1", + "format-json": "^1.0.3", + "global": "^4.3.2", + "graphql": "^14.1.1", + "jest-emotion": "^10.0.10", + "paths.macro": "^2.0.2", + "prop-types": "^15.7.2", + "react": "^16.8.3", + "react-dom": "^16.8.3", + "storybook-chromatic": "^1.2.6", + "ts-loader": "^5.3.3", + "uuid": "^3.3.2", + "webpack": "^4.33.0" + } +} diff --git a/examples/dev-kits/stories/addon-roundtrip.js b/examples/dev-kits/stories/addon-roundtrip.js new file mode 100644 index 000000000000..fb40e6013c78 --- /dev/null +++ b/examples/dev-kits/stories/addon-roundtrip.js @@ -0,0 +1,12 @@ +import React from 'react'; +import { storiesOf } from '@storybook/react'; + +import '@storybook/addon-roundtrip'; + +storiesOf('root|group/component', module).add('variant 1', () =>
    This is variant 1
    ); + +storiesOf('addons|parameter', module) + .addParameters({ + parameter: ['foo', 'bar', 'baz'], + }) + .add('with parameter', () =>
    This is variant 1
    ); diff --git a/examples/ember-cli/.storybook/config.js b/examples/ember-cli/.storybook/config.js index a89e5a2565de..e887baca878e 100644 --- a/examples/ember-cli/.storybook/config.js +++ b/examples/ember-cli/.storybook/config.js @@ -1,5 +1,7 @@ -import { configure, addParameters } from '@storybook/ember'; +import { configure, addParameters, addDecorator } from '@storybook/ember'; +import { withA11y } from '@storybook/addon-a11y'; +addDecorator(withA11y); addParameters({ options: { hierarchySeparator: /\/|\./, diff --git a/examples/ember-cli/package.json b/examples/ember-cli/package.json index 6fb7ebbf8283..23db471de259 100644 --- a/examples/ember-cli/package.json +++ b/examples/ember-cli/package.json @@ -1,6 +1,6 @@ { "name": "ember-example", - "version": "5.1.0-alpha.39", + "version": "5.2.0-alpha.30", "private": true, "scripts": { "build": "ember build", @@ -15,18 +15,19 @@ }, "devDependencies": { "@babel/core": "^7.3.4", - "@storybook/addon-a11y": "5.1.0-alpha.39", - "@storybook/addon-actions": "5.1.0-alpha.39", - "@storybook/addon-backgrounds": "5.1.0-alpha.39", - "@storybook/addon-centered": "5.1.0-alpha.39", - "@storybook/addon-knobs": "5.1.0-alpha.39", - "@storybook/addon-links": "5.1.0-alpha.39", - "@storybook/addon-notes": "5.1.0-alpha.39", - "@storybook/addon-options": "5.1.0-alpha.39", - "@storybook/addon-storysource": "5.1.0-alpha.39", - "@storybook/addon-viewport": "5.1.0-alpha.39", - "@storybook/addons": "5.1.0-alpha.39", - "@storybook/ember": "5.1.0-alpha.39", + "@storybook/addon-a11y": "5.2.0-alpha.30", + "@storybook/addon-actions": "5.2.0-alpha.30", + "@storybook/addon-backgrounds": "5.2.0-alpha.30", + "@storybook/addon-centered": "5.2.0-alpha.30", + "@storybook/addon-knobs": "5.2.0-alpha.30", + "@storybook/addon-links": "5.2.0-alpha.30", + "@storybook/addon-notes": "5.2.0-alpha.30", + "@storybook/addon-options": "5.2.0-alpha.30", + "@storybook/addon-storysource": "5.2.0-alpha.30", + "@storybook/addon-viewport": "5.2.0-alpha.30", + "@storybook/addons": "5.2.0-alpha.30", + "@storybook/ember": "5.2.0-alpha.30", + "@storybook/source-loader": "5.2.0-alpha.30", "babel-loader": "^8", "broccoli-asset-rev": "^3.0.0", "cross-env": "^5.2.0", @@ -45,7 +46,7 @@ "ember-resolver": "^5.1.3", "ember-source": "~3.9.1", "loader.js": "^4.2.3", - "webpack": "^4.28.0", + "webpack": "^4.33.0", "webpack-cli": "^3.3.0" }, "engines": { diff --git a/examples/ember-cli/stories/addon-centered.stories.js b/examples/ember-cli/stories/addon-centered.stories.js index f6a46d022c8c..dd08c80cd26e 100644 --- a/examples/ember-cli/stories/addon-centered.stories.js +++ b/examples/ember-cli/stories/addon-centered.stories.js @@ -3,6 +3,9 @@ import { storiesOf } from '@storybook/ember'; import Centered from '@storybook/addon-centered/ember'; storiesOf('Addon|Centered', module) + .addParameters({ + component: Centered, + }) .addDecorator(Centered) .add('button', () => ({ template: hbs``, diff --git a/examples/ember-cli/stories/addon-knobs.stories.js b/examples/ember-cli/stories/addon-knobs.stories.js index 07932df93a28..146d459ac053 100644 --- a/examples/ember-cli/stories/addon-knobs.stories.js +++ b/examples/ember-cli/stories/addon-knobs.stories.js @@ -5,7 +5,7 @@ import { action } from '@storybook/addon-actions'; storiesOf('Addon|Knobs', module) .addDecorator(withKnobs) - .addParameters({ options: { selectedPanel: 'storybooks/knobs/panel' } }) + .addParameters({ options: { selectedPanel: 'storybookjs/knobs/panel' } }) .add('with text', () => ({ template: hbs` {{welcome-banner diff --git a/examples/html-kitchen-sink/.storybook/config.js b/examples/html-kitchen-sink/.storybook/config.js index c99cd0d235cd..df93c95611ea 100644 --- a/examples/html-kitchen-sink/.storybook/config.js +++ b/examples/html-kitchen-sink/.storybook/config.js @@ -1,8 +1,15 @@ -import { configure, addParameters } from '@storybook/html'; +import { configure, addParameters, addDecorator } from '@storybook/html'; +import { withA11y } from '@storybook/addon-a11y'; + +addDecorator(withA11y); addParameters({ - html: { - preventForcedRender: false, // default + a11y: { + config: {}, + options: { + checks: { 'color-contrast': { options: { noScroll: true } } }, + restoreScroll: true, + }, }, options: { hierarchyRootSeparator: /\|/, diff --git a/examples/html-kitchen-sink/package.json b/examples/html-kitchen-sink/package.json index 6bcb9637b097..9e1e41e34438 100644 --- a/examples/html-kitchen-sink/package.json +++ b/examples/html-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "html-kitchen-sink", - "version": "5.1.0-alpha.39", + "version": "5.2.0-alpha.30", "private": true, "description": "", "keywords": [], @@ -14,23 +14,24 @@ "storybook": "start-storybook -p 9006" }, "devDependencies": { - "@storybook/addon-a11y": "5.1.0-alpha.39", - "@storybook/addon-actions": "5.1.0-alpha.39", - "@storybook/addon-backgrounds": "5.1.0-alpha.39", - "@storybook/addon-centered": "5.1.0-alpha.39", - "@storybook/addon-events": "5.1.0-alpha.39", - "@storybook/addon-jest": "5.1.0-alpha.39", - "@storybook/addon-knobs": "5.1.0-alpha.39", - "@storybook/addon-links": "5.1.0-alpha.39", - "@storybook/addon-notes": "5.1.0-alpha.39", - "@storybook/addon-options": "5.1.0-alpha.39", - "@storybook/addon-storyshots": "5.1.0-alpha.39", - "@storybook/addon-storysource": "5.1.0-alpha.39", - "@storybook/addon-viewport": "5.1.0-alpha.39", - "@storybook/addons": "5.1.0-alpha.39", - "@storybook/core": "5.1.0-alpha.39", - "@storybook/core-events": "5.1.0-alpha.39", - "@storybook/html": "5.1.0-alpha.39", + "@storybook/addon-a11y": "5.2.0-alpha.30", + "@storybook/addon-actions": "5.2.0-alpha.30", + "@storybook/addon-backgrounds": "5.2.0-alpha.30", + "@storybook/addon-centered": "5.2.0-alpha.30", + "@storybook/addon-events": "5.2.0-alpha.30", + "@storybook/addon-jest": "5.2.0-alpha.30", + "@storybook/addon-knobs": "5.2.0-alpha.30", + "@storybook/addon-links": "5.2.0-alpha.30", + "@storybook/addon-notes": "5.2.0-alpha.30", + "@storybook/addon-options": "5.2.0-alpha.30", + "@storybook/addon-storyshots": "5.2.0-alpha.30", + "@storybook/addon-storysource": "5.2.0-alpha.30", + "@storybook/addon-viewport": "5.2.0-alpha.30", + "@storybook/addons": "5.2.0-alpha.30", + "@storybook/core": "5.2.0-alpha.30", + "@storybook/core-events": "5.2.0-alpha.30", + "@storybook/html": "5.2.0-alpha.30", + "@storybook/source-loader": "5.2.0-alpha.30", "eventemitter3": "^3.1.0", "format-json": "^1.0.3", "global": "^4.3.2" diff --git a/examples/html-kitchen-sink/stories/__snapshots__/addon-centered.stories.storyshot b/examples/html-kitchen-sink/stories/__snapshots__/addon-centered.stories.storyshot index e98f3b6de1b3..681a29fffda8 100644 --- a/examples/html-kitchen-sink/stories/__snapshots__/addon-centered.stories.storyshot +++ b/examples/html-kitchen-sink/stories/__snapshots__/addon-centered.stories.storyshot @@ -7,7 +7,7 @@ exports[`Storyshots Addons|Centered button in center 1`] = ` >
    `; +exports[`Storyshots Addons|Knobs CSS transitions 1`] = ` +

    + John Doe +

    +`; + exports[`Storyshots Addons|Knobs DOM 1`] = `

    John Doe diff --git a/examples/html-kitchen-sink/stories/addon-knobs.stories.js b/examples/html-kitchen-sink/stories/addon-knobs.stories.js index 372e509295b2..85a364b5b686 100644 --- a/examples/html-kitchen-sink/stories/addon-knobs.stories.js +++ b/examples/html-kitchen-sink/stories/addon-knobs.stories.js @@ -1,5 +1,6 @@ import { storiesOf } from '@storybook/html'; import { action } from '@storybook/addon-actions'; +import { document } from 'global'; import { array, @@ -13,6 +14,7 @@ import { number, } from '@storybook/addon-knobs'; +const cachedContainer = document.createElement('p'); storiesOf('Addons|Knobs', module) .addDecorator(withKnobs) .add('Simple', () => { @@ -24,11 +26,18 @@ storiesOf('Addons|Knobs', module) }) .add('DOM', () => { const name = text('Name', 'John Doe'); - // eslint-disable-next-line const container = document.createElement('p'); container.textContent = name; return container; }) + .add('CSS transitions', () => { + const name = text('Name', 'John Doe'); + const textColor = color('Text color', 'orangered'); + cachedContainer.textContent = name; + cachedContainer.style.transition = 'color 0.5s ease-out'; + cachedContainer.style.color = textColor; + return cachedContainer; + }) .add('All knobs', () => { const name = text('Name', 'Jane'); const stock = number('Stock', 20, { diff --git a/examples/marko-cli/.storybook/addons.js b/examples/marko-cli/.storybook/addons.js index 464a1f792a0f..ac7bf6fce5a2 100644 --- a/examples/marko-cli/.storybook/addons.js +++ b/examples/marko-cli/.storybook/addons.js @@ -2,3 +2,4 @@ import '@storybook/addon-storysource/register'; import '@storybook/addon-actions/register'; import '@storybook/addon-knobs/register'; import '@storybook/addon-options/register'; +import '@storybook/addon-a11y/register'; diff --git a/examples/marko-cli/.storybook/config.js b/examples/marko-cli/.storybook/config.js index d148e2da5890..bee4a6743547 100644 --- a/examples/marko-cli/.storybook/config.js +++ b/examples/marko-cli/.storybook/config.js @@ -1,5 +1,7 @@ -import { configure, addParameters } from '@storybook/marko'; +import { configure, addParameters, addDecorator } from '@storybook/marko'; +import { withA11y } from '@storybook/addon-a11y'; +addDecorator(withA11y); addParameters({ options: { hierarchyRootSeparator: /\|/, diff --git a/examples/marko-cli/package.json b/examples/marko-cli/package.json index 0426860cb110..212822acd7db 100644 --- a/examples/marko-cli/package.json +++ b/examples/marko-cli/package.json @@ -1,6 +1,6 @@ { "name": "marko-cli", - "version": "5.1.0-alpha.39", + "version": "5.2.0-alpha.30", "private": true, "description": "Demo of how to build an app using marko-starter", "repository": { @@ -20,17 +20,19 @@ "test": "npm run lint" }, "dependencies": { - "marko": "^4.16.2", + "marko": "^4.16.15", "marko-starter": "^2.0.4" }, "devDependencies": { - "@storybook/addon-actions": "5.1.0-alpha.39", - "@storybook/addon-knobs": "5.1.0-alpha.39", - "@storybook/addon-options": "5.1.0-alpha.39", - "@storybook/addon-storysource": "5.1.0-alpha.39", - "@storybook/addons": "5.1.0-alpha.39", - "@storybook/marko": "5.1.0-alpha.39", + "@storybook/addon-a11y": "5.2.0-alpha.30", + "@storybook/addon-actions": "5.2.0-alpha.30", + "@storybook/addon-knobs": "5.2.0-alpha.30", + "@storybook/addon-options": "5.2.0-alpha.30", + "@storybook/addon-storysource": "5.2.0-alpha.30", + "@storybook/addons": "5.2.0-alpha.30", + "@storybook/marko": "5.2.0-alpha.30", + "@storybook/source-loader": "5.2.0-alpha.30", "prettier": "^1.16.4", - "webpack": "^4.28.0" + "webpack": "^4.33.0" } } diff --git a/examples/marko-cli/src/stories/addon-actions.stories.js b/examples/marko-cli/src/stories/addon-actions.stories.js index 73d25b05d3f6..fe094b3f4acd 100644 --- a/examples/marko-cli/src/stories/addon-actions.stories.js +++ b/examples/marko-cli/src/stories/addon-actions.stories.js @@ -2,6 +2,8 @@ import { storiesOf } from '@storybook/marko'; import { action } from '@storybook/addon-actions'; import Button from '../components/action-button/index.marko'; -storiesOf('Addons|Actions/Button', module).add('Simple', () => - Button.renderSync({ click: action('action logged!') }) -); +storiesOf('Addons|Actions/Button', module) + .addParameters({ + component: Button, + }) + .add('Simple', () => Button.renderSync({ click: action('action logged!') })); diff --git a/examples/marko-cli/src/stories/addon-knobs.stories.js b/examples/marko-cli/src/stories/addon-knobs.stories.js index 5c44b59e9fcc..f6236d9862a0 100644 --- a/examples/marko-cli/src/stories/addon-knobs.stories.js +++ b/examples/marko-cli/src/stories/addon-knobs.stories.js @@ -3,6 +3,9 @@ import { withKnobs, text, number } from '@storybook/addon-knobs'; import Hello from '../components/hello/index.marko'; storiesOf('Addons|Knobs/Hello', module) + .addParameters({ + component: Hello, + }) .addParameters({ options: { panelPosition: 'right' } }) .addDecorator(withKnobs) .add('Simple', () => { diff --git a/examples/marko-cli/src/stories/index.stories.js b/examples/marko-cli/src/stories/index.stories.js index 8ef9e6d38cb3..9437d7ff170e 100644 --- a/examples/marko-cli/src/stories/index.stories.js +++ b/examples/marko-cli/src/stories/index.stories.js @@ -4,12 +4,27 @@ import ClickCount from '../components/click-count/index.marko'; import StopWatch from '../components/stop-watch/index.marko'; import Welcome from '../components/welcome/index.marko'; -storiesOf('Main|Welcome', module).add('welcome', () => Welcome.renderSync({})); +storiesOf('Main|Welcome', module) + .addParameters({ + component: Welcome, + }) + .add('welcome', () => Welcome.renderSync({})); storiesOf('Main|Hello', module) + .addParameters({ + component: Hello, + }) .add('Simple', () => Hello.renderSync({ name: 'abc', age: 20 })) .add('with ERROR!', () => 'NOT A MARKO RENDER_RESULT'); -storiesOf('Main|ClickCount', module).add('Simple', () => ClickCount.renderSync({})); +storiesOf('Main|ClickCount', module) + .addParameters({ + component: ClickCount, + }) + .add('Simple', () => ClickCount.renderSync({})); -storiesOf('Main|StopWatch', module).add('Simple', () => StopWatch.renderSync({})); +storiesOf('Main|StopWatch', module) + .addParameters({ + component: StopWatch, + }) + .add('Simple', () => StopWatch.renderSync({})); diff --git a/examples/mithril-kitchen-sink/.storybook/addons.js b/examples/mithril-kitchen-sink/.storybook/addons.js index ff96ea46a3bd..61c6e6570abb 100644 --- a/examples/mithril-kitchen-sink/.storybook/addons.js +++ b/examples/mithril-kitchen-sink/.storybook/addons.js @@ -6,3 +6,4 @@ import '@storybook/addon-knobs/register'; import '@storybook/addon-viewport/register'; import '@storybook/addon-options/register'; import '@storybook/addon-backgrounds/register'; +import '@storybook/addon-a11y/register'; diff --git a/examples/mithril-kitchen-sink/.storybook/config.js b/examples/mithril-kitchen-sink/.storybook/config.js index f77b981b90ed..1155598a41c8 100644 --- a/examples/mithril-kitchen-sink/.storybook/config.js +++ b/examples/mithril-kitchen-sink/.storybook/config.js @@ -1,5 +1,7 @@ -import { configure, addParameters } from '@storybook/mithril'; +import { configure, addParameters, addDecorator } from '@storybook/mithril'; +import { withA11y } from '@storybook/addon-a11y'; +addDecorator(withA11y); addParameters({ options: { hierarchyRootSeparator: /\|/, diff --git a/examples/mithril-kitchen-sink/package.json b/examples/mithril-kitchen-sink/package.json index 2f0611612121..ee7812816791 100644 --- a/examples/mithril-kitchen-sink/package.json +++ b/examples/mithril-kitchen-sink/package.json @@ -1,6 +1,6 @@ { "name": "mithril-example", - "version": "5.1.0-alpha.39", + "version": "5.2.0-alpha.30", "private": true, "scripts": { "build-storybook": "build-storybook", @@ -11,18 +11,20 @@ "mithril": "^1.1.6" }, "devDependencies": { - "@storybook/addon-actions": "5.1.0-alpha.39", - "@storybook/addon-backgrounds": "5.1.0-alpha.39", - "@storybook/addon-centered": "5.1.0-alpha.39", - "@storybook/addon-knobs": "5.1.0-alpha.39", - "@storybook/addon-links": "5.1.0-alpha.39", - "@storybook/addon-notes": "5.1.0-alpha.39", - "@storybook/addon-options": "5.1.0-alpha.39", - "@storybook/addon-storyshots": "5.1.0-alpha.39", - "@storybook/addon-storysource": "5.1.0-alpha.39", - "@storybook/addon-viewport": "5.1.0-alpha.39", - "@storybook/addons": "5.1.0-alpha.39", - "@storybook/mithril": "5.1.0-alpha.39", - "webpack": "^4.28.0" + "@storybook/addon-a11y": "5.2.0-alpha.30", + "@storybook/addon-actions": "5.2.0-alpha.30", + "@storybook/addon-backgrounds": "5.2.0-alpha.30", + "@storybook/addon-centered": "5.2.0-alpha.30", + "@storybook/addon-knobs": "5.2.0-alpha.30", + "@storybook/addon-links": "5.2.0-alpha.30", + "@storybook/addon-notes": "5.2.0-alpha.30", + "@storybook/addon-options": "5.2.0-alpha.30", + "@storybook/addon-storyshots": "5.2.0-alpha.30", + "@storybook/addon-storysource": "5.2.0-alpha.30", + "@storybook/addon-viewport": "5.2.0-alpha.30", + "@storybook/addons": "5.2.0-alpha.30", + "@storybook/mithril": "5.2.0-alpha.30", + "@storybook/source-loader": "5.2.0-alpha.30", + "webpack": "^4.33.0" } } diff --git a/examples/mithril-kitchen-sink/src/stories/addon-centered.stories.js b/examples/mithril-kitchen-sink/src/stories/addon-centered.stories.js index e97deabdef51..3623a83e701b 100644 --- a/examples/mithril-kitchen-sink/src/stories/addon-centered.stories.js +++ b/examples/mithril-kitchen-sink/src/stories/addon-centered.stories.js @@ -7,6 +7,9 @@ import Centered from '@storybook/addon-centered/mithril'; import Button from '../Button'; storiesOf('Addons|Centered', module) + .addParameters({ + component: Centered, + }) .addDecorator(Centered) .add('button', () => ({ view: () => , diff --git a/examples/mithril-kitchen-sink/src/stories/index.stories.js b/examples/mithril-kitchen-sink/src/stories/index.stories.js index a0952e562bfd..fb5175691afd 100644 --- a/examples/mithril-kitchen-sink/src/stories/index.stories.js +++ b/examples/mithril-kitchen-sink/src/stories/index.stories.js @@ -7,11 +7,18 @@ import { linkTo } from '@storybook/addon-links'; import Button from '../Button'; import Welcome from '../Welcome'; -storiesOf('Welcome', module).add('to Storybook', () => ({ - view: () => m(Welcome, { showApp: linkTo('Button') }), -})); +storiesOf('Welcome', module) + .addParameters({ + component: Welcome, + }) + .add('to Storybook', () => ({ + view: () => m(Welcome, { showApp: linkTo('Button') }), + })); storiesOf('Button', module) + .addParameters({ + component: Button, + }) .add('with text', () => ({ view: () => m(Button, { onclick: action('clicked') }, 'Hello Button'), })) diff --git a/examples/official-storybook/README.md b/examples/official-storybook/README.md index df6ee6f541f0..2ada0aa35033 100644 --- a/examples/official-storybook/README.md +++ b/examples/official-storybook/README.md @@ -6,3 +6,9 @@ This storybook includes stories for: - `@storybook/ui` - the UI of storybook itself - `@storybook/addon-*` - various addons. - `@storybook/other-*` - various examples. + +## How to make new `build-storybook`s: + +```sh +sudo ln -s ../../{new-example}/storybook-static /Users/{user}/{location-of-storybook-repo}/core/examples/official-storybook/built-storybookjs/{new-example} +``` diff --git a/examples/official-storybook/addons.js b/examples/official-storybook/addons.js index df65f2dfbf50..00d972b21850 100644 --- a/examples/official-storybook/addons.js +++ b/examples/official-storybook/addons.js @@ -1,4 +1,6 @@ import '@storybook/addon-storysource/register'; +import '@storybook/addon-design-assets/register'; +import '@storybook/addon-docs/register'; import '@storybook/addon-actions/register'; import '@storybook/addon-links/register'; import '@storybook/addon-events/register'; diff --git a/examples/official-storybook/built-storybooks/cra-react15 b/examples/official-storybook/built-storybooks/cra-react15 new file mode 120000 index 000000000000..ada58d9daff7 --- /dev/null +++ b/examples/official-storybook/built-storybooks/cra-react15 @@ -0,0 +1 @@ +../../cra-react15/storybook-static \ No newline at end of file diff --git a/examples/official-storybook/built-storybooks/ember-cli b/examples/official-storybook/built-storybooks/ember-cli deleted file mode 100644 index 9d66d153aaba..000000000000 --- a/examples/official-storybook/built-storybooks/ember-cli +++ /dev/null @@ -1 +0,0 @@ -../../ember-cli/storybook-static diff --git a/examples/official-storybook/built-storybooks/ember-cli b/examples/official-storybook/built-storybooks/ember-cli new file mode 120000 index 000000000000..99e37a2f440b --- /dev/null +++ b/examples/official-storybook/built-storybooks/ember-cli @@ -0,0 +1 @@ +../../ember-cli/storybook-static \ No newline at end of file diff --git a/examples/official-storybook/built-storybooks/preact-kitchen-sink b/examples/official-storybook/built-storybooks/preact-kitchen-sink index 90933de3cbf6..2c1464b86d0f 120000 --- a/examples/official-storybook/built-storybooks/preact-kitchen-sink +++ b/examples/official-storybook/built-storybooks/preact-kitchen-sink @@ -1 +1 @@ -../../preact-kitchen-sink/storybook-static +../../preact-kitchen-sink/storybook-static \ No newline at end of file diff --git a/examples/official-storybook/config.js b/examples/official-storybook/config.js index a8c0cc7cba6f..ae4db10692d7 100644 --- a/examples/official-storybook/config.js +++ b/examples/official-storybook/config.js @@ -1,6 +1,7 @@ import React from 'react'; -import { storiesOf, configure, addDecorator, addParameters } from '@storybook/react'; +import { load, addDecorator, addParameters } from '@storybook/react'; import { Global, ThemeProvider, themes, createReset, convert } from '@storybook/theming'; +import { DocsPage } from '@storybook/addon-docs/blocks'; import { withCssResources } from '@storybook/addon-cssresources'; import { withA11y } from '@storybook/addon-a11y'; @@ -49,84 +50,17 @@ addParameters({ options: { hierarchySeparator: /\/|\./, hierarchyRootSeparator: '|', - theme: { base: 'light', brandTitle: 'Storybook!' }, + theme: themes.light, // { base: 'dark', brandTitle: 'Storybook!' }, }, backgrounds: [ { name: 'storybook app', value: themes.light.appBg, default: true }, { name: 'light', value: '#eeeeee' }, { name: 'dark', value: '#222222' }, ], + docs: DocsPage, }); -let previousExports = {}; -if (module && module.hot && module.hot.dispose) { - ({ previousExports = {} } = module.hot.data || {}); - - module.hot.dispose(data => { - // eslint-disable-next-line no-param-reassign - data.previousExports = previousExports; - }); -} - -// The simplest version of examples would just export this function for users to use -function importAll(context) { - const storyStore = window.__STORYBOOK_CLIENT_API__._storyStore; // eslint-disable-line no-undef, no-underscore-dangle - - context.keys().forEach(filename => { - const fileExports = context(filename); - - // A old-style story file - if (!fileExports.default) { - return; - } - - const { default: component, ...examples } = fileExports; - let componentOptions = component; - if (component.prototype && component.prototype.isReactComponent) { - componentOptions = { component }; - } - const kindName = componentOptions.title || componentOptions.component.displayName; - - if (previousExports[filename]) { - if (previousExports[filename] === fileExports) { - return; - } - - // Otherwise clear this kind - storyStore.removeStoryKind(kindName); - storyStore.incrementRevision(); - } - - // We pass true here to avoid the warning about HMR. It's cool clientApi, we got this - const kind = storiesOf(kindName, true); - - (componentOptions.decorators || []).forEach(decorator => { - kind.addDecorator(decorator); - }); - if (componentOptions.parameters) { - kind.addParameters(componentOptions.parameters); - } - - Object.keys(examples).forEach(key => { - const example = examples[key]; - const { title = key, parameters } = example; - kind.add(title, example, parameters); - }); - - previousExports[filename] = fileExports; - }); -} - -function loadStories() { - let req; - req = require.context('../../lib/ui/src', true, /\.stories\.js$/); - importAll(req); - - req = require.context('../../lib/components/src', true, /\.stories\.tsx?$/); - importAll(req); - - req = require.context('./stories', true, /\.stories\.js$/); - importAll(req); -} - -configure(loadStories, module); +load(require.context('../../lib/ui/src', true, /\.stories\.js$/), module); +load(require.context('../../lib/components/src', true, /\.stories\.tsx?$/), module); +load(require.context('./stories', true, /\.stories\.js$/), module); +load(require.context('./stories', true, /\.stories\.mdx$/), module); diff --git a/examples/official-storybook/package.json b/examples/official-storybook/package.json index 613846227320..5cec7a35d518 100644 --- a/examples/official-storybook/package.json +++ b/examples/official-storybook/package.json @@ -1,6 +1,6 @@ { "name": "official-storybook", - "version": "5.1.0-alpha.39", + "version": "5.2.0-alpha.30", "private": true, "scripts": { "build-storybook": "build-storybook -c ./ -s built-storybooks", @@ -10,50 +10,56 @@ "graphql": "node ./graphql-server/index.js", "image-snapshots": "yarn run build-storybook && yarn run do-image-snapshots", "now-build": "node ../../scripts/bootstrap --core && yarn run build-storybook --quiet", - "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks --no-dll" + "storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ -s built-storybooks --no-dll", + "packtracker": "yarn storybook --smoke-test --quiet && cross-env PT_PROJECT_TOKEN=1af1d41b-d737-41d4-ac00-53c8f3913b53 packtracker-upload --stats=./node_modules/.cache/storybook/manager-stats.json" }, "devDependencies": { - "@storybook/addon-a11y": "5.1.0-alpha.39", - "@storybook/addon-actions": "5.1.0-alpha.39", - "@storybook/addon-backgrounds": "5.1.0-alpha.39", - "@storybook/addon-centered": "5.1.0-alpha.39", - "@storybook/addon-contexts": "5.1.0-alpha.39", - "@storybook/addon-cssresources": "5.1.0-alpha.39", - "@storybook/addon-events": "5.1.0-alpha.39", - "@storybook/addon-graphql": "5.1.0-alpha.39", - "@storybook/addon-info": "5.1.0-alpha.39", - "@storybook/addon-jest": "5.1.0-alpha.39", - "@storybook/addon-knobs": "5.1.0-alpha.39", - "@storybook/addon-links": "5.1.0-alpha.39", - "@storybook/addon-notes": "5.1.0-alpha.39", - "@storybook/addon-options": "5.1.0-alpha.39", - "@storybook/addon-storyshots": "5.1.0-alpha.39", - "@storybook/addon-storyshots-puppeteer": "5.1.0-alpha.39", - "@storybook/addon-storysource": "5.1.0-alpha.39", - "@storybook/addon-viewport": "5.1.0-alpha.39", - "@storybook/addons": "5.1.0-alpha.39", - "@storybook/components": "5.1.0-alpha.39", - "@storybook/core-events": "5.1.0-alpha.39", - "@storybook/node-logger": "5.1.0-alpha.39", - "@storybook/react": "5.1.0-alpha.39", - "@storybook/theming": "5.1.0-alpha.39", + "@packtracker/webpack-plugin": "^2.0.1", + "@storybook/addon-a11y": "5.2.0-alpha.30", + "@storybook/addon-actions": "5.2.0-alpha.30", + "@storybook/addon-backgrounds": "5.2.0-alpha.30", + "@storybook/addon-centered": "5.2.0-alpha.30", + "@storybook/addon-contexts": "5.2.0-alpha.30", + "@storybook/addon-cssresources": "5.2.0-alpha.30", + "@storybook/addon-design-assets": "5.2.0-alpha.30", + "@storybook/addon-docs": "5.2.0-alpha.30", + "@storybook/addon-events": "5.2.0-alpha.30", + "@storybook/addon-graphql": "5.2.0-alpha.30", + "@storybook/addon-info": "5.2.0-alpha.30", + "@storybook/addon-jest": "5.2.0-alpha.30", + "@storybook/addon-knobs": "5.2.0-alpha.30", + "@storybook/addon-links": "5.2.0-alpha.30", + "@storybook/addon-notes": "5.2.0-alpha.30", + "@storybook/addon-options": "5.2.0-alpha.30", + "@storybook/addon-queryparams": "5.2.0-alpha.30", + "@storybook/addon-storyshots": "5.2.0-alpha.30", + "@storybook/addon-storyshots-puppeteer": "5.2.0-alpha.30", + "@storybook/addon-storysource": "5.2.0-alpha.30", + "@storybook/addon-viewport": "5.2.0-alpha.30", + "@storybook/addons": "5.2.0-alpha.30", + "@storybook/components": "5.2.0-alpha.30", + "@storybook/core-events": "5.2.0-alpha.30", + "@storybook/node-logger": "5.2.0-alpha.30", + "@storybook/react": "5.2.0-alpha.30", + "@storybook/source-loader": "5.2.0-alpha.30", + "@storybook/theming": "5.2.0-alpha.30", "cors": "^2.8.5", "cross-env": "^5.2.0", "enzyme-to-json": "^3.3.5", "eventemitter3": "^3.1.0", - "express": "^4.16.4", - "express-graphql": "^0.7.1", + "express": "^4.17.0", + "express-graphql": "^0.8.0", "format-json": "^1.0.3", "global": "^4.3.2", "graphql": "^14.1.1", "jest-emotion": "^10.0.10", "paths.macro": "^2.0.2", "prop-types": "^15.7.2", - "react": "^16.8.4", - "react-dom": "^16.8.4", - "storybook-chromatic": "^1.2.6", - "ts-loader": "^5.3.3", + "react": "^16.8.3", + "react-dom": "^16.8.3", + "storybook-chromatic": "^1.3.3", + "ts-loader": "^6.0.0", "uuid": "^3.3.2", - "webpack": "^4.28.0" + "webpack": "^4.33.0" } } diff --git a/examples/official-storybook/presets.js b/examples/official-storybook/presets.js new file mode 100644 index 000000000000..b1d463490f6d --- /dev/null +++ b/examples/official-storybook/presets.js @@ -0,0 +1 @@ +module.exports = ['@storybook/addon-docs/react/preset']; diff --git a/examples/official-storybook/stories/__snapshots__/addon-a11y.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-a11y.stories.storyshot deleted file mode 100644 index 4923d4cca68b..000000000000 --- a/examples/official-storybook/stories/__snapshots__/addon-a11y.stories.storyshot +++ /dev/null @@ -1,396 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots Addons|A11y/BaseButton Default 1`] = ` - -`; - -exports[`Storyshots Addons|A11y/BaseButton Invalid contrast 1`] = ` - -`; - -exports[`Storyshots Addons|A11y/BaseButton Label 1`] = ` - -`; - -exports[`Storyshots Addons|A11y/BaseButton delayed render 1`] = `

    `; - -exports[`Storyshots Addons|A11y/Button Content 1`] = ` - -`; - -exports[`Storyshots Addons|A11y/Button Default 1`] = ` - -`; - -exports[`Storyshots Addons|A11y/Button Disabled 1`] = ` - -`; - -exports[`Storyshots Addons|A11y/Button Invalid contrast 1`] = ` - -`; - -exports[`Storyshots Addons|A11y/Button Label 1`] = ` - -`; - -exports[`Storyshots Addons|A11y/Form With label 1`] = ` -.emotion-2 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - border-bottom: 1px solid rgba(0,0,0,.1); - margin: 0 15px; - padding: 8px 0; -} - -.emotion-2:last-child { - margin-bottom: 3rem; -} - -.emotion-0 { - min-width: 100px; - font-weight: 700; - margin-right: 15px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - line-height: 16px; -} - -.emotion-1 { - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - border: 0; - box-sizing: inherit; - display: block; - margin: 0; - background: #FFFFFF; - padding: .42em 1em; - font-size: 13px; - position: relative; - -webkit-transition: all 200ms ease-out; - transition: all 200ms ease-out; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - line-height: 20px; - display: inline; - text-align: left; - min-height: 32px; -} - -.emotion-1:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-1[disabled] { - cursor: not-allowed; - opacity: 0.5; -} - -.emotion-1:-webkit-autofill { - -webkit-box-shadow: 0 0 0 3em #FFFFFF inset; -} - -.emotion-1::-webkit-input-placeholder { - color: #999999; -} - -.emotion-1::-moz-placeholder { - color: #999999; -} - -.emotion-1:-ms-input-placeholder { - color: #999999; -} - -.emotion-1::placeholder { - color: #999999; -} - - -`; - -exports[`Storyshots Addons|A11y/Form With placeholder 1`] = ` -.emotion-1 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - border-bottom: 1px solid rgba(0,0,0,.1); - margin: 0 15px; - padding: 8px 0; -} - -.emotion-1:last-child { - margin-bottom: 3rem; -} - -.emotion-0 { - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - border: 0; - box-sizing: inherit; - display: block; - margin: 0; - background: #FFFFFF; - padding: .42em 1em; - font-size: 13px; - position: relative; - -webkit-transition: all 200ms ease-out; - transition: all 200ms ease-out; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - line-height: 20px; - display: inline; - text-align: left; - min-height: 32px; -} - -.emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0[disabled] { - cursor: not-allowed; - opacity: 0.5; -} - -.emotion-0:-webkit-autofill { - -webkit-box-shadow: 0 0 0 3em #FFFFFF inset; -} - -.emotion-0::-webkit-input-placeholder { - color: #999999; -} - -.emotion-0::-moz-placeholder { - color: #999999; -} - -.emotion-0:-ms-input-placeholder { - color: #999999; -} - -.emotion-0::placeholder { - color: #999999; -} - - -`; - -exports[`Storyshots Addons|A11y/Form Without Label 1`] = ` -.emotion-1 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - border-bottom: 1px solid rgba(0,0,0,.1); - margin: 0 15px; - padding: 8px 0; -} - -.emotion-1:last-child { - margin-bottom: 3rem; -} - -.emotion-0 { - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - border: 0; - box-sizing: inherit; - display: block; - margin: 0; - background: #FFFFFF; - padding: .42em 1em; - font-size: 13px; - position: relative; - -webkit-transition: all 200ms ease-out; - transition: all 200ms ease-out; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - line-height: 20px; - display: inline; - text-align: left; - min-height: 32px; -} - -.emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0[disabled] { - cursor: not-allowed; - opacity: 0.5; -} - -.emotion-0:-webkit-autofill { - -webkit-box-shadow: 0 0 0 3em #FFFFFF inset; -} - -.emotion-0::-webkit-input-placeholder { - color: #999999; -} - -.emotion-0::-moz-placeholder { - color: #999999; -} - -.emotion-0:-ms-input-placeholder { - color: #999999; -} - -.emotion-0::placeholder { - color: #999999; -} - - -`; - -exports[`Storyshots Addons|A11y/Image Presentation 1`] = ` - -`; - -exports[`Storyshots Addons|A11y/Image With alt 1`] = ` -Testing the a11y addon -`; - -exports[`Storyshots Addons|A11y/Image Without alt 1`] = ` - -`; - -exports[`Storyshots Addons|A11y/Image Without alt but unchecked 1`] = ` - -`; - -exports[`Storyshots Addons|A11y/Typography Correct 1`] = ` -Array [ -

    - Testing the a11y addon -

    , -

    - Testing the a11y addon -

    , -
    - Testing the a11y addon... - , -] -`; - -exports[`Storyshots Addons|A11y/Typography Empty Heading 1`] = `

    `; - -exports[`Storyshots Addons|A11y/Typography Empty Link 1`] = ` - -`; - -exports[`Storyshots Addons|A11y/Typography Empty Paragraph 1`] = `

    `; - -exports[`Storyshots Addons|A11y/Typography Link without href 1`] = ` - - Testing the a11y addon... - -`; diff --git a/examples/official-storybook/stories/__snapshots__/addon-actions.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-actions.stories.storyshot deleted file mode 100644 index 8b7cfba5f64d..000000000000 --- a/examples/official-storybook/stories/__snapshots__/addon-actions.stories.storyshot +++ /dev/null @@ -1,2902 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots Addons|Actions All types 1`] = ` -Array [ - .emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -, - .emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -, - .emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -, - .emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -, - .emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -, - .emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -, - .emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -, - .emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -, - .emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -, - .emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -, - .emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -, - .emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -, - .emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -, - .emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -, - .emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -, - .emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -, - .emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -, - .emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -, - .emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -, - .emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -, -] -`; - -exports[`Storyshots Addons|Actions Basic example 1`] = ` -.emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - - -`; - -exports[`Storyshots Addons|Actions Circular Payload 1`] = ` -.emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - - -`; - -exports[`Storyshots Addons|Actions Decorated action + config 1`] = ` -.emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - - -`; - -exports[`Storyshots Addons|Actions Decorated action 1`] = ` -.emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - - -`; - -exports[`Storyshots Addons|Actions Decorated actions + config 1`] = ` -.emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - - -`; - -exports[`Storyshots Addons|Actions Decorated actions 1`] = ` -.emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - - -`; - -exports[`Storyshots Addons|Actions Limit Action Output 1`] = ` -Array [ - .emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -, - .emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -, -] -`; - -exports[`Storyshots Addons|Actions Multiple actions + config 1`] = ` -.emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - - -`; - -exports[`Storyshots Addons|Actions Multiple actions 1`] = ` -.emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - - -`; - -exports[`Storyshots Addons|Actions Multiple actions as object 1`] = ` -.emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - - -`; - -exports[`Storyshots Addons|Actions Multiple actions, object + config 1`] = ` -.emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - - -`; - -exports[`Storyshots Addons|Actions Persisting the action logger 1`] = ` -Array [ -

    - Moving away from this story will persist the action logger -

    , - .emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - -, -] -`; - -exports[`Storyshots Addons|Actions Reserved keyword as name 1`] = ` -.emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - - -`; - -exports[`Storyshots Addons|Actions configureActionsDepth 1`] = ` -.emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - - -`; - -exports[`Storyshots Addons|Actions.deprecated Decorated Action 1`] = ` -.emotion-0 { - border: 0; - border-radius: 3em; - cursor: pointer; - display: inline-block; - overflow: hidden; - padding: 10px 16px; - position: relative; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - vertical-align: top; - white-space: nowrap; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - opacity: 1; - margin: 0; - background: transparent; - font-size: 12px; - font-weight: 700; - line-height: 1; - background: #fafafa; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - display: inline; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - overflow: visible; - z-index: 2; -} - -.emotion-0 svg { - display: inline-block; - height: 14px; - width: 14px; - vertical-align: top; - margin-right: 4px; - margin-top: -1px; - margin-bottom: -1px; - pointer-events: none; -} - -.emotion-0 svg path { - fill: currentColor; -} - -.emotion-0:hover { - background: #f2f2f2; -} - -.emotion-0:active { - background: #FFFFFF; -} - -.emotion-0:focus { - box-shadow: rgba(30,167,253,0.4) 0 0 0 1px inset; -} - -.emotion-0:hover { - -webkit-transform: none; - -ms-transform: none; - transform: none; -} - - -`; diff --git a/examples/official-storybook/stories/__snapshots__/addon-backgrounds.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-backgrounds.stories.storyshot deleted file mode 100644 index 0f1820349510..000000000000 --- a/examples/official-storybook/stories/__snapshots__/addon-backgrounds.stories.storyshot +++ /dev/null @@ -1,41 +0,0 @@ -// 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 story 2 1`] = ` - -`; diff --git a/examples/official-storybook/stories/__snapshots__/addon-centered.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-centered.stories.storyshot deleted file mode 100644 index ad0369f19a08..000000000000 --- a/examples/official-storybook/stories/__snapshots__/addon-centered.stories.storyshot +++ /dev/null @@ -1,17 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots Addons|Centered story 1 1`] = ` -
    -
    - -
    -
    -`; diff --git a/examples/official-storybook/stories/__snapshots__/addon-contexts.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-contexts.stories.storyshot deleted file mode 100644 index 83b82b182ce7..000000000000 --- a/examples/official-storybook/stories/__snapshots__/addon-contexts.stories.storyshot +++ /dev/null @@ -1,17 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots Addons|Contexts Languages 1`] = ` -
    - Your locale is "unknown", so I say "NULL"! -
    -`; - -exports[`Storyshots Addons|Contexts Simple CSS Theming 1`] = ` -
    - I'm a children of the injected 'div' (where provides a theming context). -
    -`; diff --git a/examples/official-storybook/stories/__snapshots__/addon-cssresources.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-cssresources.stories.storyshot deleted file mode 100644 index 77298e639d48..000000000000 --- a/examples/official-storybook/stories/__snapshots__/addon-cssresources.stories.storyshot +++ /dev/null @@ -1,18 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots Addons|Cssresources Camera Icon 1`] = ` - - Camera Icon - -`; - -exports[`Storyshots Addons|Cssresources Primary Large Button 1`] = ` - -`; diff --git a/examples/official-storybook/stories/__snapshots__/addon-events.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-events.stories.storyshot deleted file mode 100644 index 6c777c6dbac4..000000000000 --- a/examples/official-storybook/stories/__snapshots__/addon-events.stories.storyshot +++ /dev/null @@ -1,43 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots Addons|Events Logger 1`] = ` -.emotion-1 { - padding: 20px; -} - -.emotion-0 { - margin: 0; -} - -
    -

    - Logger -

    -
    -
    -`; - -exports[`Storyshots Addons|Events.deprecated Logger 1`] = ` -.emotion-1 { - padding: 20px; -} - -.emotion-0 { - margin: 0; -} - -
    -

    - Logger -

    -
    -
    -`; diff --git a/examples/official-storybook/stories/__snapshots__/addon-graphql.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-graphql.stories.storyshot deleted file mode 100644 index acf18796ca81..000000000000 --- a/examples/official-storybook/stories/__snapshots__/addon-graphql.stories.storyshot +++ /dev/null @@ -1,7 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots Addons|GraphQL get Pickachu 1`] = ` -
    - hello -
    -`; diff --git a/examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot b/examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot deleted file mode 100644 index 4063efff7eec..000000000000 --- a/examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot +++ /dev/null @@ -1,10121 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots Addons|Info/Decorator Use Info as story decorator 1`] = ` -
    -
    - -
    - -

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - property - - propType - - required - - default - - description -
    - disabled - - - bool - - - - - - - false - - -
    - label - - - string - - - yes - - - - -
    - onClick - - - func - - - - - - - onClick - - -
    - style - - - other - - - - - - - {} - - -
    -
    -
    -
    -
    -
    - -`; - -exports[`Storyshots Addons|Info/ForwardRef Displays forwarded ref components correctly 1`] = ` -
    -
    - -
    - - -
    -`; - -exports[`Storyshots Addons|Info/ForwardRef Uses forwardRef displayName if available 1`] = ` -
    -
    - -
    - - -
    -`; - -exports[`Storyshots Addons|Info/GitHub issues #1814 1`] = ` -
    -
    -
    - - ); + +storiesOf('Addons|Info.GitHub issues', module).addDecorator(withSourceLoader(__STORY__, __ADDS_MAP__,__MAIN_FILE_LOCATION__,__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__)).add( + '#1814', + withInfo('Allow Duplicate DisplayNames for HOC #1814')(() => ( +
    + + ); + +storiesOf('Addons|Info.GitHub issues', module).addDecorator(withSourceLoader(__STORY__, __ADDS_MAP__,__MAIN_FILE_LOCATION__,__MODULE_DEPENDENCIES__,__LOCAL_DEPENDENCIES__,__SOURCE_PREFIX__,__IDS_TO_FRAMEWORKS__)).add( + '#1814', + withInfo('Allow Duplicate DisplayNames for HOC #1814')(() => ( +
    + + ); - -storiesOf('Addons|Info/GitHub issues', module) - .addDecorator(withInfo) - .add( - '#1814', - () => ( -
    - - ); + +export default { + title: 'Addons|Info/GitHub issues', + decorators: [withInfo], +}; + +export const issue1814 = () => ( +
    + + ); - -storiesOf('Addons|Info.GitHub issues', module).add( - '#1814', - withInfo('Allow Duplicate DisplayNames for HOC #1814')(() => ( -
    - - ); - -storiesOf('Addons|Info.GitHub issues', module).addDecorator(withStorySource(__STORY__, __ADDS_MAP__)).add( - '#1814', - withInfo('Allow Duplicate DisplayNames for HOC #1814')(() => ( -
    - - -
    -
    - -
    -
    - -
    -
    -`; - -exports[`Storyshots Basics|Form/Textarea sizes 1`] = ` -.emotion-6 > * { - margin-top: 10px; -} - -.emotion-6 > *:first-of-type { - margin-top: 0; -} - -.emotion-1 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-0 { - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - border: 0; - box-sizing: inherit; - display: block; - margin: 0; - background: #FFFFFF; - padding: .42em 1em; - font-size: 13px; - position: relative; - -webkit-transition: all 200ms ease-out; - transition: all 200ms ease-out; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - line-height: 20px; - display: inline; - text-align: left; - overflow: visible; -} - -.emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0[disabled] { - cursor: not-allowed; - opacity: 0.5; -} - -.emotion-0:-webkit-autofill { - -webkit-box-shadow: 0 0 0 3em #FFFFFF inset; -} - -.emotion-0::-webkit-input-placeholder { - color: #999999; -} - -.emotion-0::-moz-placeholder { - color: #999999; -} - -.emotion-0:-ms-input-placeholder { - color: #999999; -} - -.emotion-0::placeholder { - color: #999999; -} - -.emotion-2 { - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - border: 0; - box-sizing: inherit; - display: block; - margin: 0; - background: #FFFFFF; - padding: .42em 1em; - font-size: 13px; - position: relative; - -webkit-transition: all 200ms ease-out; - transition: all 200ms ease-out; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - line-height: 20px; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: left; - overflow: visible; -} - -.emotion-2:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-2[disabled] { - cursor: not-allowed; - opacity: 0.5; -} - -.emotion-2:-webkit-autofill { - -webkit-box-shadow: 0 0 0 3em #FFFFFF inset; -} - -.emotion-2::-webkit-input-placeholder { - color: #999999; -} - -.emotion-2::-moz-placeholder { - color: #999999; -} - -.emotion-2:-ms-input-placeholder { - color: #999999; -} - -.emotion-2::placeholder { - color: #999999; -} - -.emotion-4 { - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - border: 0; - box-sizing: inherit; - display: block; - margin: 0; - background: #FFFFFF; - padding: .42em 1em; - font-size: 13px; - position: relative; - -webkit-transition: all 200ms ease-out; - transition: all 200ms ease-out; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - line-height: 20px; - width: 100%; - text-align: left; - overflow: visible; -} - -.emotion-4:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-4[disabled] { - cursor: not-allowed; - opacity: 0.5; -} - -.emotion-4:-webkit-autofill { - -webkit-box-shadow: 0 0 0 3em #FFFFFF inset; -} - -.emotion-4::-webkit-input-placeholder { - color: #999999; -} - -.emotion-4::-moz-placeholder { - color: #999999; -} - -.emotion-4:-ms-input-placeholder { - color: #999999; -} - -.emotion-4::placeholder { - color: #999999; -} - -
    -
    - -
    -
    - -
    -
    - -
    -
    -`; - -exports[`Storyshots Basics|Form/Textarea validations 1`] = ` -.emotion-8 > * { - margin-top: 10px; -} - -.emotion-8 > *:first-of-type { - margin-top: 0; -} - -.emotion-1 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.emotion-6 { - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - border: 0; - box-sizing: inherit; - display: block; - margin: 0; - background: #FFFFFF; - padding: .42em 1em; - font-size: 13px; - position: relative; - -webkit-transition: all 200ms ease-out; - transition: all 200ms ease-out; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - line-height: 20px; - width: 100%; - text-align: left; - overflow: visible; -} - -.emotion-6:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-6[disabled] { - cursor: not-allowed; - opacity: 0.5; -} - -.emotion-6:-webkit-autofill { - -webkit-box-shadow: 0 0 0 3em #FFFFFF inset; -} - -.emotion-6::-webkit-input-placeholder { - color: #999999; -} - -.emotion-6::-moz-placeholder { - color: #999999; -} - -.emotion-6:-ms-input-placeholder { - color: #999999; -} - -.emotion-6::placeholder { - color: #999999; -} - -.emotion-0 { - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - border: 0; - box-sizing: inherit; - display: block; - margin: 0; - background: #FFFFFF; - padding: .42em 1em; - font-size: 13px; - position: relative; - -webkit-transition: all 200ms ease-out; - transition: all 200ms ease-out; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - line-height: 20px; - width: 100%; - text-align: left; - box-shadow: #FF4400 0 0 0 1px inset !important; - overflow: visible; -} - -.emotion-0:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-0[disabled] { - cursor: not-allowed; - opacity: 0.5; -} - -.emotion-0:-webkit-autofill { - -webkit-box-shadow: 0 0 0 3em #FFFFFF inset; -} - -.emotion-0::-webkit-input-placeholder { - color: #999999; -} - -.emotion-0::-moz-placeholder { - color: #999999; -} - -.emotion-0:-ms-input-placeholder { - color: #999999; -} - -.emotion-0::placeholder { - color: #999999; -} - -.emotion-2 { - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - border: 0; - box-sizing: inherit; - display: block; - margin: 0; - background: #FFFFFF; - padding: .42em 1em; - font-size: 13px; - position: relative; - -webkit-transition: all 200ms ease-out; - transition: all 200ms ease-out; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - line-height: 20px; - width: 100%; - text-align: left; - box-shadow: #E69D00 0 0 0 1px inset; - overflow: visible; -} - -.emotion-2:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-2[disabled] { - cursor: not-allowed; - opacity: 0.5; -} - -.emotion-2:-webkit-autofill { - -webkit-box-shadow: 0 0 0 3em #FFFFFF inset; -} - -.emotion-2::-webkit-input-placeholder { - color: #999999; -} - -.emotion-2::-moz-placeholder { - color: #999999; -} - -.emotion-2:-ms-input-placeholder { - color: #999999; -} - -.emotion-2::placeholder { - color: #999999; -} - -.emotion-4 { - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; - border: 0; - box-sizing: inherit; - display: block; - margin: 0; - background: #FFFFFF; - padding: .42em 1em; - font-size: 13px; - position: relative; - -webkit-transition: all 200ms ease-out; - transition: all 200ms ease-out; - color: #333333; - box-shadow: rgba(0,0,0,.1) 0 0 0 1px inset; - border-radius: 4px; - line-height: 20px; - width: 100%; - text-align: left; - box-shadow: #66BF3C 0 0 0 1px inset !important; - overflow: visible; -} - -.emotion-4:focus { - box-shadow: #1EA7FD 0 0 0 1px inset; -} - -.emotion-4[disabled] { - cursor: not-allowed; - opacity: 0.5; -} - -.emotion-4:-webkit-autofill { - -webkit-box-shadow: 0 0 0 3em #FFFFFF inset; -} - -.emotion-4::-webkit-input-placeholder { - color: #999999; -} - -.emotion-4::-moz-placeholder { - color: #999999; -} - -.emotion-4:-ms-input-placeholder { - color: #999999; -} - -.emotion-4::placeholder { - color: #999999; -} - -
    -
    - -
    -
    - -
    -
    - -
    -
    - -
    -
    -`; diff --git a/lib/components/src/icon/__snapshots__/icon.stories.storyshot b/lib/components/src/icon/__snapshots__/icon.stories.storyshot deleted file mode 100644 index 0c674a0fdaef..000000000000 --- a/lib/components/src/icon/__snapshots__/icon.stories.storyshot +++ /dev/null @@ -1,4960 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots Basics|Icon labels 1`] = ` -.emotion-1 { - shape-rendering: inherit; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - display: block; -} - -.emotion-0 { - fill: currentColor; -} - -.emotion-604 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-flow: row wrap; - -ms-flex-flow: row wrap; - flex-flow: row wrap; -} - -.emotion-3 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 0 1 20%; - -ms-flex: 0 1 20%; - flex: 0 1 20%; - min-width: 120px; - padding: 0px 7.5px 20px; -} - -.emotion-3 svg { - margin-right: 10px; - width: 24px; - height: 24px; -} - -.emotion-2 { - color: #333; - font-size: 12px; -} - -
    -
    - - - - -
    - add -
    -
    -
    - - - - -
    - admin -
    -
    -
    - - - - -
    - alert -
    -
    -
    - - - - -
    - arrowdown -
    -
    -
    - - - - -
    - arrowleft -
    -
    -
    - - - - -
    - arrowleftalt -
    -
    -
    - - - - -
    - arrowright -
    -
    -
    - - - - -
    - arrowrightalt -
    -
    -
    - - - - -
    - arrowup -
    -
    -
    - - - - -
    - back -
    -
    -
    - - - - -
    - basket -
    -
    -
    - - - - -
    - batchaccept -
    -
    -
    - - - - -
    - batchdeny -
    -
    -
    - - - - -
    - beaker -
    -
    -
    - - - - -
    - bell -
    -
    -
    - - - - -
    - bitbucket -
    -
    -
    - - - - -
    - book -
    -
    -
    - - - - -
    - bookmark -
    -
    -
    - - - - -
    - bookmarkhollow -
    -
    -
    - - - - -
    - bottombar -
    -
    -
    - - - - -
    - box -
    -
    -
    - - - - -
    - branch -
    -
    -
    - - - - -
    - browser -
    -
    -
    - - - - -
    - button -
    -
    -
    - - - - -
    - calendar -
    -
    -
    - - - - -
    - camera -
    -
    -
    - - - - -
    - category -
    -
    -
    - - - - -
    - certificate -
    -
    -
    - - - - -
    - check -
    -
    -
    - - - - -
    - chevrondown -
    -
    -
    - - - - -
    - chroma -
    -
    -
    - - - - -
    - circle -
    -
    -
    - - - - -
    - circlehollow -
    -
    -
    - - - - -
    - close -
    -
    -
    - - - - -
    - closeAlt -
    -
    -
    - - - - -
    - cog -
    -
    -
    - - - - -
    - comment -
    -
    -
    - - - - -
    - commit -
    -
    -
    - - - - -
    - compass -
    -
    -
    - - - - -
    - component -
    -
    -
    - - - - -
    - copy -
    -
    -
    - - - - -
    - cpu -
    -
    -
    - - - - -
    - credit -
    -
    -
    - - - - -
    - cross -
    -
    -
    - - - - -
    - dashboard -
    -
    -
    - - - - -
    - database -
    -
    -
    - - - - -
    - delete -
    -
    -
    - - - - -
    - discord -
    -
    -
    - - - - -
    - docchart -
    -
    -
    - - - - -
    - doclist -
    -
    -
    - - - - -
    - document -
    -
    -
    - - - - -
    - download -
    -
    -
    - - - - -
    - edit -
    -
    -
    - - - - -
    - ellipsis -
    -
    -
    - - - - -
    - email -
    -
    -
    - - - - -
    - expand -
    -
    -
    - - - - -
    - expandalt -
    -
    -
    - - - - -
    - eye -
    -
    -
    - - - - -
    - eyeclose -
    -
    -
    - - - - -
    - facebook -
    -
    -
    - - - - -
    - facehappy -
    -
    -
    - - - - -
    - faceneutral -
    -
    -
    - - - - -
    - facesad -
    -
    -
    - - - - -
    - filter -
    -
    -
    - - - - -
    - flag -
    -
    -
    - - - - -
    - folder -
    -
    -
    - - - - -
    - form -
    -
    -
    - - - - -
    - gdrive -
    -
    -
    - - - - -
    - github -
    -
    -
    - - - - -
    - gitlab -
    -
    -
    - - - - -
    - globe -
    -
    -
    - - - - -
    - google -
    -
    -
    - - - - -
    - graphbar -
    -
    -
    - - - - -
    - graphline -
    -
    -
    - - - - -
    - graphql -
    -
    -
    - - - - -
    - grid -
    -
    -
    - - - - -
    - grow -
    -
    -
    - - - - -
    - heart -
    -
    -
    - - - - -
    - hearthollow -
    -
    -
    - - - - -
    - home -
    -
    -
    - - - - -
    - hourglass -
    -
    -
    - - - - -
    - info -
    -
    -
    - - - - -
    - key -
    -
    -
    - - - - -
    - lightning -
    -
    -
    - - - - -
    - link -
    -
    -
    - - - - -
    - listunordered -
    -
    -
    - - - - -
    - location -
    -
    -
    - - - - -
    - lock -
    -
    -
    - - - - -
    - medium -
    -
    -
    - - - - -
    - memory -
    -
    -
    - - - - -
    - menu -
    -
    -
    - - - - -
    - merge -
    -
    -
    - - - - -
    - mirror -
    -
    -
    - - - - -
    - mobile -
    -
    -
    - - - - -
    - nut -
    -
    -
    - - - - -
    - outbox -
    -
    -
    - - - - -
    - paintbrush -
    -
    -
    - - - - -
    - paperclip -
    -
    -
    - - - - -
    - paragraph -
    -
    -
    - - - - -
    - phone -
    -
    -
    - - - - -
    - photo -
    -
    -
    - - - - -
    - pin -
    -
    -
    - - - - -
    - play -
    -
    -
    - - - - -
    - plus -
    -
    -
    - - - - -
    - power -
    -
    -
    - - - - -
    - print -
    -
    -
    - - - - -
    - proceed -
    -
    -
    - - - - -
    - profile -
    -
    -
    - - - - -
    - pullrequest -
    -
    -
    - - - - -
    - question -
    -
    -
    - - - - -
    - redirect -
    -
    -
    - - - - -
    - redux -
    -
    -
    - - - - -
    - reply -
    -
    -
    - - - - -
    - repository -
    -
    -
    - - - - -
    - requestchange -
    -
    -
    - - - - -
    - rss -
    -
    -
    - - - - -
    - search -
    -
    -
    - - - - -
    - share -
    -
    -
    - - - - -
    - shield -
    -
    -
    - - - - -
    - sidebar -
    -
    -
    - - - - -
    - sidebaralt -
    -
    -
    - - - - -
    - speaker -
    -
    -
    - - - - -
    - star -
    -
    -
    - - - - -
    - starhollow -
    -
    -
    - - - - -
    - stop -
    -
    -
    - - - - -
    - structure -
    -
    -
    - - - - -
    - subtract -
    -
    -
    - - - - -
    - support -
    -
    -
    - - - - -
    - switchalt -
    -
    -
    - - - - -
    - sync -
    -
    -
    - - - - -
    - tablet -
    -
    -
    - - - - -
    - thumbsup -
    -
    -
    - - - - -
    - time -
    -
    -
    - - - - -
    - timer -
    -
    -
    - - - - -
    - transfer -
    -
    -
    - - - - -
    - trash -
    -
    -
    - - - - -
    - twitter -
    -
    -
    - - - - -
    - undo -
    -
    -
    - - - - -
    - unlock -
    -
    -
    - - - - -
    - upload -
    -
    -
    - - - - -
    - user -
    -
    -
    - - - - -
    - useradd -
    -
    -
    - - - - -
    - useralt -
    -
    -
    - - - - -
    - users -
    -
    -
    - - - - -
    - video -
    -
    -
    - - - - -
    - watch -
    -
    -
    - - - - -
    - wrench -
    -
    -
    - - - - -
    - youtube -
    -
    -
    - - - - -
    - zoom -
    -
    -
    - - - - -
    - zoomout -
    -
    -
    - - - - -
    - zoomreset -
    -
    -
    -`; - -exports[`Storyshots Basics|Icon no labels 1`] = ` -.emotion-1 { - shape-rendering: inherit; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - display: block; -} - -.emotion-0 { - fill: currentColor; -} - -.emotion-453 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-flow: row wrap; - -ms-flex-flow: row wrap; - flex-flow: row wrap; -} - -.emotion-2 { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - -webkit-flex: 0 1 20%; - -ms-flex: 0 1 20%; - flex: 0 1 20%; - min-width: 120px; - padding: 0px 7.5px 20px; - -webkit-flex: none; - -ms-flex: none; - flex: none; - min-width: auto; - padding: 0; - background: #fff; - border: 1px solid #666; -} - -.emotion-2 svg { - margin-right: 10px; - width: 24px; - height: 24px; -} - -.emotion-2 svg { - display: block; - margin-right: 0; - width: 48px; - height: 48px; -} - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    - - - -
    -
    -`; diff --git a/lib/components/src/spaced/__snapshots__/Spaced.stories.storyshot b/lib/components/src/spaced/__snapshots__/Spaced.stories.storyshot deleted file mode 100644 index 38ceb1d92beb..000000000000 --- a/lib/components/src/spaced/__snapshots__/Spaced.stories.storyshot +++ /dev/null @@ -1,249 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots Basics|Spaced col 1`] = ` -.emotion-0 { - background: silver; - display: inline-block; - padding: 20px; -} - -.emotion-4 { - display: inline-block; - vertical-align: inherit; -} - -.emotion-4 > * { - margin-left: 10px; - vertical-align: inherit; -} - -.emotion-4 > *:first-of-type { - margin-left: 0; -} - -.emotion-1 { - background: hotpink; - display: inline-block; - padding: 20px; -} - -
    - -
    - - - -
    - -
    -`; - -exports[`Storyshots Basics|Spaced col outer 1`] = ` -.emotion-0 { - background: silver; - display: inline-block; - padding: 20px; -} - -.emotion-1 { - background: hotpink; - display: inline-block; - padding: 20px; -} - -.emotion-4 { - display: inline-block; - vertical-align: inherit; - margin-left: 10px; - margin-right: 10px; -} - -.emotion-4 > * { - margin-left: 10px; - vertical-align: inherit; -} - -.emotion-4 > *:first-of-type { - margin-left: 0; -} - -
    - -
    - - - -
    - -
    -`; - -exports[`Storyshots Basics|Spaced row 1`] = ` -.emotion-4 > * { - margin-top: 10px; -} - -.emotion-4 > *:first-of-type { - margin-top: 0; -} - -.emotion-0 { - background: silver; - padding: 20px; -} - -.emotion-1 { - background: hotpink; - padding: 20px; -} - -
    -
    -
    -
    -
    -
    -
    -
    -
    -`; - -exports[`Storyshots Basics|Spaced row multiply 1`] = ` -.emotion-0 { - background: silver; - padding: 20px; -} - -.emotion-1 { - background: hotpink; - padding: 20px; -} - -.emotion-4 { - margin-top: 5px; - margin-bottom: 5px; -} - -.emotion-4 > * { - margin-top: 30px; -} - -.emotion-4 > *:first-of-type { - margin-top: 0; -} - -
    -
    -
    -
    -
    -
    -
    -
    -
    -`; - -exports[`Storyshots Basics|Spaced row outer 1`] = ` -.emotion-0 { - background: silver; - padding: 20px; -} - -.emotion-1 { - background: hotpink; - padding: 20px; -} - -.emotion-4 { - margin-top: 10px; - margin-bottom: 10px; -} - -.emotion-4 > * { - margin-top: 10px; -} - -.emotion-4 > *:first-of-type { - margin-top: 0; -} - -
    -
    -
    -
    -
    -
    -
    -
    -
    -`; diff --git a/lib/components/src/syntaxhighlighter/__snapshots__/syntaxhighlighter.stories.storyshot b/lib/components/src/syntaxhighlighter/__snapshots__/syntaxhighlighter.stories.storyshot deleted file mode 100644 index 946591470588..000000000000 --- a/lib/components/src/syntaxhighlighter/__snapshots__/syntaxhighlighter.stories.storyshot +++ /dev/null @@ -1,3974 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots Basics|SyntaxHighlighter bash 1`] = ` -.emotion-2 { - overflow-y: auto; - height: 100%; - overflow-x: auto; - width: 100%; - position: relative; -} - -.emotion-2 code { - padding-right: 10px; -} - -.emotion-2 * .token { - font-family: "Operator Mono","Fira Code Retina","Fira Code","FiraCode-Retina","Andale Mono","Lucida Console",Consolas,Monaco,monospace; - -webkit-font-smoothing: antialiased; -} - -.emotion-2 * .token.comment { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.prolog { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.doctype { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.cdata { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.string { - color: #A31515; -} - -.emotion-2 * .token.punctuation { - color: #393A34; -} - -.emotion-2 * .token.operator { - color: #393A34; -} - -.emotion-2 * .token.url { - color: #36acaa; -} - -.emotion-2 * .token.symbol { - color: #36acaa; -} - -.emotion-2 * .token.number { - color: #36acaa; -} - -.emotion-2 * .token.boolean { - color: #36acaa; -} - -.emotion-2 * .token.variable { - color: #36acaa; -} - -.emotion-2 * .token.constant { - color: #36acaa; -} - -.emotion-2 * .token.inserted { - color: #36acaa; -} - -.emotion-2 * .token.atrule { - color: #0000ff; -} - -.emotion-2 * .token.keyword { - color: #0000ff; -} - -.emotion-2 * .token.attr-value { - color: #0000ff; -} - -.emotion-2 * .token.function { - color: #393A34; -} - -.emotion-2 * .token.deleted { - color: #9a050f; -} - -.emotion-2 * .token.important { - font-weight: bold; -} - -.emotion-2 * .token.bold { - font-weight: bold; -} - -.emotion-2 * .token.italic { - font-style: italic; -} - -.emotion-2 * .token.class-name { - color: #2B91AF; -} - -.emotion-2 * .token.tag { - color: #800000; -} - -.emotion-2 * .token.selector { - color: #800000; -} - -.emotion-2 * .token.attr-name { - color: #ff0000; -} - -.emotion-2 * .token.property { - color: #ff0000; -} - -.emotion-2 * .token.regex { - color: #ff0000; -} - -.emotion-2 * .token.entity { - color: #ff0000; -} - -.emotion-2 * .token.directive.tag .tag { - background: #ffff00; - color: #393A34; -} - -.emotion-2 * .language-json .token.boolean { - color: #0000ff; -} - -.emotion-2 * .language-json .token.number { - color: #0000ff; -} - -.emotion-2 * .language-json .token.property { - color: #2B91AF; -} - -.emotion-2 * .namespace { - opacity: 0.7; -} - -.emotion-0 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - padding-right: 0; - opacity: 1; -} - -.emotion-3 { - position: relative; - overflow: hidden; - color: #333333; -} - -.emotion-1 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; - margin: 0; - padding: 0; -} - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -                
    -                  npx npm-check-updates 
    -                  
    -                    '/storybook/'
    -                  
    -                   -u 
    -                  
    -                    &&
    -                  
    -                   
    -                  
    -                    npm
    -                  
    -                   
    -                  
    -                    install
    -                  
    -                
    -              
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -`; - -exports[`Storyshots Basics|SyntaxHighlighter bordered & copy-able 1`] = ` -.emotion-5 { - position: relative; - overflow: hidden; - color: #333333; - border: 1px solid rgba(0,0,0,.1); - background: #FFFFFF; -} - -.emotion-2 { - overflow-y: auto; - height: 100%; - overflow-x: auto; - width: 100%; - position: relative; -} - -.emotion-2 code { - padding-right: 10px; -} - -.emotion-2 * .token { - font-family: "Operator Mono","Fira Code Retina","Fira Code","FiraCode-Retina","Andale Mono","Lucida Console",Consolas,Monaco,monospace; - -webkit-font-smoothing: antialiased; -} - -.emotion-2 * .token.comment { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.prolog { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.doctype { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.cdata { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.string { - color: #A31515; -} - -.emotion-2 * .token.punctuation { - color: #393A34; -} - -.emotion-2 * .token.operator { - color: #393A34; -} - -.emotion-2 * .token.url { - color: #36acaa; -} - -.emotion-2 * .token.symbol { - color: #36acaa; -} - -.emotion-2 * .token.number { - color: #36acaa; -} - -.emotion-2 * .token.boolean { - color: #36acaa; -} - -.emotion-2 * .token.variable { - color: #36acaa; -} - -.emotion-2 * .token.constant { - color: #36acaa; -} - -.emotion-2 * .token.inserted { - color: #36acaa; -} - -.emotion-2 * .token.atrule { - color: #0000ff; -} - -.emotion-2 * .token.keyword { - color: #0000ff; -} - -.emotion-2 * .token.attr-value { - color: #0000ff; -} - -.emotion-2 * .token.function { - color: #393A34; -} - -.emotion-2 * .token.deleted { - color: #9a050f; -} - -.emotion-2 * .token.important { - font-weight: bold; -} - -.emotion-2 * .token.bold { - font-weight: bold; -} - -.emotion-2 * .token.italic { - font-style: italic; -} - -.emotion-2 * .token.class-name { - color: #2B91AF; -} - -.emotion-2 * .token.tag { - color: #800000; -} - -.emotion-2 * .token.selector { - color: #800000; -} - -.emotion-2 * .token.attr-name { - color: #ff0000; -} - -.emotion-2 * .token.property { - color: #ff0000; -} - -.emotion-2 * .token.regex { - color: #ff0000; -} - -.emotion-2 * .token.entity { - color: #ff0000; -} - -.emotion-2 * .token.directive.tag .tag { - background: #ffff00; - color: #393A34; -} - -.emotion-2 * .language-json .token.boolean { - color: #0000ff; -} - -.emotion-2 * .language-json .token.number { - color: #0000ff; -} - -.emotion-2 * .language-json .token.property { - color: #2B91AF; -} - -.emotion-2 * .namespace { - opacity: 0.7; -} - -.emotion-1 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; - margin: 0; - padding: 10px; -} - -.emotion-0 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - padding-right: 0; - opacity: 1; -} - -.emotion-4 { - position: absolute; - bottom: 0; - right: 0; - max-width: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - background: #FFFFFF; - z-index: 1; -} - -.emotion-3 { - border: 0 none; - padding: 4px 10px; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - color: #333333; - background: #FFFFFF; - font-size: 12px; - line-height: 16px; - font-weight: 700; - border-top: 1px solid rgba(0,0,0,.1); - border-left: 1px solid rgba(0,0,0,.1); - margin-left: -1px; - border-radius: 4px 0 0 0; -} - -.emotion-3:not(:last-child) { - border-right: 1px solid rgba(0,0,0,.1); -} - -.emotion-3 + * { - border-left: 1px solid rgba(0,0,0,.1); - border-radius: 0; -} - -.emotion-3:focus { - box-shadow: #1EA7FD 0 -3px 0 0 inset; - outline: 0 none; -} - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -                
    -                  
    -                    import
    -                  
    -                   
    -                  
    -                    {
    -                  
    -                   Good
    -                  
    -                    ,
    -                  
    -                   Things 
    -                  
    -                    }
    -                  
    -                   
    -                  
    -                    from
    -                  
    -                   
    -                  
    -                    'life'
    -                  
    -                  
    -                    ;
    -                  
    -                  
    -
    -
    -                  
    -                    const
    -                  
    -                   
    -                  
    -                    result
    -                  
    -                   
    -                  
    -                    =
    -                  
    -                   
    -                  
    -                    (
    -                  
    -                  
    -                    )
    -                  
    -                   
    -                  
    -                    =>
    -                  
    -                   
    -                  
    -                    
    -                      
    -                        <
    -                      
    -                      
    -                        Good
    -                      
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    
    -                      
    -                        <
    -                      
    -                      
    -                        Things
    -                      
    -                    
    -                     
    -                    
    -                      />
    -                    
    -                  
    -                  
    -                    
    -                      
    -                        </
    -                      
    -                      
    -                        Good
    -                      
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    ;
    -                  
    -                  
    -
    -
    -                  
    -                    export
    -                  
    -                   
    -                  
    -                    {
    -                  
    -                   result 
    -                  
    -                    as
    -                  
    -                   
    -                  
    -                    default
    -                  
    -                   
    -                  
    -                    }
    -                  
    -                  
    -                    ;
    -                  
    -                
    -              
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - -
    -
    -`; - -exports[`Storyshots Basics|SyntaxHighlighter dark unsupported 1`] = ` -.emotion-1 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; - margin: 0; - padding: 10px; -} - -.emotion-0 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - padding-right: 0; - opacity: 1; -} - -.emotion-2 { - overflow-y: auto; - height: 100%; - overflow-x: auto; - width: 100%; - position: relative; -} - -.emotion-2 code { - padding-right: 10px; -} - -.emotion-2 * .token { - font-family: "Operator Mono","Fira Code Retina","Fira Code","FiraCode-Retina","Andale Mono","Lucida Console",Consolas,Monaco,monospace; - -webkit-font-smoothing: antialiased; -} - -.emotion-2 * .token.comment { - color: #7C7C7C; - font-style: italic; -} - -.emotion-2 * .token.prolog { - color: #7C7C7C; - font-style: italic; -} - -.emotion-2 * .token.doctype { - color: #7C7C7C; - font-style: italic; -} - -.emotion-2 * .token.cdata { - color: #7C7C7C; - font-style: italic; -} - -.emotion-2 * .token.string { - color: #92C379; -} - -.emotion-2 * .token.punctuation { - color: #EDEDED; -} - -.emotion-2 * .token.operator { - color: #EDEDED; -} - -.emotion-2 * .token.url { - color: #C6C5FE; -} - -.emotion-2 * .token.symbol { - color: #C6C5FE; -} - -.emotion-2 * .token.number { - color: #C6C5FE; -} - -.emotion-2 * .token.boolean { - color: #C6C5FE; -} - -.emotion-2 * .token.variable { - color: #C6C5FE; -} - -.emotion-2 * .token.constant { - color: #C6C5FE; -} - -.emotion-2 * .token.inserted { - color: #C6C5FE; -} - -.emotion-2 * .token.atrule { - color: #B474DD; -} - -.emotion-2 * .token.keyword { - color: #B474DD; -} - -.emotion-2 * .token.attr-value { - color: #B474DD; -} - -.emotion-2 * .token.function { - color: #EDEDED; -} - -.emotion-2 * .token.deleted { - color: #9a050f; -} - -.emotion-2 * .token.important { - font-weight: bold; -} - -.emotion-2 * .token.bold { - font-weight: bold; -} - -.emotion-2 * .token.italic { - font-style: italic; -} - -.emotion-2 * .token.class-name { - color: #FFFFB6; -} - -.emotion-2 * .token.tag { - color: #A8FF60; -} - -.emotion-2 * .token.selector { - color: #A8FF60; -} - -.emotion-2 * .token.attr-name { - color: #96CBFE; -} - -.emotion-2 * .token.property { - color: #96CBFE; -} - -.emotion-2 * .token.regex { - color: #96CBFE; -} - -.emotion-2 * .token.entity { - color: #96CBFE; -} - -.emotion-2 * .token.directive.tag .tag { - background: #ffff00; - color: #EDEDED; -} - -.emotion-2 * .language-json .token.boolean { - color: #B474DD; -} - -.emotion-2 * .language-json .token.number { - color: #B474DD; -} - -.emotion-2 * .language-json .token.property { - color: #FFFFB6; -} - -.emotion-2 * .namespace { - opacity: 0.7; -} - -.emotion-4 { - position: absolute; - bottom: 0; - right: 0; - max-width: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - background: #333; - z-index: 1; -} - -.emotion-3 { - border: 0 none; - padding: 4px 10px; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - color: #FFFFFF; - background: #333; - font-size: 12px; - line-height: 16px; - font-weight: 700; - border-top: 1px solid rgba(255,255,255,.1); - border-left: 1px solid rgba(255,255,255,.1); - margin-left: -1px; - border-radius: 4px 0 0 0; -} - -.emotion-3:not(:last-child) { - border-right: 1px solid rgba(255,255,255,.1); -} - -.emotion-3 + * { - border-left: 1px solid rgba(255,255,255,.1); - border-radius: 0; -} - -.emotion-3:focus { - box-shadow: #1EA7FD 0 -3px 0 0 inset; - outline: 0 none; -} - -.emotion-5 { - position: relative; - overflow: hidden; - color: #FFFFFF; - border: 1px solid rgba(255,255,255,.1); - background: #333333; -} - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -                
    -                  // A Hello World! program in C#.
    -using System;
    -namespace HelloWorld
    -{
    -  class Hello
    -  {
    -    static void Main()
    -    {
    -      Console.WriteLine("Hello World!");
    -
    -      // Keep the console window open in debug mode.
    -      Console.WriteLine("Press any key to exit.");
    -      Console.ReadKey();
    -    }
    -  }
    -}
    -                
    -              
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - -
    -
    -`; - -exports[`Storyshots Basics|SyntaxHighlighter jsx 1`] = ` -.emotion-2 { - overflow-y: auto; - height: 100%; - overflow-x: auto; - width: 100%; - position: relative; -} - -.emotion-2 code { - padding-right: 10px; -} - -.emotion-2 * .token { - font-family: "Operator Mono","Fira Code Retina","Fira Code","FiraCode-Retina","Andale Mono","Lucida Console",Consolas,Monaco,monospace; - -webkit-font-smoothing: antialiased; -} - -.emotion-2 * .token.comment { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.prolog { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.doctype { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.cdata { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.string { - color: #A31515; -} - -.emotion-2 * .token.punctuation { - color: #393A34; -} - -.emotion-2 * .token.operator { - color: #393A34; -} - -.emotion-2 * .token.url { - color: #36acaa; -} - -.emotion-2 * .token.symbol { - color: #36acaa; -} - -.emotion-2 * .token.number { - color: #36acaa; -} - -.emotion-2 * .token.boolean { - color: #36acaa; -} - -.emotion-2 * .token.variable { - color: #36acaa; -} - -.emotion-2 * .token.constant { - color: #36acaa; -} - -.emotion-2 * .token.inserted { - color: #36acaa; -} - -.emotion-2 * .token.atrule { - color: #0000ff; -} - -.emotion-2 * .token.keyword { - color: #0000ff; -} - -.emotion-2 * .token.attr-value { - color: #0000ff; -} - -.emotion-2 * .token.function { - color: #393A34; -} - -.emotion-2 * .token.deleted { - color: #9a050f; -} - -.emotion-2 * .token.important { - font-weight: bold; -} - -.emotion-2 * .token.bold { - font-weight: bold; -} - -.emotion-2 * .token.italic { - font-style: italic; -} - -.emotion-2 * .token.class-name { - color: #2B91AF; -} - -.emotion-2 * .token.tag { - color: #800000; -} - -.emotion-2 * .token.selector { - color: #800000; -} - -.emotion-2 * .token.attr-name { - color: #ff0000; -} - -.emotion-2 * .token.property { - color: #ff0000; -} - -.emotion-2 * .token.regex { - color: #ff0000; -} - -.emotion-2 * .token.entity { - color: #ff0000; -} - -.emotion-2 * .token.directive.tag .tag { - background: #ffff00; - color: #393A34; -} - -.emotion-2 * .language-json .token.boolean { - color: #0000ff; -} - -.emotion-2 * .language-json .token.number { - color: #0000ff; -} - -.emotion-2 * .language-json .token.property { - color: #2B91AF; -} - -.emotion-2 * .namespace { - opacity: 0.7; -} - -.emotion-0 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - padding-right: 0; - opacity: 1; -} - -.emotion-3 { - position: relative; - overflow: hidden; - color: #333333; -} - -.emotion-1 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; - margin: 0; - padding: 0; -} - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -                
    -                  
    -                    import
    -                  
    -                   
    -                  
    -                    {
    -                  
    -                   Good
    -                  
    -                    ,
    -                  
    -                   Things 
    -                  
    -                    }
    -                  
    -                   
    -                  
    -                    from
    -                  
    -                   
    -                  
    -                    'life'
    -                  
    -                  
    -                    ;
    -                  
    -                  
    -
    -
    -                  
    -                    const
    -                  
    -                   
    -                  
    -                    result
    -                  
    -                   
    -                  
    -                    =
    -                  
    -                   
    -                  
    -                    (
    -                  
    -                  
    -                    )
    -                  
    -                   
    -                  
    -                    =>
    -                  
    -                   
    -                  
    -                    
    -                      
    -                        <
    -                      
    -                      
    -                        Good
    -                      
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    
    -                      
    -                        <
    -                      
    -                      
    -                        Things
    -                      
    -                    
    -                     
    -                    
    -                      all
    -                    
    -                    
    -                      
    -                        =
    -                      
    -                      
    -                        {
    -                      
    -                      
    -                        true
    -                      
    -                      
    -                        }
    -                      
    -                    
    -                     
    -                    
    -                      />
    -                    
    -                  
    -                  
    -                    
    -                      
    -                        </
    -                      
    -                      
    -                        Good
    -                      
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    ;
    -                  
    -                  
    -
    -
    -                  
    -                    export
    -                  
    -                   
    -                  
    -                    {
    -                  
    -                   result 
    -                  
    -                    as
    -                  
    -                   
    -                  
    -                    default
    -                  
    -                   
    -                  
    -                    }
    -                  
    -                  
    -                    ;
    -                  
    -                
    -              
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -`; - -exports[`Storyshots Basics|SyntaxHighlighter padded 1`] = ` -.emotion-2 { - overflow-y: auto; - height: 100%; - overflow-x: auto; - width: 100%; - position: relative; -} - -.emotion-2 code { - padding-right: 10px; -} - -.emotion-2 * .token { - font-family: "Operator Mono","Fira Code Retina","Fira Code","FiraCode-Retina","Andale Mono","Lucida Console",Consolas,Monaco,monospace; - -webkit-font-smoothing: antialiased; -} - -.emotion-2 * .token.comment { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.prolog { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.doctype { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.cdata { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.string { - color: #A31515; -} - -.emotion-2 * .token.punctuation { - color: #393A34; -} - -.emotion-2 * .token.operator { - color: #393A34; -} - -.emotion-2 * .token.url { - color: #36acaa; -} - -.emotion-2 * .token.symbol { - color: #36acaa; -} - -.emotion-2 * .token.number { - color: #36acaa; -} - -.emotion-2 * .token.boolean { - color: #36acaa; -} - -.emotion-2 * .token.variable { - color: #36acaa; -} - -.emotion-2 * .token.constant { - color: #36acaa; -} - -.emotion-2 * .token.inserted { - color: #36acaa; -} - -.emotion-2 * .token.atrule { - color: #0000ff; -} - -.emotion-2 * .token.keyword { - color: #0000ff; -} - -.emotion-2 * .token.attr-value { - color: #0000ff; -} - -.emotion-2 * .token.function { - color: #393A34; -} - -.emotion-2 * .token.deleted { - color: #9a050f; -} - -.emotion-2 * .token.important { - font-weight: bold; -} - -.emotion-2 * .token.bold { - font-weight: bold; -} - -.emotion-2 * .token.italic { - font-style: italic; -} - -.emotion-2 * .token.class-name { - color: #2B91AF; -} - -.emotion-2 * .token.tag { - color: #800000; -} - -.emotion-2 * .token.selector { - color: #800000; -} - -.emotion-2 * .token.attr-name { - color: #ff0000; -} - -.emotion-2 * .token.property { - color: #ff0000; -} - -.emotion-2 * .token.regex { - color: #ff0000; -} - -.emotion-2 * .token.entity { - color: #ff0000; -} - -.emotion-2 * .token.directive.tag .tag { - background: #ffff00; - color: #393A34; -} - -.emotion-2 * .language-json .token.boolean { - color: #0000ff; -} - -.emotion-2 * .language-json .token.number { - color: #0000ff; -} - -.emotion-2 * .language-json .token.property { - color: #2B91AF; -} - -.emotion-2 * .namespace { - opacity: 0.7; -} - -.emotion-1 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; - margin: 0; - padding: 10px; -} - -.emotion-0 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - padding-right: 0; - opacity: 1; -} - -.emotion-3 { - position: relative; - overflow: hidden; - color: #333333; -} - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -                
    -                  
    -                    import
    -                  
    -                   
    -                  
    -                    {
    -                  
    -                   Good
    -                  
    -                    ,
    -                  
    -                   Things 
    -                  
    -                    }
    -                  
    -                   
    -                  
    -                    from
    -                  
    -                   
    -                  
    -                    'life'
    -                  
    -                  
    -                    ;
    -                  
    -                  
    -
    -
    -                  
    -                    const
    -                  
    -                   
    -                  
    -                    result
    -                  
    -                   
    -                  
    -                    =
    -                  
    -                   
    -                  
    -                    (
    -                  
    -                  
    -                    )
    -                  
    -                   
    -                  
    -                    =>
    -                  
    -                   
    -                  
    -                    
    -                      
    -                        <
    -                      
    -                      
    -                        Good
    -                      
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    
    -                      
    -                        <
    -                      
    -                      
    -                        Things
    -                      
    -                    
    -                     
    -                    
    -                      />
    -                    
    -                  
    -                  
    -                    
    -                      
    -                        </
    -                      
    -                      
    -                        Good
    -                      
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    ;
    -                  
    -                  
    -
    -
    -                  
    -                    export
    -                  
    -                   
    -                  
    -                    {
    -                  
    -                   result 
    -                  
    -                    as
    -                  
    -                   
    -                  
    -                    default
    -                  
    -                   
    -                  
    -                    }
    -                  
    -                  
    -                    ;
    -                  
    -                
    -              
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -`; - -exports[`Storyshots Basics|SyntaxHighlighter showLineNumbers 1`] = ` -.emotion-2 { - overflow-y: auto; - height: 100%; - overflow-x: auto; - width: 100%; - position: relative; -} - -.emotion-2 code { - padding-right: 10px; -} - -.emotion-2 * .token { - font-family: "Operator Mono","Fira Code Retina","Fira Code","FiraCode-Retina","Andale Mono","Lucida Console",Consolas,Monaco,monospace; - -webkit-font-smoothing: antialiased; -} - -.emotion-2 * .token.comment { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.prolog { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.doctype { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.cdata { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.string { - color: #A31515; -} - -.emotion-2 * .token.punctuation { - color: #393A34; -} - -.emotion-2 * .token.operator { - color: #393A34; -} - -.emotion-2 * .token.url { - color: #36acaa; -} - -.emotion-2 * .token.symbol { - color: #36acaa; -} - -.emotion-2 * .token.number { - color: #36acaa; -} - -.emotion-2 * .token.boolean { - color: #36acaa; -} - -.emotion-2 * .token.variable { - color: #36acaa; -} - -.emotion-2 * .token.constant { - color: #36acaa; -} - -.emotion-2 * .token.inserted { - color: #36acaa; -} - -.emotion-2 * .token.atrule { - color: #0000ff; -} - -.emotion-2 * .token.keyword { - color: #0000ff; -} - -.emotion-2 * .token.attr-value { - color: #0000ff; -} - -.emotion-2 * .token.function { - color: #393A34; -} - -.emotion-2 * .token.deleted { - color: #9a050f; -} - -.emotion-2 * .token.important { - font-weight: bold; -} - -.emotion-2 * .token.bold { - font-weight: bold; -} - -.emotion-2 * .token.italic { - font-style: italic; -} - -.emotion-2 * .token.class-name { - color: #2B91AF; -} - -.emotion-2 * .token.tag { - color: #800000; -} - -.emotion-2 * .token.selector { - color: #800000; -} - -.emotion-2 * .token.attr-name { - color: #ff0000; -} - -.emotion-2 * .token.property { - color: #ff0000; -} - -.emotion-2 * .token.regex { - color: #ff0000; -} - -.emotion-2 * .token.entity { - color: #ff0000; -} - -.emotion-2 * .token.directive.tag .tag { - background: #ffff00; - color: #393A34; -} - -.emotion-2 * .language-json .token.boolean { - color: #0000ff; -} - -.emotion-2 * .language-json .token.number { - color: #0000ff; -} - -.emotion-2 * .language-json .token.property { - color: #2B91AF; -} - -.emotion-2 * .namespace { - opacity: 0.7; -} - -.emotion-0 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - padding-right: 0; - opacity: 1; -} - -.emotion-3 { - position: relative; - overflow: hidden; - color: #333333; -} - -.emotion-1 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; - margin: 0; - padding: 0; -} - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -                
    -                  
    -                    1
    -
    -                  
    -                  
    -                    2
    -
    -                  
    -                  
    -                    3
    -
    -                  
    -                  
    -                    4
    -
    -                  
    -                  
    -                    5
    -
    -                  
    -                
    -                
    -                  
    -                    import
    -                  
    -                   
    -                  
    -                    {
    -                  
    -                   Good
    -                  
    -                    ,
    -                  
    -                   Things 
    -                  
    -                    }
    -                  
    -                   
    -                  
    -                    from
    -                  
    -                   
    -                  
    -                    'life'
    -                  
    -                  
    -                    ;
    -                  
    -                  
    -
    -
    -                  
    -                    const
    -                  
    -                   
    -                  
    -                    result
    -                  
    -                   
    -                  
    -                    =
    -                  
    -                   
    -                  
    -                    (
    -                  
    -                  
    -                    )
    -                  
    -                   
    -                  
    -                    =>
    -                  
    -                   
    -                  
    -                    
    -                      
    -                        <
    -                      
    -                      
    -                        Good
    -                      
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    
    -                      
    -                        <
    -                      
    -                      
    -                        Things
    -                      
    -                    
    -                     
    -                    
    -                      />
    -                    
    -                  
    -                  
    -                    
    -                      
    -                        </
    -                      
    -                      
    -                        Good
    -                      
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    ;
    -                  
    -                  
    -
    -
    -                  
    -                    export
    -                  
    -                   
    -                  
    -                    {
    -                  
    -                   result 
    -                  
    -                    as
    -                  
    -                   
    -                  
    -                    default
    -                  
    -                   
    -                  
    -                    }
    -                  
    -                  
    -                    ;
    -                  
    -                
    -              
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -`; - -exports[`Storyshots Basics|SyntaxHighlighter story 1`] = ` -.emotion-2 { - overflow-y: auto; - height: 100%; - overflow-x: auto; - width: 100%; - position: relative; -} - -.emotion-2 code { - padding-right: 10px; -} - -.emotion-2 * .token { - font-family: "Operator Mono","Fira Code Retina","Fira Code","FiraCode-Retina","Andale Mono","Lucida Console",Consolas,Monaco,monospace; - -webkit-font-smoothing: antialiased; -} - -.emotion-2 * .token.comment { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.prolog { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.doctype { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.cdata { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.string { - color: #A31515; -} - -.emotion-2 * .token.punctuation { - color: #393A34; -} - -.emotion-2 * .token.operator { - color: #393A34; -} - -.emotion-2 * .token.url { - color: #36acaa; -} - -.emotion-2 * .token.symbol { - color: #36acaa; -} - -.emotion-2 * .token.number { - color: #36acaa; -} - -.emotion-2 * .token.boolean { - color: #36acaa; -} - -.emotion-2 * .token.variable { - color: #36acaa; -} - -.emotion-2 * .token.constant { - color: #36acaa; -} - -.emotion-2 * .token.inserted { - color: #36acaa; -} - -.emotion-2 * .token.atrule { - color: #0000ff; -} - -.emotion-2 * .token.keyword { - color: #0000ff; -} - -.emotion-2 * .token.attr-value { - color: #0000ff; -} - -.emotion-2 * .token.function { - color: #393A34; -} - -.emotion-2 * .token.deleted { - color: #9a050f; -} - -.emotion-2 * .token.important { - font-weight: bold; -} - -.emotion-2 * .token.bold { - font-weight: bold; -} - -.emotion-2 * .token.italic { - font-style: italic; -} - -.emotion-2 * .token.class-name { - color: #2B91AF; -} - -.emotion-2 * .token.tag { - color: #800000; -} - -.emotion-2 * .token.selector { - color: #800000; -} - -.emotion-2 * .token.attr-name { - color: #ff0000; -} - -.emotion-2 * .token.property { - color: #ff0000; -} - -.emotion-2 * .token.regex { - color: #ff0000; -} - -.emotion-2 * .token.entity { - color: #ff0000; -} - -.emotion-2 * .token.directive.tag .tag { - background: #ffff00; - color: #393A34; -} - -.emotion-2 * .language-json .token.boolean { - color: #0000ff; -} - -.emotion-2 * .language-json .token.number { - color: #0000ff; -} - -.emotion-2 * .language-json .token.property { - color: #2B91AF; -} - -.emotion-2 * .namespace { - opacity: 0.7; -} - -.emotion-0 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - padding-right: 0; - opacity: 1; -} - -.emotion-3 { - position: relative; - overflow: hidden; - color: #333333; -} - -.emotion-1 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; - margin: 0; - padding: 0; -} - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -                
    -                  
    -                    import
    -                  
    -                   React 
    -                  
    -                    from
    -                  
    -                   
    -                  
    -                    'react'
    -                  
    -                  
    -                    ;
    -                  
    -                  
    -
    -                  
    -                    import
    -                  
    -                   
    -                  
    -                    {
    -                  
    -                   storiesOf 
    -                  
    -                    }
    -                  
    -                   
    -                  
    -                    from
    -                  
    -                   
    -                  
    -                    '@storybook/react'
    -                  
    -                  
    -                    ;
    -                  
    -                  
    -
    -                  
    -                    import
    -                  
    -                   
    -                  
    -                    {
    -                  
    -                   styled 
    -                  
    -                    }
    -                  
    -                   
    -                  
    -                    from
    -                  
    -                   
    -                  
    -                    '@storybook/theming'
    -                  
    -                  
    -                    ;
    -                  
    -                  
    -
    -
    -                  
    -                    import
    -                  
    -                   Heading 
    -                  
    -                    from
    -                  
    -                   
    -                  
    -                    './heading'
    -                  
    -                  
    -                    ;
    -                  
    -                  
    -
    -
    -                  
    -                    const
    -                  
    -                   Holder 
    -                  
    -                    =
    -                  
    -                   styled
    -                  
    -                    .
    -                  
    -                  
    -                    div
    -                  
    -                  
    -                    (
    -                  
    -                  
    -                    {
    -                  
    -                  
    -  margin
    -                  
    -                    :
    -                  
    -                   
    -                  
    -                    10
    -                  
    -                  
    -                    ,
    -                  
    -                  
    -  border
    -                  
    -                    :
    -                  
    -                   
    -                  
    -                    '1px dashed deepskyblue'
    -                  
    -                  
    -                    ,
    -                  
    -                  
    -  
    -                  
    -                    // overflow: 'hidden',
    -                  
    -                  
    -
    -                  
    -                    }
    -                  
    -                  
    -                    )
    -                  
    -                  
    -                    ;
    -                  
    -                  
    -
    -
    -                  
    -                    storiesOf
    -                  
    -                  
    -                    (
    -                  
    -                  
    -                    'Basics|Heading'
    -                  
    -                  
    -                    ,
    -                  
    -                   module
    -                  
    -                    )
    -                  
    -                  
    -                    .
    -                  
    -                  
    -                    add
    -                  
    -                  
    -                    (
    -                  
    -                  
    -                    'types'
    -                  
    -                  
    -                    ,
    -                  
    -                   
    -                  
    -                    (
    -                  
    -                  
    -                    )
    -                  
    -                   
    -                  
    -                    =>
    -                  
    -                   
    -                  
    -                    (
    -                  
    -                  
    -  
    -                  
    -                    
    -                      
    -                        <
    -                      
    -                      div
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    
    -    
    -                  
    -                  
    -                    
    -                      
    -                        <
    -                      
    -                      
    -                        Holder
    -                      
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    
    -      
    -                  
    -                  
    -                    
    -                      
    -                        <
    -                      
    -                      
    -                        Heading
    -                      
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    DEFAULT WITH ALL CAPS
    -                  
    -                  
    -                    
    -                      
    -                        </
    -                      
    -                      
    -                        Heading
    -                      
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    
    -    
    -                  
    -                  
    -                    
    -                      
    -                        </
    -                      
    -                      
    -                        Holder
    -                      
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    
    -    
    -                  
    -                  
    -                    
    -                      
    -                        <
    -                      
    -                      
    -                        Holder
    -                      
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    
    -      
    -                  
    -                  
    -                    
    -                      
    -                        <
    -                      
    -                      
    -                        Heading
    -                      
    -                    
    -                     
    -                    
    -                      sub
    -                    
    -                    
    -                      
    -                        =
    -                      
    -                      
    -                        "
    -                      
    -                      With a great sub
    -                      
    -                        "
    -                      
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    THIS LONG DEFAULT WITH ALL CAPS & SUB
    -                  
    -                  
    -                    
    -                      
    -                        </
    -                      
    -                      
    -                        Heading
    -                      
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    
    -    
    -                  
    -                  
    -                    
    -                      
    -                        </
    -                      
    -                      
    -                        Holder
    -                      
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    
    -    
    -                  
    -                  
    -                    
    -                      
    -                        <
    -                      
    -                      
    -                        Holder
    -                      
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    
    -      
    -                  
    -                  
    -                    
    -                      
    -                        <
    -                      
    -                      
    -                        Heading
    -                      
    -                    
    -                     
    -                    
    -                      type
    -                    
    -                    
    -                      
    -                        =
    -                      
    -                      
    -                        "
    -                      
    -                      page
    -                      
    -                        "
    -                      
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    page type
    -                  
    -                  
    -                    
    -                      
    -                        </
    -                      
    -                      
    -                        Heading
    -                      
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    
    -    
    -                  
    -                  
    -                    
    -                      
    -                        </
    -                      
    -                      
    -                        Holder
    -                      
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    
    -    
    -                  
    -                  
    -                    
    -                      
    -                        <
    -                      
    -                      
    -                        Holder
    -                      
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    
    -      
    -                  
    -                  
    -                    
    -                      
    -                        <
    -                      
    -                      
    -                        Heading
    -                      
    -                    
    -                     
    -                    
    -                      type
    -                    
    -                    
    -                      
    -                        =
    -                      
    -                      
    -                        "
    -                      
    -                      page
    -                      
    -                        "
    -                      
    -                    
    -                     
    -                    
    -                      sub
    -                    
    -                    
    -                      
    -                        =
    -                      
    -                      
    -                        "
    -                      
    -                      With a sub
    -                      
    -                        "
    -                      
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    
    -        page type
    -      
    -                  
    -                  
    -                    
    -                      
    -                        </
    -                      
    -                      
    -                        Heading
    -                      
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    
    -    
    -                  
    -                  
    -                    
    -                      
    -                        </
    -                      
    -                      
    -                        Holder
    -                      
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -                    
    -  
    -                  
    -                  
    -                    
    -                      
    -                        </
    -                      
    -                      div
    -                    
    -                    
    -                      >
    -                    
    -                  
    -                  
    -
    -                  
    -                    )
    -                  
    -                  
    -                    )
    -                  
    -                  
    -                    ;
    -                  
    -                
    -              
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -`; - -exports[`Storyshots Basics|SyntaxHighlighter unsupported 1`] = ` -.emotion-5 { - position: relative; - overflow: hidden; - color: #333333; - border: 1px solid rgba(0,0,0,.1); - background: #FFFFFF; -} - -.emotion-2 { - overflow-y: auto; - height: 100%; - overflow-x: auto; - width: 100%; - position: relative; -} - -.emotion-2 code { - padding-right: 10px; -} - -.emotion-2 * .token { - font-family: "Operator Mono","Fira Code Retina","Fira Code","FiraCode-Retina","Andale Mono","Lucida Console",Consolas,Monaco,monospace; - -webkit-font-smoothing: antialiased; -} - -.emotion-2 * .token.comment { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.prolog { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.doctype { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.cdata { - color: #008000; - font-style: italic; -} - -.emotion-2 * .token.string { - color: #A31515; -} - -.emotion-2 * .token.punctuation { - color: #393A34; -} - -.emotion-2 * .token.operator { - color: #393A34; -} - -.emotion-2 * .token.url { - color: #36acaa; -} - -.emotion-2 * .token.symbol { - color: #36acaa; -} - -.emotion-2 * .token.number { - color: #36acaa; -} - -.emotion-2 * .token.boolean { - color: #36acaa; -} - -.emotion-2 * .token.variable { - color: #36acaa; -} - -.emotion-2 * .token.constant { - color: #36acaa; -} - -.emotion-2 * .token.inserted { - color: #36acaa; -} - -.emotion-2 * .token.atrule { - color: #0000ff; -} - -.emotion-2 * .token.keyword { - color: #0000ff; -} - -.emotion-2 * .token.attr-value { - color: #0000ff; -} - -.emotion-2 * .token.function { - color: #393A34; -} - -.emotion-2 * .token.deleted { - color: #9a050f; -} - -.emotion-2 * .token.important { - font-weight: bold; -} - -.emotion-2 * .token.bold { - font-weight: bold; -} - -.emotion-2 * .token.italic { - font-style: italic; -} - -.emotion-2 * .token.class-name { - color: #2B91AF; -} - -.emotion-2 * .token.tag { - color: #800000; -} - -.emotion-2 * .token.selector { - color: #800000; -} - -.emotion-2 * .token.attr-name { - color: #ff0000; -} - -.emotion-2 * .token.property { - color: #ff0000; -} - -.emotion-2 * .token.regex { - color: #ff0000; -} - -.emotion-2 * .token.entity { - color: #ff0000; -} - -.emotion-2 * .token.directive.tag .tag { - background: #ffff00; - color: #393A34; -} - -.emotion-2 * .language-json .token.boolean { - color: #0000ff; -} - -.emotion-2 * .language-json .token.number { - color: #0000ff; -} - -.emotion-2 * .language-json .token.property { - color: #2B91AF; -} - -.emotion-2 * .namespace { - opacity: 0.7; -} - -.emotion-1 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; - margin: 0; - padding: 10px; -} - -.emotion-0 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - padding-right: 0; - opacity: 1; -} - -.emotion-4 { - position: absolute; - bottom: 0; - right: 0; - max-width: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - background: #FFFFFF; - z-index: 1; -} - -.emotion-3 { - border: 0 none; - padding: 4px 10px; - cursor: pointer; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - color: #333333; - background: #FFFFFF; - font-size: 12px; - line-height: 16px; - font-weight: 700; - border-top: 1px solid rgba(0,0,0,.1); - border-left: 1px solid rgba(0,0,0,.1); - margin-left: -1px; - border-radius: 4px 0 0 0; -} - -.emotion-3:not(:last-child) { - border-right: 1px solid rgba(0,0,0,.1); -} - -.emotion-3 + * { - border-left: 1px solid rgba(0,0,0,.1); - border-radius: 0; -} - -.emotion-3:focus { - box-shadow: #1EA7FD 0 -3px 0 0 inset; - outline: 0 none; -} - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -                
    -                  // A Hello World! program in C#.
    -using System;
    -namespace HelloWorld
    -{
    -  class Hello
    -  {
    -    static void Main()
    -    {
    -      Console.WriteLine("Hello World!");
    -
    -      // Keep the console window open in debug mode.
    -      Console.WriteLine("Press any key to exit.");
    -      Console.ReadKey();
    -    }
    -  }
    -}
    -                
    -              
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - -
    -
    -`; diff --git a/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot b/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot deleted file mode 100644 index a936ac0a198e..000000000000 --- a/lib/components/src/tabs/__snapshots__/tabs.stories.storyshot +++ /dev/null @@ -1,2029 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots Basics|Tabs stateful - dynamic 1`] = ` -.emotion-9 { - overflow-y: hidden; - overflow-x: auto; - width: 100%; - color: #999999; - width: 100%; - height: 40px; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-shadow: rgba(0,0,0,.1) 0 -1px 0 0 inset; - background: #FFFFFF; -} - -.emotion-8 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - position: relative; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - height: 40px; -} - -.emotion-7 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - white-space: nowrap; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; -} - -.emotion-7 > * { - margin-left: 15px; -} - -.emotion-6 { - overflow: hidden; -} - -.emotion-6:first-of-type { - margin-left: 0; -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: inherit; - border-bottom-color: transparent; -} - -.emotion-0:empty { - display: none; -} - -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-2 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-2:empty { - display: none; -} - -.emotion-2:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-12 { - display: block; -} - -.emotion-11 { - display: block; - position: relative; - font-size: 13px; -} - -.emotion-10 { - display: none; -} - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - - - - - - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - CONTENT 6 -
    -
    -
    -
    -
    -`; - -exports[`Storyshots Basics|Tabs stateful - no initial 1`] = ` -.emotion-9 { - overflow-y: hidden; - overflow-x: auto; - width: 100%; - color: #999999; - width: 100%; - height: 40px; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-shadow: rgba(0,0,0,.1) 0 -1px 0 0 inset; - background: #FFFFFF; -} - -.emotion-8 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - position: relative; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - height: 40px; -} - -.emotion-7 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - white-space: nowrap; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; -} - -.emotion-7 > * { - margin-left: 15px; -} - -.emotion-6 { - overflow: hidden; -} - -.emotion-6:first-of-type { - margin-left: 0; -} - -.emotion-1 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: inherit; - border-bottom-color: transparent; -} - -.emotion-1:empty { - display: none; -} - -.emotion-1:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-0:empty { - display: none; -} - -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-12 { - display: block; -} - -.emotion-11 { - display: block; - position: relative; - font-size: 13px; -} - -.emotion-10 { - display: none; -} - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - - - - - - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - CONTENT 1 -
    - -
    -
    - CONTENT 6 -
    -
    -
    -
    -
    -`; - -exports[`Storyshots Basics|Tabs stateful - static 1`] = ` -.emotion-5 { - overflow-y: hidden; - overflow-x: auto; - width: 100%; - color: #999999; - width: 100%; - height: 40px; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-shadow: rgba(0,0,0,.1) 0 -1px 0 0 inset; - background: #FFFFFF; -} - -.emotion-4 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - position: relative; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - height: 40px; -} - -.emotion-3 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - white-space: nowrap; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; -} - -.emotion-3 > * { - margin-left: 15px; -} - -.emotion-2 { - overflow: hidden; -} - -.emotion-2:first-of-type { - margin-left: 0; -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: inherit; - border-bottom-color: transparent; -} - -.emotion-0:empty { - display: none; -} - -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-1 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-1:empty { - display: none; -} - -.emotion-1:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-6 { - display: block; -} - -.emotion-7 { - display: block; - position: relative; - font-size: 13px; -} - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - test2 is always active (but visually hidden) -
    -
    -
    -
    -
    -`; - -exports[`Storyshots Basics|Tabs stateless - absolute 1`] = ` -.emotion-9 { - overflow-y: hidden; - overflow-x: auto; - width: 100%; - color: #999999; - width: 100%; - height: 40px; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-shadow: rgba(0,0,0,.1) 0 -1px 0 0 inset; - background: #FFFFFF; -} - -.emotion-8 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - position: relative; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - height: 40px; -} - -.emotion-7 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - white-space: nowrap; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; -} - -.emotion-7 > * { - margin-left: 15px; -} - -.emotion-6 { - overflow: hidden; -} - -.emotion-6:first-of-type { - margin-left: 0; -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: inherit; - border-bottom-color: transparent; -} - -.emotion-0:empty { - display: none; -} - -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-2 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-2:empty { - display: none; -} - -.emotion-2:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-11 { - display: block; - position: relative; - font-size: 13px; - height: calc(100% - 40px); - position: absolute; - left: 0; - right: 0; - bottom: 0; - top: 40px; - overflow: auto; -} - -.emotion-11 > *:first-child { - position: absolute; - left: 0; - right: 0; - bottom: 0; - top: 0; - height: 100%; - overflow: auto; -} - -.emotion-10 { - display: none; -} - -.emotion-12 { - background-clip: padding-box; - border: 1px solid rgba(0,0,0,.1); - border-radius: 4px; - overflow: hidden; - width: 100%; - height: 100%; - box-sizing: border-box; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - - - - - - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - CONTENT 6 -
    -
    -
    -
    -
    -`; - -exports[`Storyshots Basics|Tabs stateless - bordered 1`] = ` -.emotion-9 { - overflow-y: hidden; - overflow-x: auto; - width: 100%; - color: #999999; - width: 100%; - height: 40px; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-shadow: rgba(0,0,0,.1) 0 -1px 0 0 inset; - background: #FFFFFF; -} - -.emotion-8 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - position: relative; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - height: 40px; -} - -.emotion-7 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - white-space: nowrap; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; -} - -.emotion-7 > * { - margin-left: 15px; -} - -.emotion-6 { - overflow: hidden; -} - -.emotion-6:first-of-type { - margin-left: 0; -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: inherit; - border-bottom-color: transparent; -} - -.emotion-0:empty { - display: none; -} - -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-2 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-2:empty { - display: none; -} - -.emotion-2:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-11 { - display: block; - position: relative; - font-size: 13px; -} - -.emotion-10 { - display: none; -} - -.emotion-12 { - background-clip: padding-box; - border: 1px solid rgba(0,0,0,.1); - border-radius: 4px; - overflow: hidden; - display: block; -} - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - - - - - - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - CONTENT 6 -
    -
    -
    -
    -
    -`; - -exports[`Storyshots Basics|Tabs stateless - empty 1`] = ` -.emotion-1 { - padding: 30px; - text-align: center; - color: #333333; - font-size: 13px; -} - -.emotion-0 { - font-weight: 700; -} - -
    -
    -
    - Nothing found -
    -
    -
    -`; - -exports[`Storyshots Basics|Tabs stateless - with tools 1`] = ` -.emotion-10 { - overflow-y: hidden; - overflow-x: auto; - width: 100%; - color: #999999; - width: 100%; - height: 40px; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-shadow: rgba(0,0,0,.1) 0 -1px 0 0 inset; - background: #FFFFFF; -} - -.emotion-9 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - position: relative; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - height: 40px; -} - -.emotion-7 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - white-space: nowrap; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; -} - -.emotion-7 > * { - margin-left: 15px; -} - -.emotion-6 { - overflow: hidden; -} - -.emotion-6:first-of-type { - margin-left: 0; -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: inherit; - border-bottom-color: transparent; -} - -.emotion-0:empty { - display: none; -} - -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-2 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-2:empty { - display: none; -} - -.emotion-2:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-8 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - white-space: nowrap; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - margin-left: 30px; -} - -.emotion-8 > * { - margin-right: 15px; -} - -.emotion-13 { - display: block; -} - -.emotion-12 { - display: block; - position: relative; - font-size: 13px; -} - -.emotion-11 { - display: none; -} - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - - - - - - -
    -
    -
    - - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - CONTENT 6 -
    -
    -
    -
    -
    -`; diff --git a/lib/components/src/tooltip/__snapshots__/ListItem.stories.storyshot b/lib/components/src/tooltip/__snapshots__/ListItem.stories.storyshot deleted file mode 100644 index a65a0547e467..000000000000 --- a/lib/components/src/tooltip/__snapshots__/ListItem.stories.storyshot +++ /dev/null @@ -1,1212 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots basics|Tooltip/ListItem active icon 1`] = ` -.emotion-3 { - shape-rendering: inherit; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - display: block; -} - -.emotion-2 { - fill: currentColor; -} - -.emotion-5 { - font-size: 12px; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - color: rgba(51,51,51,0.5); - -webkit-text-decoration: none; - text-decoration: none; - cursor: pointer; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - line-height: 18px; - padding: 7px 15px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; -} - -.emotion-5 > * + * { - padding-left: 10px; -} - -.emotion-5:hover { - background: rgba(0,0,0,.05); -} - -.emotion-5:hover svg { - opacity: 1; -} - -.emotion-1 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: left; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; -} - -.emotion-1 > * + * { - padding-left: 10px; -} - -.emotion-0 { - color: #333333; - font-weight: 400; - color: #FF4785; - font-weight: 700; -} - -.emotion-4 svg { - -webkit-transition: all 200ms ease-out; - transition: all 200ms ease-out; - opacity: 0; - height: 12px; - width: 12px; - margin: 3px 0; - vertical-align: top; -} - -.emotion-4 path { - fill: inherit; -} - -.emotion-4 svg { - opacity: 1; -} - -.emotion-4 path { - fill: #FF4785; -} - - - - - active icon - - - - - - - - -`; - -exports[`Storyshots basics|Tooltip/ListItem all 1`] = ` -@keyframes animation-0 { - 0%, 100% { - opacity: 1; - } - - 50% { - opacity: .4; - } -} - -@keyframes animation-0 { - 0%, 100% { - opacity: 1; - } - - 50% { - opacity: .4; - } -} - -@keyframes animation-0 { - 0%, 100% { - opacity: 1; - } - - 50% { - opacity: .4; - } -} - -@keyframes animation-0 { - 0%, 100% { - opacity: 1; - } - - 50% { - opacity: .4; - } -} - -@keyframes animation-0 { - 0%, 100% { - opacity: 1; - } - - 50% { - opacity: .4; - } -} - -.emotion-9 { - shape-rendering: inherit; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - display: block; -} - -.emotion-8 { - fill: currentColor; -} - -.emotion-2 { - font-size: 12px; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - color: rgba(51,51,51,0.5); - -webkit-text-decoration: none; - text-decoration: none; - cursor: pointer; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - line-height: 18px; - padding: 7px 15px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; -} - -.emotion-2 > * + * { - padding-left: 10px; -} - -.emotion-2:hover { - background: rgba(0,0,0,.05); -} - -.emotion-2:hover svg { - opacity: 1; -} - -.emotion-1 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: left; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; -} - -.emotion-1 > * + * { - padding-left: 10px; -} - -.emotion-3 { - color: #333333; - font-weight: 400; -} - -.emotion-0 { - color: #333333; - font-weight: 400; - -webkit-animation: animation-0 1.5s ease-in-out infinite; - animation: animation-0 1.5s ease-in-out infinite; - color: transparent; - cursor: progress; -} - -.emotion-10 svg { - -webkit-transition: all 200ms ease-out; - transition: all 200ms ease-out; - opacity: 0; - height: 12px; - width: 12px; - margin: 3px 0; - vertical-align: top; -} - -.emotion-10 path { - fill: inherit; -} - -.emotion-14 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: center; -} - -.emotion-18 svg { - opacity: 1; -} - -.emotion-18 path { - fill: #FF4785; -} - -.emotion-19 { - color: #333333; - font-weight: 400; - color: #FF4785; - font-weight: 700; -} - -.emotion-20 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: center; - color: #FF4785; -} - -.emotion-22 svg { - -webkit-transition: all 200ms ease-out; - transition: all 200ms ease-out; - opacity: 0; - height: 12px; - width: 12px; - margin: 3px 0; - vertical-align: top; -} - -.emotion-22 path { - fill: inherit; -} - -.emotion-22 svg { - opacity: 1; -} - -.emotion-22 path { - fill: #FF4785; -} - -.emotion-37 { - font-size: 12px; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - color: rgba(51,51,51,0.5); - -webkit-text-decoration: none; - text-decoration: none; - cursor: pointer; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - line-height: 18px; - padding: 7px 15px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: not-allowed; -} - -.emotion-37 > * + * { - padding-left: 10px; -} - -.emotion-37:hover { - background: rgba(0,0,0,.05); -} - -.emotion-37:hover svg { - opacity: 1; -} - -.emotion-33 { - color: #333333; - font-weight: 400; - color: rgba(51,51,51,0.3); -} - -.emotion-34 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: center; - color: #999999; -} - - -`; - -exports[`Storyshots basics|Tooltip/ListItem default 1`] = ` -.emotion-2 { - font-size: 12px; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - color: rgba(51,51,51,0.5); - -webkit-text-decoration: none; - text-decoration: none; - cursor: pointer; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - line-height: 18px; - padding: 7px 15px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; -} - -.emotion-2 > * + * { - padding-left: 10px; -} - -.emotion-2:hover { - background: rgba(0,0,0,.05); -} - -.emotion-2:hover svg { - opacity: 1; -} - -.emotion-1 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: left; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; -} - -.emotion-1 > * + * { - padding-left: 10px; -} - -.emotion-0 { - color: #333333; - font-weight: 400; -} - - - - - Default - - - -`; - -exports[`Storyshots basics|Tooltip/ListItem default icon 1`] = ` -.emotion-3 { - shape-rendering: inherit; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - display: block; -} - -.emotion-2 { - fill: currentColor; -} - -.emotion-5 { - font-size: 12px; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - color: rgba(51,51,51,0.5); - -webkit-text-decoration: none; - text-decoration: none; - cursor: pointer; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - line-height: 18px; - padding: 7px 15px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; -} - -.emotion-5 > * + * { - padding-left: 10px; -} - -.emotion-5:hover { - background: rgba(0,0,0,.05); -} - -.emotion-5:hover svg { - opacity: 1; -} - -.emotion-1 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: left; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; -} - -.emotion-1 > * + * { - padding-left: 10px; -} - -.emotion-0 { - color: #333333; - font-weight: 400; -} - -.emotion-4 svg { - -webkit-transition: all 200ms ease-out; - transition: all 200ms ease-out; - opacity: 0; - height: 12px; - width: 12px; - margin: 3px 0; - vertical-align: top; -} - -.emotion-4 path { - fill: inherit; -} - - - - - Default icon - - - - - - - - -`; - -exports[`Storyshots basics|Tooltip/ListItem disabled 1`] = ` -.emotion-3 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: left; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; -} - -.emotion-3 > * + * { - padding-left: 10px; -} - -.emotion-4 svg { - -webkit-transition: all 200ms ease-out; - transition: all 200ms ease-out; - opacity: 0; - height: 12px; - width: 12px; - margin: 3px 0; - vertical-align: top; -} - -.emotion-4 path { - fill: inherit; -} - -.emotion-5 { - font-size: 12px; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - color: rgba(51,51,51,0.5); - -webkit-text-decoration: none; - text-decoration: none; - cursor: pointer; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - line-height: 18px; - padding: 7px 15px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - cursor: not-allowed; -} - -.emotion-5 > * + * { - padding-left: 10px; -} - -.emotion-5:hover { - background: rgba(0,0,0,.05); -} - -.emotion-5:hover svg { - opacity: 1; -} - -.emotion-1 { - color: #333333; - font-weight: 400; - color: rgba(51,51,51,0.3); -} - -.emotion-2 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: center; - color: #999999; -} - - - - left - - - - disabled - - - center - - - - right - - -`; - -exports[`Storyshots basics|Tooltip/ListItem loading 1`] = ` -@keyframes animation-0 { - 0%, 100% { - opacity: 1; - } - - 50% { - opacity: .4; - } -} - -@keyframes animation-0 { - 0%, 100% { - opacity: 1; - } - - 50% { - opacity: .4; - } -} - -@keyframes animation-0 { - 0%, 100% { - opacity: 1; - } - - 50% { - opacity: .4; - } -} - -@keyframes animation-0 { - 0%, 100% { - opacity: 1; - } - - 50% { - opacity: .4; - } -} - -@keyframes animation-0 { - 0%, 100% { - opacity: 1; - } - - 50% { - opacity: .4; - } -} - -.emotion-2 { - font-size: 12px; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - color: rgba(51,51,51,0.5); - -webkit-text-decoration: none; - text-decoration: none; - cursor: pointer; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - line-height: 18px; - padding: 7px 15px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; -} - -.emotion-2 > * + * { - padding-left: 10px; -} - -.emotion-2:hover { - background: rgba(0,0,0,.05); -} - -.emotion-2:hover svg { - opacity: 1; -} - -.emotion-1 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: left; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; -} - -.emotion-1 > * + * { - padding-left: 10px; -} - -.emotion-0 { - color: #333333; - font-weight: 400; - -webkit-animation: animation-0 1.5s ease-in-out infinite; - animation: animation-0 1.5s ease-in-out infinite; - color: transparent; - cursor: progress; -} - - - - - - Loading state - - - - -`; - -exports[`Storyshots basics|Tooltip/ListItem w/positions 1`] = ` -.emotion-5 { - font-size: 12px; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - color: rgba(51,51,51,0.5); - -webkit-text-decoration: none; - text-decoration: none; - cursor: pointer; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - line-height: 18px; - padding: 7px 15px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; -} - -.emotion-5 > * + * { - padding-left: 10px; -} - -.emotion-5:hover { - background: rgba(0,0,0,.05); -} - -.emotion-5:hover svg { - opacity: 1; -} - -.emotion-3 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: left; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; -} - -.emotion-3 > * + * { - padding-left: 10px; -} - -.emotion-1 { - color: #333333; - font-weight: 400; -} - -.emotion-4 svg { - -webkit-transition: all 200ms ease-out; - transition: all 200ms ease-out; - opacity: 0; - height: 12px; - width: 12px; - margin: 3px 0; - vertical-align: top; -} - -.emotion-4 path { - fill: inherit; -} - -.emotion-2 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: center; -} - - - - left - - - - title - - - center - - - - right - - -`; - -exports[`Storyshots basics|Tooltip/ListItem w/positions active 1`] = ` -.emotion-5 { - font-size: 12px; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - color: rgba(51,51,51,0.5); - -webkit-text-decoration: none; - text-decoration: none; - cursor: pointer; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - line-height: 18px; - padding: 7px 15px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; -} - -.emotion-5 > * + * { - padding-left: 10px; -} - -.emotion-5:hover { - background: rgba(0,0,0,.05); -} - -.emotion-5:hover svg { - opacity: 1; -} - -.emotion-3 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: left; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; -} - -.emotion-3 > * + * { - padding-left: 10px; -} - -.emotion-0 svg { - opacity: 1; -} - -.emotion-0 path { - fill: #FF4785; -} - -.emotion-1 { - color: #333333; - font-weight: 400; - color: #FF4785; - font-weight: 700; -} - -.emotion-2 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: center; - color: #FF4785; -} - -.emotion-4 svg { - -webkit-transition: all 200ms ease-out; - transition: all 200ms ease-out; - opacity: 0; - height: 12px; - width: 12px; - margin: 3px 0; - vertical-align: top; -} - -.emotion-4 path { - fill: inherit; -} - -.emotion-4 svg { - opacity: 1; -} - -.emotion-4 path { - fill: #FF4785; -} - - - - left - - - - active - - - center - - - - right - - -`; diff --git a/lib/components/src/tooltip/__snapshots__/Tooltip.stories.storyshot b/lib/components/src/tooltip/__snapshots__/Tooltip.stories.storyshot deleted file mode 100644 index baeb3ec46624..000000000000 --- a/lib/components/src/tooltip/__snapshots__/Tooltip.stories.storyshot +++ /dev/null @@ -1,269 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots basics/Tooltip/Tooltip basic, default 1`] = ` -.emotion-2 { - display: inline-block; - z-index: 2147483647; - margin-bottom: 10px; - margin-top: 0px; - margin-left: 0px; - margin-right: 0px; - background: rgba(255,255,255,0.95); - -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); - filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); - border-radius: 8px; - font-size: 12px; -} - -.emotion-0 { - position: absolute; - border-style: solid; - margin-bottom: 0px; - margin-top: 8px; - margin-right: 8px; - margin-left: 8px; - bottom: -8px; - top: autopx; - right: autopx; - left: autopx; - border-bottom-width: 0px; - border-top-width: 8px; - border-right-width: 8px; - border-left-width: 8px; - border-top-color: rgba(255,255,255,0.95); - border-bottom-color: transparent; - border-left-color: transparent; - border-right-color: transparent; -} - -.emotion-1 { - width: 100px; - height: 100px; - font-size: 16px; - text-align: center; - line-height: 100px; -} - -
    -
    -
    - Text -
    -
    -`; - -exports[`Storyshots basics/Tooltip/Tooltip basic, default, bottom 1`] = ` -.emotion-1 { - width: 100px; - height: 100px; - font-size: 16px; - text-align: center; - line-height: 100px; -} - -.emotion-2 { - display: inline-block; - z-index: 2147483647; - margin-bottom: 0px; - margin-top: 10px; - margin-left: 0px; - margin-right: 0px; - background: rgba(255,255,255,0.95); - -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); - filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); - border-radius: 8px; - font-size: 12px; -} - -.emotion-0 { - position: absolute; - border-style: solid; - margin-bottom: 8px; - margin-top: 0px; - margin-right: 8px; - margin-left: 8px; - bottom: autopx; - top: -8px; - right: autopx; - left: autopx; - border-bottom-width: 8px; - border-top-width: 0px; - border-right-width: 8px; - border-left-width: 8px; - border-top-color: transparent; - border-bottom-color: rgba(255,255,255,0.95); - border-left-color: transparent; - border-right-color: transparent; -} - -
    -
    -
    - Text -
    -
    -`; - -exports[`Storyshots basics/Tooltip/Tooltip basic, default, left 1`] = ` -.emotion-1 { - width: 100px; - height: 100px; - font-size: 16px; - text-align: center; - line-height: 100px; -} - -.emotion-2 { - display: inline-block; - z-index: 2147483647; - margin-bottom: 0px; - margin-top: 0px; - margin-left: 0px; - margin-right: 10px; - background: rgba(255,255,255,0.95); - -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); - filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); - border-radius: 8px; - font-size: 12px; -} - -.emotion-0 { - position: absolute; - border-style: solid; - margin-bottom: 8px; - margin-top: 8px; - margin-right: 0px; - margin-left: 8px; - bottom: autopx; - top: autopx; - right: -8px; - left: autopx; - border-bottom-width: 8px; - border-top-width: 8px; - border-right-width: 0px; - border-left-width: 8px; - border-top-color: transparent; - border-bottom-color: transparent; - border-left-color: rgba(255,255,255,0.95); - border-right-color: transparent; -} - -
    -
    -
    - Text -
    -
    -`; - -exports[`Storyshots basics/Tooltip/Tooltip basic, default, right 1`] = ` -.emotion-1 { - width: 100px; - height: 100px; - font-size: 16px; - text-align: center; - line-height: 100px; -} - -.emotion-2 { - display: inline-block; - z-index: 2147483647; - margin-bottom: 0px; - margin-top: 0px; - margin-left: 10px; - margin-right: 0px; - background: rgba(255,255,255,0.95); - -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); - filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); - border-radius: 8px; - font-size: 12px; -} - -.emotion-0 { - position: absolute; - border-style: solid; - margin-bottom: 8px; - margin-top: 8px; - margin-right: 8px; - margin-left: 0px; - bottom: autopx; - top: autopx; - right: autopx; - left: -8px; - border-bottom-width: 8px; - border-top-width: 8px; - border-right-width: 8px; - border-left-width: 0px; - border-top-color: transparent; - border-bottom-color: transparent; - border-left-color: transparent; - border-right-color: rgba(255,255,255,0.95); -} - -
    -
    -
    - Text -
    -
    -`; - -exports[`Storyshots basics/Tooltip/Tooltip no chrome 1`] = ` -.emotion-0 { - width: 100px; - height: 100px; - font-size: 16px; - text-align: center; - line-height: 100px; -} - -.emotion-1 { - display: inline-block; - z-index: 2147483647; - margin-bottom: 8px; - margin-top: 0px; - margin-left: 0px; - margin-right: 0px; -} - -
    -
    - Text -
    -
    -`; diff --git a/lib/components/src/tooltip/__snapshots__/TooltipLinkList.stories.storyshot b/lib/components/src/tooltip/__snapshots__/TooltipLinkList.stories.storyshot deleted file mode 100644 index 7a2cc780cf91..000000000000 --- a/lib/components/src/tooltip/__snapshots__/TooltipLinkList.stories.storyshot +++ /dev/null @@ -1,326 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots basics/Tooltip/TooltipLinkList links 1`] = ` -.emotion-8 { - min-width: 180px; - overflow: hidden; - border-radius: 8px; -} - -.emotion-4 { - font-size: 12px; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - color: rgba(51,51,51,0.5); - -webkit-text-decoration: none; - text-decoration: none; - cursor: pointer; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - line-height: 18px; - padding: 7px 15px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; -} - -.emotion-4 > * + * { - padding-left: 10px; -} - -.emotion-4:hover { - background: rgba(0,0,0,.05); -} - -.emotion-4:hover svg { - opacity: 1; -} - -.emotion-3 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: left; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; -} - -.emotion-3 > * + * { - padding-left: 10px; -} - -.emotion-2 { - color: #333333; - font-weight: 400; -} - -.emotion-0 { - display: inline-block; - cursor: pointer; -} - -.emotion-9 { - display: inline-block; - z-index: 2147483647; - margin-bottom: 10px; - margin-top: 0px; - margin-left: 0px; - margin-right: 0px; - background: rgba(255,255,255,0.95); - -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); - filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); - border-radius: 8px; - font-size: 12px; -} - -.emotion-1 { - position: absolute; - border-style: solid; - margin-bottom: 0px; - margin-top: 8px; - margin-right: 8px; - margin-left: 8px; - bottom: -8px; - top: autopx; - right: autopx; - left: autopx; - border-bottom-width: 0px; - border-top-width: 8px; - border-right-width: 8px; - border-left-width: 8px; - border-top-color: rgba(255,255,255,0.95); - border-bottom-color: transparent; - border-left-color: transparent; - border-right-color: transparent; -} - -
    -
    -
    - Tooltip -
    -
    - -`; - -exports[`Storyshots basics/Tooltip/TooltipLinkList links and callback 1`] = ` -.emotion-11 { - min-width: 180px; - overflow: hidden; - border-radius: 8px; -} - -.emotion-4 { - font-size: 12px; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - color: rgba(51,51,51,0.5); - -webkit-text-decoration: none; - text-decoration: none; - cursor: pointer; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - line-height: 18px; - padding: 7px 15px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; -} - -.emotion-4 > * + * { - padding-left: 10px; -} - -.emotion-4:hover { - background: rgba(0,0,0,.05); -} - -.emotion-4:hover svg { - opacity: 1; -} - -.emotion-3 { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-align: left; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; -} - -.emotion-3 > * + * { - padding-left: 10px; -} - -.emotion-2 { - color: #333333; - font-weight: 400; -} - -.emotion-0 { - display: inline-block; - cursor: pointer; -} - -.emotion-12 { - display: inline-block; - z-index: 2147483647; - margin-bottom: 10px; - margin-top: 0px; - margin-left: 0px; - margin-right: 0px; - background: rgba(255,255,255,0.95); - -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); - filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); - border-radius: 8px; - font-size: 12px; -} - -.emotion-1 { - position: absolute; - border-style: solid; - margin-bottom: 0px; - margin-top: 8px; - margin-right: 8px; - margin-left: 8px; - bottom: -8px; - top: autopx; - right: autopx; - left: autopx; - border-bottom-width: 0px; - border-top-width: 8px; - border-right-width: 8px; - border-left-width: 8px; - border-top-color: rgba(255,255,255,0.95); - border-bottom-color: transparent; - border-left-color: transparent; - border-right-color: transparent; -} - -
    -
    -
    - Tooltip -
    -
    - -`; diff --git a/lib/components/src/tooltip/__snapshots__/TooltipMessage.stories.storyshot b/lib/components/src/tooltip/__snapshots__/TooltipMessage.stories.storyshot deleted file mode 100644 index b38f7898aa3e..000000000000 --- a/lib/components/src/tooltip/__snapshots__/TooltipMessage.stories.storyshot +++ /dev/null @@ -1,514 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots basics/Tooltip/TooltipMessage default 1`] = ` -.emotion-0 { - display: inline-block; - cursor: pointer; -} - -.emotion-6 { - display: inline-block; - z-index: 2147483647; - margin-bottom: 10px; - margin-top: 0px; - margin-left: 0px; - margin-right: 0px; - background: rgba(255,255,255,0.95); - -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); - filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); - border-radius: 8px; - font-size: 12px; -} - -.emotion-1 { - position: absolute; - border-style: solid; - margin-bottom: 0px; - margin-top: 8px; - margin-right: 8px; - margin-left: 8px; - bottom: -8px; - top: autopx; - right: autopx; - left: autopx; - border-bottom-width: 0px; - border-top-width: 8px; - border-right-width: 8px; - border-left-width: 8px; - border-top-color: rgba(255,255,255,0.95); - border-bottom-color: transparent; - border-left-color: transparent; - border-right-color: transparent; -} - -.emotion-5 { - padding: 15px; - width: 280px; - box-sizing: border-box; -} - -.emotion-4 { - color: #444444; - line-height: 18px; -} - -.emotion-2 { - font-weight: 900; -} - -
    -
    -
    - Tooltip -
    -
    -
    -
    -
    -
    -
    - Lorem ipsum dolor sit -
    - - Amet consectatur vestibulum concet durum politu coret weirom - -
    -
    -
    -
    -`; - -exports[`Storyshots basics/Tooltip/TooltipMessage minimal message 1`] = ` -.emotion-0 { - display: inline-block; - cursor: pointer; -} - -.emotion-5 { - display: inline-block; - z-index: 2147483647; - margin-bottom: 10px; - margin-top: 0px; - margin-left: 0px; - margin-right: 0px; - background: rgba(255,255,255,0.95); - -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); - filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); - border-radius: 8px; - font-size: 12px; -} - -.emotion-1 { - position: absolute; - border-style: solid; - margin-bottom: 0px; - margin-top: 8px; - margin-right: 8px; - margin-left: 8px; - bottom: -8px; - top: autopx; - right: autopx; - left: autopx; - border-bottom-width: 0px; - border-top-width: 8px; - border-right-width: 8px; - border-left-width: 8px; - border-top-color: rgba(255,255,255,0.95); - border-bottom-color: transparent; - border-left-color: transparent; - border-right-color: transparent; -} - -.emotion-4 { - padding: 15px; - width: 280px; - box-sizing: border-box; -} - -.emotion-3 { - color: #444444; - line-height: 18px; -} - -
    -
    -
    - Tooltip -
    -
    -
    -
    -
    -
    - - Amet consectatur vestibulum concet durum politu coret weirom - -
    -
    -
    -
    -`; - -exports[`Storyshots basics/Tooltip/TooltipMessage with link 1`] = ` -.emotion-0 { - display: inline-block; - cursor: pointer; -} - -.emotion-6 { - display: inline-block; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-text-decoration: none; - text-decoration: none; - color: #1EA7FD; -} - -.emotion-6 svg path { - fill: #1EA7FD; -} - -.emotion-6:hover, -.emotion-6:focus { - cursor: pointer; - color: #0297f5; -} - -.emotion-6:hover svg path, -.emotion-6:focus svg path { - fill: #0297f5; -} - -.emotion-6:active { - color: #028ee6; -} - -.emotion-6:active svg path { - fill: #028ee6; -} - -.emotion-6 svg { - display: inline-block; - height: 1em; - width: 1em; - vertical-align: text-top; - position: relative; - bottom: -0.125em; - margin-right: 0.4em; -} - -.emotion-9 { - display: inline-block; - z-index: 2147483647; - margin-bottom: 10px; - margin-top: 0px; - margin-left: 0px; - margin-right: 0px; - background: rgba(255,255,255,0.95); - -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); - filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); - border-radius: 8px; - font-size: 12px; -} - -.emotion-1 { - position: absolute; - border-style: solid; - margin-bottom: 0px; - margin-top: 8px; - margin-right: 8px; - margin-left: 8px; - bottom: -8px; - top: autopx; - right: autopx; - left: autopx; - border-bottom-width: 0px; - border-top-width: 8px; - border-right-width: 8px; - border-left-width: 8px; - border-top-color: rgba(255,255,255,0.95); - border-bottom-color: transparent; - border-left-color: transparent; - border-right-color: transparent; -} - -.emotion-8 { - padding: 15px; - width: 280px; - box-sizing: border-box; -} - -.emotion-4 { - color: #444444; - line-height: 18px; -} - -.emotion-2 { - font-weight: 900; -} - -.emotion-7 { - margin-top: 8px; - text-align: center; -} - -.emotion-7 > * { - margin: 0 8px; - font-weight: 900; -} - -
    -
    -
    - Tooltip -
    -
    -
    -
    -
    -
    -
    - Lorem ipsum dolor sit -
    - - Amet consectatur vestibulum concet durum politu coret weirom - -
    - -
    -
    -
    -`; - -exports[`Storyshots basics/Tooltip/TooltipMessage with links 1`] = ` -.emotion-0 { - display: inline-block; - cursor: pointer; -} - -.emotion-6 { - display: inline-block; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-text-decoration: none; - text-decoration: none; - color: #1EA7FD; -} - -.emotion-6 svg path { - fill: #1EA7FD; -} - -.emotion-6:hover, -.emotion-6:focus { - cursor: pointer; - color: #0297f5; -} - -.emotion-6:hover svg path, -.emotion-6:focus svg path { - fill: #0297f5; -} - -.emotion-6:active { - color: #028ee6; -} - -.emotion-6:active svg path { - fill: #028ee6; -} - -.emotion-6 svg { - display: inline-block; - height: 1em; - width: 1em; - vertical-align: text-top; - position: relative; - bottom: -0.125em; - margin-right: 0.4em; -} - -.emotion-11 { - display: inline-block; - z-index: 2147483647; - margin-bottom: 10px; - margin-top: 0px; - margin-left: 0px; - margin-right: 0px; - background: rgba(255,255,255,0.95); - -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); - filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); - border-radius: 8px; - font-size: 12px; -} - -.emotion-1 { - position: absolute; - border-style: solid; - margin-bottom: 0px; - margin-top: 8px; - margin-right: 8px; - margin-left: 8px; - bottom: -8px; - top: autopx; - right: autopx; - left: autopx; - border-bottom-width: 0px; - border-top-width: 8px; - border-right-width: 8px; - border-left-width: 8px; - border-top-color: rgba(255,255,255,0.95); - border-bottom-color: transparent; - border-left-color: transparent; - border-right-color: transparent; -} - -.emotion-10 { - padding: 15px; - width: 280px; - box-sizing: border-box; -} - -.emotion-4 { - color: #444444; - line-height: 18px; -} - -.emotion-2 { - font-weight: 900; -} - -.emotion-9 { - margin-top: 8px; - text-align: center; -} - -.emotion-9 > * { - margin: 0 8px; - font-weight: 900; -} - -
    -
    -
    - Tooltip -
    -
    -
    -
    -
    -
    -
    - Lorem ipsum dolor sit -
    - - Amet consectatur vestibulum concet durum politu coret weirom - -
    - -
    -
    -
    -`; diff --git a/lib/components/src/tooltip/__snapshots__/TooltipNote.stories.storyshot b/lib/components/src/tooltip/__snapshots__/TooltipNote.stories.storyshot deleted file mode 100644 index 0eea0521232a..000000000000 --- a/lib/components/src/tooltip/__snapshots__/TooltipNote.stories.storyshot +++ /dev/null @@ -1,54 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots basics/Tooltip/TooltipNote default 1`] = ` -.emotion-0 { - display: inline-block; - cursor: pointer; -} - -.emotion-2 { - display: inline-block; - z-index: 2147483647; - margin-bottom: 8px; - margin-top: 0px; - margin-left: 0px; - margin-right: 0px; -} - -.emotion-1 { - padding: 2px 6px; - line-height: 16px; - font-size: 10px; - font-weight: 700; - color: #FFFFFF; - box-shadow: 0 0 5px 0 rgba(0,0,0,0.3); - border-radius: 4px; - white-space: nowrap; - pointer-events: none; - z-index: -1; - background: rgba(0,0,0,0.4); - margin: 6px; -} - -
    -
    -
    - Tooltip -
    -
    -
    -
    - Lorem ipsum dolor -
    -
    -
    -`; diff --git a/lib/components/src/tooltip/__snapshots__/WithTooltip.stories.storyshot b/lib/components/src/tooltip/__snapshots__/WithTooltip.stories.storyshot deleted file mode 100644 index 5faba31ab234..000000000000 --- a/lib/components/src/tooltip/__snapshots__/WithTooltip.stories.storyshot +++ /dev/null @@ -1,448 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots basics/Tooltip/WithTooltip no chrome 1`] = ` -.emotion-2 { - display: inline-block; - cursor: pointer; -} - -.emotion-4 { - height: 300px; -} - -.emotion-3 { - width: 500px; - height: 500px; - overflow-y: scroll; - background: #eee; - position: relative; -} - -.emotion-0 { - height: 100px; -} - -.emotion-1 { - width: 200px; - height: 100px; - background-color: red; - color: white; -} - -
    -
    -
    -
    -
    - Click me! -
    -
    -
    -
    -`; - -exports[`Storyshots basics/Tooltip/WithTooltip simple click 1`] = ` -.emotion-2 { - display: inline-block; - cursor: pointer; -} - -.emotion-4 { - height: 300px; -} - -.emotion-3 { - width: 500px; - height: 500px; - overflow-y: scroll; - background: #eee; - position: relative; -} - -.emotion-0 { - height: 100px; -} - -.emotion-1 { - width: 200px; - height: 100px; - background-color: red; - color: white; -} - -
    -
    -
    -
    -
    - Click me! -
    -
    -
    -
    -`; - -exports[`Storyshots basics/Tooltip/WithTooltip simple click closeOnClick 1`] = ` -.emotion-2 { - display: inline-block; - cursor: pointer; -} - -.emotion-4 { - height: 300px; -} - -.emotion-3 { - width: 500px; - height: 500px; - overflow-y: scroll; - background: #eee; - position: relative; -} - -.emotion-0 { - height: 100px; -} - -.emotion-1 { - width: 200px; - height: 100px; - background-color: red; - color: white; -} - -
    -
    -
    -
    -
    - Click me! -
    -
    -
    -
    -`; - -exports[`Storyshots basics/Tooltip/WithTooltip simple click start open 1`] = ` -.emotion-2 { - display: inline-block; - cursor: pointer; -} - -.emotion-8 { - display: inline-block; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-text-decoration: none; - text-decoration: none; - color: #1EA7FD; -} - -.emotion-8 svg path { - fill: #1EA7FD; -} - -.emotion-8:hover, -.emotion-8:focus { - cursor: pointer; - color: #0297f5; -} - -.emotion-8:hover svg path, -.emotion-8:focus svg path { - fill: #0297f5; -} - -.emotion-8:active { - color: #028ee6; -} - -.emotion-8:active svg path { - fill: #028ee6; -} - -.emotion-8 svg { - display: inline-block; - height: 1em; - width: 1em; - vertical-align: text-top; - position: relative; - bottom: -0.125em; - margin-right: 0.4em; -} - -.emotion-11 { - display: inline-block; - z-index: 2147483647; - margin-bottom: 10px; - margin-top: 0px; - margin-left: 0px; - margin-right: 0px; - background: rgba(255,255,255,0.95); - -webkit-filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); - filter: drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1)); - border-radius: 8px; - font-size: 12px; -} - -.emotion-3 { - position: absolute; - border-style: solid; - margin-bottom: 0px; - margin-top: 8px; - margin-right: 8px; - margin-left: 8px; - bottom: -8px; - top: autopx; - right: autopx; - left: autopx; - border-bottom-width: 0px; - border-top-width: 8px; - border-right-width: 8px; - border-left-width: 8px; - border-top-color: rgba(255,255,255,0.95); - border-bottom-color: transparent; - border-left-color: transparent; - border-right-color: transparent; -} - -.emotion-10 { - padding: 15px; - width: 280px; - box-sizing: border-box; -} - -.emotion-6 { - color: #444444; - line-height: 18px; -} - -.emotion-4 { - font-weight: 900; -} - -.emotion-9 { - margin-top: 8px; - text-align: center; -} - -.emotion-9 > * { - margin: 0 8px; - font-weight: 900; -} - -.emotion-13 { - height: 300px; -} - -.emotion-12 { - width: 500px; - height: 500px; - overflow-y: scroll; - background: #eee; - position: relative; -} - -.emotion-0 { - height: 100px; -} - -.emotion-1 { - width: 200px; - height: 100px; - background-color: red; - color: white; -} - -
    -
    -
    -
    -
    - Click me! -
    -
    -
    -
    -
    -
    -
    - Lorem ipsum dolor sit -
    - - Amet consectatur vestibulum concet durum politu coret weirom - -
    - -
    -
    -
    -
    -`; - -exports[`Storyshots basics/Tooltip/WithTooltip simple hover 1`] = ` -.emotion-2 { - display: inline-block; - cursor: pointer; -} - -.emotion-4 { - height: 300px; -} - -.emotion-3 { - width: 500px; - height: 500px; - overflow-y: scroll; - background: #eee; - position: relative; -} - -.emotion-0 { - height: 100px; -} - -.emotion-1 { - width: 200px; - height: 100px; - background-color: red; - color: white; -} - -
    -
    -
    -
    -
    - Hover me! -
    -
    -
    -
    -`; - -exports[`Storyshots basics/Tooltip/WithTooltip simple hover, functional 1`] = ` -.emotion-2 { - display: inline-block; - cursor: pointer; -} - -.emotion-4 { - height: 300px; -} - -.emotion-3 { - width: 500px; - height: 500px; - overflow-y: scroll; - background: #eee; - position: relative; -} - -.emotion-0 { - height: 100px; -} - -.emotion-1 { - width: 200px; - height: 100px; - background-color: red; - color: white; -} - -
    -
    -
    -
    -
    - Hover me! -
    -
    -
    -
    -`; diff --git a/lib/components/src/typography/__snapshots__/typography.stories.storyshot b/lib/components/src/typography/__snapshots__/typography.stories.storyshot deleted file mode 100644 index 5d48136bc13f..000000000000 --- a/lib/components/src/typography/__snapshots__/typography.stories.storyshot +++ /dev/null @@ -1,186 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots Basics|typography all 1`] = ` -.emotion-16 { - padding: 3rem; -} - -.emotion-0 { - margin-bottom: 3rem; -} - -.emotion-15 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; -} - -.emotion-15 > * { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - padding-right: 40px; -} - -.emotion-10 { - font-weight: 900; -} - -.emotion-10 > * { - margin-bottom: 1rem; -} - -.emotion-1 { - font-size: 48px; -} - -.emotion-2 { - font-size: 40px; -} - -.emotion-3 { - font-size: 32px; -} - -.emotion-4 { - font-size: 28px; -} - -.emotion-6 { - font-size: 20px; -} - -.emotion-7 { - font-size: 16px; -} - -.emotion-8 { - font-size: 14px; -} - -.emotion-9 { - font-size: 12px; -} - -.emotion-14 > * { - margin-bottom: 1rem; -} - -
    -
    -
    - - Font-family: - - "Nunito sans", Apple system font ... sans-serif -
    -
    - - UI text size: - - 13px -
    -
    - - Document/Markdown text size: - - 14px -
    -
    - - Code font: - - - - Operator Mono, Fira Code, Consolas ... monospace - -
    -
    - - Weights: - - 400(normal), 600(bold), 900(black) -
    -
    -
    -
    -
    - 48 heading -
    -
    - 40 heading -
    -
    - 32 heading -
    -
    - 28 heading -
    -
    - 24 heading -
    -
    - 20 heading -
    -
    - 16 heading -
    -
    - 14 heading -
    -
    - 12 heading -
    -
    -
    -
    - 16 The quick brown fox jumps over the lazy dog -
    -
    - 14 The quick brown fox jumps over the lazy dog -
    -
    - 12 The quick brown fox jumps over the lazy dog -
    -
    -
    -
    -`; diff --git a/lib/components/src/typography/link/__snapshots__/link.stories.storyshot b/lib/components/src/typography/link/__snapshots__/link.stories.storyshot deleted file mode 100644 index d43a0dd939db..000000000000 --- a/lib/components/src/typography/link/__snapshots__/link.stories.storyshot +++ /dev/null @@ -1,664 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots Basics|Link cancel w/ href 1`] = ` -.emotion-1 { - display: inline-block; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-text-decoration: none; - text-decoration: none; - color: #1EA7FD; -} - -.emotion-1 svg path { - fill: #1EA7FD; -} - -.emotion-1:hover, -.emotion-1:focus { - cursor: pointer; - color: #0297f5; -} - -.emotion-1:hover svg path, -.emotion-1:focus svg path { - fill: #0297f5; -} - -.emotion-1:active { - color: #028ee6; -} - -.emotion-1:active svg path { - fill: #028ee6; -} - -.emotion-1 svg { - display: inline-block; - height: 1em; - width: 1em; - vertical-align: text-top; - position: relative; - bottom: -0.125em; - margin-right: 0.4em; -} - - - - Link - - -`; - -exports[`Storyshots Basics|Link cancel w/ onClick 1`] = ` -.emotion-1 { - display: inline-block; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-text-decoration: none; - text-decoration: none; - color: #1EA7FD; -} - -.emotion-1 svg path { - fill: #1EA7FD; -} - -.emotion-1:hover, -.emotion-1:focus { - cursor: pointer; - color: #0297f5; -} - -.emotion-1:hover svg path, -.emotion-1:focus svg path { - fill: #0297f5; -} - -.emotion-1:active { - color: #028ee6; -} - -.emotion-1:active svg path { - fill: #028ee6; -} - -.emotion-1 svg { - display: inline-block; - height: 1em; - width: 1em; - vertical-align: text-top; - position: relative; - bottom: -0.125em; - margin-right: 0.4em; -} - - - - Try clicking with different mouse buttons and modifier keys (shift/ctrl/alt/cmd) - - -`; - -exports[`Storyshots Basics|Link no-cancel w/ href 1`] = ` -.emotion-1 { - display: inline-block; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-text-decoration: none; - text-decoration: none; - color: #1EA7FD; -} - -.emotion-1 svg path { - fill: #1EA7FD; -} - -.emotion-1:hover, -.emotion-1:focus { - cursor: pointer; - color: #0297f5; -} - -.emotion-1:hover svg path, -.emotion-1:focus svg path { - fill: #0297f5; -} - -.emotion-1:active { - color: #028ee6; -} - -.emotion-1:active svg path { - fill: #028ee6; -} - -.emotion-1 svg { - display: inline-block; - height: 1em; - width: 1em; - vertical-align: text-top; - position: relative; - bottom: -0.125em; - margin-right: 0.4em; -} - - - - Link - - -`; - -exports[`Storyshots Basics|Link no-cancel w/ onClick 1`] = ` -.emotion-1 { - display: inline-block; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-text-decoration: none; - text-decoration: none; - color: #1EA7FD; -} - -.emotion-1 svg path { - fill: #1EA7FD; -} - -.emotion-1:hover, -.emotion-1:focus { - cursor: pointer; - color: #0297f5; -} - -.emotion-1:hover svg path, -.emotion-1:focus svg path { - fill: #0297f5; -} - -.emotion-1:active { - color: #028ee6; -} - -.emotion-1:active svg path { - fill: #028ee6; -} - -.emotion-1 svg { - display: inline-block; - height: 1em; - width: 1em; - vertical-align: text-top; - position: relative; - bottom: -0.125em; - margin-right: 0.4em; -} - - - - any click will go through - - -`; - -exports[`Storyshots Basics|Link styled links 1`] = ` -.emotion-9 { - shape-rendering: inherit; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - display: block; -} - -.emotion-8 { - fill: currentColor; -} - -.emotion-1 { - display: inline-block; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-text-decoration: none; - text-decoration: none; - color: #1EA7FD; -} - -.emotion-1 svg path { - fill: #1EA7FD; -} - -.emotion-1:hover, -.emotion-1:focus { - cursor: pointer; - color: #0297f5; -} - -.emotion-1:hover svg path, -.emotion-1:focus svg path { - fill: #0297f5; -} - -.emotion-1:active { - color: #028ee6; -} - -.emotion-1:active svg path { - fill: #028ee6; -} - -.emotion-1 svg { - display: inline-block; - height: 1em; - width: 1em; - vertical-align: text-top; - position: relative; - bottom: -0.125em; - margin-right: 0.4em; -} - -.emotion-3 { - display: inline-block; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-text-decoration: none; - text-decoration: none; - color: #1EA7FD; - color: #999999; -} - -.emotion-3 svg path { - fill: #1EA7FD; -} - -.emotion-3:hover, -.emotion-3:focus { - cursor: pointer; - color: #0297f5; -} - -.emotion-3:hover svg path, -.emotion-3:focus svg path { - fill: #0297f5; -} - -.emotion-3:active { - color: #028ee6; -} - -.emotion-3:active svg path { - fill: #028ee6; -} - -.emotion-3 svg { - display: inline-block; - height: 1em; - width: 1em; - vertical-align: text-top; - position: relative; - bottom: -0.125em; - margin-right: 0.4em; -} - -.emotion-3 svg path { - fill: #999999; -} - -.emotion-3:hover { - color: #666666; -} - -.emotion-3:hover svg path { - fill: #666666; -} - -.emotion-3:active { - color: #444444; -} - -.emotion-3:active svg path { - fill: #444444; -} - -.emotion-5 { - display: inline-block; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-text-decoration: none; - text-decoration: none; - color: #1EA7FD; - color: #666666; -} - -.emotion-5 svg path { - fill: #1EA7FD; -} - -.emotion-5:hover, -.emotion-5:focus { - cursor: pointer; - color: #0297f5; -} - -.emotion-5:hover svg path, -.emotion-5:focus svg path { - fill: #0297f5; -} - -.emotion-5:active { - color: #028ee6; -} - -.emotion-5:active svg path { - fill: #028ee6; -} - -.emotion-5 svg { - display: inline-block; - height: 1em; - width: 1em; - vertical-align: text-top; - position: relative; - bottom: -0.125em; - margin-right: 0.4em; -} - -.emotion-5 svg path { - fill: #666666; -} - -.emotion-5:hover { - color: #333333; -} - -.emotion-5:hover svg path { - fill: #333333; -} - -.emotion-5:active { - color: #999999; -} - -.emotion-5:active svg path { - fill: #999999; -} - -.emotion-7 { - display: inline-block; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-text-decoration: none; - text-decoration: none; - color: #1EA7FD; - color: inherit; -} - -.emotion-7 svg path { - fill: #1EA7FD; -} - -.emotion-7:hover, -.emotion-7:focus { - cursor: pointer; - color: #0297f5; -} - -.emotion-7:hover svg path, -.emotion-7:focus svg path { - fill: #0297f5; -} - -.emotion-7:active { - color: #028ee6; -} - -.emotion-7:active svg path { - fill: #028ee6; -} - -.emotion-7 svg { - display: inline-block; - height: 1em; - width: 1em; - vertical-align: text-top; - position: relative; - bottom: -0.125em; - margin-right: 0.4em; -} - -.emotion-7:hover, -.emotion-7:active { - color: inherit; - -webkit-text-decoration: underline; - text-decoration: underline; -} - -.emotion-14 svg { - height: 1em; - width: 1em; - vertical-align: middle; - position: relative; - bottom: 0; - margin-right: 0; -} - -.emotion-18 > svg:last-of-type { - height: 0.7em; - width: 0.7em; - margin-right: 0; - margin-left: 0.25em; - bottom: auto; - vertical-align: inherit; -} - -.emotion-18 svg { - height: 1em; - width: 1em; - vertical-align: middle; - position: relative; - bottom: 0; - margin-right: 0; -} - -.emotion-21 { - display: inline-block; - -webkit-transition: all 150ms ease-out; - transition: all 150ms ease-out; - -webkit-text-decoration: none; - text-decoration: none; - color: #1EA7FD; - color: #FFFFFF; -} - -.emotion-21 svg path { - fill: #1EA7FD; -} - -.emotion-21:hover, -.emotion-21:focus { - cursor: pointer; - color: #0297f5; -} - -.emotion-21:hover svg path, -.emotion-21:focus svg path { - fill: #0297f5; -} - -.emotion-21:active { - color: #028ee6; -} - -.emotion-21:active svg path { - fill: #028ee6; -} - -.emotion-21 svg { - display: inline-block; - height: 1em; - width: 1em; - vertical-align: text-top; - position: relative; - bottom: -0.125em; - margin-right: 0.4em; -} - -.emotion-21 svg path { - fill: #FFFFFF; -} - -.emotion-21:hover { - color: #F8F8F8; -} - -.emotion-21:hover svg path { - fill: #F8F8F8; -} - -.emotion-21:active { - color: #F3F3F3; -} - -.emotion-21:active svg path { - fill: #F3F3F3; -} - - -`; diff --git a/lib/ui/src/components/layout/__snapshots__/layout.stories.storyshot b/lib/ui/src/components/layout/__snapshots__/layout.stories.storyshot deleted file mode 100644 index 8d1cebbbd65b..000000000000 --- a/lib/ui/src/components/layout/__snapshots__/layout.stories.storyshot +++ /dev/null @@ -1,3221 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots UI|Layout/Desktop bottom Panel 1`] = ` -.emotion-0 { - z-index: 10; - position: absolute; - top: 0; - left: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - color: rgba(0,0,0,.1); - overflow: hidden; - -webkit-transition: color 0.2s linear,background-position 0.2s linear,background-size 0.2s linear,background 0.2s linear; - transition: color 0.2s linear,background-position 0.2s linear,background-size 0.2s linear,background 0.2s linear; - cursor: col-resize; - height: 100%; - width: 10px; - margin-left: 0; - background-image: radial-gradient(at center center,rgba(0,0,0,0.2) 0%,transparent 70%,transparent 100%); - background-size: 50px 100%; - background-position: 10px 50%; - background-repeat: no-repeat; -} - -.emotion-0:hover { - color: #1EA7FD; -} - -.emotion-0:hover { - background-image: radial-gradient(at center center,rgba(0,0,0,0.2) 0%,transparent 70%,transparent 100%); - background-size: 50px 100%; - background-position: 0 50%; - background-repeat: no-repeat; -} - -.emotion-3 { - position: absolute; - box-sizing: border-box; - top: 0; - left: 0; - width: 100%; - height: 100%; - opacity: 1; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,-webkit-transform 0.1s ease-out; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; - transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; -} - -.emotion-2 { - background: hotpink; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-5 { - position: absolute; - box-sizing: border-box; - top: 0; - left: 0; - width: 100%; - height: 100%; - opacity: 1; - z-index: 9; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,-webkit-transform 0.1s ease-out; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; - transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; -} - -.emotion-8 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: #FFFFFF; - border-radius: 4px; - overflow: hidden; - box-shadow: 0 1px 5px 0 rgba(0,0,0,0.1); -} - -.emotion-4 { - background: deepskyblue; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-6 { - background: orangered; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-1 { - z-index: 10; - position: absolute; - top: 0; - left: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - color: rgba(0,0,0,.1); - overflow: hidden; - -webkit-transition: color 0.2s linear,background-position 0.2s linear,background-size 0.2s linear,background 0.2s linear; - transition: color 0.2s linear,background-position 0.2s linear,background-size 0.2s linear,background 0.2s linear; - cursor: row-resize; - height: 10px; - width: 100%; - margin-top: 0; - background-image: radial-gradient(at center center,rgba(0,0,0,0.2) 0%,transparent 70%,transparent 100%); - background-size: 100% 50px; - background-position: 50% 10px; - background-repeat: no-repeat; -} - -.emotion-1:hover { - color: #1EA7FD; -} - -.emotion-1:hover { - background-image: radial-gradient(at center center,rgba(0,0,0,0.2) 0%,transparent 70%,transparent 100%); - background-size: 100% 50px; - background-position: 50% 0; - background-repeat: no-repeat; -} - -.emotion-7 { - position: absolute; - box-sizing: border-box; - top: 0; - left: 0; - width: 100%; - height: 100%; - opacity: 1; - border-top: 1px solid rgba(0,0,0,.1); - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,-webkit-transform 0.1s ease-out; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; - transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; -} - -
    -
    -
    -
    -
    -

    - 1 -

    -
    -        {
    -  "debug": {
    -    "animate": true,
    -    "hidden": false,
    -    "position": {
    -      "height": 768,
    -      "left": 0,
    -      "top": 0,
    -      "width": 210
    -    }
    -  }
    -}
    -      
    -
    -
    -
    -
    -
    -
    -

    - 1 -

    -
    -            {
    -  "id": "main",
    -  "debug": {
    -    "animate": true,
    -    "isFullscreen": false,
    -    "position": {
    -      "height": 451,
    -      "left": 0,
    -      "top": 0,
    -      "width": 804
    -    }
    -  }
    -}
    -          
    -
    -
    -
    -
    -

    - 1 -

    -
    -            {
    -  "debug": {
    -    "animate": true,
    -    "align": "bottom",
    -    "hidden": false,
    -    "position": {
    -      "height": 297,
    -      "left": 0,
    -      "top": 451,
    -      "width": 804
    -    }
    -  }
    -}
    -          
    -
    -
    -
    -
    -
    -`; - -exports[`Storyshots UI|Layout/Desktop default 1`] = ` -.emotion-0 { - z-index: 10; - position: absolute; - top: 0; - left: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - color: rgba(0,0,0,.1); - overflow: hidden; - -webkit-transition: color 0.2s linear,background-position 0.2s linear,background-size 0.2s linear,background 0.2s linear; - transition: color 0.2s linear,background-position 0.2s linear,background-size 0.2s linear,background 0.2s linear; - cursor: col-resize; - height: 100%; - width: 10px; - margin-left: 0; - background-image: radial-gradient(at center center,rgba(0,0,0,0.2) 0%,transparent 70%,transparent 100%); - background-size: 50px 100%; - background-position: 10px 50%; - background-repeat: no-repeat; -} - -.emotion-0:hover { - color: #1EA7FD; -} - -.emotion-0:hover { - background-image: radial-gradient(at center center,rgba(0,0,0,0.2) 0%,transparent 70%,transparent 100%); - background-size: 50px 100%; - background-position: 0 50%; - background-repeat: no-repeat; -} - -.emotion-3 { - position: absolute; - box-sizing: border-box; - top: 0; - left: 0; - width: 100%; - height: 100%; - opacity: 1; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,-webkit-transform 0.1s ease-out; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; - transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; -} - -.emotion-2 { - background: hotpink; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-5 { - position: absolute; - box-sizing: border-box; - top: 0; - left: 0; - width: 100%; - height: 100%; - opacity: 1; - z-index: 9; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,-webkit-transform 0.1s ease-out; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; - transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; -} - -.emotion-8 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: #FFFFFF; - border-radius: 4px; - overflow: hidden; - box-shadow: 0 1px 5px 0 rgba(0,0,0,0.1); -} - -.emotion-4 { - background: deepskyblue; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-7 { - position: absolute; - box-sizing: border-box; - top: 0; - left: 0; - width: 100%; - height: 100%; - opacity: 1; - border-left: 1px solid rgba(0,0,0,.1); - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,-webkit-transform 0.1s ease-out; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; - transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; -} - -.emotion-6 { - background: orangered; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -
    -
    -
    -
    -
    -

    - 1 -

    -
    -        {
    -  "debug": {
    -    "animate": true,
    -    "hidden": false,
    -    "position": {
    -      "height": 768,
    -      "left": 0,
    -      "top": 0,
    -      "width": 210
    -    }
    -  }
    -}
    -      
    -
    -
    -
    -
    -
    -
    -

    - 1 -

    -
    -            {
    -  "id": "main",
    -  "debug": {
    -    "animate": true,
    -    "isFullscreen": false,
    -    "position": {
    -      "height": 748,
    -      "left": 0,
    -      "top": 0,
    -      "width": 414
    -    }
    -  }
    -}
    -          
    -
    -
    -
    -
    -

    - 1 -

    -
    -            {
    -  "debug": {
    -    "animate": true,
    -    "align": "right",
    -    "hidden": false,
    -    "position": {
    -      "height": 748,
    -      "left": 414,
    -      "top": 0,
    -      "width": 390
    -    }
    -  }
    -}
    -          
    -
    -
    -
    -
    -
    -`; - -exports[`Storyshots UI|Layout/Desktop full 1`] = ` -.emotion-1 { - position: absolute; - box-sizing: border-box; - top: 0; - left: 0; - width: 100%; - height: 100%; - opacity: 1; - z-index: 9; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,-webkit-transform 0.1s ease-out; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; - transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; -} - -.emotion-0 { - background: deepskyblue; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-3 { - position: absolute; - box-sizing: border-box; - top: 0; - left: 0; - width: 100%; - height: 100%; - opacity: 1; - border-left: 1px solid rgba(0,0,0,.1); - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,-webkit-transform 0.1s ease-out; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; - transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; -} - -.emotion-2 { - background: orangered; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-4 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-shadow: none; - border-radius: 0; -} - -
    -
    -
    -
    -
    -

    - 1 -

    -
    -            {
    -  "id": "main",
    -  "debug": {
    -    "animate": true,
    -    "isFullscreen": true,
    -    "position": {}
    -  }
    -}
    -          
    -
    -
    -
    -
    -

    - 1 -

    -
    -            {
    -  "debug": {
    -    "animate": true,
    -    "align": "right",
    -    "hidden": true,
    -    "position": {
    -      "height": 748,
    -      "left": 614,
    -      "top": 0,
    -      "width": 390
    -    }
    -  }
    -}
    -          
    -
    -
    -
    -
    -
    -`; - -exports[`Storyshots UI|Layout/Desktop no Nav 1`] = ` -.emotion-0 { - z-index: 10; - position: absolute; - top: 0; - left: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - color: rgba(0,0,0,.1); - overflow: hidden; - -webkit-transition: color 0.2s linear,background-position 0.2s linear,background-size 0.2s linear,background 0.2s linear; - transition: color 0.2s linear,background-position 0.2s linear,background-size 0.2s linear,background 0.2s linear; - cursor: col-resize; - height: 100%; - width: 10px; - margin-left: 0; - background-image: radial-gradient(at center center,rgba(0,0,0,0.2) 0%,transparent 70%,transparent 100%); - background-size: 50px 100%; - background-position: 10px 50%; - background-repeat: no-repeat; -} - -.emotion-0:hover { - color: #1EA7FD; -} - -.emotion-0:hover { - background-image: radial-gradient(at center center,rgba(0,0,0,0.2) 0%,transparent 70%,transparent 100%); - background-size: 50px 100%; - background-position: 0 50%; - background-repeat: no-repeat; -} - -.emotion-2 { - position: absolute; - box-sizing: border-box; - top: 0; - left: 0; - width: 100%; - height: 100%; - opacity: 1; - z-index: 9; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,-webkit-transform 0.1s ease-out; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; - transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; -} - -.emotion-5 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: #FFFFFF; - border-radius: 4px; - overflow: hidden; - box-shadow: 0 1px 5px 0 rgba(0,0,0,0.1); -} - -.emotion-1 { - background: deepskyblue; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-4 { - position: absolute; - box-sizing: border-box; - top: 0; - left: 0; - width: 100%; - height: 100%; - opacity: 1; - border-left: 1px solid rgba(0,0,0,.1); - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,-webkit-transform 0.1s ease-out; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; - transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; -} - -.emotion-3 { - background: orangered; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -
    -
    -
    -
    -
    -
    -

    - 1 -

    -
    -            {
    -  "id": "main",
    -  "debug": {
    -    "animate": true,
    -    "isFullscreen": false,
    -    "position": {
    -      "height": 748,
    -      "left": 0,
    -      "top": 0,
    -      "width": 614
    -    }
    -  }
    -}
    -          
    -
    -
    -
    -
    -

    - 1 -

    -
    -            {
    -  "debug": {
    -    "animate": true,
    -    "align": "right",
    -    "hidden": false,
    -    "position": {
    -      "height": 748,
    -      "left": 614,
    -      "top": 0,
    -      "width": 390
    -    }
    -  }
    -}
    -          
    -
    -
    -
    -
    -
    -`; - -exports[`Storyshots UI|Layout/Desktop no Panel 1`] = ` -.emotion-0 { - z-index: 10; - position: absolute; - top: 0; - left: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - color: rgba(0,0,0,.1); - overflow: hidden; - -webkit-transition: color 0.2s linear,background-position 0.2s linear,background-size 0.2s linear,background 0.2s linear; - transition: color 0.2s linear,background-position 0.2s linear,background-size 0.2s linear,background 0.2s linear; - cursor: col-resize; - height: 100%; - width: 10px; - margin-left: 0; - background-image: radial-gradient(at center center,rgba(0,0,0,0.2) 0%,transparent 70%,transparent 100%); - background-size: 50px 100%; - background-position: 10px 50%; - background-repeat: no-repeat; -} - -.emotion-0:hover { - color: #1EA7FD; -} - -.emotion-0:hover { - background-image: radial-gradient(at center center,rgba(0,0,0,0.2) 0%,transparent 70%,transparent 100%); - background-size: 50px 100%; - background-position: 0 50%; - background-repeat: no-repeat; -} - -.emotion-2 { - position: absolute; - box-sizing: border-box; - top: 0; - left: 0; - width: 100%; - height: 100%; - opacity: 1; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,-webkit-transform 0.1s ease-out; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; - transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; -} - -.emotion-1 { - background: hotpink; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-4 { - position: absolute; - box-sizing: border-box; - top: 0; - left: 0; - width: 100%; - height: 100%; - opacity: 1; - z-index: 9; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,-webkit-transform 0.1s ease-out; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; - transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; -} - -.emotion-7 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: #FFFFFF; - border-radius: 4px; - overflow: hidden; - box-shadow: 0 1px 5px 0 rgba(0,0,0,0.1); -} - -.emotion-3 { - background: deepskyblue; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-6 { - position: absolute; - box-sizing: border-box; - top: 0; - left: 0; - width: 100%; - height: 100%; - opacity: 1; - border-left: 1px solid rgba(0,0,0,.1); - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,-webkit-transform 0.1s ease-out; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; - transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; -} - -.emotion-5 { - background: orangered; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -
    -
    -
    -
    -

    - 1 -

    -
    -        {
    -  "debug": {
    -    "animate": true,
    -    "hidden": false,
    -    "position": {
    -      "height": 768,
    -      "left": 0,
    -      "top": 0,
    -      "width": 210
    -    }
    -  }
    -}
    -      
    -
    -
    -
    -
    -
    -
    -

    - 1 -

    -
    -            {
    -  "id": "main",
    -  "debug": {
    -    "animate": true,
    -    "isFullscreen": false,
    -    "position": {}
    -  }
    -}
    -          
    -
    -
    -
    -
    -

    - 1 -

    -
    -            {
    -  "debug": {
    -    "animate": true,
    -    "align": "right",
    -    "hidden": true,
    -    "position": {
    -      "height": 748,
    -      "left": 414,
    -      "top": 0,
    -      "width": 390
    -    }
    -  }
    -}
    -          
    -
    -
    -
    -
    -
    -`; - -exports[`Storyshots UI|Layout/Desktop no Panel, no Nav 1`] = ` -.emotion-1 { - position: absolute; - box-sizing: border-box; - top: 0; - left: 0; - width: 100%; - height: 100%; - opacity: 1; - z-index: 9; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,-webkit-transform 0.1s ease-out; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; - transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; -} - -.emotion-0 { - background: deepskyblue; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-3 { - position: absolute; - box-sizing: border-box; - top: 0; - left: 0; - width: 100%; - height: 100%; - opacity: 1; - border-left: 1px solid rgba(0,0,0,.1); - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,-webkit-transform 0.1s ease-out; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; - transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; -} - -.emotion-2 { - background: orangered; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-4 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-shadow: none; - border-radius: 0; -} - -
    -
    -
    -
    -
    -

    - 1 -

    -
    -            {
    -  "id": "main",
    -  "debug": {
    -    "animate": true,
    -    "isFullscreen": true,
    -    "position": {}
    -  }
    -}
    -          
    -
    -
    -
    -
    -

    - 1 -

    -
    -            {
    -  "debug": {
    -    "animate": true,
    -    "align": "right",
    -    "hidden": true,
    -    "position": {
    -      "height": 748,
    -      "left": 614,
    -      "top": 0,
    -      "width": 390
    -    }
    -  }
    -}
    -          
    -
    -
    -
    -
    -
    -`; - -exports[`Storyshots UI|Layout/Desktop page 1`] = ` -.emotion-0 { - z-index: 10; - position: absolute; - top: 0; - left: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - color: rgba(0,0,0,.1); - overflow: hidden; - -webkit-transition: color 0.2s linear,background-position 0.2s linear,background-size 0.2s linear,background 0.2s linear; - transition: color 0.2s linear,background-position 0.2s linear,background-size 0.2s linear,background 0.2s linear; - cursor: col-resize; - height: 100%; - width: 10px; - margin-left: 0; - background-image: radial-gradient(at center center,rgba(0,0,0,0.2) 0%,transparent 70%,transparent 100%); - background-size: 50px 100%; - background-position: 10px 50%; - background-repeat: no-repeat; -} - -.emotion-0:hover { - color: #1EA7FD; -} - -.emotion-0:hover { - background-image: radial-gradient(at center center,rgba(0,0,0,0.2) 0%,transparent 70%,transparent 100%); - background-size: 50px 100%; - background-position: 0 50%; - background-repeat: no-repeat; -} - -.emotion-2 { - position: absolute; - box-sizing: border-box; - top: 0; - left: 0; - width: 100%; - height: 100%; - opacity: 1; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,-webkit-transform 0.1s ease-out; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; - transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; -} - -.emotion-1 { - background: hotpink; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-9 { - position: absolute; - box-sizing: border-box; - top: 0; - left: 0; - width: 100%; - height: 100%; - opacity: 1; - z-index: 9; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,-webkit-transform 0.1s ease-out; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; - transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; -} - -.emotion-8 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: #FFFFFF; - border-radius: 4px; - overflow: hidden; - box-shadow: 0 1px 5px 0 rgba(0,0,0,0.1); -} - -.emotion-3 { - background: deepskyblue; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-5 { - background: orangered; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-4 { - position: absolute; - box-sizing: border-box; - top: 0; - left: 0; - width: 100%; - height: 100%; - opacity: 0; - z-index: 9; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,-webkit-transform 0.1s ease-out; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; - transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; -} - -.emotion-6 { - position: absolute; - box-sizing: border-box; - top: 0; - left: 0; - width: 100%; - height: 100%; - opacity: 0; - border-left: 1px solid rgba(0,0,0,.1); - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,-webkit-transform 0.1s ease-out; - -webkit-transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; - transition: width 0.1s ease-out,height 0.1s ease-out,top 0.1s ease-out,left 0.1s ease-out,background 0.1s ease-out,opacity 0.1s ease-out,transform 0.1s ease-out; -} - -.emotion-7 { - background: cyan; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -
    -
    -
    -
    -

    - 1 -

    -
    -        {
    -  "debug": {
    -    "animate": true,
    -    "hidden": false,
    -    "position": {
    -      "height": 768,
    -      "left": 0,
    -      "top": 0,
    -      "width": 210
    -    }
    -  }
    -}
    -      
    -
    -
    -
    -
    - - -
    -

    - 1 -

    -
    -          {}
    -        
    -
    -
    -
    -
    -`; - -exports[`Storyshots UI|Layout/Mobile initial 0 1`] = ` -.emotion-8 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: inherit; - border-bottom-color: transparent; -} - -.emotion-8:empty { - display: none; -} - -.emotion-8:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-7 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-7:empty { - display: none; -} - -.emotion-7:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-0 { - background: hotpink; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-2 { - background: deepskyblue; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-4 { - background: orangered; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-11 { - position: fixed; - left: 0; - top: 0; - width: 100vw; - height: 100vh; - overflow: hidden; -} - -.emotion-6 { - position: fixed; - top: 0; - left: 0; - width: 100vw; - height: calc(100% - 40px); -} - -.emotion-1 { - -webkit-transition: -webkit-transform .2s ease; - -webkit-transition: transform .2s ease; - transition: transform .2s ease; - position: absolute; - top: 0; - height: 100%; - overflow: auto; - background: #FFFFFF; - width: 80vw; - -webkit-transform: translateX(-80vw); - -ms-transform: translateX(-80vw); - transform: translateX(-80vw); - left: 0; - -webkit-transform: translateX(-0px); - -ms-transform: translateX(-0px); - transform: translateX(-0px); -} - -.emotion-1:nth-of-type(1) { - border-right: 1px solid rgba(0,0,0,.1); -} - -.emotion-1:nth-of-type(3) { - border-left: 1px solid rgba(0,0,0,.1); -} - -.emotion-3 { - -webkit-transition: -webkit-transform .2s ease; - -webkit-transition: transform .2s ease; - transition: transform .2s ease; - position: absolute; - top: 0; - height: 100%; - overflow: auto; - background: #FFFFFF; - width: 100%; - -webkit-transform: translateX(0) scale(1); - -ms-transform: translateX(0) scale(1); - transform: translateX(0) scale(1); - left: 0; - -webkit-transform: translateX(40vw) translateY(-42.5vh) translateY(40px) scale(0.2); - -ms-transform: translateX(40vw) translateY(-42.5vh) translateY(40px) scale(0.2); - transform: translateX(40vw) translateY(-42.5vh) translateY(40px) scale(0.2); -} - -.emotion-3:nth-of-type(1) { - border-right: 1px solid rgba(0,0,0,.1); -} - -.emotion-3:nth-of-type(3) { - border-left: 1px solid rgba(0,0,0,.1); -} - -.emotion-5 { - -webkit-transition: -webkit-transform .2s ease; - -webkit-transition: transform .2s ease; - transition: transform .2s ease; - position: absolute; - top: 0; - height: 100%; - overflow: auto; - background: #FFFFFF; - width: 80vw; - -webkit-transform: translateX(80vw); - -ms-transform: translateX(80vw); - transform: translateX(80vw); - right: 0; -} - -.emotion-5:nth-of-type(1) { - border-right: 1px solid rgba(0,0,0,.1); -} - -.emotion-5:nth-of-type(3) { - border-left: 1px solid rgba(0,0,0,.1); -} - -.emotion-10 { - position: fixed; - bottom: 0; - left: 0; - width: 100vw; - height: 40px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - box-shadow: 0 1px 5px 0 rgba(0,0,0,0.1); - background: #FFFFFF; -} - -.emotion-10 > * { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -
    -
    -
    -
    -

    - 1 -

    -
    -          {}
    -        
    -
    -
    -
    -
    -
    -
    -

    - 1 -

    -
    -              {
    -  "id": "main",
    -  "viewMode": "story",
    -  "debug": {
    -    "initialActive": 0
    -  }
    -}
    -            
    -
    -
    -
    -
    -
    -
    -

    - 1 -

    -
    -          {
    -  "hidden": false
    -}
    -        
    -
    -
    -
    - -
    -`; - -exports[`Storyshots UI|Layout/Mobile initial 1 1`] = ` -.emotion-7 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: inherit; - border-bottom-color: transparent; -} - -.emotion-7:empty { - display: none; -} - -.emotion-7:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-8 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-8:empty { - display: none; -} - -.emotion-8:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-0 { - background: hotpink; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-2 { - background: deepskyblue; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-4 { - background: orangered; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-11 { - position: fixed; - left: 0; - top: 0; - width: 100vw; - height: 100vh; - overflow: hidden; -} - -.emotion-6 { - position: fixed; - top: 0; - left: 0; - width: 100vw; - height: calc(100% - 40px); -} - -.emotion-5 { - -webkit-transition: -webkit-transform .2s ease; - -webkit-transition: transform .2s ease; - transition: transform .2s ease; - position: absolute; - top: 0; - height: 100%; - overflow: auto; - background: #FFFFFF; - width: 80vw; - -webkit-transform: translateX(80vw); - -ms-transform: translateX(80vw); - transform: translateX(80vw); - right: 0; -} - -.emotion-5:nth-of-type(1) { - border-right: 1px solid rgba(0,0,0,.1); -} - -.emotion-5:nth-of-type(3) { - border-left: 1px solid rgba(0,0,0,.1); -} - -.emotion-10 { - position: fixed; - bottom: 0; - left: 0; - width: 100vw; - height: 40px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - box-shadow: 0 1px 5px 0 rgba(0,0,0,0.1); - background: #FFFFFF; -} - -.emotion-10 > * { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.emotion-1 { - -webkit-transition: -webkit-transform .2s ease; - -webkit-transition: transform .2s ease; - transition: transform .2s ease; - position: absolute; - top: 0; - height: 100%; - overflow: auto; - background: #FFFFFF; - width: 80vw; - -webkit-transform: translateX(-80vw); - -ms-transform: translateX(-80vw); - transform: translateX(-80vw); - left: 0; -} - -.emotion-1:nth-of-type(1) { - border-right: 1px solid rgba(0,0,0,.1); -} - -.emotion-1:nth-of-type(3) { - border-left: 1px solid rgba(0,0,0,.1); -} - -.emotion-3 { - -webkit-transition: -webkit-transform .2s ease; - -webkit-transition: transform .2s ease; - transition: transform .2s ease; - position: absolute; - top: 0; - height: 100%; - overflow: auto; - background: #FFFFFF; - width: 100%; - -webkit-transform: translateX(0) scale(1); - -ms-transform: translateX(0) scale(1); - transform: translateX(0) scale(1); - left: 0; -} - -.emotion-3:nth-of-type(1) { - border-right: 1px solid rgba(0,0,0,.1); -} - -.emotion-3:nth-of-type(3) { - border-left: 1px solid rgba(0,0,0,.1); -} - -
    -
    -
    -
    -

    - 1 -

    -
    -          {}
    -        
    -
    -
    -
    -
    -
    -
    -

    - 1 -

    -
    -              {
    -  "id": "main",
    -  "viewMode": "story",
    -  "debug": {
    -    "initialActive": 1
    -  }
    -}
    -            
    -
    -
    -
    -
    -
    -
    -

    - 1 -

    -
    -          {
    -  "hidden": false
    -}
    -        
    -
    -
    -
    - -
    -`; - -exports[`Storyshots UI|Layout/Mobile initial 2 1`] = ` -.emotion-7 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: inherit; - border-bottom-color: transparent; -} - -.emotion-7:empty { - display: none; -} - -.emotion-7:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-9 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-9:empty { - display: none; -} - -.emotion-9:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-0 { - background: hotpink; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-2 { - background: deepskyblue; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-4 { - background: orangered; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-11 { - position: fixed; - left: 0; - top: 0; - width: 100vw; - height: 100vh; - overflow: hidden; -} - -.emotion-6 { - position: fixed; - top: 0; - left: 0; - width: 100vw; - height: calc(100% - 40px); -} - -.emotion-10 { - position: fixed; - bottom: 0; - left: 0; - width: 100vw; - height: 40px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - box-shadow: 0 1px 5px 0 rgba(0,0,0,0.1); - background: #FFFFFF; -} - -.emotion-10 > * { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.emotion-1 { - -webkit-transition: -webkit-transform .2s ease; - -webkit-transition: transform .2s ease; - transition: transform .2s ease; - position: absolute; - top: 0; - height: 100%; - overflow: auto; - background: #FFFFFF; - width: 80vw; - -webkit-transform: translateX(-80vw); - -ms-transform: translateX(-80vw); - transform: translateX(-80vw); - left: 0; -} - -.emotion-1:nth-of-type(1) { - border-right: 1px solid rgba(0,0,0,.1); -} - -.emotion-1:nth-of-type(3) { - border-left: 1px solid rgba(0,0,0,.1); -} - -.emotion-3 { - -webkit-transition: -webkit-transform .2s ease; - -webkit-transition: transform .2s ease; - transition: transform .2s ease; - position: absolute; - top: 0; - height: 100%; - overflow: auto; - background: #FFFFFF; - width: 100%; - -webkit-transform: translateX(0) scale(1); - -ms-transform: translateX(0) scale(1); - transform: translateX(0) scale(1); - left: 0; - -webkit-transform: translateX(-40vw) translateY(-42.5vh) translateY(40px) scale(0.2); - -ms-transform: translateX(-40vw) translateY(-42.5vh) translateY(40px) scale(0.2); - transform: translateX(-40vw) translateY(-42.5vh) translateY(40px) scale(0.2); -} - -.emotion-3:nth-of-type(1) { - border-right: 1px solid rgba(0,0,0,.1); -} - -.emotion-3:nth-of-type(3) { - border-left: 1px solid rgba(0,0,0,.1); -} - -.emotion-5 { - -webkit-transition: -webkit-transform .2s ease; - -webkit-transition: transform .2s ease; - transition: transform .2s ease; - position: absolute; - top: 0; - height: 100%; - overflow: auto; - background: #FFFFFF; - width: 80vw; - -webkit-transform: translateX(80vw); - -ms-transform: translateX(80vw); - transform: translateX(80vw); - right: 0; - -webkit-transform: translateX(0px); - -ms-transform: translateX(0px); - transform: translateX(0px); -} - -.emotion-5:nth-of-type(1) { - border-right: 1px solid rgba(0,0,0,.1); -} - -.emotion-5:nth-of-type(3) { - border-left: 1px solid rgba(0,0,0,.1); -} - -
    -
    -
    -
    -

    - 1 -

    -
    -          {}
    -        
    -
    -
    -
    -
    -
    -
    -

    - 1 -

    -
    -              {
    -  "id": "main",
    -  "viewMode": "story",
    -  "debug": {
    -    "initialActive": 2
    -  }
    -}
    -            
    -
    -
    -
    -
    -
    -
    -

    - 1 -

    -
    -          {
    -  "hidden": false
    -}
    -        
    -
    -
    -
    - -
    -`; - -exports[`Storyshots UI|Layout/Mobile page 1`] = ` -.emotion-8 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: inherit; - border-bottom-color: transparent; -} - -.emotion-8:empty { - display: none; -} - -.emotion-8:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-9 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-9:empty { - display: none; -} - -.emotion-9:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-0 { - background: hotpink; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-2 { - background: deepskyblue; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-5 { - background: orangered; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-3 { - background: cyan; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - width: 100%; - height: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - overflow: hidden; -} - -.emotion-12 { - position: fixed; - left: 0; - top: 0; - width: 100vw; - height: 100vh; - overflow: hidden; -} - -.emotion-7 { - position: fixed; - top: 0; - left: 0; - width: 100vw; - height: calc(100% - 40px); -} - -.emotion-6 { - -webkit-transition: -webkit-transform .2s ease; - -webkit-transition: transform .2s ease; - transition: transform .2s ease; - position: absolute; - top: 0; - height: 100%; - overflow: auto; - background: #FFFFFF; - width: 80vw; - -webkit-transform: translateX(80vw); - -ms-transform: translateX(80vw); - transform: translateX(80vw); - right: 0; -} - -.emotion-6:nth-of-type(1) { - border-right: 1px solid rgba(0,0,0,.1); -} - -.emotion-6:nth-of-type(3) { - border-left: 1px solid rgba(0,0,0,.1); -} - -.emotion-11 { - position: fixed; - bottom: 0; - left: 0; - width: 100vw; - height: 40px; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - box-shadow: 0 1px 5px 0 rgba(0,0,0,0.1); - background: #FFFFFF; -} - -.emotion-11 > * { - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.emotion-1 { - -webkit-transition: -webkit-transform .2s ease; - -webkit-transition: transform .2s ease; - transition: transform .2s ease; - position: absolute; - top: 0; - height: 100%; - overflow: auto; - background: #FFFFFF; - width: 80vw; - -webkit-transform: translateX(-80vw); - -ms-transform: translateX(-80vw); - transform: translateX(-80vw); - left: 0; -} - -.emotion-1:nth-of-type(1) { - border-right: 1px solid rgba(0,0,0,.1); -} - -.emotion-1:nth-of-type(3) { - border-left: 1px solid rgba(0,0,0,.1); -} - -.emotion-4 { - -webkit-transition: -webkit-transform .2s ease; - -webkit-transition: transform .2s ease; - transition: transform .2s ease; - position: absolute; - top: 0; - height: 100%; - overflow: auto; - background: #FFFFFF; - width: 100%; - -webkit-transform: translateX(0) scale(1); - -ms-transform: translateX(0) scale(1); - transform: translateX(0) scale(1); - left: 0; -} - -.emotion-4:nth-of-type(1) { - border-right: 1px solid rgba(0,0,0,.1); -} - -.emotion-4:nth-of-type(3) { - border-left: 1px solid rgba(0,0,0,.1); -} - -
    -
    -
    -
    -

    - 1 -

    -
    -          {}
    -        
    -
    -
    -
    -
    -
    -
    -

    - 1 -

    -
    -              {
    -  "id": "main",
    -  "viewMode": "settings",
    -  "debug": {
    -    "initialActive": 1
    -  }
    -}
    -            
    -
    -
    -
    -

    - 1 -

    -
    -            {}
    -          
    -
    -
    -
    -
    -
    -

    - 1 -

    -
    -          {
    -  "hidden": false
    -}
    -        
    -
    -
    -
    - -
    -`; diff --git a/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot b/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot deleted file mode 100644 index e47ade3cbf0d..000000000000 --- a/lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot +++ /dev/null @@ -1,394 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots UI|Panel default 1`] = ` -.emotion-14 { - width: 100%; - height: 100%; - box-sizing: border-box; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} - -.emotion-12 { - overflow-y: hidden; - overflow-x: auto; - width: 100%; - color: #999999; - width: 100%; - height: 40px; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-shadow: rgba(0,0,0,.1) 0 -1px 0 0 inset; - background: #FFFFFF; -} - -.emotion-11 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - position: relative; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - height: 40px; -} - -.emotion-3 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - white-space: nowrap; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; -} - -.emotion-3 > * { - margin-left: 15px; -} - -.emotion-2 { - overflow: hidden; -} - -.emotion-2:first-of-type { - margin-left: 0; -} - -.emotion-0 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: inherit; - border-bottom-color: transparent; -} - -.emotion-0:empty { - display: none; -} - -.emotion-0:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-1 { - white-space: normal; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - overflow: hidden; - vertical-align: top; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - -webkit-align-items: center; - -webkit-box-align: center; - -ms-flex-align: center; - align-items: center; - text-align: center; - -webkit-text-decoration: none; - text-decoration: none; - padding: 0 15px; - text-transform: capitalize; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; - height: 40px; - line-height: 12px; - cursor: pointer; - background: transparent; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - font-weight: bold; - font-size: 13px; - color: #1EA7FD; - border-bottom-color: #1EA7FD; -} - -.emotion-1:empty { - display: none; -} - -.emotion-1:focus { - outline: 0 none; - border-bottom-color: #1EA7FD; -} - -.emotion-10 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - white-space: nowrap; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - margin-left: 30px; -} - -.emotion-10 > * { - margin-right: 15px; -} - -.emotion-6 { - height: 40px; - background: none; - color: inherit; - padding: 0; - cursor: pointer; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; -} - -.emotion-6:hover, -.emotion-6:focus { - outline: 0 none; - color: #1EA7FD; -} - -.emotion-6 > svg { - width: 15px; -} - -@media (max-width:599px) { - .emotion-6 { - display: none; - } -} - -.emotion-5 { - shape-rendering: inherit; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - display: block; -} - -.emotion-4 { - fill: currentColor; -} - -.emotion-13 { - display: block; - position: relative; - font-size: 13px; - height: calc(100% - 40px); - position: absolute; - left: 0; - right: 0; - bottom: 0; - top: 40px; - overflow: auto; -} - -.emotion-13 > *:first-child { - position: absolute; - left: 0; - right: 0; - bottom: 0; - top: 0; - height: 100%; - overflow: auto; -} - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - - -
    -
    -
    - - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - TEST 2 -
    -
    -
    -`; - -exports[`Storyshots UI|Panel no panels 1`] = ` -.emotion-1 { - padding: 30px; - text-align: center; - color: #333333; - font-size: 13px; -} - -.emotion-0 { - font-weight: 700; -} - -
    -
    - Nothing found -
    -
    -`; diff --git a/lib/ui/src/components/preview/__snapshots__/preview.stories.storyshot b/lib/ui/src/components/preview/__snapshots__/preview.stories.storyshot deleted file mode 100644 index 728662d428f4..000000000000 --- a/lib/ui/src/components/preview/__snapshots__/preview.stories.storyshot +++ /dev/null @@ -1,800 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Storyshots UI|Preview/Preview no tabs 1`] = ` -Array [ - .emotion-25 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - position: relative; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - height: 40px; -} - -.emotion-13 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - white-space: nowrap; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; -} - -.emotion-13 > * { - margin-left: 15px; -} - -.emotion-24 { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - white-space: nowrap; - -webkit-flex-basis: auto; - -ms-flex-preferred-size: auto; - flex-basis: auto; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - margin-left: 30px; -} - -.emotion-24 > * { - margin-right: 15px; -} - -.emotion-1 { - shape-rendering: inherit; - -webkit-transform: translate3d(0,0,0); - -ms-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); - display: block; -} - -.emotion-0 { - fill: currentColor; -} - -.emotion-26 { - overflow-y: hidden; - overflow-x: auto; - width: 100%; - color: #999999; - width: 100%; - height: 40px; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - box-shadow: rgba(0,0,0,.1) 0 -1px 0 0 inset; - background: #FFFFFF; - position: absolute; - left: 0; - right: 0; - top: 0; - -webkit-transition: -webkit-transform .2s linear; - -webkit-transition: transform .2s linear; - transition: transform .2s linear; - -webkit-tranform: translateY(0px); - tranform: translateY(0px); -} - -.emotion-2 { - height: 40px; - background: none; - color: inherit; - padding: 0; - cursor: pointer; - border: 0 solid transparent; - border-top: 3px solid transparent; - border-bottom: 3px solid transparent; - -webkit-transition: color 0.2s linear,border-bottom-color 0.2s linear; - transition: color 0.2s linear,border-bottom-color 0.2s linear; -} - -.emotion-2:hover, -.emotion-2:focus { - outline: 0 none; - color: #1EA7FD; -} - -.emotion-2 > svg { - width: 15px; -} - -.emotion-9 { - width: 1px; - height: 24px; - background: rgba(0,0,0,.1); - margin-top: 8px; -} - -.emotion-9 + .emotion-9 { - display: none; -} - -@media (max-width:599px) { - .emotion-17 { - display: none; - } -} - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - - - - - -
    -
    - - - - - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    , - .emotion-1 { - position: absolute; - overflow: auto; - left: 0; - right: 0; - bottom: 0; - top: 40px; - z-index: 3; - -webkit-transition: all 0.1s linear; - transition: all 0.1s linear; - height: calc(100% - 40px); - background: transparent; -} - -.emotion-0 { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - -webkit-transition: background .1s linear; - transition: background .1s linear; - background: #FFFFFF; -} - -.emotion-0 iframe { - width: 100%; - height: 100%; - position: absolute; - top: 0; - left: 0; - border: 0 none; -} - -
    -
    -
    -