Merge branch 'next' into core/managed-addon-state

This commit is contained in:
Norbert de Langen 2019-05-10 14:05:50 +02:00
commit f6216ee99a
121 changed files with 10900 additions and 10395 deletions

View File

@ -1,6 +1,20 @@
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 = {
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 +34,20 @@ 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: './lib',
presets: [
['@babel/preset-env', { shippedProposals: true, useBuiltIns: 'usage', corejs: '2' }],
['@babel/preset-env', { shippedProposals: true, useBuiltIns: 'usage', corejs: '3' }],
'@babel/preset-react',
],
plugins: [
@ -52,6 +60,9 @@ module.exports = {
'@babel/plugin-transform-react-constant-elements',
'babel-plugin-add-react-displayname',
],
env: {
test: withTests,
},
},
{
test: [
@ -72,7 +83,7 @@ module.exports = {
targets: {
node: '8.11',
},
corejs: '2',
corejs: '3',
},
],
],
@ -83,6 +94,9 @@ module.exports = {
'@babel/plugin-proposal-object-rest-spread',
'@babel/plugin-proposal-export-default-from',
],
env: {
test: withTests,
},
},
],
};

View File

@ -40,6 +40,15 @@ jobs:
- addons
- app
- lib
chromatic:
<<: *defaults
steps:
- checkout
- attach_workspace:
at: .
- run:
name: Run chromatic on the pre-built storybook
command: yarn chromatic -- -d ./storybook-static
examples:
<<: *defaults
steps:
@ -125,6 +134,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:
@ -347,3 +364,6 @@ workflows:
- cli-test-latest-cra:
requires:
- build
- chromatic:
requires:
- examples

View File

@ -26,10 +26,10 @@ object OpenSourceProjects_Storybook_Chromatic : BuildType({
scriptContent = """
#!/bin/sh
set -e -x
yarn
yarn chromatic
# set -e -x
# yarn
# yarn chromatic
echo "chromatic moved to cirlce CI"
""".trimIndent()
dockerImage = "node:%docker.node.version%"
}

View File

@ -1,3 +1,41 @@
## 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/storybooks/storybook/pull/6698))
- Angular: Disable production mode for debugging components ([#6215](https://github.com/storybooks/storybook/pull/6215))
- Angular: Allow optional component declaration without additional configuration ([#6666](https://github.com/storybooks/storybook/pull/6666))
- Core: Allow browsing to a kind and get the first story ([#6720](https://github.com/storybooks/storybook/pull/6720))
### Bug Fixes
- UI: Preserve dimensions on resizing for panel ([#6696](https://github.com/storybooks/storybook/pull/6696))
### Maintenance
- Add CRA React15 example to test back-compat ([#6475](https://github.com/storybooks/storybook/pull/6475))
- Remove teamcity CLI tests ([#6707](https://github.com/storybooks/storybook/pull/6707))
### Dependency Upgrades
- Upgrade to core-js v3 ([#6655](https://github.com/storybooks/storybook/pull/6655))
- Bump eslint-plugin-react from 7.12.4 to 7.13.0 ([#6728](https://github.com/storybooks/storybook/pull/6728))
- Bump @types/react-native from 0.57.50 to 0.57.51 ([#6732](https://github.com/storybooks/storybook/pull/6732))
- Bump @types/node from 11.13.7 to 12.0.0 ([#6730](https://github.com/storybooks/storybook/pull/6730))
- Bump jest-cli from 24.7.1 to 24.8.0 ([#6729](https://github.com/storybooks/storybook/pull/6729))
- Bump @babel/preset-env from 7.4.3 to 7.4.4 ([#6731](https://github.com/storybooks/storybook/pull/6731))
- Bump raw-loader from 1.0.0 to 2.0.0 ([#6685](https://github.com/storybooks/storybook/pull/6685))
- Bump react-color from 2.17.1 to 2.17.3 ([#6681](https://github.com/storybooks/storybook/pull/6681))
- Bump @babel/plugin-proposal-class-properties from 7.4.0 to 7.4.4 ([#6686](https://github.com/storybooks/storybook/pull/6686))
- Bump react-dev-utils from 8.0.0 to 9.0.0 ([#6682](https://github.com/storybooks/storybook/pull/6682))
- Bump codelyzer from 5.0.0 to 5.0.1 ([#6687](https://github.com/storybooks/storybook/pull/6687))
- Bump @types/react from 16.8.14 to 16.8.16 ([#6717](https://github.com/storybooks/storybook/pull/6717))
- Bump react-redux from 7.0.2 to 7.0.3 ([#6684](https://github.com/storybooks/storybook/pull/6684))
## 5.1.0-alpha.39 (May 2, 2019)
### Features

View File

@ -16,6 +16,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)
@ -107,9 +108,9 @@ 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.
@ -216,7 +217,7 @@ 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
@ -395,6 +396,12 @@ 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.

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-a11y",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "a11y addon for storybook",
"keywords": [
"a11y",
@ -26,15 +26,15 @@
"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.1.0-beta.0",
"@storybook/api": "5.1.0-beta.0",
"@storybook/client-logger": "5.1.0-beta.0",
"@storybook/components": "5.1.0-beta.0",
"@storybook/core-events": "5.1.0-beta.0",
"@storybook/theming": "5.1.0-beta.0",
"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",

View File

@ -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)",

View File

@ -961,88 +961,92 @@ exports[`A11YPanel should render report 1`] = `
className="simplebar-offset"
>
<div
className="simplebar-content"
className="simplebar-content-wrapper"
>
<Tabs
key="tabs"
tabs={
Array [
Object {
"items": Array [],
"label": <ForwardRef(render)>
0
Violations
</ForwardRef(render)>,
"panel": <Report
empty="No accessibility violations found."
items={Array []}
type={0}
/>,
"type": 0,
},
Object {
"items": Array [],
"label": <ForwardRef(render)>
0
Passes
</ForwardRef(render)>,
"panel": <Report
empty="No accessibility checks passed."
items={Array []}
type={1}
/>,
"type": 1,
},
Object {
"items": Array [],
"label": <ForwardRef(render)>
0
Incomplete
</ForwardRef(render)>,
"panel": <Report
empty="No accessibility checks incomplete."
items={Array []}
type={2}
/>,
"type": 2,
},
]
}
<div
className="simplebar-content"
>
<SizeMe
refreshMode="debounce"
<Tabs
key="tabs"
tabs={
Array [
Object {
"items": Array [],
"label": <ForwardRef(render)>
0
Violations
</ForwardRef(render)>,
"panel": <Report
empty="No accessibility violations found."
items={Array []}
type={0}
/>,
"type": 0,
},
Object {
"items": Array [],
"label": <ForwardRef(render)>
0
Passes
</ForwardRef(render)>,
"panel": <Report
empty="No accessibility checks passed."
items={Array []}
type={1}
/>,
"type": 1,
},
Object {
"items": Array [],
"label": <ForwardRef(render)>
0
Incomplete
</ForwardRef(render)>,
"panel": <Report
empty="No accessibility checks incomplete."
items={Array []}
type={2}
/>,
"type": 2,
},
]
}
>
<SizeMe(Component)
onSize={[Function]}
<SizeMe
refreshMode="debounce"
>
<SizeMeRenderer(Component)
disablePlaceholder={false}
explicitRef={[Function]}
<SizeMe(Component)
onSize={[Function]}
size={
Object {
"height": undefined,
"position": undefined,
"width": undefined,
}
}
>
<SizeMeReferenceWrapper>
<SizeMePlaceholder>
<div
style={
Object {
"height": "100%",
"width": "100%",
<SizeMeRenderer(Component)
disablePlaceholder={false}
explicitRef={[Function]}
onSize={[Function]}
size={
Object {
"height": undefined,
"position": undefined,
"width": undefined,
}
}
>
<SizeMeReferenceWrapper>
<SizeMePlaceholder>
<div
style={
Object {
"height": "100%",
"width": "100%",
}
}
}
/>
</SizeMePlaceholder>
</SizeMeReferenceWrapper>
</SizeMeRenderer(Component)>
</SizeMe(Component)>
</SizeMe>
</Tabs>
/>
</SizeMePlaceholder>
</SizeMeReferenceWrapper>
</SizeMeRenderer(Component)>
</SizeMe(Component)>
</SizeMe>
</Tabs>
</div>
</div>
</div>
</div>

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-actions",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Action Logger addon for storybook",
"keywords": [
"storybook"
@ -21,19 +21,19 @@
"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.1.0-beta.0",
"@storybook/api": "5.1.0-beta.0",
"@storybook/components": "5.1.0-beta.0",
"@storybook/core-events": "5.1.0-beta.0",
"@storybook/theming": "5.1.0-beta.0",
"core-js": "^3.0.1",
"fast-deep-equal": "^2.0.1",
"global": "^4.3.2",
"lodash": "^4.17.11",
"polished": "^3.0.0",
"prop-types": "^15.7.2",
"react": "^16.8.4",
"react-inspector": "^2.3.1",
"react-inspector": "^3.0.2",
"uuid": "^3.3.2"
},
"devDependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-backgrounds",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "A storybook addon to show different backgrounds for your preview",
"keywords": [
"addon",
@ -25,13 +25,13 @@
"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",
"core-js": "^2.6.5",
"@storybook/addons": "5.1.0-beta.0",
"@storybook/api": "5.1.0-beta.0",
"@storybook/client-logger": "5.1.0-beta.0",
"@storybook/components": "5.1.0-beta.0",
"@storybook/core-events": "5.1.0-beta.0",
"@storybook/theming": "5.1.0-beta.0",
"core-js": "^3.0.1",
"memoizerific": "^1.11.3",
"react": "^16.8.4",
"util-deprecate": "^1.0.2"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-centered",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Storybook decorator to center components",
"keywords": [
"addon",
@ -23,7 +23,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"core-js": "^2.6.5",
"core-js": "^3.0.1",
"global": "^4.3.2",
"util-deprecate": "^1.0.2"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-contexts",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Storybook Addon Contexts",
"keywords": [
"storybook",
@ -28,10 +28,10 @@
"dev:check-types": "tsc --noEmit"
},
"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/addons": "5.1.0-beta.0",
"@storybook/api": "5.1.0-beta.0",
"@storybook/components": "5.1.0-beta.0",
"@storybook/core-events": "5.1.0-beta.0"
},
"peerDependencies": {
"global": "*",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-cssresources",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "A storybook addon to switch between css resources at runtime for your story",
"keywords": [
"addon",
@ -25,11 +25,11 @@
"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",
"core-js": "^2.6.5",
"@storybook/addons": "5.1.0-beta.0",
"@storybook/api": "5.1.0-beta.0",
"@storybook/components": "5.1.0-beta.0",
"@storybook/core-events": "5.1.0-beta.0",
"core-js": "^3.0.1",
"global": "^4.3.2",
"react": "^16.8.4"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-events",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Add events to your Storybook stories.",
"keywords": [
"addon",
@ -24,10 +24,10 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "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.1.0-beta.0",
"@storybook/core-events": "5.1.0-beta.0",
"@storybook/theming": "5.1.0-beta.0",
"core-js": "^3.0.1",
"format-json": "^1.0.3",
"prop-types": "^15.7.2",
"react": "^16.8.4",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-google-analytics",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Storybook addon for google analytics",
"keywords": [
"addon",
@ -20,9 +20,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.1.0-beta.0",
"@storybook/core-events": "5.1.0-beta.0",
"core-js": "^3.0.1",
"global": "^4.3.2",
"react-ga": "^2.5.7"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-graphql",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Storybook addon to display the GraphiQL IDE",
"keywords": [
"addon",
@ -24,7 +24,7 @@
"dependencies": {
"@storybook/addons": "5.1.0-alpha.28",
"@storybook/api": "5.1.0-alpha.28",
"core-js": "^2.6.5",
"core-js": "^3.0.1",
"global": "^4.3.2",
"graphiql": "^0.13.0",
"graphql": "^14.2.1",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-info",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "A Storybook addon to show additional information for your stories.",
"keywords": [
"addon",
@ -22,11 +22,11 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.1.0-alpha.39",
"@storybook/client-logger": "5.1.0-alpha.39",
"@storybook/components": "5.1.0-alpha.39",
"@storybook/theming": "5.1.0-alpha.39",
"core-js": "^2.6.5",
"@storybook/addons": "5.1.0-beta.0",
"@storybook/client-logger": "5.1.0-beta.0",
"@storybook/components": "5.1.0-beta.0",
"@storybook/theming": "5.1.0-beta.0",
"core-js": "^3.0.1",
"global": "^4.3.2",
"marksy": "^7.0.0",
"nested-object-assign": "^1.0.3",

View File

@ -66,9 +66,7 @@ exports[`addon Info should render <Info /> and external markdown 1`] = `
>
<div>
<h1>
function func(x) {
return x + 1;
}
x =&gt; x + 1
</h1>
<h2>
[object Object]
@ -1321,9 +1319,7 @@ containing **bold**, *cursive* text, \`code\` and [a link](https://github.com)"
>
<div>
<h1>
function func(x) {
return x + 1;
}
x =&gt; x + 1
</h1>
<h2>
[object Object]
@ -2656,9 +2652,7 @@ exports[`addon Info should render <Info /> for memoized component 1`] = `
>
<div>
<h1>
function func(x) {
return x + 1;
}
x =&gt; x + 1
</h1>
<h2>
[object Object]
@ -3899,9 +3893,7 @@ exports[`addon Info should render component description if story kind matches co
>
<div>
<h1>
function func(x) {
return x + 1;
}
x =&gt; x + 1
</h1>
<h2>
[object Object]
@ -5118,9 +5110,7 @@ exports[`addon Info should render component description if story name matches co
>
<div>
<h1>
function func(x) {
return x + 1;
}
x =&gt; x + 1
</h1>
<h2>
[object Object]

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-jest",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "React storybook addon that show component jest report",
"keywords": [
"addon",
@ -28,12 +28,12 @@
"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.1.0-beta.0",
"@storybook/api": "5.1.0-beta.0",
"@storybook/components": "5.1.0-beta.0",
"@storybook/core-events": "5.1.0-beta.0",
"@storybook/theming": "5.1.0-beta.0",
"core-js": "^3.0.1",
"global": "^4.3.2",
"react": "^16.8.4",
"upath": "^1.1.0",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-knobs",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Storybook Addon Prop Editor Component",
"keywords": [
"addon",
@ -22,13 +22,13 @@
"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.1.0-beta.0",
"@storybook/client-api": "5.1.0-beta.0",
"@storybook/components": "5.1.0-beta.0",
"@storybook/core-events": "5.1.0-beta.0",
"@storybook/theming": "5.1.0-beta.0",
"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",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-links",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Story Links addon for storybook",
"keywords": [
"addon",
@ -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.1.0-beta.0",
"@storybook/core-events": "5.1.0-beta.0",
"@storybook/router": "5.1.0-beta.0",
"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"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-notes",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Write notes for your Storybook stories.",
"keywords": [
"addon",
@ -23,14 +23,14 @@
"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.1.0-beta.0",
"@storybook/api": "5.1.0-beta.0",
"@storybook/client-logger": "5.1.0-beta.0",
"@storybook/components": "5.1.0-beta.0",
"@storybook/core-events": "5.1.0-beta.0",
"@storybook/router": "5.1.0-beta.0",
"@storybook/theming": "5.1.0-beta.0",
"core-js": "^3.0.1",
"global": "^4.3.2",
"markdown-to-jsx": "^6.9.3",
"prop-types": "^15.7.2",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-ondevice-actions",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.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.0-alpha.39",
"@storybook/core-events": "5.1.0-alpha.39",
"@storybook/addons": "5.1.0-beta.0",
"@storybook/core-events": "5.1.0-beta.0",
"core-js": "^2.5.7",
"fast-deep-equal": "^2.0.1"
},
"devDependencies": {
"@storybook/addon-actions": "5.1.0-alpha.39"
"@storybook/addon-actions": "5.1.0-beta.0"
},
"peerDependencies": {
"@storybook/addon-actions": "*",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-ondevice-backgrounds",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "A react-native storybook addon to show different backgrounds for your preview",
"keywords": [
"addon",
@ -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.1.0-beta.0",
"core-js": "^3.0.1",
"prop-types": "^15.7.2"
},
"peerDependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-ondevice-knobs",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Display storybook story knobs on your deviced.",
"keywords": [
"addon",
@ -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.1.0-beta.0",
"@storybook/core-events": "5.1.0-beta.0",
"core-js": "^3.0.1",
"deep-equal": "^1.0.1",
"prop-types": "^15.7.2",
"react-native-color-picker": "^0.4.0",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-ondevice-notes",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Write notes for your react-native Storybook stories.",
"keywords": [
"addon",
@ -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.1.0-beta.0",
"core-js": "^3.0.1",
"prop-types": "^15.7.2",
"react-native-simple-markdown": "^1.1.0"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-options",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Options addon for storybook",
"keywords": [
"addon",
@ -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.1.0-beta.0",
"core-js": "^3.0.1",
"util-deprecate": "^1.0.2"
},
"peerDependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storyshots",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.",
"keywords": [
"addon",
@ -25,8 +25,8 @@
"storybook": "start-storybook -p 6006"
},
"dependencies": {
"@storybook/addons": "5.1.0-alpha.39",
"core-js": "^2.6.5",
"@storybook/addons": "5.1.0-beta.0",
"core-js": "^3.0.1",
"glob": "^7.1.3",
"global": "^4.3.2",
"jest-specific-snapshot": "^2.0.0",

View File

@ -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');

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storyshots-puppeteer",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Image snappshots addition to StoryShots base on puppeteer",
"keywords": [
"addon",
@ -22,9 +22,9 @@
"prepare": "node ../../../scripts/prepare.js"
},
"dependencies": {
"@storybook/node-logger": "5.1.0-alpha.39",
"@storybook/router": "5.1.0-alpha.39",
"core-js": "^2.6.5",
"@storybook/node-logger": "5.1.0-beta.0",
"@storybook/router": "5.1.0-beta.0",
"core-js": "^3.0.1",
"jest-image-snapshot": "^2.8.1",
"puppeteer": "^1.12.2",
"regenerator-runtime": "^0.12.1"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-storysource",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Stories addon for storybook",
"keywords": [
"addon",
@ -22,11 +22,11 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.1.0-alpha.39",
"@storybook/components": "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.1.0-beta.0",
"@storybook/components": "5.1.0-beta.0",
"@storybook/router": "5.1.0-beta.0",
"@storybook/theming": "5.1.0-beta.0",
"core-js": "^3.0.1",
"estraverse": "^4.2.0",
"loader-utils": "^1.2.3",
"prettier": "^1.16.4",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-viewport",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Storybook addon to change the viewport size to mobile",
"keywords": [
"addon",
@ -21,12 +21,12 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "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",
"core-js": "^2.6.5",
"@storybook/addons": "5.1.0-beta.0",
"@storybook/client-logger": "5.1.0-beta.0",
"@storybook/components": "5.1.0-beta.0",
"@storybook/core-events": "5.1.0-beta.0",
"@storybook/theming": "5.1.0-beta.0",
"core-js": "^3.0.1",
"global": "^4.3.2",
"memoizerific": "^1.11.3",
"prop-types": "^15.7.2",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/angular",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -26,11 +26,11 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/core": "5.1.0-alpha.39",
"@storybook/node-logger": "5.1.0-alpha.39",
"@storybook/core": "5.1.0-beta.0",
"@storybook/node-logger": "5.1.0-beta.0",
"angular2-template-loader": "^0.6.2",
"core-js": "^2.6.5",
"fork-ts-checker-webpack-plugin": "^0.5.2",
"core-js": "^3.0.1",
"fork-ts-checker-webpack-plugin": "^1.2.0",
"global": "^4.3.2",
"regenerator-runtime": "^0.12.1",
"sass-loader": "^7.1.0",

View File

@ -38,8 +38,8 @@
// import 'classlist.js'; // Run `npm install --save classlist.js`.
/** Evergreen browsers require these. * */
import 'core-js/es6/reflect';
import 'core-js/es7/reflect';
import 'core-js/es/reflect';
import 'core-js/proposals/reflect-metadata';
/**
* Required to support Web Animations `@angular/animation`.

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/ember",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.",
"homepage": "https://github.com/storybooks/storybook/tree/master/app/ember",
"bugs": {
@ -24,9 +24,9 @@
},
"dependencies": {
"@ember/test-helpers": "^1.5.0",
"@storybook/core": "5.1.0-alpha.39",
"@storybook/core": "5.1.0-beta.0",
"common-tags": "^1.8.0",
"core-js": "^2.6.5",
"core-js": "^3.0.1",
"global": "^4.3.2",
"regenerator-runtime": "^0.12.1"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/html",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -25,9 +25,9 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/core": "5.1.0-alpha.39",
"@storybook/core": "5.1.0-beta.0",
"common-tags": "^1.8.0",
"core-js": "^2.6.5",
"core-js": "^3.0.1",
"global": "^4.3.2",
"html-loader": "^0.5.5",
"regenerator-runtime": "^0.12.1"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/marko",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -26,9 +26,9 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/core": "5.1.0-alpha.39",
"@storybook/core": "5.1.0-beta.0",
"common-tags": "^1.8.0",
"core-js": "^2.6.5",
"core-js": "^3.0.1",
"global": "^4.3.2",
"marko-loader": "^1.5.0",
"raw-loader": "^2.0.0",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/mithril",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Storybook for Mithril: Develop Mithril Component in isolation.",
"keywords": [
"storybook"
@ -27,9 +27,9 @@
},
"dependencies": {
"@babel/plugin-transform-react-jsx": "^7.3.0",
"@storybook/core": "5.1.0-alpha.39",
"@storybook/core": "5.1.0-beta.0",
"common-tags": "^1.8.0",
"core-js": "^2.6.5",
"core-js": "^3.0.1",
"global": "^4.3.2",
"regenerator-runtime": "^0.12.1"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/polymer",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Storybook for Polymer: Develop Polymer components in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -25,10 +25,10 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/core": "5.1.0-alpha.39",
"@storybook/core": "5.1.0-beta.0",
"@webcomponents/webcomponentsjs": "^1.2.0",
"common-tags": "^1.8.0",
"core-js": "^2.6.5",
"core-js": "^3.0.1",
"global": "^4.3.2",
"regenerator-runtime": "^0.12.1",
"webpack": "^4.28.0"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/preact",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Storybook for Preact: Develop Preact Component in isolation.",
"keywords": [
"storybook"
@ -27,9 +27,9 @@
},
"dependencies": {
"@babel/plugin-transform-react-jsx": "^7.3.0",
"@storybook/core": "5.1.0-alpha.39",
"@storybook/core": "5.1.0-beta.0",
"common-tags": "^1.8.0",
"core-js": "^2.6.5",
"core-js": "^3.0.1",
"global": "^4.3.2",
"regenerator-runtime": "^0.12.1"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/react-native-server",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.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.0-alpha.39",
"@storybook/api": "5.1.0-alpha.39",
"@storybook/channel-websocket": "5.1.0-alpha.39",
"@storybook/core": "5.1.0-alpha.39",
"@storybook/core-events": "5.1.0-alpha.39",
"@storybook/ui": "5.1.0-alpha.39",
"@storybook/addons": "5.1.0-beta.0",
"@storybook/api": "5.1.0-beta.0",
"@storybook/channel-websocket": "5.1.0-beta.0",
"@storybook/core": "5.1.0-beta.0",
"@storybook/core-events": "5.1.0-beta.0",
"@storybook/ui": "5.1.0-beta.0",
"commander": "^2.19.0",
"global": "^4.3.2",
"react": "^16.6.0",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/react-native",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.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.0-alpha.39",
"@storybook/channel-websocket": "5.1.0-alpha.39",
"@storybook/channels": "5.1.0-alpha.39",
"@storybook/client-api": "5.1.0-alpha.39",
"@storybook/core-events": "5.1.0-alpha.39",
"@storybook/addons": "5.1.0-beta.0",
"@storybook/channel-websocket": "5.1.0-beta.0",
"@storybook/channels": "5.1.0-beta.0",
"@storybook/client-api": "5.1.0-beta.0",
"@storybook/core-events": "5.1.0-beta.0",
"react-native-swipe-gestures": "^1.0.3",
"rn-host-detect": "^1.1.5"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/react",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -29,17 +29,17 @@
"@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.0-alpha.39",
"@storybook/node-logger": "5.1.0-alpha.39",
"@storybook/core": "5.1.0-beta.0",
"@storybook/node-logger": "5.1.0-beta.0",
"@svgr/webpack": "^4.0.3",
"babel-plugin-named-asset-import": "^0.3.1",
"babel-plugin-react-docgen": "^3.0.0",
"babel-preset-react-app": "^7.0.2",
"babel-preset-react-app": "^8.0.0",
"common-tags": "^1.8.0",
"core-js": "^2.6.5",
"core-js": "^3.0.1",
"global": "^4.3.2",
"lodash": "^4.17.11",
"mini-css-extract-plugin": "^0.5.0",
"mini-css-extract-plugin": "^0.6.0",
"prop-types": "^15.7.2",
"react-dev-utils": "^9.0.0",
"regenerator-runtime": "^0.12.1",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/riot",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -25,9 +25,9 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/core": "5.1.0-alpha.39",
"@storybook/core": "5.1.0-beta.0",
"common-tags": "^1.8.0",
"core-js": "^2.6.5",
"core-js": "^3.0.1",
"global": "^4.3.2",
"raw-loader": "^2.0.0",
"regenerator-runtime": "^0.12.1"

View File

@ -117,7 +117,7 @@ describe('render a riot element', () => {
],
template:
'<SimpleTest hacked={hacked} test={ "with a parameter" } value={"value is mapped to riotValue"}></SimpleTest>',
tagConstructor() {
tagConstructor: function tagConstructor() {
this.hacked = true;
},
},

View File

@ -1,4 +1,6 @@
/* eslint-disable import/no-duplicates */
import { mount, unregister, tag2 as tag } from 'riot';
import * as riot from 'riot';
import compiler from 'riot-compiler';
import { document } from 'global';
import { alreadyCompiledMarker, getRidOfRiotNoise, setConstructor } from '../compileStageFunctions';
@ -45,12 +47,18 @@ export default function renderStringified({
unregister(rootName);
eval(getRidOfRiotNoise(`${compiled}`)); // eslint-disable-line no-eval
});
const sourceCode = `<root>${template}</root>`;
const compiledRootSource = !tagConstructor
? `${compiler.compile(sourceCode, {})}`
: setConstructor(`${compiler.compile(sourceCode, {})}`, tagConstructor);
const sourceCode = compiler.compile(`<root>${template}</root>`, {});
if (template !== '<root/>') eval(getRidOfRiotNoise(compiledRootSource)); // eslint-disable-line no-eval
let final;
if (tagConstructor) {
final = setConstructor(sourceCode, tagConstructor);
} else {
final = sourceCode;
}
if (template !== '<root/>') {
eval(getRidOfRiotNoise(final)); // eslint-disable-line no-eval
}
mount('*');
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/svelte",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -26,9 +26,9 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/core": "5.1.0-alpha.39",
"@storybook/core": "5.1.0-beta.0",
"common-tags": "^1.8.0",
"core-js": "^2.6.5",
"core-js": "^3.0.1",
"global": "^4.3.2",
"regenerator-runtime": "^0.12.1"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/vue",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
"keywords": [
"storybook"
@ -26,9 +26,9 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/core": "5.1.0-alpha.39",
"@storybook/core": "5.1.0-beta.0",
"common-tags": "^1.8.0",
"core-js": "^2.6.5",
"core-js": "^3.0.1",
"global": "^4.3.2",
"regenerator-runtime": "^0.12.1"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-parameter",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "parameter addon for storybook",
"keywords": [
"devkit",
@ -24,12 +24,12 @@
"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.1.0-beta.0",
"@storybook/api": "5.1.0-beta.0",
"@storybook/client-logger": "5.1.0-beta.0",
"@storybook/components": "5.1.0-beta.0",
"@storybook/core-events": "5.1.0-beta.0",
"@storybook/theming": "5.1.0-beta.0",
"common-tags": "^1.8.0",
"core-js": "^2.6.5",
"global": "^4.3.2",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addon-roundtrip",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "roundtrip addon for storybook",
"keywords": [
"devkit",
@ -24,12 +24,12 @@
"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.1.0-beta.0",
"@storybook/api": "5.1.0-beta.0",
"@storybook/client-logger": "5.1.0-beta.0",
"@storybook/components": "5.1.0-beta.0",
"@storybook/core-events": "5.1.0-beta.0",
"@storybook/theming": "5.1.0-beta.0",
"common-tags": "^1.8.0",
"core-js": "^2.6.5",
"global": "^4.3.2",

View File

@ -24,6 +24,7 @@ module.exports = {
'/guides/guide-mithril/',
'/guides/guide-ember/',
'/guides/guide-riot/',
'/guides/guide-svelte/',
],
configurations: [
'/configurations/options-parameter/',

View File

@ -157,6 +157,22 @@ storiesOf('Component', module).add('With Markdown', () => <MyComponent />, {
});
```
## 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",
() => (
<Callout>Some children</Callout>
),
{
notes: "popover tooltip"
}
)
```
## Nesting stories
Stories can be organized in a nested structure using "/" as a separator:

View File

@ -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, '../'),
});
@ -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, '../'),
},
],

View File

@ -99,8 +99,8 @@ storiesOf('MyButton', module)
props: {
buttonText: 'some text',
},
})),
.add('with text', () => ({
}))
.add('with some emojies', () => ({
Component: MyButton,
props: {

View File

@ -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))"}}
{"version":"5.1.0-beta.0","info":{"plain":"Welcome to the 5.1 beta! Feature development's done; `beta.0` kicks off the stabilization process for the 5.1 final release. 🚀"}}

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "crna-kitchen-sink",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"private": true,
"main": "node_modules/expo/AppEntry.js",
"scripts": {
@ -24,19 +24,19 @@
"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.1.0-beta.0",
"@storybook/addon-knobs": "5.1.0-beta.0",
"@storybook/addon-ondevice-actions": "5.1.0-beta.0",
"@storybook/addon-ondevice-backgrounds": "5.1.0-beta.0",
"@storybook/addon-ondevice-knobs": "5.1.0-beta.0",
"@storybook/addon-ondevice-notes": "5.1.0-beta.0",
"@storybook/addons": "5.1.0-beta.0",
"@storybook/react-native": "5.1.0-beta.0",
"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",
"core-js": "^3.0.1",
"expo-cli": "^2.17.1",
"jest-expo": "^32.0.0",
"react-test-renderer": "16.5.1",
"schedule": "^0.4.0"

View File

@ -1,6 +1,6 @@
{
"name": "angular-cli",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"private": true,
"license": "MIT",
"scripts": {
@ -25,7 +25,7 @@
"@angular/platform-browser": "^7.2.6",
"@angular/platform-browser-dynamic": "^7.2.6",
"@ngrx/store": "^7.2.0",
"core-js": "^2.6.5",
"core-js": "^3.0.1",
"rxjs": "^6.3.3",
"rxjs-compat": "^6.4.0",
"zone.js": "^0.8.29"
@ -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.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-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/addons": "5.1.0-alpha.39",
"@storybook/angular": "5.1.0-alpha.39",
"@storybook/addon-a11y": "5.1.0-beta.0",
"@storybook/addon-actions": "5.1.0-beta.0",
"@storybook/addon-backgrounds": "5.1.0-beta.0",
"@storybook/addon-centered": "5.1.0-beta.0",
"@storybook/addon-jest": "5.1.0-beta.0",
"@storybook/addon-knobs": "5.1.0-beta.0",
"@storybook/addon-links": "5.1.0-beta.0",
"@storybook/addon-notes": "5.1.0-beta.0",
"@storybook/addon-options": "5.1.0-beta.0",
"@storybook/addon-storyshots": "5.1.0-beta.0",
"@storybook/addon-storysource": "5.1.0-beta.0",
"@storybook/addons": "5.1.0-beta.0",
"@storybook/angular": "5.1.0-beta.0",
"@types/core-js": "^2.5.0",
"@types/jest": "^24.0.11",
"@types/node": "~12.0.0",

View File

@ -38,8 +38,8 @@
// import 'classlist.js'; // Run `npm install --save classlist.js`.
/* Evergreen browsers require these. */
import 'core-js/es6/reflect';
import 'core-js/es7/reflect';
import 'core-js/es/reflect';
import 'core-js/proposals/reflect-metadata';
/**
* Required to support Web Animations `@angular/animation`.

View File

@ -8,6 +8,7 @@ module.exports = {
'<rootDir>/__mocks__/fileMock.js',
'\\.(css|scss)$': '<rootDir>/__mocks__/styleMock.js',
'\\.(md)$': '<rootDir>/__mocks__/htmlMock.js',
...config.moduleNameMapper,
},
transform: {
...config.transform,

View File

@ -1,6 +1,6 @@
{
"name": "cra-kitchen-sink",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"private": true,
"scripts": {
"build": "react-scripts build",
@ -19,22 +19,22 @@
"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",
"@storybook/addon-a11y": "5.1.0-beta.0",
"@storybook/addon-actions": "5.1.0-beta.0",
"@storybook/addon-backgrounds": "5.1.0-beta.0",
"@storybook/addon-centered": "5.1.0-beta.0",
"@storybook/addon-events": "5.1.0-beta.0",
"@storybook/addon-info": "5.1.0-beta.0",
"@storybook/addon-jest": "5.1.0-beta.0",
"@storybook/addon-knobs": "5.1.0-beta.0",
"@storybook/addon-links": "5.1.0-beta.0",
"@storybook/addon-notes": "5.1.0-beta.0",
"@storybook/addon-options": "5.1.0-beta.0",
"@storybook/addon-storyshots": "5.1.0-beta.0",
"@storybook/addons": "5.1.0-beta.0",
"@storybook/client-logger": "5.1.0-beta.0",
"@storybook/react": "5.1.0-beta.0",
"@storybook/theming": "5.1.0-beta.0",
"react-scripts": "^2.1.8"
}
}

View File

@ -1,13 +1,13 @@
{
"name": "cra-react15",
"version": "0.1.0",
"version": "5.1.0-beta.0",
"private": true,
"dependencies": {
"babel-loader": "7",
"global": "^4.3.2",
"react": "^15.4.2",
"react-dom": "^15.4.2",
"react-scripts": "1.1.5",
"global": "^4.3.2"
"react-scripts": "1.1.5"
},
"scripts": {
"start": "react-scripts start",
@ -19,10 +19,10 @@
"build-storybook": "build-storybook -s public"
},
"devDependencies": {
"@storybook/addon-actions": "5.1.0-alpha.39",
"@storybook/addon-links": "5.1.0-alpha.39",
"@storybook/theming": "5.1.0-alpha.39",
"@storybook/react": "5.1.0-alpha.39",
"@storybook/addon-actions": "5.1.0-beta.0",
"@storybook/addon-links": "5.1.0-beta.0",
"@storybook/react": "5.1.0-beta.0",
"@storybook/theming": "5.1.0-beta.0",
"babel-core": "6",
"babel-runtime": "6"
}

View File

@ -1,6 +1,6 @@
{
"name": "cra-ts-kitchen-sink",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"private": true,
"scripts": {
"build-storybook": "build-storybook -s public",
@ -14,12 +14,12 @@
"react-dom": "^16.8.4"
},
"devDependencies": {
"@storybook/addon-a11y": "5.1.0-alpha.39",
"@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.1.0-beta.0",
"@storybook/addon-actions": "5.1.0-beta.0",
"@storybook/addon-info": "5.1.0-beta.0",
"@storybook/addon-options": "5.1.0-beta.0",
"@storybook/addons": "5.1.0-beta.0",
"@storybook/react": "5.1.0-beta.0",
"@types/enzyme": "^3.9.0",
"@types/react": "^16.8.4",
"@types/react-dom": "^16.8.2",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/example-devkits",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.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.0-alpha.39",
"@storybook/addon-parameter": "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",
"@storybook/addon-roundtrip": "5.1.0-beta.0",
"@storybook/addon-parameter": "5.1.0-beta.0",
"@storybook/addons": "5.1.0-beta.0",
"@storybook/components": "5.1.0-beta.0",
"@storybook/core-events": "5.1.0-beta.0",
"@storybook/node-logger": "5.1.0-beta.0",
"@storybook/react": "5.1.0-beta.0",
"@storybook/theming": "5.1.0-beta.0",
"cors": "^2.8.5",
"cross-env": "^5.2.0",
"enzyme-to-json": "^3.3.5",

View File

@ -1,6 +1,6 @@
{
"name": "ember-example",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"private": true,
"scripts": {
"build": "ember build",
@ -15,18 +15,18 @@
},
"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.1.0-beta.0",
"@storybook/addon-actions": "5.1.0-beta.0",
"@storybook/addon-backgrounds": "5.1.0-beta.0",
"@storybook/addon-centered": "5.1.0-beta.0",
"@storybook/addon-knobs": "5.1.0-beta.0",
"@storybook/addon-links": "5.1.0-beta.0",
"@storybook/addon-notes": "5.1.0-beta.0",
"@storybook/addon-options": "5.1.0-beta.0",
"@storybook/addon-storysource": "5.1.0-beta.0",
"@storybook/addon-viewport": "5.1.0-beta.0",
"@storybook/addons": "5.1.0-beta.0",
"@storybook/ember": "5.1.0-beta.0",
"babel-loader": "^8",
"broccoli-asset-rev": "^3.0.0",
"cross-env": "^5.2.0",

View File

@ -1,6 +1,6 @@
{
"name": "html-kitchen-sink",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"private": true,
"description": "",
"keywords": [],
@ -14,23 +14,23 @@
"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.1.0-beta.0",
"@storybook/addon-actions": "5.1.0-beta.0",
"@storybook/addon-backgrounds": "5.1.0-beta.0",
"@storybook/addon-centered": "5.1.0-beta.0",
"@storybook/addon-events": "5.1.0-beta.0",
"@storybook/addon-jest": "5.1.0-beta.0",
"@storybook/addon-knobs": "5.1.0-beta.0",
"@storybook/addon-links": "5.1.0-beta.0",
"@storybook/addon-notes": "5.1.0-beta.0",
"@storybook/addon-options": "5.1.0-beta.0",
"@storybook/addon-storyshots": "5.1.0-beta.0",
"@storybook/addon-storysource": "5.1.0-beta.0",
"@storybook/addon-viewport": "5.1.0-beta.0",
"@storybook/addons": "5.1.0-beta.0",
"@storybook/core": "5.1.0-beta.0",
"@storybook/core-events": "5.1.0-beta.0",
"@storybook/html": "5.1.0-beta.0",
"eventemitter3": "^3.1.0",
"format-json": "^1.0.3",
"global": "^4.3.2"

View File

@ -1,6 +1,6 @@
{
"name": "marko-cli",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.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.0-alpha.39",
"@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.1.0-beta.0",
"@storybook/addon-actions": "5.1.0-beta.0",
"@storybook/addon-knobs": "5.1.0-beta.0",
"@storybook/addon-options": "5.1.0-beta.0",
"@storybook/addon-storysource": "5.1.0-beta.0",
"@storybook/addons": "5.1.0-beta.0",
"@storybook/marko": "5.1.0-beta.0",
"prettier": "^1.16.4",
"webpack": "^4.28.0"
}

View File

@ -1,6 +1,6 @@
{
"name": "mithril-example",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"private": true,
"scripts": {
"build-storybook": "build-storybook",
@ -11,19 +11,19 @@
"mithril": "^1.1.6"
},
"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-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",
"@storybook/addon-a11y": "5.1.0-beta.0",
"@storybook/addon-actions": "5.1.0-beta.0",
"@storybook/addon-backgrounds": "5.1.0-beta.0",
"@storybook/addon-centered": "5.1.0-beta.0",
"@storybook/addon-knobs": "5.1.0-beta.0",
"@storybook/addon-links": "5.1.0-beta.0",
"@storybook/addon-notes": "5.1.0-beta.0",
"@storybook/addon-options": "5.1.0-beta.0",
"@storybook/addon-storyshots": "5.1.0-beta.0",
"@storybook/addon-storysource": "5.1.0-beta.0",
"@storybook/addon-viewport": "5.1.0-beta.0",
"@storybook/addons": "5.1.0-beta.0",
"@storybook/mithril": "5.1.0-beta.0",
"webpack": "^4.28.0"
}
}

View File

@ -1 +0,0 @@
../../ember-cli/storybook-static

View File

@ -0,0 +1 @@
../../ember-cli/storybook-static

View File

@ -1,6 +1,6 @@
{
"name": "official-storybook",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"private": true,
"scripts": {
"build-storybook": "build-storybook -c ./ -s built-storybooks",
@ -13,30 +13,30 @@
"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.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",
"@storybook/addon-a11y": "5.1.0-beta.0",
"@storybook/addon-actions": "5.1.0-beta.0",
"@storybook/addon-backgrounds": "5.1.0-beta.0",
"@storybook/addon-centered": "5.1.0-beta.0",
"@storybook/addon-contexts": "5.1.0-beta.0",
"@storybook/addon-cssresources": "5.1.0-beta.0",
"@storybook/addon-events": "5.1.0-beta.0",
"@storybook/addon-graphql": "5.1.0-beta.0",
"@storybook/addon-info": "5.1.0-beta.0",
"@storybook/addon-jest": "5.1.0-beta.0",
"@storybook/addon-knobs": "5.1.0-beta.0",
"@storybook/addon-links": "5.1.0-beta.0",
"@storybook/addon-notes": "5.1.0-beta.0",
"@storybook/addon-options": "5.1.0-beta.0",
"@storybook/addon-storyshots": "5.1.0-beta.0",
"@storybook/addon-storyshots-puppeteer": "5.1.0-beta.0",
"@storybook/addon-storysource": "5.1.0-beta.0",
"@storybook/addon-viewport": "5.1.0-beta.0",
"@storybook/addons": "5.1.0-beta.0",
"@storybook/components": "5.1.0-beta.0",
"@storybook/core-events": "5.1.0-beta.0",
"@storybook/node-logger": "5.1.0-beta.0",
"@storybook/react": "5.1.0-beta.0",
"@storybook/theming": "5.1.0-beta.0",
"cors": "^2.8.5",
"cross-env": "^5.2.0",
"enzyme-to-json": "^3.3.5",
@ -51,7 +51,7 @@
"prop-types": "^15.7.2",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"storybook-chromatic": "^1.2.6",
"storybook-chromatic": "^1.3.3",
"ts-loader": "^5.3.3",
"uuid": "^3.3.2",
"webpack": "^4.28.0"

View File

@ -1564,72 +1564,76 @@ exports[`Storyshots Addons|Info/Markdown Displays Markdown in description 1`] =
class="simplebar-offset"
>
<div
class="simplebar-content"
class="simplebar-content-wrapper"
>
<pre
class="hljs emotion-1"
<div
class="simplebar-content"
>
<code
class="emotion-0"
<pre
class="hljs emotion-1"
>
<span
class="token keyword"
<code
class="emotion-0"
>
const
</span>
<span
class="token function-variable function"
>
Button
</span>
<span
class="token operator"
>
=
</span>
<span
class="token punctuation"
>
(
</span>
<span
class="token punctuation"
>
)
</span>
<span
class="token operator"
>
=&gt;
</span>
<span
class="token operator"
>
&lt;
</span>
button
<span
class="token operator"
>
/
</span>
<span
class="token operator"
>
&gt;
</span>
<span
class="token punctuation"
>
;
</span>
</code>
</pre>
<span
class="token keyword"
>
const
</span>
<span
class="token function-variable function"
>
Button
</span>
<span
class="token operator"
>
=
</span>
<span
class="token punctuation"
>
(
</span>
<span
class="token punctuation"
>
)
</span>
<span
class="token operator"
>
=&gt;
</span>
<span
class="token operator"
>
&lt;
</span>
button
<span
class="token operator"
>
/
</span>
<span
class="token operator"
>
&gt;
</span>
<span
class="token punctuation"
>
;
</span>
</code>
</pre>
</div>
</div>
</div>
</div>
@ -4920,72 +4924,76 @@ exports[`Storyshots Addons|Info/Parameters Overwrite the parameters with markdow
class="simplebar-offset"
>
<div
class="simplebar-content"
class="simplebar-content-wrapper"
>
<pre
class="hljs emotion-1"
<div
class="simplebar-content"
>
<code
class="emotion-0"
<pre
class="hljs emotion-1"
>
<span
class="token keyword"
<code
class="emotion-0"
>
const
</span>
<span
class="token function-variable function"
>
Button
</span>
<span
class="token operator"
>
=
</span>
<span
class="token punctuation"
>
(
</span>
<span
class="token punctuation"
>
)
</span>
<span
class="token operator"
>
=&gt;
</span>
<span
class="token operator"
>
&lt;
</span>
button
<span
class="token operator"
>
/
</span>
<span
class="token operator"
>
&gt;
</span>
<span
class="token punctuation"
>
;
</span>
</code>
</pre>
<span
class="token keyword"
>
const
</span>
<span
class="token function-variable function"
>
Button
</span>
<span
class="token operator"
>
=
</span>
<span
class="token punctuation"
>
(
</span>
<span
class="token punctuation"
>
)
</span>
<span
class="token operator"
>
=&gt;
</span>
<span
class="token operator"
>
&lt;
</span>
button
<span
class="token operator"
>
/
</span>
<span
class="token operator"
>
&gt;
</span>
<span
class="token punctuation"
>
;
</span>
</code>
</pre>
</div>
</div>
</div>
</div>
@ -5540,44 +5548,48 @@ exports[`Storyshots Addons|Info/Parameters Overwrite the text parameter with mar
class="simplebar-offset"
>
<div
class="simplebar-content"
class="simplebar-content-wrapper"
>
<pre
class="hljs emotion-1"
<div
class="simplebar-content"
>
<code
class="emotion-0"
<pre
class="hljs emotion-1"
>
<span
class="token operator"
<code
class="emotion-0"
>
&lt;
</span>
Button
<span
class="token operator"
>
&gt;
</span>
Click Here
<span
class="token operator"
>
&lt;
</span>
<span
class="token operator"
>
/
</span>
Button
<span
class="token operator"
>
&gt;
</span>
</code>
</pre>
<span
class="token operator"
>
&lt;
</span>
Button
<span
class="token operator"
>
&gt;
</span>
Click Here
<span
class="token operator"
>
&lt;
</span>
<span
class="token operator"
>
/
</span>
Button
<span
class="token operator"
>
&gt;
</span>
</code>
</pre>
</div>
</div>
</div>
</div>
@ -9800,72 +9812,76 @@ exports[`Storyshots Addons|Info/deprecated Displays Markdown in description 1`]
class="simplebar-offset"
>
<div
class="simplebar-content"
class="simplebar-content-wrapper"
>
<pre
class="hljs emotion-1"
<div
class="simplebar-content"
>
<code
class="emotion-0"
<pre
class="hljs emotion-1"
>
<span
class="token keyword"
<code
class="emotion-0"
>
const
</span>
<span
class="token function-variable function"
>
Button
</span>
<span
class="token operator"
>
=
</span>
<span
class="token punctuation"
>
(
</span>
<span
class="token punctuation"
>
)
</span>
<span
class="token operator"
>
=&gt;
</span>
<span
class="token operator"
>
&lt;
</span>
button
<span
class="token operator"
>
/
</span>
<span
class="token operator"
>
&gt;
</span>
<span
class="token punctuation"
>
;
</span>
</code>
</pre>
<span
class="token keyword"
>
const
</span>
<span
class="token function-variable function"
>
Button
</span>
<span
class="token operator"
>
=
</span>
<span
class="token punctuation"
>
(
</span>
<span
class="token punctuation"
>
)
</span>
<span
class="token operator"
>
=&gt;
</span>
<span
class="token operator"
>
&lt;
</span>
button
<span
class="token operator"
>
/
</span>
<span
class="token operator"
>
&gt;
</span>
<span
class="token punctuation"
>
;
</span>
</code>
</pre>
</div>
</div>
</div>
</div>

View File

@ -14,7 +14,7 @@ module.exports = async ({ config }) => ({
options: {
cacheDirectory: `.cache/storybook`,
presets: [
['@babel/preset-env', { shippedProposals: true, useBuiltIns: 'usage', corejs: 2 }],
['@babel/preset-env', { shippedProposals: true, useBuiltIns: 'usage', corejs: 3 }],
'@babel/preset-typescript',
['babel-preset-minify', { builtIns: false, mangle: false }],
'@babel/preset-react',

View File

@ -1,6 +1,6 @@
{
"name": "polymer-cli",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"private": true,
"scripts": {
"build-storybook": "build-storybook",
@ -10,16 +10,16 @@
},
"dependencies": {
"@polymer/polymer": "^2.6.0",
"@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-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/polymer": "5.1.0-alpha.39",
"@storybook/addon-a11y": "5.1.0-beta.0",
"@storybook/addon-actions": "5.1.0-beta.0",
"@storybook/addon-backgrounds": "5.1.0-beta.0",
"@storybook/addon-knobs": "5.1.0-beta.0",
"@storybook/addon-links": "5.1.0-beta.0",
"@storybook/addon-notes": "5.1.0-beta.0",
"@storybook/addon-options": "5.1.0-beta.0",
"@storybook/addon-storysource": "5.1.0-beta.0",
"@storybook/addon-viewport": "5.1.0-beta.0",
"@storybook/polymer": "5.1.0-beta.0",
"@webcomponents/webcomponentsjs": "^1.2.0",
"global": "^4.3.2",
"lit-html": "^1.0.0",

View File

@ -1,6 +1,6 @@
{
"name": "preact-example",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.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.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-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/preact": "5.1.0-alpha.39",
"@storybook/addon-a11y": "5.1.0-beta.0",
"@storybook/addon-actions": "5.1.0-beta.0",
"@storybook/addon-backgrounds": "5.1.0-beta.0",
"@storybook/addon-centered": "5.1.0-beta.0",
"@storybook/addon-contexts": "5.1.0-beta.0",
"@storybook/addon-knobs": "5.1.0-beta.0",
"@storybook/addon-links": "5.1.0-beta.0",
"@storybook/addon-notes": "5.1.0-beta.0",
"@storybook/addon-options": "5.1.0-beta.0",
"@storybook/addon-storyshots": "5.1.0-beta.0",
"@storybook/addon-storysource": "5.1.0-beta.0",
"@storybook/addon-viewport": "5.1.0-beta.0",
"@storybook/addons": "5.1.0-beta.0",
"@storybook/preact": "5.1.0-beta.0",
"babel-loader": "^8.0.4",
"cross-env": "^5.2.0",
"file-loader": "^3.0.1",

View File

@ -1,6 +1,6 @@
{
"name": "riot-example",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.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.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-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/riot": "5.1.0-alpha.39",
"@storybook/addon-a11y": "5.1.0-beta.0",
"@storybook/addon-actions": "5.1.0-beta.0",
"@storybook/addon-backgrounds": "5.1.0-beta.0",
"@storybook/addon-centered": "5.1.0-beta.0",
"@storybook/addon-knobs": "5.1.0-beta.0",
"@storybook/addon-links": "5.1.0-beta.0",
"@storybook/addon-notes": "5.1.0-beta.0",
"@storybook/addon-options": "5.1.0-beta.0",
"@storybook/addon-storyshots": "5.1.0-beta.0",
"@storybook/addon-storysource": "5.1.0-beta.0",
"@storybook/addon-viewport": "5.1.0-beta.0",
"@storybook/addons": "5.1.0-beta.0",
"@storybook/riot": "5.1.0-beta.0",
"babel-loader": "^8.0.4",
"cross-env": "^5.2.0",
"file-loader": "^3.0.1",

View File

@ -39,7 +39,7 @@ storiesOf('Story|How to create a story', module)
],
template:
'<SimpleTest hacked={hacked} test={ "with a parameter" } value={"value is mapped to riotValue"}></SimpleTest>',
tagConstructor() {
tagConstructor: function tagConstructor() {
this.hacked = true;
},
}))

View File

@ -1,6 +1,6 @@
{
"name": "svelte-example",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"private": true,
"scripts": {
"build-storybook": "build-storybook -s public",
@ -11,18 +11,18 @@
"global": "^4.3.2"
},
"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-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/svelte": "5.1.0-alpha.39"
"@storybook/addon-a11y": "5.1.0-beta.0",
"@storybook/addon-actions": "5.1.0-beta.0",
"@storybook/addon-backgrounds": "5.1.0-beta.0",
"@storybook/addon-centered": "5.1.0-beta.0",
"@storybook/addon-knobs": "5.1.0-beta.0",
"@storybook/addon-links": "5.1.0-beta.0",
"@storybook/addon-notes": "5.1.0-beta.0",
"@storybook/addon-options": "5.1.0-beta.0",
"@storybook/addon-storyshots": "5.1.0-beta.0",
"@storybook/addon-storysource": "5.1.0-beta.0",
"@storybook/addon-viewport": "5.1.0-beta.0",
"@storybook/addons": "5.1.0-beta.0",
"@storybook/svelte": "5.1.0-beta.0"
}
}

View File

@ -4,8 +4,6 @@ import { action } from '@storybook/addon-actions';
import Button from '../components/Button.svelte';
console.log({ Button });
storiesOf('Addon|Centered', module)
.addDecorator(Centered)
.add('rounded', () => ({

View File

@ -1,6 +1,6 @@
{
"name": "vue-example",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.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.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-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/vue": "5.1.0-alpha.39",
"@storybook/addon-a11y": "5.1.0-beta.0",
"@storybook/addon-actions": "5.1.0-beta.0",
"@storybook/addon-backgrounds": "5.1.0-beta.0",
"@storybook/addon-centered": "5.1.0-beta.0",
"@storybook/addon-contexts": "5.1.0-beta.0",
"@storybook/addon-knobs": "5.1.0-beta.0",
"@storybook/addon-links": "5.1.0-beta.0",
"@storybook/addon-notes": "5.1.0-beta.0",
"@storybook/addon-options": "5.1.0-beta.0",
"@storybook/addon-storyshots": "5.1.0-beta.0",
"@storybook/addon-storysource": "5.1.0-beta.0",
"@storybook/addon-viewport": "5.1.0-beta.0",
"@storybook/addons": "5.1.0-beta.0",
"@storybook/vue": "5.1.0-beta.0",
"babel-core": "^7.0.0-bridge.0",
"babel-loader": "^8.0.5",
"cross-env": "^5.2.0",

View File

@ -2,10 +2,25 @@ module.exports = {
cacheDirectory: '.cache/jest',
clearMocks: true,
moduleNameMapper: {
// non-js files
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
'<rootDir>/__mocks__/fileMock.js',
'\\.(css|scss)$': '<rootDir>/__mocks__/styleMock.js',
'\\.(md)$': '<rootDir>/__mocks__/htmlMock.js',
// core-js v2 to v3 mapping
'core-js/modules/es6.(.*)': 'core-js/modules/es.$1',
'core-js/modules/es7.(.*)': 'core-js/modules/esnext.$1',
'core-js/library/fn/(.*)': `core-js/features/$1`,
'core-js/es5/(.*)': `core-js/es/$1`,
'core-js/es6/(.*)': `core-js/es/$1`,
'core-js/es7/reflect': `core-js/proposals/reflect-metadata`,
'core-js/es7/(.*)': `core-js/proposals/$1`,
'core-js/object$/': `core-js/es/object`,
'core-js/object/(.*)': `core-js/es/object/$1`,
'babel-runtime/core-js/(.*)': `core-js/es/$1`,
// 'babel-runtime/core-js/object/assign'
'core-js/library/fn/object/assign': 'core-js/es/object/assign',
},
projects: [
'<rootDir>',

View File

@ -2,5 +2,5 @@
"npmClient": "yarn",
"useWorkspaces": true,
"registry": "https://registry.npmjs.org",
"version": "5.1.0-alpha.39"
"version": "5.1.0-beta.0"
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/addons",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Storybook addons store",
"keywords": [
"storybook"
@ -21,10 +21,10 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/api": "5.1.0-alpha.39",
"@storybook/channels": "5.1.0-alpha.39",
"@storybook/client-logger": "5.1.0-alpha.39",
"core-js": "^2.6.5",
"@storybook/api": "5.1.0-beta.0",
"@storybook/channels": "5.1.0-beta.0",
"@storybook/client-logger": "5.1.0-beta.0",
"core-js": "^3.0.1",
"global": "^4.3.2",
"util-deprecate": "^1.0.2"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/api",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Core Storybook API & Context",
"keywords": [
"storybook"
@ -20,12 +20,12 @@
"prepare": "node ./scripts/generateVersion.js && node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/channels": "5.1.0-alpha.39",
"@storybook/client-logger": "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/channels": "5.1.0-beta.0",
"@storybook/client-logger": "5.1.0-beta.0",
"@storybook/core-events": "5.1.0-beta.0",
"@storybook/router": "5.1.0-beta.0",
"@storybook/theming": "5.1.0-beta.0",
"core-js": "^3.0.1",
"fast-deep-equal": "^2.0.1",
"global": "^4.3.2",
"lodash.isequal": "^4.5.0",

View File

@ -1 +1 @@
export const version = '5.1.0-alpha.39';
export const version = '5.1.0-beta.0';

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/channel-postmessage",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "",
"keywords": [
"storybook"
@ -21,9 +21,9 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/channels": "5.1.0-alpha.39",
"@storybook/client-logger": "5.1.0-alpha.39",
"core-js": "^2.6.5",
"@storybook/channels": "5.1.0-beta.0",
"@storybook/client-logger": "5.1.0-beta.0",
"core-js": "^3.0.1",
"global": "^4.3.2",
"telejson": "^2.1.1"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/channel-websocket",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "",
"keywords": [
"storybook"
@ -21,8 +21,8 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/channels": "5.1.0-alpha.39",
"core-js": "^2.6.5",
"@storybook/channels": "5.1.0-beta.0",
"core-js": "^3.0.1",
"global": "^4.3.2",
"json-fn": "^1.1.1"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/channels",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "",
"keywords": [
"storybook"
@ -21,7 +21,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"core-js": "^2.6.5"
"core-js": "^3.0.1"
},
"publishConfig": {
"access": "public"

View File

@ -2,9 +2,10 @@
"presets": [
["@babel/preset-env", {
"targets": {
"node": 4
"node": 8
},
"useBuiltIns": "usage"
}]
"useBuiltIns": "usage",
"corejs": 3,
},]
]
}

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/cli",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Storybook's CLI - easiest method of adding storybook to your projects",
"keywords": [
"cli",
@ -30,10 +30,10 @@
"@babel/core": "^7.3.4",
"@babel/preset-env": "^7.4.1",
"@babel/register": "^7.0.0",
"@storybook/codemod": "5.1.0-alpha.39",
"@storybook/codemod": "5.1.0-beta.0",
"chalk": "^2.4.1",
"commander": "^2.19.0",
"core-js": "^2.6.5",
"core-js": "^3.0.1",
"cross-spawn": "^6.0.5",
"inquirer": "^6.2.0",
"jscodeshift": "^0.6.3",
@ -44,32 +44,32 @@
"update-notifier": "^2.5.0"
},
"devDependencies": {
"@storybook/addon-actions": "5.1.0-alpha.39",
"@storybook/addon-centered": "5.1.0-alpha.39",
"@storybook/addon-graphql": "5.1.0-alpha.39",
"@storybook/addon-info": "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/angular": "5.1.0-alpha.39",
"@storybook/channel-postmessage": "5.1.0-alpha.39",
"@storybook/channel-websocket": "5.1.0-alpha.39",
"@storybook/channels": "5.1.0-alpha.39",
"@storybook/ember": "5.1.0-alpha.39",
"@storybook/html": "5.1.0-alpha.39",
"@storybook/marko": "5.1.0-alpha.39",
"@storybook/mithril": "5.1.0-alpha.39",
"@storybook/polymer": "5.1.0-alpha.39",
"@storybook/preact": "5.1.0-alpha.39",
"@storybook/react": "5.1.0-alpha.39",
"@storybook/react-native": "5.1.0-alpha.39",
"@storybook/riot": "5.1.0-alpha.39",
"@storybook/svelte": "5.1.0-alpha.39",
"@storybook/ui": "5.1.0-alpha.39",
"@storybook/vue": "5.1.0-alpha.39"
"@storybook/addon-actions": "5.1.0-beta.0",
"@storybook/addon-centered": "5.1.0-beta.0",
"@storybook/addon-graphql": "5.1.0-beta.0",
"@storybook/addon-info": "5.1.0-beta.0",
"@storybook/addon-knobs": "5.1.0-beta.0",
"@storybook/addon-links": "5.1.0-beta.0",
"@storybook/addon-notes": "5.1.0-beta.0",
"@storybook/addon-options": "5.1.0-beta.0",
"@storybook/addon-storyshots": "5.1.0-beta.0",
"@storybook/addons": "5.1.0-beta.0",
"@storybook/angular": "5.1.0-beta.0",
"@storybook/channel-postmessage": "5.1.0-beta.0",
"@storybook/channel-websocket": "5.1.0-beta.0",
"@storybook/channels": "5.1.0-beta.0",
"@storybook/ember": "5.1.0-beta.0",
"@storybook/html": "5.1.0-beta.0",
"@storybook/marko": "5.1.0-beta.0",
"@storybook/mithril": "5.1.0-beta.0",
"@storybook/polymer": "5.1.0-beta.0",
"@storybook/preact": "5.1.0-beta.0",
"@storybook/react": "5.1.0-beta.0",
"@storybook/react-native": "5.1.0-beta.0",
"@storybook/riot": "5.1.0-beta.0",
"@storybook/svelte": "5.1.0-beta.0",
"@storybook/ui": "5.1.0-beta.0",
"@storybook/vue": "5.1.0-beta.0"
},
"publishConfig": {
"access": "public"

View File

@ -20,7 +20,7 @@
"@angular/platform-browser": "^6.1.0",
"@angular/platform-browser-dynamic": "^6.1.0",
"@angular/router": "^6.1.0",
"core-js": "^2.5.4",
"core-js": "^3.0.1",
"rxjs": "~6.2.0",
"zone.js": "~0.8.26"
},

View File

@ -38,12 +38,11 @@
// import 'classlist.js'; // Run `npm install --save classlist.js`.
/** IE10 and IE11 requires the following for the Reflect API. */
import 'core-js/es6/reflect';
import 'core-js/es/reflect';
/** Evergreen browsers require these. **/
// Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove.
import 'core-js/es7/reflect';
import 'core-js/proposals/reflect-metadata';
/**

View File

@ -20,7 +20,7 @@
"@angular/platform-browser": "~7.0.0",
"@angular/platform-browser-dynamic": "~7.0.0",
"@angular/router": "~7.0.0",
"core-js": "^2.6.5",
"core-js": "^3.0.1",
"rxjs": "~6.3.3",
"zone.js": "~0.8.26"
},

View File

@ -45,8 +45,8 @@
// import 'classlist.js'; // Run `npm install --save classlist.js`.
/** IE10 and IE11 requires the following for the Reflect API. */
import 'core-js/es6/reflect';
import 'core-js/es7/reflect';
import 'core-js/es/reflect';
import 'core-js/proposals/reflect-metadata';
/**
* Web Animations `@angular/platform-browser/animations`

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/client-api",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Storybook Client API",
"keywords": [
"storybook"
@ -20,12 +20,12 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.1.0-alpha.39",
"@storybook/client-logger": "5.1.0-alpha.39",
"@storybook/core-events": "5.1.0-alpha.39",
"@storybook/router": "5.1.0-alpha.39",
"@storybook/addons": "5.1.0-beta.0",
"@storybook/client-logger": "5.1.0-beta.0",
"@storybook/core-events": "5.1.0-beta.0",
"@storybook/router": "5.1.0-beta.0",
"common-tags": "^1.8.0",
"core-js": "^2.6.5",
"core-js": "^3.0.1",
"eventemitter3": "^3.1.0",
"global": "^4.3.2",
"is-plain-object": "^2.0.4",

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/client-logger",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "",
"keywords": [
"storybook"
@ -21,7 +21,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"core-js": "^2.6.5"
"core-js": "^3.0.1"
},
"publishConfig": {
"access": "public"

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/codemod",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "A collection of codemod scripts written with JSCodeshift",
"keywords": [
"storybook"
@ -21,7 +21,7 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"core-js": "^2.6.5",
"core-js": "^3.0.1",
"jscodeshift": "^0.6.3",
"regenerator-runtime": "^0.12.1"
},

View File

@ -1,6 +1,6 @@
{
"name": "@storybook/components",
"version": "5.1.0-alpha.39",
"version": "5.1.0-beta.0",
"description": "Core Storybook Components",
"keywords": [
"storybook"
@ -21,9 +21,9 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/client-logger": "5.1.0-alpha.39",
"@storybook/theming": "5.1.0-alpha.39",
"core-js": "^2.6.5",
"@storybook/client-logger": "5.1.0-beta.0",
"@storybook/theming": "5.1.0-beta.0",
"core-js": "^3.0.1",
"global": "^4.3.2",
"js-beautify": "^1.8.9",
"markdown-to-jsx": "^6.9.1",
@ -34,12 +34,12 @@
"react": "^16.8.4",
"react-dom": "^16.8.4",
"react-focus-lock": "^1.18.3",
"react-helmet-async": "^0.2.0",
"react-helmet-async": "^1.0.2",
"react-popper-tooltip": "^2.8.0",
"react-syntax-highlighter": "^8.0.1",
"react-textarea-autosize": "^7.1.0",
"recompose": "^0.30.0",
"simplebar-react": "^0.1.5"
"simplebar-react": "^1.0.0-alpha.6"
},
"devDependencies": {
"@types/js-beautify": "^1.8.0",

Some files were not shown because too many files have changed in this diff Show More