mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 22:51:18 +08:00
Merge branch 'next' into feat/initial_active_tab_option
This commit is contained in:
commit
b84f45847f
@ -1,3 +1,9 @@
|
||||
## 6.0.0-alpha.8 (February 8, 2020)
|
||||
|
||||
### Maintenance
|
||||
|
||||
* Replace lodash named imports with specific imports ([#9787](https://github.com/storybookjs/storybook/pull/9787))
|
||||
|
||||
## 6.0.0-alpha.7 (February 7, 2020)
|
||||
|
||||
### Bug Fixes
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-a11y",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "a11y addon for storybook",
|
||||
"keywords": [
|
||||
"a11y",
|
||||
@ -32,13 +32,13 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/api": "6.0.0-alpha.7",
|
||||
"@storybook/client-api": "6.0.0-alpha.7",
|
||||
"@storybook/client-logger": "6.0.0-alpha.7",
|
||||
"@storybook/components": "6.0.0-alpha.7",
|
||||
"@storybook/core-events": "6.0.0-alpha.7",
|
||||
"@storybook/theming": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/api": "6.0.0-alpha.8",
|
||||
"@storybook/client-api": "6.0.0-alpha.8",
|
||||
"@storybook/client-logger": "6.0.0-alpha.8",
|
||||
"@storybook/components": "6.0.0-alpha.8",
|
||||
"@storybook/core-events": "6.0.0-alpha.8",
|
||||
"@storybook/theming": "6.0.0-alpha.8",
|
||||
"axe-core": "^3.3.2",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-actions",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Action Logger addon for storybook",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -27,12 +27,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/api": "6.0.0-alpha.7",
|
||||
"@storybook/client-api": "6.0.0-alpha.7",
|
||||
"@storybook/components": "6.0.0-alpha.7",
|
||||
"@storybook/core-events": "6.0.0-alpha.7",
|
||||
"@storybook/theming": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/api": "6.0.0-alpha.8",
|
||||
"@storybook/client-api": "6.0.0-alpha.8",
|
||||
"@storybook/components": "6.0.0-alpha.8",
|
||||
"@storybook/core-events": "6.0.0-alpha.8",
|
||||
"@storybook/theming": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "A storybook addon to show different backgrounds for your preview",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -31,12 +31,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/api": "6.0.0-alpha.7",
|
||||
"@storybook/client-logger": "6.0.0-alpha.7",
|
||||
"@storybook/components": "6.0.0-alpha.7",
|
||||
"@storybook/core-events": "6.0.0-alpha.7",
|
||||
"@storybook/theming": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/api": "6.0.0-alpha.8",
|
||||
"@storybook/client-logger": "6.0.0-alpha.8",
|
||||
"@storybook/components": "6.0.0-alpha.8",
|
||||
"@storybook/core-events": "6.0.0-alpha.8",
|
||||
"@storybook/theming": "6.0.0-alpha.8",
|
||||
"core-js": "^3.0.1",
|
||||
"memoizerific": "^1.11.3",
|
||||
"react": "^16.8.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-centered",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook decorator to center components",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -29,7 +29,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"util-deprecate": "^1.0.2"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-contexts",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook Addon Contexts",
|
||||
"keywords": [
|
||||
"preact",
|
||||
@ -27,10 +27,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/api": "6.0.0-alpha.7",
|
||||
"@storybook/components": "6.0.0-alpha.7",
|
||||
"@storybook/core-events": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/api": "6.0.0-alpha.8",
|
||||
"@storybook/components": "6.0.0-alpha.8",
|
||||
"@storybook/core-events": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "A storybook addon to switch between css resources at runtime for your story",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -31,11 +31,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/api": "6.0.0-alpha.7",
|
||||
"@storybook/components": "6.0.0-alpha.7",
|
||||
"@storybook/core-events": "6.0.0-alpha.7",
|
||||
"@storybook/theming": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/api": "6.0.0-alpha.8",
|
||||
"@storybook/components": "6.0.0-alpha.8",
|
||||
"@storybook/core-events": "6.0.0-alpha.8",
|
||||
"@storybook/theming": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Design asset preview for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -33,12 +33,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/api": "6.0.0-alpha.7",
|
||||
"@storybook/client-logger": "6.0.0-alpha.7",
|
||||
"@storybook/components": "6.0.0-alpha.7",
|
||||
"@storybook/core-events": "6.0.0-alpha.7",
|
||||
"@storybook/theming": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/api": "6.0.0-alpha.8",
|
||||
"@storybook/client-logger": "6.0.0-alpha.8",
|
||||
"@storybook/components": "6.0.0-alpha.8",
|
||||
"@storybook/core-events": "6.0.0-alpha.8",
|
||||
"@storybook/theming": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Superior documentation for your components",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -45,14 +45,14 @@
|
||||
"@mdx-js/loader": "^1.5.1",
|
||||
"@mdx-js/mdx": "^1.5.1",
|
||||
"@mdx-js/react": "^1.5.1",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/api": "6.0.0-alpha.7",
|
||||
"@storybook/components": "6.0.0-alpha.7",
|
||||
"@storybook/core-events": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/api": "6.0.0-alpha.8",
|
||||
"@storybook/components": "6.0.0-alpha.8",
|
||||
"@storybook/core-events": "6.0.0-alpha.8",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/postinstall": "6.0.0-alpha.7",
|
||||
"@storybook/source-loader": "6.0.0-alpha.7",
|
||||
"@storybook/theming": "6.0.0-alpha.7",
|
||||
"@storybook/postinstall": "6.0.0-alpha.8",
|
||||
"@storybook/source-loader": "6.0.0-alpha.8",
|
||||
"@storybook/theming": "6.0.0-alpha.8",
|
||||
"acorn": "^7.1.0",
|
||||
"acorn-jsx": "^5.1.0",
|
||||
"acorn-walk": "^7.0.0",
|
||||
|
@ -1,5 +1,4 @@
|
||||
import React, { FunctionComponent, useContext } from 'react';
|
||||
import { isNil } from 'lodash';
|
||||
|
||||
import {
|
||||
PropsTable,
|
||||
@ -60,7 +59,7 @@ export const getComponentProps = (
|
||||
throw new Error(PropsTableError.PROPS_UNSUPPORTED);
|
||||
}
|
||||
let props = extractProps(component);
|
||||
if (!isNil(exclude)) {
|
||||
if (exclude != null) {
|
||||
const { rows } = props as PropsTableRowsProps;
|
||||
const { sections } = props as PropsTableSectionsProps;
|
||||
if (rows) {
|
||||
|
@ -1,4 +1,3 @@
|
||||
import { isNil } from 'lodash';
|
||||
import { PropDefaultValue } from '@storybook/components';
|
||||
import { FUNCTION_CAPTION, ELEMENT_CAPTION } from '../captions';
|
||||
import {
|
||||
@ -19,7 +18,7 @@ import { getPrettyIdentifier } from './prettyIdentifier';
|
||||
function generateFunc({ inferedType, ast }: InspectionResult): PropDefaultValue {
|
||||
const { identifier } = inferedType as InspectionFunction;
|
||||
|
||||
if (!isNil(identifier)) {
|
||||
if (identifier != null) {
|
||||
return createSummaryValue(
|
||||
getPrettyIdentifier(inferedType as InspectionIdentifiableInferedType),
|
||||
generateCode(ast)
|
||||
@ -42,7 +41,7 @@ function generateElement(
|
||||
const { inferedType } = inspectionResult;
|
||||
const { identifier } = inferedType as InspectionElement;
|
||||
|
||||
if (!isNil(identifier)) {
|
||||
if (identifier != null) {
|
||||
if (!isHtmlTag(identifier)) {
|
||||
const prettyIdentifier = getPrettyIdentifier(
|
||||
inferedType as InspectionIdentifiableInferedType
|
||||
|
@ -1,5 +1,7 @@
|
||||
import { PropDefaultValue, PropDef } from '@storybook/components';
|
||||
import { isNil, isPlainObject, isArray, isFunction, isString } from 'lodash';
|
||||
import isPlainObject from 'lodash/isPlainObject';
|
||||
import isFunction from 'lodash/isFunction';
|
||||
import isString from 'lodash/isString';
|
||||
// @ts-ignore
|
||||
import reactElementToJSXString from 'react-element-to-jsx-string';
|
||||
import { createSummaryValue, isTooLongForDefaultValueSummary } from '../../../../lib';
|
||||
@ -20,7 +22,7 @@ export interface TypeResolvers {
|
||||
}
|
||||
|
||||
function isReactElement(element: any): boolean {
|
||||
return !isNil(element.$$typeof);
|
||||
return element.$$typeof != null;
|
||||
}
|
||||
|
||||
export function extractFunctionName(func: Function, propName: string): string {
|
||||
@ -44,7 +46,7 @@ function generateReactObject(rawDefaultProp: any) {
|
||||
|
||||
const jsx = reactElementToJSXString(rawDefaultProp);
|
||||
|
||||
if (!isNil(displayName)) {
|
||||
if (displayName != null) {
|
||||
const prettyIdentifier = getPrettyElementIdentifier(displayName);
|
||||
|
||||
return createSummaryValue(prettyIdentifier, prettyIdentifier !== jsx ? jsx : undefined);
|
||||
@ -66,7 +68,7 @@ function generateReactObject(rawDefaultProp: any) {
|
||||
}
|
||||
|
||||
const objectResolver: TypeResolver = rawDefaultProp => {
|
||||
if (isReactElement(rawDefaultProp) && !isNil(rawDefaultProp.type)) {
|
||||
if (isReactElement(rawDefaultProp) && rawDefaultProp.type != null) {
|
||||
return generateReactObject(rawDefaultProp);
|
||||
}
|
||||
|
||||
@ -76,7 +78,7 @@ const objectResolver: TypeResolver = rawDefaultProp => {
|
||||
return generateObject(inspectionResult);
|
||||
}
|
||||
|
||||
if (isArray(rawDefaultProp)) {
|
||||
if (Array.isArray(rawDefaultProp)) {
|
||||
const inspectionResult = inspectValue(JSON.stringify(rawDefaultProp));
|
||||
|
||||
return generateArray(inspectionResult);
|
||||
@ -92,7 +94,7 @@ const functionResolver: TypeResolver = (rawDefaultProp, propDef) => {
|
||||
// Try to display the name of the component. The body of the component is ommited since the code has been transpiled.
|
||||
if (isFunction(rawDefaultProp.render)) {
|
||||
isElement = true;
|
||||
} else if (!isNil(rawDefaultProp.prototype) && isFunction(rawDefaultProp.prototype.render)) {
|
||||
} else if (rawDefaultProp.prototype != null && isFunction(rawDefaultProp.prototype.render)) {
|
||||
isElement = true;
|
||||
} else {
|
||||
let innerElement;
|
||||
@ -110,7 +112,7 @@ const functionResolver: TypeResolver = (rawDefaultProp, propDef) => {
|
||||
innerElement = rawDefaultProp();
|
||||
}
|
||||
|
||||
if (!isNil(innerElement)) {
|
||||
if (innerElement != null) {
|
||||
if (isReactElement(innerElement)) {
|
||||
isElement = true;
|
||||
}
|
||||
@ -121,12 +123,12 @@ const functionResolver: TypeResolver = (rawDefaultProp, propDef) => {
|
||||
}
|
||||
|
||||
const funcName = extractFunctionName(rawDefaultProp, propDef.name);
|
||||
if (!isNil(funcName)) {
|
||||
if (funcName != null) {
|
||||
if (isElement) {
|
||||
return createSummaryValue(getPrettyElementIdentifier(funcName));
|
||||
}
|
||||
|
||||
if (!isNil(inspectionResult)) {
|
||||
if (inspectionResult != null) {
|
||||
inspectionResult = inspectValue(rawDefaultProp.toString());
|
||||
}
|
||||
|
||||
@ -168,8 +170,7 @@ export function createDefaultValueFromRawDefaultProp(
|
||||
): PropDefaultValue {
|
||||
try {
|
||||
// Keep the extra () otherwise it will fail for functions.
|
||||
// eslint-disable-next-line prettier/prettier
|
||||
switch (typeof (rawDefaultProp)) {
|
||||
switch (typeof rawDefaultProp) {
|
||||
case 'string':
|
||||
return typeResolvers.string(rawDefaultProp, propDef);
|
||||
case 'object':
|
||||
|
@ -1,7 +1,6 @@
|
||||
import { Parser } from 'acorn';
|
||||
// @ts-ignore
|
||||
import jsx from 'acorn-jsx';
|
||||
import { isNil } from 'lodash';
|
||||
import estree from 'estree';
|
||||
// @ts-ignore
|
||||
import * as acornWalk from 'acorn-walk';
|
||||
@ -32,7 +31,7 @@ const acornParser = Parser.extend(jsx());
|
||||
|
||||
// Cannot use "estree.Identifier" type because this function also support "JSXIdentifier".
|
||||
function extractIdentifierName(identifierNode: any) {
|
||||
return !isNil(identifierNode) ? identifierNode.name : null;
|
||||
return identifierNode != null ? identifierNode.name : null;
|
||||
}
|
||||
|
||||
function filterAncestors(ancestors: estree.Node[]): estree.Node[] {
|
||||
@ -91,7 +90,7 @@ function parseFunction(
|
||||
ACORN_WALK_VISITORS
|
||||
);
|
||||
|
||||
const isJsx = !isNil(innerJsxElementNode);
|
||||
const isJsx = innerJsxElementNode != null;
|
||||
|
||||
const inferedType: InspectionFunction | InspectionElement = {
|
||||
type: isJsx ? InspectionType.ELEMENT : InspectionType.FUNCTION,
|
||||
@ -100,7 +99,7 @@ function parseFunction(
|
||||
};
|
||||
|
||||
const identifierName = extractIdentifierName((funcNode as estree.FunctionExpression).id);
|
||||
if (!isNil(identifierName)) {
|
||||
if (identifierName != null) {
|
||||
inferedType.identifier = identifierName;
|
||||
}
|
||||
|
||||
@ -127,7 +126,7 @@ function parseClass(
|
||||
);
|
||||
|
||||
const inferedType: any = {
|
||||
type: !isNil(innerJsxElementNode) ? InspectionType.ELEMENT : InspectionType.CLASS,
|
||||
type: innerJsxElementNode != null ? InspectionType.ELEMENT : InspectionType.CLASS,
|
||||
identifier: extractIdentifierName(classNode.id),
|
||||
};
|
||||
|
||||
@ -143,7 +142,7 @@ function parseJsxElement(jsxElementNode: any): ParsingResult<InspectionElement>
|
||||
};
|
||||
|
||||
const identifierName = extractIdentifierName(jsxElementNode.openingElement.name);
|
||||
if (!isNil(identifierName)) {
|
||||
if (identifierName != null) {
|
||||
inferedType.identifier = identifierName;
|
||||
}
|
||||
|
||||
@ -212,13 +211,13 @@ export function parse(value: string): ParsingResult<InspectionInferedType> {
|
||||
ast,
|
||||
};
|
||||
|
||||
if (!isNil(ast.body[0])) {
|
||||
if (ast.body[0] != null) {
|
||||
const rootNode = ast.body[0];
|
||||
|
||||
switch (rootNode.type) {
|
||||
case 'ExpressionStatement': {
|
||||
const expressionResult = parseExpression(rootNode.expression);
|
||||
if (!isNil(expressionResult)) {
|
||||
if (expressionResult != null) {
|
||||
parsingResult = expressionResult as any;
|
||||
}
|
||||
break;
|
||||
|
@ -1,4 +1,3 @@
|
||||
import { isNil } from 'lodash';
|
||||
import { PropType } from '@storybook/components';
|
||||
import { createSummaryValue, isTooLongForTypeSummary } from '../../../lib';
|
||||
import { ExtractedProp, DocgenPropType } from '../../../lib/docgen';
|
||||
@ -74,7 +73,7 @@ function createTypeDef({
|
||||
name,
|
||||
short,
|
||||
compact,
|
||||
full: !isNil(full) ? full : short,
|
||||
full: full != null ? full : short,
|
||||
inferedType,
|
||||
};
|
||||
}
|
||||
@ -137,7 +136,7 @@ function generateTypeFromString(value: string, originalTypeName: string): TypeDe
|
||||
case InspectionType.ELEMENT: {
|
||||
const { identifier } = inferedType as InspectionElement;
|
||||
|
||||
short = !isNil(identifier) && !isHtmlTag(identifier) ? identifier : ELEMENT_CAPTION;
|
||||
short = identifier != null && !isHtmlTag(identifier) ? identifier : ELEMENT_CAPTION;
|
||||
compact = splitIntoLines(value).length === 1 ? value : null;
|
||||
full = value;
|
||||
break;
|
||||
@ -167,7 +166,7 @@ function generateTypeFromString(value: string, originalTypeName: string): TypeDe
|
||||
}
|
||||
|
||||
function generateCustom({ raw }: DocgenPropType): TypeDef {
|
||||
if (!isNil(raw)) {
|
||||
if (raw != null) {
|
||||
return generateTypeFromString(raw, PropTypesType.CUSTOM);
|
||||
}
|
||||
|
||||
@ -181,8 +180,8 @@ function generateCustom({ raw }: DocgenPropType): TypeDef {
|
||||
function generateFunc(extractedProp: ExtractedProp): TypeDef {
|
||||
const { jsDocTags } = extractedProp;
|
||||
|
||||
if (!isNil(jsDocTags)) {
|
||||
if (!isNil(jsDocTags.params) || !isNil(jsDocTags.returns)) {
|
||||
if (jsDocTags != null) {
|
||||
if (jsDocTags.params != null || jsDocTags.returns != null) {
|
||||
return createTypeDef({
|
||||
name: PropTypesType.FUNC,
|
||||
short: generateShortFuncSignature(jsDocTags.params, jsDocTags.returns),
|
||||
@ -225,7 +224,7 @@ function generateObjectOf(type: DocgenPropType, extractedProp: ExtractedProp): T
|
||||
return createTypeDef({
|
||||
name: PropTypesType.OBJECTOF,
|
||||
short: objectOf(short),
|
||||
compact: !isNil(compact) ? objectOf(compact) : null,
|
||||
compact: compact != null ? objectOf(compact) : null,
|
||||
full: objectOf(full),
|
||||
});
|
||||
}
|
||||
@ -248,7 +247,7 @@ function generateUnion(type: DocgenPropType, extractedProp: ExtractedProp): Type
|
||||
return createTypeDef({
|
||||
name: PropTypesType.UNION,
|
||||
short: values.short.join(' | '),
|
||||
compact: values.compact.every((x: string) => !isNil(x)) ? values.compact.join(' | ') : null,
|
||||
compact: values.compact.every((x: string) => x != null) ? values.compact.join(' | ') : null,
|
||||
full: values.full.join(' | '),
|
||||
});
|
||||
}
|
||||
@ -280,7 +279,7 @@ function generateEnum(type: DocgenPropType): TypeDef {
|
||||
return createTypeDef({
|
||||
name: PropTypesType.ENUM,
|
||||
short: values.short.join(' | '),
|
||||
compact: values.compact.every((x: string) => !isNil(x)) ? values.compact.join(' | ') : null,
|
||||
compact: values.compact.every((x: string) => x != null) ? values.compact.join(' | ') : null,
|
||||
full: values.full.join(' | '),
|
||||
});
|
||||
}
|
||||
@ -300,7 +299,7 @@ function createArrayOfObjectTypeDef(short: string, compact: string, full: string
|
||||
return createTypeDef({
|
||||
name: PropTypesType.ARRAYOF,
|
||||
short: braceAfter(short),
|
||||
compact: !isNil(compact) ? braceAround(compact) : null,
|
||||
compact: compact != null ? braceAround(compact) : null,
|
||||
full: braceAround(full),
|
||||
});
|
||||
}
|
||||
@ -361,7 +360,7 @@ export function createType(extractedProp: ExtractedProp): PropType {
|
||||
const { type } = extractedProp.docgenInfo;
|
||||
|
||||
// A type could be null if a defaultProp has been provided without a type definition.
|
||||
if (isNil(type)) {
|
||||
if (type == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@ -376,7 +375,7 @@ export function createType(extractedProp: ExtractedProp): PropType {
|
||||
case PropTypesType.ARRAYOF: {
|
||||
const { short, compact, full } = generateType(type, extractedProp);
|
||||
|
||||
if (!isNil(compact)) {
|
||||
if (compact != null) {
|
||||
if (!isTooLongForTypeSummary(compact)) {
|
||||
return createSummaryValue(compact);
|
||||
}
|
||||
|
@ -1,12 +1,11 @@
|
||||
import { isNil } from 'lodash';
|
||||
import { ExtractedJsDocParam, ExtractedJsDocReturns } from '../../../lib/jsdocParser';
|
||||
|
||||
export function generateFuncSignature(
|
||||
params: ExtractedJsDocParam[],
|
||||
returns: ExtractedJsDocReturns
|
||||
): string {
|
||||
const hasParams = !isNil(params);
|
||||
const hasReturns = !isNil(returns);
|
||||
const hasParams = params != null;
|
||||
const hasReturns = returns != null;
|
||||
|
||||
if (!hasParams && !hasReturns) {
|
||||
return '';
|
||||
@ -19,7 +18,7 @@ export function generateFuncSignature(
|
||||
const prettyName = x.getPrettyName();
|
||||
const typeName = x.getTypeName();
|
||||
|
||||
if (!isNil(typeName)) {
|
||||
if (typeName != null) {
|
||||
return `${prettyName}: ${typeName}`;
|
||||
}
|
||||
|
||||
@ -42,8 +41,8 @@ export function generateShortFuncSignature(
|
||||
params: ExtractedJsDocParam[],
|
||||
returns: ExtractedJsDocReturns
|
||||
): string {
|
||||
const hasParams = !isNil(params);
|
||||
const hasReturns = !isNil(returns);
|
||||
const hasParams = params != null;
|
||||
const hasReturns = returns != null;
|
||||
|
||||
if (!hasParams && !hasReturns) {
|
||||
return '';
|
||||
|
@ -1,4 +1,3 @@
|
||||
import { isNil } from 'lodash';
|
||||
import { PropDef } from '@storybook/components';
|
||||
import { ExtractedProp } from '../../../lib/docgen';
|
||||
import { createType } from './createType';
|
||||
@ -11,25 +10,25 @@ export function enhancePropTypesProp(extractedProp: ExtractedProp, rawDefaultPro
|
||||
const { propDef } = extractedProp;
|
||||
|
||||
const newtype = createType(extractedProp);
|
||||
if (!isNil(newtype)) {
|
||||
if (newtype != null) {
|
||||
propDef.type = newtype;
|
||||
}
|
||||
|
||||
const { defaultValue } = extractedProp.docgenInfo;
|
||||
if (!isNil(defaultValue) && !isNil(defaultValue.value)) {
|
||||
if (defaultValue != null && defaultValue.value != null) {
|
||||
const newDefaultValue = createDefaultValue(defaultValue.value);
|
||||
|
||||
if (!isNil(newDefaultValue)) {
|
||||
if (newDefaultValue != null) {
|
||||
propDef.defaultValue = newDefaultValue;
|
||||
}
|
||||
} else if (!isNil(rawDefaultProp)) {
|
||||
} else if (rawDefaultProp != null) {
|
||||
const newDefaultValue = createDefaultValueFromRawDefaultProp(
|
||||
rawDefaultProp,
|
||||
propDef,
|
||||
rawDefaultPropTypeResolvers
|
||||
);
|
||||
|
||||
if (!isNil(newDefaultValue)) {
|
||||
if (newDefaultValue != null) {
|
||||
propDef.defaultValue = newDefaultValue;
|
||||
}
|
||||
}
|
||||
@ -41,7 +40,7 @@ export function enhancePropTypesProps(
|
||||
extractedProps: ExtractedProp[],
|
||||
component: Component
|
||||
): PropDef[] {
|
||||
const rawDefaultProps = !isNil(component.defaultProps) ? component.defaultProps : {};
|
||||
const rawDefaultProps = component.defaultProps != null ? component.defaultProps : {};
|
||||
const enhancedProps = extractedProps.map(x =>
|
||||
enhancePropTypesProp(x, rawDefaultProps[x.propDef.name])
|
||||
);
|
||||
|
@ -1,4 +1,3 @@
|
||||
import { isNil } from 'lodash';
|
||||
import { TypeResolver, extractFunctionName, createTypeResolvers } from '../lib/defaultValues';
|
||||
import { createSummaryValue } from '../../../lib';
|
||||
import { FUNCTION_CAPTION, ELEMENT_CAPTION } from '../lib';
|
||||
@ -12,7 +11,7 @@ const funcResolver: TypeResolver = (rawDefaultProp, { name, type }) => {
|
||||
const isElement = type.summary === 'element' || type.summary === 'elementType';
|
||||
|
||||
const funcName = extractFunctionName(rawDefaultProp, name);
|
||||
if (!isNil(funcName)) {
|
||||
if (funcName != null) {
|
||||
// Try to display the name of the component. The body of the component is ommited since the code has been transpiled.
|
||||
if (isElement) {
|
||||
return createSummaryValue(getPrettyElementIdentifier(funcName));
|
||||
|
@ -1,5 +1,4 @@
|
||||
import { PropDef } from '@storybook/components';
|
||||
import { isNil } from 'lodash';
|
||||
import { Component } from '../../../blocks/shared';
|
||||
|
||||
// react-docgen doesn't returned the props in the order they were defined in the "propTypes" object of the component.
|
||||
@ -11,7 +10,7 @@ export function keepOriginalDefinitionOrder(
|
||||
// eslint-disable-next-line react/forbid-foreign-prop-types
|
||||
const { propTypes } = component;
|
||||
|
||||
if (!isNil(propTypes)) {
|
||||
if (propTypes != null) {
|
||||
return Object.keys(propTypes)
|
||||
.map(x => extractedProps.find(y => y.name === x))
|
||||
.filter(x => x);
|
||||
|
@ -1,4 +1,3 @@
|
||||
import { isNil } from 'lodash';
|
||||
import { PropDef } from '@storybook/components';
|
||||
import { ExtractedProp } from '../../../lib/docgen';
|
||||
import { createDefaultValue, createDefaultValueFromRawDefaultProp } from '../lib/defaultValues';
|
||||
@ -7,15 +6,15 @@ export function enhanceTypeScriptProp(extractedProp: ExtractedProp, rawDefaultPr
|
||||
const { propDef } = extractedProp;
|
||||
|
||||
const { defaultValue } = extractedProp.docgenInfo;
|
||||
if (!isNil(defaultValue) && !isNil(defaultValue.value)) {
|
||||
if (defaultValue != null && defaultValue.value != null) {
|
||||
const newDefaultValue = createDefaultValue(defaultValue.value);
|
||||
if (!isNil(newDefaultValue)) {
|
||||
if (newDefaultValue != null) {
|
||||
propDef.defaultValue = newDefaultValue;
|
||||
}
|
||||
} else if (!isNil(rawDefaultProp)) {
|
||||
} else if (rawDefaultProp != null) {
|
||||
const newDefaultValue = createDefaultValueFromRawDefaultProp(rawDefaultProp, propDef);
|
||||
|
||||
if (!isNil(newDefaultValue)) {
|
||||
if (newDefaultValue != null) {
|
||||
propDef.defaultValue = newDefaultValue;
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,3 @@
|
||||
import { isNil } from 'lodash';
|
||||
import { PropDef, PropDefaultValue } from '@storybook/components';
|
||||
import { TypeSystem, DocgenInfo, DocgenType, DocgenPropDefaultValue } from './types';
|
||||
import { JsDocParsingResult } from '../jsdocParser';
|
||||
@ -15,11 +14,11 @@ export type PropDefFactory = (
|
||||
|
||||
function createType(type: DocgenType) {
|
||||
// A type could be null if a defaultProp has been provided without a type definition.
|
||||
return !isNil(type) ? createSummaryValue(type.name) : null;
|
||||
return type != null ? createSummaryValue(type.name) : null;
|
||||
}
|
||||
|
||||
function createDefaultValue(defaultValue: DocgenPropDefaultValue): PropDefaultValue {
|
||||
if (!isNil(defaultValue)) {
|
||||
if (defaultValue != null) {
|
||||
const { value } = defaultValue;
|
||||
|
||||
if (!isDefaultValueBlacklisted(value)) {
|
||||
@ -46,13 +45,13 @@ function applyJsDocResult(propDef: PropDef, jsDocParsingResult: JsDocParsingResu
|
||||
if (jsDocParsingResult.includesJsDoc) {
|
||||
const { description, extractedTags } = jsDocParsingResult;
|
||||
|
||||
if (!isNil(description)) {
|
||||
if (description != null) {
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
propDef.description = jsDocParsingResult.description;
|
||||
}
|
||||
|
||||
const hasParams = !isNil(extractedTags.params);
|
||||
const hasReturns = !isNil(extractedTags.returns) && !isNil(extractedTags.returns.type);
|
||||
const hasParams = extractedTags.params != null;
|
||||
const hasReturns = extractedTags.returns != null && extractedTags.returns.type != null;
|
||||
|
||||
if (hasParams || hasReturns) {
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
|
@ -1,4 +1,3 @@
|
||||
import { isNil } from 'lodash';
|
||||
import { PropDef } from '@storybook/components';
|
||||
import { Component } from '../../blocks/shared';
|
||||
import { ExtractedJsDoc, parseJsDoc } from '../jsdocParser';
|
||||
@ -16,15 +15,15 @@ export interface ExtractedProp {
|
||||
export type ExtractProps = (component: Component, section: string) => ExtractedProp[];
|
||||
|
||||
const getTypeSystem = (docgenInfo: DocgenInfo): TypeSystem => {
|
||||
if (!isNil(docgenInfo.type)) {
|
||||
if (docgenInfo.type != null) {
|
||||
return TypeSystem.JAVASCRIPT;
|
||||
}
|
||||
|
||||
if (!isNil(docgenInfo.flowType)) {
|
||||
if (docgenInfo.flowType != null) {
|
||||
return TypeSystem.FLOW;
|
||||
}
|
||||
|
||||
if (!isNil(docgenInfo.tsType)) {
|
||||
if (docgenInfo.tsType != null) {
|
||||
return TypeSystem.TYPESCRIPT;
|
||||
}
|
||||
|
||||
@ -49,7 +48,7 @@ export const extractComponentSectionObject = (docgenSection: any) => {
|
||||
.map(propName => {
|
||||
const docgenInfo = docgenSection[propName];
|
||||
|
||||
return !isNil(docgenInfo)
|
||||
return docgenInfo != null
|
||||
? extractProp(propName, docgenInfo, typeSystem, createPropDef)
|
||||
: null;
|
||||
})
|
||||
@ -93,5 +92,5 @@ function extractProp(
|
||||
}
|
||||
|
||||
export function extractComponentDescription(component?: Component): string {
|
||||
return !isNil(component) && getDocgenDescription(component);
|
||||
return component != null && getDocgenDescription(component);
|
||||
}
|
||||
|
@ -1,5 +1,4 @@
|
||||
import { PropDefaultValue } from '@storybook/components';
|
||||
import { isNil } from 'lodash';
|
||||
import { DocgenPropDefaultValue, DocgenPropType } from '../types';
|
||||
import { createSummaryValue, isTooLongForDefaultValueSummary } from '../../utils';
|
||||
import { isDefaultValueBlacklisted } from '../utils/defaultValue';
|
||||
@ -8,7 +7,7 @@ export function createDefaultValue(
|
||||
defaultValue: DocgenPropDefaultValue,
|
||||
type: DocgenPropType
|
||||
): PropDefaultValue {
|
||||
if (!isNil(defaultValue)) {
|
||||
if (defaultValue != null) {
|
||||
const { value } = defaultValue;
|
||||
|
||||
if (!isDefaultValueBlacklisted(value)) {
|
||||
|
@ -1,5 +1,4 @@
|
||||
import { PropType } from '@storybook/components';
|
||||
import { isNil } from 'lodash';
|
||||
import { DocgenFlowType } from '../types';
|
||||
import { createSummaryValue, isTooLongForTypeSummary } from '../../utils';
|
||||
|
||||
@ -13,11 +12,11 @@ interface DocgenFlowUnionType extends DocgenFlowType {
|
||||
}
|
||||
|
||||
function generateUnion({ name, raw, elements }: DocgenFlowUnionType): PropType {
|
||||
if (!isNil(raw)) {
|
||||
if (raw != null) {
|
||||
return createSummaryValue(raw);
|
||||
}
|
||||
|
||||
if (!isNil(elements)) {
|
||||
if (elements != null) {
|
||||
return createSummaryValue(elements.map(x => x.value).join(' | '));
|
||||
}
|
||||
|
||||
@ -25,7 +24,7 @@ function generateUnion({ name, raw, elements }: DocgenFlowUnionType): PropType {
|
||||
}
|
||||
|
||||
function generateFuncSignature({ type, raw }: DocgenFlowType): PropType {
|
||||
if (!isNil(raw)) {
|
||||
if (raw != null) {
|
||||
return createSummaryValue(raw);
|
||||
}
|
||||
|
||||
@ -33,7 +32,7 @@ function generateFuncSignature({ type, raw }: DocgenFlowType): PropType {
|
||||
}
|
||||
|
||||
function generateObjectSignature({ type, raw }: DocgenFlowType): PropType {
|
||||
if (!isNil(raw)) {
|
||||
if (raw != null) {
|
||||
return !isTooLongForTypeSummary(raw) ? createSummaryValue(raw) : createSummaryValue(type, raw);
|
||||
}
|
||||
|
||||
@ -47,7 +46,7 @@ function generateSignature(flowType: DocgenFlowType): PropType {
|
||||
}
|
||||
|
||||
function generateDefault({ name, raw }: DocgenFlowType): PropType {
|
||||
if (!isNil(raw)) {
|
||||
if (raw != null) {
|
||||
return !isTooLongForTypeSummary(raw) ? createSummaryValue(raw) : createSummaryValue(name, raw);
|
||||
}
|
||||
|
||||
@ -56,7 +55,7 @@ function generateDefault({ name, raw }: DocgenFlowType): PropType {
|
||||
|
||||
export function createType(type: DocgenFlowType): PropType {
|
||||
// A type could be null if a defaultProp has been provided without a type definition.
|
||||
if (isNil(type)) {
|
||||
if (type == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
@ -1,11 +1,10 @@
|
||||
import { PropDefaultValue } from '@storybook/components';
|
||||
import { isNil } from 'lodash';
|
||||
import { DocgenInfo } from '../types';
|
||||
import { createSummaryValue } from '../../utils';
|
||||
import { isDefaultValueBlacklisted } from '../utils/defaultValue';
|
||||
|
||||
export function createDefaultValue({ defaultValue }: DocgenInfo): PropDefaultValue {
|
||||
if (!isNil(defaultValue)) {
|
||||
if (defaultValue != null) {
|
||||
const { value } = defaultValue;
|
||||
|
||||
if (!isDefaultValueBlacklisted(value)) {
|
||||
|
@ -1,11 +1,10 @@
|
||||
import { PropType } from '@storybook/components';
|
||||
import { isNil } from 'lodash';
|
||||
import { DocgenInfo } from '../types';
|
||||
import { createSummaryValue } from '../../utils';
|
||||
|
||||
export function createType({ tsType, required }: DocgenInfo): PropType {
|
||||
// A type could be null if a defaultProp has been provided without a type definition.
|
||||
if (isNil(tsType)) {
|
||||
if (tsType == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
/* eslint-disable no-underscore-dangle */
|
||||
|
||||
import { isNil } from 'lodash';
|
||||
import { Component } from '../../../blocks/shared';
|
||||
import { str } from './string';
|
||||
|
||||
@ -9,7 +8,7 @@ export function hasDocgen(component: Component): boolean {
|
||||
}
|
||||
|
||||
export function isValidDocgenSection(docgenSection: any) {
|
||||
return !isNil(docgenSection) && Object.keys(docgenSection).length > 0;
|
||||
return docgenSection != null && Object.keys(docgenSection).length > 0;
|
||||
}
|
||||
|
||||
export function getDocgenSection(component: Component, section: string): any {
|
||||
|
@ -1,5 +1,4 @@
|
||||
import doctrine, { Annotation } from 'doctrine';
|
||||
import { isNil } from 'lodash';
|
||||
|
||||
export interface ExtractedJsDocParam {
|
||||
name: string;
|
||||
@ -35,7 +34,7 @@ export interface JsDocParsingResult {
|
||||
export type ParseJsDoc = (value?: string, options?: JsDocParsingOptions) => JsDocParsingResult;
|
||||
|
||||
function containsJsDoc(value?: string): boolean {
|
||||
return !isNil(value) && value.includes('@');
|
||||
return value != null && value.includes('@');
|
||||
}
|
||||
|
||||
function parse(content: string, tags: string[]): Annotation {
|
||||
@ -112,8 +111,8 @@ function extractJsDocTags(ast: doctrine.Annotation): ExtractedJsDoc {
|
||||
case 'arg':
|
||||
case 'argument': {
|
||||
const paramTag = extractParam(tag);
|
||||
if (!isNil(paramTag)) {
|
||||
if (isNil(extractedTags.params)) {
|
||||
if (paramTag != null) {
|
||||
if (extractedTags.params == null) {
|
||||
extractedTags.params = [];
|
||||
}
|
||||
extractedTags.params.push(paramTag);
|
||||
@ -122,7 +121,7 @@ function extractJsDocTags(ast: doctrine.Annotation): ExtractedJsDoc {
|
||||
}
|
||||
case 'returns': {
|
||||
const returnsTag = extractReturns(tag);
|
||||
if (!isNil(returnsTag)) {
|
||||
if (returnsTag != null) {
|
||||
extractedTags.returns = returnsTag;
|
||||
}
|
||||
break;
|
||||
@ -140,7 +139,7 @@ function extractParam(tag: doctrine.Tag): ExtractedJsDocParam {
|
||||
const paramName = tag.name;
|
||||
|
||||
// When the @param doesn't have a name but have a type and a description, "null-null" is returned.
|
||||
if (!isNil(paramName) && paramName !== 'null-null') {
|
||||
if (paramName != null && paramName !== 'null-null') {
|
||||
return {
|
||||
name: tag.name,
|
||||
type: tag.type,
|
||||
@ -156,7 +155,7 @@ function extractParam(tag: doctrine.Tag): ExtractedJsDocParam {
|
||||
return tag.name;
|
||||
},
|
||||
getTypeName: () => {
|
||||
return !isNil(tag.type) ? extractTypeName(tag.type) : null;
|
||||
return tag.type != null ? extractTypeName(tag.type) : null;
|
||||
},
|
||||
};
|
||||
}
|
||||
@ -165,7 +164,7 @@ function extractParam(tag: doctrine.Tag): ExtractedJsDocParam {
|
||||
}
|
||||
|
||||
function extractReturns(tag: doctrine.Tag): ExtractedJsDocReturns {
|
||||
if (!isNil(tag.type)) {
|
||||
if (tag.type != null) {
|
||||
return {
|
||||
type: tag.type,
|
||||
description: tag.description,
|
||||
@ -185,7 +184,7 @@ function extractTypeName(type: doctrine.Type): string {
|
||||
|
||||
if (type.type === 'RecordType') {
|
||||
const recordFields = type.fields.map((field: doctrine.type.FieldType) => {
|
||||
if (!isNil(field.value)) {
|
||||
if (field.value != null) {
|
||||
const valueTypeName = extractTypeName(field.value);
|
||||
|
||||
return `${field.key}: ${valueTypeName}`;
|
||||
@ -209,7 +208,7 @@ function extractTypeName(type: doctrine.Type): string {
|
||||
}
|
||||
|
||||
if (type.type === 'TypeApplication') {
|
||||
if (!isNil(type.expression)) {
|
||||
if (type.expression != null) {
|
||||
if ((type.expression as doctrine.type.NameExpression).name === 'Array') {
|
||||
const arrayType = extractTypeName(type.applications[0]);
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-essentials",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Curated addons to bring out the best of Storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -27,11 +27,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.7",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/api": "6.0.0-alpha.7",
|
||||
"@storybook/node-logger": "6.0.0-alpha.7",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.8",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.8",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/api": "6.0.0-alpha.8",
|
||||
"@storybook/node-logger": "6.0.0-alpha.8",
|
||||
"ts-dedent": "^1.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-events",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Add events to your Storybook stories.",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -30,11 +30,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/api": "6.0.0-alpha.7",
|
||||
"@storybook/client-api": "6.0.0-alpha.7",
|
||||
"@storybook/core-events": "6.0.0-alpha.7",
|
||||
"@storybook/theming": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/api": "6.0.0-alpha.8",
|
||||
"@storybook/client-api": "6.0.0-alpha.8",
|
||||
"@storybook/core-events": "6.0.0-alpha.8",
|
||||
"@storybook/theming": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook addon for google analytics",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -20,8 +20,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/core-events": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/core-events": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook addon to display the GraphiQL IDE",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -28,8 +28,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/api": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/api": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "React storybook addon that show component jest report",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -34,11 +34,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/api": "6.0.0-alpha.7",
|
||||
"@storybook/components": "6.0.0-alpha.7",
|
||||
"@storybook/core-events": "6.0.0-alpha.7",
|
||||
"@storybook/theming": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/api": "6.0.0-alpha.8",
|
||||
"@storybook/components": "6.0.0-alpha.8",
|
||||
"@storybook/core-events": "6.0.0-alpha.8",
|
||||
"@storybook/theming": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook Addon Prop Editor Component",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -28,12 +28,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/api": "6.0.0-alpha.7",
|
||||
"@storybook/client-api": "6.0.0-alpha.7",
|
||||
"@storybook/components": "6.0.0-alpha.7",
|
||||
"@storybook/core-events": "6.0.0-alpha.7",
|
||||
"@storybook/theming": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/api": "6.0.0-alpha.8",
|
||||
"@storybook/client-api": "6.0.0-alpha.8",
|
||||
"@storybook/components": "6.0.0-alpha.8",
|
||||
"@storybook/core-events": "6.0.0-alpha.8",
|
||||
"@storybook/theming": "6.0.0-alpha.8",
|
||||
"@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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Story Links addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -28,11 +28,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/client-logger": "6.0.0-alpha.7",
|
||||
"@storybook/core-events": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/client-logger": "6.0.0-alpha.8",
|
||||
"@storybook/core-events": "6.0.0-alpha.8",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/router": "6.0.0-alpha.7",
|
||||
"@storybook/router": "6.0.0-alpha.8",
|
||||
"@types/qs": "^6.9.0",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-options",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Options addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -28,7 +28,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"core-js": "^3.0.1",
|
||||
"util-deprecate": "^1.0.2"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-queryparams",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "parameter addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -29,12 +29,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/api": "6.0.0-alpha.7",
|
||||
"@storybook/client-logger": "6.0.0-alpha.7",
|
||||
"@storybook/components": "6.0.0-alpha.7",
|
||||
"@storybook/core-events": "6.0.0-alpha.7",
|
||||
"@storybook/theming": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/api": "6.0.0-alpha.8",
|
||||
"@storybook/client-logger": "6.0.0-alpha.8",
|
||||
"@storybook/components": "6.0.0-alpha.8",
|
||||
"@storybook/core-events": "6.0.0-alpha.8",
|
||||
"@storybook/theming": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "StoryShots is a Jest Snapshot Testing Addon for Storybook.",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -32,9 +32,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@jest/transform": "^25.1.0",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/client-api": "6.0.0-alpha.7",
|
||||
"@storybook/core": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/client-api": "6.0.0-alpha.8",
|
||||
"@storybook/core": "6.0.0-alpha.8",
|
||||
"@types/glob": "^7.1.1",
|
||||
"@types/jest": "^25.1.1",
|
||||
"@types/jest-specific-snapshot": "^0.5.3",
|
||||
@ -49,8 +49,8 @@
|
||||
"ts-dedent": "^1.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-docs": "6.0.0-alpha.7",
|
||||
"@storybook/react": "6.0.0-alpha.7",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.8",
|
||||
"@storybook/react": "6.0.0-alpha.8",
|
||||
"babel-loader": "^8.0.6",
|
||||
"enzyme-to-json": "^3.4.1",
|
||||
"jest-emotion": "^10.0.17",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-storyshots-puppeteer",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Image snapshots addition to StoryShots based on puppeteer",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -29,7 +29,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/node-logger": "6.0.0-alpha.7",
|
||||
"@storybook/node-logger": "6.0.0-alpha.8",
|
||||
"@types/jest-image-snapshot": "^2.8.0",
|
||||
"@wordpress/jest-puppeteer-axe": "^1.5.0",
|
||||
"core-js": "^3.0.1",
|
||||
@ -41,7 +41,7 @@
|
||||
"@types/puppeteer": "^2.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.8",
|
||||
"puppeteer": "^1.12.2 || ^2.0.0"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-storysource",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Stories addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -28,13 +28,13 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/api": "6.0.0-alpha.7",
|
||||
"@storybook/client-logger": "6.0.0-alpha.7",
|
||||
"@storybook/components": "6.0.0-alpha.7",
|
||||
"@storybook/router": "6.0.0-alpha.7",
|
||||
"@storybook/source-loader": "6.0.0-alpha.7",
|
||||
"@storybook/theming": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/api": "6.0.0-alpha.8",
|
||||
"@storybook/client-logger": "6.0.0-alpha.8",
|
||||
"@storybook/components": "6.0.0-alpha.8",
|
||||
"@storybook/router": "6.0.0-alpha.8",
|
||||
"@storybook/source-loader": "6.0.0-alpha.8",
|
||||
"@storybook/theming": "6.0.0-alpha.8",
|
||||
"core-js": "^3.0.1",
|
||||
"estraverse": "^4.2.0",
|
||||
"loader-utils": "^1.2.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-viewport",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook addon to change the viewport size to mobile",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -28,12 +28,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/api": "6.0.0-alpha.7",
|
||||
"@storybook/client-logger": "6.0.0-alpha.7",
|
||||
"@storybook/components": "6.0.0-alpha.7",
|
||||
"@storybook/core-events": "6.0.0-alpha.7",
|
||||
"@storybook/theming": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/api": "6.0.0-alpha.8",
|
||||
"@storybook/client-logger": "6.0.0-alpha.8",
|
||||
"@storybook/components": "6.0.0-alpha.8",
|
||||
"@storybook/core-events": "6.0.0-alpha.8",
|
||||
"@storybook/theming": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -33,9 +33,9 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/core": "6.0.0-alpha.7",
|
||||
"@storybook/node-logger": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/core": "6.0.0-alpha.8",
|
||||
"@storybook/node-logger": "6.0.0-alpha.8",
|
||||
"@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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.",
|
||||
"homepage": "https://github.com/storybookjs/storybook/tree/master/app/ember",
|
||||
"bugs": {
|
||||
@ -31,7 +31,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@ember/test-helpers": "^1.7.0",
|
||||
"@storybook/core": "6.0.0-alpha.7",
|
||||
"@storybook/core": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -33,8 +33,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/core": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/core": "6.0.0-alpha.8",
|
||||
"@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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"@storybook/core": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -33,8 +33,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@marko/webpack": "^2.1.0",
|
||||
"@storybook/client-logger": "6.0.0-alpha.7",
|
||||
"@storybook/core": "6.0.0-alpha.7",
|
||||
"@storybook/client-logger": "6.0.0-alpha.8",
|
||||
"@storybook/core": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook for Mithril: Develop Mithril Component in isolation.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -35,8 +35,8 @@
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.8.4",
|
||||
"@babel/plugin-transform-react-jsx": "^7.3.0",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/core": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/core": "6.0.0-alpha.8",
|
||||
"@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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook for Preact: Develop Preact Component in isolation.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -34,8 +34,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/plugin-transform-react-jsx": "^7.3.0",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/core": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/core": "6.0.0-alpha.8",
|
||||
"@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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook for Rax: Develop Rax Component in isolation.",
|
||||
"keywords": [
|
||||
"rax",
|
||||
@ -33,7 +33,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "6.0.0-alpha.7",
|
||||
"@storybook/core": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -36,9 +36,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.7",
|
||||
"@storybook/core": "6.0.0-alpha.7",
|
||||
"@storybook/node-logger": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/core": "6.0.0-alpha.8",
|
||||
"@storybook/node-logger": "6.0.0-alpha.8",
|
||||
"@svgr/webpack": "^5.1.0",
|
||||
"@types/webpack-env": "^1.15.1",
|
||||
"babel-plugin-add-react-displayname": "^0.0.5",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/riot",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -33,7 +33,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "6.0.0-alpha.7",
|
||||
"@storybook/core": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook for Server: View HTML snippets from a server in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -33,8 +33,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/core": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/core": "6.0.0-alpha.8",
|
||||
"@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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -33,8 +33,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/core": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/core": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -33,8 +33,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/core": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/core": "6.0.0-alpha.8",
|
||||
"@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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"lit-html",
|
||||
@ -37,8 +37,8 @@
|
||||
"dependencies": {
|
||||
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
||||
"@babel/plugin-syntax-import-meta": "^7.2.0",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/core": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/core": "6.0.0-alpha.8",
|
||||
"@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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "decorator addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -24,8 +24,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/client-api": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/client-api": "6.0.0-alpha.8",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.4.0"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-parameter",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "parameter addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -24,12 +24,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/api": "6.0.0-alpha.7",
|
||||
"@storybook/client-logger": "6.0.0-alpha.7",
|
||||
"@storybook/components": "6.0.0-alpha.7",
|
||||
"@storybook/core-events": "6.0.0-alpha.7",
|
||||
"@storybook/theming": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/api": "6.0.0-alpha.8",
|
||||
"@storybook/client-logger": "6.0.0-alpha.8",
|
||||
"@storybook/components": "6.0.0-alpha.8",
|
||||
"@storybook/core-events": "6.0.0-alpha.8",
|
||||
"@storybook/theming": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "preview wrapper addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -24,7 +24,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"react": "^16.8.3"
|
||||
},
|
||||
"publishConfig": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-roundtrip",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "roundtrip addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -24,13 +24,13 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/api": "6.0.0-alpha.7",
|
||||
"@storybook/client-api": "6.0.0-alpha.7",
|
||||
"@storybook/client-logger": "6.0.0-alpha.7",
|
||||
"@storybook/components": "6.0.0-alpha.7",
|
||||
"@storybook/core-events": "6.0.0-alpha.7",
|
||||
"@storybook/theming": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/api": "6.0.0-alpha.8",
|
||||
"@storybook/client-api": "6.0.0-alpha.8",
|
||||
"@storybook/client-logger": "6.0.0-alpha.8",
|
||||
"@storybook/components": "6.0.0-alpha.8",
|
||||
"@storybook/core-events": "6.0.0-alpha.8",
|
||||
"@storybook/theming": "6.0.0-alpha.8",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"react": "^16.8.3",
|
||||
|
@ -1,10 +1,9 @@
|
||||
import React from 'react';
|
||||
import { values } from 'lodash';
|
||||
|
||||
import Examples from '../../components/Grid/Examples';
|
||||
import examples from './_examples.yml';
|
||||
|
||||
const examplesArray = values(examples).map(example => ({
|
||||
const examplesArray = Object.values(examples).map(example => ({
|
||||
...example,
|
||||
// eslint-disable-next-line import/no-dynamic-require, global-require
|
||||
thumbnailSrc: require(`./thumbnails/${example.thumbnail}`),
|
||||
|
@ -1,9 +1,8 @@
|
||||
import React from 'react';
|
||||
import { values } from 'lodash';
|
||||
import Homepage from '../components/Homepage';
|
||||
import users from './_users.yml';
|
||||
|
||||
const usersArray = values(users).map(user => ({
|
||||
const usersArray = Object.values(users).map(user => ({
|
||||
...user,
|
||||
// eslint-disable-next-line import/no-dynamic-require, global-require
|
||||
logoSrc: require(`./logos/${user.logo}`),
|
||||
|
@ -1,5 +1,4 @@
|
||||
import React from 'react';
|
||||
import { values } from 'lodash';
|
||||
|
||||
import Homepage from '../components/Homepage';
|
||||
import Header from '../components/Header';
|
||||
@ -24,7 +23,7 @@ import exampleData from './_examples.yml';
|
||||
|
||||
export default {
|
||||
'Homepage.page': (
|
||||
<Homepage featuredStorybooks={docsData.featuredStorybooks} users={values(users)} />
|
||||
<Homepage featuredStorybooks={docsData.featuredStorybooks} users={Object.values(users)} />
|
||||
),
|
||||
'Homepage.header': <Header />,
|
||||
'Homepage.heading': <Heading />,
|
||||
@ -32,7 +31,7 @@ export default {
|
||||
'Homepage.built-for': <Platforms />,
|
||||
'Homepage.main-links': <MainLinks />,
|
||||
'Homepage.featured-storybooks': <Featured featuredStorybooks={docsData.featuredStorybooks} />,
|
||||
'Homepage.used-by': <UsedBy users={values(users)} />,
|
||||
'Homepage.used-by': <UsedBy users={Object.values(users)} />,
|
||||
'Homepage.footer': <Footer />,
|
||||
'Docs.page': (
|
||||
<Docs
|
||||
@ -60,7 +59,7 @@ export default {
|
||||
selectedItem={docsData.selectedItem.id}
|
||||
/>
|
||||
),
|
||||
'Grid.grid-item': <GridItem {...values(exampleData)[0]} />,
|
||||
'Grid.grid': <Grid items={values(exampleData)} columnWidth={300} />,
|
||||
'Grid.examples': <Examples items={values(exampleData)} />,
|
||||
'Grid.grid-item': <GridItem {...Object.values(exampleData)[0]} />,
|
||||
'Grid.grid': <Grid items={Object.values(exampleData)} columnWidth={300} />,
|
||||
'Grid.examples': <Examples items={Object.values(exampleData)} />,
|
||||
};
|
||||
|
@ -1 +1 @@
|
||||
{"version":"6.0.0-alpha.6","info":{"plain":"### Bug Fixes\n\n* Core: Fix dev server error - back out bad change ([#9753](https://github.com/storybookjs/storybook/pull/9753))\n* CLI: Fix file path for the Button story ([#9325](https://github.com/storybookjs/storybook/pull/9325))"}}
|
||||
{"version":"6.0.0-alpha.8","info":{"plain":"### Maintenance\n\n* Replace lodash named imports with specific imports ([#9787](https://github.com/storybookjs/storybook/pull/9787))"}}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "angular-cli",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"private": true,
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
@ -37,20 +37,20 @@
|
||||
"@angular/cli": "^8.3.6",
|
||||
"@angular/compiler-cli": "^8.2.8",
|
||||
"@compodoc/compodoc": "^1.1.11",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.7",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.7",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.7",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.7",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.7",
|
||||
"@storybook/addon-jest": "6.0.0-alpha.7",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.7",
|
||||
"@storybook/addon-links": "6.0.0-alpha.7",
|
||||
"@storybook/addon-options": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/angular": "6.0.0-alpha.7",
|
||||
"@storybook/source-loader": "6.0.0-alpha.7",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.8",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.8",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.8",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.8",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.8",
|
||||
"@storybook/addon-jest": "6.0.0-alpha.8",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.8",
|
||||
"@storybook/addon-links": "6.0.0-alpha.8",
|
||||
"@storybook/addon-options": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.8",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/angular": "6.0.0-alpha.8",
|
||||
"@storybook/source-loader": "6.0.0-alpha.8",
|
||||
"@types/core-js": "^2.5.0",
|
||||
"@types/jest": "^25.1.1",
|
||||
"@types/node": "^13.5.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-kitchen-sink",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -18,21 +18,21 @@
|
||||
"react-lifecycles-compat": "^3.0.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.7",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.7",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.7",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.7",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.7",
|
||||
"@storybook/addon-events": "6.0.0-alpha.7",
|
||||
"@storybook/addon-jest": "6.0.0-alpha.7",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.7",
|
||||
"@storybook/addon-links": "6.0.0-alpha.7",
|
||||
"@storybook/addon-options": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/client-logger": "6.0.0-alpha.7",
|
||||
"@storybook/react": "6.0.0-alpha.7",
|
||||
"@storybook/theming": "6.0.0-alpha.7",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.8",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.8",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.8",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.8",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.8",
|
||||
"@storybook/addon-events": "6.0.0-alpha.8",
|
||||
"@storybook/addon-jest": "6.0.0-alpha.8",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.8",
|
||||
"@storybook/addon-links": "6.0.0-alpha.8",
|
||||
"@storybook/addon-options": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.8",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/client-logger": "6.0.0-alpha.8",
|
||||
"@storybook/react": "6.0.0-alpha.8",
|
||||
"@storybook/theming": "6.0.0-alpha.8",
|
||||
"react-scripts": "^3.0.1"
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-react15",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -18,11 +18,11 @@
|
||||
"react-scripts": "3.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-actions": "6.0.0-alpha.7",
|
||||
"@storybook/addon-links": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/react": "6.0.0-alpha.7",
|
||||
"@storybook/theming": "6.0.0-alpha.7",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.8",
|
||||
"@storybook/addon-links": "6.0.0-alpha.8",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/react": "6.0.0-alpha.8",
|
||||
"@storybook/theming": "6.0.0-alpha.8",
|
||||
"babel-core": "6",
|
||||
"babel-runtime": "6"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-ts-essentials",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -36,9 +36,9 @@
|
||||
"typescript": "3.7.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-essentials": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/addon-essentials": "6.0.0-alpha.8",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/preset-create-react-app": "^1.5.0",
|
||||
"@storybook/react": "6.0.0-alpha.7"
|
||||
"@storybook/react": "6.0.0-alpha.8"
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-ts-kitchen-sink",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -34,14 +34,14 @@
|
||||
"typescript": "3.7.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.7",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.7",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.7",
|
||||
"@storybook/addon-links": "6.0.0-alpha.7",
|
||||
"@storybook/addon-options": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.8",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.8",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.8",
|
||||
"@storybook/addon-links": "6.0.0-alpha.8",
|
||||
"@storybook/addon-options": "6.0.0-alpha.8",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/preset-create-react-app": "^1.5.0",
|
||||
"@storybook/react": "6.0.0-alpha.7",
|
||||
"@storybook/react": "6.0.0-alpha.8",
|
||||
"@types/enzyme": "^3.9.0",
|
||||
"@types/react": "^16.8.14",
|
||||
"@types/react-dom": "^16.8.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/example-devkits",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"@storybook/addon-parameter": "6.0.0-alpha.7",
|
||||
"@storybook/addon-preview-wrapper": "6.0.0-alpha.7",
|
||||
"@storybook/addon-roundtrip": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/api": "6.0.0-alpha.7",
|
||||
"@storybook/client-api": "6.0.0-alpha.7",
|
||||
"@storybook/components": "6.0.0-alpha.7",
|
||||
"@storybook/core-events": "6.0.0-alpha.7",
|
||||
"@storybook/node-logger": "6.0.0-alpha.7",
|
||||
"@storybook/react": "6.0.0-alpha.7",
|
||||
"@storybook/theming": "6.0.0-alpha.7",
|
||||
"@storybook/addon-decorator": "6.0.0-alpha.8",
|
||||
"@storybook/addon-parameter": "6.0.0-alpha.8",
|
||||
"@storybook/addon-preview-wrapper": "6.0.0-alpha.8",
|
||||
"@storybook/addon-roundtrip": "6.0.0-alpha.8",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/api": "6.0.0-alpha.8",
|
||||
"@storybook/client-api": "6.0.0-alpha.8",
|
||||
"@storybook/components": "6.0.0-alpha.8",
|
||||
"@storybook/core-events": "6.0.0-alpha.8",
|
||||
"@storybook/node-logger": "6.0.0-alpha.8",
|
||||
"@storybook/react": "6.0.0-alpha.8",
|
||||
"@storybook/theming": "6.0.0-alpha.8",
|
||||
"cors": "^2.8.5",
|
||||
"cross-env": "^7.0.0",
|
||||
"enzyme-to-json": "^3.4.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ember-example",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "ember build --output-path ember-output",
|
||||
@ -16,20 +16,20 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.8.4",
|
||||
"@ember/optional-features": "^1.3.0",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.7",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.7",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.7",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.7",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.7",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.7",
|
||||
"@storybook/addon-links": "6.0.0-alpha.7",
|
||||
"@storybook/addon-options": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.7",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/ember": "6.0.0-alpha.7",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.8",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.8",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.8",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.8",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.8",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.8",
|
||||
"@storybook/addon-links": "6.0.0-alpha.8",
|
||||
"@storybook/addon-options": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.8",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.8",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/ember": "6.0.0-alpha.8",
|
||||
"@storybook/ember-cli-storybook": "^0.2.0",
|
||||
"@storybook/source-loader": "6.0.0-alpha.7",
|
||||
"@storybook/source-loader": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"private": true,
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
@ -13,25 +13,25 @@
|
||||
"storybook": "start-storybook -p 9006"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.7",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.7",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.7",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.7",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.7",
|
||||
"@storybook/addon-events": "6.0.0-alpha.7",
|
||||
"@storybook/addon-jest": "6.0.0-alpha.7",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.7",
|
||||
"@storybook/addon-links": "6.0.0-alpha.7",
|
||||
"@storybook/addon-options": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.7",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/client-api": "6.0.0-alpha.7",
|
||||
"@storybook/core": "6.0.0-alpha.7",
|
||||
"@storybook/core-events": "6.0.0-alpha.7",
|
||||
"@storybook/html": "6.0.0-alpha.7",
|
||||
"@storybook/source-loader": "6.0.0-alpha.7",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.8",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.8",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.8",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.8",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.8",
|
||||
"@storybook/addon-events": "6.0.0-alpha.8",
|
||||
"@storybook/addon-jest": "6.0.0-alpha.8",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.8",
|
||||
"@storybook/addon-links": "6.0.0-alpha.8",
|
||||
"@storybook/addon-options": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.8",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.8",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/client-api": "6.0.0-alpha.8",
|
||||
"@storybook/core": "6.0.0-alpha.8",
|
||||
"@storybook/core-events": "6.0.0-alpha.8",
|
||||
"@storybook/html": "6.0.0-alpha.8",
|
||||
"@storybook/source-loader": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"private": true,
|
||||
"description": "Demo of how to build an app using marko-starter",
|
||||
"repository": {
|
||||
@ -23,14 +23,14 @@
|
||||
"marko-starter": "^2.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.7",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.7",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.7",
|
||||
"@storybook/addon-options": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/marko": "6.0.0-alpha.7",
|
||||
"@storybook/source-loader": "6.0.0-alpha.7",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.8",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.8",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.8",
|
||||
"@storybook/addon-options": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.8",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/marko": "6.0.0-alpha.8",
|
||||
"@storybook/source-loader": "6.0.0-alpha.8",
|
||||
"prettier": "^1.16.4",
|
||||
"webpack": "^4.33.0"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mithril-example",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "build-storybook",
|
||||
@ -10,19 +10,19 @@
|
||||
"mithril": "^1.1.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.7",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.7",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.7",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.7",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.7",
|
||||
"@storybook/addon-links": "6.0.0-alpha.7",
|
||||
"@storybook/addon-options": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.7",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/mithril": "6.0.0-alpha.7",
|
||||
"@storybook/source-loader": "6.0.0-alpha.7",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.8",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.8",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.8",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.8",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.8",
|
||||
"@storybook/addon-links": "6.0.0-alpha.8",
|
||||
"@storybook/addon-options": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.8",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.8",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/mithril": "6.0.0-alpha.8",
|
||||
"@storybook/source-loader": "6.0.0-alpha.8",
|
||||
"webpack": "^4.33.0"
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "official-storybook",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.7",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.7",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.7",
|
||||
"@storybook/addon-contexts": "6.0.0-alpha.7",
|
||||
"@storybook/addon-cssresources": "6.0.0-alpha.7",
|
||||
"@storybook/addon-design-assets": "6.0.0-alpha.7",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.7",
|
||||
"@storybook/addon-events": "6.0.0-alpha.7",
|
||||
"@storybook/addon-graphql": "6.0.0-alpha.7",
|
||||
"@storybook/addon-jest": "6.0.0-alpha.7",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.7",
|
||||
"@storybook/addon-links": "6.0.0-alpha.7",
|
||||
"@storybook/addon-options": "6.0.0-alpha.7",
|
||||
"@storybook/addon-queryparams": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storyshots-puppeteer": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.7",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/components": "6.0.0-alpha.7",
|
||||
"@storybook/core-events": "6.0.0-alpha.7",
|
||||
"@storybook/node-logger": "6.0.0-alpha.7",
|
||||
"@storybook/react": "6.0.0-alpha.7",
|
||||
"@storybook/source-loader": "6.0.0-alpha.7",
|
||||
"@storybook/theming": "6.0.0-alpha.7",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.8",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.8",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.8",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.8",
|
||||
"@storybook/addon-contexts": "6.0.0-alpha.8",
|
||||
"@storybook/addon-cssresources": "6.0.0-alpha.8",
|
||||
"@storybook/addon-design-assets": "6.0.0-alpha.8",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.8",
|
||||
"@storybook/addon-events": "6.0.0-alpha.8",
|
||||
"@storybook/addon-graphql": "6.0.0-alpha.8",
|
||||
"@storybook/addon-jest": "6.0.0-alpha.8",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.8",
|
||||
"@storybook/addon-links": "6.0.0-alpha.8",
|
||||
"@storybook/addon-options": "6.0.0-alpha.8",
|
||||
"@storybook/addon-queryparams": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storyshots-puppeteer": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.8",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.8",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/components": "6.0.0-alpha.8",
|
||||
"@storybook/core-events": "6.0.0-alpha.8",
|
||||
"@storybook/node-logger": "6.0.0-alpha.8",
|
||||
"@storybook/react": "6.0.0-alpha.8",
|
||||
"@storybook/source-loader": "6.0.0-alpha.8",
|
||||
"@storybook/theming": "6.0.0-alpha.8",
|
||||
"cors": "^2.8.5",
|
||||
"cross-env": "^7.0.0",
|
||||
"enzyme-to-json": "^3.4.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "preact-example",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
@ -15,20 +15,20 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.8.4",
|
||||
"@babel/plugin-transform-runtime": "^7.2.0",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.7",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.7",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.7",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.7",
|
||||
"@storybook/addon-contexts": "6.0.0-alpha.7",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.7",
|
||||
"@storybook/addon-links": "6.0.0-alpha.7",
|
||||
"@storybook/addon-options": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.7",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/preact": "6.0.0-alpha.7",
|
||||
"@storybook/source-loader": "6.0.0-alpha.7",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.8",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.8",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.8",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.8",
|
||||
"@storybook/addon-contexts": "6.0.0-alpha.8",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.8",
|
||||
"@storybook/addon-links": "6.0.0-alpha.8",
|
||||
"@storybook/addon-options": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.8",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.8",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/preact": "6.0.0-alpha.8",
|
||||
"@storybook/source-loader": "6.0.0-alpha.8",
|
||||
"babel-loader": "^8.0.4",
|
||||
"cross-env": "^7.0.0",
|
||||
"file-loader": "^5.0.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "rax-kitchen-sink",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "build-scripts build",
|
||||
@ -20,22 +20,22 @@
|
||||
"devDependencies": {
|
||||
"@alib/build-scripts": "^0.1.8",
|
||||
"@babel/preset-react": "^7.7.4",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.7",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.7",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.7",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.7",
|
||||
"@storybook/addon-events": "6.0.0-alpha.7",
|
||||
"@storybook/addon-jest": "6.0.0-alpha.7",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.7",
|
||||
"@storybook/addon-links": "6.0.0-alpha.7",
|
||||
"@storybook/addon-options": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.7",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/rax": "6.0.0-alpha.7",
|
||||
"@storybook/source-loader": "6.0.0-alpha.7",
|
||||
"@storybook/theming": "6.0.0-alpha.7",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.8",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.8",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.8",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.8",
|
||||
"@storybook/addon-events": "6.0.0-alpha.8",
|
||||
"@storybook/addon-jest": "6.0.0-alpha.8",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.8",
|
||||
"@storybook/addon-links": "6.0.0-alpha.8",
|
||||
"@storybook/addon-options": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.8",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.8",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/rax": "6.0.0-alpha.8",
|
||||
"@storybook/source-loader": "6.0.0-alpha.8",
|
||||
"@storybook/theming": "6.0.0-alpha.8",
|
||||
"babel-eslint": "^10.0.3",
|
||||
"build-plugin-rax-app": "^0.2.0",
|
||||
"stylesheet-loader": "^0.7.0"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "riot-example",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
@ -15,19 +15,19 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.8.4",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.7",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.7",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.7",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.7",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.7",
|
||||
"@storybook/addon-links": "6.0.0-alpha.7",
|
||||
"@storybook/addon-options": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.7",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/riot": "6.0.0-alpha.7",
|
||||
"@storybook/source-loader": "6.0.0-alpha.7",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.8",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.8",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.8",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.8",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.8",
|
||||
"@storybook/addon-links": "6.0.0-alpha.8",
|
||||
"@storybook/addon-options": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.8",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.8",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/riot": "6.0.0-alpha.8",
|
||||
"@storybook/source-loader": "6.0.0-alpha.8",
|
||||
"babel-loader": "^8.0.4",
|
||||
"cross-env": "^7.0.0",
|
||||
"file-loader": "^5.0.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "server-kitchen-sink",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"private": true,
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
@ -14,14 +14,14 @@
|
||||
"storybook": "SERVER_PORT=1137 start-storybook -p 9006 --quiet"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.7",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.7",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.7",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.7",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.7",
|
||||
"@storybook/addon-links": "6.0.0-alpha.7",
|
||||
"@storybook/node-logger": "6.0.0-alpha.7",
|
||||
"@storybook/server": "6.0.0-alpha.7",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.8",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.8",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.8",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.8",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.8",
|
||||
"@storybook/addon-links": "6.0.0-alpha.8",
|
||||
"@storybook/node-logger": "6.0.0-alpha.8",
|
||||
"@storybook/server": "6.0.0-alpha.8",
|
||||
"concurrently": "^5.0.2",
|
||||
"cors": "^2.8.5",
|
||||
"express": "~4.16.4",
|
||||
|
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "standalone-preview",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"storybook": "parcel ./storybook.html --port 1337"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/react": "6.0.0-alpha.7",
|
||||
"@storybook/react": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.7",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.7",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.7",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.7",
|
||||
"@storybook/addon-links": "6.0.0-alpha.7",
|
||||
"@storybook/addon-options": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.7",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/source-loader": "6.0.0-alpha.7",
|
||||
"@storybook/svelte": "6.0.0-alpha.7"
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.8",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.8",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.8",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.8",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.8",
|
||||
"@storybook/addon-links": "6.0.0-alpha.8",
|
||||
"@storybook/addon-options": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.8",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.8",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/source-loader": "6.0.0-alpha.8",
|
||||
"@storybook/svelte": "6.0.0-alpha.8"
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vue-example",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
@ -14,21 +14,21 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.8.4",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.7",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.7",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.7",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.7",
|
||||
"@storybook/addon-contexts": "6.0.0-alpha.7",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.7",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.7",
|
||||
"@storybook/addon-links": "6.0.0-alpha.7",
|
||||
"@storybook/addon-options": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.7",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/source-loader": "6.0.0-alpha.7",
|
||||
"@storybook/vue": "6.0.0-alpha.7",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.8",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.8",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.8",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.8",
|
||||
"@storybook/addon-contexts": "6.0.0-alpha.8",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.8",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.8",
|
||||
"@storybook/addon-links": "6.0.0-alpha.8",
|
||||
"@storybook/addon-options": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.8",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.8",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/source-loader": "6.0.0-alpha.8",
|
||||
"@storybook/vue": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"private": true,
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
@ -12,25 +12,25 @@
|
||||
"storybook": "start-storybook -p 9006"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.7",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.7",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.7",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.7",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.7",
|
||||
"@storybook/addon-events": "6.0.0-alpha.7",
|
||||
"@storybook/addon-jest": "6.0.0-alpha.7",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.7",
|
||||
"@storybook/addon-links": "6.0.0-alpha.7",
|
||||
"@storybook/addon-options": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.7",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/client-api": "6.0.0-alpha.7",
|
||||
"@storybook/core": "6.0.0-alpha.7",
|
||||
"@storybook/core-events": "6.0.0-alpha.7",
|
||||
"@storybook/source-loader": "6.0.0-alpha.7",
|
||||
"@storybook/web-components": "6.0.0-alpha.7",
|
||||
"@storybook/addon-a11y": "6.0.0-alpha.8",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.8",
|
||||
"@storybook/addon-backgrounds": "6.0.0-alpha.8",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.8",
|
||||
"@storybook/addon-docs": "6.0.0-alpha.8",
|
||||
"@storybook/addon-events": "6.0.0-alpha.8",
|
||||
"@storybook/addon-jest": "6.0.0-alpha.8",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.8",
|
||||
"@storybook/addon-links": "6.0.0-alpha.8",
|
||||
"@storybook/addon-options": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storysource": "6.0.0-alpha.8",
|
||||
"@storybook/addon-viewport": "6.0.0-alpha.8",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/client-api": "6.0.0-alpha.8",
|
||||
"@storybook/core": "6.0.0-alpha.8",
|
||||
"@storybook/core-events": "6.0.0-alpha.8",
|
||||
"@storybook/source-loader": "6.0.0-alpha.8",
|
||||
"@storybook/web-components": "6.0.0-alpha.8",
|
||||
"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.7"
|
||||
"version": "6.0.0-alpha.8"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addons",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook addons store",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -27,10 +27,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/api": "6.0.0-alpha.7",
|
||||
"@storybook/channels": "6.0.0-alpha.7",
|
||||
"@storybook/client-logger": "6.0.0-alpha.7",
|
||||
"@storybook/core-events": "6.0.0-alpha.7",
|
||||
"@storybook/api": "6.0.0-alpha.8",
|
||||
"@storybook/channels": "6.0.0-alpha.8",
|
||||
"@storybook/client-logger": "6.0.0-alpha.8",
|
||||
"@storybook/core-events": "6.0.0-alpha.8",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"util-deprecate": "^1.0.2"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/api",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Core Storybook API & Context",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -27,12 +27,12 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@reach/router": "^1.2.1",
|
||||
"@storybook/channels": "6.0.0-alpha.7",
|
||||
"@storybook/client-logger": "6.0.0-alpha.7",
|
||||
"@storybook/core-events": "6.0.0-alpha.7",
|
||||
"@storybook/channels": "6.0.0-alpha.8",
|
||||
"@storybook/client-logger": "6.0.0-alpha.8",
|
||||
"@storybook/core-events": "6.0.0-alpha.8",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/router": "6.0.0-alpha.7",
|
||||
"@storybook/theming": "6.0.0-alpha.7",
|
||||
"@storybook/router": "6.0.0-alpha.8",
|
||||
"@storybook/theming": "6.0.0-alpha.8",
|
||||
"@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.7';
|
||||
export const version = '6.0.0-alpha.8';
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/channel-postmessage",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -27,8 +27,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/channels": "6.0.0-alpha.7",
|
||||
"@storybook/client-logger": "6.0.0-alpha.7",
|
||||
"@storybook/channels": "6.0.0-alpha.8",
|
||||
"@storybook/client-logger": "6.0.0-alpha.8",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"telejson": "^3.2.0"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/channel-websocket",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -27,7 +27,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/channels": "6.0.0-alpha.7",
|
||||
"@storybook/channels": "6.0.0-alpha.8",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
"json-fn": "^1.1.1"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/channels",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "sb",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook CLI",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -22,7 +22,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/cli": "6.0.0-alpha.7"
|
||||
"@storybook/cli": "6.0.0-alpha.8"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "storybook",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook CLI",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -23,7 +23,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/cli": "6.0.0-alpha.7"
|
||||
"@storybook/cli": "6.0.0-alpha.8"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/cli",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook's CLI - easiest method of adding storybook to your projects",
|
||||
"keywords": [
|
||||
"cli",
|
||||
@ -37,7 +37,7 @@
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.8.4",
|
||||
"@babel/preset-env": "^7.8.4",
|
||||
"@storybook/codemod": "6.0.0-alpha.7",
|
||||
"@storybook/codemod": "6.0.0-alpha.8",
|
||||
"chalk": "^3.0.0",
|
||||
"commander": "^4.0.1",
|
||||
"core-js": "^3.0.1",
|
||||
@ -57,32 +57,32 @@
|
||||
"update-notifier": "^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-actions": "6.0.0-alpha.7",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.7",
|
||||
"@storybook/addon-graphql": "6.0.0-alpha.7",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.7",
|
||||
"@storybook/addon-links": "6.0.0-alpha.7",
|
||||
"@storybook/addon-options": "6.0.0-alpha.7",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/angular": "6.0.0-alpha.7",
|
||||
"@storybook/channel-postmessage": "6.0.0-alpha.7",
|
||||
"@storybook/channel-websocket": "6.0.0-alpha.7",
|
||||
"@storybook/channels": "6.0.0-alpha.7",
|
||||
"@storybook/ember": "6.0.0-alpha.7",
|
||||
"@storybook/html": "6.0.0-alpha.7",
|
||||
"@storybook/marionette": "6.0.0-alpha.7",
|
||||
"@storybook/marko": "6.0.0-alpha.7",
|
||||
"@storybook/mithril": "6.0.0-alpha.7",
|
||||
"@storybook/preact": "6.0.0-alpha.7",
|
||||
"@storybook/rax": "6.0.0-alpha.7",
|
||||
"@storybook/react": "6.0.0-alpha.7",
|
||||
"@storybook/addon-actions": "6.0.0-alpha.8",
|
||||
"@storybook/addon-centered": "6.0.0-alpha.8",
|
||||
"@storybook/addon-graphql": "6.0.0-alpha.8",
|
||||
"@storybook/addon-knobs": "6.0.0-alpha.8",
|
||||
"@storybook/addon-links": "6.0.0-alpha.8",
|
||||
"@storybook/addon-options": "6.0.0-alpha.8",
|
||||
"@storybook/addon-storyshots": "6.0.0-alpha.8",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/angular": "6.0.0-alpha.8",
|
||||
"@storybook/channel-postmessage": "6.0.0-alpha.8",
|
||||
"@storybook/channel-websocket": "6.0.0-alpha.8",
|
||||
"@storybook/channels": "6.0.0-alpha.8",
|
||||
"@storybook/ember": "6.0.0-alpha.8",
|
||||
"@storybook/html": "6.0.0-alpha.8",
|
||||
"@storybook/marionette": "6.0.0-alpha.8",
|
||||
"@storybook/marko": "6.0.0-alpha.8",
|
||||
"@storybook/mithril": "6.0.0-alpha.8",
|
||||
"@storybook/preact": "6.0.0-alpha.8",
|
||||
"@storybook/rax": "6.0.0-alpha.8",
|
||||
"@storybook/react": "6.0.0-alpha.8",
|
||||
"@storybook/react-native": "6.0.0-alpha.0",
|
||||
"@storybook/riot": "6.0.0-alpha.7",
|
||||
"@storybook/svelte": "6.0.0-alpha.7",
|
||||
"@storybook/ui": "6.0.0-alpha.7",
|
||||
"@storybook/vue": "6.0.0-alpha.7",
|
||||
"@storybook/web-components": "6.0.0-alpha.7"
|
||||
"@storybook/riot": "6.0.0-alpha.8",
|
||||
"@storybook/svelte": "6.0.0-alpha.8",
|
||||
"@storybook/ui": "6.0.0-alpha.8",
|
||||
"@storybook/vue": "6.0.0-alpha.8",
|
||||
"@storybook/web-components": "6.0.0-alpha.8"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/client-api",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook Client API",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -27,11 +27,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/channel-postmessage": "6.0.0-alpha.7",
|
||||
"@storybook/channels": "6.0.0-alpha.7",
|
||||
"@storybook/client-logger": "6.0.0-alpha.7",
|
||||
"@storybook/core-events": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/channel-postmessage": "6.0.0-alpha.8",
|
||||
"@storybook/channels": "6.0.0-alpha.8",
|
||||
"@storybook/client-logger": "6.0.0-alpha.8",
|
||||
"@storybook/core-events": "6.0.0-alpha.8",
|
||||
"@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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/codemod",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "A collection of codemod scripts written with JSCodeshift",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -29,7 +29,7 @@
|
||||
"dependencies": {
|
||||
"@mdx-js/mdx": "^1.5.1",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/node-logger": "6.0.0-alpha.7",
|
||||
"@storybook/node-logger": "6.0.0-alpha.8",
|
||||
"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.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Core Storybook Components",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -27,8 +27,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/client-logger": "6.0.0-alpha.7",
|
||||
"@storybook/theming": "6.0.0-alpha.7",
|
||||
"@storybook/client-logger": "6.0.0-alpha.8",
|
||||
"@storybook/theming": "6.0.0-alpha.8",
|
||||
"@types/react-textarea-autosize": "^4.3.3",
|
||||
"core-js": "^3.0.1",
|
||||
"global": "^4.3.2",
|
||||
|
@ -1,6 +1,5 @@
|
||||
import React, { FC } from 'react';
|
||||
import { styled } from '@storybook/theming';
|
||||
import { isNil } from 'lodash';
|
||||
import { JsDocTags } from './PropDef';
|
||||
import { codeCommon } from '../../typography/shared';
|
||||
|
||||
@ -65,7 +64,7 @@ export const Table = styled.table(({ theme }) => ({
|
||||
export const PropJsDoc: FC<PropJsDocProps> = ({ tags }) => {
|
||||
const params = (tags.params || []).filter(x => x.description);
|
||||
const hasDisplayableParams = params.length !== 0;
|
||||
const hasDisplayableReturns = !isNil(tags.returns) && !isNil(tags.returns.description);
|
||||
const hasDisplayableReturns = tags.returns != null && tags.returns.description != null;
|
||||
|
||||
if (!hasDisplayableParams && !hasDisplayableReturns) {
|
||||
return null;
|
||||
|
@ -1,6 +1,5 @@
|
||||
import React, { FC } from 'react';
|
||||
import Markdown from 'markdown-to-jsx';
|
||||
import { isNil } from 'lodash';
|
||||
import { transparentize } from 'polished';
|
||||
import { styled } from '@storybook/theming';
|
||||
import { PropDef } from './PropDef';
|
||||
@ -55,7 +54,7 @@ const TypeWithJsDoc = styled.div<{ hasDescription: boolean }>(({ theme, hasDescr
|
||||
export const PropRow: FC<PropRowProps> = ({
|
||||
row: { name, type, required, description, defaultValue, jsDocTags },
|
||||
}) => {
|
||||
const hasDescription = !isNil(description) && description !== '';
|
||||
const hasDescription = description != null && description !== '';
|
||||
|
||||
return (
|
||||
<tr>
|
||||
@ -69,7 +68,7 @@ export const PropRow: FC<PropRowProps> = ({
|
||||
<Markdown>{description}</Markdown>
|
||||
</Description>
|
||||
)}
|
||||
{!isNil(jsDocTags) ? (
|
||||
{jsDocTags != null ? (
|
||||
<>
|
||||
<TypeWithJsDoc hasDescription={hasDescription}>
|
||||
<PropValue value={type} />
|
||||
|
@ -1,5 +1,4 @@
|
||||
import React, { FC, useState } from 'react';
|
||||
import { isNil } from 'lodash';
|
||||
import { styled } from '@storybook/theming';
|
||||
import memoize from 'memoizerific';
|
||||
import { PropSummaryValue } from './PropDef';
|
||||
@ -81,7 +80,7 @@ const PropSummary: FC<PropSummaryProps> = ({ value }) => {
|
||||
summary !== undefined && summary !== null && typeof summary.toString === 'function'
|
||||
? summary.toString()
|
||||
: summary;
|
||||
if (isNil(detail)) {
|
||||
if (detail == null) {
|
||||
return <PropText text={summaryAsString} />;
|
||||
}
|
||||
|
||||
@ -111,5 +110,5 @@ const PropSummary: FC<PropSummaryProps> = ({ value }) => {
|
||||
};
|
||||
|
||||
export const PropValue: FC<PropValueProps> = ({ value }) => {
|
||||
return isNil(value) ? <EmptyProp /> : <PropSummary value={value} />;
|
||||
return value == null ? <EmptyProp /> : <PropSummary value={value} />;
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/core-events",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Event names used in storybook core",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/core",
|
||||
"version": "6.0.0-alpha.7",
|
||||
"version": "6.0.0-alpha.8",
|
||||
"description": "Storybook framework-agnostic API",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -35,16 +35,16 @@
|
||||
"@babel/preset-env": "^7.8.4",
|
||||
"@babel/preset-react": "^7.8.3",
|
||||
"@babel/preset-typescript": "^7.8.3",
|
||||
"@storybook/addons": "6.0.0-alpha.7",
|
||||
"@storybook/channel-postmessage": "6.0.0-alpha.7",
|
||||
"@storybook/client-api": "6.0.0-alpha.7",
|
||||
"@storybook/client-logger": "6.0.0-alpha.7",
|
||||
"@storybook/core-events": "6.0.0-alpha.7",
|
||||
"@storybook/addons": "6.0.0-alpha.8",
|
||||
"@storybook/channel-postmessage": "6.0.0-alpha.8",
|
||||
"@storybook/client-api": "6.0.0-alpha.8",
|
||||
"@storybook/client-logger": "6.0.0-alpha.8",
|
||||
"@storybook/core-events": "6.0.0-alpha.8",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/node-logger": "6.0.0-alpha.7",
|
||||
"@storybook/router": "6.0.0-alpha.7",
|
||||
"@storybook/theming": "6.0.0-alpha.7",
|
||||
"@storybook/ui": "6.0.0-alpha.7",
|
||||
"@storybook/node-logger": "6.0.0-alpha.8",
|
||||
"@storybook/router": "6.0.0-alpha.8",
|
||||
"@storybook/theming": "6.0.0-alpha.8",
|
||||
"@storybook/ui": "6.0.0-alpha.8",
|
||||
"airbnb-js-shims": "^2.2.1",
|
||||
"ansi-to-html": "^0.6.11",
|
||||
"autoprefixer": "^9.7.2",
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user