mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 23:01:16 +08:00
Merge branch 'next' into dependabot/npm_and_yarn/recast-0.19.0
This commit is contained in:
commit
ba851525de
37
CHANGELOG.md
37
CHANGELOG.md
@ -1,3 +1,40 @@
|
||||
## 6.0.0-alpha.35 (April 16, 2020)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- Core: Fix static build with DLL ([#10377](https://github.com/storybookjs/storybook/pull/10377))
|
||||
- Addon-Docs: Fix Args table generation for story with no component ([#10436](https://github.com/storybookjs/storybook/pull/10436))
|
||||
|
||||
### Maintenance
|
||||
|
||||
- Yarn 2: Fix compatibility with `.storybook/preview.js` file ([#10342](https://github.com/storybookjs/storybook/pull/10342))
|
||||
- Official-storybook: Fix passArgsFirst problems ([#10432](https://github.com/storybookjs/storybook/pull/10432))
|
||||
|
||||
## 6.0.0-alpha.34 (April 15, 2020)
|
||||
|
||||
### Breaking Changes
|
||||
|
||||
- Addon-A11y: Remove decorator in favor of parameter configuration ([#10381](https://github.com/storybookjs/storybook/pull/10381))
|
||||
|
||||
### Features
|
||||
|
||||
- Addon-docs: Add controls to ArgsTable ([#10354](https://github.com/storybookjs/storybook/pull/10354))
|
||||
- CLI: Reuse existing chromium tab if possible ([#10329](https://github.com/storybookjs/storybook/pull/10329))
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- Core: Fix main.js `stories` regex to glob conversion ([#10400](https://github.com/storybookjs/storybook/pull/10400))
|
||||
- Composition: Fix ref getSourceType for URL paths with index.html ([#10421](https://github.com/storybookjs/storybook/pull/10421))
|
||||
- Core: Add .cjs files for main.js config ([#10358](https://github.com/storybookjs/storybook/pull/10358))
|
||||
|
||||
### Dependency Upgrades
|
||||
|
||||
- Bump @types/react-select from 2.0.19 to 3.0.11 ([#10262](https://github.com/storybookjs/storybook/pull/10262))
|
||||
- Bump strip-json-comments from 3.0.1 to 3.1.0 ([#10334](https://github.com/storybookjs/storybook/pull/10334))
|
||||
- Bump axe version to 3.5.3 ([#10375](https://github.com/storybookjs/storybook/pull/10375))
|
||||
- Bump markdown-to-jsx from 6.11.0 to 6.11.1 ([#10331](https://github.com/storybookjs/storybook/pull/10331))
|
||||
- Bump semver from 7.1.3 to 7.2.2 ([#10385](https://github.com/storybookjs/storybook/pull/10385))
|
||||
|
||||
## 6.0.0-alpha.33 (April 14, 2020)
|
||||
|
||||
### Breaking prerelease
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-a11y",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "a11y addon for storybook",
|
||||
"keywords": [
|
||||
"a11y",
|
||||
@ -33,14 +33,14 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/api": "6.0.0-alpha.33",
|
||||
"@storybook/channels": "6.0.0-alpha.33",
|
||||
"@storybook/client-api": "6.0.0-alpha.33",
|
||||
"@storybook/client-logger": "6.0.0-alpha.33",
|
||||
"@storybook/components": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/theming": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/api": "6.0.0-alpha.35",
|
||||
"@storybook/channels": "6.0.0-alpha.35",
|
||||
"@storybook/client-api": "6.0.0-alpha.35",
|
||||
"@storybook/client-logger": "6.0.0-alpha.35",
|
||||
"@storybook/components": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"@storybook/theming": "6.0.0-alpha.35",
|
||||
"axe-core": "^3.5.2",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
|
@ -28,13 +28,7 @@ const run = async (storyId: string) => {
|
||||
|
||||
if (!active) {
|
||||
active = true;
|
||||
const {
|
||||
element = getElement(),
|
||||
config,
|
||||
options = {
|
||||
restoreScroll: true,
|
||||
},
|
||||
} = input;
|
||||
const { element = getElement(), config, options } = input;
|
||||
axe.reset();
|
||||
if (config) {
|
||||
axe.configure(config);
|
||||
@ -50,10 +44,18 @@ const run = async (storyId: string) => {
|
||||
}
|
||||
};
|
||||
|
||||
/** Returns story parameters or default ones. */
|
||||
const getParams = (storyId: string): Setup => {
|
||||
// eslint-disable-next-line no-underscore-dangle
|
||||
const { parameters } = window.__STORYBOOK_STORY_STORE__._stories[storyId] || {};
|
||||
return parameters.a11y;
|
||||
return (
|
||||
parameters.a11y || {
|
||||
config: {},
|
||||
options: {
|
||||
restoreScroll: true,
|
||||
},
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
channel.on(STORY_RENDERED, run);
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-actions",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Action Logger addon for storybook",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -28,12 +28,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/api": "6.0.0-alpha.33",
|
||||
"@storybook/client-api": "6.0.0-alpha.33",
|
||||
"@storybook/components": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/theming": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/api": "6.0.0-alpha.35",
|
||||
"@storybook/client-api": "6.0.0-alpha.35",
|
||||
"@storybook/components": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"@storybook/theming": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"fast-deep-equal": "^3.1.1",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-backgrounds",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "A storybook addon to show different backgrounds for your preview",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -32,12 +32,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/api": "6.0.0-alpha.33",
|
||||
"@storybook/client-logger": "6.0.0-alpha.33",
|
||||
"@storybook/components": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/theming": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/api": "6.0.0-alpha.35",
|
||||
"@storybook/client-logger": "6.0.0-alpha.35",
|
||||
"@storybook/components": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"@storybook/theming": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"memoizerific": "^1.11.3",
|
||||
"react": "^16.8.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-contexts",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook Addon Contexts",
|
||||
"keywords": [
|
||||
"preact",
|
||||
@ -28,10 +28,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/api": "6.0.0-alpha.33",
|
||||
"@storybook/components": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/api": "6.0.0-alpha.35",
|
||||
"@storybook/components": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"qs": "^6.6.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-cssresources",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "A storybook addon to switch between css resources at runtime for your story",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -32,11 +32,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/api": "6.0.0-alpha.33",
|
||||
"@storybook/components": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/theming": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/api": "6.0.0-alpha.35",
|
||||
"@storybook/components": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"@storybook/theming": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"react": "^16.8.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-design-assets",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Design asset preview for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -34,12 +34,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/api": "6.0.0-alpha.33",
|
||||
"@storybook/client-logger": "6.0.0-alpha.33",
|
||||
"@storybook/components": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/theming": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/api": "6.0.0-alpha.35",
|
||||
"@storybook/client-logger": "6.0.0-alpha.35",
|
||||
"@storybook/components": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"@storybook/theming": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"react": "^16.8.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-docs",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Superior documentation for your components",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -48,16 +48,16 @@
|
||||
"@mdx-js/loader": "^1.5.1",
|
||||
"@mdx-js/mdx": "^1.5.1",
|
||||
"@mdx-js/react": "^1.5.1",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/api": "6.0.0-alpha.33",
|
||||
"@storybook/client-api": "6.0.0-alpha.33",
|
||||
"@storybook/components": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/api": "6.0.0-alpha.35",
|
||||
"@storybook/client-api": "6.0.0-alpha.35",
|
||||
"@storybook/components": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/node-logger": "6.0.0-alpha.33",
|
||||
"@storybook/postinstall": "6.0.0-alpha.33",
|
||||
"@storybook/source-loader": "6.0.0-alpha.33",
|
||||
"@storybook/theming": "6.0.0-alpha.33",
|
||||
"@storybook/node-logger": "6.0.0-alpha.35",
|
||||
"@storybook/postinstall": "6.0.0-alpha.35",
|
||||
"@storybook/source-loader": "6.0.0-alpha.35",
|
||||
"@storybook/theming": "6.0.0-alpha.35",
|
||||
"acorn": "^7.1.0",
|
||||
"acorn-jsx": "^5.1.0",
|
||||
"acorn-walk": "^7.0.0",
|
||||
@ -83,8 +83,8 @@
|
||||
"@babel/core": "^7.8.4",
|
||||
"@emotion/core": "^10.0.20",
|
||||
"@emotion/styled": "^10.0.17",
|
||||
"@storybook/react": "6.0.0-alpha.33",
|
||||
"@storybook/web-components": "6.0.0-alpha.33",
|
||||
"@storybook/react": "6.0.0-alpha.35",
|
||||
"@storybook/web-components": "6.0.0-alpha.35",
|
||||
"@types/doctrine": "^0.0.3",
|
||||
"@types/enzyme": "^3.10.3",
|
||||
"@types/jest": "^25.1.1",
|
||||
|
@ -12,33 +12,12 @@ const isSubset = (kind: string, subset: object, superset: object) => {
|
||||
};
|
||||
|
||||
export const enhanceArgTypes: ArgTypesEnhancer = (context) => {
|
||||
const {
|
||||
component,
|
||||
subcomponents,
|
||||
argTypes: userArgTypes = {},
|
||||
docs = {},
|
||||
args = {},
|
||||
} = context.parameters;
|
||||
const { component, argTypes: userArgTypes = {}, docs = {}, args = {} } = context.parameters;
|
||||
const { extractArgTypes } = docs;
|
||||
|
||||
const namedArgTypes = mapValues(userArgTypes, (val, key) => ({ name: key, ...val }));
|
||||
const inferredArgTypes = inferArgTypes(args);
|
||||
const components = { Primary: component, ...subcomponents };
|
||||
let extractedArgTypes: ArgTypes = {};
|
||||
|
||||
if (extractArgTypes && components) {
|
||||
const componentArgTypes = mapValues(components, (comp) => extractArgTypes(comp));
|
||||
extractedArgTypes = Object.entries(componentArgTypes).reduce((acc, [label, compTypes]) => {
|
||||
if (compTypes) {
|
||||
Object.entries(compTypes).forEach(([key, argType]) => {
|
||||
if (label === 'Primary') {
|
||||
acc[key] = argType;
|
||||
}
|
||||
});
|
||||
}
|
||||
return acc;
|
||||
}, {} as ArgTypes);
|
||||
}
|
||||
let extractedArgTypes: ArgTypes = extractArgTypes && component ? extractArgTypes(component) : {};
|
||||
|
||||
if (
|
||||
(Object.keys(userArgTypes).length > 0 &&
|
||||
|
@ -2,7 +2,6 @@ import React, { useState } from 'react';
|
||||
import mapValues from 'lodash/mapValues';
|
||||
import { storiesOf } from '@storybook/react';
|
||||
import { ArgsTable } from '@storybook/components';
|
||||
import { action } from '@storybook/addon-actions';
|
||||
import { Args } from '@storybook/api';
|
||||
import { combineParameters } from '@storybook/client-api';
|
||||
|
||||
@ -102,7 +101,6 @@ const issuesStories = storiesOf('ArgTypes/Issues', module);
|
||||
issuesFixtures.forEach((fixture) => {
|
||||
// eslint-disable-next-line import/no-dynamic-require, global-require
|
||||
const { component } = require(`./__testfixtures__/${fixture}/input`);
|
||||
const props = argsTableProps(component);
|
||||
|
||||
issuesStories.add(fixture, () => <ArgsTable {...props} updateArgs={action('updateArgs')} />);
|
||||
issuesStories.add(fixture, () => <ArgsStory component={component} />);
|
||||
});
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-essentials",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Curated addons to bring out the best of Storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -28,11 +28,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.33",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/api": "6.0.0-alpha.33",
|
||||
"@storybook/node-logger": "6.0.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.35",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.35",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/api": "6.0.0-alpha.35",
|
||||
"@storybook/node-logger": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"regenerator-runtime": "^0.13.3",
|
||||
"ts-dedent": "^1.1.1"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-events",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Add events to your Storybook stories.",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -31,11 +31,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/api": "6.0.0-alpha.33",
|
||||
"@storybook/client-api": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/theming": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/api": "6.0.0-alpha.35",
|
||||
"@storybook/client-api": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"@storybook/theming": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"format-json": "^1.0.3",
|
||||
"lodash": "^4.17.15",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-google-analytics",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook addon for google analytics",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -20,8 +20,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"react-ga": "^2.5.7",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-graphql",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook addon to display the GraphiQL IDE",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -30,8 +30,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/plugin-transform-classes": "^7.9.2",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/api": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/api": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"graphiql": "^0.17.5",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-jest",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "React storybook addon that show component jest report",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -35,11 +35,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/api": "6.0.0-alpha.33",
|
||||
"@storybook/components": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/theming": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/api": "6.0.0-alpha.35",
|
||||
"@storybook/components": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"@storybook/theming": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"react": "^16.8.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-knobs",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook Addon Prop Editor Component",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -29,13 +29,13 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/api": "6.0.0-alpha.33",
|
||||
"@storybook/channels": "6.0.0-alpha.33",
|
||||
"@storybook/client-api": "6.0.0-alpha.33",
|
||||
"@storybook/components": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/theming": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/api": "6.0.0-alpha.35",
|
||||
"@storybook/channels": "6.0.0-alpha.35",
|
||||
"@storybook/client-api": "6.0.0-alpha.35",
|
||||
"@storybook/components": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"@storybook/theming": "6.0.0-alpha.35",
|
||||
"@types/react-color": "^3.0.1",
|
||||
"copy-to-clipboard": "^3.0.8",
|
||||
"core-js": "^3.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-links",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Story Links addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -29,11 +29,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/client-logger": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/client-logger": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/router": "6.0.0-alpha.33",
|
||||
"@storybook/router": "6.0.0-alpha.35",
|
||||
"@types/qs": "^6.9.0",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-queryparams",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "parameter addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -30,12 +30,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/api": "6.0.0-alpha.33",
|
||||
"@storybook/client-logger": "6.0.0-alpha.33",
|
||||
"@storybook/components": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/theming": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/api": "6.0.0-alpha.35",
|
||||
"@storybook/client-logger": "6.0.0-alpha.35",
|
||||
"@storybook/components": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"@storybook/theming": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"qs": "^6.6.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-storyshots",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -33,9 +33,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@jest/transform": "^25.2.4",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/client-api": "6.0.0-alpha.33",
|
||||
"@storybook/core": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/client-api": "6.0.0-alpha.35",
|
||||
"@storybook/core": "6.0.0-alpha.35",
|
||||
"@types/glob": "^7.1.1",
|
||||
"@types/jest": "^25.1.1",
|
||||
"@types/jest-specific-snapshot": "^0.5.3",
|
||||
@ -50,8 +50,8 @@
|
||||
"ts-dedent": "^1.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-docs": "6.0.0-alpha.33",
|
||||
"@storybook/react": "6.0.0-alpha.33",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.35",
|
||||
"@storybook/react": "6.0.0-alpha.35",
|
||||
"babel-loader": "^8.0.6",
|
||||
"enzyme": "^3.11.0",
|
||||
"enzyme-to-json": "^3.4.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-storyshots-puppeteer",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Image snapshots addition to StoryShots based on puppeteer",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -30,7 +30,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/node-logger": "6.0.0-alpha.33",
|
||||
"@storybook/node-logger": "6.0.0-alpha.35",
|
||||
"@types/jest-image-snapshot": "^2.8.0",
|
||||
"@wordpress/jest-puppeteer-axe": "^1.5.0",
|
||||
"core-js": "^3.0.1",
|
||||
@ -42,7 +42,7 @@
|
||||
"@types/puppeteer": "^2.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.35",
|
||||
"puppeteer": "^1.12.2 || ^2.0.0"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-storysource",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Stories addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -29,13 +29,13 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/api": "6.0.0-alpha.33",
|
||||
"@storybook/client-logger": "6.0.0-alpha.33",
|
||||
"@storybook/components": "6.0.0-alpha.33",
|
||||
"@storybook/router": "6.0.0-alpha.33",
|
||||
"@storybook/source-loader": "6.0.0-alpha.33",
|
||||
"@storybook/theming": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/api": "6.0.0-alpha.35",
|
||||
"@storybook/client-logger": "6.0.0-alpha.35",
|
||||
"@storybook/components": "6.0.0-alpha.35",
|
||||
"@storybook/router": "6.0.0-alpha.35",
|
||||
"@storybook/source-loader": "6.0.0-alpha.35",
|
||||
"@storybook/theming": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"estraverse": "^4.2.0",
|
||||
"loader-utils": "^2.0.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-toolbars",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook toolbars addon",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -30,10 +30,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/api": "6.0.0-alpha.33",
|
||||
"@storybook/client-api": "6.0.0-alpha.33",
|
||||
"@storybook/components": "6.0.0-alpha.33"
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/api": "6.0.0-alpha.35",
|
||||
"@storybook/client-api": "6.0.0-alpha.35",
|
||||
"@storybook/components": "6.0.0-alpha.35"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "*"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-viewport",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook addon to change the viewport size to mobile",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -29,12 +29,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/api": "6.0.0-alpha.33",
|
||||
"@storybook/client-logger": "6.0.0-alpha.33",
|
||||
"@storybook/components": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/theming": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/api": "6.0.0-alpha.35",
|
||||
"@storybook/client-logger": "6.0.0-alpha.35",
|
||||
"@storybook/components": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"@storybook/theming": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"memoizerific": "^1.11.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/angular",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -34,9 +34,9 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/core": "6.0.0-alpha.33",
|
||||
"@storybook/node-logger": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/core": "6.0.0-alpha.35",
|
||||
"@storybook/node-logger": "6.0.0-alpha.35",
|
||||
"@types/webpack-env": "^1.15.1",
|
||||
"core-js": "^3.0.1",
|
||||
"fork-ts-checker-webpack-plugin": "^4.0.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/ember",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.",
|
||||
"homepage": "https://github.com/storybookjs/storybook/tree/master/app/ember",
|
||||
"bugs": {
|
||||
@ -32,7 +32,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@ember/test-helpers": "^1.7.0",
|
||||
"@storybook/core": "6.0.0-alpha.33",
|
||||
"@storybook/core": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"regenerator-runtime": "^0.13.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/html",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -34,8 +34,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/core": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/core": "6.0.0-alpha.35",
|
||||
"@types/webpack-env": "^1.15.1",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/marionette",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook for Marionette: Develop Marionette.js component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -25,7 +25,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "6.0.0-alpha.33",
|
||||
"@storybook/core": "6.0.0-alpha.35",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/marko",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -34,8 +34,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@marko/webpack": "^2.1.0",
|
||||
"@storybook/client-logger": "6.0.0-alpha.33",
|
||||
"@storybook/core": "6.0.0-alpha.33",
|
||||
"@storybook/client-logger": "6.0.0-alpha.35",
|
||||
"@storybook/core": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"regenerator-runtime": "^0.13.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/mithril",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook for Mithril: Develop Mithril Component in isolation.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -36,8 +36,8 @@
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.8.4",
|
||||
"@babel/plugin-transform-react-jsx": "^7.3.0",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/core": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/core": "6.0.0-alpha.35",
|
||||
"@types/mithril": "^2.0.0",
|
||||
"@types/webpack-env": "^1.15.1",
|
||||
"core-js": "^3.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/preact",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook for Preact: Develop Preact Component in isolation.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -35,8 +35,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/plugin-transform-react-jsx": "^7.3.0",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/core": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/core": "6.0.0-alpha.35",
|
||||
"@types/webpack-env": "^1.15.1",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/rax",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook for Rax: Develop Rax Component in isolation.",
|
||||
"keywords": [
|
||||
"rax",
|
||||
@ -34,7 +34,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "6.0.0-alpha.33",
|
||||
"@storybook/core": "6.0.0-alpha.35",
|
||||
"babel-preset-rax": "^1.0.0-beta.0",
|
||||
"core-js": "^3.0.1",
|
||||
"driver-dom": "^2.0.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/react",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -37,9 +37,9 @@
|
||||
"@babel/plugin-transform-react-constant-elements": "^7.6.3",
|
||||
"@babel/preset-flow": "^7.0.0",
|
||||
"@babel/preset-react": "^7.0.0",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/core": "6.0.0-alpha.33",
|
||||
"@storybook/node-logger": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/core": "6.0.0-alpha.35",
|
||||
"@storybook/node-logger": "6.0.0-alpha.35",
|
||||
"@svgr/webpack": "^5.1.0",
|
||||
"@types/webpack-env": "^1.15.1",
|
||||
"babel-plugin-add-react-displayname": "^0.0.5",
|
||||
@ -57,7 +57,7 @@
|
||||
"webpack": "^4.33.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/client-api": "6.0.0-alpha.33",
|
||||
"@storybook/client-api": "6.0.0-alpha.35",
|
||||
"@types/mini-css-extract-plugin": "^0.9.0",
|
||||
"@types/node": "^13.9.5",
|
||||
"@types/webpack": "^4.41.9"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/riot",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -34,7 +34,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "6.0.0-alpha.33",
|
||||
"@storybook/core": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"raw-loader": "^4.0.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/server",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook for Server: View HTML snippets from a server in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -34,8 +34,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/core": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/core": "6.0.0-alpha.35",
|
||||
"@storybook/node-logger": "^5.2.8",
|
||||
"@types/webpack-env": "^1.13.9",
|
||||
"core-js": "^3.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/svelte",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -34,8 +34,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/core": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/core": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"regenerator-runtime": "^0.13.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/vue",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -34,8 +34,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/core": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/core": "6.0.0-alpha.35",
|
||||
"@types/webpack-env": "^1.15.1",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/web-components",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"lit-html",
|
||||
@ -38,8 +38,8 @@
|
||||
"dependencies": {
|
||||
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
||||
"@babel/plugin-syntax-import-meta": "^7.2.0",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/core": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/core": "6.0.0-alpha.35",
|
||||
"@types/webpack-env": "^1.15.1",
|
||||
"babel-plugin-bundled-import-meta": "^0.3.1",
|
||||
"core-js": "^3.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-decorator",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "decorator addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -24,8 +24,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/client-api": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/client-api": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.4.0"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-parameter",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "parameter addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -24,12 +24,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/api": "6.0.0-alpha.33",
|
||||
"@storybook/client-logger": "6.0.0-alpha.33",
|
||||
"@storybook/components": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/theming": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/api": "6.0.0-alpha.35",
|
||||
"@storybook/client-logger": "6.0.0-alpha.35",
|
||||
"@storybook/components": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"@storybook/theming": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"react": "^16.8.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-preview-wrapper",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "preview wrapper addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -24,7 +24,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"react": "^16.8.3"
|
||||
},
|
||||
"publishConfig": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-roundtrip",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "roundtrip addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -24,13 +24,13 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/api": "6.0.0-alpha.33",
|
||||
"@storybook/client-api": "6.0.0-alpha.33",
|
||||
"@storybook/client-logger": "6.0.0-alpha.33",
|
||||
"@storybook/components": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/theming": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/api": "6.0.0-alpha.35",
|
||||
"@storybook/client-api": "6.0.0-alpha.35",
|
||||
"@storybook/client-logger": "6.0.0-alpha.35",
|
||||
"@storybook/components": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"@storybook/theming": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"react": "^16.8.3",
|
||||
|
@ -1 +1 @@
|
||||
{"version":"6.0.0-alpha.33","info":{"plain":"### Breaking prerelease\n\n- Core: Rename ParameterEnhancer to ArgsEnhancer ([#10398](https://github.com/storybookjs/storybook/pull/10398))\n\n### Bug Fixes\n\n- Core: Fix `webpackFinal` being called twice ([#10402](https://github.com/storybookjs/storybook/pull/10402))\n- Core: Fix legacy redirect ([#10404](https://github.com/storybookjs/storybook/pull/10404))\n\n### Maintenance\n\n- CLI: Update fixtures used for CLI tests ([#10396](https://github.com/storybookjs/storybook/pull/10396))\n- Build: Update bootstrap to install optional deps on CI ([#10408](https://github.com/storybookjs/storybook/pull/10408))\n- Addon-docs: Format source at render time ([#10383](https://github.com/storybookjs/storybook/pull/10383))"}}
|
||||
{"version":"6.0.0-alpha.35","info":{"plain":"### Bug Fixes\n\n- Core: Fix static build with DLL ([#10377](https://github.com/storybookjs/storybook/pull/10377))\n- Addon-Docs: Fix Args table generation for story with no component ([#10436](https://github.com/storybookjs/storybook/pull/10436))\n\n### Maintenance\n\n- Yarn 2: Fix compatibility with `.storybook/preview.js` file ([#10342](https://github.com/storybookjs/storybook/pull/10342))\n- Official-storybook: Fix passArgsFirst problems ([#10432](https://github.com/storybookjs/storybook/pull/10432))"}}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "angular-cli",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"private": true,
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
@ -37,18 +37,18 @@
|
||||
"@angular/cli": "^9.1.0",
|
||||
"@angular/compiler-cli": "^9.1.0",
|
||||
"@compodoc/compodoc": "^1.1.11",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.33",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.33",
|
||||
"@storybook/addon-jest": "6.0.0-alpha.33",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.33",
|
||||
"@storybook/addon-links": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/angular": "6.0.0-alpha.33",
|
||||
"@storybook/source-loader": "6.0.0-alpha.33",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.35",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.35",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.35",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.35",
|
||||
"@storybook/addon-jest": "6.0.0-alpha.35",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.35",
|
||||
"@storybook/addon-links": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.35",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/angular": "6.0.0-alpha.35",
|
||||
"@storybook/source-loader": "6.0.0-alpha.35",
|
||||
"@types/core-js": "^2.5.0",
|
||||
"@types/jest": "^25.1.1",
|
||||
"@types/node": "^13.9.5",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-kitchen-sink",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -18,19 +18,19 @@
|
||||
"react-lifecycles-compat": "^3.0.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.33",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.33",
|
||||
"@storybook/addon-events": "6.0.0-alpha.33",
|
||||
"@storybook/addon-jest": "6.0.0-alpha.33",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.33",
|
||||
"@storybook/addon-links": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/client-logger": "6.0.0-alpha.33",
|
||||
"@storybook/react": "6.0.0-alpha.33",
|
||||
"@storybook/theming": "6.0.0-alpha.33",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.35",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.35",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.35",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.35",
|
||||
"@storybook/addon-events": "6.0.0-alpha.35",
|
||||
"@storybook/addon-jest": "6.0.0-alpha.35",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.35",
|
||||
"@storybook/addon-links": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.35",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/client-logger": "6.0.0-alpha.35",
|
||||
"@storybook/react": "6.0.0-alpha.35",
|
||||
"@storybook/theming": "6.0.0-alpha.35",
|
||||
"react-scripts": "^3.0.1"
|
||||
},
|
||||
"storybook": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-react15",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -18,11 +18,11 @@
|
||||
"react-scripts": "3.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-actions": "6.0.0-alpha.33",
|
||||
"@storybook/addon-links": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/react": "6.0.0-alpha.33",
|
||||
"@storybook/theming": "6.0.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.35",
|
||||
"@storybook/addon-links": "6.0.0-alpha.35",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/react": "6.0.0-alpha.35",
|
||||
"@storybook/theming": "6.0.0-alpha.35",
|
||||
"babel-core": "6",
|
||||
"babel-runtime": "6"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-ts-essentials",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -34,10 +34,10 @@
|
||||
"typescript": "3.8.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-essentials": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/addon-essentials": "6.0.0-alpha.35",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/preset-create-react-app": "^2.1.1",
|
||||
"@storybook/react": "6.0.0-alpha.33"
|
||||
"@storybook/react": "6.0.0-alpha.35"
|
||||
},
|
||||
"storybook": {
|
||||
"chromatic": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-ts-kitchen-sink",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -34,13 +34,13 @@
|
||||
"typescript": "3.8.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.33",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.33",
|
||||
"@storybook/addon-links": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.35",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.35",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.35",
|
||||
"@storybook/addon-links": "6.0.0-alpha.35",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/preset-create-react-app": "^2.1.1",
|
||||
"@storybook/react": "6.0.0-alpha.33",
|
||||
"@storybook/react": "6.0.0-alpha.35",
|
||||
"@types/enzyme": "^3.9.0",
|
||||
"enzyme": "^3.9.0",
|
||||
"enzyme-adapter-react-16": "^1.9.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/example-devkits",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./",
|
||||
@ -8,18 +8,18 @@
|
||||
"storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./ --no-dll"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-decorator": "6.0.0-alpha.33",
|
||||
"@storybook/addon-parameter": "6.0.0-alpha.33",
|
||||
"@storybook/addon-preview-wrapper": "6.0.0-alpha.33",
|
||||
"@storybook/addon-roundtrip": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/api": "6.0.0-alpha.33",
|
||||
"@storybook/client-api": "6.0.0-alpha.33",
|
||||
"@storybook/components": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/node-logger": "6.0.0-alpha.33",
|
||||
"@storybook/react": "6.0.0-alpha.33",
|
||||
"@storybook/theming": "6.0.0-alpha.33",
|
||||
"@storybook/addon-decorator": "6.0.0-alpha.35",
|
||||
"@storybook/addon-parameter": "6.0.0-alpha.35",
|
||||
"@storybook/addon-preview-wrapper": "6.0.0-alpha.35",
|
||||
"@storybook/addon-roundtrip": "6.0.0-alpha.35",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/api": "6.0.0-alpha.35",
|
||||
"@storybook/client-api": "6.0.0-alpha.35",
|
||||
"@storybook/components": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"@storybook/node-logger": "6.0.0-alpha.35",
|
||||
"@storybook/react": "6.0.0-alpha.35",
|
||||
"@storybook/theming": "6.0.0-alpha.35",
|
||||
"cors": "^2.8.5",
|
||||
"cross-env": "^7.0.0",
|
||||
"enzyme-to-json": "^3.4.1",
|
||||
|
@ -1 +0,0 @@
|
||||
module.exports = ['@storybook/addon-docs/preset'];
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ember-example",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "ember build --output-path ember-output",
|
||||
@ -16,18 +16,18 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.8.4",
|
||||
"@ember/optional-features": "^1.3.0",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.33",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.33",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.33",
|
||||
"@storybook/addon-links": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.33",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/ember": "6.0.0-alpha.33",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.35",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.35",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.35",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.35",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.35",
|
||||
"@storybook/addon-links": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.35",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.35",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/ember": "6.0.0-alpha.35",
|
||||
"@storybook/ember-cli-storybook": "^0.2.1",
|
||||
"@storybook/source-loader": "6.0.0-alpha.33",
|
||||
"@storybook/source-loader": "6.0.0-alpha.35",
|
||||
"babel-loader": "^8",
|
||||
"broccoli-asset-rev": "^3.0.0",
|
||||
"cross-env": "^7.0.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "html-kitchen-sink",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"private": true,
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
@ -13,23 +13,23 @@
|
||||
"storybook": "start-storybook -p 9006"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.33",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.33",
|
||||
"@storybook/addon-events": "6.0.0-alpha.33",
|
||||
"@storybook/addon-jest": "6.0.0-alpha.33",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.33",
|
||||
"@storybook/addon-links": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.33",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/client-api": "6.0.0-alpha.33",
|
||||
"@storybook/core": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/html": "6.0.0-alpha.33",
|
||||
"@storybook/source-loader": "6.0.0-alpha.33",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.35",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.35",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.35",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.35",
|
||||
"@storybook/addon-events": "6.0.0-alpha.35",
|
||||
"@storybook/addon-jest": "6.0.0-alpha.35",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.35",
|
||||
"@storybook/addon-links": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.35",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.35",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/client-api": "6.0.0-alpha.35",
|
||||
"@storybook/core": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"@storybook/html": "6.0.0-alpha.35",
|
||||
"@storybook/source-loader": "6.0.0-alpha.35",
|
||||
"eventemitter3": "^4.0.0",
|
||||
"format-json": "^1.0.3",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "marko-cli",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"private": true,
|
||||
"description": "Demo of how to build an app using marko-starter",
|
||||
"repository": {
|
||||
@ -23,13 +23,13 @@
|
||||
"marko-starter": "^2.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.33",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/marko": "6.0.0-alpha.33",
|
||||
"@storybook/source-loader": "6.0.0-alpha.33",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.35",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.35",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.35",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/marko": "6.0.0-alpha.35",
|
||||
"@storybook/source-loader": "6.0.0-alpha.35",
|
||||
"prettier": "^2.0.2",
|
||||
"webpack": "^4.33.0"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mithril-example",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "build-storybook",
|
||||
@ -10,17 +10,17 @@
|
||||
"mithril": "^1.1.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.33",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.33",
|
||||
"@storybook/addon-links": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.33",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/mithril": "6.0.0-alpha.33",
|
||||
"@storybook/source-loader": "6.0.0-alpha.33",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.35",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.35",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.35",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.35",
|
||||
"@storybook/addon-links": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.35",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.35",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/mithril": "6.0.0-alpha.35",
|
||||
"@storybook/source-loader": "6.0.0-alpha.35",
|
||||
"webpack": "^4.33.0"
|
||||
},
|
||||
"storybook": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "official-storybook",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./",
|
||||
@ -14,32 +14,32 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@packtracker/webpack-plugin": "^2.0.1",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.33",
|
||||
"@storybook/addon-contexts": "6.0.0-alpha.33",
|
||||
"@storybook/addon-cssresources": "6.0.0-alpha.33",
|
||||
"@storybook/addon-design-assets": "6.0.0-alpha.33",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.33",
|
||||
"@storybook/addon-events": "6.0.0-alpha.33",
|
||||
"@storybook/addon-graphql": "6.0.0-alpha.33",
|
||||
"@storybook/addon-jest": "6.0.0-alpha.33",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.33",
|
||||
"@storybook/addon-links": "6.0.0-alpha.33",
|
||||
"@storybook/addon-queryparams": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storyshots-puppeteer": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.33",
|
||||
"@storybook/addon-toolbars": "6.0.0-alpha.33",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/cli": "6.0.0-alpha.33",
|
||||
"@storybook/components": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/node-logger": "6.0.0-alpha.33",
|
||||
"@storybook/react": "6.0.0-alpha.33",
|
||||
"@storybook/source-loader": "6.0.0-alpha.33",
|
||||
"@storybook/theming": "6.0.0-alpha.33",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.35",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.35",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.35",
|
||||
"@storybook/addon-contexts": "6.0.0-alpha.35",
|
||||
"@storybook/addon-cssresources": "6.0.0-alpha.35",
|
||||
"@storybook/addon-design-assets": "6.0.0-alpha.35",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.35",
|
||||
"@storybook/addon-events": "6.0.0-alpha.35",
|
||||
"@storybook/addon-graphql": "6.0.0-alpha.35",
|
||||
"@storybook/addon-jest": "6.0.0-alpha.35",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.35",
|
||||
"@storybook/addon-links": "6.0.0-alpha.35",
|
||||
"@storybook/addon-queryparams": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storyshots-puppeteer": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.35",
|
||||
"@storybook/addon-toolbars": "6.0.0-alpha.35",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.35",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/cli": "6.0.0-alpha.35",
|
||||
"@storybook/components": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"@storybook/node-logger": "6.0.0-alpha.35",
|
||||
"@storybook/react": "6.0.0-alpha.35",
|
||||
"@storybook/source-loader": "6.0.0-alpha.35",
|
||||
"@storybook/theming": "6.0.0-alpha.35",
|
||||
"cors": "^2.8.5",
|
||||
"cross-env": "^7.0.0",
|
||||
"enzyme-to-json": "^3.4.1",
|
||||
|
@ -26,8 +26,7 @@ const Themed = styled.div(({ theme }) => ({
|
||||
background: theme.background.content,
|
||||
}));
|
||||
|
||||
// eslint-disable-next-line react/prop-types
|
||||
export const Locale = ({ globalArgs: { locale } }) => {
|
||||
export const Locale = (_args, { globalArgs: { locale } }) => {
|
||||
return (
|
||||
<Themed style={{ fontSize: 30 }}>
|
||||
Your locale is '{locale}', so I say:
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* eslint-disable react/prop-types */
|
||||
import React from 'react';
|
||||
|
||||
// We would need to add this in config.js idiomatically however that would make this file a bit confusing
|
||||
@ -15,7 +14,7 @@ export default {
|
||||
|
||||
// I'm not sure what we should recommend regarding propTypes? are they a good idea for examples?
|
||||
// Given we sort of control the props, should we export a prop type?
|
||||
export const Passed = ({ parameters: { options, fileName, ...parameters }, ...rest }) => (
|
||||
export const Passed = (_args, { parameters: { options, fileName, ...parameters }, ...rest }) => (
|
||||
<pre>Parameters: {JSON.stringify(parameters, null, 2)}</pre>
|
||||
);
|
||||
Passed.story = {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "preact-example",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
@ -15,18 +15,18 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.8.4",
|
||||
"@babel/plugin-transform-runtime": "^7.2.0",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.33",
|
||||
"@storybook/addon-contexts": "6.0.0-alpha.33",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.33",
|
||||
"@storybook/addon-links": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.33",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/preact": "6.0.0-alpha.33",
|
||||
"@storybook/source-loader": "6.0.0-alpha.33",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.35",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.35",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.35",
|
||||
"@storybook/addon-contexts": "6.0.0-alpha.35",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.35",
|
||||
"@storybook/addon-links": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.35",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.35",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/preact": "6.0.0-alpha.35",
|
||||
"@storybook/source-loader": "6.0.0-alpha.35",
|
||||
"babel-loader": "^8.0.4",
|
||||
"cross-env": "^7.0.0",
|
||||
"file-loader": "^6.0.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "rax-kitchen-sink",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "build-scripts build",
|
||||
@ -20,20 +20,20 @@
|
||||
"devDependencies": {
|
||||
"@alib/build-scripts": "^0.1.8",
|
||||
"@babel/preset-react": "^7.7.4",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.33",
|
||||
"@storybook/addon-events": "6.0.0-alpha.33",
|
||||
"@storybook/addon-jest": "6.0.0-alpha.33",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.33",
|
||||
"@storybook/addon-links": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.33",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/rax": "6.0.0-alpha.33",
|
||||
"@storybook/source-loader": "6.0.0-alpha.33",
|
||||
"@storybook/theming": "6.0.0-alpha.33",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.35",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.35",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.35",
|
||||
"@storybook/addon-events": "6.0.0-alpha.35",
|
||||
"@storybook/addon-jest": "6.0.0-alpha.35",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.35",
|
||||
"@storybook/addon-links": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.35",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.35",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/rax": "6.0.0-alpha.35",
|
||||
"@storybook/source-loader": "6.0.0-alpha.35",
|
||||
"@storybook/theming": "6.0.0-alpha.35",
|
||||
"babel-eslint": "^10.0.3",
|
||||
"build-plugin-rax-app": "^0.2.0",
|
||||
"stylesheet-loader": "^0.8.0"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "riot-example",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
@ -15,17 +15,17 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.8.4",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.33",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.33",
|
||||
"@storybook/addon-links": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.33",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/riot": "6.0.0-alpha.33",
|
||||
"@storybook/source-loader": "6.0.0-alpha.33",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.35",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.35",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.35",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.35",
|
||||
"@storybook/addon-links": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.35",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.35",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/riot": "6.0.0-alpha.35",
|
||||
"@storybook/source-loader": "6.0.0-alpha.35",
|
||||
"babel-loader": "^8.0.4",
|
||||
"cross-env": "^7.0.0",
|
||||
"file-loader": "^6.0.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "server-kitchen-sink",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"private": true,
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
@ -14,13 +14,13 @@
|
||||
"storybook": "SERVER_PORT=1137 start-storybook -p 9006 --quiet"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.33",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.33",
|
||||
"@storybook/addon-links": "6.0.0-alpha.33",
|
||||
"@storybook/node-logger": "6.0.0-alpha.33",
|
||||
"@storybook/server": "6.0.0-alpha.33",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.35",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.35",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.35",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.35",
|
||||
"@storybook/addon-links": "6.0.0-alpha.35",
|
||||
"@storybook/node-logger": "6.0.0-alpha.35",
|
||||
"@storybook/server": "6.0.0-alpha.35",
|
||||
"concurrently": "^5.0.2",
|
||||
"cors": "^2.8.5",
|
||||
"express": "~4.17.1",
|
||||
|
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "standalone-preview",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"storybook": "parcel ./storybook.html --port 1337"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/react": "6.0.0-alpha.33",
|
||||
"@storybook/react": "6.0.0-alpha.35",
|
||||
"parcel": "^1.12.3",
|
||||
"react": "^16.8.4",
|
||||
"react-dom": "^16.8.4"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "svelte-example",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "build-storybook -s public",
|
||||
@ -10,18 +10,18 @@
|
||||
"global": "^4.3.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.33",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.33",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.33",
|
||||
"@storybook/addon-links": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.33",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/source-loader": "6.0.0-alpha.33",
|
||||
"@storybook/svelte": "6.0.0-alpha.33"
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.35",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.35",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.35",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.35",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.35",
|
||||
"@storybook/addon-links": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.35",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.35",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/source-loader": "6.0.0-alpha.35",
|
||||
"@storybook/svelte": "6.0.0-alpha.35"
|
||||
},
|
||||
"storybook": {
|
||||
"chromatic": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vue-example",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
@ -14,19 +14,19 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.8.4",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.33",
|
||||
"@storybook/addon-contexts": "6.0.0-alpha.33",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.33",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.33",
|
||||
"@storybook/addon-links": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.33",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/source-loader": "6.0.0-alpha.33",
|
||||
"@storybook/vue": "6.0.0-alpha.33",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.35",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.35",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.35",
|
||||
"@storybook/addon-contexts": "6.0.0-alpha.35",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.35",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.35",
|
||||
"@storybook/addon-links": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.35",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.35",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/source-loader": "6.0.0-alpha.35",
|
||||
"@storybook/vue": "6.0.0-alpha.35",
|
||||
"babel-core": "^7.0.0-bridge.0",
|
||||
"babel-loader": "^8.0.5",
|
||||
"cross-env": "^7.0.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "web-components-kitchen-sink",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"private": true,
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
@ -12,23 +12,23 @@
|
||||
"storybook": "start-storybook -p 9006"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.33",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.33",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.33",
|
||||
"@storybook/addon-events": "6.0.0-alpha.33",
|
||||
"@storybook/addon-jest": "6.0.0-alpha.33",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.33",
|
||||
"@storybook/addon-links": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.33",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/client-api": "6.0.0-alpha.33",
|
||||
"@storybook/core": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/source-loader": "6.0.0-alpha.33",
|
||||
"@storybook/web-components": "6.0.0-alpha.33",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.35",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.35",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.35",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.35",
|
||||
"@storybook/addon-events": "6.0.0-alpha.35",
|
||||
"@storybook/addon-jest": "6.0.0-alpha.35",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.35",
|
||||
"@storybook/addon-links": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.35",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.35",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/client-api": "6.0.0-alpha.35",
|
||||
"@storybook/core": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"@storybook/source-loader": "6.0.0-alpha.35",
|
||||
"@storybook/web-components": "6.0.0-alpha.35",
|
||||
"babel-loader": "^8.0.5",
|
||||
"eventemitter3": "^4.0.0",
|
||||
"format-json": "^1.0.3",
|
||||
|
@ -2,5 +2,5 @@
|
||||
"npmClient": "yarn",
|
||||
"useWorkspaces": true,
|
||||
"registry": "https://registry.npmjs.org",
|
||||
"version": "6.0.0-alpha.33"
|
||||
"version": "6.0.0-alpha.35"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addons",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook addons store",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -28,12 +28,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/api": "6.0.0-alpha.33",
|
||||
"@storybook/channels": "6.0.0-alpha.33",
|
||||
"@storybook/client-logger": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/router": "6.0.0-alpha.33",
|
||||
"@storybook/theming": "6.0.0-alpha.33",
|
||||
"@storybook/api": "6.0.0-alpha.35",
|
||||
"@storybook/channels": "6.0.0-alpha.35",
|
||||
"@storybook/client-logger": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"@storybook/router": "6.0.0-alpha.35",
|
||||
"@storybook/theming": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"regenerator-runtime": "^0.13.3"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/api",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Core Storybook API & Context",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -28,12 +28,12 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@reach/router": "^1.3.3",
|
||||
"@storybook/channels": "6.0.0-alpha.33",
|
||||
"@storybook/client-logger": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/channels": "6.0.0-alpha.35",
|
||||
"@storybook/client-logger": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/router": "6.0.0-alpha.33",
|
||||
"@storybook/theming": "6.0.0-alpha.33",
|
||||
"@storybook/router": "6.0.0-alpha.35",
|
||||
"@storybook/theming": "6.0.0-alpha.35",
|
||||
"@types/reach__router": "^1.2.3",
|
||||
"core-js": "^3.0.1",
|
||||
"fast-deep-equal": "^3.1.1",
|
||||
|
@ -1 +1 @@
|
||||
export const version = '6.0.0-alpha.33';
|
||||
export const version = '6.0.0-alpha.35';
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/channel-postmessage",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -28,9 +28,9 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/channels": "6.0.0-alpha.33",
|
||||
"@storybook/client-logger": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/channels": "6.0.0-alpha.35",
|
||||
"@storybook/client-logger": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"telejson": "^3.2.0"
|
||||
|
@ -170,10 +170,11 @@ export class PostmsgTransport {
|
||||
? `<span style="color: #FF4785">${event.type}</span>`
|
||||
: `<span style="color: #FFAE00">${event.type}</span>`;
|
||||
|
||||
event.source = source || getEventSourceUrl(rawEvent);
|
||||
event.source =
|
||||
source || this.config.page === 'preview' ? rawEvent.origin : getEventSourceUrl(rawEvent);
|
||||
|
||||
if (!event.source) {
|
||||
logger.error(
|
||||
pretty.error(
|
||||
`${pageString} received ${eventString} but was unable to determine the source of the event`
|
||||
);
|
||||
|
||||
@ -195,8 +196,7 @@ export class PostmsgTransport {
|
||||
}
|
||||
|
||||
const getEventSourceUrl = (event: MessageEvent) => {
|
||||
const frames: HTMLIFrameElement[] = [...document.getElementsByTagName('iframe')];
|
||||
|
||||
const frames = [...document.querySelectorAll('iframe[data-is-storybook]')];
|
||||
// try to find the originating iframe by matching it's contentWindow
|
||||
// This might not be cross-origin safe
|
||||
const [frame, ...remainder] = frames.filter((element) => {
|
||||
@ -217,15 +217,19 @@ const getEventSourceUrl = (event: MessageEvent) => {
|
||||
return origin === event.origin;
|
||||
});
|
||||
|
||||
// If we found multiple matches, there's going to be trouble
|
||||
if (remainder.length) {
|
||||
console.error('unable to locate origin of postmessage');
|
||||
return null;
|
||||
if (frame && remainder.length === 0) {
|
||||
const src = frame.getAttribute('src');
|
||||
const { origin, pathname } = new URL(src, document.location);
|
||||
return origin + pathname;
|
||||
}
|
||||
|
||||
const src = frame.getAttribute('src');
|
||||
const { origin, pathname } = new URL(src, document.location);
|
||||
return origin + pathname;
|
||||
if (remainder.length > 0) {
|
||||
// If we found multiple matches, there's going to be trouble
|
||||
logger.error('found multiple candidates for event source');
|
||||
}
|
||||
|
||||
// If we found no frames of matches
|
||||
return null;
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/channel-websocket",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -28,7 +28,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/channels": "6.0.0-alpha.33",
|
||||
"@storybook/channels": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"telejson": "^3.2.0"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/channels",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "sb",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook CLI",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -22,7 +22,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/cli": "6.0.0-alpha.33"
|
||||
"@storybook/cli": "6.0.0-alpha.35"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "storybook",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook CLI",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -23,7 +23,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/cli": "6.0.0-alpha.33"
|
||||
"@storybook/cli": "6.0.0-alpha.35"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/cli",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook's CLI - easiest method of adding storybook to your projects",
|
||||
"keywords": [
|
||||
"cli",
|
||||
@ -39,10 +39,10 @@
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.8.4",
|
||||
"@babel/preset-env": "^7.8.4",
|
||||
"@storybook/codemod": "6.0.0-alpha.33",
|
||||
"@storybook/node-logger": "6.0.0-alpha.33",
|
||||
"@storybook/codemod": "6.0.0-alpha.35",
|
||||
"@storybook/node-logger": "6.0.0-alpha.35",
|
||||
"chalk": "^3.0.0",
|
||||
"commander": "^4.0.1",
|
||||
"commander": "^5.0.0",
|
||||
"core-js": "^3.0.1",
|
||||
"cross-spawn": "^7.0.0",
|
||||
"envinfo": "^7.5.0",
|
||||
@ -62,30 +62,30 @@
|
||||
"update-notifier": "^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-actions": "6.0.0-alpha.33",
|
||||
"@storybook/addon-graphql": "6.0.0-alpha.33",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.33",
|
||||
"@storybook/addon-links": "6.0.0-alpha.33",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/angular": "6.0.0-alpha.33",
|
||||
"@storybook/channel-postmessage": "6.0.0-alpha.33",
|
||||
"@storybook/channel-websocket": "6.0.0-alpha.33",
|
||||
"@storybook/channels": "6.0.0-alpha.33",
|
||||
"@storybook/ember": "6.0.0-alpha.33",
|
||||
"@storybook/html": "6.0.0-alpha.33",
|
||||
"@storybook/marionette": "6.0.0-alpha.33",
|
||||
"@storybook/marko": "6.0.0-alpha.33",
|
||||
"@storybook/mithril": "6.0.0-alpha.33",
|
||||
"@storybook/preact": "6.0.0-alpha.33",
|
||||
"@storybook/rax": "6.0.0-alpha.33",
|
||||
"@storybook/react": "6.0.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.35",
|
||||
"@storybook/addon-graphql": "6.0.0-alpha.35",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.35",
|
||||
"@storybook/addon-links": "6.0.0-alpha.35",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.35",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/angular": "6.0.0-alpha.35",
|
||||
"@storybook/channel-postmessage": "6.0.0-alpha.35",
|
||||
"@storybook/channel-websocket": "6.0.0-alpha.35",
|
||||
"@storybook/channels": "6.0.0-alpha.35",
|
||||
"@storybook/ember": "6.0.0-alpha.35",
|
||||
"@storybook/html": "6.0.0-alpha.35",
|
||||
"@storybook/marionette": "6.0.0-alpha.35",
|
||||
"@storybook/marko": "6.0.0-alpha.35",
|
||||
"@storybook/mithril": "6.0.0-alpha.35",
|
||||
"@storybook/preact": "6.0.0-alpha.35",
|
||||
"@storybook/rax": "6.0.0-alpha.35",
|
||||
"@storybook/react": "6.0.0-alpha.35",
|
||||
"@storybook/react-native": "6.0.0-alpha.0",
|
||||
"@storybook/riot": "6.0.0-alpha.33",
|
||||
"@storybook/svelte": "6.0.0-alpha.33",
|
||||
"@storybook/ui": "6.0.0-alpha.33",
|
||||
"@storybook/vue": "6.0.0-alpha.33",
|
||||
"@storybook/web-components": "6.0.0-alpha.33"
|
||||
"@storybook/riot": "6.0.0-alpha.35",
|
||||
"@storybook/svelte": "6.0.0-alpha.35",
|
||||
"@storybook/ui": "6.0.0-alpha.35",
|
||||
"@storybook/vue": "6.0.0-alpha.35",
|
||||
"@storybook/web-components": "6.0.0-alpha.35"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"jest": "*"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/client-api",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook Client API",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -28,11 +28,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/channel-postmessage": "6.0.0-alpha.33",
|
||||
"@storybook/channels": "6.0.0-alpha.33",
|
||||
"@storybook/client-logger": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/channel-postmessage": "6.0.0-alpha.35",
|
||||
"@storybook/channels": "6.0.0-alpha.35",
|
||||
"@storybook/client-logger": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@types/webpack-env": "^1.15.1",
|
||||
"core-js": "^3.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/client-logger",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/codemod",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "A collection of codemod scripts written with JSCodeshift",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -30,7 +30,7 @@
|
||||
"dependencies": {
|
||||
"@mdx-js/mdx": "^1.5.1",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/node-logger": "6.0.0-alpha.33",
|
||||
"@storybook/node-logger": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"cross-spawn": "^7.0.0",
|
||||
"globby": "^11.0.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/components",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Core Storybook Components",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -28,8 +28,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/client-logger": "6.0.0-alpha.33",
|
||||
"@storybook/theming": "6.0.0-alpha.33",
|
||||
"@storybook/client-logger": "6.0.0-alpha.35",
|
||||
"@storybook/theming": "6.0.0-alpha.35",
|
||||
"@types/overlayscrollbars": "^1.9.0",
|
||||
"@types/react-color": "^3.0.1",
|
||||
"@types/react-syntax-highlighter": "11.0.4",
|
||||
|
@ -13,6 +13,7 @@ export interface ButtonProps {
|
||||
small?: boolean;
|
||||
outline?: boolean;
|
||||
containsIcon?: boolean;
|
||||
children?: React.ReactNode;
|
||||
}
|
||||
|
||||
type ButtonWrapperProps = ButtonProps;
|
||||
|
@ -7,7 +7,7 @@ export default {
|
||||
};
|
||||
|
||||
export const Basic = () => {
|
||||
const [value, setValue] = useState(new Date());
|
||||
const [value, setValue] = useState(new Date(2020, 4, 20));
|
||||
return (
|
||||
<>
|
||||
<DateControl name="date" value={value} onChange={(name, newVal) => setValue(newVal)} />
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/core-events",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Event names used in storybook core",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/core",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook framework-agnostic API",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -38,17 +38,17 @@
|
||||
"@babel/preset-react": "^7.8.3",
|
||||
"@babel/preset-typescript": "^7.8.3",
|
||||
"@babel/register": "^7.8.3",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/api": "6.0.0-alpha.33",
|
||||
"@storybook/channel-postmessage": "6.0.0-alpha.33",
|
||||
"@storybook/client-api": "6.0.0-alpha.33",
|
||||
"@storybook/client-logger": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/api": "6.0.0-alpha.35",
|
||||
"@storybook/channel-postmessage": "6.0.0-alpha.35",
|
||||
"@storybook/client-api": "6.0.0-alpha.35",
|
||||
"@storybook/client-logger": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/node-logger": "6.0.0-alpha.33",
|
||||
"@storybook/router": "6.0.0-alpha.33",
|
||||
"@storybook/theming": "6.0.0-alpha.33",
|
||||
"@storybook/ui": "6.0.0-alpha.33",
|
||||
"@storybook/node-logger": "6.0.0-alpha.35",
|
||||
"@storybook/router": "6.0.0-alpha.35",
|
||||
"@storybook/theming": "6.0.0-alpha.35",
|
||||
"@storybook/ui": "6.0.0-alpha.35",
|
||||
"@types/node-fetch": "^2.5.4",
|
||||
"airbnb-js-shims": "^2.2.1",
|
||||
"ansi-to-html": "^0.6.11",
|
||||
@ -63,7 +63,7 @@
|
||||
"case-sensitive-paths-webpack-plugin": "^2.2.0",
|
||||
"chalk": "^3.0.0",
|
||||
"cli-table3": "0.5.1",
|
||||
"commander": "^4.0.1",
|
||||
"commander": "^5.0.0",
|
||||
"core-js": "^3.0.1",
|
||||
"corejs-upgrade-webpack-plugin": "^4.0.1",
|
||||
"css-loader": "^3.0.0",
|
||||
|
@ -120,13 +120,11 @@ async function buildManager(configType, outputDir, configDir, options) {
|
||||
|
||||
logger.info('=> Loading manager config..');
|
||||
const managerConfig = await loadManagerConfig({
|
||||
...options,
|
||||
configType,
|
||||
outputDir,
|
||||
configDir,
|
||||
corePresets: [require.resolve('./manager/manager-preset.js')],
|
||||
frameworkPresets: options.frameworkPresets,
|
||||
docsMode: options.docsMode,
|
||||
previewUrl: options.previewUrl,
|
||||
});
|
||||
|
||||
if (options.debugWebpack) {
|
||||
@ -144,12 +142,12 @@ async function buildPreview(configType, outputDir, packageJson, options) {
|
||||
|
||||
logger.info('=> Loading preview config..');
|
||||
const previewConfig = await loadConfig({
|
||||
...options,
|
||||
configType,
|
||||
outputDir,
|
||||
packageJson,
|
||||
corePresets: [require.resolve('./preview/preview-preset.js')],
|
||||
overridePresets: [require.resolve('./preview/custom-webpack-preset.js')],
|
||||
...options,
|
||||
});
|
||||
|
||||
if (debugWebpack) {
|
||||
|
@ -61,6 +61,11 @@ export default function (options) {
|
||||
devMiddlewareOptions
|
||||
);
|
||||
|
||||
router.get(/\/static\/media\/.*\..*/, (request, response, next) => {
|
||||
response.set('Cache-Control', `public, max-age=31536000`);
|
||||
next();
|
||||
});
|
||||
|
||||
router.use(managerDevMiddlewareInstance);
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
|
@ -68,17 +68,16 @@ export default async ({
|
||||
? `${require.resolve('@storybook/client-logger')}`
|
||||
: '@storybook/client-logger';
|
||||
|
||||
virtualModuleMapping[entryFilename] = entryTemplate
|
||||
.replace('{{configFilename}}', configFilename.replace(/\\/g, '/'))
|
||||
.replace('{{clientApi}}', clientApi.replace(/\\/g, '/'))
|
||||
.replace('{{clientLogger}}', clientLogger.replace(/\\/g, '/'));
|
||||
virtualModuleMapping[entryFilename] = interpolate(entryTemplate, {
|
||||
configFilename,
|
||||
clientApi,
|
||||
clientLogger,
|
||||
});
|
||||
}
|
||||
});
|
||||
if (stories) {
|
||||
virtualModuleMapping[
|
||||
path.resolve(path.join(configDir, `generated-stories-entry.js`))
|
||||
] = storyTemplate
|
||||
.replace('{{framework}}', framework)
|
||||
const storiesFilename = path.resolve(path.join(configDir, `generated-stories-entry.js`));
|
||||
virtualModuleMapping[storiesFilename] = interpolate(storyTemplate, { framework })
|
||||
// Make sure we also replace quotes for this one
|
||||
.replace("'{{stories}}'", stories.map(toRequireContextString).join(','));
|
||||
}
|
||||
@ -184,3 +183,18 @@ export default async ({
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* Return a string corresponding to template filled with bindings using following pattern:
|
||||
* For each (key, value) of `bindings` replace, in template, `{{key}}` by escaped version of `value`
|
||||
*
|
||||
* @param template {String} Template with `{{binding}}`
|
||||
* @param bindings {Object} key-value object use to fill the template, `{{key}}` will be replaced by `escaped(value)`
|
||||
* @returns {String} Filled template
|
||||
*/
|
||||
const interpolate = (template, bindings) => {
|
||||
return Object.entries(bindings).reduce((acc, [k, v]) => {
|
||||
const escapedString = v.replace(/\\/g, '/').replace(/\$/g, '$$$');
|
||||
return acc.replace(new RegExp(`{{${k}}}`, 'g'), escapedString);
|
||||
}, template);
|
||||
};
|
||||
|
@ -1,6 +1,7 @@
|
||||
const { addDecorator, addParameters, addArgTypesEnhancer } = require('{{clientApi}}');
|
||||
const { logger } = require('{{clientLogger}}');
|
||||
const {
|
||||
/* eslint-disable import/no-unresolved */
|
||||
import { addDecorator, addParameters, addArgTypesEnhancer } from '{{clientApi}}';
|
||||
import { logger } from '{{clientLogger}}';
|
||||
import {
|
||||
decorators,
|
||||
parameters,
|
||||
argTypesEnhancers,
|
||||
@ -8,7 +9,7 @@ const {
|
||||
globalArgTypes,
|
||||
args,
|
||||
argTypes,
|
||||
} = require('{{configFilename}}');
|
||||
} from '{{configFilename}}';
|
||||
|
||||
if (args || argTypes) {
|
||||
logger.warn('Invalid args/argTypes in config, ignoring.', JSON.stringify({ args, argTypes }));
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/node-logger",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/postinstall",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Storybook addons postinstall utilities",
|
||||
"keywords": [
|
||||
"api",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/router",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Core Storybook Router",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/source-loader",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Source loader",
|
||||
"keywords": [
|
||||
"lib",
|
||||
@ -29,8 +29,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/client-logger": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/client-logger": "6.0.0-alpha.35",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"core-js": "^3.0.1",
|
||||
"estraverse": "^4.2.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/theming",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Core Storybook Components",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -31,7 +31,7 @@
|
||||
"@emotion/core": "^10.0.20",
|
||||
"@emotion/is-prop-valid": "^0.8.6",
|
||||
"@emotion/styled": "^10.0.17",
|
||||
"@storybook/client-logger": "6.0.0-alpha.33",
|
||||
"@storybook/client-logger": "6.0.0-alpha.35",
|
||||
"core-js": "^3.0.1",
|
||||
"deep-object-diff": "^1.1.0",
|
||||
"emotion-theming": "^10.0.19",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/ui",
|
||||
"version": "6.0.0-alpha.33",
|
||||
"version": "6.0.0-alpha.35",
|
||||
"description": "Core Storybook UI",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -29,14 +29,14 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@emotion/core": "^10.0.20",
|
||||
"@storybook/addons": "6.0.0-alpha.33",
|
||||
"@storybook/api": "6.0.0-alpha.33",
|
||||
"@storybook/channels": "6.0.0-alpha.33",
|
||||
"@storybook/client-logger": "6.0.0-alpha.33",
|
||||
"@storybook/components": "6.0.0-alpha.33",
|
||||
"@storybook/core-events": "6.0.0-alpha.33",
|
||||
"@storybook/router": "6.0.0-alpha.33",
|
||||
"@storybook/theming": "6.0.0-alpha.33",
|
||||
"@storybook/addons": "6.0.0-alpha.35",
|
||||
"@storybook/api": "6.0.0-alpha.35",
|
||||
"@storybook/channels": "6.0.0-alpha.35",
|
||||
"@storybook/client-logger": "6.0.0-alpha.35",
|
||||
"@storybook/components": "6.0.0-alpha.35",
|
||||
"@storybook/core-events": "6.0.0-alpha.35",
|
||||
"@storybook/router": "6.0.0-alpha.35",
|
||||
"@storybook/theming": "6.0.0-alpha.35",
|
||||
"@types/markdown-to-jsx": "^6.9.1",
|
||||
"@types/rfdc": "^1.1.0",
|
||||
"copy-to-clipboard": "^3.0.8",
|
||||
@ -66,9 +66,9 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.8.4",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.33",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.33",
|
||||
"@storybook/react": "6.0.0-alpha.33",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.35",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.35",
|
||||
"@storybook/react": "6.0.0-alpha.35",
|
||||
"@testing-library/react": "^10.0.1",
|
||||
"babel-loader": "^8.0.6",
|
||||
"corejs-upgrade-webpack-plugin": "^4.0.1",
|
||||
|
@ -13,6 +13,7 @@ import { mockProps, realProps, MockPage } from './app.mockdata';
|
||||
export default {
|
||||
title: 'UI/Layout/Desktop',
|
||||
component: Desktop,
|
||||
parameters: { passArgsFirst: false },
|
||||
decorators: [
|
||||
withKnobs,
|
||||
((StoryFn, c) => {
|
||||
|
@ -11,6 +11,7 @@ import { mockProps, realProps, MockPage } from './app.mockdata';
|
||||
export default {
|
||||
title: 'UI/Layout/Mobile',
|
||||
component: Mobile,
|
||||
parameters: { passArgsFirst: false },
|
||||
decorators: [
|
||||
withKnobs,
|
||||
((StoryFn, c) => {
|
||||
|
@ -159,7 +159,7 @@
|
||||
"chalk": "^3.0.0",
|
||||
"codecov": "^3.5.0",
|
||||
"codelyzer": "^5.0.0",
|
||||
"commander": "^4.0.1",
|
||||
"commander": "^5.0.0",
|
||||
"concurrently": "^5.1.0",
|
||||
"core-js": "^3.0.1",
|
||||
"corejs-upgrade-webpack-plugin": "^4.0.1",
|
||||
|
@ -9537,6 +9537,11 @@ commander@^4.0.1, commander@^4.1.1:
|
||||
resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068"
|
||||
integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==
|
||||
|
||||
commander@^5.0.0:
|
||||
version "5.0.0"
|
||||
resolved "https://registry.yarnpkg.com/commander/-/commander-5.0.0.tgz#dbf1909b49e5044f8fdaf0adc809f0c0722bdfd0"
|
||||
integrity sha512-JrDGPAKjMGSP1G0DUoaceEJ3DZgAfr/q6X7FVk4+U5KxUSKviYGM2k6zWkfyyBHy5rAtzgYJFa1ro2O9PtoxwQ==
|
||||
|
||||
commander@~2.19.0:
|
||||
version "2.19.0"
|
||||
resolved "https://registry.yarnpkg.com/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a"
|
||||
|
Loading…
x
Reference in New Issue
Block a user