mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 06:21:23 +08:00
Merge branch 'next' into pr/14495
This commit is contained in:
commit
ae041901f9
@ -1,7 +1,7 @@
|
||||
version: 2.1
|
||||
|
||||
executors:
|
||||
sb_node_10_classic:
|
||||
sb_node_12_classic:
|
||||
parameters:
|
||||
class:
|
||||
description: The Resource class
|
||||
@ -10,20 +10,7 @@ executors:
|
||||
default: 'medium'
|
||||
working_directory: /tmp/storybook
|
||||
docker:
|
||||
- image: circleci/node:10
|
||||
environment:
|
||||
NODE_OPTIONS: --max_old_space_size=3076
|
||||
resource_class: <<parameters.class>>
|
||||
sb_node_10_browsers:
|
||||
parameters:
|
||||
class:
|
||||
description: The Resource class
|
||||
type: enum
|
||||
enum: ['small', 'medium', 'large', 'xlarge']
|
||||
default: 'medium'
|
||||
working_directory: /tmp/storybook
|
||||
docker:
|
||||
- image: circleci/node:10-browsers
|
||||
- image: circleci/node:12
|
||||
environment:
|
||||
NODE_OPTIONS: --max_old_space_size=3076
|
||||
resource_class: <<parameters.class>>
|
||||
@ -77,25 +64,25 @@ jobs:
|
||||
build:
|
||||
executor:
|
||||
class: large
|
||||
name: sb_node_10_classic
|
||||
name: sb_node_12_classic
|
||||
steps:
|
||||
- git-shallow-clone/checkout_advanced:
|
||||
clone_options: '--depth 1 --verbose'
|
||||
- restore_cache:
|
||||
name: Restore Yarn cache
|
||||
keys:
|
||||
- build-yarn-cache-v4--{{ checksum "yarn.lock" }}
|
||||
- build-yarn-2-cache-v1--{{ checksum "yarn.lock" }}
|
||||
- run:
|
||||
name: Install dependencies
|
||||
command: yarn install --frozen-lockfile --cache-folder ~/.cache/yarn
|
||||
command: yarn install --immutable
|
||||
- run:
|
||||
name: Bootstrap
|
||||
command: yarn bootstrap --core
|
||||
- save_cache:
|
||||
name: Save Yarn cache
|
||||
key: build-yarn-cache-v4--{{ checksum "yarn.lock" }}
|
||||
key: build-yarn-2-cache-v1--{{ checksum "yarn.lock" }}
|
||||
paths:
|
||||
- ~/.cache/yarn
|
||||
- ~/.yarn/berry/cache
|
||||
- persist_to_workspace:
|
||||
root: .
|
||||
paths:
|
||||
@ -106,7 +93,7 @@ jobs:
|
||||
- app
|
||||
- lib
|
||||
chromatic:
|
||||
executor: sb_node_10_browsers
|
||||
executor: sb_node_12_browsers
|
||||
parallelism: 4
|
||||
steps:
|
||||
# Keep using default checkout because Chromatic needs some git history to work properly
|
||||
@ -120,7 +107,7 @@ jobs:
|
||||
packtracker:
|
||||
executor:
|
||||
class: medium
|
||||
name: sb_node_10_browsers
|
||||
name: sb_node_12_browsers
|
||||
steps:
|
||||
- git-shallow-clone/checkout_advanced:
|
||||
clone_options: '--depth 1 --verbose'
|
||||
@ -134,7 +121,7 @@ jobs:
|
||||
examples:
|
||||
executor:
|
||||
class: medium
|
||||
name: sb_node_10_browsers
|
||||
name: sb_node_12_browsers
|
||||
parallelism: 4
|
||||
steps:
|
||||
- git-shallow-clone/checkout_advanced:
|
||||
@ -152,7 +139,7 @@ jobs:
|
||||
publish:
|
||||
executor:
|
||||
class: medium
|
||||
name: sb_node_10_classic
|
||||
name: sb_node_12_classic
|
||||
steps:
|
||||
- git-shallow-clone/checkout_advanced:
|
||||
clone_options: '--depth 1 --verbose'
|
||||
@ -168,7 +155,7 @@ jobs:
|
||||
e2e-tests-node-10:
|
||||
executor:
|
||||
class: medium
|
||||
name: sb_node_10_browsers
|
||||
name: sb_node_12_browsers
|
||||
working_directory: /tmp/storybook
|
||||
parallelism: 4
|
||||
steps:
|
||||
@ -195,16 +182,16 @@ jobs:
|
||||
command: yarn wait-on http://localhost:6000
|
||||
- run:
|
||||
name: set registry
|
||||
command: yarn config set registry http://localhost:6000/
|
||||
command: yarn config set npmRegistryServer http://localhost:6000/
|
||||
- run:
|
||||
name: test local registry
|
||||
command: yarn info @storybook/core
|
||||
command: yarn npm info @storybook/core
|
||||
- run:
|
||||
name: Install Cypress binary
|
||||
command: yarn cypress install
|
||||
- run:
|
||||
name: run e2e tests
|
||||
command: yarn test:e2e-framework --skip preact
|
||||
command: yarn test:e2e-framework --clean --skip preact
|
||||
- store_artifacts:
|
||||
path: /tmp/storybook/cypress
|
||||
destination: cypress
|
||||
@ -237,10 +224,10 @@ jobs:
|
||||
command: yarn wait-on http://localhost:6000
|
||||
- run:
|
||||
name: Set registry
|
||||
command: yarn config set registry http://localhost:6000/
|
||||
command: yarn config set npmRegistryServer http://localhost:6000/
|
||||
- run:
|
||||
name: Test local registry
|
||||
command: yarn info @storybook/core
|
||||
command: yarn npm info @storybook/core
|
||||
- run:
|
||||
name: Install Cypress binary
|
||||
command: yarn cypress install
|
||||
@ -269,10 +256,10 @@ jobs:
|
||||
command: yarn wait-on http://localhost:6000
|
||||
- run:
|
||||
name: Set registry
|
||||
command: yarn config set registry http://localhost:6000/
|
||||
command: yarn config set npmRegistryServer http://localhost:6000/
|
||||
- run:
|
||||
name: Test local registry
|
||||
command: yarn info @storybook/core
|
||||
command: yarn npm info @storybook/core
|
||||
- run:
|
||||
name: Install Cypress binary
|
||||
command: yarn cypress install
|
||||
@ -285,7 +272,7 @@ jobs:
|
||||
e2e-tests-yarn-2-pnp:
|
||||
executor:
|
||||
class: medium
|
||||
name: sb_node_10_browsers
|
||||
name: sb_node_12_browsers
|
||||
working_directory: /tmp/storybook
|
||||
steps:
|
||||
- git-shallow-clone/checkout_advanced:
|
||||
@ -301,10 +288,10 @@ jobs:
|
||||
command: yarn wait-on http://localhost:6000
|
||||
- run:
|
||||
name: set registry
|
||||
command: yarn config set registry http://localhost:6000/
|
||||
command: yarn config set npmRegistryServer http://localhost:6000/
|
||||
- run:
|
||||
name: test local registry
|
||||
command: yarn info @storybook/core
|
||||
command: yarn npm info @storybook/core
|
||||
- run:
|
||||
name: Install Cypress binary
|
||||
command: yarn cypress install
|
||||
@ -341,7 +328,11 @@ jobs:
|
||||
smoke-tests:
|
||||
executor:
|
||||
class: medium
|
||||
name: sb_node_10_browsers
|
||||
name: sb_node_12_browsers
|
||||
environment:
|
||||
# Disable ESLint when running smoke tests to improve perf + As of CRA 4.0.3, CRA kitchen sinks are throwing
|
||||
# because of some ESLint warnings, related to: https://github.com/facebook/create-react-app/pull/10590
|
||||
DISABLE_ESLINT_PLUGIN: 'true'
|
||||
steps:
|
||||
- git-shallow-clone/checkout_advanced:
|
||||
clone_options: '--depth 1 --verbose'
|
||||
@ -408,20 +399,20 @@ jobs:
|
||||
cd examples/cra-react15
|
||||
yarn storybook --smoke-test --quiet
|
||||
frontpage:
|
||||
executor: sb_node_10_browsers
|
||||
executor: sb_node_12_browsers
|
||||
steps:
|
||||
- git-shallow-clone/checkout_advanced:
|
||||
clone_options: '--depth 1 --verbose'
|
||||
- run:
|
||||
name: Install dependencies
|
||||
command: yarn bootstrap --install
|
||||
command: yarn install --immutable
|
||||
- run:
|
||||
name: Trigger build
|
||||
command: ./scripts/build-frontpage.js
|
||||
lint:
|
||||
executor:
|
||||
class: small
|
||||
name: sb_node_10_classic
|
||||
name: sb_node_12_classic
|
||||
steps:
|
||||
- git-shallow-clone/checkout_advanced:
|
||||
clone_options: '--depth 1 --verbose'
|
||||
@ -431,7 +422,7 @@ jobs:
|
||||
name: Lint
|
||||
command: yarn lint
|
||||
unit-tests:
|
||||
executor: sb_node_10_browsers
|
||||
executor: sb_node_12_browsers
|
||||
steps:
|
||||
- git-shallow-clone/checkout_advanced:
|
||||
clone_options: '--depth 1 --verbose'
|
||||
@ -447,7 +438,7 @@ jobs:
|
||||
coverage:
|
||||
executor:
|
||||
class: small
|
||||
name: sb_node_10_browsers
|
||||
name: sb_node_12_browsers
|
||||
steps:
|
||||
- git-shallow-clone/checkout_advanced:
|
||||
clone_options: '--depth 1 --verbose'
|
||||
|
5
.github/workflows/tests-unit.yml
vendored
5
.github/workflows/tests-unit.yml
vendored
@ -9,15 +9,16 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '10.x'
|
||||
node-version: '12.x'
|
||||
- uses: actions/checkout@v2
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: node_modules
|
||||
key: build-v2-${{ hashFiles('**/yarn.lock') }}
|
||||
key: yarn-2-cache-v1-${{ hashFiles('**/yarn.lock') }}
|
||||
- name: install, bootstrap
|
||||
run: |
|
||||
yarn install --immutable
|
||||
yarn bootstrap --core
|
||||
- name: test
|
||||
run: |
|
||||
|
8
.gitignore
vendored
8
.gitignore
vendored
@ -33,3 +33,11 @@ examples/ember-cli/ember-output
|
||||
tsconfig.tsbuildinfo
|
||||
lib/core-server/prebuilt
|
||||
examples/angular-cli/addon-jest.testresults.json
|
||||
|
||||
# Yarn stuff
|
||||
/.yarn/*
|
||||
!/.yarn/releases
|
||||
!/.yarn/plugins
|
||||
!/.yarn/sdks
|
||||
!/.yarn/versions
|
||||
/.pnp.*
|
||||
|
622
.yarn/releases/yarn-sources.cjs
vendored
Executable file
622
.yarn/releases/yarn-sources.cjs
vendored
Executable file
File diff suppressed because one or more lines are too long
12
.yarnrc.yml
Normal file
12
.yarnrc.yml
Normal file
@ -0,0 +1,12 @@
|
||||
compressionLevel: 0
|
||||
|
||||
enableGlobalCache: true
|
||||
|
||||
nodeLinker: node-modules
|
||||
|
||||
npmRegistryServer: "https://registry.yarnpkg.com"
|
||||
|
||||
unsafeHttpWhitelist:
|
||||
- localhost
|
||||
|
||||
yarnPath: .yarn/releases/yarn-sources.cjs
|
48
CHANGELOG.md
48
CHANGELOG.md
@ -1,3 +1,51 @@
|
||||
## 6.3.0-alpha.0 (April 8, 2021)
|
||||
|
||||
### Maintenance
|
||||
|
||||
- Build: Move monorepo to Yarn 2 ([#13907](https://github.com/storybookjs/storybook/pull/13907))
|
||||
|
||||
## 6.2.5 (April 7, 2021)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- Core: Don't include args param in docs mode URL ([#14494](https://github.com/storybookjs/storybook/pull/14494))
|
||||
- Core: Restore previewHead/Body presets ([#14500](https://github.com/storybookjs/storybook/pull/14500))
|
||||
- Controls: Reset ArgsTable state when switching stories ([#14493](https://github.com/storybookjs/storybook/pull/14493))
|
||||
|
||||
### Dependency Upgrades
|
||||
|
||||
- Revert "Upgrade `dotenv-webpack` to v6" ([#14501](https://github.com/storybookjs/storybook/pull/14501))
|
||||
|
||||
## 6.2.4 (April 7, 2021)
|
||||
|
||||
### Dependency Upgrades
|
||||
|
||||
- Upgrade `dotenv-webpack` to v6 ([#14492](https://github.com/storybookjs/storybook/pull/14492))
|
||||
|
||||
## 6.2.3 (April 5, 2021)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- Core: Fix file-loader options for ESM compat ([#14480](https://github.com/storybookjs/storybook/pull/14480))
|
||||
- Core: Fix config.js-based configuration ([#14479](https://github.com/storybookjs/storybook/pull/14479))
|
||||
|
||||
### Maintenance
|
||||
|
||||
- Core: Disable postcss warning, add main.js `features` setting ([#14478](https://github.com/storybookjs/storybook/pull/14478))
|
||||
|
||||
## 6.2.2 (April 2, 2021)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- Core: Fix symlinks in static dir when building static Storybook ([#14448](https://github.com/storybookjs/storybook/pull/14448))
|
||||
- Addon-docs/ArgsTable: Use storySort parameter ([#14422](https://github.com/storybookjs/storybook/pull/14422))
|
||||
- Revert "Svelte - Fix async loaders and docs" Fix #14443 ([#14444](https://github.com/storybookjs/storybook/pull/14444))
|
||||
- Addon-docs/Angular: Keep inlineStories to false by default ([#14447](https://github.com/storybookjs/storybook/pull/14447))
|
||||
|
||||
### Maintenance
|
||||
|
||||
- CLI: Fix link to `sb init` docs ([#14421](https://github.com/storybookjs/storybook/pull/14421))
|
||||
|
||||
## 6.2.1 (March 30, 2021)
|
||||
|
||||
Fix bad version update message from [#12183](https://github.com/storybookjs/storybook/issues/12183)
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-a11y",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Test component compliance with web accessibility standards",
|
||||
"keywords": [
|
||||
"a11y",
|
||||
@ -41,14 +41,14 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/channels": "6.2.1",
|
||||
"@storybook/client-api": "6.2.1",
|
||||
"@storybook/client-logger": "6.2.1",
|
||||
"@storybook/components": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"@storybook/channels": "6.3.0-alpha.0",
|
||||
"@storybook/client-api": "6.3.0-alpha.0",
|
||||
"@storybook/client-logger": "6.3.0-alpha.0",
|
||||
"@storybook/components": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"axe-core": "^4.1.1",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -77,7 +77,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f",
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18",
|
||||
"storybook": {
|
||||
"displayName": "Accessibility",
|
||||
"icon": "https://user-images.githubusercontent.com/263385/101991665-47042f80-3c7c-11eb-8f00-64b5a18f498a.png",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-actions",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Get UI feedback when an action is performed on an interactive element",
|
||||
"keywords": [
|
||||
"storybook",
|
||||
@ -37,12 +37,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/client-api": "6.2.1",
|
||||
"@storybook/components": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"@storybook/client-api": "6.3.0-alpha.0",
|
||||
"@storybook/components": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"core-js": "^3.8.2",
|
||||
"fast-deep-equal": "^3.1.3",
|
||||
"global": "^4.4.0",
|
||||
@ -74,7 +74,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f",
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18",
|
||||
"storybook": {
|
||||
"displayName": "Actions",
|
||||
"unsupportedFrameworks": [
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-backgrounds",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Switch backgrounds to view components in different settings",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -41,12 +41,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/client-logger": "6.2.1",
|
||||
"@storybook/components": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"@storybook/client-logger": "6.3.0-alpha.0",
|
||||
"@storybook/components": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"memoizerific": "^1.11.3",
|
||||
@ -72,7 +72,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f",
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18",
|
||||
"storybook": {
|
||||
"displayName": "Backgrounds",
|
||||
"icon": "https://user-images.githubusercontent.com/263385/101991667-479cc600-3c7c-11eb-96d3-410e936252e7.png",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-controls",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Interact with component inputs dynamically in the Storybook UI",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -41,12 +41,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/client-api": "6.2.1",
|
||||
"@storybook/components": "6.2.1",
|
||||
"@storybook/node-logger": "6.2.1",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"@storybook/client-api": "6.3.0-alpha.0",
|
||||
"@storybook/components": "6.3.0-alpha.0",
|
||||
"@storybook/node-logger": "6.3.0-alpha.0",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"core-js": "^3.8.2",
|
||||
"ts-dedent": "^2.0.0"
|
||||
},
|
||||
@ -65,7 +65,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f",
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18",
|
||||
"storybook": {
|
||||
"displayName": "Controls",
|
||||
"icon": "https://user-images.githubusercontent.com/263385/101991669-479cc600-3c7c-11eb-93d9-38b67e8371f2.png",
|
||||
|
@ -1,5 +1,5 @@
|
||||
import React, { FC } from 'react';
|
||||
import { ArgTypes, useArgs, useArgTypes, useParameter } from '@storybook/api';
|
||||
import { ArgTypes, useArgs, useArgTypes, useParameter, useStorybookState } from '@storybook/api';
|
||||
import { ArgsTable, NoControlsWarning, PresetColor, SortType } from '@storybook/components';
|
||||
|
||||
import { PARAM_KEY } from './constants';
|
||||
@ -21,6 +21,7 @@ export const ControlsPanel: FC = () => {
|
||||
presetColors,
|
||||
hideNoControlsWarning = false,
|
||||
} = useParameter<ControlsParameters>(PARAM_KEY, {});
|
||||
const { path } = useStorybookState();
|
||||
|
||||
const hasControls = Object.values(rows).some((arg) => arg?.control);
|
||||
const showWarning = !(hasControls && isArgsStory) && !hideNoControlsWarning;
|
||||
@ -36,6 +37,7 @@ export const ControlsPanel: FC = () => {
|
||||
{showWarning && <NoControlsWarning />}
|
||||
<ArgsTable
|
||||
{...{
|
||||
key: path, // resets state when switching stories
|
||||
compact: !expanded && hasControls,
|
||||
rows: withPresetColors,
|
||||
args,
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-cssresources",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "A storybook addon to switch between css resources at runtime for your story",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -40,11 +40,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/components": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"@storybook/components": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"regenerator-runtime": "^0.13.7"
|
||||
@ -67,7 +67,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f",
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18",
|
||||
"storybook": {
|
||||
"displayName": "CSS Resources",
|
||||
"unsupportedFrameworks": [
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-design-assets",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Design asset preview for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -41,12 +41,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/client-logger": "6.2.1",
|
||||
"@storybook/components": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"@storybook/client-logger": "6.3.0-alpha.0",
|
||||
"@storybook/components": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"regenerator-runtime": "^0.13.7",
|
||||
@ -68,7 +68,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f",
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18",
|
||||
"storybook": {
|
||||
"displayName": "Design assets",
|
||||
"unsupportedFrameworks": [
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-docs",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Document component usage and properties in Markdown",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -58,19 +58,19 @@
|
||||
"@mdx-js/loader": "^1.6.22",
|
||||
"@mdx-js/mdx": "^1.6.22",
|
||||
"@mdx-js/react": "^1.6.22",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/builder-webpack4": "6.2.1",
|
||||
"@storybook/client-api": "6.2.1",
|
||||
"@storybook/client-logger": "6.2.1",
|
||||
"@storybook/components": "6.2.1",
|
||||
"@storybook/core": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"@storybook/builder-webpack4": "6.3.0-alpha.0",
|
||||
"@storybook/client-api": "6.3.0-alpha.0",
|
||||
"@storybook/client-logger": "6.3.0-alpha.0",
|
||||
"@storybook/components": "6.3.0-alpha.0",
|
||||
"@storybook/core": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/node-logger": "6.2.1",
|
||||
"@storybook/postinstall": "6.2.1",
|
||||
"@storybook/source-loader": "6.2.1",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/node-logger": "6.3.0-alpha.0",
|
||||
"@storybook/postinstall": "6.3.0-alpha.0",
|
||||
"@storybook/source-loader": "6.3.0-alpha.0",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"acorn": "^7.4.1",
|
||||
"acorn-jsx": "^5.3.1",
|
||||
"acorn-walk": "^7.2.0",
|
||||
@ -97,10 +97,10 @@
|
||||
"@babel/core": "^7.12.10",
|
||||
"@emotion/core": "^10.1.1",
|
||||
"@emotion/styled": "^10.0.27",
|
||||
"@storybook/angular": "6.2.1",
|
||||
"@storybook/react": "6.2.1",
|
||||
"@storybook/vue": "6.2.1",
|
||||
"@storybook/web-components": "6.2.1",
|
||||
"@storybook/angular": "6.3.0-alpha.0",
|
||||
"@storybook/react": "6.3.0-alpha.0",
|
||||
"@storybook/vue": "6.3.0-alpha.0",
|
||||
"@storybook/web-components": "6.3.0-alpha.0",
|
||||
"@types/cross-spawn": "^6.0.2",
|
||||
"@types/doctrine": "^0.0.3",
|
||||
"@types/enzyme": "^3.10.8",
|
||||
@ -131,9 +131,9 @@
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.11.5",
|
||||
"@storybook/angular": "6.2.1",
|
||||
"@storybook/vue": "6.2.1",
|
||||
"@storybook/vue3": "6.2.1",
|
||||
"@storybook/angular": "6.3.0-alpha.0",
|
||||
"@storybook/vue": "6.3.0-alpha.0",
|
||||
"@storybook/vue3": "6.3.0-alpha.0",
|
||||
"babel-loader": "^8.0.0",
|
||||
"react": "^16.8.0 || ^17.0.0",
|
||||
"react-dom": "^16.8.0 || ^17.0.0",
|
||||
@ -174,7 +174,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f",
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18",
|
||||
"storybook": {
|
||||
"displayName": "Docs",
|
||||
"icon": "https://user-images.githubusercontent.com/263385/101991672-48355c80-3c7c-11eb-82d9-95fa12438f64.png",
|
||||
|
@ -16,7 +16,7 @@ const runCompodoc = (inputPath: string) => {
|
||||
// FIXME: for now, this requires a tsconfig.json for each test case. Tried generating
|
||||
// one dynamically in tmpDir, but compodoc doesn't handle absolute paths properly
|
||||
// (and screwed around with relative paths as well, but couldn't get it working)
|
||||
spawnSync('compodoc', ['-p', `${testDir}/tsconfig.json`, '-e', 'json', '-d', tmpDir], {
|
||||
spawnSync('yarn', ['compodoc', '-p', `${testDir}/tsconfig.json`, '-e', 'json', '-d', tmpDir], {
|
||||
stdio: 'inherit',
|
||||
});
|
||||
const output = fs.readFileSync(`${tmpDir}/documentation.json`, 'utf8');
|
||||
|
@ -11,7 +11,7 @@ const inputRegExp = /^input\..*$/;
|
||||
const runWebComponentsAnalyzer = (inputPath: string) => {
|
||||
const { name: tmpDir, removeCallback } = tmp.dirSync();
|
||||
const customElementsFile = `${tmpDir}/custom-elements.json`;
|
||||
spawnSync('wca', ['analyze', inputPath, '--outFile', customElementsFile], {
|
||||
spawnSync('yarn', ['wca', 'analyze', inputPath, '--outFile', customElementsFile], {
|
||||
stdio: 'inherit',
|
||||
});
|
||||
const output = fs.readFileSync(customElementsFile, 'utf8');
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-essentials",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Curated addons to bring out the best of Storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -35,28 +35,28 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addon-actions": "6.2.1",
|
||||
"@storybook/addon-backgrounds": "6.2.1",
|
||||
"@storybook/addon-controls": "6.2.1",
|
||||
"@storybook/addon-docs": "6.2.1",
|
||||
"@storybook/addon-toolbars": "6.2.1",
|
||||
"@storybook/addon-viewport": "6.2.1",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/node-logger": "6.2.1",
|
||||
"@storybook/addon-actions": "6.3.0-alpha.0",
|
||||
"@storybook/addon-backgrounds": "6.3.0-alpha.0",
|
||||
"@storybook/addon-controls": "6.3.0-alpha.0",
|
||||
"@storybook/addon-docs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-toolbars": "6.3.0-alpha.0",
|
||||
"@storybook/addon-viewport": "6.3.0-alpha.0",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"@storybook/node-logger": "6.3.0-alpha.0",
|
||||
"core-js": "^3.8.2",
|
||||
"regenerator-runtime": "^0.13.7",
|
||||
"ts-dedent": "^2.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.10",
|
||||
"@storybook/vue": "6.2.1",
|
||||
"@storybook/vue": "6.3.0-alpha.0",
|
||||
"@types/jest": "^26.0.16",
|
||||
"@types/webpack-env": "^1.16.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@babel/core": "^7.9.6",
|
||||
"@storybook/vue": "6.2.1",
|
||||
"@storybook/vue": "6.3.0-alpha.0",
|
||||
"babel-loader": "^8.0.0",
|
||||
"react": "^16.8.0 || ^17.0.0",
|
||||
"react-dom": "^16.8.0 || ^17.0.0",
|
||||
@ -79,5 +79,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-events",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Add events to your Storybook stories.",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -39,11 +39,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/client-api": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"@storybook/client-api": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"core-js": "^3.8.2",
|
||||
"format-json": "^1.0.3",
|
||||
"lodash": "^4.17.20",
|
||||
@ -70,7 +70,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f",
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18",
|
||||
"storybook": {
|
||||
"displayName": "Events",
|
||||
"unsupportedFrameworks": [
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-google-analytics",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook addon for google analytics",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -31,8 +31,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"react-ga": "^2.7.0",
|
||||
@ -53,7 +53,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f",
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18",
|
||||
"storybook": {
|
||||
"displayName": "Google Analytics",
|
||||
"icon": "https://pbs.twimg.com/profile_images/1021848775885651968/cU74ahCn_400x400.jpg",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-graphql",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook addon to display the GraphiQL IDE",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -39,8 +39,8 @@
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.12.10",
|
||||
"@babel/plugin-transform-classes": "^7.12.1",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"babel-loader": "^8.2.2",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -65,7 +65,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f",
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18",
|
||||
"storybook": {
|
||||
"displayName": "GraphiQL IDE",
|
||||
"icon": "https://pbs.twimg.com/profile_images/618131103509909504/VQLBJ0TR_400x400.png",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-jest",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "React storybook addon that show component jest report",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -43,11 +43,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/components": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"@storybook/components": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"react-sizeme": "^3.0.1",
|
||||
@ -72,7 +72,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f",
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18",
|
||||
"storybook": {
|
||||
"displayName": "Jest",
|
||||
"icon": "https://pbs.twimg.com/profile_images/821713465245102080/mMtKIMax_400x400.jpg",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-knobs",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook addon prop editor component",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -37,13 +37,13 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/channels": "6.2.1",
|
||||
"@storybook/client-api": "6.2.1",
|
||||
"@storybook/components": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"@storybook/channels": "6.3.0-alpha.0",
|
||||
"@storybook/client-api": "6.3.0-alpha.0",
|
||||
"@storybook/components": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"copy-to-clipboard": "^3.3.1",
|
||||
"core-js": "^3.8.2",
|
||||
"escape-html": "^1.0.3",
|
||||
@ -80,7 +80,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f",
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18",
|
||||
"storybook": {
|
||||
"displayName": "Knobs",
|
||||
"unsupportedFrameworks": [
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-links",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Link stories together to build demos and prototypes with your UI components",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -37,11 +37,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/client-logger": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/client-logger": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/router": "6.2.1",
|
||||
"@storybook/router": "6.3.0-alpha.0",
|
||||
"@types/qs": "^6.9.5",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -68,7 +68,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f",
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18",
|
||||
"storybook": {
|
||||
"displayName": "Links",
|
||||
"icon": "https://user-images.githubusercontent.com/263385/101991673-48355c80-3c7c-11eb-9b6e-b627c96a75f6.png",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-queryparams",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "parameter addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -38,12 +38,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/client-logger": "6.2.1",
|
||||
"@storybook/components": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"@storybook/client-logger": "6.3.0-alpha.0",
|
||||
"@storybook/components": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"qs": "^6.10.0",
|
||||
@ -68,7 +68,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f",
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18",
|
||||
"storybook": {
|
||||
"displayName": "Query params",
|
||||
"unsupportedFrameworks": [
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-storyshots",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Take a code snapshot of every story automatically with Jest",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -41,10 +41,10 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@jest/transform": "^26.6.2",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/client-api": "6.2.1",
|
||||
"@storybook/core": "6.2.1",
|
||||
"@storybook/core-common": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/client-api": "6.3.0-alpha.0",
|
||||
"@storybook/core": "6.3.0-alpha.0",
|
||||
"@storybook/core-common": "6.3.0-alpha.0",
|
||||
"@types/glob": "^7.1.3",
|
||||
"@types/jest": "^26.0.16",
|
||||
"@types/jest-specific-snapshot": "^0.5.3",
|
||||
@ -62,11 +62,11 @@
|
||||
"devDependencies": {
|
||||
"@angular/core": "^11.2.0",
|
||||
"@angular/platform-browser-dynamic": "^11.2.0",
|
||||
"@storybook/addon-docs": "6.2.1",
|
||||
"@storybook/angular": "6.2.1",
|
||||
"@storybook/react": "6.2.1",
|
||||
"@storybook/vue": "6.2.1",
|
||||
"@storybook/vue3": "6.2.1",
|
||||
"@storybook/addon-docs": "6.3.0-alpha.0",
|
||||
"@storybook/angular": "6.3.0-alpha.0",
|
||||
"@storybook/react": "6.3.0-alpha.0",
|
||||
"@storybook/vue": "6.3.0-alpha.0",
|
||||
"@storybook/vue3": "6.3.0-alpha.0",
|
||||
"babel-loader": "^8.2.2",
|
||||
"enzyme": "^3.11.0",
|
||||
"enzyme-to-json": "^3.6.1",
|
||||
@ -130,7 +130,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f",
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18",
|
||||
"storybook": {
|
||||
"displayName": "Storyshots",
|
||||
"icon": "https://user-images.githubusercontent.com/263385/101991676-48cdf300-3c7c-11eb-8aa1-944dab6ab29b.png",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-storyshots-puppeteer",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Image snapshots addition to StoryShots based on puppeteer",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -37,7 +37,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/node-logger": "6.2.1",
|
||||
"@storybook/node-logger": "6.3.0-alpha.0",
|
||||
"@types/jest-image-snapshot": "^4.1.3",
|
||||
"@wordpress/jest-puppeteer-axe": "^1.10.0",
|
||||
"core-js": "^3.8.2",
|
||||
@ -49,7 +49,7 @@
|
||||
"@types/puppeteer": "^5.4.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@storybook/addon-storyshots": "6.2.1",
|
||||
"@storybook/addon-storyshots": "6.3.0-alpha.0",
|
||||
"puppeteer": "^2.0.0 || ^3.0.0"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
@ -60,5 +60,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-storysource",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "View a story’s source code to see how it works and paste into your app",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -37,13 +37,13 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/client-logger": "6.2.1",
|
||||
"@storybook/components": "6.2.1",
|
||||
"@storybook/router": "6.2.1",
|
||||
"@storybook/source-loader": "6.2.1",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"@storybook/client-logger": "6.3.0-alpha.0",
|
||||
"@storybook/components": "6.3.0-alpha.0",
|
||||
"@storybook/router": "6.3.0-alpha.0",
|
||||
"@storybook/source-loader": "6.3.0-alpha.0",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"core-js": "^3.8.2",
|
||||
"estraverse": "^5.2.0",
|
||||
"loader-utils": "^2.0.0",
|
||||
@ -71,7 +71,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f",
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18",
|
||||
"storybook": {
|
||||
"displayName": "Storysource",
|
||||
"icon": "https://user-images.githubusercontent.com/263385/101991675-48cdf300-3c7c-11eb-9400-58de5ac6daa7.png",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-toolbars",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Create your own toolbar items that control story rendering",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -41,10 +41,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/client-api": "6.2.1",
|
||||
"@storybook/components": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"@storybook/client-api": "6.3.0-alpha.0",
|
||||
"@storybook/components": "6.3.0-alpha.0",
|
||||
"core-js": "^3.8.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
@ -62,7 +62,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f",
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18",
|
||||
"storybook": {
|
||||
"displayName": "Toolbars",
|
||||
"icon": "https://user-images.githubusercontent.com/263385/101991677-48cdf300-3c7c-11eb-93b4-19b0e3366959.png",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-viewport",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Build responsive components by adjusting Storybook’s viewport size and orientation",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -38,12 +38,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/client-logger": "6.2.1",
|
||||
"@storybook/components": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"@storybook/client-logger": "6.3.0-alpha.0",
|
||||
"@storybook/components": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"memoizerific": "^1.11.3",
|
||||
@ -65,7 +65,7 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f",
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18",
|
||||
"storybook": {
|
||||
"displayName": "Viewport",
|
||||
"icon": "https://user-images.githubusercontent.com/263385/101991678-48cdf300-3c7c-11eb-9764-f8af293c1b28.png",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/angular",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook for Angular: Develop Angular Components in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -41,11 +41,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/core": "6.2.1",
|
||||
"@storybook/core-common": "6.2.1",
|
||||
"@storybook/node-logger": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"@storybook/core": "6.3.0-alpha.0",
|
||||
"@storybook/core-common": "6.3.0-alpha.0",
|
||||
"@storybook/node-logger": "6.3.0-alpha.0",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"autoprefixer": "^9.8.6",
|
||||
"core-js": "^3.8.2",
|
||||
@ -120,5 +120,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/aurelia",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook for Aurelia: Develop Aurelia Components in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -35,11 +35,11 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@aurelia/webpack-loader": "^0.7.0",
|
||||
"@storybook/addon-knobs": "6.2.1",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/core": "6.2.1",
|
||||
"@storybook/core-common": "6.2.1",
|
||||
"@storybook/node-logger": "6.2.1",
|
||||
"@storybook/addon-knobs": "6.3.0-alpha.0",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/core": "6.3.0-alpha.0",
|
||||
"@storybook/core-common": "6.3.0-alpha.0",
|
||||
"@storybook/node-logger": "6.3.0-alpha.0",
|
||||
"fork-ts-checker-webpack-plugin": "^4.1.6",
|
||||
"global": "^4.4.0",
|
||||
"react": "16.14.0",
|
||||
@ -70,5 +70,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/ember",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.",
|
||||
"homepage": "https://github.com/storybookjs/storybook/tree/master/app/ember",
|
||||
"bugs": {
|
||||
@ -39,8 +39,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@ember/test-helpers": "^2.1.4",
|
||||
"@storybook/core": "6.2.1",
|
||||
"@storybook/core-common": "6.2.1",
|
||||
"@storybook/core": "6.3.0-alpha.0",
|
||||
"@storybook/core-common": "6.3.0-alpha.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"react": "16.14.0",
|
||||
@ -61,5 +61,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/html",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -41,10 +41,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/client-api": "6.2.1",
|
||||
"@storybook/core": "6.2.1",
|
||||
"@storybook/core-common": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/client-api": "6.3.0-alpha.0",
|
||||
"@storybook/core": "6.3.0-alpha.0",
|
||||
"@storybook/core-common": "6.3.0-alpha.0",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -64,5 +64,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/marionette",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook for Marionette: Develop Marionette.js component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -34,8 +34,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "6.2.1",
|
||||
"@storybook/core-common": "6.2.1",
|
||||
"@storybook/core": "6.3.0-alpha.0",
|
||||
"@storybook/core-common": "6.3.0-alpha.0",
|
||||
"common-tags": "^1.8.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -62,5 +62,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/marko",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook for Marko: Develop Marko Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -42,9 +42,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@marko/webpack": "^6.2.10",
|
||||
"@storybook/client-logger": "6.2.1",
|
||||
"@storybook/core": "6.2.1",
|
||||
"@storybook/core-common": "6.2.1",
|
||||
"@storybook/client-logger": "6.3.0-alpha.0",
|
||||
"@storybook/core": "6.3.0-alpha.0",
|
||||
"@storybook/core-common": "6.3.0-alpha.0",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -65,5 +65,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/mithril",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook for Mithril: Develop Mithril Component in isolation.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -43,9 +43,9 @@
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.12.10",
|
||||
"@babel/plugin-transform-react-jsx": "^7.12.12",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/core": "6.2.1",
|
||||
"@storybook/core-common": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/core": "6.3.0-alpha.0",
|
||||
"@storybook/core-common": "6.3.0-alpha.0",
|
||||
"@types/mithril": "^2.0.6",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"core-js": "^3.8.2",
|
||||
@ -69,5 +69,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/preact",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook for Preact: Develop Preact Component in isolation.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -42,9 +42,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/plugin-transform-react-jsx": "^7.12.12",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/core": "6.2.1",
|
||||
"@storybook/core-common": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/core": "6.3.0-alpha.0",
|
||||
"@storybook/core-common": "6.3.0-alpha.0",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -67,5 +67,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/rax",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook for Rax: Develop Rax Component in isolation.",
|
||||
"keywords": [
|
||||
"rax",
|
||||
@ -42,8 +42,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "6.2.1",
|
||||
"@storybook/core-common": "6.2.1",
|
||||
"@storybook/core": "6.3.0-alpha.0",
|
||||
"@storybook/core-common": "6.3.0-alpha.0",
|
||||
"babel-preset-rax": "^1.0.0-beta.0",
|
||||
"core-js": "^3.8.2",
|
||||
"driver-dom": "^2.2.0",
|
||||
@ -65,5 +65,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/react",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -45,10 +45,10 @@
|
||||
"@babel/preset-flow": "^7.12.1",
|
||||
"@babel/preset-react": "^7.12.10",
|
||||
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.3",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/core": "6.2.1",
|
||||
"@storybook/core-common": "6.2.1",
|
||||
"@storybook/node-logger": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/core": "6.3.0-alpha.0",
|
||||
"@storybook/core-common": "6.3.0-alpha.0",
|
||||
"@storybook/node-logger": "6.3.0-alpha.0",
|
||||
"@storybook/semver": "^7.3.2",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"babel-plugin-add-react-displayname": "^0.0.5",
|
||||
@ -67,7 +67,7 @@
|
||||
"webpack": "4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/client-api": "6.2.1",
|
||||
"@storybook/client-api": "6.3.0-alpha.0",
|
||||
"@types/node": "^14.14.20",
|
||||
"@types/prompts": "^2.0.9"
|
||||
},
|
||||
@ -90,5 +90,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/riot",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook for riot.js: View riot snippets in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -42,8 +42,8 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/core": "6.2.1",
|
||||
"@storybook/core-common": "6.2.1",
|
||||
"@storybook/core": "6.3.0-alpha.0",
|
||||
"@storybook/core-common": "6.3.0-alpha.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"raw-loader": "^4.0.2",
|
||||
@ -74,5 +74,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/server",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook for Server: View HTML snippets from a server in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -41,12 +41,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/client-api": "6.2.1",
|
||||
"@storybook/core": "6.2.1",
|
||||
"@storybook/core-common": "6.2.1",
|
||||
"@storybook/node-logger": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"@storybook/client-api": "6.3.0-alpha.0",
|
||||
"@storybook/core": "6.3.0-alpha.0",
|
||||
"@storybook/core-common": "6.3.0-alpha.0",
|
||||
"@storybook/node-logger": "6.3.0-alpha.0",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -66,5 +66,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/svelte",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook for Svelte: Develop Svelte Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -41,9 +41,9 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/core": "6.2.1",
|
||||
"@storybook/core-common": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/core": "6.3.0-alpha.0",
|
||||
"@storybook/core-common": "6.3.0-alpha.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"react": "16.14.0",
|
||||
@ -69,5 +69,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/vue",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook for Vue: Develop Vue Component in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -41,9 +41,9 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/core": "6.2.1",
|
||||
"@storybook/core-common": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/core": "6.3.0-alpha.0",
|
||||
"@storybook/core-common": "6.3.0-alpha.0",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -77,5 +77,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/vue3",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook for Vue 3: Develop Vue 3 Components in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -41,9 +41,9 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/core": "6.2.1",
|
||||
"@storybook/core-common": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/core": "6.3.0-alpha.0",
|
||||
"@storybook/core-common": "6.3.0-alpha.0",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -76,5 +76,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/web-components",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.",
|
||||
"keywords": [
|
||||
"lit-html",
|
||||
@ -46,10 +46,10 @@
|
||||
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
||||
"@babel/plugin-syntax-import-meta": "^7.10.4",
|
||||
"@babel/preset-env": "^7.12.11",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/client-api": "6.2.1",
|
||||
"@storybook/core": "6.2.1",
|
||||
"@storybook/core-common": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/client-api": "6.3.0-alpha.0",
|
||||
"@storybook/core": "6.3.0-alpha.0",
|
||||
"@storybook/core-common": "6.3.0-alpha.0",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
"babel-plugin-bundled-import-meta": "^0.3.1",
|
||||
"core-js": "^3.8.2",
|
||||
@ -74,5 +74,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-decorator",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "decorator addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -25,13 +25,13 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/client-api": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/client-api": "6.3.0-alpha.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-parameter",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "parameter addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -25,12 +25,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/client-logger": "6.2.1",
|
||||
"@storybook/components": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"@storybook/client-logger": "6.3.0-alpha.0",
|
||||
"@storybook/components": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"react": "^16.8.0 || ^17.0.0",
|
||||
@ -39,5 +39,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-preview-wrapper",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "preview wrapper addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -25,11 +25,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"react": "^16.8.0 || ^17.0.0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addon-roundtrip",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "roundtrip addon for storybook",
|
||||
"keywords": [
|
||||
"addon",
|
||||
@ -25,13 +25,13 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/client-api": "6.2.1",
|
||||
"@storybook/client-logger": "6.2.1",
|
||||
"@storybook/components": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"@storybook/client-api": "6.3.0-alpha.0",
|
||||
"@storybook/client-logger": "6.3.0-alpha.0",
|
||||
"@storybook/components": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"react": "^16.8.0 || ^17.0.0",
|
||||
@ -40,5 +40,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -195,6 +195,8 @@ For example, the following snippet adds a style tag to the preview head programa
|
||||
|
||||
Similarly, the `managerHead` can be used to modify the surrounding "manager" UI, analogous to `manager-head.html`.
|
||||
|
||||
Finally, the preview's main page _template_ can also be overridden using the `previewMainTemplate`, which should return a reference to a file containing an `.ejs` template that gets interpolated with some environment variables. For an example, see the [Storbook's default template](https://github.com/storybookjs/storybook/blob/next/lib/core-common/src/templates/index.ejs).
|
||||
|
||||
## Sharing advanced configuration
|
||||
|
||||
Change your `main.js` file to:
|
||||
|
@ -1 +1 @@
|
||||
{"version":"6.2.1","info":{"plain":"Fix bad version update message from [#12183](https://github.com/storybookjs/storybook/issues/12183)"}}
|
||||
{"version":"6.2.5","info":{"plain":"### Bug Fixes\n\n- Core: Don't include args param in docs mode URL ([#14494](https://github.com/storybookjs/storybook/pull/14494))\n- Core: Restore previewHead/Body presets ([#14500](https://github.com/storybookjs/storybook/pull/14500))\n- Controls: Reset ArgsTable state when switching stories ([#14493](https://github.com/storybookjs/storybook/pull/14493))\n\n### Dependency Upgrades\n\n- Revert \"Upgrade `dotenv-webpack` to v6\" ([#14501](https://github.com/storybookjs/storybook/pull/14501))"}}
|
@ -1 +1 @@
|
||||
{"version":"6.2.0-rc.13","info":{"plain":"### Bug Fixes\n\n- Controls: QA fixes for Object and Color controls ([#14392](https://github.com/storybookjs/storybook/pull/14392))"}}
|
||||
{"version":"6.3.0-alpha.0","info":{"plain":"### Maintenance\n\n- Build: Move monorepo to Yarn 2 ([#13907](https://github.com/storybookjs/storybook/pull/13907))"}}
|
@ -1,18 +1,17 @@
|
||||
{
|
||||
"name": "angular-cli",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"private": true,
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"build": "ng build",
|
||||
"prebuild-storybook": "yarn storybook:prebuild",
|
||||
"build-storybook": "build-storybook -s src/assets",
|
||||
"build-storybook": "yarn storybook-prebuild && build-storybook -s src/assets",
|
||||
"docs:json": "compodoc -p ./tsconfig.json -e json -d .",
|
||||
"e2e": "ng e2e",
|
||||
"ng": "ng",
|
||||
"start": "ng serve",
|
||||
"storybook": "yarn storybook:prebuild && start-storybook -p 9008 -s src/assets",
|
||||
"storybook:prebuild": "yarn test:generate-output && yarn docs:json",
|
||||
"storybook": "yarn storybook-prebuild && start-storybook -p 9008 -s src/assets",
|
||||
"storybook-prebuild": "yarn test:generate-output && yarn docs:json",
|
||||
"test": "jest",
|
||||
"test:coverage": "jest --coverage",
|
||||
"test:generate-output": "jest --json --config=jest.addon-config.js --outputFile=addon-jest.testresults.json || true",
|
||||
@ -38,19 +37,19 @@
|
||||
"@angular/compiler-cli": "^11.2.0",
|
||||
"@angular/elements": "^11.2.0",
|
||||
"@compodoc/compodoc": "^1.1.11",
|
||||
"@storybook/addon-a11y": "6.2.1",
|
||||
"@storybook/addon-actions": "6.2.1",
|
||||
"@storybook/addon-backgrounds": "6.2.1",
|
||||
"@storybook/addon-controls": "6.2.1",
|
||||
"@storybook/addon-docs": "6.2.1",
|
||||
"@storybook/addon-jest": "6.2.1",
|
||||
"@storybook/addon-knobs": "6.2.1",
|
||||
"@storybook/addon-links": "6.2.1",
|
||||
"@storybook/addon-storyshots": "6.2.1",
|
||||
"@storybook/addon-storysource": "6.2.1",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/angular": "6.2.1",
|
||||
"@storybook/source-loader": "6.2.1",
|
||||
"@storybook/addon-a11y": "6.3.0-alpha.0",
|
||||
"@storybook/addon-actions": "6.3.0-alpha.0",
|
||||
"@storybook/addon-backgrounds": "6.3.0-alpha.0",
|
||||
"@storybook/addon-controls": "6.3.0-alpha.0",
|
||||
"@storybook/addon-docs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-jest": "6.3.0-alpha.0",
|
||||
"@storybook/addon-knobs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-links": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storyshots": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storysource": "6.3.0-alpha.0",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/angular": "6.3.0-alpha.0",
|
||||
"@storybook/source-loader": "6.3.0-alpha.0",
|
||||
"@types/core-js": "^2.5.4",
|
||||
"@types/jest": "^26.0.16",
|
||||
"@types/node": "^14.14.20",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "aurelia-kitchen-sink",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"private": true,
|
||||
"description": "An Aurelia client application.",
|
||||
"repository": {
|
||||
@ -22,18 +22,18 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@aurelia/webpack-loader": "^0.7.0",
|
||||
"@storybook/addon-a11y": "6.2.1",
|
||||
"@storybook/addon-actions": "6.2.1",
|
||||
"@storybook/addon-backgrounds": "6.2.1",
|
||||
"@storybook/addon-docs": "6.2.1",
|
||||
"@storybook/addon-jest": "6.2.1",
|
||||
"@storybook/addon-knobs": "6.2.1",
|
||||
"@storybook/addon-links": "6.2.1",
|
||||
"@storybook/addon-storyshots": "6.2.1",
|
||||
"@storybook/addon-storysource": "6.2.1",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/aurelia": "6.2.1",
|
||||
"@storybook/source-loader": "6.2.1",
|
||||
"@storybook/addon-a11y": "6.3.0-alpha.0",
|
||||
"@storybook/addon-actions": "6.3.0-alpha.0",
|
||||
"@storybook/addon-backgrounds": "6.3.0-alpha.0",
|
||||
"@storybook/addon-docs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-jest": "6.3.0-alpha.0",
|
||||
"@storybook/addon-knobs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-links": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storyshots": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storysource": "6.3.0-alpha.0",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/aurelia": "6.3.0-alpha.0",
|
||||
"@storybook/source-loader": "6.3.0-alpha.0",
|
||||
"@types/node": "^14.14.20",
|
||||
"css-loader": "^3.6.0",
|
||||
"file-loader": "^4.3.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-kitchen-sink",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -11,7 +11,7 @@
|
||||
"test": "react-scripts test --env=jsdom"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/client-logger": "6.2.1",
|
||||
"@storybook/client-logger": "6.3.0-alpha.0",
|
||||
"global": "^4.4.0",
|
||||
"prop-types": "^15.7.2",
|
||||
"react": "16.14.0",
|
||||
@ -21,20 +21,20 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.3",
|
||||
"@storybook/addon-a11y": "6.2.1",
|
||||
"@storybook/addon-actions": "6.2.1",
|
||||
"@storybook/addon-backgrounds": "6.2.1",
|
||||
"@storybook/addon-docs": "6.2.1",
|
||||
"@storybook/addon-events": "6.2.1",
|
||||
"@storybook/addon-jest": "6.2.1",
|
||||
"@storybook/addon-knobs": "6.2.1",
|
||||
"@storybook/addon-links": "6.2.1",
|
||||
"@storybook/addon-storyshots": "6.2.1",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/builder-webpack4": "6.2.1",
|
||||
"@storybook/preset-create-react-app": "^3.1.6-alpha.0",
|
||||
"@storybook/react": "6.2.1",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/addon-a11y": "6.3.0-alpha.0",
|
||||
"@storybook/addon-actions": "6.3.0-alpha.0",
|
||||
"@storybook/addon-backgrounds": "6.3.0-alpha.0",
|
||||
"@storybook/addon-docs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-events": "6.3.0-alpha.0",
|
||||
"@storybook/addon-jest": "6.3.0-alpha.0",
|
||||
"@storybook/addon-knobs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-links": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storyshots": "6.3.0-alpha.0",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/builder-webpack4": "6.3.0-alpha.0",
|
||||
"@storybook/preset-create-react-app": "^3.1.6",
|
||||
"@storybook/react": "6.3.0-alpha.0",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"webpack": "4"
|
||||
},
|
||||
"storybook": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-react15",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -18,13 +18,13 @@
|
||||
"react-scripts": "3.4.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-actions": "6.2.1",
|
||||
"@storybook/addon-links": "6.2.1",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/builder-webpack4": "6.2.1",
|
||||
"@storybook/preset-create-react-app": "^3.1.6-alpha.0",
|
||||
"@storybook/react": "6.2.1",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/addon-actions": "6.3.0-alpha.0",
|
||||
"@storybook/addon-links": "6.3.0-alpha.0",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/builder-webpack4": "6.3.0-alpha.0",
|
||||
"@storybook/preset-create-react-app": "^3.1.6",
|
||||
"@storybook/react": "6.3.0-alpha.0",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"babel-core": "6",
|
||||
"babel-runtime": "6",
|
||||
"webpack": "4"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-ts-essentials",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -34,11 +34,11 @@
|
||||
"typescript": "^3.9.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-essentials": "6.2.1",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/builder-webpack4": "6.2.1",
|
||||
"@storybook/preset-create-react-app": "^3.1.6-alpha.0",
|
||||
"@storybook/react": "6.2.1",
|
||||
"@storybook/addon-essentials": "6.3.0-alpha.0",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/builder-webpack4": "6.3.0-alpha.0",
|
||||
"@storybook/preset-create-react-app": "^3.1.6",
|
||||
"@storybook/react": "6.3.0-alpha.0",
|
||||
"webpack": "4"
|
||||
},
|
||||
"storybook": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cra-ts-kitchen-sink",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "react-scripts build",
|
||||
@ -34,15 +34,15 @@
|
||||
"typescript": "^3.9.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.2.1",
|
||||
"@storybook/addon-actions": "6.2.1",
|
||||
"@storybook/addon-docs": "6.2.1",
|
||||
"@storybook/addon-knobs": "6.2.1",
|
||||
"@storybook/addon-links": "6.2.1",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/builder-webpack4": "6.2.1",
|
||||
"@storybook/preset-create-react-app": "^3.1.6-alpha.0",
|
||||
"@storybook/react": "6.2.1",
|
||||
"@storybook/addon-a11y": "6.3.0-alpha.0",
|
||||
"@storybook/addon-actions": "6.3.0-alpha.0",
|
||||
"@storybook/addon-docs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-knobs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-links": "6.3.0-alpha.0",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/builder-webpack4": "6.3.0-alpha.0",
|
||||
"@storybook/preset-create-react-app": "^3.1.6",
|
||||
"@storybook/react": "6.3.0-alpha.0",
|
||||
"@types/enzyme": "^3.10.8",
|
||||
"enzyme": "^3.11.0",
|
||||
"enzyme-adapter-react-16": "^1.9.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/example-devkits",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"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 ./"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-decorator": "6.2.1",
|
||||
"@storybook/addon-parameter": "6.2.1",
|
||||
"@storybook/addon-preview-wrapper": "6.2.1",
|
||||
"@storybook/addon-roundtrip": "6.2.1",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/client-api": "6.2.1",
|
||||
"@storybook/components": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/node-logger": "6.2.1",
|
||||
"@storybook/react": "6.2.1",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/addon-decorator": "6.3.0-alpha.0",
|
||||
"@storybook/addon-parameter": "6.3.0-alpha.0",
|
||||
"@storybook/addon-preview-wrapper": "6.3.0-alpha.0",
|
||||
"@storybook/addon-roundtrip": "6.3.0-alpha.0",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"@storybook/client-api": "6.3.0-alpha.0",
|
||||
"@storybook/components": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/node-logger": "6.3.0-alpha.0",
|
||||
"@storybook/react": "6.3.0-alpha.0",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"cors": "^2.8.5",
|
||||
"cross-env": "^7.0.3",
|
||||
"enzyme-to-json": "^3.6.1",
|
||||
|
@ -1,13 +1,13 @@
|
||||
{
|
||||
"name": "ember-example",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "ember build --output-path ember-output",
|
||||
"prebuild-storybook": "yarn build && shx cp -r public/* ember-output",
|
||||
"build-storybook": "build-storybook -s ember-output",
|
||||
"build-storybook": "yarn storybook-prebuild && build-storybook -s ember-output",
|
||||
"dev": "ember serve",
|
||||
"storybook": "yarn build && start-storybook -p 9009 -s ember-output",
|
||||
"storybook-prebuild": "yarn build && shx cp -r public/* ember-output",
|
||||
"storybook:dev": "yarn dev & start-storybook -p 9009 -s ember-output"
|
||||
},
|
||||
"dependencies": {
|
||||
@ -17,19 +17,19 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.10",
|
||||
"@ember/optional-features": "^2.0.0",
|
||||
"@storybook/addon-a11y": "6.2.1",
|
||||
"@storybook/addon-actions": "6.2.1",
|
||||
"@storybook/addon-backgrounds": "6.2.1",
|
||||
"@storybook/addon-controls": "6.2.1",
|
||||
"@storybook/addon-docs": "6.2.1",
|
||||
"@storybook/addon-knobs": "6.2.1",
|
||||
"@storybook/addon-links": "6.2.1",
|
||||
"@storybook/addon-storysource": "6.2.1",
|
||||
"@storybook/addon-viewport": "6.2.1",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/ember": "6.2.1",
|
||||
"@storybook/addon-a11y": "6.3.0-alpha.0",
|
||||
"@storybook/addon-actions": "6.3.0-alpha.0",
|
||||
"@storybook/addon-backgrounds": "6.3.0-alpha.0",
|
||||
"@storybook/addon-controls": "6.3.0-alpha.0",
|
||||
"@storybook/addon-docs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-knobs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-links": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storysource": "6.3.0-alpha.0",
|
||||
"@storybook/addon-viewport": "6.3.0-alpha.0",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/ember": "6.3.0-alpha.0",
|
||||
"@storybook/ember-cli-storybook": "^0.2.1",
|
||||
"@storybook/source-loader": "6.2.1",
|
||||
"@storybook/source-loader": "6.3.0-alpha.0",
|
||||
"babel-loader": "^8",
|
||||
"broccoli-asset-rev": "^3.0.0",
|
||||
"cross-env": "^7.0.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "html-kitchen-sink",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"private": true,
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
@ -13,25 +13,25 @@
|
||||
"storybook": "start-storybook -p 9006"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.2.1",
|
||||
"@storybook/addon-actions": "6.2.1",
|
||||
"@storybook/addon-backgrounds": "6.2.1",
|
||||
"@storybook/addon-controls": "6.2.1",
|
||||
"@storybook/addon-docs": "6.2.1",
|
||||
"@storybook/addon-events": "6.2.1",
|
||||
"@storybook/addon-jest": "6.2.1",
|
||||
"@storybook/addon-knobs": "6.2.1",
|
||||
"@storybook/addon-links": "6.2.1",
|
||||
"@storybook/addon-a11y": "6.3.0-alpha.0",
|
||||
"@storybook/addon-actions": "6.3.0-alpha.0",
|
||||
"@storybook/addon-backgrounds": "6.3.0-alpha.0",
|
||||
"@storybook/addon-controls": "6.3.0-alpha.0",
|
||||
"@storybook/addon-docs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-events": "6.3.0-alpha.0",
|
||||
"@storybook/addon-jest": "6.3.0-alpha.0",
|
||||
"@storybook/addon-knobs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-links": "6.3.0-alpha.0",
|
||||
"@storybook/addon-postcss": "^2.0.0",
|
||||
"@storybook/addon-storyshots": "6.2.1",
|
||||
"@storybook/addon-storysource": "6.2.1",
|
||||
"@storybook/addon-viewport": "6.2.1",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/client-api": "6.2.1",
|
||||
"@storybook/core": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/html": "6.2.1",
|
||||
"@storybook/source-loader": "6.2.1",
|
||||
"@storybook/addon-storyshots": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storysource": "6.3.0-alpha.0",
|
||||
"@storybook/addon-viewport": "6.3.0-alpha.0",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/client-api": "6.3.0-alpha.0",
|
||||
"@storybook/core": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/html": "6.3.0-alpha.0",
|
||||
"@storybook/source-loader": "6.3.0-alpha.0",
|
||||
"autoprefixer": "^10.0.1",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"format-json": "^1.0.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "marko-cli",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"private": true,
|
||||
"description": "Demo of how to build an app using marko-starter",
|
||||
"repository": {
|
||||
@ -23,13 +23,13 @@
|
||||
"marko-starter": "^2.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.2.1",
|
||||
"@storybook/addon-actions": "6.2.1",
|
||||
"@storybook/addon-knobs": "6.2.1",
|
||||
"@storybook/addon-storysource": "6.2.1",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/marko": "6.2.1",
|
||||
"@storybook/source-loader": "6.2.1",
|
||||
"@storybook/addon-a11y": "6.3.0-alpha.0",
|
||||
"@storybook/addon-actions": "6.3.0-alpha.0",
|
||||
"@storybook/addon-knobs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storysource": "6.3.0-alpha.0",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/marko": "6.3.0-alpha.0",
|
||||
"@storybook/source-loader": "6.3.0-alpha.0",
|
||||
"prettier": "~2.2.1",
|
||||
"webpack": "4"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mithril-example",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "build-storybook",
|
||||
@ -10,17 +10,17 @@
|
||||
"mithril": "^1.1.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.2.1",
|
||||
"@storybook/addon-actions": "6.2.1",
|
||||
"@storybook/addon-backgrounds": "6.2.1",
|
||||
"@storybook/addon-knobs": "6.2.1",
|
||||
"@storybook/addon-links": "6.2.1",
|
||||
"@storybook/addon-storyshots": "6.2.1",
|
||||
"@storybook/addon-storysource": "6.2.1",
|
||||
"@storybook/addon-viewport": "6.2.1",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/mithril": "6.2.1",
|
||||
"@storybook/source-loader": "6.2.1",
|
||||
"@storybook/addon-a11y": "6.3.0-alpha.0",
|
||||
"@storybook/addon-actions": "6.3.0-alpha.0",
|
||||
"@storybook/addon-backgrounds": "6.3.0-alpha.0",
|
||||
"@storybook/addon-knobs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-links": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storyshots": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storysource": "6.3.0-alpha.0",
|
||||
"@storybook/addon-viewport": "6.3.0-alpha.0",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/mithril": "6.3.0-alpha.0",
|
||||
"@storybook/source-loader": "6.3.0-alpha.0",
|
||||
"webpack": "4"
|
||||
},
|
||||
"storybook": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "official-storybook",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./",
|
||||
@ -15,33 +15,33 @@
|
||||
"devDependencies": {
|
||||
"@packtracker/webpack-plugin": "^2.3.0",
|
||||
"@pmmmwh/react-refresh-webpack-plugin": "^0.4.3",
|
||||
"@storybook/addon-a11y": "6.2.1",
|
||||
"@storybook/addon-actions": "6.2.1",
|
||||
"@storybook/addon-backgrounds": "6.2.1",
|
||||
"@storybook/addon-controls": "6.2.1",
|
||||
"@storybook/addon-cssresources": "6.2.1",
|
||||
"@storybook/addon-design-assets": "6.2.1",
|
||||
"@storybook/addon-docs": "6.2.1",
|
||||
"@storybook/addon-events": "6.2.1",
|
||||
"@storybook/addon-graphql": "6.2.1",
|
||||
"@storybook/addon-jest": "6.2.1",
|
||||
"@storybook/addon-knobs": "6.2.1",
|
||||
"@storybook/addon-links": "6.2.1",
|
||||
"@storybook/addon-queryparams": "6.2.1",
|
||||
"@storybook/addon-storyshots": "6.2.1",
|
||||
"@storybook/addon-storyshots-puppeteer": "6.2.1",
|
||||
"@storybook/addon-storysource": "6.2.1",
|
||||
"@storybook/addon-toolbars": "6.2.1",
|
||||
"@storybook/addon-viewport": "6.2.1",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/cli": "6.2.1",
|
||||
"@storybook/components": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/addon-a11y": "6.3.0-alpha.0",
|
||||
"@storybook/addon-actions": "6.3.0-alpha.0",
|
||||
"@storybook/addon-backgrounds": "6.3.0-alpha.0",
|
||||
"@storybook/addon-controls": "6.3.0-alpha.0",
|
||||
"@storybook/addon-cssresources": "6.3.0-alpha.0",
|
||||
"@storybook/addon-design-assets": "6.3.0-alpha.0",
|
||||
"@storybook/addon-docs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-events": "6.3.0-alpha.0",
|
||||
"@storybook/addon-graphql": "6.3.0-alpha.0",
|
||||
"@storybook/addon-jest": "6.3.0-alpha.0",
|
||||
"@storybook/addon-knobs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-links": "6.3.0-alpha.0",
|
||||
"@storybook/addon-queryparams": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storyshots": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storyshots-puppeteer": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storysource": "6.3.0-alpha.0",
|
||||
"@storybook/addon-toolbars": "6.3.0-alpha.0",
|
||||
"@storybook/addon-viewport": "6.3.0-alpha.0",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/cli": "6.3.0-alpha.0",
|
||||
"@storybook/components": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/design-system": "^5.4.7",
|
||||
"@storybook/node-logger": "6.2.1",
|
||||
"@storybook/react": "6.2.1",
|
||||
"@storybook/source-loader": "6.2.1",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/node-logger": "6.3.0-alpha.0",
|
||||
"@storybook/react": "6.3.0-alpha.0",
|
||||
"@storybook/source-loader": "6.3.0-alpha.0",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"chromatic": "^5.6.0",
|
||||
"cors": "^2.8.5",
|
||||
"cross-env": "^7.0.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "preact-example",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
@ -15,17 +15,17 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.10",
|
||||
"@babel/plugin-transform-runtime": "^7.12.10",
|
||||
"@storybook/addon-a11y": "6.2.1",
|
||||
"@storybook/addon-actions": "6.2.1",
|
||||
"@storybook/addon-backgrounds": "6.2.1",
|
||||
"@storybook/addon-knobs": "6.2.1",
|
||||
"@storybook/addon-links": "6.2.1",
|
||||
"@storybook/addon-storyshots": "6.2.1",
|
||||
"@storybook/addon-storysource": "6.2.1",
|
||||
"@storybook/addon-viewport": "6.2.1",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/preact": "6.2.1",
|
||||
"@storybook/source-loader": "6.2.1",
|
||||
"@storybook/addon-a11y": "6.3.0-alpha.0",
|
||||
"@storybook/addon-actions": "6.3.0-alpha.0",
|
||||
"@storybook/addon-backgrounds": "6.3.0-alpha.0",
|
||||
"@storybook/addon-knobs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-links": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storyshots": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storysource": "6.3.0-alpha.0",
|
||||
"@storybook/addon-viewport": "6.3.0-alpha.0",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/preact": "6.3.0-alpha.0",
|
||||
"@storybook/source-loader": "6.3.0-alpha.0",
|
||||
"babel-loader": "^8.2.2",
|
||||
"cross-env": "^7.0.3",
|
||||
"file-loader": "^6.2.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "rax-kitchen-sink",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "build-scripts build",
|
||||
@ -20,20 +20,20 @@
|
||||
"devDependencies": {
|
||||
"@alib/build-scripts": "^0.1.8",
|
||||
"@babel/preset-react": "^7.12.10",
|
||||
"@storybook/addon-a11y": "6.2.1",
|
||||
"@storybook/addon-actions": "6.2.1",
|
||||
"@storybook/addon-backgrounds": "6.2.1",
|
||||
"@storybook/addon-events": "6.2.1",
|
||||
"@storybook/addon-jest": "6.2.1",
|
||||
"@storybook/addon-knobs": "6.2.1",
|
||||
"@storybook/addon-links": "6.2.1",
|
||||
"@storybook/addon-storyshots": "6.2.1",
|
||||
"@storybook/addon-storysource": "6.2.1",
|
||||
"@storybook/addon-viewport": "6.2.1",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/rax": "6.2.1",
|
||||
"@storybook/source-loader": "6.2.1",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/addon-a11y": "6.3.0-alpha.0",
|
||||
"@storybook/addon-actions": "6.3.0-alpha.0",
|
||||
"@storybook/addon-backgrounds": "6.3.0-alpha.0",
|
||||
"@storybook/addon-events": "6.3.0-alpha.0",
|
||||
"@storybook/addon-jest": "6.3.0-alpha.0",
|
||||
"@storybook/addon-knobs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-links": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storyshots": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storysource": "6.3.0-alpha.0",
|
||||
"@storybook/addon-viewport": "6.3.0-alpha.0",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/rax": "6.3.0-alpha.0",
|
||||
"@storybook/source-loader": "6.3.0-alpha.0",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"build-plugin-rax-app": "^0.2.0",
|
||||
"stylesheet-loader": "^0.8.0"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/example-react-ts-webpack4",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./",
|
||||
@ -8,10 +8,10 @@
|
||||
"storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addon-controls": "6.2.1",
|
||||
"@storybook/addon-essentials": "6.2.1",
|
||||
"@storybook/builder-webpack4": "6.2.1",
|
||||
"@storybook/react": "6.2.1",
|
||||
"@storybook/addon-controls": "6.3.0-alpha.0",
|
||||
"@storybook/addon-essentials": "6.3.0-alpha.0",
|
||||
"@storybook/builder-webpack4": "6.3.0-alpha.0",
|
||||
"@storybook/react": "6.3.0-alpha.0",
|
||||
"@types/react": "^16.14.2",
|
||||
"@types/react-dom": "^16.9.10",
|
||||
"prop-types": "15.7.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/example-react-ts",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true build-storybook -c ./",
|
||||
@ -8,9 +8,9 @@
|
||||
"storybook": "cross-env STORYBOOK_DISPLAY_WARNING=true DISPLAY_WARNING=true start-storybook -p 9011 -c ./"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addon-controls": "6.2.1",
|
||||
"@storybook/addon-essentials": "6.2.1",
|
||||
"@storybook/react": "6.2.1",
|
||||
"@storybook/addon-controls": "6.3.0-alpha.0",
|
||||
"@storybook/addon-essentials": "6.3.0-alpha.0",
|
||||
"@storybook/react": "6.3.0-alpha.0",
|
||||
"@types/react": "^16.14.2",
|
||||
"@types/react-dom": "^16.9.10",
|
||||
"prop-types": "15.7.2",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "riot-example",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
@ -15,17 +15,17 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.10",
|
||||
"@storybook/addon-a11y": "6.2.1",
|
||||
"@storybook/addon-actions": "6.2.1",
|
||||
"@storybook/addon-backgrounds": "6.2.1",
|
||||
"@storybook/addon-knobs": "6.2.1",
|
||||
"@storybook/addon-links": "6.2.1",
|
||||
"@storybook/addon-storyshots": "6.2.1",
|
||||
"@storybook/addon-storysource": "6.2.1",
|
||||
"@storybook/addon-viewport": "6.2.1",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/riot": "6.2.1",
|
||||
"@storybook/source-loader": "6.2.1",
|
||||
"@storybook/addon-a11y": "6.3.0-alpha.0",
|
||||
"@storybook/addon-actions": "6.3.0-alpha.0",
|
||||
"@storybook/addon-backgrounds": "6.3.0-alpha.0",
|
||||
"@storybook/addon-knobs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-links": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storyshots": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storysource": "6.3.0-alpha.0",
|
||||
"@storybook/addon-viewport": "6.3.0-alpha.0",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/riot": "6.3.0-alpha.0",
|
||||
"@storybook/source-loader": "6.3.0-alpha.0",
|
||||
"babel-loader": "^8.2.2",
|
||||
"cross-env": "^7.0.3",
|
||||
"file-loader": "^6.2.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "server-kitchen-sink",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"private": true,
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
@ -14,13 +14,13 @@
|
||||
"storybook": "SERVER_PORT=1137 start-storybook -p 9006 --quiet"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.2.1",
|
||||
"@storybook/addon-actions": "6.2.1",
|
||||
"@storybook/addon-backgrounds": "6.2.1",
|
||||
"@storybook/addon-controls": "6.2.1",
|
||||
"@storybook/addon-links": "6.2.1",
|
||||
"@storybook/node-logger": "6.2.1",
|
||||
"@storybook/server": "6.2.1",
|
||||
"@storybook/addon-a11y": "6.3.0-alpha.0",
|
||||
"@storybook/addon-actions": "6.3.0-alpha.0",
|
||||
"@storybook/addon-backgrounds": "6.3.0-alpha.0",
|
||||
"@storybook/addon-controls": "6.3.0-alpha.0",
|
||||
"@storybook/addon-links": "6.3.0-alpha.0",
|
||||
"@storybook/node-logger": "6.3.0-alpha.0",
|
||||
"@storybook/server": "6.3.0-alpha.0",
|
||||
"concurrently": "^5.3.0",
|
||||
"cors": "^2.8.5",
|
||||
"express": "~4.17.1",
|
||||
|
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "standalone-preview",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"storybook": "parcel ./storybook.html --port 1337"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/react": "6.2.1",
|
||||
"@storybook/react": "6.3.0-alpha.0",
|
||||
"parcel": "^1.12.4",
|
||||
"react": "16.14.0",
|
||||
"react-dom": "16.14.0"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "svelte-example",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build-storybook": "build-storybook -s public",
|
||||
@ -10,19 +10,19 @@
|
||||
"global": "^4.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.2.1",
|
||||
"@storybook/addon-actions": "6.2.1",
|
||||
"@storybook/addon-backgrounds": "6.2.1",
|
||||
"@storybook/addon-controls": "6.2.1",
|
||||
"@storybook/addon-docs": "6.2.1",
|
||||
"@storybook/addon-knobs": "6.2.1",
|
||||
"@storybook/addon-links": "6.2.1",
|
||||
"@storybook/addon-storyshots": "6.2.1",
|
||||
"@storybook/addon-storysource": "6.2.1",
|
||||
"@storybook/addon-viewport": "6.2.1",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/source-loader": "6.2.1",
|
||||
"@storybook/svelte": "6.2.1",
|
||||
"@storybook/addon-a11y": "6.3.0-alpha.0",
|
||||
"@storybook/addon-actions": "6.3.0-alpha.0",
|
||||
"@storybook/addon-backgrounds": "6.3.0-alpha.0",
|
||||
"@storybook/addon-controls": "6.3.0-alpha.0",
|
||||
"@storybook/addon-docs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-knobs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-links": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storyshots": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storysource": "6.3.0-alpha.0",
|
||||
"@storybook/addon-viewport": "6.3.0-alpha.0",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/source-loader": "6.3.0-alpha.0",
|
||||
"@storybook/svelte": "6.3.0-alpha.0",
|
||||
"svelte-jester": "1.3.0",
|
||||
"svelte-preprocess": "4.6.8"
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vue-3-cli-example",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "vue-cli-service build",
|
||||
@ -14,11 +14,11 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.10",
|
||||
"@storybook/addon-actions": "6.2.1",
|
||||
"@storybook/addon-essentials": "6.2.1",
|
||||
"@storybook/addon-links": "6.2.1",
|
||||
"@storybook/addon-storyshots": "6.2.1",
|
||||
"@storybook/vue3": "6.2.1",
|
||||
"@storybook/addon-actions": "6.3.0-alpha.0",
|
||||
"@storybook/addon-essentials": "6.3.0-alpha.0",
|
||||
"@storybook/addon-links": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storyshots": "6.3.0-alpha.0",
|
||||
"@storybook/vue3": "6.3.0-alpha.0",
|
||||
"@vue/cli-plugin-babel": "~4.5.0",
|
||||
"@vue/cli-plugin-typescript": "~4.5.0",
|
||||
"@vue/cli-service": "~4.5.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vue-cli-example",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "vue-cli-service build",
|
||||
@ -15,11 +15,11 @@
|
||||
"vue-property-decorator": "^9.1.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-controls": "6.2.1",
|
||||
"@storybook/addon-essentials": "6.2.1",
|
||||
"@storybook/addon-controls": "6.3.0-alpha.0",
|
||||
"@storybook/addon-essentials": "6.3.0-alpha.0",
|
||||
"@storybook/preset-scss": "^1.0.3",
|
||||
"@storybook/source-loader": "6.2.1",
|
||||
"@storybook/vue": "6.2.1",
|
||||
"@storybook/source-loader": "6.3.0-alpha.0",
|
||||
"@storybook/vue": "6.3.0-alpha.0",
|
||||
"@vue/cli-plugin-babel": "~4.3.1",
|
||||
"@vue/cli-plugin-typescript": "~4.3.1",
|
||||
"@vue/cli-service": "~4.3.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vue-example",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "cross-env NODE_ENV=production webpack --progress --hide-modules",
|
||||
@ -14,19 +14,19 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.10",
|
||||
"@storybook/addon-a11y": "6.2.1",
|
||||
"@storybook/addon-actions": "6.2.1",
|
||||
"@storybook/addon-backgrounds": "6.2.1",
|
||||
"@storybook/addon-controls": "6.2.1",
|
||||
"@storybook/addon-docs": "6.2.1",
|
||||
"@storybook/addon-knobs": "6.2.1",
|
||||
"@storybook/addon-links": "6.2.1",
|
||||
"@storybook/addon-storyshots": "6.2.1",
|
||||
"@storybook/addon-storysource": "6.2.1",
|
||||
"@storybook/addon-viewport": "6.2.1",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/source-loader": "6.2.1",
|
||||
"@storybook/vue": "6.2.1",
|
||||
"@storybook/addon-a11y": "6.3.0-alpha.0",
|
||||
"@storybook/addon-actions": "6.3.0-alpha.0",
|
||||
"@storybook/addon-backgrounds": "6.3.0-alpha.0",
|
||||
"@storybook/addon-controls": "6.3.0-alpha.0",
|
||||
"@storybook/addon-docs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-knobs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-links": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storyshots": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storysource": "6.3.0-alpha.0",
|
||||
"@storybook/addon-viewport": "6.3.0-alpha.0",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/source-loader": "6.3.0-alpha.0",
|
||||
"@storybook/vue": "6.3.0-alpha.0",
|
||||
"@vue/babel-preset-jsx": "^1.2.4",
|
||||
"babel-loader": "^8.2.2",
|
||||
"cross-env": "^7.0.3",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "web-components-kitchen-sink",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"private": true,
|
||||
"description": "",
|
||||
"keywords": [],
|
||||
@ -12,24 +12,24 @@
|
||||
"storybook": "start-storybook -p 9006"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/addon-a11y": "6.2.1",
|
||||
"@storybook/addon-actions": "6.2.1",
|
||||
"@storybook/addon-backgrounds": "6.2.1",
|
||||
"@storybook/addon-controls": "6.2.1",
|
||||
"@storybook/addon-docs": "6.2.1",
|
||||
"@storybook/addon-events": "6.2.1",
|
||||
"@storybook/addon-jest": "6.2.1",
|
||||
"@storybook/addon-knobs": "6.2.1",
|
||||
"@storybook/addon-links": "6.2.1",
|
||||
"@storybook/addon-storyshots": "6.2.1",
|
||||
"@storybook/addon-storysource": "6.2.1",
|
||||
"@storybook/addon-viewport": "6.2.1",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/client-api": "6.2.1",
|
||||
"@storybook/core": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/source-loader": "6.2.1",
|
||||
"@storybook/web-components": "6.2.1",
|
||||
"@storybook/addon-a11y": "6.3.0-alpha.0",
|
||||
"@storybook/addon-actions": "6.3.0-alpha.0",
|
||||
"@storybook/addon-backgrounds": "6.3.0-alpha.0",
|
||||
"@storybook/addon-controls": "6.3.0-alpha.0",
|
||||
"@storybook/addon-docs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-events": "6.3.0-alpha.0",
|
||||
"@storybook/addon-jest": "6.3.0-alpha.0",
|
||||
"@storybook/addon-knobs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-links": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storyshots": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storysource": "6.3.0-alpha.0",
|
||||
"@storybook/addon-viewport": "6.3.0-alpha.0",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/client-api": "6.3.0-alpha.0",
|
||||
"@storybook/core": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/source-loader": "6.3.0-alpha.0",
|
||||
"@storybook/web-components": "6.3.0-alpha.0",
|
||||
"babel-loader": "^8.2.2",
|
||||
"eventemitter3": "^4.0.7",
|
||||
"format-json": "^1.0.3",
|
||||
|
@ -2,5 +2,5 @@
|
||||
"npmClient": "yarn",
|
||||
"useWorkspaces": true,
|
||||
"registry": "https://registry.npmjs.org",
|
||||
"version": "6.2.1"
|
||||
"version": "6.3.0-alpha.0"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/addons",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook addons store",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -36,12 +36,12 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/channels": "6.2.1",
|
||||
"@storybook/client-logger": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/router": "6.2.1",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"@storybook/channels": "6.3.0-alpha.0",
|
||||
"@storybook/client-logger": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/router": "6.3.0-alpha.0",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"regenerator-runtime": "^0.13.7"
|
||||
@ -53,5 +53,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/api",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Core Storybook API & Context",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -35,13 +35,13 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@reach/router": "^1.3.4",
|
||||
"@storybook/channels": "6.2.1",
|
||||
"@storybook/client-logger": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/channels": "6.3.0-alpha.0",
|
||||
"@storybook/client-logger": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/router": "6.2.1",
|
||||
"@storybook/router": "6.3.0-alpha.0",
|
||||
"@storybook/semver": "^7.3.2",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"@types/reach__router": "^1.3.7",
|
||||
"core-js": "^3.8.2",
|
||||
"fast-deep-equal": "^3.1.3",
|
||||
@ -68,5 +68,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -8,7 +8,6 @@ import { window } from 'global';
|
||||
import { ModuleArgs, ModuleFn } from '../index';
|
||||
import { PanelPositions } from './layout';
|
||||
import { isStory } from '../lib/stories';
|
||||
import type { Story } from '../lib/stories';
|
||||
|
||||
interface Additions {
|
||||
isFullscreen?: boolean;
|
||||
@ -150,25 +149,30 @@ export const init: ModuleFn = ({ store, navigate, state, provider, fullAPI, ...r
|
||||
|
||||
const initModule = () => {
|
||||
// Sets `args` parameter in URL, omitting any args that have their initial value or cannot be unserialized safely.
|
||||
const updateArgsParam = (args?: Story['args']) => {
|
||||
const updateArgsParam = () => {
|
||||
const { path, viewMode } = fullAPI.getUrlState();
|
||||
if (viewMode !== 'story') return;
|
||||
|
||||
const currentStory = fullAPI.getCurrentStoryData();
|
||||
const initialArgs = (isStory(currentStory) && currentStory.initialArgs) || {};
|
||||
if (!isStory(currentStory)) return;
|
||||
|
||||
const { args, initialArgs } = currentStory;
|
||||
const argsString = buildArgsParam(initialArgs, args);
|
||||
const argsParam = argsString.length ? `&args=${argsString}` : '';
|
||||
queryNavigate(`${fullAPI.getUrlState().path}${argsParam}`, { replace: true });
|
||||
queryNavigate(`${path}${argsParam}`, { replace: true });
|
||||
api.setQueryParams({ args: argsString });
|
||||
};
|
||||
|
||||
fullAPI.on(SET_CURRENT_STORY, () => updateArgsParam());
|
||||
|
||||
let handleOrId: any;
|
||||
fullAPI.on(STORY_ARGS_UPDATED, ({ args }) => {
|
||||
fullAPI.on(STORY_ARGS_UPDATED, () => {
|
||||
if ('requestIdleCallback' in window) {
|
||||
if (handleOrId) window.cancelIdleCallback(handleOrId);
|
||||
handleOrId = window.requestIdleCallback(() => updateArgsParam(args), { timeout: 1000 });
|
||||
handleOrId = window.requestIdleCallback(updateArgsParam, { timeout: 1000 });
|
||||
} else {
|
||||
if (handleOrId) clearTimeout(handleOrId);
|
||||
setTimeout(updateArgsParam, 100, args);
|
||||
setTimeout(updateArgsParam, 100);
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -1 +1 @@
|
||||
export const version = '6.2.1';
|
||||
export const version = '6.3.0-alpha.0';
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/builder-webpack4",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook framework-agnostic API",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -57,20 +57,20 @@
|
||||
"@babel/preset-env": "^7.12.11",
|
||||
"@babel/preset-react": "^7.12.10",
|
||||
"@babel/preset-typescript": "^7.12.7",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/channel-postmessage": "6.2.1",
|
||||
"@storybook/channels": "6.2.1",
|
||||
"@storybook/client-api": "6.2.1",
|
||||
"@storybook/client-logger": "6.2.1",
|
||||
"@storybook/components": "6.2.1",
|
||||
"@storybook/core-common": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/node-logger": "6.2.1",
|
||||
"@storybook/router": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"@storybook/channel-postmessage": "6.3.0-alpha.0",
|
||||
"@storybook/channels": "6.3.0-alpha.0",
|
||||
"@storybook/client-api": "6.3.0-alpha.0",
|
||||
"@storybook/client-logger": "6.3.0-alpha.0",
|
||||
"@storybook/components": "6.3.0-alpha.0",
|
||||
"@storybook/core-common": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/node-logger": "6.3.0-alpha.0",
|
||||
"@storybook/router": "6.3.0-alpha.0",
|
||||
"@storybook/semver": "^7.3.2",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/ui": "6.2.1",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"@storybook/ui": "6.3.0-alpha.0",
|
||||
"@types/node": "^14.0.10",
|
||||
"@types/webpack": "^4.41.26",
|
||||
"autoprefixer": "^9.8.6",
|
||||
@ -97,7 +97,7 @@
|
||||
"react-dev-utils": "^11.0.3",
|
||||
"stable": "^0.1.8",
|
||||
"style-loader": "^1.3.0",
|
||||
"terser-webpack-plugin": "^3.1.0",
|
||||
"terser-webpack-plugin": "^4.2.3",
|
||||
"ts-dedent": "^2.0.0",
|
||||
"url-loader": "^4.1.1",
|
||||
"util-deprecate": "^1.0.2",
|
||||
@ -128,5 +128,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -67,8 +67,8 @@ export default async ({
|
||||
const logLevel = await presets.apply('logLevel', undefined);
|
||||
const frameworkOptions = await presets.apply(`${framework}Options`, {});
|
||||
|
||||
const headHtmlSnippet = await presets.apply('previewHeadTemplate');
|
||||
const bodyHtmlSnippet = await presets.apply('previewBodyTemplate');
|
||||
const headHtmlSnippet = await presets.apply('previewHead');
|
||||
const bodyHtmlSnippet = await presets.apply('previewBody');
|
||||
const template = await presets.apply<string>('previewMainTemplate');
|
||||
const envs = await presets.apply<Record<string, string>>('env');
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/builder-webpack5",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook framework-agnostic API",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -56,19 +56,19 @@
|
||||
"@babel/preset-env": "^7.12.11",
|
||||
"@babel/preset-react": "^7.12.10",
|
||||
"@babel/preset-typescript": "^7.12.7",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/channel-postmessage": "6.2.1",
|
||||
"@storybook/channels": "6.2.1",
|
||||
"@storybook/client-api": "6.2.1",
|
||||
"@storybook/client-logger": "6.2.1",
|
||||
"@storybook/components": "6.2.1",
|
||||
"@storybook/core-common": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/node-logger": "6.2.1",
|
||||
"@storybook/router": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"@storybook/channel-postmessage": "6.3.0-alpha.0",
|
||||
"@storybook/channels": "6.3.0-alpha.0",
|
||||
"@storybook/client-api": "6.3.0-alpha.0",
|
||||
"@storybook/client-logger": "6.3.0-alpha.0",
|
||||
"@storybook/components": "6.3.0-alpha.0",
|
||||
"@storybook/core-common": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/node-logger": "6.3.0-alpha.0",
|
||||
"@storybook/router": "6.3.0-alpha.0",
|
||||
"@storybook/semver": "^7.3.2",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"@types/node": "^14.0.10",
|
||||
"babel-loader": "^8.2.2",
|
||||
"babel-plugin-macros": "^3.0.1",
|
||||
@ -118,5 +118,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -64,8 +64,8 @@ export default async ({
|
||||
const logLevel = await presets.apply('logLevel', undefined);
|
||||
const frameworkOptions = await presets.apply(`${framework}Options`, {});
|
||||
|
||||
const headHtmlSnippet = await presets.apply('previewHeadTemplate');
|
||||
const bodyHtmlSnippet = await presets.apply('previewBodyTemplate');
|
||||
const headHtmlSnippet = await presets.apply('previewHead');
|
||||
const bodyHtmlSnippet = await presets.apply('previewBody');
|
||||
const template = await presets.apply<string>('previewMainTemplate');
|
||||
|
||||
const babelLoader = createBabelLoader(babelOptions, framework);
|
||||
@ -228,7 +228,9 @@ export default async ({
|
||||
mangle: false,
|
||||
keep_fnames: true,
|
||||
},
|
||||
}),
|
||||
// It looks like the types from `@types/terser-webpack-plugin` are not matching the latest version of
|
||||
// Webpack yet
|
||||
}) as any,
|
||||
]
|
||||
: [],
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/channel-postmessage",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -36,9 +36,9 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/channels": "6.2.1",
|
||||
"@storybook/client-logger": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/channels": "6.3.0-alpha.0",
|
||||
"@storybook/client-logger": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"qs": "^6.10.0",
|
||||
@ -47,5 +47,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/channel-websocket",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -36,7 +36,7 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/channels": "6.2.1",
|
||||
"@storybook/channels": "6.3.0-alpha.0",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
"telejson": "^5.1.0"
|
||||
@ -44,5 +44,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/channels",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -43,5 +43,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "sb",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook CLI",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -15,17 +15,15 @@
|
||||
"directory": "lib/cli"
|
||||
},
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"sb": "./index.js"
|
||||
},
|
||||
"bin": "./index.js",
|
||||
"scripts": {
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/cli": "6.2.1"
|
||||
"@storybook/cli": "6.3.0-alpha.0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "storybook",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook CLI",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -23,10 +23,10 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/cli": "6.2.1"
|
||||
"@storybook/cli": "6.3.0-alpha.0"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/cli",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook's CLI - easiest method of adding storybook to your projects",
|
||||
"keywords": [
|
||||
"cli",
|
||||
@ -44,8 +44,8 @@
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.12.10",
|
||||
"@babel/preset-env": "^7.12.11",
|
||||
"@storybook/codemod": "6.2.1",
|
||||
"@storybook/node-logger": "6.2.1",
|
||||
"@storybook/codemod": "6.3.0-alpha.0",
|
||||
"@storybook/node-logger": "6.3.0-alpha.0",
|
||||
"@storybook/semver": "^7.3.2",
|
||||
"chalk": "^4.1.0",
|
||||
"commander": "^6.2.1",
|
||||
@ -69,7 +69,7 @@
|
||||
"update-notifier": "^5.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@storybook/client-api": "6.2.1",
|
||||
"@storybook/client-api": "6.3.0-alpha.0",
|
||||
"@types/cross-spawn": "^6.0.2",
|
||||
"@types/inquirer": "^7.3.1",
|
||||
"@types/prompts": "^2.0.9",
|
||||
@ -86,5 +86,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,61 +1,61 @@
|
||||
{
|
||||
"@storybook/addon-a11y": "6.2.1",
|
||||
"@storybook/addon-actions": "6.2.1",
|
||||
"@storybook/addon-backgrounds": "6.2.1",
|
||||
"@storybook/addon-controls": "6.2.1",
|
||||
"@storybook/addon-cssresources": "6.2.1",
|
||||
"@storybook/addon-design-assets": "6.2.1",
|
||||
"@storybook/addon-docs": "6.2.1",
|
||||
"@storybook/addon-essentials": "6.2.1",
|
||||
"@storybook/addon-events": "6.2.1",
|
||||
"@storybook/addon-google-analytics": "6.2.1",
|
||||
"@storybook/addon-graphql": "6.2.1",
|
||||
"@storybook/addon-jest": "6.2.1",
|
||||
"@storybook/addon-knobs": "6.2.1",
|
||||
"@storybook/addon-links": "6.2.1",
|
||||
"@storybook/addon-queryparams": "6.2.1",
|
||||
"@storybook/addon-storyshots": "6.2.1",
|
||||
"@storybook/addon-storyshots-puppeteer": "6.2.1",
|
||||
"@storybook/addon-storysource": "6.2.1",
|
||||
"@storybook/addon-toolbars": "6.2.1",
|
||||
"@storybook/addon-viewport": "6.2.1",
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/angular": "6.2.1",
|
||||
"@storybook/api": "6.2.1",
|
||||
"@storybook/aurelia": "6.2.1",
|
||||
"@storybook/builder-webpack4": "6.2.1",
|
||||
"@storybook/builder-webpack5": "6.2.1",
|
||||
"@storybook/channel-postmessage": "6.2.1",
|
||||
"@storybook/channel-websocket": "6.2.1",
|
||||
"@storybook/channels": "6.2.1",
|
||||
"@storybook/cli": "6.2.1",
|
||||
"@storybook/client-api": "6.2.1",
|
||||
"@storybook/client-logger": "6.2.1",
|
||||
"@storybook/codemod": "6.2.1",
|
||||
"@storybook/components": "6.2.1",
|
||||
"@storybook/core": "6.2.1",
|
||||
"@storybook/core-client": "6.2.1",
|
||||
"@storybook/core-common": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/core-server": "6.2.1",
|
||||
"@storybook/ember": "6.2.1",
|
||||
"@storybook/html": "6.2.1",
|
||||
"@storybook/marionette": "6.2.1",
|
||||
"@storybook/marko": "6.2.1",
|
||||
"@storybook/mithril": "6.2.1",
|
||||
"@storybook/node-logger": "6.2.1",
|
||||
"@storybook/postinstall": "6.2.1",
|
||||
"@storybook/preact": "6.2.1",
|
||||
"@storybook/rax": "6.2.1",
|
||||
"@storybook/react": "6.2.1",
|
||||
"@storybook/riot": "6.2.1",
|
||||
"@storybook/router": "6.2.1",
|
||||
"@storybook/server": "6.2.1",
|
||||
"@storybook/source-loader": "6.2.1",
|
||||
"@storybook/svelte": "6.2.1",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/ui": "6.2.1",
|
||||
"@storybook/vue": "6.2.1",
|
||||
"@storybook/vue3": "6.2.1",
|
||||
"@storybook/web-components": "6.2.1"
|
||||
"@storybook/addon-a11y": "6.3.0-alpha.0",
|
||||
"@storybook/addon-actions": "6.3.0-alpha.0",
|
||||
"@storybook/addon-backgrounds": "6.3.0-alpha.0",
|
||||
"@storybook/addon-controls": "6.3.0-alpha.0",
|
||||
"@storybook/addon-cssresources": "6.3.0-alpha.0",
|
||||
"@storybook/addon-design-assets": "6.3.0-alpha.0",
|
||||
"@storybook/addon-docs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-essentials": "6.3.0-alpha.0",
|
||||
"@storybook/addon-events": "6.3.0-alpha.0",
|
||||
"@storybook/addon-google-analytics": "6.3.0-alpha.0",
|
||||
"@storybook/addon-graphql": "6.3.0-alpha.0",
|
||||
"@storybook/addon-jest": "6.3.0-alpha.0",
|
||||
"@storybook/addon-knobs": "6.3.0-alpha.0",
|
||||
"@storybook/addon-links": "6.3.0-alpha.0",
|
||||
"@storybook/addon-queryparams": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storyshots": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storyshots-puppeteer": "6.3.0-alpha.0",
|
||||
"@storybook/addon-storysource": "6.3.0-alpha.0",
|
||||
"@storybook/addon-toolbars": "6.3.0-alpha.0",
|
||||
"@storybook/addon-viewport": "6.3.0-alpha.0",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/angular": "6.3.0-alpha.0",
|
||||
"@storybook/api": "6.3.0-alpha.0",
|
||||
"@storybook/aurelia": "6.3.0-alpha.0",
|
||||
"@storybook/builder-webpack4": "6.3.0-alpha.0",
|
||||
"@storybook/builder-webpack5": "6.3.0-alpha.0",
|
||||
"@storybook/channel-postmessage": "6.3.0-alpha.0",
|
||||
"@storybook/channel-websocket": "6.3.0-alpha.0",
|
||||
"@storybook/channels": "6.3.0-alpha.0",
|
||||
"@storybook/cli": "6.3.0-alpha.0",
|
||||
"@storybook/client-api": "6.3.0-alpha.0",
|
||||
"@storybook/client-logger": "6.3.0-alpha.0",
|
||||
"@storybook/codemod": "6.3.0-alpha.0",
|
||||
"@storybook/components": "6.3.0-alpha.0",
|
||||
"@storybook/core": "6.3.0-alpha.0",
|
||||
"@storybook/core-client": "6.3.0-alpha.0",
|
||||
"@storybook/core-common": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/core-server": "6.3.0-alpha.0",
|
||||
"@storybook/ember": "6.3.0-alpha.0",
|
||||
"@storybook/html": "6.3.0-alpha.0",
|
||||
"@storybook/marionette": "6.3.0-alpha.0",
|
||||
"@storybook/marko": "6.3.0-alpha.0",
|
||||
"@storybook/mithril": "6.3.0-alpha.0",
|
||||
"@storybook/node-logger": "6.3.0-alpha.0",
|
||||
"@storybook/postinstall": "6.3.0-alpha.0",
|
||||
"@storybook/preact": "6.3.0-alpha.0",
|
||||
"@storybook/rax": "6.3.0-alpha.0",
|
||||
"@storybook/react": "6.3.0-alpha.0",
|
||||
"@storybook/riot": "6.3.0-alpha.0",
|
||||
"@storybook/router": "6.3.0-alpha.0",
|
||||
"@storybook/server": "6.3.0-alpha.0",
|
||||
"@storybook/source-loader": "6.3.0-alpha.0",
|
||||
"@storybook/svelte": "6.3.0-alpha.0",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"@storybook/ui": "6.3.0-alpha.0",
|
||||
"@storybook/vue": "6.3.0-alpha.0",
|
||||
"@storybook/vue3": "6.3.0-alpha.0",
|
||||
"@storybook/web-components": "6.3.0-alpha.0"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/client-api",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook Client API",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -36,11 +36,11 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/channel-postmessage": "6.2.1",
|
||||
"@storybook/channels": "6.2.1",
|
||||
"@storybook/client-logger": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/channel-postmessage": "6.3.0-alpha.0",
|
||||
"@storybook/channels": "6.3.0-alpha.0",
|
||||
"@storybook/client-logger": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@types/qs": "^6.9.5",
|
||||
"@types/webpack-env": "^1.16.0",
|
||||
@ -62,5 +62,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -53,6 +53,7 @@ describe('mapArgsToTypes', () => {
|
||||
|
||||
it('maps numbers', () => {
|
||||
expect(mapArgsToTypes({ a: '42' }, { a: { type: numberType } })).toStrictEqual({ a: 42 });
|
||||
expect(mapArgsToTypes({ a: '4.2' }, { a: { type: numberType } })).toStrictEqual({ a: 4.2 });
|
||||
expect(mapArgsToTypes({ a: 'a' }, { a: { type: numberType } })).toStrictEqual({ a: NaN });
|
||||
});
|
||||
|
||||
@ -86,6 +87,14 @@ describe('mapArgsToTypes', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('passes string for object type', () => {
|
||||
expect(mapArgsToTypes({ a: 'A' }, { a: { type: boolObjectType } })).toStrictEqual({ a: 'A' });
|
||||
});
|
||||
|
||||
it('passes number for object type', () => {
|
||||
expect(mapArgsToTypes({ a: 1.2 }, { a: { type: boolObjectType } })).toStrictEqual({ a: 1.2 });
|
||||
});
|
||||
|
||||
it('deeply maps objects', () => {
|
||||
expect(
|
||||
mapArgsToTypes(
|
||||
|
@ -26,6 +26,7 @@ const map = (arg: unknown, type: ValueType): any => {
|
||||
return acc;
|
||||
}, new Array(arg.length));
|
||||
case 'object':
|
||||
if (typeof arg === 'string' || typeof arg === 'number') return arg;
|
||||
if (!type.value || typeof arg !== 'object') return INCOMPATIBLE;
|
||||
return Object.entries(arg).reduce((acc, [key, val]) => {
|
||||
const mapped = map(val, (type.value as ObjectValueType)[key]);
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/client-logger",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -42,5 +42,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/codemod",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "A collection of codemod scripts written with JSCodeshift",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -39,7 +39,7 @@
|
||||
"dependencies": {
|
||||
"@mdx-js/mdx": "^1.6.22",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/node-logger": "6.2.1",
|
||||
"@storybook/node-logger": "6.3.0-alpha.0",
|
||||
"core-js": "^3.8.2",
|
||||
"cross-spawn": "^7.0.3",
|
||||
"globby": "^11.0.2",
|
||||
@ -56,5 +56,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/components",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Core Storybook Components",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -37,9 +37,9 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@popperjs/core": "^2.6.0",
|
||||
"@storybook/client-logger": "6.2.1",
|
||||
"@storybook/client-logger": "6.3.0-alpha.0",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/theming": "6.2.1",
|
||||
"@storybook/theming": "6.3.0-alpha.0",
|
||||
"@types/color-convert": "^2.0.0",
|
||||
"@types/overlayscrollbars": "^1.12.0",
|
||||
"@types/react-syntax-highlighter": "11.0.5",
|
||||
@ -72,5 +72,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
@ -218,14 +218,17 @@ const useColorInput = (initialValue: string, onChange: (value: string) => string
|
||||
colorSpace,
|
||||
]);
|
||||
|
||||
const updateValue = useCallback((update: string) => {
|
||||
const updateValue = useCallback(
|
||||
(update: string) => {
|
||||
const parsed = parseValue(update);
|
||||
setValue(parsed?.value || update || '');
|
||||
if (!parsed) return;
|
||||
setColor(parsed);
|
||||
setColorSpace(parsed.colorSpace);
|
||||
onChange(parsed.value);
|
||||
}, []);
|
||||
},
|
||||
[onChange]
|
||||
);
|
||||
|
||||
const cycleColorSpace = useCallback(() => {
|
||||
let next = COLOR_SPACES.indexOf(colorSpace) + 1;
|
||||
@ -234,7 +237,7 @@ const useColorInput = (initialValue: string, onChange: (value: string) => string
|
||||
const update = color?.[COLOR_SPACES[next]] || '';
|
||||
setValue(update);
|
||||
onChange(update);
|
||||
}, [color, colorSpace]);
|
||||
}, [color, colorSpace, onChange]);
|
||||
|
||||
return { value, realValue, updateValue, color, colorSpace, cycleColorSpace };
|
||||
};
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@storybook/core-client",
|
||||
"version": "6.2.1",
|
||||
"version": "6.3.0-alpha.0",
|
||||
"description": "Storybook framework-agnostic API",
|
||||
"keywords": [
|
||||
"storybook"
|
||||
@ -36,13 +36,13 @@
|
||||
"prepare": "node ../../scripts/prepare.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@storybook/addons": "6.2.1",
|
||||
"@storybook/channel-postmessage": "6.2.1",
|
||||
"@storybook/client-api": "6.2.1",
|
||||
"@storybook/client-logger": "6.2.1",
|
||||
"@storybook/core-events": "6.2.1",
|
||||
"@storybook/addons": "6.3.0-alpha.0",
|
||||
"@storybook/channel-postmessage": "6.3.0-alpha.0",
|
||||
"@storybook/client-api": "6.3.0-alpha.0",
|
||||
"@storybook/client-logger": "6.3.0-alpha.0",
|
||||
"@storybook/core-events": "6.3.0-alpha.0",
|
||||
"@storybook/csf": "0.0.1",
|
||||
"@storybook/ui": "6.2.1",
|
||||
"@storybook/ui": "6.3.0-alpha.0",
|
||||
"ansi-to-html": "^0.6.11",
|
||||
"core-js": "^3.8.2",
|
||||
"global": "^4.4.0",
|
||||
@ -66,5 +66,5 @@
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"gitHead": "3d5d666f4e961205bfb7b94133c794866f0d7a0f"
|
||||
"gitHead": "7739aace24e8614f2acc9972b2ae44cf7f228c18"
|
||||
}
|
||||
|
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